Information Technology Reference
In-Depth Information
Implicit Numeric Conversions
The implicit numeric conversions are shown in Figure 18-9.
￿There is an implicit conversion from the source type to the target type if there is a path,
following the arrows, from the source type to the destination type.
￿
Any numeric conversion for which there is not a path following the arrows from the
source type to the destination type must be an explicit conversion .
The figure demonstrates that, as you would expect, there is an implicit conversion
between numeric types that occupy fewer bits to those that occupy more bits.
Figure 18-9. The implicit numeric conversions
Search WWH ::




Custom Search