al_fixsqrt(3alleg5)
hey bestie π welcome to the al_fixsqrt(3alleg5) manual page β it's giving Allegro 5 API realness β¨
πΈ NAME πΈ
al_fixsqrt β Allegro 5 API π¦
β¨ SYNOPSIS β¨
#include <allegro5/allegro.h>
al_fixed al_fixsqrt(al_fixed x)
π DESCRIPTION π
okay so al_fixsqrt finds the non negative square root of x π. like, that's its whole thing, and it ate β¨.
but bestie, if x is negative, Allegro's errno is set to EDOM and the function returns zero π. no cap. so don't be out here passing negative numbers unless you're ready for that energy π.
Allegro reference manual β al_fixsqrt(3alleg5) β that's the sign-off, periodt π
π«Άβ¨
π¦ where this page comes from
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms