This commit was generated by cvs2svn to compensate for changes in r2,
[u/mrichter/AliRoot.git] / MINICERN / mathlib / gen / c / bsja.F
1 *
2 * $Id$
3 *
4 * $Log$
5 * Revision 1.1.1.1  1996/04/01 15:02:08  mclareni
6 * Mathlib gen
7 *
8 *
9 #include "gen/pilot.h"
10 #if defined(CERNLIB_DOUBLE)
11       SUBROUTINE BSJA(X,A,NMAX,ND,B)
12       DOUBLE PRECISION D,DB(0:101)
13       DIMENSION B(0:*)
14
15       SROUND(D)=D+(D-SNGL(D))
16       CALL DBSJA(DBLE(X),DBLE(A),NMAX,ND,DB)
17       GO TO 2
18
19       ENTRY BSIA(X,A,NMAX,ND,B)
20
21       CALL DBSIA(DBLE(X),DBLE(A),NMAX,ND,DB)
22     2 DO 1 N = 0,ABS(NMAX)
23     1 B(N)=SROUND(DB(N))
24       RETURN
25       END
26 #endif