-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Milestone
Description
Hi,
According to the standard (section 6.7.2, page 111), the C language provides the _Compex type specifier, which allows one to work with complex numbers using the following types:
float _Complex,double _Complex, andlong double _Complex.
I’m curious if there are any particular objections against adding the following types to libc:
c_float_complexandc_double_complex.
The reason I ask is that there are C APIs that make use of complex numbers, and, in order interact with them from Rust, one has to create complex types him/herself instead of just importing them from libc. Thank you!
Regards,
Ivan
bluss and artob
Metadata
Metadata
Assignees
Labels
No labels