AuFixedPoi...gralAddend(3)

πŸ“¦ version 1.9.5, in fedora 43, fedora 44

πŸ’– 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:

  • AuFixePointFractionalAddend
  • AuFixePointFromFraction
  • AuFixePointFromSum
  • AuFixePointRoundDown
  • AuFixePointRoundUp
  • audiolib β€” 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