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