Tan

Purpose: Tangent function.

tan( <var> )

tan returns tangent of <var>, where <var> is given in radians. <var> is a number or a double and the result is a double.
Examples
set-double d = tan(1) + 1

See also
Math functions
abd  
abn  
acos  
acosh  
asin  
asinh  
atan  
atan2  
atanh  
cbrt  
ceil  
copysign  
cos  
cosh  
dbl  
erf  
erfc  
exp  
exp2  
floor  
fmod  
hypot  
isinf  
isnan  
ldexp  
lgamma  
log  
log10  
log2  
math-functions  
nextafter  
num  
pow  
round  
sin  
sinh  
sqrt  
tan  
tanh  
trunc  
See all
documentation


Copyright (c) 2019-2025 Gliim LLC. All contents on this web site is "AS IS" without warranties or guarantees of any kind.