1al_fixatan(3)                                                    al_fixatan(3)
2
3
4

NAME

6       al_fixatan - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              al_fixed al_fixatan(al_fixed x)
12

DESCRIPTION

14       This  function  finds the inverse tangent of a value using a lookup ta‐
15       ble.  The input must be a fixed point value.  The  inverse  tangent  is
16       the value whose tangent is x.
17
18       Example:
19
20              al_fixed result;
21
22              /* Sets result to binary angle 13. */
23              result = al_fixatan(al_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
30
31Allegro reference manual                                         al_fixatan(3)
Impressum