Syntax | #include <ieee_390.h> double ieee2double (double num); |
Description |
|
Return val. | 8-byte floating-point number in /390 format (in the event of success).
if the IEEE floating-point number is smaller than the smallest number that can be represented in /390 format or if If the IEEE floating-point number is greater than the largest number that can be represented in /390 format, this largest representable number is returned with the corresponding sign. The global variable 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 the IEEE floating-point number is greater than the largest number that can be represented in /390 format, |
See also |
|