DIV_S64_ROUND_CLOSEST(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– DIV_S64_ROUND_CLOSEST(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual page for DIV_S64_ROUND_CLOSEST(9) β€” and yes, the name is doing the absolute most, but it’s also being fr fr honest: this is the signed 64bit divide with 32bit divisor rounded to nearest integer situation. πŸ’…βœ¨


🌸 NAME 🌸

DIV_S64_ROUND_CLOSEST β€” signed 64bit divide with 32bit divisor rounded to nearest integer. no cap, that’s the whole name and the whole vibe. πŸŽ€


πŸŽ€ SYNOPSIS πŸŽ€

DIV_S64_ROUND_CLOSEST (dividend , divisor );

πŸ’… ARGUMENTS πŸ’…

  • dividend β€” signed 64bit dividend. the main character number being divided. πŸ‘‘
  • divisor β€” signed 32bit divisor. the number doing the dividing. πŸ¦‹

✨ DESCRIPTION ✨

Divide the signed 64bit dividend by the signed 32bit divisor and round to the closest integer. that’s it, that’s the lore. 🫢


🫢 RETURN 🫢

dividend / divisor rounded to nearest integer. periodt. πŸ’–


πŸ¦‹ SEE ALSO πŸ¦‹


xoxo, your source/version bestie from ./include/linux, dated October 2026, serving DIV_S64_ROUND_CLOSEST(9) energy forever πŸ’…πŸ’–πŸŽ€

πŸ“¦ where this page comes from