mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-16 09:25:57 -05:00
54ff33c552
* Vector and tests reviewed. * Tests and benchmarks for d2math.math. Also docs/comments.
8 lines
364 B
Go
8 lines
364 B
Go
// Package d2math provides mathematical functions not included in Golang's standard math library.
|
|
/*
|
|
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.*/
|
|
package d2math
|