Home
last modified time | relevance | path

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

1234

/php-src/ext/gmp/
H A Dgmp.stub.php79 function gmp_add(GMP|int|string $num1, GMP|int|string $num2): GMP {}
81 function gmp_sub(GMP|int|string $num1, GMP|int|string $num2): GMP {}
83 function gmp_mul(GMP|int|string $num1, GMP|int|string $num2): GMP {}
98 function gmp_mod(GMP|int|string $num1, GMP|int|string $num2): GMP {}
100 function gmp_divexact(GMP|int|string $num1, GMP|int|string $num2): GMP {}
126 function gmp_powm(GMP|int|string $num, GMP|int|string $exponent, GMP|int|string $modulus): GMP {}
134 function gmp_gcd(GMP|int|string $num1, GMP|int|string $num2): GMP {}
142 function gmp_lcm(GMP|int|string $num1, GMP|int|string $num2): GMP {}
162 function gmp_and(GMP|int|string $num1, GMP|int|string $num2): GMP {}
164 function gmp_or(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)
154 ZEND_ARG_OBJ_INFO(0, num, GMP, 0)
160 ZEND_ARG_OBJ_INFO(0, num, GMP, 0)
249 ZEND_METHOD(GMP, __construct);
250 ZEND_METHOD(GMP, __serialize);
[all …]
/php-src/ext/gmp/tests/
H A Dconstruct.phpt2 Constructor for GMP
7 var_dump(new GMP);
8 var_dump(new GMP(0));
9 var_dump(new GMP(123));
10 var_dump(new GMP("0xAA"));
11 var_dump(new GMP("12", 4));
29 object(GMP)#1 (1) {
33 object(GMP)#1 (1) {
37 object(GMP)#1 (1) {
41 object(GMP)#1 (1) {
[all …]
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 Dserialize.phpt2 GMP serialization and unserialization
20 unserialize('C:3:"GMP":0:{}');
24 unserialize('C:3:"GMP":9:{s:2:"42";}');
28 unserialize('O:3:"GMP":0:{}');
32 unserialize('O:3:"GMP":1:{i:0;i:0;}');
36 unserialize('O:3:"GMP":1:{i:0;s:0:"";}');
45 object(GMP)#%d (1) {
49 string(27) "O:3:"GMP":1:{i:0;s:2:"2a";}"
50 object(GMP)#%d (1) {
59 object(GMP)#%d (2) {
[all …]
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_init_integer_notations.phpt19 object(GMP)#1 (1) {
23 object(GMP)#1 (1) {
27 object(GMP)#1 (1) {
31 object(GMP)#1 (1) {
35 object(GMP)#1 (1) {
39 object(GMP)#1 (1) {
43 object(GMP)#1 (1) {
47 object(GMP)#1 (1) {
H A Dgmp_init_leading_spaces.phpt25 object(GMP)#1 (1) {
29 object(GMP)#1 (1) {
33 object(GMP)#1 (1) {
37 object(GMP)#1 (1) {
41 object(GMP)#1 (1) {
45 object(GMP)#1 (1) {
49 object(GMP)#1 (1) {
53 object(GMP)#1 (1) {
57 object(GMP)#1 (1) {
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
41 object(GMP)#2 (1) {
45 object(GMP)#2 (1) {
49 object(GMP)#2 (1) {
53 gmp_abs(): Argument #1 ($num) must be of type GMP|string|int, float given
54 gmp_abs(): Argument #1 ($num) must be of type GMP|string|int, false given
55 gmp_abs(): Argument #1 ($num) must be of type GMP|string|int, true given
56 gmp_abs(): Argument #1 ($num) must be of type GMP|string|int, null given
57 gmp_abs(): Argument #1 ($num) must be of type GMP|string|int, array given
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 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 Dclone.phpt2 Cloning GMP instances
15 object(GMP)#1 (1) {
19 object(GMP)#2 (1) {
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 Dgmp_php_int_max.phpt18 object(GMP)#%d (%d) {
22 object(GMP)#%d (%d) {
26 object(GMP)#%d (%d) {
H A Dgmp_dynamic_property.phpt16 Deprecated: Creation of dynamic property GMP::$1 is deprecated in %s on line %d
18 Deprecated: Creation of dynamic property GMP::$1 is deprecated in %s on line %d
19 object(GMP)#%d (%d) {
H A Dbug81119.phpt2 GMP operators throw errors with wrong parameter names
24 Number must be of type GMP|string|int, array given
26 Number must be of type GMP|string|int, array given
H A Dgmp_invert.phpt19 $zero = new GMP(0);
64 gmp_invert(): Argument #1 ($num1) must be of type GMP|string|int, array given
65 gmp_invert(): Argument #2 ($num2) must be of type GMP|string|int, array given
66 gmp_invert(): Argument #1 ($num1) must be of type GMP|string|int, array given

Completed in 27 milliseconds

1234