summaryrefslogtreecommitdiff
path: root/src/math/__rem_pio2_large.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/__rem_pio2_large.c')
-rw-r--r--src/math/__rem_pio2_large.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/math/__rem_pio2_large.c b/src/math/__rem_pio2_large.c
index 27b619cc..bb2dc43f 100644
--- 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++)