Ruby: RComplex Struct Reference

Ruby 3.4.5p51 (2025-07-16 revision 20cda200d3ce092571d0b5d342dadca69636cb0f)

Data Fields
RComplex Struct Reference

Internal header for Complex. More...

`#include <complex.h>`

## Data Fields
struct RBasic | basic
VALUE | real
VALUE | imag

## Detailed Description

Internal header for Complex.

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 13 of file complex.h.

## Field Documentation

## ◆ basic

struct RBasic RComplex::basic

Definition at line 14 of file complex.h.

## ◆ imag

VALUE RComplex::imag

Definition at line 16 of file complex.h.

## ◆ real

VALUE RComplex::real

Definition at line 15 of file complex.h.

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

- internal/complex.h