AuFixedPointRoundUp(3)

✨ AuFixedPointRoundUp ✨

okay bestie, welcome to the AuFixedPointRoundUp(3) page from the audiolib manual πŸ’– this one's short and sweet and honestly? iconic for it.


🌸 NAME 🌸

AuFixedPointRoundUp β€” it's giving "round that fixed point value UP, no cap" πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

#include <audio/audiolib.h>

AuFixedPointRoundUp(fp)
      AuFixedPoint fp;

πŸ¦‹ ARGUMENTS πŸ¦‹

  • fp β€” specifies the fixed point value. that's the one, the only, the little guy you're about to round up 🫢

πŸ’œ DESCRIPTION πŸ’œ

so like, AuFixedPointRoundUp returns the rounded up integral portion of fp. that's it, that's the whole job, and it does it flawlessly ✨

and the tea? AuFixedPointRoundUp is implemented as a macro. not a function, a macro. main character energy fr fr πŸ‘‘

lowkey important: because it's a macro, treat it like one. the original said it, so I'm saying it πŸ’–

🌈 SEE ALSO 🌈

go check out its besties, they're all in the same friend group:

  • AuFixePointFractionalAddend
  • AuFixePointFromFraction
  • AuFixePointFromSum
  • AuFixePointIntegralAddend
  • AuFixePointRoundDown

and obviously:

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

⭐ the sign-off ⭐

this page is from audiolib, version 1.9.4, and it's page AuFixedPointRoundUp(3) in the library functions manual. obsessed with her, honestly. mwah πŸ’‹ ✨

πŸ“¦ where this page comes from