www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Faster accurate printing of floating-point numbers

reply Daniel Gibson <metalcaedes gmail.com> writes:
Hi,

dunno if D maybe already uses something like that, but I just stumbled
upon this article and thought it may be of interest:
http://www.serpentine.com/blog/2011/06/29/here-be-dragons-advances-in-problems-you-didnt-even-know-you-had/

The article claims that the discussed algorithm is about 5 times faster
than what the GNU libc uses in printf.

Cheers,
- Daniel
Jul 01 2011
parent Don <nospam nospam.com> writes:
Daniel Gibson wrote:
 Hi,
 
 dunno if D maybe already uses something like that, but I just stumbled
 upon this article and thought it may be of interest:
 http://www.serpentine.com/blog/2011/06/29/here-be-dragons-advances-in-problems-you-didnt-even-know-you-had/
 
 The article claims that the discussed algorithm is about 5 times faster
 than what the GNU libc uses in printf.
 
 Cheers,
 - Daniel
Thanks, that's a good paper.
Jul 01 2011