numbers

Functions for working with PureScripts 'Number' type


Keywords
equality-check, floating-point, numerics, parsing, purescript
License
BSD-3-Clause
Install
psc-package install numbers

Documentation

purescript-numbers

Functions for working with PureScript's builtin Number type.

Example

> 0.1 + 0.2 == 0.3  
false

> import Data.Number.Approximate 

> Approximate 0.1 + Approximate 0.2 == Approximate 0.3
true