Faster calculations

Joined
Dec 24, 2024
Messages
1
Reaction score
0
Hello, it's very important, I didn't know where to post this, I came to a very strange thing. We can have in RAM memory answers to calculations, for example: 4 328,7 - 528,43 = 3 800,27. But I asked Copilot and ChatGPT about this, and they told me that someone already thought about this. However, I don't want to talk about this, I came to so- called Multidigitality. We can use "thinking" in calculations, for example have every calculation on numbers from 0 to 9 in memory. Then computer makes many of them, but has them in RAM memory, it's much faster. And computer writes them binary, see:



4 328,7 - 528,43 = ???,

We have to perform 10 - 3, because the first number has nothing, and make 6 from 7,

The result will be in memory written in binary, that is 7 in our system,

We will have 6 - 4, that is 2 binary,

And then 8 - 8 = 0,

Then 2 - 2 = 0,

3 - 5, we have higher number, so we have to add 10 to 3,

That is 13 - 5 = 8,

We write these numbers from right to left, so:

3 800,27.

Happy Christmas!
 
Joined
Sep 21, 2022
Messages
199
Reaction score
27
This kind of thing is interesting to experiment with. The performance would depend on the language used.

If it was me, I'd write a program that used the built-in subtract, and another that used the new idea.

Run the programs on the same hardware, and the same random numbers. See how many subtracts each program can do in 5 minutes.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,083
Messages
2,570,591
Members
47,212
Latest member
RobynWiley

Latest Threads

Top