aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2006-07-05 02:16:29 +0000
committerBruce Evans <bde@FreeBSD.org>2006-07-05 02:16:29 +0000
commit8eca9455dec263546f5713adddf16953edc60992 (patch)
treef6565f0c991a8993e8e4266ec63c02393635ffc8 /lib
parent3bdf75a5ca5ac337a7647b2ac8c34e0897e0541a (diff)
downloadsrc-8eca9455dec263546f5713adddf16953edc60992.tar.gz
src-8eca9455dec263546f5713adddf16953edc60992.zip
Backed out rev.1.10. It tried to implement ldexpf() as a weak reference
to scalbf(), but ldexpf() cannot be implemented in that way since the types of the second parameter differ. ldexpf() can be implemented as a weak or strong reference to scalbnf() (*) but that was already done long before rev.1.10 was committed. The old implementation uses a reference, so rev.1.10 had no effect on applications. The C files for the scalb() family are not used for amd64 or i386, so rev.1.10 had even less effect for these arches. (*) scalbnf() raises the radix to the given exponent, while ldexpf() raises 2 to the given exponent. Thus the functions are equivalent except possibly for their error handling iff the radix is 2. Standards more or less require identical error handling. Under FreeBSD, the functions are equivalent except for more details being missing in scalbnf()'s man page.
Notes
Notes: svn path=/head/; revision=160102
Diffstat (limited to 'lib')
-rw-r--r--lib/msun/src/e_scalbf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/msun/src/e_scalbf.c b/lib/msun/src/e_scalbf.c
index 41945d23793d..e0e7c02753bc 100644
--- a/lib/msun/src/e_scalbf.c
+++ b/lib/msun/src/e_scalbf.c
@@ -42,5 +42,3 @@ __ieee754_scalbf(float x, float fn)
return scalbnf(x,(int)fn);
#endif
}
-
-__weak_reference(scalbf, ldexpf);