Patent GB-1011245-A (GB)
Title: Improvements in or relating to digital computers
Inventor: DELL HAROLD RAYMOND
IPC: G06F1/03
Filed: 1962-05-10
Abstract: 1,011,245. Digital calculating apparatus. GENERAL PRECISION Inc. May 10, 1962, No. 18114/62. Heading G4A. Apparatus for interpolating values of a function f(x) by linear approximation from the two neighbouring values of x taken from a magnetic drum store comprises a comparator receiving the values of x and comparing each (by subtraction) in unit 11 with a set of increasing x values drawn from section 12 of the drum together with the corresponding f(x) values. The comparator holds two of such pairs of values and when the first stored x value exceeding the input is received the two values of x and f(x) denoted by x A , x B ; f(x A ), f(x B ), together with the input value of x, are sent to the arithmetic unit 14. Here the calculation is carried out and the result recorded in Section 15 of the drum for transmission to output Section 19 via plugboard 19, or to 18 for use in further calculations. Such calculations may be the interpolation of a function of two variables, when a set of values of f(x,y) for the given value of x are obtained, and a further interpolation for the given value of y then carried out. Fig. 4 shows the comparator 11 in detail; an input value of x is fed through gate 30 into register I which acts as a stepped circulating register while shift pulses are able to pass gate 44. The value circulates via line 38 and its complement is taken from flip-flop 39 and added to each x-value taken from the drum and received serially via gate 32. These x-values are stepped into registers II and III in turn, while the corresponding function values are stepped into IV and V. When adder 37 produces a carry indicating a higher x value then the input, flip-flop 43 is set to terminate stepping pulses, and on completion of the cycle the five values are stepped out via gates 41 and 48-51 opened by a transfer command, which gates in the next input number. Fig. 5 shows the arithmetic unit. Here the calculation is carried out in stages as follows: (1) The adders 22 and 23 calculate x - x B  and x B  - x A  respectively and pass the results to registers A and B. Gates 59. 61 (receiving the complement of x B  from 60) and 66, 63 and 84 are opened for this. (2) The contents of A and B are added in 22 to give x - x A  which is stored in A, and x B  - x A  is also rewritten in B via gate 77. Also f(x B ) - f(x A ) is obtained from 23 and inserted in C, D is cleared. (3) Simultaneous division of x - x A  by x B  - x A , and multiplication of the results by f(x B ) -f(x A ) takes place. This is done by using the first (most significant) digit of the quotient, as soon as it is obtained, as the first multiplier digit for f(x B ) - -f(x A ). Division is by adding or subtracting the divisor from the dividend according as the result of the previous step is less or greater than zero, shifting the dividend and repeating. The carry digit from 22 both controls the next operation via flip-flop 88 and is available as a quotient digit at 26 to control the addition of the multiplicand into the shifted partial product accumulated in register D. (4) Finally f(x A ) is added to the contents of D in 23 and the result read out.