Floating point numbers in Armstrong
Is your feature request related to a problem? Please describe. I'd love to make a raytracing demo, but without floats it seems beyond impractical, and more just impossible.
Describe the solution you'd like Signed fractional numbers with add, sub, mult and div operators. Even very limited precision will do the job, since screen resolution is so small.
Additional context I don't know much about low level programming so sorry if I'm asking for something impossible. But either way this is an awesome project! Really cool stuff. 🙂
The 6502 used a decimal flag/mode. Maybe that could be integrated into this in some way?
A floating point library has been developed in Yabal, as well as a raytracer, see: https://github.com/sam-astro/A8-Programs-written-in-Yabal/blob/main/raytracer.yabal