Ruby: RBignum Struct Reference

Ruby 3.4.9p82 (2026-03-11 revision 76cca827ab52ab1d346a728f068d5b8da3e2952b)

Data Fields
RBignum Struct Reference

## Data Fields
struct RBasic | basic
union { |
struct { |
size_t len |
BDIGIT * digits |
} heap
BDIGIT ary [BIGNUM_EMBED_LEN_MAX] |
} | as

## Detailed Description

Definition at line 100 of file bignum.h.

## Field Documentation

## ◆ ary

BDIGIT RBignum::ary[BIGNUM_EMBED_LEN_MAX]

Definition at line 107 of file bignum.h.

## ◆ basic

struct RBasic RBignum::basic

Definition at line 101 of file bignum.h.

## ◆ digits

BDIGIT* RBignum::digits

Definition at line 105 of file bignum.h.

## ◆ len

size_t RBignum::len

Definition at line 104 of file bignum.h.

The documentation for this struct was generated from the following file:

- internal/bignum.h