• jkrtn@lemmy.ml
    link
    fedilink
    arrow-up
    8
    ·
    9 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?