mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 00:02:28 +00:00
Get libc/tinymath/ compiling on aarch64
This commit is contained in:
parent
2b73e72d59
commit
135080fd3e
243 changed files with 7773 additions and 4027 deletions
|
@ -35,14 +35,10 @@ Copyright 2005-2014 Rich Felker, et. al.\"");
|
|||
asm(".include \"libc/disclaimer.inc\"");
|
||||
/* clang-format off */
|
||||
|
||||
|
||||
|
||||
/* acosh(z) = i acos(z) */
|
||||
|
||||
double complex cacosh(double complex z)
|
||||
{
|
||||
int zineg = signbit(cimag(z));
|
||||
|
||||
z = cacos(z);
|
||||
if (zineg) return CMPLX(cimag(z), -creal(z));
|
||||
else return CMPLX(-cimag(z), creal(z));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue