General Decimal Arithmetic Samples
think 10

This example code illustrates the representation of numeric values in forms suitable for applying decimal arithmetic operations. For details about the relevant formats and specifications see the General Decimal Arithmetic home page.


The decSample package was devised to illustrate encoding of decimal floating-point numbers in binary bit strings, and corresponding decoding.

decsample Version Description
Documentation
[.html]
1.00
2003.04.10
Describes the decsample package, which contains Java code illustrating decimal floating-point value encoding and decoding.
Download
decsample
1.00
2003.04.10
The source code (.java files), together with the documentation in JavaDoc (HTML) format.


Please send any comments or corrections to Dave Clark, dave.clark@uk.ibm.com
Reproduced with permission from IBM © Copyright 2003 by International Business Machines Corporation
Java is a trademark of Sun Microsystems Inc.