1 '\" te
   2 .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved.
   3 .\" Copyright (c) 1992, X/Open Company Limited.  All Rights Reserved.
   4 .\" Portions Copyright (c) 2006, Sun Microsystems, Inc. All Rights Reserved.
   5 .\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at 
   6 .\" http://www.opengroup.org/bookstore/.
   7 .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html.
   8 .\"  This notice shall appear on any product containing this material.
   9 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
  10 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
  11 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
  12 .TH y0 3M "12 Jul 2006" "SunOS 5.11" "Mathematical Library Functions"
  13 .SH NAME
  14 y0, y0f, y0l, y1, y1f, y1l, yn, ynf, ynl \- Bessel functions of the second kind
  15 .SH SYNOPSIS
  16 .LP
  17 .nf
  18 c99 [ \fIflag\fR... ] \fIfile\fR... \fB-lm\fR [ \fIlibrary\fR... ]
  19 #include <math.h>
  20 
  21 \fBdouble\fR \fBy0\fR(\fBdouble\fR \fIx\fR);
  22 .fi
  23 
  24 .LP
  25 .nf
  26 \fBfloat\fR \fBy0f\fR(\fBfloat\fR \fIx\fR);
  27 .fi
  28 
  29 .LP
  30 .nf
  31 \fBlong double\fR \fBy0l\fR(\fBlong double\fR \fIx\fR);
  32 .fi
  33 
  34 .LP
  35 .nf
  36 \fBdouble\fR \fBy1\fR(\fBdouble\fR \fIx\fR);
  37 .fi
  38 
  39 .LP
  40 .nf
  41 \fBfloat\fR \fBy1f\fR(\fBfloat\fR \fIx\fR);
  42 .fi
  43 
  44 .LP
  45 .nf
  46 \fBlong double\fR \fBy1l\fR(\fBlong double\fR \fIx\fR);
  47 .fi
  48 
  49 .LP
  50 .nf
  51 \fBdouble\fR \fByn\fR(\fBint\fR \fIn\fR, \fBdouble\fR \fIx\fR);
  52 .fi
  53 
  54 .LP
  55 .nf
  56 \fBfloat\fR \fBynf\fR(\fBint\fR \fIn\fR, \fBfloat\fR \fIx\fR);
  57 .fi
  58 
  59 .LP
  60 .nf
  61 \fBlong double\fR \fBynl\fR(\fBint\fR \fIn\fR, \fBlong double\fR \fIx\fR);
  62 .fi
  63 
  64 .SH DESCRIPTION
  65 .sp
  66 .LP
  67 These functions compute Bessel functions of \fIx\fR of the second kind of
  68 orders 0, 1 and \fIn\fR, respectively.
  69 .SH RETURN VALUES
  70 .sp
  71 .LP
  72 Upon successful completion, these functions return the relevant Bessel value of
  73 \fIx\fR of the second kind.
  74 .sp
  75 .LP
  76 If \fIx\fR is NaN, a NaN is returned.
  77 .sp
  78 .LP
  79 If \fIx\fR is negative, \(mi\fBHUGE_VAL\fR or NaN is returned.
  80 .sp
  81 .LP
  82 If \fIx\fR is 0.0, \(mi\fBHUGE_VAL\fR is returned.
  83 .sp
  84 .LP
  85 If the correct result would cause overflow, \(mi\fBHUGE_VAL\fR is returned.
  86 .sp
  87 .LP
  88 For exceptional cases, \fBmatherr\fR(3M) tabulates the values to be returned as
  89 specified by SVID3 and XPG3.
  90 .SH ERRORS
  91 .sp
  92 .LP
  93 No errors are returned.
  94 .SH USAGE
  95 .sp
  96 .LP
  97 An application wanting to check for exceptions should call
  98 \fBfeclearexcept\fR(\fBFE_ALL_EXCEPT\fR) before calling these functions. On
  99 return, if \fBfetestexcept\fR(\fBFE_INVALID\fR | \fBFE_DIVBYZERO\fR |
 100 \fBFE_OVERFLOW\fR | \fBFE_UNDERFLOW\fR) is non-zero, an exception has been
 101 raised. An application should either examine the return value or check the
 102 floating point exception flags to detect exceptions.
 103 .SH ATTRIBUTES
 104 .sp
 105 .LP
 106 See \fBattributes\fR(5) for descriptions of the following attributes:
 107 .sp
 108 
 109 .sp
 110 .TS
 111 tab() box;
 112 cw(2.75i) |cw(2.75i) 
 113 lw(2.75i) |lw(2.75i) 
 114 .
 115 ATTRIBUTE TYPEATTRIBUTE VALUE
 116 _
 117 Interface StabilitySee below.
 118 _
 119 MT-LevelMT-Safe
 120 .TE
 121 
 122 .sp
 123 .LP
 124 The \fBy0()\fR, \fBy1()\fR, and \fByn()\fR functions are Standard. The
 125 \fBy0f()\fR, \fBy0l()\fR, \fBy1f()\fR, \fBy1l()\fR, \fBynf()\fR, and
 126 \fBynl()\fR functions are Stable.
 127 .SH SEE ALSO
 128 .sp
 129 .LP
 130 \fBisnan\fR(3M), \fBfeclearexcept\fR(3M), \fBfetestexcept\fR(3M), \fBj0\fR(3M),
 131 \fBmath.h\fR(3HEAD), \fBmatherr\fR(3M), \fBattributes\fR(5), \fBstandards\fR(5)