Printing floating points

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Mon Jan 25 09:17:25 UTC 2021


On Monday, 25 January 2021 at 04:27:49 UTC, Walter Bright wrote:
> On 1/22/2021 1:35 PM, deadalnix wrote:
>> I looked. i can tell you it is not ryu. I would need to dive 
>> much deeper into it to be confident to include this.
>
> One way is to randomly generate floating point bit patterns and 
> compare the output with that of print formatting on C.

You only need to test the boundary cases, so one can do this, no 
problem.



More information about the Digitalmars-d mailing list