X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fmath%2Fasinhf.c;h=cb6e5b89b8496b0d4c2d78c2afb732f0257e512e;hp=5f4bb39cf2f9364a1ac5ebd9c4a2fadf99ce7076;hb=8d0a6f7a1c47b280647f292e6864b85b72c71f2e;hpb=9560b6b152efeb23cc4e570dbaea5ef333ac971f diff --git a/src/math/asinhf.c b/src/math/asinhf.c index 5f4bb39c..cb6e5b89 100644 --- a/src/math/asinhf.c +++ b/src/math/asinhf.c @@ -38,7 +38,7 @@ float asinhf(float x) w = logf(fabsf(x)) + ln2; } else if (ix > 0x40000000) { /* 2**28 > |x| > 2.0 */ t = fabsf(x); - w = logf((float)2.0*t + one/(sqrtf(x*x+one)+t)); + w = logf(2.0f*t + one/(sqrtf(x*x+one)+t)); } else { /* 2.0 > |x| > 2**-28 */ t = x*x; w =log1pf(fabsf(x) + t/(one+sqrtf(one+t)));