summaryrefslogtreecommitdiff
path: root/src/math/ef_rem_pio2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/ef_rem_pio2.c')
-rw-r--r--src/math/ef_rem_pio2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/ef_rem_pio2.c b/src/math/ef_rem_pio2.c
index f1191d09..3e58f809 100644
--- a/src/math/ef_rem_pio2.c
+++ b/src/math/ef_rem_pio2.c
@@ -142,7 +142,7 @@ pio2_3t = 6.1232342629e-17; /* 0x248d3132 */
fn = (float)n;
r = t-fn*pio2_1;
w = fn*pio2_1t; /* 1st round good to 40 bit */
- if(n<32&&(ix&0xffffff00)!=npio2_hw[n-1]) {
+ if(n<32&&(ix&(__int32_t)0xffffff00)!=npio2_hw[n-1]) {
y[0] = r-w; /* quick check no cancellation */
} else {
__uint32_t high;