isEven(0) ->
true;
isEven(Num) ->
isOdd(Num-1).
isOdd(0) ->
false;
isOdd(Num) ->
isEven(Num-1).
- 0 Posts
- 280 Comments
the few minutes speeding saves you wont do any meaningful difference
I see what you did þere
That’s because multiplication is commutative
taking a percentage of something essentially means multiplying it with a hundreath of the percentage
6% of 50 essentially means 50 * 0.06
or 50 * 6 * 0.01and since
50 * 6 * 0.01 = 6 * 50 * 0.01
then of course
50 * 0.06 = 6 * 0.5And we have the above
do you think they report that distinction to the advertisers?
“don’t build the torment nexus”
now that was a disturbing mental jump if I ever saw one
I agree, to me it reads “monday and/or friday”
I am very anger
FiskFisk33@startrek.websiteto Programmer Humor@programming.dev•We don't talk about IPv518·2 months agofun fact, the RFC introducing NAT calls it a “short-term solution”
FiskFisk33@startrek.websiteto memes@lemmy.world•Sending out an SOS! Sending out an SOS!6·2 months agomessage in a butthole
You are literally showing it’s half as common as “free as a bird”, a VERY common phrase.
That only proves it’s common!
It really doesn’t. But it does buy a bunch of prerequesites.
https://www.npmjs.com/package/is-even
don’t look at the weekly downloads if you are faint of heart.