So I was working on something within my head and figure I try to create my own number system

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

Right on! Great stuff to grapple with.

You may want to bear in mind that fundamentally computers use binary.
So if you want a system for representing numbers, be sure to understand how it works with binary bits.

That said, you might be interested to read about the floating-point representation of numbers.

You might also google around for “Arbitrary Precision” computation.

ah right of course, I know that writing in “multiplied”/ “divided” by base is not going to work. I just realized this thing has a whole host of issues, both mathematically and some code wise, I used mantissa to =1 as to prevent “infinity” to be caused (I know kinda lazy, probably may not even be necessary) also I know that double base cant just be typed out as is, it has to be typed out base = (number) but I figure I reference that it is a double, also I know I can’t just say all increments either, this was sort of my way of catch all, by saying that all things that use this specifically ways that increase the number change a bit to be more accurate (can’t have +1 be the same +1 if the exponent is bigger, so it has to be decreased to properly scale. the inverse is true if the exponent is reduced) If you have other questions or inquiries please shoot them so I can help answer em, so you can help me figure this thing out.