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 TypeClassDescriptionclassclasscomplex.c as of revision: 20011classImplementation of the Integer (Fixnum internal) class.classA representation of a float objectclassImplementation of the Integer class.classRuby Rational impl (MRI: rational.c).Methods in org.jruby that return RubyNumericModifier and TypeMethodDescriptionRubyNumeric.asNumeric()static RubyNumericDeprecated.protected RubyNumericRubyInteger.integerCeil(ThreadContext context, RubyNumeric f) protected RubyNumericRubyInteger.integerFloor(ThreadContext context, RubyInteger f) static RubyNumericRubyNumeric.intervalStepSize(ThreadContext context, IRubyObject from, IRubyObject to, IRubyObject step, boolean excl) static RubyNumericRubyRational.newInstance(ThreadContext context, RubyInteger num) static RubyNumericRubyRational.newInstance(ThreadContext context, RubyInteger num, RubyInteger den) Ruby.newNumeric()static RubyNumericRubyNumeric.newNumeric(Ruby runtime) final RubyNumericRubyRational.op_div(ThreadContext context, RubyInteger other) final RubyNumericRubyRational.op_minus(ThreadContext context, RubyRational other) final RubyNumericRubyRational.op_plus(ThreadContext context, RubyRational other) RubyInteger.roundShared(ThreadContext context, int ndigits, RoundingMode roundingMode) RubyTime.subsec(ThreadContext context) static RubyNumericRubyBignum.unmarshalFrom(UnmarshalStream input) Deprecated, for removal: This API element is subject to removal in a future version.static RubyNumericRubyBignum.unmarshalFrom(ThreadContext context, RubyInputStream in, MarshalLoader input) Methods in org.jruby with parameters of type RubyNumericModifier and TypeMethodDescriptionprotected static booleanRubyInteger.int_half_p_half_down(ThreadContext context, RubyInteger num, RubyNumeric n, IRubyObject f) protected static booleanRubyInteger.int_half_p_half_even(ThreadContext context, RubyInteger num, RubyNumeric n, IRubyObject f) protected static booleanRubyInteger.int_half_p_half_up(ThreadContext context, RubyInteger num, RubyNumeric n, IRubyObject f) protected RubyNumericRubyInteger.integerCeil(ThreadContext context, RubyNumeric f) -
Uses of RubyNumeric in org.jruby.api
Methods in org.jruby.api that return RubyNumericModifier and TypeMethodDescriptionstatic RubyNumericConvert.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 RubyNumericRubyDate.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 TJavaUtil.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 RubyNumericJavaUtil.Collection.length(ThreadContext context, IRubyObject self) -
Uses of RubyNumeric in org.jruby.util
Methods in org.jruby.util that return RubyNumericModifier and TypeMethodDescriptionstatic RubyNumericNumeric.f_expt(ThreadContext context, RubyInteger x, RubyInteger y) static RubyNumericNumeric.f_to_r(ThreadContext context, RubyInteger x) static RubyNumericNumeric.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 booleanNumeric.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.