diff options
| author | Tom Lane | 1998-11-29 01:57:59 +0000 |
|---|---|---|
| committer | Tom Lane | 1998-11-29 01:57:59 +0000 |
| commit | 92eacaf52349d8274d5924ff11956377ba7e968f (patch) | |
| tree | 44e190053d102847b219c092767404328dac8f1e /src/test | |
| parent | 67531c42bd247540343716ea794edd5a5e1ccaff (diff) | |
Change exp() behavior to generate error on underflow rather
than silently returning zero on some machines. Correct float8 regress test
to agree. Also fix pow() overflow/underflow check to work correctly on
HPUX.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/regress/expected/float8.out | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/test/regress/expected/float8.out b/src/test/regress/expected/float8.out index ec9a98371f9..6434d8eb261 100644 --- a/src/test/regress/expected/float8.out +++ b/src/test/regress/expected/float8.out @@ -195,15 +195,7 @@ ERROR: can't take log of zero QUERY: SELECT '' AS bad, (; (f.f1)) from FLOAT8_TBL f where f.f1 < '0.0' ; ERROR: can't take log of a negative number QUERY: SELECT '' AS bad, : (f.f1) from FLOAT8_TBL f; -bad| ?column? ----+-------------------- - | 1 - |7.39912306090513e-16 - | 0 - | 0 - | 1 -(5 rows) - +ERROR: exp() result is out of range QUERY: SELECT '' AS bad, f.f1 / '0.0' from FLOAT8_TBL f; ERROR: float8div: divide by zero error QUERY: SELECT '' AS five, FLOAT8_TBL.*; |
