Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
uvdiv
· 13y ago · 0 comments
Force a race condition on the variable `root'.
if (n.divide(root).equals(root)) {
Try to set it to 2^20001 on the first funcall and 0 on the second.
Comments
[–]
mtpettyp
13y ago
BigInteger is immutable so this won't work
[–]
uvdiv
OP
13y ago
You're right! Good catch.