summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/math.c
Commit message (Collapse)AuthorAge
* 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.
* stmhal, math: Define _M_LN2 if not already defined.Damien George2014-08-05
| | | | Addresses issue #790.
* Add copysignfmux2014-06-30
| | | | * Fix #692
* Add license header to (almost) all files.Damien George2014-05-03
| | | | | | | Blanket wide to all .c and .h files. Some files originating from ST are difficult to deal with (license wise) so it was left out of those. Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
* stmhal: Update ADC, DAC and I2C objects to use new buffer protocol.Damien George2014-04-18
| | | | | | | | | | Main reason for expanding buffer protocol API was to support writes to a buffer in ADC module (see read_timed). With this change you can now create an array of arbitrary type and ADC.read_timed will store into that array in the correct format (byte, int, float). I wonder though if all these changes were really worth it to support just this function. Hopefully this enhanced buffer protocol API (with typecode specified) will be used elsewhere.
* stmhal: Add more math functions.Damien George2014-04-17
| | | | Taken straight from musl and newlib. License seems compatible with MIT.
* stmhal: Add powf, logf, log2f, log10f.Damien George2014-04-03
|
* stmhal: #undef log2f if it's defined.Damien George2014-04-03
|
* stmhal: Fix servo object; add fpclassify to math functions.Damien George2014-04-02
|
* stm/stmhal: Change gammaf to tgammaf.Damien George2014-03-23
|
* stmhal: Copy changes to math.c from stm port.Damien George2014-03-23
|
* stm/stmhal: Add more math stubs.Damien George2014-03-22
|
* Disable some math functions until they work correctly.Damien George2014-03-21
|
* REPl working on UART6 with STMHALDave Hylands2014-03-12