tan

fnreal tan(real x) @safe pure nothrow @nogc

Returns tangent of x. x is in radians.

x tan(x) invalid?
NaN NaN yes
±0.0 ±0.0 no
+∞ NaN yes
fndouble tan(double x) @safe pure nothrow @nogc

ditto

fnfloat tan(float x) @safe pure nothrow @nogc

ditto