beautypg.com

Tanh, Tolower, Tanh tolower – Zilog Z8F0130 User Manual

Page 497

background image

UM013037-1212

tanh

Zilog Developer Studio II – Z8 Encore!

User Manual

473

Synopsis

#include

double tan(double x);

Returns

The tangent value.

Example

double x=2.22;

double y;

y=tan(x);

tanh

Computes the hyperbolic tangent of x.

Synopsis

#include

double tanh(double x);

Returns

The hyperbolic tangent of x.

Example

double x=2.22;

double y;

y=tanh(x);

tolower

Converts an uppercase letter to the corresponding lowercase letter.

Synopsis

#include

int tolower(int c);

Returns

If the argument is an uppercase letter, the

tolower

function returns the corresponding

lowercase letter, if any; otherwise, the argument is returned unchanged.