summaryrefslogtreecommitdiff
path: root/tests/float
AgeCommit message (Expand)Author
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
2018-09-20tests/float/float_parse.py: Add tests for accuracy of small decimals.Damien George
2018-09-04tests/float: Test -inf and some larger values for special math funcs.Damien George
2018-09-04tests/float/cmath_fun.py: Fix truncation of small real part of complex.Damien George
2018-06-12py/lexer: Add support for underscores in numeric literals.Damien George
2018-05-21tests: Add some tests for bigint hash, float hash and float parsing.Damien George
2018-05-11tests/float/float_parse: Allow test to run on 32-bit archs.Damien George
2018-03-01py/formatfloat: Fix case where floats could render with negative digits.Damien George
2018-03-01py/formatfloat: Fix case where floats could render with a ":" character.Damien George
2018-03-01py/formatfloat: Fix rounding of %f format with edge-case FP values.Damien George
2018-02-26tests/float: Adjust float-parsing tests to pass with only a small error.Damien George
2018-02-08py/objfloat: Fix case of raising 0 to -infinity.Damien George
2018-02-08py/parsenum: Fix parsing of floats that are close to subnormal.Damien George
2017-12-19tests/float/builtin_float_hash: Add test to improve objfloat.c coverage.Damien George
2017-11-27py/parsenum: Improve parsing of floating point numbers.Damien George
2017-11-21py/objfloat: Allow float() to parse anything with the buffer protocol.Damien George