Mathematical expression syntax (was: C vs. Fortran)

Doug Gwyn gwyn at brl-smoke.ARPA
Fri Jul 1 07:26:25 AEST 1988


In article <20509 at beta.lanl.gov> jlg at beta.lanl.gov (Jim Giles) writes:
>The parts of Fortran which represent scalar mathematical expressions
>do a creditable job of keeping to traditional mathematical syntax.

Yeah, like	X = X + 1
		SNARF(IY) = 2 * (ZZ ** 3 - FLOAT( IY )) / SQRT( 2.0 )
(Quick, was that an array assignment or a statement function definition?)

Could this discussion of Fortran and "mathematical syntax" please be
moved out of the C newsgroup?  Better yet, could the whole "my
language is better than yours" discussion cease?  The original
question was whether a particular shop should perform a wholesale
conversion of existing Fortran code to C.  A useful answer to such
a question would have very little to do with which language is
closest to mathematical syntax, whatever that is supposed to mean.



More information about the Comp.lang.c mailing list