Numerical Limits Encyclopedia Article

Numerical Limits

The following sections of this BookRags Literature Study Guide is offprint from Gale's For Students Series: Presenting Analysis, Context, and Criticism on Commonly Studied Works: Introduction, Author Biography, Plot Summary, Characters, Themes, Style, Historical Context, Critical Overview, Criticism and Critical Essays, Media Adaptations, Topics for Further Study, Compare & Contrast, What Do I Read Next?, For Further Study, and Sources.

(c)1998-2002; (c)2002 by Gale. Gale is an imprint of The Gale Group, Inc., a division of Thomson Learning, Inc. Gale and Design and Thomson Learning are trademarks used herein under license.

The following sections, if they exist, are offprint from Beacham's Encyclopedia of Popular Fiction: "Social Concerns", "Thematic Overview", "Techniques", "Literary Precedents", "Key Questions", "Related Titles", "Adaptations", "Related Web Sites". (c)1994-2005, by Walton Beacham.

The following sections, if they exist, are offprint from Beacham's Guide to Literature for Young Adults: "About the Author", "Overview", "Setting", "Literary Qualities", "Social Sensitivity", "Topics for Discussion", "Ideas for Reports and Papers". (c)1994-2005, by Walton Beacham.

All other sections in this Literature Study Guide are owned and copyrighted by BookRags, Inc.

Numerical Limits

Numerical limits are part of object-oriented programming languages such as C and Unix. Numerical limits define the sizes and characteristics for numerical data.

There are two types of numerical data, integral (whole number) or floating-point (including decimals). The criteria for these numerical types are specified in the limits.h and float.h header files. The files contain specifications for the length, in bits, of numerical types. These specifications include signed and unsigned numbers; that is "+" and "-" values.

Some examples of numerical limits in the limits.h and float.h header files are given below:

The limits.h header file also defines many resources that are used in various applications, in terms of the minimum and maximum limits that pertain to their content. The following are examples of numerical limits within the limits.h file:

The adoption and use of numerical limits is one of the steps that has standardized the writing and performance of programming languages such as C and Unix.