beautypg.com

Tan, tanf, Tanh, tanhf, Tolower – Zilog ZUSBOPTS User Manual

Page 480: Tan, tanf tanh, tanhf tolower, Returns, Example, Synopsis

background image

Standard Functions

UM017105-0511

452

Zilog Developer Studio II – ZNEO™
User Manual

tan, tanf

The tangent of x (measured in radians). A large magnitude argument can yield a result
with little or no significance.

Synopsis

#include

double tan(double x);

float tanf(float x);

Returns

The tangent value.

Example

double x=2.22;

double y;

y=tan(x);

tanh, tanhf

Computes the hyperbolic tangent of x.

Synopsis

#include

double tanh(double x);

float tanhf(float 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.

This manual is related to the following products: