Trailing-Edge
-
PDP-10 Archives
-
BB-D480G-SB_FORTRAN10_V11.0_short
-
lib.for
There are 11 other files named lib.for in the archive. Click here to see a list.
PROGRAM LIB
!COPYRIGHT (c) DIGITAL EQUIPMENT CORPORATION 1981, 1986
!ALL RIGHTS RESERVED.
!
!THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY BE USED AND COPIED
!ONLY IN ACCORDANCE WITH THE TERMS OF SUCH LICENSE AND WITH THE
!INCLUSION OF THE ABOVE COPYRIGHT NOTICE. THIS SOFTWARE OR ANY OTHER
!COPIES THEREOF MAY NOT BE PROVIDED OR OTHERWISE MADE AVAILABLE TO ANY
!OTHER PERSON. NO TITLE TO AND OWNERSHIP OF THE SOFTWARE IS HEREBY
!TRANSFERRED.
!
!THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE
!AND SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT
!CORPORATION.
!
!DIGITAL ASSUMES NO RESPONSIBILITY FOR THE USE OR RELIABILITY OF ITS
!SOFTWARE ON EQUIPMENT WHICH IS NOT SUPPLIED BY DIGITAL.
! Version 6 LIB.FOR March 81
C Test to see if all intrinsic funtions an Fortran supplied
C subroutines exist. If they don't the LINK-er will complain.
DOUBLE PRECISION D,D2(2)
COMPLEX C,C2(2)
C
STOP ! We don't really want to execute.
C
1000 CALL CHKDIV(I)
CALL CLRFMT(C2)
CALL DATE(II)
CALL DIVERT(I,I)
CALL DUMP(I,I,I)
CALL ERRSET(I,I,I)
CALL ERRSNS(I,I)
CALL EXIT
CALL ILL
CALL LEGAL
CALL LSNGET(I,I)
CALL OVERFL
CALL PDUMP(I,I,I)
CALL SAVFMT(II,I)
CALL SAVRAN(I)
CALL SETRAN(I)
CALL TIME(I,I)
CALL TRACE
CALL SLITET
CALL SLITE
CALL SSWTCH
CALL AXIS ! Plot routines
CALL LINE
CALL MKTBL
CALL NUMBER
CALL PLOT
CALL PLOTS
CALL SCALE
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