- This wiki is out of date, use the continuation of this wiki instead
Int
From FenixWiki
(Difference between revisions)
Revision as of 01:05, 13 May 2007 (edit) Sandman (Talk | contribs) ← Previous diff |
Current revision (01:16, 13 May 2007) (edit) (undo) Sandman (Talk | contribs) m |
||
(One intermediate revision not shown.) | |||
Line 1: | Line 1: | ||
+ | [[Category:language]] | ||
+ | [[Category:datatypes]] | ||
+ | |||
== Definition == | == Definition == | ||
'''INT''' | '''INT''' | ||
- | '''Int'''s (short for integer, meaning wholes), are whole numbers ranging from -2^31 to 2^31-1 ( -2147483648 to 2147483647 ). This is because an integer | + | '''Int'''s (short for integer, meaning wholes), are whole numbers ranging from -2^31 to 2^31-1 ( -2147483648 to 2147483647 ). This is because an integer uses 32bits (4 bytes) to denote its value using the [http://en.wikipedia.org/wiki/Two's_complement Two's complement system]. |
- | + | ||
- | + |
Current revision
[edit] Definition
INT
Ints (short for integer, meaning wholes), are whole numbers ranging from -2^31 to 2^31-1 ( -2147483648 to 2147483647 ). This is because an integer uses 32bits (4 bytes) to denote its value using the Two's complement system.