Exemplo n.º 1
0
 public static UInt64 FromFixedPoint32(UInt32 mantissa, int numDigits)
 {
     // TODO: Unsigned comparison could be slightly faster, maybe
     return(numDigits + (Int32.MinValue + BiasedExponentMaxValue - BaseExponent) > (Int32.MinValue + BiasedExponentMaxValue)
                         ? NativeImpl.fromFixedPointU32(mantissa, numDigits)
                         : FromFixedPointFastUnsignedUnchecked(mantissa, numDigits));
 }