Always false float comparisons

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Mon May 16 03:33:58 PDT 2016


On 5/16/16 4:10 AM, Walter Bright wrote:
> FP behavior has complex trade-offs with speed, accuracy, compatibility,
> and size. There are no easy, obvious answers.

That's a fair statement. My understanding is also that 80-bit math is on 
the wrong side of the tradeoff simply because it's disproportionately 
slow (again I cite 
http://nicolas.limare.net/pro/notes/2014/12/12_arit_speed/). All modern 
ALUs I looked at have 32- and 64-bit FP units only. I'm trying to figure 
why. -- Andrei



More information about the Digitalmars-d mailing list