[comp.lang.c++] 64 bit Integer class

paul@gill.UUCP (Paul Nordstrom) (07/06/89)

I am building a 64 bit integer class.  If anyone out there has already done
this and is willing to part with the code, please contact me via e-mail.  
Also, if anyone knows of a source of c or 68K assembly language routines 
handling basic mathematical operations on 64 bit integers, I would be 
interested in those as well.  Thanks in advance for any replies.

Paul Nordstrom
Gill & Co., L.P.
uunet!gill!paul

jima@hplsla.HP.COM (Jim Adcock) (07/07/89)

I have int64 and int128 classes written in relatively portable C++.  They're
about 10x slower that built-in ints.  For faster performance rewritting some
stuff in assembly would allow you to make use of the carry bit -- resulting
in code that would be several times faster.