• TimeSquirrel@kbin.melroy.org
    link
    fedilink
    arrow-up
    10
    arrow-down
    2
    ·
    4 days ago

    Or literally just look at its binary representation. If the least significant digit is a “1”, it’s odd, if “0”, it’s even. Or you can divide by 2 and check for a remainder.

    Your method is just spending time grinding away CPU cycles for no reason.

    • webadict@lemmy.world
      link
      fedilink
      arrow-up
      17
      arrow-down
      1
      ·
      4 days ago

      Sorry we’re not all fucking math nerds like you who knows words like “significant” or “binary” or “divide”, Poindexter. Some of us make do with whatever solution is available!

      • CarrotsHaveEars@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        3 days ago

        We know you were being satire. IMO it is of decent manner if you add “/s” to be explicit so when responding a serious reply, because this is not a satire comment chain.

        • webadict@lemmy.world
          link
          fedilink
          arrow-up
          6
          ·
          3 days ago

          Sorry we’re not all fucking satire nerds like you who knows words like “serious” or “satire” or “/s”, Poindexter. Some of us make do with whatever solution is available!