[daip] Re: SETFC

Eric Greisen egreisen at NRAO.EDU
Mon Jun 26 17:03:25 EDT 2000


Joseph Lazio writes:
 > Hi,
 > 
 > Within the FLYEYE subroutine of SETFC appears the following
 > computation
 > 
 >               XD = RAD2DG * ACOS (SINFLD * SINDEC +
 >      *              COSFLD * COSDEC * COS (XRA*DG2RAD - SRA))
 > 
 > I've discovered that numerical errors can conspire to produce an
 > argument to the ACOS function slightly larger than 1.0.  May I suggest 
 > that this line be replaced by the following fragment

   Done.

Eric



More information about the Daip mailing list