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()private static RubyNumericRubyComplex.canonicalizeInternal(ThreadContext context, RubyClass clazz, IRubyObject real, IRubyObject image) nucomp_s_canonicalize_internalprivate static RubyNumericRubyRational.canonicalizeInternal(ThreadContext context, RubyClass clazz, long num, long den) private static RubyNumericRubyRational.canonicalizeInternal(ThreadContext context, RubyClass clazz, RubyInteger num, RubyInteger den) nurat_s_canonicalize_internalprivate static RubyNumericRubyRational.canonicalizeInternalNoReduce(ThreadContext context, RubyClass clazz, RubyInteger num, RubyInteger den) nurat_s_canonicalize_internal_no_reduceprivate static RubyNumericRubyComplex.convertString(ThreadContext context, IRubyObject s, RubyFixnum zero) private static RubyNumericRubyRational.f_addsub(ThreadContext context, RubyClass metaClass, RubyInteger anum, RubyInteger aden, RubyInteger bnum, RubyInteger bden, boolean plus) f_addsubprivate static RubyNumericRubyRational.f_muldiv(ThreadContext context, RubyClass clazz, RubyInteger anum, RubyInteger aden, RubyInteger bnum, RubyInteger bden, boolean mult) f_muldivprivate RubyNumericRubyRational.fix_expt(ThreadContext context, RubyInteger other, int sign) static RubyNumericstatic RubyNumericRubyNumeric.intervalStepSize(ThreadContext context, IRubyObject from, IRubyObject to, IRubyObject step, boolean excl) (package private) static RubyNumericRubyComplex.newComplex(ThreadContext context, RubyClass clazz, IRubyObject x) f_complex_new1(package private) static RubyNumericRubyComplex.newComplex(ThreadContext context, RubyClass clazz, IRubyObject x, IRubyObject y) f_complex_new2(package private) static RubyNumericRubyRational.newInstance(ThreadContext context, RubyClass clazz, RubyInteger num, RubyInteger den) static RubyNumericRubyRational.newInstance(ThreadContext context, RubyInteger num) static RubyNumericRubyRational.newInstance(ThreadContext context, RubyInteger num, RubyInteger den) Ruby.newNumeric()static RubyNumericRubyNumeric.newNumeric(Ruby runtime) (package private) static RubyNumericRubyRational.newRationalCanonicalize(ThreadContext context, RubyInteger x) rb_rational_new1private static RubyNumericRubyRational.newRationalNoReduce(ThreadContext context, RubyClass clazz, RubyInteger x, RubyInteger y) f_rational_new_no_reduce2(package private) static RubyNumericRubyRational.newRationalNoReduce(ThreadContext context, RubyInteger x, RubyInteger y) private static RubyNumericRubyTime.numExact(ThreadContext context, IRubyObject v) final RubyNumericRubyRational.op_div(ThreadContext context, RubyInteger other) final RubyNumericRubyRational.op_minus(ThreadContext context, RubyRational other) final RubyNumericRubyRational.op_plus(ThreadContext context, RubyRational other) private RubyNumericprivate RubyNumericRubyFixnum.powerFixnum(ThreadContext context, RubyFixnum other) RubyInteger.roundShared(ThreadContext context, int ndigits, RoundingMode roundingMode) RubyTime.subsec(ThreadContext context) static RubyNumericRubyBignum.unmarshalFrom(UnmarshalStream input) Methods in org.jruby with parameters of type RubyNumericModifier and TypeMethodDescriptionprivate static booleanRubyInteger.doRoundCheck(ThreadContext context, RoundingMode roundingMode, RubyInteger num, RubyNumeric n, IRubyObject f) protected 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) (package private) static RubyComplexRubyComplex.newComplexBang(ThreadContext context, RubyClass clazz, RubyNumeric x) f_complex_new_bang1(package private) static RubyComplexRubyComplex.newComplexBang(ThreadContext context, RubyClass clazz, RubyNumeric x, RubyNumeric y) f_complex_new_bang2private static IRubyObjectRubyNumeric.stepSize(ThreadContext context, RubyNumeric from, IRubyObject[] args) A step size method suitable for lambda method reference implementation ofRubyEnumerator.SizeFn.size(ThreadContext, IRubyObject, IRubyObject[])MRI: num_step_size -
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) Methods in org.jruby.ext.bigdecimal with parameters of type RubyNumericModifier and TypeMethodDescriptionprivate static RubyBigDecimalRubyBigDecimal.div2Impl(ThreadContext context, RubyNumeric a, RubyNumeric b, int ix) private static booleanRubyBigDecimal.isEven(RubyNumeric x) private RubyBigDecimalRubyBigDecimal.newPowOfInfinity(ThreadContext context, RubyNumeric exp) private RubyBigDecimalRubyBigDecimal.newPowOfZero(ThreadContext context, RubyNumeric exp) -
Uses of RubyNumeric in org.jruby.ext.date
Methods in org.jruby.ext.date that return RubyNumericModifier and TypeMethodDescriptionRubyDate.day_fraction(ThreadContext context) (package private) static RubyNumericRubyDate.jd_to_ajd(ThreadContext context, long jd) (package private) static RubyNumericRubyDate.jd_to_ajd(ThreadContext context, long jd, RubyNumeric fr, int of_sec) (package private) static RubyNumericRubyDate.jd_to_ajd(ThreadContext context, RubyNumeric jd, RubyNumeric fr, int of_sec) static RubyNumericRubyDate.jd_to_ajd(ThreadContext context, IRubyObject self, IRubyObject[] args) private RubyNumericRubyDate.op_minus_date(ThreadContext context, RubyDate that) (package private) static RubyNumericRubyDate.roundToPrecision(ThreadContext context, RubyFloat sub, long precision) RubyDate.sec_fraction(ThreadContext context) private RubyNumericRubyDate.subMillisDiff(ThreadContext context, RubyDate that) (package private) static RubyNumericRubyDate.timeToDayFraction(ThreadContext context, int hour, int min, int sec) Methods in org.jruby.ext.date with parameters of type RubyNumericModifier and TypeMethodDescriptionprivate static voidRubyDateTime.addFraction(ThreadContext context, long[] rest, RubyNumeric fr, boolean roundFloat) (package private) static RubyNumericRubyDate.jd_to_ajd(ThreadContext context, long jd, RubyNumeric fr, int of_sec) (package private) static RubyNumericRubyDate.jd_to_ajd(ThreadContext context, RubyNumeric jd, RubyNumeric fr, int of_sec) (package private) RubyDateRubyDate.op_plus_numeric(ThreadContext context, RubyNumeric n) -
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 TypeMethodDescriptionJavaUtil.NumericConverter.coerce(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.runtime.invokedynamic
Methods in org.jruby.runtime.invokedynamic with parameters of type RubyNumericModifier and TypeMethodDescriptionprivate static IRubyObjectMathLinker.callMethod(ThreadContext context, IRubyObject caller, IRubyObject self, JRubyCallSite site, RubyNumeric value) -
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(RubyString 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) private static voidRubyDateFormatter.formatSubMillisGt3(Ruby runtime, ByteList buff, int width, RubyNumeric sub_millis) private ByteListRubyDateFormatter.formatToByteList(RubyDateFormatter.Token[] compiledPattern, org.joda.time.DateTime dt, long nsec, RubyNumeric sub_millis)