Implements Densely Packed Decimal (DPD) for 128 bit Decimal types. Future may bring shorter types like 32 and 64 bit Decimals. For the moment it tries to be a container from which the number can be set to a byte buffer and retrieved in several number types. All will be coded in perl6. Later, arithmetic procedures are added when native libraries can be installed while installing the module.
- Decimal128 floating-point format
- Wiki DPD howto
- Decimal implementation and libraries at spelotrove
- The "Decimal Floating Point C Library" User's Guide
- Distributing Helper Libraries With Perl 6 Modules
The markdown documents are written with the Atom plugin markdown-preview-enhanced. The default markdown viewer is disabled. This gives all sorts of possibilities such as showing UML and Gantt charts. When the document doesn't show some graphics, then look for the pdf
documents in the doc
directory.
Use zef to install the package like so.
$ zef install Decimal
This module is tested using the latest perl6 version on MoarVM
Marcel Timmerman (MARTIMM on github)