qemu/fpu/softfloat-specialize.h
/*----------------------------------------------------------------------------
| Returns the result of converting the canonical NaN `a' to the extended
| double-precision floating-point format.
*----------------------------------------------------------------------------*/
| Returns the result of converting the canonical NaN `a' to the extended
| double-precision floating-point format.
| Returns the result of converting the canonical NaN ` a ' to the extended | double - precision floating - point format .
static floatx80 commonNaNToFloatx80(commonNaNT a, float_status *status)
{
    floatx80 z;
    if (status->default_nan_mode) {
        return floatx80_default_nan(status);
    }
    if (a.high >> 1) {
        z.low = LIT64(0x8000000000000000) | a.high >> 1;
        z.high = (((uint16_t)a.sign) << 15) | 0x7FFF;
    } else {
        z = floatx80_default_nan(status);
    }
    return z;
}
static floatx80 commonNaNToFloatx80 ( commonNaNT a , float_status * status ) { floatx80 z ; if ( status -> default_nan_mode ) { return floatx80_default_nan ( status ) ; } if ( a . high >> 1 ) { z . low = LIT64 ( 0x8000000000000000 ) | a . high >> 1 ; z . high = ( ( ( uint16_t ) a . sign ) << 15 ) | 0x7FFF ; } else { z = floatx80_default_nan ( status ) ; } return z ; }
| Returns the result of converting the canonical NaN `a' to the extended
| double-precision floating-point format.
| Returns the result of converting the canonical NaN ` a ' to the extended | double - precision floating - point format .