Skip to content

Math Library ByteCode

Cristian edited this page Oct 5, 2023 · 1 revision

We support the following opcodes over real values (f64).
The documention for these functions can be found on the Mozilla Development Network.

e, ln10, ln2, log10e, log2e, pi, sqrt1_2, sqrt2, egamma, phi, abs, acos, acosh, asin, asinh, atan, atan2, atanh, cbrt, ceil, cos, cosh, exp, expm1, floor, hypot, log, log1p, log10, log2, max, min, round, sign, sin, sinh, sqrt, tan, tanh, trunc.

Those are not functions, therefore parameters are pushed in order.

Clone this wiki locally