computational-geometry-0.1.0.1: Collection of algorithms in Computational Geometry.

Copyright(C) 2017 Maksymilian Owsianny
LicenseBSD-style (see LICENSE)
MaintainerMaksymilian.Owsianny@gmail.com
Safe HaskellSafe
LanguageHaskell2010

Data.EqZero

Description

 

Synopsis

Documentation

class EqZero a where Source #

Convenient universal zero equality predicate that warps to zero within some epsilon for floating point numbers.

Minimal complete definition

eqZero

Methods

eqZero :: a -> Bool Source #

geqZero :: (EqZero n, Ord n, Num n) => n -> Bool Source #

Greater or equal to zero predicate.