summaryrefslogtreecommitdiffstatshomepage
path: root/tests/float/float1.py
Commit message (Collapse)AuthorAge
* tests/float: Add tests for zero to a negative power.Damien George2017-02-03
|
* tests: Add tests to improve coverage of runtime.c.Rami Ali2016-12-21
|
* tests/float: Add test for parsing a float from an empty string.Damien George2016-09-27
|
* py/lexer: Properly classify floats that look like hex numbers.Damien George2015-09-07
| | | | Eg 0e0 almost looks like a hex number but in fact is a float.
* py: Implement mp_format_float for doubles and use where appropriatestijn2015-05-17
| | | | | | | This allows using (almost) the same code for printing floats everywhere, removes the dependency on sprintf and uses just snprintf and applies an msvc-specific fix for snprintf in a single place so nan/inf are now printed correctly.
* py: Fix printing of "inf" and "nan" floating point values.Damien George2015-04-22
|
* tests: Add tests to exercise lexer; and some more complex number tests.Damien George2015-04-04
|
* tests: Add missing tests for builtins, and many other things.Damien George2015-04-04
|
* tests: Add tests for SyntaxError, TypeError, and other missing things.Damien George2015-03-25
| | | | This is intended to improve coverage of the test suite.
* tests: Add tests for things that are not already tested.Damien George2015-03-12
| | | | The aim here is to improve coverage of the code.
* py: Parse big-int/float/imag constants directly in parser.Damien George2015-02-08
| | | | | | | | | Previous to this patch, a big-int, float or imag constant was interned (made into a qstr) and then parsed at runtime to create an object each time it was needed. This is wasteful in RAM and not efficient. Now, these constants are parsed straight away in the parser and turned into objects. This allows constants with large numbers of digits (so addresses issue #1103) and takes us a step closer to #722.
* tests: Split out those tests requiring float and import.Damien George2014-04-17
Tests in basics (which should probably be renamed to core) should not rely on float, or import any non-built-in files. This way these tests can be run when those features are not available. All test in basics now pass on the pyboard using stmhal port, except for string-repr which has some issues with character hex printing.