aboutsummaryrefslogtreecommitdiff
path: root/src/math/hypotf.c
diff options
context:
space:
mode:
authornsz <nsz@port70.net>2012-03-13 21:11:46 +0100
committernsz <nsz@port70.net>2012-03-13 21:11:46 +0100
commit32ca5ef3ff3069bdaae5f95be1900a3c3f831247 (patch)
tree2c766021fbcfe1bfebd43ec76b78155b9513ab2f /src/math/hypotf.c
parentmath cleanup: use 1.0f instead of (float)1.0 (diff)
downloadgrovel-32ca5ef3ff3069bdaae5f95be1900a3c3f831247.tar.gz
grovel-32ca5ef3ff3069bdaae5f95be1900a3c3f831247.tar.xz
math cleanup: use 1.0f instead of 1.0F
Diffstat (limited to 'src/math/hypotf.c')
-rw-r--r--src/math/hypotf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/hypotf.c b/src/math/hypotf.c
index 40acd917..9fd77e6a 100644
--- a/src/math/hypotf.c
+++ b/src/math/hypotf.c
@@ -40,7 +40,7 @@ float hypotf(float x, float y)
if (ha > 0x58800000) { /* a > 2**50 */
if(ha >= 0x7f800000) { /* Inf or NaN */
/* Use original arg order iff result is NaN; quieten sNaNs. */
- w = fabsf(x+0.0F) - fabsf(y+0.0F);
+ w = fabsf(x+0.0f) - fabsf(y+0.0f);
if (ha == 0x7f800000) w = a;
if (hb == 0x7f800000) w = b;
return w;