tenbaht / sduino

An Arduino-like programming API for the STM8
http://tenbaht.github.io/sduino/
GNU Lesser General Public License v2.1
349 stars 213 forks source link

Is it possible to add the math function such as sin cos log10 etc in the sduino #98

Closed dagger82 closed 4 years ago

dagger82 commented 4 years ago

revcently, I'm using sduino to do some noise meter which need log10 function to calculate the db, but the log10 function is not supported yet, and the log10 is the standard function in c, it is difficult to find the c sourece files...please consider this new feature.

dagger82 commented 4 years ago

find in math.h float logf(float x) _FLOAT_FUNC_REENTRANT; float log10f(float x) _FLOAT_FUNC_REENTRANT;