
(FPCore (x y z t a b c i j) :precision binary64 (+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* t i)))) (* j (- (* c a) (* y i)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)));
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
code = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)));
}
def code(x, y, z, t, a, b, c, i, j): return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)))
function code(x, y, z, t, a, b, c, i, j) return Float64(Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) - Float64(b * Float64(Float64(c * z) - Float64(t * i)))) + Float64(j * Float64(Float64(c * a) - Float64(y * i)))) end
function tmp = code(x, y, z, t, a, b, c, i, j) tmp = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i))); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := N[(N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(N[(c * z), $MachinePrecision] - N[(t * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(c * a), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 19 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a b c i j) :precision binary64 (+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* t i)))) (* j (- (* c a) (* y i)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)));
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
code = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)));
}
def code(x, y, z, t, a, b, c, i, j): return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)))
function code(x, y, z, t, a, b, c, i, j) return Float64(Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) - Float64(b * Float64(Float64(c * z) - Float64(t * i)))) + Float64(j * Float64(Float64(c * a) - Float64(y * i)))) end
function tmp = code(x, y, z, t, a, b, c, i, j) tmp = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i))); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := N[(N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(N[(c * z), $MachinePrecision] - N[(t * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(c * a), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)
\end{array}
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1
(+
(+ (* x (- (* y z) (* t a))) (* b (- (* t i) (* z c))))
(* j (- (* a c) (* y i))))))
(if (<= t_1 INFINITY) t_1 (* (* b c) (- (/ (* a j) b) z)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = ((x * ((y * z) - (t * a))) + (b * ((t * i) - (z * c)))) + (j * ((a * c) - (y * i)));
double tmp;
if (t_1 <= ((double) INFINITY)) {
tmp = t_1;
} else {
tmp = (b * c) * (((a * j) / b) - z);
}
return tmp;
}
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = ((x * ((y * z) - (t * a))) + (b * ((t * i) - (z * c)))) + (j * ((a * c) - (y * i)));
double tmp;
if (t_1 <= Double.POSITIVE_INFINITY) {
tmp = t_1;
} else {
tmp = (b * c) * (((a * j) / b) - z);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = ((x * ((y * z) - (t * a))) + (b * ((t * i) - (z * c)))) + (j * ((a * c) - (y * i))) tmp = 0 if t_1 <= math.inf: tmp = t_1 else: tmp = (b * c) * (((a * j) / b) - z) return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) + Float64(b * Float64(Float64(t * i) - Float64(z * c)))) + Float64(j * Float64(Float64(a * c) - Float64(y * i)))) tmp = 0.0 if (t_1 <= Inf) tmp = t_1; else tmp = Float64(Float64(b * c) * Float64(Float64(Float64(a * j) / b) - z)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = ((x * ((y * z) - (t * a))) + (b * ((t * i) - (z * c)))) + (j * ((a * c) - (y * i))); tmp = 0.0; if (t_1 <= Inf) tmp = t_1; else tmp = (b * c) * (((a * j) / b) - z); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, Infinity], t$95$1, N[(N[(b * c), $MachinePrecision] * N[(N[(N[(a * j), $MachinePrecision] / b), $MachinePrecision] - z), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(t \cdot i - z \cdot c\right)\right) + j \cdot \left(a \cdot c - y \cdot i\right)\\
\mathbf{if}\;t\_1 \leq \infty:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;\left(b \cdot c\right) \cdot \left(\frac{a \cdot j}{b} - z\right)\\
\end{array}
\end{array}
if (+.f64 (-.f64 (*.f64 x (-.f64 (*.f64 y z) (*.f64 t a))) (*.f64 b (-.f64 (*.f64 c z) (*.f64 t i)))) (*.f64 j (-.f64 (*.f64 c a) (*.f64 y i)))) < +inf.0Initial program 89.6%
if +inf.0 < (+.f64 (-.f64 (*.f64 x (-.f64 (*.f64 y z) (*.f64 t a))) (*.f64 b (-.f64 (*.f64 c z) (*.f64 t i)))) (*.f64 j (-.f64 (*.f64 c a) (*.f64 y i)))) Initial program 0.0%
Taylor expanded in b around inf
*-lowering-*.f64N/A
associate--l+N/A
+-lowering-+.f64N/A
*-lowering-*.f64N/A
associate--l+N/A
+-lowering-+.f64N/A
*-commutativeN/A
associate-/l*N/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
/-lowering-/.f64N/A
Simplified18.0%
Taylor expanded in c around inf
associate-*r*N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
--lowering--.f64N/A
/-lowering-/.f64N/A
*-commutativeN/A
*-lowering-*.f6454.6%
Simplified54.6%
Final simplification81.3%
(FPCore (x y z t a b c i j)
:precision binary64
(if (<= z -7e+141)
(* z (+ (* x y) (* b (- (/ (* t i) z) c))))
(if (<= z 2.85e+122)
(+ (* j (- (* a c) (* y i))) (+ (* x (- (* y z) (* t a))) (* t (* b i))))
(* z (+ (* x y) (* b (- (* i (/ t z)) c)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (z <= -7e+141) {
tmp = z * ((x * y) + (b * (((t * i) / z) - c)));
} else if (z <= 2.85e+122) {
tmp = (j * ((a * c) - (y * i))) + ((x * ((y * z) - (t * a))) + (t * (b * i)));
} else {
tmp = z * ((x * y) + (b * ((i * (t / z)) - c)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: tmp
if (z <= (-7d+141)) then
tmp = z * ((x * y) + (b * (((t * i) / z) - c)))
else if (z <= 2.85d+122) then
tmp = (j * ((a * c) - (y * i))) + ((x * ((y * z) - (t * a))) + (t * (b * i)))
else
tmp = z * ((x * y) + (b * ((i * (t / z)) - c)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (z <= -7e+141) {
tmp = z * ((x * y) + (b * (((t * i) / z) - c)));
} else if (z <= 2.85e+122) {
tmp = (j * ((a * c) - (y * i))) + ((x * ((y * z) - (t * a))) + (t * (b * i)));
} else {
tmp = z * ((x * y) + (b * ((i * (t / z)) - c)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if z <= -7e+141: tmp = z * ((x * y) + (b * (((t * i) / z) - c))) elif z <= 2.85e+122: tmp = (j * ((a * c) - (y * i))) + ((x * ((y * z) - (t * a))) + (t * (b * i))) else: tmp = z * ((x * y) + (b * ((i * (t / z)) - c))) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (z <= -7e+141) tmp = Float64(z * Float64(Float64(x * y) + Float64(b * Float64(Float64(Float64(t * i) / z) - c)))); elseif (z <= 2.85e+122) tmp = Float64(Float64(j * Float64(Float64(a * c) - Float64(y * i))) + Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) + Float64(t * Float64(b * i)))); else tmp = Float64(z * Float64(Float64(x * y) + Float64(b * Float64(Float64(i * Float64(t / z)) - c)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if (z <= -7e+141) tmp = z * ((x * y) + (b * (((t * i) / z) - c))); elseif (z <= 2.85e+122) tmp = (j * ((a * c) - (y * i))) + ((x * ((y * z) - (t * a))) + (t * (b * i))); else tmp = z * ((x * y) + (b * ((i * (t / z)) - c))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[z, -7e+141], N[(z * N[(N[(x * y), $MachinePrecision] + N[(b * N[(N[(N[(t * i), $MachinePrecision] / z), $MachinePrecision] - c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.85e+122], N[(N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(b * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(z * N[(N[(x * y), $MachinePrecision] + N[(b * N[(N[(i * N[(t / z), $MachinePrecision]), $MachinePrecision] - c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -7 \cdot 10^{+141}:\\
\;\;\;\;z \cdot \left(x \cdot y + b \cdot \left(\frac{t \cdot i}{z} - c\right)\right)\\
\mathbf{elif}\;z \leq 2.85 \cdot 10^{+122}:\\
\;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) + t \cdot \left(b \cdot i\right)\right)\\
\mathbf{else}:\\
\;\;\;\;z \cdot \left(x \cdot y + b \cdot \left(i \cdot \frac{t}{z} - c\right)\right)\\
\end{array}
\end{array}
if z < -6.9999999999999999e141Initial program 59.7%
Taylor expanded in j around 0
--lowering--.f64N/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6459.9%
Simplified59.9%
Taylor expanded in y around inf
*-commutativeN/A
associate-*r*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6458.6%
Simplified58.6%
Taylor expanded in z around inf
*-lowering-*.f64N/A
associate--l+N/A
sub-negN/A
mul-1-negN/A
+-commutativeN/A
+-lowering-+.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
sub-negN/A
associate-/l*N/A
distribute-lft-out--N/A
unsub-negN/A
mul-1-negN/A
+-commutativeN/A
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
--lowering--.f64N/A
Simplified86.6%
if -6.9999999999999999e141 < z < 2.85000000000000003e122Initial program 74.1%
Taylor expanded in c around 0
associate-*r*N/A
associate-*r*N/A
*-commutativeN/A
*-lowering-*.f64N/A
mul-1-negN/A
distribute-rgt-neg-inN/A
neg-mul-1N/A
*-lowering-*.f64N/A
neg-mul-1N/A
neg-sub0N/A
--lowering--.f6472.6%
Simplified72.6%
if 2.85000000000000003e122 < z Initial program 50.6%
Taylor expanded in j around 0
--lowering--.f64N/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6462.2%
Simplified62.2%
Taylor expanded in y around inf
*-commutativeN/A
associate-*r*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6468.5%
Simplified68.5%
Taylor expanded in z around inf
*-lowering-*.f64N/A
associate--l+N/A
sub-negN/A
mul-1-negN/A
+-commutativeN/A
+-lowering-+.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
sub-negN/A
associate-/l*N/A
distribute-lft-out--N/A
unsub-negN/A
mul-1-negN/A
+-commutativeN/A
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
--lowering--.f64N/A
Simplified73.2%
associate-/l*N/A
*-commutativeN/A
*-lowering-*.f64N/A
/-lowering-/.f6477.8%
Applied egg-rr77.8%
Final simplification75.2%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* j (- (* a c) (* y i)))))
(if (<= j -8e+208)
(+ t_1 (* y (* x z)))
(if (<= j 3.05e-231)
(+ (* a (- (* c j) (* x t))) (* b (- (* t i) (* z c))))
(if (<= j 3e-95)
(* z (+ (* x y) (* b (- (* i (/ t z)) c))))
(+ t_1 (* i (* t b))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = j * ((a * c) - (y * i));
double tmp;
if (j <= -8e+208) {
tmp = t_1 + (y * (x * z));
} else if (j <= 3.05e-231) {
tmp = (a * ((c * j) - (x * t))) + (b * ((t * i) - (z * c)));
} else if (j <= 3e-95) {
tmp = z * ((x * y) + (b * ((i * (t / z)) - c)));
} else {
tmp = t_1 + (i * (t * b));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: tmp
t_1 = j * ((a * c) - (y * i))
if (j <= (-8d+208)) then
tmp = t_1 + (y * (x * z))
else if (j <= 3.05d-231) then
tmp = (a * ((c * j) - (x * t))) + (b * ((t * i) - (z * c)))
else if (j <= 3d-95) then
tmp = z * ((x * y) + (b * ((i * (t / z)) - c)))
else
tmp = t_1 + (i * (t * b))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = j * ((a * c) - (y * i));
double tmp;
if (j <= -8e+208) {
tmp = t_1 + (y * (x * z));
} else if (j <= 3.05e-231) {
tmp = (a * ((c * j) - (x * t))) + (b * ((t * i) - (z * c)));
} else if (j <= 3e-95) {
tmp = z * ((x * y) + (b * ((i * (t / z)) - c)));
} else {
tmp = t_1 + (i * (t * b));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = j * ((a * c) - (y * i)) tmp = 0 if j <= -8e+208: tmp = t_1 + (y * (x * z)) elif j <= 3.05e-231: tmp = (a * ((c * j) - (x * t))) + (b * ((t * i) - (z * c))) elif j <= 3e-95: tmp = z * ((x * y) + (b * ((i * (t / z)) - c))) else: tmp = t_1 + (i * (t * b)) return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(j * Float64(Float64(a * c) - Float64(y * i))) tmp = 0.0 if (j <= -8e+208) tmp = Float64(t_1 + Float64(y * Float64(x * z))); elseif (j <= 3.05e-231) tmp = Float64(Float64(a * Float64(Float64(c * j) - Float64(x * t))) + Float64(b * Float64(Float64(t * i) - Float64(z * c)))); elseif (j <= 3e-95) tmp = Float64(z * Float64(Float64(x * y) + Float64(b * Float64(Float64(i * Float64(t / z)) - c)))); else tmp = Float64(t_1 + Float64(i * Float64(t * b))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = j * ((a * c) - (y * i)); tmp = 0.0; if (j <= -8e+208) tmp = t_1 + (y * (x * z)); elseif (j <= 3.05e-231) tmp = (a * ((c * j) - (x * t))) + (b * ((t * i) - (z * c))); elseif (j <= 3e-95) tmp = z * ((x * y) + (b * ((i * (t / z)) - c))); else tmp = t_1 + (i * (t * b)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -8e+208], N[(t$95$1 + N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3.05e-231], N[(N[(a * N[(N[(c * j), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3e-95], N[(z * N[(N[(x * y), $MachinePrecision] + N[(b * N[(N[(i * N[(t / z), $MachinePrecision]), $MachinePrecision] - c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t$95$1 + N[(i * N[(t * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(a \cdot c - y \cdot i\right)\\
\mathbf{if}\;j \leq -8 \cdot 10^{+208}:\\
\;\;\;\;t\_1 + y \cdot \left(x \cdot z\right)\\
\mathbf{elif}\;j \leq 3.05 \cdot 10^{-231}:\\
\;\;\;\;a \cdot \left(c \cdot j - x \cdot t\right) + b \cdot \left(t \cdot i - z \cdot c\right)\\
\mathbf{elif}\;j \leq 3 \cdot 10^{-95}:\\
\;\;\;\;z \cdot \left(x \cdot y + b \cdot \left(i \cdot \frac{t}{z} - c\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1 + i \cdot \left(t \cdot b\right)\\
\end{array}
\end{array}
if j < -7.9999999999999999e208Initial program 47.6%
Taylor expanded in y around inf
*-commutativeN/A
associate-*r*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6475.1%
Simplified75.1%
if -7.9999999999999999e208 < j < 3.0499999999999998e-231Initial program 76.3%
Taylor expanded in y around 0
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
distribute-lft-inN/A
--lowering--.f64N/A
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6474.3%
Simplified74.3%
if 3.0499999999999998e-231 < j < 3e-95Initial program 68.2%
Taylor expanded in j around 0
--lowering--.f64N/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6461.1%
Simplified61.1%
Taylor expanded in y around inf
*-commutativeN/A
associate-*r*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6453.4%
Simplified53.4%
Taylor expanded in z around inf
*-lowering-*.f64N/A
associate--l+N/A
sub-negN/A
mul-1-negN/A
+-commutativeN/A
+-lowering-+.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
sub-negN/A
associate-/l*N/A
distribute-lft-out--N/A
unsub-negN/A
mul-1-negN/A
+-commutativeN/A
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
--lowering--.f64N/A
Simplified62.8%
associate-/l*N/A
*-commutativeN/A
*-lowering-*.f64N/A
/-lowering-/.f6467.6%
Applied egg-rr67.6%
if 3e-95 < j Initial program 62.9%
Taylor expanded in i around inf
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
*-lowering-*.f64N/A
*-lowering-*.f6462.4%
Simplified62.4%
Final simplification69.6%
(FPCore (x y z t a b c i j)
:precision binary64
(if (<= t -240000000000.0)
(* b (* t (- i (* a (/ x b)))))
(if (<= t 1e-270)
(* c (- (* a j) (* z b)))
(if (<= t 8e-34)
(* z (+ (* x y) (* b (- (* i (/ t z)) c))))
(if (<= t 1.9e+196)
(* a (- (* c j) (* x t)))
(* t (- (* b i) (* x a))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (t <= -240000000000.0) {
tmp = b * (t * (i - (a * (x / b))));
} else if (t <= 1e-270) {
tmp = c * ((a * j) - (z * b));
} else if (t <= 8e-34) {
tmp = z * ((x * y) + (b * ((i * (t / z)) - c)));
} else if (t <= 1.9e+196) {
tmp = a * ((c * j) - (x * t));
} else {
tmp = t * ((b * i) - (x * a));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: tmp
if (t <= (-240000000000.0d0)) then
tmp = b * (t * (i - (a * (x / b))))
else if (t <= 1d-270) then
tmp = c * ((a * j) - (z * b))
else if (t <= 8d-34) then
tmp = z * ((x * y) + (b * ((i * (t / z)) - c)))
else if (t <= 1.9d+196) then
tmp = a * ((c * j) - (x * t))
else
tmp = t * ((b * i) - (x * a))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (t <= -240000000000.0) {
tmp = b * (t * (i - (a * (x / b))));
} else if (t <= 1e-270) {
tmp = c * ((a * j) - (z * b));
} else if (t <= 8e-34) {
tmp = z * ((x * y) + (b * ((i * (t / z)) - c)));
} else if (t <= 1.9e+196) {
tmp = a * ((c * j) - (x * t));
} else {
tmp = t * ((b * i) - (x * a));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if t <= -240000000000.0: tmp = b * (t * (i - (a * (x / b)))) elif t <= 1e-270: tmp = c * ((a * j) - (z * b)) elif t <= 8e-34: tmp = z * ((x * y) + (b * ((i * (t / z)) - c))) elif t <= 1.9e+196: tmp = a * ((c * j) - (x * t)) else: tmp = t * ((b * i) - (x * a)) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (t <= -240000000000.0) tmp = Float64(b * Float64(t * Float64(i - Float64(a * Float64(x / b))))); elseif (t <= 1e-270) tmp = Float64(c * Float64(Float64(a * j) - Float64(z * b))); elseif (t <= 8e-34) tmp = Float64(z * Float64(Float64(x * y) + Float64(b * Float64(Float64(i * Float64(t / z)) - c)))); elseif (t <= 1.9e+196) tmp = Float64(a * Float64(Float64(c * j) - Float64(x * t))); else tmp = Float64(t * Float64(Float64(b * i) - Float64(x * a))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if (t <= -240000000000.0) tmp = b * (t * (i - (a * (x / b)))); elseif (t <= 1e-270) tmp = c * ((a * j) - (z * b)); elseif (t <= 8e-34) tmp = z * ((x * y) + (b * ((i * (t / z)) - c))); elseif (t <= 1.9e+196) tmp = a * ((c * j) - (x * t)); else tmp = t * ((b * i) - (x * a)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[t, -240000000000.0], N[(b * N[(t * N[(i - N[(a * N[(x / b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1e-270], N[(c * N[(N[(a * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 8e-34], N[(z * N[(N[(x * y), $MachinePrecision] + N[(b * N[(N[(i * N[(t / z), $MachinePrecision]), $MachinePrecision] - c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.9e+196], N[(a * N[(N[(c * j), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t * N[(N[(b * i), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -240000000000:\\
\;\;\;\;b \cdot \left(t \cdot \left(i - a \cdot \frac{x}{b}\right)\right)\\
\mathbf{elif}\;t \leq 10^{-270}:\\
\;\;\;\;c \cdot \left(a \cdot j - z \cdot b\right)\\
\mathbf{elif}\;t \leq 8 \cdot 10^{-34}:\\
\;\;\;\;z \cdot \left(x \cdot y + b \cdot \left(i \cdot \frac{t}{z} - c\right)\right)\\
\mathbf{elif}\;t \leq 1.9 \cdot 10^{+196}:\\
\;\;\;\;a \cdot \left(c \cdot j - x \cdot t\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(b \cdot i - x \cdot a\right)\\
\end{array}
\end{array}
if t < -2.4e11Initial program 66.1%
Taylor expanded in b around inf
*-lowering-*.f64N/A
associate--l+N/A
+-lowering-+.f64N/A
*-lowering-*.f64N/A
associate--l+N/A
+-lowering-+.f64N/A
*-commutativeN/A
associate-/l*N/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
/-lowering-/.f64N/A
Simplified66.2%
Taylor expanded in t around inf
*-lowering-*.f64N/A
mul-1-negN/A
unsub-negN/A
--lowering--.f64N/A
associate-/l*N/A
*-lowering-*.f64N/A
/-lowering-/.f6468.2%
Simplified68.2%
if -2.4e11 < t < 1e-270Initial program 67.6%
Taylor expanded in c around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f6457.9%
Simplified57.9%
if 1e-270 < t < 7.99999999999999942e-34Initial program 79.1%
Taylor expanded in j around 0
--lowering--.f64N/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6460.5%
Simplified60.5%
Taylor expanded in y around inf
*-commutativeN/A
associate-*r*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6457.4%
Simplified57.4%
Taylor expanded in z around inf
*-lowering-*.f64N/A
associate--l+N/A
sub-negN/A
mul-1-negN/A
+-commutativeN/A
+-lowering-+.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
sub-negN/A
associate-/l*N/A
distribute-lft-out--N/A
unsub-negN/A
mul-1-negN/A
+-commutativeN/A
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
--lowering--.f64N/A
Simplified73.9%
associate-/l*N/A
*-commutativeN/A
*-lowering-*.f64N/A
/-lowering-/.f6474.0%
Applied egg-rr74.0%
if 7.99999999999999942e-34 < t < 1.9000000000000001e196Initial program 62.5%
Taylor expanded in a around inf
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f6458.9%
Simplified58.9%
if 1.9000000000000001e196 < t Initial program 63.5%
Taylor expanded in t around inf
distribute-lft-out--N/A
associate-*r*N/A
*-commutativeN/A
*-commutativeN/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
mul-1-negN/A
neg-sub0N/A
--lowering--.f6495.3%
Simplified95.3%
sub0-negN/A
distribute-rgt-neg-outN/A
neg-lowering-neg.f64N/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6495.3%
Applied egg-rr95.3%
Final simplification66.9%
(FPCore (x y z t a b c i j)
:precision binary64
(if (<= t -4800000000000.0)
(* b (* t (- i (* a (/ x b)))))
(if (<= t 9.5e-271)
(* c (- (* a j) (* z b)))
(if (<= t 5.8e-34)
(* z (- (* x y) (* b c)))
(if (<= t 1.28e+199)
(* a (- (* c j) (* x t)))
(* t (- (* b i) (* x a))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (t <= -4800000000000.0) {
tmp = b * (t * (i - (a * (x / b))));
} else if (t <= 9.5e-271) {
tmp = c * ((a * j) - (z * b));
} else if (t <= 5.8e-34) {
tmp = z * ((x * y) - (b * c));
} else if (t <= 1.28e+199) {
tmp = a * ((c * j) - (x * t));
} else {
tmp = t * ((b * i) - (x * a));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: tmp
if (t <= (-4800000000000.0d0)) then
tmp = b * (t * (i - (a * (x / b))))
else if (t <= 9.5d-271) then
tmp = c * ((a * j) - (z * b))
else if (t <= 5.8d-34) then
tmp = z * ((x * y) - (b * c))
else if (t <= 1.28d+199) then
tmp = a * ((c * j) - (x * t))
else
tmp = t * ((b * i) - (x * a))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (t <= -4800000000000.0) {
tmp = b * (t * (i - (a * (x / b))));
} else if (t <= 9.5e-271) {
tmp = c * ((a * j) - (z * b));
} else if (t <= 5.8e-34) {
tmp = z * ((x * y) - (b * c));
} else if (t <= 1.28e+199) {
tmp = a * ((c * j) - (x * t));
} else {
tmp = t * ((b * i) - (x * a));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if t <= -4800000000000.0: tmp = b * (t * (i - (a * (x / b)))) elif t <= 9.5e-271: tmp = c * ((a * j) - (z * b)) elif t <= 5.8e-34: tmp = z * ((x * y) - (b * c)) elif t <= 1.28e+199: tmp = a * ((c * j) - (x * t)) else: tmp = t * ((b * i) - (x * a)) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (t <= -4800000000000.0) tmp = Float64(b * Float64(t * Float64(i - Float64(a * Float64(x / b))))); elseif (t <= 9.5e-271) tmp = Float64(c * Float64(Float64(a * j) - Float64(z * b))); elseif (t <= 5.8e-34) tmp = Float64(z * Float64(Float64(x * y) - Float64(b * c))); elseif (t <= 1.28e+199) tmp = Float64(a * Float64(Float64(c * j) - Float64(x * t))); else tmp = Float64(t * Float64(Float64(b * i) - Float64(x * a))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if (t <= -4800000000000.0) tmp = b * (t * (i - (a * (x / b)))); elseif (t <= 9.5e-271) tmp = c * ((a * j) - (z * b)); elseif (t <= 5.8e-34) tmp = z * ((x * y) - (b * c)); elseif (t <= 1.28e+199) tmp = a * ((c * j) - (x * t)); else tmp = t * ((b * i) - (x * a)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[t, -4800000000000.0], N[(b * N[(t * N[(i - N[(a * N[(x / b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 9.5e-271], N[(c * N[(N[(a * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 5.8e-34], N[(z * N[(N[(x * y), $MachinePrecision] - N[(b * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.28e+199], N[(a * N[(N[(c * j), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t * N[(N[(b * i), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -4800000000000:\\
\;\;\;\;b \cdot \left(t \cdot \left(i - a \cdot \frac{x}{b}\right)\right)\\
\mathbf{elif}\;t \leq 9.5 \cdot 10^{-271}:\\
\;\;\;\;c \cdot \left(a \cdot j - z \cdot b\right)\\
\mathbf{elif}\;t \leq 5.8 \cdot 10^{-34}:\\
\;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\
\mathbf{elif}\;t \leq 1.28 \cdot 10^{+199}:\\
\;\;\;\;a \cdot \left(c \cdot j - x \cdot t\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(b \cdot i - x \cdot a\right)\\
\end{array}
\end{array}
if t < -4.8e12Initial program 66.1%
Taylor expanded in b around inf
*-lowering-*.f64N/A
associate--l+N/A
+-lowering-+.f64N/A
*-lowering-*.f64N/A
associate--l+N/A
+-lowering-+.f64N/A
*-commutativeN/A
associate-/l*N/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
/-lowering-/.f64N/A
Simplified66.2%
Taylor expanded in t around inf
*-lowering-*.f64N/A
mul-1-negN/A
unsub-negN/A
--lowering--.f64N/A
associate-/l*N/A
*-lowering-*.f64N/A
/-lowering-/.f6468.2%
Simplified68.2%
if -4.8e12 < t < 9.50000000000000103e-271Initial program 67.6%
Taylor expanded in c around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f6457.9%
Simplified57.9%
if 9.50000000000000103e-271 < t < 5.8000000000000004e-34Initial program 79.1%
Taylor expanded in z around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6463.8%
Simplified63.8%
if 5.8000000000000004e-34 < t < 1.2799999999999999e199Initial program 62.5%
Taylor expanded in a around inf
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f6458.9%
Simplified58.9%
if 1.2799999999999999e199 < t Initial program 63.5%
Taylor expanded in t around inf
distribute-lft-out--N/A
associate-*r*N/A
*-commutativeN/A
*-commutativeN/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
mul-1-negN/A
neg-sub0N/A
--lowering--.f6495.3%
Simplified95.3%
sub0-negN/A
distribute-rgt-neg-outN/A
neg-lowering-neg.f64N/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6495.3%
Applied egg-rr95.3%
Final simplification64.9%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* t (- (* b i) (* x a)))))
(if (<= t -700000000000.0)
t_1
(if (<= t 8.7e-271)
(* c (- (* a j) (* z b)))
(if (<= t 3.3e-35)
(* z (- (* x y) (* b c)))
(if (<= t 1.95e+196) (* a (- (* c j) (* x t))) t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = t * ((b * i) - (x * a));
double tmp;
if (t <= -700000000000.0) {
tmp = t_1;
} else if (t <= 8.7e-271) {
tmp = c * ((a * j) - (z * b));
} else if (t <= 3.3e-35) {
tmp = z * ((x * y) - (b * c));
} else if (t <= 1.95e+196) {
tmp = a * ((c * j) - (x * t));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: tmp
t_1 = t * ((b * i) - (x * a))
if (t <= (-700000000000.0d0)) then
tmp = t_1
else if (t <= 8.7d-271) then
tmp = c * ((a * j) - (z * b))
else if (t <= 3.3d-35) then
tmp = z * ((x * y) - (b * c))
else if (t <= 1.95d+196) then
tmp = a * ((c * j) - (x * t))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = t * ((b * i) - (x * a));
double tmp;
if (t <= -700000000000.0) {
tmp = t_1;
} else if (t <= 8.7e-271) {
tmp = c * ((a * j) - (z * b));
} else if (t <= 3.3e-35) {
tmp = z * ((x * y) - (b * c));
} else if (t <= 1.95e+196) {
tmp = a * ((c * j) - (x * t));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = t * ((b * i) - (x * a)) tmp = 0 if t <= -700000000000.0: tmp = t_1 elif t <= 8.7e-271: tmp = c * ((a * j) - (z * b)) elif t <= 3.3e-35: tmp = z * ((x * y) - (b * c)) elif t <= 1.95e+196: tmp = a * ((c * j) - (x * t)) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(t * Float64(Float64(b * i) - Float64(x * a))) tmp = 0.0 if (t <= -700000000000.0) tmp = t_1; elseif (t <= 8.7e-271) tmp = Float64(c * Float64(Float64(a * j) - Float64(z * b))); elseif (t <= 3.3e-35) tmp = Float64(z * Float64(Float64(x * y) - Float64(b * c))); elseif (t <= 1.95e+196) tmp = Float64(a * Float64(Float64(c * j) - Float64(x * t))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = t * ((b * i) - (x * a)); tmp = 0.0; if (t <= -700000000000.0) tmp = t_1; elseif (t <= 8.7e-271) tmp = c * ((a * j) - (z * b)); elseif (t <= 3.3e-35) tmp = z * ((x * y) - (b * c)); elseif (t <= 1.95e+196) tmp = a * ((c * j) - (x * t)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(t * N[(N[(b * i), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -700000000000.0], t$95$1, If[LessEqual[t, 8.7e-271], N[(c * N[(N[(a * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 3.3e-35], N[(z * N[(N[(x * y), $MachinePrecision] - N[(b * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.95e+196], N[(a * N[(N[(c * j), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot \left(b \cdot i - x \cdot a\right)\\
\mathbf{if}\;t \leq -700000000000:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 8.7 \cdot 10^{-271}:\\
\;\;\;\;c \cdot \left(a \cdot j - z \cdot b\right)\\
\mathbf{elif}\;t \leq 3.3 \cdot 10^{-35}:\\
\;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\
\mathbf{elif}\;t \leq 1.95 \cdot 10^{+196}:\\
\;\;\;\;a \cdot \left(c \cdot j - x \cdot t\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -7e11 or 1.95e196 < t Initial program 65.5%
Taylor expanded in t around inf
distribute-lft-out--N/A
associate-*r*N/A
*-commutativeN/A
*-commutativeN/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
mul-1-negN/A
neg-sub0N/A
--lowering--.f6473.9%
Simplified73.9%
sub0-negN/A
distribute-rgt-neg-outN/A
neg-lowering-neg.f64N/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6473.9%
Applied egg-rr73.9%
if -7e11 < t < 8.6999999999999999e-271Initial program 67.6%
Taylor expanded in c around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f6457.9%
Simplified57.9%
if 8.6999999999999999e-271 < t < 3.3e-35Initial program 79.1%
Taylor expanded in z around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6463.8%
Simplified63.8%
if 3.3e-35 < t < 1.95e196Initial program 62.5%
Taylor expanded in a around inf
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f6458.9%
Simplified58.9%
Final simplification64.5%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* c (- (* a j) (* z b)))))
(if (<= c -3.8e+69)
t_1
(if (<= c -1.2e-99)
(* b (- (* t i) (* z c)))
(if (<= c 1.9e-104)
(* x (- (* y z) (* t a)))
(if (<= c 6.4e+46) (* j (- (* a c) (* y i))) t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = c * ((a * j) - (z * b));
double tmp;
if (c <= -3.8e+69) {
tmp = t_1;
} else if (c <= -1.2e-99) {
tmp = b * ((t * i) - (z * c));
} else if (c <= 1.9e-104) {
tmp = x * ((y * z) - (t * a));
} else if (c <= 6.4e+46) {
tmp = j * ((a * c) - (y * i));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: tmp
t_1 = c * ((a * j) - (z * b))
if (c <= (-3.8d+69)) then
tmp = t_1
else if (c <= (-1.2d-99)) then
tmp = b * ((t * i) - (z * c))
else if (c <= 1.9d-104) then
tmp = x * ((y * z) - (t * a))
else if (c <= 6.4d+46) then
tmp = j * ((a * c) - (y * i))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = c * ((a * j) - (z * b));
double tmp;
if (c <= -3.8e+69) {
tmp = t_1;
} else if (c <= -1.2e-99) {
tmp = b * ((t * i) - (z * c));
} else if (c <= 1.9e-104) {
tmp = x * ((y * z) - (t * a));
} else if (c <= 6.4e+46) {
tmp = j * ((a * c) - (y * i));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = c * ((a * j) - (z * b)) tmp = 0 if c <= -3.8e+69: tmp = t_1 elif c <= -1.2e-99: tmp = b * ((t * i) - (z * c)) elif c <= 1.9e-104: tmp = x * ((y * z) - (t * a)) elif c <= 6.4e+46: tmp = j * ((a * c) - (y * i)) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(c * Float64(Float64(a * j) - Float64(z * b))) tmp = 0.0 if (c <= -3.8e+69) tmp = t_1; elseif (c <= -1.2e-99) tmp = Float64(b * Float64(Float64(t * i) - Float64(z * c))); elseif (c <= 1.9e-104) tmp = Float64(x * Float64(Float64(y * z) - Float64(t * a))); elseif (c <= 6.4e+46) tmp = Float64(j * Float64(Float64(a * c) - Float64(y * i))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = c * ((a * j) - (z * b)); tmp = 0.0; if (c <= -3.8e+69) tmp = t_1; elseif (c <= -1.2e-99) tmp = b * ((t * i) - (z * c)); elseif (c <= 1.9e-104) tmp = x * ((y * z) - (t * a)); elseif (c <= 6.4e+46) tmp = j * ((a * c) - (y * i)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(c * N[(N[(a * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -3.8e+69], t$95$1, If[LessEqual[c, -1.2e-99], N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.9e-104], N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 6.4e+46], N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(a \cdot j - z \cdot b\right)\\
\mathbf{if}\;c \leq -3.8 \cdot 10^{+69}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;c \leq -1.2 \cdot 10^{-99}:\\
\;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right)\\
\mathbf{elif}\;c \leq 1.9 \cdot 10^{-104}:\\
\;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right)\\
\mathbf{elif}\;c \leq 6.4 \cdot 10^{+46}:\\
\;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if c < -3.80000000000000028e69 or 6.3999999999999996e46 < c Initial program 56.3%
Taylor expanded in c around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f6470.5%
Simplified70.5%
if -3.80000000000000028e69 < c < -1.2e-99Initial program 77.3%
Taylor expanded in b around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6450.9%
Simplified50.9%
if -1.2e-99 < c < 1.9e-104Initial program 76.2%
Taylor expanded in x around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6450.7%
Simplified50.7%
if 1.9e-104 < c < 6.3999999999999996e46Initial program 74.2%
Taylor expanded in j around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6460.2%
Simplified60.2%
Final simplification59.6%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* a (* c j))))
(if (<= t -1.5e+84)
(* i (* t b))
(if (<= t 1.65e-270)
t_1
(if (<= t 8.2e-55)
(* z (* x y))
(if (<= t 8.5e+207) t_1 (* b (* t i))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = a * (c * j);
double tmp;
if (t <= -1.5e+84) {
tmp = i * (t * b);
} else if (t <= 1.65e-270) {
tmp = t_1;
} else if (t <= 8.2e-55) {
tmp = z * (x * y);
} else if (t <= 8.5e+207) {
tmp = t_1;
} else {
tmp = b * (t * i);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: tmp
t_1 = a * (c * j)
if (t <= (-1.5d+84)) then
tmp = i * (t * b)
else if (t <= 1.65d-270) then
tmp = t_1
else if (t <= 8.2d-55) then
tmp = z * (x * y)
else if (t <= 8.5d+207) then
tmp = t_1
else
tmp = b * (t * i)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = a * (c * j);
double tmp;
if (t <= -1.5e+84) {
tmp = i * (t * b);
} else if (t <= 1.65e-270) {
tmp = t_1;
} else if (t <= 8.2e-55) {
tmp = z * (x * y);
} else if (t <= 8.5e+207) {
tmp = t_1;
} else {
tmp = b * (t * i);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = a * (c * j) tmp = 0 if t <= -1.5e+84: tmp = i * (t * b) elif t <= 1.65e-270: tmp = t_1 elif t <= 8.2e-55: tmp = z * (x * y) elif t <= 8.5e+207: tmp = t_1 else: tmp = b * (t * i) return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(a * Float64(c * j)) tmp = 0.0 if (t <= -1.5e+84) tmp = Float64(i * Float64(t * b)); elseif (t <= 1.65e-270) tmp = t_1; elseif (t <= 8.2e-55) tmp = Float64(z * Float64(x * y)); elseif (t <= 8.5e+207) tmp = t_1; else tmp = Float64(b * Float64(t * i)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = a * (c * j); tmp = 0.0; if (t <= -1.5e+84) tmp = i * (t * b); elseif (t <= 1.65e-270) tmp = t_1; elseif (t <= 8.2e-55) tmp = z * (x * y); elseif (t <= 8.5e+207) tmp = t_1; else tmp = b * (t * i); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1.5e+84], N[(i * N[(t * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.65e-270], t$95$1, If[LessEqual[t, 8.2e-55], N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 8.5e+207], t$95$1, N[(b * N[(t * i), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(c \cdot j\right)\\
\mathbf{if}\;t \leq -1.5 \cdot 10^{+84}:\\
\;\;\;\;i \cdot \left(t \cdot b\right)\\
\mathbf{elif}\;t \leq 1.65 \cdot 10^{-270}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 8.2 \cdot 10^{-55}:\\
\;\;\;\;z \cdot \left(x \cdot y\right)\\
\mathbf{elif}\;t \leq 8.5 \cdot 10^{+207}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(t \cdot i\right)\\
\end{array}
\end{array}
if t < -1.49999999999999998e84Initial program 61.2%
Taylor expanded in t around inf
distribute-lft-out--N/A
associate-*r*N/A
*-commutativeN/A
*-commutativeN/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
mul-1-negN/A
neg-sub0N/A
--lowering--.f6467.5%
Simplified67.5%
Taylor expanded in a around 0
*-lowering-*.f64N/A
*-lowering-*.f6442.3%
Simplified42.3%
*-commutativeN/A
associate-*r*N/A
*-lowering-*.f64N/A
*-lowering-*.f6446.2%
Applied egg-rr46.2%
if -1.49999999999999998e84 < t < 1.65000000000000009e-270 or 8.1999999999999996e-55 < t < 8.4999999999999996e207Initial program 67.1%
Taylor expanded in a around inf
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f6451.3%
Simplified51.3%
Taylor expanded in j around inf
*-commutativeN/A
*-lowering-*.f6438.9%
Simplified38.9%
if 1.65000000000000009e-270 < t < 8.1999999999999996e-55Initial program 81.9%
Taylor expanded in z around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6463.6%
Simplified63.6%
Taylor expanded in y around inf
*-lowering-*.f6442.6%
Simplified42.6%
if 8.4999999999999996e207 < t Initial program 59.6%
Taylor expanded in t around inf
distribute-lft-out--N/A
associate-*r*N/A
*-commutativeN/A
*-commutativeN/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
mul-1-negN/A
neg-sub0N/A
--lowering--.f6494.8%
Simplified94.8%
Taylor expanded in a around 0
*-lowering-*.f64N/A
*-lowering-*.f6453.8%
Simplified53.8%
Final simplification42.1%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* a (* c j))) (t_2 (* b (* t i))))
(if (<= t -4.8e+85)
t_2
(if (<= t 1.45e-270)
t_1
(if (<= t 4.2e-46) (* z (* x y)) (if (<= t 7e+207) t_1 t_2))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = a * (c * j);
double t_2 = b * (t * i);
double tmp;
if (t <= -4.8e+85) {
tmp = t_2;
} else if (t <= 1.45e-270) {
tmp = t_1;
} else if (t <= 4.2e-46) {
tmp = z * (x * y);
} else if (t <= 7e+207) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = a * (c * j)
t_2 = b * (t * i)
if (t <= (-4.8d+85)) then
tmp = t_2
else if (t <= 1.45d-270) then
tmp = t_1
else if (t <= 4.2d-46) then
tmp = z * (x * y)
else if (t <= 7d+207) then
tmp = t_1
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = a * (c * j);
double t_2 = b * (t * i);
double tmp;
if (t <= -4.8e+85) {
tmp = t_2;
} else if (t <= 1.45e-270) {
tmp = t_1;
} else if (t <= 4.2e-46) {
tmp = z * (x * y);
} else if (t <= 7e+207) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = a * (c * j) t_2 = b * (t * i) tmp = 0 if t <= -4.8e+85: tmp = t_2 elif t <= 1.45e-270: tmp = t_1 elif t <= 4.2e-46: tmp = z * (x * y) elif t <= 7e+207: tmp = t_1 else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(a * Float64(c * j)) t_2 = Float64(b * Float64(t * i)) tmp = 0.0 if (t <= -4.8e+85) tmp = t_2; elseif (t <= 1.45e-270) tmp = t_1; elseif (t <= 4.2e-46) tmp = Float64(z * Float64(x * y)); elseif (t <= 7e+207) tmp = t_1; else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = a * (c * j); t_2 = b * (t * i); tmp = 0.0; if (t <= -4.8e+85) tmp = t_2; elseif (t <= 1.45e-270) tmp = t_1; elseif (t <= 4.2e-46) tmp = z * (x * y); elseif (t <= 7e+207) tmp = t_1; else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(t * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -4.8e+85], t$95$2, If[LessEqual[t, 1.45e-270], t$95$1, If[LessEqual[t, 4.2e-46], N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 7e+207], t$95$1, t$95$2]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(c \cdot j\right)\\
t_2 := b \cdot \left(t \cdot i\right)\\
\mathbf{if}\;t \leq -4.8 \cdot 10^{+85}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;t \leq 1.45 \cdot 10^{-270}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 4.2 \cdot 10^{-46}:\\
\;\;\;\;z \cdot \left(x \cdot y\right)\\
\mathbf{elif}\;t \leq 7 \cdot 10^{+207}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if t < -4.79999999999999993e85 or 7.00000000000000056e207 < t Initial program 60.8%
Taylor expanded in t around inf
distribute-lft-out--N/A
associate-*r*N/A
*-commutativeN/A
*-commutativeN/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
mul-1-negN/A
neg-sub0N/A
--lowering--.f6475.1%
Simplified75.1%
Taylor expanded in a around 0
*-lowering-*.f64N/A
*-lowering-*.f6445.5%
Simplified45.5%
if -4.79999999999999993e85 < t < 1.44999999999999991e-270 or 4.19999999999999975e-46 < t < 7.00000000000000056e207Initial program 67.1%
Taylor expanded in a around inf
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f6451.3%
Simplified51.3%
Taylor expanded in j around inf
*-commutativeN/A
*-lowering-*.f6438.9%
Simplified38.9%
if 1.44999999999999991e-270 < t < 4.19999999999999975e-46Initial program 81.9%
Taylor expanded in z around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6463.6%
Simplified63.6%
Taylor expanded in y around inf
*-lowering-*.f6442.6%
Simplified42.6%
Final simplification41.4%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* a (* c j))) (t_2 (* b (* t i))))
(if (<= t -1.9e+85)
t_2
(if (<= t 1.8e-270)
t_1
(if (<= t 1.02e-47) (* y (* x z)) (if (<= t 5.4e+207) t_1 t_2))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = a * (c * j);
double t_2 = b * (t * i);
double tmp;
if (t <= -1.9e+85) {
tmp = t_2;
} else if (t <= 1.8e-270) {
tmp = t_1;
} else if (t <= 1.02e-47) {
tmp = y * (x * z);
} else if (t <= 5.4e+207) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = a * (c * j)
t_2 = b * (t * i)
if (t <= (-1.9d+85)) then
tmp = t_2
else if (t <= 1.8d-270) then
tmp = t_1
else if (t <= 1.02d-47) then
tmp = y * (x * z)
else if (t <= 5.4d+207) then
tmp = t_1
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = a * (c * j);
double t_2 = b * (t * i);
double tmp;
if (t <= -1.9e+85) {
tmp = t_2;
} else if (t <= 1.8e-270) {
tmp = t_1;
} else if (t <= 1.02e-47) {
tmp = y * (x * z);
} else if (t <= 5.4e+207) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = a * (c * j) t_2 = b * (t * i) tmp = 0 if t <= -1.9e+85: tmp = t_2 elif t <= 1.8e-270: tmp = t_1 elif t <= 1.02e-47: tmp = y * (x * z) elif t <= 5.4e+207: tmp = t_1 else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(a * Float64(c * j)) t_2 = Float64(b * Float64(t * i)) tmp = 0.0 if (t <= -1.9e+85) tmp = t_2; elseif (t <= 1.8e-270) tmp = t_1; elseif (t <= 1.02e-47) tmp = Float64(y * Float64(x * z)); elseif (t <= 5.4e+207) tmp = t_1; else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = a * (c * j); t_2 = b * (t * i); tmp = 0.0; if (t <= -1.9e+85) tmp = t_2; elseif (t <= 1.8e-270) tmp = t_1; elseif (t <= 1.02e-47) tmp = y * (x * z); elseif (t <= 5.4e+207) tmp = t_1; else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(t * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1.9e+85], t$95$2, If[LessEqual[t, 1.8e-270], t$95$1, If[LessEqual[t, 1.02e-47], N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 5.4e+207], t$95$1, t$95$2]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(c \cdot j\right)\\
t_2 := b \cdot \left(t \cdot i\right)\\
\mathbf{if}\;t \leq -1.9 \cdot 10^{+85}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;t \leq 1.8 \cdot 10^{-270}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 1.02 \cdot 10^{-47}:\\
\;\;\;\;y \cdot \left(x \cdot z\right)\\
\mathbf{elif}\;t \leq 5.4 \cdot 10^{+207}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if t < -1.89999999999999996e85 or 5.4000000000000005e207 < t Initial program 60.8%
Taylor expanded in t around inf
distribute-lft-out--N/A
associate-*r*N/A
*-commutativeN/A
*-commutativeN/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
mul-1-negN/A
neg-sub0N/A
--lowering--.f6475.1%
Simplified75.1%
Taylor expanded in a around 0
*-lowering-*.f64N/A
*-lowering-*.f6445.5%
Simplified45.5%
if -1.89999999999999996e85 < t < 1.7999999999999999e-270 or 1.02000000000000002e-47 < t < 5.4000000000000005e207Initial program 67.1%
Taylor expanded in a around inf
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f6451.3%
Simplified51.3%
Taylor expanded in j around inf
*-commutativeN/A
*-lowering-*.f6438.9%
Simplified38.9%
if 1.7999999999999999e-270 < t < 1.02000000000000002e-47Initial program 81.9%
Taylor expanded in x around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6438.6%
Simplified38.6%
Taylor expanded in y around inf
*-commutativeN/A
associate-*r*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6437.1%
Simplified37.1%
Final simplification40.3%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* a (* c j))) (t_2 (* b (* t i))))
(if (<= t -3.5e+83)
t_2
(if (<= t 1.6e-270)
t_1
(if (<= t 6.6e-52) (* x (* y z)) (if (<= t 5.4e+207) t_1 t_2))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = a * (c * j);
double t_2 = b * (t * i);
double tmp;
if (t <= -3.5e+83) {
tmp = t_2;
} else if (t <= 1.6e-270) {
tmp = t_1;
} else if (t <= 6.6e-52) {
tmp = x * (y * z);
} else if (t <= 5.4e+207) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = a * (c * j)
t_2 = b * (t * i)
if (t <= (-3.5d+83)) then
tmp = t_2
else if (t <= 1.6d-270) then
tmp = t_1
else if (t <= 6.6d-52) then
tmp = x * (y * z)
else if (t <= 5.4d+207) then
tmp = t_1
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = a * (c * j);
double t_2 = b * (t * i);
double tmp;
if (t <= -3.5e+83) {
tmp = t_2;
} else if (t <= 1.6e-270) {
tmp = t_1;
} else if (t <= 6.6e-52) {
tmp = x * (y * z);
} else if (t <= 5.4e+207) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = a * (c * j) t_2 = b * (t * i) tmp = 0 if t <= -3.5e+83: tmp = t_2 elif t <= 1.6e-270: tmp = t_1 elif t <= 6.6e-52: tmp = x * (y * z) elif t <= 5.4e+207: tmp = t_1 else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(a * Float64(c * j)) t_2 = Float64(b * Float64(t * i)) tmp = 0.0 if (t <= -3.5e+83) tmp = t_2; elseif (t <= 1.6e-270) tmp = t_1; elseif (t <= 6.6e-52) tmp = Float64(x * Float64(y * z)); elseif (t <= 5.4e+207) tmp = t_1; else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = a * (c * j); t_2 = b * (t * i); tmp = 0.0; if (t <= -3.5e+83) tmp = t_2; elseif (t <= 1.6e-270) tmp = t_1; elseif (t <= 6.6e-52) tmp = x * (y * z); elseif (t <= 5.4e+207) tmp = t_1; else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(t * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -3.5e+83], t$95$2, If[LessEqual[t, 1.6e-270], t$95$1, If[LessEqual[t, 6.6e-52], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 5.4e+207], t$95$1, t$95$2]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(c \cdot j\right)\\
t_2 := b \cdot \left(t \cdot i\right)\\
\mathbf{if}\;t \leq -3.5 \cdot 10^{+83}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;t \leq 1.6 \cdot 10^{-270}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 6.6 \cdot 10^{-52}:\\
\;\;\;\;x \cdot \left(y \cdot z\right)\\
\mathbf{elif}\;t \leq 5.4 \cdot 10^{+207}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if t < -3.49999999999999977e83 or 5.4000000000000005e207 < t Initial program 60.8%
Taylor expanded in t around inf
distribute-lft-out--N/A
associate-*r*N/A
*-commutativeN/A
*-commutativeN/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
mul-1-negN/A
neg-sub0N/A
--lowering--.f6475.1%
Simplified75.1%
Taylor expanded in a around 0
*-lowering-*.f64N/A
*-lowering-*.f6445.5%
Simplified45.5%
if -3.49999999999999977e83 < t < 1.59999999999999994e-270 or 6.5999999999999999e-52 < t < 5.4000000000000005e207Initial program 67.1%
Taylor expanded in a around inf
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f6451.3%
Simplified51.3%
Taylor expanded in j around inf
*-commutativeN/A
*-lowering-*.f6438.9%
Simplified38.9%
if 1.59999999999999994e-270 < t < 6.5999999999999999e-52Initial program 81.9%
Taylor expanded in x around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6438.6%
Simplified38.6%
Taylor expanded in y around inf
*-lowering-*.f6436.7%
Simplified36.7%
Final simplification40.2%
(FPCore (x y z t a b c i j)
:precision binary64
(if (<= z -4e-86)
(* z (+ (* x y) (* b (- (/ (* t i) z) c))))
(if (<= z 4e+74)
(+ (* j (- (* a c) (* y i))) (* i (* t b)))
(* z (+ (* x y) (* b (- (* i (/ t z)) c)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (z <= -4e-86) {
tmp = z * ((x * y) + (b * (((t * i) / z) - c)));
} else if (z <= 4e+74) {
tmp = (j * ((a * c) - (y * i))) + (i * (t * b));
} else {
tmp = z * ((x * y) + (b * ((i * (t / z)) - c)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: tmp
if (z <= (-4d-86)) then
tmp = z * ((x * y) + (b * (((t * i) / z) - c)))
else if (z <= 4d+74) then
tmp = (j * ((a * c) - (y * i))) + (i * (t * b))
else
tmp = z * ((x * y) + (b * ((i * (t / z)) - c)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (z <= -4e-86) {
tmp = z * ((x * y) + (b * (((t * i) / z) - c)));
} else if (z <= 4e+74) {
tmp = (j * ((a * c) - (y * i))) + (i * (t * b));
} else {
tmp = z * ((x * y) + (b * ((i * (t / z)) - c)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if z <= -4e-86: tmp = z * ((x * y) + (b * (((t * i) / z) - c))) elif z <= 4e+74: tmp = (j * ((a * c) - (y * i))) + (i * (t * b)) else: tmp = z * ((x * y) + (b * ((i * (t / z)) - c))) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (z <= -4e-86) tmp = Float64(z * Float64(Float64(x * y) + Float64(b * Float64(Float64(Float64(t * i) / z) - c)))); elseif (z <= 4e+74) tmp = Float64(Float64(j * Float64(Float64(a * c) - Float64(y * i))) + Float64(i * Float64(t * b))); else tmp = Float64(z * Float64(Float64(x * y) + Float64(b * Float64(Float64(i * Float64(t / z)) - c)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if (z <= -4e-86) tmp = z * ((x * y) + (b * (((t * i) / z) - c))); elseif (z <= 4e+74) tmp = (j * ((a * c) - (y * i))) + (i * (t * b)); else tmp = z * ((x * y) + (b * ((i * (t / z)) - c))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[z, -4e-86], N[(z * N[(N[(x * y), $MachinePrecision] + N[(b * N[(N[(N[(t * i), $MachinePrecision] / z), $MachinePrecision] - c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 4e+74], N[(N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(i * N[(t * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(z * N[(N[(x * y), $MachinePrecision] + N[(b * N[(N[(i * N[(t / z), $MachinePrecision]), $MachinePrecision] - c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -4 \cdot 10^{-86}:\\
\;\;\;\;z \cdot \left(x \cdot y + b \cdot \left(\frac{t \cdot i}{z} - c\right)\right)\\
\mathbf{elif}\;z \leq 4 \cdot 10^{+74}:\\
\;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right) + i \cdot \left(t \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;z \cdot \left(x \cdot y + b \cdot \left(i \cdot \frac{t}{z} - c\right)\right)\\
\end{array}
\end{array}
if z < -4.00000000000000034e-86Initial program 70.0%
Taylor expanded in j around 0
--lowering--.f64N/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6464.8%
Simplified64.8%
Taylor expanded in y around inf
*-commutativeN/A
associate-*r*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6457.9%
Simplified57.9%
Taylor expanded in z around inf
*-lowering-*.f64N/A
associate--l+N/A
sub-negN/A
mul-1-negN/A
+-commutativeN/A
+-lowering-+.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
sub-negN/A
associate-/l*N/A
distribute-lft-out--N/A
unsub-negN/A
mul-1-negN/A
+-commutativeN/A
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
--lowering--.f64N/A
Simplified69.9%
if -4.00000000000000034e-86 < z < 3.99999999999999981e74Initial program 73.3%
Taylor expanded in i around inf
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
*-lowering-*.f64N/A
*-lowering-*.f6462.4%
Simplified62.4%
if 3.99999999999999981e74 < z Initial program 54.9%
Taylor expanded in j around 0
--lowering--.f64N/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6458.7%
Simplified58.7%
Taylor expanded in y around inf
*-commutativeN/A
associate-*r*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6458.4%
Simplified58.4%
Taylor expanded in z around inf
*-lowering-*.f64N/A
associate--l+N/A
sub-negN/A
mul-1-negN/A
+-commutativeN/A
+-lowering-+.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
sub-negN/A
associate-/l*N/A
distribute-lft-out--N/A
unsub-negN/A
mul-1-negN/A
+-commutativeN/A
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
--lowering--.f64N/A
Simplified67.1%
associate-/l*N/A
*-commutativeN/A
*-lowering-*.f64N/A
/-lowering-/.f6472.5%
Applied egg-rr72.5%
Final simplification66.8%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* c (- (* a j) (* z b)))))
(if (<= c -7.5e+69)
t_1
(if (<= c -9e-106)
(* b (- (* t i) (* z c)))
(if (<= c 1.85e+43) (* y (- (* x z) (* i j))) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = c * ((a * j) - (z * b));
double tmp;
if (c <= -7.5e+69) {
tmp = t_1;
} else if (c <= -9e-106) {
tmp = b * ((t * i) - (z * c));
} else if (c <= 1.85e+43) {
tmp = y * ((x * z) - (i * j));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: tmp
t_1 = c * ((a * j) - (z * b))
if (c <= (-7.5d+69)) then
tmp = t_1
else if (c <= (-9d-106)) then
tmp = b * ((t * i) - (z * c))
else if (c <= 1.85d+43) then
tmp = y * ((x * z) - (i * j))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = c * ((a * j) - (z * b));
double tmp;
if (c <= -7.5e+69) {
tmp = t_1;
} else if (c <= -9e-106) {
tmp = b * ((t * i) - (z * c));
} else if (c <= 1.85e+43) {
tmp = y * ((x * z) - (i * j));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = c * ((a * j) - (z * b)) tmp = 0 if c <= -7.5e+69: tmp = t_1 elif c <= -9e-106: tmp = b * ((t * i) - (z * c)) elif c <= 1.85e+43: tmp = y * ((x * z) - (i * j)) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(c * Float64(Float64(a * j) - Float64(z * b))) tmp = 0.0 if (c <= -7.5e+69) tmp = t_1; elseif (c <= -9e-106) tmp = Float64(b * Float64(Float64(t * i) - Float64(z * c))); elseif (c <= 1.85e+43) tmp = Float64(y * Float64(Float64(x * z) - Float64(i * j))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = c * ((a * j) - (z * b)); tmp = 0.0; if (c <= -7.5e+69) tmp = t_1; elseif (c <= -9e-106) tmp = b * ((t * i) - (z * c)); elseif (c <= 1.85e+43) tmp = y * ((x * z) - (i * j)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(c * N[(N[(a * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -7.5e+69], t$95$1, If[LessEqual[c, -9e-106], N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.85e+43], N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(a \cdot j - z \cdot b\right)\\
\mathbf{if}\;c \leq -7.5 \cdot 10^{+69}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;c \leq -9 \cdot 10^{-106}:\\
\;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right)\\
\mathbf{elif}\;c \leq 1.85 \cdot 10^{+43}:\\
\;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if c < -7.49999999999999939e69 or 1.85e43 < c Initial program 56.3%
Taylor expanded in c around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f6470.5%
Simplified70.5%
if -7.49999999999999939e69 < c < -8.99999999999999911e-106Initial program 78.3%
Taylor expanded in b around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6448.8%
Simplified48.8%
if -8.99999999999999911e-106 < c < 1.85e43Initial program 75.3%
Taylor expanded in y around inf
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6457.8%
Simplified57.8%
Final simplification61.2%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* b (- (* t i) (* z c)))))
(if (<= b -1.7e-52)
t_1
(if (<= b 5.3e-79)
(* a (- (* c j) (* x t)))
(if (<= b 3.65e+106) (* j (- (* a c) (* y i))) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = b * ((t * i) - (z * c));
double tmp;
if (b <= -1.7e-52) {
tmp = t_1;
} else if (b <= 5.3e-79) {
tmp = a * ((c * j) - (x * t));
} else if (b <= 3.65e+106) {
tmp = j * ((a * c) - (y * i));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: tmp
t_1 = b * ((t * i) - (z * c))
if (b <= (-1.7d-52)) then
tmp = t_1
else if (b <= 5.3d-79) then
tmp = a * ((c * j) - (x * t))
else if (b <= 3.65d+106) then
tmp = j * ((a * c) - (y * i))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = b * ((t * i) - (z * c));
double tmp;
if (b <= -1.7e-52) {
tmp = t_1;
} else if (b <= 5.3e-79) {
tmp = a * ((c * j) - (x * t));
} else if (b <= 3.65e+106) {
tmp = j * ((a * c) - (y * i));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = b * ((t * i) - (z * c)) tmp = 0 if b <= -1.7e-52: tmp = t_1 elif b <= 5.3e-79: tmp = a * ((c * j) - (x * t)) elif b <= 3.65e+106: tmp = j * ((a * c) - (y * i)) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(b * Float64(Float64(t * i) - Float64(z * c))) tmp = 0.0 if (b <= -1.7e-52) tmp = t_1; elseif (b <= 5.3e-79) tmp = Float64(a * Float64(Float64(c * j) - Float64(x * t))); elseif (b <= 3.65e+106) tmp = Float64(j * Float64(Float64(a * c) - Float64(y * i))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = b * ((t * i) - (z * c)); tmp = 0.0; if (b <= -1.7e-52) tmp = t_1; elseif (b <= 5.3e-79) tmp = a * ((c * j) - (x * t)); elseif (b <= 3.65e+106) tmp = j * ((a * c) - (y * i)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -1.7e-52], t$95$1, If[LessEqual[b, 5.3e-79], N[(a * N[(N[(c * j), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 3.65e+106], N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(t \cdot i - z \cdot c\right)\\
\mathbf{if}\;b \leq -1.7 \cdot 10^{-52}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;b \leq 5.3 \cdot 10^{-79}:\\
\;\;\;\;a \cdot \left(c \cdot j - x \cdot t\right)\\
\mathbf{elif}\;b \leq 3.65 \cdot 10^{+106}:\\
\;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if b < -1.70000000000000009e-52 or 3.65000000000000002e106 < b Initial program 70.9%
Taylor expanded in b around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6459.7%
Simplified59.7%
if -1.70000000000000009e-52 < b < 5.2999999999999998e-79Initial program 60.1%
Taylor expanded in a around inf
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f6452.9%
Simplified52.9%
if 5.2999999999999998e-79 < b < 3.65000000000000002e106Initial program 80.1%
Taylor expanded in j around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6455.5%
Simplified55.5%
Final simplification56.3%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* a (- (* c j) (* x t)))))
(if (<= a -2.05e-100)
t_1
(if (<= a 2.2e-136)
(* (* b c) (- 0.0 z))
(if (<= a 3.8e-64) (* y (* x z)) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = a * ((c * j) - (x * t));
double tmp;
if (a <= -2.05e-100) {
tmp = t_1;
} else if (a <= 2.2e-136) {
tmp = (b * c) * (0.0 - z);
} else if (a <= 3.8e-64) {
tmp = y * (x * z);
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: tmp
t_1 = a * ((c * j) - (x * t))
if (a <= (-2.05d-100)) then
tmp = t_1
else if (a <= 2.2d-136) then
tmp = (b * c) * (0.0d0 - z)
else if (a <= 3.8d-64) then
tmp = y * (x * z)
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = a * ((c * j) - (x * t));
double tmp;
if (a <= -2.05e-100) {
tmp = t_1;
} else if (a <= 2.2e-136) {
tmp = (b * c) * (0.0 - z);
} else if (a <= 3.8e-64) {
tmp = y * (x * z);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = a * ((c * j) - (x * t)) tmp = 0 if a <= -2.05e-100: tmp = t_1 elif a <= 2.2e-136: tmp = (b * c) * (0.0 - z) elif a <= 3.8e-64: tmp = y * (x * z) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(a * Float64(Float64(c * j) - Float64(x * t))) tmp = 0.0 if (a <= -2.05e-100) tmp = t_1; elseif (a <= 2.2e-136) tmp = Float64(Float64(b * c) * Float64(0.0 - z)); elseif (a <= 3.8e-64) tmp = Float64(y * Float64(x * z)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = a * ((c * j) - (x * t)); tmp = 0.0; if (a <= -2.05e-100) tmp = t_1; elseif (a <= 2.2e-136) tmp = (b * c) * (0.0 - z); elseif (a <= 3.8e-64) tmp = y * (x * z); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(a * N[(N[(c * j), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -2.05e-100], t$95$1, If[LessEqual[a, 2.2e-136], N[(N[(b * c), $MachinePrecision] * N[(0.0 - z), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 3.8e-64], N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(c \cdot j - x \cdot t\right)\\
\mathbf{if}\;a \leq -2.05 \cdot 10^{-100}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq 2.2 \cdot 10^{-136}:\\
\;\;\;\;\left(b \cdot c\right) \cdot \left(0 - z\right)\\
\mathbf{elif}\;a \leq 3.8 \cdot 10^{-64}:\\
\;\;\;\;y \cdot \left(x \cdot z\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if a < -2.0499999999999999e-100 or 3.8000000000000002e-64 < a Initial program 62.4%
Taylor expanded in a around inf
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f6455.7%
Simplified55.7%
if -2.0499999999999999e-100 < a < 2.2000000000000001e-136Initial program 77.5%
Taylor expanded in j around 0
--lowering--.f64N/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6464.4%
Simplified64.4%
Taylor expanded in y around inf
*-commutativeN/A
associate-*r*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6461.0%
Simplified61.0%
Taylor expanded in c around inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6432.5%
Simplified32.5%
associate-*r*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6434.3%
Applied egg-rr34.3%
if 2.2000000000000001e-136 < a < 3.8000000000000002e-64Initial program 93.6%
Taylor expanded in x around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6457.2%
Simplified57.2%
Taylor expanded in y around inf
*-commutativeN/A
associate-*r*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6451.2%
Simplified51.2%
Final simplification49.8%
(FPCore (x y z t a b c i j)
:precision binary64
(if (<= t -4e+84)
(* i (* t b))
(if (<= t 1.15e-270)
(* a (* c j))
(if (<= t 1.35e-42) (* z (* x y)) (* a (- 0.0 (* x t)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (t <= -4e+84) {
tmp = i * (t * b);
} else if (t <= 1.15e-270) {
tmp = a * (c * j);
} else if (t <= 1.35e-42) {
tmp = z * (x * y);
} else {
tmp = a * (0.0 - (x * t));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: tmp
if (t <= (-4d+84)) then
tmp = i * (t * b)
else if (t <= 1.15d-270) then
tmp = a * (c * j)
else if (t <= 1.35d-42) then
tmp = z * (x * y)
else
tmp = a * (0.0d0 - (x * t))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (t <= -4e+84) {
tmp = i * (t * b);
} else if (t <= 1.15e-270) {
tmp = a * (c * j);
} else if (t <= 1.35e-42) {
tmp = z * (x * y);
} else {
tmp = a * (0.0 - (x * t));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if t <= -4e+84: tmp = i * (t * b) elif t <= 1.15e-270: tmp = a * (c * j) elif t <= 1.35e-42: tmp = z * (x * y) else: tmp = a * (0.0 - (x * t)) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (t <= -4e+84) tmp = Float64(i * Float64(t * b)); elseif (t <= 1.15e-270) tmp = Float64(a * Float64(c * j)); elseif (t <= 1.35e-42) tmp = Float64(z * Float64(x * y)); else tmp = Float64(a * Float64(0.0 - Float64(x * t))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if (t <= -4e+84) tmp = i * (t * b); elseif (t <= 1.15e-270) tmp = a * (c * j); elseif (t <= 1.35e-42) tmp = z * (x * y); else tmp = a * (0.0 - (x * t)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[t, -4e+84], N[(i * N[(t * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.15e-270], N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.35e-42], N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision], N[(a * N[(0.0 - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -4 \cdot 10^{+84}:\\
\;\;\;\;i \cdot \left(t \cdot b\right)\\
\mathbf{elif}\;t \leq 1.15 \cdot 10^{-270}:\\
\;\;\;\;a \cdot \left(c \cdot j\right)\\
\mathbf{elif}\;t \leq 1.35 \cdot 10^{-42}:\\
\;\;\;\;z \cdot \left(x \cdot y\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(0 - x \cdot t\right)\\
\end{array}
\end{array}
if t < -4.00000000000000023e84Initial program 61.2%
Taylor expanded in t around inf
distribute-lft-out--N/A
associate-*r*N/A
*-commutativeN/A
*-commutativeN/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
mul-1-negN/A
neg-sub0N/A
--lowering--.f6467.5%
Simplified67.5%
Taylor expanded in a around 0
*-lowering-*.f64N/A
*-lowering-*.f6442.3%
Simplified42.3%
*-commutativeN/A
associate-*r*N/A
*-lowering-*.f64N/A
*-lowering-*.f6446.2%
Applied egg-rr46.2%
if -4.00000000000000023e84 < t < 1.1500000000000001e-270Initial program 70.5%
Taylor expanded in a around inf
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f6447.0%
Simplified47.0%
Taylor expanded in j around inf
*-commutativeN/A
*-lowering-*.f6441.7%
Simplified41.7%
if 1.1500000000000001e-270 < t < 1.35e-42Initial program 81.9%
Taylor expanded in z around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6463.6%
Simplified63.6%
Taylor expanded in y around inf
*-lowering-*.f6442.6%
Simplified42.6%
if 1.35e-42 < t Initial program 61.0%
Taylor expanded in t around inf
distribute-lft-out--N/A
associate-*r*N/A
*-commutativeN/A
*-commutativeN/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
mul-1-negN/A
neg-sub0N/A
--lowering--.f6458.1%
Simplified58.1%
Taylor expanded in a around inf
*-lowering-*.f6440.8%
Simplified40.8%
sub0-negN/A
associate-*l*N/A
*-commutativeN/A
*-lowering-*.f64N/A
distribute-rgt-neg-outN/A
neg-lowering-neg.f64N/A
*-lowering-*.f6446.0%
Applied egg-rr46.0%
Final simplification43.9%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* a (- (* c j) (* x t)))))
(if (<= a -1.42e+41)
t_1
(if (<= a 1.28e+73) (* b (- (* t i) (* z c))) t_1))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = a * ((c * j) - (x * t));
double tmp;
if (a <= -1.42e+41) {
tmp = t_1;
} else if (a <= 1.28e+73) {
tmp = b * ((t * i) - (z * c));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: tmp
t_1 = a * ((c * j) - (x * t))
if (a <= (-1.42d+41)) then
tmp = t_1
else if (a <= 1.28d+73) then
tmp = b * ((t * i) - (z * c))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = a * ((c * j) - (x * t));
double tmp;
if (a <= -1.42e+41) {
tmp = t_1;
} else if (a <= 1.28e+73) {
tmp = b * ((t * i) - (z * c));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = a * ((c * j) - (x * t)) tmp = 0 if a <= -1.42e+41: tmp = t_1 elif a <= 1.28e+73: tmp = b * ((t * i) - (z * c)) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(a * Float64(Float64(c * j) - Float64(x * t))) tmp = 0.0 if (a <= -1.42e+41) tmp = t_1; elseif (a <= 1.28e+73) tmp = Float64(b * Float64(Float64(t * i) - Float64(z * c))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = a * ((c * j) - (x * t)); tmp = 0.0; if (a <= -1.42e+41) tmp = t_1; elseif (a <= 1.28e+73) tmp = b * ((t * i) - (z * c)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(a * N[(N[(c * j), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -1.42e+41], t$95$1, If[LessEqual[a, 1.28e+73], N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(c \cdot j - x \cdot t\right)\\
\mathbf{if}\;a \leq -1.42 \cdot 10^{+41}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq 1.28 \cdot 10^{+73}:\\
\;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if a < -1.42000000000000007e41 or 1.2800000000000001e73 < a Initial program 57.7%
Taylor expanded in a around inf
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f6465.5%
Simplified65.5%
if -1.42000000000000007e41 < a < 1.2800000000000001e73Initial program 76.8%
Taylor expanded in b around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6444.8%
Simplified44.8%
Final simplification54.0%
(FPCore (x y z t a b c i j) :precision binary64 (let* ((t_1 (* b (* t i)))) (if (<= t -2.8e+82) t_1 (if (<= t 8.5e+207) (* a (* c j)) t_1))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = b * (t * i);
double tmp;
if (t <= -2.8e+82) {
tmp = t_1;
} else if (t <= 8.5e+207) {
tmp = a * (c * j);
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: tmp
t_1 = b * (t * i)
if (t <= (-2.8d+82)) then
tmp = t_1
else if (t <= 8.5d+207) then
tmp = a * (c * j)
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = b * (t * i);
double tmp;
if (t <= -2.8e+82) {
tmp = t_1;
} else if (t <= 8.5e+207) {
tmp = a * (c * j);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = b * (t * i) tmp = 0 if t <= -2.8e+82: tmp = t_1 elif t <= 8.5e+207: tmp = a * (c * j) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(b * Float64(t * i)) tmp = 0.0 if (t <= -2.8e+82) tmp = t_1; elseif (t <= 8.5e+207) tmp = Float64(a * Float64(c * j)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = b * (t * i); tmp = 0.0; if (t <= -2.8e+82) tmp = t_1; elseif (t <= 8.5e+207) tmp = a * (c * j); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(b * N[(t * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -2.8e+82], t$95$1, If[LessEqual[t, 8.5e+207], N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(t \cdot i\right)\\
\mathbf{if}\;t \leq -2.8 \cdot 10^{+82}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 8.5 \cdot 10^{+207}:\\
\;\;\;\;a \cdot \left(c \cdot j\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -2.8e82 or 8.4999999999999996e207 < t Initial program 60.8%
Taylor expanded in t around inf
distribute-lft-out--N/A
associate-*r*N/A
*-commutativeN/A
*-commutativeN/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
mul-1-negN/A
neg-sub0N/A
--lowering--.f6475.1%
Simplified75.1%
Taylor expanded in a around 0
*-lowering-*.f64N/A
*-lowering-*.f6445.5%
Simplified45.5%
if -2.8e82 < t < 8.4999999999999996e207Initial program 71.0%
Taylor expanded in a around inf
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f6441.9%
Simplified41.9%
Taylor expanded in j around inf
*-commutativeN/A
*-lowering-*.f6431.5%
Simplified31.5%
Final simplification35.2%
(FPCore (x y z t a b c i j) :precision binary64 (* a (* c j)))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
return a * (c * j);
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
code = a * (c * j)
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
return a * (c * j);
}
def code(x, y, z, t, a, b, c, i, j): return a * (c * j)
function code(x, y, z, t, a, b, c, i, j) return Float64(a * Float64(c * j)) end
function tmp = code(x, y, z, t, a, b, c, i, j) tmp = a * (c * j); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
a \cdot \left(c \cdot j\right)
\end{array}
Initial program 68.3%
Taylor expanded in a around inf
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f6442.7%
Simplified42.7%
Taylor expanded in j around inf
*-commutativeN/A
*-lowering-*.f6426.0%
Simplified26.0%
Final simplification26.0%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* j (- (* c a) (* y i))))
(t_2
(+
(-
(* x (- (* y z) (* t a)))
(/
(* b (- (pow (* c z) 2.0) (pow (* t i) 2.0)))
(+ (* c z) (* t i))))
t_1)))
(if (< x -1.469694296777705e-64)
t_2
(if (< x 3.2113527362226803e-147)
(- (* (- (* b i) (* x a)) t) (- (* z (* c b)) t_1))
t_2))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = j * ((c * a) - (y * i));
double t_2 = ((x * ((y * z) - (t * a))) - ((b * (pow((c * z), 2.0) - pow((t * i), 2.0))) / ((c * z) + (t * i)))) + t_1;
double tmp;
if (x < -1.469694296777705e-64) {
tmp = t_2;
} else if (x < 3.2113527362226803e-147) {
tmp = (((b * i) - (x * a)) * t) - ((z * (c * b)) - t_1);
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = j * ((c * a) - (y * i))
t_2 = ((x * ((y * z) - (t * a))) - ((b * (((c * z) ** 2.0d0) - ((t * i) ** 2.0d0))) / ((c * z) + (t * i)))) + t_1
if (x < (-1.469694296777705d-64)) then
tmp = t_2
else if (x < 3.2113527362226803d-147) then
tmp = (((b * i) - (x * a)) * t) - ((z * (c * b)) - t_1)
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = j * ((c * a) - (y * i));
double t_2 = ((x * ((y * z) - (t * a))) - ((b * (Math.pow((c * z), 2.0) - Math.pow((t * i), 2.0))) / ((c * z) + (t * i)))) + t_1;
double tmp;
if (x < -1.469694296777705e-64) {
tmp = t_2;
} else if (x < 3.2113527362226803e-147) {
tmp = (((b * i) - (x * a)) * t) - ((z * (c * b)) - t_1);
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = j * ((c * a) - (y * i)) t_2 = ((x * ((y * z) - (t * a))) - ((b * (math.pow((c * z), 2.0) - math.pow((t * i), 2.0))) / ((c * z) + (t * i)))) + t_1 tmp = 0 if x < -1.469694296777705e-64: tmp = t_2 elif x < 3.2113527362226803e-147: tmp = (((b * i) - (x * a)) * t) - ((z * (c * b)) - t_1) else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(j * Float64(Float64(c * a) - Float64(y * i))) t_2 = Float64(Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) - Float64(Float64(b * Float64((Float64(c * z) ^ 2.0) - (Float64(t * i) ^ 2.0))) / Float64(Float64(c * z) + Float64(t * i)))) + t_1) tmp = 0.0 if (x < -1.469694296777705e-64) tmp = t_2; elseif (x < 3.2113527362226803e-147) tmp = Float64(Float64(Float64(Float64(b * i) - Float64(x * a)) * t) - Float64(Float64(z * Float64(c * b)) - t_1)); else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = j * ((c * a) - (y * i)); t_2 = ((x * ((y * z) - (t * a))) - ((b * (((c * z) ^ 2.0) - ((t * i) ^ 2.0))) / ((c * z) + (t * i)))) + t_1; tmp = 0.0; if (x < -1.469694296777705e-64) tmp = t_2; elseif (x < 3.2113527362226803e-147) tmp = (((b * i) - (x * a)) * t) - ((z * (c * b)) - t_1); else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(j * N[(N[(c * a), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(b * N[(N[Power[N[(c * z), $MachinePrecision], 2.0], $MachinePrecision] - N[Power[N[(t * i), $MachinePrecision], 2.0], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(N[(c * z), $MachinePrecision] + N[(t * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$1), $MachinePrecision]}, If[Less[x, -1.469694296777705e-64], t$95$2, If[Less[x, 3.2113527362226803e-147], N[(N[(N[(N[(b * i), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision] - N[(N[(z * N[(c * b), $MachinePrecision]), $MachinePrecision] - t$95$1), $MachinePrecision]), $MachinePrecision], t$95$2]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(c \cdot a - y \cdot i\right)\\
t_2 := \left(x \cdot \left(y \cdot z - t \cdot a\right) - \frac{b \cdot \left({\left(c \cdot z\right)}^{2} - {\left(t \cdot i\right)}^{2}\right)}{c \cdot z + t \cdot i}\right) + t\_1\\
\mathbf{if}\;x < -1.469694296777705 \cdot 10^{-64}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;x < 3.2113527362226803 \cdot 10^{-147}:\\
\;\;\;\;\left(b \cdot i - x \cdot a\right) \cdot t - \left(z \cdot \left(c \cdot b\right) - t\_1\right)\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
herbie shell --seed 2024160
(FPCore (x y z t a b c i j)
:name "Data.Colour.Matrix:determinant from colour-2.3.3, A"
:precision binary64
:alt
(! :herbie-platform default (if (< x -293938859355541/2000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (- (* x (- (* y z) (* t a))) (/ (* b (- (pow (* c z) 2) (pow (* t i) 2))) (+ (* c z) (* t i)))) (* j (- (* c a) (* y i)))) (if (< x 32113527362226803/10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (- (* (- (* b i) (* x a)) t) (- (* z (* c b)) (* j (- (* c a) (* y i))))) (+ (- (* x (- (* y z) (* t a))) (/ (* b (- (pow (* c z) 2) (pow (* t i) 2))) (+ (* c z) (* t i)))) (* j (- (* c a) (* y i)))))))
(+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* t i)))) (* j (- (* c a) (* y i)))))