package math
import "codeberg.org/anaseto/goal/math"
Package math provides a convenient way to register extra standard math functions.
Index ¶
Functions ¶
func Import ¶
Import registers in the given Context math variadic functions with standard names and given prefix and stores them into global variables. Prefix "math" is recommended, to avoid naming conflicts.
The defined math functions are (monadic) acos, acosh, asin, asinh, atanh, cbrt, cosh, erf, erfc, erfcinv, erfinv, exp2, expm1, gamma, log2, log10, log1p, logb, sinh, tan, tanh, trunc, (dyadic) jn, yn (defaulting to order-zero for monadic case).
Source Files ¶
math.go
- Version
- v1.1.0 (latest)
- Published
- Feb 17, 2025
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 26 minutes ago –
Tools for package owners.