Exemple #1
0
 public static final IRubyObject newUnsigned64(Ruby runtime, long value) {
   return value < 0
       ? RubyBignum.newBignum(
           runtime, BigInteger.valueOf(value & 0x7fffffffffffffffL).add(UINT64_BASE))
       : runtime.newFixnum(value);
 }