Decimal Arithmetic module available

Paul D. Anderson paul.d.removethis.anderson at comcast.andthis.net
Sat Mar 13 18:35:51 PST 2010


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


More information about the Digitalmars-d-announce mailing list