1. RE:bcd
- Posted by a.tammer at hetnet.nl Apr 14, 2002
- 385 views
Hi Kat,Pete,Chris,Euman (For courtesy I did put you first Kat), Pete is closest with the idea of storage and representation of the coded stuff, but I manage to cramp 9 coded digits into a 32-bits space. Yet Euman isn't far beside the fact with his message `that should be shot` as well. My system would store results almost exactly as Pete supposed, but I would create an E(xtended)FP notation for the final result, Exponent in the first integer, and up to max. 9 bytes in each following integer. For calculation I intend to Xplode these to: 1 exponent_integer and (N-1)*9+(1...9) integers, then performing the INTEGERcalculations on my sequences. So all arithmetics would be integer-based, yet giv decimal final results. Thus I profit from the greater speed of integer-calc in EU. I leave you the enigma of how to store 9 nibbles in 32 bits. It has to do with free-dimensional looks at matters. antoine