Commit 5c4c771d authored by Tom Lane's avatar Tom Lane

Revert "Test conversion of NaN between float4 and float8."

This reverts commit 55e0e458.
It's served its purpose of demonstrating what was wrong on
buildfarm member opossum.  We could consider putting some kind
of single-purpose hack into ftod() to make the test pass there;
but I don't think it's worth the trouble, since there are surely
many other places whether this platform bug could manifest.
parent cb3e9e40
...@@ -125,18 +125,6 @@ SELECT 'nan'::numeric::float4; ...@@ -125,18 +125,6 @@ SELECT 'nan'::numeric::float4;
NaN NaN
(1 row) (1 row)
SELECT 'nan'::float8::float4;
float4
--------
NaN
(1 row)
SELECT 'nan'::float4::float8;
float8
--------
NaN
(1 row)
SELECT '' AS five, * FROM FLOAT4_TBL; SELECT '' AS five, * FROM FLOAT4_TBL;
five | f1 five | f1
------+-------------- ------+--------------
......
...@@ -125,18 +125,6 @@ SELECT 'nan'::numeric::float4; ...@@ -125,18 +125,6 @@ SELECT 'nan'::numeric::float4;
NaN NaN
(1 row) (1 row)
SELECT 'nan'::float8::float4;
float4
--------
NaN
(1 row)
SELECT 'nan'::float4::float8;
float8
--------
NaN
(1 row)
SELECT '' AS five, * FROM FLOAT4_TBL; SELECT '' AS five, * FROM FLOAT4_TBL;
five | f1 five | f1
------+------------- ------+-------------
......
...@@ -41,8 +41,6 @@ SELECT 'Infinity'::float4 + 100.0; ...@@ -41,8 +41,6 @@ SELECT 'Infinity'::float4 + 100.0;
SELECT 'Infinity'::float4 / 'Infinity'::float4; SELECT 'Infinity'::float4 / 'Infinity'::float4;
SELECT 'nan'::float4 / 'nan'::float4; SELECT 'nan'::float4 / 'nan'::float4;
SELECT 'nan'::numeric::float4; SELECT 'nan'::numeric::float4;
SELECT 'nan'::float8::float4;
SELECT 'nan'::float4::float8;
SELECT '' AS five, * FROM FLOAT4_TBL; SELECT '' AS five, * FROM FLOAT4_TBL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment