about summary refs log tree commit diff
path: root/sysdeps/ieee754
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-08-25 16:46:34 -0700
committerUlrich Drepper <drepper@redhat.com>2009-08-25 16:46:34 -0700
commit65b14bcee2da7f56299357d1dab9f0ab986c2255 (patch)
tree2e7f47d06477f7a0526e0a6f1ebaa4c25441a0d1 /sysdeps/ieee754
parente9f145cba8691a81dac379914bb3895360795a9b (diff)
downloadglibc-65b14bcee2da7f56299357d1dab9f0ab986c2255.tar.gz
glibc-65b14bcee2da7f56299357d1dab9f0ab986c2255.tar.xz
glibc-65b14bcee2da7f56299357d1dab9f0ab986c2255.zip
Optimize out duplicated scalbln code for x86-64.
Diffstat (limited to 'sysdeps/ieee754')
-rw-r--r--sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (renamed from sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c)12
1 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c b/sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c
index 25b283f288..25cf3b1699 100644
--- a/sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c
+++ b/sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c
@@ -31,10 +31,10 @@ huge   = 1.0e+300,
 tiny   = 1.0e-300;
 
 #ifdef __STDC__
-	double __scalbln (double x, long int n)
+	double __scalbn (double x, int n)
 #else
-	double __scalbln (x,n)
-	double x; long int n;
+	double __scalbn (x,n)
+	double x; int n;
 #endif
 {
 	int64_t ix;
@@ -61,8 +61,8 @@ tiny   = 1.0e-300;
 	INSERT_WORDS64(x,(ix&INT64_C(0x800fffffffffffff))|(k<<52));
 	return x*twom54;
 }
-weak_alias (__scalbln, scalbln)
+weak_alias (__scalbn, scalbn)
 #ifdef NO_LONG_DOUBLE
-strong_alias (__scalbln, __scalblnl)
-weak_alias (__scalbln, scalblnl)
+strong_alias (__scalbn, __scalbnl)
+weak_alias (__scalbn, scalbnl)
 #endif