fixatan(3)
β¨ NAME β¨
fixatan β fixed point inverse tangent lookup table π and like, it's part of the Allegro game programming library, obviously.
π¦ SYNOPSIS π¦
#include <allegro.h>
fixed fixatan(fixed x);
πΈ DESCRIPTION πΈ
okay so bestie, here's the tea: this function finds the inverse tangent of a value, and it does it with a lookup table. Not vibing with slow math today, she's just looking it up. π
The input value must be a fixed point radian. And remember the whole point of an inverse tangent: it's the value whose tangent is x. That's it, that's the whole assignment. π
Example, because we love a demonstration:
fixed result;
/* Sets `result' to binary angle 13. */
result = fixatan(ftofix(0.326));
See how result gets set to binary angle 13? iconic. β¨
π RETURN VALUE π
It returns the inverse tangent of a fixed point value, measured as a fixed point binary format angle. That's the return vibe, no notes. π
π SEE ALSO π
ngl bestieβ¦ there is literally nothing here. The original page lists zero other entries. No cross-references, no friends, no plus-ones. She's a solo act. π
and that's the whole page, fr fr π«Ά β this was the fixatan(3) page from the Allegro manual, version 4.4.3. mwah, go look up some tangents π
π¦ where this page comes from
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms