How Python Compares Floats and Ints: When Equals Isn’t Really Equal - eviltoast
  • Miaou@jlai.lu
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    6 months ago

    Then most people shouldn’t be writing code, I don’t know what else to tell you, this is probably one of the first thing you learn about FP arithmetic, and any decent compiler/linter should warn you about that.