Codota Logo
RubyBignum.remainder
Code IndexAdd Codota to your IDE (free)

How to use
remainder
method
in
org.jruby.RubyBignum

Best Java code snippets using org.jruby.RubyBignum.remainder (Showing top 4 results out of 315)

  • Common ways to obtain RubyBignum
private void myMethod () {
RubyBignum r =
  • Codota IconRubyRandom.RandomType rubyRandomRandomType;rubyRandomRandomType.getState()
  • Codota IconRuby runtime;String value;new RubyBignum(runtime, new BigInteger(value))
  • Codota IconRuby runtime;RubyBignum.newBignum(runtime, value)
  • Smart code suggestions by Codota
}
origin: org.jruby/jruby-core

@Deprecated
public IRubyObject remainder19(ThreadContext context, IRubyObject other) {
  return remainder(context, other);
}
origin: org.jruby/jruby-complete

@Deprecated
public IRubyObject remainder19(ThreadContext context, IRubyObject other) {
  return remainder(context, other);
}
origin: com.ning.billing/killbill-osgi-bundles-jruby

@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);
}
origin: org.kill-bill.billing/killbill-osgi-bundles-jruby

@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);
}
org.jrubyRubyBignumremainder

Javadoc

rb_big_remainder

Popular methods of RubyBignum

  • newBignum
  • getLongValue
  • getValue
    Getter for property value.
  • <init>
  • addFloat
  • addOther
  • big2dbl
    rb_big2dbl
  • big2long
    rb_big2long
  • bignorm
    rb_big_norm
  • checkShiftDown
  • coerceBin
  • coerceCmp
  • coerceBin,
  • coerceCmp,
  • compareTo,
  • convertToDouble,
  • createBignumClass,
  • dbl_cmp,
  • divmod,
  • even_p,
  • fix2big,
  • getBigIntegerValue

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSystemService (Context)
  • startActivity (Activity)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Path (java.nio.file)
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now