Fix a floating-point round-off error problem in the percentile.test module.

FossilOrigin-Name: 456948ea64c6980dab79dac30a538b5a6ab8773d
This commit is contained in:
drh 2014-12-31 20:19:20 +00:00
parent 2e5021d5ea
commit 9854248609
3 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,5 @@
C Disable\sthe\sbigsort.test\smodule\son\smachine\swith\sless\sthan\s8GB\sof\savailable\nRAM\sor\smachine,\sto\savoid\sthrashing.
D 2014-12-31T19:58:32.224
C Fix\sa\sfloating-point\sround-off\serror\sproblem\sin\sthe\spercentile.test\smodule.
D 2014-12-31T20:19:20.731
F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
F Makefile.in 7cd23e4fc91004a6bd081623e1bc6932e44828c0
F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
@ -781,7 +781,7 @@ F test/pageropt.test 6b8f6a123a5572c195ad4ae40f2987007923bbd6
F test/pagesize.test 1dd51367e752e742f58e861e65ed7390603827a0
F test/pcache.test b09104b03160aca0d968d99e8cd2c5b1921a993d
F test/pcache2.test a83efe2dec0d392f814bfc998def1d1833942025
F test/percentile.test b98fc868d71eb5619d42a1702e9ab91718cbed54
F test/percentile.test 4243af26b8f3f4555abe166f723715a1f74c77ff
F test/permutations.test 59e2d8aba8c4f5842edba1a10a158b798690d3ba
F test/pragma.test aa16dedfe01c02c8895169012f7dfde9c163f0d5
F test/pragma2.test aea7b3d82c76034a2df2b38a13745172ddc0bc13
@ -1234,7 +1234,7 @@ F tool/vdbe_profile.tcl 67746953071a9f8f2f668b73fe899074e2c6d8c1
F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
F tool/warnings.sh 0abfd78ceb09b7f7c27c688c8e3fe93268a13b32
F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f
P b09a139c9e2e1a45a3d53395ac1376e952d459e5
R 958bbb31d1168aa8cd0ac8a1eba90de6
P 9d4fe11641043af4e663085e979f637676599da0
R efe4238b2b9db9ced84ff6eed3896298
U drh
Z 1f37f8136326091af864e56108cf76a8
Z 00ece672f6a64adef12b5a8614c66e28

View File

@ -1 +1 @@
9d4fe11641043af4e663085e979f637676599da0
456948ea64c6980dab79dac30a538b5a6ab8773d

View File

@ -200,7 +200,7 @@ ifcapable vtab {
} {
do_test percentile-2.1.$in {
execsql {
SELECT percentile(x, $in) from t3;
SELECT round(percentile(x, $in),1) from t3;
}
} $out
}