about summary refs log tree commit diff
path: root/soft-fp/floattidf.c
diff options
context:
space:
mode:
Diffstat (limited to 'soft-fp/floattidf.c')
-rw-r--r--soft-fp/floattidf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/soft-fp/floattidf.c b/soft-fp/floattidf.c
index 778904eb88..aad11cb008 100644
--- a/soft-fp/floattidf.c
+++ b/soft-fp/floattidf.c
@@ -36,6 +36,7 @@ DFtype __floattidf(TItype i)
   FP_DECL_D(A);
   DFtype a;
 
+  FP_INIT_ROUNDMODE;
   FP_FROM_INT_D(A, i, TI_BITS, UTItype);
   FP_PACK_RAW_D(a, A);
   FP_HANDLE_EXCEPTIONS;