PCD COMMAND LINE COMPILER Custom Computer Services Inc (CCS), PCD COMMAND LINE COMPILER Datasheet - Page 222

PCD C-COMPILER PIC24, DSPIC

PCD COMMAND LINE COMPILER

Manufacturer Part Number
PCD COMMAND LINE COMPILER
Description
PCD C-COMPILER PIC24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCD COMMAND LINE COMPILER

For Use With/related Products
Microchip PIC24/dsPIC®
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1007
Availability:
Requires:
Examples:
Example Files:
Also See:
log10( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
208
All devices
#INCLUDE <math.h>
lnx = log(x);
None
log10(), exp(),
result = log10 (value)
value is any float type
A float with precision equal to value
Computes the base-ten logarithm of the float x. If the argument is less than or
equal to zero or too large, the behavior is undefined.
Note on error handling:
If "errno.h" is included then the domain and range errors are stored in the errno
variable. The user can check the errno to see if an error has occurred and print
the error using the perror function.
Domain error occurs in the following cases:
All devices
#INCLUDE <math.h>
db = log10( read_adc()*(5.0/255) )*10;
None
log(), exp(),
log10: when the argument is negative
pow()
pow()

Related parts for PCD COMMAND LINE COMPILER