/// <summary> /// Decode a float into its sign, mantissa, and exponent. /// </summary> internal static bool Decode(float value, out uint mantissa, out uint exponent) { uint bits = RyuUtils.float_to_bits(value); mantissa = bits & MANTISSA_MASK; exponent = (bits >> FLOAT_MANTISSA_BITS) & EXPONENT_MASK; return((bits & SIGN_MASK) != 0U); }