wpe41.gif (23084 bytes)CIS3355: Business Data Structures
Fall, 2008
 

How can we summarize all of the basic data types?

Before we summarize, we need to realize that the data types listed below vary with respect to the hardware (PC's, mainframes, and supercomputers) involved, as well as the software packages that run on them (especially with respect to the software version involved.

With that having been said, the following are the generalized data types available. We apply C/C++ declarations, although the precise declarations used may vary according to the programming language:

Data type Subcategory  

Bytes

Range
Character

 
ASCII

Unicode
Standard
Extended

1

2

 27 = 128
 28 = 256
 216 = 65,536
Integers


 
Numeric Byte
Short Integer
Integer
Long Integer
  1
2
4
8
-27 to 27 -1: -128 to +127
-215 to 215 -1: -32,768 to +32,767
-231 to 231 -1: -2,147,483,648 to +2,147,483,647
-263 to 263 -1: -922,337,2036,854,775,808 to +922,337,2036,854,775,807
Real Numbers

 
Single Precision
Double Precision
Long Double
  4
8
16
7-digits of precision
10-digits of precision
10-digits of precision

This page was last updated on 06/01/05