about log10() return 0

Hello,

nRF52840-DK,  SDK17.2,

double b=log10(0.00000226497650146484375);
NRF_LOG_INFO("log10=%d",b);

b retuan 0.0;

why?

The calculation result on the computer is -5.64

   

Best regards

Parents Reply Children
No Data
Related