analyticalengine:zeroingtemporaries
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
analyticalengine:zeroingtemporaries [2015-04-21 11:26] – created rainer | analyticalengine:zeroingtemporaries [2015-04-22 22:19] (aktuell) – Zero before store asserted rainer | ||
---|---|---|---|
Zeile 3: | Zeile 3: | ||
Nobody programming today would consider it, but AAL wrote on p. 708: | Nobody programming today would consider it, but AAL wrote on p. 708: | ||
- | > At the end of a calculation, | + | > At the end of a calculation, |
- | That's why I thing a zero is missing in line 24 column V< | + | That's why I think a zero is missing in line 24 column V< |
- | Zeroing out intermediate values still seems to be current practice when Alan Turing wrote his //On Computational Numbers...//; | + | From the mechanical plans, it might be required -- but not mentioned in the papers -- that to transfer a value from the mill via the outgress shaft to the store, that store must be zero, otherwise a digit-wise add (without carry) would be done. |
- | on page 232: | + | |
- | > The others are just rough notes to " | + | The Bernoulli number example fits perfectly into this scheme. |
+ | |||
+ | In case that an input operand is replaced by the result, it is no problem to use the -- anyhow quicker -- zeroing load. | ||
+ | |||
+ | Checking the table shows that all (working-) variables are zeroed before replaced with another value: | ||
+ | * In line 9, V< | ||
+ | * in line 15, V< | ||
+ | * in line 19, the same is true for V< | ||
+ | * same in line 20 | ||
+ | |||
+ | Thus, it is clear that in line 24, the table should have a zero for V< | ||
+ | |||
+ | So it is probably not a mere extra, but necessary for the correct functioning. | ||
+ | |||
+ | |||
+ | ===== Note ===== | ||
+ | |||
+ | |||
+ | Zeroing out intermediate values still seems to be current practice when Alan Turing wrote his //On Computational Numbers…//; | ||
+ | |||
+ | > The others are just rough notes to " | ||
Note that this is in contrast to our modern understanding of Turing machines. | Note that this is in contrast to our modern understanding of Turing machines. | ||
+ |
analyticalengine/zeroingtemporaries.1429608409.txt.gz · Zuletzt geändert: 2015-04-21 11:26 von rainer