2020-07-13 13:06:50 +00:00
|
|
|
// Package d2math provides mathematical functions not included in Golang's standard math library.
|
2020-07-17 22:50:07 +00:00
|
|
|
/*
|
|
|
|
The decimal numeric type used is float64.
|
|
|
|
|
|
|
|
Math also dictates the threshold for approximate equality (d2math.Epsilon). This is currently used both for moving
|
|
|
|
entities and for approximate floating point equality in vector functions. See d2vector.*/
|
2020-07-03 22:33:46 +00:00
|
|
|
package d2math
|