|
|
HP-UX Reference > Rremquo(3M)HP-UX 11i Version 2: December 2007 Update |
|
NAMEremquo(), remquof(), remquol(), remquow(), remquoq() — remainder function with quotients DESCRIPTIONThe remquo() function computes the same remainder as the remainder() function. In the object pointed to by quo it stores a value whose sign is the sign of x/y and whose magnitude is congruent mod 2n to the magnitude of the integral quotient of x/y, where n is 7 on HP-UX systems. Itanium-based System Onlyremquof() is a float version of remquo(); it takes float first and second arguments and returns a float result. remquol() is a long double version of remquo(); it takes long double first and second arguments and returns a long double result. remquow() is an extended version of remquo(); it takes extended first and second arguments and returns an extended result. remquoq() is equivalent to remquol() on HP-UX systems. USAGETo use these functions, compile either with the default -Ae option or with the -Aa and -D_HPUX_SOURCE options. To use (for Itanium-based systems) remquow() or remquoq(), compile also with the -fpwidetypes option. Make sure your program includes <math.h>. Link in the math library by specifying -lm on the compiler or linker command line. |
|