Re: BCD-lib
- Posted by Derek Parnell <ddparnell at bigpond.com> Apr 13, 2002
- 416 views
A BCD library would dbe very useful. ----- Original Message ----- From: <a.tammer at hetnet.nl> To: "EUforum" <EUforum at topica.com> Subject: BCD-lib Over the last few days i've been doing a bit of bcd-ing (simple things like +,-,/,*,^ and sqrt). the routines i wrote seem to run at an acceptable speed (EG adding 100,000 42-digit number`strings` takes less than a second). if some of you are interested in it, i will `do a lib` of what i have so far and post it before the end of this month to Rob. for the time being the routines take either a sequence of atoms & integers OR a sequence of sprintf()ed atoms & ints. if you all can live with this limitation let me know through the forum and i'll do the job. we're talking full decimal calculations and not like most BCD-implementations i found (like ABC) long integer-calculations. antoine tammer