Algorithm 93: General order arithmetic
@article{Perstein1962Algorithm9G, title={Algorithm 93: General order arithmetic}, author={Millard H. Perstein}, journal={Communications of the ACM}, year={1962}, volume={5}, pages={344} }
procedure ari thmetic (a, b, c, op); in t eger a, b, c, op; ¢ o n l m e n t This procedure will perform different order ar i thmetic operations with b and c, put t ing the result in a. The order of the operation is given by op. For op = 1 addit ion is performed. For op = 2 multiplicaLion, repeated addition, is done. Beyond these the operations are non-commutat ive. For op = 3 exponentiat ion, repeated multiplication, is done, raising b to the power c. Beyond these the question of grouping is…
References
SHOWING 1-3 OF 3 REFERENCES
AVINT was transliterated into BAC-220 (a dialect of ALGOL-58) and was tested on the Burroughs 220 computer. The following minor errors were found
- AVINT was transliterated into BAC-220 (a dialect of ALGOL-58) and was tested on the Burroughs 220 computer. The following minor errors were found
The first statement following label Lll should read: dif := 2 X a X xarg A-b; 2. The semicolon (;) at the end of the line beginning with the label L16 should be deleted
- The first statement following label Lll should read: dif := 2 X a X xarg A-b; 2. The semicolon (;) at the end of the line beginning with the label L16 should be deleted
AA: d := 2Tn; h := (b -a)/4/d; g[1] := f(a + h X (4 X m + 1)); g[3] := f(a + h X (4 X m + 3)); All
- AA: d := 2Tn; h := (b -a)/4/d; g[1] := f(a + h X (4 X m + 1)); g[3] := f(a + h X (4 X m + 3)); All