Uses of Class
org.jruby.RubyRational
Packages that use RubyRational
-
Uses of RubyRational in org.jruby
Methods in org.jruby that return RubyRationalModifier and TypeMethodDescriptionRubyBignum.convertToRational
(ThreadContext context) RubyFixnum.convertToRational
(ThreadContext context) RubyNumeric.convertToRational()
Deprecated.RubyNumeric.convertToRational
(ThreadContext context) RubyRational.convertToRational
(ThreadContext context) 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_rawRuby.newRationalReduced
(long num, long den) Methods in org.jruby with parameters of type RubyRationalModifier and TypeMethodDescriptionfinal RubyNumeric
RubyRational.op_minus
(ThreadContext context, RubyRational other) final RubyNumeric
RubyRational.op_plus
(ThreadContext context, RubyRational other) -
Uses of RubyRational in org.jruby.api
Methods in org.jruby.api that return RubyRationalModifier and TypeMethodDescriptionstatic RubyRational
Create.newRational
(ThreadContext context, long num, long den) Create a new Rational with the given long values for numerator and denominator. -
Uses of RubyRational in org.jruby.ir.runtime
Methods in org.jruby.ir.runtime that return RubyRationalModifier and TypeMethodDescriptionstatic RubyRational
IRRuntimeHelpers.newRationalCanonicalize
(ThreadContext context, IRubyObject num, IRubyObject den)