aboutsummaryrefslogtreecommitdiff
path: root/soft-fp/floatunditf.c
diff options
context:
space:
mode:
Diffstat (limited to 'soft-fp/floatunditf.c')
-rw-r--r--soft-fp/floatunditf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/soft-fp/floatunditf.c b/soft-fp/floatunditf.c
index 2f53f7d6e4..f0fd3af92d 100644
--- a/soft-fp/floatunditf.c
+++ b/soft-fp/floatunditf.c
@@ -23,15 +23,15 @@
#include "soft-fp.h"
#include "quad.h"
-long double
+TFtype
__floatunditf(UDItype i)
{
FP_DECL_EX;
FP_DECL_Q(A);
- long double a;
+ TFtype a;
- FP_FROM_INT_Q(A, i, 64, long long);
- FP_PACK_Q(a, A);
+ FP_FROM_INT_Q(A, i, DI_BITS, UDItype);
+ FP_PACK_RAW_Q(a, A);
FP_HANDLE_EXCEPTIONS;
return a;