al_fixsqrt man page

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.

Info

Allegro reference manual