www.delorie.com/djgpp/doc/libc-2.01/libc_294.html   search  
Go to the first, previous, next, last section, table of contents.


frexp

Syntax

#include <math.h>

double frexp(double x, int *pexp);

Description

This function separates the given value x into a mantissa [0.5,1) and an exponent *pexp, such that m * 2 ^ e = x. As an exception, when x is zero, *pexp and the return value are also both zero.

Return Value

The mantissa.


Go to the first, previous, next, last section, table of contents.

  prev next   webmaster     delorie software   privacy  
  Copyright © 1997     Updated Apr 1997