summaryrefslogtreecommitdiff
path: root/libm/ldouble_wrappers.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-02-17 12:13:38 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-02-17 12:13:38 +0000
commit050aa62a226723e9b8420a41edb821aec9bb1ff9 (patch)
tree81c970a7fbc722143610b59caed3037592bd3cf0 /libm/ldouble_wrappers.c
parent845b3a4460ee9447edb66137461570299965f5f8 (diff)
libm/Makefile.in: reformat the list of wrappers
so that it is easier to modify, sort, etc; use __ in filenames of wrappers which wrap __functions (it may be useful to have function and file names ALWAYS match); remove names of not implemented wrappers (it was generating useless empty .o files). libm/ldouble_wrappers.c: comment out the wrapper which is not compiled anyway test/math/compile_test.c: improve this test, it was optimizing out some calls, and we don't want that. No actual code changes.
Diffstat (limited to 'libm/ldouble_wrappers.c')
-rw-r--r--libm/ldouble_wrappers.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/libm/ldouble_wrappers.c b/libm/ldouble_wrappers.c
index 211a2c00b..61940cb12 100644
--- a/libm/ldouble_wrappers.c
+++ b/libm/ldouble_wrappers.c
@@ -401,11 +401,13 @@ long double nextafterl (long double x, long double y)
}
#endif
-#ifdef L_nexttowardl
+/* Disabled in Makefile.in */
+#if 0 /* def L_nexttowardl */
long double nexttowardl (long double x, long double y)
{
return (long double) nexttoward( (double)x, (double)y );
}
+libm_hidden_def(nexttowardl)
#endif
#ifdef L_powl
@@ -492,12 +494,12 @@ long double significandl(long double x)
#ifdef __DO_C99_MATH__
-#ifdef L_fpclassifyl
+#ifdef L___fpclassifyl
int_WRAPPER1(__fpclassify)
libm_hidden_def(__fpclassifyl)
#endif
-#ifdef L_finitel
+#ifdef L___finitel
int_WRAPPER1(__finite)
libm_hidden_def(__finitel)
#endif
@@ -507,12 +509,12 @@ int_WRAPPER1(__signbit)
libm_hidden_def(__signbitl)
#endif
-#ifdef L_isnanl
+#ifdef L___isnanl
int_WRAPPER1(__isnan)
libm_hidden_def(__isnanl)
#endif
-#ifdef L_isinfl
+#ifdef L___isinfl
int_WRAPPER1(__isinf)
libm_hidden_def(__isinfl)
#endif