mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-16 11:31:00 +08:00
9 lines
149 B
C
9 lines
149 B
C
|
#include <math.h>
|
||
|
float
|
||
|
log2f (float _x)
|
||
|
{
|
||
|
float retval;
|
||
|
__asm__ ("fyl2x;" : "=t" (retval) : "0" (_x), "u" (1.0L) : "st(1)");
|
||
|
return retval;
|
||
|
}
|