aboutsummaryrefslogtreecommitdiff
path: root/soft-fp/floatundidf.c
diff options
context:
space:
mode:
Diffstat (limited to 'soft-fp/floatundidf.c')
-rw-r--r--soft-fp/floatundidf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/soft-fp/floatundidf.c b/soft-fp/floatundidf.c
index 03bda04..dcec2f8 100644
--- a/soft-fp/floatundidf.c
+++ b/soft-fp/floatundidf.c
@@ -28,10 +28,10 @@ __floatundidf(UDItype i)
{
FP_DECL_EX;
FP_DECL_D(A);
- double a;
+ DFtype a;
- FP_FROM_INT_D(A, i, 64, long long);
- FP_PACK_D(a, A);
+ FP_FROM_INT_D(A, i, DI_BITS, UDItype);
+ FP_PACK_RAW_D(a, A);
FP_HANDLE_EXCEPTIONS;
return a;