mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 23:08:31 +00:00
Remove sun musl fdlibm math library
The libm code from musl wasn't being used since most of these functions are implemented using x87 which goes faster than a library intended for risc machines.
This commit is contained in:
parent
e6481efa80
commit
fdc3fa9148
388 changed files with 304 additions and 19472 deletions
|
@ -26,8 +26,7 @@
|
|||
/ @define atan2(𝑥,sqrt((1-𝑥)*(1+𝑥)))
|
||||
/ @domain -1 ≤ 𝑥 ≤ 1
|
||||
/ @mode long,legacy
|
||||
tinymath_asinl:
|
||||
push %rbp
|
||||
asinl: push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
fldl 16(%rbp)
|
||||
|
@ -46,8 +45,7 @@ tinymath_asinl:
|
|||
fpatan
|
||||
pop %rbp
|
||||
ret
|
||||
.endfn tinymath_asinl,globl
|
||||
.alias tinymath_asinl,asinl
|
||||
.endfn asinl,globl
|
||||
|
||||
.rodata.cst4
|
||||
.Lone: .float 1.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue