micropython/tests/unix
Paul Sokolovsky 9dce823cfd py/modbuiltins: Implement abs() by dispatching to MP_UNARY_OP_ABS.
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.
2017-09-18 00:06:43 +03:00
..
extra_coverage.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
extra_coverage.py.exp py/modbuiltins: Implement abs() by dispatching to MP_UNARY_OP_ABS. 2017-09-18 00:06:43 +03:00
ffi_callback.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
ffi_callback.py.exp tests: Add testcase for ffi callbacks. 2014-12-15 02:18:54 +02:00
ffi_float.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
ffi_float.py.exp tests/ffi_float: Split tgammaf() testcase to a separate test. 2015-08-29 17:24:29 +03:00
ffi_float2.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
ffi_float2.py.exp tests/ffi_float: Split tgammaf() testcase to a separate test. 2015-08-29 17:24:29 +03:00