math: add functions Log2, Nextafter, Fdim, Fmax, Fmin
Add functions, tests and benchmarks. Fix typos in comments
in expm1 and hypot_386. Fix Acosh domain error in benchmark
test.
R=rsc
CC=golang-dev
https://golang.org/cl/204069
diff --git a/src/pkg/math/expm1.go b/src/pkg/math/expm1.go
index 9c516fb..9e8ae3f 100644
--- a/src/pkg/math/expm1.go
+++ b/src/pkg/math/expm1.go
@@ -118,8 +118,8 @@
// It is more accurate than Exp(x) - 1 when x is near zero.
//
// Special cases are:
-// Expm1(+Inf) = +Inf
-// Expm1(-Inf) = -1
+// Expm1(+Inf) = +Inf
+// Expm1(-Inf) = -1
// Expm1(NaN) = NaN
// Very large values overflow to -1 or +Inf.
func Expm1(x float64) float64 {