X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fhypotf.c;fp=src%2Fmath%2Fhypotf.c;h=9fd77e6aa09cfd4db86f1c3c6aa177d52a43f7f2;hb=32ca5ef3ff3069bdaae5f95be1900a3c3f831247;hp=40acd917d17fb96c9e18ef117885473fd1d48056;hpb=8d0a6f7a1c47b280647f292e6864b85b72c71f2e;p=musl 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;