<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>


UM/MOD Search:

In Math Words in TurboForth Kernal

Word Name: UM/MOD
Type: Standard word
Data Stack Signature: ud u1 -- u2 u3
Return Stack Signature: --
Availability: V1.0  V1.1  V1.2
Description:

u2 is the remainder and u3 is the floor of the quotient after dividing ud by the divisor u1. All values and arithmetic are unsigned. An ambiguous condition results if the divisor is zero or if the quotient lies outside the 16-bit range.

Example:

none

Comment:

none

See Also: /MOD 

<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>