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

Standard Decimal Arithmetic

Thread Next
From:
Alex Gough
Date:
December 17, 2001 01:25
Subject:
Standard Decimal Arithmetic
Message ID:
20011217012443.A15837@ermine.ox.ac.uk
Can I propose that we aim to support the Standard Decimal Arithmetic,
this will allow us to make use of an extensive test suite and claim
Enterprise-Bonus-Points at the appropriate time:

http://www2.hursley.ibm.com/decimal/

Looking through the current code, I wonder why we are bothering to
have a distinction between the fractional and integer parts of each
number, to me it seems simpler to use a single string of digits with a
signed exponent as multiplying two numbers then merely requires
multiplying the digit strings and adding the exponents directly.

Alex Gough
-- 
However many ways there my be of being alive, it is certain
that there are vastly more ways of being dead.

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