home *** CD-ROM | disk | FTP | other *** search
- If a demotion is performed on a value that cannot be represented
- entirely in the target type, information is lost. This example
- shows how the demotion from float to int can cause loss of
- information. When the function print_int() is called with a
- float argument that cannot be represented as an integer, the
- fractional part of the argument is truncated.
-