Skip to content

Commit 80c468b

Browse files
committed
Remove a stray subnormal value from float tests.
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.
1 parent d0b4663 commit 80c468b

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,6 @@ with testdata(bits) as (values
624624
(x'4c000001'),
625625
(x'4c800b0d'),
626626
(x'00d24584'),
627-
(x'800000b0'),
628627
(x'00d90b88'),
629628
(x'45803f34'),
630629
(x'4f9f24f7'),
@@ -899,7 +898,6 @@ select float4send(flt) as ibits,
899898
\x4c000001 | 3.3554436e+07 | 3.3554436e+07 | \x4c000001 | t
900899
\x4c800b0d | 6.7131496e+07 | 6.7131496e+07 | \x4c800b0d | t
901900
\x00d24584 | 1.9310392e-38 | 1.9310392e-38 | \x00d24584 | t
902-
\x800000b0 | -2.47e-43 | -2.47e-43 | \x800000b0 | t
903901
\x00d90b88 | 1.993244e-38 | 1.993244e-38 | \x00d90b88 | t
904902
\x45803f34 | 4103.9004 | 4103.9004 | \x45803f34 | t
905903
\x4f9f24f7 | 5.3399997e+09 | 5.3399997e+09 | \x4f9f24f7 | t
@@ -930,7 +928,7 @@ select float4send(flt) as ibits,
930928
\x3f9e064b | 1.234567 | 1.234567 | \x3f9e064b | t
931929
\x3f9e0651 | 1.2345678 | 1.2345678 | \x3f9e0651 | t
932930
\x03d20cfe | 1.23456735e-36 | 1.23456735e-36 | \x03d20cfe | t
933-
(262 rows)
931+
(261 rows)
934932

935933
-- clean up, lest opr_sanity complain
936934
\set VERBOSITY terse

src/test/regress/expected/float4.out

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,6 @@ with testdata(bits) as (values
624624
(x'4c000001'),
625625
(x'4c800b0d'),
626626
(x'00d24584'),
627-
(x'800000b0'),
628627
(x'00d90b88'),
629628
(x'45803f34'),
630629
(x'4f9f24f7'),
@@ -899,7 +898,6 @@ select float4send(flt) as ibits,
899898
\x4c000001 | 3.3554436e+07 | 3.3554436e+07 | \x4c000001 | t
900899
\x4c800b0d | 6.7131496e+07 | 6.7131496e+07 | \x4c800b0d | t
901900
\x00d24584 | 1.9310392e-38 | 1.9310392e-38 | \x00d24584 | t
902-
\x800000b0 | -2.47e-43 | -2.47e-43 | \x800000b0 | t
903901
\x00d90b88 | 1.993244e-38 | 1.993244e-38 | \x00d90b88 | t
904902
\x45803f34 | 4103.9004 | 4103.9004 | \x45803f34 | t
905903
\x4f9f24f7 | 5.3399997e+09 | 5.3399997e+09 | \x4f9f24f7 | t
@@ -930,7 +928,7 @@ select float4send(flt) as ibits,
930928
\x3f9e064b | 1.234567 | 1.234567 | \x3f9e064b | t
931929
\x3f9e0651 | 1.2345678 | 1.2345678 | \x3f9e0651 | t
932930
\x03d20cfe | 1.23456735e-36 | 1.23456735e-36 | \x03d20cfe | t
933-
(262 rows)
931+
(261 rows)
934932

935933
-- clean up, lest opr_sanity complain
936934
\set VERBOSITY terse

src/test/regress/sql/float4.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,6 @@ with testdata(bits) as (values
301301
(x'4c000001'),
302302
(x'4c800b0d'),
303303
(x'00d24584'),
304-
(x'800000b0'),
305304
(x'00d90b88'),
306305
(x'45803f34'),
307306
(x'4f9f24f7'),

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy