carta
j1(3)

j13

Bessel functions of first and second kind

Part of j0(3).

Usage

double

float

double

float

double

float

double

float

double

float

double

float

Library

Math Library (libm, -lm)

Overview

The functions j0(), j0f(), j1(), and j1f() compute the Bessel function of the first kind of orders 0 and 1 for the real value x; the functions jn() and jnf() compute the Bessel function of the first kind of the integer order n for the real value x.

The functions y0(), y0f(), y1(), and y1f() compute the linearly independent Bessel function of the second kind of orders 0 and 1 for the positive real value x; the functions yn() and ynf() compute the Bessel function of the second kind for the integer order n for the positive real value x.

Return values

These routines return values of their respective Bessel functions. For large positive inputs, they may underflow and return 0.

The following applies to y0(), y0f(), y1(), y1f(), yn(), and ynf(). If x is negative, including -, these routines will generate an invalid exception and return . If x is 0, these routines will generate a divide-by-zero exception and return -. If x is a sufficiently small positive number, then y1(), y1f(), yn(), and ynf() will generate an overflow exception and return -.

History

  • FreeBSD 16.0-CURRENT (2026-10-27) to FreeBSD 15.0-RELEASE: the text shown here
  • FreeBSD 14.5-RELEASE to FreeBSD 13.3-RELEASE
  • FreeBSD 13.2-RELEASE to FreeBSD 13.0-RELEASE
  • FreeBSD 12.4-RELEASE
  • FreeBSD 12.3-RELEASE
  • FreeBSD 12.2-RELEASE
  • FreeBSD 12.1-RELEASE
  • FreeBSD 12.0-RELEASE
  • FreeBSD 11.4-RELEASE
  • FreeBSD 11.3-RELEASE
  • FreeBSD 11.2-RELEASE
  • FreeBSD 11.1-RELEASE
  • FreeBSD 11.0-RELEASE
  • FreeBSD 10.4-RELEASE
  • FreeBSD 10.3-RELEASE
  • FreeBSD 10.2-RELEASE
  • FreeBSD 10.1-RELEASE
  • FreeBSD 10.0-RELEASE
  • FreeBSD 9.3-RELEASE
  • FreeBSD 9.2-RELEASE
  • FreeBSD 9.1-RELEASE
  • FreeBSD 9.0-RELEASE
  • FreeBSD 8.4-RELEASE
  • FreeBSD 8.3-RELEASE
  • FreeBSD 8.2-RELEASE
  • FreeBSD 8.1-RELEASE
  • FreeBSD 8.0-RELEASE
  • FreeBSD 7.4-RELEASE
  • FreeBSD 7.3-RELEASE
  • FreeBSD 7.2-RELEASE
  • FreeBSD 7.1-RELEASE
  • FreeBSD 7.0-RELEASE
  • FreeBSD 6.4-RELEASE
  • FreeBSD 6.3-RELEASE
  • FreeBSD 6.2-RELEASE to FreeBSD 6.0-RELEASE
  • FreeBSD 5.5-RELEASE to FreeBSD 5.4-RELEASE
  • FreeBSD 5.3-RELEASE to FreeBSD 5.0-RELEASE
  • FreeBSD 4.11-RELEASE to FreeBSD 4.5-RELEASE
  • FreeBSD 4.4-RELEASE
  • FreeBSD 4.3-RELEASE to FreeBSD 4.0-RELEASE
  • FreeBSD 3.5.1-RELEASE to FreeBSD 3.5-RELEASE
  • FreeBSD 3.4-RELEASE to FreeBSD 3.3-RELEASE
  • FreeBSD 3.2-RELEASE to FreeBSD 3.0-RELEASE
  • FreeBSD 2.2.9-RELEASE
  • FreeBSD 2.2.8-RELEASE to FreeBSD 2.2.2-RELEASE
  • FreeBSD 2.1.7.1-RELEASE to FreeBSD 2.1.5-RELEASE
  • FreeBSD 2.0.5-RELEASE

Standards

The j0(), j1(), jn(), y0(), y1(), and yn() functions conform to IEEE Std 1003.1-2001 (“POSIX.1”). The float versions are extensions.

History

This set of functions appeared in Version 7 AT&T UNIX.

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.