aboutsummaryrefslogtreecommitdiff
path: root/soft-fp/floatsidf.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-10-12 12:20:12 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-10-12 12:20:12 +0000
commit8edc4a11cfbfd65a86696264f20e2d6d22edff54 (patch)
treed3bad864b92235578e55cca6e01a04b38cfe90dc /soft-fp/floatsidf.c
parent8399acaf7c5cb2252117ad1d65e468f688b84fc0 (diff)
downloadglibc-8edc4a11cfbfd65a86696264f20e2d6d22edff54.tar
glibc-8edc4a11cfbfd65a86696264f20e2d6d22edff54.tar.gz
glibc-8edc4a11cfbfd65a86696264f20e2d6d22edff54.tar.bz2
glibc-8edc4a11cfbfd65a86696264f20e2d6d22edff54.zip
soft-fp: add macro FP_NO_EXCEPTIONS.
Diffstat (limited to 'soft-fp/floatsidf.c')
-rw-r--r--soft-fp/floatsidf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/soft-fp/floatsidf.c b/soft-fp/floatsidf.c
index ec578fba79..967a83fbfe 100644
--- a/soft-fp/floatsidf.c
+++ b/soft-fp/floatsidf.c
@@ -28,18 +28,17 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#define FP_NO_EXCEPTIONS
#include "soft-fp.h"
#include "double.h"
DFtype __floatsidf(SItype i)
{
- FP_DECL_EX;
FP_DECL_D(A);
DFtype a;
FP_FROM_INT_D(A, i, SI_BITS, USItype);
FP_PACK_RAW_D(a, A);
- FP_HANDLE_EXCEPTIONS;
return a;
}