3.233. __nv_log10
-
double @__nv_log10(double %x)
Calculate the base 10 logarithm of the input argument.
Calculate the base 10 logarithm of the input argument
x.Note
For accuracy information, see the CUDA C++ Programming Guide, Mathematical Functions Appendix, Double-Precision Floating-Point Functions section.
- Returns
__nv_log10( \(\pm 0\) ) returns \(-\infty\).
__nv_log10(1) returns +0.
__nv_log10(
x) returns NaN forx< 0.__nv_log10( \(+\infty\) ) returns \(+\infty\).