Overview
All data
7 statements · 14% with external sources · numbers in brackets are citations
On other databases
2 identifiers linking signed zero across the web's reference databases
7 statements · 14% with external sources · numbers in brackets are citations
2 identifiers linking signed zero across the web's reference databases
From Wikipedia, the free encyclopedia · Read full article · Text CC BY-SA 4.0
Signed zero is zero with an associated sign. In ordinary arithmetic, the number 0 does not have a sign, and −0, +0 and 0 are three ways of writing the same number. However, in computing, some number representations allow for the existence of two zeros, often denoted by −0 and +0, regarded as equal by the numerical comparison operations but with possible different behaviors in particular operations. This occurs in the sign–magnitude and ones' complement signed number representations for integers, and in most floating-point number representations. The number 0 is typically expressed as +0.