Maybe a stupid question. But how do accurate calculators when there are restrictions on the range of data types (int,doble etc.)?

Let's say I need to do some action with a 40-digit number. how to do it? Think the question is clear?
June 14th 19 at 21:05
3 answers
June 14th 19 at 21:07
How can a piece of paper "in a column" to perform addition, subtraction, multiplication, and division with numbers of any length?

Exactly the same here. More precisely, there are two options - to use some library to work with huge numbers with huge accuracy, or write your own. Depending on tastes and preferences - up to the implementation of such a complete model "calculating machines".

Of course that's not counting the techniques that are used in calculations on a slide rule.
moreover, often the situation arises when compiling the code on the processor architecture that does not support a division operation, the compiler inserts at this place the procedure division in a function. - turner.Beahan commented on June 14th 19 at 21:10
or is it already in the library branches. For example in the days of the 8086 - not every computer was a 8087 math and were somehow obliged to think fast on the coprocessor, or "in a column"driving registers - delta89 commented on June 14th 19 at 21:13
June 14th 19 at 21:09
June 14th 19 at 21:11
There are libraries for working with large numbers (bigdigits.c) that store the number in multi-byte arrays.
Restrictions on data types, and data types are introduced by the specification of the programming language.

Find more questions by tags Programming