align ( m w -- n )
Factor handbook > The language > Numbers > Mathematical functions > Integer functions

Next:gcd ( x y -- a d )


Vocabulary
math

Inputs and outputs
man integer
wa power of 2
nan integer multiple of w


Word description
Outputs the least multiple of w greater than m.

Notes
This word will give an incorrect result if w is not a power of 2.

Definition