summaryrefslogtreecommitdiffstatshomepage
path: root/lib/libm
Commit message (Collapse)AuthorAge
* lib/libm: Remove unused definition of "one".Damien George2016-06-25
|
* lib/libm: Format code to pass gcc v6.1.1 warning.Damien George2016-06-25
| | | | | | gcc 6.1.1 warns when indentation is misleading, and in this case the formatting of the code really is misleading. So adjust the formatting to be clear of the meaning of the code.
* lib/libm: Allow math funcs to be used by non-Thumb archs.Damien George2015-12-18
| | | | Requires addition of software implementation of sqrtf function.
* lib/libm: Add implementations of erf, erfc, lgamma, tgamma.Damien George2015-02-22
|
* lib/libm: Add frexp and modf functions; use in stmhal; add tests.Damien George2015-01-22
| | | | Addresses issue #1081.
* stmhal: Add fake implementation of __aeabi_f2lz().Paul Sokolovsky2014-12-30
| | | | To make mp_obj_new_int_from_float() somehow work.
* lib/libm: Add acosh, asinh, atanh, tan; get working with stmhal.Damien George2014-12-18
| | | | | | | | | 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!).
* py: Add builtin round function.Damien George2014-10-31
| | | | Addresses issue #934.
* py: Implement divmod, % and proper // for floating point.Damien George2014-09-13
| | | | Tested and working on unix and pyboard.
* py and libm: Add asinf,acosf; print higher precision for float.Damien George2014-09-11
| | | | | | Also use less stack space when printing single precision float. Addition of asinf and acosf addresses issue #851.
* lib, libm: Add back dummy definition of tanf.Damien George2014-08-29
|
* lib: Add lib and libm, moving current files from stmhal.Damien George2014-08-29
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.