qemu/fpu/softfloat-specialize.h
/*----------------------------------------------------------------------------
| Returns a quiet NaN from a signalling NaN for the deconstructed
| floating-point parts.
*----------------------------------------------------------------------------*/
| Returns a quiet NaN from a signalling NaN for the deconstructed
| floating-point parts.
| Returns a quiet NaN from a signalling NaN for the deconstructed | floating - point parts .
static FloatParts parts_silence_nan(FloatParts a, float_status *status)
{
#ifdef NO_SIGNALING_NANS
    g_assert_not_reached();
#elif defined(TARGET_HPPA)
    a.frac &= ~(1ULL << (DECOMPOSED_BINARY_POINT - 1));
    a.frac |= 1ULL << (DECOMPOSED_BINARY_POINT - 2);
#else
    if (snan_bit_is_one(status)) {
        return parts_default_nan(status);
    } else {
        a.frac |= 1ULL << (DECOMPOSED_BINARY_POINT - 1);
    }
#endif
    a.cls = float_class_qnan;
    return a;
}
static FloatParts parts_silence_nan ( FloatParts a , float_status * status ) { #ifdef NO_SIGNALING_NANS g_assert_not_reached ( ) ; #elif defined ( TARGET_HPPA ) a . frac &= ~ ( 1ULL << ( DECOMPOSED_BINARY_POINT - 1 ) ) ; a . frac |= 1ULL << ( DECOMPOSED_BINARY_POINT - 2 ) ; #else if ( snan_bit_is_one ( status ) ) { return parts_default_nan ( status ) ; } else { a . frac |= 1ULL << ( DECOMPOSED_BINARY_POINT - 1 ) ; } #endif a . cls = float_class_qnan ; return a ; }
| Returns a quiet NaN from a signalling NaN for the deconstructed
| floating-point parts.
| Returns a quiet NaN from a signalling NaN for the deconstructed | floating - point parts .