Fixed Infinity and NaN floating point values formatting as string

https://forum.zdoom.org/viewtopic.php?t=57706
This commit is contained in:
alexey.lysiuk 2017-08-29 11:39:50 +03:00
parent 541fac8c6b
commit 20d7c01fc8

View file

@ -699,7 +699,7 @@ fp_begin:
{ {
flags |= F_NEGATIVE; flags |= F_NEGATIVE;
} }
if (expt == INT_MAX) // inf or nan if (expt == 9999) // inf or nan
{ {
if (*obuff == 'N') if (*obuff == 'N')
{ {