home *** CD-ROM | disk | FTP | other *** search
/ PC Extra Super CD 1998 January / PCPLUS131.iso / DJGPP / V2 / DJLSR201.ZIP / src / libc / ansi / math / frexp.txh < prev    next >
Encoding:
Text File  |  1995-07-17  |  494 b   |  21 lines

  1. @c ----------------------------------------------------------------------
  2. @node frexp, math
  3. @subheading Syntax
  4.  
  5. @example
  6. #include <math.h>
  7.  
  8. double frexp(double x, int *pexp);
  9. @end example
  10.  
  11. @subheading Description
  12.  
  13. This function separates the given value @var{x} into a mantissa
  14. [0.5,1) and an exponent @var{*pexp}, such that m * 2 ^ e = x.  As an
  15. exception, when @var{x} is zero, @var{*pexp} and the return value are
  16. also both zero.
  17.  
  18. @subheading Return Value
  19.  
  20. The mantissa.
  21.