Article View: comp.arch
Article #12174Re: Implementing Interval Arithmetic with IEEE rounding modes
From: jbs
Date: Wed, 19 Jun 1991 04:22
Date: Wed, 19 Jun 1991 04:22
14 lines
1034 bytes
1034 bytes
David Hinds said:
Really, it seems to me that if support for interval arithmetic is built
into a compiler, it should be able to optimize away most of the rounding
mode changes without too much trouble. This should be trivial for the
cases where the mode changes would otherwise do the most damage, such as
in tight inner loops with no dependencies, i.e., vector operations. Just
split and do two loops, one for the lower and one for the upper vectors.
I believe if you try to do this with
DO 10 J=1,N
10 X(J)=Y(J)*Z(J)
you will discover things are not so simple.
James B. Shearer
Technical Details
Message-ID:
<9106190427.AA02284@ucbvax.Berkeley.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!WATSON.IBM.COM!jbsShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!WATSON.IBM.COM!jbs From: jbs@WATSON.IBM.COM Newsgroups: comp.arch Subject: Re: Implementing Interval Arithmetic with IEEE rounding modes Message-ID: <9106190427.AA02284@ucbvax.Berkeley.EDU> Date: 19 Jun 91 04:22:54 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 14