Searched refs:gmp_init (Results 1 – 25 of 48) sorted by relevance
12
/PHP-7.0/ext/gmp/tests/ |
H A D | 003.phpt | 8 $test[] = gmp_init("0b10011010010"); 10 $test[] = gmp_init("10011010010"); 14 $test[] = gmp_init("02322"); 15 $test[] = gmp_init("02322", 8); 16 $test[] = gmp_init("2322"); 17 $test[] = gmp_init("2322", 8); 20 $test[] = gmp_init("1234"); 21 $test[] = gmp_init("1234", 10); 24 $test[] = gmp_init("0x4d2"); 26 $test[] = gmp_init("4d2"); [all …]
|
H A D | gmp_init.phpt | 2 gmp_init() basic tests 8 var_dump(gmp_init("98765678")); 9 var_dump(gmp_strval(gmp_init("98765678"))); 10 var_dump(gmp_strval(gmp_init())); 11 var_dump(gmp_init()); 12 var_dump(gmp_init(1,2,3,4)); 13 var_dump(gmp_init(1,-1)); 14 var_dump(gmp_init("",36)); 15 var_dump(gmp_init("foo",3)); 16 var_dump(gmp_strval(gmp_init("993247326237679187178",3))); [all …]
|
H A D | comparison.phpt | 8 $arr = [gmp_init(0), -3, gmp_init(2), 1]; 12 var_dump(min(gmp_init(3), 4)); 13 var_dump(max(gmp_init(3), 4));
|
H A D | bug50175.phpt | 2 Bug #50175: gmp_init() results 0 on given base and number starting with 0x or 0b 6 var_dump(gmp_init('0bcd', 16)); 7 var_dump(gmp_init('0xyz', 36));
|
H A D | bug69803.phpt | 6 $a = gmp_init(100); 7 $b = gmp_init(200); 12 $b = gmp_init(200);
|
H A D | gmp_clrbit.phpt | 8 $n = gmp_init(0); 12 $n = gmp_init(-1); 16 $n = gmp_init("1000000"); 20 $n = gmp_init("1000000"); 24 $n = gmp_init("238462734628347239571823641234");
|
H A D | gmp_setbit.phpt | 8 $n = gmp_init(-1); 12 $n = gmp_init(5); 16 $n = gmp_init(5); 20 $n = gmp_init(5); 24 $n = gmp_init("100000000000");
|
H A D | gmp_gcd.phpt | 16 $n = gmp_init("8127346234"); 18 $n = gmp_init("8127346234"); 20 $n = gmp_init("8127346234"); 22 $n = gmp_init("8127346234");
|
H A D | gmp_pown.phpt | 15 $n = gmp_init(11); 17 $e = gmp_init(7); 19 $m = gmp_init(900); 23 var_dump(gmp_powm(5, "11", gmp_init(0))); 33 $n = gmp_init("-5"); 36 $n = gmp_init("0");
|
H A D | gmp_testbit.phpt | 10 $n = gmp_init(0); 16 $n = gmp_init(-1); 20 $n = gmp_init("1000000"); 30 $n = gmp_init("238462734628347239571823641234");
|
H A D | gmp_perfect_square.phpt | 17 $n = gmp_init(100101); 19 $n = gmp_init(64); 21 $n = gmp_init(-5);
|
H A D | gmp_prob_prime.phpt | 22 $n = gmp_init("23476812735411"); 26 $n = gmp_init("19481923"); 28 $n = gmp_init(0);
|
H A D | bug52906.phpt | 22 echo "{$data[0]}%{$data[1]}=".gmp_strval(gmp_mod(gmp_init($data[0]), gmp_init($data[1])));
|
H A D | gmp_sqrt.phpt | 14 $n = gmp_init(0); 16 $n = gmp_init(-144); 18 $n = gmp_init(777);
|
H A D | gmp_div_qr.phpt | 13 var_dump(gmp_div_qr(gmp_init(1), gmp_init(0))); 19 var_dump(gmp_div_qr(gmp_init(1123123), gmp_init(123)));
|
H A D | serialize.phpt | 8 var_dump($n = gmp_init(42)); 12 $n = gmp_init(13);
|
H A D | gmp_random_range.phpt | 8 $minusTen = gmp_init(-10); 9 $plusTen = gmp_init(10); 10 $zero = gmp_init(0);
|
H A D | gmp_cmp.phpt | 15 $n = gmp_init("827278512385463739"); 17 $n1 = gmp_init("827278512385463739");
|
H A D | gmp_divexact.phpt | 28 $n = gmp_init("10000000000000000000"); 35 $n1 = gmp_init("-100000000000000000000000000");
|
H A D | gmp_neg.phpt | 15 $n = gmp_init("0"); 17 $n = gmp_init("12345678901234567890");
|
H A D | gmp_sign.phpt | 14 $n = gmp_init("098909878976786545"); 32 Warning: gmp_init(): Unable to convert variable to GMP - string is not an integer in %s on line %d
|
H A D | gmp_com.phpt | 16 $n = gmp_init("98765467"); 18 $n = gmp_init("98765463337");
|
H A D | gmp_mod.phpt | 17 $a = gmp_init("-100000000"); 18 $b = gmp_init("353467");
|
H A D | gmp_hamdist.phpt | 13 $n = gmp_init("8765434567"); 14 $n1 = gmp_init("987654445678");
|
H A D | bug659967.phpt | 9 $gmp = gmp_init('10');
|
Completed in 20 milliseconds
12