So I have been working on a way to try to sort of stack and chain numbers, I remember that technically speaking math only means something to people and not really machines, so much as in that machine doesn’t really comprehend the true meaning behind math, so I was wondering of a way to make a system that has a different counting system, say for example 11 would be the new 10 as 11 is the base, or creating a system that can allow me to make 9 10 instead while also being able to create incredibly large numbers, think of numbers bigger than 1e308, by theory this script if I can find a way to implement it could allow me to go for numbers far bigger than 1e308 (meaning wise, not computer wise) but here begins the problems, how do I interact with these numbers independently, how do I implement these numbers. Finally would this thing even work and if it doesn’t how do I make it work (hadn’t gotten good chances to test it but I already know I am gonna bang my head against the wall as soon as I even think of implementing this. I wanted to create a better alternative for idle games than big doubles.)
(The code begins here)
double base = (random number.)
public struct Numbering system. (double mantissa, double exponent.)
{
If ( mantissa >= base (lets say 10, maybe a 100))
{
mantissa = 1
exponent +=1
all increments divided by base
}
if ( mantissa < 1/base (if it was 10 it would be 1/10 if it was a 100 it would be 1/100))
mantissa x by base
exponent -=1
all increments multiplied by base.
}
// idea is to be able to create numbers that can work like this so if code say (4,4000) it would result in 4e4000
// yes I know random number isn’t a number, lets just say for the sake of this it is 10