mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-27 17:48:05 +11:00
22f132094a
And fix broken negative display in ".".
10 lines
353 B
Plaintext
10 lines
353 B
Plaintext
Signed-ness
|
|
|
|
For simplicity purposes, numbers are generally considered
|
|
unsigned. For convenience, decimal parsing and formatting
|
|
support the "-" prefix, but under the hood, it's all unsigned.
|
|
|
|
This leads to some oddities. For example, "-1 0 <" is false.
|
|
To compare whether something is negative, use the "<0" word
|
|
which is the equivalent to "0x7fff >".
|