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


DU/ Search:

In Math Words in 32-bit library

Word Name: DU/
Type: Standard word
Data Stack Signature: ud:dividend ud:divisor -- ud:remainder ud:quotient
Return Stack Signature: --
Availability: V1.2
Description:

Performs an unsigned division of the double divisor into the double dividend, leaving an unsigned-double quotient and unsigned-double remainder.


 

Example:

2468123. 99. DU/ (divides 99 into 2,468,123)

D. (displays the quotient: 24930)
D. (displays the remainder: 53)

Comment:

None

See Also: /MOD 

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