Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Library  





2 References  





3 External links  














GNU MPFR






Català
Deutsch
Français
Italiano
 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



Wikimedia Commons
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


GNU MPFR
Developer(s)GNU Project (INRIA and others)
Initial releaseFebruary 4, 2000; 24 years ago (2000-02-04)
Stable release

4.2.1 / August 22, 2023; 10 months ago (2023-08-22)

Repository
Written inC
Operating systemCross-platform
TypeMathematical software
LicenseLGPL
Websitewww.mpfr.org

The GNU Multiple Precision Floating-Point Reliable Library (GNU MPFR) is a GNU portable C library for arbitrary-precision binary floating-point computation with correct rounding, based on GNU Multi-Precision Library.[1][2]

Library[edit]

MPFR's computation is both efficient and has a well-defined semantics: the functions are completely specified on all the possible operands and the results do not depend on the platform.[3] This is done by copying the ideas from the ANSI/IEEE-754 standard for fixed-precision floating-point arithmetic (correct rounding and exceptions, in particular). More precisely, its main features are:

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 Arb,[4] MPFI,[5]orReal RAM implementations like iRRAM,[6] which may be based on MPFR, can do that for the user.

MPFR is dependent upon the GNU Multiple Precision Arithmetic Library (GMP).

MPFR is needed to build the GNU Compiler Collection (GCC).[7] Other software uses MPFR, such as ALGLIB, CGAL, FLINT, GNOME Calculator, the Julia language implementation, the Magma computer algebra system, Maple, GNU MPC, and GNU Octave.

References[edit]

  1. ^ Fousse, L.; Hanrot, G.; Lefèvre, V.; Pélissier, P.; Zimmermann, P. (2007). "MPFR: A multiple-precision binary floating-point library with correct rounding". ACM Transactions on Mathematical Software. 33 (2): 13:1–15. doi:10.1145/1236463.1236468. S2CID 9641003.
  • ^ Higham, Nick (October 8, 2015). "The Rise of Mixed Precision Arithmetic". Retrieved May 23, 2020.
  • ^ "Frequently asked questions about MPFR: 1. What are the differences between MPF from GMP and MPFR?".
  • ^ "Arb, a C library for arbitrary-precision ball arithmetic". Retrieved May 31, 2022.
  • ^ "MPFI Project". GitLab at Inria. Retrieved May 31, 2022.
  • ^ "iRRAM, a software library for exact real arithmetic". Retrieved May 31, 2022.
  • ^ "GCC 4.3 Release Series: Changes, New Features, and Fixes". 2012-11-02. Retrieved September 25, 2013.
  • External links[edit]


    Retrieved from "https://en.wikipedia.org/w/index.php?title=GNU_MPFR&oldid=1171653305"

    Categories: 
    C (programming language) libraries
    Computer arithmetic
    Free software programmed in C
    GNU Project software
    Numerical libraries
    Software using the LGPL license
    Hidden categories: 
    Articles with short description
    Short description matches Wikidata
     



    This page was last edited on 22 August 2023, at 13:06 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki