atan2

fnfloat atan2(float y, float x) @trusted @safe nothrow @nogc

Returns the angle between the positive x-axis and the point (x, y).