Re: BCD-lib

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

My understanding from Electronics and its been a long time 10+ years since I
went to school but BCD is a four (4) byte representation of each decimal digit.
If this is the case, then how would it be usefull other than require massive
amounts
of Ram to store even the smallest string???

Euman
euman at bellsouth.net

----- Original Message ----- 
From: "Derek Parnell" <ddparnell at bigpond.com>
To: "EUforum" <EUforum at topica.com>
Subject: Re: BCD-lib


> 
> A BCD library would dbe very useful.
> 
> ----- Original Message -----
> From: <a.tammer at hetnet.nl>
> To: "EUforum" <EUforum at topica.com>
> Sent: Sunday, April 14, 2002 7:56 AM
> 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
> 
> 
> 
>

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

Search



Quick Links

User menu

Not signed in.

Misc Menu