Issue 54078

Summary: Arbitrary precision decimal arithmetic support
Product: Calc Reporter: kyoshida
Component: programmingAssignee: kyoshida
Status: CLOSED WONT_FIX QA Contact: issues@sc <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: OOO 2.0 Beta2   
Target Milestone: ---   
Hardware: PC   
OS: All   
URL: http://kohei.us/ooo/decimal/
Issue Type: FEATURE Latest Confirmation in: ---
Developer Difficulty: ---

Description kyoshida 2005-09-01 06:37:42 UTC
Decimal arithmetic allows you to go beyond the numerical limit of the underlying
computer hardware in basic arithmetic operations (i.e. addition, subtraction,
multiplication and division).

My primary goal of this effort is to create a new data type in C++, with
semantics similar to built-in double but with support of arbitrary-precision
decimal arithmetic, to overcome the limitation of binary floating-point
arithmetic used in most computer systems today (float, double data types in C/C++).

I propose inclusion of such new data type (tenatively named "Decimal" data type)
into the main code base so that it can be used in situations where a calculation
with extra precision is needed.

For details and download of current implementations, please visit

http://kohei.us/ooo/decimal/

Note that the current implementation is terribly slow, so it still needs massive
improvement in the performance department.

Kohei
Comment 1 kyoshida 2009-08-14 21:55:24 UTC
A noble goal, but I'm no longer interested in doing this.
Comment 2 kyoshida 2009-08-14 21:56:12 UTC
closed.