Lines Matching refs:x
32 * @param array $x
37 protected static function prepareReduce(array $x, array $n, $class) argument
40 $lhs->value = array_merge(self::array_repeat(0, count($n)), $x);
54 * @param array $x
59 protected static function reduce(array $x, array $n, $class) argument
68 $cache[self::VARIABLE][] = $x;
74 $result = [self::VALUE => $x];
114 * @param array $x
118 protected static function modInverse67108864(array $x, $class) // 2**26 == 67,108,864 argument
120 $x = -$x[0];
121 $result = $x & 0x3; // x**-1 mod 2**2
122 $result = ($result * (2 - $x * $result)) & 0xF; // x**-1 mod 2**4
123 $result = ($result * (2 - ($x & 0xFF) * $result)) & 0xFF; // x**-1 mod 2**8
124 $result = ($result * ((2 - ($x & 0xFFFF) * $result) & 0xFFFF)) & 0xFFFF; // x**-1 mod 2**16
126 …fmod($result * (2 - fmod($x * $result, $class::BASE_FULL)), $class::BASE_FULL) : // x**-1 mod 2**26
127 ($result * (2 - ($x * $result) % $class::BASE_FULL)) % $class::BASE_FULL;