|
__device__ double remquo |
( |
double |
x, |
|
|
double |
y, |
|
|
int * |
quo | |
|
) |
| | |
Compute a double-precision floating-point remainder in the same way as the remainder() function. Argument quo returns part of quotient upon division of x by y . Value quo has the same sign as and may not be the exact quotient but agrees with the exact quotient in the low order 3 bits.
- Returns:
- Returns the remainder.
- remquo(
x , 0, quo ) returns NaN. - remquo(
, y , quo ) returns NaN. - remquo(
x , , quo ) returns x .
- Note:
- For accuracy information for this function see the CUDA C Programming Guide, Appendix C, Table C-2.
|