MPFR

MPFR

Infobox_Software
name = MPFR



caption =
developer = INRIA and others
latest_release_version = 2.3.2
latest_release_date = September 12, 2008
operating_system = Cross-platform
genre = Mathematical software
license = LGPL
website = http://www.mpfr.org/

MPFR is a portable C library for arbitrary-precision binary floating-point computation with correct rounding, based on GNU Multi-Precision Library. The computation is both efficient and has a well-defined semantics. It copies the good ideas from the ANSI/IEEE-754 standard for fixed-precision floating-point arithmetic. More precisely, its main features are:
* Support for special numbers: signed zeros (Negative_zero), infinities and not-a-number (a single NaN is currently supported).
* Each number has its own precision (in bits since MPFR uses radix 2). The floating-point results are correctly rounded to the precision of the target variable, in any of the four IEEE-754 rounding modes.
* Supported functions: MPFR implements all mathematical functions from C99: the logarithm and exponential in natural base, base 2 and base 10, the log(1+x) and exp(x)-1 functions (log1p and expm1), the six trigonometric and hyperbolic functions and their inverses, the gamma, zeta and error functions, the arithmetic geometric mean, the power (xy) function. All those functions are correctly rounded over their complete range.
* Subnormals are not supported, but can be emulated with the mpfr_subnormalize function.

MPFR is not able to track the accuracy of numbers in a whole program or expression; this is not its goal. Interval arithmetic packages like [http://mpfi.gforge.inria.fr/ MPFI] , or Real RAM implementations like [http://www.informatik.uni-trier.de/iRRAM/ iRRAM] , which may be based on MPFR, can do that for the user.

External links

* [http://www.mpfr.org/ Official MPFR web site]
* [https://gforge.inria.fr/projects/mpfr/ MPFR project page]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • MPFR — GNU MPFR Entwickler INRIA und andere Aktuelle Version 3.0.1 (4. April 2011) Betriebssys …   Deutsch Wikipedia

  • GNU MPFR — Développeur Projet GNU (INRIA, et autre) Dernière v …   Wikipédia en Français

  • Arbitrary-precision arithmetic — In computer science, arbitrary precision arithmetic indicates that calculations are performed on numbers whose digits of precision are limited only by the available memory of the host system. This contrasts with the faster fixed precision… …   Wikipedia

  • Gamma function — For the gamma function of ordinals, see Veblen function. The gamma function along part of the real axis In mathematics, the gamma function (represented by the capital Greek letter Γ) is an extension of the factorial function, with its… …   Wikipedia

  • GNU Compiler Collection — Cc1 redirects here. For other uses of CC1 or CC 1, see CC1 (disambiguation). GNU Compiler Collection Developer(s) GNU Project Initial release May 23, 1987 ( …   Wikipedia

  • Rounding — This article is about numerical rounding. For lip rounding in phonetics, see Labialisation. For other uses, see Rounding (disambiguation). Rounding a numerical value means replacing it by another value that is approximately equal but has a… …   Wikipedia

  • Mars Pathfinder — Pathfinder and Sojourner at JPL in October 1996 Operator NASA – JPL Mission type Lander, rover …   Wikipedia

  • Linux From Scratch — Company / developer Gerard Beekmans et al. OS family Unix like Working state Current Source model Open source / Free Software Initial release …   Wikipedia

  • Software for calculating π — Over the years, several programs have been written for calculating pi (π) to many digits on personal computers.General purposeMost computer algebra systems can calculate π and other common mathematical constants to any desired precision.Functions …   Wikipedia

  • Hungarian Notation — Bei der ungarischen Notation handelt es sich um eine von Programmierern verwendete Namenskonvention zur Wahl von Bezeichnern für Variablen, Funktionen usw. Der Name rührt zum einen daher, dass der Erfinder der Konvention, Charles Simonyi, ein… …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”