4 KiB
4 KiB
Module - "math"
math := import("math")
Variables
e
: equivalent of Go'smath.E
pi
: equivalent of Go'smath.Pi
phi
: equivalent of Go'smath.Phi
sqrt2
: equivalent of Go'smath.Sqrt2
sqrtE
: equivalent of Go'smath.SqrtE
sprtPi
: equivalent of Go'smath.SqrtPi
sqrtPhi
: equivalent of Go'smath.SqrtPhi
ln2
: equivalent of Go'smath.Ln2
log2E
: equivalent of Go'smath.Log2E
ln10
: equivalent of Go'smath.Ln10
ln10E
: equivalent of Go'smath.Log10E
Functions
abs(float) => float
: port of Go'smath.Abs
functionacos(float) => float
: port of Go'smath.Acos
functionacosh(float) => float
: port of Go'smath.Acosh
functionasin(float) => float
: port of Go'smath.Asin
functionasinh(float) => float
: port of Go'smath.Asinh
functionatan(float) => float
: port of Go'smath.Atan
functionatan2(float, float) => float
: port of Go'smath.Atan2
functionatanh(float) => float
: port of Go'smath.Atanh
functioncbrt(float) => float
: port of Go'smath.Cbrt
functionceil(float) => float
: port of Go'smath.Ceil
functioncopysign(float, float) => float
: port of Go'smath.Copysign
functioncos(float) => float
: port of Go'smath.Cos
functioncosh(float) => float
: port of Go'smath.Cosh
functiondim(float, float) => float
: port of Go'smath.Dim
functionerf(float) => float
: port of Go'smath.Erf
functionerfc(float) => float
: port of Go'smath.Erfc
functionerfcinv(float) => float
: port of Go'smath.Erfcinv
functionerfinv(float) => float
: port of Go'smath.Erfinv
functionexp(float) => float
: port of Go'smath.Exp
functionexp2(float) => float
: port of Go'smath.Exp2
functionexpm1(float) => float
: port of Go'smath.Expm1
functionfloor(float) => float
: port of Go'smath.Floor
functiongamma(float) => float
: port of Go'smath.Gamma
functionhypot(float, float) => float
: port of Go'smath.Hypot
functionilogb(float) => float
: port of Go'smath.Ilogb
functioninf(int) => float
: port of Go'smath.Inf
functionis_inf(float, int) => float
: port of Go'smath.IsInf
functionis_nan(float) => float
: port of Go'smath.IsNaN
functionj0(float) => float
: port of Go'smath.J0
functionj1(float) => float
: port of Go'smath.J1
functionjn(int, float) => float
: port of Go'smath.Jn
functionldexp(float, int) => float
: port of Go'smath.Ldexp
functionlog(float) => float
: port of Go'smath.Log
functionlog10(float) => float
: port of Go'smath.Log10
functionlog1p(float) => float
: port of Go'smath.Log1p
functionlog2(float) => float
: port of Go'smath.Log2
functionlogb(float) => float
: port of Go'smath.Logb
functionmax(float, float) => float
: port of Go'smath.Max
functionmin(float, float) => float
: port of Go'smath.Min
functionmod(float, float) => float
: port of Go'smath.Mod
functionnan() => float
: port of Go'smath.NaN
functionnextafter(float, float) => float
: port of Go'smath.Nextafter
functionpow(float, float) => float
: port of Go'smath.Pow
functionpow10(int) => float
: port of Go'smath.Pow10
functionremainder(float, float) => float
: port of Go'smath.Remainder
functionround(float) => float
: port of Go'smath.Round
functionround_to_even(float) => float
: port of Go'smath.RoundToEven
functionsignbit(float) => float
: port of Go'smath.Signbit
functionsin(float) => float
: port of Go'smath.Sin
functionsinh(float) => float
: port of Go'smath.Sinh
functionsqrt(float) => float
: port of Go'smath.Sqrt
functiontan(float) => float
: port of Go'smath.Tan
functiontanh(float) => float
: port of Go'smath.Tanh
functionrunct(float) => float
: port of Go'smath.Trunc
functiony0(float) => float
: port of Go'smath.Y0
functiony1(float) => float
: port of Go'smath.Y1
functionyn(int, float) => float
: port of Go'smath.Yn
function