X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fmath%2Fremainderf.c;fp=src%2Fmath%2Fremainderf.c;h=61c3c660db78c2dc05954db9c57966c4dcae2d8c;hp=c17bb4f434d2f81eacc24f04838a26fc999c727d;hb=8d0a6f7a1c47b280647f292e6864b85b72c71f2e;hpb=9560b6b152efeb23cc4e570dbaea5ef333ac971f diff --git a/src/math/remainderf.c b/src/math/remainderf.c index c17bb4f4..61c3c660 100644 --- a/src/math/remainderf.c +++ b/src/math/remainderf.c @@ -49,7 +49,7 @@ float remainderf(float x, float p) x -= p; } } else { - p_half = (float)0.5*p; + p_half = 0.5f*p; if (x > p_half) { x -= p; if (x >= p_half)