Uses of Class
org.jruby.RubyNumeric
Packages that use RubyNumeric
Package
Description
-
Uses of RubyNumeric in org.jruby
Subclasses of RubyNumeric in org.jrubyModifier and TypeClassDescriptionclass
class
complex.c as of revision: 20011class
Implementation of the Integer (Fixnum internal) class.class
A representation of a float objectclass
Implementation of the Integer class.class
Ruby Rational impl (MRI: rational.c).Methods in org.jruby that return RubyNumericModifier and TypeMethodDescriptionRubyNumeric.asNumeric()
static RubyNumeric
Deprecated.protected RubyNumeric
RubyInteger.integerCeil
(ThreadContext context, RubyNumeric f) protected RubyNumeric
RubyInteger.integerFloor
(ThreadContext context, RubyInteger f) static RubyNumeric
RubyNumeric.intervalStepSize
(ThreadContext context, IRubyObject from, IRubyObject to, IRubyObject step, boolean excl) static RubyNumeric
RubyRational.newInstance
(ThreadContext context, RubyInteger num) static RubyNumeric
RubyRational.newInstance
(ThreadContext context, RubyInteger num, RubyInteger den) Ruby.newNumeric()
static RubyNumeric
RubyNumeric.newNumeric
(Ruby runtime) final RubyNumeric
RubyRational.op_div
(ThreadContext context, RubyInteger other) final RubyNumeric
RubyRational.op_minus
(ThreadContext context, RubyRational other) final RubyNumeric
RubyRational.op_plus
(ThreadContext context, RubyRational other) RubyInteger.roundShared
(ThreadContext context, int ndigits, RoundingMode roundingMode) RubyTime.subsec
(ThreadContext context) static RubyNumeric
RubyBignum.unmarshalFrom
(UnmarshalStream input) Deprecated, for removal: This API element is subject to removal in a future version.static RubyNumeric
RubyBignum.unmarshalFrom
(ThreadContext context, RubyInputStream in, MarshalLoader input) Methods in org.jruby with parameters of type RubyNumericModifier and TypeMethodDescriptionprotected static boolean
RubyInteger.int_half_p_half_down
(ThreadContext context, RubyInteger num, RubyNumeric n, IRubyObject f) protected static boolean
RubyInteger.int_half_p_half_even
(ThreadContext context, RubyInteger num, RubyNumeric n, IRubyObject f) protected static boolean
RubyInteger.int_half_p_half_up
(ThreadContext context, RubyInteger num, RubyNumeric n, IRubyObject f) protected RubyNumeric
RubyInteger.integerCeil
(ThreadContext context, RubyNumeric f) -
Uses of RubyNumeric in org.jruby.api
Methods in org.jruby.api that return RubyNumericModifier and TypeMethodDescriptionstatic RubyNumeric
Convert.castAsNumeric
(ThreadContext context, IRubyObject newValue, String message) Cast the given value to a RubyNumeric with most basic typeError thrown if the value is not a RubyNumeric. -
Uses of RubyNumeric in org.jruby.ext.bigdecimal
Subclasses of RubyNumeric in org.jruby.ext.bigdecimalMethods in org.jruby.ext.bigdecimal that return RubyNumericModifier and TypeMethodDescriptionRubyBigDecimal.multiplyWith
(ThreadContext context, RubyBignum value) RubyBigDecimal.multiplyWith
(ThreadContext context, RubyFloat value) RubyBigDecimal.multiplyWith
(ThreadContext context, RubyInteger value) -
Uses of RubyNumeric in org.jruby.ext.date
Methods in org.jruby.ext.date that return RubyNumericModifier and TypeMethodDescriptionRubyDate.day_fraction
(ThreadContext context) static RubyNumeric
RubyDate.jd_to_ajd
(ThreadContext context, IRubyObject self, IRubyObject[] args) RubyDate.sec_fraction
(ThreadContext context) -
Uses of RubyNumeric in org.jruby.ext.thread
Methods in org.jruby.ext.thread that return RubyNumericModifier and TypeMethodDescriptionQueue.length
(ThreadContext context) SizedQueue.max
(ThreadContext context) Queue.num_waiting
(ThreadContext context) SizedQueue.num_waiting
(ThreadContext context) -
Uses of RubyNumeric in org.jruby.javasupport
Methods in org.jruby.javasupport with parameters of type RubyNumericModifier and TypeMethodDescriptiondefault T
JavaUtil.NumericConverter.coerce
(RubyNumeric numeric, Class<T> target) Deprecated.JavaUtil.NumericConverter.coerce
(ThreadContext context, RubyNumeric numeric, Class<T> target) -
Uses of RubyNumeric in org.jruby.javasupport.ext
Methods in org.jruby.javasupport.ext that return RubyNumericModifier and TypeMethodDescriptionstatic RubyNumeric
JavaUtil.Collection.length
(ThreadContext context, IRubyObject self) -
Uses of RubyNumeric in org.jruby.util
Methods in org.jruby.util that return RubyNumericModifier and TypeMethodDescriptionstatic RubyNumeric
Numeric.f_expt
(ThreadContext context, RubyInteger x, RubyInteger y) static RubyNumeric
Numeric.f_to_r
(ThreadContext context, RubyInteger x) static RubyNumeric
Numeric.int_pow
(ThreadContext context, long x, long y) Methods in org.jruby.util with parameters of type RubyNumericModifier and TypeMethodDescriptionRubyDateFormatter.compileAndFormat
(ByteList pattern, boolean dateLibrary, org.joda.time.DateTime dt, long nsec, RubyNumeric sub_millis) Convenience method when using no pattern cachingstatic boolean
Numeric.f_integer_p
(ThreadContext context, RubyNumeric x) RubyDateFormatter.format
(RubyDateFormatter.Token[] compiledPattern, org.joda.time.DateTime dt, long nsec, RubyNumeric sub_millis)
Convert.asFixnum(ThreadContext, long)
instead.