Alias scalbnf as ldexpf. The two are identical in binary

floating-point formats.
This commit is contained in:
David Schultz 2005-03-07 04:52:43 +00:00
parent 58a6edd121
commit 4b2011300b
2 changed files with 7 additions and 0 deletions

View File

@ -14,3 +14,6 @@ ENTRY(scalbnf)
fscale
fstp %st(1) /* bug fix for fp stack overflow */
ret
.globl CNAME(ldexpf)
.set CNAME(ldexpf),CNAME(scalbnf)

View File

@ -17,6 +17,8 @@
static char rcsid[] = "$FreeBSD$";
#endif
#include <sys/cdefs.h>
#include "math.h"
#include "math_private.h"
@ -52,3 +54,5 @@ scalbnf (float x, int n)
SET_FLOAT_WORD(x,(ix&0x807fffff)|(k<<23));
return x*twom25;
}
__strong_reference(scalbnf, ldexpf);