Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 2cfd5cca authored by Andreas Enge's avatar Andreas Enge
Browse files

Add a maximum class number value to ECPP.

Paul Underwood has reported a case where the previous code would use
D = -15963964631 = -17 * 29 * 31 * 41 * 73 * 349 with class number
249984 = 2^7 * 3^2 * 7 * 31, which is smooth, but too big.

* lib/ecpp.c (compute_discriminants, compute_sorted_discriminants,
  expected_no_curves, find_ecpp_discriminant): Add parameter hmax and
  adapt function calls.
  (ecpp1): Set hmax to 100000 and adapt function call. Output the class
  number in verbose mode.
parent c66b40e5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment