Sha256: c80e546238d41ba309d69c6ee8134a0fcd302c22900cc85e8888d90b1bba046a

Contents?: true

Size: 1.13 KB

Versions: 12

Compression:

Stored size: 1.13 KB

Contents

o:$YARD::CodeObjects::MethodObject:
@name:divmod:@docstringIC:YARD::Docstring"%See <code>Numeric#divmod</code>.
:@objectu:YARD::StubProxyBignum#divmod:
@summary0:	@all"TSee <code>Numeric#divmod</code>.



@overload divmod(numeric)
  @return [Array]:@ref_tags[:
@tags[o:YARD::Tags::OverloadTag
;
u;Bignum#divmod;;;IC;	"
;
u;Bignum#divmod;0;
"@return [Array];[;[o:YARD::Tags::Tag
;
0;0:@types["
Array:
@text":@tag_name"return;0:@parameters[[:numeric0;0:@signature"divmod(numeric);"
overload:@current_file_has_commentsF:@scope:
instance;[:@docstring_extra0:@files[["
bignum.c0:@namespaceu;Bignum:
@path"Bignum#divmod;[:@visibility:public:@source"²/*
 *  call-seq:
 *     big.divmod(numeric)   => array
 *
 *  See <code>Numeric#divmod</code>.
 *
 */
VALUE
rb_big_divmod(x, y)
    VALUE x, y;
{
    VALUE div, mod;

    switch (TYPE(y)) {
      case T_FIXNUM:
    y = rb_int2big(FIX2LONG(y));
    break;

      case T_BIGNUM:
    break;

      default:
    return rb_num_coerce_bin(x, y);
    }
    bigdivmod(x, y, &div, &mod);

    return rb_assoc_new(bignorm(div), bignorm(mod));
}:@source_type:c

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
pry-doc-0.4.4 lib/pry-doc/core_docs_18/objects/Bignum/divmod_i.dat
pry-doc-0.4.3 lib/pry-doc/core_docs_18/objects/Bignum/divmod_i.dat
pry-doc-0.4.2 lib/pry-doc/core_docs_18/objects/Bignum/divmod_i.dat
pry-doc-0.4.1 lib/pry-doc/core_docs_18/objects/Bignum/divmod_i.dat
pry-doc-0.4.0 lib/pry-doc/core_docs_18/objects/Bignum/divmod_i.dat
pry-doc-0.3.0 lib/pry-doc/core_docs_18/objects/Bignum/divmod_i.dat
pry-doc-0.2.4pre1 lib/pry-doc/core_docs_18/objects/Bignum/divmod_i.dat
pry-doc-0.2.3pre1 lib/pry-doc/core_docs_18/objects/Bignum/divmod_i.dat
pry-doc-0.2.1 lib/pry-doc/core_docs_18/objects/Bignum/divmod_i.dat
pry-doc-0.2.0 lib/pry-doc/core_docs_18/objects/Bignum/divmod_i.dat
pry-doc-0.1.5pre1 lib/pry-doc/core_docs_18/objects/Bignum/divmod_i.dat
pry-0.6.9pre1-i386-mingw32 lib/pry/core_docs_18/objects/Bignum/divmod_i.dat