Query: fmod
OS: hpux
Section: 3m
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
fmod(3M) fmod(3M)NAMEfmod(), fmodf(), fmodl(), fmodw(), fmodq() - remainder functionsSYNOPSISHP Integrity Server OnlyDESCRIPTIONThe 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.USAGETo 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 VALUEIf 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.ERRORSIf 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 ALSOceil(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)
Related Man Pages |
---|
dremf(3m) - hpux |
dreml(3m) - hpux |
fmod(3m) - hpux |
fmodw(3m) - hpux |
remainderq(3m) - hpux |
Similar Topics in the Unix Linux Community |
---|
Annex Terminal Server |