1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-16 09:25:57 -05:00
OpenDiablo2/d2common/d2math/doc.go
danhale-git 54ff33c552
Benchmark d2math (#595)
* Vector and tests reviewed.

* Tests and benchmarks for d2math.math.

Also docs/comments.
2020-07-17 18:50:07 -04:00

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