Always false float comparisons

Mike James via Digitalmars-d digitalmars-d at puremagic.com
Mon May 16 00:40:28 PDT 2016


On Monday, 16 May 2016 at 06:46:59 UTC, Walter Bright wrote:
> On 5/15/2016 10:37 PM, Manu via Digitalmars-d wrote:
>> [...]
>
> Because, as I explained, that results in a 2x or more speed 
> degradation (along with the loss of accuracy).
>
>
>> [...]
>
> I used to do numerics work professionally. Most of the troubles 
> I had were catastrophic loss of precision. Accumulated roundoff 
> errors when doing numerical integration or matrix inversion are 
> major problems. 80 bits helps dramatically with that.
>

A classic example... :-)


http://www.stsci.edu/~lbradley/seminar/butterfly.html



More information about the Digitalmars-d mailing list