Constant folding is related compiler optimizations used by many modern compilers.
assert(0.1 + 0.2 != 0.3); // shall be true is my favorite check that a language uses native floating point arithmetic. C++ #include <cstdio&…
floating-point floating-accuracy d constantfolding