Module

Test.StrongCheck.Data.ApproxNumber

Package
purescript-strongcheckDEPRECATED
Repository
purescript-contrib/purescript-strongcheck

#ApproxNumber Source

newtype ApproxNumber

A newtype for Number whose Eq instance uses an epsilon value to allow for precision erros when comparing.

Constructors

Instances

#approximateEqual Source

#(=~=) Source

Operator alias for Test.StrongCheck.Data.ApproxNumber.approximateEqual (non-associative / precedence 2)