This preview shows page 1. Sign up to view the full content.
Unformatted text preview: 4 GB), that is, just over ¢ ½¼ bytes. Although this is ample space for most applications, we have reached the point where many large-scale scientiﬁc and database applications require larger amounts of storage. Consequently, high-end machines with 64-bit word sizes are becoming increasingly commonplace as storage costs decrease. 2.1.3 Data Sizes
Computers and compilers support multiple data formats using different ways to encode data, such as integers and ﬂoating point, as well as different lengths. For example, many machines have instructions for manipulating single bytes, as well as integers represented as two, four, and eight-byte quantities. They also support ﬂoating-point numbers represented as four and eight-byte quantities. The C language supports multiple data formats for both integer and ﬂoating-point data. The C data type char represents a single byte. Although the name “char” derives from the fact that it is used to store a single character in a text string, it can also be used to store integer values....
View Full Document
- Spring '10
- The American