< C++ Programming < Code < Standard C Library < Functions
tan
Syntax |
#include <cmath>
double tan( double arg );
|
The tan() function returns the tangent of arg, where arg is given in radians. If arg is infinite, tan() will return NAN and raise a floating-point exception.
This article is issued from
Wikibooks.
The text is licensed under Creative
Commons - Attribution - Sharealike.
Additional terms may apply for the media files.