File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -48,12 +48,14 @@ SELECT area('0/'::smoc);
4848 0
4949(1 row)
5050
51+ SET extra_float_digits = -1; -- last digit deviating on i386
5152SELECT area('29/1'::smoc);
52- area
53- ----------------------
54- 3.63319635209232e -18
53+ area
54+ ---------------------
55+ 3.6331963520923e -18
5556(1 row)
5657
58+ SET extra_float_digits = 0;
5759SELECT area('0/1-3'::smoc);
5860 area
5961------------------
Original file line number Diff line number Diff line change @@ -11,7 +11,9 @@ SELECT smoc_info('0/'::smoc);
1111SELECT smoc_info(' 0/1-2' ::smoc);
1212
1313SELECT area(' 0/' ::smoc);
14+ SET extra_float_digits = - 1 ; -- last digit deviating on i386
1415SELECT area(' 29/1' ::smoc);
16+ SET extra_float_digits = 0 ;
1517SELECT area(' 0/1-3' ::smoc);
1618SELECT area(' 0/0-11' ::smoc);
1719
You can’t perform that action at this time.
0 commit comments