10 lines
112 B
C
10 lines
112 B
C
|
#include <math.h>
|
||
|
|
||
|
float
|
||
|
fabsf (float x)
|
||
|
{
|
||
|
float res;
|
||
|
asm ("fabs;" : "=t" (res) : "0" (x));
|
||
|
return res;
|
||
|
}
|