Fix -nan issue with f32

This commit is contained in:
Zhang Yang 2023-11-30 13:16:10 +08:00 committed by Xiang Xiao
parent 9c793067cc
commit 4f9d014994
1 changed files with 1 additions and 1 deletions

View File

@ -616,7 +616,7 @@ flt_oper:
exp = _dtoa.exp;
sign = 0;
if ((_dtoa.flags & DTOA_MINUS) && !(_dtoa.flags & DTOA_NAN))
if (_dtoa.flags & DTOA_MINUS)
{
sign = '-';
}