-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Open
Labels
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Description
When passing p=1 in ModSqrt function, the code goes in infinite loop:
Line 940 in 3463852
| for Jacobi(&n, p) != -1 { |
The Jacobi symbol will gives one for ever.
For example: https://go.dev/play/p/37ExZ6Y-Hdp
Metadata
Metadata
Assignees
Labels
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Type
Projects
Status
No status