Jim Mussared
|
580a2656d1
|
stm32: Use hardware double sqrt on F7/H7 MCUs.
Identical to cd527bb324 but for doubles.
This gives a -2.754% improvement on bm_float.py, and -35% improvement on
calling sqrt in a loop.
|
2019-10-10 17:39:32 +11:00 |
Andrew Leech
|
57a73973ad
|
lib/libm_dbl: Add implementation of copysign() for DEBUG builds.
This provides a double variant of the float copysignf from libm/math.c
which is required for DEBUG=1 builds when MICROPY_FLOAT_IMPL=double
|
2018-09-20 16:46:19 +10:00 |
Damien George
|
0b239d458c
|
lib/libm_dbl/tanh: Make tanh more efficient and handle large numbers.
Prior to this patch tanh(large number) would return nan due to inf/inf.
|
2018-09-04 16:57:46 +10:00 |
Damien George
|
045116551e
|
lib: Add libm_dbl, a double-precision math library, from musl-1.1.16.
|
2017-06-28 15:12:04 +10:00 |