🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #11523

float/float = integer, remainder

#11523
From: jbs
Date: Mon, 13 May 1991 02:49
16 lines
1304 bytes
          Herman Rubin states:
                                              I have already pointed out
that every trigonometic and exponential routine does, in some way,
float/float -> integer, remainder.  The integer is also used.

          1.  As I have already pointed out, the actual computation being
done is float/real -> integer, remainder (since pi and ln(2) are not ma-
chine numbers).  A proposed float/float -> integer, remainder instruc-
tion (assuming it ran at the same speed as floating divide, actually it
would probably be slower) would not benefit the trigonometric or
exponential routines on any architecture I am familiar with
          2.  In any case it is not true that "every" exponential routine
does this computation.  The scalar short precision exp routine in IBM's
vs fortran library does not do this computation in any way.
                       James B. Shearer
Technical Details
Message-ID: <9105130317.AA09926@ucbvax.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!WATSON.IBM.COM!jbs

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!WATSON.IBM.COM!jbs
From: jbs@WATSON.IBM.COM
Newsgroups: comp.arch
Subject: float/float = integer, remainder
Message-ID: <9105130317.AA09926@ucbvax.Berkeley.EDU>
Date: 13 May 91 02:49:53 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Lines: 16