diff options
Diffstat (limited to 'soft-fp/fixunstfdi.c')
-rw-r--r-- | soft-fp/fixunstfdi.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/soft-fp/fixunstfdi.c b/soft-fp/fixunstfdi.c index d6038fa891..b2355a2ae9 100644 --- a/soft-fp/fixunstfdi.c +++ b/soft-fp/fixunstfdi.c @@ -31,14 +31,16 @@ #include "soft-fp.h" #include "quad.h" -UDItype __fixunstfdi(TFtype a) +UDItype +__fixunstfdi (TFtype a) { FP_DECL_EX; - FP_DECL_Q(A); + FP_DECL_Q (A); UDItype r; - FP_UNPACK_RAW_Q(A, a); - FP_TO_INT_Q(r, A, DI_BITS, 0); + FP_INIT_EXCEPTIONS; + FP_UNPACK_RAW_Q (A, a); + FP_TO_INT_Q (r, A, DI_BITS, 0); FP_HANDLE_EXCEPTIONS; return r; |