reactos/lib/sdk/crt/math/i386/exp_asm.s

30 lines
373 B
ArmAsm
Raw Normal View History

#include <reactos/asm.h>
PUBLIC _exp
/* FUNCTIONS ***************************************************************/
.code
_exp:
push ebp
mov ebp, esp
fld qword ptr [ebp + 8]
fldl2e
fmul st, st(1)
fst st(1)
frndint
fxch st(1)
fsub st, st(1)
f2xm1
fld1
faddp st(1), st
fscale
fstp st(1)
pop ebp
retn
END