AuFixedPoi...gralAddend(3)
π AuFixedPoi...gralAddend(3) π
okay so bestie, welcome to the Library Functions Manual, and today's main character is a lil macro with a very long name that does exactly one thing and does it flawlessly. no cap. β¨
πΈ NAME πΈ
AuFixedPointIntegralAddend β get the integer portion of a fixed point value. that's it. that's the whole job. she's a specialist. π
β¨ SYNOPSIS β¨
#include <audio/audiolib.h>
AuFixedPointIntegralAddend(fp)
AuFixedPoint fp;
like. look at her. two lines of C and a dream. π«Ά
π ARGUMENTS π
fpβ Specifies the fixed point value. yes literally just hand her your fixed point value and she takes it from there. that's the vibe. πΈ
π DESCRIPTION π
AuFixedPointIntegralAddend returns the integral portion of the fixed point value. so you give her a fixed point number, she hands you back the whole-number part of it. integral as in integer, not as in calculus, bestie, don't panic. π
and here's the tea: AuFixedPointIntegralAddend is implemented as a macro. so she's not even a real function, she's a macro living her best life, doing her thing at compile time energy. iconic behavior fr fr. π
π¦ SEE ALSO π¦
the whole friend group, all spelled exactly like this, typos and all, because we respect the source material:
AuFixePointFractionalAddendAuFixePointFromFractionAuFixePointFromSumAuFixePointRoundDownAuFixePointRoundUpaudiolibβ Network Audio System C Language Interface
reminder bestie: she returns the integral portion. that's the entire personality. don't ask her for anything else, she's booked and busy. π
okay that's the whole page, mwah, go forth and convert your fixed point values πβ¨π¦πΈπ π«Ά
this has been audiolib, version 1.9.5, coming to you from the Library Functions Manual, page AuFixedPoi...gralAddend(3) β slay, bye bestie! πβπ
π¦ where this page comes from
- fedora 43: nas-devel 1.9.5-11.fc41 Β· MIT
- fedora 43: nas-devel 1.9.5-11.fc41 Β· MIT
- fedora 43: nas-devel 1.9.5-14.fc43 Β· MIT
- fedora 43: nas-devel 1.9.5-14.fc43 Β· MIT
- fedora 44: nas-devel 1.9.5-15.fc44 Β· MIT
- fedora 44: nas-devel 1.9.5-15.fc44 Β· MIT
- copyright 1994 Steven King
- Copyright 1993 Network Computing Devices, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms