Skip to content

Commit

Permalink
Update beta.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Recoskie committed Jan 22, 2025
1 parent 59acd2b commit d4dbd6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beta.html
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@

var rn=0, n=vt[i], t=0, e=2**24, found=false;

for(var c=0;c<1000&&!found;c++){t=f1+f2*c;t-=t&-1;t=1/t;if(t>rn){rn=t;n=vt[i];}if(!(found=rn>e)){vt[i]+=1;}}
for(var c=0;c<1000&&!found;c++){t=f1+f2*c;t-=t&-1;if(t>0.5){t=1-t}t=1/t;if(t>rn){rn=t;n=vt[i];}if(!(found=rn>e)){vt[i]+=1;}}

vt[i]=n;

Expand Down

0 comments on commit d4dbd6e

Please sign in to comment.