Geomath Package

Provides mathematical support functions, written in a portable way so that only basic standard functions, that are part of most math libraries, are required.

All functions expect double precision 64bit floating point values as input (Long_Float in Ada).

Atan2d

function atan2d (x, y : Long_Float) Long_Float
Parameter:

X The sine of the angle

Parameter:

Y The cosine of the angle

Returns:

The angle in degrees.

The function re-arranges the input values to minimize rounding errors..