Syntax | #include <ieee_390.h> float float2ieee (float num); |
Description |
|
Return val. | 4 byte floating-point number in IEEE format (in the event of success).
if the /390 floating-point number is greater than the largest IEEE floating-point number that can be represented.
if the /390 floating-point number is smaller than the smallest IEEE floating-point number that can be represented. 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 /390 floating-point number is greater than the largest IEEE floating-point number that can be represented, |
See also |
|