
(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 17 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 (<= (+ (* j t_2) (+ (* x (- (* y z) (* t a))) t_1)) INFINITY)
(fma j t_2 (+ (* x (fma y z (* t (- a)))) t_1))
(* 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 t_1 = b * ((a * i) - (z * c));
double t_2 = (t * c) - (y * i);
double tmp;
if (((j * t_2) + ((x * ((y * z) - (t * a))) + t_1)) <= ((double) INFINITY)) {
tmp = fma(j, t_2, ((x * fma(y, z, (t * -a))) + t_1));
} else {
tmp = c * ((t * j) - (z * b));
}
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(j * t_2) + Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) + t_1)) <= Inf) tmp = fma(j, t_2, Float64(Float64(x * fma(y, z, Float64(t * Float64(-a)))) + t_1)); else tmp = Float64(c * Float64(Float64(t * j) - Float64(z * b))); 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[(j * t$95$2), $MachinePrecision] + N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$1), $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[(c * N[(N[(t * j), $MachinePrecision] - N[(z * b), $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}\;j \cdot t\_2 + \left(x \cdot \left(y \cdot z - t \cdot a\right) + t\_1\right) \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}:\\
\;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\
\end{array}
\end{array}
if (+.f64 (-.f64 (*.f64 x (-.f64 (*.f64 y z) (*.f64 t a))) (*.f64 b (-.f64 (*.f64 c z) (*.f64 i a)))) (*.f64 j (-.f64 (*.f64 c t) (*.f64 i y)))) < +inf.0Initial program 95.2%
+-commutative95.2%
fma-define95.2%
*-commutative95.2%
*-commutative95.2%
cancel-sign-sub-inv95.2%
cancel-sign-sub95.2%
sub-neg95.2%
sub-neg95.2%
*-commutative95.2%
fmm-def95.2%
*-commutative95.2%
distribute-rgt-neg-out95.2%
remove-double-neg95.2%
*-commutative95.2%
*-commutative95.2%
Simplified95.2%
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 c around inf 50.7%
*-commutative50.7%
*-commutative50.7%
Simplified50.7%
Final simplification85.1%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1
(+
(* j (- (* t c) (* y i)))
(+ (* x (- (* y z) (* t a))) (* b (- (* a i) (* z c)))))))
(if (<= t_1 INFINITY) t_1 (* 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 t_1 = (j * ((t * c) - (y * i))) + ((x * ((y * z) - (t * a))) + (b * ((a * i) - (z * c))));
double tmp;
if (t_1 <= ((double) INFINITY)) {
tmp = t_1;
} else {
tmp = c * ((t * j) - (z * b));
}
return tmp;
}
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = (j * ((t * c) - (y * i))) + ((x * ((y * z) - (t * a))) + (b * ((a * i) - (z * c))));
double tmp;
if (t_1 <= Double.POSITIVE_INFINITY) {
tmp = t_1;
} else {
tmp = c * ((t * j) - (z * b));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = (j * ((t * c) - (y * i))) + ((x * ((y * z) - (t * a))) + (b * ((a * i) - (z * c)))) tmp = 0 if t_1 <= math.inf: tmp = t_1 else: tmp = c * ((t * j) - (z * b)) return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(Float64(j * Float64(Float64(t * c) - Float64(y * i))) + Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) + Float64(b * Float64(Float64(a * i) - Float64(z * c))))) tmp = 0.0 if (t_1 <= Inf) tmp = t_1; 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) t_1 = (j * ((t * c) - (y * i))) + ((x * ((y * z) - (t * a))) + (b * ((a * i) - (z * c)))); tmp = 0.0; if (t_1 <= Inf) tmp = t_1; else tmp = c * ((t * j) - (z * b)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = 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[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, Infinity], t$95$1, N[(c * N[(N[(t * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(t \cdot c - y \cdot i\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(a \cdot i - z \cdot c\right)\right)\\
\mathbf{if}\;t\_1 \leq \infty:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\
\end{array}
\end{array}
if (+.f64 (-.f64 (*.f64 x (-.f64 (*.f64 y z) (*.f64 t a))) (*.f64 b (-.f64 (*.f64 c z) (*.f64 i a)))) (*.f64 j (-.f64 (*.f64 c t) (*.f64 i y)))) < +inf.0Initial program 95.2%
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 c around inf 50.7%
*-commutative50.7%
*-commutative50.7%
Simplified50.7%
Final simplification85.1%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1
(-
(* j (- (* t c) (* y i)))
(- (* z (* b c)) (* x (* a (- (* y (/ z a)) t))))))
(t_2 (* i (* j (- (* a (/ b j)) y)))))
(if (<= i -7e+66)
t_2
(if (<= i -2.7e-294)
t_1
(if (<= i 2.9e-194)
(* c (- (* t j) (* z b)))
(if (<= i 2600000000000.0)
t_1
(if (<= i 1.02e+104)
(+ (* y (- (* x z) (* i j))) (* b (- (* a i) (* z c))))
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 * ((t * c) - (y * i))) - ((z * (b * c)) - (x * (a * ((y * (z / a)) - t))));
double t_2 = i * (j * ((a * (b / j)) - y));
double tmp;
if (i <= -7e+66) {
tmp = t_2;
} else if (i <= -2.7e-294) {
tmp = t_1;
} else if (i <= 2.9e-194) {
tmp = c * ((t * j) - (z * b));
} else if (i <= 2600000000000.0) {
tmp = t_1;
} else if (i <= 1.02e+104) {
tmp = (y * ((x * z) - (i * j))) + (b * ((a * i) - (z * c)));
} 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 * ((t * c) - (y * i))) - ((z * (b * c)) - (x * (a * ((y * (z / a)) - t))))
t_2 = i * (j * ((a * (b / j)) - y))
if (i <= (-7d+66)) then
tmp = t_2
else if (i <= (-2.7d-294)) then
tmp = t_1
else if (i <= 2.9d-194) then
tmp = c * ((t * j) - (z * b))
else if (i <= 2600000000000.0d0) then
tmp = t_1
else if (i <= 1.02d+104) then
tmp = (y * ((x * z) - (i * j))) + (b * ((a * i) - (z * c)))
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 * ((t * c) - (y * i))) - ((z * (b * c)) - (x * (a * ((y * (z / a)) - t))));
double t_2 = i * (j * ((a * (b / j)) - y));
double tmp;
if (i <= -7e+66) {
tmp = t_2;
} else if (i <= -2.7e-294) {
tmp = t_1;
} else if (i <= 2.9e-194) {
tmp = c * ((t * j) - (z * b));
} else if (i <= 2600000000000.0) {
tmp = t_1;
} else if (i <= 1.02e+104) {
tmp = (y * ((x * z) - (i * j))) + (b * ((a * i) - (z * c)));
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = (j * ((t * c) - (y * i))) - ((z * (b * c)) - (x * (a * ((y * (z / a)) - t)))) t_2 = i * (j * ((a * (b / j)) - y)) tmp = 0 if i <= -7e+66: tmp = t_2 elif i <= -2.7e-294: tmp = t_1 elif i <= 2.9e-194: tmp = c * ((t * j) - (z * b)) elif i <= 2600000000000.0: tmp = t_1 elif i <= 1.02e+104: tmp = (y * ((x * z) - (i * j))) + (b * ((a * i) - (z * c))) else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(Float64(j * Float64(Float64(t * c) - Float64(y * i))) - Float64(Float64(z * Float64(b * c)) - Float64(x * Float64(a * Float64(Float64(y * Float64(z / a)) - t))))) t_2 = Float64(i * Float64(j * Float64(Float64(a * Float64(b / j)) - y))) tmp = 0.0 if (i <= -7e+66) tmp = t_2; elseif (i <= -2.7e-294) tmp = t_1; elseif (i <= 2.9e-194) tmp = Float64(c * Float64(Float64(t * j) - Float64(z * b))); elseif (i <= 2600000000000.0) tmp = t_1; elseif (i <= 1.02e+104) tmp = Float64(Float64(y * Float64(Float64(x * z) - Float64(i * j))) + Float64(b * Float64(Float64(a * i) - Float64(z * c)))); else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = (j * ((t * c) - (y * i))) - ((z * (b * c)) - (x * (a * ((y * (z / a)) - t)))); t_2 = i * (j * ((a * (b / j)) - y)); tmp = 0.0; if (i <= -7e+66) tmp = t_2; elseif (i <= -2.7e-294) tmp = t_1; elseif (i <= 2.9e-194) tmp = c * ((t * j) - (z * b)); elseif (i <= 2600000000000.0) tmp = t_1; elseif (i <= 1.02e+104) tmp = (y * ((x * z) - (i * j))) + (b * ((a * i) - (z * c))); 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[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(z * N[(b * c), $MachinePrecision]), $MachinePrecision] - N[(x * N[(a * N[(N[(y * N[(z / a), $MachinePrecision]), $MachinePrecision] - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(i * N[(j * N[(N[(a * N[(b / j), $MachinePrecision]), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -7e+66], t$95$2, If[LessEqual[i, -2.7e-294], t$95$1, If[LessEqual[i, 2.9e-194], N[(c * N[(N[(t * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 2600000000000.0], t$95$1, If[LessEqual[i, 1.02e+104], N[(N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(t \cdot c - y \cdot i\right) - \left(z \cdot \left(b \cdot c\right) - x \cdot \left(a \cdot \left(y \cdot \frac{z}{a} - t\right)\right)\right)\\
t_2 := i \cdot \left(j \cdot \left(a \cdot \frac{b}{j} - y\right)\right)\\
\mathbf{if}\;i \leq -7 \cdot 10^{+66}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;i \leq -2.7 \cdot 10^{-294}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;i \leq 2.9 \cdot 10^{-194}:\\
\;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\
\mathbf{elif}\;i \leq 2600000000000:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;i \leq 1.02 \cdot 10^{+104}:\\
\;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if i < -6.9999999999999994e66 or 1.02e104 < i Initial program 63.1%
Taylor expanded in i around inf 78.9%
distribute-lft-out--78.9%
*-commutative78.9%
Simplified78.9%
Taylor expanded in j around inf 79.0%
neg-mul-179.0%
+-commutative79.0%
unsub-neg79.0%
associate-/l*81.2%
Simplified81.2%
if -6.9999999999999994e66 < i < -2.7000000000000001e-294 or 2.8999999999999997e-194 < i < 2.6e12Initial program 82.9%
Taylor expanded in a around -inf 80.5%
mul-1-neg80.5%
distribute-rgt-neg-in80.5%
sub-neg80.5%
neg-mul-180.5%
remove-double-neg80.5%
+-commutative80.5%
mul-1-neg80.5%
unsub-neg80.5%
associate-/l*78.1%
Simplified78.1%
Taylor expanded in c around inf 75.8%
*-commutative75.8%
*-commutative75.8%
associate-*l*74.4%
Simplified74.4%
if -2.7000000000000001e-294 < i < 2.8999999999999997e-194Initial program 63.1%
Taylor expanded in c around inf 82.0%
*-commutative82.0%
*-commutative82.0%
Simplified82.0%
if 2.6e12 < i < 1.02e104Initial program 78.8%
Taylor expanded in t around 0 78.8%
mul-1-neg78.8%
*-commutative78.8%
distribute-rgt-neg-in78.8%
associate-*r*78.8%
*-commutative78.8%
associate-*l*78.8%
neg-mul-178.8%
associate-*r*78.8%
*-commutative78.8%
associate-*l*84.1%
*-commutative84.1%
distribute-lft-in89.3%
+-commutative89.3%
mul-1-neg89.3%
unsub-neg89.3%
*-commutative89.3%
Simplified89.3%
Final simplification78.7%
(FPCore (x y z t a b c i j)
:precision binary64
(if (<= z -18.0)
(* b (* z (- c)))
(if (<= z -1.55e-232)
(* i (* a b))
(if (<= z 5.2e-295)
(* a (* t (- x)))
(if (<= z 3.5e-80)
(* i (* j (- y)))
(if (<= z 1.516e-32)
(* c (* t j))
(if (<= z 2.8e+110) (* x (* y z)) (* 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 (z <= -18.0) {
tmp = b * (z * -c);
} else if (z <= -1.55e-232) {
tmp = i * (a * b);
} else if (z <= 5.2e-295) {
tmp = a * (t * -x);
} else if (z <= 3.5e-80) {
tmp = i * (j * -y);
} else if (z <= 1.516e-32) {
tmp = c * (t * j);
} else if (z <= 2.8e+110) {
tmp = x * (y * z);
} else {
tmp = 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 (z <= (-18.0d0)) then
tmp = b * (z * -c)
else if (z <= (-1.55d-232)) then
tmp = i * (a * b)
else if (z <= 5.2d-295) then
tmp = a * (t * -x)
else if (z <= 3.5d-80) then
tmp = i * (j * -y)
else if (z <= 1.516d-32) then
tmp = c * (t * j)
else if (z <= 2.8d+110) then
tmp = x * (y * z)
else
tmp = 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 (z <= -18.0) {
tmp = b * (z * -c);
} else if (z <= -1.55e-232) {
tmp = i * (a * b);
} else if (z <= 5.2e-295) {
tmp = a * (t * -x);
} else if (z <= 3.5e-80) {
tmp = i * (j * -y);
} else if (z <= 1.516e-32) {
tmp = c * (t * j);
} else if (z <= 2.8e+110) {
tmp = x * (y * z);
} else {
tmp = c * (z * -b);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if z <= -18.0: tmp = b * (z * -c) elif z <= -1.55e-232: tmp = i * (a * b) elif z <= 5.2e-295: tmp = a * (t * -x) elif z <= 3.5e-80: tmp = i * (j * -y) elif z <= 1.516e-32: tmp = c * (t * j) elif z <= 2.8e+110: tmp = x * (y * z) else: tmp = c * (z * -b) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (z <= -18.0) tmp = Float64(b * Float64(z * Float64(-c))); elseif (z <= -1.55e-232) tmp = Float64(i * Float64(a * b)); elseif (z <= 5.2e-295) tmp = Float64(a * Float64(t * Float64(-x))); elseif (z <= 3.5e-80) tmp = Float64(i * Float64(j * Float64(-y))); elseif (z <= 1.516e-32) tmp = Float64(c * Float64(t * j)); elseif (z <= 2.8e+110) tmp = Float64(x * Float64(y * z)); else tmp = Float64(c * Float64(z * Float64(-b))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if (z <= -18.0) tmp = b * (z * -c); elseif (z <= -1.55e-232) tmp = i * (a * b); elseif (z <= 5.2e-295) tmp = a * (t * -x); elseif (z <= 3.5e-80) tmp = i * (j * -y); elseif (z <= 1.516e-32) tmp = c * (t * j); elseif (z <= 2.8e+110) tmp = x * (y * z); else tmp = c * (z * -b); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[z, -18.0], N[(b * N[(z * (-c)), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.55e-232], N[(i * N[(a * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 5.2e-295], N[(a * N[(t * (-x)), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.5e-80], N[(i * N[(j * (-y)), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.516e-32], N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.8e+110], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], N[(c * N[(z * (-b)), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -18:\\
\;\;\;\;b \cdot \left(z \cdot \left(-c\right)\right)\\
\mathbf{elif}\;z \leq -1.55 \cdot 10^{-232}:\\
\;\;\;\;i \cdot \left(a \cdot b\right)\\
\mathbf{elif}\;z \leq 5.2 \cdot 10^{-295}:\\
\;\;\;\;a \cdot \left(t \cdot \left(-x\right)\right)\\
\mathbf{elif}\;z \leq 3.5 \cdot 10^{-80}:\\
\;\;\;\;i \cdot \left(j \cdot \left(-y\right)\right)\\
\mathbf{elif}\;z \leq 1.516 \cdot 10^{-32}:\\
\;\;\;\;c \cdot \left(t \cdot j\right)\\
\mathbf{elif}\;z \leq 2.8 \cdot 10^{+110}:\\
\;\;\;\;x \cdot \left(y \cdot z\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(z \cdot \left(-b\right)\right)\\
\end{array}
\end{array}
if z < -18Initial program 65.0%
Taylor expanded in b around inf 51.3%
*-commutative51.3%
Simplified51.3%
Taylor expanded in a around 0 48.1%
mul-1-neg48.1%
*-commutative48.1%
*-commutative48.1%
distribute-rgt-neg-in48.1%
*-commutative48.1%
Simplified48.1%
if -18 < z < -1.5499999999999999e-232Initial program 78.3%
Taylor expanded in i around inf 50.3%
distribute-lft-out--50.3%
*-commutative50.3%
Simplified50.3%
Taylor expanded in y around 0 34.0%
if -1.5499999999999999e-232 < z < 5.1999999999999997e-295Initial program 93.0%
Taylor expanded in b around 0 84.3%
Taylor expanded in j around 0 50.1%
Taylor expanded in y around 0 56.6%
associate-*r*56.6%
mul-1-neg56.6%
*-commutative56.6%
Simplified56.6%
if 5.1999999999999997e-295 < z < 3.50000000000000015e-80Initial program 86.0%
Taylor expanded in y around inf 50.1%
+-commutative50.1%
mul-1-neg50.1%
unsub-neg50.1%
Simplified50.1%
Taylor expanded in x around 0 46.5%
associate-*r*46.5%
neg-mul-146.5%
Simplified46.5%
if 3.50000000000000015e-80 < z < 1.516e-32Initial program 89.7%
Taylor expanded in b around 0 64.0%
Taylor expanded in c around inf 60.9%
if 1.516e-32 < z < 2.79999999999999987e110Initial program 79.3%
Taylor expanded in y around inf 69.7%
+-commutative69.7%
mul-1-neg69.7%
unsub-neg69.7%
Simplified69.7%
Taylor expanded in x around inf 48.2%
*-commutative48.2%
Simplified48.2%
if 2.79999999999999987e110 < z Initial program 38.6%
Taylor expanded in b around inf 62.7%
*-commutative62.7%
Simplified62.7%
Taylor expanded in a around 0 45.9%
mul-1-neg45.9%
*-commutative45.9%
*-commutative45.9%
distribute-rgt-neg-in45.9%
*-commutative45.9%
Simplified45.9%
Taylor expanded in c around 0 45.9%
*-commutative45.9%
neg-mul-145.9%
distribute-rgt-neg-in45.9%
associate-*r*49.1%
Simplified49.1%
Final simplification46.2%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* c (- (* t j) (* z b)))))
(if (<= y -23000.0)
(* y (- (* x z) (* i j)))
(if (<= y -1.3e-289)
t_1
(if (<= y 1e-117)
(* t (- (* c j) (* x a)))
(if (<= y 4.3e-8) t_1 (* y (* j (- (* x (/ z j)) i)))))))))
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) - (z * b));
double tmp;
if (y <= -23000.0) {
tmp = y * ((x * z) - (i * j));
} else if (y <= -1.3e-289) {
tmp = t_1;
} else if (y <= 1e-117) {
tmp = t * ((c * j) - (x * a));
} else if (y <= 4.3e-8) {
tmp = t_1;
} else {
tmp = y * (j * ((x * (z / j)) - 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 = c * ((t * j) - (z * b))
if (y <= (-23000.0d0)) then
tmp = y * ((x * z) - (i * j))
else if (y <= (-1.3d-289)) then
tmp = t_1
else if (y <= 1d-117) then
tmp = t * ((c * j) - (x * a))
else if (y <= 4.3d-8) then
tmp = t_1
else
tmp = y * (j * ((x * (z / j)) - 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 = c * ((t * j) - (z * b));
double tmp;
if (y <= -23000.0) {
tmp = y * ((x * z) - (i * j));
} else if (y <= -1.3e-289) {
tmp = t_1;
} else if (y <= 1e-117) {
tmp = t * ((c * j) - (x * a));
} else if (y <= 4.3e-8) {
tmp = t_1;
} else {
tmp = y * (j * ((x * (z / j)) - i));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = c * ((t * j) - (z * b)) tmp = 0 if y <= -23000.0: tmp = y * ((x * z) - (i * j)) elif y <= -1.3e-289: tmp = t_1 elif y <= 1e-117: tmp = t * ((c * j) - (x * a)) elif y <= 4.3e-8: tmp = t_1 else: tmp = y * (j * ((x * (z / j)) - i)) return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(c * Float64(Float64(t * j) - Float64(z * b))) tmp = 0.0 if (y <= -23000.0) tmp = Float64(y * Float64(Float64(x * z) - Float64(i * j))); elseif (y <= -1.3e-289) tmp = t_1; elseif (y <= 1e-117) tmp = Float64(t * Float64(Float64(c * j) - Float64(x * a))); elseif (y <= 4.3e-8) tmp = t_1; else tmp = Float64(y * Float64(j * Float64(Float64(x * Float64(z / j)) - i))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = c * ((t * j) - (z * b)); tmp = 0.0; if (y <= -23000.0) tmp = y * ((x * z) - (i * j)); elseif (y <= -1.3e-289) tmp = t_1; elseif (y <= 1e-117) tmp = t * ((c * j) - (x * a)); elseif (y <= 4.3e-8) tmp = t_1; else tmp = y * (j * ((x * (z / j)) - i)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(c * N[(N[(t * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -23000.0], N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -1.3e-289], t$95$1, If[LessEqual[y, 1e-117], N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 4.3e-8], t$95$1, N[(y * N[(j * N[(N[(x * N[(z / j), $MachinePrecision]), $MachinePrecision] - i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(t \cdot j - z \cdot b\right)\\
\mathbf{if}\;y \leq -23000:\\
\;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\
\mathbf{elif}\;y \leq -1.3 \cdot 10^{-289}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq 10^{-117}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\
\mathbf{elif}\;y \leq 4.3 \cdot 10^{-8}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;y \cdot \left(j \cdot \left(x \cdot \frac{z}{j} - i\right)\right)\\
\end{array}
\end{array}
if y < -23000Initial program 77.3%
Taylor expanded in y around inf 68.3%
+-commutative68.3%
mul-1-neg68.3%
unsub-neg68.3%
Simplified68.3%
if -23000 < y < -1.2999999999999999e-289 or 1.00000000000000003e-117 < y < 4.3000000000000001e-8Initial program 74.7%
Taylor expanded in c around inf 64.3%
*-commutative64.3%
*-commutative64.3%
Simplified64.3%
if -1.2999999999999999e-289 < y < 1.00000000000000003e-117Initial program 82.5%
Taylor expanded in t around inf 63.1%
+-commutative63.1%
mul-1-neg63.1%
unsub-neg63.1%
*-commutative63.1%
Simplified63.1%
if 4.3000000000000001e-8 < y Initial program 61.7%
Taylor expanded in y around inf 70.6%
+-commutative70.6%
mul-1-neg70.6%
unsub-neg70.6%
Simplified70.6%
Taylor expanded in j around inf 70.6%
associate-/l*70.6%
Simplified70.6%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* c (- (* t j) (* z b)))) (t_2 (* y (- (* x z) (* i j)))))
(if (<= y -1.1)
t_2
(if (<= y -2.3e-289)
t_1
(if (<= y 7e-117)
(* t (- (* c j) (* x a)))
(if (<= y 2.75e-8) 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 = c * ((t * j) - (z * b));
double t_2 = y * ((x * z) - (i * j));
double tmp;
if (y <= -1.1) {
tmp = t_2;
} else if (y <= -2.3e-289) {
tmp = t_1;
} else if (y <= 7e-117) {
tmp = t * ((c * j) - (x * a));
} else if (y <= 2.75e-8) {
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 = c * ((t * j) - (z * b))
t_2 = y * ((x * z) - (i * j))
if (y <= (-1.1d0)) then
tmp = t_2
else if (y <= (-2.3d-289)) then
tmp = t_1
else if (y <= 7d-117) then
tmp = t * ((c * j) - (x * a))
else if (y <= 2.75d-8) 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 = c * ((t * j) - (z * b));
double t_2 = y * ((x * z) - (i * j));
double tmp;
if (y <= -1.1) {
tmp = t_2;
} else if (y <= -2.3e-289) {
tmp = t_1;
} else if (y <= 7e-117) {
tmp = t * ((c * j) - (x * a));
} else if (y <= 2.75e-8) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = c * ((t * j) - (z * b)) t_2 = y * ((x * z) - (i * j)) tmp = 0 if y <= -1.1: tmp = t_2 elif y <= -2.3e-289: tmp = t_1 elif y <= 7e-117: tmp = t * ((c * j) - (x * a)) elif y <= 2.75e-8: tmp = t_1 else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(c * Float64(Float64(t * j) - Float64(z * b))) t_2 = Float64(y * Float64(Float64(x * z) - Float64(i * j))) tmp = 0.0 if (y <= -1.1) tmp = t_2; elseif (y <= -2.3e-289) tmp = t_1; elseif (y <= 7e-117) tmp = Float64(t * Float64(Float64(c * j) - Float64(x * a))); elseif (y <= 2.75e-8) 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 = c * ((t * j) - (z * b)); t_2 = y * ((x * z) - (i * j)); tmp = 0.0; if (y <= -1.1) tmp = t_2; elseif (y <= -2.3e-289) tmp = t_1; elseif (y <= 7e-117) tmp = t * ((c * j) - (x * a)); elseif (y <= 2.75e-8) 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[(c * N[(N[(t * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -1.1], t$95$2, If[LessEqual[y, -2.3e-289], t$95$1, If[LessEqual[y, 7e-117], N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2.75e-8], t$95$1, t$95$2]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(t \cdot j - z \cdot b\right)\\
t_2 := y \cdot \left(x \cdot z - i \cdot j\right)\\
\mathbf{if}\;y \leq -1.1:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y \leq -2.3 \cdot 10^{-289}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq 7 \cdot 10^{-117}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\
\mathbf{elif}\;y \leq 2.75 \cdot 10^{-8}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if y < -1.1000000000000001 or 2.7500000000000001e-8 < y Initial program 70.4%
Taylor expanded in y around inf 69.4%
+-commutative69.4%
mul-1-neg69.4%
unsub-neg69.4%
Simplified69.4%
if -1.1000000000000001 < y < -2.3000000000000002e-289 or 6.9999999999999997e-117 < y < 2.7500000000000001e-8Initial program 74.7%
Taylor expanded in c around inf 64.3%
*-commutative64.3%
*-commutative64.3%
Simplified64.3%
if -2.3000000000000002e-289 < y < 6.9999999999999997e-117Initial program 82.5%
Taylor expanded in t around inf 63.1%
+-commutative63.1%
mul-1-neg63.1%
unsub-neg63.1%
*-commutative63.1%
Simplified63.1%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* x (- (* y z) (* t a)))))
(if (or (<= j -1.06e-70) (not (<= j 4.5e+16)))
(+ (* j (- (* t c) (* y i))) t_1)
(+ t_1 (* 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 t_1 = x * ((y * z) - (t * a));
double tmp;
if ((j <= -1.06e-70) || !(j <= 4.5e+16)) {
tmp = (j * ((t * c) - (y * i))) + t_1;
} else {
tmp = t_1 + (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) :: t_1
real(8) :: tmp
t_1 = x * ((y * z) - (t * a))
if ((j <= (-1.06d-70)) .or. (.not. (j <= 4.5d+16))) then
tmp = (j * ((t * c) - (y * i))) + t_1
else
tmp = t_1 + (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 t_1 = x * ((y * z) - (t * a));
double tmp;
if ((j <= -1.06e-70) || !(j <= 4.5e+16)) {
tmp = (j * ((t * c) - (y * i))) + t_1;
} else {
tmp = t_1 + (b * ((a * 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 <= -1.06e-70) or not (j <= 4.5e+16): tmp = (j * ((t * c) - (y * i))) + t_1 else: tmp = t_1 + (b * ((a * 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 <= -1.06e-70) || !(j <= 4.5e+16)) tmp = Float64(Float64(j * Float64(Float64(t * c) - Float64(y * i))) + t_1); else tmp = Float64(t_1 + 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) t_1 = x * ((y * z) - (t * a)); tmp = 0.0; if ((j <= -1.06e-70) || ~((j <= 4.5e+16))) tmp = (j * ((t * c) - (y * i))) + t_1; else tmp = t_1 + (b * ((a * 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, -1.06e-70], N[Not[LessEqual[j, 4.5e+16]], $MachinePrecision]], N[(N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$1), $MachinePrecision], N[(t$95$1 + N[(b * N[(N[(a * 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 -1.06 \cdot 10^{-70} \lor \neg \left(j \leq 4.5 \cdot 10^{+16}\right):\\
\;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + t\_1\\
\mathbf{else}:\\
\;\;\;\;t\_1 + b \cdot \left(a \cdot i - z \cdot c\right)\\
\end{array}
\end{array}
if j < -1.06e-70 or 4.5e16 < j Initial program 73.1%
Taylor expanded in b around 0 72.5%
if -1.06e-70 < j < 4.5e16Initial program 74.6%
Taylor expanded in j around 0 74.8%
*-commutative74.8%
Simplified74.8%
Final simplification73.4%
(FPCore (x y z t a b c i j) :precision binary64 (if (or (<= b -2.05e+104) (not (<= b 1.15e+259))) (* b (- (* a i) (* z c))) (+ (* j (- (* t c) (* y i))) (* x (- (* y z) (* t a))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if ((b <= -2.05e+104) || !(b <= 1.15e+259)) {
tmp = b * ((a * i) - (z * c));
} else {
tmp = (j * ((t * c) - (y * i))) + (x * ((y * z) - (t * a)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: tmp
if ((b <= (-2.05d+104)) .or. (.not. (b <= 1.15d+259))) then
tmp = b * ((a * i) - (z * c))
else
tmp = (j * ((t * c) - (y * i))) + (x * ((y * z) - (t * a)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if ((b <= -2.05e+104) || !(b <= 1.15e+259)) {
tmp = b * ((a * i) - (z * c));
} else {
tmp = (j * ((t * c) - (y * i))) + (x * ((y * z) - (t * a)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if (b <= -2.05e+104) or not (b <= 1.15e+259): tmp = b * ((a * i) - (z * c)) else: tmp = (j * ((t * c) - (y * i))) + (x * ((y * z) - (t * a))) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if ((b <= -2.05e+104) || !(b <= 1.15e+259)) tmp = Float64(b * Float64(Float64(a * i) - Float64(z * c))); else tmp = Float64(Float64(j * Float64(Float64(t * c) - Float64(y * i))) + Float64(x * Float64(Float64(y * z) - Float64(t * a)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if ((b <= -2.05e+104) || ~((b <= 1.15e+259))) tmp = b * ((a * i) - (z * c)); else tmp = (j * ((t * c) - (y * i))) + (x * ((y * z) - (t * a))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[Or[LessEqual[b, -2.05e+104], N[Not[LessEqual[b, 1.15e+259]], $MachinePrecision]], N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -2.05 \cdot 10^{+104} \lor \neg \left(b \leq 1.15 \cdot 10^{+259}\right):\\
\;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + x \cdot \left(y \cdot z - t \cdot a\right)\\
\end{array}
\end{array}
if b < -2.04999999999999992e104 or 1.1500000000000001e259 < b Initial program 59.9%
Taylor expanded in b around inf 75.3%
*-commutative75.3%
Simplified75.3%
if -2.04999999999999992e104 < b < 1.1500000000000001e259Initial program 77.0%
Taylor expanded in b around 0 71.9%
Final simplification72.5%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* i (* a b))))
(if (<= a -2.6e+143)
t_1
(if (<= a -2.55e-139)
(* c (* t j))
(if (<= a 1.52e+84)
(* i (* j (- y)))
(if (<= a 2.3e+254) (* a (* t (- x))) 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 = i * (a * b);
double tmp;
if (a <= -2.6e+143) {
tmp = t_1;
} else if (a <= -2.55e-139) {
tmp = c * (t * j);
} else if (a <= 1.52e+84) {
tmp = i * (j * -y);
} else if (a <= 2.3e+254) {
tmp = a * (t * -x);
} 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 = i * (a * b)
if (a <= (-2.6d+143)) then
tmp = t_1
else if (a <= (-2.55d-139)) then
tmp = c * (t * j)
else if (a <= 1.52d+84) then
tmp = i * (j * -y)
else if (a <= 2.3d+254) then
tmp = a * (t * -x)
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 = i * (a * b);
double tmp;
if (a <= -2.6e+143) {
tmp = t_1;
} else if (a <= -2.55e-139) {
tmp = c * (t * j);
} else if (a <= 1.52e+84) {
tmp = i * (j * -y);
} else if (a <= 2.3e+254) {
tmp = a * (t * -x);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = i * (a * b) tmp = 0 if a <= -2.6e+143: tmp = t_1 elif a <= -2.55e-139: tmp = c * (t * j) elif a <= 1.52e+84: tmp = i * (j * -y) elif a <= 2.3e+254: tmp = a * (t * -x) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(i * Float64(a * b)) tmp = 0.0 if (a <= -2.6e+143) tmp = t_1; elseif (a <= -2.55e-139) tmp = Float64(c * Float64(t * j)); elseif (a <= 1.52e+84) tmp = Float64(i * Float64(j * Float64(-y))); elseif (a <= 2.3e+254) tmp = Float64(a * Float64(t * Float64(-x))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = i * (a * b); tmp = 0.0; if (a <= -2.6e+143) tmp = t_1; elseif (a <= -2.55e-139) tmp = c * (t * j); elseif (a <= 1.52e+84) tmp = i * (j * -y); elseif (a <= 2.3e+254) tmp = a * (t * -x); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(i * N[(a * b), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -2.6e+143], t$95$1, If[LessEqual[a, -2.55e-139], N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.52e+84], N[(i * N[(j * (-y)), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2.3e+254], N[(a * N[(t * (-x)), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(a \cdot b\right)\\
\mathbf{if}\;a \leq -2.6 \cdot 10^{+143}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq -2.55 \cdot 10^{-139}:\\
\;\;\;\;c \cdot \left(t \cdot j\right)\\
\mathbf{elif}\;a \leq 1.52 \cdot 10^{+84}:\\
\;\;\;\;i \cdot \left(j \cdot \left(-y\right)\right)\\
\mathbf{elif}\;a \leq 2.3 \cdot 10^{+254}:\\
\;\;\;\;a \cdot \left(t \cdot \left(-x\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if a < -2.5999999999999999e143 or 2.29999999999999998e254 < a Initial program 48.8%
Taylor expanded in i around inf 73.7%
distribute-lft-out--73.7%
*-commutative73.7%
Simplified73.7%
Taylor expanded in y around 0 68.4%
if -2.5999999999999999e143 < a < -2.55000000000000018e-139Initial program 89.5%
Taylor expanded in b around 0 76.2%
Taylor expanded in c around inf 32.3%
if -2.55000000000000018e-139 < a < 1.52000000000000008e84Initial program 76.6%
Taylor expanded in y around inf 53.8%
+-commutative53.8%
mul-1-neg53.8%
unsub-neg53.8%
Simplified53.8%
Taylor expanded in x around 0 37.2%
associate-*r*37.2%
neg-mul-137.2%
Simplified37.2%
if 1.52000000000000008e84 < a < 2.29999999999999998e254Initial program 57.5%
Taylor expanded in b around 0 51.2%
Taylor expanded in j around 0 53.0%
Taylor expanded in y around 0 53.4%
associate-*r*53.4%
mul-1-neg53.4%
*-commutative53.4%
Simplified53.4%
Final simplification42.2%
(FPCore (x y z t a b c i j) :precision binary64 (if (or (<= i -8.5e+22) (not (<= i 68000000000.0))) (* i (* j (- (* a (/ b j)) y))) (+ (* x (- (* y z) (* t a))) (* j (* t c)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if ((i <= -8.5e+22) || !(i <= 68000000000.0)) {
tmp = i * (j * ((a * (b / j)) - y));
} else {
tmp = (x * ((y * z) - (t * a))) + (j * (t * 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 ((i <= (-8.5d+22)) .or. (.not. (i <= 68000000000.0d0))) then
tmp = i * (j * ((a * (b / j)) - y))
else
tmp = (x * ((y * z) - (t * a))) + (j * (t * 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 ((i <= -8.5e+22) || !(i <= 68000000000.0)) {
tmp = i * (j * ((a * (b / j)) - y));
} else {
tmp = (x * ((y * z) - (t * a))) + (j * (t * c));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if (i <= -8.5e+22) or not (i <= 68000000000.0): tmp = i * (j * ((a * (b / j)) - y)) else: tmp = (x * ((y * z) - (t * a))) + (j * (t * c)) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if ((i <= -8.5e+22) || !(i <= 68000000000.0)) tmp = Float64(i * Float64(j * Float64(Float64(a * Float64(b / j)) - y))); else tmp = Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) + Float64(j * Float64(t * c))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if ((i <= -8.5e+22) || ~((i <= 68000000000.0))) tmp = i * (j * ((a * (b / j)) - y)); else tmp = (x * ((y * z) - (t * a))) + (j * (t * c)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[Or[LessEqual[i, -8.5e+22], N[Not[LessEqual[i, 68000000000.0]], $MachinePrecision]], N[(i * N[(j * N[(N[(a * N[(b / j), $MachinePrecision]), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(t * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;i \leq -8.5 \cdot 10^{+22} \lor \neg \left(i \leq 68000000000\right):\\
\;\;\;\;i \cdot \left(j \cdot \left(a \cdot \frac{b}{j} - y\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) + j \cdot \left(t \cdot c\right)\\
\end{array}
\end{array}
if i < -8.49999999999999979e22 or 6.8e10 < i Initial program 65.9%
Taylor expanded in i around inf 74.7%
distribute-lft-out--74.7%
*-commutative74.7%
Simplified74.7%
Taylor expanded in j around inf 74.8%
neg-mul-174.8%
+-commutative74.8%
unsub-neg74.8%
associate-/l*76.5%
Simplified76.5%
if -8.49999999999999979e22 < i < 6.8e10Initial program 79.6%
Taylor expanded in b around 0 66.8%
Taylor expanded in c around inf 59.9%
Final simplification67.1%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* (* i j) (- y))))
(if (<= j -2e+21)
t_1
(if (<= j -4e-231)
(* x (* y z))
(if (<= j 4.6e+61) (* 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 = (i * j) * -y;
double tmp;
if (j <= -2e+21) {
tmp = t_1;
} else if (j <= -4e-231) {
tmp = x * (y * z);
} else if (j <= 4.6e+61) {
tmp = 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 = (i * j) * -y
if (j <= (-2d+21)) then
tmp = t_1
else if (j <= (-4d-231)) then
tmp = x * (y * z)
else if (j <= 4.6d+61) then
tmp = 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 = (i * j) * -y;
double tmp;
if (j <= -2e+21) {
tmp = t_1;
} else if (j <= -4e-231) {
tmp = x * (y * z);
} else if (j <= 4.6e+61) {
tmp = c * (z * -b);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = (i * j) * -y tmp = 0 if j <= -2e+21: tmp = t_1 elif j <= -4e-231: tmp = x * (y * z) elif j <= 4.6e+61: tmp = c * (z * -b) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(Float64(i * j) * Float64(-y)) tmp = 0.0 if (j <= -2e+21) tmp = t_1; elseif (j <= -4e-231) tmp = Float64(x * Float64(y * z)); elseif (j <= 4.6e+61) tmp = Float64(c * Float64(z * Float64(-b))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = (i * j) * -y; tmp = 0.0; if (j <= -2e+21) tmp = t_1; elseif (j <= -4e-231) tmp = x * (y * z); elseif (j <= 4.6e+61) tmp = 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[(N[(i * j), $MachinePrecision] * (-y)), $MachinePrecision]}, If[LessEqual[j, -2e+21], t$95$1, If[LessEqual[j, -4e-231], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 4.6e+61], N[(c * N[(z * (-b)), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(i \cdot j\right) \cdot \left(-y\right)\\
\mathbf{if}\;j \leq -2 \cdot 10^{+21}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq -4 \cdot 10^{-231}:\\
\;\;\;\;x \cdot \left(y \cdot z\right)\\
\mathbf{elif}\;j \leq 4.6 \cdot 10^{+61}:\\
\;\;\;\;c \cdot \left(z \cdot \left(-b\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if j < -2e21 or 4.5999999999999999e61 < j Initial program 73.6%
Taylor expanded in y around inf 51.2%
+-commutative51.2%
mul-1-neg51.2%
unsub-neg51.2%
Simplified51.2%
Taylor expanded in x around 0 42.3%
neg-mul-142.3%
distribute-lft-neg-in42.3%
*-commutative42.3%
Simplified42.3%
if -2e21 < j < -4e-231Initial program 74.1%
Taylor expanded in y around inf 53.0%
+-commutative53.0%
mul-1-neg53.0%
unsub-neg53.0%
Simplified53.0%
Taylor expanded in x around inf 37.3%
*-commutative37.3%
Simplified37.3%
if -4e-231 < j < 4.5999999999999999e61Initial program 73.4%
Taylor expanded in b around inf 54.1%
*-commutative54.1%
Simplified54.1%
Taylor expanded in a around 0 38.5%
mul-1-neg38.5%
*-commutative38.5%
*-commutative38.5%
distribute-rgt-neg-in38.5%
*-commutative38.5%
Simplified38.5%
Taylor expanded in c around 0 38.5%
*-commutative38.5%
neg-mul-138.5%
distribute-rgt-neg-in38.5%
associate-*r*38.9%
Simplified38.9%
Final simplification40.3%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* c (* t j))))
(if (<= j -1.95e+17)
t_1
(if (<= j -3.2e-227)
(* x (* y z))
(if (<= j 5.2e+66) (* 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 = c * (t * j);
double tmp;
if (j <= -1.95e+17) {
tmp = t_1;
} else if (j <= -3.2e-227) {
tmp = x * (y * z);
} else if (j <= 5.2e+66) {
tmp = 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 = c * (t * j)
if (j <= (-1.95d+17)) then
tmp = t_1
else if (j <= (-3.2d-227)) then
tmp = x * (y * z)
else if (j <= 5.2d+66) then
tmp = 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 = c * (t * j);
double tmp;
if (j <= -1.95e+17) {
tmp = t_1;
} else if (j <= -3.2e-227) {
tmp = x * (y * z);
} else if (j <= 5.2e+66) {
tmp = c * (z * -b);
} 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 <= -1.95e+17: tmp = t_1 elif j <= -3.2e-227: tmp = x * (y * z) elif j <= 5.2e+66: tmp = c * (z * -b) 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 <= -1.95e+17) tmp = t_1; elseif (j <= -3.2e-227) tmp = Float64(x * Float64(y * z)); elseif (j <= 5.2e+66) tmp = Float64(c * Float64(z * Float64(-b))); 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 <= -1.95e+17) tmp = t_1; elseif (j <= -3.2e-227) tmp = x * (y * z); elseif (j <= 5.2e+66) tmp = 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[(c * N[(t * j), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -1.95e+17], t$95$1, If[LessEqual[j, -3.2e-227], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 5.2e+66], N[(c * N[(z * (-b)), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(t \cdot j\right)\\
\mathbf{if}\;j \leq -1.95 \cdot 10^{+17}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq -3.2 \cdot 10^{-227}:\\
\;\;\;\;x \cdot \left(y \cdot z\right)\\
\mathbf{elif}\;j \leq 5.2 \cdot 10^{+66}:\\
\;\;\;\;c \cdot \left(z \cdot \left(-b\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if j < -1.95e17 or 5.20000000000000024e66 < j Initial program 73.6%
Taylor expanded in b around 0 72.1%
Taylor expanded in c around inf 37.4%
if -1.95e17 < j < -3.2000000000000001e-227Initial program 73.6%
Taylor expanded in y around inf 54.1%
+-commutative54.1%
mul-1-neg54.1%
unsub-neg54.1%
Simplified54.1%
Taylor expanded in x around inf 38.1%
*-commutative38.1%
Simplified38.1%
if -3.2000000000000001e-227 < j < 5.20000000000000024e66Initial program 73.8%
Taylor expanded in b around inf 53.5%
*-commutative53.5%
Simplified53.5%
Taylor expanded in a around 0 38.0%
mul-1-neg38.0%
*-commutative38.0%
*-commutative38.0%
distribute-rgt-neg-in38.0%
*-commutative38.0%
Simplified38.0%
Taylor expanded in c around 0 38.0%
*-commutative38.0%
neg-mul-138.0%
distribute-rgt-neg-in38.0%
associate-*r*38.4%
Simplified38.4%
Final simplification37.9%
(FPCore (x y z t a b c i j) :precision binary64 (if (or (<= i -5.8e-33) (not (<= i 3.9e+35))) (* i (- (* a b) (* y j))) (* 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 <= -5.8e-33) || !(i <= 3.9e+35)) {
tmp = i * ((a * b) - (y * j));
} 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 <= (-5.8d-33)) .or. (.not. (i <= 3.9d+35))) then
tmp = i * ((a * b) - (y * j))
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 <= -5.8e-33) || !(i <= 3.9e+35)) {
tmp = i * ((a * b) - (y * j));
} else {
tmp = c * ((t * j) - (z * b));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if (i <= -5.8e-33) or not (i <= 3.9e+35): tmp = i * ((a * b) - (y * j)) 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 <= -5.8e-33) || !(i <= 3.9e+35)) tmp = Float64(i * Float64(Float64(a * b) - Float64(y * j))); 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 <= -5.8e-33) || ~((i <= 3.9e+35))) tmp = i * ((a * b) - (y * j)); 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, -5.8e-33], N[Not[LessEqual[i, 3.9e+35]], $MachinePrecision]], N[(i * N[(N[(a * b), $MachinePrecision] - N[(y * j), $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 -5.8 \cdot 10^{-33} \lor \neg \left(i \leq 3.9 \cdot 10^{+35}\right):\\
\;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\
\end{array}
\end{array}
if i < -5.80000000000000005e-33 or 3.8999999999999999e35 < i Initial program 66.3%
Taylor expanded in i around inf 72.9%
distribute-lft-out--72.9%
*-commutative72.9%
Simplified72.9%
Taylor expanded in i around 0 72.9%
mul-1-neg72.9%
*-commutative72.9%
distribute-rgt-neg-out72.9%
neg-mul-172.9%
*-commutative72.9%
distribute-lft-out--72.9%
neg-mul-172.9%
sub-neg72.9%
remove-double-neg72.9%
+-commutative72.9%
mul-1-neg72.9%
*-commutative72.9%
unsub-neg72.9%
Simplified72.9%
if -5.80000000000000005e-33 < i < 3.8999999999999999e35Initial program 79.9%
Taylor expanded in c around inf 52.4%
*-commutative52.4%
*-commutative52.4%
Simplified52.4%
Final simplification61.9%
(FPCore (x y z t a b c i j) :precision binary64 (if (<= i -2.35e+23) (* (* i j) (- y)) (if (<= i 5e+39) (* c (- (* t j) (* z b))) (* i (* j (- y))))))
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.35e+23) {
tmp = (i * j) * -y;
} else if (i <= 5e+39) {
tmp = c * ((t * j) - (z * b));
} else {
tmp = i * (j * -y);
}
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.35d+23)) then
tmp = (i * j) * -y
else if (i <= 5d+39) then
tmp = c * ((t * j) - (z * b))
else
tmp = i * (j * -y)
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.35e+23) {
tmp = (i * j) * -y;
} else if (i <= 5e+39) {
tmp = c * ((t * j) - (z * b));
} else {
tmp = i * (j * -y);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if i <= -2.35e+23: tmp = (i * j) * -y elif i <= 5e+39: tmp = c * ((t * j) - (z * b)) else: tmp = i * (j * -y) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (i <= -2.35e+23) tmp = Float64(Float64(i * j) * Float64(-y)); elseif (i <= 5e+39) tmp = Float64(c * Float64(Float64(t * j) - Float64(z * b))); else tmp = Float64(i * Float64(j * Float64(-y))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if (i <= -2.35e+23) tmp = (i * j) * -y; elseif (i <= 5e+39) tmp = c * ((t * j) - (z * b)); else tmp = i * (j * -y); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[i, -2.35e+23], N[(N[(i * j), $MachinePrecision] * (-y)), $MachinePrecision], If[LessEqual[i, 5e+39], N[(c * N[(N[(t * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(j * (-y)), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;i \leq -2.35 \cdot 10^{+23}:\\
\;\;\;\;\left(i \cdot j\right) \cdot \left(-y\right)\\
\mathbf{elif}\;i \leq 5 \cdot 10^{+39}:\\
\;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(j \cdot \left(-y\right)\right)\\
\end{array}
\end{array}
if i < -2.3499999999999999e23Initial program 72.5%
Taylor expanded in y around inf 65.9%
+-commutative65.9%
mul-1-neg65.9%
unsub-neg65.9%
Simplified65.9%
Taylor expanded in x around 0 53.8%
neg-mul-153.8%
distribute-lft-neg-in53.8%
*-commutative53.8%
Simplified53.8%
if -2.3499999999999999e23 < i < 5.00000000000000015e39Initial program 79.6%
Taylor expanded in c around inf 51.7%
*-commutative51.7%
*-commutative51.7%
Simplified51.7%
if 5.00000000000000015e39 < i Initial program 59.5%
Taylor expanded in y around inf 55.0%
+-commutative55.0%
mul-1-neg55.0%
unsub-neg55.0%
Simplified55.0%
Taylor expanded in x around 0 46.8%
associate-*r*46.8%
neg-mul-146.8%
Simplified46.8%
Final simplification51.0%
(FPCore (x y z t a b c i j) :precision binary64 (if (<= y -195000.0) (* i (* j (- y))) (if (<= y 1.35e+128) (* b (- (* a i) (* z c))) (* (* i j) (- y)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (y <= -195000.0) {
tmp = i * (j * -y);
} else if (y <= 1.35e+128) {
tmp = b * ((a * i) - (z * c));
} else {
tmp = (i * j) * -y;
}
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 (y <= (-195000.0d0)) then
tmp = i * (j * -y)
else if (y <= 1.35d+128) then
tmp = b * ((a * i) - (z * c))
else
tmp = (i * j) * -y
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 (y <= -195000.0) {
tmp = i * (j * -y);
} else if (y <= 1.35e+128) {
tmp = b * ((a * i) - (z * c));
} else {
tmp = (i * j) * -y;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if y <= -195000.0: tmp = i * (j * -y) elif y <= 1.35e+128: tmp = b * ((a * i) - (z * c)) else: tmp = (i * j) * -y return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (y <= -195000.0) tmp = Float64(i * Float64(j * Float64(-y))); elseif (y <= 1.35e+128) tmp = Float64(b * Float64(Float64(a * i) - Float64(z * c))); else tmp = Float64(Float64(i * j) * Float64(-y)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if (y <= -195000.0) tmp = i * (j * -y); elseif (y <= 1.35e+128) tmp = b * ((a * i) - (z * c)); else tmp = (i * j) * -y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[y, -195000.0], N[(i * N[(j * (-y)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.35e+128], N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(i * j), $MachinePrecision] * (-y)), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -195000:\\
\;\;\;\;i \cdot \left(j \cdot \left(-y\right)\right)\\
\mathbf{elif}\;y \leq 1.35 \cdot 10^{+128}:\\
\;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\
\mathbf{else}:\\
\;\;\;\;\left(i \cdot j\right) \cdot \left(-y\right)\\
\end{array}
\end{array}
if y < -195000Initial program 77.3%
Taylor expanded in y around inf 68.3%
+-commutative68.3%
mul-1-neg68.3%
unsub-neg68.3%
Simplified68.3%
Taylor expanded in x around 0 46.5%
associate-*r*46.5%
neg-mul-146.5%
Simplified46.5%
if -195000 < y < 1.35000000000000001e128Initial program 75.7%
Taylor expanded in b around inf 43.9%
*-commutative43.9%
Simplified43.9%
if 1.35000000000000001e128 < y Initial program 57.3%
Taylor expanded in y around inf 85.8%
+-commutative85.8%
mul-1-neg85.8%
unsub-neg85.8%
Simplified85.8%
Taylor expanded in x around 0 49.8%
neg-mul-149.8%
distribute-lft-neg-in49.8%
*-commutative49.8%
Simplified49.8%
Final simplification45.5%
(FPCore (x y z t a b c i j) :precision binary64 (if (or (<= i -1.75e-71) (not (<= i 500000000000.0))) (* a (* b 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 <= -1.75e-71) || !(i <= 500000000000.0)) {
tmp = a * (b * 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 <= (-1.75d-71)) .or. (.not. (i <= 500000000000.0d0))) then
tmp = a * (b * 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 <= -1.75e-71) || !(i <= 500000000000.0)) {
tmp = a * (b * i);
} else {
tmp = c * (t * j);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if (i <= -1.75e-71) or not (i <= 500000000000.0): tmp = a * (b * i) else: tmp = c * (t * j) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if ((i <= -1.75e-71) || !(i <= 500000000000.0)) tmp = Float64(a * Float64(b * 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 <= -1.75e-71) || ~((i <= 500000000000.0))) tmp = a * (b * 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, -1.75e-71], N[Not[LessEqual[i, 500000000000.0]], $MachinePrecision]], N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision], N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;i \leq -1.75 \cdot 10^{-71} \lor \neg \left(i \leq 500000000000\right):\\
\;\;\;\;a \cdot \left(b \cdot i\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(t \cdot j\right)\\
\end{array}
\end{array}
if i < -1.75e-71 or 5e11 < i Initial program 67.8%
Taylor expanded in b around inf 42.1%
*-commutative42.1%
Simplified42.1%
Taylor expanded in a around inf 35.8%
*-commutative35.8%
Simplified35.8%
if -1.75e-71 < i < 5e11Initial program 79.6%
Taylor expanded in b around 0 68.3%
Taylor expanded in c around inf 32.1%
Final simplification34.0%
(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 73.6%
Taylor expanded in b around inf 36.0%
*-commutative36.0%
Simplified36.0%
Taylor expanded in a around inf 20.3%
*-commutative20.3%
Simplified20.3%
Final simplification20.3%
(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 2024181
(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)))))