summaryrefslogtreecommitdiff
path: root/src/lib/math/const.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-01-15 16:16:42 -0800
committerRuss Cox <rsc@golang.org>2009-01-15 16:16:42 -0800
commit1b3fa1f62001aceb5c673148356beb54ba91f87f (patch)
tree9d9b1dfbe73caef370fe08a30bd628ea18f62f20 /src/lib/math/const.go
parentfb7b8b51fb14a8209a05b940aea00fe7ef8c8385 (diff)
downloadgolang-1b3fa1f62001aceb5c673148356beb54ba91f87f.tar.gz
make safe for new package local defaults
R=r DELTA=462 (9 added, 33 deleted, 420 changed) OCL=22879 CL=22885
Diffstat (limited to 'src/lib/math/const.go')
-rw-r--r--src/lib/math/const.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/math/const.go b/src/lib/math/const.go
new file mode 100644
index 000000000..a1c5f8e1a
--- /dev/null
+++ b/src/lib/math/const.go
@@ -0,0 +1,9 @@
+// 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
+
+export const (
+ Sqrt2 = 1.41421356237309504880168872420969808;
+)