Mercurial > hg > CbC > CbC_gcc
view libgo/go/math/sincos_386.go @ 130:e108057fa461
merge
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 08:08:40 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
// 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)