# ai.f

          FUNCTION AI (X)
    C***BEGIN PROLOGUE  AI
    C***PURPOSE  Evaluate the Airy function.
    C***LIBRARY   SLATEC (FNLIB)
    C***CATEGORY  C10D
    C***TYPE      SINGLE PRECISION (AI-S, DAI-D)
    C***KEYWORDS  AIRY FUNCTION, FNLIB, SPECIAL FUNCTIONS
    C***AUTHOR  Fullerton, W., (LANL)
    C***DESCRIPTION
    C
    C AI(X) computes the Airy function Ai(X)
    C Series for AIF        on the interval -1.00000D+00 to  1.00000D+00
    C                                        with weighted error   1.09E-19
    C                                         log weighted error  18.96
    C                               significant figures required  17.76
    C                                    decimal places required  19.44
    C
    C Series for AIG        on the interval -1.00000D+00 to  1.00000D+00
    C                                        with weighted error   1.51E-17
    C                                         log weighted error  16.82
    C                               significant figures required  15.19
    C                                    decimal places required  17.27
    C
    C***REFERENCES  (NONE)
    C***ROUTINES CALLED  AIE, CSEVL, INITS, R1MACH, R9AIMP, XERMSG
    C***REVISION HISTORY  (YYMMDD)
    C   770701  DATE WRITTEN
    C   890531  Changed all specific intrinsics to generic.  (WRB)
    C   890531  REVISION DATE from Version 3.2
    C   891214  Prologue converted to Version 4.0 format.  (BAB)
    C   900315  CALLs to XERROR changed to CALLs to XERMSG.  (THJ)
    C   900326  Removed duplicate information from DESCRIPTION section.
    C           (WRB)
    C   920618  Removed space from variable names.  (RWC, WRB)
    C***END PROLOGUE  AI