But here a difficulty arises: successive powers of ten are to be substituted for _x_ in the equation, until a certain event happens. A set of cards may be provided to make the substitution of the highest power of ten, and similarly for the others; but on the occurrence of a certain event, namely, the change of a sign from + to −, this stage of the calculation is to terminate.

Now at a very early period of the inquiry I had found it necessary to teach the engine to know when any numbers it might be computing passed through zero or infinity.

Passages from the Life of a Philosopher — Part 91

The passage through zero can be easily ascertained, thus: Let the continually-decreasing number which is being computed be placed upon a column of wheels in connection with a carrying apparatus. After each process this number will be diminished, until at last a number is subtracted from it which is greater than the number expressed on those wheels.

Passages from the Life of a Philosopher — Part 91

Thus let it be 00000,00000,00000,00423 Subtract 00000,00000,00000,00511 ─────────────────────── 99999,99999,99999,99912

Passages from the Life of a Philosopher — Part 91

Now in every case of a carriage becoming due, a certain lever is transferred from one position to another in the cage next above it.

Consequently in the highest cage of all (say the fiftieth in the Analytical Engine), an arm will be moved or not moved accordingly as the carriages do or do not run up beyond the highest wheel.

This arm can, of course, make any change which has previously been decided upon. In the instance we have been considering it would order the cards to be turned on to the next set.

If we wish to find when any number, which is increasing, { 135} exceeds in the number of its digits the number of wheels on the columns of the machine, the same carrying arm can be employed. Hence any directions may be given which the circumstances require.

It will be remarked that this does not actually prove, even in the Analytical Engine of fifty figures, that the number computed has passed through infinity; but only that it has become greater than any number of fifty places of figures.

There are, however, methods by which any machine made for a given number of figures may be made to compute the same formulæ with double or any multiple of its original number. But the nature of this work prevents me from explaining that method.