| Age | Commit message (Collapse) | Author |
|
By explicitly naming the function, its arguments, and result.
Signed-off-by: Damien George <damien@micropython.org>
|
|
Updating to Black v20.8b1 there are two changes that affect the code in
this repository:
- If there is a trailing comma in a list (eg [], () or function call) then
that list is now written out with one line per element. So remove such
trailing commas where the list should stay on one line.
- Spaces at the start of """ doc strings are removed.
Signed-off-by: Damien George <damien@micropython.org>
|
|
This adds the Python files in the tests/ directory to be formatted with
./tools/codeformat.py. The basics/ subdirectory is excluded for now so we
aren't changing too much at once.
In a few places `# fmt: off`/`# fmt: on` was used where the code had
special formatting for readability or where the test was actually testing
the specific formatting.
|
|
|
|
The latter is shorter and simpler because it doesn't require importing the
sys module.
|
|
|
|
These functions will raise 'ValueError: math domain error' on invalid
input.
|
|
|
|
|
|
Addresses issue #1081.
|
|
acoshf, asinhf, atanhf were added from musl. mathsincos.c was
split up into its original, separate files (from newlibe-nano-2).
tan was added.
All of the important missing float functions are now implemented,
and pyboard now passes tests/float/math_fun.py (finally!).
|
|
From now on, all new tests must use underscore.
Addresses issue #727.
|