Home
last modified time | relevance | path

Searched refs:GMP (Results 1 – 25 of 72) sorted by relevance

123

/PHP-8.0/ext/gmp/
H A Dgmp.stub.php5 class GMP class
19 function gmp_add(GMP|int|string $num1, GMP|int|string $num2): GMP {}
21 function gmp_sub(GMP|int|string $num1, GMP|int|string $num2): GMP {}
23 function gmp_mul(GMP|int|string $num1, GMP|int|string $num2): GMP {}
34 function gmp_mod(GMP|int|string $num1, GMP|int|string $num2): GMP {}
36 function gmp_divexact(GMP|int|string $num1, GMP|int|string $num2): GMP {}
54 function gmp_powm(GMP|int|string $num, GMP|int|string $exponent, GMP|int|string $modulus): GMP {}
62 function gmp_gcd(GMP|int|string $num1, GMP|int|string $num2): GMP {}
66 function gmp_lcm(GMP|int|string $num1, GMP|int|string $num2): GMP {}
86 function gmp_and(GMP|int|string $num1, GMP|int|string $num2): GMP {}
[all …]
H A Dgmp_arginfo.h4 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_gmp_init, 0, 1, GMP, 0)
9 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_gmp_import, 0, 1, GMP, 0)
16 ZEND_ARG_OBJ_TYPE_MASK(0, num, GMP, MAY_BE_LONG|MAY_BE_STRING, NULL)
22 ZEND_ARG_OBJ_TYPE_MASK(0, num, GMP, MAY_BE_LONG|MAY_BE_STRING, NULL)
26 ZEND_ARG_OBJ_TYPE_MASK(0, num, GMP, MAY_BE_LONG|MAY_BE_STRING, NULL)
30 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_gmp_add, 0, 2, GMP, 0)
31 ZEND_ARG_OBJ_TYPE_MASK(0, num1, GMP, MAY_BE_LONG|MAY_BE_STRING, NULL)
32 ZEND_ARG_OBJ_TYPE_MASK(0, num2, GMP, MAY_BE_LONG|MAY_BE_STRING, NULL)
59 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_gmp_neg, 0, 1, GMP, 0)
154 ZEND_ARG_OBJ_INFO(0, num, GMP, 0)
[all …]
H A Dconfig.w3210 AC_DEFINE('HAVE_GMP', 1, 'GMP support');
12 WARNING("GMP not enabled; libraries and headers not found");
/PHP-8.0/ext/gmp/tests/
H A Doverloading.phpt2 GMP operator overloading
127 object(GMP)#3 (1) {
131 object(GMP)#3 (1) {
135 object(GMP)#3 (1) {
139 object(GMP)#3 (1) {
143 object(GMP)#3 (1) {
147 object(GMP)#3 (1) {
151 object(GMP)#3 (1) {
155 object(GMP)#3 (1) {
159 object(GMP)#3 (1) {
[all …]
H A Dgmp_div_qr.phpt53 object(GMP)#1 (1) {
58 object(GMP)#2 (1) {
67 object(GMP)#2 (1) {
72 object(GMP)#5 (1) {
80 object(GMP)#4 (1) {
85 object(GMP)#3 (1) {
92 object(GMP)#3 (1) {
97 object(GMP)#4 (1) {
104 object(GMP)#4 (1) {
109 object(GMP)#3 (1) {
[all …]
H A Dgmp_binomial.phpt30 object(GMP)#1 (1) {
34 object(GMP)#1 (1) {
38 object(GMP)#2 (1) {
42 object(GMP)#2 (1) {
46 object(GMP)#2 (1) {
50 object(GMP)#2 (1) {
54 object(GMP)#2 (1) {
58 object(GMP)#2 (1) {
62 object(GMP)#2 (1) {
66 object(GMP)#2 (1) {
H A Dgmp_remroot.phpt37 object(GMP)#%d (1) {
42 object(GMP)#%d (1) {
49 object(GMP)#%d (1) {
54 object(GMP)#%d (1) {
61 object(GMP)#%d (1) {
66 object(GMP)#%d (1) {
73 object(GMP)#%d (1) {
78 object(GMP)#%d (1) {
85 object(GMP)#%d (1) {
90 object(GMP)#%d (1) {
[all …]
H A Dgmp_lcm.phpt20 object(GMP)#1 (1) {
24 object(GMP)#1 (1) {
28 object(GMP)#1 (1) {
32 object(GMP)#1 (1) {
36 object(GMP)#3 (1) {
40 object(GMP)#3 (1) {
44 object(GMP)#3 (1) {
H A Dgmp_div_q.phpt45 object(GMP)#1 (1) {
50 object(GMP)#2 (1) {
55 object(GMP)#1 (1) {
59 object(GMP)#1 (1) {
63 object(GMP)#1 (1) {
67 object(GMP)#1 (1) {
71 object(GMP)#1 (1) {
75 object(GMP)#1 (1) {
79 gmp_div_q(): Argument #1 ($num1) must be of type GMP|string|int, resource given
80 gmp_div_q(): Argument #1 ($num1) must be of type GMP|string|int, array given
H A Dgmp_div_r.phpt45 object(GMP)#1 (1) {
50 object(GMP)#3 (1) {
55 object(GMP)#2 (1) {
59 object(GMP)#3 (1) {
63 object(GMP)#2 (1) {
67 object(GMP)#3 (1) {
71 object(GMP)#2 (1) {
75 object(GMP)#3 (1) {
79 gmp_div_r(): Argument #1 ($num1) must be of type GMP|string|int, resource given
80 gmp_div_r(): Argument #1 ($num1) must be of type GMP|string|int, array given
H A Dgmp_strict_types.phpt2 GMP functions with strict_types=1
39 object(GMP)#2 (1) {
43 object(GMP)#2 (1) {
47 object(GMP)#2 (1) {
51 gmp_abs(): Argument #1 ($num) must be of type GMP|string|int, float given
52 gmp_abs(): Argument #1 ($num) must be of type GMP|string|int, bool given
53 gmp_abs(): Argument #1 ($num) must be of type GMP|string|int, bool given
54 gmp_abs(): Argument #1 ($num) must be of type GMP|string|int, null given
55 gmp_abs(): Argument #1 ($num) must be of type GMP|string|int, array given
H A Dserialize.phpt2 GMP serialization and unserialization
17 unserialize('C:3:"GMP":0:{}');
21 unserialize('C:3:"GMP":9:{s:2:"42";}');
26 object(GMP)#%d (1) {
30 string(30) "C:3:"GMP":15:{s:2:"42";a:0:{}}"
31 object(GMP)#%d (1) {
35 object(GMP)#%d (2) {
H A Dgmp_root.phpt36 object(GMP)#%d (1) {
40 object(GMP)#%d (1) {
44 object(GMP)#%d (1) {
48 object(GMP)#%d (1) {
52 object(GMP)#%d (1) {
57 object(GMP)#%d (1) {
H A Dcomparison.phpt2 Overloaded GMP comparison in sort() etc
21 object(GMP)#1 (1) {
28 object(GMP)#2 (1) {
33 object(GMP)#3 (1) {
H A Dgh9308.phpt2 Bug GH-9308: GMP throws the wrong error when a GMP object is passed to gmp_init()
9 /* We need strict_types as GMP has a __toString() handler */
19 gmp_init(): Argument #1 ($num) must be of type string|int, GMP given
H A Dclone.phpt2 Cloning GMP instances
15 object(GMP)#1 (1) {
19 object(GMP)#2 (1) {
H A Dunserialize_with_reference.phpt2 Unserialize GMP instance with internal reference to itself
7 $s = 'C:3:"GMP":23:{s:1:"2";a:1:{i:46;R:1;}}';
11 object(GMP)#1 (2) {
H A Dgmp_php_int_max.phpt17 object(GMP)#%d (%d) {
21 object(GMP)#%d (%d) {
25 object(GMP)#%d (%d) {
H A Dgmp_sub.phpt41 gmp_sub(): Argument #1 ($num1) must be of type GMP|string|int, array given
42 object(GMP)#1 (1) {
47 object(GMP)#3 (1) {
52 gmp_sub(): Argument #2 ($num2) must be of type GMP|string|int, stdClass given
53 gmp_sub(): Argument #1 ($num1) must be of type GMP|string|int, stdClass given
H A Dgmp_mod.phpt37 object(GMP)#2 (1) {
41 object(GMP)#2 (1) {
46 gmp_mod(): Argument #1 ($num1) must be of type GMP|string|int, array given
47 object(GMP)#4 (1) {
H A Dbug81119.phpt2 GMP operators throw errors with wrong parameter names
22 Number must be of type GMP|string|int, array given
24 Number must be of type GMP|string|int, array given
H A Dbug74670.phpt2 Bug #74670: Integer Underflow when unserializing GMP and possible other classes
5 $str = 'C:3:"GMP":4:{s:6666666666:""}';
H A Dgmp_pown.phpt78 gmp_powm(): Argument #1 ($num) must be of type GMP|string|int, array given
79 gmp_powm(): Argument #2 ($exponent) must be of type GMP|string|int, array given
80 gmp_powm(): Argument #2 ($exponent) must be of type GMP|string|int, TypeError given
81 gmp_powm(): Argument #1 ($num) must be of type GMP|string|int, array given
83 object(GMP)#6 (1) {
H A Dbug50175.phpt13 object(GMP)#%d (1) {
17 object(GMP)#%d (1) {
H A Dgmp_hamdist.phpt45 gmp_hamdist(): Argument #2 ($num2) must be of type GMP|string|int, array given
46 gmp_hamdist(): Argument #1 ($num1) must be of type GMP|string|int, array given
47 gmp_hamdist(): Argument #1 ($num1) must be of type GMP|string|int, array given

Completed in 21 milliseconds

123