mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 08:03:03 +01:00
Fixed CORE-5570 - Negative infinity (double) shown incorrectly without sign in isql.
This commit is contained in:
parent
fd03822796
commit
63080abc1e
@ -6894,7 +6894,7 @@ static bool checkSpecial(TEXT* const p, const int length, const double value)
|
|||||||
if (isnan(value))
|
if (isnan(value))
|
||||||
t = "NaN";
|
t = "NaN";
|
||||||
else if (isinf(value))
|
else if (isinf(value))
|
||||||
t = "Infinity";
|
t = value == -INFINITY ? "-Infinity" : "Infinity";
|
||||||
else
|
else
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user