summaryrefslogtreecommitdiff
path: root/libm/e_scalb.c
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2010-11-28 21:09:47 +0100
committerCarmelo Amoroso <carmelo.amoroso@st.com>2010-11-28 21:09:47 +0100
commit57f6cce72c889f2e7b342e87a565a064320a6ee2 (patch)
tree5466406472918d3adb63398f5fb9ea1511a5e73f /libm/e_scalb.c
parent4ec89b87bc0eea8d9ca6b50564d12eeb3b1b0119 (diff)
parent5dea871ac73ef4608022c058b50adc946917f9b9 (diff)
Merge commit 'origin/master' into prelink
Conflicts: ldso/include/dl-hash.h Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libm/e_scalb.c')
-rw-r--r--libm/e_scalb.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/libm/e_scalb.c b/libm/e_scalb.c
index 9244cf42f..3fd78a1c0 100644
--- a/libm/e_scalb.c
+++ b/libm/e_scalb.c
@@ -10,9 +10,9 @@
*/
/*
- * __ieee754_scalb(x, fn) is provide for
- * passing various standard test suite. One
- * should use scalbn() instead.
+ * __ieee754_scalb(x, fn) is provided for
+ * passing various standard test suites.
+ * One should use scalbn() instead.
*/
#include "math.h"
@@ -21,7 +21,6 @@
double attribute_hidden __ieee754_scalb(double x, double fn)
{
- return scalbn(x,fn);
if (isnan(x)||isnan(fn)) return x*fn;
if (!isfinite(fn)) {
if(fn>0.0) return x*fn;
@@ -35,9 +34,9 @@ double attribute_hidden __ieee754_scalb(double x, double fn)
#if defined __UCLIBC_SUSV3_LEGACY__
/*
- * wrapper scalb(double x, double fn) is provide for
- * passing various standard test suite. One
- * should use scalbn() instead.
+ * wrapper scalb(double x, double fn) is provided for
+ * passing various standard test suites.
+ * One should use scalbn() instead.
*/
#ifndef _IEEE_LIBM
double scalb(double x, double fn)