Documents
Writing Docs Gigedit SFZ Instrument Scripts NKSP Language NKSP Reference

tan()

Calculates and returns the tangens of the passed number.

The natural constant π ("pi") is also available as built-in constant ~NI_MATH_PI.

Function Prototype

tan(number)

Arguments

Argument Name Data Type Description
number Real Number Input value.
[required]

Return Value

Data Type Description
Real Number Tangens of originally passed number.

Remarks

This functions accepts any standard unit and finalness for its argument number. The return value's standard unit and finalness is identical to the passed number's one.

Examples

None yet.

See also

sin(), cos(), asin(), acos(), atan(), round(), log(), exp(), pow()

Availability

Since LinuxSampler 2.1.1.svn14.

Document Updated:  2019-09-16  |  Author:  Christian Schoenebeck