Difference between revisions of "Short Integer"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>JOG
(decimal places ARE rounded, and the precision problem doesn't apply to shorts)
imported>Antares
Line 2: Line 2:


The highest bit is the sign, so the variable ranges from -2^15 (-32768) to 2^15-1 (32767)
The highest bit is the sign, so the variable ranges from -2^15 (-32768) to 2^15-1 (32767)
==See Also==
[[Long Integer]]<BR>
[[Floating Point]]


[[Category:Variables]]
[[Category:Variables]]

Revision as of 07:32, 15 October 2008

Short is an integer format that uses 16 bit for data.

The highest bit is the sign, so the variable ranges from -2^15 (-32768) to 2^15-1 (32767)

See Also

Long Integer
Floating Point