lenstra_algorithm icon indicating copy to clipboard operation
lenstra_algorithm copied to clipboard

parameter b is not used in the elliptic math functions

Open destroyboy opened this issue 6 years ago • 0 comments

I found your code really useful as its very short/simple. It seems to work to factor the numbers that I put into it. And I have translated it first into Java and am now in the middle of writing a C implementation.

But the C IDE I am using highlighted that the parameter b is ignored. In both the multiply and add functions, even though it is generated inside the lenstra function. Is this a mistake, or was it just for debugging?

destroyboy avatar Apr 08 '19 13:04 destroyboy