Always false float comparisons

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sat May 14 11:48:05 PDT 2016


On 5/13/2016 10:52 PM, jmh530 wrote:
> I like the idea of a float type that is effectively the largest precision on
> your machine (the D real type). However, I could be convinced by the argument
> that you should have to opt-in for this and that internal calculations should
> not implicitly use it. Mainly because I'm sympathetic to the people who would
> prefer speed to precision. Not everybody needs all the precision all the time.

Speed matters on the generated target program, not in the compiler internal 
floating point calculations, simply because the compiler does very, very few of 
them.


More information about the Digitalmars-d mailing list