cosmopolitan/libc/tinymath
Justine Tunney 8f522cb702
Make improvements
This change progresses our AARCH64 support:

- The AARCH64 build and tests are now passing
- Add 128-bit floating-point support to printf()
- Fix clone() so it initializes cosmo's x28 TLS register
- Fix TLS memory layout issue with aarch64 _Alignas vars
- Revamp microbenchmarking tools so they work on aarch64
- Make some subtle improvements to aarch64 crash reporting
- Make kisdangerous() memory checks more accurate on aarch64
- Remove sys_open() since it's not available on Linux AARCH64

This change makes general improvements to Cosmo and Redbean:

- Introduce GetHostIsa() function in Redbean
- You can now feature check using pledge(0, 0)
- You can now feature check using unveil("",0)
- Refactor some more x86-specific asm comments
- Refactor and write docs for some libm functions
- Make the mmap() API behave more similar to Linux
- Fix WIFSIGNALED() which wrongly returned true for zero
- Rename some obscure cosmo keywords from noFOO to dontFOO
2023-06-03 08:12:22 -07:00
..
__cexp.c Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
__cexpf.c Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
__math_divzero.c Use ARM's faster math functions on non-tiny builds 2022-07-11 18:34:10 -07:00
__math_divzerof.c Use ARM's faster math functions on non-tiny builds 2022-07-11 18:34:10 -07:00
__math_invalid.c Use ARM's faster math functions on non-tiny builds 2022-07-11 18:34:10 -07:00
__math_invalidf.c Use ARM's faster math functions on non-tiny builds 2022-07-11 18:34:10 -07:00
__math_invalidl.c Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
__math_oflow.c Use ARM's faster math functions on non-tiny builds 2022-07-11 18:34:10 -07:00
__math_oflowf.c Use ARM's faster math functions on non-tiny builds 2022-07-11 18:34:10 -07:00
__math_uflow.c Use ARM's faster math functions on non-tiny builds 2022-07-11 18:34:10 -07:00
__math_uflowf.c Use ARM's faster math functions on non-tiny builds 2022-07-11 18:34:10 -07:00
__math_xflow.c Use ARM's faster math functions on non-tiny builds 2022-07-11 18:34:10 -07:00
__math_xflowf.c Use ARM's faster math functions on non-tiny builds 2022-07-11 18:34:10 -07:00
acos.c Make more ML improvements 2023-05-16 08:07:23 -07:00
acosf.c Make more ML improvements 2023-05-16 08:07:23 -07:00
acosh.c Make more ML improvements 2023-05-16 08:07:23 -07:00
acoshf.c Get more Python tests passing (#141) 2021-08-16 15:26:31 -07:00
acoshl.c Make more ML improvements 2023-05-16 08:07:23 -07:00
acosl.c Make more ML improvements 2023-05-16 08:07:23 -07:00
asin.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
asinf.c Make more ML improvements 2023-05-16 08:07:23 -07:00
asinh.c Make more ML improvements 2023-05-16 08:07:23 -07:00
asinhf.c Get more Python tests passing (#141) 2021-08-16 15:26:31 -07:00
asinhl.c Make more ML improvements 2023-05-16 08:07:23 -07:00
asinl.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
atan.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
atan2.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
atan2f.c Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
atan2l.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
atan_common.internal.h Make more code aarch64 friendly 2023-05-10 04:20:46 -07:00
atan_data.c Make more code aarch64 friendly 2023-05-10 04:20:46 -07:00
atan_data.internal.h Make more code aarch64 friendly 2023-05-10 04:20:46 -07:00
atanf.c Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
atanf_common.internal.h Make more code aarch64 friendly 2023-05-10 04:20:46 -07:00
atanf_data.c Make more code aarch64 friendly 2023-05-10 04:20:46 -07:00
atanf_data.internal.h Make more code aarch64 friendly 2023-05-10 04:20:46 -07:00
atanh.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
atanhf.c Get more Python tests passing (#141) 2021-08-16 15:26:31 -07:00
atanhl.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
atanl.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
cabs.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
cabsf.c Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
cabsl.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
cacos.c Make more ML improvements 2023-05-16 08:07:23 -07:00
cacosf.c Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
cacosh.c Fiddle around with Mach-O 2023-05-20 04:13:49 -07:00
cacoshf.c Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
cacoshl.c Fiddle around with Mach-O 2023-05-20 04:13:49 -07:00
cacosl.c Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
carg.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
cargf.c Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
cargl.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
casin.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
casinf.c Add complex math from musl (#422) 2022-06-23 18:56:10 -07:00
casinh.c Add complex math from musl (#422) 2022-06-23 18:56:10 -07:00
casinhf.c Add complex math from musl (#422) 2022-06-23 18:56:10 -07:00
casinhl.c Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
casinl.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
catan.c Make more ML improvements 2023-05-16 08:07:23 -07:00
catanf.c Port a lot more code to AARCH64 2023-05-14 09:37:26 -07:00
catanh.c Add complex math from musl (#422) 2022-06-23 18:56:10 -07:00
catanhf.c Add complex math from musl (#422) 2022-06-23 18:56:10 -07:00
catanhl.c Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
catanl.c Make more ML improvements 2023-05-16 08:07:23 -07:00
cbrt.c Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
cbrtf.c Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
cbrtl.c Port a lot more code to AARCH64 2023-05-14 09:37:26 -07:00
ccos.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
ccosf.c Add complex math from musl (#422) 2022-06-23 18:56:10 -07:00
ccosh.c Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
ccoshf.c Port a lot more code to AARCH64 2023-05-14 09:37:26 -07:00
ccoshl.c Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
ccosl.c Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
ceil.c Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
ceilf.c Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
ceill.c Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
cexp.c Add complex math from musl (#422) 2022-06-23 18:56:10 -07:00
cexpf.c Add complex math from musl (#422) 2022-06-23 18:56:10 -07:00
cexpl.c Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
cimag.c Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
cimagf.c Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
cimagl.c Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
clog.c Add complex math from musl (#422) 2022-06-23 18:56:10 -07:00
clogf.c Add complex math from musl (#422) 2022-06-23 18:56:10 -07:00
clogl.c Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
complex.internal.h Rename hidden keyword to _Hide 2022-11-08 12:55:28 -08:00
conj.c Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
conjf.c Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
conjl.c Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
copysign.c Introduce native support for MacOS ARM64 2023-05-20 04:17:03 -07:00
copysignf.c Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
copysignl.c Introduce native support for MacOS ARM64 2023-05-20 04:17:03 -07:00
cos.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
cosdf.c Further optimize the math library 2023-04-28 01:20:47 -07:00
cosf.c Import more Musl math 2022-07-12 15:55:12 -07:00
cosh.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
coshf.c Get more Python tests passing (#141) 2021-08-16 15:26:31 -07:00
coshl.c Make AARCH64 harder, better, faster, stronger 2023-05-15 02:15:34 -07:00
cosl.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
cpow.c Port a lot more code to AARCH64 2023-05-14 09:37:26 -07:00
cpowf.c Add complex math from musl (#422) 2022-06-23 18:56:10 -07:00
cpowl.c Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
cproj.c Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
cprojf.c Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
cprojl.c Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
creal.c Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
crealf.c Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
creall.c Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
csin.c Add complex math from musl (#422) 2022-06-23 18:56:10 -07:00
csinf.c Add complex math from musl (#422) 2022-06-23 18:56:10 -07:00
csinh.c Port a lot more code to AARCH64 2023-05-14 09:37:26 -07:00
csinhf.c Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
csinhl.c Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
csinl.c Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
csqrt.c Fix some more reported issues 2022-04-28 20:36:33 -07:00
csqrtf.c Add complex math from musl (#422) 2022-06-23 18:56:10 -07:00
csqrtl.c Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
ctan.c Add complex math from musl (#422) 2022-06-23 18:56:10 -07:00
ctanf.c Add complex math from musl (#422) 2022-06-23 18:56:10 -07:00
ctanh.c Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
ctanhf.c Add complex math from musl (#422) 2022-06-23 18:56:10 -07:00
ctanhl.c Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
ctanl.c Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
emod.h Fixup and polish chibicc some more 2022-06-20 04:32:25 -07:00
emodl.h Fixup and polish chibicc some more 2022-06-20 04:32:25 -07:00
erf.c Get more Python tests passing (#141) 2021-08-16 15:26:31 -07:00
erff.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
estrin_wrap.internal.h Make more code aarch64 friendly 2023-05-10 04:20:46 -07:00
exp.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
exp2.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
exp2f.c Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
exp2f_data.c Use ARM's faster math functions on non-tiny builds 2022-07-11 18:34:10 -07:00
exp2f_data.internal.h Rename hidden keyword to _Hide 2022-11-08 12:55:28 -08:00
exp2l.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
exp10.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
exp10f.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
exp10l.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
exp_data.c Use ARM's faster math functions on non-tiny builds 2022-07-11 18:34:10 -07:00
exp_data.internal.h Rename hidden keyword to _Hide 2022-11-08 12:55:28 -08:00
expf.c Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
expl.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
expm1.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
expm1f.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
expm1l.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
expo.internal.h Get more Python tests passing (#141) 2021-08-16 15:26:31 -07:00
expo2.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
expo2f.c Make AARCH64 harder, better, faster, stronger 2023-05-15 02:15:34 -07:00
fabs.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
fabsf.c Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
fabsl.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
fdim.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
fdimf.c Make AARCH64 harder, better, faster, stronger 2023-05-15 02:15:34 -07:00
fdiml.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
feval.internal.h Get more Python tests passing (#141) 2021-08-16 15:26:31 -07:00
finite.c Improve Libc by making Python work even better 2021-08-18 22:16:23 -07:00
finitef.c Improve Libc by making Python work even better 2021-08-18 22:16:23 -07:00
finitel.c Improve Libc by making Python work even better 2021-08-18 22:16:23 -07:00
floor.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
floorf.c Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
floorl.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
fma.c Introduce native support for MacOS ARM64 2023-05-20 04:17:03 -07:00
fmaf.c Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
fmin.c Make more ML improvements 2023-05-16 08:07:23 -07:00
fminf.c Make more ML improvements 2023-05-16 08:07:23 -07:00
fminl.c Make more ML improvements 2023-05-16 08:07:23 -07:00
fmod.c Improve cosmo's conformance to libc-test 2022-10-10 17:52:41 -07:00
fmodf.c Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
fmodl.c Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
freebsd.internal.h Perform some code cleanup 2023-05-15 16:32:10 -07:00
frexp.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
frexpf.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
frexpl.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
fsum.c Introduce native support for MacOS ARM64 2023-05-20 04:17:03 -07:00
fsumf.c Introduce native support for MacOS ARM64 2023-05-20 04:17:03 -07:00
gamma.c Correct more typos (#500) 2022-07-21 20:53:30 -07:00
horner.internal.h Make more code aarch64 friendly 2023-05-10 04:20:46 -07:00
horner_wrap.internal.h Further optimize the math library 2023-04-28 01:20:47 -07:00
hornerf.internal.h Make more code aarch64 friendly 2023-05-10 04:20:46 -07:00
hypot.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
hypotf.c Improve cosmo's conformance to libc-test 2022-10-10 17:52:41 -07:00
hypotl.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
ilogb.c Introduce native support for MacOS ARM64 2023-05-20 04:17:03 -07:00
ilogbf.c Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
ilogbl.c Introduce native support for MacOS ARM64 2023-05-20 04:17:03 -07:00
internal.h Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
invtrigl.c Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
invtrigl.internal.h Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
j0.c Port a lot more code to AARCH64 2023-05-14 09:37:26 -07:00
j0f.c Improve cosmo's conformance to libc-test 2022-10-10 17:52:41 -07:00
j1.c Port a lot more code to AARCH64 2023-05-14 09:37:26 -07:00
j1f.c Improve cosmo's conformance to libc-test 2022-10-10 17:52:41 -07:00
jn.c Port a lot more code to AARCH64 2023-05-14 09:37:26 -07:00
jnf.c Port a lot more code to AARCH64 2023-05-14 09:37:26 -07:00
kcos.c Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
kcosl.c Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
kernel.internal.h Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
kexpl.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
ksin.c Port a lot more code to AARCH64 2023-05-14 09:37:26 -07:00
ksinl.c Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
ktan.c Port a lot more code to AARCH64 2023-05-14 09:37:26 -07:00
ktanl.c Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
ldshape.internal.h Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
lgamma.c Improve cosmo's conformance to libc-test 2022-10-10 17:52:41 -07:00
lgamma_r.c Port a lot more code to AARCH64 2023-05-14 09:37:26 -07:00
lgammaf.c Improve cosmo's conformance to libc-test 2022-10-10 17:52:41 -07:00
lgammaf_r.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
LICENSE.fdlibm Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
LICENSE.freebsd Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
LICENSE.musl Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
LICENSE.openbsd Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
LICENSE.optimized-routines Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
log.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
log1p.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
log1pf.c Make more code aarch64 friendly 2023-05-10 04:20:46 -07:00
log1pf_data.c Make more code aarch64 friendly 2023-05-10 04:20:46 -07:00
log1pf_data.internal.h Make more code aarch64 friendly 2023-05-10 04:20:46 -07:00
log1pl.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
log2.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
log2_data.c Use ARM's faster math functions on non-tiny builds 2022-07-11 18:34:10 -07:00
log2_data.internal.h Rename hidden keyword to _Hide 2022-11-08 12:55:28 -08:00
log2f.c Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
log2f_data.c Use ARM's faster math functions on non-tiny builds 2022-07-11 18:34:10 -07:00
log2f_data.internal.h Rename hidden keyword to _Hide 2022-11-08 12:55:28 -08:00
log2l.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
log10.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
log10f.c Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
log10l.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
log_data.c Use ARM's faster math functions on non-tiny builds 2022-07-11 18:34:10 -07:00
log_data.internal.h Rename hidden keyword to _Hide 2022-11-08 12:55:28 -08:00
logb.c Make improvements 2023-06-03 08:12:22 -07:00
logbf.c Make improvements 2023-06-03 08:12:22 -07:00
logf.c Port a lot more code to AARCH64 2023-05-14 09:37:26 -07:00
logf_data.c Further optimize the math library 2023-04-28 01:20:47 -07:00
logf_data.internal.h Further optimize the math library 2023-04-28 01:20:47 -07:00
logl.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
loglq.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
lrint.c Make improvements 2023-06-03 08:12:22 -07:00
lrintf.c Make improvements 2023-06-03 08:12:22 -07:00
lrintl.c Make improvements 2023-06-03 08:12:22 -07:00
lround.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
lroundf.c Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
lroundl.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
magicu.c Introduce native support for MacOS ARM64 2023-05-20 04:17:03 -07:00
magicu.h Introduce native support for MacOS ARM64 2023-05-20 04:17:03 -07:00
measureentropy.c Fold LIBC_RAND into LIBC_STDIO/TINYMATH/INTRIN 2022-08-11 12:32:00 -07:00
modf.c Make AARCH64 harder, better, faster, stronger 2023-05-15 02:15:34 -07:00
modff.c Make AARCH64 harder, better, faster, stronger 2023-05-15 02:15:34 -07:00
modfl.c Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
nan.c Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
nanf.c Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
nanl.c Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
nearbyint.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
nearbyintf.c Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
nearbyintl.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
nextafter.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
nextafterf.c Make AARCH64 harder, better, faster, stronger 2023-05-15 02:15:34 -07:00
nextafterl.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
nexttoward.c Make AARCH64 harder, better, faster, stronger 2023-05-15 02:15:34 -07:00
nexttowardf.c Make AARCH64 harder, better, faster, stronger 2023-05-15 02:15:34 -07:00
nexttowardl.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
polevll.c Make AARCH64 harder, better, faster, stronger 2023-05-15 02:15:34 -07:00
pow.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
pow_data.c Use ARM's faster math functions on non-tiny builds 2022-07-11 18:34:10 -07:00
pow_data.internal.h Rename hidden keyword to _Hide 2022-11-08 12:55:28 -08:00
powf.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
powf_data.c Import more Musl math 2022-07-12 15:55:12 -07:00
powf_data.internal.h Rename hidden keyword to _Hide 2022-11-08 12:55:28 -08:00
powl.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
poz.c Make AARCH64 harder, better, faster, stronger 2023-05-15 02:15:34 -07:00
randtest.c Fold LIBC_RAND into LIBC_STDIO/TINYMATH/INTRIN 2022-08-11 12:32:00 -07:00
README.cosmo Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
remainder.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
remainderf.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
remainderl.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
rempio2.c Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
rempio2f.c Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
rempio2l.c Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
rempio2large.c Make AARCH64 harder, better, faster, stronger 2023-05-15 02:15:34 -07:00
remquo.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
remquof.c Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
remquol.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
rint.c Make improvements 2023-06-03 08:12:22 -07:00
rintf.c Make improvements 2023-06-03 08:12:22 -07:00
rintl.c Make improvements 2023-06-03 08:12:22 -07:00
round.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
roundf.c Get LIBC_TESTLIB building on AARCH64 2023-05-11 19:57:09 -07:00
roundl.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
scalb.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
scalbf.c Make AARCH64 harder, better, faster, stronger 2023-05-15 02:15:34 -07:00
scalbln.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
scalblnf.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
signgam.c Improve cosmo's conformance to libc-test 2022-10-10 17:52:41 -07:00
significand.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
significandf.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
significandl.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
sin.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
sincos.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
sincosf.c Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
sincosf.internal.h Make AARCH64 harder, better, faster, stronger 2023-05-15 02:15:34 -07:00
sincosf_data.c Further optimize the math library 2023-04-28 01:20:47 -07:00
sincosl.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
sindf.c Make AARCH64 harder, better, faster, stronger 2023-05-15 02:15:34 -07:00
sinf.c Make AARCH64 harder, better, faster, stronger 2023-05-15 02:15:34 -07:00
sinh.c Make AARCH64 harder, better, faster, stronger 2023-05-15 02:15:34 -07:00
sinhf.c Make AARCH64 harder, better, faster, stronger 2023-05-15 02:15:34 -07:00
sinhl.c Make AARCH64 harder, better, faster, stronger 2023-05-15 02:15:34 -07:00
sinl.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
sqrt.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
sqrt_data.c Get libc/tinymath/ compiling on aarch64 2023-05-10 04:20:46 -07:00
sqrtf.c Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
sqrtl.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
tan.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
tandf.c Use ARM's faster math functions on non-tiny builds 2022-07-11 18:34:10 -07:00
tanf.c Improve cosmo's conformance to libc-test 2022-10-10 17:52:41 -07:00
tanh.c Port a lot more code to AARCH64 2023-05-14 09:37:26 -07:00
tanhf.c Introduce native support for MacOS ARM64 2023-05-20 04:17:03 -07:00
tanhl.c Make AARCH64 harder, better, faster, stronger 2023-05-15 02:15:34 -07:00
tanl.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
tgamma.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
tgammaf.c Improve Libc by making Python work even better 2021-08-18 22:16:23 -07:00
tinymath.h Perform some code cleanup 2023-05-15 16:32:10 -07:00
tinymath.mk Introduce native support for MacOS ARM64 2023-05-20 04:17:03 -07:00
trunc.c Perform some code cleanup 2023-05-15 16:32:10 -07:00
truncf.c Make further progress on non-x86 support 2023-05-10 04:20:47 -07:00
truncl.c Perform some code cleanup 2023-05-15 16:32:10 -07:00

README

  This folder provides libm scalar math functions, sourced from Musl
  Libc, FreeBSD, OpenBSD, and ARM's Optimized Routines project.

LICENSE

  All code is covered by notice licenses (e.g. BSD, MIT) which are
  documented on a file-by-file basis.

ORIGIN

  git://git.musl-libc.org/musl
  commit f5f55d6589940fd2c2188d76686efe3a530e64e0
  Author: Rich Felker <dalias@aerifal.cx>
  Date:   Mon May 1 23:39:41 2023 -0400

      release 1.2.4

  git@github.com:ARM-software/optimized-routines.git
  commit f9f58aa37edc3486f18b1dd8701b74b5e3873699
  Author: Joe Ramsay <Joe.Ramsay@arm.com>
  Date:   Fri May 5 14:19:06 2023 +0100

      math: Cleanup Neon cos and cosf