Documentation ¶
Overview ¶
Package flops defines a bunch of floating point comparison operations. Used for robust geometrical tests.
Index ¶
- func Eq(a, b float64) bool
- func Ge(a, b float64) bool
- func Gez(a float64) bool
- func Gt(a, b float64) bool
- func Gtz(a float64) bool
- func Le(a, b float64) bool
- func Lez(a float64) bool
- func Lt(a, b float64) bool
- func Ltz(a float64) bool
- func Ne(a, b float64) bool
- func Nz(a float64) bool
- func Z(a float64) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Ge ¶
Ge returns true if a is greater than or equal to b. Even if a>b would return true they could in fact be equal.
func Gt ¶
Gt returns true if a is strictly greater than b. Even if a>b would return true they could in fact be equal.
func Le ¶
Le returns true if a is less than or equal to b. Even if a<b would return true they could in fact be equal.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.