home *** CD-ROM | disk | FTP | other *** search
- An arithmetic conversion is an automatic conversion that takes
- place because the operands of an arithmetic operator have
- different types. These conversions have two goals: creating a
- common type for the two operands, and
- preventing loss of information. If one
- operand is a floating type and the other is an integral type, the
- integral operand is converted to a floating type. If both
- operands are either integral or floating type, the operand with
- the narrower type is converted to the type of the other operand.
- On the next page is a list of the arithmetic conversions.
-