219N/A<html lang="en">
219N/A<head>
219N/A<title>GNU MP 4.3.2</title>
219N/A<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
219N/A<meta name="description" content="How to install and use the GNU multiple precision arithmetic library, version 4.3.2.">
219N/A<meta name="generator" content="makeinfo 4.8">
219N/A<link title="Top" rel="start" href="index.html#Top">
219N/A<link rel="up" href="http://gmplib.org/index.html#dir" title="(dir)">
219N/A<link rel="prev" href="http://gmplib.org/index.html#dir" title="(dir)">
219N/A<link rel="next" href="http://gmplib.org/manual-4.3.2/Copying.html#Copying" title="Copying">
219N/A<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
219N/A<!--
219N/AThis manual describes how to install and use the GNU multiple precision
219N/Aarithmetic library, version 4.3.2.
219N/A
219N/ACopyright 1991, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
219N/A2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
219N/A
219N/APermission is granted to copy, distribute and/or modify this document under
219N/Athe terms of the GNU Free Documentation License, Version 1.3 or any later
219N/Aversion published by the Free Software Foundation; with no Invariant Sections,
219N/Awith the Front-Cover Texts being ``A GNU Manual'', and with the Back-Cover
219N/ATexts being ``You have freedom to copy and modify this GNU Manual, like GNU
219N/Asoftware''. A copy of the license is included in
219N/A*Note GNU Free Documentation License::.-->
219N/A<meta http-equiv="Content-Style-Type" content="text/css">
219N/A<style type="text/css"><!--
219N/A pre.display { font-family:inherit }
219N/A pre.format { font-family:inherit }
219N/A pre.smalldisplay { font-family:inherit; font-size:smaller }
219N/A pre.smallformat { font-family:inherit; font-size:smaller }
219N/A pre.smallexample { font-size:smaller }
219N/A pre.smalllisp { font-size:smaller }
219N/A span.sc { font-variant:small-caps }
219N/A span.roman { font-family:serif; font-weight:normal; }
219N/A span.sansserif { font-family:sans-serif; font-weight:normal; }
219N/A--></style>
219N/A</head>
219N/A<body>
219N/A<div class="node">
219N/A<p>
219N/A<a name="Top"></a>
219N/ANext:&nbsp;<a rel="next" accesskey="n" href="http://gmplib.org/manual-4.3.2/Copying.html#Copying">Copying</a>,
219N/APrevious:&nbsp;<a rel="previous" accesskey="p" href="http://gmplib.org/index.html#dir">(dir)</a>,
219N/AUp:&nbsp;<a rel="up" accesskey="u" href="http://gmplib.org/index.html#dir">(dir)</a>
219N/A<hr>
219N/A</div>
219N/A
219N/A<h2 class="unnumbered">GNU MP</h2>
219N/A
219N/A <p>This manual describes how to install and use the GNU multiple precision
219N/Aarithmetic library, version 4.3.2.
219N/A
219N/A <p>Copyright 1991, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
219N/A2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
219N/A
219N/A <p>Permission is granted to copy, distribute and/or modify this document under
219N/Athe terms of the GNU Free Documentation License, Version 1.3 or any later
219N/Aversion published by the Free Software Foundation; with no Invariant Sections,
219N/Awith the Front-Cover Texts being &ldquo;A GNU Manual&rdquo;, and with the Back-Cover
219N/ATexts being &ldquo;You have freedom to copy and modify this GNU Manual, like GNU
219N/Asoftware&rdquo;. A copy of the license is included in
219N/A<a href="http://gmplib.org/manual-4.3.2/GNU-Free-Documentation-License.html#GNU-Free-Documentation-License">GNU Free Documentation License</a>.
219N/A <pre class="sp">
219N/A
219N/A</pre>
219N/A
219N/A<!-- Don't bother with contents for html, the menus seem adequate. -->
219N/A<ul class="menu">
219N/A<li><a accesskey="1" href="http://gmplib.org/manual-4.3.2/Copying.html#Copying">Copying</a>: GMP Copying Conditions (LGPL).
219N/A<li><a accesskey="2" href="http://gmplib.org/manual-4.3.2/Introduction-to-GMP.html#Introduction-to-GMP">Introduction to GMP</a>: Brief introduction to GNU MP.
219N/A<li><a accesskey="3" href="http://gmplib.org/manual-4.3.2/Installing-GMP.html#Installing-GMP">Installing GMP</a>: How to configure and compile the GMP library.
219N/A<li><a accesskey="4" href="http://gmplib.org/manual-4.3.2/GMP-Basics.html#GMP-Basics">GMP Basics</a>: What every GMP user should know.
219N/A<li><a accesskey="5" href="http://gmplib.org/manual-4.3.2/Reporting-Bugs.html#Reporting-Bugs">Reporting Bugs</a>: How to usefully report bugs.
219N/A<li><a accesskey="6" href="http://gmplib.org/manual-4.3.2/Integer-Functions.html#Integer-Functions">Integer Functions</a>: Functions for arithmetic on signed integers.
219N/A<li><a accesskey="7" href="http://gmplib.org/manual-4.3.2/Rational-Number-Functions.html#Rational-Number-Functions">Rational Number Functions</a>: Functions for arithmetic on rational numbers.
219N/A<li><a accesskey="8" href="http://gmplib.org/manual-4.3.2/Floating_002dpoint-Functions.html#Floating_002dpoint-Functions">Floating-point Functions</a>: Functions for arithmetic on floats.
219N/A<li><a accesskey="9" href="http://gmplib.org/manual-4.3.2/Low_002dlevel-Functions.html#Low_002dlevel-Functions">Low-level Functions</a>: Fast functions for natural numbers.
219N/A<li><a href="http://gmplib.org/manual-4.3.2/Random-Number-Functions.html#Random-Number-Functions">Random Number Functions</a>: Functions for generating random numbers.
219N/A<li><a href="http://gmplib.org/manual-4.3.2/Formatted-Output.html#Formatted-Output">Formatted Output</a>: <code>printf</code> style output.
219N/A<li><a href="http://gmplib.org/manual-4.3.2/Formatted-Input.html#Formatted-Input">Formatted Input</a>: <code>scanf</code> style input.
219N/A<li><a href="http://gmplib.org/manual-4.3.2/C_002b_002b-Class-Interface.html#C_002b_002b-Class-Interface">C++ Class Interface</a>: Class wrappers around GMP types.
219N/A<li><a href="http://gmplib.org/manual-4.3.2/BSD-Compatible-Functions.html#BSD-Compatible-Functions">BSD Compatible Functions</a>: All functions found in BSD MP.
219N/A<li><a href="http://gmplib.org/manual-4.3.2/Custom-Allocation.html#Custom-Allocation">Custom Allocation</a>: How to customize the internal allocation.
219N/A<li><a href="http://gmplib.org/manual-4.3.2/Language-Bindings.html#Language-Bindings">Language Bindings</a>: Using GMP from other languages.
219N/A<li><a href="http://gmplib.org/manual-4.3.2/Algorithms.html#Algorithms">Algorithms</a>: What happens behind the scenes.
219N/A<li><a href="http://gmplib.org/manual-4.3.2/Internals.html#Internals">Internals</a>: How values are represented behind the scenes.
219N/A
219N/A<li><a href="http://gmplib.org/manual-4.3.2/Contributors.html#Contributors">Contributors</a>: Who brings you this library?
219N/A<li><a href="http://gmplib.org/manual-4.3.2/References.html#References">References</a>: Some useful papers and books to read.
219N/A<li><a href="http://gmplib.org/manual-4.3.2/GNU-Free-Documentation-License.html#GNU-Free-Documentation-License">GNU Free Documentation License</a>
219N/A<li><a href="http://gmplib.org/manual-4.3.2/Concept-Index.html#Concept-Index">Concept Index</a>
219N/A<li><a href="http://gmplib.org/manual-4.3.2/Function-Index.html#Function-Index">Function Index</a>
219N/A</ul>
219N/A
219N/A<!-- @m{T,N} is $T$ in tex or @math{N} otherwise. This is an easy way to give -->
219N/A<!-- different forms for math in tex and info. Commas in N or T don't work, -->
219N/A<!-- but @C{} can be used instead. \, works in info but not in tex. -->
219N/A<!-- @ms{V,N} is $V_N$ in tex or just vn otherwise. This suits simple -->
219N/A<!-- subscripts like @ms{x,0}. -->
219N/A<!-- @nicode{S} is plain S in info, or @code{S} elsewhere. This can be used -->
219N/A<!-- when the quotes that @code{} gives in info aren't wanted, but the -->
219N/A<!-- fontification in tex or html is wanted. Doesn't work as @nicode{'\\0'} -->
219N/A<!-- though (gives two backslashes in tex). -->
219N/A<!-- @nisamp{S} is plain S in info, or @samp{S} elsewhere. This can be used -->
219N/A<!-- when the quotes that @samp{} gives in info aren't wanted, but the -->
219N/A<!-- fontification in tex or html is wanted. -->
219N/A<!-- Usage: @GMPtimes{} -->
219N/A<!-- Give either \times or the word "times". -->
219N/A<!-- Usage: @GMPmultiply{} -->
219N/A<!-- Give * in info, or nothing in tex. -->
219N/A<!-- Usage: @GMPabs{x} -->
219N/A<!-- Give either |x| in tex, or abs(x) in info or html. -->
219N/A<!-- Usage: @GMPfloor{x} -->
219N/A<!-- Give either \lfloor x\rfloor in tex, or floor(x) in info or html. -->
219N/A<!-- Usage: @GMPceil{x} -->
219N/A<!-- Give either \lceil x\rceil in tex, or ceil(x) in info or html. -->
219N/A<!-- Math operators already available in tex, made available in info too. -->
219N/A<!-- For example @bmod{} can be used in both tex and info. -->
219N/A<!-- New math operators. -->
219N/A<!-- @abs{} can be used in both tex and info, or just \abs in tex. -->
219N/A<!-- @cross{} is a \times symbol in tex, or an "x" in info. In tex it works -->
219N/A<!-- inside or outside $ $. -->
219N/A<!-- @times{} made available as a "*" in info and html (already works in tex). -->
219N/A<!-- Usage: @W{text} -->
219N/A<!-- Like @w{} but working in math mode too. -->
219N/A<!-- Usage: \GMPdisplay{text} -->
219N/A<!-- Put the given text in an @display style indent, but without turning off -->
219N/A<!-- paragraph reflow etc. -->
219N/A<!-- Usage: \GMPhat -->
219N/A<!-- A new \hat that will work in math mode, unlike the texinfo redefined -->
219N/A<!-- version. -->
219N/A<!-- Usage: \GMPraise{text} -->
219N/A<!-- For use in a $ $ math expression as an alternative to "^". This is good -->
219N/A<!-- for @code{} in an exponent, since there seems to be no superscript font -->
219N/A<!-- for that. -->
219N/A<!-- Usage: @texlinebreak{} -->
219N/A<!-- A line break as per @*, but only in tex. -->
219N/A<!-- Usage: @maybepagebreak -->
219N/A<!-- Allow tex to insert a page break, if it feels the urge. -->
219N/A<!-- Normally blocks of @deftypefun/funx are kept together, which can lead to -->
219N/A<!-- some poor page break positioning if it's a big block, like the sets of -->
219N/A<!-- division functions etc. -->
219N/A<!-- Usage: @GMPreftop{info,title} -->
219N/A<!-- Usage: @GMPpxreftop{info,title} -->
219N/A<!-- Like @ref{} and @pxref{}, but designed for a reference to the top of a -->
219N/A<!-- document, not a particular section. The TeX output for plain @ref insists -->
219N/A<!-- on printing a particular section, GMPreftop gives just the title. -->
219N/A<!-- The texinfo manual recommends putting a likely section name in references -->
219N/A<!-- like this, eg. "Introduction", but it seems better to just give the title. -->
219N/A</body></html>
219N/A