__device__ float remquof ( float  x,
float  y,
int *  quo 
)

Compute a double-precision floating-point remainder in the same way as the remainderf() function. Argument quo returns part of quotient upon division of x by y. Value quo has the same sign as $ \frac{x}{y} $ and may not be the exact quotient but agrees with the exact quotient in the low order 3 bits.

Returns:
Returns the remainder.
  • remquof(x, 0, quo) returns NaN.
  • remquof($\pm \infty$, y, quo) returns NaN.
  • remquof(x, $\pm \infty$, quo) returns x.
Note:
For accuracy information for this function see the CUDA C Programming Guide, Appendix C, Table C-1.


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA