Documentation ¶
Overview ¶
Package maths contains math utility functions.
Index ¶
Constants ¶
View Source
const ( // Epsilon is a small quantity that can be used to determine // if two floating point numbers are nearly equal. Epsilon float64 = 0.00001 )
Variables ¶
This section is empty.
Functions ¶
func Float64Equals ¶
Float64Equals returns true if the passed float64 values are equal. The two passed float64 values are considered equal if the absolute values of their difference is less than the passed epsilon.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.