Do not include math-barriers.h in math_private.h.
authorJoseph Myers <joseph@codesourcery.com>
Fri, 11 May 2018 15:11:38 +0000 (15:11 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 11 May 2018 15:11:38 +0000 (15:11 +0000)
This patch continues the math_private.h cleanup by stopping
math_private.h from including math-barriers.h and making the users of
the barrier macros include the latter header directly.  No attempt is
made to remove any math_private.h includes that are now unused, except
in strtod_l.c where that is done to avoid line number changes in
assertions, so that installed stripped shared libraries can be
compared before and after the patch.  (I think the floating-point
environment support in math_private.h should also move out - some
architectures already have fenv_private.h as an architecture-internal
header included from their math_private.h - and after moving that out
might be a better time to identify unused math_private.h includes.)

Tested for x86_64 and x86, and tested with build-many-glibcs.py that
installed stripped shared libraries are unchanged by the patch.

* sysdeps/generic/math_private.h: Do not include
<math-barriers.h>.
* stdlib/strtod_l.c: Include <math-barriers.h> instead of
<math_private.h>.
* math/fromfp.h: Include <math-barriers.h>.
* math/math-narrow.h: Likewise.
* math/s_nextafter.c: Likewise.
* math/s_nexttowardf.c: Likewise.
* sysdeps/aarch64/fpu/s_llrint.c: Likewise.
* sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
* sysdeps/aarch64/fpu/s_lrint.c: Likewise.
* sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
* sysdeps/i386/fpu/s_nextafterl.c: Likewise.
* sysdeps/i386/fpu/s_nexttoward.c: Likewise.
* sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
* sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
* sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
* sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
* sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
* sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
* sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
* sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
* sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
* sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
* sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
* sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
* sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
* sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
* sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
* sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
* sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
* sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
* sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
* sysdeps/ieee754/k_standardl.c: Likewise.
* sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
* sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
* sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
* sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
* sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
* sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
* sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
* sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
* sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
* sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
* sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.

55 files changed:
ChangeLog
math/fromfp.h
math/math-narrow.h
math/s_nextafter.c
math/s_nexttowardf.c
stdlib/strtod_l.c
sysdeps/aarch64/fpu/s_llrint.c
sysdeps/aarch64/fpu/s_llrintf.c
sysdeps/aarch64/fpu/s_lrint.c
sysdeps/aarch64/fpu/s_lrintf.c
sysdeps/generic/math_private.h
sysdeps/i386/fpu/s_nextafterl.c
sysdeps/i386/fpu/s_nexttoward.c
sysdeps/i386/fpu/s_nexttowardf.c
sysdeps/ieee754/dbl-64/e_atan2.c
sysdeps/ieee754/dbl-64/e_atanh.c
sysdeps/ieee754/dbl-64/e_exp.c
sysdeps/ieee754/dbl-64/e_exp2.c
sysdeps/ieee754/dbl-64/e_j0.c
sysdeps/ieee754/dbl-64/e_sqrt.c
sysdeps/ieee754/dbl-64/s_expm1.c
sysdeps/ieee754/dbl-64/s_fma.c
sysdeps/ieee754/dbl-64/s_fmaf.c
sysdeps/ieee754/dbl-64/s_log1p.c
sysdeps/ieee754/dbl-64/s_nearbyint.c
sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
sysdeps/ieee754/flt-32/e_atanhf.c
sysdeps/ieee754/flt-32/e_j0f.c
sysdeps/ieee754/flt-32/s_expm1f.c
sysdeps/ieee754/flt-32/s_log1pf.c
sysdeps/ieee754/flt-32/s_nearbyintf.c
sysdeps/ieee754/flt-32/s_nextafterf.c
sysdeps/ieee754/k_standardl.c
sysdeps/ieee754/ldbl-128/e_asinl.c
sysdeps/ieee754/ldbl-128/e_expl.c
sysdeps/ieee754/ldbl-128/e_powl.c
sysdeps/ieee754/ldbl-128/s_fmal.c
sysdeps/ieee754/ldbl-128/s_nearbyintl.c
sysdeps/ieee754/ldbl-128/s_nextafterl.c
sysdeps/ieee754/ldbl-128/s_nexttoward.c
sysdeps/ieee754/ldbl-128/s_nexttowardf.c
sysdeps/ieee754/ldbl-128ibm/e_asinl.c
sysdeps/ieee754/ldbl-128ibm/s_fmal.c
sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c
sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c
sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c
sysdeps/ieee754/ldbl-128ibm/s_rintl.c
sysdeps/ieee754/ldbl-96/e_atanhl.c
sysdeps/ieee754/ldbl-96/e_j0l.c
sysdeps/ieee754/ldbl-96/s_fma.c
sysdeps/ieee754/ldbl-96/s_fmal.c
sysdeps/ieee754/ldbl-96/s_nexttoward.c
sysdeps/ieee754/ldbl-96/s_nexttowardf.c
sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c
sysdeps/m68k/m680x0/fpu/s_nextafterl.c

index 5d8c8ad961c12fd90255b6926c9535004518569f..f4cf9a1a79f97b90a838f27a559f104a9a70a4e7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,62 @@
+2018-05-11  Joseph Myers  <joseph@codesourcery.com>
+
+       * sysdeps/generic/math_private.h: Do not include
+       <math-barriers.h>.
+       * stdlib/strtod_l.c: Include <math-barriers.h> instead of
+       <math_private.h>.
+       * math/fromfp.h: Include <math-barriers.h>.
+       * math/math-narrow.h: Likewise.
+       * math/s_nextafter.c: Likewise.
+       * math/s_nexttowardf.c: Likewise.
+       * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
+       * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
+       * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
+       * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
+       * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
+       * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
+       * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
+       * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
+       * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
+       * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
+       * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
+       * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
+       * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
+       * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
+       * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
+       * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
+       * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
+       * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
+       * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
+       * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
+       * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
+       * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
+       * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
+       * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
+       * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
+       * sysdeps/ieee754/k_standardl.c: Likewise.
+       * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
+       * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
+       * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
+       * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
+       * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
+       * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
+       * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
+       * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
+       * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
+       * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
+       * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
+       * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
+       * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
+       * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
+       * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
+       * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
+       * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
+       * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
+       * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
+       * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
+       * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
+       * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
+
 2018-05-11  Florian Weimer  <fweimer@redhat.com>
 
        Use 64-bit epoch values in the time zone file parser.
index 5944770598870d632a0968ad2a8111c0bcd3fa65..9d102a635f4d2b92b63879e11f3422b89d99515c 100644 (file)
@@ -20,6 +20,7 @@
 #include <fenv.h>
 #include <float.h>
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <stdbool.h>
 #include <stdint.h>
index a062b8db058bc079cc189f473e5d9bf0fad1ce47..b6982f2396d03b6715a1cc9287f80cb3cab42739 100644 (file)
@@ -24,6 +24,7 @@
 #include <errno.h>
 #include <fenv.h>
 #include <ieee754.h>
+#include <math-barriers.h>
 #include <math_private.h>
 
 /* Carry out a computation using round-to-odd.  The computation is
index fbf440e5195b00f3dcddec5b95b9b29cd3cd0209..792c9d1d78436339ee97581b1b3d7c0ae6576d3e 100644 (file)
@@ -27,6 +27,7 @@ static char rcsid[] = "$NetBSD: s_nextafter.c,v 1.8 1995/05/10 20:47:58 jtc Exp
 
 #include <errno.h>
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <float.h>
 #include <libm-alias-double.h>
index 85d02e863ab49d9d7570de6d2340dd9e50d42335..cdc06109cae11b36b3d25082e91fc7b7bb32d0b7 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <errno.h>
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <float.h>
 
index 09a40ad173643f202521708a112b567aa7446161..e1e9c137653b0c491db25a000892535ed7556914 100644 (file)
@@ -66,8 +66,8 @@ extern double ____strtod_l_internal (const char *, char **, int, locale_t);
 #include <float.h>
 #include "../locale/localeinfo.h"
 #include <math.h>
+#include <math-barriers.h>
 #include <math-narrow-eval.h>
-#include <math_private.h>
 #include <stdlib.h>
 #include <string.h>
 #include <stdint.h>
index da78b95743c757106c774f79069560db6cf3fd3b..287dc8974c73a7d144b0d5d378d52a63f694f675 100644 (file)
@@ -17,6 +17,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <libm-alias-double.h>
 
index 7b4484052d72d9a2c1e0d13d73a24d1c3d9ce88d..70d6c0ca84ce6647d8fddf45e31709555ac9d43d 100644 (file)
@@ -17,6 +17,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <libm-alias-float.h>
 
index 92791b5ffd0dd977161cd1732a3f7c9991c84758..d6ef066e45338d5a49e7889e41eed92101189c12 100644 (file)
@@ -19,6 +19,7 @@
 #include <math.h>
 #include <get-rounding-mode.h>
 #include <stdint.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <libm-alias-double.h>
 
index 27e0fe2df8e0f217f66af090bc4c0a5b8e3dc672..fa42d68dd184dc03d7b287eaf23743e0b40ebce5 100644 (file)
@@ -17,6 +17,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <libm-alias-float.h>
 
index 9cd0941431b9557447dfdde16581ae9f860540ee..b6612ba6bf1bb2e54c6106016d0f0edf5b360f0c 100644 (file)
@@ -262,8 +262,6 @@ extern double __mpsin (double __x, double __dx, bool __range_reduce);
 extern double __mpcos (double __x, double __dx, bool __range_reduce);
 extern void __docos (double __x, double __dx, double __v[]);
 
-#include <math-barriers.h>
-
 /* The standards only specify one variant of the fenv.h interfaces.
    But at least for some architectures we can be more efficient if we
    know what operations are going to be performed.  Therefore we
index 0ad2ea03664a568752d9a02bfbffe9dbd3f9c038..d6e3025bb29009b4edb69a4498742f85141839b3 100644 (file)
@@ -28,6 +28,7 @@ static char rcsid[] = "$NetBSD: $";
 
 #include <errno.h>
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <libm-alias-ldouble.h>
 
index 521a4985beefe1c0a2f06aaa8046f27c61abfc7a..3594db5a4c2df0a9e5465f56c89424fc32854a38 100644 (file)
@@ -28,6 +28,7 @@ static char rcsid[] = "$NetBSD: $";
 
 #include <errno.h>
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <float.h>
 
index f08d63769d9a156fb67650abd4d75ef6812bc79a..6e11ace22313af818751afc908a2b089becb186e 100644 (file)
@@ -20,6 +20,7 @@ static char rcsid[] = "$NetBSD: $";
 
 #include <errno.h>
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <float.h>
 
index b30e2be2a8c2b49cf5d917cca86b9c077a65141b..729506750786c93c955b0b10f3be9de646a5b05d 100644 (file)
@@ -44,6 +44,7 @@
 #include <fenv.h>
 #include <float.h>
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <stap-probe.h>
 
index df9c8786b274e1ba4e40b53325f564a51634bebd..da4da8270c0d83f43decf29f3cf2586f9f6b4992 100644 (file)
@@ -38,6 +38,7 @@
 #include <float.h>
 #include <inttypes.h>
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <math-underflow.h>
 
index b5589aabca27fcc42642d4010ba49ecb41411ee4..ddd2bcb1c2eeef6909b559d8d7d84a7317818138 100644 (file)
@@ -37,6 +37,7 @@
 #include "mydefs.h"
 #include "MathLib.h"
 #include "uexp.tbl"
+#include <math-barriers.h>
 #include <math_private.h>
 #include <fenv.h>
 #include <float.h>
index 045cbbb88d61dbe78a4e53c37763b4e22b8921aa..c45bb4474467a8e3317d416e1aac4d611d5e77d5 100644 (file)
@@ -29,6 +29,7 @@
 #include <math.h>
 #include <fenv.h>
 #include <inttypes.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <math-underflow.h>
 
index 3794fd48fc612d3d4dc2021fbdf2be71bac961e7..7f5919910d2d012d4f60ab7861f57cb637ed18ea 100644 (file)
@@ -59,6 +59,7 @@
  */
 
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 
 static double pzero (double), qzero (double);
index f29ffac2613ede966ccd0bc37c14a0e6406c1173..f70623e17b033a66fc1747c3ddba2e3c89f0633c 100644 (file)
@@ -37,6 +37,7 @@
 #include <dla.h>
 #include "MathLib.h"
 #include "root.tbl"
+#include <math-barriers.h>
 #include <math_private.h>
 
 /*********************************************************************/
index 8ef74f2196ed5d2bca0bf581654410712f46ef98..8f1c95bd04bdb0bc44113c13b62c58c75c106a3f 100644 (file)
 #include <errno.h>
 #include <float.h>
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <math-underflow.h>
 #include <libm-alias-double.h>
index 2938e623d87a0abfeab26c87622bceedccc69772..57c7b5dfc2e9774ebd46f38e0f7a3cd07332c3b3 100644 (file)
@@ -21,6 +21,7 @@
 #include <math.h>
 #include <fenv.h>
 #include <ieee754.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <libm-alias-double.h>
 #include <tininess.h>
index b5a56037ff4f7d1b93a5ebd99d57bf1a2a1bfff5..5c8b22ac16cb38e7748711315c4134c80e53fb50 100644 (file)
@@ -20,6 +20,7 @@
 #include <math.h>
 #include <fenv.h>
 #include <ieee754.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <libm-alias-float.h>
 
index c01f1be93b324f0db95d09eb44674d1c00b51d62..e6476a826039ea8c8f2ac66133448b8c33c966c4 100644 (file)
@@ -80,6 +80,7 @@
 
 #include <float.h>
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <math-underflow.h>
 #include <libc-diag.h>
index 94d193d1ff1f6910be1297143e9cc69b3aaf92c6..903121d4564114ccdfb8b243583a869b1efd994f 100644 (file)
@@ -26,6 +26,7 @@ static char rcsid[] = "$NetBSD: s_rint.c,v 1.8 1995/05/10 20:48:04 jtc Exp $";
 
 #include <fenv.h>
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <libm-alias-double.h>
 
index 5d1f98e47141096d77fda050000460c5c66743d6..a4a081724ec16769f3bf280fee48ce1bf99bc10c 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <fenv.h>
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <libm-alias-double.h>
 
index 43f11ad1f052a1cc9c88fe63a68c1017c9f13545..207d75936245d5c3eecdaa23e66c48425ddc17f1 100644 (file)
@@ -38,6 +38,7 @@
 #include <float.h>
 #include <inttypes.h>
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <math-underflow.h>
 
index 105965d06cf46ff7de0de45254537cb727595fe6..0efc646a125df4d4407b49799a0fc6ce073b5862 100644 (file)
@@ -14,6 +14,7 @@
  */
 
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 
 static float pzerof(float), qzerof(float);
index 3b04ce77518fad560ee664e81728e2c13de42684..b72cc0d0838b598a773121963f8356acc62894d1 100644 (file)
@@ -16,6 +16,7 @@
 #include <errno.h>
 #include <float.h>
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <math-underflow.h>
 #include <libm-alias-float.h>
index 9d2ef899756cf3b10358bc6870d84c15672c33db..a06190a58937b56570ddc2bba1dfc4b15d5bce02 100644 (file)
@@ -15,6 +15,7 @@
 
 #include <float.h>
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <math-underflow.h>
 #include <libc-diag.h>
index a8af8948ec283e410e18b1f320f030f78627d8c8..4dfe491f27ee4f47fab03cf8f7be5954439ff637 100644 (file)
@@ -17,6 +17,7 @@
 
 #include <fenv.h>
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <libm-alias-float.h>
 
index a7a57032455ba49738c7704644341568a32ced1f..aa49df5a9ebfe58e73ecaa7705a11da78c48b272 100644 (file)
@@ -19,6 +19,7 @@ static char rcsid[] = "$NetBSD: s_nextafterf.c,v 1.4 1995/05/10 20:48:01 jtc Exp
 
 #include <errno.h>
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <libm-alias-float.h>
 #include <float.h>
index 0f3b760431f12293bba7b599dfca6ecbf5885eff..58abc22b6ef8c43162089d19d6886d136ecceb58 100644 (file)
@@ -31,6 +31,7 @@
  */
 
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <math-svid-compat.h>
 #include <fenv.h>
index 6021facdfb18346bcfd4e3159994a70135c92c4e..4835962db48aee56dcf699a1c677b984b1ea593f 100644 (file)
@@ -61,6 +61,7 @@
 
 #include <float.h>
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <math-underflow.h>
 
index 735dc9b8d0254650d3a7c1a5bc41b5aace59d5fb..b4b21c4957bd43988199244fec255abd73bd2111 100644 (file)
@@ -64,6 +64,7 @@
 #include <math.h>
 #include <fenv.h>
 #include <inttypes.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <math-underflow.h>
 #include <stdlib.h>
index 4418ad7c3871dd6100fd1e2045e7720908f66149..dc748c3a0b5af0e1a9bcfb5166c4cc83d80f9566 100644 (file)
@@ -65,6 +65,7 @@
  */
 
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 
 static const _Float128 bp[] = {
index 829900f9eb8124d34d2cf2135271b8cb89e6c5cc..4eba9253df3f080aa6a8544bb13f5a387aea660b 100644 (file)
@@ -21,6 +21,7 @@
 #include <math.h>
 #include <fenv.h>
 #include <ieee754.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <libm-alias-ldouble.h>
 #include <tininess.h>
index 04b657d451481d51289c40a50f891becf3474728..f044cb4334e6a12331b284107100b285bbe0e5b6 100644 (file)
@@ -25,6 +25,7 @@
 
 #include <fenv.h>
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <libm-alias-ldouble.h>
 
index d8bf2b6144813e2262d1d19af1b7e69b308d6679..60fdae648fb2fb4c2b0741bafb00419fc032e07a 100644 (file)
@@ -26,6 +26,7 @@ static char rcsid[] = "$NetBSD: $";
 
 #include <errno.h>
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <libm-alias-ldouble.h>
 
index 04d094e44bb281ce01a13a39f43fc54ea64e9153..6db8b7f15fd697abb849d5b9c7a64b650eb3cfe4 100644 (file)
@@ -27,6 +27,7 @@ static char rcsid[] = "$NetBSD: $";
 
 #include <errno.h>
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <float.h>
 
index 6d5121d85d13aabc1360c943d8985b32b490a75c..7840cb382e45c7fac7ee9a3812bbbdc34c9c7f9f 100644 (file)
@@ -20,6 +20,7 @@ static char rcsid[] = "$NetBSD: $";
 
 #include <errno.h>
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 
 float __nexttowardf(float x, long double y)
index 0d6e313aa834121718ab0c9104eb199c2adc1bb9..e8b0221a921d18aec7cf5b688e3d2e1ce7f1b913 100644 (file)
@@ -61,6 +61,7 @@
 
 #include <float.h>
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <math-underflow.h>
 
index 08aeb4c0d47a6be9821f9ea0714aaeaf92df1f75..e72a3e4d5912fa1fddbaee4bf245d7adfaa7b4f1 100644 (file)
@@ -20,6 +20,7 @@
 #include <fenv.h>
 #include <float.h>
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <math-underflow.h>
 #include <math_ldbl_opt.h>
index 0d6469d548f76d07c4cbc79f78ec56259a15681d..e29f7d60a3d9994eb4f2ac06ab0750e7cb63075c 100644 (file)
@@ -27,6 +27,7 @@ static char rcsid[] = "$NetBSD: $";
 #include <errno.h>
 #include <float.h>
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <math_ldbl_opt.h>
 
index d8f4fc652340f60974089c9347ead3e7d5164395..8456bd5145ea22f6366a828fa6ac909b4cc7d1d1 100644 (file)
@@ -27,6 +27,7 @@ static char rcsid[] = "$NetBSD: $";
 
 #include <errno.h>
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <math_ldbl_opt.h>
 #include <float.h>
index fc492470380de372e0f1c3075662a039ad8a2195..960ffd9aee5b0acbf807341e3d9689515bb95afe 100644 (file)
@@ -20,6 +20,7 @@ static char rcsid[] = "$NetBSD: $";
 
 #include <errno.h>
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <math_ldbl_opt.h>
 #include <float.h>
index 73d2b4edfee0b67d0a56374fdc95eb539f5f6216..f003609d95a3111b156d5c9a04bbe9af0be5801e 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <math.h>
 #include <fenv.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <math_ldbl_opt.h>
 #include <float.h>
index c1f43ff3d75bc91c95969e4605804eaf1fcb2dbc..7312f84329db49c4787826b22f42fca72550e4cf 100644 (file)
@@ -34,6 +34,7 @@
 
 #include <float.h>
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <math-underflow.h>
 
index 799812ae86ca6fbd1f71429466e8c183f07b41d3..e720ae955801616424395aa54b91df72ee1ecd5e 100644 (file)
@@ -72,6 +72,7 @@
  */
 
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 
 static long double pzero (long double), qzero (long double);
index 3299a0081d1ff1ccfcc73f3c994ff27783d8e4fb..f7f4dfd28d2e8235884fea15fca4ae40d137fbf4 100644 (file)
@@ -21,6 +21,7 @@
 #include <math.h>
 #include <fenv.h>
 #include <ieee754.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <libm-alias-double.h>
 
index 836ca2589541a322f325df77275e9cb33a80f423..0b261fd17acdca3da69074669676d519b185bea7 100644 (file)
@@ -21,6 +21,7 @@
 #include <math.h>
 #include <fenv.h>
 #include <ieee754.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <libm-alias-ldouble.h>
 #include <tininess.h>
index ed28672afaa2de66f26f847d18fdf3f29f1ff4e1..1d8d9c7f91c3c6551d51fa73c584f1709439f276 100644 (file)
@@ -27,6 +27,7 @@ static char rcsid[] = "$NetBSD: $";
 
 #include <errno.h>
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <float.h>
 
index 79fd65623d659f19943fe08513fd79e6e1d7a8e0..9a08e1c8ffbd66c933687c25424390026f1370c3 100644 (file)
@@ -19,6 +19,7 @@ static char rcsid[] = "$NetBSD: $";
 
 #include <errno.h>
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <float.h>
 
index 7197962b68f26d8ffca6d89c4b30618e51232517..d1cdd54c44f6da802033c61d3d3e029ef6a54ebe 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <errno.h>
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <math_ldbl_opt.h>
 #include <float.h>
index 2fb7dc2173d348c602e9e907432f346add3ebce0..76e900055f0269394ea3194b9656fc8198c18969 100644 (file)
@@ -28,6 +28,7 @@ static char rcsid[] = "$NetBSD: $";
 
 #include <errno.h>
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 
 long double __nextafterl(long double x, long double y)