Module: Kernel (Ruby 2.4.2)
Description: Module : Kernel - Ruby 2.4.2

Support for the Ruby 2.4 series has ended. See here for reference.

### Home Classes Methods

### In Files

- bigdecimal/bigdecimal.c

### Methods

- #BigDecimal

### Class/Module Index

Quicksearch

- BigDecimal
- BigMath
- Float
- Integer
- Jacobian
- Kernel
- LUSolve
- Newton
- Rational
- String

No matching classes.

# Kernel

### Public Instance Methods

BigDecimal(*args) click to toggle source

See also `BigDecimal.new`

                   static VALUE
    BigDecimal_global_new(int argc, VALUE *argv, VALUE self)
    {
        ENTER(1);
        Real *pv;
        VALUE obj;

        obj = TypedData_Wrap_Struct(rb_cBigDecimal, &BigDecimal_data_type, 0);
        GUARD_OBJ(pv, BigDecimal_new(argc, argv));
        if (ToValue(pv)) pv = VpCopy(NULL, pv);
        RTYPEDDATA_DATA(obj) = pv;
        return pv->obj = obj;
    }