summaryrefslogtreecommitdiff
path: root/tests/float
AgeCommit message (Expand)Author
2025-10-04all: Replace legacy name with MicroPython and MPy as applicable.Angus Gratton
2025-08-01py/parse: Add support for math module constants and float folding.Yoctopuce dev
2025-08-01py/formatfloat: Improve accuracy of float formatting code.Yoctopuce dev
2025-07-29py/objint_longlong: Fix longlong interoperability with floats.Yoctopuce dev
2025-07-24all: Go back to using default ruff quote style.Damien George
2025-07-24py/obj: Fix REPR_C bias toward zero.Yoctopuce dev
2025-06-24py/obj: Fix nan handling in object REPR_C and REPR_D.Yoctopuce dev
2025-06-10py/parsenum: Fix parsing complex literals with negative real part.Jeff Epler
2025-05-22tests/float/math_constants.py: Test actual e and pi constant values.Damien George
2025-02-28py/parsenum: Reduce code footprint of mp_parse_num_float.Yoctopuce dev
2024-09-06qemu: Rename qemu-arm port to qemu.Damien George
2024-05-28tests/float: Use "not" instead of ~ to invert bool value.Damien George
2024-03-20tests/float/float_struct_e.py: Add specific test for struct 'e' type.Damien George
2024-03-20py/binary: Support half-float 'e' format in struct pack/unpack.Matthias Urlichs
2023-12-06tests/float/inf_nan_arith.py: Include -inf in argument combos.Damien George
2023-09-29tests/float/math_domain.py: Tweak test to also pass with obj-repr-C.Damien George
2023-09-29tests/float/float_format_ints.py: Put power-of-10 test in separate file.Damien George
2023-06-18tests/float: Test domain errors for more combos of args to math funcs.Damien George
2023-06-08tests: Replace umodule with module everywhere.Jim Mussared
2023-02-24py/modmath: Fix two-argument math function domain check.Damien George
2023-02-16tests/float: Make output of math function tests more readable.Damien George
2023-02-16tests/float: Add domain checks for log and also -inf.Damien George
2023-02-09tests/float: Skip new complex tests if complex unavailable.Damien George
2022-08-12py/formatfloat: Use pow(10, e) instead of pos/neg_pow lookup tables.Dan Ellis
2022-07-26py/formatfloat: Format all whole-number floats exactly.Dan Ellis
2022-07-25py/obj: Make mp_obj_get_complex_maybe call mp_obj_get_float_maybe first.Damien George
2022-07-25py/obj: Add support for __float__ and __complex__ functions.Andrew Leech
2022-06-23py/parsenum: Fix parsing of complex "j" and also "nanj", "infj".Damien George
2022-06-23py/parsenum: Support parsing complex numbers of the form "a+bj".Jim Mussared
2022-02-02all: Update Python formatting to latest Black version 22.1.0.Damien George
2022-01-23py/modmath: Add math.tau, math.nan and math.inf constants.stijn
2021-06-18tests/float: Make bytes/bytearray construct tests work with obj repr C.Damien George
2021-05-26tests: Make float and framebuf tests skip or run on big-endian archs.Damien George
2020-09-11py: Fix handling of NaN in certain pow implementations.stijn
2020-09-11py/objfloat: Fix handling of negative float to power of nan.Damien George
2020-09-04all: Rename "sys" module to "usys".stijn
2020-08-29all: Update Python code to conform to latest black formatting.Damien George
2020-08-29tests: Split out complex reverse-op tests to separate test file.Damien George
2020-06-27py/objcomplex: Add mp_obj_get_complex_maybe for use in complex bin-op.Damien George
2020-05-28py/modmath: Work around msvc float bugs in atan2, fmod and modf.stijn
2020-04-18py/objint: Do not use fpclassify.stijn
2020-04-18tests/float: Fix cmath_fun_special for MICROPY_FLOAT_IMPL_FLOAT.stijn
2020-03-30tests/float: Add new lexer test to test parsing of float without prefix.David Lechner
2020-03-30tests: Format all Python code with black, except tests in basics subdir.David Lechner
2020-02-11tests/basics: Add tests for equality between bool and int/float/complex.Damien George
2020-01-24tests: Add boolean-as-integer formatting tests for fixed regression.Yonatan Goldschmidt
2019-10-22tests: Rename "array" module to "uarray".Damien George
2019-08-17py/modmath: Implement math.isclose() for non-complex numbers.stijn
2018-09-27py/objfloat: Fix abs(-0.0) so it returns 0.0.Damien George
2018-09-26py/modmath: Add math.factorial, optimised and non-opt implementations.Christopher Swenson