mirror of
https://github.com/DanilaFe/abacus
synced 2024-11-04 18:08:31 -08:00
Re-introduce arthur326's fix for ln speed.
This commit is contained in:
parent
99be2d80f1
commit
9cedb100ad
|
@ -166,7 +166,7 @@ public class StandardPlugin extends Plugin {
|
|||
} else {
|
||||
param = param.multiply(new NaiveNumber(2).promoteTo(param.getClass()));
|
||||
powersOf2--;
|
||||
if (param.subtract(NaiveNumber.ONE.promoteTo(param.getClass())).signum() != 1) {
|
||||
if (param.subtract(NaiveNumber.ONE.promoteTo(param.getClass())).signum() != -1) {
|
||||
break;
|
||||
//No infinite loop for you.
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user