Hello Don,

Paul D. Anderson wrote:

I've been working on an arbitrary-precision floating-point module for
a while and have uploaded the source to DSource.
(www.dsource.org/projects/decimal)

It's an implementation of the General Decimal Arithmetic
Specification, Version 1.70, March 2009.
(www.speleotrove.com/decimal). It contains most of the specified
arithmetic operations (except exponential and logarithmic operations)
and miscellaneous operations (except for logical and rotate/shift
operations).

I would appreciate feedback, especially with regard to the
implementation of the context for the operations.

The current implementation compiles with D version 2.30, so does not
incorporate the new operator overloading.

Paul

Awesome! Hmm, I really need to get my BigInt modules into D2 so that
you can use them.


Ditto my united type: 
http://www.dsource.org/projects/scrapple/browser/trunk/units/si2.d
(I'll tweak it and/or the license as needed to get it in).

Maybe we need a std.arithmetic.* for all the "a little more than just a number" types.

--
... <IXOYE><



Reply via email to