Remove a stray subnormal value from float tests.
authorAndrew Gierth <[email protected]>
Wed, 13 Feb 2019 20:38:54 +0000 (20:38 +0000)
committerAndrew Gierth <[email protected]>
Wed, 13 Feb 2019 20:42:57 +0000 (20:42 +0000)
We don't care to assume that input of subnormal float values works,
but a stray subnormal value from the upstream Ryu regression test had
been left in the test data by mistake. Remove it.

Per buildfarm member fulmar.

src/test/regress/expected/float4-misrounded-input.out
src/test/regress/expected/float4.out
src/test/regress/sql/float4.sql

index 54de939a6e8d5a83272625fe44dde51daa19b871..2e63422615fcf7f5a38550023384fd745b7a5f08 100644 (file)
@@ -624,7 +624,6 @@ with testdata(bits) as (values
   (x'4c000001'),
   (x'4c800b0d'),
   (x'00d24584'),
-  (x'800000b0'),
   (x'00d90b88'),
   (x'45803f34'),
   (x'4f9f24f7'),
@@ -899,7 +898,6 @@ select float4send(flt) as ibits,
  \x4c000001 |  3.3554436e+07 |  3.3554436e+07 | \x4c000001 | t
  \x4c800b0d |  6.7131496e+07 |  6.7131496e+07 | \x4c800b0d | t
  \x00d24584 |  1.9310392e-38 |  1.9310392e-38 | \x00d24584 | t
- \x800000b0 |      -2.47e-43 |      -2.47e-43 | \x800000b0 | t
  \x00d90b88 |   1.993244e-38 |   1.993244e-38 | \x00d90b88 | t
  \x45803f34 |      4103.9004 |      4103.9004 | \x45803f34 | t
  \x4f9f24f7 |  5.3399997e+09 |  5.3399997e+09 | \x4f9f24f7 | t
@@ -930,7 +928,7 @@ select float4send(flt) as ibits,
  \x3f9e064b |       1.234567 |       1.234567 | \x3f9e064b | t
  \x3f9e0651 |      1.2345678 |      1.2345678 | \x3f9e0651 | t
  \x03d20cfe | 1.23456735e-36 | 1.23456735e-36 | \x03d20cfe | t
-(262 rows)
+(261 rows)
 
 -- clean up, lest opr_sanity complain
 \set VERBOSITY terse
index dff192194406519de50962add27b7d9bea9d275f..cf782771ba5828517b7042a1e07dad087f781270 100644 (file)
@@ -624,7 +624,6 @@ with testdata(bits) as (values
   (x'4c000001'),
   (x'4c800b0d'),
   (x'00d24584'),
-  (x'800000b0'),
   (x'00d90b88'),
   (x'45803f34'),
   (x'4f9f24f7'),
@@ -899,7 +898,6 @@ select float4send(flt) as ibits,
  \x4c000001 |  3.3554436e+07 |  3.3554436e+07 | \x4c000001 | t
  \x4c800b0d |  6.7131496e+07 |  6.7131496e+07 | \x4c800b0d | t
  \x00d24584 |  1.9310392e-38 |  1.9310392e-38 | \x00d24584 | t
- \x800000b0 |      -2.47e-43 |      -2.47e-43 | \x800000b0 | t
  \x00d90b88 |   1.993244e-38 |   1.993244e-38 | \x00d90b88 | t
  \x45803f34 |      4103.9004 |      4103.9004 | \x45803f34 | t
  \x4f9f24f7 |  5.3399997e+09 |  5.3399997e+09 | \x4f9f24f7 | t
@@ -930,7 +928,7 @@ select float4send(flt) as ibits,
  \x3f9e064b |       1.234567 |       1.234567 | \x3f9e064b | t
  \x3f9e0651 |      1.2345678 |      1.2345678 | \x3f9e0651 | t
  \x03d20cfe | 1.23456735e-36 | 1.23456735e-36 | \x03d20cfe | t
-(262 rows)
+(261 rows)
 
 -- clean up, lest opr_sanity complain
 \set VERBOSITY terse
index d606e7787b87b2214734e3853f7aba067c6f5839..646027fe00b1e05ced342e7cfee66b4d1fe1099c 100644 (file)
@@ -301,7 +301,6 @@ with testdata(bits) as (values
   (x'4c000001'),
   (x'4c800b0d'),
   (x'00d24584'),
-  (x'800000b0'),
   (x'00d90b88'),
   (x'45803f34'),
   (x'4f9f24f7'),