lenstra_algorithm
lenstra_algorithm copied to clipboard
parameter b is not used in the elliptic math functions
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?