d_mpdecimal ~main
Bindings and a wrapper for using limpdec, a package for correctly-rounded arbitrary precision decimal floating point arithmetic.
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
d-mpdecimal
mpdecimal is a package for correctly-rounded arbitrary precision decimal floating point arithmetic writter by Stefan Krah. Starting from Python-3.3, libmpdec is the basis for Python’s decimal module.
This project offers bindings and a wrapper for using limpdec from D language.
(C) 2021 by Pablo De Nápoli (pdenapo AT gmail.com)
- d_mpdecimal.deimos is a translation of the original header from C to D. (This allows you to call the libmpec functions from D).
- d_mpdecimal.decimal is a high-level wrapper over libmpec using the features of the D language (like structs and operator overloading).
This work is distributed under the MIT license (see the LICENSE file).
Some sample test programs are also provided.
This package has been only tested in GNU/Linux, and it is designed for 64 bit systems (Help with testing and porting is welcome).
In Debian/Ubuntu you can install libmpec by installing the package libmpdec-dev.
development
When creating a new release, use git tag like this:
git tag v0.5.3
git push origin --tags
- Registered by Pablo De Nápoli
- ~main released 31 days ago
- pdenapo/d_mpdecimal
- MIT
- Authors:
- Dependencies:
- none
- Versions:
-
0.5.5 2024-Feb-21 0.5.4 2024-Feb-10 0.5.3 2024-Feb-10 0.5.2 2023-May-06 0.5.1 2023-Mar-24 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
83 downloads total
-
- Score:
- 0.6
- Short URL:
- d_mpdecimal.dub.pm