al_fixfloor(3)
π al_fixfloor(3) β Library Functions Manual π
okay bestie, welcome to the Allegro 5 API page for al_fixfloor β itβs giving βfloor, but make it fixed-pointβ π
β¨
πΈ NAME πΈ
al_fixfloor β Allegro 5 API π
β¨ SYNOPSIS β¨
#include <allegro5/allegro.h>
int al_fixfloor(al_fixed x);
π DESCRIPTION π
okay so this icon returns the greatest integer not greater than x β translation: it rounds toward negative infinity π«Ά
Example:
int result;
/* This will put 33 into `result'. */
result = al_fixfloor(al_itofix(100) / 3);
/* And this will round down to 16. */
result = al_fixfloor(al_itofix(100) / 6);
π¦ SEE ALSO π¦
al_fixtoi(3)πal_fixceil(3)π
From the Allegro reference manual β source/version vibes only, and the date isnβt shown on this page, ngl. Bye bestie π«Άπ
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms