Jump to content

Trigonometric functions: Difference between revisions

→‎{{header|Go}}: Add link to http://golang.org/pkg/math/#Sincos. (A new function for me).
(Go solution)
(→‎{{header|Go}}: Add link to http://golang.org/pkg/math/#Sincos. (A new function for me).)
Line 600:
TANH(x) ! Hyperbolic tangent</lang>
=={{header|Go}}==
The Go math package provides the constant pi and the six trigonometric functions called for by the task. The functions all use the float64 type and work in radians. It also provides a [http://golang.org/pkg/math/#Sincos Sincos] function.
<lang go>package main
 
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.