mirror of
https://github.com/python/cpython.git
synced 2025-10-25 10:44:55 +00:00
Example:
```pycon
>>> import ctypes
>>> ctypes.__STDC_IEC_559_COMPLEX__
1
>>> libm = ctypes.CDLL('libm.so.6')
>>> libm.clog.argtypes = [ctypes.c_double_complex]
>>> libm.clog.restype = ctypes.c_double_complex
>>> libm.clog(1+1j)
(0.34657359027997264+0.7853981633974483j)
```
Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| _common.py | ||
| _compound_decl_body.py | ||
| _func_body.py | ||
| _global.py | ||
| _info.py | ||
| _regexes.py | ||