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

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

FMOD(3)

Contents


NAME    [Toc]    [Back]

       fmod - floating-point remainder function

SYNOPSIS    [Toc]    [Back]

       #include <math.h>

       double fmod(double x, double y);

DESCRIPTION    [Toc]    [Back]

       The  fmod()  function  computes	the remainder of dividing x by y.  The
       return value is x - n * y, where n is the quotient of x	/  y,  rounded
       towards zero to an integer.

RETURN VALUE    [Toc]    [Back]

       The  fmod()  function returns the remainder, unless y is zero, when the
       function fails and errno is set.

ERRORS    [Toc]    [Back]

       EDOM   The denominator y is zero.

CONFORMING TO    [Toc]    [Back]

       SVID 3, POSIX, BSD 4.3, ISO 9899

SEE ALSO    [Toc]    [Back]

      
      
       drem(3)



				  1993-06-06			       FMOD(3)
[ Back ]
 Similar pages
Name OS Title
fmod FreeBSD floating-point remainder functions
remainder Tru64 Compute the floating-point remainder
fmodf FreeBSD floating-point remainder functions
drem Tru64 Compute the floating-point remainder
fmod Tru64 Compute the floating-point remainder
fmod OpenBSD floating-point remainder functions
fmodf OpenBSD floating-point remainder functions
fabsf NetBSD floating-point absolute value function
fabs NetBSD floating-point absolute value function
fpgetmask IRIX floating-point units
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service