
(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 22 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 (pow (cbrt (* i (fma b t (* y (- j))))) 3.0))))
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 = pow(cbrt((i * fma(b, t, (y * -j)))), 3.0);
}
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 = cbrt(Float64(i * fma(b, t, Float64(y * Float64(-j))))) ^ 3.0; end return 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[Power[N[Power[N[(i * N[(b * t + N[(y * (-j)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1/3], $MachinePrecision], 3.0], $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(t \cdot i - z \cdot c\right)\right) + j \cdot \left(a \cdot c - y \cdot i\right)\\
\mathbf{if}\;t_1 \leq \infty:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;{\left(\sqrt[3]{i \cdot \mathsf{fma}\left(b, t, y \cdot \left(-j\right)\right)}\right)}^{3}\\
\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 95.3%
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%
+-commutative0.0%
fma-def6.5%
*-commutative6.5%
sub-neg6.5%
sub-neg6.5%
*-commutative6.5%
Simplified6.5%
Taylor expanded in y around 0 19.6%
associate-*r*19.6%
neg-mul-119.6%
fma-neg21.7%
distribute-rgt-neg-in21.7%
neg-sub021.7%
associate--r-21.7%
neg-sub021.7%
+-commutative21.7%
sub-neg21.7%
Simplified21.7%
Taylor expanded in i around inf 50.8%
add-cube-cbrt50.8%
pow350.8%
+-commutative50.8%
fma-def53.0%
mul-1-neg53.0%
Applied egg-rr53.0%
Final simplification87.7%
(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 (* t (- (* b i) (* x a))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double 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 = t * ((b * i) - (x * a));
}
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 = t * ((b * i) - (x * a));
}
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 = t * ((b * i) - (x * a)) 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(t * Float64(Float64(b * i) - Float64(x * a))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) 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 = t * ((b * i) - (x * a)); 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[(t * N[(N[(b * i), $MachinePrecision] - N[(x * a), $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}:\\
\;\;\;\;t \cdot \left(b \cdot i - x \cdot a\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 95.3%
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%
+-commutative0.0%
fma-def6.5%
*-commutative6.5%
sub-neg6.5%
sub-neg6.5%
*-commutative6.5%
Simplified6.5%
Applied egg-rr2.2%
count-22.2%
Simplified2.2%
Taylor expanded in t around inf 35.0%
neg-mul-135.0%
associate--l+35.0%
distribute-lft-in28.5%
distribute-lft1-in28.5%
metadata-eval28.5%
*-commutative28.5%
mul0-lft41.6%
metadata-eval41.6%
neg-sub041.6%
mul-1-neg41.6%
*-commutative41.6%
remove-double-neg41.6%
*-commutative41.6%
Simplified52.4%
Final simplification87.6%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* j (- (* a c) (* y i))))
(t_2 (- t_1 (* a (* x t))))
(t_3 (+ (* x (* y z)) (* b (- (* t i) (* z c))))))
(if (<= j -3.5e-44)
t_2
(if (<= j -9.4e-206)
t_3
(if (<= j -1.05e-298)
(* x (- (* y z) (* t a)))
(if (<= j 4.1e-53)
(* t (- (* b i) (* x a)))
(if (<= j 1.2e+148) t_2 (if (<= j 5.4e+210) t_3 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 t_2 = t_1 - (a * (x * t));
double t_3 = (x * (y * z)) + (b * ((t * i) - (z * c)));
double tmp;
if (j <= -3.5e-44) {
tmp = t_2;
} else if (j <= -9.4e-206) {
tmp = t_3;
} else if (j <= -1.05e-298) {
tmp = x * ((y * z) - (t * a));
} else if (j <= 4.1e-53) {
tmp = t * ((b * i) - (x * a));
} else if (j <= 1.2e+148) {
tmp = t_2;
} else if (j <= 5.4e+210) {
tmp = t_3;
} 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) :: t_2
real(8) :: t_3
real(8) :: tmp
t_1 = j * ((a * c) - (y * i))
t_2 = t_1 - (a * (x * t))
t_3 = (x * (y * z)) + (b * ((t * i) - (z * c)))
if (j <= (-3.5d-44)) then
tmp = t_2
else if (j <= (-9.4d-206)) then
tmp = t_3
else if (j <= (-1.05d-298)) then
tmp = x * ((y * z) - (t * a))
else if (j <= 4.1d-53) then
tmp = t * ((b * i) - (x * a))
else if (j <= 1.2d+148) then
tmp = t_2
else if (j <= 5.4d+210) then
tmp = t_3
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 t_2 = t_1 - (a * (x * t));
double t_3 = (x * (y * z)) + (b * ((t * i) - (z * c)));
double tmp;
if (j <= -3.5e-44) {
tmp = t_2;
} else if (j <= -9.4e-206) {
tmp = t_3;
} else if (j <= -1.05e-298) {
tmp = x * ((y * z) - (t * a));
} else if (j <= 4.1e-53) {
tmp = t * ((b * i) - (x * a));
} else if (j <= 1.2e+148) {
tmp = t_2;
} else if (j <= 5.4e+210) {
tmp = t_3;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = j * ((a * c) - (y * i)) t_2 = t_1 - (a * (x * t)) t_3 = (x * (y * z)) + (b * ((t * i) - (z * c))) tmp = 0 if j <= -3.5e-44: tmp = t_2 elif j <= -9.4e-206: tmp = t_3 elif j <= -1.05e-298: tmp = x * ((y * z) - (t * a)) elif j <= 4.1e-53: tmp = t * ((b * i) - (x * a)) elif j <= 1.2e+148: tmp = t_2 elif j <= 5.4e+210: tmp = t_3 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))) t_2 = Float64(t_1 - Float64(a * Float64(x * t))) t_3 = Float64(Float64(x * Float64(y * z)) + Float64(b * Float64(Float64(t * i) - Float64(z * c)))) tmp = 0.0 if (j <= -3.5e-44) tmp = t_2; elseif (j <= -9.4e-206) tmp = t_3; elseif (j <= -1.05e-298) tmp = Float64(x * Float64(Float64(y * z) - Float64(t * a))); elseif (j <= 4.1e-53) tmp = Float64(t * Float64(Float64(b * i) - Float64(x * a))); elseif (j <= 1.2e+148) tmp = t_2; elseif (j <= 5.4e+210) tmp = t_3; 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)); t_2 = t_1 - (a * (x * t)); t_3 = (x * (y * z)) + (b * ((t * i) - (z * c))); tmp = 0.0; if (j <= -3.5e-44) tmp = t_2; elseif (j <= -9.4e-206) tmp = t_3; elseif (j <= -1.05e-298) tmp = x * ((y * z) - (t * a)); elseif (j <= 4.1e-53) tmp = t * ((b * i) - (x * a)); elseif (j <= 1.2e+148) tmp = t_2; elseif (j <= 5.4e+210) tmp = t_3; 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]}, Block[{t$95$2 = N[(t$95$1 - N[(a * N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -3.5e-44], t$95$2, If[LessEqual[j, -9.4e-206], t$95$3, If[LessEqual[j, -1.05e-298], N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 4.1e-53], N[(t * N[(N[(b * i), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.2e+148], t$95$2, If[LessEqual[j, 5.4e+210], t$95$3, t$95$1]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(a \cdot c - y \cdot i\right)\\
t_2 := t_1 - a \cdot \left(x \cdot t\right)\\
t_3 := x \cdot \left(y \cdot z\right) + b \cdot \left(t \cdot i - z \cdot c\right)\\
\mathbf{if}\;j \leq -3.5 \cdot 10^{-44}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;j \leq -9.4 \cdot 10^{-206}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;j \leq -1.05 \cdot 10^{-298}:\\
\;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right)\\
\mathbf{elif}\;j \leq 4.1 \cdot 10^{-53}:\\
\;\;\;\;t \cdot \left(b \cdot i - x \cdot a\right)\\
\mathbf{elif}\;j \leq 1.2 \cdot 10^{+148}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;j \leq 5.4 \cdot 10^{+210}:\\
\;\;\;\;t_3\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if j < -3.4999999999999998e-44 or 4.1000000000000001e-53 < j < 1.19999999999999997e148Initial program 81.8%
+-commutative81.8%
fma-def84.5%
*-commutative84.5%
sub-neg84.5%
sub-neg84.5%
*-commutative84.5%
Simplified84.5%
Taylor expanded in y around 0 77.0%
associate-*r*77.0%
neg-mul-177.0%
fma-neg77.0%
distribute-rgt-neg-in77.0%
neg-sub077.0%
associate--r-77.0%
neg-sub077.0%
+-commutative77.0%
sub-neg77.0%
Simplified77.0%
Taylor expanded in b around 0 69.9%
+-commutative69.9%
mul-1-neg69.9%
unsub-neg69.9%
sub-neg69.9%
*-commutative69.9%
sub-neg69.9%
Simplified69.9%
if -3.4999999999999998e-44 < j < -9.3999999999999997e-206 or 1.19999999999999997e148 < j < 5.3999999999999998e210Initial program 82.4%
Taylor expanded in j around 0 77.1%
Taylor expanded in y around inf 71.6%
if -9.3999999999999997e-206 < j < -1.05000000000000002e-298Initial program 56.4%
+-commutative56.4%
fma-def56.4%
*-commutative56.4%
sub-neg56.4%
sub-neg56.4%
*-commutative56.4%
Simplified56.4%
Applied egg-rr50.4%
count-250.4%
Simplified50.4%
Taylor expanded in x around inf 73.5%
*-commutative73.5%
*-commutative73.5%
Simplified73.5%
if -1.05000000000000002e-298 < j < 4.1000000000000001e-53Initial program 77.8%
+-commutative77.8%
fma-def77.8%
*-commutative77.8%
sub-neg77.8%
sub-neg77.8%
*-commutative77.8%
Simplified77.8%
Applied egg-rr61.1%
count-261.1%
Simplified61.1%
Taylor expanded in t around inf 49.8%
neg-mul-149.8%
associate--l+49.8%
distribute-lft-in48.0%
distribute-lft1-in48.0%
metadata-eval48.0%
*-commutative48.0%
mul0-lft61.1%
metadata-eval61.1%
neg-sub061.1%
mul-1-neg61.1%
*-commutative61.1%
remove-double-neg61.1%
*-commutative61.1%
Simplified64.8%
if 5.3999999999999998e210 < j Initial program 68.2%
+-commutative68.2%
fma-def68.2%
*-commutative68.2%
sub-neg68.2%
sub-neg68.2%
*-commutative68.2%
Simplified68.2%
Taylor expanded in y around 0 63.6%
associate-*r*63.6%
neg-mul-163.6%
fma-neg63.6%
distribute-rgt-neg-in63.6%
neg-sub063.6%
associate--r-63.6%
neg-sub063.6%
+-commutative63.6%
sub-neg63.6%
Simplified63.6%
Taylor expanded in j around inf 82.2%
sub-neg82.2%
*-commutative82.2%
sub-neg82.2%
Simplified82.2%
Final simplification70.5%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* x (- (* y z) (* t a)))))
(if (<= y -1.3e+229)
(* y (- (* x z) (* i j)))
(if (<= y -1.7e+166)
t_1
(if (or (<= y -7.5e-35) (not (<= y 2.7e-44)))
(+ t_1 (* j (- (* a c) (* y i))))
(- (* t (- (* b i) (* x a))) (* c (- (* z b) (* a j)))))))))
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));
double tmp;
if (y <= -1.3e+229) {
tmp = y * ((x * z) - (i * j));
} else if (y <= -1.7e+166) {
tmp = t_1;
} else if ((y <= -7.5e-35) || !(y <= 2.7e-44)) {
tmp = t_1 + (j * ((a * c) - (y * i)));
} else {
tmp = (t * ((b * i) - (x * a))) - (c * ((z * b) - (a * j)));
}
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 * z) - (t * a))
if (y <= (-1.3d+229)) then
tmp = y * ((x * z) - (i * j))
else if (y <= (-1.7d+166)) then
tmp = t_1
else if ((y <= (-7.5d-35)) .or. (.not. (y <= 2.7d-44))) then
tmp = t_1 + (j * ((a * c) - (y * i)))
else
tmp = (t * ((b * i) - (x * a))) - (c * ((z * b) - (a * j)))
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 * z) - (t * a));
double tmp;
if (y <= -1.3e+229) {
tmp = y * ((x * z) - (i * j));
} else if (y <= -1.7e+166) {
tmp = t_1;
} else if ((y <= -7.5e-35) || !(y <= 2.7e-44)) {
tmp = t_1 + (j * ((a * c) - (y * i)));
} else {
tmp = (t * ((b * i) - (x * a))) - (c * ((z * b) - (a * j)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = x * ((y * z) - (t * a)) tmp = 0 if y <= -1.3e+229: tmp = y * ((x * z) - (i * j)) elif y <= -1.7e+166: tmp = t_1 elif (y <= -7.5e-35) or not (y <= 2.7e-44): tmp = t_1 + (j * ((a * c) - (y * i))) else: tmp = (t * ((b * i) - (x * a))) - (c * ((z * b) - (a * j))) return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(x * Float64(Float64(y * z) - Float64(t * a))) tmp = 0.0 if (y <= -1.3e+229) tmp = Float64(y * Float64(Float64(x * z) - Float64(i * j))); elseif (y <= -1.7e+166) tmp = t_1; elseif ((y <= -7.5e-35) || !(y <= 2.7e-44)) tmp = Float64(t_1 + Float64(j * Float64(Float64(a * c) - Float64(y * i)))); else tmp = Float64(Float64(t * Float64(Float64(b * i) - Float64(x * a))) - Float64(c * Float64(Float64(z * b) - Float64(a * j)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = x * ((y * z) - (t * a)); tmp = 0.0; if (y <= -1.3e+229) tmp = y * ((x * z) - (i * j)); elseif (y <= -1.7e+166) tmp = t_1; elseif ((y <= -7.5e-35) || ~((y <= 2.7e-44))) tmp = t_1 + (j * ((a * c) - (y * i))); else tmp = (t * ((b * i) - (x * a))) - (c * ((z * b) - (a * j))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -1.3e+229], N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -1.7e+166], t$95$1, If[Or[LessEqual[y, -7.5e-35], N[Not[LessEqual[y, 2.7e-44]], $MachinePrecision]], N[(t$95$1 + N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(t * N[(N[(b * i), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * N[(N[(z * b), $MachinePrecision] - N[(a * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(y \cdot z - t \cdot a\right)\\
\mathbf{if}\;y \leq -1.3 \cdot 10^{+229}:\\
\;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\
\mathbf{elif}\;y \leq -1.7 \cdot 10^{+166}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y \leq -7.5 \cdot 10^{-35} \lor \neg \left(y \leq 2.7 \cdot 10^{-44}\right):\\
\;\;\;\;t_1 + j \cdot \left(a \cdot c - y \cdot i\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(b \cdot i - x \cdot a\right) - c \cdot \left(z \cdot b - a \cdot j\right)\\
\end{array}
\end{array}
if y < -1.3e229Initial program 64.9%
Taylor expanded in y around inf 94.1%
+-commutative94.1%
mul-1-neg94.1%
unsub-neg94.1%
*-commutative94.1%
*-commutative94.1%
Simplified94.1%
if -1.3e229 < y < -1.7e166Initial program 63.2%
+-commutative63.2%
fma-def68.4%
*-commutative68.4%
sub-neg68.4%
sub-neg68.4%
*-commutative68.4%
Simplified68.4%
Applied egg-rr47.4%
count-247.4%
Simplified47.4%
Taylor expanded in x around inf 84.7%
*-commutative84.7%
*-commutative84.7%
Simplified84.7%
if -1.7e166 < y < -7.5e-35 or 2.6999999999999999e-44 < y Initial program 76.1%
Taylor expanded in b around 0 75.2%
if -7.5e-35 < y < 2.6999999999999999e-44Initial program 84.7%
+-commutative84.7%
fma-def85.6%
*-commutative85.6%
sub-neg85.6%
sub-neg85.6%
*-commutative85.6%
Simplified85.6%
Taylor expanded in y around 0 83.0%
associate-*r*83.0%
neg-mul-183.0%
fma-neg83.0%
distribute-rgt-neg-in83.0%
neg-sub083.0%
associate--r-83.0%
neg-sub083.0%
+-commutative83.0%
sub-neg83.0%
Simplified83.0%
fma-udef82.1%
*-commutative82.1%
*-commutative82.1%
*-commutative82.1%
Applied egg-rr82.1%
Taylor expanded in y around 0 78.3%
associate-+r+78.3%
mul-1-neg78.3%
distribute-rgt-neg-in78.3%
mul-1-neg78.3%
distribute-lft-in79.2%
fma-def79.2%
+-commutative79.2%
mul-1-neg79.2%
unsub-neg79.2%
*-commutative79.2%
Simplified79.2%
Taylor expanded in c around -inf 81.1%
+-commutative81.1%
associate-+l+81.1%
mul-1-neg81.1%
*-commutative81.1%
distribute-rgt-neg-in81.1%
+-commutative81.1%
mul-1-neg81.1%
unsub-neg81.1%
*-commutative81.1%
*-commutative81.1%
associate-*r*80.3%
mul-1-neg80.3%
*-commutative80.3%
associate-*r*79.4%
distribute-lft-neg-out79.4%
*-commutative79.4%
distribute-lft-in79.4%
unsub-neg79.4%
Simplified79.4%
Final simplification79.0%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (- (* j (- (* a c) (* y i))) (* a (* x t))))
(t_2 (* i (- (* t b) (* y j)))))
(if (<= i -1.35e+128)
t_2
(if (<= i -2.2e-147)
t_1
(if (<= i 4.1e-140)
(* x (- (* y z) (* t a)))
(if (<= i 1.18e-58)
(* c (- (* a j) (* z b)))
(if (<= i 2.4e+61) 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 * ((a * c) - (y * i))) - (a * (x * t));
double t_2 = i * ((t * b) - (y * j));
double tmp;
if (i <= -1.35e+128) {
tmp = t_2;
} else if (i <= -2.2e-147) {
tmp = t_1;
} else if (i <= 4.1e-140) {
tmp = x * ((y * z) - (t * a));
} else if (i <= 1.18e-58) {
tmp = c * ((a * j) - (z * b));
} else if (i <= 2.4e+61) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = (j * ((a * c) - (y * i))) - (a * (x * t))
t_2 = i * ((t * b) - (y * j))
if (i <= (-1.35d+128)) then
tmp = t_2
else if (i <= (-2.2d-147)) then
tmp = t_1
else if (i <= 4.1d-140) then
tmp = x * ((y * z) - (t * a))
else if (i <= 1.18d-58) then
tmp = c * ((a * j) - (z * b))
else if (i <= 2.4d+61) then
tmp = t_1
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = (j * ((a * c) - (y * i))) - (a * (x * t));
double t_2 = i * ((t * b) - (y * j));
double tmp;
if (i <= -1.35e+128) {
tmp = t_2;
} else if (i <= -2.2e-147) {
tmp = t_1;
} else if (i <= 4.1e-140) {
tmp = x * ((y * z) - (t * a));
} else if (i <= 1.18e-58) {
tmp = c * ((a * j) - (z * b));
} else if (i <= 2.4e+61) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = (j * ((a * c) - (y * i))) - (a * (x * t)) t_2 = i * ((t * b) - (y * j)) tmp = 0 if i <= -1.35e+128: tmp = t_2 elif i <= -2.2e-147: tmp = t_1 elif i <= 4.1e-140: tmp = x * ((y * z) - (t * a)) elif i <= 1.18e-58: tmp = c * ((a * j) - (z * b)) elif i <= 2.4e+61: tmp = t_1 else: tmp = t_2 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(a * Float64(x * t))) t_2 = Float64(i * Float64(Float64(t * b) - Float64(y * j))) tmp = 0.0 if (i <= -1.35e+128) tmp = t_2; elseif (i <= -2.2e-147) tmp = t_1; elseif (i <= 4.1e-140) tmp = Float64(x * Float64(Float64(y * z) - Float64(t * a))); elseif (i <= 1.18e-58) tmp = Float64(c * Float64(Float64(a * j) - Float64(z * b))); elseif (i <= 2.4e+61) tmp = t_1; else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = (j * ((a * c) - (y * i))) - (a * (x * t)); t_2 = i * ((t * b) - (y * j)); tmp = 0.0; if (i <= -1.35e+128) tmp = t_2; elseif (i <= -2.2e-147) tmp = t_1; elseif (i <= 4.1e-140) tmp = x * ((y * z) - (t * a)); elseif (i <= 1.18e-58) tmp = c * ((a * j) - (z * b)); elseif (i <= 2.4e+61) tmp = t_1; else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(a * N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(i * N[(N[(t * b), $MachinePrecision] - N[(y * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -1.35e+128], t$95$2, If[LessEqual[i, -2.2e-147], t$95$1, If[LessEqual[i, 4.1e-140], N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.18e-58], N[(c * N[(N[(a * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 2.4e+61], t$95$1, t$95$2]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(a \cdot c - y \cdot i\right) - a \cdot \left(x \cdot t\right)\\
t_2 := i \cdot \left(t \cdot b - y \cdot j\right)\\
\mathbf{if}\;i \leq -1.35 \cdot 10^{+128}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;i \leq -2.2 \cdot 10^{-147}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;i \leq 4.1 \cdot 10^{-140}:\\
\;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right)\\
\mathbf{elif}\;i \leq 1.18 \cdot 10^{-58}:\\
\;\;\;\;c \cdot \left(a \cdot j - z \cdot b\right)\\
\mathbf{elif}\;i \leq 2.4 \cdot 10^{+61}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;t_2\\
\end{array}
\end{array}
if i < -1.35000000000000001e128 or 2.3999999999999999e61 < i Initial program 67.2%
+-commutative67.2%
fma-def69.3%
*-commutative69.3%
sub-neg69.3%
sub-neg69.3%
*-commutative69.3%
Simplified69.3%
Taylor expanded in y around 0 68.3%
associate-*r*68.3%
neg-mul-168.3%
fma-neg69.3%
distribute-rgt-neg-in69.3%
neg-sub069.3%
associate--r-69.3%
neg-sub069.3%
+-commutative69.3%
sub-neg69.3%
Simplified69.3%
fma-udef66.2%
*-commutative66.2%
*-commutative66.2%
*-commutative66.2%
Applied egg-rr66.2%
Taylor expanded in i around inf 68.2%
neg-mul-168.2%
+-commutative68.2%
unsub-neg68.2%
Simplified68.2%
if -1.35000000000000001e128 < i < -2.2000000000000001e-147 or 1.17999999999999996e-58 < i < 2.3999999999999999e61Initial program 82.5%
+-commutative82.5%
fma-def82.5%
*-commutative82.5%
sub-neg82.5%
sub-neg82.5%
*-commutative82.5%
Simplified82.5%
Taylor expanded in y around 0 78.1%
associate-*r*78.1%
neg-mul-178.1%
fma-neg78.1%
distribute-rgt-neg-in78.1%
neg-sub078.1%
associate--r-78.1%
neg-sub078.1%
+-commutative78.1%
sub-neg78.1%
Simplified78.1%
Taylor expanded in b around 0 71.0%
+-commutative71.0%
mul-1-neg71.0%
unsub-neg71.0%
sub-neg71.0%
*-commutative71.0%
sub-neg71.0%
Simplified71.0%
if -2.2000000000000001e-147 < i < 4.1000000000000001e-140Initial program 83.8%
+-commutative83.8%
fma-def85.6%
*-commutative85.6%
sub-neg85.6%
sub-neg85.6%
*-commutative85.6%
Simplified85.6%
Applied egg-rr76.6%
count-276.6%
Simplified76.6%
Taylor expanded in x around inf 61.6%
*-commutative61.6%
*-commutative61.6%
Simplified61.6%
if 4.1000000000000001e-140 < i < 1.17999999999999996e-58Initial program 99.8%
Taylor expanded in c around inf 58.7%
*-commutative58.7%
Simplified58.7%
Final simplification67.1%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* b (- (* t i) (* z c)))) (t_2 (* a (- (* c j) (* x t)))))
(if (<= a -1.5e+31)
t_2
(if (<= a -0.00115)
t_1
(if (<= a -9.5e-38)
(* j (- (* y i)))
(if (<= a -7e-46)
(* z (* x y))
(if (<= a 2.2e-226)
t_1
(if (<= a 7.2e-169)
(* i (* y (- j)))
(if (<= a 7e-45) 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 = b * ((t * i) - (z * c));
double t_2 = a * ((c * j) - (x * t));
double tmp;
if (a <= -1.5e+31) {
tmp = t_2;
} else if (a <= -0.00115) {
tmp = t_1;
} else if (a <= -9.5e-38) {
tmp = j * -(y * i);
} else if (a <= -7e-46) {
tmp = z * (x * y);
} else if (a <= 2.2e-226) {
tmp = t_1;
} else if (a <= 7.2e-169) {
tmp = i * (y * -j);
} else if (a <= 7e-45) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = b * ((t * i) - (z * c))
t_2 = a * ((c * j) - (x * t))
if (a <= (-1.5d+31)) then
tmp = t_2
else if (a <= (-0.00115d0)) then
tmp = t_1
else if (a <= (-9.5d-38)) then
tmp = j * -(y * i)
else if (a <= (-7d-46)) then
tmp = z * (x * y)
else if (a <= 2.2d-226) then
tmp = t_1
else if (a <= 7.2d-169) then
tmp = i * (y * -j)
else if (a <= 7d-45) then
tmp = t_1
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = b * ((t * i) - (z * c));
double t_2 = a * ((c * j) - (x * t));
double tmp;
if (a <= -1.5e+31) {
tmp = t_2;
} else if (a <= -0.00115) {
tmp = t_1;
} else if (a <= -9.5e-38) {
tmp = j * -(y * i);
} else if (a <= -7e-46) {
tmp = z * (x * y);
} else if (a <= 2.2e-226) {
tmp = t_1;
} else if (a <= 7.2e-169) {
tmp = i * (y * -j);
} else if (a <= 7e-45) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = b * ((t * i) - (z * c)) t_2 = a * ((c * j) - (x * t)) tmp = 0 if a <= -1.5e+31: tmp = t_2 elif a <= -0.00115: tmp = t_1 elif a <= -9.5e-38: tmp = j * -(y * i) elif a <= -7e-46: tmp = z * (x * y) elif a <= 2.2e-226: tmp = t_1 elif a <= 7.2e-169: tmp = i * (y * -j) elif a <= 7e-45: tmp = t_1 else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(b * Float64(Float64(t * i) - Float64(z * c))) t_2 = Float64(a * Float64(Float64(c * j) - Float64(x * t))) tmp = 0.0 if (a <= -1.5e+31) tmp = t_2; elseif (a <= -0.00115) tmp = t_1; elseif (a <= -9.5e-38) tmp = Float64(j * Float64(-Float64(y * i))); elseif (a <= -7e-46) tmp = Float64(z * Float64(x * y)); elseif (a <= 2.2e-226) tmp = t_1; elseif (a <= 7.2e-169) tmp = Float64(i * Float64(y * Float64(-j))); elseif (a <= 7e-45) tmp = t_1; else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = b * ((t * i) - (z * c)); t_2 = a * ((c * j) - (x * t)); tmp = 0.0; if (a <= -1.5e+31) tmp = t_2; elseif (a <= -0.00115) tmp = t_1; elseif (a <= -9.5e-38) tmp = j * -(y * i); elseif (a <= -7e-46) tmp = z * (x * y); elseif (a <= 2.2e-226) tmp = t_1; elseif (a <= 7.2e-169) tmp = i * (y * -j); elseif (a <= 7e-45) tmp = t_1; else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a * N[(N[(c * j), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -1.5e+31], t$95$2, If[LessEqual[a, -0.00115], t$95$1, If[LessEqual[a, -9.5e-38], N[(j * (-N[(y * i), $MachinePrecision])), $MachinePrecision], If[LessEqual[a, -7e-46], N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2.2e-226], t$95$1, If[LessEqual[a, 7.2e-169], N[(i * N[(y * (-j)), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 7e-45], t$95$1, t$95$2]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(t \cdot i - z \cdot c\right)\\
t_2 := a \cdot \left(c \cdot j - x \cdot t\right)\\
\mathbf{if}\;a \leq -1.5 \cdot 10^{+31}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;a \leq -0.00115:\\
\;\;\;\;t_1\\
\mathbf{elif}\;a \leq -9.5 \cdot 10^{-38}:\\
\;\;\;\;j \cdot \left(-y \cdot i\right)\\
\mathbf{elif}\;a \leq -7 \cdot 10^{-46}:\\
\;\;\;\;z \cdot \left(x \cdot y\right)\\
\mathbf{elif}\;a \leq 2.2 \cdot 10^{-226}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;a \leq 7.2 \cdot 10^{-169}:\\
\;\;\;\;i \cdot \left(y \cdot \left(-j\right)\right)\\
\mathbf{elif}\;a \leq 7 \cdot 10^{-45}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;t_2\\
\end{array}
\end{array}
if a < -1.49999999999999995e31 or 7e-45 < a Initial program 71.9%
Taylor expanded in a around inf 63.4%
+-commutative63.4%
mul-1-neg63.4%
unsub-neg63.4%
*-commutative63.4%
Simplified63.4%
if -1.49999999999999995e31 < a < -0.00115 or -7.0000000000000004e-46 < a < 2.2e-226 or 7.20000000000000003e-169 < a < 7e-45Initial program 85.3%
Taylor expanded in b around inf 51.0%
if -0.00115 < a < -9.5000000000000009e-38Initial program 99.3%
+-commutative99.3%
fma-def99.3%
*-commutative99.3%
sub-neg99.3%
sub-neg99.3%
*-commutative99.3%
Simplified99.3%
Taylor expanded in y around 0 72.8%
associate-*r*72.8%
neg-mul-172.8%
fma-neg72.8%
distribute-rgt-neg-in72.8%
neg-sub072.8%
associate--r-72.8%
neg-sub072.8%
+-commutative72.8%
sub-neg72.8%
Simplified72.8%
Taylor expanded in y around inf 45.9%
mul-1-neg45.9%
*-commutative45.9%
distribute-rgt-neg-in45.9%
*-commutative45.9%
Simplified45.9%
Taylor expanded in y around 0 45.9%
associate-*r*45.9%
neg-mul-145.9%
*-commutative45.9%
associate-*l*58.0%
Simplified58.0%
if -9.5000000000000009e-38 < a < -7.0000000000000004e-46Initial program 75.0%
Taylor expanded in z around inf 100.0%
*-commutative100.0%
*-commutative100.0%
Simplified100.0%
Taylor expanded in y around inf 75.7%
if 2.2e-226 < a < 7.20000000000000003e-169Initial program 73.3%
+-commutative73.3%
fma-def73.3%
*-commutative73.3%
sub-neg73.3%
sub-neg73.3%
*-commutative73.3%
Simplified73.3%
Taylor expanded in y around 0 60.4%
associate-*r*60.4%
neg-mul-160.4%
fma-neg60.4%
distribute-rgt-neg-in60.4%
neg-sub060.4%
associate--r-60.4%
neg-sub060.4%
+-commutative60.4%
sub-neg60.4%
Simplified60.4%
Taylor expanded in y around inf 48.2%
mul-1-neg48.2%
*-commutative48.2%
distribute-rgt-neg-in48.2%
*-commutative48.2%
Simplified48.2%
Final simplification57.6%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* b (- (* t i) (* z c)))) (t_2 (* a (- (* c j) (* x t)))))
(if (<= a -4.8e+28)
t_2
(if (<= a -8.2e-10)
t_1
(if (<= a -4.1e-37)
(* j (- (* y i)))
(if (<= a -4.8e-46)
(* z (* x y))
(if (<= a 8.4e-227)
t_1
(if (<= a 5.5e-194)
(* i (* y (- j)))
(if (<= a 5.2e+49) (* c (- (* a j) (* z b))) 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 = b * ((t * i) - (z * c));
double t_2 = a * ((c * j) - (x * t));
double tmp;
if (a <= -4.8e+28) {
tmp = t_2;
} else if (a <= -8.2e-10) {
tmp = t_1;
} else if (a <= -4.1e-37) {
tmp = j * -(y * i);
} else if (a <= -4.8e-46) {
tmp = z * (x * y);
} else if (a <= 8.4e-227) {
tmp = t_1;
} else if (a <= 5.5e-194) {
tmp = i * (y * -j);
} else if (a <= 5.2e+49) {
tmp = c * ((a * j) - (z * b));
} 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 = b * ((t * i) - (z * c))
t_2 = a * ((c * j) - (x * t))
if (a <= (-4.8d+28)) then
tmp = t_2
else if (a <= (-8.2d-10)) then
tmp = t_1
else if (a <= (-4.1d-37)) then
tmp = j * -(y * i)
else if (a <= (-4.8d-46)) then
tmp = z * (x * y)
else if (a <= 8.4d-227) then
tmp = t_1
else if (a <= 5.5d-194) then
tmp = i * (y * -j)
else if (a <= 5.2d+49) then
tmp = c * ((a * j) - (z * b))
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 = b * ((t * i) - (z * c));
double t_2 = a * ((c * j) - (x * t));
double tmp;
if (a <= -4.8e+28) {
tmp = t_2;
} else if (a <= -8.2e-10) {
tmp = t_1;
} else if (a <= -4.1e-37) {
tmp = j * -(y * i);
} else if (a <= -4.8e-46) {
tmp = z * (x * y);
} else if (a <= 8.4e-227) {
tmp = t_1;
} else if (a <= 5.5e-194) {
tmp = i * (y * -j);
} else if (a <= 5.2e+49) {
tmp = c * ((a * j) - (z * b));
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = b * ((t * i) - (z * c)) t_2 = a * ((c * j) - (x * t)) tmp = 0 if a <= -4.8e+28: tmp = t_2 elif a <= -8.2e-10: tmp = t_1 elif a <= -4.1e-37: tmp = j * -(y * i) elif a <= -4.8e-46: tmp = z * (x * y) elif a <= 8.4e-227: tmp = t_1 elif a <= 5.5e-194: tmp = i * (y * -j) elif a <= 5.2e+49: tmp = c * ((a * j) - (z * b)) else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(b * Float64(Float64(t * i) - Float64(z * c))) t_2 = Float64(a * Float64(Float64(c * j) - Float64(x * t))) tmp = 0.0 if (a <= -4.8e+28) tmp = t_2; elseif (a <= -8.2e-10) tmp = t_1; elseif (a <= -4.1e-37) tmp = Float64(j * Float64(-Float64(y * i))); elseif (a <= -4.8e-46) tmp = Float64(z * Float64(x * y)); elseif (a <= 8.4e-227) tmp = t_1; elseif (a <= 5.5e-194) tmp = Float64(i * Float64(y * Float64(-j))); elseif (a <= 5.2e+49) tmp = Float64(c * Float64(Float64(a * j) - Float64(z * b))); else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = b * ((t * i) - (z * c)); t_2 = a * ((c * j) - (x * t)); tmp = 0.0; if (a <= -4.8e+28) tmp = t_2; elseif (a <= -8.2e-10) tmp = t_1; elseif (a <= -4.1e-37) tmp = j * -(y * i); elseif (a <= -4.8e-46) tmp = z * (x * y); elseif (a <= 8.4e-227) tmp = t_1; elseif (a <= 5.5e-194) tmp = i * (y * -j); elseif (a <= 5.2e+49) tmp = c * ((a * j) - (z * b)); else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a * N[(N[(c * j), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -4.8e+28], t$95$2, If[LessEqual[a, -8.2e-10], t$95$1, If[LessEqual[a, -4.1e-37], N[(j * (-N[(y * i), $MachinePrecision])), $MachinePrecision], If[LessEqual[a, -4.8e-46], N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 8.4e-227], t$95$1, If[LessEqual[a, 5.5e-194], N[(i * N[(y * (-j)), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 5.2e+49], N[(c * N[(N[(a * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(t \cdot i - z \cdot c\right)\\
t_2 := a \cdot \left(c \cdot j - x \cdot t\right)\\
\mathbf{if}\;a \leq -4.8 \cdot 10^{+28}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;a \leq -8.2 \cdot 10^{-10}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;a \leq -4.1 \cdot 10^{-37}:\\
\;\;\;\;j \cdot \left(-y \cdot i\right)\\
\mathbf{elif}\;a \leq -4.8 \cdot 10^{-46}:\\
\;\;\;\;z \cdot \left(x \cdot y\right)\\
\mathbf{elif}\;a \leq 8.4 \cdot 10^{-227}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;a \leq 5.5 \cdot 10^{-194}:\\
\;\;\;\;i \cdot \left(y \cdot \left(-j\right)\right)\\
\mathbf{elif}\;a \leq 5.2 \cdot 10^{+49}:\\
\;\;\;\;c \cdot \left(a \cdot j - z \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;t_2\\
\end{array}
\end{array}
if a < -4.79999999999999962e28 or 5.19999999999999977e49 < a Initial program 71.0%
Taylor expanded in a around inf 66.8%
+-commutative66.8%
mul-1-neg66.8%
unsub-neg66.8%
*-commutative66.8%
Simplified66.8%
if -4.79999999999999962e28 < a < -8.1999999999999996e-10 or -4.80000000000000027e-46 < a < 8.3999999999999999e-227Initial program 84.6%
Taylor expanded in b around inf 50.6%
if -8.1999999999999996e-10 < a < -4.0999999999999998e-37Initial program 99.3%
+-commutative99.3%
fma-def99.3%
*-commutative99.3%
sub-neg99.3%
sub-neg99.3%
*-commutative99.3%
Simplified99.3%
Taylor expanded in y around 0 72.8%
associate-*r*72.8%
neg-mul-172.8%
fma-neg72.8%
distribute-rgt-neg-in72.8%
neg-sub072.8%
associate--r-72.8%
neg-sub072.8%
+-commutative72.8%
sub-neg72.8%
Simplified72.8%
Taylor expanded in y around inf 45.9%
mul-1-neg45.9%
*-commutative45.9%
distribute-rgt-neg-in45.9%
*-commutative45.9%
Simplified45.9%
Taylor expanded in y around 0 45.9%
associate-*r*45.9%
neg-mul-145.9%
*-commutative45.9%
associate-*l*58.0%
Simplified58.0%
if -4.0999999999999998e-37 < a < -4.80000000000000027e-46Initial program 75.0%
Taylor expanded in z around inf 100.0%
*-commutative100.0%
*-commutative100.0%
Simplified100.0%
Taylor expanded in y around inf 75.7%
if 8.3999999999999999e-227 < a < 5.49999999999999941e-194Initial program 69.3%
+-commutative69.3%
fma-def69.3%
*-commutative69.3%
sub-neg69.3%
sub-neg69.3%
*-commutative69.3%
Simplified69.3%
Taylor expanded in y around 0 54.5%
associate-*r*54.5%
neg-mul-154.5%
fma-neg54.5%
distribute-rgt-neg-in54.5%
neg-sub054.5%
associate--r-54.5%
neg-sub054.5%
+-commutative54.5%
sub-neg54.5%
Simplified54.5%
Taylor expanded in y around inf 55.0%
mul-1-neg55.0%
*-commutative55.0%
distribute-rgt-neg-in55.0%
*-commutative55.0%
Simplified55.0%
if 5.49999999999999941e-194 < a < 5.19999999999999977e49Initial program 84.2%
Taylor expanded in c around inf 49.3%
*-commutative49.3%
Simplified49.3%
Final simplification58.1%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (- (* j (- (* a c) (* y i))) (* a (* x t))))
(t_2 (* i (- (* t b) (* y j)))))
(if (<= i -1.7e+128)
t_2
(if (<= i -1.7e-147)
t_1
(if (<= i 1.9e-13)
(- (* x (- (* y z) (* t a))) (* z (* b c)))
(if (<= i 1.15e+51) 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 * ((a * c) - (y * i))) - (a * (x * t));
double t_2 = i * ((t * b) - (y * j));
double tmp;
if (i <= -1.7e+128) {
tmp = t_2;
} else if (i <= -1.7e-147) {
tmp = t_1;
} else if (i <= 1.9e-13) {
tmp = (x * ((y * z) - (t * a))) - (z * (b * c));
} else if (i <= 1.15e+51) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = (j * ((a * c) - (y * i))) - (a * (x * t))
t_2 = i * ((t * b) - (y * j))
if (i <= (-1.7d+128)) then
tmp = t_2
else if (i <= (-1.7d-147)) then
tmp = t_1
else if (i <= 1.9d-13) then
tmp = (x * ((y * z) - (t * a))) - (z * (b * c))
else if (i <= 1.15d+51) then
tmp = t_1
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = (j * ((a * c) - (y * i))) - (a * (x * t));
double t_2 = i * ((t * b) - (y * j));
double tmp;
if (i <= -1.7e+128) {
tmp = t_2;
} else if (i <= -1.7e-147) {
tmp = t_1;
} else if (i <= 1.9e-13) {
tmp = (x * ((y * z) - (t * a))) - (z * (b * c));
} else if (i <= 1.15e+51) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = (j * ((a * c) - (y * i))) - (a * (x * t)) t_2 = i * ((t * b) - (y * j)) tmp = 0 if i <= -1.7e+128: tmp = t_2 elif i <= -1.7e-147: tmp = t_1 elif i <= 1.9e-13: tmp = (x * ((y * z) - (t * a))) - (z * (b * c)) elif i <= 1.15e+51: tmp = t_1 else: tmp = t_2 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(a * Float64(x * t))) t_2 = Float64(i * Float64(Float64(t * b) - Float64(y * j))) tmp = 0.0 if (i <= -1.7e+128) tmp = t_2; elseif (i <= -1.7e-147) tmp = t_1; elseif (i <= 1.9e-13) tmp = Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) - Float64(z * Float64(b * c))); elseif (i <= 1.15e+51) tmp = t_1; else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = (j * ((a * c) - (y * i))) - (a * (x * t)); t_2 = i * ((t * b) - (y * j)); tmp = 0.0; if (i <= -1.7e+128) tmp = t_2; elseif (i <= -1.7e-147) tmp = t_1; elseif (i <= 1.9e-13) tmp = (x * ((y * z) - (t * a))) - (z * (b * c)); elseif (i <= 1.15e+51) tmp = t_1; else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(a * N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(i * N[(N[(t * b), $MachinePrecision] - N[(y * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -1.7e+128], t$95$2, If[LessEqual[i, -1.7e-147], t$95$1, If[LessEqual[i, 1.9e-13], N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(z * N[(b * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.15e+51], t$95$1, t$95$2]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(a \cdot c - y \cdot i\right) - a \cdot \left(x \cdot t\right)\\
t_2 := i \cdot \left(t \cdot b - y \cdot j\right)\\
\mathbf{if}\;i \leq -1.7 \cdot 10^{+128}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;i \leq -1.7 \cdot 10^{-147}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;i \leq 1.9 \cdot 10^{-13}:\\
\;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) - z \cdot \left(b \cdot c\right)\\
\mathbf{elif}\;i \leq 1.15 \cdot 10^{+51}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;t_2\\
\end{array}
\end{array}
if i < -1.6999999999999999e128 or 1.15000000000000003e51 < i Initial program 67.2%
+-commutative67.2%
fma-def69.3%
*-commutative69.3%
sub-neg69.3%
sub-neg69.3%
*-commutative69.3%
Simplified69.3%
Taylor expanded in y around 0 68.3%
associate-*r*68.3%
neg-mul-168.3%
fma-neg69.3%
distribute-rgt-neg-in69.3%
neg-sub069.3%
associate--r-69.3%
neg-sub069.3%
+-commutative69.3%
sub-neg69.3%
Simplified69.3%
fma-udef66.2%
*-commutative66.2%
*-commutative66.2%
*-commutative66.2%
Applied egg-rr66.2%
Taylor expanded in i around inf 68.2%
neg-mul-168.2%
+-commutative68.2%
unsub-neg68.2%
Simplified68.2%
if -1.6999999999999999e128 < i < -1.69999999999999998e-147 or 1.9e-13 < i < 1.15000000000000003e51Initial program 81.2%
+-commutative81.2%
fma-def81.2%
*-commutative81.2%
sub-neg81.2%
sub-neg81.2%
*-commutative81.2%
Simplified81.2%
Taylor expanded in y around 0 78.9%
associate-*r*78.9%
neg-mul-178.9%
fma-neg78.9%
distribute-rgt-neg-in78.9%
neg-sub078.9%
associate--r-78.9%
neg-sub078.9%
+-commutative78.9%
sub-neg78.9%
Simplified78.9%
Taylor expanded in b around 0 71.2%
+-commutative71.2%
mul-1-neg71.2%
unsub-neg71.2%
sub-neg71.2%
*-commutative71.2%
sub-neg71.2%
Simplified71.2%
if -1.69999999999999998e-147 < i < 1.9e-13Initial program 88.5%
Taylor expanded in j around 0 68.9%
Taylor expanded in c around inf 68.1%
associate-*r*68.2%
*-commutative68.2%
Simplified68.2%
Final simplification69.2%
(FPCore (x y z t a b c i j) :precision binary64 (if (or (<= i -2.4e+127) (not (<= i 2.8e+58))) (* i (- (* t b) (* y j))) (+ (* x (- (* y z) (* t a))) (* 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 ((i <= -2.4e+127) || !(i <= 2.8e+58)) {
tmp = i * ((t * b) - (y * j));
} else {
tmp = (x * ((y * z) - (t * a))) + (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 ((i <= (-2.4d+127)) .or. (.not. (i <= 2.8d+58))) then
tmp = i * ((t * b) - (y * j))
else
tmp = (x * ((y * z) - (t * a))) + (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 ((i <= -2.4e+127) || !(i <= 2.8e+58)) {
tmp = i * ((t * b) - (y * j));
} else {
tmp = (x * ((y * z) - (t * a))) + (j * ((a * c) - (y * i)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if (i <= -2.4e+127) or not (i <= 2.8e+58): tmp = i * ((t * b) - (y * j)) else: tmp = (x * ((y * z) - (t * a))) + (j * ((a * c) - (y * i))) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if ((i <= -2.4e+127) || !(i <= 2.8e+58)) tmp = Float64(i * Float64(Float64(t * b) - Float64(y * j))); else tmp = Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) + 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 ((i <= -2.4e+127) || ~((i <= 2.8e+58))) tmp = i * ((t * b) - (y * j)); else tmp = (x * ((y * z) - (t * a))) + (j * ((a * c) - (y * i))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[Or[LessEqual[i, -2.4e+127], N[Not[LessEqual[i, 2.8e+58]], $MachinePrecision]], N[(i * N[(N[(t * b), $MachinePrecision] - N[(y * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;i \leq -2.4 \cdot 10^{+127} \lor \neg \left(i \leq 2.8 \cdot 10^{+58}\right):\\
\;\;\;\;i \cdot \left(t \cdot b - y \cdot j\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) + j \cdot \left(a \cdot c - y \cdot i\right)\\
\end{array}
\end{array}
if i < -2.4000000000000002e127 or 2.7999999999999998e58 < i Initial program 66.5%
+-commutative66.5%
fma-def68.6%
*-commutative68.6%
sub-neg68.6%
sub-neg68.6%
*-commutative68.6%
Simplified68.6%
Taylor expanded in y around 0 68.6%
associate-*r*68.6%
neg-mul-168.6%
fma-neg69.7%
distribute-rgt-neg-in69.7%
neg-sub069.7%
associate--r-69.7%
neg-sub069.7%
+-commutative69.7%
sub-neg69.7%
Simplified69.7%
fma-udef66.6%
*-commutative66.6%
*-commutative66.6%
*-commutative66.6%
Applied egg-rr66.6%
Taylor expanded in i around inf 68.6%
neg-mul-168.6%
+-commutative68.6%
unsub-neg68.6%
Simplified68.6%
if -2.4000000000000002e127 < i < 2.7999999999999998e58Initial program 85.3%
Taylor expanded in b around 0 76.4%
Final simplification73.4%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* x (- (* y z) (* t a)))))
(if (or (<= j -9.5e-38) (not (<= j 3.55e-75)))
(+ t_1 (* j (- (* a c) (* y i))))
(+ t_1 (* b (- (* t i) (* z c)))))))
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));
double tmp;
if ((j <= -9.5e-38) || !(j <= 3.55e-75)) {
tmp = t_1 + (j * ((a * c) - (y * i)));
} else {
tmp = t_1 + (b * ((t * i) - (z * c)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: tmp
t_1 = x * ((y * z) - (t * a))
if ((j <= (-9.5d-38)) .or. (.not. (j <= 3.55d-75))) then
tmp = t_1 + (j * ((a * c) - (y * i)))
else
tmp = t_1 + (b * ((t * i) - (z * c)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = x * ((y * z) - (t * a));
double tmp;
if ((j <= -9.5e-38) || !(j <= 3.55e-75)) {
tmp = t_1 + (j * ((a * c) - (y * i)));
} else {
tmp = t_1 + (b * ((t * i) - (z * c)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = x * ((y * z) - (t * a)) tmp = 0 if (j <= -9.5e-38) or not (j <= 3.55e-75): tmp = t_1 + (j * ((a * c) - (y * i))) else: tmp = t_1 + (b * ((t * i) - (z * c))) return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(x * Float64(Float64(y * z) - Float64(t * a))) tmp = 0.0 if ((j <= -9.5e-38) || !(j <= 3.55e-75)) tmp = Float64(t_1 + Float64(j * Float64(Float64(a * c) - Float64(y * i)))); else tmp = Float64(t_1 + Float64(b * Float64(Float64(t * i) - Float64(z * c)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = x * ((y * z) - (t * a)); tmp = 0.0; if ((j <= -9.5e-38) || ~((j <= 3.55e-75))) tmp = t_1 + (j * ((a * c) - (y * i))); else tmp = t_1 + (b * ((t * i) - (z * c))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[Or[LessEqual[j, -9.5e-38], N[Not[LessEqual[j, 3.55e-75]], $MachinePrecision]], N[(t$95$1 + N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t$95$1 + N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(y \cdot z - t \cdot a\right)\\
\mathbf{if}\;j \leq -9.5 \cdot 10^{-38} \lor \neg \left(j \leq 3.55 \cdot 10^{-75}\right):\\
\;\;\;\;t_1 + j \cdot \left(a \cdot c - y \cdot i\right)\\
\mathbf{else}:\\
\;\;\;\;t_1 + b \cdot \left(t \cdot i - z \cdot c\right)\\
\end{array}
\end{array}
if j < -9.5000000000000009e-38 or 3.5500000000000002e-75 < j Initial program 80.8%
Taylor expanded in b around 0 75.8%
if -9.5000000000000009e-38 < j < 3.5500000000000002e-75Initial program 74.2%
Taylor expanded in j around 0 75.2%
Final simplification75.5%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* c (- (* a j) (* z b))))
(t_2 (* a (- (* c j) (* x t))))
(t_3 (* i (- (* t b) (* y j)))))
(if (<= i -4.8e+78)
t_3
(if (<= i -1.12e-88)
t_2
(if (<= i 2.5e-302)
t_1
(if (<= i 3.8e-140)
t_2
(if (<= i 8.8e-57) t_1 (if (<= i 1.75e+27) t_2 t_3))))))))
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 t_2 = a * ((c * j) - (x * t));
double t_3 = i * ((t * b) - (y * j));
double tmp;
if (i <= -4.8e+78) {
tmp = t_3;
} else if (i <= -1.12e-88) {
tmp = t_2;
} else if (i <= 2.5e-302) {
tmp = t_1;
} else if (i <= 3.8e-140) {
tmp = t_2;
} else if (i <= 8.8e-57) {
tmp = t_1;
} else if (i <= 1.75e+27) {
tmp = t_2;
} else {
tmp = t_3;
}
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) :: t_3
real(8) :: tmp
t_1 = c * ((a * j) - (z * b))
t_2 = a * ((c * j) - (x * t))
t_3 = i * ((t * b) - (y * j))
if (i <= (-4.8d+78)) then
tmp = t_3
else if (i <= (-1.12d-88)) then
tmp = t_2
else if (i <= 2.5d-302) then
tmp = t_1
else if (i <= 3.8d-140) then
tmp = t_2
else if (i <= 8.8d-57) then
tmp = t_1
else if (i <= 1.75d+27) then
tmp = t_2
else
tmp = t_3
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 t_2 = a * ((c * j) - (x * t));
double t_3 = i * ((t * b) - (y * j));
double tmp;
if (i <= -4.8e+78) {
tmp = t_3;
} else if (i <= -1.12e-88) {
tmp = t_2;
} else if (i <= 2.5e-302) {
tmp = t_1;
} else if (i <= 3.8e-140) {
tmp = t_2;
} else if (i <= 8.8e-57) {
tmp = t_1;
} else if (i <= 1.75e+27) {
tmp = t_2;
} else {
tmp = t_3;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = c * ((a * j) - (z * b)) t_2 = a * ((c * j) - (x * t)) t_3 = i * ((t * b) - (y * j)) tmp = 0 if i <= -4.8e+78: tmp = t_3 elif i <= -1.12e-88: tmp = t_2 elif i <= 2.5e-302: tmp = t_1 elif i <= 3.8e-140: tmp = t_2 elif i <= 8.8e-57: tmp = t_1 elif i <= 1.75e+27: tmp = t_2 else: tmp = t_3 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(c * Float64(Float64(a * j) - Float64(z * b))) t_2 = Float64(a * Float64(Float64(c * j) - Float64(x * t))) t_3 = Float64(i * Float64(Float64(t * b) - Float64(y * j))) tmp = 0.0 if (i <= -4.8e+78) tmp = t_3; elseif (i <= -1.12e-88) tmp = t_2; elseif (i <= 2.5e-302) tmp = t_1; elseif (i <= 3.8e-140) tmp = t_2; elseif (i <= 8.8e-57) tmp = t_1; elseif (i <= 1.75e+27) tmp = t_2; else tmp = t_3; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = c * ((a * j) - (z * b)); t_2 = a * ((c * j) - (x * t)); t_3 = i * ((t * b) - (y * j)); tmp = 0.0; if (i <= -4.8e+78) tmp = t_3; elseif (i <= -1.12e-88) tmp = t_2; elseif (i <= 2.5e-302) tmp = t_1; elseif (i <= 3.8e-140) tmp = t_2; elseif (i <= 8.8e-57) tmp = t_1; elseif (i <= 1.75e+27) tmp = t_2; else tmp = t_3; 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]}, Block[{t$95$2 = N[(a * N[(N[(c * j), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(i * N[(N[(t * b), $MachinePrecision] - N[(y * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -4.8e+78], t$95$3, If[LessEqual[i, -1.12e-88], t$95$2, If[LessEqual[i, 2.5e-302], t$95$1, If[LessEqual[i, 3.8e-140], t$95$2, If[LessEqual[i, 8.8e-57], t$95$1, If[LessEqual[i, 1.75e+27], t$95$2, t$95$3]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(a \cdot j - z \cdot b\right)\\
t_2 := a \cdot \left(c \cdot j - x \cdot t\right)\\
t_3 := i \cdot \left(t \cdot b - y \cdot j\right)\\
\mathbf{if}\;i \leq -4.8 \cdot 10^{+78}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;i \leq -1.12 \cdot 10^{-88}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;i \leq 2.5 \cdot 10^{-302}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;i \leq 3.8 \cdot 10^{-140}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;i \leq 8.8 \cdot 10^{-57}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;i \leq 1.75 \cdot 10^{+27}:\\
\;\;\;\;t_2\\
\mathbf{else}:\\
\;\;\;\;t_3\\
\end{array}
\end{array}
if i < -4.7999999999999997e78 or 1.7500000000000001e27 < i Initial program 68.3%
+-commutative68.3%
fma-def70.0%
*-commutative70.0%
sub-neg70.0%
sub-neg70.0%
*-commutative70.0%
Simplified70.0%
Taylor expanded in y around 0 70.0%
associate-*r*70.0%
neg-mul-170.0%
fma-neg70.9%
distribute-rgt-neg-in70.9%
neg-sub070.9%
associate--r-70.9%
neg-sub070.9%
+-commutative70.9%
sub-neg70.9%
Simplified70.9%
fma-udef68.3%
*-commutative68.3%
*-commutative68.3%
*-commutative68.3%
Applied egg-rr68.3%
Taylor expanded in i around inf 65.8%
neg-mul-165.8%
+-commutative65.8%
unsub-neg65.8%
Simplified65.8%
if -4.7999999999999997e78 < i < -1.12e-88 or 2.50000000000000017e-302 < i < 3.79999999999999998e-140 or 8.79999999999999994e-57 < i < 1.7500000000000001e27Initial program 83.9%
Taylor expanded in a around inf 59.9%
+-commutative59.9%
mul-1-neg59.9%
unsub-neg59.9%
*-commutative59.9%
Simplified59.9%
if -1.12e-88 < i < 2.50000000000000017e-302 or 3.79999999999999998e-140 < i < 8.79999999999999994e-57Initial program 89.7%
Taylor expanded in c around inf 56.9%
*-commutative56.9%
Simplified56.9%
Final simplification61.9%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* z (* x y))))
(if (<= j -3.4e-20)
(* a (* c j))
(if (<= j -6.5e-195)
(* b (* t i))
(if (<= j 3.4e-273)
t_1
(if (<= j 2.55e-151)
(* t (* b i))
(if (<= j 750000.0)
(* t (* a (- x)))
(if (<= j 1.75e+29)
t_1
(if (<= j 2.7e+115) (* c (* a j)) (* j (- (* y i))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = z * (x * y);
double tmp;
if (j <= -3.4e-20) {
tmp = a * (c * j);
} else if (j <= -6.5e-195) {
tmp = b * (t * i);
} else if (j <= 3.4e-273) {
tmp = t_1;
} else if (j <= 2.55e-151) {
tmp = t * (b * i);
} else if (j <= 750000.0) {
tmp = t * (a * -x);
} else if (j <= 1.75e+29) {
tmp = t_1;
} else if (j <= 2.7e+115) {
tmp = c * (a * j);
} else {
tmp = j * -(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) :: t_1
real(8) :: tmp
t_1 = z * (x * y)
if (j <= (-3.4d-20)) then
tmp = a * (c * j)
else if (j <= (-6.5d-195)) then
tmp = b * (t * i)
else if (j <= 3.4d-273) then
tmp = t_1
else if (j <= 2.55d-151) then
tmp = t * (b * i)
else if (j <= 750000.0d0) then
tmp = t * (a * -x)
else if (j <= 1.75d+29) then
tmp = t_1
else if (j <= 2.7d+115) then
tmp = c * (a * j)
else
tmp = j * -(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 t_1 = z * (x * y);
double tmp;
if (j <= -3.4e-20) {
tmp = a * (c * j);
} else if (j <= -6.5e-195) {
tmp = b * (t * i);
} else if (j <= 3.4e-273) {
tmp = t_1;
} else if (j <= 2.55e-151) {
tmp = t * (b * i);
} else if (j <= 750000.0) {
tmp = t * (a * -x);
} else if (j <= 1.75e+29) {
tmp = t_1;
} else if (j <= 2.7e+115) {
tmp = c * (a * j);
} else {
tmp = j * -(y * i);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = z * (x * y) tmp = 0 if j <= -3.4e-20: tmp = a * (c * j) elif j <= -6.5e-195: tmp = b * (t * i) elif j <= 3.4e-273: tmp = t_1 elif j <= 2.55e-151: tmp = t * (b * i) elif j <= 750000.0: tmp = t * (a * -x) elif j <= 1.75e+29: tmp = t_1 elif j <= 2.7e+115: tmp = c * (a * j) else: tmp = j * -(y * i) return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(z * Float64(x * y)) tmp = 0.0 if (j <= -3.4e-20) tmp = Float64(a * Float64(c * j)); elseif (j <= -6.5e-195) tmp = Float64(b * Float64(t * i)); elseif (j <= 3.4e-273) tmp = t_1; elseif (j <= 2.55e-151) tmp = Float64(t * Float64(b * i)); elseif (j <= 750000.0) tmp = Float64(t * Float64(a * Float64(-x))); elseif (j <= 1.75e+29) tmp = t_1; elseif (j <= 2.7e+115) tmp = Float64(c * Float64(a * j)); else tmp = Float64(j * Float64(-Float64(y * i))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = z * (x * y); tmp = 0.0; if (j <= -3.4e-20) tmp = a * (c * j); elseif (j <= -6.5e-195) tmp = b * (t * i); elseif (j <= 3.4e-273) tmp = t_1; elseif (j <= 2.55e-151) tmp = t * (b * i); elseif (j <= 750000.0) tmp = t * (a * -x); elseif (j <= 1.75e+29) tmp = t_1; elseif (j <= 2.7e+115) tmp = c * (a * j); else tmp = j * -(y * i); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -3.4e-20], N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -6.5e-195], N[(b * N[(t * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3.4e-273], t$95$1, If[LessEqual[j, 2.55e-151], N[(t * N[(b * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 750000.0], N[(t * N[(a * (-x)), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.75e+29], t$95$1, If[LessEqual[j, 2.7e+115], N[(c * N[(a * j), $MachinePrecision]), $MachinePrecision], N[(j * (-N[(y * i), $MachinePrecision])), $MachinePrecision]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := z \cdot \left(x \cdot y\right)\\
\mathbf{if}\;j \leq -3.4 \cdot 10^{-20}:\\
\;\;\;\;a \cdot \left(c \cdot j\right)\\
\mathbf{elif}\;j \leq -6.5 \cdot 10^{-195}:\\
\;\;\;\;b \cdot \left(t \cdot i\right)\\
\mathbf{elif}\;j \leq 3.4 \cdot 10^{-273}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;j \leq 2.55 \cdot 10^{-151}:\\
\;\;\;\;t \cdot \left(b \cdot i\right)\\
\mathbf{elif}\;j \leq 750000:\\
\;\;\;\;t \cdot \left(a \cdot \left(-x\right)\right)\\
\mathbf{elif}\;j \leq 1.75 \cdot 10^{+29}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;j \leq 2.7 \cdot 10^{+115}:\\
\;\;\;\;c \cdot \left(a \cdot j\right)\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(-y \cdot i\right)\\
\end{array}
\end{array}
if j < -3.3999999999999997e-20Initial program 78.1%
Taylor expanded in a around inf 54.6%
+-commutative54.6%
mul-1-neg54.6%
unsub-neg54.6%
*-commutative54.6%
Simplified54.6%
Taylor expanded in j around inf 48.4%
if -3.3999999999999997e-20 < j < -6.50000000000000004e-195Initial program 73.4%
Taylor expanded in j around 0 76.4%
Taylor expanded in i around inf 38.3%
*-commutative38.3%
Simplified38.3%
if -6.50000000000000004e-195 < j < 3.39999999999999991e-273 or 7.5e5 < j < 1.74999999999999989e29Initial program 69.0%
Taylor expanded in z around inf 61.1%
*-commutative61.1%
*-commutative61.1%
Simplified61.1%
Taylor expanded in y around inf 41.5%
if 3.39999999999999991e-273 < j < 2.5499999999999999e-151Initial program 77.8%
Taylor expanded in j around 0 78.0%
Taylor expanded in i around inf 51.9%
associate-*r*58.8%
*-commutative58.8%
Simplified58.8%
if 2.5499999999999999e-151 < j < 7.5e5Initial program 82.4%
+-commutative82.4%
fma-def82.4%
*-commutative82.4%
sub-neg82.4%
sub-neg82.4%
*-commutative82.4%
Simplified82.4%
Taylor expanded in y around 0 68.1%
associate-*r*68.1%
neg-mul-168.1%
fma-neg68.1%
distribute-rgt-neg-in68.1%
neg-sub068.1%
associate--r-68.1%
neg-sub068.1%
+-commutative68.1%
sub-neg68.1%
Simplified68.1%
Taylor expanded in t around inf 51.2%
Taylor expanded in a around inf 31.3%
mul-1-neg31.3%
*-commutative31.3%
associate-*r*36.8%
distribute-lft-neg-out36.8%
*-commutative36.8%
*-commutative36.8%
distribute-rgt-neg-in36.8%
Simplified36.8%
if 1.74999999999999989e29 < j < 2.70000000000000004e115Initial program 87.3%
+-commutative87.3%
fma-def93.6%
*-commutative93.6%
sub-neg93.6%
sub-neg93.6%
*-commutative93.6%
Simplified93.6%
Taylor expanded in y around 0 81.8%
associate-*r*81.8%
neg-mul-181.8%
fma-neg81.8%
distribute-rgt-neg-in81.8%
neg-sub081.8%
associate--r-81.8%
neg-sub081.8%
+-commutative81.8%
sub-neg81.8%
Simplified81.8%
fma-udef75.6%
*-commutative75.6%
*-commutative75.6%
*-commutative75.6%
Applied egg-rr75.6%
Taylor expanded in y around 0 69.9%
associate-+r+69.9%
mul-1-neg69.9%
distribute-rgt-neg-in69.9%
mul-1-neg69.9%
distribute-lft-in69.9%
fma-def69.9%
+-commutative69.9%
mul-1-neg69.9%
unsub-neg69.9%
*-commutative69.9%
Simplified69.9%
Taylor expanded in j around inf 44.8%
associate-*r*50.6%
*-commutative50.6%
associate-*r*50.7%
Simplified50.7%
if 2.70000000000000004e115 < j Initial program 82.1%
+-commutative82.1%
fma-def82.1%
*-commutative82.1%
sub-neg82.1%
sub-neg82.1%
*-commutative82.1%
Simplified82.1%
Taylor expanded in y around 0 71.4%
associate-*r*71.4%
neg-mul-171.4%
fma-neg73.6%
distribute-rgt-neg-in73.6%
neg-sub073.6%
associate--r-73.6%
neg-sub073.6%
+-commutative73.6%
sub-neg73.6%
Simplified73.6%
Taylor expanded in y around inf 47.8%
mul-1-neg47.8%
*-commutative47.8%
distribute-rgt-neg-in47.8%
*-commutative47.8%
Simplified47.8%
Taylor expanded in y around 0 47.8%
associate-*r*47.8%
neg-mul-147.8%
*-commutative47.8%
associate-*l*47.8%
Simplified47.8%
Final simplification45.9%
(FPCore (x y z t a b c i j)
:precision binary64
(if (<= j -1.35e-31)
(* a (* c j))
(if (<= j -9.2e-191)
(* b (* t i))
(if (<= j 3.1e-273)
(* z (* x y))
(if (<= j 2.95e-154)
(* t (* b i))
(if (<= j 450000000000.0)
(* t (* a (- x)))
(if (<= j 5.4e+28)
(* z (- (* b c)))
(if (<= j 3.8e+115) (* c (* a j)) (* j (- (* 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 <= -1.35e-31) {
tmp = a * (c * j);
} else if (j <= -9.2e-191) {
tmp = b * (t * i);
} else if (j <= 3.1e-273) {
tmp = z * (x * y);
} else if (j <= 2.95e-154) {
tmp = t * (b * i);
} else if (j <= 450000000000.0) {
tmp = t * (a * -x);
} else if (j <= 5.4e+28) {
tmp = z * -(b * c);
} else if (j <= 3.8e+115) {
tmp = c * (a * j);
} else {
tmp = j * -(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 <= (-1.35d-31)) then
tmp = a * (c * j)
else if (j <= (-9.2d-191)) then
tmp = b * (t * i)
else if (j <= 3.1d-273) then
tmp = z * (x * y)
else if (j <= 2.95d-154) then
tmp = t * (b * i)
else if (j <= 450000000000.0d0) then
tmp = t * (a * -x)
else if (j <= 5.4d+28) then
tmp = z * -(b * c)
else if (j <= 3.8d+115) then
tmp = c * (a * j)
else
tmp = j * -(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 <= -1.35e-31) {
tmp = a * (c * j);
} else if (j <= -9.2e-191) {
tmp = b * (t * i);
} else if (j <= 3.1e-273) {
tmp = z * (x * y);
} else if (j <= 2.95e-154) {
tmp = t * (b * i);
} else if (j <= 450000000000.0) {
tmp = t * (a * -x);
} else if (j <= 5.4e+28) {
tmp = z * -(b * c);
} else if (j <= 3.8e+115) {
tmp = c * (a * j);
} else {
tmp = j * -(y * i);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if j <= -1.35e-31: tmp = a * (c * j) elif j <= -9.2e-191: tmp = b * (t * i) elif j <= 3.1e-273: tmp = z * (x * y) elif j <= 2.95e-154: tmp = t * (b * i) elif j <= 450000000000.0: tmp = t * (a * -x) elif j <= 5.4e+28: tmp = z * -(b * c) elif j <= 3.8e+115: tmp = c * (a * j) else: tmp = j * -(y * i) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (j <= -1.35e-31) tmp = Float64(a * Float64(c * j)); elseif (j <= -9.2e-191) tmp = Float64(b * Float64(t * i)); elseif (j <= 3.1e-273) tmp = Float64(z * Float64(x * y)); elseif (j <= 2.95e-154) tmp = Float64(t * Float64(b * i)); elseif (j <= 450000000000.0) tmp = Float64(t * Float64(a * Float64(-x))); elseif (j <= 5.4e+28) tmp = Float64(z * Float64(-Float64(b * c))); elseif (j <= 3.8e+115) tmp = Float64(c * Float64(a * j)); else tmp = Float64(j * Float64(-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 <= -1.35e-31) tmp = a * (c * j); elseif (j <= -9.2e-191) tmp = b * (t * i); elseif (j <= 3.1e-273) tmp = z * (x * y); elseif (j <= 2.95e-154) tmp = t * (b * i); elseif (j <= 450000000000.0) tmp = t * (a * -x); elseif (j <= 5.4e+28) tmp = z * -(b * c); elseif (j <= 3.8e+115) tmp = c * (a * j); else tmp = j * -(y * i); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[j, -1.35e-31], N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -9.2e-191], N[(b * N[(t * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3.1e-273], N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 2.95e-154], N[(t * N[(b * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 450000000000.0], N[(t * N[(a * (-x)), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 5.4e+28], N[(z * (-N[(b * c), $MachinePrecision])), $MachinePrecision], If[LessEqual[j, 3.8e+115], N[(c * N[(a * j), $MachinePrecision]), $MachinePrecision], N[(j * (-N[(y * i), $MachinePrecision])), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;j \leq -1.35 \cdot 10^{-31}:\\
\;\;\;\;a \cdot \left(c \cdot j\right)\\
\mathbf{elif}\;j \leq -9.2 \cdot 10^{-191}:\\
\;\;\;\;b \cdot \left(t \cdot i\right)\\
\mathbf{elif}\;j \leq 3.1 \cdot 10^{-273}:\\
\;\;\;\;z \cdot \left(x \cdot y\right)\\
\mathbf{elif}\;j \leq 2.95 \cdot 10^{-154}:\\
\;\;\;\;t \cdot \left(b \cdot i\right)\\
\mathbf{elif}\;j \leq 450000000000:\\
\;\;\;\;t \cdot \left(a \cdot \left(-x\right)\right)\\
\mathbf{elif}\;j \leq 5.4 \cdot 10^{+28}:\\
\;\;\;\;z \cdot \left(-b \cdot c\right)\\
\mathbf{elif}\;j \leq 3.8 \cdot 10^{+115}:\\
\;\;\;\;c \cdot \left(a \cdot j\right)\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(-y \cdot i\right)\\
\end{array}
\end{array}
if j < -1.35000000000000007e-31Initial program 78.1%
Taylor expanded in a around inf 54.6%
+-commutative54.6%
mul-1-neg54.6%
unsub-neg54.6%
*-commutative54.6%
Simplified54.6%
Taylor expanded in j around inf 48.4%
if -1.35000000000000007e-31 < j < -9.20000000000000042e-191Initial program 73.4%
Taylor expanded in j around 0 76.4%
Taylor expanded in i around inf 38.3%
*-commutative38.3%
Simplified38.3%
if -9.20000000000000042e-191 < j < 3.09999999999999988e-273Initial program 68.4%
Taylor expanded in z around inf 61.4%
*-commutative61.4%
*-commutative61.4%
Simplified61.4%
Taylor expanded in y around inf 44.1%
if 3.09999999999999988e-273 < j < 2.9500000000000001e-154Initial program 77.8%
Taylor expanded in j around 0 78.0%
Taylor expanded in i around inf 51.9%
associate-*r*58.8%
*-commutative58.8%
Simplified58.8%
if 2.9500000000000001e-154 < j < 4.5e11Initial program 82.4%
+-commutative82.4%
fma-def82.4%
*-commutative82.4%
sub-neg82.4%
sub-neg82.4%
*-commutative82.4%
Simplified82.4%
Taylor expanded in y around 0 68.1%
associate-*r*68.1%
neg-mul-168.1%
fma-neg68.1%
distribute-rgt-neg-in68.1%
neg-sub068.1%
associate--r-68.1%
neg-sub068.1%
+-commutative68.1%
sub-neg68.1%
Simplified68.1%
Taylor expanded in t around inf 51.2%
Taylor expanded in a around inf 31.3%
mul-1-neg31.3%
*-commutative31.3%
associate-*r*36.8%
distribute-lft-neg-out36.8%
*-commutative36.8%
*-commutative36.8%
distribute-rgt-neg-in36.8%
Simplified36.8%
if 4.5e11 < j < 5.4000000000000003e28Initial program 66.7%
Taylor expanded in z around inf 53.1%
*-commutative53.1%
*-commutative53.1%
Simplified53.1%
Taylor expanded in y around 0 36.5%
mul-1-neg36.5%
*-commutative36.5%
distribute-rgt-neg-in36.5%
Simplified36.5%
if 5.4000000000000003e28 < j < 3.8000000000000001e115Initial program 88.1%
+-commutative88.1%
fma-def93.9%
*-commutative93.9%
sub-neg93.9%
sub-neg93.9%
*-commutative93.9%
Simplified93.9%
Taylor expanded in y around 0 77.3%
associate-*r*77.3%
neg-mul-177.3%
fma-neg77.3%
distribute-rgt-neg-in77.3%
neg-sub077.3%
associate--r-77.3%
neg-sub077.3%
+-commutative77.3%
sub-neg77.3%
Simplified77.3%
fma-udef71.4%
*-commutative71.4%
*-commutative71.4%
*-commutative71.4%
Applied egg-rr71.4%
Taylor expanded in y around 0 65.8%
associate-+r+65.8%
mul-1-neg65.8%
distribute-rgt-neg-in65.8%
mul-1-neg65.8%
distribute-lft-in65.8%
fma-def65.8%
+-commutative65.8%
mul-1-neg65.8%
unsub-neg65.8%
*-commutative65.8%
Simplified65.8%
Taylor expanded in j around inf 42.4%
associate-*r*47.8%
*-commutative47.8%
associate-*r*47.9%
Simplified47.9%
if 3.8000000000000001e115 < j Initial program 82.1%
+-commutative82.1%
fma-def82.1%
*-commutative82.1%
sub-neg82.1%
sub-neg82.1%
*-commutative82.1%
Simplified82.1%
Taylor expanded in y around 0 71.4%
associate-*r*71.4%
neg-mul-171.4%
fma-neg73.6%
distribute-rgt-neg-in73.6%
neg-sub073.6%
associate--r-73.6%
neg-sub073.6%
+-commutative73.6%
sub-neg73.6%
Simplified73.6%
Taylor expanded in y around inf 47.8%
mul-1-neg47.8%
*-commutative47.8%
distribute-rgt-neg-in47.8%
*-commutative47.8%
Simplified47.8%
Taylor expanded in y around 0 47.8%
associate-*r*47.8%
neg-mul-147.8%
*-commutative47.8%
associate-*l*47.8%
Simplified47.8%
Final simplification45.9%
(FPCore (x y z t a b c i j)
:precision binary64
(if (<= j -4.8e-38)
(* a (* c j))
(if (<= j -8.4e-191)
(* b (* t i))
(if (<= j 3.4e-273)
(* z (* x y))
(if (<= j 2.05e-153)
(* t (* b i))
(if (<= j 190000000.0)
(* t (* a (- x)))
(if (<= j 6e+28)
(* z (- (* b c)))
(if (<= j 4.6e+116) (* c (* a j)) (* i (* y (- j)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (j <= -4.8e-38) {
tmp = a * (c * j);
} else if (j <= -8.4e-191) {
tmp = b * (t * i);
} else if (j <= 3.4e-273) {
tmp = z * (x * y);
} else if (j <= 2.05e-153) {
tmp = t * (b * i);
} else if (j <= 190000000.0) {
tmp = t * (a * -x);
} else if (j <= 6e+28) {
tmp = z * -(b * c);
} else if (j <= 4.6e+116) {
tmp = c * (a * j);
} else {
tmp = i * (y * -j);
}
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 <= (-4.8d-38)) then
tmp = a * (c * j)
else if (j <= (-8.4d-191)) then
tmp = b * (t * i)
else if (j <= 3.4d-273) then
tmp = z * (x * y)
else if (j <= 2.05d-153) then
tmp = t * (b * i)
else if (j <= 190000000.0d0) then
tmp = t * (a * -x)
else if (j <= 6d+28) then
tmp = z * -(b * c)
else if (j <= 4.6d+116) then
tmp = c * (a * j)
else
tmp = i * (y * -j)
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 <= -4.8e-38) {
tmp = a * (c * j);
} else if (j <= -8.4e-191) {
tmp = b * (t * i);
} else if (j <= 3.4e-273) {
tmp = z * (x * y);
} else if (j <= 2.05e-153) {
tmp = t * (b * i);
} else if (j <= 190000000.0) {
tmp = t * (a * -x);
} else if (j <= 6e+28) {
tmp = z * -(b * c);
} else if (j <= 4.6e+116) {
tmp = c * (a * j);
} else {
tmp = i * (y * -j);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if j <= -4.8e-38: tmp = a * (c * j) elif j <= -8.4e-191: tmp = b * (t * i) elif j <= 3.4e-273: tmp = z * (x * y) elif j <= 2.05e-153: tmp = t * (b * i) elif j <= 190000000.0: tmp = t * (a * -x) elif j <= 6e+28: tmp = z * -(b * c) elif j <= 4.6e+116: tmp = c * (a * j) else: tmp = i * (y * -j) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (j <= -4.8e-38) tmp = Float64(a * Float64(c * j)); elseif (j <= -8.4e-191) tmp = Float64(b * Float64(t * i)); elseif (j <= 3.4e-273) tmp = Float64(z * Float64(x * y)); elseif (j <= 2.05e-153) tmp = Float64(t * Float64(b * i)); elseif (j <= 190000000.0) tmp = Float64(t * Float64(a * Float64(-x))); elseif (j <= 6e+28) tmp = Float64(z * Float64(-Float64(b * c))); elseif (j <= 4.6e+116) tmp = Float64(c * Float64(a * j)); else tmp = Float64(i * Float64(y * Float64(-j))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if (j <= -4.8e-38) tmp = a * (c * j); elseif (j <= -8.4e-191) tmp = b * (t * i); elseif (j <= 3.4e-273) tmp = z * (x * y); elseif (j <= 2.05e-153) tmp = t * (b * i); elseif (j <= 190000000.0) tmp = t * (a * -x); elseif (j <= 6e+28) tmp = z * -(b * c); elseif (j <= 4.6e+116) tmp = c * (a * j); else tmp = i * (y * -j); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[j, -4.8e-38], N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -8.4e-191], N[(b * N[(t * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3.4e-273], N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 2.05e-153], N[(t * N[(b * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 190000000.0], N[(t * N[(a * (-x)), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 6e+28], N[(z * (-N[(b * c), $MachinePrecision])), $MachinePrecision], If[LessEqual[j, 4.6e+116], N[(c * N[(a * j), $MachinePrecision]), $MachinePrecision], N[(i * N[(y * (-j)), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;j \leq -4.8 \cdot 10^{-38}:\\
\;\;\;\;a \cdot \left(c \cdot j\right)\\
\mathbf{elif}\;j \leq -8.4 \cdot 10^{-191}:\\
\;\;\;\;b \cdot \left(t \cdot i\right)\\
\mathbf{elif}\;j \leq 3.4 \cdot 10^{-273}:\\
\;\;\;\;z \cdot \left(x \cdot y\right)\\
\mathbf{elif}\;j \leq 2.05 \cdot 10^{-153}:\\
\;\;\;\;t \cdot \left(b \cdot i\right)\\
\mathbf{elif}\;j \leq 190000000:\\
\;\;\;\;t \cdot \left(a \cdot \left(-x\right)\right)\\
\mathbf{elif}\;j \leq 6 \cdot 10^{+28}:\\
\;\;\;\;z \cdot \left(-b \cdot c\right)\\
\mathbf{elif}\;j \leq 4.6 \cdot 10^{+116}:\\
\;\;\;\;c \cdot \left(a \cdot j\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(y \cdot \left(-j\right)\right)\\
\end{array}
\end{array}
if j < -4.80000000000000044e-38Initial program 78.1%
Taylor expanded in a around inf 54.6%
+-commutative54.6%
mul-1-neg54.6%
unsub-neg54.6%
*-commutative54.6%
Simplified54.6%
Taylor expanded in j around inf 48.4%
if -4.80000000000000044e-38 < j < -8.39999999999999941e-191Initial program 73.4%
Taylor expanded in j around 0 76.4%
Taylor expanded in i around inf 38.3%
*-commutative38.3%
Simplified38.3%
if -8.39999999999999941e-191 < j < 3.39999999999999991e-273Initial program 68.4%
Taylor expanded in z around inf 61.4%
*-commutative61.4%
*-commutative61.4%
Simplified61.4%
Taylor expanded in y around inf 44.1%
if 3.39999999999999991e-273 < j < 2.05e-153Initial program 77.8%
Taylor expanded in j around 0 78.0%
Taylor expanded in i around inf 51.9%
associate-*r*58.8%
*-commutative58.8%
Simplified58.8%
if 2.05e-153 < j < 1.9e8Initial program 82.4%
+-commutative82.4%
fma-def82.4%
*-commutative82.4%
sub-neg82.4%
sub-neg82.4%
*-commutative82.4%
Simplified82.4%
Taylor expanded in y around 0 68.1%
associate-*r*68.1%
neg-mul-168.1%
fma-neg68.1%
distribute-rgt-neg-in68.1%
neg-sub068.1%
associate--r-68.1%
neg-sub068.1%
+-commutative68.1%
sub-neg68.1%
Simplified68.1%
Taylor expanded in t around inf 51.2%
Taylor expanded in a around inf 31.3%
mul-1-neg31.3%
*-commutative31.3%
associate-*r*36.8%
distribute-lft-neg-out36.8%
*-commutative36.8%
*-commutative36.8%
distribute-rgt-neg-in36.8%
Simplified36.8%
if 1.9e8 < j < 6.0000000000000002e28Initial program 66.7%
Taylor expanded in z around inf 53.1%
*-commutative53.1%
*-commutative53.1%
Simplified53.1%
Taylor expanded in y around 0 36.5%
mul-1-neg36.5%
*-commutative36.5%
distribute-rgt-neg-in36.5%
Simplified36.5%
if 6.0000000000000002e28 < j < 4.5999999999999999e116Initial program 88.1%
+-commutative88.1%
fma-def93.9%
*-commutative93.9%
sub-neg93.9%
sub-neg93.9%
*-commutative93.9%
Simplified93.9%
Taylor expanded in y around 0 77.3%
associate-*r*77.3%
neg-mul-177.3%
fma-neg77.3%
distribute-rgt-neg-in77.3%
neg-sub077.3%
associate--r-77.3%
neg-sub077.3%
+-commutative77.3%
sub-neg77.3%
Simplified77.3%
fma-udef71.4%
*-commutative71.4%
*-commutative71.4%
*-commutative71.4%
Applied egg-rr71.4%
Taylor expanded in y around 0 65.8%
associate-+r+65.8%
mul-1-neg65.8%
distribute-rgt-neg-in65.8%
mul-1-neg65.8%
distribute-lft-in65.8%
fma-def65.8%
+-commutative65.8%
mul-1-neg65.8%
unsub-neg65.8%
*-commutative65.8%
Simplified65.8%
Taylor expanded in j around inf 42.4%
associate-*r*47.8%
*-commutative47.8%
associate-*r*47.9%
Simplified47.9%
if 4.5999999999999999e116 < j Initial program 82.1%
+-commutative82.1%
fma-def82.1%
*-commutative82.1%
sub-neg82.1%
sub-neg82.1%
*-commutative82.1%
Simplified82.1%
Taylor expanded in y around 0 71.4%
associate-*r*71.4%
neg-mul-171.4%
fma-neg73.6%
distribute-rgt-neg-in73.6%
neg-sub073.6%
associate--r-73.6%
neg-sub073.6%
+-commutative73.6%
sub-neg73.6%
Simplified73.6%
Taylor expanded in y around inf 47.8%
mul-1-neg47.8%
*-commutative47.8%
distribute-rgt-neg-in47.8%
*-commutative47.8%
Simplified47.8%
Final simplification45.9%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* x (- (* y z) (* t a)))) (t_2 (* j (- (* a c) (* y i)))))
(if (<= j -3.3e-34)
t_2
(if (<= j -5.2e-194)
(* b (- (* t i) (* z c)))
(if (<= j -1.55e-304)
t_1
(if (<= j 5.5e-128)
(* t (- (* b i) (* x a)))
(if (<= j 5.8e+52) 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 = x * ((y * z) - (t * a));
double t_2 = j * ((a * c) - (y * i));
double tmp;
if (j <= -3.3e-34) {
tmp = t_2;
} else if (j <= -5.2e-194) {
tmp = b * ((t * i) - (z * c));
} else if (j <= -1.55e-304) {
tmp = t_1;
} else if (j <= 5.5e-128) {
tmp = t * ((b * i) - (x * a));
} else if (j <= 5.8e+52) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = x * ((y * z) - (t * a))
t_2 = j * ((a * c) - (y * i))
if (j <= (-3.3d-34)) then
tmp = t_2
else if (j <= (-5.2d-194)) then
tmp = b * ((t * i) - (z * c))
else if (j <= (-1.55d-304)) then
tmp = t_1
else if (j <= 5.5d-128) then
tmp = t * ((b * i) - (x * a))
else if (j <= 5.8d+52) then
tmp = t_1
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = x * ((y * z) - (t * a));
double t_2 = j * ((a * c) - (y * i));
double tmp;
if (j <= -3.3e-34) {
tmp = t_2;
} else if (j <= -5.2e-194) {
tmp = b * ((t * i) - (z * c));
} else if (j <= -1.55e-304) {
tmp = t_1;
} else if (j <= 5.5e-128) {
tmp = t * ((b * i) - (x * a));
} else if (j <= 5.8e+52) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = x * ((y * z) - (t * a)) t_2 = j * ((a * c) - (y * i)) tmp = 0 if j <= -3.3e-34: tmp = t_2 elif j <= -5.2e-194: tmp = b * ((t * i) - (z * c)) elif j <= -1.55e-304: tmp = t_1 elif j <= 5.5e-128: tmp = t * ((b * i) - (x * a)) elif j <= 5.8e+52: tmp = t_1 else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(x * Float64(Float64(y * z) - Float64(t * a))) t_2 = Float64(j * Float64(Float64(a * c) - Float64(y * i))) tmp = 0.0 if (j <= -3.3e-34) tmp = t_2; elseif (j <= -5.2e-194) tmp = Float64(b * Float64(Float64(t * i) - Float64(z * c))); elseif (j <= -1.55e-304) tmp = t_1; elseif (j <= 5.5e-128) tmp = Float64(t * Float64(Float64(b * i) - Float64(x * a))); elseif (j <= 5.8e+52) tmp = t_1; else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = x * ((y * z) - (t * a)); t_2 = j * ((a * c) - (y * i)); tmp = 0.0; if (j <= -3.3e-34) tmp = t_2; elseif (j <= -5.2e-194) tmp = b * ((t * i) - (z * c)); elseif (j <= -1.55e-304) tmp = t_1; elseif (j <= 5.5e-128) tmp = t * ((b * i) - (x * a)); elseif (j <= 5.8e+52) tmp = t_1; else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -3.3e-34], t$95$2, If[LessEqual[j, -5.2e-194], N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -1.55e-304], t$95$1, If[LessEqual[j, 5.5e-128], N[(t * N[(N[(b * i), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 5.8e+52], t$95$1, t$95$2]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(y \cdot z - t \cdot a\right)\\
t_2 := j \cdot \left(a \cdot c - y \cdot i\right)\\
\mathbf{if}\;j \leq -3.3 \cdot 10^{-34}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;j \leq -5.2 \cdot 10^{-194}:\\
\;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right)\\
\mathbf{elif}\;j \leq -1.55 \cdot 10^{-304}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;j \leq 5.5 \cdot 10^{-128}:\\
\;\;\;\;t \cdot \left(b \cdot i - x \cdot a\right)\\
\mathbf{elif}\;j \leq 5.8 \cdot 10^{+52}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;t_2\\
\end{array}
\end{array}
if j < -3.29999999999999983e-34 or 5.8e52 < j Initial program 80.8%
+-commutative80.8%
fma-def83.2%
*-commutative83.2%
sub-neg83.2%
sub-neg83.2%
*-commutative83.2%
Simplified83.2%
Taylor expanded in y around 0 74.2%
associate-*r*74.2%
neg-mul-174.2%
fma-neg75.0%
distribute-rgt-neg-in75.0%
neg-sub075.0%
associate--r-75.0%
neg-sub075.0%
+-commutative75.0%
sub-neg75.0%
Simplified75.0%
Taylor expanded in j around inf 66.8%
sub-neg66.8%
*-commutative66.8%
sub-neg66.8%
Simplified66.8%
if -3.29999999999999983e-34 < j < -5.20000000000000003e-194Initial program 73.4%
Taylor expanded in b around inf 64.0%
if -5.20000000000000003e-194 < j < -1.54999999999999992e-304 or 5.5000000000000004e-128 < j < 5.8e52Initial program 75.3%
+-commutative75.3%
fma-def75.3%
*-commutative75.3%
sub-neg75.3%
sub-neg75.3%
*-commutative75.3%
Simplified75.3%
Applied egg-rr61.1%
count-261.1%
Simplified61.1%
Taylor expanded in x around inf 65.3%
*-commutative65.3%
*-commutative65.3%
Simplified65.3%
if -1.54999999999999992e-304 < j < 5.5000000000000004e-128Initial program 77.7%
+-commutative77.7%
fma-def77.7%
*-commutative77.7%
sub-neg77.7%
sub-neg77.7%
*-commutative77.7%
Simplified77.7%
Applied egg-rr60.9%
count-260.9%
Simplified60.9%
Taylor expanded in t around inf 49.5%
neg-mul-149.5%
associate--l+49.5%
distribute-lft-in46.7%
distribute-lft1-in46.7%
metadata-eval46.7%
*-commutative46.7%
mul0-lft60.6%
metadata-eval60.6%
neg-sub060.6%
mul-1-neg60.6%
*-commutative60.6%
remove-double-neg60.6%
*-commutative60.6%
Simplified66.2%
Final simplification66.0%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* a (- (* c j) (* x t)))))
(if (<= i -1.55e+121)
(* b (* t i))
(if (<= i 4e+27)
t_1
(if (<= i 8.5e+140)
(* i (* y (- j)))
(if (<= i 1.5e+190) t_1 (* t (* b i))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = a * ((c * j) - (x * t));
double tmp;
if (i <= -1.55e+121) {
tmp = b * (t * i);
} else if (i <= 4e+27) {
tmp = t_1;
} else if (i <= 8.5e+140) {
tmp = i * (y * -j);
} else if (i <= 1.5e+190) {
tmp = t_1;
} 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) :: t_1
real(8) :: tmp
t_1 = a * ((c * j) - (x * t))
if (i <= (-1.55d+121)) then
tmp = b * (t * i)
else if (i <= 4d+27) then
tmp = t_1
else if (i <= 8.5d+140) then
tmp = i * (y * -j)
else if (i <= 1.5d+190) then
tmp = t_1
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 t_1 = a * ((c * j) - (x * t));
double tmp;
if (i <= -1.55e+121) {
tmp = b * (t * i);
} else if (i <= 4e+27) {
tmp = t_1;
} else if (i <= 8.5e+140) {
tmp = i * (y * -j);
} else if (i <= 1.5e+190) {
tmp = t_1;
} else {
tmp = t * (b * i);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = a * ((c * j) - (x * t)) tmp = 0 if i <= -1.55e+121: tmp = b * (t * i) elif i <= 4e+27: tmp = t_1 elif i <= 8.5e+140: tmp = i * (y * -j) elif i <= 1.5e+190: tmp = t_1 else: tmp = t * (b * i) 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 (i <= -1.55e+121) tmp = Float64(b * Float64(t * i)); elseif (i <= 4e+27) tmp = t_1; elseif (i <= 8.5e+140) tmp = Float64(i * Float64(y * Float64(-j))); elseif (i <= 1.5e+190) tmp = t_1; else tmp = Float64(t * Float64(b * i)); 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 (i <= -1.55e+121) tmp = b * (t * i); elseif (i <= 4e+27) tmp = t_1; elseif (i <= 8.5e+140) tmp = i * (y * -j); elseif (i <= 1.5e+190) tmp = t_1; else tmp = t * (b * i); 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[i, -1.55e+121], N[(b * N[(t * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 4e+27], t$95$1, If[LessEqual[i, 8.5e+140], N[(i * N[(y * (-j)), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.5e+190], t$95$1, N[(t * N[(b * i), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(c \cdot j - x \cdot t\right)\\
\mathbf{if}\;i \leq -1.55 \cdot 10^{+121}:\\
\;\;\;\;b \cdot \left(t \cdot i\right)\\
\mathbf{elif}\;i \leq 4 \cdot 10^{+27}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;i \leq 8.5 \cdot 10^{+140}:\\
\;\;\;\;i \cdot \left(y \cdot \left(-j\right)\right)\\
\mathbf{elif}\;i \leq 1.5 \cdot 10^{+190}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(b \cdot i\right)\\
\end{array}
\end{array}
if i < -1.55000000000000004e121Initial program 61.5%
Taylor expanded in j around 0 60.0%
Taylor expanded in i around inf 45.1%
*-commutative45.1%
Simplified45.1%
if -1.55000000000000004e121 < i < 4.0000000000000001e27 or 8.4999999999999996e140 < i < 1.49999999999999991e190Initial program 86.5%
Taylor expanded in a around inf 50.8%
+-commutative50.8%
mul-1-neg50.8%
unsub-neg50.8%
*-commutative50.8%
Simplified50.8%
if 4.0000000000000001e27 < i < 8.4999999999999996e140Initial program 68.6%
+-commutative68.6%
fma-def68.6%
*-commutative68.6%
sub-neg68.6%
sub-neg68.6%
*-commutative68.6%
Simplified68.6%
Taylor expanded in y around 0 68.6%
associate-*r*68.6%
neg-mul-168.6%
fma-neg68.6%
distribute-rgt-neg-in68.6%
neg-sub068.6%
associate--r-68.6%
neg-sub068.6%
+-commutative68.6%
sub-neg68.6%
Simplified68.6%
Taylor expanded in y around inf 43.1%
mul-1-neg43.1%
*-commutative43.1%
distribute-rgt-neg-in43.1%
*-commutative43.1%
Simplified43.1%
if 1.49999999999999991e190 < i Initial program 67.6%
Taylor expanded in j around 0 61.8%
Taylor expanded in i around inf 56.1%
associate-*r*59.2%
*-commutative59.2%
Simplified59.2%
Final simplification50.2%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* j (- (* a c) (* y i)))) (t_2 (* b (- (* t i) (* z c)))))
(if (<= b -8.5e+147)
t_2
(if (<= b -2.6e-209)
t_1
(if (<= b 1.65e-253)
(* a (- (* c j) (* x t)))
(if (<= b 4.2e-47) 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 * ((a * c) - (y * i));
double t_2 = b * ((t * i) - (z * c));
double tmp;
if (b <= -8.5e+147) {
tmp = t_2;
} else if (b <= -2.6e-209) {
tmp = t_1;
} else if (b <= 1.65e-253) {
tmp = a * ((c * j) - (x * t));
} else if (b <= 4.2e-47) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = j * ((a * c) - (y * i))
t_2 = b * ((t * i) - (z * c))
if (b <= (-8.5d+147)) then
tmp = t_2
else if (b <= (-2.6d-209)) then
tmp = t_1
else if (b <= 1.65d-253) then
tmp = a * ((c * j) - (x * t))
else if (b <= 4.2d-47) then
tmp = t_1
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = j * ((a * c) - (y * i));
double t_2 = b * ((t * i) - (z * c));
double tmp;
if (b <= -8.5e+147) {
tmp = t_2;
} else if (b <= -2.6e-209) {
tmp = t_1;
} else if (b <= 1.65e-253) {
tmp = a * ((c * j) - (x * t));
} else if (b <= 4.2e-47) {
tmp = t_1;
} 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 = b * ((t * i) - (z * c)) tmp = 0 if b <= -8.5e+147: tmp = t_2 elif b <= -2.6e-209: tmp = t_1 elif b <= 1.65e-253: tmp = a * ((c * j) - (x * t)) elif b <= 4.2e-47: tmp = 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(a * c) - Float64(y * i))) t_2 = Float64(b * Float64(Float64(t * i) - Float64(z * c))) tmp = 0.0 if (b <= -8.5e+147) tmp = t_2; elseif (b <= -2.6e-209) tmp = t_1; elseif (b <= 1.65e-253) tmp = Float64(a * Float64(Float64(c * j) - Float64(x * t))); elseif (b <= 4.2e-47) tmp = t_1; else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = j * ((a * c) - (y * i)); t_2 = b * ((t * i) - (z * c)); tmp = 0.0; if (b <= -8.5e+147) tmp = t_2; elseif (b <= -2.6e-209) tmp = t_1; elseif (b <= 1.65e-253) tmp = a * ((c * j) - (x * t)); elseif (b <= 4.2e-47) tmp = t_1; else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -8.5e+147], t$95$2, If[LessEqual[b, -2.6e-209], t$95$1, If[LessEqual[b, 1.65e-253], N[(a * N[(N[(c * j), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 4.2e-47], t$95$1, t$95$2]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(a \cdot c - y \cdot i\right)\\
t_2 := b \cdot \left(t \cdot i - z \cdot c\right)\\
\mathbf{if}\;b \leq -8.5 \cdot 10^{+147}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;b \leq -2.6 \cdot 10^{-209}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;b \leq 1.65 \cdot 10^{-253}:\\
\;\;\;\;a \cdot \left(c \cdot j - x \cdot t\right)\\
\mathbf{elif}\;b \leq 4.2 \cdot 10^{-47}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;t_2\\
\end{array}
\end{array}
if b < -8.5000000000000007e147 or 4.2000000000000001e-47 < b Initial program 74.8%
Taylor expanded in b around inf 62.4%
if -8.5000000000000007e147 < b < -2.59999999999999984e-209 or 1.65e-253 < b < 4.2000000000000001e-47Initial program 80.1%
+-commutative80.1%
fma-def81.7%
*-commutative81.7%
sub-neg81.7%
sub-neg81.7%
*-commutative81.7%
Simplified81.7%
Taylor expanded in y around 0 68.7%
associate-*r*68.7%
neg-mul-168.7%
fma-neg68.7%
distribute-rgt-neg-in68.7%
neg-sub068.7%
associate--r-68.7%
neg-sub068.7%
+-commutative68.7%
sub-neg68.7%
Simplified68.7%
Taylor expanded in j around inf 57.7%
sub-neg57.7%
*-commutative57.7%
sub-neg57.7%
Simplified57.7%
if -2.59999999999999984e-209 < b < 1.65e-253Initial program 79.6%
Taylor expanded in a around inf 57.7%
+-commutative57.7%
mul-1-neg57.7%
unsub-neg57.7%
*-commutative57.7%
Simplified57.7%
Final simplification59.4%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* j (- (* a c) (* y i)))))
(if (<= j -1.8e-33)
t_1
(if (<= j -6e-234)
(* b (- (* t i) (* z c)))
(if (<= j -3.8e-298)
(* z (* x y))
(if (<= j 6e-53) (* 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 = j * ((a * c) - (y * i));
double tmp;
if (j <= -1.8e-33) {
tmp = t_1;
} else if (j <= -6e-234) {
tmp = b * ((t * i) - (z * c));
} else if (j <= -3.8e-298) {
tmp = z * (x * y);
} else if (j <= 6e-53) {
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 = j * ((a * c) - (y * i))
if (j <= (-1.8d-33)) then
tmp = t_1
else if (j <= (-6d-234)) then
tmp = b * ((t * i) - (z * c))
else if (j <= (-3.8d-298)) then
tmp = z * (x * y)
else if (j <= 6d-53) 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 = j * ((a * c) - (y * i));
double tmp;
if (j <= -1.8e-33) {
tmp = t_1;
} else if (j <= -6e-234) {
tmp = b * ((t * i) - (z * c));
} else if (j <= -3.8e-298) {
tmp = z * (x * y);
} else if (j <= 6e-53) {
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 = j * ((a * c) - (y * i)) tmp = 0 if j <= -1.8e-33: tmp = t_1 elif j <= -6e-234: tmp = b * ((t * i) - (z * c)) elif j <= -3.8e-298: tmp = z * (x * y) elif j <= 6e-53: 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(j * Float64(Float64(a * c) - Float64(y * i))) tmp = 0.0 if (j <= -1.8e-33) tmp = t_1; elseif (j <= -6e-234) tmp = Float64(b * Float64(Float64(t * i) - Float64(z * c))); elseif (j <= -3.8e-298) tmp = Float64(z * Float64(x * y)); elseif (j <= 6e-53) 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 = j * ((a * c) - (y * i)); tmp = 0.0; if (j <= -1.8e-33) tmp = t_1; elseif (j <= -6e-234) tmp = b * ((t * i) - (z * c)); elseif (j <= -3.8e-298) tmp = z * (x * y); elseif (j <= 6e-53) 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[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -1.8e-33], t$95$1, If[LessEqual[j, -6e-234], N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -3.8e-298], N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 6e-53], N[(t * N[(N[(b * i), $MachinePrecision] - N[(x * 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 -1.8 \cdot 10^{-33}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;j \leq -6 \cdot 10^{-234}:\\
\;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right)\\
\mathbf{elif}\;j \leq -3.8 \cdot 10^{-298}:\\
\;\;\;\;z \cdot \left(x \cdot y\right)\\
\mathbf{elif}\;j \leq 6 \cdot 10^{-53}:\\
\;\;\;\;t \cdot \left(b \cdot i - x \cdot a\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if j < -1.80000000000000017e-33 or 6.0000000000000004e-53 < j Initial program 81.1%
+-commutative81.1%
fma-def83.1%
*-commutative83.1%
sub-neg83.1%
sub-neg83.1%
*-commutative83.1%
Simplified83.1%
Taylor expanded in y around 0 74.2%
associate-*r*74.2%
neg-mul-174.2%
fma-neg74.9%
distribute-rgt-neg-in74.9%
neg-sub074.9%
associate--r-74.9%
neg-sub074.9%
+-commutative74.9%
sub-neg74.9%
Simplified74.9%
Taylor expanded in j around inf 62.6%
sub-neg62.6%
*-commutative62.6%
sub-neg62.6%
Simplified62.6%
if -1.80000000000000017e-33 < j < -5.99999999999999975e-234Initial program 73.8%
Taylor expanded in b around inf 61.2%
if -5.99999999999999975e-234 < j < -3.8e-298Initial program 61.0%
Taylor expanded in z around inf 74.1%
*-commutative74.1%
*-commutative74.1%
Simplified74.1%
Taylor expanded in y around inf 60.6%
if -3.8e-298 < j < 6.0000000000000004e-53Initial program 77.8%
+-commutative77.8%
fma-def77.8%
*-commutative77.8%
sub-neg77.8%
sub-neg77.8%
*-commutative77.8%
Simplified77.8%
Applied egg-rr61.1%
count-261.1%
Simplified61.1%
Taylor expanded in t around inf 49.8%
neg-mul-149.8%
associate--l+49.8%
distribute-lft-in48.0%
distribute-lft1-in48.0%
metadata-eval48.0%
*-commutative48.0%
mul0-lft61.1%
metadata-eval61.1%
neg-sub061.1%
mul-1-neg61.1%
*-commutative61.1%
remove-double-neg61.1%
*-commutative61.1%
Simplified64.8%
Final simplification62.8%
(FPCore (x y z t a b c i j)
:precision binary64
(if (<= i -5.4e+57)
(* b (* t i))
(if (<= i -5e-145)
(* a (* c j))
(if (<= i 4.8e-72)
(* z (* x y))
(if (<= i 1.85e+48) (* a (* t (- x))) (* 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.4e+57) {
tmp = b * (t * i);
} else if (i <= -5e-145) {
tmp = a * (c * j);
} else if (i <= 4.8e-72) {
tmp = z * (x * y);
} else if (i <= 1.85e+48) {
tmp = a * (t * -x);
} 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.4d+57)) then
tmp = b * (t * i)
else if (i <= (-5d-145)) then
tmp = a * (c * j)
else if (i <= 4.8d-72) then
tmp = z * (x * y)
else if (i <= 1.85d+48) then
tmp = a * (t * -x)
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.4e+57) {
tmp = b * (t * i);
} else if (i <= -5e-145) {
tmp = a * (c * j);
} else if (i <= 4.8e-72) {
tmp = z * (x * y);
} else if (i <= 1.85e+48) {
tmp = a * (t * -x);
} else {
tmp = t * (b * i);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if i <= -5.4e+57: tmp = b * (t * i) elif i <= -5e-145: tmp = a * (c * j) elif i <= 4.8e-72: tmp = z * (x * y) elif i <= 1.85e+48: tmp = a * (t * -x) else: tmp = t * (b * i) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (i <= -5.4e+57) tmp = Float64(b * Float64(t * i)); elseif (i <= -5e-145) tmp = Float64(a * Float64(c * j)); elseif (i <= 4.8e-72) tmp = Float64(z * Float64(x * y)); elseif (i <= 1.85e+48) tmp = Float64(a * Float64(t * Float64(-x))); 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.4e+57) tmp = b * (t * i); elseif (i <= -5e-145) tmp = a * (c * j); elseif (i <= 4.8e-72) tmp = z * (x * y); elseif (i <= 1.85e+48) tmp = a * (t * -x); else tmp = t * (b * i); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[i, -5.4e+57], N[(b * N[(t * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -5e-145], N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 4.8e-72], N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.85e+48], N[(a * N[(t * (-x)), $MachinePrecision]), $MachinePrecision], N[(t * N[(b * i), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;i \leq -5.4 \cdot 10^{+57}:\\
\;\;\;\;b \cdot \left(t \cdot i\right)\\
\mathbf{elif}\;i \leq -5 \cdot 10^{-145}:\\
\;\;\;\;a \cdot \left(c \cdot j\right)\\
\mathbf{elif}\;i \leq 4.8 \cdot 10^{-72}:\\
\;\;\;\;z \cdot \left(x \cdot y\right)\\
\mathbf{elif}\;i \leq 1.85 \cdot 10^{+48}:\\
\;\;\;\;a \cdot \left(t \cdot \left(-x\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(b \cdot i\right)\\
\end{array}
\end{array}
if i < -5.3999999999999997e57Initial program 67.4%
Taylor expanded in j around 0 63.2%
Taylor expanded in i around inf 47.2%
*-commutative47.2%
Simplified47.2%
if -5.3999999999999997e57 < i < -4.9999999999999998e-145Initial program 88.9%
Taylor expanded in a around inf 54.0%
+-commutative54.0%
mul-1-neg54.0%
unsub-neg54.0%
*-commutative54.0%
Simplified54.0%
Taylor expanded in j around inf 34.1%
if -4.9999999999999998e-145 < i < 4.8e-72Initial program 87.0%
Taylor expanded in z around inf 51.8%
*-commutative51.8%
*-commutative51.8%
Simplified51.8%
Taylor expanded in y around inf 35.8%
if 4.8e-72 < i < 1.85e48Initial program 74.1%
Taylor expanded in a around inf 53.6%
+-commutative53.6%
mul-1-neg53.6%
unsub-neg53.6%
*-commutative53.6%
Simplified53.6%
Taylor expanded in j around 0 32.3%
mul-1-neg32.3%
distribute-lft-neg-out32.3%
*-commutative32.3%
Simplified32.3%
if 1.85e48 < i Initial program 71.8%
Taylor expanded in j around 0 57.9%
Taylor expanded in i around inf 42.1%
associate-*r*43.4%
*-commutative43.4%
Simplified43.4%
Final simplification39.6%
(FPCore (x y z t a b c i j)
:precision binary64
(if (<= i -4.9e+57)
(* b (* t i))
(if (<= i -1.35e-144)
(* a (* c j))
(if (<= i 5.3e-78)
(* z (* x y))
(if (<= i 3e+192) (* j (- (* y i))) (* 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 <= -4.9e+57) {
tmp = b * (t * i);
} else if (i <= -1.35e-144) {
tmp = a * (c * j);
} else if (i <= 5.3e-78) {
tmp = z * (x * y);
} else if (i <= 3e+192) {
tmp = j * -(y * i);
} 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 <= (-4.9d+57)) then
tmp = b * (t * i)
else if (i <= (-1.35d-144)) then
tmp = a * (c * j)
else if (i <= 5.3d-78) then
tmp = z * (x * y)
else if (i <= 3d+192) then
tmp = j * -(y * i)
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 <= -4.9e+57) {
tmp = b * (t * i);
} else if (i <= -1.35e-144) {
tmp = a * (c * j);
} else if (i <= 5.3e-78) {
tmp = z * (x * y);
} else if (i <= 3e+192) {
tmp = j * -(y * i);
} else {
tmp = t * (b * i);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if i <= -4.9e+57: tmp = b * (t * i) elif i <= -1.35e-144: tmp = a * (c * j) elif i <= 5.3e-78: tmp = z * (x * y) elif i <= 3e+192: tmp = j * -(y * i) else: tmp = t * (b * i) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (i <= -4.9e+57) tmp = Float64(b * Float64(t * i)); elseif (i <= -1.35e-144) tmp = Float64(a * Float64(c * j)); elseif (i <= 5.3e-78) tmp = Float64(z * Float64(x * y)); elseif (i <= 3e+192) tmp = Float64(j * Float64(-Float64(y * i))); 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 <= -4.9e+57) tmp = b * (t * i); elseif (i <= -1.35e-144) tmp = a * (c * j); elseif (i <= 5.3e-78) tmp = z * (x * y); elseif (i <= 3e+192) tmp = j * -(y * i); else tmp = t * (b * i); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[i, -4.9e+57], N[(b * N[(t * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -1.35e-144], N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 5.3e-78], N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 3e+192], N[(j * (-N[(y * i), $MachinePrecision])), $MachinePrecision], N[(t * N[(b * i), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;i \leq -4.9 \cdot 10^{+57}:\\
\;\;\;\;b \cdot \left(t \cdot i\right)\\
\mathbf{elif}\;i \leq -1.35 \cdot 10^{-144}:\\
\;\;\;\;a \cdot \left(c \cdot j\right)\\
\mathbf{elif}\;i \leq 5.3 \cdot 10^{-78}:\\
\;\;\;\;z \cdot \left(x \cdot y\right)\\
\mathbf{elif}\;i \leq 3 \cdot 10^{+192}:\\
\;\;\;\;j \cdot \left(-y \cdot i\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(b \cdot i\right)\\
\end{array}
\end{array}
if i < -4.8999999999999999e57Initial program 67.4%
Taylor expanded in j around 0 63.2%
Taylor expanded in i around inf 47.2%
*-commutative47.2%
Simplified47.2%
if -4.8999999999999999e57 < i < -1.34999999999999988e-144Initial program 88.9%
Taylor expanded in a around inf 54.0%
+-commutative54.0%
mul-1-neg54.0%
unsub-neg54.0%
*-commutative54.0%
Simplified54.0%
Taylor expanded in j around inf 34.1%
if -1.34999999999999988e-144 < i < 5.29999999999999957e-78Initial program 87.0%
Taylor expanded in z around inf 51.8%
*-commutative51.8%
*-commutative51.8%
Simplified51.8%
Taylor expanded in y around inf 35.8%
if 5.29999999999999957e-78 < i < 3e192Initial program 75.9%
+-commutative75.9%
fma-def75.9%
*-commutative75.9%
sub-neg75.9%
sub-neg75.9%
*-commutative75.9%
Simplified75.9%
Taylor expanded in y around 0 73.5%
associate-*r*73.5%
neg-mul-173.5%
fma-neg73.5%
distribute-rgt-neg-in73.5%
neg-sub073.5%
associate--r-73.5%
neg-sub073.5%
+-commutative73.5%
sub-neg73.5%
Simplified73.5%
Taylor expanded in y around inf 31.0%
mul-1-neg31.0%
*-commutative31.0%
distribute-rgt-neg-in31.0%
*-commutative31.0%
Simplified31.0%
Taylor expanded in y around 0 31.0%
associate-*r*31.0%
neg-mul-131.0%
*-commutative31.0%
associate-*l*30.7%
Simplified30.7%
if 3e192 < i Initial program 67.6%
Taylor expanded in j around 0 61.8%
Taylor expanded in i around inf 56.1%
associate-*r*59.2%
*-commutative59.2%
Simplified59.2%
Final simplification40.3%
(FPCore (x y z t a b c i j) :precision binary64 (if (or (<= t -5.1e+22) (not (<= t 27500000.0))) (* b (* t i)) (* a (* c j))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if ((t <= -5.1e+22) || !(t <= 27500000.0)) {
tmp = b * (t * i);
} else {
tmp = a * (c * j);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: tmp
if ((t <= (-5.1d+22)) .or. (.not. (t <= 27500000.0d0))) then
tmp = b * (t * i)
else
tmp = a * (c * j)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if ((t <= -5.1e+22) || !(t <= 27500000.0)) {
tmp = b * (t * i);
} else {
tmp = a * (c * j);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if (t <= -5.1e+22) or not (t <= 27500000.0): tmp = b * (t * i) else: tmp = a * (c * j) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if ((t <= -5.1e+22) || !(t <= 27500000.0)) tmp = Float64(b * Float64(t * i)); else tmp = Float64(a * Float64(c * j)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if ((t <= -5.1e+22) || ~((t <= 27500000.0))) tmp = b * (t * i); else tmp = a * (c * j); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[Or[LessEqual[t, -5.1e+22], N[Not[LessEqual[t, 27500000.0]], $MachinePrecision]], N[(b * N[(t * i), $MachinePrecision]), $MachinePrecision], N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -5.1 \cdot 10^{+22} \lor \neg \left(t \leq 27500000\right):\\
\;\;\;\;b \cdot \left(t \cdot i\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(c \cdot j\right)\\
\end{array}
\end{array}
if t < -5.1000000000000002e22 or 2.75e7 < t Initial program 72.1%
Taylor expanded in j around 0 70.7%
Taylor expanded in i around inf 39.6%
*-commutative39.6%
Simplified39.6%
if -5.1000000000000002e22 < t < 2.75e7Initial program 83.3%
Taylor expanded in a around inf 43.2%
+-commutative43.2%
mul-1-neg43.2%
unsub-neg43.2%
*-commutative43.2%
Simplified43.2%
Taylor expanded in j around inf 34.5%
Final simplification36.8%
(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 78.1%
Taylor expanded in a around inf 40.9%
+-commutative40.9%
mul-1-neg40.9%
unsub-neg40.9%
*-commutative40.9%
Simplified40.9%
Taylor expanded in j around inf 24.9%
Final simplification24.9%
(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 2023322
(FPCore (x y z t a b c i j)
:name "Data.Colour.Matrix:determinant from colour-2.3.3, A"
:precision binary64
:herbie-target
(if (< x -1.469694296777705e-64) (+ (- (* x (- (* y z) (* t a))) (/ (* b (- (pow (* c z) 2.0) (pow (* t i) 2.0))) (+ (* c z) (* t i)))) (* j (- (* c a) (* y i)))) (if (< x 3.2113527362226803e-147) (- (* (- (* b i) (* x a)) t) (- (* z (* c b)) (* j (- (* c a) (* y i))))) (+ (- (* x (- (* y z) (* t a))) (/ (* b (- (pow (* c z) 2.0) (pow (* t i) 2.0))) (+ (* c z) (* t i)))) (* j (- (* c a) (* y i))))))
(+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* t i)))) (* j (- (* c a) (* y i)))))