atan2

Computes arc-tangent of the given value, using signs to determine quadrant.

@safe @nogc nothrow pure pragma(inline, true)
T
atan2
(
T
)
(
T y
,
T x
)
if (
__traits(isFloating, T)
)

Parameters

y T

value

x T

value

Return Value

Type: T

The arc-tangent of y / x.

Meta