Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

fmodf(3m) [hpux man page]

fmod(3M)																  fmod(3M)

NAME
fmod(), fmodf(), fmodl(), fmodw(), fmodq() - remainder functions SYNOPSIS
HP Integrity Server Only DESCRIPTION
The function returns the floating-point remainder (f) of the division of x by y, where f has the same sign as x, such that x=iy+f for some integer i, and |f| < |y|. is a version of it takes arguments and returns a result. Integrity Server Only is a version of it takes arguments and returns a result. is an version of it takes arguments and returns an result. is equivalent to on HP-UX systems. USAGE
To use these functions compile either with the default option or with the and options. To use (for Integrity servers) or compile also with the option. To use any of these functions, make sure your program includes Link in the math library by specifying on the compiler or linker command line. RETURN VALUE
If y x returns x. If x y is a nonzero number, returns x. If x or y is NaN, returns NaN. If x or y is zero, returns NaN and raises the invalid exception. ERRORS
If y is zero or x is infinite, sets to [EDOM]. Integrity Server HP-UX functions on Integrity servers do not set by default. For setting, compile with the option. SEE ALSO
ceil(3M), fabs(3M), floor(3M), remainder(3M), remquo(3M), rint(3M), math(5). STANDARDS CONFORMANCE
: SVID3, XPG4.2, ANSI C, ISO/IEC C99 (including Annex F, ``IEC 60559 floating-point arithmetic'') : ISO/IEC C99 (including Annex F, ``IEC 60559 floating-point arithmetic'') fmod(3M)

Check Out this Related Man Page

fmod(3M)																  fmod(3M)

NAME
fmod(), fmodf(), fmodl(), fmodw(), fmodq() - remainder functions SYNOPSIS
HP Integrity Server Only DESCRIPTION
The function returns the floating-point remainder (f) of the division of x by y, where f has the same sign as x, such that x=iy+f for some integer i, and |f| < |y|. is a version of it takes arguments and returns a result. Integrity Server Only is a version of it takes arguments and returns a result. is an version of it takes arguments and returns an result. is equivalent to on HP-UX systems. USAGE
To use these functions compile either with the default option or with the and options. To use (for Integrity servers) or compile also with the option. To use any of these functions, make sure your program includes Link in the math library by specifying on the compiler or linker command line. RETURN VALUE
If y x returns x. If x y is a nonzero number, returns x. If x or y is NaN, returns NaN. If x or y is zero, returns NaN and raises the invalid exception. ERRORS
If y is zero or x is infinite, sets to [EDOM]. Integrity Server HP-UX functions on Integrity servers do not set by default. For setting, compile with the option. SEE ALSO
ceil(3M), fabs(3M), floor(3M), remainder(3M), remquo(3M), rint(3M), math(5). STANDARDS CONFORMANCE
: SVID3, XPG4.2, ANSI C, ISO/IEC C99 (including Annex F, ``IEC 60559 floating-point arithmetic'') : ISO/IEC C99 (including Annex F, ``IEC 60559 floating-point arithmetic'') fmod(3M)
Man Page