beautypg.com

Isxdigit, Labs, Ldexp, ldexpf – Zilog ZUSBOPTS User Manual

Page 451: Isxdigit labs ldexp, ldexpf, Synopsis, Example, Returns

background image

UM017105-0511

Standard Functions

Zilog Developer Studio II – ZNEO™

User Manual

423

isxdigit

Tests for any hexadecimal digit '0' to '9' and 'A' to 'F'.

Synopsis

#include

int isxdigit(int c);

Example

int r;

char c='f';

r=isxdigit(c);

labs

Computes the absolute value of a long int j.

Synopsis

#include

long labs(long j);

Example

long i=-193250;

long j

j=labs(i);

ldexp, ldexpf

Multiplies a floating-point number by an integral power of 2. A range error can occur.

Synopsis

#include

double ldexp(double x, int exp);

float ldexpf(float x, int exp);

Returns

The value of x times 2 raised to the power of exp.

This manual is related to the following products: