Files
Eremey Valetov 2b0ad2344c Record 704 floating point, EQUIVALENCE, and the i704 examines.
The subset can now run the C28 common reorder and real arithmetic from
form 24-6661-2. Machine examines are saved. A FORTRAN listing still
needs a system tape, so the expected files stay this runtime's stdout.
A real exponent counts as an integer only when it is exact, and a READ
exponent that does not fit is not wrapped into a small power.
2026-11-10 15:51:31 -05:00

13 lines
297 B
FortranFixed

C 704 ARITHMETIC FROM FORM 24-6661-2. NOT AN I704 FORTRAN PRINTOUT.
DIMENSION A(2, 2)
A(1, 1) = 1.0
A(2, 1) = 2.0
A(1, 2) = 3.0
A(2, 2) = 4.0
PRINT 1, A
1 FORMAT(1H ,4F6.1)
PRINT 2, (A(I, 1), I = 1, 2)
2 FORMAT(1H ,2F6.1)
STOP
END