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

+1-3
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

+1-3
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

-1
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)