update to new world. still can't use it but it's a lot of editing....
SVN=125218
diff --git a/src/lib/math/sinh.go b/src/lib/math/sinh.go
index a26031b..75f6ddd 100644
--- a/src/lib/math/sinh.go
+++ b/src/lib/math/sinh.go
@@ -2,9 +2,9 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-package sinh
+package math
-import exp "exp"
+import math "exp"
export sinh, cosh
/*
@@ -45,10 +45,10 @@
}
switch true {
case arg > 21:
- temp = exp.exp(arg)/2;
+ temp = exp(arg)/2;
case arg > 0.5:
- temp = (exp.exp(arg) - exp.exp(-arg))/2;
+// temp = (exp(arg) - exp(-arg))/2;
default:
argsq = arg*arg;
@@ -69,7 +69,7 @@
arg = - arg;
}
if arg > 21 {
- return exp.exp(arg)/2;
+ return exp(arg)/2;
}
- return (exp.exp(arg) + exp.exp(-arg))/2;
+// return (exp(arg) + exp(-arg))/2;
}