about summary refs log tree commit diff
path: root/soft-fp/floatdidf.c
diff options
context:
space:
mode:
Diffstat (limited to 'soft-fp/floatdidf.c')
-rw-r--r--soft-fp/floatdidf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/soft-fp/floatdidf.c b/soft-fp/floatdidf.c
index f6f594a84f..70082e11b3 100644
--- a/soft-fp/floatdidf.c
+++ b/soft-fp/floatdidf.c
@@ -37,6 +37,7 @@ DFtype __floatdidf(DItype i)
   FP_DECL_D(A);
   DFtype a;
 
+  FP_INIT_ROUNDMODE;
   FP_FROM_INT_D(A, i, DI_BITS, UDItype);
   FP_PACK_RAW_D(a, A);
   FP_HANDLE_EXCEPTIONS;