php-internal-docs 8.4.8
Unofficial docs for php/php-src
|
Go to the source code of this file.
Data Structures | |
class | GMP |
Functions | |
gmp_init (int|string $num, int $base=0) | |
gmp_import (string $data, int $word_size=1, int $flags=GMP_MSW_FIRST|GMP_NATIVE_ENDIAN) | |
gmp_export (GMP|int|string $num, int $word_size=1, int $flags=GMP_MSW_FIRST|GMP_NATIVE_ENDIAN) | |
gmp_intval (GMP|int|string $num) | |
gmp_strval (GMP|int|string $num, int $base=10) | |
gmp_add (GMP|int|string $num1, GMP|int|string $num2) | |
gmp_sub (GMP|int|string $num1, GMP|int|string $num2) | |
gmp_mul (GMP|int|string $num1, GMP|int|string $num2) | |
gmp_div_qr (GMP|int|string $num1, GMP|int|string $num2, int $rounding_mode=GMP_ROUND_ZERO) | |
gmp_div_q (GMP|int|string $num1, GMP|int|string $num2, int $rounding_mode=GMP_ROUND_ZERO) | |
gmp_div_r (GMP|int|string $num1, GMP|int|string $num2, int $rounding_mode=GMP_ROUND_ZERO) | |
gmp_div (GMP|int|string $num1, GMP|int|string $num2, int $rounding_mode=GMP_ROUND_ZERO) | |
gmp_mod (GMP|int|string $num1, GMP|int|string $num2) | |
gmp_divexact (GMP|int|string $num1, GMP|int|string $num2) | |
gmp_neg (GMP|int|string $num) | |
gmp_abs (GMP|int|string $num) | |
gmp_fact (GMP|int|string $num) | |
gmp_sqrt (GMP|int|string $num) | |
gmp_sqrtrem (GMP|int|string $num) | |
gmp_root (GMP|int|string $num, int $nth) | |
gmp_rootrem (GMP|int|string $num, int $nth) | |
gmp_pow (GMP|int|string $num, int $exponent) | |
gmp_powm (GMP|int|string $num, GMP|int|string $exponent, GMP|int|string $modulus) | |
gmp_perfect_square (GMP|int|string $num) | |
gmp_perfect_power (GMP|int|string $num) | |
gmp_prob_prime (GMP|int|string $num, int $repetitions=10) | |
gmp_gcd (GMP|int|string $num1, GMP|int|string $num2) | |
gmp_gcdext (GMP|int|string $num1, GMP|int|string $num2) | |
gmp_lcm (GMP|int|string $num1, GMP|int|string $num2) | |
gmp_invert (GMP|int|string $num1, GMP|int|string $num2) | |
gmp_jacobi (GMP|int|string $num1, GMP|int|string $num2) | |
gmp_legendre (GMP|int|string $num1, GMP|int|string $num2) | |
gmp_kronecker (GMP|int|string $num1, GMP|int|string $num2) | |
gmp_cmp (GMP|int|string $num1, GMP|int|string $num2) | |
gmp_sign (GMP|int|string $num) | |
gmp_random_seed (GMP|int|string $seed) | |
gmp_random_bits (int $bits) | |
gmp_random_range (GMP|int|string $min, GMP|int|string $max) | |
gmp_and (GMP|int|string $num1, GMP|int|string $num2) | |
gmp_or (GMP|int|string $num1, GMP|int|string $num2) | |
gmp_com (GMP|int|string $num) | |
gmp_xor (GMP|int|string $num1, GMP|int|string $num2) | |
gmp_setbit (GMP $num, int $index, bool $value=true) | |
gmp_clrbit (GMP $num, int $index) | |
gmp_testbit (GMP|int|string $num, int $index) | |
gmp_scan0 (GMP|int|string $num1, int $start) | |
gmp_scan1 (GMP|int|string $num1, int $start) | |
gmp_popcount (GMP|int|string $num) | |
gmp_hamdist (GMP|int|string $num1, GMP|int|string $num2) | |
gmp_nextprime (GMP|int|string $num) | |
gmp_binomial (GMP|int|string $n, int $k) | |
Variables | |
const | GMP_ROUND_ZERO = UNKNOWN |
const | GMP_ROUND_PLUSINF = UNKNOWN |
const | GMP_ROUND_MINUSINF = UNKNOWN |
const | GMP_MPIR_VERSION = UNKNOWN |
const | GMP_VERSION = UNKNOWN |
const | GMP_MSW_FIRST = UNKNOWN |
const | GMP_LSW_FIRST = UNKNOWN |
const | GMP_LITTLE_ENDIAN = UNKNOWN |
const | GMP_BIG_ENDIAN = UNKNOWN |
const | GMP_NATIVE_ENDIAN = UNKNOWN |
gmp_abs | ( | GMP|int|string | $num | ) |
Definition at line 104 of file gmp.stub.php.
Definition at line 79 of file gmp.stub.php.
Definition at line 162 of file gmp.stub.php.
gmp_binomial | ( | GMP|int|string | $n, |
int | $k ) |
Definition at line 186 of file gmp.stub.php.
gmp_clrbit | ( | GMP | $num, |
int | $index ) |
Definition at line 172 of file gmp.stub.php.
Definition at line 152 of file gmp.stub.php.
gmp_com | ( | GMP|int|string | $num | ) |
Definition at line 166 of file gmp.stub.php.
gmp_div | ( | GMP|int|string | $num1, |
GMP|int|string | $num2, | ||
int | $rounding_mode = GMP_ROUND_ZERO ) |
@alias gmp_div_q
Definition at line 96 of file gmp.stub.php.
gmp_div_q | ( | GMP|int|string | $num1, |
GMP|int|string | $num2, | ||
int | $rounding_mode = GMP_ROUND_ZERO ) |
Definition at line 91 of file gmp.stub.php.
gmp_div_qr | ( | GMP|int|string | $num1, |
GMP|int|string | $num2, | ||
int | $rounding_mode = GMP_ROUND_ZERO ) |
Definition at line 89 of file gmp.stub.php.
gmp_div_r | ( | GMP|int|string | $num1, |
GMP|int|string | $num2, | ||
int | $rounding_mode = GMP_ROUND_ZERO ) |
Definition at line 93 of file gmp.stub.php.
Definition at line 100 of file gmp.stub.php.
gmp_export | ( | GMP|int|string | $num, |
int | $word_size = 1, | ||
int | $flags = GMP_MSW_FIRST | GMP_NATIVE_ENDIAN ) |
Definition at line 73 of file gmp.stub.php.
gmp_fact | ( | GMP|int|string | $num | ) |
Definition at line 106 of file gmp.stub.php.
Definition at line 134 of file gmp.stub.php.
Definition at line 140 of file gmp.stub.php.
Definition at line 182 of file gmp.stub.php.
gmp_import | ( | string | $data, |
int | $word_size = 1, | ||
int | $flags = GMP_MSW_FIRST | GMP_NATIVE_ENDIAN ) |
Definition at line 71 of file gmp.stub.php.
gmp_init | ( | int|string | $num, |
int | $base = 0 ) |
Definition at line 69 of file gmp.stub.php.
gmp_intval | ( | GMP|int|string | $num | ) |
Definition at line 75 of file gmp.stub.php.
Definition at line 144 of file gmp.stub.php.
Definition at line 146 of file gmp.stub.php.
Definition at line 150 of file gmp.stub.php.
Definition at line 142 of file gmp.stub.php.
Definition at line 148 of file gmp.stub.php.
Definition at line 98 of file gmp.stub.php.
Definition at line 83 of file gmp.stub.php.
gmp_neg | ( | GMP|int|string | $num | ) |
Definition at line 102 of file gmp.stub.php.
gmp_nextprime | ( | GMP|int|string | $num | ) |
Definition at line 184 of file gmp.stub.php.
Definition at line 164 of file gmp.stub.php.
gmp_perfect_power | ( | GMP|int|string | $num | ) |
Definition at line 130 of file gmp.stub.php.
gmp_perfect_square | ( | GMP|int|string | $num | ) |
Definition at line 128 of file gmp.stub.php.
gmp_popcount | ( | GMP|int|string | $num | ) |
Definition at line 180 of file gmp.stub.php.
gmp_pow | ( | GMP|int|string | $num, |
int | $exponent ) |
Definition at line 124 of file gmp.stub.php.
Definition at line 126 of file gmp.stub.php.
gmp_prob_prime | ( | GMP|int|string | $num, |
int | $repetitions = 10 ) |
Definition at line 132 of file gmp.stub.php.
gmp_random_bits | ( | int | $bits | ) |
Definition at line 158 of file gmp.stub.php.
Definition at line 160 of file gmp.stub.php.
gmp_random_seed | ( | GMP|int|string | $seed | ) |
Definition at line 156 of file gmp.stub.php.
gmp_root | ( | GMP|int|string | $num, |
int | $nth ) |
Definition at line 116 of file gmp.stub.php.
gmp_rootrem | ( | GMP|int|string | $num, |
int | $nth ) |
Definition at line 122 of file gmp.stub.php.
gmp_scan0 | ( | GMP|int|string | $num1, |
int | $start ) |
Definition at line 176 of file gmp.stub.php.
gmp_scan1 | ( | GMP|int|string | $num1, |
int | $start ) |
Definition at line 178 of file gmp.stub.php.
gmp_setbit | ( | GMP | $num, |
int | $index, | ||
bool | $value = true ) |
Definition at line 170 of file gmp.stub.php.
gmp_sign | ( | GMP|int|string | $num | ) |
Definition at line 154 of file gmp.stub.php.
gmp_sqrt | ( | GMP|int|string | $num | ) |
Definition at line 108 of file gmp.stub.php.
gmp_sqrtrem | ( | GMP|int|string | $num | ) |
Definition at line 114 of file gmp.stub.php.
gmp_strval | ( | GMP|int|string | $num, |
int | $base = 10 ) |
Definition at line 77 of file gmp.stub.php.
Definition at line 81 of file gmp.stub.php.
gmp_testbit | ( | GMP|int|string | $num, |
int | $index ) |
Definition at line 174 of file gmp.stub.php.
Definition at line 168 of file gmp.stub.php.
const GMP_BIG_ENDIAN = UNKNOWN |
Definition at line 53 of file gmp.stub.php.
const GMP_LITTLE_ENDIAN = UNKNOWN |
Definition at line 48 of file gmp.stub.php.
const GMP_LSW_FIRST = UNKNOWN |
Definition at line 43 of file gmp.stub.php.
const GMP_MPIR_VERSION = UNKNOWN |
Definition at line 26 of file gmp.stub.php.
const GMP_MSW_FIRST = UNKNOWN |
Definition at line 38 of file gmp.stub.php.
const GMP_NATIVE_ENDIAN = UNKNOWN |
Definition at line 58 of file gmp.stub.php.
const GMP_ROUND_MINUSINF = UNKNOWN |
Definition at line 19 of file gmp.stub.php.
const GMP_ROUND_PLUSINF = UNKNOWN |
Definition at line 14 of file gmp.stub.php.
const GMP_ROUND_ZERO = UNKNOWN |
Definition at line 9 of file gmp.stub.php.
const GMP_VERSION = UNKNOWN |
Definition at line 32 of file gmp.stub.php.