cosmopolitan/libc/tinymath
Justine Tunney f4f4caab0e Add x86_64-linux-gnu emulator
I wanted a tiny scriptable meltdown proof way to run userspace programs
and visualize how program execution impacts memory. It helps to explain
how things like Actually Portable Executable works. It can show you how
the GCC generated code is going about manipulating matrices and more. I
didn't feel fully comfortable with Qemu and Bochs because I'm not smart
enough to understand them. I wanted something like gVisor but with much
stronger levels of assurances. I wanted a single binary that'll run, on
all major operating systems with an embedded GPL barrier ZIP filesystem
that is tiny enough to transpile to JavaScript and run in browsers too.

https://justine.storage.googleapis.com/emulator625.mp4
2020-08-25 04:43:42 -07:00
..
delegates Initial import 2020-06-15 07:18:57 -07:00
README.txt Initial import 2020-06-15 07:18:57 -07:00
acos.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
acosf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
acosl.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
asin.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
asinf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
asinl.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
atan.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
atan2.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
atan2f.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
atan2l.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
atanf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
atanl.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
c2rangr.S Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
cabs.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
cabsf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
cabsl.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
carg.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
cargf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
cargl.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
cbrt.S Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
cbrtc.c Add NES emulator 2020-07-02 13:46:08 -07:00
cbrtf.S Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
cbrtl.S Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
ceil.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
ceilf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
ceill.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
cimag.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
cimagf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
cimagl.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
conj.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
conjf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
conjl.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
copysign.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
copysignf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
copysignl.S Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
cos.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
cosf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
cosl.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
cprojf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
cprojl.S Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
creal.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
crealf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
creall.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
d2ld2.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
emod.h Initial import 2020-06-15 07:18:57 -07:00
emodl.h Make small fixes and oops ran clang-format on dtoa 2020-06-30 19:55:47 -07:00
exp.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
exp2.S Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
exp2f.S Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
exp2l.S Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
exp10.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
exp10f.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
exp10l.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
expf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
expl.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
expm1.S Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
expm1f.S Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
expm1l.S Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
f2ld2.S Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
fabs.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
fabsf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
fabsl.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
fld.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
floor.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
floorf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
floorl.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
fmax.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
fmaxf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
fmaxl.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
fmin.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
fminf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
fminl.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
fmod.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
fmodf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
fmodl.S Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
fpclassify.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
fpclassifyf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
fpclassifyl.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
frexp.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
hypot.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
hypotf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
hypotl.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
ilogb.S Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
ilogbf.S Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
ilogbl.S Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
isgreater.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
isgreaterequal.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
isgreaterequalf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
isgreaterequall.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
isgreaterf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
isgreaterl.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
isless.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
islessequal.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
islessequalf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
islessequall.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
islessf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
islessgreater.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
islessgreaterf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
islessgreaterl.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
islessl.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
isunordered.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
isunorderedf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
isunorderedl.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
ldexp.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
ldexpf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
ldexpl.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
log.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
log1p.S Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
log1pf.S Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
log1pl.S Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
log2.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
log2f.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
log2l.S Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
log10.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
log10f.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
log10l.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
logb.S Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
logbf.S Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
logbl.S Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
logf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
logl.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
lrint.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
lrintf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
lrintl.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
lround.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
lroundf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
lroundl.S Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
nearbyint.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
nearbyintf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
nearbyintl.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
pow.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
powf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
powl.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
remainder.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
remainderf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
remainderl.S Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
rint.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
rintf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
rintl.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
round.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
roundf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
roundl.S Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
scalb.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
scalbf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
scalbl.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
scalbln.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
scalblnl.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
scalbn.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
scalbnf.S Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
scalbnl.S Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
signbit.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
signbitf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
signbitl.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
significand.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
significandf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
significandl.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
sin.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
sincos.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
sincosf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
sincosl.S Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
sinf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
sinl.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
sqrt.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
sqrtf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
sqrtl.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
tan.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
tanf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
tanl.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
tinymath.h Initial import 2020-06-15 07:18:57 -07:00
tinymath.mk Initial import 2020-06-15 07:18:57 -07:00
trunc.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
truncf.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
truncl.S Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00

README.txt


                      Cosmopolitan TinyMath

    “Seymour Cray didn't care that 81.0/3.0 did not give exactly
     27.0 on the CDC 6000 class machines; and he was universally
     respected for making the fastest machines around.
                                          ──Linus Torvalds


Your Cosmopolitan TinyMath library provides hardware-accelerated scalar
transcendental mathematical functions that are superior to the portable
standards-compliant math library, in terms of both performance and code
size, by trading away focus on temporal concerns, like IEEE conformance
or rounding errors at the femto-scale, or reproducible results across a
broad array of niche machine languages.