*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Linux man pages -> frexp (3)              
Title
Content
Arch
Section
 

FREXP(3)

Contents


NAME    [Toc]    [Back]

       frexp - convert floating-point number to fractional and integral components

SYNOPSIS    [Toc]    [Back]

       #include <math.h>

       double frexp(double x, int *exp);

DESCRIPTION    [Toc]    [Back]

       The frexp() function is used to split the number x  into  a  normalized
       fraction and an exponent which is stored in exp.

RETURN VALUE    [Toc]    [Back]

       The  frexp() function returns the normalized fraction.  If the argument
       x is not zero, the normalized fraction is x times a power of  two,  and
       is always in the range 1/2 (inclusive) to 1 (exclusive).  If x is zero,
       then the normalized fraction is zero and zero is stored in exp.

CONFORMING TO    [Toc]    [Back]

       SVID 3, POSIX, BSD 4.3, ISO 9899

SEE ALSO    [Toc]    [Back]

      
      
       ldexp(3), modf(3)



GNU				  1993-06-06			      FREXP(3)
[ Back ]
 Similar pages
Name OS Title
modf FreeBSD extract signed integral and fractional values from floating-point number
modf NetBSD extract signed integral and fractional values from floating-point number
ldexp NetBSD multiply floating-point number by integral power of 2
ldexp OpenBSD multiply floating-point number by integral power of 2
ldexp Linux multiply floating-point number by integral power of 2
ldexp FreeBSD multiply floating-point number by integral power of 2
ecvt Linux convert a floating-point number to a string.
gcvt Linux convert a floating-point number to a string.
ecvt IRIX convert floating-point number to string
strtod Linux convert ASCII string to floating point number
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service