I am new to these forums. I hope this is the right place to put this. I felt someone had to know.
I had this new idea of how to store the data of floating point numbers. Currently the data from "1/3" is stored as "3333333333333/10000000000000". This takes up more bits that it should. It also doesn't store all the data and causes the info to be inaccurate. This is why I propose storing the data as "1/3". It takes up a lot less space. Also the computer doesn't have to process as much by not having to make all those 3s. It saves space and time. I feel it could be extremely useful.
Examples:
Equation: (1/3)+(1/5)
Standard: 5333333333/10000000000
Fraction: 8/15
Equation: (1/3)-(1/5)
Standard: 1333333333/10000000000
Fraction: 2/15
Equation: (1/3)x(1/5)
Standard: 6666666667/10000000000
Fraction: 1/15
Equation: (1/3)/(1/5)
Standard: 1666666667/1000000000
Fraction: 5/3
Tell me what you guys think.
I had this new idea of how to store the data of floating point numbers. Currently the data from "1/3" is stored as "3333333333333/10000000000000". This takes up more bits that it should. It also doesn't store all the data and causes the info to be inaccurate. This is why I propose storing the data as "1/3". It takes up a lot less space. Also the computer doesn't have to process as much by not having to make all those 3s. It saves space and time. I feel it could be extremely useful.
Examples:
Equation: (1/3)+(1/5)
Standard: 5333333333/10000000000
Fraction: 8/15
Equation: (1/3)-(1/5)
Standard: 1333333333/10000000000
Fraction: 2/15
Equation: (1/3)x(1/5)
Standard: 6666666667/10000000000
Fraction: 1/15
Equation: (1/3)/(1/5)
Standard: 1666666667/1000000000
Fraction: 5/3
Tell me what you guys think.