[6cc0516] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-system-mpfr" role="wrap">
|
---|
| 9 | <?dbhtml filename="mpfr.html"?>
|
---|
| 10 |
|
---|
| 11 | <sect1info condition="script">
|
---|
| 12 | <productname>mpfr</productname>
|
---|
| 13 | <productnumber>&mpfr-version;</productnumber>
|
---|
| 14 | <address>&mpfr-url;</address>
|
---|
| 15 | </sect1info>
|
---|
| 16 |
|
---|
| 17 | <title>MPFR-&mpfr-version;</title>
|
---|
| 18 |
|
---|
| 19 | <indexterm zone="ch-system-mpfr">
|
---|
| 20 | <primary sortas="a-MPFR">MPFR</primary>
|
---|
| 21 | </indexterm>
|
---|
| 22 |
|
---|
| 23 | <sect2 role="package">
|
---|
| 24 | <title/>
|
---|
| 25 |
|
---|
| 26 | <para>The MPFR package contains functions for multiple precision
|
---|
| 27 | math.</para>
|
---|
| 28 |
|
---|
| 29 | <segmentedlist>
|
---|
| 30 | <segtitle>&buildtime;</segtitle>
|
---|
| 31 | <segtitle>&diskspace;</segtitle>
|
---|
| 32 |
|
---|
| 33 | <seglistitem>
|
---|
[fb386e0] | 34 | <seg>&mpfr-fin-sbu;</seg>
|
---|
| 35 | <seg>&mpfr-fin-du;</seg>
|
---|
[6cc0516] | 36 | </seglistitem>
|
---|
| 37 | </segmentedlist>
|
---|
| 38 |
|
---|
| 39 | </sect2>
|
---|
| 40 |
|
---|
| 41 | <sect2 role="installation">
|
---|
| 42 | <title>Installation of MPFR</title>
|
---|
[b84fe84] | 43 |
|
---|
[19f4e4d] | 44 | <!-- https://sympa.inria.fr/sympa/arc/mpfr/2023-01/msg00002.html
|
---|
| 45 | https://gitlab.inria.fr/mpfr/mpfr/-/commit/5172494c
|
---|
| 46 |
|
---|
| 47 | Note that it's a different issue from Glibc #30068 we've fixed in
|
---|
| 48 | chapter08/glibc.xml with a sed. Normally we just document the
|
---|
| 49 | test failure, but in this case the particular subtest also serves
|
---|
| 50 | as an additional guard against Glibc #30068. So we apply the
|
---|
| 51 | upstream fix here. -->
|
---|
| 52 | <para>Fix a test case based on a bug of old Glibc releases:</para>
|
---|
| 53 |
|
---|
| 54 | <screen><userinput remap="pre">sed -e 's/+01,234,567/+1,234,567 /' \
|
---|
| 55 | -e 's/13.10Pd/13Pd/' \
|
---|
| 56 | -i tests/tsprintf.c</userinput></screen>
|
---|
| 57 |
|
---|
[6cc0516] | 58 | <para>Prepare MPFR for compilation:</para>
|
---|
| 59 |
|
---|
[4028929] | 60 | <screen><userinput remap="configure">./configure --prefix=/usr \
|
---|
[73b2841] | 61 | --disable-static \
|
---|
[4028929] | 62 | --enable-thread-safe \
|
---|
| 63 | --docdir=/usr/share/doc/mpfr-&mpfr-version;</userinput></screen>
|
---|
[6cc0516] | 64 |
|
---|
[bd5d85a] | 65 | <para>Compile the package and generate the HTML documentation:</para>
|
---|
[6cc0516] | 66 |
|
---|
[bd5d85a] | 67 | <screen><userinput remap="make">make
|
---|
| 68 | make html</userinput></screen>
|
---|
[6cc0516] | 69 |
|
---|
| 70 | <important>
|
---|
| 71 | <para>The test suite for MPFR in this section is considered critical.
|
---|
| 72 | Do not skip it under any circumstances.</para>
|
---|
| 73 | </important>
|
---|
| 74 |
|
---|
[19f4e4d] | 75 | <para>Test the results and ensure that all 197 tests passed:</para>
|
---|
[6cc0516] | 76 |
|
---|
| 77 | <screen><userinput remap="test">make check</userinput></screen>
|
---|
| 78 |
|
---|
[bd5d85a] | 79 | <para>Install the package and its documentation:</para>
|
---|
[6cc0516] | 80 |
|
---|
[bd5d85a] | 81 | <screen><userinput remap="install">make install
|
---|
| 82 | make install-html</userinput></screen>
|
---|
[db61418] | 83 |
|
---|
[6cc0516] | 84 | </sect2>
|
---|
| 85 |
|
---|
| 86 |
|
---|
| 87 | <sect2 id="contents-mpfr" role="content">
|
---|
| 88 | <title>Contents of MPFR</title>
|
---|
| 89 |
|
---|
| 90 | <segmentedlist>
|
---|
| 91 | <segtitle>Installed Libraries</segtitle>
|
---|
[fe05b08] | 92 | <segtitle>Installed directory</segtitle>
|
---|
[6cc0516] | 93 |
|
---|
| 94 | <seglistitem>
|
---|
[040ecb6] | 95 | <seg>libmpfr.so</seg>
|
---|
[fe05b08] | 96 | <seg>/usr/share/doc/mpfr-&mpfr-version;</seg>
|
---|
[6cc0516] | 97 | </seglistitem>
|
---|
| 98 | </segmentedlist>
|
---|
| 99 |
|
---|
| 100 | <variablelist>
|
---|
| 101 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 102 | <?dbfo list-presentation="list"?>
|
---|
| 103 | <?dbhtml list-presentation="table"?>
|
---|
| 104 |
|
---|
[90aae6b] | 105 | <varlistentry id="libmpfr">
|
---|
[5f7456b] | 106 | <term><filename class="libraryfile">libmpfr</filename></term>
|
---|
[6cc0516] | 107 | <listitem>
|
---|
[afba93b] | 108 | <para>Contains multiple-precision math functions</para>
|
---|
[90aae6b] | 109 | <indexterm zone="ch-system-mpfr libmpfr">
|
---|
| 110 | <primary sortas="c-libmpfr">libmpfr</primary>
|
---|
[6cc0516] | 111 | </indexterm>
|
---|
| 112 | </listitem>
|
---|
| 113 | </varlistentry>
|
---|
| 114 |
|
---|
| 115 | </variablelist>
|
---|
| 116 |
|
---|
| 117 | </sect2>
|
---|
| 118 |
|
---|
| 119 | </sect1>
|
---|