• muntedcrocodile
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 month ago

    I mean honestly its expected u should check floats similarity not equivalence.

    • Sylvartas@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      1
      ·
      1 month ago

      Agreed. But the less experienced programmers I know are surprisingly naive about this.

      • muntedcrocodile
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 month ago

        Yeah its gonna be one of those problems chatgpt ain’t gonna help