mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-11-09 22:13:43 +08:00
1ce9f73ae2
Add navigation and map matching providers with the vendored map service sources.
8 lines
109 B
Go
8 lines
109 B
Go
package math
|
|
|
|
import "math"
|
|
|
|
func Abs[T float64 | float32](val T) float64 {
|
|
return math.Abs(float64(val))
|
|
}
|