Module
Linear.Epsilon
- Package
- purescript-linear
- Repository
- afcondon/purescript-linear
Approximate equality testing for floating-point values.
This module provides the Epsilon typeclass for testing whether
values are "near zero", useful for numerical algorithms that need
to handle floating-point imprecision.
For Maybe, Nothing is considered near zero, and Just delegates.