al_fixsqrt(3)

al_fixsqrt3

Allegro 5 api

Usage

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

Overview

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.

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.