| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| private transient BigDecimal | |
| public static final int | |
| private static final short | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| private static final Pattern | |
| private int | |
| private boolean | |
| private static final BigDecimal | |
| private static final BigDecimal | |
| private static final long | |
| private static final short | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| private static final double | |
| private BigDecimal | |
| private static final ByteList | |
| private static final short | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | |
| public | |
| public | |
| pack-priv | RubyBigDecimal(Ruby runtime, RubyClass klass, BigDecimal value, int zeroSign, int infinitySign, boolean isNaN)
|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public IRubyObject | |
| public IRubyObject | |
| public static RubyBigDecimal | |
| public IRubyObject | |
| public IRubyObject | |
| private BigDecimal | |
| public IRubyObject | |
| private IRubyObject | |
| private RubyBigDecimal | |
| private static StringBuilder | |
| public BigInteger | asBigInteger(ThreadContext
the current thread context context)Overrides org. Return a BigInteger representation of this numerical value |
| public double | asDouble(ThreadContext
the current thread context context)Overrides org. Return a double representation of this numerical value |
| public int | asInt(ThreadContext context)
Overrides org. Returns the value of this numeric and a java int. |
| public long | asLong(ThreadContext context)
Overrides org. Return the value of this numeric as a 64-bit long. |
| private IRubyObject | |
| private static long | |
| public static BigDecimal | Returns: the root of the argument numberThe number to get the root from. squarD, MathContext Precision and rounding mode. rootMC)Returns the correctly rounded square root of a positive BigDecimal. |
| private static RubyBigDecimal | |
| public IRubyObject | |
| public IRubyObject | |
| private void | |
| private static IRubyObject | checkOverUnderFlow(ThreadContext context, final ArithmeticException ex, boolean nullDefault, boolean strict, boolean exception)
|
| private IRubyObject | |
| public RubyArray | |
| private static boolean | |
| public RubyFloat | convertToFloat()
Overrides org. Implements org. Tries to convert this object to a Ruby Float using the "to_f" method. |
| public RubyInteger | convertToInteger()
Overrides org. Implements org.
Deprecated
Tries to convert this object to a Ruby Integer using the "to_int" method. |
| public static RubyClass | |
| private static RubyBigDecimal | |
| private static BigDecimal | |
| public IRubyObject | |
| private RubyBigDecimal | |
| public static IRubyObject | |
| private CharSequence | |
| public IRubyObject | |
| private static String | |
| public IRubyObject | |
| public IRubyObject | |
| private static boolean | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| private CharSequence | |
| public IRubyObject | |
| public IRubyObject | |
| private RubyBigDecimal | |
| private RubyBigDecimal | |
| public static int | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public IRubyObject | |
| private String | |
| public BigDecimal | |
| private int | |
| private static RubyBigDecimal | |
| private static RubyBigDecimal | |
| private static RubyBigDecimal | |
| public ClassIndex | getNativeClassIndex()
Overrides org. Implements org. This is overridden in the other concrete Java builtins to provide a fast way to determine what type they are. |
| private static int | |
| private int | |
| private static int | |
| private int[] | |
| private static int | |
| private static RoundingMode | |
| private String | |
| public BigDecimal | |
| private static RubyBigDecimal | |
| private static RubyBigDecimal | |
| private RubyBigDecimal | |
| private static RubyBigDecimal | |
| private static int | |
| private static IRubyObject | |
| private static IRubyObject | |
| private static IRubyObject | |
| public RubyFixnum | hash(ThreadContext
the current thread context context)Overrides org. Will return the hash code of this object. |
| private RubyInteger | |
| public static IRubyObject | |
| public IRubyObject | |
| pack-priv static String | |
| public IRubyObject | initialize_copy(ThreadContext
the thread context context, IRubyObject the original original)Overrides org. num_init_copy |
| public IRubyObject | inspect(ThreadContext context)
Overrides org. Overrides default org. Returns a string containing a human-readable representation of obj. |
| public static IRubyObject | |
| private static RaiseException | |
| private static boolean | |
| private static boolean | |
| private boolean | |
| private static boolean | |
| private boolean | |
| private static boolean | |
| private static boolean | |
| private static boolean | |
| public final boolean | |
| private static boolean | |
| private static boolean | |
| private static RoundingMode | |
| public static IRubyObject | |
| public static IRubyObject | limit(ThreadContext context, IRubyObject recv, IRubyObject arg)
Set new vpPrecLimit if Fixnum and return the old value. |
| public static IRubyObject | |
| private static IRubyObject | modeExecute(final ThreadContext context, final RubyModule BigDecimal, final Block block, final String intVariableName)
|
| public IRubyObject | |
| private RubyBigDecimal | |
| public RubyNumeric | |
| public RubyNumeric | |
| public RubyNumeric | |
| public IRubyObject | |
| public IRubyObject | |
| private static RubyBigDecimal | |
| private static RaiseException | |
| private static RaiseException | newInfinityFloatDomainError(ThreadContext context, final int sign, final RubyBigDecimal.
|
| private static RubyBigDecimal | |
| private static RubyBigDecimal | |
| private static RubyBigDecimal | |
| private static RubyBigDecimal | |
| private static RubyBigDecimal | |
| private static IRubyObject | newInstance(ThreadContext context, RubyClass recv, RubyString arg, MathContext mathContext, boolean strict, boolean exception)
|
| public static RubyBigDecimal | |
| public static IRubyObject | newInstance(ThreadContext context, IRubyObject recv, IRubyObject arg, boolean strict, boolean exception)
Deprecated
|
| public static RubyBigDecimal | |
| public static IRubyObject | newInstance(ThreadContext context, IRubyObject recv, IRubyObject arg, IRubyObject mathArg, boolean strict, boolean exception)
|
| private static RaiseException | |
| private RubyBigDecimal | |
| private RubyBigDecimal | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | op_eqq(ThreadContext context, IRubyObject arg)
Overrides org. Implements org. rb_equal The Ruby "===" method is used by default in case/when statements. |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| private static boolean | |
| private static boolean | |
| private BigDecimal | |
| public IRubyObject | |
| public RubyArray | |
| public IRubyObject | |
| private RubyBigDecimal | |
| public IRubyObject | remainder(ThreadContext context, IRubyObject arg)
Overrides org. num_remainder |
| private IRubyObject | |
| private static String | |
| public IRubyObject | |
| public IRubyObject | |
| private static int | |
| private static int | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public IRubyObject | |
| private RubyBigDecimal | |
| private RubyBigDecimal | |
| private static BigInteger | |
| public IRubyObject | sign()
Deprecated
since 10.0. Use
org. instead.
|
| public IRubyObject | |
| private RubyFixnum | |
| private static JavaSites. | sites(ThreadContext context)
Hides org. Retrieve the call sites for this class. |
| public RubyArray | |
| private String | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| private IRubyObject | |
| private RubyBigDecimal | |
| public IRubyObject | |
| public IRubyObject | |
| public final IRubyObject | |
| public IRubyObject | |
| pack-priv final RubyInteger | |
| public IRubyObject | |
| public RubyString | |
| public RubyString | |
| public IRubyObject | |
| private static BigDecimal | |
| private RubyFloat | |
| private static RubyInteger | |
| public <T> T | toJava(Class<T>
The target type to which the object should be converted. target)Overrides org. Implements org. Convert the object to the specified Java class, if possible. |
| public String | toString()
Overrides org. The default toString method is just a wrapper that calls the Ruby "to_s" method. |
| private RubyString | |
| public IRubyObject | |
| public IRubyObject | |
| private RubyBigDecimal | |
| private String | |
| private static IRubyObject | |
| public IRubyObject | |
| public IRubyObject |