Looking for improved integer's math routines
Mike Mansheim email (remove spam text)
> Did you have 64 bit Bin2dec routine.
> I have but it taks much time to execute.
No, but I was able to extend John Payson's 16 bit routine using
Scott Dattalo's excellent explanation of the algorithm, and I'm
no math whiz. I only needed an extra bit, to fully utilize a
5 digit display. The coefficient calculations are no longer
highly optimized, but it is still much quicker than the "normal"
(to me) way of doing this. With a bit of work, it could be
extended to 64 bits.
By the way, 64 bits??? That's a lot of digits!
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email mitvma.mit.edu with SET PICList DIGEST in the body listserv
See also: www.piclist.com/techref/microchip/math/index.htm?key=math
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the