IMAX(9)
π NAME π
okay so bestie, this is the IMAX(9) page from the Kernel Developer's Manual, section 9 energy β¨. The whole squad is imax, imin, lmax, lmin, uimax, uimin, ulmax, ulmin β and their whole thing is compare integers. periodt π
.
β¨ SYNOPSIS β¨
here's the exact signature lineup, no cap β copy-paste clean and everything π«Ά:
int
imax(int a, int b);
int
imin(int a, int b);
long
lmax(long a, long b);
long
lmin(long a, long b);
u_int
uimax(u_int a, u_int b);
u_int
uimin(u_int a, u_int b);
u_long
ulmax(u_long a, u_long b);
u_long
ulmin(u_long a, u_long b);
π DESCRIPTION π
okay so the min girlies β imin(), lmin(), uimin(), and ulmin() β are literally here to return whichever argument is algebraically smaller π±. They only differ in their argument and return types, bestie: these functions operate on, respectively, natural size, long, unsigned, and unsigned long integers. cute, consistent, iconic π.
the max crew β imax(), lmax(), uimax(), and ulmax() β are identical except that they return the algebraically larger argument between a and b π₯. same energy, opposite direction, slay π.
π SEE ALSO π
also go peek at ilog2(3) β that's the whole SEE ALSO moment, iykyk π¦.
mwah π β this lil beauty comes from Debian, dated July 10, 2024, and it's the IMAX(9) page. byeee π«Ά
π¦ where this page comes from
- nixpkgs unstable: netbsd-source 11.0
- Copyright (c) 2006 Igor Sobrado
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms