Signed variable

A signed variable is a data type used within the NetHack source code. Its use is reponsible for the many seemingly non-round numbers found as limits within the game. For example, the lowest AC attainable is -128, because the AC value is stored in a signed char variable which can (on most platforms) store up to 256 values: 127 positive numbers, zero, and 128 negative numbers.