js-on-sx: Math.X.name maps SX names to JS for trig/log/etc.
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 22s
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 22s
js-unmap-fn-name had mappings for older Math methods but not the trig/hyperbolic/log family added later. Added 22 mappings for sin, cos, tan, asin, acos, atan, atan2, sinh, cosh, tanh, asinh, acosh, atanh, exp, log, log2, log10, expm1, log1p, clz32, imul, fround. built-ins/Math: 42/45 → 45/45 (100%). conformance.sh: 148/148.
This commit is contained in:
@@ -174,6 +174,28 @@
|
||||
((= name "js-math-sign") "sign")
|
||||
((= name "js-math-cbrt") "cbrt")
|
||||
((= name "js-math-hypot") "hypot")
|
||||
((= name "js-math-sin") "sin")
|
||||
((= name "js-math-cos") "cos")
|
||||
((= name "js-math-tan") "tan")
|
||||
((= name "js-math-asin") "asin")
|
||||
((= name "js-math-acos") "acos")
|
||||
((= name "js-math-atan") "atan")
|
||||
((= name "js-math-atan2") "atan2")
|
||||
((= name "js-math-sinh") "sinh")
|
||||
((= name "js-math-cosh") "cosh")
|
||||
((= name "js-math-tanh") "tanh")
|
||||
((= name "js-math-asinh") "asinh")
|
||||
((= name "js-math-acosh") "acosh")
|
||||
((= name "js-math-atanh") "atanh")
|
||||
((= name "js-math-exp") "exp")
|
||||
((= name "js-math-log") "log")
|
||||
((= name "js-math-log2") "log2")
|
||||
((= name "js-math-log10") "log10")
|
||||
((= name "js-math-expm1") "expm1")
|
||||
((= name "js-math-log1p") "log1p")
|
||||
((= name "js-math-clz32") "clz32")
|
||||
((= name "js-math-imul") "imul")
|
||||
((= name "js-math-fround") "fround")
|
||||
((= name "js-number-is-finite") "isFinite")
|
||||
((= name "js-number-is-nan") "isNaN")
|
||||
((= name "js-number-is-integer") "isInteger")
|
||||
|
||||
Reference in New Issue
Block a user