Package | Description |
---|---|
org.jruby | |
org.jruby.ext.bigdecimal |
Modifier and Type | Method and Description |
---|---|
static RubyBignum |
RubyBignum.newBignum(Ruby runtime,
BigInteger value) |
static RubyBignum |
RubyBignum.newBignum(Ruby runtime,
double value) |
static RubyBignum |
RubyBignum.newBignum(Ruby runtime,
long value) |
static RubyBignum |
RubyBignum.newBignum(Ruby runtime,
String value) |
static RubyBignum |
RubyRandom.randomSeed(Ruby runtime) |
Modifier and Type | Method and Description |
---|---|
static double |
RubyBignum.big2dbl(RubyBignum value)
rb_big2dbl
|
static long |
RubyBignum.big2long(RubyBignum value)
rb_big2long
|
static long |
RubyBignum.big2ulong(RubyBignum value)
rb_big2ulong
This is here because for C extensions ulong can hold different values without throwing a RangeError
|
static void |
RubyBignum.marshalTo(RubyBignum bignum,
MarshalStream output) |
Modifier and Type | Method and Description |
---|---|
RubyNumeric |
RubyBigDecimal.multiplyWith(ThreadContext context,
RubyBignum value) |
Copyright © 2001-2015 JRuby. All Rights Reserved.