9dce823cfd
This allows user classes to implement __abs__ special method, and saves code size (104 bytes for x86_64), even though during refactor, an issue was fixed and few optimizations were made: * abs() of minimum (negative) small int value is calculated properly. * objint_longlong and objint_mpz avoid allocating new object is the argument is already non-negative. |
||
---|---|---|
.. | ||
extra_coverage.py | ||
extra_coverage.py.exp | ||
ffi_callback.py | ||
ffi_callback.py.exp | ||
ffi_float2.py | ||
ffi_float2.py.exp | ||
ffi_float.py | ||
ffi_float.py.exp |