about summary refs log tree commit diff
path: root/math/bits/math-finite.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2012-01-10 20:52:29 -0500
committerUlrich Drepper <drepper@gmail.com>2012-01-10 20:52:29 -0500
commita47a831ad82735bd19cfa1d0b441c1bd62b2a29a (patch)
treef5221c57580598d0f8cee080d0848269e80a094a /math/bits/math-finite.h
parent8898f02074fc1c6a461ee19a817b482b9ffca639 (diff)
downloadglibc-a47a831ad82735bd19cfa1d0b441c1bd62b2a29a.tar.gz
glibc-a47a831ad82735bd19cfa1d0b441c1bd62b2a29a.tar.xz
glibc-a47a831ad82735bd19cfa1d0b441c1bd62b2a29a.zip
Optimize ldexp and scalbn
Diffstat (limited to 'math/bits/math-finite.h')
-rw-r--r--math/bits/math-finite.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/math/bits/math-finite.h b/math/bits/math-finite.h
index dcf427ca81..00e07a13c9 100644
--- a/math/bits/math-finite.h
+++ b/math/bits/math-finite.h
@@ -1,5 +1,5 @@
 /* Entry points to finite-math-only compiler runs.
-   Copyright (C) 2011 Free Software Foundation, Inc.
+   Copyright (C) 2011, 2012 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
@@ -261,6 +261,13 @@ extern long double __REDIRECT_NTH (log2l, (long double), __log2l_finite);
 # endif
 #endif
 
+/* ldexp.  */
+extern double __REDIRECT_NTH (ldexp, (double, int), scalbn);
+extern float __REDIRECT_NTH (ldexpf, (float, int), scalbnf);
+#ifdef __MATH_DECLARE_LDOUBLE
+extern long double __REDIRECT_NTH (ldexpl, (long double, int), scalbnl);
+#endif
+
 /* pow.  */
 extern double __REDIRECT_NTH (pow, (double, double), __pow_finite);
 extern float __REDIRECT_NTH (powf, (float, float), __powf_finite);