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

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

MODF(3)

Contents


NAME    [Toc]    [Back]

       modf  -	extract  signed  integral and fractional values from floatingpoint
 number

SYNOPSIS    [Toc]    [Back]

       #include <math.h>

       double modf(double x, double *iptr);

DESCRIPTION    [Toc]    [Back]

       The modf() function breaks the argument x into an integral part	and  a
       fractional  part,  each	of which has the same sign as x.  The integral
       part is stored in iptr.

RETURN VALUE    [Toc]    [Back]

       The modf() function returns the fractional part of x.

CONFORMING TO    [Toc]    [Back]

       SVID 3, POSIX, BSD 4.3, ISO 9899

SEE ALSO    [Toc]    [Back]

      
      
       frexp(3), ldexp(3)



				  1993-06-06			       MODF(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
modf OpenBSD extract signed integral and fractional values from
frexp Linux convert floating-point number to fractional and integral components
frexp FreeBSD convert floating-point number to fractional and integral components
frexp NetBSD convert floating-point number to fractional and integral components
frexp OpenBSD convert floating-point number to fractional and integral components
ecvt Tru64 Convert a floatingpoint number to a string
gcvt Tru64 Convert a floatingpoint number to a string
ecvt_r Tru64 Convert a floatingpoint number to a string
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service