Compute double-precision floating-point remainder r of dividing x by y for nonzero y. Thus . The value n is the integer value nearest . In the case when , the even n value is chosen.
Returns:
remainder(x, 0) returns NaN.
remainder(, y) returns NaN.
remainder(x, ) returns x for finite x.
Note:
For accuracy information for this function see the CUDA C Programming Guide, Appendix C, Table C-2.