aboutsummaryrefslogtreecommitdiff
path: root/soft-fp/trunctfsf2.c
diff options
context:
space:
mode:
Diffstat (limited to 'soft-fp/trunctfsf2.c')
-rw-r--r--soft-fp/trunctfsf2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/soft-fp/trunctfsf2.c b/soft-fp/trunctfsf2.c
index 8b2f23d..965e1c4 100644
--- a/soft-fp/trunctfsf2.c
+++ b/soft-fp/trunctfsf2.c
@@ -42,7 +42,7 @@ __trunctfsf2 (TFtype a)
FP_INIT_ROUNDMODE;
FP_UNPACK_SEMIRAW_Q (A, a);
-#if (2 * _FP_W_TYPE_SIZE) < _FP_FRACBITS_Q
+#if _FP_W_TYPE_SIZE < 64
FP_TRUNC (S, Q, 1, 4, R, A);
#else
FP_TRUNC (S, Q, 1, 2, R, A);