libc.obj: added missing sin and tan

git-svn-id: svn://kolibrios.org@9515 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
turbocat 2021-12-28 18:17:27 +00:00
parent f12d4adc7d
commit cfde3b082c
3 changed files with 5 additions and 1 deletions

View File

@ -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__(

View File

@ -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

View File

@ -128,6 +128,8 @@ atan
atan2 atan2
ceil ceil
cos cos
sin
tan
exp exp
fabs fabs
floor floor