
(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 22 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a b c i j) :precision binary64 (+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* 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 (- (* y z) (* t a)))
(t_3 (* x t_2))
(t_4 (- (* t c) (* y i))))
(if (<= (+ (+ t_3 t_1) (* j t_4)) INFINITY)
(fma x t_2 (fma j t_4 t_1))
t_3)))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = b * ((a * i) - (z * c));
double t_2 = (y * z) - (t * a);
double t_3 = x * t_2;
double t_4 = (t * c) - (y * i);
double tmp;
if (((t_3 + t_1) + (j * t_4)) <= ((double) INFINITY)) {
tmp = fma(x, t_2, fma(j, t_4, t_1));
} else {
tmp = t_3;
}
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(y * z) - Float64(t * a)) t_3 = Float64(x * t_2) t_4 = Float64(Float64(t * c) - Float64(y * i)) tmp = 0.0 if (Float64(Float64(t_3 + t_1) + Float64(j * t_4)) <= Inf) tmp = fma(x, t_2, fma(j, t_4, t_1)); else tmp = t_3; 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[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(x * t$95$2), $MachinePrecision]}, Block[{t$95$4 = N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[N[(N[(t$95$3 + t$95$1), $MachinePrecision] + N[(j * t$95$4), $MachinePrecision]), $MachinePrecision], Infinity], N[(x * t$95$2 + N[(j * t$95$4 + t$95$1), $MachinePrecision]), $MachinePrecision], t$95$3]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\
t_2 := y \cdot z - t \cdot a\\
t_3 := x \cdot t_2\\
t_4 := t \cdot c - y \cdot i\\
\mathbf{if}\;\left(t_3 + t_1\right) + j \cdot t_4 \leq \infty:\\
\;\;\;\;\mathsf{fma}\left(x, t_2, \mathsf{fma}\left(j, t_4, t_1\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_3\\
\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 92.1%
sub-neg92.1%
associate-+l+92.1%
fma-def92.1%
+-commutative92.1%
fma-def92.1%
*-commutative92.1%
*-commutative92.1%
distribute-rgt-neg-in92.1%
sub-neg92.1%
+-commutative92.1%
distribute-neg-in92.1%
unsub-neg92.1%
remove-double-neg92.1%
*-commutative92.1%
*-commutative92.1%
Simplified92.1%
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%
cancel-sign-sub0.0%
cancel-sign-sub-inv0.0%
*-commutative0.0%
*-commutative0.0%
remove-double-neg0.0%
*-commutative0.0%
*-commutative0.0%
Simplified0.0%
Taylor expanded in x around inf 50.8%
Final simplification82.1%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* x (- (* y z) (* t a))))
(t_2 (+ (+ t_1 (* b (- (* a i) (* z c)))) (* j (- (* t c) (* y i))))))
(if (<= t_2 INFINITY) t_2 t_1)))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = x * ((y * z) - (t * a));
double t_2 = (t_1 + (b * ((a * i) - (z * c)))) + (j * ((t * c) - (y * i)));
double tmp;
if (t_2 <= ((double) INFINITY)) {
tmp = t_2;
} else {
tmp = t_1;
}
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));
double t_2 = (t_1 + (b * ((a * i) - (z * c)))) + (j * ((t * c) - (y * i)));
double tmp;
if (t_2 <= Double.POSITIVE_INFINITY) {
tmp = t_2;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = x * ((y * z) - (t * a)) t_2 = (t_1 + (b * ((a * i) - (z * c)))) + (j * ((t * c) - (y * i))) tmp = 0 if t_2 <= math.inf: tmp = t_2 else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(x * Float64(Float64(y * z) - Float64(t * a))) t_2 = Float64(Float64(t_1 + Float64(b * Float64(Float64(a * i) - Float64(z * c)))) + Float64(j * Float64(Float64(t * c) - Float64(y * i)))) tmp = 0.0 if (t_2 <= Inf) tmp = t_2; else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = x * ((y * z) - (t * a)); t_2 = (t_1 + (b * ((a * i) - (z * c)))) + (j * ((t * c) - (y * i))); tmp = 0.0; if (t_2 <= Inf) tmp = t_2; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(t$95$1 + 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$2, Infinity], t$95$2, t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(y \cdot z - t \cdot a\right)\\
t_2 := \left(t_1 + b \cdot \left(a \cdot i - z \cdot c\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\
\mathbf{if}\;t_2 \leq \infty:\\
\;\;\;\;t_2\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\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 92.1%
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%
cancel-sign-sub0.0%
cancel-sign-sub-inv0.0%
*-commutative0.0%
*-commutative0.0%
remove-double-neg0.0%
*-commutative0.0%
*-commutative0.0%
Simplified0.0%
Taylor expanded in x around inf 50.8%
Final simplification82.1%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* y (- (* x z) (* i j))))
(t_2 (* x (- (* y z) (* t a))))
(t_3 (* j (- (* t c) (* y i))))
(t_4 (* a (- (* b i) (* x t))))
(t_5 (- t_3 (* c (* z b)))))
(if (<= a -1.55e+91)
t_4
(if (<= a -3e+39)
(+ t_3 (* i (* a b)))
(if (<= a -6e-18)
t_2
(if (<= a -3.7e-137)
t_5
(if (<= a -3e-214)
t_1
(if (<= a 2.1e-292)
(* c (- (* t j) (* z b)))
(if (<= a 4.5e-248)
t_1
(if (<= a 1.4e-196)
(* t (- (* c j) (* x a)))
(if (<= a 5e-110)
(+ (* x (* y z)) (* b (- (* a i) (* z c))))
(if (<= a 1.52e-40)
t_5
(if (<= a 2.95e+31)
t_2
(if (<= a 3.6e+191) t_5 t_4))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = y * ((x * z) - (i * j));
double t_2 = x * ((y * z) - (t * a));
double t_3 = j * ((t * c) - (y * i));
double t_4 = a * ((b * i) - (x * t));
double t_5 = t_3 - (c * (z * b));
double tmp;
if (a <= -1.55e+91) {
tmp = t_4;
} else if (a <= -3e+39) {
tmp = t_3 + (i * (a * b));
} else if (a <= -6e-18) {
tmp = t_2;
} else if (a <= -3.7e-137) {
tmp = t_5;
} else if (a <= -3e-214) {
tmp = t_1;
} else if (a <= 2.1e-292) {
tmp = c * ((t * j) - (z * b));
} else if (a <= 4.5e-248) {
tmp = t_1;
} else if (a <= 1.4e-196) {
tmp = t * ((c * j) - (x * a));
} else if (a <= 5e-110) {
tmp = (x * (y * z)) + (b * ((a * i) - (z * c)));
} else if (a <= 1.52e-40) {
tmp = t_5;
} else if (a <= 2.95e+31) {
tmp = t_2;
} else if (a <= 3.6e+191) {
tmp = t_5;
} else {
tmp = t_4;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: tmp
t_1 = y * ((x * z) - (i * j))
t_2 = x * ((y * z) - (t * a))
t_3 = j * ((t * c) - (y * i))
t_4 = a * ((b * i) - (x * t))
t_5 = t_3 - (c * (z * b))
if (a <= (-1.55d+91)) then
tmp = t_4
else if (a <= (-3d+39)) then
tmp = t_3 + (i * (a * b))
else if (a <= (-6d-18)) then
tmp = t_2
else if (a <= (-3.7d-137)) then
tmp = t_5
else if (a <= (-3d-214)) then
tmp = t_1
else if (a <= 2.1d-292) then
tmp = c * ((t * j) - (z * b))
else if (a <= 4.5d-248) then
tmp = t_1
else if (a <= 1.4d-196) then
tmp = t * ((c * j) - (x * a))
else if (a <= 5d-110) then
tmp = (x * (y * z)) + (b * ((a * i) - (z * c)))
else if (a <= 1.52d-40) then
tmp = t_5
else if (a <= 2.95d+31) then
tmp = t_2
else if (a <= 3.6d+191) then
tmp = t_5
else
tmp = t_4
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 = y * ((x * z) - (i * j));
double t_2 = x * ((y * z) - (t * a));
double t_3 = j * ((t * c) - (y * i));
double t_4 = a * ((b * i) - (x * t));
double t_5 = t_3 - (c * (z * b));
double tmp;
if (a <= -1.55e+91) {
tmp = t_4;
} else if (a <= -3e+39) {
tmp = t_3 + (i * (a * b));
} else if (a <= -6e-18) {
tmp = t_2;
} else if (a <= -3.7e-137) {
tmp = t_5;
} else if (a <= -3e-214) {
tmp = t_1;
} else if (a <= 2.1e-292) {
tmp = c * ((t * j) - (z * b));
} else if (a <= 4.5e-248) {
tmp = t_1;
} else if (a <= 1.4e-196) {
tmp = t * ((c * j) - (x * a));
} else if (a <= 5e-110) {
tmp = (x * (y * z)) + (b * ((a * i) - (z * c)));
} else if (a <= 1.52e-40) {
tmp = t_5;
} else if (a <= 2.95e+31) {
tmp = t_2;
} else if (a <= 3.6e+191) {
tmp = t_5;
} else {
tmp = t_4;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = y * ((x * z) - (i * j)) t_2 = x * ((y * z) - (t * a)) t_3 = j * ((t * c) - (y * i)) t_4 = a * ((b * i) - (x * t)) t_5 = t_3 - (c * (z * b)) tmp = 0 if a <= -1.55e+91: tmp = t_4 elif a <= -3e+39: tmp = t_3 + (i * (a * b)) elif a <= -6e-18: tmp = t_2 elif a <= -3.7e-137: tmp = t_5 elif a <= -3e-214: tmp = t_1 elif a <= 2.1e-292: tmp = c * ((t * j) - (z * b)) elif a <= 4.5e-248: tmp = t_1 elif a <= 1.4e-196: tmp = t * ((c * j) - (x * a)) elif a <= 5e-110: tmp = (x * (y * z)) + (b * ((a * i) - (z * c))) elif a <= 1.52e-40: tmp = t_5 elif a <= 2.95e+31: tmp = t_2 elif a <= 3.6e+191: tmp = t_5 else: tmp = t_4 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(y * Float64(Float64(x * z) - Float64(i * j))) t_2 = Float64(x * Float64(Float64(y * z) - Float64(t * a))) t_3 = Float64(j * Float64(Float64(t * c) - Float64(y * i))) t_4 = Float64(a * Float64(Float64(b * i) - Float64(x * t))) t_5 = Float64(t_3 - Float64(c * Float64(z * b))) tmp = 0.0 if (a <= -1.55e+91) tmp = t_4; elseif (a <= -3e+39) tmp = Float64(t_3 + Float64(i * Float64(a * b))); elseif (a <= -6e-18) tmp = t_2; elseif (a <= -3.7e-137) tmp = t_5; elseif (a <= -3e-214) tmp = t_1; elseif (a <= 2.1e-292) tmp = Float64(c * Float64(Float64(t * j) - Float64(z * b))); elseif (a <= 4.5e-248) tmp = t_1; elseif (a <= 1.4e-196) tmp = Float64(t * Float64(Float64(c * j) - Float64(x * a))); elseif (a <= 5e-110) tmp = Float64(Float64(x * Float64(y * z)) + Float64(b * Float64(Float64(a * i) - Float64(z * c)))); elseif (a <= 1.52e-40) tmp = t_5; elseif (a <= 2.95e+31) tmp = t_2; elseif (a <= 3.6e+191) tmp = t_5; else tmp = t_4; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = y * ((x * z) - (i * j)); t_2 = x * ((y * z) - (t * a)); t_3 = j * ((t * c) - (y * i)); t_4 = a * ((b * i) - (x * t)); t_5 = t_3 - (c * (z * b)); tmp = 0.0; if (a <= -1.55e+91) tmp = t_4; elseif (a <= -3e+39) tmp = t_3 + (i * (a * b)); elseif (a <= -6e-18) tmp = t_2; elseif (a <= -3.7e-137) tmp = t_5; elseif (a <= -3e-214) tmp = t_1; elseif (a <= 2.1e-292) tmp = c * ((t * j) - (z * b)); elseif (a <= 4.5e-248) tmp = t_1; elseif (a <= 1.4e-196) tmp = t * ((c * j) - (x * a)); elseif (a <= 5e-110) tmp = (x * (y * z)) + (b * ((a * i) - (z * c))); elseif (a <= 1.52e-40) tmp = t_5; elseif (a <= 2.95e+31) tmp = t_2; elseif (a <= 3.6e+191) tmp = t_5; else tmp = t_4; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(t$95$3 - N[(c * N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -1.55e+91], t$95$4, If[LessEqual[a, -3e+39], N[(t$95$3 + N[(i * N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -6e-18], t$95$2, If[LessEqual[a, -3.7e-137], t$95$5, If[LessEqual[a, -3e-214], t$95$1, If[LessEqual[a, 2.1e-292], N[(c * N[(N[(t * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 4.5e-248], t$95$1, If[LessEqual[a, 1.4e-196], N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 5e-110], N[(N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.52e-40], t$95$5, If[LessEqual[a, 2.95e+31], t$95$2, If[LessEqual[a, 3.6e+191], t$95$5, t$95$4]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y \cdot \left(x \cdot z - i \cdot j\right)\\
t_2 := x \cdot \left(y \cdot z - t \cdot a\right)\\
t_3 := j \cdot \left(t \cdot c - y \cdot i\right)\\
t_4 := a \cdot \left(b \cdot i - x \cdot t\right)\\
t_5 := t_3 - c \cdot \left(z \cdot b\right)\\
\mathbf{if}\;a \leq -1.55 \cdot 10^{+91}:\\
\;\;\;\;t_4\\
\mathbf{elif}\;a \leq -3 \cdot 10^{+39}:\\
\;\;\;\;t_3 + i \cdot \left(a \cdot b\right)\\
\mathbf{elif}\;a \leq -6 \cdot 10^{-18}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;a \leq -3.7 \cdot 10^{-137}:\\
\;\;\;\;t_5\\
\mathbf{elif}\;a \leq -3 \cdot 10^{-214}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;a \leq 2.1 \cdot 10^{-292}:\\
\;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\
\mathbf{elif}\;a \leq 4.5 \cdot 10^{-248}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;a \leq 1.4 \cdot 10^{-196}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\
\mathbf{elif}\;a \leq 5 \cdot 10^{-110}:\\
\;\;\;\;x \cdot \left(y \cdot z\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\
\mathbf{elif}\;a \leq 1.52 \cdot 10^{-40}:\\
\;\;\;\;t_5\\
\mathbf{elif}\;a \leq 2.95 \cdot 10^{+31}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;a \leq 3.6 \cdot 10^{+191}:\\
\;\;\;\;t_5\\
\mathbf{else}:\\
\;\;\;\;t_4\\
\end{array}
\end{array}
if a < -1.54999999999999999e91 or 3.5999999999999999e191 < a Initial program 62.6%
cancel-sign-sub62.6%
cancel-sign-sub-inv62.6%
*-commutative62.6%
*-commutative62.6%
remove-double-neg62.6%
*-commutative62.6%
*-commutative62.6%
Simplified62.6%
Taylor expanded in a around inf 76.7%
associate-*r*76.7%
neg-mul-176.7%
cancel-sign-sub76.7%
+-commutative76.7%
mul-1-neg76.7%
unsub-neg76.7%
Simplified76.7%
if -1.54999999999999999e91 < a < -3e39Initial program 71.8%
cancel-sign-sub71.8%
cancel-sign-sub-inv71.8%
*-commutative71.8%
*-commutative71.8%
remove-double-neg71.8%
*-commutative71.8%
*-commutative71.8%
Simplified71.8%
Taylor expanded in i around inf 79.9%
*-commutative79.9%
associate-*r*79.9%
Simplified79.9%
if -3e39 < a < -5.99999999999999966e-18 or 1.51999999999999992e-40 < a < 2.9500000000000002e31Initial program 67.5%
cancel-sign-sub67.5%
cancel-sign-sub-inv67.5%
*-commutative67.5%
*-commutative67.5%
remove-double-neg67.5%
*-commutative67.5%
*-commutative67.5%
Simplified67.5%
Taylor expanded in x around inf 71.2%
if -5.99999999999999966e-18 < a < -3.7e-137 or 5e-110 < a < 1.51999999999999992e-40 or 2.9500000000000002e31 < a < 3.5999999999999999e191Initial program 79.4%
cancel-sign-sub79.4%
cancel-sign-sub-inv79.4%
*-commutative79.4%
*-commutative79.4%
remove-double-neg79.4%
*-commutative79.4%
*-commutative79.4%
Simplified79.4%
Taylor expanded in c around inf 72.7%
mul-1-neg72.7%
Simplified72.7%
if -3.7e-137 < a < -2.99999999999999994e-214 or 2.09999999999999989e-292 < a < 4.4999999999999996e-248Initial program 70.0%
cancel-sign-sub70.0%
cancel-sign-sub-inv70.0%
*-commutative70.0%
*-commutative70.0%
remove-double-neg70.0%
*-commutative70.0%
*-commutative70.0%
Simplified70.0%
Taylor expanded in y around inf 83.2%
+-commutative83.2%
mul-1-neg83.2%
unsub-neg83.2%
Simplified83.2%
if -2.99999999999999994e-214 < a < 2.09999999999999989e-292Initial program 80.2%
cancel-sign-sub80.2%
cancel-sign-sub-inv80.2%
*-commutative80.2%
*-commutative80.2%
remove-double-neg80.2%
*-commutative80.2%
*-commutative80.2%
Simplified80.2%
Taylor expanded in c around inf 85.3%
if 4.4999999999999996e-248 < a < 1.3999999999999999e-196Initial program 66.7%
cancel-sign-sub66.7%
cancel-sign-sub-inv66.7%
*-commutative66.7%
*-commutative66.7%
remove-double-neg66.7%
*-commutative66.7%
*-commutative66.7%
Simplified66.7%
Taylor expanded in t around inf 78.2%
*-commutative78.2%
mul-1-neg78.2%
unsub-neg78.2%
Simplified78.2%
if 1.3999999999999999e-196 < a < 5e-110Initial program 58.2%
+-commutative58.2%
fma-def58.2%
*-commutative58.2%
*-commutative58.2%
*-commutative58.2%
*-commutative58.2%
Simplified58.2%
Taylor expanded in j around 0 58.8%
Taylor expanded in y around inf 52.3%
*-commutative52.3%
Simplified52.3%
Final simplification75.4%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* y (- (* x z) (* i j))))
(t_2 (* x (- (* y z) (* t a))))
(t_3 (* j (- (* t c) (* y i))))
(t_4 (* a (- (* b i) (* x t))))
(t_5 (- t_3 (* c (* z b)))))
(if (<= a -3.3e+88)
t_4
(if (<= a -5e+40)
(+ t_3 (* i (* a b)))
(if (<= a -4.2e-13)
t_2
(if (<= a -1.05e-137)
t_5
(if (<= a -6.2e-216)
t_1
(if (<= a 1.55e-292)
(* c (- (* t j) (* z b)))
(if (<= a 3.5e-255)
t_1
(if (<= a 3.6e-40)
(- t_3 (* z (* b c)))
(if (<= a 2.6e+31)
t_2
(if (<= a 4.2e+191) t_5 t_4))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = y * ((x * z) - (i * j));
double t_2 = x * ((y * z) - (t * a));
double t_3 = j * ((t * c) - (y * i));
double t_4 = a * ((b * i) - (x * t));
double t_5 = t_3 - (c * (z * b));
double tmp;
if (a <= -3.3e+88) {
tmp = t_4;
} else if (a <= -5e+40) {
tmp = t_3 + (i * (a * b));
} else if (a <= -4.2e-13) {
tmp = t_2;
} else if (a <= -1.05e-137) {
tmp = t_5;
} else if (a <= -6.2e-216) {
tmp = t_1;
} else if (a <= 1.55e-292) {
tmp = c * ((t * j) - (z * b));
} else if (a <= 3.5e-255) {
tmp = t_1;
} else if (a <= 3.6e-40) {
tmp = t_3 - (z * (b * c));
} else if (a <= 2.6e+31) {
tmp = t_2;
} else if (a <= 4.2e+191) {
tmp = t_5;
} else {
tmp = t_4;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: tmp
t_1 = y * ((x * z) - (i * j))
t_2 = x * ((y * z) - (t * a))
t_3 = j * ((t * c) - (y * i))
t_4 = a * ((b * i) - (x * t))
t_5 = t_3 - (c * (z * b))
if (a <= (-3.3d+88)) then
tmp = t_4
else if (a <= (-5d+40)) then
tmp = t_3 + (i * (a * b))
else if (a <= (-4.2d-13)) then
tmp = t_2
else if (a <= (-1.05d-137)) then
tmp = t_5
else if (a <= (-6.2d-216)) then
tmp = t_1
else if (a <= 1.55d-292) then
tmp = c * ((t * j) - (z * b))
else if (a <= 3.5d-255) then
tmp = t_1
else if (a <= 3.6d-40) then
tmp = t_3 - (z * (b * c))
else if (a <= 2.6d+31) then
tmp = t_2
else if (a <= 4.2d+191) then
tmp = t_5
else
tmp = t_4
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 = y * ((x * z) - (i * j));
double t_2 = x * ((y * z) - (t * a));
double t_3 = j * ((t * c) - (y * i));
double t_4 = a * ((b * i) - (x * t));
double t_5 = t_3 - (c * (z * b));
double tmp;
if (a <= -3.3e+88) {
tmp = t_4;
} else if (a <= -5e+40) {
tmp = t_3 + (i * (a * b));
} else if (a <= -4.2e-13) {
tmp = t_2;
} else if (a <= -1.05e-137) {
tmp = t_5;
} else if (a <= -6.2e-216) {
tmp = t_1;
} else if (a <= 1.55e-292) {
tmp = c * ((t * j) - (z * b));
} else if (a <= 3.5e-255) {
tmp = t_1;
} else if (a <= 3.6e-40) {
tmp = t_3 - (z * (b * c));
} else if (a <= 2.6e+31) {
tmp = t_2;
} else if (a <= 4.2e+191) {
tmp = t_5;
} else {
tmp = t_4;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = y * ((x * z) - (i * j)) t_2 = x * ((y * z) - (t * a)) t_3 = j * ((t * c) - (y * i)) t_4 = a * ((b * i) - (x * t)) t_5 = t_3 - (c * (z * b)) tmp = 0 if a <= -3.3e+88: tmp = t_4 elif a <= -5e+40: tmp = t_3 + (i * (a * b)) elif a <= -4.2e-13: tmp = t_2 elif a <= -1.05e-137: tmp = t_5 elif a <= -6.2e-216: tmp = t_1 elif a <= 1.55e-292: tmp = c * ((t * j) - (z * b)) elif a <= 3.5e-255: tmp = t_1 elif a <= 3.6e-40: tmp = t_3 - (z * (b * c)) elif a <= 2.6e+31: tmp = t_2 elif a <= 4.2e+191: tmp = t_5 else: tmp = t_4 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(y * Float64(Float64(x * z) - Float64(i * j))) t_2 = Float64(x * Float64(Float64(y * z) - Float64(t * a))) t_3 = Float64(j * Float64(Float64(t * c) - Float64(y * i))) t_4 = Float64(a * Float64(Float64(b * i) - Float64(x * t))) t_5 = Float64(t_3 - Float64(c * Float64(z * b))) tmp = 0.0 if (a <= -3.3e+88) tmp = t_4; elseif (a <= -5e+40) tmp = Float64(t_3 + Float64(i * Float64(a * b))); elseif (a <= -4.2e-13) tmp = t_2; elseif (a <= -1.05e-137) tmp = t_5; elseif (a <= -6.2e-216) tmp = t_1; elseif (a <= 1.55e-292) tmp = Float64(c * Float64(Float64(t * j) - Float64(z * b))); elseif (a <= 3.5e-255) tmp = t_1; elseif (a <= 3.6e-40) tmp = Float64(t_3 - Float64(z * Float64(b * c))); elseif (a <= 2.6e+31) tmp = t_2; elseif (a <= 4.2e+191) tmp = t_5; else tmp = t_4; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = y * ((x * z) - (i * j)); t_2 = x * ((y * z) - (t * a)); t_3 = j * ((t * c) - (y * i)); t_4 = a * ((b * i) - (x * t)); t_5 = t_3 - (c * (z * b)); tmp = 0.0; if (a <= -3.3e+88) tmp = t_4; elseif (a <= -5e+40) tmp = t_3 + (i * (a * b)); elseif (a <= -4.2e-13) tmp = t_2; elseif (a <= -1.05e-137) tmp = t_5; elseif (a <= -6.2e-216) tmp = t_1; elseif (a <= 1.55e-292) tmp = c * ((t * j) - (z * b)); elseif (a <= 3.5e-255) tmp = t_1; elseif (a <= 3.6e-40) tmp = t_3 - (z * (b * c)); elseif (a <= 2.6e+31) tmp = t_2; elseif (a <= 4.2e+191) tmp = t_5; else tmp = t_4; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(t$95$3 - N[(c * N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -3.3e+88], t$95$4, If[LessEqual[a, -5e+40], N[(t$95$3 + N[(i * N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -4.2e-13], t$95$2, If[LessEqual[a, -1.05e-137], t$95$5, If[LessEqual[a, -6.2e-216], t$95$1, If[LessEqual[a, 1.55e-292], N[(c * N[(N[(t * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 3.5e-255], t$95$1, If[LessEqual[a, 3.6e-40], N[(t$95$3 - N[(z * N[(b * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2.6e+31], t$95$2, If[LessEqual[a, 4.2e+191], t$95$5, t$95$4]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y \cdot \left(x \cdot z - i \cdot j\right)\\
t_2 := x \cdot \left(y \cdot z - t \cdot a\right)\\
t_3 := j \cdot \left(t \cdot c - y \cdot i\right)\\
t_4 := a \cdot \left(b \cdot i - x \cdot t\right)\\
t_5 := t_3 - c \cdot \left(z \cdot b\right)\\
\mathbf{if}\;a \leq -3.3 \cdot 10^{+88}:\\
\;\;\;\;t_4\\
\mathbf{elif}\;a \leq -5 \cdot 10^{+40}:\\
\;\;\;\;t_3 + i \cdot \left(a \cdot b\right)\\
\mathbf{elif}\;a \leq -4.2 \cdot 10^{-13}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;a \leq -1.05 \cdot 10^{-137}:\\
\;\;\;\;t_5\\
\mathbf{elif}\;a \leq -6.2 \cdot 10^{-216}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;a \leq 1.55 \cdot 10^{-292}:\\
\;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\
\mathbf{elif}\;a \leq 3.5 \cdot 10^{-255}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;a \leq 3.6 \cdot 10^{-40}:\\
\;\;\;\;t_3 - z \cdot \left(b \cdot c\right)\\
\mathbf{elif}\;a \leq 2.6 \cdot 10^{+31}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;a \leq 4.2 \cdot 10^{+191}:\\
\;\;\;\;t_5\\
\mathbf{else}:\\
\;\;\;\;t_4\\
\end{array}
\end{array}
if a < -3.3000000000000003e88 or 4.2000000000000001e191 < a Initial program 62.6%
cancel-sign-sub62.6%
cancel-sign-sub-inv62.6%
*-commutative62.6%
*-commutative62.6%
remove-double-neg62.6%
*-commutative62.6%
*-commutative62.6%
Simplified62.6%
Taylor expanded in a around inf 76.7%
associate-*r*76.7%
neg-mul-176.7%
cancel-sign-sub76.7%
+-commutative76.7%
mul-1-neg76.7%
unsub-neg76.7%
Simplified76.7%
if -3.3000000000000003e88 < a < -5.00000000000000003e40Initial program 71.8%
cancel-sign-sub71.8%
cancel-sign-sub-inv71.8%
*-commutative71.8%
*-commutative71.8%
remove-double-neg71.8%
*-commutative71.8%
*-commutative71.8%
Simplified71.8%
Taylor expanded in i around inf 79.9%
*-commutative79.9%
associate-*r*79.9%
Simplified79.9%
if -5.00000000000000003e40 < a < -4.19999999999999977e-13 or 3.6e-40 < a < 2.6e31Initial program 67.5%
cancel-sign-sub67.5%
cancel-sign-sub-inv67.5%
*-commutative67.5%
*-commutative67.5%
remove-double-neg67.5%
*-commutative67.5%
*-commutative67.5%
Simplified67.5%
Taylor expanded in x around inf 71.2%
if -4.19999999999999977e-13 < a < -1.04999999999999996e-137 or 2.6e31 < a < 4.2000000000000001e191Initial program 78.0%
cancel-sign-sub78.0%
cancel-sign-sub-inv78.0%
*-commutative78.0%
*-commutative78.0%
remove-double-neg78.0%
*-commutative78.0%
*-commutative78.0%
Simplified78.0%
Taylor expanded in c around inf 72.3%
mul-1-neg72.3%
Simplified72.3%
if -1.04999999999999996e-137 < a < -6.2000000000000004e-216 or 1.55e-292 < a < 3.49999999999999979e-255Initial program 67.1%
cancel-sign-sub67.1%
cancel-sign-sub-inv67.1%
*-commutative67.1%
*-commutative67.1%
remove-double-neg67.1%
*-commutative67.1%
*-commutative67.1%
Simplified67.1%
Taylor expanded in y around inf 86.0%
+-commutative86.0%
mul-1-neg86.0%
unsub-neg86.0%
Simplified86.0%
if -6.2000000000000004e-216 < a < 1.55e-292Initial program 80.2%
cancel-sign-sub80.2%
cancel-sign-sub-inv80.2%
*-commutative80.2%
*-commutative80.2%
remove-double-neg80.2%
*-commutative80.2%
*-commutative80.2%
Simplified80.2%
Taylor expanded in c around inf 85.3%
if 3.49999999999999979e-255 < a < 3.6e-40Initial program 71.5%
cancel-sign-sub71.5%
cancel-sign-sub-inv71.5%
*-commutative71.5%
*-commutative71.5%
remove-double-neg71.5%
*-commutative71.5%
*-commutative71.5%
Simplified71.5%
Taylor expanded in c around inf 55.4%
mul-1-neg55.4%
associate-*r*57.8%
distribute-lft-neg-in57.8%
distribute-rgt-neg-in57.8%
Simplified57.8%
Final simplification74.2%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* a (* x t)))
(t_2 (* j (- (* t c) (* y i))))
(t_3 (- t_2 t_1))
(t_4 (* t (- (* c j) (* x a))))
(t_5 (+ (* x (* y z)) (* b (- (* a i) (* z c))))))
(if (<= t -2.05e+67)
t_4
(if (<= t -70000000.0)
(* z (- (* x y) (* b c)))
(if (<= t -5.1e-8)
(- (* i (* a b)) t_1)
(if (<= t -2.6e-48)
(- t_2 (* c (* z b)))
(if (<= t -5.5e-84)
(* a (- (* b i) (* x t)))
(if (<= t -2.45e-183)
t_3
(if (<= t 1.08e-57)
t_5
(if (<= t 240.0) t_3 (if (<= t 2.75e+112) t_5 t_4)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = a * (x * t);
double t_2 = j * ((t * c) - (y * i));
double t_3 = t_2 - t_1;
double t_4 = t * ((c * j) - (x * a));
double t_5 = (x * (y * z)) + (b * ((a * i) - (z * c)));
double tmp;
if (t <= -2.05e+67) {
tmp = t_4;
} else if (t <= -70000000.0) {
tmp = z * ((x * y) - (b * c));
} else if (t <= -5.1e-8) {
tmp = (i * (a * b)) - t_1;
} else if (t <= -2.6e-48) {
tmp = t_2 - (c * (z * b));
} else if (t <= -5.5e-84) {
tmp = a * ((b * i) - (x * t));
} else if (t <= -2.45e-183) {
tmp = t_3;
} else if (t <= 1.08e-57) {
tmp = t_5;
} else if (t <= 240.0) {
tmp = t_3;
} else if (t <= 2.75e+112) {
tmp = t_5;
} else {
tmp = t_4;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: tmp
t_1 = a * (x * t)
t_2 = j * ((t * c) - (y * i))
t_3 = t_2 - t_1
t_4 = t * ((c * j) - (x * a))
t_5 = (x * (y * z)) + (b * ((a * i) - (z * c)))
if (t <= (-2.05d+67)) then
tmp = t_4
else if (t <= (-70000000.0d0)) then
tmp = z * ((x * y) - (b * c))
else if (t <= (-5.1d-8)) then
tmp = (i * (a * b)) - t_1
else if (t <= (-2.6d-48)) then
tmp = t_2 - (c * (z * b))
else if (t <= (-5.5d-84)) then
tmp = a * ((b * i) - (x * t))
else if (t <= (-2.45d-183)) then
tmp = t_3
else if (t <= 1.08d-57) then
tmp = t_5
else if (t <= 240.0d0) then
tmp = t_3
else if (t <= 2.75d+112) then
tmp = t_5
else
tmp = t_4
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = a * (x * t);
double t_2 = j * ((t * c) - (y * i));
double t_3 = t_2 - t_1;
double t_4 = t * ((c * j) - (x * a));
double t_5 = (x * (y * z)) + (b * ((a * i) - (z * c)));
double tmp;
if (t <= -2.05e+67) {
tmp = t_4;
} else if (t <= -70000000.0) {
tmp = z * ((x * y) - (b * c));
} else if (t <= -5.1e-8) {
tmp = (i * (a * b)) - t_1;
} else if (t <= -2.6e-48) {
tmp = t_2 - (c * (z * b));
} else if (t <= -5.5e-84) {
tmp = a * ((b * i) - (x * t));
} else if (t <= -2.45e-183) {
tmp = t_3;
} else if (t <= 1.08e-57) {
tmp = t_5;
} else if (t <= 240.0) {
tmp = t_3;
} else if (t <= 2.75e+112) {
tmp = t_5;
} else {
tmp = t_4;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = a * (x * t) t_2 = j * ((t * c) - (y * i)) t_3 = t_2 - t_1 t_4 = t * ((c * j) - (x * a)) t_5 = (x * (y * z)) + (b * ((a * i) - (z * c))) tmp = 0 if t <= -2.05e+67: tmp = t_4 elif t <= -70000000.0: tmp = z * ((x * y) - (b * c)) elif t <= -5.1e-8: tmp = (i * (a * b)) - t_1 elif t <= -2.6e-48: tmp = t_2 - (c * (z * b)) elif t <= -5.5e-84: tmp = a * ((b * i) - (x * t)) elif t <= -2.45e-183: tmp = t_3 elif t <= 1.08e-57: tmp = t_5 elif t <= 240.0: tmp = t_3 elif t <= 2.75e+112: tmp = t_5 else: tmp = t_4 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(a * Float64(x * t)) t_2 = Float64(j * Float64(Float64(t * c) - Float64(y * i))) t_3 = Float64(t_2 - t_1) t_4 = Float64(t * Float64(Float64(c * j) - Float64(x * a))) t_5 = Float64(Float64(x * Float64(y * z)) + Float64(b * Float64(Float64(a * i) - Float64(z * c)))) tmp = 0.0 if (t <= -2.05e+67) tmp = t_4; elseif (t <= -70000000.0) tmp = Float64(z * Float64(Float64(x * y) - Float64(b * c))); elseif (t <= -5.1e-8) tmp = Float64(Float64(i * Float64(a * b)) - t_1); elseif (t <= -2.6e-48) tmp = Float64(t_2 - Float64(c * Float64(z * b))); elseif (t <= -5.5e-84) tmp = Float64(a * Float64(Float64(b * i) - Float64(x * t))); elseif (t <= -2.45e-183) tmp = t_3; elseif (t <= 1.08e-57) tmp = t_5; elseif (t <= 240.0) tmp = t_3; elseif (t <= 2.75e+112) tmp = t_5; else tmp = t_4; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = a * (x * t); t_2 = j * ((t * c) - (y * i)); t_3 = t_2 - t_1; t_4 = t * ((c * j) - (x * a)); t_5 = (x * (y * z)) + (b * ((a * i) - (z * c))); tmp = 0.0; if (t <= -2.05e+67) tmp = t_4; elseif (t <= -70000000.0) tmp = z * ((x * y) - (b * c)); elseif (t <= -5.1e-8) tmp = (i * (a * b)) - t_1; elseif (t <= -2.6e-48) tmp = t_2 - (c * (z * b)); elseif (t <= -5.5e-84) tmp = a * ((b * i) - (x * t)); elseif (t <= -2.45e-183) tmp = t_3; elseif (t <= 1.08e-57) tmp = t_5; elseif (t <= 240.0) tmp = t_3; elseif (t <= 2.75e+112) tmp = t_5; else tmp = t_4; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(a * N[(x * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(t$95$2 - t$95$1), $MachinePrecision]}, Block[{t$95$4 = N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -2.05e+67], t$95$4, If[LessEqual[t, -70000000.0], N[(z * N[(N[(x * y), $MachinePrecision] - N[(b * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -5.1e-8], N[(N[(i * N[(a * b), $MachinePrecision]), $MachinePrecision] - t$95$1), $MachinePrecision], If[LessEqual[t, -2.6e-48], N[(t$95$2 - N[(c * N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -5.5e-84], N[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -2.45e-183], t$95$3, If[LessEqual[t, 1.08e-57], t$95$5, If[LessEqual[t, 240.0], t$95$3, If[LessEqual[t, 2.75e+112], t$95$5, t$95$4]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(x \cdot t\right)\\
t_2 := j \cdot \left(t \cdot c - y \cdot i\right)\\
t_3 := t_2 - t_1\\
t_4 := t \cdot \left(c \cdot j - x \cdot a\right)\\
t_5 := x \cdot \left(y \cdot z\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\
\mathbf{if}\;t \leq -2.05 \cdot 10^{+67}:\\
\;\;\;\;t_4\\
\mathbf{elif}\;t \leq -70000000:\\
\;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\
\mathbf{elif}\;t \leq -5.1 \cdot 10^{-8}:\\
\;\;\;\;i \cdot \left(a \cdot b\right) - t_1\\
\mathbf{elif}\;t \leq -2.6 \cdot 10^{-48}:\\
\;\;\;\;t_2 - c \cdot \left(z \cdot b\right)\\
\mathbf{elif}\;t \leq -5.5 \cdot 10^{-84}:\\
\;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\
\mathbf{elif}\;t \leq -2.45 \cdot 10^{-183}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;t \leq 1.08 \cdot 10^{-57}:\\
\;\;\;\;t_5\\
\mathbf{elif}\;t \leq 240:\\
\;\;\;\;t_3\\
\mathbf{elif}\;t \leq 2.75 \cdot 10^{+112}:\\
\;\;\;\;t_5\\
\mathbf{else}:\\
\;\;\;\;t_4\\
\end{array}
\end{array}
if t < -2.0499999999999999e67 or 2.75000000000000013e112 < t Initial program 58.4%
cancel-sign-sub58.4%
cancel-sign-sub-inv58.4%
*-commutative58.4%
*-commutative58.4%
remove-double-neg58.4%
*-commutative58.4%
*-commutative58.4%
Simplified58.4%
Taylor expanded in t around inf 70.2%
*-commutative70.2%
mul-1-neg70.2%
unsub-neg70.2%
Simplified70.2%
if -2.0499999999999999e67 < t < -7e7Initial program 66.9%
cancel-sign-sub66.9%
cancel-sign-sub-inv66.9%
*-commutative66.9%
*-commutative66.9%
remove-double-neg66.9%
*-commutative66.9%
*-commutative66.9%
Simplified66.9%
Taylor expanded in z around inf 63.2%
if -7e7 < t < -5.10000000000000001e-8Initial program 100.0%
cancel-sign-sub100.0%
cancel-sign-sub-inv100.0%
*-commutative100.0%
*-commutative100.0%
remove-double-neg100.0%
*-commutative100.0%
*-commutative100.0%
Simplified100.0%
Taylor expanded in a around inf 68.3%
associate-*r*68.3%
neg-mul-168.3%
cancel-sign-sub68.3%
+-commutative68.3%
mul-1-neg68.3%
unsub-neg68.3%
Simplified68.3%
Taylor expanded in b around 0 100.0%
if -5.10000000000000001e-8 < t < -2.59999999999999987e-48Initial program 72.6%
cancel-sign-sub72.6%
cancel-sign-sub-inv72.6%
*-commutative72.6%
*-commutative72.6%
remove-double-neg72.6%
*-commutative72.6%
*-commutative72.6%
Simplified72.6%
Taylor expanded in c around inf 87.3%
mul-1-neg87.3%
Simplified87.3%
if -2.59999999999999987e-48 < t < -5.50000000000000019e-84Initial program 69.8%
cancel-sign-sub69.8%
cancel-sign-sub-inv69.8%
*-commutative69.8%
*-commutative69.8%
remove-double-neg69.8%
*-commutative69.8%
*-commutative69.8%
Simplified69.8%
Taylor expanded in a around inf 80.1%
associate-*r*80.1%
neg-mul-180.1%
cancel-sign-sub80.1%
+-commutative80.1%
mul-1-neg80.1%
unsub-neg80.1%
Simplified80.1%
if -5.50000000000000019e-84 < t < -2.45e-183 or 1.08e-57 < t < 240Initial program 78.4%
cancel-sign-sub78.4%
cancel-sign-sub-inv78.4%
*-commutative78.4%
*-commutative78.4%
remove-double-neg78.4%
*-commutative78.4%
*-commutative78.4%
Simplified78.4%
Taylor expanded in t around inf 68.2%
mul-1-neg68.2%
*-commutative68.2%
distribute-rgt-neg-in68.2%
Simplified68.2%
if -2.45e-183 < t < 1.08e-57 or 240 < t < 2.75000000000000013e112Initial program 77.9%
+-commutative77.9%
fma-def80.2%
*-commutative80.2%
*-commutative80.2%
*-commutative80.2%
*-commutative80.2%
Simplified80.2%
Taylor expanded in j around 0 73.7%
Taylor expanded in y around inf 71.7%
*-commutative71.7%
Simplified71.7%
Final simplification71.5%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (+ (* j (- (* t c) (* y i))) (* i (* a b))))
(t_2 (* z (- (* x y) (* b c))))
(t_3 (* t (- (* c j) (* x a))))
(t_4 (* b (- (* a i) (* z c)))))
(if (<= t -3.2e+66)
t_3
(if (<= t -2.4e-41)
t_2
(if (<= t -1.55e-183)
t_1
(if (<= t 7.5e-152)
t_4
(if (<= t 1.85e-89)
(* y (- (* x z) (* i j)))
(if (<= t 4.9e-55)
t_4
(if (<= t 6.5e+46) t_1 (if (<= t 2.25e+112) t_2 t_3))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = (j * ((t * c) - (y * i))) + (i * (a * b));
double t_2 = z * ((x * y) - (b * c));
double t_3 = t * ((c * j) - (x * a));
double t_4 = b * ((a * i) - (z * c));
double tmp;
if (t <= -3.2e+66) {
tmp = t_3;
} else if (t <= -2.4e-41) {
tmp = t_2;
} else if (t <= -1.55e-183) {
tmp = t_1;
} else if (t <= 7.5e-152) {
tmp = t_4;
} else if (t <= 1.85e-89) {
tmp = y * ((x * z) - (i * j));
} else if (t <= 4.9e-55) {
tmp = t_4;
} else if (t <= 6.5e+46) {
tmp = t_1;
} else if (t <= 2.25e+112) {
tmp = t_2;
} else {
tmp = t_3;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: tmp
t_1 = (j * ((t * c) - (y * i))) + (i * (a * b))
t_2 = z * ((x * y) - (b * c))
t_3 = t * ((c * j) - (x * a))
t_4 = b * ((a * i) - (z * c))
if (t <= (-3.2d+66)) then
tmp = t_3
else if (t <= (-2.4d-41)) then
tmp = t_2
else if (t <= (-1.55d-183)) then
tmp = t_1
else if (t <= 7.5d-152) then
tmp = t_4
else if (t <= 1.85d-89) then
tmp = y * ((x * z) - (i * j))
else if (t <= 4.9d-55) then
tmp = t_4
else if (t <= 6.5d+46) then
tmp = t_1
else if (t <= 2.25d+112) then
tmp = t_2
else
tmp = t_3
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = (j * ((t * c) - (y * i))) + (i * (a * b));
double t_2 = z * ((x * y) - (b * c));
double t_3 = t * ((c * j) - (x * a));
double t_4 = b * ((a * i) - (z * c));
double tmp;
if (t <= -3.2e+66) {
tmp = t_3;
} else if (t <= -2.4e-41) {
tmp = t_2;
} else if (t <= -1.55e-183) {
tmp = t_1;
} else if (t <= 7.5e-152) {
tmp = t_4;
} else if (t <= 1.85e-89) {
tmp = y * ((x * z) - (i * j));
} else if (t <= 4.9e-55) {
tmp = t_4;
} else if (t <= 6.5e+46) {
tmp = t_1;
} else if (t <= 2.25e+112) {
tmp = t_2;
} else {
tmp = t_3;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = (j * ((t * c) - (y * i))) + (i * (a * b)) t_2 = z * ((x * y) - (b * c)) t_3 = t * ((c * j) - (x * a)) t_4 = b * ((a * i) - (z * c)) tmp = 0 if t <= -3.2e+66: tmp = t_3 elif t <= -2.4e-41: tmp = t_2 elif t <= -1.55e-183: tmp = t_1 elif t <= 7.5e-152: tmp = t_4 elif t <= 1.85e-89: tmp = y * ((x * z) - (i * j)) elif t <= 4.9e-55: tmp = t_4 elif t <= 6.5e+46: tmp = t_1 elif t <= 2.25e+112: tmp = t_2 else: tmp = t_3 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(i * Float64(a * b))) t_2 = Float64(z * Float64(Float64(x * y) - Float64(b * c))) t_3 = Float64(t * Float64(Float64(c * j) - Float64(x * a))) t_4 = Float64(b * Float64(Float64(a * i) - Float64(z * c))) tmp = 0.0 if (t <= -3.2e+66) tmp = t_3; elseif (t <= -2.4e-41) tmp = t_2; elseif (t <= -1.55e-183) tmp = t_1; elseif (t <= 7.5e-152) tmp = t_4; elseif (t <= 1.85e-89) tmp = Float64(y * Float64(Float64(x * z) - Float64(i * j))); elseif (t <= 4.9e-55) tmp = t_4; elseif (t <= 6.5e+46) tmp = t_1; elseif (t <= 2.25e+112) tmp = t_2; else tmp = t_3; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = (j * ((t * c) - (y * i))) + (i * (a * b)); t_2 = z * ((x * y) - (b * c)); t_3 = t * ((c * j) - (x * a)); t_4 = b * ((a * i) - (z * c)); tmp = 0.0; if (t <= -3.2e+66) tmp = t_3; elseif (t <= -2.4e-41) tmp = t_2; elseif (t <= -1.55e-183) tmp = t_1; elseif (t <= 7.5e-152) tmp = t_4; elseif (t <= 1.85e-89) tmp = y * ((x * z) - (i * j)); elseif (t <= 4.9e-55) tmp = t_4; elseif (t <= 6.5e+46) tmp = t_1; elseif (t <= 2.25e+112) tmp = t_2; else tmp = t_3; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(i * N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(z * N[(N[(x * y), $MachinePrecision] - N[(b * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -3.2e+66], t$95$3, If[LessEqual[t, -2.4e-41], t$95$2, If[LessEqual[t, -1.55e-183], t$95$1, If[LessEqual[t, 7.5e-152], t$95$4, If[LessEqual[t, 1.85e-89], N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 4.9e-55], t$95$4, If[LessEqual[t, 6.5e+46], t$95$1, If[LessEqual[t, 2.25e+112], t$95$2, t$95$3]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(t \cdot c - y \cdot i\right) + i \cdot \left(a \cdot b\right)\\
t_2 := z \cdot \left(x \cdot y - b \cdot c\right)\\
t_3 := t \cdot \left(c \cdot j - x \cdot a\right)\\
t_4 := b \cdot \left(a \cdot i - z \cdot c\right)\\
\mathbf{if}\;t \leq -3.2 \cdot 10^{+66}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;t \leq -2.4 \cdot 10^{-41}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;t \leq -1.55 \cdot 10^{-183}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;t \leq 7.5 \cdot 10^{-152}:\\
\;\;\;\;t_4\\
\mathbf{elif}\;t \leq 1.85 \cdot 10^{-89}:\\
\;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\
\mathbf{elif}\;t \leq 4.9 \cdot 10^{-55}:\\
\;\;\;\;t_4\\
\mathbf{elif}\;t \leq 6.5 \cdot 10^{+46}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;t \leq 2.25 \cdot 10^{+112}:\\
\;\;\;\;t_2\\
\mathbf{else}:\\
\;\;\;\;t_3\\
\end{array}
\end{array}
if t < -3.2e66 or 2.24999999999999995e112 < t Initial program 58.4%
cancel-sign-sub58.4%
cancel-sign-sub-inv58.4%
*-commutative58.4%
*-commutative58.4%
remove-double-neg58.4%
*-commutative58.4%
*-commutative58.4%
Simplified58.4%
Taylor expanded in t around inf 70.2%
*-commutative70.2%
mul-1-neg70.2%
unsub-neg70.2%
Simplified70.2%
if -3.2e66 < t < -2.40000000000000022e-41 or 6.50000000000000008e46 < t < 2.24999999999999995e112Initial program 67.6%
cancel-sign-sub67.6%
cancel-sign-sub-inv67.6%
*-commutative67.6%
*-commutative67.6%
remove-double-neg67.6%
*-commutative67.6%
*-commutative67.6%
Simplified67.6%
Taylor expanded in z around inf 66.5%
if -2.40000000000000022e-41 < t < -1.55e-183 or 4.90000000000000035e-55 < t < 6.50000000000000008e46Initial program 78.3%
cancel-sign-sub78.3%
cancel-sign-sub-inv78.3%
*-commutative78.3%
*-commutative78.3%
remove-double-neg78.3%
*-commutative78.3%
*-commutative78.3%
Simplified78.3%
Taylor expanded in i around inf 63.7%
*-commutative63.7%
associate-*r*65.4%
Simplified65.4%
if -1.55e-183 < t < 7.5e-152 or 1.8499999999999999e-89 < t < 4.90000000000000035e-55Initial program 81.1%
cancel-sign-sub81.1%
cancel-sign-sub-inv81.1%
*-commutative81.1%
*-commutative81.1%
remove-double-neg81.1%
*-commutative81.1%
*-commutative81.1%
Simplified81.1%
Taylor expanded in b around inf 68.9%
if 7.5e-152 < t < 1.8499999999999999e-89Initial program 75.3%
cancel-sign-sub75.3%
cancel-sign-sub-inv75.3%
*-commutative75.3%
*-commutative75.3%
remove-double-neg75.3%
*-commutative75.3%
*-commutative75.3%
Simplified75.3%
Taylor expanded in y around inf 68.4%
+-commutative68.4%
mul-1-neg68.4%
unsub-neg68.4%
Simplified68.4%
Final simplification68.2%
(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)))))
(t_2 (* c (- (* t j) (* z b)))))
(if (<= c -6.6e+79)
t_2
(if (<= c -2.25e-277)
t_1
(if (<= c 5e-175)
(* i (- (* a b) (* y j)))
(if (<= c 2.5e+71) 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 * ((a * i) - (z * c)));
double t_2 = c * ((t * j) - (z * b));
double tmp;
if (c <= -6.6e+79) {
tmp = t_2;
} else if (c <= -2.25e-277) {
tmp = t_1;
} else if (c <= 5e-175) {
tmp = i * ((a * b) - (y * j));
} else if (c <= 2.5e+71) {
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 * ((a * i) - (z * c)))
t_2 = c * ((t * j) - (z * b))
if (c <= (-6.6d+79)) then
tmp = t_2
else if (c <= (-2.25d-277)) then
tmp = t_1
else if (c <= 5d-175) then
tmp = i * ((a * b) - (y * j))
else if (c <= 2.5d+71) 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 * ((a * i) - (z * c)));
double t_2 = c * ((t * j) - (z * b));
double tmp;
if (c <= -6.6e+79) {
tmp = t_2;
} else if (c <= -2.25e-277) {
tmp = t_1;
} else if (c <= 5e-175) {
tmp = i * ((a * b) - (y * j));
} else if (c <= 2.5e+71) {
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 * ((a * i) - (z * c))) t_2 = c * ((t * j) - (z * b)) tmp = 0 if c <= -6.6e+79: tmp = t_2 elif c <= -2.25e-277: tmp = t_1 elif c <= 5e-175: tmp = i * ((a * b) - (y * j)) elif c <= 2.5e+71: tmp = t_1 else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) + Float64(b * Float64(Float64(a * i) - Float64(z * c)))) t_2 = Float64(c * Float64(Float64(t * j) - Float64(z * b))) tmp = 0.0 if (c <= -6.6e+79) tmp = t_2; elseif (c <= -2.25e-277) tmp = t_1; elseif (c <= 5e-175) tmp = Float64(i * Float64(Float64(a * b) - Float64(y * j))); elseif (c <= 2.5e+71) 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 * ((a * i) - (z * c))); t_2 = c * ((t * j) - (z * b)); tmp = 0.0; if (c <= -6.6e+79) tmp = t_2; elseif (c <= -2.25e-277) tmp = t_1; elseif (c <= 5e-175) tmp = i * ((a * b) - (y * j)); elseif (c <= 2.5e+71) 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[(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]}, Block[{t$95$2 = N[(c * N[(N[(t * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -6.6e+79], t$95$2, If[LessEqual[c, -2.25e-277], t$95$1, If[LessEqual[c, 5e-175], N[(i * N[(N[(a * b), $MachinePrecision] - N[(y * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2.5e+71], t$95$1, t$95$2]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\
t_2 := c \cdot \left(t \cdot j - z \cdot b\right)\\
\mathbf{if}\;c \leq -6.6 \cdot 10^{+79}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;c \leq -2.25 \cdot 10^{-277}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;c \leq 5 \cdot 10^{-175}:\\
\;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\
\mathbf{elif}\;c \leq 2.5 \cdot 10^{+71}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;t_2\\
\end{array}
\end{array}
if c < -6.6000000000000003e79 or 2.49999999999999986e71 < c Initial program 59.3%
cancel-sign-sub59.3%
cancel-sign-sub-inv59.3%
*-commutative59.3%
*-commutative59.3%
remove-double-neg59.3%
*-commutative59.3%
*-commutative59.3%
Simplified59.3%
Taylor expanded in c around inf 69.3%
if -6.6000000000000003e79 < c < -2.24999999999999996e-277 or 5e-175 < c < 2.49999999999999986e71Initial program 77.2%
+-commutative77.2%
fma-def79.6%
*-commutative79.6%
*-commutative79.6%
*-commutative79.6%
*-commutative79.6%
Simplified79.6%
Taylor expanded in j around 0 72.3%
if -2.24999999999999996e-277 < c < 5e-175Initial program 78.1%
cancel-sign-sub78.1%
cancel-sign-sub-inv78.1%
*-commutative78.1%
*-commutative78.1%
remove-double-neg78.1%
*-commutative78.1%
*-commutative78.1%
Simplified78.1%
Taylor expanded in i around inf 69.4%
*-commutative69.4%
associate-*r*69.4%
neg-mul-169.4%
cancel-sign-sub69.4%
+-commutative69.4%
mul-1-neg69.4%
unsub-neg69.4%
*-commutative69.4%
Simplified69.4%
Final simplification70.7%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (+ (* j (- (* t c) (* y i))) (* i (* a b))))
(t_2 (* z (- (* x y) (* b c))))
(t_3 (* t (- (* c j) (* x a)))))
(if (<= t -5.8e+66)
t_3
(if (<= t -3.3e-41)
t_2
(if (<= t -6.6e-183)
t_1
(if (<= t 8.8e-57)
(+ (* x (* y z)) (* b (- (* a i) (* z c))))
(if (<= t 3.6e+47) t_1 (if (<= t 2.05e+113) t_2 t_3))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = (j * ((t * c) - (y * i))) + (i * (a * b));
double t_2 = z * ((x * y) - (b * c));
double t_3 = t * ((c * j) - (x * a));
double tmp;
if (t <= -5.8e+66) {
tmp = t_3;
} else if (t <= -3.3e-41) {
tmp = t_2;
} else if (t <= -6.6e-183) {
tmp = t_1;
} else if (t <= 8.8e-57) {
tmp = (x * (y * z)) + (b * ((a * i) - (z * c)));
} else if (t <= 3.6e+47) {
tmp = t_1;
} else if (t <= 2.05e+113) {
tmp = t_2;
} else {
tmp = t_3;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: tmp
t_1 = (j * ((t * c) - (y * i))) + (i * (a * b))
t_2 = z * ((x * y) - (b * c))
t_3 = t * ((c * j) - (x * a))
if (t <= (-5.8d+66)) then
tmp = t_3
else if (t <= (-3.3d-41)) then
tmp = t_2
else if (t <= (-6.6d-183)) then
tmp = t_1
else if (t <= 8.8d-57) then
tmp = (x * (y * z)) + (b * ((a * i) - (z * c)))
else if (t <= 3.6d+47) then
tmp = t_1
else if (t <= 2.05d+113) then
tmp = t_2
else
tmp = t_3
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = (j * ((t * c) - (y * i))) + (i * (a * b));
double t_2 = z * ((x * y) - (b * c));
double t_3 = t * ((c * j) - (x * a));
double tmp;
if (t <= -5.8e+66) {
tmp = t_3;
} else if (t <= -3.3e-41) {
tmp = t_2;
} else if (t <= -6.6e-183) {
tmp = t_1;
} else if (t <= 8.8e-57) {
tmp = (x * (y * z)) + (b * ((a * i) - (z * c)));
} else if (t <= 3.6e+47) {
tmp = t_1;
} else if (t <= 2.05e+113) {
tmp = t_2;
} else {
tmp = t_3;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = (j * ((t * c) - (y * i))) + (i * (a * b)) t_2 = z * ((x * y) - (b * c)) t_3 = t * ((c * j) - (x * a)) tmp = 0 if t <= -5.8e+66: tmp = t_3 elif t <= -3.3e-41: tmp = t_2 elif t <= -6.6e-183: tmp = t_1 elif t <= 8.8e-57: tmp = (x * (y * z)) + (b * ((a * i) - (z * c))) elif t <= 3.6e+47: tmp = t_1 elif t <= 2.05e+113: tmp = t_2 else: tmp = t_3 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(i * Float64(a * b))) t_2 = Float64(z * Float64(Float64(x * y) - Float64(b * c))) t_3 = Float64(t * Float64(Float64(c * j) - Float64(x * a))) tmp = 0.0 if (t <= -5.8e+66) tmp = t_3; elseif (t <= -3.3e-41) tmp = t_2; elseif (t <= -6.6e-183) tmp = t_1; elseif (t <= 8.8e-57) tmp = Float64(Float64(x * Float64(y * z)) + Float64(b * Float64(Float64(a * i) - Float64(z * c)))); elseif (t <= 3.6e+47) tmp = t_1; elseif (t <= 2.05e+113) tmp = t_2; else tmp = t_3; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = (j * ((t * c) - (y * i))) + (i * (a * b)); t_2 = z * ((x * y) - (b * c)); t_3 = t * ((c * j) - (x * a)); tmp = 0.0; if (t <= -5.8e+66) tmp = t_3; elseif (t <= -3.3e-41) tmp = t_2; elseif (t <= -6.6e-183) tmp = t_1; elseif (t <= 8.8e-57) tmp = (x * (y * z)) + (b * ((a * i) - (z * c))); elseif (t <= 3.6e+47) tmp = t_1; elseif (t <= 2.05e+113) tmp = t_2; else tmp = t_3; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(i * N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(z * N[(N[(x * y), $MachinePrecision] - N[(b * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -5.8e+66], t$95$3, If[LessEqual[t, -3.3e-41], t$95$2, If[LessEqual[t, -6.6e-183], t$95$1, If[LessEqual[t, 8.8e-57], N[(N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 3.6e+47], t$95$1, If[LessEqual[t, 2.05e+113], t$95$2, t$95$3]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(t \cdot c - y \cdot i\right) + i \cdot \left(a \cdot b\right)\\
t_2 := z \cdot \left(x \cdot y - b \cdot c\right)\\
t_3 := t \cdot \left(c \cdot j - x \cdot a\right)\\
\mathbf{if}\;t \leq -5.8 \cdot 10^{+66}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;t \leq -3.3 \cdot 10^{-41}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;t \leq -6.6 \cdot 10^{-183}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;t \leq 8.8 \cdot 10^{-57}:\\
\;\;\;\;x \cdot \left(y \cdot z\right) + b \cdot \left(a \cdot i - z \cdot c\right)\\
\mathbf{elif}\;t \leq 3.6 \cdot 10^{+47}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;t \leq 2.05 \cdot 10^{+113}:\\
\;\;\;\;t_2\\
\mathbf{else}:\\
\;\;\;\;t_3\\
\end{array}
\end{array}
if t < -5.79999999999999972e66 or 2.04999999999999996e113 < t Initial program 58.4%
cancel-sign-sub58.4%
cancel-sign-sub-inv58.4%
*-commutative58.4%
*-commutative58.4%
remove-double-neg58.4%
*-commutative58.4%
*-commutative58.4%
Simplified58.4%
Taylor expanded in t around inf 70.2%
*-commutative70.2%
mul-1-neg70.2%
unsub-neg70.2%
Simplified70.2%
if -5.79999999999999972e66 < t < -3.30000000000000024e-41 or 3.60000000000000008e47 < t < 2.04999999999999996e113Initial program 67.6%
cancel-sign-sub67.6%
cancel-sign-sub-inv67.6%
*-commutative67.6%
*-commutative67.6%
remove-double-neg67.6%
*-commutative67.6%
*-commutative67.6%
Simplified67.6%
Taylor expanded in z around inf 66.5%
if -3.30000000000000024e-41 < t < -6.5999999999999999e-183 or 8.79999999999999994e-57 < t < 3.60000000000000008e47Initial program 78.3%
cancel-sign-sub78.3%
cancel-sign-sub-inv78.3%
*-commutative78.3%
*-commutative78.3%
remove-double-neg78.3%
*-commutative78.3%
*-commutative78.3%
Simplified78.3%
Taylor expanded in i around inf 63.7%
*-commutative63.7%
associate-*r*65.4%
Simplified65.4%
if -6.5999999999999999e-183 < t < 8.79999999999999994e-57Initial program 80.0%
+-commutative80.0%
fma-def81.6%
*-commutative81.6%
*-commutative81.6%
*-commutative81.6%
*-commutative81.6%
Simplified81.6%
Taylor expanded in j around 0 72.8%
Taylor expanded in y around inf 70.1%
*-commutative70.1%
Simplified70.1%
Final simplification68.5%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* (* b c) (- z))) (t_2 (* x (* t (- a)))) (t_3 (* t (* c j))))
(if (<= c -5.5e+225)
t_3
(if (<= c -4.5e+75)
t_1
(if (<= c -3.5e-277)
t_2
(if (<= c 4.6e-215)
(* i (* y (- j)))
(if (<= c 1.55e-88)
(* y (* x z))
(if (<= c 1.75e-31)
(* a (* b i))
(if (<= c 4.4e+31)
t_2
(if (or (<= c 9e+122) (not (<= c 8e+240))) t_3 t_1))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = (b * c) * -z;
double t_2 = x * (t * -a);
double t_3 = t * (c * j);
double tmp;
if (c <= -5.5e+225) {
tmp = t_3;
} else if (c <= -4.5e+75) {
tmp = t_1;
} else if (c <= -3.5e-277) {
tmp = t_2;
} else if (c <= 4.6e-215) {
tmp = i * (y * -j);
} else if (c <= 1.55e-88) {
tmp = y * (x * z);
} else if (c <= 1.75e-31) {
tmp = a * (b * i);
} else if (c <= 4.4e+31) {
tmp = t_2;
} else if ((c <= 9e+122) || !(c <= 8e+240)) {
tmp = t_3;
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: tmp
t_1 = (b * c) * -z
t_2 = x * (t * -a)
t_3 = t * (c * j)
if (c <= (-5.5d+225)) then
tmp = t_3
else if (c <= (-4.5d+75)) then
tmp = t_1
else if (c <= (-3.5d-277)) then
tmp = t_2
else if (c <= 4.6d-215) then
tmp = i * (y * -j)
else if (c <= 1.55d-88) then
tmp = y * (x * z)
else if (c <= 1.75d-31) then
tmp = a * (b * i)
else if (c <= 4.4d+31) then
tmp = t_2
else if ((c <= 9d+122) .or. (.not. (c <= 8d+240))) then
tmp = t_3
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = (b * c) * -z;
double t_2 = x * (t * -a);
double t_3 = t * (c * j);
double tmp;
if (c <= -5.5e+225) {
tmp = t_3;
} else if (c <= -4.5e+75) {
tmp = t_1;
} else if (c <= -3.5e-277) {
tmp = t_2;
} else if (c <= 4.6e-215) {
tmp = i * (y * -j);
} else if (c <= 1.55e-88) {
tmp = y * (x * z);
} else if (c <= 1.75e-31) {
tmp = a * (b * i);
} else if (c <= 4.4e+31) {
tmp = t_2;
} else if ((c <= 9e+122) || !(c <= 8e+240)) {
tmp = t_3;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = (b * c) * -z t_2 = x * (t * -a) t_3 = t * (c * j) tmp = 0 if c <= -5.5e+225: tmp = t_3 elif c <= -4.5e+75: tmp = t_1 elif c <= -3.5e-277: tmp = t_2 elif c <= 4.6e-215: tmp = i * (y * -j) elif c <= 1.55e-88: tmp = y * (x * z) elif c <= 1.75e-31: tmp = a * (b * i) elif c <= 4.4e+31: tmp = t_2 elif (c <= 9e+122) or not (c <= 8e+240): tmp = t_3 else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(Float64(b * c) * Float64(-z)) t_2 = Float64(x * Float64(t * Float64(-a))) t_3 = Float64(t * Float64(c * j)) tmp = 0.0 if (c <= -5.5e+225) tmp = t_3; elseif (c <= -4.5e+75) tmp = t_1; elseif (c <= -3.5e-277) tmp = t_2; elseif (c <= 4.6e-215) tmp = Float64(i * Float64(y * Float64(-j))); elseif (c <= 1.55e-88) tmp = Float64(y * Float64(x * z)); elseif (c <= 1.75e-31) tmp = Float64(a * Float64(b * i)); elseif (c <= 4.4e+31) tmp = t_2; elseif ((c <= 9e+122) || !(c <= 8e+240)) tmp = t_3; else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = (b * c) * -z; t_2 = x * (t * -a); t_3 = t * (c * j); tmp = 0.0; if (c <= -5.5e+225) tmp = t_3; elseif (c <= -4.5e+75) tmp = t_1; elseif (c <= -3.5e-277) tmp = t_2; elseif (c <= 4.6e-215) tmp = i * (y * -j); elseif (c <= 1.55e-88) tmp = y * (x * z); elseif (c <= 1.75e-31) tmp = a * (b * i); elseif (c <= 4.4e+31) tmp = t_2; elseif ((c <= 9e+122) || ~((c <= 8e+240))) tmp = t_3; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[(b * c), $MachinePrecision] * (-z)), $MachinePrecision]}, Block[{t$95$2 = N[(x * N[(t * (-a)), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(t * N[(c * j), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -5.5e+225], t$95$3, If[LessEqual[c, -4.5e+75], t$95$1, If[LessEqual[c, -3.5e-277], t$95$2, If[LessEqual[c, 4.6e-215], N[(i * N[(y * (-j)), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.55e-88], N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.75e-31], N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 4.4e+31], t$95$2, If[Or[LessEqual[c, 9e+122], N[Not[LessEqual[c, 8e+240]], $MachinePrecision]], t$95$3, t$95$1]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(b \cdot c\right) \cdot \left(-z\right)\\
t_2 := x \cdot \left(t \cdot \left(-a\right)\right)\\
t_3 := t \cdot \left(c \cdot j\right)\\
\mathbf{if}\;c \leq -5.5 \cdot 10^{+225}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;c \leq -4.5 \cdot 10^{+75}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;c \leq -3.5 \cdot 10^{-277}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;c \leq 4.6 \cdot 10^{-215}:\\
\;\;\;\;i \cdot \left(y \cdot \left(-j\right)\right)\\
\mathbf{elif}\;c \leq 1.55 \cdot 10^{-88}:\\
\;\;\;\;y \cdot \left(x \cdot z\right)\\
\mathbf{elif}\;c \leq 1.75 \cdot 10^{-31}:\\
\;\;\;\;a \cdot \left(b \cdot i\right)\\
\mathbf{elif}\;c \leq 4.4 \cdot 10^{+31}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;c \leq 9 \cdot 10^{+122} \lor \neg \left(c \leq 8 \cdot 10^{+240}\right):\\
\;\;\;\;t_3\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if c < -5.49999999999999985e225 or 4.4000000000000002e31 < c < 8.99999999999999995e122 or 8.00000000000000011e240 < c Initial program 55.3%
cancel-sign-sub55.3%
cancel-sign-sub-inv55.3%
*-commutative55.3%
*-commutative55.3%
remove-double-neg55.3%
*-commutative55.3%
*-commutative55.3%
Simplified55.3%
Taylor expanded in t around inf 51.1%
mul-1-neg51.1%
*-commutative51.1%
distribute-rgt-neg-in51.1%
Simplified51.1%
Taylor expanded in c around inf 57.4%
associate-*r*52.9%
*-commutative52.9%
associate-*l*63.5%
Simplified63.5%
if -5.49999999999999985e225 < c < -4.5000000000000004e75 or 8.99999999999999995e122 < c < 8.00000000000000011e240Initial program 60.9%
cancel-sign-sub60.9%
cancel-sign-sub-inv60.9%
*-commutative60.9%
*-commutative60.9%
remove-double-neg60.9%
*-commutative60.9%
*-commutative60.9%
Simplified60.9%
Taylor expanded in c around inf 60.7%
Taylor expanded in t around 0 41.7%
mul-1-neg41.7%
*-commutative41.7%
associate-*r*45.2%
distribute-lft-neg-in45.2%
*-commutative45.2%
Simplified45.2%
if -4.5000000000000004e75 < c < -3.49999999999999983e-277 or 1.74999999999999993e-31 < c < 4.4000000000000002e31Initial program 81.5%
cancel-sign-sub81.5%
cancel-sign-sub-inv81.5%
*-commutative81.5%
*-commutative81.5%
remove-double-neg81.5%
*-commutative81.5%
*-commutative81.5%
Simplified81.5%
Taylor expanded in x around inf 55.6%
Taylor expanded in y around 0 41.2%
neg-mul-141.2%
distribute-rgt-neg-in41.2%
Simplified41.2%
if -3.49999999999999983e-277 < c < 4.5999999999999998e-215Initial program 78.0%
cancel-sign-sub78.0%
cancel-sign-sub-inv78.0%
*-commutative78.0%
*-commutative78.0%
remove-double-neg78.0%
*-commutative78.0%
*-commutative78.0%
Simplified78.0%
Taylor expanded in y around inf 56.5%
+-commutative56.5%
mul-1-neg56.5%
unsub-neg56.5%
Simplified56.5%
Taylor expanded in z around 0 51.0%
mul-1-neg51.0%
associate-*r*45.7%
*-commutative45.7%
associate-*r*51.0%
distribute-lft-neg-in51.0%
Simplified51.0%
if 4.5999999999999998e-215 < c < 1.5499999999999999e-88Initial program 71.3%
+-commutative71.3%
fma-def74.5%
*-commutative74.5%
*-commutative74.5%
*-commutative74.5%
*-commutative74.5%
Simplified74.5%
Taylor expanded in j around 0 69.9%
Taylor expanded in y around inf 43.4%
if 1.5499999999999999e-88 < c < 1.74999999999999993e-31Initial program 87.9%
+-commutative87.9%
fma-def87.9%
*-commutative87.9%
*-commutative87.9%
*-commutative87.9%
*-commutative87.9%
Simplified87.9%
Taylor expanded in j around 0 57.4%
Taylor expanded in i around inf 40.4%
Final simplification48.3%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* b (- (* a i) (* z c)))) (t_2 (* x (- (* y z) (* t a)))))
(if (<= x -1.35e+157)
t_2
(if (<= x -5.8e-66)
(* t (- (* c j) (* x a)))
(if (<= x -1.2e-126)
t_1
(if (<= x -4.6e-132)
(* y (- (* x z) (* i j)))
(if (<= x -7.1e-209)
(+ (* i (* a b)) (* j (* t c)))
(if (<= x -9.5e-243)
(* c (- (* t j) (* z b)))
(if (<= x 29000.0) t_1 t_2)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = b * ((a * i) - (z * c));
double t_2 = x * ((y * z) - (t * a));
double tmp;
if (x <= -1.35e+157) {
tmp = t_2;
} else if (x <= -5.8e-66) {
tmp = t * ((c * j) - (x * a));
} else if (x <= -1.2e-126) {
tmp = t_1;
} else if (x <= -4.6e-132) {
tmp = y * ((x * z) - (i * j));
} else if (x <= -7.1e-209) {
tmp = (i * (a * b)) + (j * (t * c));
} else if (x <= -9.5e-243) {
tmp = c * ((t * j) - (z * b));
} else if (x <= 29000.0) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = b * ((a * i) - (z * c))
t_2 = x * ((y * z) - (t * a))
if (x <= (-1.35d+157)) then
tmp = t_2
else if (x <= (-5.8d-66)) then
tmp = t * ((c * j) - (x * a))
else if (x <= (-1.2d-126)) then
tmp = t_1
else if (x <= (-4.6d-132)) then
tmp = y * ((x * z) - (i * j))
else if (x <= (-7.1d-209)) then
tmp = (i * (a * b)) + (j * (t * c))
else if (x <= (-9.5d-243)) then
tmp = c * ((t * j) - (z * b))
else if (x <= 29000.0d0) then
tmp = t_1
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = b * ((a * i) - (z * c));
double t_2 = x * ((y * z) - (t * a));
double tmp;
if (x <= -1.35e+157) {
tmp = t_2;
} else if (x <= -5.8e-66) {
tmp = t * ((c * j) - (x * a));
} else if (x <= -1.2e-126) {
tmp = t_1;
} else if (x <= -4.6e-132) {
tmp = y * ((x * z) - (i * j));
} else if (x <= -7.1e-209) {
tmp = (i * (a * b)) + (j * (t * c));
} else if (x <= -9.5e-243) {
tmp = c * ((t * j) - (z * b));
} else if (x <= 29000.0) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = b * ((a * i) - (z * c)) t_2 = x * ((y * z) - (t * a)) tmp = 0 if x <= -1.35e+157: tmp = t_2 elif x <= -5.8e-66: tmp = t * ((c * j) - (x * a)) elif x <= -1.2e-126: tmp = t_1 elif x <= -4.6e-132: tmp = y * ((x * z) - (i * j)) elif x <= -7.1e-209: tmp = (i * (a * b)) + (j * (t * c)) elif x <= -9.5e-243: tmp = c * ((t * j) - (z * b)) elif x <= 29000.0: tmp = t_1 else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(b * Float64(Float64(a * i) - Float64(z * c))) t_2 = Float64(x * Float64(Float64(y * z) - Float64(t * a))) tmp = 0.0 if (x <= -1.35e+157) tmp = t_2; elseif (x <= -5.8e-66) tmp = Float64(t * Float64(Float64(c * j) - Float64(x * a))); elseif (x <= -1.2e-126) tmp = t_1; elseif (x <= -4.6e-132) tmp = Float64(y * Float64(Float64(x * z) - Float64(i * j))); elseif (x <= -7.1e-209) tmp = Float64(Float64(i * Float64(a * b)) + Float64(j * Float64(t * c))); elseif (x <= -9.5e-243) tmp = Float64(c * Float64(Float64(t * j) - Float64(z * b))); elseif (x <= 29000.0) tmp = t_1; else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = b * ((a * i) - (z * c)); t_2 = x * ((y * z) - (t * a)); tmp = 0.0; if (x <= -1.35e+157) tmp = t_2; elseif (x <= -5.8e-66) tmp = t * ((c * j) - (x * a)); elseif (x <= -1.2e-126) tmp = t_1; elseif (x <= -4.6e-132) tmp = y * ((x * z) - (i * j)); elseif (x <= -7.1e-209) tmp = (i * (a * b)) + (j * (t * c)); elseif (x <= -9.5e-243) tmp = c * ((t * j) - (z * b)); elseif (x <= 29000.0) tmp = t_1; else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -1.35e+157], t$95$2, If[LessEqual[x, -5.8e-66], N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -1.2e-126], t$95$1, If[LessEqual[x, -4.6e-132], N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -7.1e-209], N[(N[(i * N[(a * b), $MachinePrecision]), $MachinePrecision] + N[(j * N[(t * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -9.5e-243], N[(c * N[(N[(t * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 29000.0], t$95$1, t$95$2]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\
t_2 := x \cdot \left(y \cdot z - t \cdot a\right)\\
\mathbf{if}\;x \leq -1.35 \cdot 10^{+157}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;x \leq -5.8 \cdot 10^{-66}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\
\mathbf{elif}\;x \leq -1.2 \cdot 10^{-126}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x \leq -4.6 \cdot 10^{-132}:\\
\;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\
\mathbf{elif}\;x \leq -7.1 \cdot 10^{-209}:\\
\;\;\;\;i \cdot \left(a \cdot b\right) + j \cdot \left(t \cdot c\right)\\
\mathbf{elif}\;x \leq -9.5 \cdot 10^{-243}:\\
\;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\
\mathbf{elif}\;x \leq 29000:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;t_2\\
\end{array}
\end{array}
if x < -1.35e157 or 29000 < x Initial program 63.7%
cancel-sign-sub63.7%
cancel-sign-sub-inv63.7%
*-commutative63.7%
*-commutative63.7%
remove-double-neg63.7%
*-commutative63.7%
*-commutative63.7%
Simplified63.7%
Taylor expanded in x around inf 63.5%
if -1.35e157 < x < -5.80000000000000023e-66Initial program 68.6%
cancel-sign-sub68.6%
cancel-sign-sub-inv68.6%
*-commutative68.6%
*-commutative68.6%
remove-double-neg68.6%
*-commutative68.6%
*-commutative68.6%
Simplified68.6%
Taylor expanded in t around inf 67.1%
*-commutative67.1%
mul-1-neg67.1%
unsub-neg67.1%
Simplified67.1%
if -5.80000000000000023e-66 < x < -1.20000000000000003e-126 or -9.5000000000000005e-243 < x < 29000Initial program 80.0%
cancel-sign-sub80.0%
cancel-sign-sub-inv80.0%
*-commutative80.0%
*-commutative80.0%
remove-double-neg80.0%
*-commutative80.0%
*-commutative80.0%
Simplified80.0%
Taylor expanded in b around inf 66.0%
if -1.20000000000000003e-126 < x < -4.60000000000000006e-132Initial program 61.9%
cancel-sign-sub61.9%
cancel-sign-sub-inv61.9%
*-commutative61.9%
*-commutative61.9%
remove-double-neg61.9%
*-commutative61.9%
*-commutative61.9%
Simplified61.9%
Taylor expanded in y around inf 60.3%
+-commutative60.3%
mul-1-neg60.3%
unsub-neg60.3%
Simplified60.3%
if -4.60000000000000006e-132 < x < -7.1000000000000002e-209Initial program 65.8%
cancel-sign-sub65.8%
cancel-sign-sub-inv65.8%
*-commutative65.8%
*-commutative65.8%
remove-double-neg65.8%
*-commutative65.8%
*-commutative65.8%
Simplified65.8%
Taylor expanded in i around inf 70.7%
*-commutative70.7%
associate-*r*70.8%
Simplified70.8%
Taylor expanded in t around inf 71.0%
if -7.1000000000000002e-209 < x < -9.5000000000000005e-243Initial program 50.4%
cancel-sign-sub50.4%
cancel-sign-sub-inv50.4%
*-commutative50.4%
*-commutative50.4%
remove-double-neg50.4%
*-commutative50.4%
*-commutative50.4%
Simplified50.4%
Taylor expanded in c around inf 65.5%
Final simplification65.5%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* c (- (* t j) (* z b)))) (t_2 (* a (- (* b i) (* x t)))))
(if (<= a -1.25e+86)
t_2
(if (<= a -7e-141)
t_1
(if (<= a -2.4e-204)
(* y (* x z))
(if (or (<= a 8e-103) (and (not (<= a 7e+58)) (<= a 5.8e+144)))
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 = a * ((b * i) - (x * t));
double tmp;
if (a <= -1.25e+86) {
tmp = t_2;
} else if (a <= -7e-141) {
tmp = t_1;
} else if (a <= -2.4e-204) {
tmp = y * (x * z);
} else if ((a <= 8e-103) || (!(a <= 7e+58) && (a <= 5.8e+144))) {
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 = a * ((b * i) - (x * t))
if (a <= (-1.25d+86)) then
tmp = t_2
else if (a <= (-7d-141)) then
tmp = t_1
else if (a <= (-2.4d-204)) then
tmp = y * (x * z)
else if ((a <= 8d-103) .or. (.not. (a <= 7d+58)) .and. (a <= 5.8d+144)) 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 = a * ((b * i) - (x * t));
double tmp;
if (a <= -1.25e+86) {
tmp = t_2;
} else if (a <= -7e-141) {
tmp = t_1;
} else if (a <= -2.4e-204) {
tmp = y * (x * z);
} else if ((a <= 8e-103) || (!(a <= 7e+58) && (a <= 5.8e+144))) {
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 = a * ((b * i) - (x * t)) tmp = 0 if a <= -1.25e+86: tmp = t_2 elif a <= -7e-141: tmp = t_1 elif a <= -2.4e-204: tmp = y * (x * z) elif (a <= 8e-103) or (not (a <= 7e+58) and (a <= 5.8e+144)): 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(a * Float64(Float64(b * i) - Float64(x * t))) tmp = 0.0 if (a <= -1.25e+86) tmp = t_2; elseif (a <= -7e-141) tmp = t_1; elseif (a <= -2.4e-204) tmp = Float64(y * Float64(x * z)); elseif ((a <= 8e-103) || (!(a <= 7e+58) && (a <= 5.8e+144))) 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 = a * ((b * i) - (x * t)); tmp = 0.0; if (a <= -1.25e+86) tmp = t_2; elseif (a <= -7e-141) tmp = t_1; elseif (a <= -2.4e-204) tmp = y * (x * z); elseif ((a <= 8e-103) || (~((a <= 7e+58)) && (a <= 5.8e+144))) 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[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -1.25e+86], t$95$2, If[LessEqual[a, -7e-141], t$95$1, If[LessEqual[a, -2.4e-204], N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[a, 8e-103], And[N[Not[LessEqual[a, 7e+58]], $MachinePrecision], LessEqual[a, 5.8e+144]]], 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 := a \cdot \left(b \cdot i - x \cdot t\right)\\
\mathbf{if}\;a \leq -1.25 \cdot 10^{+86}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;a \leq -7 \cdot 10^{-141}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;a \leq -2.4 \cdot 10^{-204}:\\
\;\;\;\;y \cdot \left(x \cdot z\right)\\
\mathbf{elif}\;a \leq 8 \cdot 10^{-103} \lor \neg \left(a \leq 7 \cdot 10^{+58}\right) \land a \leq 5.8 \cdot 10^{+144}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;t_2\\
\end{array}
\end{array}
if a < -1.2499999999999999e86 or 7.99999999999999966e-103 < a < 6.9999999999999995e58 or 5.79999999999999996e144 < a Initial program 66.3%
cancel-sign-sub66.3%
cancel-sign-sub-inv66.3%
*-commutative66.3%
*-commutative66.3%
remove-double-neg66.3%
*-commutative66.3%
*-commutative66.3%
Simplified66.3%
Taylor expanded in a around inf 66.4%
associate-*r*66.4%
neg-mul-166.4%
cancel-sign-sub66.4%
+-commutative66.4%
mul-1-neg66.4%
unsub-neg66.4%
Simplified66.4%
if -1.2499999999999999e86 < a < -7.0000000000000006e-141 or -2.4e-204 < a < 7.99999999999999966e-103 or 6.9999999999999995e58 < a < 5.79999999999999996e144Initial program 75.7%
cancel-sign-sub75.7%
cancel-sign-sub-inv75.7%
*-commutative75.7%
*-commutative75.7%
remove-double-neg75.7%
*-commutative75.7%
*-commutative75.7%
Simplified75.7%
Taylor expanded in c around inf 55.3%
if -7.0000000000000006e-141 < a < -2.4e-204Initial program 33.9%
+-commutative33.9%
fma-def56.2%
*-commutative56.2%
*-commutative56.2%
*-commutative56.2%
*-commutative56.2%
Simplified56.2%
Taylor expanded in j around 0 67.3%
Taylor expanded in y around inf 89.4%
Final simplification61.8%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* a (- (* x t)))))
(if (<= z -8.8e+85)
(* (* b c) (- z))
(if (<= z -2.5e-37)
t_1
(if (<= z -7.8e-115)
(* j (* t c))
(if (<= z -8.8e-223)
t_1
(if (<= z 5.6e-263)
(* i (* y (- j)))
(if (<= z 58000000.0)
(* c (* t j))
(if (<= z 1.8e+187) (* 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 t_1 = a * -(x * t);
double tmp;
if (z <= -8.8e+85) {
tmp = (b * c) * -z;
} else if (z <= -2.5e-37) {
tmp = t_1;
} else if (z <= -7.8e-115) {
tmp = j * (t * c);
} else if (z <= -8.8e-223) {
tmp = t_1;
} else if (z <= 5.6e-263) {
tmp = i * (y * -j);
} else if (z <= 58000000.0) {
tmp = c * (t * j);
} else if (z <= 1.8e+187) {
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) :: t_1
real(8) :: tmp
t_1 = a * -(x * t)
if (z <= (-8.8d+85)) then
tmp = (b * c) * -z
else if (z <= (-2.5d-37)) then
tmp = t_1
else if (z <= (-7.8d-115)) then
tmp = j * (t * c)
else if (z <= (-8.8d-223)) then
tmp = t_1
else if (z <= 5.6d-263) then
tmp = i * (y * -j)
else if (z <= 58000000.0d0) then
tmp = c * (t * j)
else if (z <= 1.8d+187) 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 t_1 = a * -(x * t);
double tmp;
if (z <= -8.8e+85) {
tmp = (b * c) * -z;
} else if (z <= -2.5e-37) {
tmp = t_1;
} else if (z <= -7.8e-115) {
tmp = j * (t * c);
} else if (z <= -8.8e-223) {
tmp = t_1;
} else if (z <= 5.6e-263) {
tmp = i * (y * -j);
} else if (z <= 58000000.0) {
tmp = c * (t * j);
} else if (z <= 1.8e+187) {
tmp = x * (y * z);
} else {
tmp = c * -(z * b);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = a * -(x * t) tmp = 0 if z <= -8.8e+85: tmp = (b * c) * -z elif z <= -2.5e-37: tmp = t_1 elif z <= -7.8e-115: tmp = j * (t * c) elif z <= -8.8e-223: tmp = t_1 elif z <= 5.6e-263: tmp = i * (y * -j) elif z <= 58000000.0: tmp = c * (t * j) elif z <= 1.8e+187: tmp = x * (y * z) else: tmp = c * -(z * b) return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(a * Float64(-Float64(x * t))) tmp = 0.0 if (z <= -8.8e+85) tmp = Float64(Float64(b * c) * Float64(-z)); elseif (z <= -2.5e-37) tmp = t_1; elseif (z <= -7.8e-115) tmp = Float64(j * Float64(t * c)); elseif (z <= -8.8e-223) tmp = t_1; elseif (z <= 5.6e-263) tmp = Float64(i * Float64(y * Float64(-j))); elseif (z <= 58000000.0) tmp = Float64(c * Float64(t * j)); elseif (z <= 1.8e+187) tmp = Float64(x * Float64(y * z)); else tmp = Float64(c * Float64(-Float64(z * b))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = a * -(x * t); tmp = 0.0; if (z <= -8.8e+85) tmp = (b * c) * -z; elseif (z <= -2.5e-37) tmp = t_1; elseif (z <= -7.8e-115) tmp = j * (t * c); elseif (z <= -8.8e-223) tmp = t_1; elseif (z <= 5.6e-263) tmp = i * (y * -j); elseif (z <= 58000000.0) tmp = c * (t * j); elseif (z <= 1.8e+187) tmp = x * (y * z); else tmp = c * -(z * b); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(a * (-N[(x * t), $MachinePrecision])), $MachinePrecision]}, If[LessEqual[z, -8.8e+85], N[(N[(b * c), $MachinePrecision] * (-z)), $MachinePrecision], If[LessEqual[z, -2.5e-37], t$95$1, If[LessEqual[z, -7.8e-115], N[(j * N[(t * c), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -8.8e-223], t$95$1, If[LessEqual[z, 5.6e-263], N[(i * N[(y * (-j)), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 58000000.0], N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.8e+187], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], N[(c * (-N[(z * b), $MachinePrecision])), $MachinePrecision]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(-x \cdot t\right)\\
\mathbf{if}\;z \leq -8.8 \cdot 10^{+85}:\\
\;\;\;\;\left(b \cdot c\right) \cdot \left(-z\right)\\
\mathbf{elif}\;z \leq -2.5 \cdot 10^{-37}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;z \leq -7.8 \cdot 10^{-115}:\\
\;\;\;\;j \cdot \left(t \cdot c\right)\\
\mathbf{elif}\;z \leq -8.8 \cdot 10^{-223}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;z \leq 5.6 \cdot 10^{-263}:\\
\;\;\;\;i \cdot \left(y \cdot \left(-j\right)\right)\\
\mathbf{elif}\;z \leq 58000000:\\
\;\;\;\;c \cdot \left(t \cdot j\right)\\
\mathbf{elif}\;z \leq 1.8 \cdot 10^{+187}:\\
\;\;\;\;x \cdot \left(y \cdot z\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(-z \cdot b\right)\\
\end{array}
\end{array}
if z < -8.8000000000000007e85Initial program 58.3%
cancel-sign-sub58.3%
cancel-sign-sub-inv58.3%
*-commutative58.3%
*-commutative58.3%
remove-double-neg58.3%
*-commutative58.3%
*-commutative58.3%
Simplified58.3%
Taylor expanded in c around inf 50.8%
Taylor expanded in t around 0 48.2%
mul-1-neg48.2%
*-commutative48.2%
associate-*r*48.3%
distribute-lft-neg-in48.3%
*-commutative48.3%
Simplified48.3%
if -8.8000000000000007e85 < z < -2.4999999999999999e-37 or -7.7999999999999997e-115 < z < -8.80000000000000036e-223Initial program 73.9%
+-commutative73.9%
fma-def73.9%
*-commutative73.9%
*-commutative73.9%
*-commutative73.9%
*-commutative73.9%
Simplified73.9%
Taylor expanded in j around 0 70.2%
Taylor expanded in t around inf 47.8%
*-commutative47.8%
neg-mul-147.8%
distribute-rgt-neg-in47.8%
Simplified47.8%
if -2.4999999999999999e-37 < z < -7.7999999999999997e-115Initial program 87.3%
cancel-sign-sub87.3%
cancel-sign-sub-inv87.3%
*-commutative87.3%
*-commutative87.3%
remove-double-neg87.3%
*-commutative87.3%
*-commutative87.3%
Simplified87.3%
Taylor expanded in t around inf 52.2%
mul-1-neg52.2%
*-commutative52.2%
distribute-rgt-neg-in52.2%
Simplified52.2%
Taylor expanded in c around inf 38.6%
associate-*r*44.4%
*-commutative44.4%
Simplified44.4%
if -8.80000000000000036e-223 < z < 5.6000000000000001e-263Initial program 76.2%
cancel-sign-sub76.2%
cancel-sign-sub-inv76.2%
*-commutative76.2%
*-commutative76.2%
remove-double-neg76.2%
*-commutative76.2%
*-commutative76.2%
Simplified76.2%
Taylor expanded in y around inf 41.4%
+-commutative41.4%
mul-1-neg41.4%
unsub-neg41.4%
Simplified41.4%
Taylor expanded in z around 0 41.5%
mul-1-neg41.5%
associate-*r*38.6%
*-commutative38.6%
associate-*r*46.9%
distribute-lft-neg-in46.9%
Simplified46.9%
if 5.6000000000000001e-263 < z < 5.8e7Initial program 70.9%
cancel-sign-sub70.9%
cancel-sign-sub-inv70.9%
*-commutative70.9%
*-commutative70.9%
remove-double-neg70.9%
*-commutative70.9%
*-commutative70.9%
Simplified70.9%
Taylor expanded in t around inf 47.3%
mul-1-neg47.3%
*-commutative47.3%
distribute-rgt-neg-in47.3%
Simplified47.3%
Taylor expanded in c around inf 39.3%
if 5.8e7 < z < 1.80000000000000018e187Initial program 68.8%
+-commutative68.8%
fma-def74.0%
*-commutative74.0%
*-commutative74.0%
*-commutative74.0%
*-commutative74.0%
Simplified74.0%
Taylor expanded in j around 0 58.4%
Taylor expanded in y around inf 38.1%
associate-*r*40.7%
*-commutative40.7%
Simplified40.7%
if 1.80000000000000018e187 < z Initial program 55.4%
+-commutative55.4%
fma-def60.4%
*-commutative60.4%
*-commutative60.4%
*-commutative60.4%
*-commutative60.4%
Simplified60.4%
Taylor expanded in j around 0 60.4%
Taylor expanded in c around inf 58.7%
*-commutative58.7%
mul-1-neg58.7%
distribute-rgt-neg-in58.7%
*-commutative58.7%
Simplified58.7%
Final simplification45.3%
(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 -4.8e+65)
t_2
(if (<= y -1.5e-92)
t_1
(if (<= y 1.5e-243)
(* a (- (* b i) (* x t)))
(if (<= y 1.65e-138)
(* t (- (* c j) (* x a)))
(if (<= y 6e+98) 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 <= -4.8e+65) {
tmp = t_2;
} else if (y <= -1.5e-92) {
tmp = t_1;
} else if (y <= 1.5e-243) {
tmp = a * ((b * i) - (x * t));
} else if (y <= 1.65e-138) {
tmp = t * ((c * j) - (x * a));
} else if (y <= 6e+98) {
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 <= (-4.8d+65)) then
tmp = t_2
else if (y <= (-1.5d-92)) then
tmp = t_1
else if (y <= 1.5d-243) then
tmp = a * ((b * i) - (x * t))
else if (y <= 1.65d-138) then
tmp = t * ((c * j) - (x * a))
else if (y <= 6d+98) 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 <= -4.8e+65) {
tmp = t_2;
} else if (y <= -1.5e-92) {
tmp = t_1;
} else if (y <= 1.5e-243) {
tmp = a * ((b * i) - (x * t));
} else if (y <= 1.65e-138) {
tmp = t * ((c * j) - (x * a));
} else if (y <= 6e+98) {
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 <= -4.8e+65: tmp = t_2 elif y <= -1.5e-92: tmp = t_1 elif y <= 1.5e-243: tmp = a * ((b * i) - (x * t)) elif y <= 1.65e-138: tmp = t * ((c * j) - (x * a)) elif y <= 6e+98: 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 <= -4.8e+65) tmp = t_2; elseif (y <= -1.5e-92) tmp = t_1; elseif (y <= 1.5e-243) tmp = Float64(a * Float64(Float64(b * i) - Float64(x * t))); elseif (y <= 1.65e-138) tmp = Float64(t * Float64(Float64(c * j) - Float64(x * a))); elseif (y <= 6e+98) 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 <= -4.8e+65) tmp = t_2; elseif (y <= -1.5e-92) tmp = t_1; elseif (y <= 1.5e-243) tmp = a * ((b * i) - (x * t)); elseif (y <= 1.65e-138) tmp = t * ((c * j) - (x * a)); elseif (y <= 6e+98) 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, -4.8e+65], t$95$2, If[LessEqual[y, -1.5e-92], t$95$1, If[LessEqual[y, 1.5e-243], N[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.65e-138], N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 6e+98], 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 -4.8 \cdot 10^{+65}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;y \leq -1.5 \cdot 10^{-92}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y \leq 1.5 \cdot 10^{-243}:\\
\;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\
\mathbf{elif}\;y \leq 1.65 \cdot 10^{-138}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\
\mathbf{elif}\;y \leq 6 \cdot 10^{+98}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;t_2\\
\end{array}
\end{array}
if y < -4.8000000000000003e65 or 6.0000000000000003e98 < y Initial program 55.9%
cancel-sign-sub55.9%
cancel-sign-sub-inv55.9%
*-commutative55.9%
*-commutative55.9%
remove-double-neg55.9%
*-commutative55.9%
*-commutative55.9%
Simplified55.9%
Taylor expanded in y around inf 62.5%
+-commutative62.5%
mul-1-neg62.5%
unsub-neg62.5%
Simplified62.5%
if -4.8000000000000003e65 < y < -1.50000000000000007e-92 or 1.64999999999999991e-138 < y < 6.0000000000000003e98Initial program 76.0%
cancel-sign-sub76.0%
cancel-sign-sub-inv76.0%
*-commutative76.0%
*-commutative76.0%
remove-double-neg76.0%
*-commutative76.0%
*-commutative76.0%
Simplified76.0%
Taylor expanded in c around inf 58.3%
if -1.50000000000000007e-92 < y < 1.5000000000000001e-243Initial program 82.2%
cancel-sign-sub82.2%
cancel-sign-sub-inv82.2%
*-commutative82.2%
*-commutative82.2%
remove-double-neg82.2%
*-commutative82.2%
*-commutative82.2%
Simplified82.2%
Taylor expanded in a around inf 58.1%
associate-*r*58.1%
neg-mul-158.1%
cancel-sign-sub58.1%
+-commutative58.1%
mul-1-neg58.1%
unsub-neg58.1%
Simplified58.1%
if 1.5000000000000001e-243 < y < 1.64999999999999991e-138Initial program 69.9%
cancel-sign-sub69.9%
cancel-sign-sub-inv69.9%
*-commutative69.9%
*-commutative69.9%
remove-double-neg69.9%
*-commutative69.9%
*-commutative69.9%
Simplified69.9%
Taylor expanded in t around inf 70.6%
*-commutative70.6%
mul-1-neg70.6%
unsub-neg70.6%
Simplified70.6%
Final simplification61.0%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* c (- (* t j) (* z b)))))
(if (<= a -4.2e+91)
(* a (- (* b i) (* x t)))
(if (<= a -5.9e-142)
t_1
(if (<= a -4.5e-205)
(* y (* x z))
(if (<= a 5.9e-36) t_1 (* t (- (* c j) (* x a)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = c * ((t * j) - (z * b));
double tmp;
if (a <= -4.2e+91) {
tmp = a * ((b * i) - (x * t));
} else if (a <= -5.9e-142) {
tmp = t_1;
} else if (a <= -4.5e-205) {
tmp = y * (x * z);
} else if (a <= 5.9e-36) {
tmp = t_1;
} else {
tmp = t * ((c * j) - (x * a));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: tmp
t_1 = c * ((t * j) - (z * b))
if (a <= (-4.2d+91)) then
tmp = a * ((b * i) - (x * t))
else if (a <= (-5.9d-142)) then
tmp = t_1
else if (a <= (-4.5d-205)) then
tmp = y * (x * z)
else if (a <= 5.9d-36) then
tmp = t_1
else
tmp = t * ((c * j) - (x * a))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = c * ((t * j) - (z * b));
double tmp;
if (a <= -4.2e+91) {
tmp = a * ((b * i) - (x * t));
} else if (a <= -5.9e-142) {
tmp = t_1;
} else if (a <= -4.5e-205) {
tmp = y * (x * z);
} else if (a <= 5.9e-36) {
tmp = t_1;
} else {
tmp = t * ((c * j) - (x * a));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = c * ((t * j) - (z * b)) tmp = 0 if a <= -4.2e+91: tmp = a * ((b * i) - (x * t)) elif a <= -5.9e-142: tmp = t_1 elif a <= -4.5e-205: tmp = y * (x * z) elif a <= 5.9e-36: tmp = t_1 else: tmp = t * ((c * j) - (x * a)) 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 (a <= -4.2e+91) tmp = Float64(a * Float64(Float64(b * i) - Float64(x * t))); elseif (a <= -5.9e-142) tmp = t_1; elseif (a <= -4.5e-205) tmp = Float64(y * Float64(x * z)); elseif (a <= 5.9e-36) tmp = t_1; else tmp = Float64(t * Float64(Float64(c * j) - Float64(x * a))); 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 (a <= -4.2e+91) tmp = a * ((b * i) - (x * t)); elseif (a <= -5.9e-142) tmp = t_1; elseif (a <= -4.5e-205) tmp = y * (x * z); elseif (a <= 5.9e-36) tmp = t_1; else tmp = t * ((c * j) - (x * a)); 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[a, -4.2e+91], N[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -5.9e-142], t$95$1, If[LessEqual[a, -4.5e-205], N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 5.9e-36], t$95$1, N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(t \cdot j - z \cdot b\right)\\
\mathbf{if}\;a \leq -4.2 \cdot 10^{+91}:\\
\;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\
\mathbf{elif}\;a \leq -5.9 \cdot 10^{-142}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;a \leq -4.5 \cdot 10^{-205}:\\
\;\;\;\;y \cdot \left(x \cdot z\right)\\
\mathbf{elif}\;a \leq 5.9 \cdot 10^{-36}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\
\end{array}
\end{array}
if a < -4.20000000000000015e91Initial program 63.8%
cancel-sign-sub63.8%
cancel-sign-sub-inv63.8%
*-commutative63.8%
*-commutative63.8%
remove-double-neg63.8%
*-commutative63.8%
*-commutative63.8%
Simplified63.8%
Taylor expanded in a around inf 77.8%
associate-*r*77.8%
neg-mul-177.8%
cancel-sign-sub77.8%
+-commutative77.8%
mul-1-neg77.8%
unsub-neg77.8%
Simplified77.8%
if -4.20000000000000015e91 < a < -5.89999999999999966e-142 or -4.49999999999999956e-205 < a < 5.89999999999999995e-36Initial program 78.5%
cancel-sign-sub78.5%
cancel-sign-sub-inv78.5%
*-commutative78.5%
*-commutative78.5%
remove-double-neg78.5%
*-commutative78.5%
*-commutative78.5%
Simplified78.5%
Taylor expanded in c around inf 54.0%
if -5.89999999999999966e-142 < a < -4.49999999999999956e-205Initial program 33.9%
+-commutative33.9%
fma-def56.2%
*-commutative56.2%
*-commutative56.2%
*-commutative56.2%
*-commutative56.2%
Simplified56.2%
Taylor expanded in j around 0 67.3%
Taylor expanded in y around inf 89.4%
if 5.89999999999999995e-36 < a Initial program 64.6%
cancel-sign-sub64.6%
cancel-sign-sub-inv64.6%
*-commutative64.6%
*-commutative64.6%
remove-double-neg64.6%
*-commutative64.6%
*-commutative64.6%
Simplified64.6%
Taylor expanded in t around inf 51.4%
*-commutative51.4%
mul-1-neg51.4%
unsub-neg51.4%
Simplified51.4%
Final simplification60.1%
(FPCore (x y z t a b c i j)
:precision binary64
(if (<= x -9e+188)
(* z (- (* x y) (* b c)))
(if (<= x -4e-84)
(* t (- (* c j) (* x a)))
(if (<= x -6.6e-242)
(* c (- (* t j) (* z b)))
(if (<= x 1.1e+32)
(* b (- (* a i) (* z c)))
(* y (- (* x z) (* i j))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (x <= -9e+188) {
tmp = z * ((x * y) - (b * c));
} else if (x <= -4e-84) {
tmp = t * ((c * j) - (x * a));
} else if (x <= -6.6e-242) {
tmp = c * ((t * j) - (z * b));
} else if (x <= 1.1e+32) {
tmp = b * ((a * i) - (z * c));
} else {
tmp = y * ((x * z) - (i * 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 (x <= (-9d+188)) then
tmp = z * ((x * y) - (b * c))
else if (x <= (-4d-84)) then
tmp = t * ((c * j) - (x * a))
else if (x <= (-6.6d-242)) then
tmp = c * ((t * j) - (z * b))
else if (x <= 1.1d+32) then
tmp = b * ((a * i) - (z * c))
else
tmp = y * ((x * z) - (i * 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 (x <= -9e+188) {
tmp = z * ((x * y) - (b * c));
} else if (x <= -4e-84) {
tmp = t * ((c * j) - (x * a));
} else if (x <= -6.6e-242) {
tmp = c * ((t * j) - (z * b));
} else if (x <= 1.1e+32) {
tmp = b * ((a * i) - (z * c));
} else {
tmp = y * ((x * z) - (i * j));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if x <= -9e+188: tmp = z * ((x * y) - (b * c)) elif x <= -4e-84: tmp = t * ((c * j) - (x * a)) elif x <= -6.6e-242: tmp = c * ((t * j) - (z * b)) elif x <= 1.1e+32: tmp = b * ((a * i) - (z * c)) else: tmp = y * ((x * z) - (i * j)) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (x <= -9e+188) tmp = Float64(z * Float64(Float64(x * y) - Float64(b * c))); elseif (x <= -4e-84) tmp = Float64(t * Float64(Float64(c * j) - Float64(x * a))); elseif (x <= -6.6e-242) tmp = Float64(c * Float64(Float64(t * j) - Float64(z * b))); elseif (x <= 1.1e+32) tmp = Float64(b * Float64(Float64(a * i) - Float64(z * c))); else tmp = Float64(y * Float64(Float64(x * z) - Float64(i * j))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if (x <= -9e+188) tmp = z * ((x * y) - (b * c)); elseif (x <= -4e-84) tmp = t * ((c * j) - (x * a)); elseif (x <= -6.6e-242) tmp = c * ((t * j) - (z * b)); elseif (x <= 1.1e+32) tmp = b * ((a * i) - (z * c)); else tmp = y * ((x * z) - (i * j)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[x, -9e+188], N[(z * N[(N[(x * y), $MachinePrecision] - N[(b * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -4e-84], N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -6.6e-242], N[(c * N[(N[(t * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.1e+32], N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -9 \cdot 10^{+188}:\\
\;\;\;\;z \cdot \left(x \cdot y - b \cdot c\right)\\
\mathbf{elif}\;x \leq -4 \cdot 10^{-84}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\
\mathbf{elif}\;x \leq -6.6 \cdot 10^{-242}:\\
\;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\
\mathbf{elif}\;x \leq 1.1 \cdot 10^{+32}:\\
\;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\
\mathbf{else}:\\
\;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\
\end{array}
\end{array}
if x < -9.00000000000000021e188Initial program 39.6%
cancel-sign-sub39.6%
cancel-sign-sub-inv39.6%
*-commutative39.6%
*-commutative39.6%
remove-double-neg39.6%
*-commutative39.6%
*-commutative39.6%
Simplified39.6%
Taylor expanded in z around inf 68.3%
if -9.00000000000000021e188 < x < -4.0000000000000001e-84Initial program 70.5%
cancel-sign-sub70.5%
cancel-sign-sub-inv70.5%
*-commutative70.5%
*-commutative70.5%
remove-double-neg70.5%
*-commutative70.5%
*-commutative70.5%
Simplified70.5%
Taylor expanded in t around inf 61.1%
*-commutative61.1%
mul-1-neg61.1%
unsub-neg61.1%
Simplified61.1%
if -4.0000000000000001e-84 < x < -6.59999999999999963e-242Initial program 64.8%
cancel-sign-sub64.8%
cancel-sign-sub-inv64.8%
*-commutative64.8%
*-commutative64.8%
remove-double-neg64.8%
*-commutative64.8%
*-commutative64.8%
Simplified64.8%
Taylor expanded in c around inf 59.9%
if -6.59999999999999963e-242 < x < 1.1e32Initial program 78.6%
cancel-sign-sub78.6%
cancel-sign-sub-inv78.6%
*-commutative78.6%
*-commutative78.6%
remove-double-neg78.6%
*-commutative78.6%
*-commutative78.6%
Simplified78.6%
Taylor expanded in b around inf 63.1%
if 1.1e32 < x Initial program 74.2%
cancel-sign-sub74.2%
cancel-sign-sub-inv74.2%
*-commutative74.2%
*-commutative74.2%
remove-double-neg74.2%
*-commutative74.2%
*-commutative74.2%
Simplified74.2%
Taylor expanded in y around inf 51.1%
+-commutative51.1%
mul-1-neg51.1%
unsub-neg51.1%
Simplified51.1%
Final simplification60.3%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* x (- (* y z) (* t a)))))
(if (<= x -3.1e+155)
t_1
(if (<= x -3.7e-85)
(* t (- (* c j) (* x a)))
(if (<= x -2.7e-243)
(* c (- (* t j) (* z b)))
(if (<= x 28000.0) (* 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 = x * ((y * z) - (t * a));
double tmp;
if (x <= -3.1e+155) {
tmp = t_1;
} else if (x <= -3.7e-85) {
tmp = t * ((c * j) - (x * a));
} else if (x <= -2.7e-243) {
tmp = c * ((t * j) - (z * b));
} else if (x <= 28000.0) {
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 = x * ((y * z) - (t * a))
if (x <= (-3.1d+155)) then
tmp = t_1
else if (x <= (-3.7d-85)) then
tmp = t * ((c * j) - (x * a))
else if (x <= (-2.7d-243)) then
tmp = c * ((t * j) - (z * b))
else if (x <= 28000.0d0) 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 = x * ((y * z) - (t * a));
double tmp;
if (x <= -3.1e+155) {
tmp = t_1;
} else if (x <= -3.7e-85) {
tmp = t * ((c * j) - (x * a));
} else if (x <= -2.7e-243) {
tmp = c * ((t * j) - (z * b));
} else if (x <= 28000.0) {
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 = x * ((y * z) - (t * a)) tmp = 0 if x <= -3.1e+155: tmp = t_1 elif x <= -3.7e-85: tmp = t * ((c * j) - (x * a)) elif x <= -2.7e-243: tmp = c * ((t * j) - (z * b)) elif x <= 28000.0: 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(x * Float64(Float64(y * z) - Float64(t * a))) tmp = 0.0 if (x <= -3.1e+155) tmp = t_1; elseif (x <= -3.7e-85) tmp = Float64(t * Float64(Float64(c * j) - Float64(x * a))); elseif (x <= -2.7e-243) tmp = Float64(c * Float64(Float64(t * j) - Float64(z * b))); elseif (x <= 28000.0) 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 = x * ((y * z) - (t * a)); tmp = 0.0; if (x <= -3.1e+155) tmp = t_1; elseif (x <= -3.7e-85) tmp = t * ((c * j) - (x * a)); elseif (x <= -2.7e-243) tmp = c * ((t * j) - (z * b)); elseif (x <= 28000.0) 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[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -3.1e+155], t$95$1, If[LessEqual[x, -3.7e-85], N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -2.7e-243], N[(c * N[(N[(t * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 28000.0], N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(y \cdot z - t \cdot a\right)\\
\mathbf{if}\;x \leq -3.1 \cdot 10^{+155}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x \leq -3.7 \cdot 10^{-85}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\
\mathbf{elif}\;x \leq -2.7 \cdot 10^{-243}:\\
\;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\
\mathbf{elif}\;x \leq 28000:\\
\;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if x < -3.09999999999999989e155 or 28000 < x Initial program 63.7%
cancel-sign-sub63.7%
cancel-sign-sub-inv63.7%
*-commutative63.7%
*-commutative63.7%
remove-double-neg63.7%
*-commutative63.7%
*-commutative63.7%
Simplified63.7%
Taylor expanded in x around inf 63.5%
if -3.09999999999999989e155 < x < -3.69999999999999983e-85Initial program 70.9%
cancel-sign-sub70.9%
cancel-sign-sub-inv70.9%
*-commutative70.9%
*-commutative70.9%
remove-double-neg70.9%
*-commutative70.9%
*-commutative70.9%
Simplified70.9%
Taylor expanded in t around inf 64.6%
*-commutative64.6%
mul-1-neg64.6%
unsub-neg64.6%
Simplified64.6%
if -3.69999999999999983e-85 < x < -2.7000000000000001e-243Initial program 64.8%
cancel-sign-sub64.8%
cancel-sign-sub-inv64.8%
*-commutative64.8%
*-commutative64.8%
remove-double-neg64.8%
*-commutative64.8%
*-commutative64.8%
Simplified64.8%
Taylor expanded in c around inf 59.9%
if -2.7000000000000001e-243 < x < 28000Initial program 79.0%
cancel-sign-sub79.0%
cancel-sign-sub-inv79.0%
*-commutative79.0%
*-commutative79.0%
remove-double-neg79.0%
*-commutative79.0%
*-commutative79.0%
Simplified79.0%
Taylor expanded in b around inf 65.9%
Final simplification63.9%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* (* b c) (- z))) (t_2 (* t (* c j))))
(if (<= c -3.4e+224)
t_2
(if (<= c -3.4e+74)
t_1
(if (<= c 1e+71)
(* a (- (* b i) (* x t)))
(if (or (<= c 9.2e+122) (not (<= c 4.5e+240))) t_2 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 * c) * -z;
double t_2 = t * (c * j);
double tmp;
if (c <= -3.4e+224) {
tmp = t_2;
} else if (c <= -3.4e+74) {
tmp = t_1;
} else if (c <= 1e+71) {
tmp = a * ((b * i) - (x * t));
} else if ((c <= 9.2e+122) || !(c <= 4.5e+240)) {
tmp = t_2;
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = (b * c) * -z
t_2 = t * (c * j)
if (c <= (-3.4d+224)) then
tmp = t_2
else if (c <= (-3.4d+74)) then
tmp = t_1
else if (c <= 1d+71) then
tmp = a * ((b * i) - (x * t))
else if ((c <= 9.2d+122) .or. (.not. (c <= 4.5d+240))) then
tmp = t_2
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 * c) * -z;
double t_2 = t * (c * j);
double tmp;
if (c <= -3.4e+224) {
tmp = t_2;
} else if (c <= -3.4e+74) {
tmp = t_1;
} else if (c <= 1e+71) {
tmp = a * ((b * i) - (x * t));
} else if ((c <= 9.2e+122) || !(c <= 4.5e+240)) {
tmp = t_2;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = (b * c) * -z t_2 = t * (c * j) tmp = 0 if c <= -3.4e+224: tmp = t_2 elif c <= -3.4e+74: tmp = t_1 elif c <= 1e+71: tmp = a * ((b * i) - (x * t)) elif (c <= 9.2e+122) or not (c <= 4.5e+240): tmp = t_2 else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(Float64(b * c) * Float64(-z)) t_2 = Float64(t * Float64(c * j)) tmp = 0.0 if (c <= -3.4e+224) tmp = t_2; elseif (c <= -3.4e+74) tmp = t_1; elseif (c <= 1e+71) tmp = Float64(a * Float64(Float64(b * i) - Float64(x * t))); elseif ((c <= 9.2e+122) || !(c <= 4.5e+240)) tmp = t_2; else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = (b * c) * -z; t_2 = t * (c * j); tmp = 0.0; if (c <= -3.4e+224) tmp = t_2; elseif (c <= -3.4e+74) tmp = t_1; elseif (c <= 1e+71) tmp = a * ((b * i) - (x * t)); elseif ((c <= 9.2e+122) || ~((c <= 4.5e+240))) tmp = t_2; 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[(b * c), $MachinePrecision] * (-z)), $MachinePrecision]}, Block[{t$95$2 = N[(t * N[(c * j), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -3.4e+224], t$95$2, If[LessEqual[c, -3.4e+74], t$95$1, If[LessEqual[c, 1e+71], N[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[c, 9.2e+122], N[Not[LessEqual[c, 4.5e+240]], $MachinePrecision]], t$95$2, t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(b \cdot c\right) \cdot \left(-z\right)\\
t_2 := t \cdot \left(c \cdot j\right)\\
\mathbf{if}\;c \leq -3.4 \cdot 10^{+224}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;c \leq -3.4 \cdot 10^{+74}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;c \leq 10^{+71}:\\
\;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\
\mathbf{elif}\;c \leq 9.2 \cdot 10^{+122} \lor \neg \left(c \leq 4.5 \cdot 10^{+240}\right):\\
\;\;\;\;t_2\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if c < -3.4000000000000002e224 or 1e71 < c < 9.2000000000000002e122 or 4.49999999999999979e240 < c Initial program 58.6%
cancel-sign-sub58.6%
cancel-sign-sub-inv58.6%
*-commutative58.6%
*-commutative58.6%
remove-double-neg58.6%
*-commutative58.6%
*-commutative58.6%
Simplified58.6%
Taylor expanded in t around inf 51.9%
mul-1-neg51.9%
*-commutative51.9%
distribute-rgt-neg-in51.9%
Simplified51.9%
Taylor expanded in c around inf 60.7%
associate-*r*55.6%
*-commutative55.6%
associate-*l*67.6%
Simplified67.6%
if -3.4000000000000002e224 < c < -3.3999999999999999e74 or 9.2000000000000002e122 < c < 4.49999999999999979e240Initial program 60.9%
cancel-sign-sub60.9%
cancel-sign-sub-inv60.9%
*-commutative60.9%
*-commutative60.9%
remove-double-neg60.9%
*-commutative60.9%
*-commutative60.9%
Simplified60.9%
Taylor expanded in c around inf 60.7%
Taylor expanded in t around 0 41.7%
mul-1-neg41.7%
*-commutative41.7%
associate-*r*45.2%
distribute-lft-neg-in45.2%
*-commutative45.2%
Simplified45.2%
if -3.3999999999999999e74 < c < 1e71Initial program 77.2%
cancel-sign-sub77.2%
cancel-sign-sub-inv77.2%
*-commutative77.2%
*-commutative77.2%
remove-double-neg77.2%
*-commutative77.2%
*-commutative77.2%
Simplified77.2%
Taylor expanded in a around inf 53.5%
associate-*r*53.5%
neg-mul-153.5%
cancel-sign-sub53.5%
+-commutative53.5%
mul-1-neg53.5%
unsub-neg53.5%
Simplified53.5%
Final simplification54.8%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* c (* t j))))
(if (<= t -1.48e+47)
t_1
(if (<= t -1.04e-48)
(* y (* x z))
(if (<= t 2.1e+46)
(* a (* b i))
(if (<= t 2.15e+133)
(* i (* y (- j)))
(if (<= t 1e+172) (* j (* t 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 = c * (t * j);
double tmp;
if (t <= -1.48e+47) {
tmp = t_1;
} else if (t <= -1.04e-48) {
tmp = y * (x * z);
} else if (t <= 2.1e+46) {
tmp = a * (b * i);
} else if (t <= 2.15e+133) {
tmp = i * (y * -j);
} else if (t <= 1e+172) {
tmp = j * (t * 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 = c * (t * j)
if (t <= (-1.48d+47)) then
tmp = t_1
else if (t <= (-1.04d-48)) then
tmp = y * (x * z)
else if (t <= 2.1d+46) then
tmp = a * (b * i)
else if (t <= 2.15d+133) then
tmp = i * (y * -j)
else if (t <= 1d+172) then
tmp = j * (t * 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 = c * (t * j);
double tmp;
if (t <= -1.48e+47) {
tmp = t_1;
} else if (t <= -1.04e-48) {
tmp = y * (x * z);
} else if (t <= 2.1e+46) {
tmp = a * (b * i);
} else if (t <= 2.15e+133) {
tmp = i * (y * -j);
} else if (t <= 1e+172) {
tmp = j * (t * c);
} 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 t <= -1.48e+47: tmp = t_1 elif t <= -1.04e-48: tmp = y * (x * z) elif t <= 2.1e+46: tmp = a * (b * i) elif t <= 2.15e+133: tmp = i * (y * -j) elif t <= 1e+172: tmp = j * (t * c) 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 (t <= -1.48e+47) tmp = t_1; elseif (t <= -1.04e-48) tmp = Float64(y * Float64(x * z)); elseif (t <= 2.1e+46) tmp = Float64(a * Float64(b * i)); elseif (t <= 2.15e+133) tmp = Float64(i * Float64(y * Float64(-j))); elseif (t <= 1e+172) tmp = Float64(j * Float64(t * c)); 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 (t <= -1.48e+47) tmp = t_1; elseif (t <= -1.04e-48) tmp = y * (x * z); elseif (t <= 2.1e+46) tmp = a * (b * i); elseif (t <= 2.15e+133) tmp = i * (y * -j); elseif (t <= 1e+172) tmp = j * (t * 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[(c * N[(t * j), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1.48e+47], t$95$1, If[LessEqual[t, -1.04e-48], N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.1e+46], N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.15e+133], N[(i * N[(y * (-j)), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1e+172], N[(j * N[(t * c), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(t \cdot j\right)\\
\mathbf{if}\;t \leq -1.48 \cdot 10^{+47}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;t \leq -1.04 \cdot 10^{-48}:\\
\;\;\;\;y \cdot \left(x \cdot z\right)\\
\mathbf{elif}\;t \leq 2.1 \cdot 10^{+46}:\\
\;\;\;\;a \cdot \left(b \cdot i\right)\\
\mathbf{elif}\;t \leq 2.15 \cdot 10^{+133}:\\
\;\;\;\;i \cdot \left(y \cdot \left(-j\right)\right)\\
\mathbf{elif}\;t \leq 10^{+172}:\\
\;\;\;\;j \cdot \left(t \cdot c\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if t < -1.47999999999999996e47 or 1.0000000000000001e172 < t Initial program 54.6%
cancel-sign-sub54.6%
cancel-sign-sub-inv54.6%
*-commutative54.6%
*-commutative54.6%
remove-double-neg54.6%
*-commutative54.6%
*-commutative54.6%
Simplified54.6%
Taylor expanded in t around inf 47.2%
mul-1-neg47.2%
*-commutative47.2%
distribute-rgt-neg-in47.2%
Simplified47.2%
Taylor expanded in c around inf 48.2%
if -1.47999999999999996e47 < t < -1.03999999999999998e-48Initial program 69.8%
+-commutative69.8%
fma-def69.8%
*-commutative69.8%
*-commutative69.8%
*-commutative69.8%
*-commutative69.8%
Simplified69.8%
Taylor expanded in j around 0 44.3%
Taylor expanded in y around inf 32.7%
if -1.03999999999999998e-48 < t < 2.1e46Initial program 79.8%
+-commutative79.8%
fma-def80.7%
*-commutative80.7%
*-commutative80.7%
*-commutative80.7%
*-commutative80.7%
Simplified80.7%
Taylor expanded in j around 0 64.9%
Taylor expanded in i around inf 37.1%
if 2.1e46 < t < 2.14999999999999997e133Initial program 59.1%
cancel-sign-sub59.1%
cancel-sign-sub-inv59.1%
*-commutative59.1%
*-commutative59.1%
remove-double-neg59.1%
*-commutative59.1%
*-commutative59.1%
Simplified59.1%
Taylor expanded in y around inf 54.1%
+-commutative54.1%
mul-1-neg54.1%
unsub-neg54.1%
Simplified54.1%
Taylor expanded in z around 0 42.2%
mul-1-neg42.2%
associate-*r*31.1%
*-commutative31.1%
associate-*r*42.3%
distribute-lft-neg-in42.3%
Simplified42.3%
if 2.14999999999999997e133 < t < 1.0000000000000001e172Initial program 92.3%
cancel-sign-sub92.3%
cancel-sign-sub-inv92.3%
*-commutative92.3%
*-commutative92.3%
remove-double-neg92.3%
*-commutative92.3%
*-commutative92.3%
Simplified92.3%
Taylor expanded in t around inf 69.6%
mul-1-neg69.6%
*-commutative69.6%
distribute-rgt-neg-in69.6%
Simplified69.6%
Taylor expanded in c around inf 40.6%
associate-*r*55.1%
*-commutative55.1%
Simplified55.1%
Final simplification41.6%
(FPCore (x y z t a b c i j)
:precision binary64
(if (<= x -7.4e-90)
(* t (- (* c j) (* x a)))
(if (<= x -3.8e-242)
(* c (- (* t j) (* z b)))
(if (<= x 1.95e+35)
(* b (- (* a i) (* z c)))
(* y (- (* x z) (* i j)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (x <= -7.4e-90) {
tmp = t * ((c * j) - (x * a));
} else if (x <= -3.8e-242) {
tmp = c * ((t * j) - (z * b));
} else if (x <= 1.95e+35) {
tmp = b * ((a * i) - (z * c));
} else {
tmp = y * ((x * z) - (i * 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 (x <= (-7.4d-90)) then
tmp = t * ((c * j) - (x * a))
else if (x <= (-3.8d-242)) then
tmp = c * ((t * j) - (z * b))
else if (x <= 1.95d+35) then
tmp = b * ((a * i) - (z * c))
else
tmp = y * ((x * z) - (i * 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 (x <= -7.4e-90) {
tmp = t * ((c * j) - (x * a));
} else if (x <= -3.8e-242) {
tmp = c * ((t * j) - (z * b));
} else if (x <= 1.95e+35) {
tmp = b * ((a * i) - (z * c));
} else {
tmp = y * ((x * z) - (i * j));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if x <= -7.4e-90: tmp = t * ((c * j) - (x * a)) elif x <= -3.8e-242: tmp = c * ((t * j) - (z * b)) elif x <= 1.95e+35: tmp = b * ((a * i) - (z * c)) else: tmp = y * ((x * z) - (i * j)) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (x <= -7.4e-90) tmp = Float64(t * Float64(Float64(c * j) - Float64(x * a))); elseif (x <= -3.8e-242) tmp = Float64(c * Float64(Float64(t * j) - Float64(z * b))); elseif (x <= 1.95e+35) tmp = Float64(b * Float64(Float64(a * i) - Float64(z * c))); else tmp = Float64(y * Float64(Float64(x * z) - Float64(i * j))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if (x <= -7.4e-90) tmp = t * ((c * j) - (x * a)); elseif (x <= -3.8e-242) tmp = c * ((t * j) - (z * b)); elseif (x <= 1.95e+35) tmp = b * ((a * i) - (z * c)); else tmp = y * ((x * z) - (i * j)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[x, -7.4e-90], N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -3.8e-242], N[(c * N[(N[(t * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.95e+35], N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -7.4 \cdot 10^{-90}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\
\mathbf{elif}\;x \leq -3.8 \cdot 10^{-242}:\\
\;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\
\mathbf{elif}\;x \leq 1.95 \cdot 10^{+35}:\\
\;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\
\mathbf{else}:\\
\;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\
\end{array}
\end{array}
if x < -7.40000000000000035e-90Initial program 58.9%
cancel-sign-sub58.9%
cancel-sign-sub-inv58.9%
*-commutative58.9%
*-commutative58.9%
remove-double-neg58.9%
*-commutative58.9%
*-commutative58.9%
Simplified58.9%
Taylor expanded in t around inf 55.9%
*-commutative55.9%
mul-1-neg55.9%
unsub-neg55.9%
Simplified55.9%
if -7.40000000000000035e-90 < x < -3.8000000000000002e-242Initial program 64.8%
cancel-sign-sub64.8%
cancel-sign-sub-inv64.8%
*-commutative64.8%
*-commutative64.8%
remove-double-neg64.8%
*-commutative64.8%
*-commutative64.8%
Simplified64.8%
Taylor expanded in c around inf 59.9%
if -3.8000000000000002e-242 < x < 1.95e35Initial program 78.6%
cancel-sign-sub78.6%
cancel-sign-sub-inv78.6%
*-commutative78.6%
*-commutative78.6%
remove-double-neg78.6%
*-commutative78.6%
*-commutative78.6%
Simplified78.6%
Taylor expanded in b around inf 63.1%
if 1.95e35 < x Initial program 74.2%
cancel-sign-sub74.2%
cancel-sign-sub-inv74.2%
*-commutative74.2%
*-commutative74.2%
remove-double-neg74.2%
*-commutative74.2%
*-commutative74.2%
Simplified74.2%
Taylor expanded in y around inf 51.1%
+-commutative51.1%
mul-1-neg51.1%
unsub-neg51.1%
Simplified51.1%
Final simplification58.0%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* c (* t j))))
(if (<= t -1.9e+48)
t_1
(if (<= t -1.05e-48)
(* y (* x z))
(if (<= t 2.65e+45) (* a (* b 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 (t <= -1.9e+48) {
tmp = t_1;
} else if (t <= -1.05e-48) {
tmp = y * (x * z);
} else if (t <= 2.65e+45) {
tmp = a * (b * 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 (t <= (-1.9d+48)) then
tmp = t_1
else if (t <= (-1.05d-48)) then
tmp = y * (x * z)
else if (t <= 2.65d+45) then
tmp = a * (b * 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 (t <= -1.9e+48) {
tmp = t_1;
} else if (t <= -1.05e-48) {
tmp = y * (x * z);
} else if (t <= 2.65e+45) {
tmp = a * (b * 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 t <= -1.9e+48: tmp = t_1 elif t <= -1.05e-48: tmp = y * (x * z) elif t <= 2.65e+45: tmp = a * (b * 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 (t <= -1.9e+48) tmp = t_1; elseif (t <= -1.05e-48) tmp = Float64(y * Float64(x * z)); elseif (t <= 2.65e+45) tmp = Float64(a * Float64(b * 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 (t <= -1.9e+48) tmp = t_1; elseif (t <= -1.05e-48) tmp = y * (x * z); elseif (t <= 2.65e+45) tmp = a * (b * 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[t, -1.9e+48], t$95$1, If[LessEqual[t, -1.05e-48], N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.65e+45], N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(t \cdot j\right)\\
\mathbf{if}\;t \leq -1.9 \cdot 10^{+48}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;t \leq -1.05 \cdot 10^{-48}:\\
\;\;\;\;y \cdot \left(x \cdot z\right)\\
\mathbf{elif}\;t \leq 2.65 \cdot 10^{+45}:\\
\;\;\;\;a \cdot \left(b \cdot i\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if t < -1.9e48 or 2.64999999999999996e45 < t Initial program 59.5%
cancel-sign-sub59.5%
cancel-sign-sub-inv59.5%
*-commutative59.5%
*-commutative59.5%
remove-double-neg59.5%
*-commutative59.5%
*-commutative59.5%
Simplified59.5%
Taylor expanded in t around inf 49.1%
mul-1-neg49.1%
*-commutative49.1%
distribute-rgt-neg-in49.1%
Simplified49.1%
Taylor expanded in c around inf 43.1%
if -1.9e48 < t < -1.04999999999999994e-48Initial program 69.8%
+-commutative69.8%
fma-def69.8%
*-commutative69.8%
*-commutative69.8%
*-commutative69.8%
*-commutative69.8%
Simplified69.8%
Taylor expanded in j around 0 44.3%
Taylor expanded in y around inf 32.7%
if -1.04999999999999994e-48 < t < 2.64999999999999996e45Initial program 79.8%
+-commutative79.8%
fma-def80.7%
*-commutative80.7%
*-commutative80.7%
*-commutative80.7%
*-commutative80.7%
Simplified80.7%
Taylor expanded in j around 0 64.9%
Taylor expanded in i around inf 37.1%
Final simplification39.4%
(FPCore (x y z t a b c i j) :precision binary64 (if (or (<= t -1.05e-48) (not (<= t 8.8e+45))) (* c (* t j)) (* a (* b i))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if ((t <= -1.05e-48) || !(t <= 8.8e+45)) {
tmp = c * (t * j);
} else {
tmp = a * (b * i);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: tmp
if ((t <= (-1.05d-48)) .or. (.not. (t <= 8.8d+45))) then
tmp = c * (t * j)
else
tmp = a * (b * i)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if ((t <= -1.05e-48) || !(t <= 8.8e+45)) {
tmp = c * (t * j);
} else {
tmp = a * (b * i);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if (t <= -1.05e-48) or not (t <= 8.8e+45): tmp = c * (t * j) else: tmp = a * (b * i) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if ((t <= -1.05e-48) || !(t <= 8.8e+45)) tmp = Float64(c * Float64(t * j)); else tmp = Float64(a * Float64(b * i)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if ((t <= -1.05e-48) || ~((t <= 8.8e+45))) tmp = c * (t * j); else tmp = a * (b * i); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[Or[LessEqual[t, -1.05e-48], N[Not[LessEqual[t, 8.8e+45]], $MachinePrecision]], N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision], N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -1.05 \cdot 10^{-48} \lor \neg \left(t \leq 8.8 \cdot 10^{+45}\right):\\
\;\;\;\;c \cdot \left(t \cdot j\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(b \cdot i\right)\\
\end{array}
\end{array}
if t < -1.04999999999999994e-48 or 8.8000000000000001e45 < t Initial program 61.2%
cancel-sign-sub61.2%
cancel-sign-sub-inv61.2%
*-commutative61.2%
*-commutative61.2%
remove-double-neg61.2%
*-commutative61.2%
*-commutative61.2%
Simplified61.2%
Taylor expanded in t around inf 50.6%
mul-1-neg50.6%
*-commutative50.6%
distribute-rgt-neg-in50.6%
Simplified50.6%
Taylor expanded in c around inf 37.7%
if -1.04999999999999994e-48 < t < 8.8000000000000001e45Initial program 79.8%
+-commutative79.8%
fma-def80.7%
*-commutative80.7%
*-commutative80.7%
*-commutative80.7%
*-commutative80.7%
Simplified80.7%
Taylor expanded in j around 0 64.9%
Taylor expanded in i around inf 37.1%
Final simplification37.4%
(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 69.8%
+-commutative69.8%
fma-def71.4%
*-commutative71.4%
*-commutative71.4%
*-commutative71.4%
*-commutative71.4%
Simplified71.4%
Taylor expanded in j around 0 59.3%
Taylor expanded in i around inf 23.0%
Final simplification23.0%
(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 2023173
(FPCore (x y z t a b c i j)
:name "Linear.Matrix:det33 from linear-1.19.1.3"
:precision binary64
:herbie-target
(if (< t -8.120978919195912e-33) (- (* x (- (* z y) (* a t))) (- (* b (- (* z c) (* a i))) (* (- (* c t) (* y i)) j))) (if (< t -4.712553818218485e-169) (+ (- (* 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)))) (if (< t -7.633533346031584e-308) (- (* x (- (* z y) (* a t))) (- (* b (- (* z c) (* a i))) (* (- (* c t) (* y i)) j))) (if (< t 1.0535888557455487e-139) (+ (- (* 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)))) (- (* 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)))))