diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-12-27 16:03:01 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-12-27 16:03:01 +0000 |
commit | 14970231a38310b9561052a67b617138eeaad300 (patch) | |
tree | 35c201a651afa5d5e4fff241280081b3f88b9c2c /sysdeps/x86/fpu/powl_helper.c | |
parent | f08c7420b5e8b017a1a47b880a62b15bdc588f4d (diff) | |
parent | 25ead03a3712d57df2208fe82f3d316eb8faeaf6 (diff) |
Merge commit 'refs/top-bases/t/extern_inline' into t/extern_inline
Diffstat (limited to 'sysdeps/x86/fpu/powl_helper.c')
-rw-r--r-- | sysdeps/x86/fpu/powl_helper.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sysdeps/x86/fpu/powl_helper.c b/sysdeps/x86/fpu/powl_helper.c index 7c5d2d1492..651eedd792 100644 --- a/sysdeps/x86/fpu/powl_helper.c +++ b/sysdeps/x86/fpu/powl_helper.c @@ -1,5 +1,5 @@ /* Implement powl for x86 using extra-precision log. - Copyright (C) 2012-2016 Free Software Foundation, Inc. + Copyright (C) 2012-2018 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -18,6 +18,7 @@ #include <math.h> #include <math_private.h> +#include <math-underflow.h> #include <stdbool.h> /* High parts and low parts of -log (k/16), for integer k from 12 to @@ -120,7 +121,7 @@ __powl_helper (long double x, long double y) corrected for by adding log2 (e) * X_FRAC_LOW to the final result. */ int32_t se; - u_int32_t i0, i1; + uint32_t i0, i1; GET_LDOUBLE_WORDS (se, i0, i1, x_frac); x_frac_low = x_frac; i1 &= 0xffffffe0; @@ -139,7 +140,7 @@ __powl_helper (long double x, long double y) long double w = x_frac - 1; long double w_hi, w_lo; int32_t se; - u_int32_t i0, i1; + uint32_t i0, i1; GET_LDOUBLE_WORDS (se, i0, i1, w); i0 &= 0xffff0000; i1 = 0; |