Commit 4e758ca8 authored by Claes Sjofors's avatar Claes Sjofors

More reverted use of feqf

parent e16f9e82
......@@ -333,9 +333,9 @@ bool wb_print_wbl::printValue(wb_volume& v, pwr_eType type, unsigned int flags,
sprintf(sval, "%d", *(pwr_tBoolean*)val);
break;
case pwr_eType_Float32:
if (feqf(*(pwr_tFloat32*)val, FLT_MIN))
if (*(pwr_tFloat32 *)val == FLT_MIN)
strcpy(sval, "FLT_MIN");
else if (feqf(*(pwr_tFloat32*)val, FLT_MAX))
else if (*(pwr_tFloat32 *)val == FLT_MAX)
strcpy(sval, "FLT_MAX");
else
sprintf(sval, "%.*e", FLT_DIG, *(pwr_tFloat32*)val);
......
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