qemu/fpu/softfloat-specialize.h
/*----------------------------------------------------------------------------
| Returns the result of converting the extended double-precision floating-
| point NaN `a' to the canonical NaN format.  If `a' is a signaling NaN, the
| invalid exception is raised.
*----------------------------------------------------------------------------*/
| Returns the result of converting the extended double-precision floating
| point NaN `a' to the canonical NaN format.  If `a' is a signaling NaN, the
| invalid exception is raised.
| Returns the result of converting the extended double - precision floating | point NaN ` a ' to the canonical NaN format . If ` a ' is a signaling NaN the | invalid exception is raised .
static commonNaNT floatx80ToCommonNaN(floatx80 a, float_status *status)
{
    floatx80 dflt;
    commonNaNT z;
    if (floatx80_is_signaling_nan(a, status)) {
        float_raise(float_flag_invalid, status);
    }
    if (a.low >> 63) {
        z.sign = a.high >> 15;
        z.low = 0;
        z.high = a.low << 1;
    } else {
        dflt = floatx80_default_nan(status);
        z.sign = dflt.high >> 15;
        z.low = 0;
        z.high = dflt.low << 1;
    }
    return z;
}
static commonNaNT floatx80ToCommonNaN ( floatx80 a , float_status * status ) { floatx80 dflt ; commonNaNT z ; if ( floatx80_is_signaling_nan ( a , status ) ) { float_raise ( float_flag_invalid , status ) ; } if ( a . low >> 63 ) { z . sign = a . high >> 15 ; z . low = 0 ; z . high = a . low << 1 ; } else { dflt = floatx80_default_nan ( status ) ; z . sign = dflt . high >> 15 ; z . low = 0 ; z . high = dflt . low << 1 ; } return z ; }
| Returns the result of converting the extended double-precision floating
| point NaN `a' to the canonical NaN format.
| Returns the result of converting the extended double - precision floating | point NaN ` a ' to the canonical NaN format .