https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61668

--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Please go and complain somewhere else, it's not GCC's problem that you are
surprised by the behaviour of binary floating point logic.

There are several ways to work with exact decimal numbers. See
https://gcc.gnu.org/onlinedocs/gcc/Decimal-Float.html for one option. Another
is a maths library such a GMP for working with rational numbers. Another is
working with integers and scaling them in your code.

Reply via email to