3.114. __nv_fast_logf

float @__nv_fast_logf(float %x)

Calculate the fast approximate base \(e\) logarithm of the input argument.

Calculate the fast approximate base \(e\) 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_e(x)\).