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-08 22:07:02 -04:00
|
|
|
|
mpir.info-2: 300438
|
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
|
2009-09-08 22:07:02 -04:00
|
|
|
|
Node: Random Number Functions186415
|
|
|
|
|
Node: Random State Initialization187485
|
|
|
|
|
Node: Random State Seeding189548
|
|
|
|
|
Node: Random State Miscellaneous190938
|
|
|
|
|
Node: Formatted Output191580
|
|
|
|
|
Node: Formatted Output Strings191826
|
|
|
|
|
Node: Formatted Output Functions197066
|
|
|
|
|
Node: C++ Formatted Output201143
|
|
|
|
|
Node: Formatted Input203830
|
|
|
|
|
Node: Formatted Input Strings204067
|
|
|
|
|
Node: Formatted Input Functions208729
|
|
|
|
|
Node: C++ Formatted Input211702
|
|
|
|
|
Node: C++ Class Interface213610
|
|
|
|
|
Node: C++ Interface General214615
|
|
|
|
|
Node: C++ Interface Integers217698
|
|
|
|
|
Node: C++ Interface Rationals221132
|
|
|
|
|
Node: C++ Interface Floats224811
|
|
|
|
|
Node: C++ Interface Random Numbers230106
|
|
|
|
|
Node: C++ Interface Limitations232236
|
|
|
|
|
Node: BSD Compatible Functions235082
|
|
|
|
|
Node: Custom Allocation235300
|
|
|
|
|
Node: Language Bindings239492
|
|
|
|
|
Node: Algorithms243508
|
|
|
|
|
Node: Multiplication Algorithms244213
|
|
|
|
|
Node: Basecase Multiplication245148
|
|
|
|
|
Node: Karatsuba Multiplication247060
|
|
|
|
|
Node: Toom 3-Way Multiplication250690
|
|
|
|
|
Node: FFT Multiplication257099
|
|
|
|
|
Node: Other Multiplication262437
|
|
|
|
|
Node: Division Algorithms264923
|
|
|
|
|
Node: Single Limb Division265271
|
|
|
|
|
Node: Basecase Division268191
|
|
|
|
|
Node: Divide and Conquer Division269395
|
|
|
|
|
Node: Exact Division271633
|
|
|
|
|
Node: Exact Remainder274801
|
|
|
|
|
Node: Small Quotient Division277094
|
|
|
|
|
Node: Greatest Common Divisor Algorithms278693
|
|
|
|
|
Node: Binary GCD278967
|
|
|
|
|
Node: Accelerated GCD281646
|
|
|
|
|
Node: Extended GCD283445
|
|
|
|
|
Node: Jacobi Symbol285116
|
|
|
|
|
Node: Powering Algorithms286033
|
|
|
|
|
Node: Normal Powering Algorithm286297
|
|
|
|
|
Node: Modular Powering Algorithm286826
|
|
|
|
|
Node: Root Extraction Algorithms287890
|
|
|
|
|
Node: Square Root Algorithm288206
|
|
|
|
|
Node: Nth Root Algorithm290349
|
|
|
|
|
Node: Perfect Square Algorithm291135
|
|
|
|
|
Node: Perfect Power Algorithm293222
|
|
|
|
|
Node: Radix Conversion Algorithms293844
|
|
|
|
|
Node: Binary to Radix294221
|
|
|
|
|
Node: Radix to Binary298152
|
|
|
|
|
Node: Other Algorithms300084
|
|
|
|
|
Node: Prime Testing Algorithm300438
|
|
|
|
|
Node: Factorial Algorithm301623
|
|
|
|
|
Node: Binomial Coefficients Algorithm303027
|
|
|
|
|
Node: Fibonacci Numbers Algorithm303922
|
|
|
|
|
Node: Lucas Numbers Algorithm306398
|
|
|
|
|
Node: Random Number Algorithms307120
|
|
|
|
|
Node: Assembler Coding309244
|
|
|
|
|
Node: Assembler Code Organisation310221
|
|
|
|
|
Node: Assembler Basics311194
|
|
|
|
|
Node: Assembler Carry Propagation312353
|
|
|
|
|
Node: Assembler Cache Handling314191
|
|
|
|
|
Node: Assembler Functional Units316359
|
|
|
|
|
Node: Assembler Floating Point317980
|
|
|
|
|
Node: Assembler SIMD Instructions321763
|
|
|
|
|
Node: Assembler Software Pipelining322752
|
|
|
|
|
Node: Assembler Loop Unrolling323820
|
|
|
|
|
Node: Assembler Writing Guide326040
|
|
|
|
|
Node: Internals328810
|
|
|
|
|
Node: Integer Internals329324
|
|
|
|
|
Node: Rational Internals331581
|
|
|
|
|
Node: Float Internals332821
|
|
|
|
|
Node: Raw Output Internals340149
|
|
|
|
|
Node: C++ Interface Internals341344
|
|
|
|
|
Node: Contributors344643
|
|
|
|
|
Node: References349577
|
|
|
|
|
Node: GNU Free Documentation License354633
|
|
|
|
|
Node: Concept Index377080
|
|
|
|
|
Node: Function Index423078
|
2009-02-12 09:17:32 -05:00
|
|
|
|
|
|
|
|
|
End Tag Table
|