[A83] Re: 83p os


[Prev][Next][Index][Thread]

[A83] Re: 83p os



> > The problem is if the exponent is so great that you can't simply expand
> > the number for the divisions by 10.
> 
> When is there a case where you can't expand a number of any exponent? 
> The only reason I can think of is if limited memory is available for conversion
> to base 10.
Exactly that's what I'm talking about. There must be a better way. If we
need a precision of, say, 15 decimal digits, why would we have to expand
a 15000-digit binary number before the conversion?
> 
> IMHO, the advantages of speedy binary math outweighs the advantages of BCD
> and related decimal math, on a microprocessor like the Z80.  Math is math,
> AFAIK - both binary and decimal math should yield similar and accurate
> results.  Remember that conversion to decimal in a binary math system
> only needs to occur when actually displaying a stored number.
"I unreservedly agree, comrade." :)

PG

-- 
http://www.fastmail.fm - Or how I learned to stop worrying and
                          love email again



Follow-Ups: References: