Andrew Haley writes:
Johan Peeters writes:
The guarantee that the result is prime seems rather weak considering
that isProbablePrime() is called with argument 1. Assuming that the
likelihood that steps 1 to 6 comes up with a prime is about 1/2,
It isn't. Ron Rivest
Johan Peeters writes:
The guarantee that the result is prime seems rather weak considering
that isProbablePrime() is called with argument 1. Assuming that the
likelihood that steps 1 to 6 comes up with a prime is about 1/2,
It isn't. Ron Rivest conjectures [1] that the probablility of
While debugging gcjx, I ran across some strange code in Prime.java.
I think the intention was for the code to resemble the result of the
appended patch. The patch looks big, but it just wraps the body in a
`while (true)' and changes a `break' to `continue'.
Any comments on this? I didn't look
3 matches
Mail list logo