3.112. __nv_fast_log10f

float @__nv_fast_log10f(float %x)

Calculate the fast approximate base 10 logarithm of the input argument.

Calculate the fast approximate base 10 logarithm of the input argument x.

Note

For accuracy information, see the CUDA C++ Programming Guide, Mathematical Functions Appendix, Intrinsic Functions section.

Note

Most input and output values around denormal range are flushed to sign preserving 0.0.

Returns

Returns an approximation to \(\log_{10}(x)\).