diff options
| author | Gloria Mundi <gloria@gloria-mundi.eu> | 2024-11-20 01:50:40 +0100 |
|---|---|---|
| committer | Gloria Mundi <gloria@gloria-mundi.eu> | 2024-11-20 01:50:40 +0100 |
| commit | c9365cd20105e36bae0b2145b69f94f6f93195d6 (patch) | |
| tree | b1c318a87ff6c3aff3a1fba431b29bef81a9157f /content/math/sqrtModCipolla.cpp | |
| parent | 3c174f527d8b16e84b3aaaf7b448469bb9682566 (diff) | |
fix overlong lines
Diffstat (limited to 'content/math/sqrtModCipolla.cpp')
| -rw-r--r-- | content/math/sqrtModCipolla.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/math/sqrtModCipolla.cpp b/content/math/sqrtModCipolla.cpp index d52d258..c062646 100644 --- a/content/math/sqrtModCipolla.cpp +++ b/content/math/sqrtModCipolla.cpp @@ -1,4 +1,4 @@ -ll sqrtMod(ll a, ll p) { // teste mit Legendre ob Lösung existiert +ll sqrtMod(ll a, ll p) {// teste mit Legendre ob Lösung existiert if (a < 2) return a; ll t = 0; while (legendre((t*t-4*a) % p, p) >= 0) t = rng() % p; |
