Did you know zero has a secret twin?
Image: Peter Martin, CC BY 2.0, via Wikimedia Commons
Did you know zero has a secret twin?
Imagine you're dividing by a number that should be zero but isn't. What happens to your result?
In math, dividing by zero is a no-go. But computers have a workaround with negative and positive zero, treating them as different but equal.
Example
Dividing 5 by 0 in a computer gives you infinity, while dividing 5 by negative zero gives you negative infinity.
Remember this
Negative zero and positive zero are like mirror images of zero in the world of computers.
Text adapted from Wikipedia, licensed under CC BY-SA 4.0.
Fuzzy concept
Did you know zero wasn't always zero?
Timeline of condensed matter physics
Did you know electricity flows without resistance?
Commonwealth of Nations
Which country is completely encircled by India?
Great Pyramid of Giza
Ever wondered who built the Great Pyramid of Giza?
Glossary of physics
Ever wondered how scientists track the spread of diseases?
Enigma machine
Can you keep a secret that changes every time you whisper it?
Swipe through more Discover concepts
Open Pocket Polymath