diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-10-10 11:38:56 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-10-10 11:38:56 +0000 |
commit | 2ae21ed2d2e2e0e38b84bd046bcf5f009ab417f3 (patch) | |
tree | 6601496a93918a878fa9f609341f2d08c88756f0 /soft-fp/negdf2.c | |
parent | cb8f9562a53b54ffbcc0b4ba4a6ac5e56b05beb2 (diff) | |
download | glibc-2ae21ed2d2e2e0e38b84bd046bcf5f009ab417f3.tar.gz |
soft-fp: fix negation NaN handling (bug 16034).
Diffstat (limited to 'soft-fp/negdf2.c')
-rw-r--r-- | soft-fp/negdf2.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/soft-fp/negdf2.c b/soft-fp/negdf2.c index 3cc6f5f400..1dedc715dd 100644 --- a/soft-fp/negdf2.c +++ b/soft-fp/negdf2.c @@ -33,15 +33,12 @@ DFtype __negdf2(DFtype a) { - FP_DECL_EX; FP_DECL_D(A); FP_DECL_D(R); DFtype r; - FP_UNPACK_D(A, a); + FP_UNPACK_RAW_D(A, a); FP_NEG_D(R, A); - FP_PACK_D(r, R); - FP_CLEAR_EXCEPTIONS; - FP_HANDLE_EXCEPTIONS; + FP_PACK_RAW_D(r, R); return r; } |