1#ifndef RBIMPL_INTERN_COMPLEX_H
2#define RBIMPL_INTERN_COMPLEX_H
31#define rb_complex_raw1(x) rb_complex_raw((x), INT2FIX(0))
32#define rb_complex_raw2(x,y) rb_complex_raw((x), (y))
34#define rb_complex_new1(x) rb_complex_new((x), INT2FIX(0))
35#define rb_complex_new2(x,y) rb_complex_new((x), (y))
50#define rb_complex_add rb_complex_plus
51#define rb_complex_sub rb_complex_minus
52#define rb_complex_nagate rb_complex_uminus
55#define rb_Complex1(x) rb_Complex((x), INT2FIX(0))
56#define rb_Complex2(x,y) rb_Complex((x), (y))
#define DEPRECATED_BY(n, x)
Tewaking visibility of C variables/functions.
#define RBIMPL_SYMBOL_EXPORT_END()
Counterpart of RBIMPL_SYMBOL_EXPORT_BEGIN.
#define RBIMPL_SYMBOL_EXPORT_BEGIN()
Shortcut macro equivalent to RUBY_SYMBOL_EXPORT_BEGIN extern "C" {.
VALUE rb_complex_uminus(VALUE z)
VALUE rb_complex_div(VALUE x, VALUE y)
VALUE rb_complex_plus(VALUE x, VALUE y)
VALUE rb_complex_new_polar(VALUE abs, VALUE arg)
VALUE rb_complex_arg(VALUE z)
VALUE rb_complex_new(VALUE, VALUE)
VALUE rb_complex_raw(VALUE, VALUE)
VALUE rb_dbl_complex_new(double real, double imag)
Creates a Complex object.
VALUE rb_complex_abs(VALUE z)
VALUE rb_complex_real(VALUE z)
VALUE rb_complex_polar(VALUE abs, VALUE arg)
VALUE rb_Complex(VALUE, VALUE)
VALUE rb_complex_mul(VALUE x, VALUE y)
VALUE rb_complex_conjugate(VALUE z)
VALUE rb_complex_minus(VALUE x, VALUE y)
VALUE rb_complex_pow(VALUE base, VALUE exp)
VALUE rb_complex_imag(VALUE z)
Arithmetic conversion between C's long and Ruby's.