Ruby: RRational Struct Reference

Ruby 3.2.5p208 (2024-07-26 revision 31d0f1a2e7dbfb60731d1f05b868e1d578cda493)

Data Fields
RRational Struct Reference

Internal header for Rational. More...

`#include <rational.h>`

## Data Fields
struct RBasic | basic
VALUE | num
VALUE | den

## Detailed Description

Internal header for Rational.

Author
  Ruby developers ruby-.nosp@m.core.nosp@m.@ruby.nosp@m.-lan.nosp@m.g.org

Copyright
  This file is a part of the programming language Ruby. Permission is hereby granted, to either redistribute and/or modify this file, provided that the conditions mentioned in the file COPYING are met. Consult the file for details.

Definition at line 17 of file rational.h.

## Field Documentation

## ◆ basic

struct RBasic RRational::basic

Definition at line 18 of file rational.h.

## ◆ den

VALUE RRational::den

Definition at line 20 of file rational.h.

## ◆ num

VALUE RRational::num

Definition at line 19 of file rational.h.

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

- internal/rational.h