Merge pull request #4814 from Chaplain/master
Dependencies/G3D: Fix typo in isNaN(float x)
This commit is contained in:
@@ -41,7 +41,7 @@ double inf() {
|
||||
}
|
||||
|
||||
bool isNaN(float x) {
|
||||
static const float n = nan();
|
||||
static const float n = fnan();
|
||||
return memcmp(&x, &n, sizeof(float)) == 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user