Package | Description |
---|---|
org.jruby | |
org.jruby.ir.runtime |
Modifier and Type | Method and Description |
---|---|
RubyRational |
RubyRational.convertToRational() |
RubyRational |
RubyNumeric.convertToRational() |
RubyRational |
RubyBignum.convertToRational() |
RubyRational |
RubyFixnum.convertToRational() |
RubyRational |
Ruby.newRational(long num,
long den) |
static RubyRational |
RubyRational.newRational(Ruby runtime,
long x,
long y) |
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 |
---|---|
RubyNumeric |
RubyRational.op_minus(ThreadContext context,
RubyRational other) |
RubyNumeric |
RubyRational.op_plus(ThreadContext context,
RubyRational other) |
Modifier and Type | Method and Description |
---|---|
static RubyRational |
IRRuntimeHelpers.newRationalRaw(ThreadContext context,
IRubyObject num,
IRubyObject den) |
Copyright © 2001-2020 JRuby. All Rights Reserved.