Leibniz_binary_system_1697_cropped.jpg

Universal Numbers (unum) in Fortran

Github repository

Not quite a full working version just yet, but I do have the code I've written so far posted on Github. 

https://github.com/CrashBurnRepeat/fUnums

As of this writing, most of the abilities are to set up the unum environment, convert to and from reals, and to display unums in a human-readable fashion. I'm planning to get basic math implemented in the next few days. Then I should be able to do my first experiments, so looking forward to that.

On a more random note, I've learned a fair amount about how Fortran deals with number types. It's been interesting, and also extremely frustrating at times, but if it weren't then I probably wouldn't be learning anything, so there's that.

David PernerComment