Mikroc, Sinh, Sqrt – ABL electronic PIC Microcontrollers PIC16 User Manual

Page 298

Advertising
background image

mikroC - C Compiler for Microchip PIC microcontrollers

mikroC

making it simple...

290

MikroElektronika: Development tools - Books - Compilers

page

Prototype

double

sinh(double x);

Description

Function returns the hyperbolic sine of

x

, defined mathematically as

(e

x

-e

-x

)/2

. If the

value of

x

is too large (if overflow occurs), the function fails.

sinh

Prototype

double

sqrt(double num);

Description

Function returns the non negative square root of

num

.

sqrt

Prototype

double

tan(double x);

Description

Function returns the tangent of

x

in radians. The return value spans the allowed range of

floating point in mikroC.

tan

Prototype

double

tanh(double x);

Description

Function returns the hyperbolic tangent of

x

, defined mathematically as

sinh(x)/cosh(x)

.

tan

Advertising
This manual is related to the following products: