This is an explanation web page for the program extinct.for which is archived at ASCL.net under hakkila990602.html.
The routines COSD, SIND, TAND, TAN2D, and the inverses of these functions are built in to many FORTRAN compilers. For example, they are standard on many VAXes. However, I taught FORTRAN this past year, and was kind of disturbed to discover that these functions are not FORTRAN 77 standards. Thus, I really don't know what to tell you about where they originate.
The routines are easy to write: the only difference between them and the accepted standards is that their arguments are in degrees rather than in radians. The routines could just do the conversion and call the accepted FORTRAN built-in functions.
Example:
FUNCTION COSD(X)
Y = X / 57.2957787
COSD = COS(Y)
END
The main reason for not including them is that some compilers may already have them. - Dr. Jon Hakkila