SW500007 Microchip Technology, SW500007 Datasheet - Page 236

PICC-18 PRO

SW500007

Manufacturer Part Number
SW500007
Description
PICC-18 PRO
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC18r
Datasheets

Specifications of SW500007

Supported Families
PIC18
Core Architecture
PIC
Software Edition
Professional
Kit Contents
Software And Docs
Mcu Supported Families
PIC18
Tool Function
Compiler
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
PIC18 Series
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
015P
778-1002
778-1002
LOG, LOG10
Synopsis
Description
The log() function returns the natural logarithm of f. The function log10() returns the logarithm to
base 10 of f.
Example
See Also
exp(), pow()
Return Value
Zero if the argument is negative.
222
#include <math.h>
double log (double f)
double log10 (double f)
#include <math.h>
#include <stdio.h>
void
main (void)
{
}
double f;
for(f = 1.0 ; f <= 10.0 ; f += 1.0)
printf("log(%1.0f) = %f\n", f, log(f));
Library Functions

Related parts for SW500007