Navigation
Synopsis Calculate the tangent of a numeric value.
Function real tan(num x)
Usage import util::Math;
Description The tangent of the number x.
Examples
rascal>import util::Math;
ok
rascal>tan(45 * PI() / 180)
real: 1.0000000000
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit ask.rascal-mpl.org.