1fixhypot(3) Allegro manual fixhypot(3)
23
4
NAME
6fixhypot - Fixed point hypotenuse. Allegro game programming library.
7
SYNOPSIS
9#include <allegro.h>
1011
12
fixed fixhypot(fixed x, fixed y);
13
DESCRIPTION
15Fixed point hypotenuse (returns the square root of `x*x + y*y'). This
16should be better than calculating the formula yourself manually, since
17the error is much smaller.
1819
SEE ALSO
21Allegro version 4.4.3 fixhypot(3)