$Header: /home/radek/cvs/forth-book/dictionary/ansi/0100.star-slash,v 1.1 2003/12/28 18:21:57 radek Exp $

Jméno

*/ — FIXME: jednořádkový popis

CORE

Přehled

( n1 n2 n3 → n4 )

Definováno v: dpANS Forth 6.1.0100 CORE

Popis

vynásobí n1 n2 a výsledek dělí n3. Mezivýsledky jsou v dvojnásobné velikosti.

Výsledek by měl být stejný jako u posloupností příkazů

>R M* R> FM/MOD SWAP DROP

nebo

>R M* R> SM/REM SWAP DROP

Description

Multiply n1 by n2 producing the intermediate double-cell result d. Divide d by n3 giving the single-cell quotient n4. An ambiguous condition exists if n3 is zero or if the quotient n4 lies outside the range of a signed number. If d and n3 differ in sign, the implementation-defined result returned will be the same as that returned by either the phrase:

>R M* R> FM/MOD SWAP DROP

or the phrase

>R M* R> SM/REM SWAP DROP

Příklad použití

FIXME:

Kód slova v Qurtus Forthu

Příklad 47. *:[90]