aboutsummaryrefslogtreecommitdiff
path: root/soft-fp/floatsisf.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-10-12 12:21:04 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-10-12 12:21:04 +0000
commit98998e9f518e3b76c2bf63f825f930bd7f6486f1 (patch)
tree9ac82ed24f925dcf2228e284666ca7939de62f71 /soft-fp/floatsisf.c
parent8edc4a11cfbfd65a86696264f20e2d6d22edff54 (diff)
downloadglibc-98998e9f518e3b76c2bf63f825f930bd7f6486f1.zip
glibc-98998e9f518e3b76c2bf63f825f930bd7f6486f1.tar.gz
glibc-98998e9f518e3b76c2bf63f825f930bd7f6486f1.tar.bz2
soft-fp: add missing FP_INIT_EXCEPTIONS and FP_INIT_ROUNDMODE calls.
Diffstat (limited to 'soft-fp/floatsisf.c')
-rw-r--r--soft-fp/floatsisf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/soft-fp/floatsisf.c b/soft-fp/floatsisf.c
index c9ff205..b4afb9f 100644
--- a/soft-fp/floatsisf.c
+++ b/soft-fp/floatsisf.c
@@ -37,6 +37,7 @@ SFtype __floatsisf(SItype i)
FP_DECL_S(A);
SFtype a;
+ FP_INIT_ROUNDMODE;
FP_FROM_INT_S(A, i, SI_BITS, USItype);
FP_PACK_RAW_S(a, A);
FP_HANDLE_EXCEPTIONS;