Function rb_complex_raw

Source
pub unsafe extern "C" fn rb_complex_raw(
    real: VALUE,
    imag: VALUE,
) -> VALUE
Expand description

Identical to rb_complex_new, except it assumes both arguments are not instances of ::rb_cComplex. It is thus dangerous for extension libraries.

ยง@param[in] real Real part, in any numeric except Complex. @param[in] imag Imaginary part, in any numeric except Complex. @return An instance of ::rb_cComplex whose value is real + (imag)i.

Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.2.3