Numeric Types
Such as:
- The integer data types, or "whole numbers". May be subtyped according to their ability to contain negative values (e.g.
unsigned
in C and C++). May also have a small number of predefined subtypes (such asshort
andlong
in C/C++); or allow users to freely define subranges such as 1..12 (e.g. Pascal/Ada). - Floating point data types, sometimes misleadingly called reals, contain fractional values. They usually have predefined limits on both their maximum values and their precision.
- Fixed point data types are convenient for representing monetary values. They are often implemented internally as integers, leading to predefined limits.
- Bignum or arbitrary precision numeric types lack predefined limits. They are not primitive types, and are used sparingly for efficiency reasons.
Read more about this topic: Data Type, Classes of Data Types, Primitive Data Types
Famous quotes containing the word types:
“Our children evaluate themselves based on the opinions we have of them. When we use harsh words, biting comments, and a sarcastic tone of voice, we plant the seeds of self-doubt in their developing minds.... Children who receive a steady diet of these types of messages end up feeling powerless, inadequate, and unimportant. They start to believe that they are bad, and that they can never do enough.”
—Stephanie Martson (20th century)