OpenLink Software

Usage stats on Signed variable

 Permalink

an Entity in Data Space: dbkwik.org

Signedness is a property of nearly all of the numeric data types used within the NetHack source code. The word "signed" refers to the fact that these variables can store negative values; unsigned variables cannot. Its use is reponsible for the many seemingly non-round numbers found as limits within the game. For example, the lowest AC attainable on most machines is -128, because the AC value is stored in a signed 8-bit variable (schar) which can store up to 256 values: 127 positive numbers, zero, and 128 negative numbers. The lack of symmetry is due to the use of two's complement. An unsigned 8-bit variable would be able to store zero and 255 positive values.

Graph IRICount
http://dbkwik.webdatacommons.org5
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] This material is Open Knowledge Creative Commons License Valid XHTML + RDFa
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Copyright © 2009-2012 OpenLink Software