Always false float comparisons

Jack Stouffer via Digitalmars-d digitalmars-d at puremagic.com
Thu May 12 20:18:05 PDT 2016


On Friday, 13 May 2016 at 01:03:57 UTC, Walter Bright wrote:
> I've actually been thinking of writing a 128 bit float 
> emulator, and then using that in the compiler internals to do 
> all FP computation with.
>
> It's not a panacea, as it won't change how things work in the 
> back ends, nor will it change what happens at runtime, but it 
> means the front end will give portable, consistent results.

And be 20x slower than hardware floats. Is it really worth it?


More information about the Digitalmars-d mailing list