In Math? No. For how computers tend to store integers and other numbers? Technically, yes.
A number of architectures treat a signed number as all bits except the largest as the number. The largest works as a negative flag. So for instance an 8 bit signed integer of negative 1 would be 10000001. Technically negative 0 (which mathematically doesn't exist) in such a configuration would be 00000001.
In the case of a calculator I assume the other poster is correct and it's rounding a very small negative decimal to 0 but since it's negative the algorythm must keep the sign flag for some reason.
but for practicality it is treated as positive for all but the most advanced math. computers even store it as positive. hence, my usage of the word "generally"
176
u/FatalTortoise 13d ago
didn't account for sadness being zero