BCD cfr ICD

new topic     » topic index » view thread      » older message » newer message

As those of you interested in the bcd-thread might have guessed from my last
post on it, I changed thoughts and am currently redoing it as an ICD-version. For
that I thank (and give due credit to) Pete and Ricardo for their remarks and
comments. It will still have the capability of importing and exporting BCD. The
core however is fully integer-based. Some preliminary timings:
(Not including conversion-timings, as they will only have to be done once at
start and end of program, when working with ICD for EG accounting)

Worst case mul 256digits*256digits:     < 1   millisec,
real-world case 32d*32d                       20    microsec.
Add 1000 32d numbers in one go:       225    microsec.
Single add                                            1.5 microsec.
Carries taking abt 90/100 and more of all time involved

If this speed will be okay I'll do a lib, containing + , - , * , /  , pwr and
root2. If not up to expectations I'll quit and go on with my 2 major projects.

antoine

BTW, Kat, did you get my direct post? Why, if so, not replied at least with a
10-4 NTx O+O?

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu