3.210. __nv_j1f

float @__nv_j1f(float %x)

Calculate the value of the Bessel function of the first kind of order 1 for the input argument.

Calculate the value of the Bessel function of the first kind of order 1 for the input argument x, \(J_1(x)\).

Note

For accuracy information, see the CUDA C++ Programming Guide, Mathematical Functions Appendix, Single-Precision Floating-Point Functions section.

Returns

Returns the value of the Bessel function of the first kind of order 1.

  • __nv_j1f( \(\pm 0\) ) returns \(\pm 0\).

  • __nv_j1f( \(\pm \infty\) ) returns \(\pm 0\).

  • __nv_j1f(NaN) returns NaN.