[seqfan] Re: SoupAutomat

Maximilian Hasler maximilian.hasler at gmail.com
Sun Jan 24 16:28:40 CET 2010


On Sun, Jan 24, 2010 at 10:07 AM, Frank Buss <fb at frank-buss.de> wrote:
>> If the next cell has a value > 9, then [n/10] must be multiplied by 10
>> before being added.
>> (because the contents of the cells are supposed to be written "left-
>> aligned").

sorry, of course I meant n%10 and not [n/10]

> But a normal addition doesn't work, because if the next cell has a value of
> e.g. 39 and the value to add is 9, it would result in 129, but the carry bit
> has to be added to the cell after this cell. It is difficult to explain,

yes indeed... It must be programmed such that the results conform to
the addidtion as it would be done "by hand", following Eric's example.

M.H.




More information about the SeqFan mailing list