Post Reply 
monic part 9: floating-point arithmetic
01-09-2023, 06:23 AM (This post was last modified: 02-25-2023 12:55 AM by F-73P.)
Post: #1
monic part 9: floating-point arithmetic
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.

The C language combines all the power of assembly language with all the ease-of-use of assembly language
Find all posts by this user
Quote this message in a reply
Post Reply 

User(s) browsing this thread: 1 Guest(s)