Decimal Arithmetic module available
Don
nospam at nospam.com
Mon Mar 15 14:05:45 PDT 2010
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.
More information about the Digitalmars-d-announce
mailing list