AuFixedPointRoundUp(3)
π AuFixedPointRoundUp(3) β like, the manual page bestie π
okay so welcome to the audiolib cinematic universe, where the star of today's episode is AuFixedPointRoundUp from section 3 of the manual. she rounds things UP. that's her whole thing. she's an icon, she's a macro, she's lowkey doing the most with the least. let's get into it π«Ά
β¨ Name β¨
AuFixedPointRoundUp β and yes bestie, that trailing dash in the original is just the manpage being mysterious, there's no tagline, she simply IS. π
π Synopsis π
first you gotta pull her in from the header, no cap:
#include <audio/audiolib.h>
then you call her like this:
AuFixedPointRoundUp(fp)
AuFixedPoint fp;
that's it. that's the whole vibe. πΈ
π¦ Arguments π¦
fpβ the fixed point value in question. like, the actual number you're handing over so she can do her lil round-up moment. she needs it, you give it, everybody's happy. β¨
π Description π
AuFixedPointRoundUp returns the rounded up integral portion of fp. that's the tea. you give her a fixed point value, she gives you back the integer-y part, but rounded up instead of just chopped. round up, not round down, not round-toward-zero, UP. periodt. π
and here's the juicy bit that iykyk: AuFixedPointRoundUp is implemented as a macro. so she's not some fancy function doing a whole function-call situation, she's a macro, she's fast, she's efficient, she's giving main character energy with zero overhead. don't be weird about it in a debugger, just accept her for who she is. π
π See Also π
go check out her whole friend group, they're all linked together (spelling kept exactly as the original wrote it, no notes, i don't make the rules):
AuFixePointFractionalAddendAuFixePointFromFractionAuFixePointFromSumAuFixePointIntegralAddendAuFixePointRoundDown
and obviously:
audiolibβ Network Audio System C Language Interface π
π bye bestie π
that's the page!! this whole thing lives in audiolib, version 1.9.5 (the Network Audio System C Language Interface situation), so likeβ¦ that's the source, that's the version, screenshot it, memorize it, tell your friends. go round some things up. you're gonna slay. ππ§β¨
π¦ 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