mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-01 01:00:03 +01:00
7a1b4848a3
The criteria for whether something "belongs" in Development or Libraries or Python or ... is admittedly arbitrary. As a general rule, if it could be either Libraries or Python, it's Python. Otherwise, pick one and we'll go from there... Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
16 lines
958 B
Text
16 lines
958 B
Text
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.
|