Loading...
Select Version
&pagelevel(4)&pagelevel
Definition | #include <ieee_390.h> extern double double2ieee (double num);
|
Parameters | double num 8-byte floating-point number in /390 format |
Return val. | 8-byte floating-point number in IEEE format (in the event of success) The global variable float_exceptions_flag contains information for the event of unsuccessful conversion and is defined as follows: extern int float_exception_flags; enum { float_flag_inexact = 1, float_flag_divbyzero = 2, float_flag_underflow = 4, float_flag_overflow = 8, float_flag_invalid = 16 }; If bit positions are lost during conversion and the result is thus inaccurate, float_flag_inexact is set. |
See also | ieee2double, float2ieee, ieee2float |