1fixatan(3)                      Allegro manual                      fixatan(3)
2
3
4

NAME

6       fixatan  -  Fixed point inverse tangent lookup table. Allegro game pro‐
7       gramming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       fixed fixatan(fixed x);
14

DESCRIPTION

16       This function finds the inverse tangent of a value using a  lookup  ta‐
17       ble.  The input value must be a fixed point radian. The inverse tangent
18       is the value whose tangent is `x'. Example:
19
20          fixed result;
21
22          /* Sets `result' to binary angle 13. */
23          result = fixatan(ftofix(0.326));
24

RETURN VALUE

26       Returns the inverse tangent of a fixed point value, measured as a fixed
27       point binary format angle.
28
29

SEE ALSO

31Allegro                          version 4.2.2                      fixatan(3)
Impressum