Alias scalbnf as ldexpf. The two are identical in binary
floating-point formats.
This commit is contained in:
parent
58a6edd121
commit
4b2011300b
@ -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)
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user