diff options
Diffstat (limited to 'libgo/go/math/sincos_386.go')
-rw-r--r-- | libgo/go/math/sincos_386.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libgo/go/math/sincos_386.go b/libgo/go/math/sincos_386.go new file mode 100644 index 00000000000..d5c24573f76 --- /dev/null +++ b/libgo/go/math/sincos_386.go @@ -0,0 +1,15 @@ +// Copyright 2017 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. + +// +build ignore + +package math + +// Sincos returns Sin(x), Cos(x). +// +// Special cases are: +// Sincos(±0) = ±0, 1 +// Sincos(±Inf) = NaN, NaN +// Sincos(NaN) = NaN, NaN +func Sincos(x float64) (sin, cos float64) |