aboutsummaryrefslogtreecommitdiff
path: root/lib/libm_dbl
AgeCommit message (Collapse)Author
2020-07-21lib/libm_dbl: Add round.c source code.Zoltán Vörös
This code is imported from musl, to match existing code in libm_dbl. The file is also added to the build in stm32/Makefile. It's not needed by the core code but, similar to c5cc64175be32cb1e4f3f1a249667bc9f5a12613, allows round() to be used by user C modules or board extensions.
2020-04-23all: Remove commented-out include statements.stijn
2019-10-10stm32: Use hardware double sqrt on F7/H7 MCUs.Jim Mussared
Identical to cd527bb324ade952d11a134859d38bf5272c165e but for doubles. This gives a -2.754% improvement on bm_float.py, and -35% improvement on calling sqrt in a loop.
2018-09-20lib/libm_dbl: Add implementation of copysign() for DEBUG builds.Andrew Leech
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-04lib/libm_dbl/tanh: Make tanh more efficient and handle large numbers.Damien George
Prior to this patch tanh(large number) would return nan due to inf/inf.
2017-06-28lib: Add libm_dbl, a double-precision math library, from musl-1.1.16.Damien George