Ooh! I have a great idea! ... no, no more side projects 😠why must I be plagued by interesting ideas that I ought not pursue?
...
Okay, I'll at least share. I could create a new number system type with arbitrary (or just really big) precision and mixed base with support for complex numbers and common irrational numbers. For example, a PreciseFloat would be something like...
type PreciseComplexFloatingPoint = (
[u32; 64], // real mantissa, 2048 bit precision
[u32; 64], // imaginary mantissa, 2048 bit precision
[i16; 64], // prime factors, first 64 primes, raised to the
[i16; 32], // common irrational factors, such as pi, e, etc., raised to the
i32, // binary exponent
);
This could be really interesting for niche mathematical research type applications. The idea would be to make rounding errors basically impossible.
This would be such an interesting problem to work on ...
#rust #rustLang #learnRust