The MASM Forum

General => Reference => Topic started by: fearless on January 06, 2025, 08:19:56 AM

Title: Printing Floating-Point Numbers
Post by: fearless on January 06, 2025, 08:19:56 AM
Came across these blog articles today on float to string:



Also this reference to Bit Twiddling Hacks might be interesting as well: Bit Twiddling Hacks - https://graphics.stanford.edu/~seander/bithacks.html (https://graphics.stanford.edu/~seander/bithacks.html)

Found a github repo which has a copy of the original source (the PrintFloat.zip in part 4 on the website returns a 404)
Also this Dragon4 fork with tiny modifications as well: https://www.framsticks.com/trac/framsticks/browser/cpp/PrintFloat?order=name&desc=True (https://www.framsticks.com/trac/framsticks/browser/cpp/PrintFloat?order=name&desc=True)