php-doc-en/reference/gmp/book.xml
Kamil Tekiela a35fce69cc
Remove obsolete resource information
Closes GH-725.
2021-06-24 16:08:30 +02:00

79 lines
2.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<book xml:id="book.gmp" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<?phpdoc extension-membership="bundledexternal" ?>
<title>GNU Multiple Precision</title>
<titleabbrev>GMP</titleabbrev>
<!-- {{{ preface -->
<preface xml:id="intro.gmp">
&reftitle.intro;
<simpara>
These functions allow for arbitrary-length integers to be worked with using
the GNU <acronym>MP</acronym> library.
</simpara>
<note>
<para>
Most GMP functions accept GMP number arguments. These are shown in this
documentation as <classname>GMP</classname> objects. Most
of these functions will also accept numeric and string arguments, so long
as it is possible to convert the latter to a number. Also, if there is a
more performant function that can operate on the arguments (integers only),
then it will be used instead (this is done transparently). See also the
<function>gmp_init</function> function.
</para>
</note>
<note>
<para>
From PHP 5.6 onwards, the
<link linkend="language.operators.arithmetic">arithmetic</link>,
<link linkend="language.operators.bitwise">bitwise</link>, and
<link linkend="language.operators.comparison">comparison</link> operators
may be used with the <classname>GMP</classname> objects returned from
<function>gmp_init</function> and other GMP functions.
</para>
</note>
<warning>
<simpara>
Large integers must be specified as strings - otherwise, PHP will coerce
them to floats, resulting in a loss of precision.
</simpara>
</warning>
<note>
<simpara>
This extension is available on Windows platforms.
</simpara>
</note>
</preface>
<!-- }}} -->
&reference.gmp.setup;
&reference.gmp.constants;
&reference.gmp.examples;
&reference.gmp.reference;
&reference.gmp.gmp;
</book>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->