diff options
author | John Tyree <johntyree+removethis@gmail.com> | 2011-03-05 19:00:29 -0300 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-03-05 19:00:29 -0300 |
commit | c463dd63793524e6206cc84f61d30b9982e6040b (patch) | |
tree | 42fcc6c45abbd18632b007ff7288c655e501225c /libraries/python-bigfloat/README | |
parent | ba84558aea018023be37f62908e44852063e0bad (diff) | |
download | slackbuilds-c463dd63793524e6206cc84f61d30b9982e6040b.tar.gz slackbuilds-c463dd63793524e6206cc84f61d30b9982e6040b.tar.xz |
libraries/python-bigfloat: Added (floating point arithmetic library)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'libraries/python-bigfloat/README')
-rw-r--r-- | libraries/python-bigfloat/README | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libraries/python-bigfloat/README b/libraries/python-bigfloat/README new file mode 100644 index 0000000000..a66784f717 --- /dev/null +++ b/libraries/python-bigfloat/README @@ -0,0 +1,16 @@ +The bigfloat module is a Python wrapper for the MPFR library for arbitrary +precision floating-point reliable arithmetic. + +The MPFR library is a well-known portable C library for arbitrary-precision +arithmetic on floating-point numbers. It provides precise control over +precisions and rounding modes and gives correctly-rounded reproducible +platform-independent results. + +The bigfloat module aims to provide a convenient and friendly Python +interface to the operations and functions provided by the MPFR library. The +main class, BigFloat, gives an immutable multiple-precision floating-point +type that can be freely mixed with Python integers and floats. The Context +class, when used in conjunction with Pythons with statement, gives a simple +way of controlling precisions and rounding modes. Additional module-level +functions provide various standard mathematical operations. There is full +support for IEEE 754 signed zeros, nans, infinities and subnormals. |