Benchmarks - LDC vs GDC

Cecil Ward cecil at cecilward.com
Thu Jun 29 05:23:29 UTC 2023


On Thursday, 29 June 2023 at 04:41:54 UTC, Walter Bright wrote:
> On 6/28/2023 4:29 PM, Cecil Ward wrote:
>> Isn’t the main thing ignoring infinities and NaNs? I don’t 
>> think that’s all there is to it though. I would say, in my 
>> extremely limited exposure to floating point, that
> I forgot precisely what it did, but it takes shortcuts. I just 
> concluded "nope" to that.
>
> > if you have debugged your code then infinities and NaNs
> should not
> > be encountered anyway
>
> Famous last words.

I truly hear you. :-) It rather depends on the particular 
situation, but then what do I know, seeing as floating point is 
not my thing at all. I will educate myself if I ever go down that 
particular road and take on board what you have said.


More information about the Digitalmars-d mailing list