- Common ways to obtain RubyBignum
private void myMethod () {RubyBignum r =
RubyRandom.RandomType rubyRandomRandomType;rubyRandomRandomType.getState()
Ruby runtime;String value;new RubyBignum(runtime, new BigInteger(value))
Ruby runtime;RubyBignum.newBignum(runtime, value)
- Smart code suggestions by Codota
}
@Deprecated public IRubyObject remainder19(ThreadContext context, IRubyObject other) { return remainder(context, other); }
@Deprecated public IRubyObject remainder19(ThreadContext context, IRubyObject other) { return remainder(context, other); }
@JRubyMethod(name = "remainder", required = 1, compat = RUBY1_9) public IRubyObject remainder19(ThreadContext context, IRubyObject other) { if (other instanceof RubyFloat && ((RubyFloat) other).getDoubleValue() == 0) { throw context.runtime.newZeroDivisionError(); } return remainder(context, other); }
@JRubyMethod(name = "remainder", required = 1, compat = RUBY1_9) public IRubyObject remainder19(ThreadContext context, IRubyObject other) { if (other instanceof RubyFloat && ((RubyFloat) other).getDoubleValue() == 0) { throw context.runtime.newZeroDivisionError(); } return remainder(context, other); }