int_pow(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ int_pow(9) ✨

okay so this is a page from the Kernel API Manual, and honestly? it's giving tiny-but-mighty. we're talking about int_pow, bestie β€” the little function that does big math energy. 🧚


🌸 NAME 🌸

int_pow β€” computes the exponentiation of the given base and exponent

like… it raises stuff to powers. that's the whole vibe. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

u64 int_pow (u64 base , unsigned int exp );

look at that signature. clean. iconic. no notes. ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • base β€” the base which will be raised to the given power. this is the main character of the operation, fr fr πŸ‘‘
  • exp β€” the power to be raised to. this is the supporting role that decides how hard base goes πŸ”₯

πŸ’– DESCRIPTION πŸ’–

Computes:

pow(base, exp)

i.e. base raised to the exp power. that's it, that's the whole function. no cap, it does exactly one thing and it does it slayfully. 🌈


πŸ’œ SEE ALSO πŸ’œ

  • Kernel file ./lib/math/int_pow.c β€” go read the source, iykyk 🫢

and that's the tea! πŸ“ sourced straight from ./lib/math, dated October 2026 β€” bookmark it, screenshot it, send it to the group chat, whatever you gotta do. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from