mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
add author lines
R=r DELTA=150 (147 added, 0 deleted, 3 changed) OCL=19968 CL=19977
This commit is contained in:
parent
b1297aa04f
commit
ed490dbed8
3 changed files with 1 additions and 5 deletions
|
|
@ -2,8 +2,6 @@
|
||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// $G $F.go && $L $F.$A && (./$A.out || echo BUG: math fails)
|
|
||||||
|
|
||||||
package math
|
package math
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@ export func Asin(arg float64) float64 {
|
||||||
}
|
}
|
||||||
|
|
||||||
export func Acos(arg float64) float64 {
|
export func Acos(arg float64) float64 {
|
||||||
if(arg > 1 || arg < -1) {
|
if arg > 1 || arg < -1 {
|
||||||
return sys.NaN();
|
return sys.NaN();
|
||||||
}
|
}
|
||||||
return pio2 - Asin(arg);
|
return pio2 - Asin(arg);
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,6 @@
|
||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// $G $F.go && $L $F.$A && ./$A.out
|
|
||||||
|
|
||||||
package time
|
package time
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue