mirror of
https://github.com/fluencelabs/musl
synced 2025-06-30 07:02:41 +00:00
math cleanup: use 1.0f instead of (float)1.0
This commit is contained in:
@ -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));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user