X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fmath%2Fsinhf.c;h=fd11b8496767438f0b92b12fce51501025a34ef1;hp=056b5f86a1961dd92acbe2f7ec9c03f1f91c8c6b;hb=8d0a6f7a1c47b280647f292e6864b85b72c71f2e;hpb=9560b6b152efeb23cc4e570dbaea5ef333ac971f;ds=sidebyside diff --git a/src/math/sinhf.c b/src/math/sinhf.c index 056b5f86..fd11b849 100644 --- a/src/math/sinhf.c +++ b/src/math/sinhf.c @@ -40,7 +40,7 @@ float sinhf(float x) return x; t = expm1f(fabsf(x)); if (ix < 0x3f800000) - return h*((float)2.0*t - t*t/(t+one)); + return h*(2.0f*t - t*t/(t+one)); return h*(t + t/(t+one)); }