summaryrefslogtreecommitdiff
path: root/soft-fp/floatunsidf.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/floatunsidf.c
parent8399acaf7c5cb2252117ad1d65e468f688b84fc0 (diff)
soft-fp: add macro FP_NO_EXCEPTIONS.
Diffstat (limited to 'soft-fp/floatunsidf.c')
-rw-r--r--soft-fp/floatunsidf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/soft-fp/floatunsidf.c b/soft-fp/floatunsidf.c
index 548dc7c0c4..3d9656f5fc 100644
--- a/soft-fp/floatunsidf.c
+++ b/soft-fp/floatunsidf.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 __floatunsidf(USItype 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;
}