| by "real" and "floating point" numbers, I mean non-integers that represent data with a fractional part.
floating point types can't be used for anything which requires an integer - Things like array indexes, enums, pointer-offsets, character representation, etc all need an integral value
You'll probably find that double will be useful in real-world calculations, such as trigonometry, currency, scientific values, etc.
Last edited by Bench : 09-03-2007 at 07:15 AM.
|