projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix regression in inet_aton due to misinterpretation of __ipparse return
[musl]
/
src
/
math
/
__rem_pio2_large.c
diff --git
a/src/math/__rem_pio2_large.c
b/src/math/__rem_pio2_large.c
index
27b619c
..
bb2dc43
100644
(file)
--- a/
src/math/__rem_pio2_large.c
+++ b/
src/math/__rem_pio2_large.c
@@
-415,7
+415,8
@@
recompute:
fw = 0.0;
for (i=jz; i>=0; i--)
fw += fq[i];
- STRICT_ASSIGN(double,fw,fw);
+ // TODO: drop excess precision here once double_t is used
+ fw = (double)fw;
y[0] = ih==0 ? fw : -fw;
fw = fq[0]-fw;
for (i=1; i<=jz; i++)