mpfr.xml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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. <sect1 id="ch-system-mpfr" role="wrap">
  8. <?dbhtml filename="mpfr.html"?>
  9. <sect1info condition="script">
  10. <productname>mpfr</productname>
  11. <productnumber>&mpfr-version;</productnumber>
  12. <address>&mpfr-url;</address>
  13. </sect1info>
  14. <title>MPFR-&mpfr-version;</title>
  15. <indexterm zone="ch-system-mpfr">
  16. <primary sortas="a-MPFR">MPFR</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <para>The MPFR package contains functions for multiple precision
  21. math.</para>
  22. <segmentedlist>
  23. <segtitle>&buildtime;</segtitle>
  24. <segtitle>&diskspace;</segtitle>
  25. <seglistitem>
  26. <seg>&mpfr-ch6-sbu;</seg>
  27. <seg>&mpfr-ch6-du;</seg>
  28. </seglistitem>
  29. </segmentedlist>
  30. </sect2>
  31. <sect2 role="installation">
  32. <title>Installation of MPFR</title>
  33. <para>First, apply the following patch to fix various bugs that have been
  34. addressed upstream:</para>
  35. <screen><userinput remap="pre">patch -Np1 -i ../&mpfr-fixes-patch;</userinput></screen>
  36. <para>Prepare MPFR for compilation:</para>
  37. <screen><userinput remap="configure">./configure --prefix=/usr \
  38. --enable-thread-safe \
  39. --docdir=/usr/share/doc/mpfr-&mpfr-version;</userinput></screen>
  40. <para>Compile the package and generate the HTML documentation:</para>
  41. <screen><userinput remap="make">make
  42. make html</userinput></screen>
  43. <important>
  44. <para>The test suite for MPFR in this section is considered critical.
  45. Do not skip it under any circumstances.</para>
  46. </important>
  47. <para>Test the results and ensure that all tests passed:</para>
  48. <screen><userinput remap="test">make check</userinput></screen>
  49. <para>Install the package and its documentation:</para>
  50. <screen><userinput remap="install">make install
  51. make install-html</userinput></screen>
  52. </sect2>
  53. <sect2 id="contents-mpfr" role="content">
  54. <title>Contents of MPFR</title>
  55. <segmentedlist>
  56. <segtitle>Installed Libraries</segtitle>
  57. <segtitle>Installed directory</segtitle>
  58. <seglistitem>
  59. <seg>libmpfr.{a,so}</seg>
  60. <seg>/usr/share/doc/mpfr-&mpfr-version;</seg>
  61. </seglistitem>
  62. </segmentedlist>
  63. <variablelist>
  64. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  65. <?dbfo list-presentation="list"?>
  66. <?dbhtml list-presentation="table"?>
  67. <varlistentry id="libmpfr">
  68. <term><filename class="libraryfile">libmpfr</filename></term>
  69. <listitem>
  70. <para>Contains multiple-precision math functions</para>
  71. <indexterm zone="ch-system-mpfr libmpfr">
  72. <primary sortas="c-libmpfr">libmpfr</primary>
  73. </indexterm>
  74. </listitem>
  75. </varlistentry>
  76. </variablelist>
  77. </sect2>
  78. </sect1>