Commenfs
The
FORTRAN
Card
Floating
Point
Arithmetic
12
NOTE:
The
headings above
the
columns, e.g.,
STATEMENT
NUMBER,
are
merely
guides;
they
do
not
restrict
the
user
in
any
manner.
In
other
words, statements
may
start
in
any of
the
72 columns.
Of
course, a statement number, if used,
must
precede
the
statement
(see
STATEMENT
NUMBERS).
Any statement
that
begins
with
the
letter C followed
by
two blanks
is
considered
to be a comment statement. A comment
statement
is
a means of inserting identi-
fying headings, etc., into
the
program.
It
is
not
compiled
and
therefore does
not
become
part
of
the
object program.
Each
line of
the
coding form is
punched
into a
separate
card.
The
standard
FORTRAN
card
is
shown below.
/
~~
STATEMENT
~
FORTRAN
STATEMENT
IDENTIFICATION
HUWe!R
!!
0'0000
0000000000000000000000000000000000000000000000000000000000000000000
00000000
,I".
,
,6
71.wngg~~"n""M~nn~~~n~~~nm~~~~P~~~n~~~~.a~U~~~~M~~~Y"~~Uuw~.~.nronn
7l14~1I17J17t.
111111
1 1 1 1 1 1 11 1
111
1 1 1 1 1 1 1 1 1 1 1 1 1 1 11 1 1 1 1 1 1 1 1 1 1 1
111
1 1 1 1 1 1 1 1 1 1
11111
1 1
11
1 11
111
11111111
,
212222
2222222222222222222222222222222222222222222222222222222222222222222
22222222
3
1
333
3
3333333333333333333333333333333333333333333333333333333333333333333
33333333
4:44
4 4
4444444444444444444444444444444444444444444444444444444444444444444
44444444
51555 5
5555555555555555555555555555555555555555555555555555555555555555555
55555
5 5 5
6
1
66 6 6
6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6
& 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6
66
66666666
I
717
77 7 7 7 11 7 7
1111
7
111
7 1 7 7 7
11
7 7
1111
7 11 7 7 7 7 7
111
7 7 7
111
7
11
7 7 7
177 111
7
11111
717777
77777771
8:
8 8 8
B8
\8
8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8
88888888
919
9 9 9
919
9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9
~
9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9
99999999
11
2 J 4
~
I 1 I •
10
11
1%
13 14
15
II
17 11
I'
28
21
22 21 24
2S
21
21
21
2t
30
31
32
33
34
l5
31 31
II
11
40
41
4Z
43
444154141
.....
5CI
"
~
53
5UO st
57 51
51
• II
82
13
.415
16
11
II
"
10
11
12
374157111117'.
'I"
888157
Columns 1
through
72 of
the
card
are
used
to record
data
from
the
cor-
responding columns of
the
coding form. Columns
7.3
through
80
are
used for
identification.
The
identification field is usually divided into two parts.
The
first
part
may contain a specific job
number
assigned to
the
problem
by
the
pro-
grammer;
the
second
part
is
used to assign a sequence
number
to
each
card
in
the
program.
The
identification
number
"180024" in a
card
could
mean
it
is
the
24th
card
in
the
deck for job no. 18. This field,
used
at
the
option of
the
programmer, is of
great
value
if
cards from one
program
are
mixed
with
other
cards or
are
accidentally
upset
and
their sequence lost.
Scientific
and
engineering computations frequently involve lengthy
and
complex
calculations
in
which
it
is necessary to
manipulate
numbers
that
may
vary
widely
in
magnitude.
To
obtain
a meaningful answer, problems of this
type
usually
require
that
as
many
significant digits as possible
be
retained
during
calculation,
and
that
the
decimal
point
always
be
properly
located.
When
applying such
problems to a computer, several factors
must
be
taken
into consideration,
the
most
important
of
which
is
the
decimal
point
location.
Generally speaking, a
computer
does
not
recognize
the
decimal
point
present
in
any
quantity
used
during
the
calculation.
Thus
a
product
of 414154 will result