🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #2470

Re: Fortran vs. C for numerical work - expression notation

#2470
From: John Prentice
Date: Mon, 10 Dec 1990 07:14
47 lines
2701 bytes
In article <4390:Dec1003:50:4790@kramden.acf.nyu.edu> brnstnd@kramden.acf.nyu.edu (Dan Bernstein) writes:
>> To use LaTex format, one writes 
>> exponentiation as x^{y} in normal mathematical notation
>
>I see no relations between a**b, pow(a,b), a^{b}, and superscript
>notation other than that Fortran and LaTeX use (different) infix, C uses
>prefix, and math uses superscript.
>
>So your argument reduces to ``If LaTeX uses an infix notation, then any
>infix notation is more standard than any prefix notation.'' This is
>ridiculous.
>

Whoa!  You misinterpreted what I said.  I was using LaTex notation just
as a device for expressing 
                                y
                               x

on the screen.  I was not suggesting that because LaTex does something
that it must be right.  Come on now.  All I was saying was that infix
notation is what mathematicians use for exponentiation so it strikes
me that if you are going to worry over whether infix or prefix is
more "natural", the infix notation is in this case.  Honestly I think
the issue is overblown.

>Why? Let's try to use logic, not handwaving. Also note that Jim and I
>are talking about ``standard mathematical notation.''

I hope my previous paragraph clears this up.

>> >Most professional Fortran programmers groan when they hear that
>> >Fortran 8X (oops, 9X) has a > b. Maybe ``standard mathematical
>> >notation'' isn't as important as familiar notation...
>> We must know different professional Fortran programmers.  I have never 
>> heard anyone make this comment.
>
>This was the uniform reaction of a large roomful of Fortran programmers
>at Brookhaven National Laboratory in 1987 at a presentation of Fortran
>8X, and I've heard the same opinion from many other people. Who's your
>source?

I have heard alot of groaning about Fortran Extended being too big, too
much like Ada, etc...  I have NEVER heard a room full of Fortran 
programmers complain about it however because it uses < instead of
.lt. (which is what you said).

John
Technical Details
Message-ID: <1990Dec10.071457.21537@ariel.unm.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!julius.cs.uiuc.edu!news.cs.indiana.edu!ariel.unm.edu!ghostwheel.unm.edu!john
References: <8339@lanl.gov> <914:Dec923:50:2990@kramden.acf.nyu.edu> <1990Dec10.023332.15164@ariel.unm.edu> <4390:Dec1003:50:4790@kramden.acf.nyu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!julius.cs.uiuc.edu!news.cs.indiana.edu!ariel.unm.edu!ghostwheel.unm.edu!john
From: john@ghostwheel.unm.edu (John Prentice)
Newsgroups: comp.lang.misc
Subject: Re: Fortran vs. C for numerical work - expression notation
Message-ID: <1990Dec10.071457.21537@ariel.unm.edu>
Date: 10 Dec 90 07:14:57 GMT
References: <8339@lanl.gov> <914:Dec923:50:2990@kramden.acf.nyu.edu> <1990Dec10.023332.15164@ariel.unm.edu> <4390:Dec1003:50:4790@kramden.acf.nyu.edu>
Sender: John K. Prentice
Organization: University of New Mexico Math Dept., Albuquerque, NM
Lines: 47