Floating point constant folding
Guillaume Chatelet via Digitalmars-d
digitalmars-d at puremagic.com
Fri Mar 3 14:56:23 PST 2017
On Friday, 3 March 2017 at 22:35:15 UTC, Johan Engelen wrote:
> Clang without/with optimizations turned on:
> ❯ clang++ float.cpp && ./a.out
> 1.00000011920928955078125
>
> ❯ clang++ float.cpp -O3 && ./a.out
> 1
>
> -Johan
Thx Johan I should have checked... My point is moot then.
--
"welcome to the magician world" - Don Clugston | DConf2016
More information about the Digitalmars-d
mailing list