FUNCTION::RANDINT(3stap)

✨ NAME ✨

okay so bestie, welcome to the Random functions Tapset corner of the SystemTap Tapset Reference (yes, that's the 3stap manual, iykyk) πŸŽ€ and today's main character is:

function::randint β€” it returns a random number between [0,n) πŸ’…

no cap, that's the whole vibe. a lil random number generator that lives in your tapset. obsessed.


🌸 SYNOPSIS 🌸

randint:long(n:long)

so it takes a long called n, and it hands you back a long. simple. elegant. iconic. ⭐


πŸ¦‹ ARGUMENTS πŸ¦‹

  • n β€” the number past the upper limit of the range. and bestie, listen, it is not larger than 2**20. that's the ceiling, that's the line, do not cross it πŸ™ˆ. think of n as the fence just past the last number you could actually get, since the range is [0,n) and the ) means n itself is not invited to the party πŸ’€.
fr fr, keep n at or under 2**20 or you're gonna have a bad time.

πŸ‘‘ SEE ALSO πŸ‘‘


and that's the tea, babe πŸ’– this was brought to you by the SystemTap Tapset Reference, version situation as of September 2026 🌈 stay random, stay iconic, mwah πŸŽ€πŸ’œ

πŸ“¦ where this page comes from