mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +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
|
@ -28,8 +28,7 @@
|
|||
/ @param 𝑥 is an 80-bit long double passed on stack in 16-bytes
|
||||
/ @return result of computation on FPU stack in %st
|
||||
/ @define atan(𝑥) = Σₙ₌₀₋∞ 2²ⁿ(𝑛!)²/(𝟸𝑛+𝟷)!(𝑥²ⁿ⁺¹/(𝑥²+𝟷)ⁿ⁺¹)
|
||||
tinymath_atanl:
|
||||
push %rbp
|
||||
atanl: push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
fldt 16(%rbp)
|
||||
|
@ -37,5 +36,4 @@ tinymath_atanl:
|
|||
fpatan
|
||||
pop %rbp
|
||||
ret
|
||||
.endfn tinymath_atanl,globl
|
||||
.alias tinymath_atanl,atanl
|
||||
.endfn atanl,globl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue