AuFixedPoi...gralAddend(3)

πŸ’– NAME πŸ’–

AuFixedPointIntegralAddend β€” bestie, this one hands you the integer part of a fixed point value. that's it. that's the whole job. πŸŽ€


✨ SYNOPSIS ✨

#include <audio/audiolib.h>

AuFixedPointIntegralAddend(fp)
      AuFixedPoint fp;

no cap, that's the entire vibe right there πŸ¦‹


🌸 ARGUMENTS 🌸

  • fp β€” the fixed point value you're handing over. like, the one you want the integer chunk of. she's the main character here πŸ’…

πŸ‘‘ DESCRIPTION πŸ‘‘

AuFixedPointIntegralAddend returns the integral portion of the fixed point value. that's the whole tea. πŸ“

and here's the cute part: AuFixedPointIntegralAddend is implemented as a macro. so like, she's not a whole function doing the most β€” she's a little macro doing exactly what she needs to and nothing more. iconic behavior honestly 🌈

ngl bestie, if you were expecting extra options, extra flags, extra drama β€” there is none. one argument, one return value, macro. slay. ✨

🫢 SEE ALSO 🫢

  • AuFixePointFractionalAddend
  • AuFixePointFromFraction
  • AuFixePointFromSum
  • AuFixePointRoundDown
  • AuFixePointRoundUp

audiolib β€” Network Audio System C Language Interface πŸ’œ


okay that's the whole page, you ate it, go forth and get those integral portions πŸ’–

this one's from audiolib, version 1.9.4, and it lives in the manual as AuFixedPoi...gralAddend(3) β€” mwah, no notes πŸ’…βœ¨

πŸ“¦ where this page comes from