projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix loads of missing const in new libm, and some global vars (?!) in powl
[oweals/musl.git]
/
src
/
math
/
remainderf.c
diff --git
a/src/math/remainderf.c
b/src/math/remainderf.c
index c17bb4f434d2f81eacc24f04838a26fc999c727d..61c3c660db78c2dc05954db9c57966c4dcae2d8c 100644
(file)
--- 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)