| Package | Description |
|---|---|
| org.jruby | |
| org.jruby.ext.bigdecimal |
| Modifier and Type | Method and Description |
|---|---|
RubyRational |
Ruby.newRational(long num,
long den) |
static RubyRational |
RubyRational.newRational(Ruby runtime,
long x,
long y) |
private static RubyRational |
RubyRational.newRationalBang(ThreadContext context,
IRubyObject clazz,
IRubyObject x)
f_rational_new_bang1
|
private static RubyRational |
RubyRational.newRationalBang(ThreadContext context,
IRubyObject clazz,
IRubyObject x,
IRubyObject y)
f_rational_new_bang2
|
(package private) static RubyRational |
RubyRational.newRationalRaw(Ruby runtime,
IRubyObject x)
rb_rational_raw1
|
(package private) static RubyRational |
RubyRational.newRationalRaw(Ruby runtime,
IRubyObject x,
IRubyObject y)
rb_rational_raw
|
RubyRational |
Ruby.newRationalReduced(long num,
long den) |
| Modifier and Type | Method and Description |
|---|---|
private static IRubyObject |
RubyBigDecimal.getVpRubyObjectWithPrec19Inner(ThreadContext context,
RubyRational value,
long precision,
boolean must) |
private static RubyBigDecimal |
RubyBigDecimal.newInstance(ThreadContext context,
RubyRational arg,
java.math.MathContext mathContext) |