JamieBallingall / purescript-math-es6

ES6 Math functions and polyfills

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

ES6 Math functions and polyfills


Languages

Language:PureScript 45.5%Language:JavaScript 42.1%Language:Dhall 12.4%