Printing floating points

Bruce Carneal bcarneal at gmail.com
Wed Jan 27 09:22:24 UTC 2021


On Wednesday, 27 January 2021 at 08:27:13 UTC, Berni44 wrote:
> On Wednesday, 27 January 2021 at 01:16:40 UTC, Bruce Carneal 
> wrote:
>> 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.
>
> I'd like to compare the task to write floating point numbers to 
> building a car: ...
>
>> 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.
>
> We are in complete agreement here. My point is: Adding ryu 
> printf would be the second step before the first step: First 
> build ...

I'm quite confident that I have significantly less knowledge in 
this area than you do.  Your explanations/tutorials and 
corrections are welcome.  I'm just happy to see someone working 
on an important, foundational, capability.






More information about the Digitalmars-d mailing list