-
-
Notifications
You must be signed in to change notification settings - Fork 119
/
math.go
71 lines (69 loc) · 2.05 KB
/
math.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
package packages
import (
"math"
)
func init() {
Packages["math"] = map[string]interface{}{
"Abs": math.Abs,
"Acos": math.Acos,
"Acosh": math.Acosh,
"Asin": math.Asin,
"Asinh": math.Asinh,
"Atan": math.Atan,
"Atan2": math.Atan2,
"Atanh": math.Atanh,
"Cbrt": math.Cbrt,
"Ceil": math.Ceil,
"Copysign": math.Copysign,
"Cos": math.Cos,
"Cosh": math.Cosh,
"Dim": math.Dim,
"Erf": math.Erf,
"Erfc": math.Erfc,
"Exp": math.Exp,
"Exp2": math.Exp2,
"Expm1": math.Expm1,
"Float32bits": math.Float32bits,
"Float32frombits": math.Float32frombits,
"Float64bits": math.Float64bits,
"Float64frombits": math.Float64frombits,
"Floor": math.Floor,
"Frexp": math.Frexp,
"Gamma": math.Gamma,
"Hypot": math.Hypot,
"Ilogb": math.Ilogb,
"Inf": math.Inf,
"IsInf": math.IsInf,
"IsNaN": math.IsNaN,
"J0": math.J0,
"J1": math.J1,
"Jn": math.Jn,
"Ldexp": math.Ldexp,
"Lgamma": math.Lgamma,
"Log": math.Log,
"Log10": math.Log10,
"Log1p": math.Log1p,
"Log2": math.Log2,
"Logb": math.Logb,
"Max": math.Max,
"Min": math.Min,
"Mod": math.Mod,
"Modf": math.Modf,
"NaN": math.NaN,
"Nextafter": math.Nextafter,
"Pow": math.Pow,
"Pow10": math.Pow10,
"Remainder": math.Remainder,
"Signbit": math.Signbit,
"Sin": math.Sin,
"Sincos": math.Sincos,
"Sinh": math.Sinh,
"Sqrt": math.Sqrt,
"Tan": math.Tan,
"Tanh": math.Tanh,
"Trunc": math.Trunc,
"Y0": math.Y0,
"Y1": math.Y1,
"Yn": math.Yn,
}
}