diff options
Diffstat (limited to 'src/pkg/math/sin.go')
-rw-r--r-- | src/pkg/math/sin.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/pkg/math/sin.go b/src/pkg/math/sin.go index e17daf688..35220cb3e 100644 --- a/src/pkg/math/sin.go +++ b/src/pkg/math/sin.go @@ -5,8 +5,13 @@ package math +/* + Floating-point sine and cosine. + + Coefficients are #5077 from Hart & Cheney. (18.80D) +*/ + func sinus(x float64, quad int) float64 { - // Coefficients are #3370 from Hart & Cheney (18.80D). const ( P0 = .1357884097877375669092680e8 P1 = -.4942908100902844161158627e7 |