How does C treat the number 0 in a one’s complement architecture?
问题 I have recently been studying the one’s complement system of representing numbers and from what I understand there are two variants of the number 0. There is a negative zero (-0) and a positive zero (+0). My question is, on a one’s complement architecture, how exactly is this anomaly treated in C? Does C make a distinction between -0 and +0 or are both of these forms simply treated as zero. If it is the case that both +0 and -0 return TRUE when tested for zero, then I am wondering how the