AsUInt32() private méthode

private AsUInt32 ( uint &ret ) : bool
ret uint
Résultat bool
Exemple #1
0
 public static bool AsUInt32(BigInteger self, out uint res) {
     return self.AsUInt32(out res);
 }
Exemple #2
0
 internal static UInt32 ToUInt32(BigInteger value) {
     UInt32 result;
     if (value.AsUInt32(out result)) {
         return result;
     }
     throw RubyExceptions.CreateRangeError("number too big to convert into System::UInt32");
 }
Exemple #3
0
        public static int Compare(BigInteger x, uint y) {
            uint ix;
            if (x.AsUInt32(out ix)) {
                return ix == y ? 0 : ix > y ? 1 : -1;
            }

            return BigInteger.Compare(x, y);
        }