diff options
author | Martin Jambor <mjambor@suse.cz> | 2017-07-31 14:43:24 +0200 |
---|---|---|
committer | Martin Jambor <mjambor@suse.cz> | 2017-07-31 14:43:24 +0200 |
commit | b32f12dece884f1fa0f04c643a77105aff6ce8bc (patch) | |
tree | cdab5f10806561fc198f907299b0e55eb5701ef0 /libquadmath/math/atanq.c | |
parent | 166bec868d991fdf71f9a66f994e5977fcab4aa2 (diff) | |
parent | a168a775e93ec31ae743ad282d8e60fa1c116891 (diff) | |
download | gcc-gcn.tar.gz |
Merge branch 'master' into gcngcn
Diffstat (limited to 'libquadmath/math/atanq.c')
-rw-r--r-- | libquadmath/math/atanq.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libquadmath/math/atanq.c b/libquadmath/math/atanq.c index 8eccdc3317d..01fd9d69e57 100644 --- a/libquadmath/math/atanq.c +++ b/libquadmath/math/atanq.c @@ -42,7 +42,7 @@ * */ -/* Copyright 2001 by Stephen L. Moshier <moshier@na-net.ornl.gov> +/* Copyright 2001 by Stephen L. Moshier <moshier@na-net.ornl.gov> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -167,7 +167,7 @@ static const __float128 q4 = 2.173623741810414221251136181221172551416E1Q; /* q5 = 1.000000000000000000000000000000000000000E0 */ -static const long double huge = 1.0e4930Q; +static const __float128 huge = 1.0e4930Q; __float128 atanq (__float128 x) @@ -200,6 +200,7 @@ atanq (__float128 x) if (k <= 0x3fc50000) /* |x| < 2**-58 */ { + math_check_force_underflow (x); /* Raise inexact. */ if (huge + x > 0.0) return x; |