Aehm we were writing proper math code in Java 15 years ago already.
Your 0.1 + 0.2 example wasn't an issue than and is not an issue today.