328
you are viewing a single comment's thread
view the rest of the comments
[-] jkrtn@lemmy.ml 8 points 5 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?

[-] Hagdos@lemmy.world 1 points 5 months ago

If round(x/2) != x/2

this post was submitted on 14 Apr 2024
328 points (94.1% liked)

linuxmemes

20707 readers
2304 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS