In article
<cacutkughzie+xnzyywwjzo5qwvoce_mkycjuqag_82w9yee...@mail.gmail.com>,
   John R. Hogerhuis <jho...@pobox.com> wrote:
> I noticed Woz's 6502 code is well commented and on the web. It looks like
> it uses a binary mantissa.

If you're looking for an 8080 fp lib, the one extracted from Lawrence
Livermore Labs BASIC (LLLBASIC) has a pretty good rep. The one inside
Processor Technology FOCAL, OTOH, is notoriously inaccurate. :(Yes this is
the one I keep threatening to port to m100/wp2 ):

I don't really know how "good" the fp libs in C/80 and BDS C are... 

> I guess the value of (packed) BCD is multiply / divide by 10 is a bit
> shift operation. And base 10 rounding operations are straightforward.

BCD is somewhat wasteful of RAM, (1 bit per digit usually unused) but yes,
it makes decimal math much more predictable.

Willard

-- 
Willard Goosey  goo...@sdc.org
Socorro, New Mexico, USA
I search my heart and find Cimmeria, land of Darkness and the Night.
  --Robert E. Howard

Reply via email to