Currently At: Programming Reference > C Reference > Standard C Math > frexp()

frexp()


Syntax:
#include <math.h>
double frexp( double num, int *exp );


Description:
The function frexp() is used to decompose num into two parts: a mantissa between 0.5 and 1 (returned by the function) and an exponent returned as exp. Scientific notation works like this:

num = mantissa * (2 ^ exp)

Related Topics:
ldexp()


Web Standards & Support:

Link to and support eLook.org Powered by LoadedWeb Web Hosting
Valid XHTML 1.0! Valid CSS! eLook.org FireFox Extensions