You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
circuitpython/lib/libm_dbl/log10.c

7 lines
133 B

#include <math.h>
static const double _M_LN10 = 2.302585092994046;
double log10(double x) {
return log(x) / (double)_M_LN10;
}