BookRags.com Literature Guides Literature
Guides
Criticism & Essays Criticism &
Essays
Questions & Answers Questions &
Answers
Lesson Plans Lesson
Plans
My Bibliography Periodic Table U.S. Presidents Shakespeare Sonnet Shake-Up
Research Anything:        
History | Encyclopedias | Films | News | Create a Bibliography | More... Login | Register | Help

Not What You Meant?  There are 9 definitions for Dot notation.  Also try: Object-based or OOP or OOC.

Numerical Limits

Print-Friendly  Order the PDF version  Order the RTF version
About 1 pages (241 words)
Object-oriented programming Summary

Bookmark and Share Questions on this topic? Just ask!

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:

  • Each character of type "char" is represented in 8 bits.
  • Each character of type "wchar_t" is represented in 32 bits.
  • Open VMS system values for the "int", "signed int", and "unsigned long int" types are the same.
  • Open VMS system values for 'unsigned int' and 'unsigned long int' types are the same.

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:

  • maximum length of a login name
  • maximum number of files that one process can have open at any one time
  • size in bytes of a page
  • maximum number of significant bytes in a password
  • maximum number of links to a single 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.

This is the complete article, containing 241 words (approx. 1 page at 300 words per page).

More Information
  • View Numerical Limits Study Pack
  • 9 Alternative Definitions
  • Search Results for "Numerical Limits"
  • Add This to Your Bibliography
  • More Products on This Subject
    Class Declaration
    A class declaration is a blueprint for what a class will look like, the data members it will contai... more

    Class Responsibilities
    Class responsibilities are what a class is charged with doing. They represent an implicit contract ... more


     
    Ask any question on Object-oriented programming and get it answered FAST!
    Answer questions in BookRags Q&A and earn points toward
    discounted or even FREE Study Guides and other BookRags products!
    Learn more about BookRags Q&A
    Copyrights
    Numerical Limits from World of Computer Science. ©2005-2006 Thomson Gale, a part of the Thomson Corporation. All rights reserved.

    Join BookRagslearn moreJoin BookRags




    About BookRags | Customer Service | Report an Error | Terms of Use | Privacy Policy