• hope@lemmy.world
    link
    fedilink
    arrow-up
    9
    ·
    8 months ago

    Is it? I would expect someone to come up with either toggling a variable back and forth for even/odd, or counting by 2s, heck, treat it as a floating point, divide by two, and search the string representation for a period or something!

    • sntx@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      7 months ago

      I feel like the floating point suggestion would backfire quickly due to imprecisions.