Why I use C instead of fortran
der Mouse
mouse at mcgill-vision.UUCP
Wed Mar 9 20:16:16 AEST 1988
In article <259 at tolsun.oulu.fi>, jto at tolsun.oulu.fi (Jarkko Oikarinen) writes:
[Apparently this is someone else (Jouko Holopainen?) again]
> In aticle 4882 Tom Stockfisch writes:
>> In article <4257> Jouko Holopainen writes by courtesy of Jarkko Oikarinen:
>> [I use FORTRAN for nothing but complex arithmetic.] As soon as C++
>> becomes widely available, I won't use fortran at all.
> Can You write a=b**c/d+e... in C++ with complex operators?
Probably not (I don't think you can change the tokenizing rules to make
** a single operator), but you can certainly write a=b^c/d+e. (Though
you may need to parenthesize to get ^ to take precedence over /, and it
is arguably bad style to have ^ mean XOR for integers and
exponentiation for complex.)
> If this is the case, how can You redefine division?
There is a syntax for it, which I don't know the details of (I don't
use C++; I know what it can do but not the details of how it does it).
der Mouse
uucp: mouse at mcgill-vision.uucp
arpa: mouse at larry.mcrcim.mcgill.edu
More information about the Comp.lang.c
mailing list