bc998d034f
Reviewed-on: https://go-review.googlesource.com/63753 From-SVN: r252767
16 lines
371 B
Go
16 lines
371 B
Go
// 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)
|