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

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

Advertising
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 <math.h>

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 <math.h>

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.

Advertising
This manual is related to the following products: