---
name: "al_fixhypot"
section: "3"
platform: "linux"
package: "allegro"
version: "5.2.11.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/al_fixhypot"
---

# al\_fixhypot(3)

Allegro 5 API

## NAME

al\_fixhypot - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro.h>
  al_fixed al_fixhypot(al_fixed x, al_fixed y)
  ```

## DESCRIPTION

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.
