In Files

  • bigdecimal/bigdecimal.c

Methods

Class/Module Index [+]

Quicksearch

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)
{
    Real *pv = BigDecimal_new(argc, argv);
    if (ToValue(pv)) pv = VpCopy(NULL, pv);
    pv->obj = TypedData_Wrap_Struct(rb_cBigDecimal, &BigDecimal_data_type, pv);
    return pv->obj;
}