<< Previous | Next >>

frexp

float frexp( float x, int * n );

Description

Splits x into a fraction and exponent, f * ( 2n ).

Parameters

x
Number to split

n
An integer

Return value

The function returns the exponent in the integer *n and the fraction between 0.5, inclusive and 1.0.

Library

MATH.LIB

See also

exp, ldexp


Dynamic C Functions << Previous | Next >> rabbit.com