Re: Fortran vs. C++ : Which is best to choose now i

From: Gerry Thomas (gfthomas_at_sympatico.ca)
Date: 02/08/04


Date: Sun, 8 Feb 2004 10:30:37 -0500


"Dan Nagle" <dnagle@erols.com> wrote in message
news:4o6c209vdvsoat8bhp90nhal0edmg2urv8@4ax.com...

[...]

> Show me an _elementary_ text describing OOP _which is applicable
> to floating point_ and I'll try to read it.

You don't appear to have looked too hard. Start here
http://www.math.wayne.edu/~yang/book.html Chapters 7-11, for example.

Your perceived clash between the treatment of floating point and integer
data types has less to do with the merits or otherwise of OPP and
genericity than language committees' (C++, Fortran, etc) opposition to the
adoption and compliance with ISO/IEC LIA 10967 which has been in draft for
a decade.

It has taken Fortran 20 years to provide support for ieee fp error
handling. How long more does one have to wait for integer overflow
detection, undoubtedly one of the reasons why numerous invalid but
conforming Fortran programs blithely spew their dubious issue to their
unsuspecting architects? And all this from a language that proclaims its
superiority in matters numeric!

-- 
Ciao,
Gerry T.
______
"The most successful tyranny is not the one that uses force to assure
uniformity but the one that removes the awareness of other possibilities,
that makes it seem inconceivable that other ways are viable, that removes
the sense that there is an outside." -- Allan Bloom, in The Closing of the
American Mind.


Relevant Pages

  • Re: Why float is called as float, not real?
    ... My guess is that "floating point" was used to distinguish the data representation from "fixed point." ... The oldest computer languages I've used, FORTRAN and ALGOL, both use "real," but as Glen noted, that wasn't the case with primeval FORTRAN. ... As Gib noted, even with a countably infinite number of bits, computers couldn't come close to representing all of the reals. ...
    (comp.lang.fortran)
  • Re: help reading fortran generated binary data...
    ... >> Helmut Giese ... That would probably have been Arjen, Tcl's FORTRAN guru:) but he ... floating point values as raw binary data, so I am only guessing here. ... read them back in using programs compiled with the same compiler - ...
    (comp.lang.tcl)
  • Re: This calculation is just wrong / computer cant count!
    ... Being a FORTRAN programmer is clearly to your advantage. ... was also my first language) these things were carefully explained to us. ... everything mentioned so far in this thread, including guard bits. ... If your algorithm is sensitive to the inaccuracy of the LSB of floating ...
    (microsoft.public.vc.mfc)
  • Re: Looping using iterators with fractional values
    ... As an historical aside, Fortran had loops ... The Fortran standards committee is very conservative about ... with floating point variables are so error-prone -- and alternatives ...
    (comp.lang.python)
  • Re: How can MIN macro without :? be written?
    ... (Yes, I'm ignoring things like integer overflow, loss of floating point ...
    (comp.lang.c)