mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-04-08 16:56:25 +00:00
Number tweaks
This commit is contained in:
@@ -96,7 +96,7 @@ public class BitStorage {
|
||||
this.mask = (1L << bits) - 1L;
|
||||
this.valuesPerLong = (char) (64 / bits);
|
||||
int var3 = 3 * (this.valuesPerLong - 1);
|
||||
this.divideMul = MAGIC[var3 + 0];
|
||||
this.divideMul = MAGIC[var3];
|
||||
this.divideAdd = MAGIC[var3 + 1];
|
||||
this.divideShift = MAGIC[var3 + 2];
|
||||
int var4 = (length + this.valuesPerLong - 1) / this.valuesPerLong;
|
||||
|
||||
@@ -383,7 +383,7 @@ public class MathHelper {
|
||||
public static double d(double var0, double var2) {
|
||||
double var4 = var2 * var2 + var0 * var0;
|
||||
if(Double.isNaN(var4)) {
|
||||
return 0.0D / 0.0;
|
||||
return 0.0D;
|
||||
} else {
|
||||
boolean var6 = var0 < 0.0D;
|
||||
if(var6) {
|
||||
|
||||
@@ -72,7 +72,7 @@ public class MCABitStorage {
|
||||
this.mask = (1L << bits) - 1L;
|
||||
this.valuesPerLong = (char) (64 / bits);
|
||||
int var3 = 3 * (this.valuesPerLong - 1);
|
||||
this.divideMul = MAGIC[var3 + 0];
|
||||
this.divideMul = MAGIC[var3];
|
||||
this.divideAdd = MAGIC[var3 + 1];
|
||||
this.divideShift = MAGIC[var3 + 2];
|
||||
int var4 = (length + this.valuesPerLong - 1) / this.valuesPerLong;
|
||||
|
||||
Reference in New Issue
Block a user