Printing floating points

Joseph Rushton Wakeling joseph.wakeling at
Wed Jan 27 01:38:38 UTC 2021

On Wednesday, 27 January 2021 at 01:16:40 UTC, Bruce Carneal 
> I'd vote for "overweight and almost-certainly-correct" over 
> "trim but iffy" if the extra poundage is reasonable which, in 
> the non-embedded environments, it appears to be.
> On another note, it looks like ryu was submitted by MS in late 
> 2019 for inclusion in libc++.  Despite a massive 3 minutes of 
> google-fuing, I'm still not sure how far that has gotten but 
> the direction seems pretty clear.  A large body of others 
> believe that ryu is a good way to go and are moving to 
> standardize on it.
> It's not a live-or-die issue for me but ryu looks pretty good.

Yup, I'm in complete agreement with you on this.  I am curious if 
the MS implementation and usage carries the extra weight 
described (ryu alone is more lightweight, it's ryu printf that 
has the larger tables).

More information about the Digitalmars-d mailing list