HomeManualTopicsTypesSymbols

std::tan

returns the tangent of the given angle

Parameter

angle: a (real) numeric value

Result

result: the tangent of the given angle

Example

println! tan(PI/4)

Output

1

Topic

Numbers

See also

std::sin returns the sine of the given angle
std::cos returns the cosine of the given angle
std::atan returns the arctangent of the given value
std::asin returns the arcsine of the given value
std::acos returns the arccosine of the given value