I know that the integer values 0 and -0 are essentially the same. But, I am wondering if it is possible to differentiate between them.
0
-0
For exam
If your machine has distinct representations for -0 and +0, then memcmp will be able to distinguish them.
+0
memcmp
If padding bits are present, there might actually be multiple representations for values other than zero as well.