2009-07-24 08:24:26 -04:00
|
|
|
|
This is mpir.info, produced by makeinfo version 4.13 from mpir.texi.
|
2009-02-12 09:17:32 -05:00
|
|
|
|
|
2009-03-15 11:51:47 -04:00
|
|
|
|
This manual describes how to install and use MPIR, the Multiple
|
2009-08-12 23:07:39 -04:00
|
|
|
|
Precision Integers and Rationals library, version 1.2.0.
|
2009-02-12 09:17:32 -05:00
|
|
|
|
|
|
|
|
|
Copyright 1991, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
|
|
|
|
|
2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
|
|
|
|
|
|
|
|
|
Copyright 2008 William Hart
|
|
|
|
|
|
|
|
|
|
Permission is granted to copy, distribute and/or modify this
|
|
|
|
|
document under the terms of the GNU Free Documentation License, Version
|
|
|
|
|
1.2 or any later version published by the Free Software Foundation;
|
|
|
|
|
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
|
2009-03-15 11:51:47 -04:00
|
|
|
|
is included in *note GNU Free Documentation License::.
|
2009-02-12 09:17:32 -05:00
|
|
|
|
|
|
|
|
|
INFO-DIR-SECTION GNU libraries
|
|
|
|
|
START-INFO-DIR-ENTRY
|
|
|
|
|
* mpir: (mpir). MPIR Multiple Precision Integers and Rationals Library.
|
|
|
|
|
END-INFO-DIR-ENTRY
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Indirect:
|
2009-08-12 23:07:39 -04:00
|
|
|
|
mpir.info-1: 990
|
2009-09-07 15:56:58 -04:00
|
|
|
|
mpir.info-2: 300532
|
2009-02-12 09:17:32 -05:00
|
|
|
|
|
|
|
|
|
Tag Table:
|
|
|
|
|
(Indirect)
|
2009-08-12 23:07:39 -04:00
|
|
|
|
Node: Top990
|
|
|
|
|
Node: Copying3235
|
|
|
|
|
Node: Introduction to MPIR5080
|
|
|
|
|
Node: Installing MPIR7501
|
|
|
|
|
Node: Build Options8637
|
|
|
|
|
Node: ABI and ISA24945
|
|
|
|
|
Node: Notes for Package Builds34372
|
|
|
|
|
Node: Notes for Particular Systems37490
|
|
|
|
|
Node: Known Build Problems44244
|
|
|
|
|
Node: Performance optimization47794
|
|
|
|
|
Node: MPIR Basics48929
|
|
|
|
|
Node: Headers and Libraries49583
|
|
|
|
|
Node: Nomenclature and Types51038
|
|
|
|
|
Node: Function Classes52749
|
|
|
|
|
Node: Variable Conventions54287
|
|
|
|
|
Node: Parameter Conventions55816
|
|
|
|
|
Node: Memory Management57880
|
|
|
|
|
Node: Reentrancy59012
|
|
|
|
|
Node: Useful Macros and Constants60449
|
|
|
|
|
Node: Compatibility with older versions61795
|
|
|
|
|
Node: Demonstration Programs62638
|
|
|
|
|
Node: Efficiency64509
|
|
|
|
|
Node: Debugging72139
|
|
|
|
|
Node: Profiling78708
|
|
|
|
|
Node: Autoconf82742
|
|
|
|
|
Node: Emacs84616
|
|
|
|
|
Node: Reporting Bugs85225
|
|
|
|
|
Node: Integer Functions87792
|
|
|
|
|
Node: Initializing Integers88571
|
|
|
|
|
Node: Assigning Integers90243
|
|
|
|
|
Node: Simultaneous Integer Init & Assign91831
|
|
|
|
|
Node: Converting Integers93458
|
|
|
|
|
Node: Integer Arithmetic96111
|
|
|
|
|
Node: Integer Division97714
|
|
|
|
|
Node: Integer Exponentiation104143
|
|
|
|
|
Node: Integer Roots105005
|
2009-09-03 11:39:27 -04:00
|
|
|
|
Node: Number Theoretic Functions106832
|
2009-09-07 15:56:58 -04:00
|
|
|
|
Node: Integer Comparisons114969
|
|
|
|
|
Node: Integer Logic and Bit Fiddling116348
|
|
|
|
|
Node: I/O of Integers118962
|
|
|
|
|
Node: Integer Random Numbers121577
|
|
|
|
|
Node: Integer Import and Export123353
|
|
|
|
|
Node: Miscellaneous Integer Functions127358
|
|
|
|
|
Node: Integer Special Functions129219
|
|
|
|
|
Node: Rational Number Functions132390
|
|
|
|
|
Node: Initializing Rationals133585
|
|
|
|
|
Node: Rational Conversions135831
|
|
|
|
|
Node: Rational Arithmetic137563
|
|
|
|
|
Node: Comparing Rationals138900
|
|
|
|
|
Node: Applying Integer Functions140268
|
|
|
|
|
Node: I/O of Rationals141752
|
|
|
|
|
Node: Floating-point Functions143615
|
|
|
|
|
Node: Initializing Floats146503
|
|
|
|
|
Node: Assigning Floats150201
|
|
|
|
|
Node: Simultaneous Float Init & Assign152769
|
|
|
|
|
Node: Converting Floats154299
|
|
|
|
|
Node: Float Arithmetic157260
|
|
|
|
|
Node: Float Comparison159306
|
|
|
|
|
Node: I/O of Floats160658
|
|
|
|
|
Node: Miscellaneous Float Functions162984
|
|
|
|
|
Node: Low-level Functions164885
|
|
|
|
|
Node: Random Number Functions185324
|
|
|
|
|
Node: Random State Initialization186394
|
|
|
|
|
Node: Random State Seeding188457
|
|
|
|
|
Node: Random State Miscellaneous189847
|
|
|
|
|
Node: Formatted Output190489
|
|
|
|
|
Node: Formatted Output Strings190735
|
|
|
|
|
Node: Formatted Output Functions195975
|
|
|
|
|
Node: C++ Formatted Output200052
|
|
|
|
|
Node: Formatted Input202739
|
|
|
|
|
Node: Formatted Input Strings202976
|
|
|
|
|
Node: Formatted Input Functions207638
|
|
|
|
|
Node: C++ Formatted Input210611
|
|
|
|
|
Node: C++ Class Interface212519
|
|
|
|
|
Node: C++ Interface General213524
|
|
|
|
|
Node: C++ Interface Integers216607
|
|
|
|
|
Node: C++ Interface Rationals220041
|
|
|
|
|
Node: C++ Interface Floats223720
|
|
|
|
|
Node: C++ Interface Random Numbers229015
|
|
|
|
|
Node: C++ Interface Limitations231145
|
|
|
|
|
Node: BSD Compatible Functions233991
|
|
|
|
|
Node: Custom Allocation234209
|
|
|
|
|
Node: Language Bindings238401
|
|
|
|
|
Node: Algorithms242417
|
|
|
|
|
Node: Multiplication Algorithms243122
|
|
|
|
|
Node: Basecase Multiplication244057
|
|
|
|
|
Node: Karatsuba Multiplication245969
|
|
|
|
|
Node: Toom 3-Way Multiplication249599
|
|
|
|
|
Node: FFT Multiplication256008
|
|
|
|
|
Node: Other Multiplication261346
|
|
|
|
|
Node: Division Algorithms263832
|
|
|
|
|
Node: Single Limb Division264180
|
|
|
|
|
Node: Basecase Division267100
|
|
|
|
|
Node: Divide and Conquer Division268304
|
|
|
|
|
Node: Exact Division270542
|
|
|
|
|
Node: Exact Remainder273710
|
|
|
|
|
Node: Small Quotient Division276003
|
|
|
|
|
Node: Greatest Common Divisor Algorithms277602
|
|
|
|
|
Node: Binary GCD277876
|
|
|
|
|
Node: Accelerated GCD280555
|
|
|
|
|
Node: Extended GCD282354
|
|
|
|
|
Node: Jacobi Symbol284025
|
|
|
|
|
Node: Powering Algorithms284942
|
|
|
|
|
Node: Normal Powering Algorithm285206
|
|
|
|
|
Node: Modular Powering Algorithm285735
|
|
|
|
|
Node: Root Extraction Algorithms286799
|
|
|
|
|
Node: Square Root Algorithm287115
|
|
|
|
|
Node: Nth Root Algorithm289258
|
|
|
|
|
Node: Perfect Square Algorithm290044
|
|
|
|
|
Node: Perfect Power Algorithm292131
|
|
|
|
|
Node: Radix Conversion Algorithms292753
|
|
|
|
|
Node: Binary to Radix293130
|
|
|
|
|
Node: Radix to Binary297061
|
|
|
|
|
Node: Other Algorithms298993
|
|
|
|
|
Node: Prime Testing Algorithm299347
|
|
|
|
|
Node: Factorial Algorithm300532
|
|
|
|
|
Node: Binomial Coefficients Algorithm301936
|
|
|
|
|
Node: Fibonacci Numbers Algorithm302831
|
|
|
|
|
Node: Lucas Numbers Algorithm305307
|
|
|
|
|
Node: Random Number Algorithms306029
|
|
|
|
|
Node: Assembler Coding308153
|
|
|
|
|
Node: Assembler Code Organisation309130
|
|
|
|
|
Node: Assembler Basics310103
|
|
|
|
|
Node: Assembler Carry Propagation311262
|
|
|
|
|
Node: Assembler Cache Handling313100
|
|
|
|
|
Node: Assembler Functional Units315268
|
|
|
|
|
Node: Assembler Floating Point316889
|
|
|
|
|
Node: Assembler SIMD Instructions320672
|
|
|
|
|
Node: Assembler Software Pipelining321661
|
|
|
|
|
Node: Assembler Loop Unrolling322729
|
|
|
|
|
Node: Assembler Writing Guide324949
|
|
|
|
|
Node: Internals327719
|
|
|
|
|
Node: Integer Internals328233
|
|
|
|
|
Node: Rational Internals330490
|
|
|
|
|
Node: Float Internals331730
|
|
|
|
|
Node: Raw Output Internals339058
|
|
|
|
|
Node: C++ Interface Internals340253
|
|
|
|
|
Node: Contributors343552
|
|
|
|
|
Node: References348486
|
|
|
|
|
Node: GNU Free Documentation License353542
|
|
|
|
|
Node: Concept Index375989
|
|
|
|
|
Node: Function Index421987
|
2009-02-12 09:17:32 -05:00
|
|
|
|
|
|
|
|
|
End Tag Table
|