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);
48
48
0
49
49
(1 row)
50
50
51
+ SET extra_float_digits = -1; -- last digit deviating on i386
51
52
SELECT area('29/1'::smoc);
52
- area
53
- ----------------------
54
- 3.63319635209232e -18
53
+ area
54
+ ---------------------
55
+ 3.6331963520923e -18
55
56
(1 row)
56
57
58
+ SET extra_float_digits = 0;
57
59
SELECT area('0/1-3'::smoc);
58
60
area
59
61
------------------
Original file line number Diff line number Diff line change @@ -11,7 +11,9 @@ SELECT smoc_info('0/'::smoc);
11
11
SELECT smoc_info(' 0/1-2' ::smoc);
12
12
13
13
SELECT area(' 0/' ::smoc);
14
+ SET extra_float_digits = - 1 ; -- last digit deviating on i386
14
15
SELECT area(' 29/1' ::smoc);
16
+ SET extra_float_digits = 0 ;
15
17
SELECT area(' 0/1-3' ::smoc);
16
18
SELECT area(' 0/0-11' ::smoc);
17
19
You can’t perform that action at this time.
0 commit comments