From: nobu@... Date: 2018-11-04T01:30:51+00:00 Subject: [ruby-core:89705] [Ruby trunk Feature#15066] Documentation and providing better API for accessing Complex numbers functions in C extensions Issue #15066 has been updated by nobu (Nobuyoshi Nakada). Sorry for laziness. What about https://github.com/nobu/ruby/pull/new/feature/15066-Complex-API ? ---------------------------------------- Feature #15066: Documentation and providing better API for accessing Complex numbers functions in C extensions https://bugs.ruby-lang.org/issues/15066#change-74748 * Author: v0dro (Sameer Deshmukh) * Status: Feedback * Priority: Normal * Assignee: * Target version: ---------------------------------------- Currently there is absolutely no documentation for working with Complex numbers at the level of the C API. Apart from two macros defined [[here](https://github.com/ruby/ruby/blob/trunk/include/ruby/ruby.h#L1079)] for setting the real and imag values of Complex numbers there is no 'official' way of working with Complex numbers at the level of the C API. I propose two things: * Fully document existing Complex number routines. * Provide a robust and efficient API for dealing with complex numbers from C extensions. -- https://bugs.ruby-lang.org/ Unsubscribe: