3 ms·
If you're interested in safer code when working with older versions of Fortran, add 'implicit none' at the top. This will eliminate the integer vs. float autom
by jleyank 10mo ago
If you're interested in safer code when working with older versions of Fortran, add 'implicit none' at the top. This will eliminate the integer vs. float automatic assignment and make variable definition much tighter. Back when I mucked about with Fortran (previous century really), we tried to do the memory allocation and I/O in C and the compute in Fortran. That would play well with both superscalar and vector machines.
- layer8 10mo agoYou didn’t read the article?
- jleyank 10mo agoAll of it, no. But I never used Fortran 90 yet used implicit none. Might have been an extension from SGI or a mini super but I recall using it.
- Neywiny 10mo agoPro tip: ctrl-f or find in page helps a lot. The author talks about implicit none and shows it in code.