summaryrefslogtreecommitdiff
path: root/lib/libm
AgeCommit message (Collapse)Author
2015-02-22lib/libm: Add implementations of erf, erfc, lgamma, tgamma.Damien George
2015-01-22lib/libm: Add frexp and modf functions; use in stmhal; add tests.Damien George
Addresses issue #1081.
2014-12-30stmhal: Add fake implementation of __aeabi_f2lz().Paul Sokolovsky
To make mp_obj_new_int_from_float() somehow work.
2014-12-18lib/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-10-31py: Add builtin round function.Damien George
Addresses issue #934.
2014-09-13py: Implement divmod, % and proper // for floating point.Damien George
Tested and working on unix and pyboard.
2014-09-11py 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-29lib, libm: Add back dummy definition of tanf.Damien George
2014-08-29lib: 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.