2012-09-27 16:44:33 -04:00
|
|
|
|
This is mpir.info, produced by makeinfo version 4.13 from mpir.texi.
|
2010-03-14 10:16:35 -04:00
|
|
|
|
|
2010-03-24 11:47:51 -04:00
|
|
|
|
This manual describes how to install and use MPIR, the Multiple
|
2012-09-28 12:46:34 -04:00
|
|
|
|
Precision Integers and Rationals library, version 2.6.0.
|
2010-03-14 10:16:35 -04:00
|
|
|
|
|
|
|
|
|
Copyright 1991, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
|
2010-04-04 13:44:45 -04:00
|
|
|
|
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
|
|
|
|
|
Software Foundation, Inc.
|
2010-03-14 10:16:35 -04:00
|
|
|
|
|
2010-04-04 13:44:45 -04:00
|
|
|
|
Copyright 2008, 2009, 2010 William Hart
|
2010-03-14 10:16:35 -04:00
|
|
|
|
|
|
|
|
|
Permission is granted to copy, distribute and/or modify this
|
|
|
|
|
document under the terms of the GNU Free Documentation License, Version
|
2010-04-04 13:44:45 -04:00
|
|
|
|
1.3 or any later version published by the Free Software Foundation;
|
2010-03-14 10:16:35 -04:00
|
|
|
|
with no Invariant Sections, with the Front-Cover Texts being "A GNU
|
|
|
|
|
Manual", and with the Back-Cover Texts being "You have freedom to copy
|
|
|
|
|
and modify this GNU Manual, like GNU software". A copy of the license
|
2010-03-24 11:47:51 -04:00
|
|
|
|
is included in *note GNU Free Documentation License::.
|
2010-03-14 10:16:35 -04:00
|
|
|
|
|
|
|
|
|
INFO-DIR-SECTION GNU libraries
|
|
|
|
|
START-INFO-DIR-ENTRY
|
|
|
|
|
* mpir: (mpir). MPIR Multiple Precision Integers and Rationals Library.
|
|
|
|
|
END-INFO-DIR-ENTRY
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Indirect:
|
2010-11-09 08:53:59 -05:00
|
|
|
|
mpir.info-1: 1026
|
2012-11-07 12:20:08 -05:00
|
|
|
|
mpir.info-2: 300687
|
2010-03-14 10:16:35 -04:00
|
|
|
|
|
|
|
|
|
Tag Table:
|
|
|
|
|
(Indirect)
|
2010-11-09 08:53:59 -05:00
|
|
|
|
Node: Top1026
|
|
|
|
|
Node: Copying3245
|
|
|
|
|
Node: Introduction to MPIR4965
|
2011-09-27 16:40:07 -04:00
|
|
|
|
Node: Installing MPIR7135
|
2012-10-18 16:31:01 -04:00
|
|
|
|
Node: Build Options8573
|
|
|
|
|
Node: ABI and ISA24632
|
|
|
|
|
Node: Notes for Package Builds31401
|
|
|
|
|
Node: Notes for Particular Systems34839
|
|
|
|
|
Node: Known Build Problems42271
|
|
|
|
|
Node: Performance optimization43959
|
|
|
|
|
Node: MPIR Basics45095
|
2012-11-07 12:20:08 -05:00
|
|
|
|
Node: Headers and Libraries45746
|
|
|
|
|
Node: Nomenclature and Types47201
|
|
|
|
|
Node: MPIR on Windows x6449122
|
|
|
|
|
Node: Function Classes51005
|
|
|
|
|
Node: Variable Conventions52540
|
|
|
|
|
Node: Parameter Conventions54069
|
|
|
|
|
Node: Memory Management56133
|
|
|
|
|
Node: Reentrancy57265
|
|
|
|
|
Node: Useful Macros and Constants58702
|
|
|
|
|
Node: Compatibility with older versions59893
|
|
|
|
|
Node: Efficiency60930
|
|
|
|
|
Node: Debugging68571
|
|
|
|
|
Node: Profiling74971
|
|
|
|
|
Node: Autoconf79005
|
|
|
|
|
Node: Emacs80879
|
|
|
|
|
Node: Reporting Bugs81488
|
|
|
|
|
Node: Integer Functions84055
|
|
|
|
|
Node: Initializing Integers84834
|
|
|
|
|
Node: Assigning Integers86768
|
|
|
|
|
Node: Simultaneous Integer Init & Assign88565
|
|
|
|
|
Node: Converting Integers90411
|
|
|
|
|
Node: Integer Arithmetic94085
|
|
|
|
|
Node: Integer Division95672
|
|
|
|
|
Node: Integer Exponentiation101983
|
|
|
|
|
Node: Integer Roots102866
|
|
|
|
|
Node: Number Theoretic Functions104693
|
|
|
|
|
Node: Integer Comparisons112924
|
|
|
|
|
Node: Integer Logic and Bit Fiddling114303
|
|
|
|
|
Node: I/O of Integers116863
|
|
|
|
|
Node: Integer Random Numbers119750
|
|
|
|
|
Node: Integer Import and Export121514
|
|
|
|
|
Node: Miscellaneous Integer Functions125519
|
|
|
|
|
Node: Integer Special Functions127380
|
|
|
|
|
Node: Rational Number Functions130551
|
|
|
|
|
Node: Initializing Rationals131746
|
|
|
|
|
Node: Rational Conversions134260
|
|
|
|
|
Node: Rational Arithmetic135992
|
|
|
|
|
Node: Comparing Rationals137297
|
|
|
|
|
Node: Applying Integer Functions138665
|
|
|
|
|
Node: I/O of Rationals140149
|
|
|
|
|
Node: Floating-point Functions142012
|
|
|
|
|
Node: Initializing Floats144900
|
|
|
|
|
Node: Assigning Floats148988
|
|
|
|
|
Node: Simultaneous Float Init & Assign151556
|
|
|
|
|
Node: Converting Floats153086
|
|
|
|
|
Node: Float Arithmetic156323
|
|
|
|
|
Node: Float Comparison158337
|
|
|
|
|
Node: I/O of Floats159683
|
|
|
|
|
Node: Miscellaneous Float Functions162254
|
|
|
|
|
Node: Low-level Functions164887
|
|
|
|
|
Node: Random Number Functions191075
|
|
|
|
|
Node: Random State Initialization192145
|
|
|
|
|
Node: Random State Seeding194204
|
|
|
|
|
Node: Random State Miscellaneous195594
|
|
|
|
|
Node: Formatted Output196236
|
|
|
|
|
Node: Formatted Output Strings196482
|
|
|
|
|
Node: Formatted Output Functions201722
|
|
|
|
|
Node: C++ Formatted Output205799
|
|
|
|
|
Node: Formatted Input208486
|
|
|
|
|
Node: Formatted Input Strings208723
|
|
|
|
|
Node: Formatted Input Functions213385
|
|
|
|
|
Node: C++ Formatted Input216358
|
|
|
|
|
Node: C++ Class Interface218266
|
|
|
|
|
Node: C++ Interface General219264
|
|
|
|
|
Node: C++ Interface Integers222347
|
|
|
|
|
Node: C++ Interface Rationals225781
|
|
|
|
|
Node: C++ Interface Floats229460
|
|
|
|
|
Node: C++ Interface Random Numbers234745
|
|
|
|
|
Node: C++ Interface Limitations236875
|
|
|
|
|
Node: Custom Allocation239721
|
|
|
|
|
Node: Language Bindings244367
|
|
|
|
|
Node: Algorithms248397
|
|
|
|
|
Node: Multiplication Algorithms249102
|
|
|
|
|
Node: Basecase Multiplication250314
|
|
|
|
|
Node: Karatsuba Multiplication252226
|
|
|
|
|
Node: Toom 3-Way Multiplication255856
|
|
|
|
|
Node: Toom 4-Way Multiplication262272
|
|
|
|
|
Node: FFT Multiplication263646
|
|
|
|
|
Node: Other Multiplication269072
|
|
|
|
|
Node: Unbalanced Multiplication271754
|
|
|
|
|
Node: Division Algorithms272650
|
|
|
|
|
Node: Single Limb Division272998
|
|
|
|
|
Node: Basecase Division275918
|
|
|
|
|
Node: Divide and Conquer Division277121
|
|
|
|
|
Node: Exact Division279391
|
|
|
|
|
Node: Exact Remainder282591
|
|
|
|
|
Node: Small Quotient Division284884
|
|
|
|
|
Node: Greatest Common Divisor Algorithms286483
|
|
|
|
|
Node: Binary GCD286775
|
|
|
|
|
Node: Lehmer's GCD289451
|
|
|
|
|
Node: Subquadratic GCD291655
|
|
|
|
|
Node: Extended GCD294109
|
|
|
|
|
Node: Jacobi Symbol294668
|
|
|
|
|
Node: Powering Algorithms295585
|
|
|
|
|
Node: Normal Powering Algorithm295849
|
|
|
|
|
Node: Modular Powering Algorithm296378
|
|
|
|
|
Node: Root Extraction Algorithms297442
|
|
|
|
|
Node: Square Root Algorithm297758
|
|
|
|
|
Node: Nth Root Algorithm299901
|
|
|
|
|
Node: Perfect Square Algorithm300687
|
|
|
|
|
Node: Perfect Power Algorithm302774
|
|
|
|
|
Node: Radix Conversion Algorithms303396
|
|
|
|
|
Node: Binary to Radix303773
|
|
|
|
|
Node: Radix to Binary307704
|
|
|
|
|
Node: Other Algorithms309669
|
|
|
|
|
Node: Prime Testing Algorithm310023
|
|
|
|
|
Node: Factorial Algorithm311250
|
|
|
|
|
Node: Binomial Coefficients Algorithm312687
|
|
|
|
|
Node: Fibonacci Numbers Algorithm313582
|
|
|
|
|
Node: Lucas Numbers Algorithm316058
|
|
|
|
|
Node: Random Number Algorithms316780
|
|
|
|
|
Node: Assembler Coding318904
|
|
|
|
|
Node: Assembler Code Organisation319881
|
|
|
|
|
Node: Assembler Basics320854
|
|
|
|
|
Node: Assembler Carry Propagation322013
|
|
|
|
|
Node: Assembler Cache Handling323851
|
|
|
|
|
Node: Assembler Functional Units326019
|
|
|
|
|
Node: Assembler Floating Point327640
|
|
|
|
|
Node: Assembler SIMD Instructions331423
|
|
|
|
|
Node: Assembler Software Pipelining332412
|
|
|
|
|
Node: Assembler Loop Unrolling333480
|
|
|
|
|
Node: Assembler Writing Guide335700
|
|
|
|
|
Node: Internals338470
|
|
|
|
|
Node: Integer Internals338984
|
|
|
|
|
Node: Rational Internals341241
|
|
|
|
|
Node: Float Internals342481
|
|
|
|
|
Node: Raw Output Internals349809
|
|
|
|
|
Node: C++ Interface Internals351004
|
|
|
|
|
Node: Contributors354291
|
|
|
|
|
Node: References363286
|
|
|
|
|
Node: GNU Free Documentation License371033
|
|
|
|
|
Node: Concept Index396203
|
|
|
|
|
Node: Function Index438581
|
2010-03-14 10:16:35 -04:00
|
|
|
|
|
|
|
|
|
End Tag Table
|