slackbuilds/python/python-bigfloat
Willy Sudiarto Raharjo 96bc8b9be0 python/python-bigfloat: Updated for version 0.3.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2017-07-26 18:28:56 +07:00
..
README python/*: Moved a lot of Python stuff here 2011-03-20 12:33:01 -05:00
doinst.sh python/*: Moved a lot of Python stuff here 2011-03-20 12:33:01 -05:00
python-bigfloat.SlackBuild python/python-bigfloat: Updated for version 0.3.0. 2017-07-26 18:28:56 +07:00
python-bigfloat.info python/python-bigfloat: Updated for version 0.3.0. 2017-07-26 18:28:56 +07:00
slack-desc python/python-bigfloat: Fix slack-desc. 2016-11-14 16:47:23 +07:00

README

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.