Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 856 Bytes

README.md

File metadata and controls

17 lines (14 loc) · 856 Bytes

purescript-math-es6

Currently purescript-math has limited support for the functions added to the Javascript Math object in ES6. This library implements the missing functions and also provides polyfills for them.

Specifically, the functions acosh, asinh, atanh, cbrt, clz32, cosh, expm1, fround, hypot, hypot2, imul, log1p, log2, log10, sinh, sign, tanh, and trunc are available. Between purescript-math and this library all the methods and properties of the Javascript Math object are available except Math.random().

Polyfill quality is generally good. See the project purescript-math-es6-quality for comparisons of native and polyfill functions.