public final class oadd.org.apache.commons.math.util.MathUtils extends java.lang.Object
{
public static final double EPSILON;
public static final double SAFE_MIN;
public static final double TWO_PI;
private static final byte NB;
private static final short NS;
private static final byte PB;
private static final short PS;
private static final byte ZB;
private static final short ZS;
private static final int NAN_GAP;
private static final long SGN_MASK;
private static final int SGN_MASK_FLOAT;
private static final long[] FACTORIALS;
static final boolean $assertionsDisabled;
private void <init>()
{
oadd.org.apache.commons.math.util.MathUtils v;
v := @this: oadd.org.apache.commons.math.util.MathUtils;
specialinvoke v.<java.lang.Object: void <init>()>();
return;
}
public static int addAndCheck(int, int)
{
java.lang.Object[] v;
long v;
java.lang.Integer v, v;
byte v, v;
int v, v;
oadd.org.apache.commons.math.exception.util.LocalizedFormats v;
java.lang.ArithmeticException v;
v := @parameter: int;
v := @parameter: int;
v = v + v;
v = v cmp -2147483648L;
if v < 0 goto label;
v = v cmp 2147483647L;
if v <= 0 goto label;
label:
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats OVERFLOW_IN_ADDITION>;
v = newarray (java.lang.Object)[2];
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[0] = v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[1] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.ArithmeticException createArithmeticException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
return v;
}
public static long addAndCheck(long, long)
{
oadd.org.apache.commons.math.exception.util.LocalizedFormats v;
long v, v, v;
v := @parameter: long;
v := @parameter: long;
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats OVERFLOW_IN_ADDITION>;
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: long addAndCheck(long,long,oadd.org.apache.commons.math.exception.util.Localizable)>(v, v, v);
return v;
}
private static long addAndCheck(long, long, oadd.org.apache.commons.math.exception.util.Localizable)
{
java.lang.Object[] v, v;
long v, v, v, v, v;
byte v, v, v, v, v;
java.lang.Long v, v, v, v;
oadd.org.apache.commons.math.exception.util.Localizable v;
java.lang.ArithmeticException v, v;
v := @parameter: long;
v := @parameter: long;
v := @parameter: oadd.org.apache.commons.math.exception.util.Localizable;
v = v cmp v;
if v <= 0 goto label;
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: long addAndCheck(long,long,oadd.org.apache.commons.math.exception.util.Localizable)>(v, v, v);
goto label;
label:
v = v cmp 0L;
if v >= 0 goto label;
v = v cmp 0L;
if v >= 0 goto label;
v = -9223372036854775808L - v;
v = v cmp v;
if v > 0 goto label;
v = v + v;
goto label;
label:
v = newarray (java.lang.Object)[2];
v = staticinvoke <java.lang.Long: java.lang.Long valueOf(long)>(v);
v[0] = v;
v = staticinvoke <java.lang.Long: java.lang.Long valueOf(long)>(v);
v[1] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.ArithmeticException createArithmeticException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
v = v + v;
goto label;
label:
v = 9223372036854775807L - v;
v = v cmp v;
if v > 0 goto label;
v = v + v;
goto label;
label:
v = newarray (java.lang.Object)[2];
v = staticinvoke <java.lang.Long: java.lang.Long valueOf(long)>(v);
v[0] = v;
v = staticinvoke <java.lang.Long: java.lang.Long valueOf(long)>(v);
v[1] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.ArithmeticException createArithmeticException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
return v;
}
public static long binomialCoefficient(int, int)
{
long v, v, v, v, v, v, v, v, v;
int v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
v := @parameter: int;
v := @parameter: int;
staticinvoke <oadd.org.apache.commons.math.util.MathUtils: void checkBinomial(int,int)>(v, v);
if v == v goto label;
if v != 0 goto label;
label:
return 1L;
label:
if v == 1 goto label;
v = v - 1;
if v != v goto label;
label:
return v;
label:
v = v / 2;
if v <= v goto label;
v = v - v;
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: long binomialCoefficient(int,int)>(v, v);
return v;
label:
v = 1L;
if v > 61 goto label;
v = v - v;
v = v + 1;
v = 1;
label:
if v > v goto label;
v = v * v;
v = v / v;
v = v + 1;
v = v + 1;
goto label;
label:
if v > 66 goto label;
v = v - v;
v = v + 1;
v = 1;
label:
if v > v goto label;
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: int gcd(int,int)>(v, v);
v = v / v;
v = v / v;
v = v / v;
v = v * v;
v = v + 1;
v = v + 1;
goto label;
label:
v = v - v;
v = v + 1;
v = 1;
label:
if v > v goto label;
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: int gcd(int,int)>(v, v);
v = v / v;
v = v / v;
v = v / v;
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: long mulAndCheck(long,long)>(v, v);
v = v + 1;
v = v + 1;
goto label;
label:
return v;
}
public static double binomialCoefficientDouble(int, int)
{
long v;
int v, v, v, v, v, v, v, v;
double v, v, v, v, v;
v := @parameter: int;
v := @parameter: int;
staticinvoke <oadd.org.apache.commons.math.util.MathUtils: void checkBinomial(int,int)>(v, v);
if v == v goto label;
if v != 0 goto label;
label:
return 1.0;
label:
if v == 1 goto label;
v = v - 1;
if v != v goto label;
label:
return v;
label:
v = v / 2;
if v <= v goto label;
v = v - v;
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: double binomialCoefficientDouble(int,int)>(v, v);
return v;
label:
if v >= 67 goto label;
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: long binomialCoefficient(int,int)>(v, v);
return v;
label:
v = 1.0;
v = 1;
label:
if v > v goto label;
v = v - v;
v = v + v;
v = v / v;
v = v * v;
v = v + 1;
goto label;
label:
v = v + 0.5;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double floor(double)>(v);
return v;
}
public static double binomialCoefficientLog(int, int)
{
long v;
int v, v, v, v, v, v, v, v;
double v, v, v, v, v, v, v, v;
v := @parameter: int;
v := @parameter: int;
staticinvoke <oadd.org.apache.commons.math.util.MathUtils: void checkBinomial(int,int)>(v, v);
if v == v goto label;
if v != 0 goto label;
label:
return 0.0;
label:
if v == 1 goto label;
v = v - 1;
if v != v goto label;
label:
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double log(double)>(v);
return v;
label:
if v >= 67 goto label;
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: long binomialCoefficient(int,int)>(v, v);
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double log(double)>(v);
return v;
label:
if v >= 1030 goto label;
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: double binomialCoefficientDouble(int,int)>(v, v);
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double log(double)>(v);
return v;
label:
v = v / 2;
if v <= v goto label;
v = v - v;
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: double binomialCoefficientLog(int,int)>(v, v);
return v;
label:
v = 0.0;
v = v - v;
v = v + 1;
label:
if v > v goto label;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double log(double)>(v);
v = v + v;
v = v + 1;
goto label;
label:
v = 2;
label:
if v > v goto label;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double log(double)>(v);
v = v - v;
v = v + 1;
goto label;
label:
return v;
}
private static void checkBinomial(int, int) throws java.lang.IllegalArgumentException
{
java.lang.Object[] v, v;
java.lang.IllegalArgumentException v, v;
java.lang.Integer v, v, v;
int v, v;
oadd.org.apache.commons.math.exception.util.LocalizedFormats v, v;
v := @parameter: int;
v := @parameter: int;
if v >= v goto label;
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats BINOMIAL_INVALID_PARAMETERS_ORDER>;
v = newarray (java.lang.Object)[2];
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[0] = v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[1] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.IllegalArgumentException createIllegalArgumentException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
if v >= 0 goto label;
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats BINOMIAL_NEGATIVE_PARAMETER>;
v = newarray (java.lang.Object)[1];
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[0] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.IllegalArgumentException createIllegalArgumentException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
return;
}
public static int compareTo(double, double, double)
{
byte v;
int v;
boolean v;
double v, v, v;
v := @parameter: double;
v := @parameter: double;
v := @parameter: double;
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: boolean equals(double,double,double)>(v, v, v);
if v == 0 goto label;
return 0;
label:
v = v cmpg v;
if v >= 0 goto label;
v = (int) -1;
return v;
label:
return 1;
}
public static double cosh(double)
{
double v, v, v, v, v, v;
v := @parameter: double;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double exp(double)>(v);
v = neg v;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double exp(double)>(v);
v = v + v;
v = v / 2.0;
return v;
}
public static boolean equals(float, float)
{
byte v;
float v, v;
boolean v, v, v;
v := @parameter: float;
v := @parameter: float;
v = staticinvoke <java.lang.Float: boolean isNaN(float)>(v);
if v == 0 goto label;
v = staticinvoke <java.lang.Float: boolean isNaN(float)>(v);
if v != 0 goto label;
label:
v = v cmpl v;
if v != 0 goto label;
label:
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public static boolean equalsIncludingNaN(float, float)
{
float v, v;
boolean v, v, v, v;
v := @parameter: float;
v := @parameter: float;
v = staticinvoke <java.lang.Float: boolean isNaN(float)>(v);
if v == 0 goto label;
v = staticinvoke <java.lang.Float: boolean isNaN(float)>(v);
if v != 0 goto label;
label:
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: boolean equals(float,float,int)>(v, v, 1);
if v == 0 goto label;
label:
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public static boolean equals(float, float, float)
{
byte v;
float v, v, v, v, v;
boolean v, v;
v := @parameter: float;
v := @parameter: float;
v := @parameter: float;
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: boolean equals(float,float,int)>(v, v, 1);
if v != 0 goto label;
v = v - v;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: float abs(float)>(v);
v = v cmpg v;
if v > 0 goto label;
label:
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public static boolean equalsIncludingNaN(float, float, float)
{
byte v;
float v, v, v, v, v;
boolean v, v;
v := @parameter: float;
v := @parameter: float;
v := @parameter: float;
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: boolean equalsIncludingNaN(float,float)>(v, v);
if v != 0 goto label;
v = v - v;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: float abs(float)>(v);
v = v cmpg v;
if v > 0 goto label;
label:
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public static boolean equals(float, float, int)
{
java.lang.AssertionError v;
int v, v, v, v, v;
float v, v;
boolean v, v, v, v, v;
v := @parameter: float;
v := @parameter: float;
v := @parameter: int;
v = <oadd.org.apache.commons.math.util.MathUtils: boolean $assertionsDisabled>;
if v != 0 goto label;
if v <= 0 goto label;
if v < 4194304 goto label;
label:
v = new java.lang.AssertionError;
specialinvoke v.<java.lang.AssertionError: void <init>()>();
throw v;
label:
v = staticinvoke <java.lang.Float: int floatToIntBits(float)>(v);
v = staticinvoke <java.lang.Float: int floatToIntBits(float)>(v);
if v >= 0 goto label;
v = -2147483648 - v;
label:
if v >= 0 goto label;
v = -2147483648 - v;
label:
v = v - v;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: int abs(int)>(v);
if v > v goto label;
v = 1;
goto label;
label:
v = 0;
label:
if v == 0 goto label;
v = staticinvoke <java.lang.Float: boolean isNaN(float)>(v);
if v != 0 goto label;
v = staticinvoke <java.lang.Float: boolean isNaN(float)>(v);
if v != 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public static boolean equalsIncludingNaN(float, float, int)
{
int v;
float v, v;
boolean v, v, v, v;
v := @parameter: float;
v := @parameter: float;
v := @parameter: int;
v = staticinvoke <java.lang.Float: boolean isNaN(float)>(v);
if v == 0 goto label;
v = staticinvoke <java.lang.Float: boolean isNaN(float)>(v);
if v != 0 goto label;
label:
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: boolean equals(float,float,int)>(v, v, v);
if v == 0 goto label;
label:
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public static boolean equals(float[], float[])
{
float[] v, v;
int v, v, v, v;
float v, v;
boolean v, v, v, v, v;
v := @parameter: float[];
v := @parameter: float[];
if v == null goto label;
if v != null goto label;
label:
if v != null goto label;
v = 1;
goto label;
label:
v = 0;
label:
if v != null goto label;
v = 1;
goto label;
label:
v = 0;
label:
v = v ^ v;
if v != 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
label:
v = lengthof v;
v = lengthof v;
if v == v goto label;
return 0;
label:
v = 0;
label:
v = lengthof v;
if v >= v goto label;
v = v[v];
v = v[v];
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: boolean equals(float,float)>(v, v);
if v != 0 goto label;
return 0;
label:
v = v + 1;
goto label;
label:
return 1;
}
public static boolean equalsIncludingNaN(float[], float[])
{
float[] v, v;
int v, v, v, v;
float v, v;
boolean v, v, v, v, v;
v := @parameter: float[];
v := @parameter: float[];
if v == null goto label;
if v != null goto label;
label:
if v != null goto label;
v = 1;
goto label;
label:
v = 0;
label:
if v != null goto label;
v = 1;
goto label;
label:
v = 0;
label:
v = v ^ v;
if v != 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
label:
v = lengthof v;
v = lengthof v;
if v == v goto label;
return 0;
label:
v = 0;
label:
v = lengthof v;
if v >= v goto label;
v = v[v];
v = v[v];
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: boolean equalsIncludingNaN(float,float)>(v, v);
if v != 0 goto label;
return 0;
label:
v = v + 1;
goto label;
label:
return 1;
}
public static boolean equals(double, double)
{
byte v;
boolean v, v, v;
double v, v;
v := @parameter: double;
v := @parameter: double;
v = staticinvoke <java.lang.Double: boolean isNaN(double)>(v);
if v == 0 goto label;
v = staticinvoke <java.lang.Double: boolean isNaN(double)>(v);
if v != 0 goto label;
label:
v = v cmpl v;
if v != 0 goto label;
label:
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public static boolean equalsIncludingNaN(double, double)
{
boolean v, v, v, v;
double v, v;
v := @parameter: double;
v := @parameter: double;
v = staticinvoke <java.lang.Double: boolean isNaN(double)>(v);
if v == 0 goto label;
v = staticinvoke <java.lang.Double: boolean isNaN(double)>(v);
if v != 0 goto label;
label:
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: boolean equals(double,double,int)>(v, v, 1);
if v == 0 goto label;
label:
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public static boolean equals(double, double, double)
{
byte v;
boolean v, v;
double v, v, v, v, v;
v := @parameter: double;
v := @parameter: double;
v := @parameter: double;
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: boolean equals(double,double)>(v, v);
if v != 0 goto label;
v = v - v;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double abs(double)>(v);
v = v cmpg v;
if v > 0 goto label;
label:
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public static boolean equalsIncludingNaN(double, double, double)
{
byte v;
boolean v, v;
double v, v, v, v, v;
v := @parameter: double;
v := @parameter: double;
v := @parameter: double;
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: boolean equalsIncludingNaN(double,double)>(v, v);
if v != 0 goto label;
v = v - v;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double abs(double)>(v);
v = v cmpg v;
if v > 0 goto label;
label:
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public static boolean equals(double, double, int)
{
long v, v, v, v;
java.lang.AssertionError v;
byte v, v, v;
int v;
boolean v, v;
double v, v;
v := @parameter: double;
v := @parameter: double;
v := @parameter: int;
v = <oadd.org.apache.commons.math.util.MathUtils: boolean $assertionsDisabled>;
if v != 0 goto label;
if v <= 0 goto label;
if v < 4194304 goto label;
label:
v = new java.lang.AssertionError;
specialinvoke v.<java.lang.AssertionError: void <init>()>();
throw v;
label:
v = staticinvoke <java.lang.Double: long doubleToLongBits(double)>(v);
v = staticinvoke <java.lang.Double: long doubleToLongBits(double)>(v);
v = v cmp 0L;
if v >= 0 goto label;
v = -9223372036854775808L - v;
label:
v = v cmp 0L;
if v >= 0 goto label;
v = -9223372036854775808L - v;
label:
v = v - v;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: long abs(long)>(v);
v = v cmp v;
if v > 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public static boolean equalsIncludingNaN(double, double, int)
{
int v;
boolean v, v, v, v;
double v, v;
v := @parameter: double;
v := @parameter: double;
v := @parameter: int;
v = staticinvoke <java.lang.Double: boolean isNaN(double)>(v);
if v == 0 goto label;
v = staticinvoke <java.lang.Double: boolean isNaN(double)>(v);
if v != 0 goto label;
label:
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: boolean equals(double,double,int)>(v, v, v);
if v == 0 goto label;
label:
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public static boolean equals(double[], double[])
{
double[] v, v;
int v, v, v, v;
boolean v, v, v, v, v;
double v, v;
v := @parameter: double[];
v := @parameter: double[];
if v == null goto label;
if v != null goto label;
label:
if v != null goto label;
v = 1;
goto label;
label:
v = 0;
label:
if v != null goto label;
v = 1;
goto label;
label:
v = 0;
label:
v = v ^ v;
if v != 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
label:
v = lengthof v;
v = lengthof v;
if v == v goto label;
return 0;
label:
v = 0;
label:
v = lengthof v;
if v >= v goto label;
v = v[v];
v = v[v];
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: boolean equals(double,double)>(v, v);
if v != 0 goto label;
return 0;
label:
v = v + 1;
goto label;
label:
return 1;
}
public static boolean equalsIncludingNaN(double[], double[])
{
double[] v, v;
int v, v, v, v;
boolean v, v, v, v, v;
double v, v;
v := @parameter: double[];
v := @parameter: double[];
if v == null goto label;
if v != null goto label;
label:
if v != null goto label;
v = 1;
goto label;
label:
v = 0;
label:
if v != null goto label;
v = 1;
goto label;
label:
v = 0;
label:
v = v ^ v;
if v != 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
label:
v = lengthof v;
v = lengthof v;
if v == v goto label;
return 0;
label:
v = 0;
label:
v = lengthof v;
if v >= v goto label;
v = v[v];
v = v[v];
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: boolean equalsIncludingNaN(double,double)>(v, v);
if v != 0 goto label;
return 0;
label:
v = v + 1;
goto label;
label:
return 1;
}
public static long factorial(int)
{
java.lang.Object[] v;
long v;
java.lang.IllegalArgumentException v;
java.lang.Integer v;
long[] v;
int v;
oadd.org.apache.commons.math.exception.util.LocalizedFormats v;
java.lang.ArithmeticException v;
v := @parameter: int;
if v >= 0 goto label;
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats FACTORIAL_NEGATIVE_PARAMETER>;
v = newarray (java.lang.Object)[1];
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[0] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.IllegalArgumentException createIllegalArgumentException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
if v <= 20 goto label;
v = new java.lang.ArithmeticException;
specialinvoke v.<java.lang.ArithmeticException: void <init>(java.lang.String)>("factorial value is too large to fit in a long");
throw v;
label:
v = <oadd.org.apache.commons.math.util.MathUtils: long[] FACTORIALS>;
v = v[v];
return v;
}
public static double factorialDouble(int)
{
java.lang.Object[] v;
long v;
java.lang.IllegalArgumentException v;
java.lang.Integer v;
int v;
oadd.org.apache.commons.math.exception.util.LocalizedFormats v;
double v, v, v, v;
v := @parameter: int;
if v >= 0 goto label;
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats FACTORIAL_NEGATIVE_PARAMETER>;
v = newarray (java.lang.Object)[1];
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[0] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.IllegalArgumentException createIllegalArgumentException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
if v >= 21 goto label;
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: long factorial(int)>(v);
return v;
label:
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: double factorialLog(int)>(v);
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double exp(double)>(v);
v = v + 0.5;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double floor(double)>(v);
return v;
}
public static double factorialLog(int)
{
java.lang.Object[] v;
long v;
java.lang.IllegalArgumentException v;
java.lang.Integer v;
int v, v;
oadd.org.apache.commons.math.exception.util.LocalizedFormats v;
double v, v, v;
v := @parameter: int;
if v >= 0 goto label;
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats FACTORIAL_NEGATIVE_PARAMETER>;
v = newarray (java.lang.Object)[1];
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[0] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.IllegalArgumentException createIllegalArgumentException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
if v >= 21 goto label;
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: long factorial(int)>(v);
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double log(double)>(v);
return v;
label:
v = 0.0;
v = 2;
label:
if v > v goto label;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double log(double)>(v);
v = v + v;
v = v + 1;
goto label;
label:
return v;
}
public static int gcd(int, int)
{
java.lang.Object[] v, v;
java.lang.Integer v, v, v, v;
int v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
oadd.org.apache.commons.math.exception.util.LocalizedFormats v, v;
java.lang.ArithmeticException v, v;
v := @parameter: int;
v := @parameter: int;
v = v;
v = v;
if v == 0 goto label;
if v != 0 goto label;
label:
if v == -2147483648 goto label;
if v != -2147483648 goto label;
label:
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats GCD_OVERFLOW_32_BITS>;
v = newarray (java.lang.Object)[2];
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[0] = v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[1] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.ArithmeticException createArithmeticException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: int abs(int)>(v);
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: int abs(int)>(v);
v = v + v;
return v;
label:
if v <= 0 goto label;
v = neg v;
label:
if v <= 0 goto label;
v = neg v;
label:
v = 0;
label:
v = v & 1;
if v != 0 goto label;
v = v & 1;
if v != 0 goto label;
if v >= 31 goto label;
v = v / 2;
v = v / 2;
v = v + 1;
goto label;
label:
if v != 31 goto label;
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats GCD_OVERFLOW_32_BITS>;
v = newarray (java.lang.Object)[2];
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[0] = v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[1] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.ArithmeticException createArithmeticException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
v = v & 1;
if v != 1 goto label;
v = v;
goto label;
label:
v = v / 2;
v = neg v;
label:
v = v;
label:
v = v & 1;
if v != 0 goto label;
v = v / 2;
goto label;
label:
if v <= 0 goto label;
v = neg v;
goto label;
label:
v = v;
label:
v = v - v;
v = v / 2;
if v != 0 goto label;
v = neg v;
v = 1 << v;
v = v * v;
return v;
}
public static long gcd(long, long)
{
byte v, v, v, v, v, v, v, v, v, v, v, v;
java.lang.Long v, v, v, v;
java.lang.ArithmeticException v, v;
java.lang.Object[] v, v;
long v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
int v;
oadd.org.apache.commons.math.exception.util.LocalizedFormats v, v;
v := @parameter: long;
v := @parameter: long;
v = v;
v = v;
v = v cmp 0L;
if v == 0 goto label;
v = v cmp 0L;
if v != 0 goto label;
label:
v = v cmp -9223372036854775808L;
if v == 0 goto label;
v = v cmp -9223372036854775808L;
if v != 0 goto label;
label:
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats GCD_OVERFLOW_64_BITS>;
v = newarray (java.lang.Object)[2];
v = staticinvoke <java.lang.Long: java.lang.Long valueOf(long)>(v);
v[0] = v;
v = staticinvoke <java.lang.Long: java.lang.Long valueOf(long)>(v);
v[1] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.ArithmeticException createArithmeticException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: long abs(long)>(v);
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: long abs(long)>(v);
v = v + v;
return v;
label:
v = v cmp 0L;
if v <= 0 goto label;
v = neg v;
label:
v = v cmp 0L;
if v <= 0 goto label;
v = neg v;
label:
v = 0;
label:
v = v & 1L;
v = v cmp 0L;
if v != 0 goto label;
v = v & 1L;
v = v cmp 0L;
if v != 0 goto label;
if v >= 63 goto label;
v = v / 2L;
v = v / 2L;
v = v + 1;
goto label;
label:
if v != 63 goto label;
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats GCD_OVERFLOW_64_BITS>;
v = newarray (java.lang.Object)[2];
v = staticinvoke <java.lang.Long: java.lang.Long valueOf(long)>(v);
v[0] = v;
v = staticinvoke <java.lang.Long: java.lang.Long valueOf(long)>(v);
v[1] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.ArithmeticException createArithmeticException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
v = v & 1L;
v = v cmp 1L;
if v != 0 goto label;
v = v;
goto label;
label:
v = v / 2L;
v = neg v;
label:
v = v;
label:
v = v & 1L;
v = v cmp 0L;
if v != 0 goto label;
v = v / 2L;
goto label;
label:
v = v cmp 0L;
if v <= 0 goto label;
v = neg v;
goto label;
label:
v = v;
label:
v = v - v;
v = v / 2L;
v = v cmp 0L;
if v != 0 goto label;
v = neg v;
v = 1L << v;
v = v * v;
return v;
}
public static int hash(double)
{
int v;
java.lang.Double v;
double v;
v := @parameter: double;
v = new java.lang.Double;
specialinvoke v.<java.lang.Double: void <init>(double)>(v);
v = virtualinvoke v.<java.lang.Double: int hashCode()>();
return v;
}
public static int hash(double[])
{
double[] v;
int v;
v := @parameter: double[];
v = staticinvoke <java.util.Arrays: int hashCode(double[])>(v);
return v;
}
public static byte indicator(byte)
{
byte v, v;
v := @parameter: byte;
if v < 0 goto label;
v = 1;
goto label;
label:
v = -1;
label:
return v;
}
public static double indicator(double)
{
byte v;
boolean v;
double v, v;
v := @parameter: double;
v = staticinvoke <java.lang.Double: boolean isNaN(double)>(v);
if v == 0 goto label;
return #NaN;
label:
v = v cmpl 0.0;
if v < 0 goto label;
v = 1.0;
goto label;
label:
v = -1.0;
label:
return v;
}
public static float indicator(float)
{
byte v;
float v, v;
boolean v;
v := @parameter: float;
v = staticinvoke <java.lang.Float: boolean isNaN(float)>(v);
if v == 0 goto label;
return #NaNF;
label:
v = v cmpl 0.0F;
if v < 0 goto label;
v = 1.0F;
goto label;
label:
v = -1.0F;
label:
return v;
}
public static int indicator(int)
{
int v;
byte v;
v := @parameter: int;
if v < 0 goto label;
v = 1;
goto label;
label:
v = -1;
label:
return v;
}
public static long indicator(long)
{
long v, v;
byte v;
v := @parameter: long;
v = v cmp 0L;
if v < 0 goto label;
v = 1L;
goto label;
label:
v = -1L;
label:
return v;
}
public static short indicator(short)
{
short v;
byte v;
v := @parameter: short;
if v < 0 goto label;
v = 1;
goto label;
label:
v = -1;
label:
return v;
}
public static int lcm(int, int)
{
java.lang.Object[] v;
java.lang.Integer v, v;
int v, v, v, v, v, v;
oadd.org.apache.commons.math.exception.util.LocalizedFormats v;
java.lang.ArithmeticException v;
v := @parameter: int;
v := @parameter: int;
if v == 0 goto label;
if v != 0 goto label;
label:
return 0;
label:
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: int gcd(int,int)>(v, v);
v = v / v;
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: int mulAndCheck(int,int)>(v, v);
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: int abs(int)>(v);
if v != -2147483648 goto label;
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats LCM_OVERFLOW_32_BITS>;
v = newarray (java.lang.Object)[2];
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[0] = v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[1] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.ArithmeticException createArithmeticException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
return v;
}
public static long lcm(long, long)
{
java.lang.Object[] v;
long v, v, v, v, v, v;
byte v, v, v;
java.lang.Long v, v;
oadd.org.apache.commons.math.exception.util.LocalizedFormats v;
java.lang.ArithmeticException v;
v := @parameter: long;
v := @parameter: long;
v = v cmp 0L;
if v == 0 goto label;
v = v cmp 0L;
if v != 0 goto label;
label:
return 0L;
label:
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: long gcd(long,long)>(v, v);
v = v / v;
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: long mulAndCheck(long,long)>(v, v);
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: long abs(long)>(v);
v = v cmp -9223372036854775808L;
if v != 0 goto label;
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats LCM_OVERFLOW_64_BITS>;
v = newarray (java.lang.Object)[2];
v = staticinvoke <java.lang.Long: java.lang.Long valueOf(long)>(v);
v[0] = v;
v = staticinvoke <java.lang.Long: java.lang.Long valueOf(long)>(v);
v[1] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.ArithmeticException createArithmeticException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
return v;
}
public static double log(double, double)
{
double v, v, v, v, v;
v := @parameter: double;
v := @parameter: double;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double log(double)>(v);
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double log(double)>(v);
v = v / v;
return v;
}
public static int mulAndCheck(int, int)
{
byte v, v;
int v, v;
java.lang.ArithmeticException v;
long v;
v := @parameter: int;
v := @parameter: int;
v = v * v;
v = v cmp -2147483648L;
if v < 0 goto label;
v = v cmp 2147483647L;
if v <= 0 goto label;
label:
v = new java.lang.ArithmeticException;
specialinvoke v.<java.lang.ArithmeticException: void <init>(java.lang.String)>("overflow: mul");
throw v;
label:
return v;
}
public static long mulAndCheck(long, long)
{
long v, v, v, v, v, v;
byte v, v, v, v, v, v, v, v;
java.lang.ArithmeticException v, v, v;
v := @parameter: long;
v := @parameter: long;
v = v cmp v;
if v <= 0 goto label;
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: long mulAndCheck(long,long)>(v, v);
goto label;
label:
v = v cmp 0L;
if v >= 0 goto label;
v = v cmp 0L;
if v >= 0 goto label;
v = 9223372036854775807L / v;
v = v cmp v;
if v < 0 goto label;
v = v * v;
goto label;
label:
v = new java.lang.ArithmeticException;
specialinvoke v.<java.lang.ArithmeticException: void <init>(java.lang.String)>("overflow: multiply");
throw v;
label:
v = v cmp 0L;
if v <= 0 goto label;
v = -9223372036854775808L / v;
v = v cmp v;
if v > 0 goto label;
v = v * v;
goto label;
label:
v = new java.lang.ArithmeticException;
specialinvoke v.<java.lang.ArithmeticException: void <init>(java.lang.String)>("overflow: multiply");
throw v;
label:
v = 0L;
goto label;
label:
v = v cmp 0L;
if v <= 0 goto label;
v = 9223372036854775807L / v;
v = v cmp v;
if v > 0 goto label;
v = v * v;
goto label;
label:
v = new java.lang.ArithmeticException;
specialinvoke v.<java.lang.ArithmeticException: void <init>(java.lang.String)>("overflow: multiply");
throw v;
label:
v = 0L;
label:
return v;
}
public static double nextAfter(double, double)
{
long v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
byte v, v, v, v, v;
boolean v, v;
double v, v, v, v, v, v, v, v, v;
v := @parameter: double;
v := @parameter: double;
v = staticinvoke <java.lang.Double: boolean isNaN(double)>(v);
if v != 0 goto label;
v = staticinvoke <java.lang.Double: boolean isInfinite(double)>(v);
if v == 0 goto label;
label:
return v;
label:
v = v cmpl 0.0;
if v != 0 goto label;
v = v cmpg 0.0;
if v >= 0 goto label;
v = -4.9E-324;
goto label;
label:
v = 4.9E-324;
label:
return v;
label:
v = staticinvoke <java.lang.Double: long doubleToLongBits(double)>(v);
v = v & -9223372036854775808L;
v = v & 9218868437227405312L;
v = v & 4503599627370495L;
v = v - v;
v = v * v;
v = v cmpl 0.0;
if v < 0 goto label;
v = v cmp 4503599627370495L;
if v != 0 goto label;
v = v + 4503599627370496L;
v = v | v;
v = staticinvoke <java.lang.Double: double longBitsToDouble(long)>(v);
return v;
label:
v = v | v;
v = v + 1L;
v = v | v;
v = staticinvoke <java.lang.Double: double longBitsToDouble(long)>(v);
return v;
label:
v = v cmp 0L;
if v != 0 goto label;
v = v - 4503599627370496L;
v = v | v;
v = v | 4503599627370495L;
v = staticinvoke <java.lang.Double: double longBitsToDouble(long)>(v);
return v;
label:
v = v | v;
v = v - 1L;
v = v | v;
v = staticinvoke <java.lang.Double: double longBitsToDouble(long)>(v);
return v;
}
public static double scalb(double, int)
{
int v;
double v, v;
v := @parameter: double;
v := @parameter: int;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double scalb(double,int)>(v, v);
return v;
}
public static double normalizeAngle(double, double)
{
double v, v, v, v, v, v, v, v;
v := @parameter: double;
v := @parameter: double;
v = v + 3.141592653589793;
v = v - v;
v = v / 6.283185307179586;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double floor(double)>(v);
v = 6.283185307179586 * v;
v = v - v;
return v;
}
public static double[] normalizeArray(double[], double) throws java.lang.ArithmeticException, java.lang.IllegalArgumentException
{
java.lang.Integer v;
byte v;
java.lang.ArithmeticException v, v;
boolean v, v, v, v, v;
java.lang.Object[] v, v, v, v;
java.lang.Double v;
double[] v, v;
int v, v, v;
oadd.org.apache.commons.math.exception.util.LocalizedFormats v, v, v, v;
double v, v, v, v, v, v, v, v, v, v;
java.lang.IllegalArgumentException v, v;
v := @parameter: double[];
v := @parameter: double;
v = staticinvoke <java.lang.Double: boolean isInfinite(double)>(v);
if v == 0 goto label;
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats NORMALIZE_INFINITE>;
v = newarray (java.lang.Object)[0];
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.IllegalArgumentException createIllegalArgumentException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
v = staticinvoke <java.lang.Double: boolean isNaN(double)>(v);
if v == 0 goto label;
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats NORMALIZE_NAN>;
v = newarray (java.lang.Object)[0];
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.IllegalArgumentException createIllegalArgumentException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
v = 0.0;
v = lengthof v;
v = newarray (double)[v];
v = 0;
label:
if v >= v goto label;
v = v[v];
v = staticinvoke <java.lang.Double: boolean isInfinite(double)>(v);
if v == 0 goto label;
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats INFINITE_ARRAY_ELEMENT>;
v = newarray (java.lang.Object)[2];
v = v[v];
v = staticinvoke <java.lang.Double: java.lang.Double valueOf(double)>(v);
v[0] = v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[1] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.ArithmeticException createArithmeticException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
v = v[v];
v = staticinvoke <java.lang.Double: boolean isNaN(double)>(v);
if v != 0 goto label;
v = v[v];
v = v + v;
label:
v = v + 1;
goto label;
label:
v = v cmpl 0.0;
if v != 0 goto label;
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats ARRAY_SUMS_TO_ZERO>;
v = newarray (java.lang.Object)[0];
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.ArithmeticException createArithmeticException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
v = 0;
label:
if v >= v goto label;
v = v[v];
v = staticinvoke <java.lang.Double: boolean isNaN(double)>(v);
if v == 0 goto label;
v[v] = #NaN;
goto label;
label:
v = v[v];
v = v * v;
v = v / v;
v[v] = v;
label:
v = v + 1;
goto label;
label:
return v;
}
public static double round(double, int)
{
int v;
double v, v;
v := @parameter: double;
v := @parameter: int;
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: double round(double,int,int)>(v, v, 4);
return v;
}
public static double round(double, int, int)
{
java.lang.NumberFormatException v;
java.math.BigDecimal v, v;
int v, v;
java.lang.String v;
boolean v;
double v, v;
v := @parameter: double;
v := @parameter: int;
v := @parameter: int;
label:
v = new java.math.BigDecimal;
v = staticinvoke <java.lang.Double: java.lang.String toString(double)>(v);
specialinvoke v.<java.math.BigDecimal: void <init>(java.lang.String)>(v);
v = virtualinvoke v.<java.math.BigDecimal: java.math.BigDecimal setScale(int,int)>(v, v);
v = virtualinvoke v.<java.math.BigDecimal: double doubleValue()>();
label:
return v;
label:
v := @caughtexception;
v = staticinvoke <java.lang.Double: boolean isInfinite(double)>(v);
if v == 0 goto label;
return v;
label:
return #NaN;
catch java.lang.NumberFormatException from label to label with label;
}
public static float round(float, int)
{
int v;
float v, v;
v := @parameter: float;
v := @parameter: int;
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: float round(float,int,int)>(v, v, 4);
return v;
}
public static float round(float, int, int)
{
int v, v;
float v, v, v, v, v;
double v, v;
v := @parameter: float;
v := @parameter: int;
v := @parameter: int;
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: float indicator(float)>(v);
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double pow(double,double)>(10.0, v);
v = v * v;
v = v * v;
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: double roundUnscaled(double,double,int)>(v, v, v);
v = v / v;
return v;
}
private static double roundUnscaled(double, double, int)
{
java.lang.Integer v, v, v, v, v, v, v, v, v;
byte v, v, v, v, v, v, v, v;
java.lang.ArithmeticException v;
java.lang.Object[] v;
int v;
oadd.org.apache.commons.math.exception.util.LocalizedFormats v;
double v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
java.lang.IllegalArgumentException v;
v := @parameter: double;
v := @parameter: double;
v := @parameter: int;
tableswitch(v)
{
case 0: goto label;
case 1: goto label;
case 2: goto label;
case 3: goto label;
case 4: goto label;
case 5: goto label;
case 6: goto label;
case 7: goto label;
default: goto label;
};
label:
v = v cmpl -1.0;
if v != 0 goto label;
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: double nextAfter(double,double)>(v, #-Infinity);
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double floor(double)>(v);
goto label;
label:
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: double nextAfter(double,double)>(v, #Infinity);
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double ceil(double)>(v);
goto label;
label:
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: double nextAfter(double,double)>(v, #-Infinity);
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double floor(double)>(v);
goto label;
label:
v = v cmpl -1.0;
if v != 0 goto label;
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: double nextAfter(double,double)>(v, #Infinity);
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double ceil(double)>(v);
goto label;
label:
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: double nextAfter(double,double)>(v, #-Infinity);
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double floor(double)>(v);
goto label;
label:
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: double nextAfter(double,double)>(v, #-Infinity);
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double floor(double)>(v);
v = v - v;
v = v cmpl 0.5;
if v <= 0 goto label;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double ceil(double)>(v);
goto label;
label:
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double floor(double)>(v);
goto label;
label:
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double floor(double)>(v);
v = v - v;
v = v cmpl 0.5;
if v <= 0 goto label;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double ceil(double)>(v);
goto label;
label:
v = v cmpg 0.5;
if v >= 0 goto label;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double floor(double)>(v);
goto label;
label:
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double floor(double)>(v);
v = v / 2.0;
v = staticinvoke <java.lang.Math: double floor(double)>(v);
v = v / 2.0;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double floor(double)>(v);
v = v cmpl v;
if v != 0 goto label;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double floor(double)>(v);
goto label;
label:
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double ceil(double)>(v);
goto label;
label:
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: double nextAfter(double,double)>(v, #Infinity);
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double floor(double)>(v);
v = v - v;
v = v cmpl 0.5;
if v < 0 goto label;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double ceil(double)>(v);
goto label;
label:
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double floor(double)>(v);
goto label;
label:
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double floor(double)>(v);
v = v cmpl v;
if v == 0 goto label;
v = new java.lang.ArithmeticException;
specialinvoke v.<java.lang.ArithmeticException: void <init>(java.lang.String)>("Inexact result from rounding");
throw v;
label:
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: double nextAfter(double,double)>(v, #Infinity);
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double ceil(double)>(v);
goto label;
label:
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats INVALID_ROUNDING_METHOD>;
v = newarray (java.lang.Object)[17];
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[0] = v;
v[1] = "ROUND_CEILING";
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(2);
v[2] = v;
v[3] = "ROUND_DOWN";
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(1);
v[4] = v;
v[5] = "ROUND_FLOOR";
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(3);
v[6] = v;
v[7] = "ROUND_HALF_DOWN";
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(5);
v[8] = v;
v[9] = "ROUND_HALF_EVEN";
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(6);
v[10] = v;
v[11] = "ROUND_HALF_UP";
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(4);
v[12] = v;
v[13] = "ROUND_UNNECESSARY";
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(7);
v[14] = v;
v[15] = "ROUND_UP";
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(0);
v[16] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.IllegalArgumentException createIllegalArgumentException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
return v;
}
public static byte sign(byte)
{
byte v, v;
v := @parameter: byte;
if v != 0 goto label;
v = 0;
goto label;
label:
if v <= 0 goto label;
v = 1;
goto label;
label:
v = -1;
label:
return v;
}
public static double sign(double)
{
byte v, v;
boolean v;
double v, v;
v := @parameter: double;
v = staticinvoke <java.lang.Double: boolean isNaN(double)>(v);
if v == 0 goto label;
return #NaN;
label:
v = v cmpl 0.0;
if v != 0 goto label;
v = 0.0;
goto label;
label:
v = v cmpl 0.0;
if v <= 0 goto label;
v = 1.0;
goto label;
label:
v = -1.0;
label:
return v;
}
public static float sign(float)
{
byte v, v;
float v, v;
boolean v;
v := @parameter: float;
v = staticinvoke <java.lang.Float: boolean isNaN(float)>(v);
if v == 0 goto label;
return #NaNF;
label:
v = v cmpl 0.0F;
if v != 0 goto label;
v = 0.0F;
goto label;
label:
v = v cmpl 0.0F;
if v <= 0 goto label;
v = 1.0F;
goto label;
label:
v = -1.0F;
label:
return v;
}
public static int sign(int)
{
int v;
byte v;
v := @parameter: int;
if v != 0 goto label;
v = 0;
goto label;
label:
if v <= 0 goto label;
v = 1;
goto label;
label:
v = -1;
label:
return v;
}
public static long sign(long)
{
byte v, v;
long v, v;
v := @parameter: long;
v = v cmp 0L;
if v != 0 goto label;
v = 0L;
goto label;
label:
v = v cmp 0L;
if v <= 0 goto label;
v = 1L;
goto label;
label:
v = -1L;
label:
return v;
}
public static short sign(short)
{
short v;
byte v;
v := @parameter: short;
if v != 0 goto label;
v = 0;
goto label;
label:
if v <= 0 goto label;
v = 1;
goto label;
label:
v = -1;
label:
return v;
}
public static double sinh(double)
{
double v, v, v, v, v, v;
v := @parameter: double;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double exp(double)>(v);
v = neg v;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double exp(double)>(v);
v = v - v;
v = v / 2.0;
return v;
}
public static int subAndCheck(int, int)
{
java.lang.Object[] v;
long v;
java.lang.Integer v, v;
byte v, v;
int v, v;
oadd.org.apache.commons.math.exception.util.LocalizedFormats v;
java.lang.ArithmeticException v;
v := @parameter: int;
v := @parameter: int;
v = v - v;
v = v cmp -2147483648L;
if v < 0 goto label;
v = v cmp 2147483647L;
if v <= 0 goto label;
label:
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats OVERFLOW_IN_SUBTRACTION>;
v = newarray (java.lang.Object)[2];
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[0] = v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[1] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.ArithmeticException createArithmeticException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
return v;
}
public static long subAndCheck(long, long)
{
long v, v, v, v;
byte v, v;
oadd.org.apache.commons.math.exception.util.LocalizedFormats v;
java.lang.ArithmeticException v;
v := @parameter: long;
v := @parameter: long;
v = v cmp -9223372036854775808L;
if v != 0 goto label;
v = v cmp 0L;
if v >= 0 goto label;
v = v - v;
goto label;
label:
v = new java.lang.ArithmeticException;
specialinvoke v.<java.lang.ArithmeticException: void <init>(java.lang.String)>("overflow: subtract");
throw v;
label:
v = neg v;
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats OVERFLOW_IN_ADDITION>;
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: long addAndCheck(long,long,oadd.org.apache.commons.math.exception.util.Localizable)>(v, v, v);
label:
return v;
}
public static int pow(int, int) throws java.lang.IllegalArgumentException
{
java.lang.Object[] v;
java.lang.IllegalArgumentException v;
java.lang.Integer v, v;
int v, v, v, v, v;
oadd.org.apache.commons.math.exception.util.LocalizedFormats v;
v := @parameter: int;
v := @parameter: int;
if v >= 0 goto label;
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats POWER_NEGATIVE_PARAMETERS>;
v = newarray (java.lang.Object)[2];
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[0] = v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[1] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.IllegalArgumentException createIllegalArgumentException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
v = 1;
v = v;
label:
if v == 0 goto label;
v = v & 1;
if v == 0 goto label;
v = v * v;
label:
v = v * v;
v = v >> 1;
goto label;
label:
return v;
}
public static int pow(int, long) throws java.lang.IllegalArgumentException
{
java.lang.Object[] v;
long v, v;
java.lang.IllegalArgumentException v;
java.lang.Integer v;
byte v, v, v;
java.lang.Long v;
int v, v, v;
oadd.org.apache.commons.math.exception.util.LocalizedFormats v;
v := @parameter: int;
v := @parameter: long;
v = v cmp 0L;
if v >= 0 goto label;
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats POWER_NEGATIVE_PARAMETERS>;
v = newarray (java.lang.Object)[2];
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[0] = v;
v = staticinvoke <java.lang.Long: java.lang.Long valueOf(long)>(v);
v[1] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.IllegalArgumentException createIllegalArgumentException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
v = 1;
v = v;
label:
v = v cmp 0L;
if v == 0 goto label;
v = v & 1L;
v = v cmp 0L;
if v == 0 goto label;
v = v * v;
label:
v = v * v;
v = v >> 1;
goto label;
label:
return v;
}
public static long pow(long, int) throws java.lang.IllegalArgumentException
{
java.lang.Object[] v;
long v, v, v;
java.lang.IllegalArgumentException v;
java.lang.Integer v;
java.lang.Long v;
int v, v;
oadd.org.apache.commons.math.exception.util.LocalizedFormats v;
v := @parameter: long;
v := @parameter: int;
if v >= 0 goto label;
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats POWER_NEGATIVE_PARAMETERS>;
v = newarray (java.lang.Object)[2];
v = staticinvoke <java.lang.Long: java.lang.Long valueOf(long)>(v);
v[0] = v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[1] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.IllegalArgumentException createIllegalArgumentException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
v = 1L;
v = v;
label:
if v == 0 goto label;
v = v & 1;
if v == 0 goto label;
v = v * v;
label:
v = v * v;
v = v >> 1;
goto label;
label:
return v;
}
public static long pow(long, long) throws java.lang.IllegalArgumentException
{
java.lang.Object[] v;
long v, v, v, v, v;
java.lang.IllegalArgumentException v;
byte v, v, v;
java.lang.Long v, v;
oadd.org.apache.commons.math.exception.util.LocalizedFormats v;
v := @parameter: long;
v := @parameter: long;
v = v cmp 0L;
if v >= 0 goto label;
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats POWER_NEGATIVE_PARAMETERS>;
v = newarray (java.lang.Object)[2];
v = staticinvoke <java.lang.Long: java.lang.Long valueOf(long)>(v);
v[0] = v;
v = staticinvoke <java.lang.Long: java.lang.Long valueOf(long)>(v);
v[1] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.IllegalArgumentException createIllegalArgumentException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
v = 1L;
v = v;
label:
v = v cmp 0L;
if v == 0 goto label;
v = v & 1L;
v = v cmp 0L;
if v == 0 goto label;
v = v * v;
label:
v = v * v;
v = v >> 1;
goto label;
label:
return v;
}
public static java.math.BigInteger pow(java.math.BigInteger, int) throws java.lang.IllegalArgumentException
{
java.lang.Object[] v;
int v;
oadd.org.apache.commons.math.exception.util.LocalizedFormats v;
java.math.BigInteger v, v;
java.lang.IllegalArgumentException v;
java.lang.Integer v;
v := @parameter: java.math.BigInteger;
v := @parameter: int;
if v >= 0 goto label;
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats POWER_NEGATIVE_PARAMETERS>;
v = newarray (java.lang.Object)[2];
v[0] = v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[1] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.IllegalArgumentException createIllegalArgumentException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
v = virtualinvoke v.<java.math.BigInteger: java.math.BigInteger pow(int)>(v);
return v;
}
public static java.math.BigInteger pow(java.math.BigInteger, long) throws java.lang.IllegalArgumentException
{
java.lang.Object[] v;
long v, v;
java.lang.IllegalArgumentException v;
byte v, v, v;
java.lang.Long v;
oadd.org.apache.commons.math.exception.util.LocalizedFormats v;
java.math.BigInteger v, v, v;
v := @parameter: java.math.BigInteger;
v := @parameter: long;
v = v cmp 0L;
if v >= 0 goto label;
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats POWER_NEGATIVE_PARAMETERS>;
v = newarray (java.lang.Object)[2];
v[0] = v;
v = staticinvoke <java.lang.Long: java.lang.Long valueOf(long)>(v);
v[1] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.IllegalArgumentException createIllegalArgumentException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
v = <java.math.BigInteger: java.math.BigInteger ONE>;
v = v;
label:
v = v cmp 0L;
if v == 0 goto label;
v = v & 1L;
v = v cmp 0L;
if v == 0 goto label;
v = virtualinvoke v.<java.math.BigInteger: java.math.BigInteger multiply(java.math.BigInteger)>(v);
label:
v = virtualinvoke v.<java.math.BigInteger: java.math.BigInteger multiply(java.math.BigInteger)>(v);
v = v >> 1;
goto label;
label:
return v;
}
public static java.math.BigInteger pow(java.math.BigInteger, java.math.BigInteger) throws java.lang.IllegalArgumentException
{
java.lang.Object[] v;
java.lang.IllegalArgumentException v;
int v;
oadd.org.apache.commons.math.exception.util.LocalizedFormats v;
java.math.BigInteger v, v, v, v, v, v;
boolean v, v;
v := @parameter: java.math.BigInteger;
v := @parameter: java.math.BigInteger;
v = <java.math.BigInteger: java.math.BigInteger ZERO>;
v = virtualinvoke v.<java.math.BigInteger: int compareTo(java.math.BigInteger)>(v);
if v >= 0 goto label;
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats POWER_NEGATIVE_PARAMETERS>;
v = newarray (java.lang.Object)[2];
v[0] = v;
v[1] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.IllegalArgumentException createIllegalArgumentException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
v = <java.math.BigInteger: java.math.BigInteger ONE>;
v = v;
label:
v = <java.math.BigInteger: java.math.BigInteger ZERO>;
v = virtualinvoke v.<java.math.BigInteger: boolean equals(java.lang.Object)>(v);
if v != 0 goto label;
v = virtualinvoke v.<java.math.BigInteger: boolean testBit(int)>(0);
if v == 0 goto label;
v = virtualinvoke v.<java.math.BigInteger: java.math.BigInteger multiply(java.math.BigInteger)>(v);
label:
v = virtualinvoke v.<java.math.BigInteger: java.math.BigInteger multiply(java.math.BigInteger)>(v);
v = virtualinvoke v.<java.math.BigInteger: java.math.BigInteger shiftRight(int)>(1);
goto label;
label:
return v;
}
public static double distance1(double[], double[])
{
double[] v, v;
int v, v;
double v, v, v, v, v;
v := @parameter: double[];
v := @parameter: double[];
v = 0.0;
v = 0;
label:
v = lengthof v;
if v >= v goto label;
v = v[v];
v = v[v];
v = v - v;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double abs(double)>(v);
v = v + v;
v = v + 1;
goto label;
label:
return v;
}
public static int distance1(int[], int[])
{
int[] v, v;
int v, v, v, v, v, v, v;
v := @parameter: int[];
v := @parameter: int[];
v = 0;
v = 0;
label:
v = lengthof v;
if v >= v goto label;
v = v[v];
v = v[v];
v = v - v;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: int abs(int)>(v);
v = v + v;
v = v + 1;
goto label;
label:
return v;
}
public static double distance(double[], double[])
{
double[] v, v;
int v, v;
double v, v, v, v, v, v;
v := @parameter: double[];
v := @parameter: double[];
v = 0.0;
v = 0;
label:
v = lengthof v;
if v >= v goto label;
v = v[v];
v = v[v];
v = v - v;
v = v * v;
v = v + v;
v = v + 1;
goto label;
label:
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double sqrt(double)>(v);
return v;
}
public static double distance(int[], int[])
{
int[] v, v;
int v, v, v, v, v;
double v, v, v;
v := @parameter: int[];
v := @parameter: int[];
v = 0.0;
v = 0;
label:
v = lengthof v;
if v >= v goto label;
v = v[v];
v = v[v];
v = v - v;
v = v * v;
v = v + v;
v = v + 1;
goto label;
label:
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double sqrt(double)>(v);
return v;
}
public static double distanceInf(double[], double[])
{
double[] v, v;
int v, v;
double v, v, v, v, v;
v := @parameter: double[];
v := @parameter: double[];
v = 0.0;
v = 0;
label:
v = lengthof v;
if v >= v goto label;
v = v[v];
v = v[v];
v = v - v;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double abs(double)>(v);
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double max(double,double)>(v, v);
v = v + 1;
goto label;
label:
return v;
}
public static int distanceInf(int[], int[])
{
int[] v, v;
int v, v, v, v, v, v, v;
v := @parameter: int[];
v := @parameter: int[];
v = 0;
v = 0;
label:
v = lengthof v;
if v >= v goto label;
v = v[v];
v = v[v];
v = v - v;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: int abs(int)>(v);
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: int max(int,int)>(v, v);
v = v + 1;
goto label;
label:
return v;
}
public static void checkOrder(double[], oadd.org.apache.commons.math.util.MathUtils$OrderDirection, boolean)
{
java.lang.Double v, v;
double[] v;
oadd.org.apache.commons.math.util.MathUtils$OrderDirection v;
byte v, v, v, v;
int[] v;
int v, v, v, v;
boolean v, v;
double v, v, v, v, v, v;
java.lang.IllegalArgumentException v;
oadd.org.apache.commons.math.exception.NonMonotonousSequenceException v;
v := @parameter: double[];
v := @parameter: oadd.org.apache.commons.math.util.MathUtils$OrderDirection;
v := @parameter: boolean;
v = v[0];
v = 1;
v = lengthof v;
v = 1;
label:
if v >= v goto label;
v = <oadd.org.apache.commons.math.util.MathUtils$1: int[] $SwitchMap$org$apache$commons$math$util$MathUtils$OrderDirection>;
v = virtualinvoke v.<oadd.org.apache.commons.math.util.MathUtils$OrderDirection: int ordinal()>();
v = v[v];
lookupswitch(v)
{
case 1: goto label;
case 2: goto label;
default: goto label;
};
label:
if v == 0 goto label;
v = v[v];
v = v cmpg v;
if v > 0 goto label;
v = 0;
goto label;
label:
v = v[v];
v = v cmpg v;
if v >= 0 goto label;
v = 0;
goto label;
label:
if v == 0 goto label;
v = v[v];
v = v cmpl v;
if v < 0 goto label;
v = 0;
goto label;
label:
v = v[v];
v = v cmpl v;
if v <= 0 goto label;
v = 0;
goto label;
label:
v = new java.lang.IllegalArgumentException;
specialinvoke v.<java.lang.IllegalArgumentException: void <init>()>();
throw v;
label:
if v != 0 goto label;
v = new oadd.org.apache.commons.math.exception.NonMonotonousSequenceException;
v = v[v];
v = staticinvoke <java.lang.Double: java.lang.Double valueOf(double)>(v);
v = staticinvoke <java.lang.Double: java.lang.Double valueOf(double)>(v);
specialinvoke v.<oadd.org.apache.commons.math.exception.NonMonotonousSequenceException: void <init>(java.lang.Number,java.lang.Number,int,oadd.org.apache.commons.math.util.MathUtils$OrderDirection,boolean)>(v, v, v, v, v);
throw v;
label:
v = v[v];
v = v + 1;
goto label;
label:
return;
}
public static void checkOrder(double[])
{
double[] v;
oadd.org.apache.commons.math.util.MathUtils$OrderDirection v;
v := @parameter: double[];
v = <oadd.org.apache.commons.math.util.MathUtils$OrderDirection: oadd.org.apache.commons.math.util.MathUtils$OrderDirection INCREASING>;
staticinvoke <oadd.org.apache.commons.math.util.MathUtils: void checkOrder(double[],oadd.org.apache.commons.math.util.MathUtils$OrderDirection,boolean)>(v, v, 1);
return;
}
public static void checkOrder(double[], int, boolean)
{
double[] v;
int v;
oadd.org.apache.commons.math.util.MathUtils$OrderDirection v, v;
boolean v;
v := @parameter: double[];
v := @parameter: int;
v := @parameter: boolean;
if v <= 0 goto label;
v = <oadd.org.apache.commons.math.util.MathUtils$OrderDirection: oadd.org.apache.commons.math.util.MathUtils$OrderDirection INCREASING>;
staticinvoke <oadd.org.apache.commons.math.util.MathUtils: void checkOrder(double[],oadd.org.apache.commons.math.util.MathUtils$OrderDirection,boolean)>(v, v, v);
goto label;
label:
v = <oadd.org.apache.commons.math.util.MathUtils$OrderDirection: oadd.org.apache.commons.math.util.MathUtils$OrderDirection DECREASING>;
staticinvoke <oadd.org.apache.commons.math.util.MathUtils: void checkOrder(double[],oadd.org.apache.commons.math.util.MathUtils$OrderDirection,boolean)>(v, v, v);
label:
return;
}
public static double safeNorm(double[])
{
byte v, v, v, v, v, v, v, v, v;
double[] v;
int v, v, v;
double v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
v := @parameter: double[];
v = 0.0;
v = 0.0;
v = 0.0;
v = 0.0;
v = 0.0;
v = lengthof v;
v = 1.304E19 / v;
v = 0;
label:
v = lengthof v;
if v >= v goto label;
v = v[v];
v = staticinvoke <java.lang.Math: double abs(double)>(v);
v = v cmpg 3.834E-20;
if v < 0 goto label;
v = v cmpl v;
if v <= 0 goto label;
label:
v = v cmpl 3.834E-20;
if v <= 0 goto label;
v = v cmpl v;
if v <= 0 goto label;
v = v / v;
v = v * v;
v = v * v;
v = 1.0 + v;
v = v;
goto label;
label:
v = v / v;
v = v * v;
v = v + v;
goto label;
label:
v = v cmpl v;
if v <= 0 goto label;
v = v / v;
v = v * v;
v = v * v;
v = 1.0 + v;
v = v;
goto label;
label:
v = v cmpl 0.0;
if v == 0 goto label;
v = v / v;
v = v * v;
v = v + v;
goto label;
label:
v = v * v;
v = v + v;
label:
v = v + 1;
goto label;
label:
v = v cmpl 0.0;
if v == 0 goto label;
v = v / v;
v = v / v;
v = v + v;
v = staticinvoke <java.lang.Math: double sqrt(double)>(v);
v = v * v;
goto label;
label:
v = v cmpl 0.0;
if v != 0 goto label;
v = staticinvoke <java.lang.Math: double sqrt(double)>(v);
v = v * v;
goto label;
label:
v = v cmpl v;
if v < 0 goto label;
v = v / v;
v = v * v;
v = v * v;
v = 1.0 + v;
v = v * v;
v = staticinvoke <java.lang.Math: double sqrt(double)>(v);
goto label;
label:
v = v / v;
v = v * v;
v = v + v;
v = v * v;
v = staticinvoke <java.lang.Math: double sqrt(double)>(v);
label:
return v;
}
static void <clinit>()
{
long[] v;
java.lang.Class v;
boolean v, v;
v = class "Loadd/org/apache/commons/math/util/MathUtils;";
v = virtualinvoke v.<java.lang.Class: boolean desiredAssertionStatus()>();
if v != 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
<oadd.org.apache.commons.math.util.MathUtils: boolean $assertionsDisabled> = v;
v = newarray (long)[21];
v[0] = 1L;
v[1] = 1L;
v[2] = 2L;
v[3] = 6L;
v[4] = 24L;
v[5] = 120L;
v[6] = 720L;
v[7] = 5040L;
v[8] = 40320L;
v[9] = 362880L;
v[10] = 3628800L;
v[11] = 39916800L;
v[12] = 479001600L;
v[13] = 6227020800L;
v[14] = 87178291200L;
v[15] = 1307674368000L;
v[16] = 20922789888000L;
v[17] = 355687428096000L;
v[18] = 6402373705728000L;
v[19] = 121645100408832000L;
v[20] = 2432902008176640000L;
<oadd.org.apache.commons.math.util.MathUtils: long[] FACTORIALS> = v;
return;
}
}