From: nobu@... Date: 2018-12-12T11:06:40+00:00 Subject: [ruby-core:90445] [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). At the meeting today, mrkn also wanted these APIs. ---------------------------------------- Feature #15066: Documentation and providing better API for accessing Complex numbers functions in C extensions https://bugs.ruby-lang.org/issues/15066#change-75603 * 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: