This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Bug with g77 and -mieee on Alpha Linux



Someone else had a pointer to Prof. Kahan's home page (he is one of the
designers of IEEE-754 arithmetic).  There is an another article there,
"How Java's Floating-Point Hurts Everyone Everywhere",
http://www.cs.berkeley.edu/~wkahan/JAVAhurt.pdf, which talks much more
about the pitfalls of floating point than simply bashing Java.  Kahan and
his co-author were trying to convince Sun to abandon some bad decisions
they'd made, and ended up writing one of the best papers on numerical
analysis that I've ever seen.

People writing numerical programs (or fortran compilers) should read this
paper. 

DDJ also has a neat interview with Kahan at
http://www.ddj.com/articles/1997/9711/9711a/9711a.htm

        Andy

-----------------                        XOLD(K,IC,I)=
Andy Vaught               ....        DO ITERS=1, 10  XOLD(K,IC,I)
andy@maxwell.la.asu.edu   |  |   /CALLMSOLVE(A,B,X,I,ITERS,TOL)+(RANNYU(0)
Arizona State University  ======|WRITE(6,'(I5,2X,F12.6)')ITERS,TOL -HALF)
Tempe, Arizona USA        OOOOOO \ENDDORETURN PARAMETER(ZERO=1.D0)*TENTH*DELTA



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]