diff options
author | Gerald Pfeifer <gerald@pfeifer.com> | 2017-07-19 19:53:58 +0000 |
---|---|---|
committer | Gerald Pfeifer <gerald@gcc.gnu.org> | 2017-07-19 19:53:58 +0000 |
commit | a8d6055a56948cc9c4ddd0d9f8052223ccf2c97e (patch) | |
tree | b350c91fb3909baa0feda3eabb8c5f6c707bb1a8 /libquadmath | |
parent | 304a15ec643310a4d18521ca36fea5bfed814768 (diff) | |
download | gcc-a8d6055a56948cc9c4ddd0d9f8052223ccf2c97e.zip gcc-a8d6055a56948cc9c4ddd0d9f8052223ccf2c97e.tar.gz gcc-a8d6055a56948cc9c4ddd0d9f8052223ccf2c97e.tar.bz2 |
* math/powq.c (powq): Use uint32_t instead of u_int32_t.
From-SVN: r250367
Diffstat (limited to 'libquadmath')
-rw-r--r-- | libquadmath/ChangeLog | 4 | ||||
-rw-r--r-- | libquadmath/math/powq.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libquadmath/ChangeLog b/libquadmath/ChangeLog index 73d0e30..bc37c3f 100644 --- a/libquadmath/ChangeLog +++ b/libquadmath/ChangeLog @@ -1,3 +1,7 @@ +2017-07-19 Gerald Pfeifer <gerald@pfeifer.com> + + * math/powq.c (powq): Use uint32_t instead of u_int32_t. + 2017-07-19 Jakub Jelinek <jakub@redhat.com> PR libquadmath/65757 diff --git a/libquadmath/math/powq.c b/libquadmath/math/powq.c index acad205..4d586d6 100644 --- a/libquadmath/math/powq.c +++ b/libquadmath/math/powq.c @@ -263,7 +263,7 @@ powq (__float128 x, __float128 y) /* sgn (sign of result -ve**odd) = -1 else = 1 */ sgn = one; - if (((((u_int32_t) hx >> 31) - 1) | (yisint - 1)) == 0) + if (((((uint32_t) hx >> 31) - 1) | (yisint - 1)) == 0) sgn = -one; /* (-ve)**(odd int) */ /* |y| is huge. |