fix nan/inf check function

This commit is contained in:
Irlan 2018-05-16 02:04:31 -03:00
parent b8ca0d3829
commit 4804e48f0b

View File

@ -25,7 +25,7 @@
inline bool b3IsValid(float32 fx) inline bool b3IsValid(float32 fx)
{ {
u32 ix = *(u32*)(&fx); i32 ix = *(i32*)(&fx);
return (ix & 0x7F800000) != 0x7F800000; return (ix & 0x7F800000) != 0x7F800000;
} }