Questions tagged [fortran]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
13
votes
7answers
2k views

Do any mainframe emulators exist with a functional FORTRAN compiler?

Similar to this question, but generalized to any mainframe computer from before the microprocessor era, does there exist an emulator and OS for a vintage mainframe computer that will run the output ...
3
votes
2answers
277 views

Which language was faster at executing programs, Algol or Fortran?

For scientific and high performance computing Algol was considered, and possibly is still considered by some, to be a more powerful language than Fortran. For the same algorithm encoded in both ...
46
votes
2answers
5k views

What did the DoD think Fortran lacked?

According to https://en.wikipedia.org/wiki/COBOL the project to design COBOL began when On 28 and 29 May 1959 (exactly one year after the Zürich ALGOL 58 meeting), a meeting was held at the Pentagon ...
5
votes
3answers
293 views

Was this FORTRAN “extension” originated by IBM?

This question has been prompted by a recent question about the assigned GOTO operator. It appears that some early FORTRAN implementations supported a non-obvious construct: using an indexed variable ...
5
votes
3answers
756 views

Why did the assigned goto statement in Fortran need a label list?

FORTRAN had an 'assigned goto' statement. Firstly, a statement number is assigned to a variable: ASSIGN 42 TO L Subsequently, one can obey GOTO L which (given the preceding ASSIGN) would transfer ...
17
votes
2answers
2k views

When did FORTRAN decide on signed integers?

I have personally always been of the opinion that it would make sense for the default integer type to be unsigned, though it's been a long time since that would've been a live issue for debate; C in ...
9
votes
9answers
3k views

How did dusty deck Fortran handle overflow?

In Fortran 77, numerical code that ran on IBM, CDC, Cray etc, how was overflow typically handled? Did it raise an exception? (I would expect such an exception to be inexact on vector machines, i.e. to ...
9
votes
1answer
393 views

Which pre-IEEE computers had a single precision FPU and implemented double precision floats in software?

Before the formats of floating point numbers have been standardized in IEEE 754 in 1985, different vendors had used many different floating point formats, some of them listed on the Data Format and ...
13
votes
1answer
740 views

Fortran variable type defaults - origin

In older versions of Fortran, e.g. 77, variables did not need to be declared. If the name starts with I, J, K, L, M, or N then it would be assumed to be an INTEGER. Otherwise, it would be assumed to ...
10
votes
1answer
306 views

Does a CDC 1604 emulator exist with a functional FORTRAN compiler?

The first FORTRAN compiler for the Soviet BESM-6 mainframe was written by means of manually retargeting the assembly code of the CDC 1604 FORTRAN compiler donated by CERN to JINR. As a result is it ...
1
vote
2answers
287 views

How to render FORTRAN overprinting in HTML? [closed]

Consider a FORTRAN program РRINТ 1 1 FОRМАТ(1Х,’ GООD ВУЕ НЕLLО, WОRLD’/’+ХХХХ ХХХ’) ЕND (YMMV re the number of leading spaces to align Xes with "GOOD BYE") Its output, using the SIMH ...