# Copyright (C) Gaston H. Gonnet

# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

e := DBL_EPSILON:
nu := 0:
y0 := x -> BesselY(nu,x):
beta := (s+nu/2-3/4)*Pi:
mu := 4*nu^2:
Y0zeros := seq( fsolve( BesselY(nu,x)=0, x=beta-(mu-1)/8/beta ), s=1..20 ):
GenerateTestFunction( y0, C, y0,
   { DBL_MIN, -DBL_MIN, DBL_MAX, Y0zeros },
   { 0..1, 1..10, 10..62, 62..1/e, 1/e..DBL_MAX } );
