Calculate the absolute value of the input argument x
.
- Returns:
- Returns the absolute value of its argument.
- fabs(
) returns
. - fabs(
) returns 0.
- Note:
- For accuracy information for this function see the CUDA C Programming Guide, Appendix C, Table C-1.