
(FPCore (x y z t a b c i j) :precision binary64 (+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))) (* j (- (* c t) (* i y)))))
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) - (i * a)))) + (j * ((c * t) - (i * y)));
}
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) - (i * a)))) + (j * ((c * t) - (i * y)))
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) - (i * a)))) + (j * ((c * t) - (i * y)));
}
def code(x, y, z, t, a, b, c, i, j): return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + (j * ((c * t) - (i * y)))
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(i * a)))) + Float64(j * Float64(Float64(c * t) - Float64(i * y)))) end
function tmp = code(x, y, z, t, a, b, c, i, j) tmp = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + (j * ((c * t) - (i * y))); 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[(i * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(c * t), $MachinePrecision] - N[(i * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 19 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a b c i j) :precision binary64 (+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))) (* j (- (* c t) (* i y)))))
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) - (i * a)))) + (j * ((c * t) - (i * y)));
}
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) - (i * a)))) + (j * ((c * t) - (i * y)))
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) - (i * a)))) + (j * ((c * t) - (i * y)));
}
def code(x, y, z, t, a, b, c, i, j): return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + (j * ((c * t) - (i * y)))
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(i * a)))) + Float64(j * Float64(Float64(c * t) - Float64(i * y)))) end
function tmp = code(x, y, z, t, a, b, c, i, j) tmp = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + (j * ((c * t) - (i * y))); 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[(i * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(c * t), $MachinePrecision] - N[(i * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)
\end{array}
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* b (- (* a i) (* z c)))) (t_2 (- (* t c) (* y i))))
(if (<= (+ (+ (* x (- (* y z) (* t a))) t_1) (* j t_2)) INFINITY)
(fma j t_2 (+ (* x (fma y z (* t (- a)))) t_1))
(* a (- (* b i) (* x t))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = b * ((a * i) - (z * c));
double t_2 = (t * c) - (y * i);
double tmp;
if ((((x * ((y * z) - (t * a))) + t_1) + (j * t_2)) <= ((double) INFINITY)) {
tmp = fma(j, t_2, ((x * fma(y, z, (t * -a))) + t_1));
} else {
tmp = a * ((b * i) - (x * t));
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(b * Float64(Float64(a * i) - Float64(z * c))) t_2 = Float64(Float64(t * c) - Float64(y * i)) tmp = 0.0 if (Float64(Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) + t_1) + Float64(j * t_2)) <= Inf) tmp = fma(j, t_2, Float64(Float64(x * fma(y, z, Float64(t * Float64(-a)))) + t_1)); else tmp = Float64(a * Float64(Float64(b * i) - Float64(x * t))); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[N[(N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$1), $MachinePrecision] + N[(j * t$95$2), $MachinePrecision]), $MachinePrecision], Infinity], N[(j * t$95$2 + N[(N[(x * N[(y * z + N[(t * (-a)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$1), $MachinePrecision]), $MachinePrecision], N[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\
t_2 := t \cdot c - y \cdot i\\
\mathbf{if}\;\left(x \cdot \left(y \cdot z - t \cdot a\right) + t\_1\right) + j \cdot t\_2 \leq \infty:\\
\;\;\;\;\mathsf{fma}\left(j, t\_2, x \cdot \mathsf{fma}\left(y, z, t \cdot \left(-a\right)\right) + t\_1\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\
\end{array}
\end{array}
if (+.f64 (-.f64 (*.f64 x (-.f64 (*.f64 y z) (*.f64 t a))) (*.f64 b (-.f64 (*.f64 c z) (*.f64 i a)))) (*.f64 j (-.f64 (*.f64 c t) (*.f64 i y)))) < +inf.0Initial program 90.3%
+-commutative90.3%
fma-define90.3%
*-commutative90.3%
*-commutative90.3%
cancel-sign-sub-inv90.3%
cancel-sign-sub90.3%
sub-neg90.3%
sub-neg90.3%
*-commutative90.3%
fma-neg90.3%
*-commutative90.3%
distribute-rgt-neg-out90.3%
remove-double-neg90.3%
*-commutative90.3%
*-commutative90.3%
Simplified90.3%
if +inf.0 < (+.f64 (-.f64 (*.f64 x (-.f64 (*.f64 y z) (*.f64 t a))) (*.f64 b (-.f64 (*.f64 c z) (*.f64 i a)))) (*.f64 j (-.f64 (*.f64 c t) (*.f64 i y)))) Initial program 0.0%
Taylor expanded in a around inf 54.3%
distribute-lft-out--54.3%
*-commutative54.3%
*-commutative54.3%
Simplified54.3%
Final simplification84.5%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1
(+
(+ (* x (- (* y z) (* t a))) (* b (- (* a i) (* z c))))
(* j (- (* t c) (* y i))))))
(if (<= t_1 INFINITY) t_1 (* a (- (* b i) (* x t))))))
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 * ((a * i) - (z * c)))) + (j * ((t * c) - (y * i)));
double tmp;
if (t_1 <= ((double) INFINITY)) {
tmp = t_1;
} else {
tmp = a * ((b * i) - (x * t));
}
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 * ((a * i) - (z * c)))) + (j * ((t * c) - (y * i)));
double tmp;
if (t_1 <= Double.POSITIVE_INFINITY) {
tmp = t_1;
} else {
tmp = a * ((b * i) - (x * t));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = ((x * ((y * z) - (t * a))) + (b * ((a * i) - (z * c)))) + (j * ((t * c) - (y * i))) tmp = 0 if t_1 <= math.inf: tmp = t_1 else: tmp = a * ((b * i) - (x * t)) 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(a * i) - Float64(z * c)))) + Float64(j * Float64(Float64(t * c) - Float64(y * i)))) tmp = 0.0 if (t_1 <= Inf) tmp = t_1; else tmp = Float64(a * Float64(Float64(b * i) - Float64(x * t))); 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 * ((a * i) - (z * c)))) + (j * ((t * c) - (y * i))); tmp = 0.0; if (t_1 <= Inf) tmp = t_1; else tmp = a * ((b * i) - (x * t)); 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[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, Infinity], t$95$1, N[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $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(a \cdot i - z \cdot c\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\
\mathbf{if}\;t\_1 \leq \infty:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\
\end{array}
\end{array}
if (+.f64 (-.f64 (*.f64 x (-.f64 (*.f64 y z) (*.f64 t a))) (*.f64 b (-.f64 (*.f64 c z) (*.f64 i a)))) (*.f64 j (-.f64 (*.f64 c t) (*.f64 i y)))) < +inf.0Initial program 90.3%
if +inf.0 < (+.f64 (-.f64 (*.f64 x (-.f64 (*.f64 y z) (*.f64 t a))) (*.f64 b (-.f64 (*.f64 c z) (*.f64 i a)))) (*.f64 j (-.f64 (*.f64 c t) (*.f64 i y)))) Initial program 0.0%
Taylor expanded in a around inf 54.3%
distribute-lft-out--54.3%
*-commutative54.3%
*-commutative54.3%
Simplified54.3%
Final simplification84.5%
(FPCore (x y z t a b c i j) :precision binary64 (if (or (<= b -5.8e+47) (not (<= b 2.4e+208))) (* (* a b) (- i (* c (/ z a)))) (+ (* j (- (* t c) (* y i))) (- (* x (- (* y z) (* t a))) (* c (* z b))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if ((b <= -5.8e+47) || !(b <= 2.4e+208)) {
tmp = (a * b) * (i - (c * (z / a)));
} else {
tmp = (j * ((t * c) - (y * i))) + ((x * ((y * z) - (t * a))) - (c * (z * b)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: tmp
if ((b <= (-5.8d+47)) .or. (.not. (b <= 2.4d+208))) then
tmp = (a * b) * (i - (c * (z / a)))
else
tmp = (j * ((t * c) - (y * i))) + ((x * ((y * z) - (t * a))) - (c * (z * b)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if ((b <= -5.8e+47) || !(b <= 2.4e+208)) {
tmp = (a * b) * (i - (c * (z / a)));
} else {
tmp = (j * ((t * c) - (y * i))) + ((x * ((y * z) - (t * a))) - (c * (z * b)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if (b <= -5.8e+47) or not (b <= 2.4e+208): tmp = (a * b) * (i - (c * (z / a))) else: tmp = (j * ((t * c) - (y * i))) + ((x * ((y * z) - (t * a))) - (c * (z * b))) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if ((b <= -5.8e+47) || !(b <= 2.4e+208)) tmp = Float64(Float64(a * b) * Float64(i - Float64(c * Float64(z / a)))); else tmp = Float64(Float64(j * Float64(Float64(t * c) - Float64(y * i))) + Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) - Float64(c * Float64(z * b)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if ((b <= -5.8e+47) || ~((b <= 2.4e+208))) tmp = (a * b) * (i - (c * (z / a))); else tmp = (j * ((t * c) - (y * i))) + ((x * ((y * z) - (t * a))) - (c * (z * b))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[Or[LessEqual[b, -5.8e+47], N[Not[LessEqual[b, 2.4e+208]], $MachinePrecision]], N[(N[(a * b), $MachinePrecision] * N[(i - N[(c * N[(z / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -5.8 \cdot 10^{+47} \lor \neg \left(b \leq 2.4 \cdot 10^{+208}\right):\\
\;\;\;\;\left(a \cdot b\right) \cdot \left(i - c \cdot \frac{z}{a}\right)\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - c \cdot \left(z \cdot b\right)\right)\\
\end{array}
\end{array}
if b < -5.79999999999999961e47 or 2.39999999999999987e208 < b Initial program 70.8%
Taylor expanded in b around inf 74.7%
*-commutative74.7%
Simplified74.7%
Taylor expanded in a around inf 66.7%
mul-1-neg66.7%
associate-/l*68.4%
*-commutative68.4%
associate-*r/71.3%
distribute-rgt-neg-in71.3%
associate-*r/68.4%
*-commutative68.4%
mul-1-neg68.4%
distribute-lft-in73.4%
remove-double-neg73.4%
neg-mul-173.4%
sub-neg73.4%
associate-*r*73.4%
distribute-lft-out--73.4%
mul-1-neg73.4%
Simplified79.5%
if -5.79999999999999961e47 < b < 2.39999999999999987e208Initial program 77.4%
Taylor expanded in c around inf 83.0%
+-commutative83.0%
mul-1-neg83.0%
unsub-neg83.0%
*-commutative83.0%
associate-/l*81.5%
*-commutative81.5%
Simplified81.5%
Taylor expanded in z around inf 80.5%
Final simplification80.3%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* j (- (* t c) (* y i)))))
(if (<= j -1.18e+98)
t_1
(if (<= j -9.5e-277)
(* x (- (* y z) (* t a)))
(if (<= j 8.5e+104) (- (* t (- (* c j) (* x a))) (* c (* z b))) 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 * ((t * c) - (y * i));
double tmp;
if (j <= -1.18e+98) {
tmp = t_1;
} else if (j <= -9.5e-277) {
tmp = x * ((y * z) - (t * a));
} else if (j <= 8.5e+104) {
tmp = (t * ((c * j) - (x * a))) - (c * (z * b));
} 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 * ((t * c) - (y * i))
if (j <= (-1.18d+98)) then
tmp = t_1
else if (j <= (-9.5d-277)) then
tmp = x * ((y * z) - (t * a))
else if (j <= 8.5d+104) then
tmp = (t * ((c * j) - (x * a))) - (c * (z * b))
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 * ((t * c) - (y * i));
double tmp;
if (j <= -1.18e+98) {
tmp = t_1;
} else if (j <= -9.5e-277) {
tmp = x * ((y * z) - (t * a));
} else if (j <= 8.5e+104) {
tmp = (t * ((c * j) - (x * a))) - (c * (z * b));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = j * ((t * c) - (y * i)) tmp = 0 if j <= -1.18e+98: tmp = t_1 elif j <= -9.5e-277: tmp = x * ((y * z) - (t * a)) elif j <= 8.5e+104: tmp = (t * ((c * j) - (x * a))) - (c * (z * b)) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(j * Float64(Float64(t * c) - Float64(y * i))) tmp = 0.0 if (j <= -1.18e+98) tmp = t_1; elseif (j <= -9.5e-277) tmp = Float64(x * Float64(Float64(y * z) - Float64(t * a))); elseif (j <= 8.5e+104) tmp = Float64(Float64(t * Float64(Float64(c * j) - Float64(x * a))) - Float64(c * Float64(z * b))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = j * ((t * c) - (y * i)); tmp = 0.0; if (j <= -1.18e+98) tmp = t_1; elseif (j <= -9.5e-277) tmp = x * ((y * z) - (t * a)); elseif (j <= 8.5e+104) tmp = (t * ((c * j) - (x * a))) - (c * (z * b)); 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[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -1.18e+98], t$95$1, If[LessEqual[j, -9.5e-277], N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 8.5e+104], N[(N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(t \cdot c - y \cdot i\right)\\
\mathbf{if}\;j \leq -1.18 \cdot 10^{+98}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq -9.5 \cdot 10^{-277}:\\
\;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right)\\
\mathbf{elif}\;j \leq 8.5 \cdot 10^{+104}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right) - c \cdot \left(z \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if j < -1.18000000000000002e98 or 8.4999999999999999e104 < j Initial program 77.0%
Taylor expanded in j around inf 79.8%
if -1.18000000000000002e98 < j < -9.5e-277Initial program 79.0%
Taylor expanded in b around 0 66.8%
Taylor expanded in j around 0 61.8%
if -9.5e-277 < j < 8.4999999999999999e104Initial program 72.4%
Taylor expanded in c around inf 76.5%
+-commutative76.5%
mul-1-neg76.5%
unsub-neg76.5%
*-commutative76.5%
associate-/l*74.5%
*-commutative74.5%
Simplified74.5%
Taylor expanded in z around inf 65.9%
Taylor expanded in y around 0 53.0%
associate-*r*53.0%
*-commutative53.0%
associate-*r*55.7%
associate-*r*55.7%
associate-*r*56.7%
distribute-rgt-in57.7%
+-commutative57.7%
mul-1-neg57.7%
unsub-neg57.7%
*-commutative57.7%
*-commutative57.7%
*-commutative57.7%
associate-*r*62.8%
Simplified62.8%
Final simplification67.7%
(FPCore (x y z t a b c i j)
:precision binary64
(if (<= b -1.02e+43)
(* (* a b) (- i (* c (/ z a))))
(if (<= b 440000000000.0)
(+ (* x (- (* y z) (* t a))) (* j (- (* t c) (* y i))))
(* b (* z (- (* a (/ i z)) c))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (b <= -1.02e+43) {
tmp = (a * b) * (i - (c * (z / a)));
} else if (b <= 440000000000.0) {
tmp = (x * ((y * z) - (t * a))) + (j * ((t * c) - (y * i)));
} else {
tmp = b * (z * ((a * (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) :: tmp
if (b <= (-1.02d+43)) then
tmp = (a * b) * (i - (c * (z / a)))
else if (b <= 440000000000.0d0) then
tmp = (x * ((y * z) - (t * a))) + (j * ((t * c) - (y * i)))
else
tmp = b * (z * ((a * (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 tmp;
if (b <= -1.02e+43) {
tmp = (a * b) * (i - (c * (z / a)));
} else if (b <= 440000000000.0) {
tmp = (x * ((y * z) - (t * a))) + (j * ((t * c) - (y * i)));
} else {
tmp = b * (z * ((a * (i / z)) - c));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if b <= -1.02e+43: tmp = (a * b) * (i - (c * (z / a))) elif b <= 440000000000.0: tmp = (x * ((y * z) - (t * a))) + (j * ((t * c) - (y * i))) else: tmp = b * (z * ((a * (i / z)) - c)) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (b <= -1.02e+43) tmp = Float64(Float64(a * b) * Float64(i - Float64(c * Float64(z / a)))); elseif (b <= 440000000000.0) tmp = Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) + Float64(j * Float64(Float64(t * c) - Float64(y * i)))); else tmp = Float64(b * Float64(z * Float64(Float64(a * Float64(i / z)) - c))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if (b <= -1.02e+43) tmp = (a * b) * (i - (c * (z / a))); elseif (b <= 440000000000.0) tmp = (x * ((y * z) - (t * a))) + (j * ((t * c) - (y * i))); else tmp = b * (z * ((a * (i / z)) - c)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[b, -1.02e+43], N[(N[(a * b), $MachinePrecision] * N[(i - N[(c * N[(z / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 440000000000.0], N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(z * N[(N[(a * N[(i / z), $MachinePrecision]), $MachinePrecision] - c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -1.02 \cdot 10^{+43}:\\
\;\;\;\;\left(a \cdot b\right) \cdot \left(i - c \cdot \frac{z}{a}\right)\\
\mathbf{elif}\;b \leq 440000000000:\\
\;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(z \cdot \left(a \cdot \frac{i}{z} - c\right)\right)\\
\end{array}
\end{array}
if b < -1.02e43Initial program 70.9%
Taylor expanded in b around inf 67.2%
*-commutative67.2%
Simplified67.2%
Taylor expanded in a around inf 64.9%
mul-1-neg64.9%
associate-/l*64.9%
*-commutative64.9%
associate-*r/68.9%
distribute-rgt-neg-in68.9%
associate-*r/64.9%
*-commutative64.9%
mul-1-neg64.9%
distribute-lft-in67.4%
remove-double-neg67.4%
neg-mul-167.4%
sub-neg67.4%
associate-*r*65.3%
distribute-lft-out--65.3%
mul-1-neg65.3%
Simplified73.7%
if -1.02e43 < b < 4.4e11Initial program 74.9%
Taylor expanded in b around 0 79.5%
if 4.4e11 < b Initial program 81.0%
Taylor expanded in b around inf 68.5%
*-commutative68.5%
Simplified68.5%
Taylor expanded in z around inf 70.0%
associate-/l*68.6%
Simplified68.6%
Final simplification75.6%
(FPCore (x y z t a b c i j)
:precision binary64
(if (<= j -8.8e+29)
(* i (* y (- j)))
(if (<= j -2e-276)
(* x (* y z))
(if (<= j 8.5e-130)
(* z (* b (- c)))
(if (<= j 1.35e+87) (* b (* a i)) (* c (* t 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 <= -8.8e+29) {
tmp = i * (y * -j);
} else if (j <= -2e-276) {
tmp = x * (y * z);
} else if (j <= 8.5e-130) {
tmp = z * (b * -c);
} else if (j <= 1.35e+87) {
tmp = b * (a * i);
} else {
tmp = c * (t * 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 <= (-8.8d+29)) then
tmp = i * (y * -j)
else if (j <= (-2d-276)) then
tmp = x * (y * z)
else if (j <= 8.5d-130) then
tmp = z * (b * -c)
else if (j <= 1.35d+87) then
tmp = b * (a * i)
else
tmp = c * (t * 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 <= -8.8e+29) {
tmp = i * (y * -j);
} else if (j <= -2e-276) {
tmp = x * (y * z);
} else if (j <= 8.5e-130) {
tmp = z * (b * -c);
} else if (j <= 1.35e+87) {
tmp = b * (a * i);
} else {
tmp = c * (t * j);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if j <= -8.8e+29: tmp = i * (y * -j) elif j <= -2e-276: tmp = x * (y * z) elif j <= 8.5e-130: tmp = z * (b * -c) elif j <= 1.35e+87: tmp = b * (a * i) else: tmp = c * (t * j) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (j <= -8.8e+29) tmp = Float64(i * Float64(y * Float64(-j))); elseif (j <= -2e-276) tmp = Float64(x * Float64(y * z)); elseif (j <= 8.5e-130) tmp = Float64(z * Float64(b * Float64(-c))); elseif (j <= 1.35e+87) tmp = Float64(b * Float64(a * i)); else tmp = Float64(c * Float64(t * j)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if (j <= -8.8e+29) tmp = i * (y * -j); elseif (j <= -2e-276) tmp = x * (y * z); elseif (j <= 8.5e-130) tmp = z * (b * -c); elseif (j <= 1.35e+87) tmp = b * (a * i); else tmp = c * (t * j); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[j, -8.8e+29], N[(i * N[(y * (-j)), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -2e-276], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 8.5e-130], N[(z * N[(b * (-c)), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.35e+87], N[(b * N[(a * i), $MachinePrecision]), $MachinePrecision], N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;j \leq -8.8 \cdot 10^{+29}:\\
\;\;\;\;i \cdot \left(y \cdot \left(-j\right)\right)\\
\mathbf{elif}\;j \leq -2 \cdot 10^{-276}:\\
\;\;\;\;x \cdot \left(y \cdot z\right)\\
\mathbf{elif}\;j \leq 8.5 \cdot 10^{-130}:\\
\;\;\;\;z \cdot \left(b \cdot \left(-c\right)\right)\\
\mathbf{elif}\;j \leq 1.35 \cdot 10^{+87}:\\
\;\;\;\;b \cdot \left(a \cdot i\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(t \cdot j\right)\\
\end{array}
\end{array}
if j < -8.8000000000000005e29Initial program 83.4%
Taylor expanded in y around inf 52.0%
+-commutative52.0%
mul-1-neg52.0%
unsub-neg52.0%
Simplified52.0%
Taylor expanded in x around 0 48.4%
associate-*r*48.4%
neg-mul-148.4%
Simplified48.4%
if -8.8000000000000005e29 < j < -2e-276Initial program 77.9%
Taylor expanded in y around inf 45.1%
+-commutative45.1%
mul-1-neg45.1%
unsub-neg45.1%
Simplified45.1%
Taylor expanded in x around inf 36.9%
*-commutative36.9%
Simplified36.9%
if -2e-276 < j < 8.50000000000000033e-130Initial program 68.4%
Taylor expanded in z around inf 50.5%
*-commutative50.5%
Simplified50.5%
Taylor expanded in x around 0 32.0%
mul-1-neg32.0%
*-commutative32.0%
associate-*r*34.4%
distribute-rgt-neg-in34.4%
*-commutative34.4%
associate-*r*38.9%
Simplified38.9%
if 8.50000000000000033e-130 < j < 1.35000000000000003e87Initial program 75.2%
Taylor expanded in b around inf 60.2%
*-commutative60.2%
Simplified60.2%
Taylor expanded in a around inf 44.7%
if 1.35000000000000003e87 < j Initial program 70.1%
Taylor expanded in b around 0 76.0%
Taylor expanded in c around inf 44.3%
Final simplification42.3%
(FPCore (x y z t a b c i j)
:precision binary64
(if (<= j -3e+98)
(* y (* i (- j)))
(if (<= j -7.5e-277)
(* x (* y z))
(if (<= j 2.25e-128)
(* z (* b (- c)))
(if (<= j 1.05e+87) (* b (* a i)) (* c (* t 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 <= -3e+98) {
tmp = y * (i * -j);
} else if (j <= -7.5e-277) {
tmp = x * (y * z);
} else if (j <= 2.25e-128) {
tmp = z * (b * -c);
} else if (j <= 1.05e+87) {
tmp = b * (a * i);
} else {
tmp = c * (t * 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 <= (-3d+98)) then
tmp = y * (i * -j)
else if (j <= (-7.5d-277)) then
tmp = x * (y * z)
else if (j <= 2.25d-128) then
tmp = z * (b * -c)
else if (j <= 1.05d+87) then
tmp = b * (a * i)
else
tmp = c * (t * 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 <= -3e+98) {
tmp = y * (i * -j);
} else if (j <= -7.5e-277) {
tmp = x * (y * z);
} else if (j <= 2.25e-128) {
tmp = z * (b * -c);
} else if (j <= 1.05e+87) {
tmp = b * (a * i);
} else {
tmp = c * (t * j);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if j <= -3e+98: tmp = y * (i * -j) elif j <= -7.5e-277: tmp = x * (y * z) elif j <= 2.25e-128: tmp = z * (b * -c) elif j <= 1.05e+87: tmp = b * (a * i) else: tmp = c * (t * j) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (j <= -3e+98) tmp = Float64(y * Float64(i * Float64(-j))); elseif (j <= -7.5e-277) tmp = Float64(x * Float64(y * z)); elseif (j <= 2.25e-128) tmp = Float64(z * Float64(b * Float64(-c))); elseif (j <= 1.05e+87) tmp = Float64(b * Float64(a * i)); else tmp = Float64(c * Float64(t * j)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if (j <= -3e+98) tmp = y * (i * -j); elseif (j <= -7.5e-277) tmp = x * (y * z); elseif (j <= 2.25e-128) tmp = z * (b * -c); elseif (j <= 1.05e+87) tmp = b * (a * i); else tmp = c * (t * j); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[j, -3e+98], N[(y * N[(i * (-j)), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -7.5e-277], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 2.25e-128], N[(z * N[(b * (-c)), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.05e+87], N[(b * N[(a * i), $MachinePrecision]), $MachinePrecision], N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;j \leq -3 \cdot 10^{+98}:\\
\;\;\;\;y \cdot \left(i \cdot \left(-j\right)\right)\\
\mathbf{elif}\;j \leq -7.5 \cdot 10^{-277}:\\
\;\;\;\;x \cdot \left(y \cdot z\right)\\
\mathbf{elif}\;j \leq 2.25 \cdot 10^{-128}:\\
\;\;\;\;z \cdot \left(b \cdot \left(-c\right)\right)\\
\mathbf{elif}\;j \leq 1.05 \cdot 10^{+87}:\\
\;\;\;\;b \cdot \left(a \cdot i\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(t \cdot j\right)\\
\end{array}
\end{array}
if j < -3.0000000000000001e98Initial program 82.5%
Taylor expanded in y around inf 57.8%
+-commutative57.8%
mul-1-neg57.8%
unsub-neg57.8%
Simplified57.8%
Taylor expanded in x around 0 48.9%
neg-mul-148.9%
distribute-rgt-neg-in48.9%
Simplified48.9%
if -3.0000000000000001e98 < j < -7.49999999999999971e-277Initial program 79.0%
Taylor expanded in y around inf 42.5%
+-commutative42.5%
mul-1-neg42.5%
unsub-neg42.5%
Simplified42.5%
Taylor expanded in x around inf 34.6%
*-commutative34.6%
Simplified34.6%
if -7.49999999999999971e-277 < j < 2.25e-128Initial program 68.4%
Taylor expanded in z around inf 50.5%
*-commutative50.5%
Simplified50.5%
Taylor expanded in x around 0 32.0%
mul-1-neg32.0%
*-commutative32.0%
associate-*r*34.4%
distribute-rgt-neg-in34.4%
*-commutative34.4%
associate-*r*38.9%
Simplified38.9%
if 2.25e-128 < j < 1.05e87Initial program 75.2%
Taylor expanded in b around inf 60.2%
*-commutative60.2%
Simplified60.2%
Taylor expanded in a around inf 44.7%
if 1.05e87 < j Initial program 70.1%
Taylor expanded in b around 0 76.0%
Taylor expanded in c around inf 44.3%
Final simplification41.4%
(FPCore (x y z t a b c i j)
:precision binary64
(if (<= a -5.6e+92)
(* a (* x (- t)))
(if (<= a -1.15e-40)
(* a (* b i))
(if (<= a -3.5e-173)
(* c (* t j))
(if (<= a 1.25e+98) (* x (* y z)) (* i (* a b)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (a <= -5.6e+92) {
tmp = a * (x * -t);
} else if (a <= -1.15e-40) {
tmp = a * (b * i);
} else if (a <= -3.5e-173) {
tmp = c * (t * j);
} else if (a <= 1.25e+98) {
tmp = x * (y * z);
} else {
tmp = i * (a * b);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: tmp
if (a <= (-5.6d+92)) then
tmp = a * (x * -t)
else if (a <= (-1.15d-40)) then
tmp = a * (b * i)
else if (a <= (-3.5d-173)) then
tmp = c * (t * j)
else if (a <= 1.25d+98) then
tmp = x * (y * z)
else
tmp = i * (a * b)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (a <= -5.6e+92) {
tmp = a * (x * -t);
} else if (a <= -1.15e-40) {
tmp = a * (b * i);
} else if (a <= -3.5e-173) {
tmp = c * (t * j);
} else if (a <= 1.25e+98) {
tmp = x * (y * z);
} else {
tmp = i * (a * b);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if a <= -5.6e+92: tmp = a * (x * -t) elif a <= -1.15e-40: tmp = a * (b * i) elif a <= -3.5e-173: tmp = c * (t * j) elif a <= 1.25e+98: tmp = x * (y * z) else: tmp = i * (a * b) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (a <= -5.6e+92) tmp = Float64(a * Float64(x * Float64(-t))); elseif (a <= -1.15e-40) tmp = Float64(a * Float64(b * i)); elseif (a <= -3.5e-173) tmp = Float64(c * Float64(t * j)); elseif (a <= 1.25e+98) tmp = Float64(x * Float64(y * z)); else tmp = Float64(i * Float64(a * b)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if (a <= -5.6e+92) tmp = a * (x * -t); elseif (a <= -1.15e-40) tmp = a * (b * i); elseif (a <= -3.5e-173) tmp = c * (t * j); elseif (a <= 1.25e+98) tmp = x * (y * z); else tmp = i * (a * b); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[a, -5.6e+92], N[(a * N[(x * (-t)), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.15e-40], N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -3.5e-173], N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.25e+98], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], N[(i * N[(a * b), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -5.6 \cdot 10^{+92}:\\
\;\;\;\;a \cdot \left(x \cdot \left(-t\right)\right)\\
\mathbf{elif}\;a \leq -1.15 \cdot 10^{-40}:\\
\;\;\;\;a \cdot \left(b \cdot i\right)\\
\mathbf{elif}\;a \leq -3.5 \cdot 10^{-173}:\\
\;\;\;\;c \cdot \left(t \cdot j\right)\\
\mathbf{elif}\;a \leq 1.25 \cdot 10^{+98}:\\
\;\;\;\;x \cdot \left(y \cdot z\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(a \cdot b\right)\\
\end{array}
\end{array}
if a < -5.60000000000000001e92Initial program 61.3%
Taylor expanded in c around inf 69.9%
+-commutative69.9%
mul-1-neg69.9%
unsub-neg69.9%
*-commutative69.9%
associate-/l*69.9%
*-commutative69.9%
Simplified69.9%
Taylor expanded in z around inf 69.8%
Taylor expanded in a around inf 55.7%
mul-1-neg55.7%
distribute-rgt-neg-in55.7%
*-commutative55.7%
distribute-rgt-neg-in55.7%
Simplified55.7%
if -5.60000000000000001e92 < a < -1.15e-40Initial program 91.5%
Taylor expanded in b around inf 42.7%
*-commutative42.7%
Simplified42.7%
Taylor expanded in a around inf 33.7%
if -1.15e-40 < a < -3.50000000000000014e-173Initial program 86.4%
Taylor expanded in b around 0 77.9%
Taylor expanded in c around inf 47.0%
if -3.50000000000000014e-173 < a < 1.25e98Initial program 78.8%
Taylor expanded in y around inf 41.0%
+-commutative41.0%
mul-1-neg41.0%
unsub-neg41.0%
Simplified41.0%
Taylor expanded in x around inf 31.3%
*-commutative31.3%
Simplified31.3%
if 1.25e98 < a Initial program 65.9%
Taylor expanded in b around inf 61.1%
*-commutative61.1%
Simplified61.1%
Taylor expanded in a around inf 45.1%
associate-*r*49.7%
Simplified49.7%
Final simplification40.4%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* j (- (* t c) (* y i)))))
(if (<= j -4.2e+95)
t_1
(if (<= j -3.1e-264)
(* x (- (* y z) (* t a)))
(if (<= j 8.8e+86) (* a (- (* b i) (* x t))) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = j * ((t * c) - (y * i));
double tmp;
if (j <= -4.2e+95) {
tmp = t_1;
} else if (j <= -3.1e-264) {
tmp = x * ((y * z) - (t * a));
} else if (j <= 8.8e+86) {
tmp = a * ((b * i) - (x * t));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: tmp
t_1 = j * ((t * c) - (y * i))
if (j <= (-4.2d+95)) then
tmp = t_1
else if (j <= (-3.1d-264)) then
tmp = x * ((y * z) - (t * a))
else if (j <= 8.8d+86) then
tmp = a * ((b * i) - (x * t))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = j * ((t * c) - (y * i));
double tmp;
if (j <= -4.2e+95) {
tmp = t_1;
} else if (j <= -3.1e-264) {
tmp = x * ((y * z) - (t * a));
} else if (j <= 8.8e+86) {
tmp = a * ((b * i) - (x * t));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = j * ((t * c) - (y * i)) tmp = 0 if j <= -4.2e+95: tmp = t_1 elif j <= -3.1e-264: tmp = x * ((y * z) - (t * a)) elif j <= 8.8e+86: tmp = a * ((b * i) - (x * t)) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(j * Float64(Float64(t * c) - Float64(y * i))) tmp = 0.0 if (j <= -4.2e+95) tmp = t_1; elseif (j <= -3.1e-264) tmp = Float64(x * Float64(Float64(y * z) - Float64(t * a))); elseif (j <= 8.8e+86) tmp = Float64(a * Float64(Float64(b * i) - Float64(x * t))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = j * ((t * c) - (y * i)); tmp = 0.0; if (j <= -4.2e+95) tmp = t_1; elseif (j <= -3.1e-264) tmp = x * ((y * z) - (t * a)); elseif (j <= 8.8e+86) tmp = a * ((b * i) - (x * t)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -4.2e+95], t$95$1, If[LessEqual[j, -3.1e-264], N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 8.8e+86], N[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(t \cdot c - y \cdot i\right)\\
\mathbf{if}\;j \leq -4.2 \cdot 10^{+95}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq -3.1 \cdot 10^{-264}:\\
\;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right)\\
\mathbf{elif}\;j \leq 8.8 \cdot 10^{+86}:\\
\;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if j < -4.2e95 or 8.80000000000000013e86 < j Initial program 76.8%
Taylor expanded in j around inf 77.2%
if -4.2e95 < j < -3.1000000000000002e-264Initial program 79.5%
Taylor expanded in b around 0 68.0%
Taylor expanded in j around 0 62.8%
if -3.1000000000000002e-264 < j < 8.80000000000000013e86Initial program 72.0%
Taylor expanded in a around inf 58.7%
distribute-lft-out--58.7%
*-commutative58.7%
*-commutative58.7%
Simplified58.7%
Final simplification66.1%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* j (- (* t c) (* y i)))))
(if (<= j -1.75e+94)
t_1
(if (<= j -1.02e-286)
(* x (- (* y z) (* t a)))
(if (<= j 1.2e+87) (* b (- (* a i) (* z c))) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = j * ((t * c) - (y * i));
double tmp;
if (j <= -1.75e+94) {
tmp = t_1;
} else if (j <= -1.02e-286) {
tmp = x * ((y * z) - (t * a));
} else if (j <= 1.2e+87) {
tmp = b * ((a * i) - (z * c));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: tmp
t_1 = j * ((t * c) - (y * i))
if (j <= (-1.75d+94)) then
tmp = t_1
else if (j <= (-1.02d-286)) then
tmp = x * ((y * z) - (t * a))
else if (j <= 1.2d+87) then
tmp = b * ((a * i) - (z * c))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = j * ((t * c) - (y * i));
double tmp;
if (j <= -1.75e+94) {
tmp = t_1;
} else if (j <= -1.02e-286) {
tmp = x * ((y * z) - (t * a));
} else if (j <= 1.2e+87) {
tmp = b * ((a * i) - (z * c));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = j * ((t * c) - (y * i)) tmp = 0 if j <= -1.75e+94: tmp = t_1 elif j <= -1.02e-286: tmp = x * ((y * z) - (t * a)) elif j <= 1.2e+87: tmp = b * ((a * i) - (z * c)) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(j * Float64(Float64(t * c) - Float64(y * i))) tmp = 0.0 if (j <= -1.75e+94) tmp = t_1; elseif (j <= -1.02e-286) tmp = Float64(x * Float64(Float64(y * z) - Float64(t * a))); elseif (j <= 1.2e+87) tmp = Float64(b * Float64(Float64(a * i) - Float64(z * c))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = j * ((t * c) - (y * i)); tmp = 0.0; if (j <= -1.75e+94) tmp = t_1; elseif (j <= -1.02e-286) tmp = x * ((y * z) - (t * a)); elseif (j <= 1.2e+87) tmp = b * ((a * i) - (z * c)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -1.75e+94], t$95$1, If[LessEqual[j, -1.02e-286], N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.2e+87], N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(t \cdot c - y \cdot i\right)\\
\mathbf{if}\;j \leq -1.75 \cdot 10^{+94}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq -1.02 \cdot 10^{-286}:\\
\;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right)\\
\mathbf{elif}\;j \leq 1.2 \cdot 10^{+87}:\\
\;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if j < -1.7499999999999999e94 or 1.19999999999999991e87 < j Initial program 76.8%
Taylor expanded in j around inf 77.2%
if -1.7499999999999999e94 < j < -1.01999999999999996e-286Initial program 77.4%
Taylor expanded in b around 0 66.8%
Taylor expanded in j around 0 62.0%
if -1.01999999999999996e-286 < j < 1.19999999999999991e87Initial program 73.5%
Taylor expanded in b around inf 58.5%
*-commutative58.5%
Simplified58.5%
Final simplification65.9%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* b (- (* a i) (* z c)))))
(if (<= b -8e+22)
t_1
(if (<= b 3.8e-211)
(* j (- (* t c) (* y i)))
(if (<= b 132000000000.0) (* t (- (* c j) (* 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 = b * ((a * i) - (z * c));
double tmp;
if (b <= -8e+22) {
tmp = t_1;
} else if (b <= 3.8e-211) {
tmp = j * ((t * c) - (y * i));
} else if (b <= 132000000000.0) {
tmp = t * ((c * j) - (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 = b * ((a * i) - (z * c))
if (b <= (-8d+22)) then
tmp = t_1
else if (b <= 3.8d-211) then
tmp = j * ((t * c) - (y * i))
else if (b <= 132000000000.0d0) then
tmp = t * ((c * j) - (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 = b * ((a * i) - (z * c));
double tmp;
if (b <= -8e+22) {
tmp = t_1;
} else if (b <= 3.8e-211) {
tmp = j * ((t * c) - (y * i));
} else if (b <= 132000000000.0) {
tmp = t * ((c * j) - (x * a));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = b * ((a * i) - (z * c)) tmp = 0 if b <= -8e+22: tmp = t_1 elif b <= 3.8e-211: tmp = j * ((t * c) - (y * i)) elif b <= 132000000000.0: tmp = t * ((c * j) - (x * a)) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(b * Float64(Float64(a * i) - Float64(z * c))) tmp = 0.0 if (b <= -8e+22) tmp = t_1; elseif (b <= 3.8e-211) tmp = Float64(j * Float64(Float64(t * c) - Float64(y * i))); elseif (b <= 132000000000.0) tmp = Float64(t * Float64(Float64(c * j) - 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 = b * ((a * i) - (z * c)); tmp = 0.0; if (b <= -8e+22) tmp = t_1; elseif (b <= 3.8e-211) tmp = j * ((t * c) - (y * i)); elseif (b <= 132000000000.0) tmp = t * ((c * j) - (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[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -8e+22], t$95$1, If[LessEqual[b, 3.8e-211], N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 132000000000.0], N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\
\mathbf{if}\;b \leq -8 \cdot 10^{+22}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;b \leq 3.8 \cdot 10^{-211}:\\
\;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right)\\
\mathbf{elif}\;b \leq 132000000000:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if b < -8e22 or 1.32e11 < b Initial program 77.2%
Taylor expanded in b around inf 67.4%
*-commutative67.4%
Simplified67.4%
if -8e22 < b < 3.80000000000000012e-211Initial program 75.6%
Taylor expanded in j around inf 47.7%
if 3.80000000000000012e-211 < b < 1.32e11Initial program 72.7%
Taylor expanded in t around inf 68.0%
+-commutative68.0%
mul-1-neg68.0%
unsub-neg68.0%
*-commutative68.0%
Simplified68.0%
Final simplification59.8%
(FPCore (x y z t a b c i j)
:precision binary64
(if (<= j -3.3e+96)
(* y (* i (- j)))
(if (<= j -3.9e-265)
(* x (* y z))
(if (<= j 9.6e+86) (* b (* a i)) (* c (* t 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 <= -3.3e+96) {
tmp = y * (i * -j);
} else if (j <= -3.9e-265) {
tmp = x * (y * z);
} else if (j <= 9.6e+86) {
tmp = b * (a * i);
} else {
tmp = c * (t * 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 <= (-3.3d+96)) then
tmp = y * (i * -j)
else if (j <= (-3.9d-265)) then
tmp = x * (y * z)
else if (j <= 9.6d+86) then
tmp = b * (a * i)
else
tmp = c * (t * 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 <= -3.3e+96) {
tmp = y * (i * -j);
} else if (j <= -3.9e-265) {
tmp = x * (y * z);
} else if (j <= 9.6e+86) {
tmp = b * (a * i);
} else {
tmp = c * (t * j);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if j <= -3.3e+96: tmp = y * (i * -j) elif j <= -3.9e-265: tmp = x * (y * z) elif j <= 9.6e+86: tmp = b * (a * i) else: tmp = c * (t * j) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (j <= -3.3e+96) tmp = Float64(y * Float64(i * Float64(-j))); elseif (j <= -3.9e-265) tmp = Float64(x * Float64(y * z)); elseif (j <= 9.6e+86) tmp = Float64(b * Float64(a * i)); else tmp = Float64(c * Float64(t * j)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if (j <= -3.3e+96) tmp = y * (i * -j); elseif (j <= -3.9e-265) tmp = x * (y * z); elseif (j <= 9.6e+86) tmp = b * (a * i); else tmp = c * (t * j); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[j, -3.3e+96], N[(y * N[(i * (-j)), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -3.9e-265], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 9.6e+86], N[(b * N[(a * i), $MachinePrecision]), $MachinePrecision], N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;j \leq -3.3 \cdot 10^{+96}:\\
\;\;\;\;y \cdot \left(i \cdot \left(-j\right)\right)\\
\mathbf{elif}\;j \leq -3.9 \cdot 10^{-265}:\\
\;\;\;\;x \cdot \left(y \cdot z\right)\\
\mathbf{elif}\;j \leq 9.6 \cdot 10^{+86}:\\
\;\;\;\;b \cdot \left(a \cdot i\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(t \cdot j\right)\\
\end{array}
\end{array}
if j < -3.29999999999999984e96Initial program 82.5%
Taylor expanded in y around inf 57.8%
+-commutative57.8%
mul-1-neg57.8%
unsub-neg57.8%
Simplified57.8%
Taylor expanded in x around 0 48.9%
neg-mul-148.9%
distribute-rgt-neg-in48.9%
Simplified48.9%
if -3.29999999999999984e96 < j < -3.8999999999999999e-265Initial program 79.5%
Taylor expanded in y around inf 42.7%
+-commutative42.7%
mul-1-neg42.7%
unsub-neg42.7%
Simplified42.7%
Taylor expanded in x around inf 34.6%
*-commutative34.6%
Simplified34.6%
if -3.8999999999999999e-265 < j < 9.6000000000000001e86Initial program 72.0%
Taylor expanded in b around inf 56.5%
*-commutative56.5%
Simplified56.5%
Taylor expanded in a around inf 37.6%
if 9.6000000000000001e86 < j Initial program 70.1%
Taylor expanded in b around 0 76.0%
Taylor expanded in c around inf 44.3%
Final simplification39.8%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* c (* t j))))
(if (<= j -7.5e+29)
t_1
(if (<= j -1.16e-262)
(* x (* y z))
(if (<= j 1.1e+87) (* b (* a i)) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = c * (t * j);
double tmp;
if (j <= -7.5e+29) {
tmp = t_1;
} else if (j <= -1.16e-262) {
tmp = x * (y * z);
} else if (j <= 1.1e+87) {
tmp = b * (a * i);
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: tmp
t_1 = c * (t * j)
if (j <= (-7.5d+29)) then
tmp = t_1
else if (j <= (-1.16d-262)) then
tmp = x * (y * z)
else if (j <= 1.1d+87) then
tmp = b * (a * i)
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = c * (t * j);
double tmp;
if (j <= -7.5e+29) {
tmp = t_1;
} else if (j <= -1.16e-262) {
tmp = x * (y * z);
} else if (j <= 1.1e+87) {
tmp = b * (a * i);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = c * (t * j) tmp = 0 if j <= -7.5e+29: tmp = t_1 elif j <= -1.16e-262: tmp = x * (y * z) elif j <= 1.1e+87: tmp = b * (a * i) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(c * Float64(t * j)) tmp = 0.0 if (j <= -7.5e+29) tmp = t_1; elseif (j <= -1.16e-262) tmp = Float64(x * Float64(y * z)); elseif (j <= 1.1e+87) tmp = Float64(b * Float64(a * i)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = c * (t * j); tmp = 0.0; if (j <= -7.5e+29) tmp = t_1; elseif (j <= -1.16e-262) tmp = x * (y * z); elseif (j <= 1.1e+87) tmp = b * (a * i); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -7.5e+29], t$95$1, If[LessEqual[j, -1.16e-262], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.1e+87], N[(b * N[(a * i), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(t \cdot j\right)\\
\mathbf{if}\;j \leq -7.5 \cdot 10^{+29}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq -1.16 \cdot 10^{-262}:\\
\;\;\;\;x \cdot \left(y \cdot z\right)\\
\mathbf{elif}\;j \leq 1.1 \cdot 10^{+87}:\\
\;\;\;\;b \cdot \left(a \cdot i\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if j < -7.49999999999999945e29 or 1.1e87 < j Initial program 77.7%
Taylor expanded in b around 0 78.1%
Taylor expanded in c around inf 40.6%
if -7.49999999999999945e29 < j < -1.16000000000000001e-262Initial program 78.4%
Taylor expanded in y around inf 45.5%
+-commutative45.5%
mul-1-neg45.5%
unsub-neg45.5%
Simplified45.5%
Taylor expanded in x around inf 37.0%
*-commutative37.0%
Simplified37.0%
if -1.16000000000000001e-262 < j < 1.1e87Initial program 72.0%
Taylor expanded in b around inf 56.5%
*-commutative56.5%
Simplified56.5%
Taylor expanded in a around inf 37.6%
Final simplification38.5%
(FPCore (x y z t a b c i j) :precision binary64 (if (or (<= j -33500000000.0) (not (<= j 8.2e+86))) (* j (- (* t c) (* y i))) (* b (- (* a i) (* z c)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if ((j <= -33500000000.0) || !(j <= 8.2e+86)) {
tmp = j * ((t * c) - (y * i));
} else {
tmp = b * ((a * 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) :: tmp
if ((j <= (-33500000000.0d0)) .or. (.not. (j <= 8.2d+86))) then
tmp = j * ((t * c) - (y * i))
else
tmp = b * ((a * 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 tmp;
if ((j <= -33500000000.0) || !(j <= 8.2e+86)) {
tmp = j * ((t * c) - (y * i));
} else {
tmp = b * ((a * i) - (z * c));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if (j <= -33500000000.0) or not (j <= 8.2e+86): tmp = j * ((t * c) - (y * i)) else: tmp = b * ((a * i) - (z * c)) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if ((j <= -33500000000.0) || !(j <= 8.2e+86)) tmp = Float64(j * Float64(Float64(t * c) - Float64(y * i))); else tmp = Float64(b * Float64(Float64(a * i) - Float64(z * c))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if ((j <= -33500000000.0) || ~((j <= 8.2e+86))) tmp = j * ((t * c) - (y * i)); else tmp = b * ((a * i) - (z * c)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[Or[LessEqual[j, -33500000000.0], N[Not[LessEqual[j, 8.2e+86]], $MachinePrecision]], N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;j \leq -33500000000 \lor \neg \left(j \leq 8.2 \cdot 10^{+86}\right):\\
\;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\
\end{array}
\end{array}
if j < -3.35e10 or 8.1999999999999998e86 < j Initial program 76.9%
Taylor expanded in j around inf 73.1%
if -3.35e10 < j < 8.1999999999999998e86Initial program 75.2%
Taylor expanded in b around inf 47.5%
*-commutative47.5%
Simplified47.5%
Final simplification57.0%
(FPCore (x y z t a b c i j) :precision binary64 (if (or (<= i -13500.0) (not (<= i 1.45e+29))) (* b (- (* a i) (* z c))) (* c (- (* t j) (* z b)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if ((i <= -13500.0) || !(i <= 1.45e+29)) {
tmp = b * ((a * i) - (z * c));
} else {
tmp = c * ((t * j) - (z * b));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: tmp
if ((i <= (-13500.0d0)) .or. (.not. (i <= 1.45d+29))) then
tmp = b * ((a * i) - (z * c))
else
tmp = c * ((t * j) - (z * b))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if ((i <= -13500.0) || !(i <= 1.45e+29)) {
tmp = b * ((a * i) - (z * c));
} else {
tmp = c * ((t * j) - (z * b));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if (i <= -13500.0) or not (i <= 1.45e+29): tmp = b * ((a * i) - (z * c)) else: tmp = c * ((t * j) - (z * b)) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if ((i <= -13500.0) || !(i <= 1.45e+29)) tmp = Float64(b * Float64(Float64(a * i) - Float64(z * c))); else tmp = Float64(c * Float64(Float64(t * j) - Float64(z * b))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if ((i <= -13500.0) || ~((i <= 1.45e+29))) tmp = b * ((a * i) - (z * c)); else tmp = c * ((t * j) - (z * b)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[Or[LessEqual[i, -13500.0], N[Not[LessEqual[i, 1.45e+29]], $MachinePrecision]], N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(N[(t * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;i \leq -13500 \lor \neg \left(i \leq 1.45 \cdot 10^{+29}\right):\\
\;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\
\end{array}
\end{array}
if i < -13500 or 1.45e29 < i Initial program 67.7%
Taylor expanded in b around inf 53.2%
*-commutative53.2%
Simplified53.2%
if -13500 < i < 1.45e29Initial program 82.8%
Taylor expanded in c around inf 47.9%
*-commutative47.9%
*-commutative47.9%
Simplified47.9%
Final simplification50.4%
(FPCore (x y z t a b c i j) :precision binary64 (if (<= j -2.95e+54) (* i (* y (- j))) (if (<= j 1.5e+87) (* b (- (* a i) (* z c))) (* c (* t 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 <= -2.95e+54) {
tmp = i * (y * -j);
} else if (j <= 1.5e+87) {
tmp = b * ((a * i) - (z * c));
} else {
tmp = c * (t * 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 <= (-2.95d+54)) then
tmp = i * (y * -j)
else if (j <= 1.5d+87) then
tmp = b * ((a * i) - (z * c))
else
tmp = c * (t * 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 <= -2.95e+54) {
tmp = i * (y * -j);
} else if (j <= 1.5e+87) {
tmp = b * ((a * i) - (z * c));
} else {
tmp = c * (t * j);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if j <= -2.95e+54: tmp = i * (y * -j) elif j <= 1.5e+87: tmp = b * ((a * i) - (z * c)) else: tmp = c * (t * j) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (j <= -2.95e+54) tmp = Float64(i * Float64(y * Float64(-j))); elseif (j <= 1.5e+87) tmp = Float64(b * Float64(Float64(a * i) - Float64(z * c))); else tmp = Float64(c * Float64(t * j)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if (j <= -2.95e+54) tmp = i * (y * -j); elseif (j <= 1.5e+87) tmp = b * ((a * i) - (z * c)); else tmp = c * (t * j); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[j, -2.95e+54], N[(i * N[(y * (-j)), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.5e+87], N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;j \leq -2.95 \cdot 10^{+54}:\\
\;\;\;\;i \cdot \left(y \cdot \left(-j\right)\right)\\
\mathbf{elif}\;j \leq 1.5 \cdot 10^{+87}:\\
\;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(t \cdot j\right)\\
\end{array}
\end{array}
if j < -2.9499999999999999e54Initial program 83.3%
Taylor expanded in y around inf 57.5%
+-commutative57.5%
mul-1-neg57.5%
unsub-neg57.5%
Simplified57.5%
Taylor expanded in x around 0 53.5%
associate-*r*53.5%
neg-mul-153.5%
Simplified53.5%
if -2.9499999999999999e54 < j < 1.4999999999999999e87Initial program 75.1%
Taylor expanded in b around inf 46.7%
*-commutative46.7%
Simplified46.7%
if 1.4999999999999999e87 < j Initial program 70.1%
Taylor expanded in b around 0 76.0%
Taylor expanded in c around inf 44.3%
Final simplification47.6%
(FPCore (x y z t a b c i j) :precision binary64 (if (or (<= i -23.0) (not (<= i 1.8e+28))) (* b (* a i)) (* c (* t j))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if ((i <= -23.0) || !(i <= 1.8e+28)) {
tmp = b * (a * i);
} else {
tmp = c * (t * 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 ((i <= (-23.0d0)) .or. (.not. (i <= 1.8d+28))) then
tmp = b * (a * i)
else
tmp = c * (t * 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 ((i <= -23.0) || !(i <= 1.8e+28)) {
tmp = b * (a * i);
} else {
tmp = c * (t * j);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if (i <= -23.0) or not (i <= 1.8e+28): tmp = b * (a * i) else: tmp = c * (t * j) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if ((i <= -23.0) || !(i <= 1.8e+28)) tmp = Float64(b * Float64(a * i)); else tmp = Float64(c * Float64(t * j)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if ((i <= -23.0) || ~((i <= 1.8e+28))) tmp = b * (a * i); else tmp = c * (t * j); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[Or[LessEqual[i, -23.0], N[Not[LessEqual[i, 1.8e+28]], $MachinePrecision]], N[(b * N[(a * i), $MachinePrecision]), $MachinePrecision], N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;i \leq -23 \lor \neg \left(i \leq 1.8 \cdot 10^{+28}\right):\\
\;\;\;\;b \cdot \left(a \cdot i\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(t \cdot j\right)\\
\end{array}
\end{array}
if i < -23 or 1.8e28 < i Initial program 67.7%
Taylor expanded in b around inf 53.2%
*-commutative53.2%
Simplified53.2%
Taylor expanded in a around inf 44.5%
if -23 < i < 1.8e28Initial program 82.8%
Taylor expanded in b around 0 71.4%
Taylor expanded in c around inf 26.5%
Final simplification34.8%
(FPCore (x y z t a b c i j) :precision binary64 (* b (* a i)))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
return b * (a * 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 = b * (a * 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 b * (a * i);
}
def code(x, y, z, t, a, b, c, i, j): return b * (a * i)
function code(x, y, z, t, a, b, c, i, j) return Float64(b * Float64(a * i)) end
function tmp = code(x, y, z, t, a, b, c, i, j) tmp = b * (a * i); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := N[(b * N[(a * i), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
b \cdot \left(a \cdot i\right)
\end{array}
Initial program 75.8%
Taylor expanded in b around inf 37.9%
*-commutative37.9%
Simplified37.9%
Taylor expanded in a around inf 23.7%
(FPCore (x y z t a b c i j) :precision binary64 (* a (* b i)))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
return a * (b * 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 = a * (b * 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 a * (b * i);
}
def code(x, y, z, t, a, b, c, i, j): return a * (b * i)
function code(x, y, z, t, a, b, c, i, j) return Float64(a * Float64(b * i)) end
function tmp = code(x, y, z, t, a, b, c, i, j) tmp = a * (b * i); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
a \cdot \left(b \cdot i\right)
\end{array}
Initial program 75.8%
Taylor expanded in b around inf 37.9%
*-commutative37.9%
Simplified37.9%
Taylor expanded in a around inf 22.9%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1
(+
(- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a))))
(/
(* j (- (pow (* c t) 2.0) (pow (* i y) 2.0)))
(+ (* c t) (* i y)))))
(t_2
(-
(* x (- (* z y) (* a t)))
(- (* b (- (* z c) (* a i))) (* (- (* c t) (* y i)) j)))))
(if (< t -8.120978919195912e-33)
t_2
(if (< t -4.712553818218485e-169)
t_1
(if (< t -7.633533346031584e-308)
t_2
(if (< t 1.0535888557455487e-139) 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))) - (b * ((c * z) - (i * a)))) + ((j * (pow((c * t), 2.0) - pow((i * y), 2.0))) / ((c * t) + (i * y)));
double t_2 = (x * ((z * y) - (a * t))) - ((b * ((z * c) - (a * i))) - (((c * t) - (y * i)) * j));
double tmp;
if (t < -8.120978919195912e-33) {
tmp = t_2;
} else if (t < -4.712553818218485e-169) {
tmp = t_1;
} else if (t < -7.633533346031584e-308) {
tmp = t_2;
} else if (t < 1.0535888557455487e-139) {
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))) - (b * ((c * z) - (i * a)))) + ((j * (((c * t) ** 2.0d0) - ((i * y) ** 2.0d0))) / ((c * t) + (i * y)))
t_2 = (x * ((z * y) - (a * t))) - ((b * ((z * c) - (a * i))) - (((c * t) - (y * i)) * j))
if (t < (-8.120978919195912d-33)) then
tmp = t_2
else if (t < (-4.712553818218485d-169)) then
tmp = t_1
else if (t < (-7.633533346031584d-308)) then
tmp = t_2
else if (t < 1.0535888557455487d-139) 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))) - (b * ((c * z) - (i * a)))) + ((j * (Math.pow((c * t), 2.0) - Math.pow((i * y), 2.0))) / ((c * t) + (i * y)));
double t_2 = (x * ((z * y) - (a * t))) - ((b * ((z * c) - (a * i))) - (((c * t) - (y * i)) * j));
double tmp;
if (t < -8.120978919195912e-33) {
tmp = t_2;
} else if (t < -4.712553818218485e-169) {
tmp = t_1;
} else if (t < -7.633533346031584e-308) {
tmp = t_2;
} else if (t < 1.0535888557455487e-139) {
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))) - (b * ((c * z) - (i * a)))) + ((j * (math.pow((c * t), 2.0) - math.pow((i * y), 2.0))) / ((c * t) + (i * y))) t_2 = (x * ((z * y) - (a * t))) - ((b * ((z * c) - (a * i))) - (((c * t) - (y * i)) * j)) tmp = 0 if t < -8.120978919195912e-33: tmp = t_2 elif t < -4.712553818218485e-169: tmp = t_1 elif t < -7.633533346031584e-308: tmp = t_2 elif t < 1.0535888557455487e-139: tmp = t_1 else: tmp = t_2 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(c * z) - Float64(i * a)))) + Float64(Float64(j * Float64((Float64(c * t) ^ 2.0) - (Float64(i * y) ^ 2.0))) / Float64(Float64(c * t) + Float64(i * y)))) t_2 = Float64(Float64(x * Float64(Float64(z * y) - Float64(a * t))) - Float64(Float64(b * Float64(Float64(z * c) - Float64(a * i))) - Float64(Float64(Float64(c * t) - Float64(y * i)) * j))) tmp = 0.0 if (t < -8.120978919195912e-33) tmp = t_2; elseif (t < -4.712553818218485e-169) tmp = t_1; elseif (t < -7.633533346031584e-308) tmp = t_2; elseif (t < 1.0535888557455487e-139) 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))) - (b * ((c * z) - (i * a)))) + ((j * (((c * t) ^ 2.0) - ((i * y) ^ 2.0))) / ((c * t) + (i * y))); t_2 = (x * ((z * y) - (a * t))) - ((b * ((z * c) - (a * i))) - (((c * t) - (y * i)) * j)); tmp = 0.0; if (t < -8.120978919195912e-33) tmp = t_2; elseif (t < -4.712553818218485e-169) tmp = t_1; elseif (t < -7.633533346031584e-308) tmp = t_2; elseif (t < 1.0535888557455487e-139) 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[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(N[(c * z), $MachinePrecision] - N[(i * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(j * N[(N[Power[N[(c * t), $MachinePrecision], 2.0], $MachinePrecision] - N[Power[N[(i * y), $MachinePrecision], 2.0], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(N[(c * t), $MachinePrecision] + N[(i * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * N[(N[(z * y), $MachinePrecision] - N[(a * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(b * N[(N[(z * c), $MachinePrecision] - N[(a * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(c * t), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[Less[t, -8.120978919195912e-33], t$95$2, If[Less[t, -4.712553818218485e-169], t$95$1, If[Less[t, -7.633533346031584e-308], t$95$2, If[Less[t, 1.0535888557455487e-139], t$95$1, t$95$2]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \frac{j \cdot \left({\left(c \cdot t\right)}^{2} - {\left(i \cdot y\right)}^{2}\right)}{c \cdot t + i \cdot y}\\
t_2 := x \cdot \left(z \cdot y - a \cdot t\right) - \left(b \cdot \left(z \cdot c - a \cdot i\right) - \left(c \cdot t - y \cdot i\right) \cdot j\right)\\
\mathbf{if}\;t < -8.120978919195912 \cdot 10^{-33}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;t < -4.712553818218485 \cdot 10^{-169}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t < -7.633533346031584 \cdot 10^{-308}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;t < 1.0535888557455487 \cdot 10^{-139}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
herbie shell --seed 2024137
(FPCore (x y z t a b c i j)
:name "Linear.Matrix:det33 from linear-1.19.1.3"
:precision binary64
:alt
(! :herbie-platform default (if (< t -1015122364899489/125000000000000000000000000000000000000000000000) (- (* x (- (* z y) (* a t))) (- (* b (- (* z c) (* a i))) (* (- (* c t) (* y i)) j))) (if (< t -942510763643697/2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))) (/ (* j (- (pow (* c t) 2) (pow (* i y) 2))) (+ (* c t) (* i y)))) (if (< t -238547917063487/3125000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (- (* x (- (* z y) (* a t))) (- (* b (- (* z c) (* a i))) (* (- (* c t) (* y i)) j))) (if (< t 10535888557455487/100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))) (/ (* j (- (pow (* c t) 2) (pow (* i y) 2))) (+ (* c t) (* i y)))) (- (* x (- (* z y) (* a t))) (- (* b (- (* z c) (* a i))) (* (- (* c t) (* y i)) j))))))))
(+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))) (* j (- (* c t) (* i y)))))