fixhypot(3alleg4)

fixhypot3alleg4

Fixed point hypotenuse. allegro game programming library.

Usage

#include <allegro.h>

fixed fixhypot(fixed x, fixed y);

Overview

Fixed point hypotenuse (returns the square root of `x*x + y*y'). This should be better than calculating the formula yourself manually, since the error is much smaller.

Releases

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–10
  2. 11–13

From allegro4-doc 2:4.4.3.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.