/ "divide" ( n1 n2 -- n3 )


Add one (1) to n1 | u1 giving the sum n2 | u2.
n3 ist der Quotient aus der Division von n1 durch den Divisor n2. Eine Fehlerbedingung besteht, wenn der Divisor Null ist oder der Quotient au├čerhalb des Intervalls (-32768...32767) liegt

Forth83 and VolksForth is using floored division. Forth79 is using symmetric division. In ANSI Forth and Forth 200x the standard allows a system to provide either floored or symmetric division.

See floored division

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-2) was last changed on 03-Feb-2023 16:21 by Carsten Strotmann  
G’day (anonymous guest) My Prefs
© 2010-2021 AtariWiki
All content in the Wiki is licensed under Creative Commons Share Alike License, unless otherwise noted.
JSPWiki v2.8.3