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.
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!
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.
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!
You could use a loop to subtract 2 from the number until it equals one or zero
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.
What should all the non binary people do then you bigot
Wasn’t the fun the CPU cycles we wasted along the way?
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!
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.
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!
are you my TA that I mentioned in the other comment
Maybe. And I can’t blame it on not having had coffee when I made the comment. Just me being completely oblivious to a joke.