• @[email protected]
    link
    fedilink
    88 months ago

    Shouldn’t people familiar with integer arithmetic should be able to struggle to something like x == 2 * (x/2) to test if it is odd or even? Or just bitwise x & 1?

    • @Hagdos
      link
      18 months ago

      If round(x/2) != x/2