3 ms·
> -ffast-math default, often on without intent Ah yes -ffast-math, also known as -fincorrect-math
by lexicality 5mo ago
> -ffast-math default, often on without intent
Ah yes -ffast-math, also known as -fincorrect-math
- yxhuvud 5mo agoIt makes sense in certain contexts, but it is batshit insane that it is enabled on a program (including any linked stuff) level. It would have made sense as numbers with separate types or perhaps even if you marked a region in code and it applied only to code in that region. Then the consequences of enabling it could be understood in ways that could be safe and usable (eg enabling it for a hot loop where the numerical ranges are well defined and safe in context). But no, instead it is a fat shotgun.