reference/gmp/functions/gmp-testbit.xml
574a644f1de7086fdd7d2c2d1b4b2af80bc295df
...
...
@@ -1,6 +1,6 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.gmp-testbit">
3
+
<refentry xml:id="function.gmp-testbit" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>gmp_testbit</refname>
6
6
<refpurpose>Tests if a bit is set</refpurpose>
...
...
@@ -10,7 +10,7 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>bool</type><methodname>gmp_testbit</methodname>
13
-
<methodparam><type>GMP</type><parameter>a</parameter></methodparam>
13
+
<methodparam><type class="union"><type>GMP</type><type>int</type><type>string</type></type><parameter>num</parameter></methodparam>
14
14
<methodparam><type>int</type><parameter>index</parameter></methodparam>
15
15
</methodsynopsis>
16
16
<para>
...
...
@@ -23,7 +23,7 @@
23
23
<para>
24
24
<variablelist>
25
25
<varlistentry>
26
-
<term><parameter>a</parameter></term>
26
+
<term><parameter>num</parameter></term>
27
27
<listitem>
28
28
&gmp.parameter;
29
29
</listitem>
...
...
@@ -43,7 +43,7 @@
43
43
<refsect1 role="returnvalues">
44
44
&reftitle.returnvalues;
45
45
<para>
46
-
Returns &true; if the bit is set in resource <parameter>$a</parameter>,
46
+
Returns &true; if the bit is set in <parameter>num</parameter>,
47
47
otherwise &false;.
48
48
</para>
49
49
</refsect1>
...
...
@@ -93,7 +93,6 @@ bool(true)
93
93
</para>
94
94
</refsect1>
95
95
</refentry>
96
-

97
96
<!-- Keep this comment at the end of the file
98
97
Local variables:
99
98
mode: sgml
...
...
@@ -114,4 +113,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
114
113
vim: et tw=78 syn=sgml
115
114
vi: ts=1 sw=1
116
115
-->
117
-

118
116