summaryrefslogtreecommitdiff
path: root/src/lib/math/math.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/math/math.go')
-rw-r--r--src/lib/math/math.go48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/lib/math/math.go b/src/lib/math/math.go
new file mode 100644
index 000000000..9e6be9527
--- /dev/null
+++ b/src/lib/math/math.go
@@ -0,0 +1,48 @@
+// Copyright 2009 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package math
+
+import
+(
+ math "asin"
+ math "atan"
+ math "atan2"
+ math "exp"
+ math "fabs"
+ math "floor"
+ math "fmod"
+ math "hypot"
+ math "log"
+ math "pow"
+ math "pow10"
+ math "sin"
+ math "sinh"
+ math "sqrt"
+ math "sys"
+ math "tan"
+ math "tanh"
+)
+
+export
+(
+ asin, acos
+ atan
+ atan2
+ exp
+ fabs
+ floor, ceil
+ fmod
+ hypot
+ log, log10
+ pow
+ pow10
+ sin, cos
+ sinh, cosh
+ sqrt
+ modf, frexp, ldexp
+ NaN, isInf, Inf
+ tan
+ tanh
+)