HP Forums
monic part 9: floating-point arithmetic - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: Not HP Calculators (/forum-7.html)
+--- Forum: Not remotely HP Calculators (/forum-9.html)
+--- Thread: monic part 9: floating-point arithmetic (/thread-19389.html)



monic part 9: floating-point arithmetic - F-73P - 01-09-2023 06:23 AM

Previous: monic part 8: ARM assembly language programming

Next: monic part 10: retro games

Inspired by this recent work, I've written a string-to-IEEE 754 single precision floating-point conversion routine. Below shows 3.14159 x 10^6 being entered and the corresponding encoding in memory:

[Image: 52615889802_9a7fe250df.jpg][Image: 52616398431_3cb3b24781.jpg]

I'll now modify the routine to convert strings to IEEE 754 double precision format.