mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +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
|
@ -29,13 +29,12 @@
|
|||
#include "libc/math.h"
|
||||
#include "libc/tinymath/exp2f_data.internal.h"
|
||||
#include "libc/tinymath/internal.h"
|
||||
#ifndef TINY
|
||||
|
||||
asm(".ident\t\"\\n\\n\
|
||||
Double-precision math functions (MIT License)\\n\
|
||||
Copyright 2018 ARM Limited\"");
|
||||
asm(".include \"libc/disclaimer.inc\"");
|
||||
/* clang-format off */
|
||||
// clang-format off
|
||||
|
||||
/*
|
||||
* Single-precision e^x function.
|
||||
|
@ -115,5 +114,3 @@ float expf(float x)
|
|||
y = y * s;
|
||||
return eval_as_float(y);
|
||||
}
|
||||
|
||||
#endif /* !TINY */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue