.\" Automatically generated by Pandoc 3.1.3 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "al_fixhypot" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_fixhypot - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include al_fixed al_fixhypot(al_fixed x, al_fixed y) \f[R] .fi .SH DESCRIPTION .PP Fixed point hypotenuse (returns the square root of \f[V]x*x + y*y\f[R]). This should be better than calculating the formula yourself manually, since the error is much smaller.