time-to-botec/js/node_modules/@stdlib/math/base/special/tan/docs/repl.txt
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00

29 lines
471 B
Plaintext

{{alias}}( x )
Computes the tangent of a number.
Parameters
----------
x: number
Input value (in radians).
Returns
-------
y: number
Tangent.
Examples
--------
> var y = {{alias}}( 0.0 )
~0.0
> y = {{alias}}( -{{alias:@stdlib/constants/float64/pi}}/4.0 )
~-1.0
> y = {{alias}}( {{alias:@stdlib/constants/float64/pi}}/4.0 )
~1.0
> y = {{alias}}( NaN )
NaN
See Also
--------