
(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 23 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 (* c (- (* a j) (* z b))))))
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 = c * ((a * j) - (z * b));
}
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 = c * ((a * j) - (z * b));
}
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 = c * ((a * j) - (z * b)) 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(c * Float64(Float64(a * j) - Float64(z * b))); 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 = c * ((a * j) - (z * b)); 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[(c * N[(N[(a * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $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}:\\
\;\;\;\;c \cdot \left(a \cdot j - z \cdot b\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 90.8%
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 c around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f6452.6%
Simplified52.6%
Final simplification83.0%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (- 0.0 (* j (* y i)))))
(if (<= y -1.08e+70)
t_1
(if (<= y -1.55e-28)
(* x (- 0.0 (* t a)))
(if (<= y -3.8e-156)
(* i (* t b))
(if (<= y 4.6e-286)
(- 0.0 (* c (* z b)))
(if (<= y 9e-17)
(* t (- 0.0 (* x a)))
(if (<= y 2e+67) (* x (* y 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 = 0.0 - (j * (y * i));
double tmp;
if (y <= -1.08e+70) {
tmp = t_1;
} else if (y <= -1.55e-28) {
tmp = x * (0.0 - (t * a));
} else if (y <= -3.8e-156) {
tmp = i * (t * b);
} else if (y <= 4.6e-286) {
tmp = 0.0 - (c * (z * b));
} else if (y <= 9e-17) {
tmp = t * (0.0 - (x * a));
} else if (y <= 2e+67) {
tmp = x * (y * 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 = 0.0d0 - (j * (y * i))
if (y <= (-1.08d+70)) then
tmp = t_1
else if (y <= (-1.55d-28)) then
tmp = x * (0.0d0 - (t * a))
else if (y <= (-3.8d-156)) then
tmp = i * (t * b)
else if (y <= 4.6d-286) then
tmp = 0.0d0 - (c * (z * b))
else if (y <= 9d-17) then
tmp = t * (0.0d0 - (x * a))
else if (y <= 2d+67) then
tmp = x * (y * 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 = 0.0 - (j * (y * i));
double tmp;
if (y <= -1.08e+70) {
tmp = t_1;
} else if (y <= -1.55e-28) {
tmp = x * (0.0 - (t * a));
} else if (y <= -3.8e-156) {
tmp = i * (t * b);
} else if (y <= 4.6e-286) {
tmp = 0.0 - (c * (z * b));
} else if (y <= 9e-17) {
tmp = t * (0.0 - (x * a));
} else if (y <= 2e+67) {
tmp = x * (y * z);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = 0.0 - (j * (y * i)) tmp = 0 if y <= -1.08e+70: tmp = t_1 elif y <= -1.55e-28: tmp = x * (0.0 - (t * a)) elif y <= -3.8e-156: tmp = i * (t * b) elif y <= 4.6e-286: tmp = 0.0 - (c * (z * b)) elif y <= 9e-17: tmp = t * (0.0 - (x * a)) elif y <= 2e+67: tmp = x * (y * z) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(0.0 - Float64(j * Float64(y * i))) tmp = 0.0 if (y <= -1.08e+70) tmp = t_1; elseif (y <= -1.55e-28) tmp = Float64(x * Float64(0.0 - Float64(t * a))); elseif (y <= -3.8e-156) tmp = Float64(i * Float64(t * b)); elseif (y <= 4.6e-286) tmp = Float64(0.0 - Float64(c * Float64(z * b))); elseif (y <= 9e-17) tmp = Float64(t * Float64(0.0 - Float64(x * a))); elseif (y <= 2e+67) tmp = Float64(x * Float64(y * z)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = 0.0 - (j * (y * i)); tmp = 0.0; if (y <= -1.08e+70) tmp = t_1; elseif (y <= -1.55e-28) tmp = x * (0.0 - (t * a)); elseif (y <= -3.8e-156) tmp = i * (t * b); elseif (y <= 4.6e-286) tmp = 0.0 - (c * (z * b)); elseif (y <= 9e-17) tmp = t * (0.0 - (x * a)); elseif (y <= 2e+67) tmp = x * (y * 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[(0.0 - N[(j * N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -1.08e+70], t$95$1, If[LessEqual[y, -1.55e-28], N[(x * N[(0.0 - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -3.8e-156], N[(i * N[(t * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 4.6e-286], N[(0.0 - N[(c * N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 9e-17], N[(t * N[(0.0 - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2e+67], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := 0 - j \cdot \left(y \cdot i\right)\\
\mathbf{if}\;y \leq -1.08 \cdot 10^{+70}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq -1.55 \cdot 10^{-28}:\\
\;\;\;\;x \cdot \left(0 - t \cdot a\right)\\
\mathbf{elif}\;y \leq -3.8 \cdot 10^{-156}:\\
\;\;\;\;i \cdot \left(t \cdot b\right)\\
\mathbf{elif}\;y \leq 4.6 \cdot 10^{-286}:\\
\;\;\;\;0 - c \cdot \left(z \cdot b\right)\\
\mathbf{elif}\;y \leq 9 \cdot 10^{-17}:\\
\;\;\;\;t \cdot \left(0 - x \cdot a\right)\\
\mathbf{elif}\;y \leq 2 \cdot 10^{+67}:\\
\;\;\;\;x \cdot \left(y \cdot z\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < -1.0799999999999999e70 or 1.99999999999999997e67 < y Initial program 62.7%
Taylor expanded in x 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.5%
Simplified59.5%
Taylor expanded in y around inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f64N/A
associate-*r*N/A
*-lowering-*.f64N/A
*-lowering-*.f6444.3%
Simplified44.3%
sub0-negN/A
neg-lowering-neg.f64N/A
*-commutativeN/A
associate-*l*N/A
*-lowering-*.f64N/A
*-lowering-*.f6449.1%
Applied egg-rr49.1%
if -1.0799999999999999e70 < y < -1.54999999999999996e-28Initial program 74.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-*.f6466.0%
Simplified66.0%
Taylor expanded in j around 0
mul-1-negN/A
associate-*r*N/A
distribute-lft-neg-inN/A
mul-1-negN/A
*-lowering-*.f64N/A
mul-1-negN/A
neg-sub0N/A
--lowering--.f64N/A
*-lowering-*.f6451.6%
Simplified51.6%
sub0-negN/A
neg-lowering-neg.f64N/A
*-lowering-*.f6451.6%
Applied egg-rr51.6%
if -1.54999999999999996e-28 < y < -3.80000000000000008e-156Initial program 86.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--.f6452.9%
Simplified52.9%
Taylor expanded in a around 0
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6442.3%
Simplified42.3%
associate-*r*N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6446.6%
Applied egg-rr46.6%
if -3.80000000000000008e-156 < y < 4.6000000000000003e-286Initial program 80.6%
Taylor expanded in j around inf
*-lowering-*.f64N/A
associate--l+N/A
+-lowering-+.f64N/A
*-lowering-*.f64N/A
+-commutativeN/A
associate--r+N/A
div-subN/A
--lowering--.f64N/A
Simplified72.0%
Taylor expanded in b around inf
associate-*r*N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
div-subN/A
/-lowering-/.f64N/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6446.1%
Simplified46.1%
Taylor expanded in t around 0
mul-1-negN/A
neg-sub0N/A
--lowering--.f64N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
*-lowering-*.f64N/A
*-lowering-*.f6443.1%
Simplified43.1%
if 4.6000000000000003e-286 < y < 8.99999999999999957e-17Initial program 73.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--.f6455.3%
Simplified55.3%
sub0-negN/A
distribute-rgt-neg-outN/A
neg-lowering-neg.f64N/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6455.3%
Applied egg-rr55.3%
Taylor expanded in a around inf
*-lowering-*.f6437.0%
Simplified37.0%
if 8.99999999999999957e-17 < y < 1.99999999999999997e67Initial program 81.3%
Taylor expanded in x around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6450.7%
Simplified50.7%
Taylor expanded in y around inf
*-lowering-*.f64N/A
*-lowering-*.f6450.9%
Simplified50.9%
Final simplification45.5%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* c (- (* a j) (* z b)))))
(if (<= c -3.7e+139)
t_1
(if (<= c -85000000.0)
(* j (- (* a c) (* y i)))
(if (<= c -1.9e-209)
(* x (- (* y z) (* t a)))
(if (<= c 4.3e-151)
(* y (- (* x z) (* i j)))
(if (<= c 4.8e+77) (* t (- (* b i) (* x a))) 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.7e+139) {
tmp = t_1;
} else if (c <= -85000000.0) {
tmp = j * ((a * c) - (y * i));
} else if (c <= -1.9e-209) {
tmp = x * ((y * z) - (t * a));
} else if (c <= 4.3e-151) {
tmp = y * ((x * z) - (i * j));
} else if (c <= 4.8e+77) {
tmp = t * ((b * i) - (x * a));
} 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.7d+139)) then
tmp = t_1
else if (c <= (-85000000.0d0)) then
tmp = j * ((a * c) - (y * i))
else if (c <= (-1.9d-209)) then
tmp = x * ((y * z) - (t * a))
else if (c <= 4.3d-151) then
tmp = y * ((x * z) - (i * j))
else if (c <= 4.8d+77) then
tmp = t * ((b * i) - (x * a))
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.7e+139) {
tmp = t_1;
} else if (c <= -85000000.0) {
tmp = j * ((a * c) - (y * i));
} else if (c <= -1.9e-209) {
tmp = x * ((y * z) - (t * a));
} else if (c <= 4.3e-151) {
tmp = y * ((x * z) - (i * j));
} else if (c <= 4.8e+77) {
tmp = t * ((b * i) - (x * a));
} 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.7e+139: tmp = t_1 elif c <= -85000000.0: tmp = j * ((a * c) - (y * i)) elif c <= -1.9e-209: tmp = x * ((y * z) - (t * a)) elif c <= 4.3e-151: tmp = y * ((x * z) - (i * j)) elif c <= 4.8e+77: tmp = t * ((b * i) - (x * a)) 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.7e+139) tmp = t_1; elseif (c <= -85000000.0) tmp = Float64(j * Float64(Float64(a * c) - Float64(y * i))); elseif (c <= -1.9e-209) tmp = Float64(x * Float64(Float64(y * z) - Float64(t * a))); elseif (c <= 4.3e-151) tmp = Float64(y * Float64(Float64(x * z) - Float64(i * j))); elseif (c <= 4.8e+77) tmp = Float64(t * Float64(Float64(b * i) - Float64(x * a))); 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.7e+139) tmp = t_1; elseif (c <= -85000000.0) tmp = j * ((a * c) - (y * i)); elseif (c <= -1.9e-209) tmp = x * ((y * z) - (t * a)); elseif (c <= 4.3e-151) tmp = y * ((x * z) - (i * j)); elseif (c <= 4.8e+77) tmp = t * ((b * i) - (x * a)); 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.7e+139], t$95$1, If[LessEqual[c, -85000000.0], N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -1.9e-209], N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 4.3e-151], N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 4.8e+77], N[(t * N[(N[(b * i), $MachinePrecision] - N[(x * a), $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.7 \cdot 10^{+139}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;c \leq -85000000:\\
\;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right)\\
\mathbf{elif}\;c \leq -1.9 \cdot 10^{-209}:\\
\;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right)\\
\mathbf{elif}\;c \leq 4.3 \cdot 10^{-151}:\\
\;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\
\mathbf{elif}\;c \leq 4.8 \cdot 10^{+77}:\\
\;\;\;\;t \cdot \left(b \cdot i - x \cdot a\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if c < -3.69999999999999992e139 or 4.7999999999999997e77 < c Initial program 49.0%
Taylor expanded in c around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f6471.8%
Simplified71.8%
if -3.69999999999999992e139 < c < -8.5e7Initial program 57.3%
Taylor expanded in j around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6457.7%
Simplified57.7%
if -8.5e7 < c < -1.8999999999999999e-209Initial program 82.6%
Taylor expanded in x around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6452.0%
Simplified52.0%
if -1.8999999999999999e-209 < c < 4.30000000000000018e-151Initial program 92.0%
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-*.f6467.8%
Simplified67.8%
if 4.30000000000000018e-151 < c < 4.7999999999999997e77Initial program 85.3%
Taylor expanded in c around inf
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
associate-*r*N/A
associate-/l*N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
/-lowering-/.f6477.0%
Simplified77.0%
Taylor expanded in t around inf
*-lowering-*.f64N/A
cancel-sign-sub-invN/A
metadata-evalN/A
*-lft-identityN/A
+-commutativeN/A
mul-1-negN/A
sub-negN/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f6464.3%
Simplified64.3%
Final simplification64.3%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* j (- (* a c) (* y i)))) (t_2 (* t (- (* b i) (* x a)))))
(if (<= t -2.05e+123)
t_2
(if (<= t 8e-27)
(+ t_1 (* z (- (* x y) (* b c))))
(if (<= t 2.7e+134) (- t_1 (* b (- (* z c) (* t i)))) 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 * ((a * c) - (y * i));
double t_2 = t * ((b * i) - (x * a));
double tmp;
if (t <= -2.05e+123) {
tmp = t_2;
} else if (t <= 8e-27) {
tmp = t_1 + (z * ((x * y) - (b * c)));
} else if (t <= 2.7e+134) {
tmp = t_1 - (b * ((z * c) - (t * i)));
} 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 * ((a * c) - (y * i))
t_2 = t * ((b * i) - (x * a))
if (t <= (-2.05d+123)) then
tmp = t_2
else if (t <= 8d-27) then
tmp = t_1 + (z * ((x * y) - (b * c)))
else if (t <= 2.7d+134) then
tmp = t_1 - (b * ((z * c) - (t * i)))
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 * ((a * c) - (y * i));
double t_2 = t * ((b * i) - (x * a));
double tmp;
if (t <= -2.05e+123) {
tmp = t_2;
} else if (t <= 8e-27) {
tmp = t_1 + (z * ((x * y) - (b * c)));
} else if (t <= 2.7e+134) {
tmp = t_1 - (b * ((z * c) - (t * i)));
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = j * ((a * c) - (y * i)) t_2 = t * ((b * i) - (x * a)) tmp = 0 if t <= -2.05e+123: tmp = t_2 elif t <= 8e-27: tmp = t_1 + (z * ((x * y) - (b * c))) elif t <= 2.7e+134: tmp = t_1 - (b * ((z * c) - (t * i))) else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(j * Float64(Float64(a * c) - Float64(y * i))) t_2 = Float64(t * Float64(Float64(b * i) - Float64(x * a))) tmp = 0.0 if (t <= -2.05e+123) tmp = t_2; elseif (t <= 8e-27) tmp = Float64(t_1 + Float64(z * Float64(Float64(x * y) - Float64(b * c)))); elseif (t <= 2.7e+134) tmp = Float64(t_1 - Float64(b * Float64(Float64(z * c) - Float64(t * i)))); else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = j * ((a * c) - (y * i)); t_2 = t * ((b * i) - (x * a)); tmp = 0.0; if (t <= -2.05e+123) tmp = t_2; elseif (t <= 8e-27) tmp = t_1 + (z * ((x * y) - (b * c))); elseif (t <= 2.7e+134) tmp = t_1 - (b * ((z * c) - (t * i))); 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[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(t * N[(N[(b * i), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -2.05e+123], t$95$2, If[LessEqual[t, 8e-27], N[(t$95$1 + N[(z * N[(N[(x * y), $MachinePrecision] - N[(b * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.7e+134], N[(t$95$1 - N[(b * N[(N[(z * c), $MachinePrecision] - N[(t * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(a \cdot c - y \cdot i\right)\\
t_2 := t \cdot \left(b \cdot i - x \cdot a\right)\\
\mathbf{if}\;t \leq -2.05 \cdot 10^{+123}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;t \leq 8 \cdot 10^{-27}:\\
\;\;\;\;t\_1 + z \cdot \left(x \cdot y - b \cdot c\right)\\
\mathbf{elif}\;t \leq 2.7 \cdot 10^{+134}:\\
\;\;\;\;t\_1 - b \cdot \left(z \cdot c - t \cdot i\right)\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if t < -2.04999999999999995e123 or 2.7e134 < t Initial program 61.5%
Taylor expanded in c around inf
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
associate-*r*N/A
associate-/l*N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
/-lowering-/.f6460.5%
Simplified60.5%
Taylor expanded in t around inf
*-lowering-*.f64N/A
cancel-sign-sub-invN/A
metadata-evalN/A
*-lft-identityN/A
+-commutativeN/A
mul-1-negN/A
sub-negN/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f6473.0%
Simplified73.0%
if -2.04999999999999995e123 < t < 8.0000000000000003e-27Initial program 78.2%
Taylor expanded in z around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6471.5%
Simplified71.5%
if 8.0000000000000003e-27 < t < 2.7e134Initial program 75.7%
Taylor expanded in x 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-*.f6469.7%
Simplified69.7%
Final simplification71.8%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (- 0.0 (* j (* y i)))))
(if (<= y -6.2e+67)
t_1
(if (<= y -2.8e-29)
(* x (- 0.0 (* t a)))
(if (<= y 2e-149)
(* i (* t b))
(if (<= y 8.2e-21)
(* t (- 0.0 (* x a)))
(if (<= y 4e+62) (* x (* y 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 = 0.0 - (j * (y * i));
double tmp;
if (y <= -6.2e+67) {
tmp = t_1;
} else if (y <= -2.8e-29) {
tmp = x * (0.0 - (t * a));
} else if (y <= 2e-149) {
tmp = i * (t * b);
} else if (y <= 8.2e-21) {
tmp = t * (0.0 - (x * a));
} else if (y <= 4e+62) {
tmp = x * (y * 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 = 0.0d0 - (j * (y * i))
if (y <= (-6.2d+67)) then
tmp = t_1
else if (y <= (-2.8d-29)) then
tmp = x * (0.0d0 - (t * a))
else if (y <= 2d-149) then
tmp = i * (t * b)
else if (y <= 8.2d-21) then
tmp = t * (0.0d0 - (x * a))
else if (y <= 4d+62) then
tmp = x * (y * 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 = 0.0 - (j * (y * i));
double tmp;
if (y <= -6.2e+67) {
tmp = t_1;
} else if (y <= -2.8e-29) {
tmp = x * (0.0 - (t * a));
} else if (y <= 2e-149) {
tmp = i * (t * b);
} else if (y <= 8.2e-21) {
tmp = t * (0.0 - (x * a));
} else if (y <= 4e+62) {
tmp = x * (y * z);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = 0.0 - (j * (y * i)) tmp = 0 if y <= -6.2e+67: tmp = t_1 elif y <= -2.8e-29: tmp = x * (0.0 - (t * a)) elif y <= 2e-149: tmp = i * (t * b) elif y <= 8.2e-21: tmp = t * (0.0 - (x * a)) elif y <= 4e+62: tmp = x * (y * z) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(0.0 - Float64(j * Float64(y * i))) tmp = 0.0 if (y <= -6.2e+67) tmp = t_1; elseif (y <= -2.8e-29) tmp = Float64(x * Float64(0.0 - Float64(t * a))); elseif (y <= 2e-149) tmp = Float64(i * Float64(t * b)); elseif (y <= 8.2e-21) tmp = Float64(t * Float64(0.0 - Float64(x * a))); elseif (y <= 4e+62) tmp = Float64(x * Float64(y * z)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = 0.0 - (j * (y * i)); tmp = 0.0; if (y <= -6.2e+67) tmp = t_1; elseif (y <= -2.8e-29) tmp = x * (0.0 - (t * a)); elseif (y <= 2e-149) tmp = i * (t * b); elseif (y <= 8.2e-21) tmp = t * (0.0 - (x * a)); elseif (y <= 4e+62) tmp = x * (y * 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[(0.0 - N[(j * N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -6.2e+67], t$95$1, If[LessEqual[y, -2.8e-29], N[(x * N[(0.0 - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2e-149], N[(i * N[(t * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 8.2e-21], N[(t * N[(0.0 - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 4e+62], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := 0 - j \cdot \left(y \cdot i\right)\\
\mathbf{if}\;y \leq -6.2 \cdot 10^{+67}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq -2.8 \cdot 10^{-29}:\\
\;\;\;\;x \cdot \left(0 - t \cdot a\right)\\
\mathbf{elif}\;y \leq 2 \cdot 10^{-149}:\\
\;\;\;\;i \cdot \left(t \cdot b\right)\\
\mathbf{elif}\;y \leq 8.2 \cdot 10^{-21}:\\
\;\;\;\;t \cdot \left(0 - x \cdot a\right)\\
\mathbf{elif}\;y \leq 4 \cdot 10^{+62}:\\
\;\;\;\;x \cdot \left(y \cdot z\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < -6.19999999999999992e67 or 4.00000000000000014e62 < y Initial program 62.7%
Taylor expanded in x 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.5%
Simplified59.5%
Taylor expanded in y around inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f64N/A
associate-*r*N/A
*-lowering-*.f64N/A
*-lowering-*.f6444.3%
Simplified44.3%
sub0-negN/A
neg-lowering-neg.f64N/A
*-commutativeN/A
associate-*l*N/A
*-lowering-*.f64N/A
*-lowering-*.f6449.1%
Applied egg-rr49.1%
if -6.19999999999999992e67 < y < -2.8000000000000002e-29Initial program 74.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-*.f6466.0%
Simplified66.0%
Taylor expanded in j around 0
mul-1-negN/A
associate-*r*N/A
distribute-lft-neg-inN/A
mul-1-negN/A
*-lowering-*.f64N/A
mul-1-negN/A
neg-sub0N/A
--lowering--.f64N/A
*-lowering-*.f6451.6%
Simplified51.6%
sub0-negN/A
neg-lowering-neg.f64N/A
*-lowering-*.f6451.6%
Applied egg-rr51.6%
if -2.8000000000000002e-29 < y < 1.99999999999999996e-149Initial program 80.7%
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--.f6448.6%
Simplified48.6%
Taylor expanded in a around 0
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6430.3%
Simplified30.3%
associate-*r*N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6434.4%
Applied egg-rr34.4%
if 1.99999999999999996e-149 < y < 8.19999999999999988e-21Initial program 72.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--.f6455.6%
Simplified55.6%
sub0-negN/A
distribute-rgt-neg-outN/A
neg-lowering-neg.f64N/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6455.6%
Applied egg-rr55.6%
Taylor expanded in a around inf
*-lowering-*.f6445.0%
Simplified45.0%
if 8.19999999999999988e-21 < y < 4.00000000000000014e62Initial program 81.3%
Taylor expanded in x around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6450.7%
Simplified50.7%
Taylor expanded in y around inf
*-lowering-*.f64N/A
*-lowering-*.f6450.9%
Simplified50.9%
Final simplification43.8%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (- 0.0 (* j (* y i)))))
(if (<= y -4.6e+67)
t_1
(if (<= y -5.5e-115)
(* a (- 0.0 (* x t)))
(if (<= y 2.9e-151)
(* i (* t b))
(if (<= y 4.8e-24)
(* t (- 0.0 (* x a)))
(if (<= y 4.5e+64) (* x (* y 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 = 0.0 - (j * (y * i));
double tmp;
if (y <= -4.6e+67) {
tmp = t_1;
} else if (y <= -5.5e-115) {
tmp = a * (0.0 - (x * t));
} else if (y <= 2.9e-151) {
tmp = i * (t * b);
} else if (y <= 4.8e-24) {
tmp = t * (0.0 - (x * a));
} else if (y <= 4.5e+64) {
tmp = x * (y * 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 = 0.0d0 - (j * (y * i))
if (y <= (-4.6d+67)) then
tmp = t_1
else if (y <= (-5.5d-115)) then
tmp = a * (0.0d0 - (x * t))
else if (y <= 2.9d-151) then
tmp = i * (t * b)
else if (y <= 4.8d-24) then
tmp = t * (0.0d0 - (x * a))
else if (y <= 4.5d+64) then
tmp = x * (y * 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 = 0.0 - (j * (y * i));
double tmp;
if (y <= -4.6e+67) {
tmp = t_1;
} else if (y <= -5.5e-115) {
tmp = a * (0.0 - (x * t));
} else if (y <= 2.9e-151) {
tmp = i * (t * b);
} else if (y <= 4.8e-24) {
tmp = t * (0.0 - (x * a));
} else if (y <= 4.5e+64) {
tmp = x * (y * z);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = 0.0 - (j * (y * i)) tmp = 0 if y <= -4.6e+67: tmp = t_1 elif y <= -5.5e-115: tmp = a * (0.0 - (x * t)) elif y <= 2.9e-151: tmp = i * (t * b) elif y <= 4.8e-24: tmp = t * (0.0 - (x * a)) elif y <= 4.5e+64: tmp = x * (y * z) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(0.0 - Float64(j * Float64(y * i))) tmp = 0.0 if (y <= -4.6e+67) tmp = t_1; elseif (y <= -5.5e-115) tmp = Float64(a * Float64(0.0 - Float64(x * t))); elseif (y <= 2.9e-151) tmp = Float64(i * Float64(t * b)); elseif (y <= 4.8e-24) tmp = Float64(t * Float64(0.0 - Float64(x * a))); elseif (y <= 4.5e+64) tmp = Float64(x * Float64(y * z)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = 0.0 - (j * (y * i)); tmp = 0.0; if (y <= -4.6e+67) tmp = t_1; elseif (y <= -5.5e-115) tmp = a * (0.0 - (x * t)); elseif (y <= 2.9e-151) tmp = i * (t * b); elseif (y <= 4.8e-24) tmp = t * (0.0 - (x * a)); elseif (y <= 4.5e+64) tmp = x * (y * 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[(0.0 - N[(j * N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -4.6e+67], t$95$1, If[LessEqual[y, -5.5e-115], N[(a * N[(0.0 - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2.9e-151], N[(i * N[(t * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 4.8e-24], N[(t * N[(0.0 - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 4.5e+64], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := 0 - j \cdot \left(y \cdot i\right)\\
\mathbf{if}\;y \leq -4.6 \cdot 10^{+67}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq -5.5 \cdot 10^{-115}:\\
\;\;\;\;a \cdot \left(0 - x \cdot t\right)\\
\mathbf{elif}\;y \leq 2.9 \cdot 10^{-151}:\\
\;\;\;\;i \cdot \left(t \cdot b\right)\\
\mathbf{elif}\;y \leq 4.8 \cdot 10^{-24}:\\
\;\;\;\;t \cdot \left(0 - x \cdot a\right)\\
\mathbf{elif}\;y \leq 4.5 \cdot 10^{+64}:\\
\;\;\;\;x \cdot \left(y \cdot z\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < -4.5999999999999997e67 or 4.49999999999999973e64 < y Initial program 62.7%
Taylor expanded in x 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.5%
Simplified59.5%
Taylor expanded in y around inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f64N/A
associate-*r*N/A
*-lowering-*.f64N/A
*-lowering-*.f6444.3%
Simplified44.3%
sub0-negN/A
neg-lowering-neg.f64N/A
*-commutativeN/A
associate-*l*N/A
*-lowering-*.f64N/A
*-lowering-*.f6449.1%
Applied egg-rr49.1%
if -4.5999999999999997e67 < y < -5.50000000000000028e-115Initial program 81.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--.f6449.9%
Simplified49.9%
sub0-negN/A
distribute-rgt-neg-outN/A
neg-lowering-neg.f64N/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6449.9%
Applied egg-rr49.9%
Taylor expanded in a around inf
*-lowering-*.f64N/A
*-lowering-*.f6443.2%
Simplified43.2%
if -5.50000000000000028e-115 < y < 2.90000000000000013e-151Initial program 78.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--.f6450.8%
Simplified50.8%
Taylor expanded in a around 0
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6429.4%
Simplified29.4%
associate-*r*N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6434.4%
Applied egg-rr34.4%
if 2.90000000000000013e-151 < y < 4.7999999999999996e-24Initial program 72.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--.f6455.6%
Simplified55.6%
sub0-negN/A
distribute-rgt-neg-outN/A
neg-lowering-neg.f64N/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6455.6%
Applied egg-rr55.6%
Taylor expanded in a around inf
*-lowering-*.f6445.0%
Simplified45.0%
if 4.7999999999999996e-24 < y < 4.49999999999999973e64Initial program 81.3%
Taylor expanded in x around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6450.7%
Simplified50.7%
Taylor expanded in y around inf
*-lowering-*.f64N/A
*-lowering-*.f6450.9%
Simplified50.9%
Final simplification43.6%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* a (- 0.0 (* x t)))) (t_2 (- 0.0 (* j (* y i)))))
(if (<= y -5.9e+67)
t_2
(if (<= y -1.9e-114)
t_1
(if (<= y 3.8e-150)
(* i (* t b))
(if (<= y 5.8e-17) t_1 (if (<= y 2e+61) (* x (* y z)) 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 * (0.0 - (x * t));
double t_2 = 0.0 - (j * (y * i));
double tmp;
if (y <= -5.9e+67) {
tmp = t_2;
} else if (y <= -1.9e-114) {
tmp = t_1;
} else if (y <= 3.8e-150) {
tmp = i * (t * b);
} else if (y <= 5.8e-17) {
tmp = t_1;
} else if (y <= 2e+61) {
tmp = x * (y * z);
} 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 * (0.0d0 - (x * t))
t_2 = 0.0d0 - (j * (y * i))
if (y <= (-5.9d+67)) then
tmp = t_2
else if (y <= (-1.9d-114)) then
tmp = t_1
else if (y <= 3.8d-150) then
tmp = i * (t * b)
else if (y <= 5.8d-17) then
tmp = t_1
else if (y <= 2d+61) then
tmp = x * (y * z)
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 * (0.0 - (x * t));
double t_2 = 0.0 - (j * (y * i));
double tmp;
if (y <= -5.9e+67) {
tmp = t_2;
} else if (y <= -1.9e-114) {
tmp = t_1;
} else if (y <= 3.8e-150) {
tmp = i * (t * b);
} else if (y <= 5.8e-17) {
tmp = t_1;
} else if (y <= 2e+61) {
tmp = x * (y * z);
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = a * (0.0 - (x * t)) t_2 = 0.0 - (j * (y * i)) tmp = 0 if y <= -5.9e+67: tmp = t_2 elif y <= -1.9e-114: tmp = t_1 elif y <= 3.8e-150: tmp = i * (t * b) elif y <= 5.8e-17: tmp = t_1 elif y <= 2e+61: tmp = x * (y * z) else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(a * Float64(0.0 - Float64(x * t))) t_2 = Float64(0.0 - Float64(j * Float64(y * i))) tmp = 0.0 if (y <= -5.9e+67) tmp = t_2; elseif (y <= -1.9e-114) tmp = t_1; elseif (y <= 3.8e-150) tmp = Float64(i * Float64(t * b)); elseif (y <= 5.8e-17) tmp = t_1; elseif (y <= 2e+61) tmp = Float64(x * Float64(y * z)); else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = a * (0.0 - (x * t)); t_2 = 0.0 - (j * (y * i)); tmp = 0.0; if (y <= -5.9e+67) tmp = t_2; elseif (y <= -1.9e-114) tmp = t_1; elseif (y <= 3.8e-150) tmp = i * (t * b); elseif (y <= 5.8e-17) tmp = t_1; elseif (y <= 2e+61) tmp = x * (y * z); 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[(0.0 - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(0.0 - N[(j * N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -5.9e+67], t$95$2, If[LessEqual[y, -1.9e-114], t$95$1, If[LessEqual[y, 3.8e-150], N[(i * N[(t * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 5.8e-17], t$95$1, If[LessEqual[y, 2e+61], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(0 - x \cdot t\right)\\
t_2 := 0 - j \cdot \left(y \cdot i\right)\\
\mathbf{if}\;y \leq -5.9 \cdot 10^{+67}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y \leq -1.9 \cdot 10^{-114}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq 3.8 \cdot 10^{-150}:\\
\;\;\;\;i \cdot \left(t \cdot b\right)\\
\mathbf{elif}\;y \leq 5.8 \cdot 10^{-17}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq 2 \cdot 10^{+61}:\\
\;\;\;\;x \cdot \left(y \cdot z\right)\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if y < -5.9000000000000003e67 or 1.9999999999999999e61 < y Initial program 62.7%
Taylor expanded in x 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.5%
Simplified59.5%
Taylor expanded in y around inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f64N/A
associate-*r*N/A
*-lowering-*.f64N/A
*-lowering-*.f6444.3%
Simplified44.3%
sub0-negN/A
neg-lowering-neg.f64N/A
*-commutativeN/A
associate-*l*N/A
*-lowering-*.f64N/A
*-lowering-*.f6449.1%
Applied egg-rr49.1%
if -5.9000000000000003e67 < y < -1.8999999999999999e-114 or 3.7999999999999998e-150 < y < 5.8000000000000006e-17Initial program 77.3%
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--.f6452.5%
Simplified52.5%
sub0-negN/A
distribute-rgt-neg-outN/A
neg-lowering-neg.f64N/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6452.5%
Applied egg-rr52.5%
Taylor expanded in a around inf
*-lowering-*.f64N/A
*-lowering-*.f6444.0%
Simplified44.0%
if -1.8999999999999999e-114 < y < 3.7999999999999998e-150Initial program 78.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--.f6450.8%
Simplified50.8%
Taylor expanded in a around 0
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6429.4%
Simplified29.4%
associate-*r*N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6434.4%
Applied egg-rr34.4%
if 5.8000000000000006e-17 < y < 1.9999999999999999e61Initial program 81.3%
Taylor expanded in x around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6450.7%
Simplified50.7%
Taylor expanded in y around inf
*-lowering-*.f64N/A
*-lowering-*.f6450.9%
Simplified50.9%
Final simplification43.6%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* j (- (* a c) (* y i)))))
(if (<= j -1.75e-40)
(+ t_1 (* i (* t b)))
(if (<= j 3.3e-5)
(+ (* x (- (* y z) (* t a))) (* b (- (* t i) (* z c))))
(- t_1 (* b (- (* z c) (* 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 = j * ((a * c) - (y * i));
double tmp;
if (j <= -1.75e-40) {
tmp = t_1 + (i * (t * b));
} else if (j <= 3.3e-5) {
tmp = (x * ((y * z) - (t * a))) + (b * ((t * i) - (z * c)));
} else {
tmp = t_1 - (b * ((z * c) - (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 = j * ((a * c) - (y * i))
if (j <= (-1.75d-40)) then
tmp = t_1 + (i * (t * b))
else if (j <= 3.3d-5) then
tmp = (x * ((y * z) - (t * a))) + (b * ((t * i) - (z * c)))
else
tmp = t_1 - (b * ((z * c) - (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 = j * ((a * c) - (y * i));
double tmp;
if (j <= -1.75e-40) {
tmp = t_1 + (i * (t * b));
} else if (j <= 3.3e-5) {
tmp = (x * ((y * z) - (t * a))) + (b * ((t * i) - (z * c)));
} else {
tmp = t_1 - (b * ((z * c) - (t * i)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = j * ((a * c) - (y * i)) tmp = 0 if j <= -1.75e-40: tmp = t_1 + (i * (t * b)) elif j <= 3.3e-5: tmp = (x * ((y * z) - (t * a))) + (b * ((t * i) - (z * c))) else: tmp = t_1 - (b * ((z * c) - (t * i))) 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 <= -1.75e-40) tmp = Float64(t_1 + Float64(i * Float64(t * b))); elseif (j <= 3.3e-5) tmp = Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) + Float64(b * Float64(Float64(t * i) - Float64(z * c)))); else tmp = Float64(t_1 - Float64(b * Float64(Float64(z * c) - Float64(t * i)))); 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 <= -1.75e-40) tmp = t_1 + (i * (t * b)); elseif (j <= 3.3e-5) tmp = (x * ((y * z) - (t * a))) + (b * ((t * i) - (z * c))); else tmp = t_1 - (b * ((z * c) - (t * i))); 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, -1.75e-40], N[(t$95$1 + N[(i * N[(t * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3.3e-5], 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[(t$95$1 - N[(b * N[(N[(z * c), $MachinePrecision] - N[(t * i), $MachinePrecision]), $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 -1.75 \cdot 10^{-40}:\\
\;\;\;\;t\_1 + i \cdot \left(t \cdot b\right)\\
\mathbf{elif}\;j \leq 3.3 \cdot 10^{-5}:\\
\;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(t \cdot i - z \cdot c\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1 - b \cdot \left(z \cdot c - t \cdot i\right)\\
\end{array}
\end{array}
if j < -1.7500000000000001e-40Initial program 74.3%
Taylor expanded in i around inf
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
*-lowering-*.f64N/A
*-lowering-*.f6473.4%
Simplified73.4%
if -1.7500000000000001e-40 < j < 3.3000000000000003e-5Initial program 72.8%
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-*.f6475.2%
Simplified75.2%
if 3.3000000000000003e-5 < j Initial program 68.8%
Taylor expanded in x 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-*.f6474.1%
Simplified74.1%
Final simplification74.4%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* t (- (* b i) (* x a)))))
(if (<= t -1.2e+123)
t_1
(if (<= t 3.15e+66)
(+ (* j (- (* a c) (* y i))) (* z (- (* x y) (* b 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 = t * ((b * i) - (x * a));
double tmp;
if (t <= -1.2e+123) {
tmp = t_1;
} else if (t <= 3.15e+66) {
tmp = (j * ((a * c) - (y * i))) + (z * ((x * y) - (b * 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 = t * ((b * i) - (x * a))
if (t <= (-1.2d+123)) then
tmp = t_1
else if (t <= 3.15d+66) then
tmp = (j * ((a * c) - (y * i))) + (z * ((x * y) - (b * 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 = t * ((b * i) - (x * a));
double tmp;
if (t <= -1.2e+123) {
tmp = t_1;
} else if (t <= 3.15e+66) {
tmp = (j * ((a * c) - (y * i))) + (z * ((x * y) - (b * c)));
} 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 <= -1.2e+123: tmp = t_1 elif t <= 3.15e+66: tmp = (j * ((a * c) - (y * i))) + (z * ((x * y) - (b * c))) 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 <= -1.2e+123) tmp = t_1; elseif (t <= 3.15e+66) tmp = Float64(Float64(j * Float64(Float64(a * c) - Float64(y * i))) + Float64(z * Float64(Float64(x * y) - Float64(b * c)))); 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 <= -1.2e+123) tmp = t_1; elseif (t <= 3.15e+66) tmp = (j * ((a * c) - (y * i))) + (z * ((x * y) - (b * 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[(t * N[(N[(b * i), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1.2e+123], t$95$1, If[LessEqual[t, 3.15e+66], N[(N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(z * N[(N[(x * y), $MachinePrecision] - N[(b * c), $MachinePrecision]), $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 -1.2 \cdot 10^{+123}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 3.15 \cdot 10^{+66}:\\
\;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right) + z \cdot \left(x \cdot y - b \cdot c\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -1.19999999999999994e123 or 3.1499999999999999e66 < t Initial program 65.8%
Taylor expanded in c around inf
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
associate-*r*N/A
associate-/l*N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
/-lowering-/.f6459.9%
Simplified59.9%
Taylor expanded in t around inf
*-lowering-*.f64N/A
cancel-sign-sub-invN/A
metadata-evalN/A
*-lft-identityN/A
+-commutativeN/A
mul-1-negN/A
sub-negN/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f6470.0%
Simplified70.0%
if -1.19999999999999994e123 < t < 3.1499999999999999e66Initial program 76.6%
Taylor expanded in z around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6469.5%
Simplified69.5%
Final simplification69.7%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (+ (* j (- (* a c) (* y i))) (* i (* t b)))))
(if (<= j -1.1e-40)
t_1
(if (<= j 3.5e-25) (- (* b (- (* t i) (* z c))) (* a (* 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 = (j * ((a * c) - (y * i))) + (i * (t * b));
double tmp;
if (j <= -1.1e-40) {
tmp = t_1;
} else if (j <= 3.5e-25) {
tmp = (b * ((t * i) - (z * c))) - (a * (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 = (j * ((a * c) - (y * i))) + (i * (t * b))
if (j <= (-1.1d-40)) then
tmp = t_1
else if (j <= 3.5d-25) then
tmp = (b * ((t * i) - (z * c))) - (a * (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 = (j * ((a * c) - (y * i))) + (i * (t * b));
double tmp;
if (j <= -1.1e-40) {
tmp = t_1;
} else if (j <= 3.5e-25) {
tmp = (b * ((t * i) - (z * c))) - (a * (x * t));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = (j * ((a * c) - (y * i))) + (i * (t * b)) tmp = 0 if j <= -1.1e-40: tmp = t_1 elif j <= 3.5e-25: tmp = (b * ((t * i) - (z * c))) - (a * (x * t)) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(Float64(j * Float64(Float64(a * c) - Float64(y * i))) + Float64(i * Float64(t * b))) tmp = 0.0 if (j <= -1.1e-40) tmp = t_1; elseif (j <= 3.5e-25) tmp = Float64(Float64(b * Float64(Float64(t * i) - Float64(z * c))) - Float64(a * 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 = (j * ((a * c) - (y * i))) + (i * (t * b)); tmp = 0.0; if (j <= -1.1e-40) tmp = t_1; elseif (j <= 3.5e-25) tmp = (b * ((t * i) - (z * c))) - (a * (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[(N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(i * N[(t * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -1.1e-40], t$95$1, If[LessEqual[j, 3.5e-25], N[(N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(a * N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(a \cdot c - y \cdot i\right) + i \cdot \left(t \cdot b\right)\\
\mathbf{if}\;j \leq -1.1 \cdot 10^{-40}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq 3.5 \cdot 10^{-25}:\\
\;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right) - a \cdot \left(x \cdot t\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if j < -1.10000000000000004e-40 or 3.5000000000000002e-25 < j Initial program 72.5%
Taylor expanded in i around inf
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
*-lowering-*.f64N/A
*-lowering-*.f6472.9%
Simplified72.9%
if -1.10000000000000004e-40 < j < 3.5000000000000002e-25Initial program 72.1%
Taylor expanded in c around inf
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
associate-*r*N/A
associate-/l*N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
/-lowering-/.f6472.9%
Simplified72.9%
+-commutativeN/A
associate-+r-N/A
--lowering--.f64N/A
Applied egg-rr68.1%
Taylor expanded in t around inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6460.3%
Simplified60.3%
Final simplification67.0%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (- (* x y) (* b c))))
(if (<= z -2.6e+163)
(* (* z j) (/ t_1 j))
(if (<= z 8.2e+21)
(+ (* j (- (* a c) (* y i))) (* i (* t b)))
(* 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 = (x * y) - (b * c);
double tmp;
if (z <= -2.6e+163) {
tmp = (z * j) * (t_1 / j);
} else if (z <= 8.2e+21) {
tmp = (j * ((a * c) - (y * i))) + (i * (t * b));
} else {
tmp = z * 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 = (x * y) - (b * c)
if (z <= (-2.6d+163)) then
tmp = (z * j) * (t_1 / j)
else if (z <= 8.2d+21) then
tmp = (j * ((a * c) - (y * i))) + (i * (t * b))
else
tmp = z * 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 = (x * y) - (b * c);
double tmp;
if (z <= -2.6e+163) {
tmp = (z * j) * (t_1 / j);
} else if (z <= 8.2e+21) {
tmp = (j * ((a * c) - (y * i))) + (i * (t * b));
} else {
tmp = z * t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = (x * y) - (b * c) tmp = 0 if z <= -2.6e+163: tmp = (z * j) * (t_1 / j) elif z <= 8.2e+21: tmp = (j * ((a * c) - (y * i))) + (i * (t * b)) else: tmp = z * t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(Float64(x * y) - Float64(b * c)) tmp = 0.0 if (z <= -2.6e+163) tmp = Float64(Float64(z * j) * Float64(t_1 / j)); elseif (z <= 8.2e+21) tmp = Float64(Float64(j * Float64(Float64(a * c) - Float64(y * i))) + Float64(i * Float64(t * b))); else tmp = Float64(z * t_1); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = (x * y) - (b * c); tmp = 0.0; if (z <= -2.6e+163) tmp = (z * j) * (t_1 / j); elseif (z <= 8.2e+21) tmp = (j * ((a * c) - (y * i))) + (i * (t * b)); else tmp = z * t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[(x * y), $MachinePrecision] - N[(b * c), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -2.6e+163], N[(N[(z * j), $MachinePrecision] * N[(t$95$1 / j), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 8.2e+21], N[(N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(i * N[(t * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(z * t$95$1), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot y - b \cdot c\\
\mathbf{if}\;z \leq -2.6 \cdot 10^{+163}:\\
\;\;\;\;\left(z \cdot j\right) \cdot \frac{t\_1}{j}\\
\mathbf{elif}\;z \leq 8.2 \cdot 10^{+21}:\\
\;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right) + i \cdot \left(t \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;z \cdot t\_1\\
\end{array}
\end{array}
if z < -2.6000000000000002e163Initial program 58.6%
Taylor expanded in j around inf
*-lowering-*.f64N/A
associate--l+N/A
+-lowering-+.f64N/A
*-lowering-*.f64N/A
+-commutativeN/A
associate--r+N/A
div-subN/A
--lowering--.f64N/A
Simplified55.6%
Taylor expanded in z around inf
associate-*r*N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
div-subN/A
/-lowering-/.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6474.1%
Simplified74.1%
if -2.6000000000000002e163 < z < 8.2e21Initial program 75.6%
Taylor expanded in i around inf
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
*-lowering-*.f64N/A
*-lowering-*.f6462.0%
Simplified62.0%
if 8.2e21 < z Initial program 69.5%
Taylor expanded in z around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6467.6%
Simplified67.6%
Final simplification64.6%
(FPCore (x y z t a b c i j)
:precision binary64
(if (<= j -3.8e-5)
(* c (* j (- a (* i (/ y c)))))
(if (<= j -1.22e-289)
(* t (- (* b i) (* x a)))
(if (<= j 510.0) (* z (- (* x y) (* b c))) (* j (- (* a c) (* y i)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (j <= -3.8e-5) {
tmp = c * (j * (a - (i * (y / c))));
} else if (j <= -1.22e-289) {
tmp = t * ((b * i) - (x * a));
} else if (j <= 510.0) {
tmp = z * ((x * y) - (b * c));
} else {
tmp = j * ((a * c) - (y * 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) :: tmp
if (j <= (-3.8d-5)) then
tmp = c * (j * (a - (i * (y / c))))
else if (j <= (-1.22d-289)) then
tmp = t * ((b * i) - (x * a))
else if (j <= 510.0d0) then
tmp = z * ((x * y) - (b * c))
else
tmp = j * ((a * c) - (y * 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 tmp;
if (j <= -3.8e-5) {
tmp = c * (j * (a - (i * (y / c))));
} else if (j <= -1.22e-289) {
tmp = t * ((b * i) - (x * a));
} else if (j <= 510.0) {
tmp = z * ((x * y) - (b * c));
} else {
tmp = j * ((a * c) - (y * i));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if j <= -3.8e-5: tmp = c * (j * (a - (i * (y / c)))) elif j <= -1.22e-289: tmp = t * ((b * i) - (x * a)) elif j <= 510.0: tmp = z * ((x * y) - (b * c)) else: tmp = j * ((a * c) - (y * i)) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (j <= -3.8e-5) tmp = Float64(c * Float64(j * Float64(a - Float64(i * Float64(y / c))))); elseif (j <= -1.22e-289) tmp = Float64(t * Float64(Float64(b * i) - Float64(x * a))); elseif (j <= 510.0) tmp = Float64(z * Float64(Float64(x * y) - Float64(b * c))); else tmp = Float64(j * Float64(Float64(a * c) - Float64(y * i))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if (j <= -3.8e-5) tmp = c * (j * (a - (i * (y / c)))); elseif (j <= -1.22e-289) tmp = t * ((b * i) - (x * a)); elseif (j <= 510.0) tmp = z * ((x * y) - (b * c)); else tmp = j * ((a * c) - (y * i)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[j, -3.8e-5], N[(c * N[(j * N[(a - N[(i * N[(y / c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -1.22e-289], N[(t * N[(N[(b * i), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 510.0], N[(z * N[(N[(x * y), $MachinePrecision] - N[(b * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;j \leq -3.8 \cdot 10^{-5}:\\
\;\;\;\;c \cdot \left(j \cdot \left(a - i \cdot \frac{y}{c}\right)\right)\\
\mathbf{elif}\;j \leq -1.22 \cdot 10^{-289}:\\
\;\;\;\;t \cdot \left(b \cdot i - x \cdot a\right)\\
\mathbf{elif}\;j \leq 510:\\
\;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right)\\
\end{array}
\end{array}
if j < -3.8000000000000002e-5Initial program 74.5%
Taylor expanded in c around inf
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
associate-*r*N/A
associate-/l*N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
/-lowering-/.f6464.9%
Simplified64.9%
Taylor expanded in j around inf
*-lowering-*.f64N/A
*-lowering-*.f64N/A
--lowering--.f64N/A
associate-/l*N/A
*-lowering-*.f64N/A
/-lowering-/.f6469.8%
Simplified69.8%
if -3.8000000000000002e-5 < j < -1.22e-289Initial program 67.3%
Taylor expanded in c around inf
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
associate-*r*N/A
associate-/l*N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
/-lowering-/.f6471.8%
Simplified71.8%
Taylor expanded in t around inf
*-lowering-*.f64N/A
cancel-sign-sub-invN/A
metadata-evalN/A
*-lft-identityN/A
+-commutativeN/A
mul-1-negN/A
sub-negN/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f6459.2%
Simplified59.2%
if -1.22e-289 < j < 510Initial program 79.0%
Taylor expanded in z around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6455.6%
Simplified55.6%
if 510 < j Initial program 67.7%
Taylor expanded in j around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6466.1%
Simplified66.1%
Final simplification62.6%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* j (- (* a c) (* y i)))))
(if (<= j -0.000105)
t_1
(if (<= j -5.5e-290)
(* t (- (* b i) (* x a)))
(if (<= j 270.0) (* z (- (* x y) (* b 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 = j * ((a * c) - (y * i));
double tmp;
if (j <= -0.000105) {
tmp = t_1;
} else if (j <= -5.5e-290) {
tmp = t * ((b * i) - (x * a));
} else if (j <= 270.0) {
tmp = z * ((x * y) - (b * 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 = j * ((a * c) - (y * i))
if (j <= (-0.000105d0)) then
tmp = t_1
else if (j <= (-5.5d-290)) then
tmp = t * ((b * i) - (x * a))
else if (j <= 270.0d0) then
tmp = z * ((x * y) - (b * 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 = j * ((a * c) - (y * i));
double tmp;
if (j <= -0.000105) {
tmp = t_1;
} else if (j <= -5.5e-290) {
tmp = t * ((b * i) - (x * a));
} else if (j <= 270.0) {
tmp = z * ((x * y) - (b * c));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = j * ((a * c) - (y * i)) tmp = 0 if j <= -0.000105: tmp = t_1 elif j <= -5.5e-290: tmp = t * ((b * i) - (x * a)) elif j <= 270.0: tmp = z * ((x * y) - (b * c)) else: tmp = t_1 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 <= -0.000105) tmp = t_1; elseif (j <= -5.5e-290) tmp = Float64(t * Float64(Float64(b * i) - Float64(x * a))); elseif (j <= 270.0) tmp = Float64(z * Float64(Float64(x * y) - Float64(b * c))); else tmp = t_1; 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 <= -0.000105) tmp = t_1; elseif (j <= -5.5e-290) tmp = t * ((b * i) - (x * a)); elseif (j <= 270.0) tmp = z * ((x * y) - (b * 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[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -0.000105], t$95$1, If[LessEqual[j, -5.5e-290], N[(t * N[(N[(b * i), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 270.0], N[(z * N[(N[(x * y), $MachinePrecision] - N[(b * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(a \cdot c - y \cdot i\right)\\
\mathbf{if}\;j \leq -0.000105:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq -5.5 \cdot 10^{-290}:\\
\;\;\;\;t \cdot \left(b \cdot i - x \cdot a\right)\\
\mathbf{elif}\;j \leq 270:\\
\;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if j < -1.05e-4 or 270 < j Initial program 71.4%
Taylor expanded in j around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6465.5%
Simplified65.5%
if -1.05e-4 < j < -5.5e-290Initial program 67.3%
Taylor expanded in c around inf
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
associate-*r*N/A
associate-/l*N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
/-lowering-/.f6471.8%
Simplified71.8%
Taylor expanded in t around inf
*-lowering-*.f64N/A
cancel-sign-sub-invN/A
metadata-evalN/A
*-lft-identityN/A
+-commutativeN/A
mul-1-negN/A
sub-negN/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f6459.2%
Simplified59.2%
if -5.5e-290 < j < 270Initial program 79.0%
Taylor expanded in z around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6455.6%
Simplified55.6%
Final simplification61.3%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* j (- (* a c) (* y i)))))
(if (<= j -2.7e-10)
t_1
(if (<= j -3.3e-234)
(* t (- (* b i) (* x a)))
(if (<= j 2.25e-5) (* x (- (* y z) (* t a))) 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 = j * ((a * c) - (y * i));
double tmp;
if (j <= -2.7e-10) {
tmp = t_1;
} else if (j <= -3.3e-234) {
tmp = t * ((b * i) - (x * a));
} else if (j <= 2.25e-5) {
tmp = x * ((y * z) - (t * a));
} 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 = j * ((a * c) - (y * i))
if (j <= (-2.7d-10)) then
tmp = t_1
else if (j <= (-3.3d-234)) then
tmp = t * ((b * i) - (x * a))
else if (j <= 2.25d-5) then
tmp = x * ((y * z) - (t * a))
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 = j * ((a * c) - (y * i));
double tmp;
if (j <= -2.7e-10) {
tmp = t_1;
} else if (j <= -3.3e-234) {
tmp = t * ((b * i) - (x * a));
} else if (j <= 2.25e-5) {
tmp = x * ((y * z) - (t * a));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = j * ((a * c) - (y * i)) tmp = 0 if j <= -2.7e-10: tmp = t_1 elif j <= -3.3e-234: tmp = t * ((b * i) - (x * a)) elif j <= 2.25e-5: tmp = x * ((y * z) - (t * a)) else: tmp = t_1 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 <= -2.7e-10) tmp = t_1; elseif (j <= -3.3e-234) tmp = Float64(t * Float64(Float64(b * i) - Float64(x * a))); elseif (j <= 2.25e-5) tmp = Float64(x * Float64(Float64(y * z) - Float64(t * a))); else tmp = t_1; 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 <= -2.7e-10) tmp = t_1; elseif (j <= -3.3e-234) tmp = t * ((b * i) - (x * a)); elseif (j <= 2.25e-5) tmp = x * ((y * z) - (t * a)); else tmp = t_1; 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, -2.7e-10], t$95$1, If[LessEqual[j, -3.3e-234], N[(t * N[(N[(b * i), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 2.25e-5], N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(a \cdot c - y \cdot i\right)\\
\mathbf{if}\;j \leq -2.7 \cdot 10^{-10}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq -3.3 \cdot 10^{-234}:\\
\;\;\;\;t \cdot \left(b \cdot i - x \cdot a\right)\\
\mathbf{elif}\;j \leq 2.25 \cdot 10^{-5}:\\
\;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if j < -2.7e-10 or 2.25000000000000014e-5 < j Initial program 71.9%
Taylor expanded in j around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6464.5%
Simplified64.5%
if -2.7e-10 < j < -3.30000000000000014e-234Initial program 70.9%
Taylor expanded in c around inf
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
associate-*r*N/A
associate-/l*N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
/-lowering-/.f6475.1%
Simplified75.1%
Taylor expanded in t around inf
*-lowering-*.f64N/A
cancel-sign-sub-invN/A
metadata-evalN/A
*-lft-identityN/A
+-commutativeN/A
mul-1-negN/A
sub-negN/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f6461.2%
Simplified61.2%
if -3.30000000000000014e-234 < j < 2.25000000000000014e-5Initial program 73.8%
Taylor expanded in x around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6450.2%
Simplified50.2%
Final simplification59.3%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* j (- (* a c) (* y i)))))
(if (<= j -3.8)
t_1
(if (<= j -1.65e-293)
(* t (- (* b i) (* x a)))
(if (<= j 340.0) (* 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 = j * ((a * c) - (y * i));
double tmp;
if (j <= -3.8) {
tmp = t_1;
} else if (j <= -1.65e-293) {
tmp = t * ((b * i) - (x * a));
} else if (j <= 340.0) {
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 = j * ((a * c) - (y * i))
if (j <= (-3.8d0)) then
tmp = t_1
else if (j <= (-1.65d-293)) then
tmp = t * ((b * i) - (x * a))
else if (j <= 340.0d0) 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 = j * ((a * c) - (y * i));
double tmp;
if (j <= -3.8) {
tmp = t_1;
} else if (j <= -1.65e-293) {
tmp = t * ((b * i) - (x * a));
} else if (j <= 340.0) {
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 = j * ((a * c) - (y * i)) tmp = 0 if j <= -3.8: tmp = t_1 elif j <= -1.65e-293: tmp = t * ((b * i) - (x * a)) elif j <= 340.0: 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(j * Float64(Float64(a * c) - Float64(y * i))) tmp = 0.0 if (j <= -3.8) tmp = t_1; elseif (j <= -1.65e-293) tmp = Float64(t * Float64(Float64(b * i) - Float64(x * a))); elseif (j <= 340.0) 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 = j * ((a * c) - (y * i)); tmp = 0.0; if (j <= -3.8) tmp = t_1; elseif (j <= -1.65e-293) tmp = t * ((b * i) - (x * a)); elseif (j <= 340.0) 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[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -3.8], t$95$1, If[LessEqual[j, -1.65e-293], N[(t * N[(N[(b * i), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 340.0], N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(a \cdot c - y \cdot i\right)\\
\mathbf{if}\;j \leq -3.8:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq -1.65 \cdot 10^{-293}:\\
\;\;\;\;t \cdot \left(b \cdot i - x \cdot a\right)\\
\mathbf{elif}\;j \leq 340:\\
\;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if j < -3.7999999999999998 or 340 < j Initial program 71.4%
Taylor expanded in j around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6465.5%
Simplified65.5%
if -3.7999999999999998 < j < -1.6499999999999999e-293Initial program 67.8%
Taylor expanded in c around inf
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
associate-*r*N/A
associate-/l*N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
/-lowering-/.f6470.8%
Simplified70.8%
Taylor expanded in t around inf
*-lowering-*.f64N/A
cancel-sign-sub-invN/A
metadata-evalN/A
*-lft-identityN/A
+-commutativeN/A
mul-1-negN/A
sub-negN/A
--lowering--.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f6458.4%
Simplified58.4%
if -1.6499999999999999e-293 < j < 340Initial program 78.7%
Taylor expanded in b around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6447.4%
Simplified47.4%
Final simplification59.0%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* a (- (* c j) (* x t)))))
(if (<= a -1.28e-58)
t_1
(if (<= a 2.35e-242)
(* x (* y z))
(if (<= a 1.85e+51) (- 0.0 (* j (* 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 = a * ((c * j) - (x * t));
double tmp;
if (a <= -1.28e-58) {
tmp = t_1;
} else if (a <= 2.35e-242) {
tmp = x * (y * z);
} else if (a <= 1.85e+51) {
tmp = 0.0 - (j * (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 = a * ((c * j) - (x * t))
if (a <= (-1.28d-58)) then
tmp = t_1
else if (a <= 2.35d-242) then
tmp = x * (y * z)
else if (a <= 1.85d+51) then
tmp = 0.0d0 - (j * (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 = a * ((c * j) - (x * t));
double tmp;
if (a <= -1.28e-58) {
tmp = t_1;
} else if (a <= 2.35e-242) {
tmp = x * (y * z);
} else if (a <= 1.85e+51) {
tmp = 0.0 - (j * (y * i));
} 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.28e-58: tmp = t_1 elif a <= 2.35e-242: tmp = x * (y * z) elif a <= 1.85e+51: tmp = 0.0 - (j * (y * i)) 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.28e-58) tmp = t_1; elseif (a <= 2.35e-242) tmp = Float64(x * Float64(y * z)); elseif (a <= 1.85e+51) tmp = Float64(0.0 - Float64(j * 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 = a * ((c * j) - (x * t)); tmp = 0.0; if (a <= -1.28e-58) tmp = t_1; elseif (a <= 2.35e-242) tmp = x * (y * z); elseif (a <= 1.85e+51) tmp = 0.0 - (j * (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[(a * N[(N[(c * j), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -1.28e-58], t$95$1, If[LessEqual[a, 2.35e-242], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.85e+51], N[(0.0 - N[(j * N[(y * i), $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.28 \cdot 10^{-58}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq 2.35 \cdot 10^{-242}:\\
\;\;\;\;x \cdot \left(y \cdot z\right)\\
\mathbf{elif}\;a \leq 1.85 \cdot 10^{+51}:\\
\;\;\;\;0 - j \cdot \left(y \cdot i\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if a < -1.28e-58 or 1.8500000000000001e51 < a Initial program 67.6%
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-*.f6456.5%
Simplified56.5%
if -1.28e-58 < a < 2.35000000000000018e-242Initial program 74.7%
Taylor expanded in x around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6439.0%
Simplified39.0%
Taylor expanded in y around inf
*-lowering-*.f64N/A
*-lowering-*.f6438.9%
Simplified38.9%
if 2.35000000000000018e-242 < a < 1.8500000000000001e51Initial program 81.3%
Taylor expanded in x 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-*.f6471.7%
Simplified71.7%
Taylor expanded in y around inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f64N/A
associate-*r*N/A
*-lowering-*.f64N/A
*-lowering-*.f6434.4%
Simplified34.4%
sub0-negN/A
neg-lowering-neg.f64N/A
*-commutativeN/A
associate-*l*N/A
*-lowering-*.f64N/A
*-lowering-*.f6440.3%
Applied egg-rr40.3%
Final simplification49.2%
(FPCore (x y z t a b c i j)
:precision binary64
(if (<= i -5.2e+118)
(* i (* t b))
(if (<= i -1.7e-214)
(* j (* a c))
(if (<= i 1.4e+67) (* a (- 0.0 (* x t))) (* t (* b i))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (i <= -5.2e+118) {
tmp = i * (t * b);
} else if (i <= -1.7e-214) {
tmp = j * (a * c);
} else if (i <= 1.4e+67) {
tmp = a * (0.0 - (x * t));
} else {
tmp = t * (b * 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) :: tmp
if (i <= (-5.2d+118)) then
tmp = i * (t * b)
else if (i <= (-1.7d-214)) then
tmp = j * (a * c)
else if (i <= 1.4d+67) then
tmp = a * (0.0d0 - (x * t))
else
tmp = t * (b * 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 tmp;
if (i <= -5.2e+118) {
tmp = i * (t * b);
} else if (i <= -1.7e-214) {
tmp = j * (a * c);
} else if (i <= 1.4e+67) {
tmp = a * (0.0 - (x * t));
} else {
tmp = t * (b * i);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if i <= -5.2e+118: tmp = i * (t * b) elif i <= -1.7e-214: tmp = j * (a * c) elif i <= 1.4e+67: tmp = a * (0.0 - (x * t)) else: tmp = t * (b * i) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (i <= -5.2e+118) tmp = Float64(i * Float64(t * b)); elseif (i <= -1.7e-214) tmp = Float64(j * Float64(a * c)); elseif (i <= 1.4e+67) tmp = Float64(a * Float64(0.0 - Float64(x * t))); else tmp = Float64(t * Float64(b * i)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if (i <= -5.2e+118) tmp = i * (t * b); elseif (i <= -1.7e-214) tmp = j * (a * c); elseif (i <= 1.4e+67) tmp = a * (0.0 - (x * t)); else tmp = t * (b * i); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[i, -5.2e+118], N[(i * N[(t * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -1.7e-214], N[(j * N[(a * c), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.4e+67], N[(a * N[(0.0 - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t * N[(b * i), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;i \leq -5.2 \cdot 10^{+118}:\\
\;\;\;\;i \cdot \left(t \cdot b\right)\\
\mathbf{elif}\;i \leq -1.7 \cdot 10^{-214}:\\
\;\;\;\;j \cdot \left(a \cdot c\right)\\
\mathbf{elif}\;i \leq 1.4 \cdot 10^{+67}:\\
\;\;\;\;a \cdot \left(0 - x \cdot t\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(b \cdot i\right)\\
\end{array}
\end{array}
if i < -5.20000000000000032e118Initial program 74.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--.f6454.0%
Simplified54.0%
Taylor expanded in a around 0
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6445.9%
Simplified45.9%
associate-*r*N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6448.6%
Applied egg-rr48.6%
if -5.20000000000000032e118 < i < -1.7e-214Initial program 69.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.1%
Simplified52.1%
Taylor expanded in j around inf
*-lowering-*.f64N/A
*-lowering-*.f6440.0%
Simplified40.0%
associate-*r*N/A
*-lowering-*.f64N/A
*-lowering-*.f6441.4%
Applied egg-rr41.4%
if -1.7e-214 < i < 1.3999999999999999e67Initial program 75.3%
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--.f6437.8%
Simplified37.8%
sub0-negN/A
distribute-rgt-neg-outN/A
neg-lowering-neg.f64N/A
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6437.8%
Applied egg-rr37.8%
Taylor expanded in a around inf
*-lowering-*.f64N/A
*-lowering-*.f6433.1%
Simplified33.1%
if 1.3999999999999999e67 < i Initial program 68.9%
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--.f6442.0%
Simplified42.0%
Taylor expanded in a around 0
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6438.2%
Simplified38.2%
*-commutativeN/A
associate-*r*N/A
*-lowering-*.f64N/A
*-lowering-*.f6440.0%
Applied egg-rr40.0%
Final simplification38.8%
(FPCore (x y z t a b c i j)
:precision binary64
(if (<= c -1.6)
(* a (* c j))
(if (<= c 7e-161)
(* x (* y z))
(if (<= c 1.9e+29) (* b (* t i)) (* j (* a c))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (c <= -1.6) {
tmp = a * (c * j);
} else if (c <= 7e-161) {
tmp = x * (y * z);
} else if (c <= 1.9e+29) {
tmp = b * (t * i);
} else {
tmp = j * (a * 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 (c <= (-1.6d0)) then
tmp = a * (c * j)
else if (c <= 7d-161) then
tmp = x * (y * z)
else if (c <= 1.9d+29) then
tmp = b * (t * i)
else
tmp = j * (a * 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 (c <= -1.6) {
tmp = a * (c * j);
} else if (c <= 7e-161) {
tmp = x * (y * z);
} else if (c <= 1.9e+29) {
tmp = b * (t * i);
} else {
tmp = j * (a * c);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if c <= -1.6: tmp = a * (c * j) elif c <= 7e-161: tmp = x * (y * z) elif c <= 1.9e+29: tmp = b * (t * i) else: tmp = j * (a * c) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (c <= -1.6) tmp = Float64(a * Float64(c * j)); elseif (c <= 7e-161) tmp = Float64(x * Float64(y * z)); elseif (c <= 1.9e+29) tmp = Float64(b * Float64(t * i)); else tmp = Float64(j * Float64(a * c)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if (c <= -1.6) tmp = a * (c * j); elseif (c <= 7e-161) tmp = x * (y * z); elseif (c <= 1.9e+29) tmp = b * (t * i); else tmp = j * (a * c); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[c, -1.6], N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 7e-161], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.9e+29], N[(b * N[(t * i), $MachinePrecision]), $MachinePrecision], N[(j * N[(a * c), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;c \leq -1.6:\\
\;\;\;\;a \cdot \left(c \cdot j\right)\\
\mathbf{elif}\;c \leq 7 \cdot 10^{-161}:\\
\;\;\;\;x \cdot \left(y \cdot z\right)\\
\mathbf{elif}\;c \leq 1.9 \cdot 10^{+29}:\\
\;\;\;\;b \cdot \left(t \cdot i\right)\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(a \cdot c\right)\\
\end{array}
\end{array}
if c < -1.6000000000000001Initial program 53.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-*.f6438.3%
Simplified38.3%
Taylor expanded in j around inf
*-lowering-*.f64N/A
*-lowering-*.f6431.0%
Simplified31.0%
if -1.6000000000000001 < c < 7.00000000000000039e-161Initial program 86.8%
Taylor expanded in x around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6448.2%
Simplified48.2%
Taylor expanded in y around inf
*-lowering-*.f64N/A
*-lowering-*.f6432.8%
Simplified32.8%
if 7.00000000000000039e-161 < c < 1.89999999999999985e29Initial program 89.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--.f6464.8%
Simplified64.8%
Taylor expanded in a around 0
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6449.0%
Simplified49.0%
if 1.89999999999999985e29 < c Initial program 54.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-*.f6459.2%
Simplified59.2%
Taylor expanded in j around inf
*-lowering-*.f64N/A
*-lowering-*.f6440.3%
Simplified40.3%
associate-*r*N/A
*-lowering-*.f64N/A
*-lowering-*.f6448.4%
Applied egg-rr48.4%
Final simplification38.4%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* a (* c j))))
(if (<= c -38.0)
t_1
(if (<= c 1.42e-161)
(* x (* y z))
(if (<= c 1.5e+29) (* b (* t 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 = a * (c * j);
double tmp;
if (c <= -38.0) {
tmp = t_1;
} else if (c <= 1.42e-161) {
tmp = x * (y * z);
} else if (c <= 1.5e+29) {
tmp = b * (t * 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 = a * (c * j)
if (c <= (-38.0d0)) then
tmp = t_1
else if (c <= 1.42d-161) then
tmp = x * (y * z)
else if (c <= 1.5d+29) then
tmp = b * (t * 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 = a * (c * j);
double tmp;
if (c <= -38.0) {
tmp = t_1;
} else if (c <= 1.42e-161) {
tmp = x * (y * z);
} else if (c <= 1.5e+29) {
tmp = b * (t * i);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = a * (c * j) tmp = 0 if c <= -38.0: tmp = t_1 elif c <= 1.42e-161: tmp = x * (y * z) elif c <= 1.5e+29: tmp = b * (t * i) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(a * Float64(c * j)) tmp = 0.0 if (c <= -38.0) tmp = t_1; elseif (c <= 1.42e-161) tmp = Float64(x * Float64(y * z)); elseif (c <= 1.5e+29) tmp = Float64(b * Float64(t * i)); 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); tmp = 0.0; if (c <= -38.0) tmp = t_1; elseif (c <= 1.42e-161) tmp = x * (y * z); elseif (c <= 1.5e+29) tmp = b * (t * 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[(a * N[(c * j), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -38.0], t$95$1, If[LessEqual[c, 1.42e-161], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.5e+29], N[(b * N[(t * i), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(c \cdot j\right)\\
\mathbf{if}\;c \leq -38:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;c \leq 1.42 \cdot 10^{-161}:\\
\;\;\;\;x \cdot \left(y \cdot z\right)\\
\mathbf{elif}\;c \leq 1.5 \cdot 10^{+29}:\\
\;\;\;\;b \cdot \left(t \cdot i\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if c < -38 or 1.5e29 < c Initial program 53.8%
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-*.f6448.6%
Simplified48.6%
Taylor expanded in j around inf
*-lowering-*.f64N/A
*-lowering-*.f6435.6%
Simplified35.6%
if -38 < c < 1.42000000000000004e-161Initial program 86.8%
Taylor expanded in x around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6448.2%
Simplified48.2%
Taylor expanded in y around inf
*-lowering-*.f64N/A
*-lowering-*.f6432.8%
Simplified32.8%
if 1.42000000000000004e-161 < c < 1.5e29Initial program 89.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--.f6464.8%
Simplified64.8%
Taylor expanded in a around 0
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6449.0%
Simplified49.0%
(FPCore (x y z t a b c i j) :precision binary64 (let* ((t_1 (* j (- (* a c) (* y i))))) (if (<= j -1.85e-26) t_1 (if (<= j 320.0) (* 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 = j * ((a * c) - (y * i));
double tmp;
if (j <= -1.85e-26) {
tmp = t_1;
} else if (j <= 320.0) {
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 = j * ((a * c) - (y * i))
if (j <= (-1.85d-26)) then
tmp = t_1
else if (j <= 320.0d0) 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 = j * ((a * c) - (y * i));
double tmp;
if (j <= -1.85e-26) {
tmp = t_1;
} else if (j <= 320.0) {
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 = j * ((a * c) - (y * i)) tmp = 0 if j <= -1.85e-26: tmp = t_1 elif j <= 320.0: 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(j * Float64(Float64(a * c) - Float64(y * i))) tmp = 0.0 if (j <= -1.85e-26) tmp = t_1; elseif (j <= 320.0) 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 = j * ((a * c) - (y * i)); tmp = 0.0; if (j <= -1.85e-26) tmp = t_1; elseif (j <= 320.0) 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[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -1.85e-26], t$95$1, If[LessEqual[j, 320.0], N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(a \cdot c - y \cdot i\right)\\
\mathbf{if}\;j \leq -1.85 \cdot 10^{-26}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq 320:\\
\;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if j < -1.8499999999999999e-26 or 320 < j Initial program 72.1%
Taylor expanded in j around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6464.7%
Simplified64.7%
if -1.8499999999999999e-26 < j < 320Initial program 72.5%
Taylor expanded in b around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6443.5%
Simplified43.5%
Final simplification54.0%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* a (- (* c j) (* x t)))))
(if (<= a -1.06e+168)
t_1
(if (<= a 4.2e+121) (* 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.06e+168) {
tmp = t_1;
} else if (a <= 4.2e+121) {
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.06d+168)) then
tmp = t_1
else if (a <= 4.2d+121) 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.06e+168) {
tmp = t_1;
} else if (a <= 4.2e+121) {
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.06e+168: tmp = t_1 elif a <= 4.2e+121: 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.06e+168) tmp = t_1; elseif (a <= 4.2e+121) 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.06e+168) tmp = t_1; elseif (a <= 4.2e+121) 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.06e+168], t$95$1, If[LessEqual[a, 4.2e+121], 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.06 \cdot 10^{+168}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq 4.2 \cdot 10^{+121}:\\
\;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if a < -1.0599999999999999e168 or 4.2000000000000003e121 < a Initial program 62.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-*.f6474.2%
Simplified74.2%
if -1.0599999999999999e168 < a < 4.2000000000000003e121Initial program 76.6%
Taylor expanded in b around inf
*-lowering-*.f64N/A
--lowering--.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6441.8%
Simplified41.8%
Final simplification51.4%
(FPCore (x y z t a b c i j) :precision binary64 (let* ((t_1 (* b (* t i)))) (if (<= i -5.5e+118) t_1 (if (<= i 2.4e-22) (* 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 (i <= -5.5e+118) {
tmp = t_1;
} else if (i <= 2.4e-22) {
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 (i <= (-5.5d+118)) then
tmp = t_1
else if (i <= 2.4d-22) 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 (i <= -5.5e+118) {
tmp = t_1;
} else if (i <= 2.4e-22) {
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 i <= -5.5e+118: tmp = t_1 elif i <= 2.4e-22: 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 (i <= -5.5e+118) tmp = t_1; elseif (i <= 2.4e-22) 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 (i <= -5.5e+118) tmp = t_1; elseif (i <= 2.4e-22) 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[i, -5.5e+118], t$95$1, If[LessEqual[i, 2.4e-22], 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}\;i \leq -5.5 \cdot 10^{+118}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;i \leq 2.4 \cdot 10^{-22}:\\
\;\;\;\;a \cdot \left(c \cdot j\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if i < -5.5000000000000003e118 or 2.40000000000000002e-22 < i Initial program 72.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--.f6446.9%
Simplified46.9%
Taylor expanded in a around 0
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6436.4%
Simplified36.4%
if -5.5000000000000003e118 < i < 2.40000000000000002e-22Initial program 72.6%
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.8%
Simplified47.8%
Taylor expanded in j around inf
*-lowering-*.f64N/A
*-lowering-*.f6429.4%
Simplified29.4%
(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 72.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-*.f6439.5%
Simplified39.5%
Taylor expanded in j around inf
*-lowering-*.f64N/A
*-lowering-*.f6422.3%
Simplified22.3%
(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 2024138
(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)))))