develooper Front page | perl.perl6.internals.bignum | Postings from November 2001

Re: test

Thread Previous | Thread Next
From:
Jason Gloudon
Date:
November 18, 2001 22:19
Subject:
Re: test
Message ID:
20011118121800.A23642@gloudon.com
On Sun, Nov 18, 2001 at 12:26:58AM -0500, Uri Guttman wrote:

> store. it can be changed by extending the number. we may have a flags
> for that so some numbers will extend forever. normal numbers will lose
> data if they have more digits than their precision allows. scaling will
> be handled by a combination of munging the int/frac struct members and
> the exponent. as i said before the exponent will always reflect how many
> 0 digits are before/after the decimal point. you effectively have to
> decimal shift the precision number of digits away from the decimal point
> to get the exponent into play.

Could you state the relationship between int digits, frac digits and the
exponent more explicitly at some point ? It's a little fuzzy to me still. What
about normalized representations ?

-- 
Jason

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About