Dep/G3D: Restored 99c8399772
This commit is contained in:
1 parent
1e9fc84a12
commit
8ec0146721
1 file changed
+1
-1
@@ -41,7 +41,7 @@ double inf() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool isNaN(float x) {
|
bool isNaN(float x) {
|
||||||
static const float n = nan();
|
static const float n = fnan();
|
||||||
return memcmp(&x, &n, sizeof(float)) == 0;
|
return memcmp(&x, &n, sizeof(float)) == 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user