Expand description
Python’s complex, as fontTools’ curve math uses it.
The operations follow CPython 3.13 (Objects/complexobject.c) so that the
results are bit for bit the same, signed zeros included: a real operand is
first converted to a complex number with a zero imaginary part, so
2.0 * z is a full complex product (_Py_c_prod), and z / 2.0 goes
through _Py_c_quot.
Structs§
- Complex
- A complex number (
complex).
Constants§
- J
1j.