fix loads of missing const in new libm, and some global vars (?!) in powl
[oweals/musl.git] / src / math / sinhf.c
index 056b5f86a1961dd92acbe2f7ec9c03f1f91c8c6b..fd11b8496767438f0b92b12fce51501025a34ef1 100644 (file)
@@ -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));
        }