forked from KolibriOS/kolibrios
libc.obj: added missing sin and tan
git-svn-id: svn://kolibrios.org@9515 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
f12d4adc7d
commit
cfde3b082c
@ -137,6 +137,8 @@ __asm__(
|
|||||||
".include \"math/pow2.s\"\n\t"
|
".include \"math/pow2.s\"\n\t"
|
||||||
".include \"math/pow10.s\"\n\t"
|
".include \"math/pow10.s\"\n\t"
|
||||||
".include \"math/sqrt.s\"\n\t"
|
".include \"math/sqrt.s\"\n\t"
|
||||||
|
".include \"math/sin.s\"\n\t"
|
||||||
|
".include \"math/tan.s\"\n\t"
|
||||||
);
|
);
|
||||||
|
|
||||||
__asm__(
|
__asm__(
|
||||||
|
@ -12,7 +12,7 @@ sin:
|
|||||||
sahf
|
sahf
|
||||||
jnp sin.L1
|
jnp sin.L1
|
||||||
fstp %st(0)
|
fstp %st(0)
|
||||||
fldl L0
|
fldl sin.L0
|
||||||
sin.L1:
|
sin.L1:
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
@ -128,6 +128,8 @@ atan
|
|||||||
atan2
|
atan2
|
||||||
ceil
|
ceil
|
||||||
cos
|
cos
|
||||||
|
sin
|
||||||
|
tan
|
||||||
exp
|
exp
|
||||||
fabs
|
fabs
|
||||||
floor
|
floor
|
||||||
|
Loading…
Reference in New Issue
Block a user