dragonbox and posits

94 views
Skip to first unread message

Andrew Marlow

unread,
Dec 1, 2023, 4:51:57 AM12/1/23
to Unum Computing
Hello everyone,

I recently came across the dragonbox algorithm implemented in modern C++, https://github.com/jk-jeon/dragonbox, for formatting IEEE-754 floating numbers by extracting the significand and exponent.
I was wondering if there are any plans to do something similar for posits?
--

Theodore Omtzigt

unread,
Dec 1, 2023, 8:56:40 AM12/1/23
to Unum Computing
Hi Andrew:

In the Universal library we have Dragon4 and Grisu3 implementations, and thank you for this link.  Within Universal there are several algorithms for float to string transformations as we have a large collection of floating-point number systems and this problem is very rich and interesting, with many innovations still needed.  We will take a look at this Dragonbox algorithm and add it to the mix.

Theo

Reply all
Reply to author
Forward
0 new messages