/ Check-in [456948ea]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix a floating-point round-off error problem in the percentile.test module.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 456948ea64c6980dab79dac30a538b5a6ab8773d
User & Date: drh 2014-12-31 20:19:20
Context
2014-12-31
20:25
Adjust the memsubsys1-5.5 test case to avoid occasional false positives. check-in: 43241318 user: drh tags: trunk
20:19
Fix a floating-point round-off error problem in the percentile.test module. check-in: 456948ea user: drh tags: trunk
19:58
Disable the bigsort.test module on machine with less than 8GB of available RAM or machine, to avoid thrashing. check-in: 9d4fe116 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/percentile.test.

   196    196         0          0.0
   197    197       100    9999990.0
   198    198        50    2749999.5
   199    199        10      99999.9
   200    200     } {
   201    201       do_test percentile-2.1.$in {
   202    202         execsql {
   203         -        SELECT percentile(x, $in) from t3;
          203  +        SELECT round(percentile(x, $in),1) from t3;
   204    204         }
   205    205       } $out
   206    206     }
   207    207   }
   208    208   
   209    209   finish_test