Article View: comp.sys.misc
Article #1987Extended Precision Algorithms
From: Jerry J Trantow
Date: Fri, 10 Feb 1989 19:37
Date: Fri, 10 Feb 1989 19:37
10 lines
1089 bytes
1089 bytes
Could someone please point me to some references for extended precision arithmetic with the 68000 (and 020). I need to work with QUADs, so that I don't overflow unsigned longs (32bits) during some calculations. I already have working QuadAdd(), QuadMult(), and QuadDiv() assembly routines. I think my QuadAdd() and QuadMult() are fairly good, but it seems like my QuadDiv() could be simplified. I would appreciate any references to 64/32=32 bit division and 32X32=64 bit multiplies. By the way, the 020 instructions make this stuff trivial, but I want to have versions that will work with either processor.
Technical Details
Message-ID:
<867@csd4.milw.wisc.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!trantowShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!trantow From: trantow@csd4.milw.wisc.edu (Jerry J Trantow) Newsgroups: comp.sys.misc Subject: Extended Precision Algorithms Summary: References/ Code Wanted Message-ID: <867@csd4.milw.wisc.edu> Date: 10 Feb 89 19:37:16 GMT Sender: news@csd4.milw.wisc.edu Reply-To: trantow@csd4.milw.wisc.edu (Jerry J Trantow) Distribution: na Organization: University of Wisconsin-Milwaukee Lines: 10