829
Trick OR Treat (mander.xyz)
you are viewing a single comment's thread
view the rest of the comments
[-] humanspiral@lemmy.ca 3 points 2 days ago

What is xnor and when did that become a thing?

[-] lud@lemm.ee 12 points 2 days ago* (last edited 2 days ago)

XNOR (Exclusive NOR) is the opposite of XOR (Exclusive OR)

A way to remember XOR is "must have one or the other but not both" XNOR is the opposite so it's "must have both or none" so both inputs must be 1 or 0.

XNOR or XOR is very common in homes with staircases so that you can turn on and off the light in the staircase regardless of which floor you are on.

If you google staircase switches, you will be told that they mostly use XOR but according to the wiring diagrams they use XNOR.

[-] humanspiral@lemmy.ca 2 points 2 days ago

XNOR is the opposite so it’s “must have both”

so AND. Always AND.

[-] lud@lemm.ee 10 points 2 days ago* (last edited 2 days ago)

My bad. It's "must have both or none"

load more comments (13 replies)
load more comments (16 replies)
this post was submitted on 30 Oct 2024
829 points (99.3% liked)

Science Memes

10833 readers
2018 users here now

Welcome to c/science_memes @ Mander.xyz!

A place for majestic STEMLORD peacocking, as well as memes about the realities of working in a lab.



Rules

  1. Don't throw mud. Behave like an intellectual and remember the human.
  2. Keep it rooted (on topic).
  3. No spam.
  4. Infographics welcome, get schooled.


Research Committee

Other Mander Communities

Science and Research

Biology and Life Sciences

Physical Sciences

Humanities and Social Sciences

Practical and Applied Sciences

Memes

Miscellaneous

founded 2 years ago
MODERATORS