---
name: "al_fixsqrt"
section: "3alleg5"
platform: "linux"
package: "allegro5-doc"
version: "2:5.2.10.1+dfsg-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/al_fixsqrt/3alleg5"
---

# al\_fixsqrt(3alleg5)

Allegro 5 API

## NAME

al\_fixsqrt - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro.h>
  al_fixed al_fixsqrt(al_fixed x)
  ```

## DESCRIPTION

This finds out the non negative square root of `x`. If `x` is negative, Allegro’s errno is set to EDOM and the function returns zero.
