Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-04-18 | all: Fix implicit floating point to integer conversions. | stijn | |
These are found when building with -Wfloat-conversion. | |||
2020-04-18 | all: Fix implicit conversion from double to float. | stijn | |
These are found when building with -Wfloat-conversion. | |||
2018-09-27 | lib/libm/math: Add implementation of __signbitf, if needed by a port. | Damien George | |
2018-09-27 | lib/libm/math: Fix int type in float union, uint64_t should be uint32_t. | Damien George | |
A float is 32-bits wide. | |||
2018-09-04 | lib/libm/math: Make tanhf more efficient and handle large numbers. | Damien George | |
Prior to this patch tanhf(large number) would return nan due to inf/inf. | |||
2017-10-10 | lib/libm: Remove implementation of log2f, use MP_NEED_LOG2 instead. | Damien George | |
2017-10-04 | lib/libm: Fix tanhf so that it correctly handles +/- infinity args. | Damien George | |
2017-07-31 | all: Use the name MicroPython consistently in comments | Alexander Steffen | |
There were several different spellings of MicroPython present in comments, when there should be only one. | |||
2017-06-14 | lib/libm/math: Remove implementations of float conversion functions. | Damien George | |
These implementations are incorrect (eg f2d and d2f don't handle special values like 0.0) and proper versions can be provided by libgcc (or equivalent depending on the toolchain). libgcc is now linked with the stmhal port so that library will provide these functions from now on. | |||
2016-11-03 | lib/libm: Move Thumb-specific sqrtf function to separate file. | Damien George | |
This allows it to be used only when the hardware supports VFP instructions, preventing compile errors. | |||
2015-12-18 | lib/libm: Allow math funcs to be used by non-Thumb archs. | Damien George | |
Requires addition of software implementation of sqrtf function. | |||
2015-02-22 | lib/libm: Add implementations of erf, erfc, lgamma, tgamma. | Damien George | |
2015-01-22 | lib/libm: Add frexp and modf functions; use in stmhal; add tests. | Damien George | |
Addresses issue #1081. | |||
2014-12-30 | stmhal: Add fake implementation of __aeabi_f2lz(). | Paul Sokolovsky | |
To make mp_obj_new_int_from_float() somehow work. | |||
2014-12-18 | lib/libm: Add acosh, asinh, atanh, tan; get working with stmhal. | Damien George | |
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!). | |||
2014-09-13 | py: Implement divmod, % and proper // for floating point. | Damien George | |
Tested and working on unix and pyboard. | |||
2014-09-11 | py and libm: Add asinf,acosf; print higher precision for float. | Damien George | |
Also use less stack space when printing single precision float. Addition of asinf and acosf addresses issue #851. | |||
2014-08-29 | lib, libm: Add back dummy definition of tanf. | Damien George | |
2014-08-29 | lib: Add lib and libm, moving current files from stmhal. | Damien George | |
Top-level lib directory is for standard C libraries that we want to provide our own versions of (for efficiency and stand-alone reasons). It currently has libm in it for math functions. Also add atanf and atan2f, which addresses issue #837. |