MPE/iX Intrinsics Reference Manual (32650-90875)
400 Chapter7
Command Definitions (HP32208-HPLOACNMPROC)
HPFPCONVERT
Operation Notes
The HPFPCONVERT intrinsic accepts a source binary floating-point number and converts it
to the equivalent destination binary floating-point format. You must specify the format of
the source and destination numbers. Optionally, you can specify the rounding mode.
The conversion is performed by regarding the source number as infinitely precise and with
unbounded range, and then rounding it to fit the designated destination format. Rounding
is performed according to the formal rules for the rounding mode specified. Rounding
methods and exception signaling are determined solely from the destination format and
are independent of the source format.
Conversion is performed as if all arithmetic traps are disabled. No trapping to
user-supplied or system-supplied arithmetic trap routines is done.
Related Information
Manual Data Types Conversion Programmer's Guide.