on computers you can have negative zeros
> 1 / 0
Infinity
> 1 / -0
-Infinity
> 0 === -0
true
> Object.is(0, -0)
falseIn a language like C or Rust, you can cast your +0.0 and -0.0 to an integer, and print out the bit pattern. They are different.