Mikroc, Log10, Modf – ABL electronic PIC Microcontrollers PIC16 User Manual

Page 297

Advertising
background image

MikroElektronika: Development tools - Books - Compilers

289

page

mikroC - C Compiler for Microchip PIC microcontrollers

mikroC

making it simple...

Prototype

double

log10(double x);

Description

Function returns the base-10 logarithm of

x

(i.e.

log

10

(x)

).

log10

Prototype

double

modf(double num, double *whole);

Description

Function returns the signed fractional component of

num

, placing its whole number

component into the variable pointed to by

whole

.

modf

Prototype

double

pow(double x, double y);

Description

Function returns the value of

x

raised to the power of y (i.e.

x

y

). If the

x

is negative,

function will automatically cast the y into

unsigned long

.

pow

Prototype

double

sin(double x);

Description

Function returns the sine of

x

in radians. The return value is from -1 to 1.

sin

Advertising
This manual is related to the following products: