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
|
|
|
|
|
mpir.info-2: 300601
|
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
|
|
|
|
|
Node: Number Theoretic Functions106680
|
|
|
|
|
Node: Integer Comparisons112734
|
|
|
|
|
Node: Integer Logic and Bit Fiddling114113
|
|
|
|
|
Node: I/O of Integers116727
|
|
|
|
|
Node: Integer Random Numbers119342
|
|
|
|
|
Node: Integer Import and Export121118
|
|
|
|
|
Node: Miscellaneous Integer Functions125123
|
|
|
|
|
Node: Integer Special Functions126984
|
|
|
|
|
Node: Rational Number Functions130069
|
|
|
|
|
Node: Initializing Rationals131264
|
|
|
|
|
Node: Rational Conversions133510
|
|
|
|
|
Node: Rational Arithmetic135242
|
|
|
|
|
Node: Comparing Rationals136579
|
|
|
|
|
Node: Applying Integer Functions137947
|
|
|
|
|
Node: I/O of Rationals139431
|
|
|
|
|
Node: Floating-point Functions141294
|
|
|
|
|
Node: Initializing Floats144182
|
|
|
|
|
Node: Assigning Floats147880
|
|
|
|
|
Node: Simultaneous Float Init & Assign150448
|
|
|
|
|
Node: Converting Floats151978
|
|
|
|
|
Node: Float Arithmetic154939
|
|
|
|
|
Node: Float Comparison156985
|
|
|
|
|
Node: I/O of Floats158428
|
|
|
|
|
Node: Miscellaneous Float Functions160754
|
|
|
|
|
Node: Low-level Functions162655
|
|
|
|
|
Node: Random Number Functions183094
|
|
|
|
|
Node: Random State Initialization184164
|
|
|
|
|
Node: Random State Seeding186227
|
|
|
|
|
Node: Random State Miscellaneous187617
|
|
|
|
|
Node: Formatted Output188259
|
|
|
|
|
Node: Formatted Output Strings188505
|
|
|
|
|
Node: Formatted Output Functions193745
|
|
|
|
|
Node: C++ Formatted Output197822
|
|
|
|
|
Node: Formatted Input200509
|
|
|
|
|
Node: Formatted Input Strings200746
|
|
|
|
|
Node: Formatted Input Functions205408
|
|
|
|
|
Node: C++ Formatted Input208381
|
|
|
|
|
Node: C++ Class Interface210289
|
|
|
|
|
Node: C++ Interface General211294
|
|
|
|
|
Node: C++ Interface Integers214377
|
|
|
|
|
Node: C++ Interface Rationals217811
|
|
|
|
|
Node: C++ Interface Floats221490
|
|
|
|
|
Node: C++ Interface Random Numbers226785
|
|
|
|
|
Node: C++ Interface Limitations228915
|
|
|
|
|
Node: BSD Compatible Functions231761
|
|
|
|
|
Node: Custom Allocation231979
|
|
|
|
|
Node: Language Bindings236171
|
|
|
|
|
Node: Algorithms240187
|
|
|
|
|
Node: Multiplication Algorithms240892
|
|
|
|
|
Node: Basecase Multiplication241827
|
|
|
|
|
Node: Karatsuba Multiplication243739
|
|
|
|
|
Node: Toom 3-Way Multiplication247369
|
|
|
|
|
Node: FFT Multiplication253778
|
|
|
|
|
Node: Other Multiplication259116
|
|
|
|
|
Node: Division Algorithms261602
|
|
|
|
|
Node: Single Limb Division261950
|
|
|
|
|
Node: Basecase Division264870
|
|
|
|
|
Node: Divide and Conquer Division266074
|
|
|
|
|
Node: Exact Division268312
|
|
|
|
|
Node: Exact Remainder271480
|
|
|
|
|
Node: Small Quotient Division273773
|
|
|
|
|
Node: Greatest Common Divisor Algorithms275372
|
|
|
|
|
Node: Binary GCD275646
|
|
|
|
|
Node: Accelerated GCD278325
|
|
|
|
|
Node: Extended GCD280124
|
|
|
|
|
Node: Jacobi Symbol281795
|
|
|
|
|
Node: Powering Algorithms282712
|
|
|
|
|
Node: Normal Powering Algorithm282976
|
|
|
|
|
Node: Modular Powering Algorithm283505
|
|
|
|
|
Node: Root Extraction Algorithms284569
|
|
|
|
|
Node: Square Root Algorithm284885
|
|
|
|
|
Node: Nth Root Algorithm287028
|
|
|
|
|
Node: Perfect Square Algorithm287814
|
|
|
|
|
Node: Perfect Power Algorithm289901
|
|
|
|
|
Node: Radix Conversion Algorithms290523
|
|
|
|
|
Node: Binary to Radix290900
|
|
|
|
|
Node: Radix to Binary294831
|
|
|
|
|
Node: Other Algorithms296763
|
|
|
|
|
Node: Prime Testing Algorithm297117
|
|
|
|
|
Node: Factorial Algorithm298302
|
|
|
|
|
Node: Binomial Coefficients Algorithm299706
|
|
|
|
|
Node: Fibonacci Numbers Algorithm300601
|
|
|
|
|
Node: Lucas Numbers Algorithm303077
|
|
|
|
|
Node: Random Number Algorithms303799
|
|
|
|
|
Node: Assembler Coding305923
|
|
|
|
|
Node: Assembler Code Organisation306900
|
|
|
|
|
Node: Assembler Basics307873
|
|
|
|
|
Node: Assembler Carry Propagation309032
|
|
|
|
|
Node: Assembler Cache Handling310870
|
|
|
|
|
Node: Assembler Functional Units313038
|
|
|
|
|
Node: Assembler Floating Point314659
|
|
|
|
|
Node: Assembler SIMD Instructions318442
|
|
|
|
|
Node: Assembler Software Pipelining319431
|
|
|
|
|
Node: Assembler Loop Unrolling320499
|
|
|
|
|
Node: Assembler Writing Guide322719
|
|
|
|
|
Node: Internals325489
|
|
|
|
|
Node: Integer Internals326003
|
|
|
|
|
Node: Rational Internals328260
|
|
|
|
|
Node: Float Internals329500
|
|
|
|
|
Node: Raw Output Internals336828
|
|
|
|
|
Node: C++ Interface Internals338023
|
|
|
|
|
Node: Contributors341322
|
|
|
|
|
Node: References346256
|
|
|
|
|
Node: GNU Free Documentation License351312
|
|
|
|
|
Node: Concept Index373759
|
|
|
|
|
Node: Function Index419615
|
2009-02-12 09:17:32 -05:00
|
|
|
|
|
|
|
|
|
End Tag Table
|