Basic30 Language Reference
log10 Function

Return the base 10 logarithm of a 32 bit floating point value .

Function log10(x As Single) As Single

Requirements

  1. This function requires the link time library "libm.a".  It is a free download from the Microchip website.

Examples

Dim a,x as Single

x=log10(a)
 

Also See: exp, logpow