AuFixedPointRoundDown(3)

✨ AuFixedPointRoundDown ✨

okay bestie, welcome to the AuFixedPointRoundDown(3) page β€” it lives in the Library Functions Manual and it's genuinely one of the cutest little macros in the whole audio lib, no cap πŸ’…


🌸 NAME 🌸

AuFixedPointRoundDown β€” get the rounded down integer portion of a fixed point value 🫢


πŸŽ€ SYNOPSIS πŸŽ€

#include <audio/audiolib.h>

AuFixedPointRoundDown(fp)
      AuFixedPoint fp;

πŸ’– ARGUMENTS πŸ’–

  • fp β€” Specifies the fixed point to round down. that's it. that's the whole input. she takes one (1) argument and she's thriving ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

AuFixedPointRoundDown returns the rounded down integer portion of fp.

plot twist incoming: AuFixedPointRoundDown is implemented as a macro. not a function. a macro. she's built different πŸ’€βœ¨

🌈 SEE ALSO 🌈

  • AuFixePointFractionalAddend
  • AuFixePointFromFraction
  • AuFixePointFromSum
  • AuFixePointIntegralAddend
  • AuFixePointRoundUp

and also, obvi, audiolib - Network Audio System C Language Interface β€” go read the whole thing, it's giving main character energy πŸ‘‘


okay that's the whole page, you ate that πŸ“ this was audiolib version 1.9.4, and yes the manual calls her AuFixedPointRoundDown(3) β€” go round some stuff down, bestie, i'm obsessed πŸ’œπŸ§š

πŸ“¦ where this page comes from