69 Commits (12d0731b91d8e58ba20ec28adf2d6c1aa995d74a)

Author SHA1 Message Date
Paul Sokolovsky a0cbc108ba tests/float: Make various tests skippable. 8 years ago
Paul Sokolovsky 88ffe0d5cc tests/string_format_modulo2: Split off intbig test. 8 years ago
Paul Sokolovsky 4b03941f5e tests/float2int*: Suffix with _intbig, don't run on any other int type. 8 years ago
Paul Sokolovsky 121fb88988 float/float2int*: Make actually be parsable for MICROPY_LONGINT_IMPL_NONE. 8 years ago
Paul Sokolovsky 325c4473a5 tests/float/complex1: Split out intbig test. 8 years ago
Damien George 8a39e18f5f tests/float: Add tests for zero to a negative power. 8 years ago
Damien George 213a718953 tests/float: Add test for assigning to attribute of complex number. 8 years ago
Rami Ali 64dc925c4a tests/float: Improve formatfloat.c test coverage using Python. 8 years ago
Rami Ali 531c206e8b tests: Add tests to improve coverage of runtime.c. 8 years ago
Damien George 49bf7617d0 tests/float/builtin_float_round: Test round() with second arg. 8 years ago
Damien George 290daa15d9 tests/float: Add test for parsing a float from an empty string. 8 years ago
Damien George e1e7657277 py/formatfloat: Fix further cases of buffer overflow in formatting. 9 years ago
Damien George cea6cf8a5e py/formatfloat: Fix buffer overflow when formatting tiny numbers. 9 years ago
Paul Sokolovsky d973c1bc12 test/string_format_fp30: Variant of string_format for 30-bit stuffed float. 9 years ago
Paul Sokolovsky 50e0a7b9d4 test/float2int_fp30: Variant of float2int for 30-bit stuffed float. 9 years ago
Paul Sokolovsky d4315a6caf float/string_format: Split large test in 2. 9 years ago
Paul Sokolovsky dc587a3623 test/float2int: Make test output clearer. 9 years ago
Damien George 3b936a5f4c tests: Fix math_fun_special test so it passes with single prec float. 9 years ago
Damien George b1fa907d56 tests: Allow float tests to run when MATH_SPECIAL_FUNCTIONS is disabled. 9 years ago
Michael Buesch 17298af61e py/modmath: Add domain error checking to sqrt, log, log2, log10. 9 years ago
Paul Sokolovsky b64e0575fd tests/float/string_format: Add testcase for incorrect rounding for %f. 9 years ago
Damien George e5635f4ab3 py: Catch all cases of integer (big and small) division by zero. 9 years ago
Damien George a81539db25 tests: Add further tests for mpz code. 9 years ago
Dave Hylands 9d6128acdc stmhal: fix single precision float printing error 9 years ago
Damien George 2b000474d9 py/lexer: Properly classify floats that look like hex numbers. 9 years ago
Damien George 1d350b8ac6 tests: Add a few tests for bool, bytearray, float to improve coverage. 9 years ago
Damien George d007cb8903 tests: Add more tests to improve coverage, mostly testing exceptions. 9 years ago
Sebastian Plamauer 1e8ca3a3cf modbuiltins: Implement round() to precision. 9 years ago
Damien George 6f49520042 py: Implement second arg for math.log (optional value for base). 10 years ago
Damien George 9ede4dcfbb tests: Add some tests for printing floats to improve coverage. 10 years ago
Damien George 79474c6b16 py: Remove unnecessary extra handling of padding of nan/inf. 10 years ago
stijn 861670ba2a py: Implement mp_format_float for doubles and use where appropriate 10 years ago
stijn 709955b601 py: Fix printing of complex number when imaginary part is nan 10 years ago
Paul Sokolovsky 3d3ef36e97 modstruct: Rename module to "ustruct", to allow full Python-level impl. 10 years ago
Damien George 956d765786 py: Fix printing of "inf" and "nan" floating point values. 10 years ago
Damien George 97abe22963 tests: Add tests to exercise lexer; and some more complex number tests. 10 years ago
Damien George 9dd3640464 tests: Add missing tests for builtins, and many other things. 10 years ago
Damien George 214179b430 tests: Add tests for SyntaxError, TypeError, and other missing things. 10 years ago
Damien George f256cfef4f tests: Add some more tests for complex numbers and ure module. 10 years ago
Damien George af43565322 tests: Add tests for things that are not already tested. 10 years ago
Damien George 086a7616dd tests: Add tests for boundmeth; and bignum cmp, unary, float, error. 10 years ago
stijn 25f1264699 tests: Skip special math fun tests when math module exists but not funs. 10 years ago
Damien George 24ffb8e876 tests: Add tests for builtins: all, any, sum, abs. 10 years ago
Damien George 2af921fb51 tests: Add tests for op special meths, ubinascii, complex. 10 years ago
Damien George 5c047b97f2 tests: Add test for math special functions. 10 years ago
Damien George 7d414a1b52 py: Parse big-int/float/imag constants directly in parser. 10 years ago
Damien George ae3150cb5c tests: Add test for cmath module. 10 years ago
Damien George 26c0b155fa tests: Make float/int_power.py pass on pyboard/single prec float. 10 years ago
Damien George 12c66be2b8 tests: Add some tests to improve coverage. 10 years ago
David Steinberg 0b3014ce3a py: Add support for floats in mp_binary_{get,set}_val() 10 years ago