aboutsummaryrefslogtreecommitdiff
path: root/src/util/ieee_float.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/ieee_float.cpp')
-rw-r--r--src/util/ieee_float.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/ieee_float.cpp b/src/util/ieee_float.cpp
index 887258921..b73763c55 100644
--- a/src/util/ieee_float.cpp
+++ b/src/util/ieee_float.cpp
@@ -39,7 +39,7 @@ f32 u32Tof32Slow(u32 i)
if (exp == 0xFF) {
// Inf/NaN
if (imant == 0) {
- if (std::numeric_limits<f32>::has_infinity)
+ if (std::numeric_limits<f32>::has_infinity)
return sign ? -std::numeric_limits<f32>::infinity() :
std::numeric_limits<f32>::infinity();
return sign ? std::numeric_limits<f32>::max() :