I heard that floating point arithmetic like 0.1 + 0.2 may yield rounding error like 0.30000000000000004 due to binary floating point being used internally.
But if I add a 0 to any floating point number in C++, does it guarantee to produce the same value without any rounding error? I have no idea how floating point arithmetic works and when rounding error appears.