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