Scroll to navigation

fixsqrt(3alleg4) Allegro manual fixsqrt(3alleg4)

NAME

fixsqrt - Fixed point square root. Allegro game programming library.

SYNOPSIS

#include <allegro.h>

fixed fixsqrt(fixed x);

DESCRIPTION

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

SEE ALSO

, exfixed(3alleg4), exlights(3alleg4), exspline(3alleg4)
version 4.4.3 Allegro