aboutsummaryrefslogtreecommitdiff
path: root/soft-fp/floatditf.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/floatditf.c
parent8399acaf7c5cb2252117ad1d65e468f688b84fc0 (diff)
downloadglibc-8edc4a11cfbfd65a86696264f20e2d6d22edff54.zip
glibc-8edc4a11cfbfd65a86696264f20e2d6d22edff54.tar.gz
glibc-8edc4a11cfbfd65a86696264f20e2d6d22edff54.tar.bz2
soft-fp: add macro FP_NO_EXCEPTIONS.
Diffstat (limited to 'soft-fp/floatditf.c')
-rw-r--r--soft-fp/floatditf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/soft-fp/floatditf.c b/soft-fp/floatditf.c
index 68da6c6..7f5e3b0 100644
--- a/soft-fp/floatditf.c
+++ b/soft-fp/floatditf.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 "quad.h"
TFtype __floatditf(DItype i)
{
- FP_DECL_EX;
FP_DECL_Q(A);
TFtype a;
FP_FROM_INT_Q(A, i, DI_BITS, UDItype);
FP_PACK_RAW_Q(a, A);
- FP_HANDLE_EXCEPTIONS;
return a;
}