nexp_u32(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

๐Ÿ’– nexp_u32(9) โ€” the Kernel API Manual bestie edition ๐Ÿ’–

okay so bestie, welcome to the nexp_u32(9) page from the Kernel API Manual โ€” yes, the manual name is literally right there in the title, we love a self-aware icon โœจ


โœจ NAME โœจ

nexp_u32 โ€” negative base-e exponential ๐Ÿงฎ๐Ÿ’…


๐ŸŽ€ SYNOPSIS ๐ŸŽ€

u32 __pure nexp_u32 (u32 ux );

that's the whole signature, no cap โ€” u32, __pure, nexp_u32, and one ux argument, exactly like that ๐Ÿซถ


๐ŸŒธ ARGUMENTS ๐ŸŒธ

  • ux โ€” this is x in units of micro ๐Ÿ‘‘ so like, micro-units, that's the vibe, iykyk

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

okay so what does it actually do? it returns:

exp(ux * -1e-6) * U32_MAX

literally that. negative base-e exponential, multiplied by U32_MAX, periodt ๐Ÿ’…๐Ÿ”ฅ

like the function name says โ€” negative exponential โ€” and the -1e-6 is right there in the math, no guessing, we don't do that here ๐Ÿ™ˆ


๐ŸŒˆ SEE ALSO ๐ŸŒˆ

  • Kernel file ./net/ipv4/tcp_cdg.c โ€” go look, bestie, it's giving source-file energy ๐Ÿ“‚โœจ

and that's the whole page, fr fr ๐Ÿ“

lowkey iconic that a tiny math function gets its own manpage โ€” main character energy only ๐Ÿ’œ

cute sign-off time: this lil page comes from ./net/ipv4 and is dated October 2026 โ€” so when you see that footer, just know it's the source/version/date combo saying hi ๐ŸŽ€๐Ÿซถ๐Ÿ’–

๐Ÿ“ฆ where this page comes from