For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).
Mojo function
align_down_residual
def align_down_residual(value: Int, alignment: Int) -> Int
Returns the remainder after aligning down value to alignment.
Args:
Returns:
Int: The remainder after aligning down value to the closest multiple of
alignment. In other words, value - align_down(value, alignment).
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!