atan2

ldmud-3.3.719/doc/efun/atan2 · 471 B

From the archive ldmud-3.3.719.tar.gz

Download the archive   « Back to the archive contents

SYNOPSIS
        float atan2 (int|float y, int|float x)

DESCRIPTION
        Returns the angle part of the polar coordinates of the point (x, y)
        in the range (-pi, pi].

        Note the exchange of the coordinates x and y in the parameter list
        reflecting the sequenz in the gradient to angle transformation
        atan(y / x).

HISTORY
        LDMud 3.2.9 added integers as arguments.

SEE ALSO
        sin(E), cos(E), tan(E), asin(E), acos(E), atan(E)

Site Stats

Snippets: 1791
Codebases: 571