mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 11:14:40 +01:00
Translating...
This commit is contained in:
parent
5cae168a55
commit
11d367146a
BIN
mtproto.php
BIN
mtproto.php
Binary file not shown.
@ -147,6 +147,7 @@ function pollard_brent($n) {
|
|||||||
}
|
}
|
||||||
$smallprimes = primesbelow(10000);
|
$smallprimes = primesbelow(10000);
|
||||||
function primefactors($n, $sort = false) {
|
function primefactors($n, $sort = false) {
|
||||||
|
global $smallprimes;
|
||||||
$factors = [];
|
$factors = [];
|
||||||
$limit = (pyjslib_int(pow($n, 0.5)) + 1);
|
$limit = (pyjslib_int(pow($n, 0.5)) + 1);
|
||||||
foreach ($smallprimes as $checker) {
|
foreach ($smallprimes as $checker) {
|
||||||
|
Loading…
Reference in New Issue
Block a user