remove semis after statements in one-statement statement lists
R=rsc, r
http://go/go-review/1025029
diff --git a/src/pkg/math/asin.go b/src/pkg/math/asin.go
index 38fc365..c4696e8 100644
--- a/src/pkg/math/asin.go
+++ b/src/pkg/math/asin.go
@@ -20,18 +20,18 @@
sign = true;
}
if x > 1 {
- return NaN();
+ return NaN()
}
temp := Sqrt(1 - x*x);
if x > 0.7 {
- temp = Pi/2 - Atan(temp/x);
+ temp = Pi/2 - Atan(temp/x)
} else {
- temp = Atan(x/temp);
+ temp = Atan(x/temp)
}
if sign {
- temp = -temp;
+ temp = -temp
}
return temp;
}
@@ -39,7 +39,7 @@
// Acos returns the arc cosine of x.
func Acos(x float64) float64 {
if x > 1 || x < -1 {
- return NaN();
+ return NaN()
}
return Pi/2 - Asin(x);
}