about summary refs log tree commit diff
path: root/soft-fp/floattitf.c
diff options
context:
space:
mode:
Diffstat (limited to 'soft-fp/floattitf.c')
-rw-r--r--soft-fp/floattitf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/soft-fp/floattitf.c b/soft-fp/floattitf.c
index fdfad61438..40e66b3c95 100644
--- a/soft-fp/floattitf.c
+++ b/soft-fp/floattitf.c
@@ -36,6 +36,7 @@ TFtype __floattitf(TItype i)
   FP_DECL_Q(A);
   TFtype a;
 
+  FP_INIT_ROUNDMODE;
   FP_FROM_INT_Q(A, i, TI_BITS, UTItype);
   FP_PACK_RAW_Q(a, A);
   FP_HANDLE_EXCEPTIONS;