
(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 23 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a b c i j) :precision binary64 (+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* 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
(+
(+ (* x (- (* y z) (* t a))) (* b (- (* a i) (* z c))))
(* j (- (* t c) (* y i))))))
(if (<= t_1 INFINITY) t_1 (* i (- (* a b) (* y j))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = ((x * ((y * z) - (t * a))) + (b * ((a * i) - (z * c)))) + (j * ((t * c) - (y * i)));
double tmp;
if (t_1 <= ((double) INFINITY)) {
tmp = t_1;
} else {
tmp = i * ((a * b) - (y * j));
}
return tmp;
}
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = ((x * ((y * z) - (t * a))) + (b * ((a * i) - (z * c)))) + (j * ((t * c) - (y * i)));
double tmp;
if (t_1 <= Double.POSITIVE_INFINITY) {
tmp = t_1;
} else {
tmp = i * ((a * b) - (y * j));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = ((x * ((y * z) - (t * a))) + (b * ((a * i) - (z * c)))) + (j * ((t * c) - (y * i))) tmp = 0 if t_1 <= math.inf: tmp = t_1 else: tmp = i * ((a * b) - (y * j)) return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) + Float64(b * Float64(Float64(a * i) - Float64(z * c)))) + Float64(j * Float64(Float64(t * c) - Float64(y * i)))) tmp = 0.0 if (t_1 <= Inf) tmp = t_1; else tmp = Float64(i * Float64(Float64(a * b) - Float64(y * j))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = ((x * ((y * z) - (t * a))) + (b * ((a * i) - (z * c)))) + (j * ((t * c) - (y * i))); tmp = 0.0; if (t_1 <= Inf) tmp = t_1; else tmp = i * ((a * b) - (y * j)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, Infinity], t$95$1, N[(i * N[(N[(a * b), $MachinePrecision] - N[(y * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(a \cdot i - z \cdot c\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\
\mathbf{if}\;t\_1 \leq \infty:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(a \cdot b - y \cdot j\right)\\
\end{array}
\end{array}
if (+.f64 (-.f64 (*.f64 x (-.f64 (*.f64 y z) (*.f64 t a))) (*.f64 b (-.f64 (*.f64 c z) (*.f64 i a)))) (*.f64 j (-.f64 (*.f64 c t) (*.f64 i y)))) < +inf.0Initial program 92.8%
if +inf.0 < (+.f64 (-.f64 (*.f64 x (-.f64 (*.f64 y z) (*.f64 t a))) (*.f64 b (-.f64 (*.f64 c z) (*.f64 i a)))) (*.f64 j (-.f64 (*.f64 c t) (*.f64 i y)))) Initial program 0.0%
Taylor expanded in i around inf 46.9%
distribute-lft-out--46.9%
*-commutative46.9%
Simplified46.9%
Final simplification83.1%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* b (- (* a i) (* z c))))
(t_2 (* j (- (* t c) (* y i))))
(t_3 (* t (- (* c j) (* x a)))))
(if (<= j -5e+75)
t_2
(if (<= j -3.2e-47)
t_1
(if (<= j 1.8e-250)
(* x (- (* y z) (* t a)))
(if (<= j 1.62e-201)
t_1
(if (<= j 1.82e+43)
t_3
(if (<= j 8.5e+86)
(* y (- (* x z) (* i j)))
(if (<= j 3e+123) t_3 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 = j * ((t * c) - (y * i));
double t_3 = t * ((c * j) - (x * a));
double tmp;
if (j <= -5e+75) {
tmp = t_2;
} else if (j <= -3.2e-47) {
tmp = t_1;
} else if (j <= 1.8e-250) {
tmp = x * ((y * z) - (t * a));
} else if (j <= 1.62e-201) {
tmp = t_1;
} else if (j <= 1.82e+43) {
tmp = t_3;
} else if (j <= 8.5e+86) {
tmp = y * ((x * z) - (i * j));
} else if (j <= 3e+123) {
tmp = t_3;
} 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) :: t_3
real(8) :: tmp
t_1 = b * ((a * i) - (z * c))
t_2 = j * ((t * c) - (y * i))
t_3 = t * ((c * j) - (x * a))
if (j <= (-5d+75)) then
tmp = t_2
else if (j <= (-3.2d-47)) then
tmp = t_1
else if (j <= 1.8d-250) then
tmp = x * ((y * z) - (t * a))
else if (j <= 1.62d-201) then
tmp = t_1
else if (j <= 1.82d+43) then
tmp = t_3
else if (j <= 8.5d+86) then
tmp = y * ((x * z) - (i * j))
else if (j <= 3d+123) then
tmp = t_3
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 = j * ((t * c) - (y * i));
double t_3 = t * ((c * j) - (x * a));
double tmp;
if (j <= -5e+75) {
tmp = t_2;
} else if (j <= -3.2e-47) {
tmp = t_1;
} else if (j <= 1.8e-250) {
tmp = x * ((y * z) - (t * a));
} else if (j <= 1.62e-201) {
tmp = t_1;
} else if (j <= 1.82e+43) {
tmp = t_3;
} else if (j <= 8.5e+86) {
tmp = y * ((x * z) - (i * j));
} else if (j <= 3e+123) {
tmp = t_3;
} 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 = j * ((t * c) - (y * i)) t_3 = t * ((c * j) - (x * a)) tmp = 0 if j <= -5e+75: tmp = t_2 elif j <= -3.2e-47: tmp = t_1 elif j <= 1.8e-250: tmp = x * ((y * z) - (t * a)) elif j <= 1.62e-201: tmp = t_1 elif j <= 1.82e+43: tmp = t_3 elif j <= 8.5e+86: tmp = y * ((x * z) - (i * j)) elif j <= 3e+123: tmp = t_3 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(j * Float64(Float64(t * c) - Float64(y * i))) t_3 = Float64(t * Float64(Float64(c * j) - Float64(x * a))) tmp = 0.0 if (j <= -5e+75) tmp = t_2; elseif (j <= -3.2e-47) tmp = t_1; elseif (j <= 1.8e-250) tmp = Float64(x * Float64(Float64(y * z) - Float64(t * a))); elseif (j <= 1.62e-201) tmp = t_1; elseif (j <= 1.82e+43) tmp = t_3; elseif (j <= 8.5e+86) tmp = Float64(y * Float64(Float64(x * z) - Float64(i * j))); elseif (j <= 3e+123) tmp = t_3; 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 = j * ((t * c) - (y * i)); t_3 = t * ((c * j) - (x * a)); tmp = 0.0; if (j <= -5e+75) tmp = t_2; elseif (j <= -3.2e-47) tmp = t_1; elseif (j <= 1.8e-250) tmp = x * ((y * z) - (t * a)); elseif (j <= 1.62e-201) tmp = t_1; elseif (j <= 1.82e+43) tmp = t_3; elseif (j <= 8.5e+86) tmp = y * ((x * z) - (i * j)); elseif (j <= 3e+123) tmp = t_3; 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[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -5e+75], t$95$2, If[LessEqual[j, -3.2e-47], t$95$1, If[LessEqual[j, 1.8e-250], N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.62e-201], t$95$1, If[LessEqual[j, 1.82e+43], t$95$3, If[LessEqual[j, 8.5e+86], N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3e+123], t$95$3, t$95$2]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\
t_2 := j \cdot \left(t \cdot c - y \cdot i\right)\\
t_3 := t \cdot \left(c \cdot j - x \cdot a\right)\\
\mathbf{if}\;j \leq -5 \cdot 10^{+75}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;j \leq -3.2 \cdot 10^{-47}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq 1.8 \cdot 10^{-250}:\\
\;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right)\\
\mathbf{elif}\;j \leq 1.62 \cdot 10^{-201}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq 1.82 \cdot 10^{+43}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;j \leq 8.5 \cdot 10^{+86}:\\
\;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\
\mathbf{elif}\;j \leq 3 \cdot 10^{+123}:\\
\;\;\;\;t\_3\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if j < -5.0000000000000002e75 or 3.00000000000000008e123 < j Initial program 69.2%
Taylor expanded in j around inf 67.9%
if -5.0000000000000002e75 < j < -3.1999999999999999e-47 or 1.79999999999999991e-250 < j < 1.61999999999999992e-201Initial program 75.3%
Taylor expanded in b around inf 57.7%
*-commutative57.7%
Simplified57.7%
if -3.1999999999999999e-47 < j < 1.79999999999999991e-250Initial program 73.3%
Taylor expanded in x around inf 60.4%
*-commutative60.4%
Simplified60.4%
if 1.61999999999999992e-201 < j < 1.8199999999999999e43 or 8.5000000000000005e86 < j < 3.00000000000000008e123Initial program 73.2%
Taylor expanded in b around 0 71.4%
Taylor expanded in t around inf 67.3%
+-commutative67.3%
mul-1-neg67.3%
unsub-neg67.3%
*-commutative67.3%
Simplified67.3%
if 1.8199999999999999e43 < j < 8.5000000000000005e86Initial program 99.3%
Taylor expanded in y around -inf 78.3%
mul-1-neg78.3%
*-commutative78.3%
distribute-rgt-neg-in78.3%
+-commutative78.3%
mul-1-neg78.3%
unsub-neg78.3%
*-commutative78.3%
*-commutative78.3%
Simplified78.3%
Final simplification64.2%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* a (- (* b i) (* x t)))) (t_2 (* j (- (* t c) (* y i)))))
(if (<= j -6.4e+77)
t_2
(if (<= j -1.45e-41)
t_1
(if (<= j 2.1e-250)
(* x (- (* y z) (* t a)))
(if (<= j 1.6e-201)
(* b (- (* a i) (* z c)))
(if (<= j 3.05e-158)
(* t (- (* c j) (* x a)))
(if (<= j 2.46e-14) 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 = a * ((b * i) - (x * t));
double t_2 = j * ((t * c) - (y * i));
double tmp;
if (j <= -6.4e+77) {
tmp = t_2;
} else if (j <= -1.45e-41) {
tmp = t_1;
} else if (j <= 2.1e-250) {
tmp = x * ((y * z) - (t * a));
} else if (j <= 1.6e-201) {
tmp = b * ((a * i) - (z * c));
} else if (j <= 3.05e-158) {
tmp = t * ((c * j) - (x * a));
} else if (j <= 2.46e-14) {
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 = a * ((b * i) - (x * t))
t_2 = j * ((t * c) - (y * i))
if (j <= (-6.4d+77)) then
tmp = t_2
else if (j <= (-1.45d-41)) then
tmp = t_1
else if (j <= 2.1d-250) then
tmp = x * ((y * z) - (t * a))
else if (j <= 1.6d-201) then
tmp = b * ((a * i) - (z * c))
else if (j <= 3.05d-158) then
tmp = t * ((c * j) - (x * a))
else if (j <= 2.46d-14) 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 = a * ((b * i) - (x * t));
double t_2 = j * ((t * c) - (y * i));
double tmp;
if (j <= -6.4e+77) {
tmp = t_2;
} else if (j <= -1.45e-41) {
tmp = t_1;
} else if (j <= 2.1e-250) {
tmp = x * ((y * z) - (t * a));
} else if (j <= 1.6e-201) {
tmp = b * ((a * i) - (z * c));
} else if (j <= 3.05e-158) {
tmp = t * ((c * j) - (x * a));
} else if (j <= 2.46e-14) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = a * ((b * i) - (x * t)) t_2 = j * ((t * c) - (y * i)) tmp = 0 if j <= -6.4e+77: tmp = t_2 elif j <= -1.45e-41: tmp = t_1 elif j <= 2.1e-250: tmp = x * ((y * z) - (t * a)) elif j <= 1.6e-201: tmp = b * ((a * i) - (z * c)) elif j <= 3.05e-158: tmp = t * ((c * j) - (x * a)) elif j <= 2.46e-14: tmp = t_1 else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(a * Float64(Float64(b * i) - Float64(x * t))) t_2 = Float64(j * Float64(Float64(t * c) - Float64(y * i))) tmp = 0.0 if (j <= -6.4e+77) tmp = t_2; elseif (j <= -1.45e-41) tmp = t_1; elseif (j <= 2.1e-250) tmp = Float64(x * Float64(Float64(y * z) - Float64(t * a))); elseif (j <= 1.6e-201) tmp = Float64(b * Float64(Float64(a * i) - Float64(z * c))); elseif (j <= 3.05e-158) tmp = Float64(t * Float64(Float64(c * j) - Float64(x * a))); elseif (j <= 2.46e-14) 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 = a * ((b * i) - (x * t)); t_2 = j * ((t * c) - (y * i)); tmp = 0.0; if (j <= -6.4e+77) tmp = t_2; elseif (j <= -1.45e-41) tmp = t_1; elseif (j <= 2.1e-250) tmp = x * ((y * z) - (t * a)); elseif (j <= 1.6e-201) tmp = b * ((a * i) - (z * c)); elseif (j <= 3.05e-158) tmp = t * ((c * j) - (x * a)); elseif (j <= 2.46e-14) 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[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -6.4e+77], t$95$2, If[LessEqual[j, -1.45e-41], t$95$1, If[LessEqual[j, 2.1e-250], N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.6e-201], N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3.05e-158], N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 2.46e-14], t$95$1, t$95$2]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(b \cdot i - x \cdot t\right)\\
t_2 := j \cdot \left(t \cdot c - y \cdot i\right)\\
\mathbf{if}\;j \leq -6.4 \cdot 10^{+77}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;j \leq -1.45 \cdot 10^{-41}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq 2.1 \cdot 10^{-250}:\\
\;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right)\\
\mathbf{elif}\;j \leq 1.6 \cdot 10^{-201}:\\
\;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\
\mathbf{elif}\;j \leq 3.05 \cdot 10^{-158}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\
\mathbf{elif}\;j \leq 2.46 \cdot 10^{-14}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if j < -6.4000000000000003e77 or 2.46000000000000006e-14 < j Initial program 69.2%
Taylor expanded in j around inf 63.7%
if -6.4000000000000003e77 < j < -1.44999999999999989e-41 or 3.0499999999999999e-158 < j < 2.46000000000000006e-14Initial program 75.5%
Taylor expanded in a around inf 61.5%
distribute-lft-out--61.5%
*-commutative61.5%
Simplified61.5%
if -1.44999999999999989e-41 < j < 2.1000000000000001e-250Initial program 73.6%
Taylor expanded in x around inf 59.6%
*-commutative59.6%
Simplified59.6%
if 2.1000000000000001e-250 < j < 1.6000000000000001e-201Initial program 80.3%
Taylor expanded in b around inf 68.0%
*-commutative68.0%
Simplified68.0%
if 1.6000000000000001e-201 < j < 3.0499999999999999e-158Initial program 99.7%
Taylor expanded in b around 0 99.7%
Taylor expanded in t around inf 84.0%
+-commutative84.0%
mul-1-neg84.0%
unsub-neg84.0%
*-commutative84.0%
Simplified84.0%
Final simplification62.8%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* j (- (* t c) (* y i)))))
(if (<= j -1.45e+82)
t_1
(if (<= j -5.2e-5)
(- (* b (- (* a i) (* z c))) (* x (* t a)))
(if (<= j 2.6e-172)
(- (* z (* x y)) (* b (- (* z c) (* a i))))
(if (<= j 1.65e+43)
(* a (- (* b i) (* x t)))
(if (<= j 2.7e+85)
(* y (- (* x z) (* i j)))
(if (<= j 2.85e+122) (* t (- (* c j) (* x a))) t_1))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = j * ((t * c) - (y * i));
double tmp;
if (j <= -1.45e+82) {
tmp = t_1;
} else if (j <= -5.2e-5) {
tmp = (b * ((a * i) - (z * c))) - (x * (t * a));
} else if (j <= 2.6e-172) {
tmp = (z * (x * y)) - (b * ((z * c) - (a * i)));
} else if (j <= 1.65e+43) {
tmp = a * ((b * i) - (x * t));
} else if (j <= 2.7e+85) {
tmp = y * ((x * z) - (i * j));
} else if (j <= 2.85e+122) {
tmp = t * ((c * j) - (x * a));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: tmp
t_1 = j * ((t * c) - (y * i))
if (j <= (-1.45d+82)) then
tmp = t_1
else if (j <= (-5.2d-5)) then
tmp = (b * ((a * i) - (z * c))) - (x * (t * a))
else if (j <= 2.6d-172) then
tmp = (z * (x * y)) - (b * ((z * c) - (a * i)))
else if (j <= 1.65d+43) then
tmp = a * ((b * i) - (x * t))
else if (j <= 2.7d+85) then
tmp = y * ((x * z) - (i * j))
else if (j <= 2.85d+122) then
tmp = t * ((c * j) - (x * a))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = j * ((t * c) - (y * i));
double tmp;
if (j <= -1.45e+82) {
tmp = t_1;
} else if (j <= -5.2e-5) {
tmp = (b * ((a * i) - (z * c))) - (x * (t * a));
} else if (j <= 2.6e-172) {
tmp = (z * (x * y)) - (b * ((z * c) - (a * i)));
} else if (j <= 1.65e+43) {
tmp = a * ((b * i) - (x * t));
} else if (j <= 2.7e+85) {
tmp = y * ((x * z) - (i * j));
} else if (j <= 2.85e+122) {
tmp = t * ((c * j) - (x * a));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = j * ((t * c) - (y * i)) tmp = 0 if j <= -1.45e+82: tmp = t_1 elif j <= -5.2e-5: tmp = (b * ((a * i) - (z * c))) - (x * (t * a)) elif j <= 2.6e-172: tmp = (z * (x * y)) - (b * ((z * c) - (a * i))) elif j <= 1.65e+43: tmp = a * ((b * i) - (x * t)) elif j <= 2.7e+85: tmp = y * ((x * z) - (i * j)) elif j <= 2.85e+122: tmp = t * ((c * j) - (x * a)) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(j * Float64(Float64(t * c) - Float64(y * i))) tmp = 0.0 if (j <= -1.45e+82) tmp = t_1; elseif (j <= -5.2e-5) tmp = Float64(Float64(b * Float64(Float64(a * i) - Float64(z * c))) - Float64(x * Float64(t * a))); elseif (j <= 2.6e-172) tmp = Float64(Float64(z * Float64(x * y)) - Float64(b * Float64(Float64(z * c) - Float64(a * i)))); elseif (j <= 1.65e+43) tmp = Float64(a * Float64(Float64(b * i) - Float64(x * t))); elseif (j <= 2.7e+85) tmp = Float64(y * Float64(Float64(x * z) - Float64(i * j))); elseif (j <= 2.85e+122) tmp = Float64(t * Float64(Float64(c * j) - Float64(x * a))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = j * ((t * c) - (y * i)); tmp = 0.0; if (j <= -1.45e+82) tmp = t_1; elseif (j <= -5.2e-5) tmp = (b * ((a * i) - (z * c))) - (x * (t * a)); elseif (j <= 2.6e-172) tmp = (z * (x * y)) - (b * ((z * c) - (a * i))); elseif (j <= 1.65e+43) tmp = a * ((b * i) - (x * t)); elseif (j <= 2.7e+85) tmp = y * ((x * z) - (i * j)); elseif (j <= 2.85e+122) tmp = t * ((c * j) - (x * a)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -1.45e+82], t$95$1, If[LessEqual[j, -5.2e-5], N[(N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(x * N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 2.6e-172], N[(N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision] - N[(b * N[(N[(z * c), $MachinePrecision] - N[(a * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.65e+43], N[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 2.7e+85], N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 2.85e+122], N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(t \cdot c - y \cdot i\right)\\
\mathbf{if}\;j \leq -1.45 \cdot 10^{+82}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq -5.2 \cdot 10^{-5}:\\
\;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right) - x \cdot \left(t \cdot a\right)\\
\mathbf{elif}\;j \leq 2.6 \cdot 10^{-172}:\\
\;\;\;\;z \cdot \left(x \cdot y\right) - b \cdot \left(z \cdot c - a \cdot i\right)\\
\mathbf{elif}\;j \leq 1.65 \cdot 10^{+43}:\\
\;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\
\mathbf{elif}\;j \leq 2.7 \cdot 10^{+85}:\\
\;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\
\mathbf{elif}\;j \leq 2.85 \cdot 10^{+122}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if j < -1.4500000000000001e82 or 2.85000000000000003e122 < j Initial program 69.2%
Taylor expanded in j around inf 67.9%
if -1.4500000000000001e82 < j < -5.19999999999999968e-5Initial program 82.5%
Taylor expanded in j around 0 76.8%
*-commutative76.8%
*-commutative76.8%
Simplified76.8%
Taylor expanded in y around 0 88.2%
mul-1-neg36.5%
associate-*r*31.0%
distribute-rgt-neg-in31.0%
*-commutative31.0%
Simplified82.7%
if -5.19999999999999968e-5 < j < 2.5999999999999998e-172Initial program 73.6%
Taylor expanded in j around 0 74.0%
*-commutative74.0%
*-commutative74.0%
Simplified74.0%
Taylor expanded in t around 0 61.0%
associate-*r*67.4%
*-commutative67.4%
Simplified67.4%
if 2.5999999999999998e-172 < j < 1.6500000000000001e43Initial program 77.6%
Taylor expanded in a around inf 66.4%
distribute-lft-out--66.4%
*-commutative66.4%
Simplified66.4%
if 1.6500000000000001e43 < j < 2.69999999999999983e85Initial program 99.3%
Taylor expanded in y around -inf 78.3%
mul-1-neg78.3%
*-commutative78.3%
distribute-rgt-neg-in78.3%
+-commutative78.3%
mul-1-neg78.3%
unsub-neg78.3%
*-commutative78.3%
*-commutative78.3%
Simplified78.3%
if 2.69999999999999983e85 < j < 2.85000000000000003e122Initial program 44.3%
Taylor expanded in b around 0 66.7%
Taylor expanded in t around inf 78.5%
+-commutative78.5%
mul-1-neg78.5%
unsub-neg78.5%
*-commutative78.5%
Simplified78.5%
Final simplification69.2%
(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))))
(t_3 (+ t_2 (* j (- (* t c) (* y i))))))
(if (<= j -2.1e+78)
t_3
(if (<= j -5.6e+16)
(- t_1 (* x (* t a)))
(if (or (<= j -7.5e-178) (not (<= j 1.6e-98))) t_3 (+ 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 * ((a * i) - (z * c));
double t_2 = x * ((y * z) - (t * a));
double t_3 = t_2 + (j * ((t * c) - (y * i)));
double tmp;
if (j <= -2.1e+78) {
tmp = t_3;
} else if (j <= -5.6e+16) {
tmp = t_1 - (x * (t * a));
} else if ((j <= -7.5e-178) || !(j <= 1.6e-98)) {
tmp = t_3;
} else {
tmp = t_2 + 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 * ((a * i) - (z * c))
t_2 = x * ((y * z) - (t * a))
t_3 = t_2 + (j * ((t * c) - (y * i)))
if (j <= (-2.1d+78)) then
tmp = t_3
else if (j <= (-5.6d+16)) then
tmp = t_1 - (x * (t * a))
else if ((j <= (-7.5d-178)) .or. (.not. (j <= 1.6d-98))) then
tmp = t_3
else
tmp = t_2 + t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = b * ((a * i) - (z * c));
double t_2 = x * ((y * z) - (t * a));
double t_3 = t_2 + (j * ((t * c) - (y * i)));
double tmp;
if (j <= -2.1e+78) {
tmp = t_3;
} else if (j <= -5.6e+16) {
tmp = t_1 - (x * (t * a));
} else if ((j <= -7.5e-178) || !(j <= 1.6e-98)) {
tmp = t_3;
} else {
tmp = t_2 + t_1;
}
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)) t_3 = t_2 + (j * ((t * c) - (y * i))) tmp = 0 if j <= -2.1e+78: tmp = t_3 elif j <= -5.6e+16: tmp = t_1 - (x * (t * a)) elif (j <= -7.5e-178) or not (j <= 1.6e-98): tmp = t_3 else: tmp = t_2 + t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(b * Float64(Float64(a * i) - Float64(z * c))) t_2 = Float64(x * Float64(Float64(y * z) - Float64(t * a))) t_3 = Float64(t_2 + Float64(j * Float64(Float64(t * c) - Float64(y * i)))) tmp = 0.0 if (j <= -2.1e+78) tmp = t_3; elseif (j <= -5.6e+16) tmp = Float64(t_1 - Float64(x * Float64(t * a))); elseif ((j <= -7.5e-178) || !(j <= 1.6e-98)) tmp = t_3; else tmp = Float64(t_2 + t_1); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = b * ((a * i) - (z * c)); t_2 = x * ((y * z) - (t * a)); t_3 = t_2 + (j * ((t * c) - (y * i))); tmp = 0.0; if (j <= -2.1e+78) tmp = t_3; elseif (j <= -5.6e+16) tmp = t_1 - (x * (t * a)); elseif ((j <= -7.5e-178) || ~((j <= 1.6e-98))) tmp = t_3; else tmp = t_2 + t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(t$95$2 + N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -2.1e+78], t$95$3, If[LessEqual[j, -5.6e+16], N[(t$95$1 - N[(x * N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[j, -7.5e-178], N[Not[LessEqual[j, 1.6e-98]], $MachinePrecision]], t$95$3, N[(t$95$2 + t$95$1), $MachinePrecision]]]]]]]
\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)\\
t_3 := t\_2 + j \cdot \left(t \cdot c - y \cdot i\right)\\
\mathbf{if}\;j \leq -2.1 \cdot 10^{+78}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;j \leq -5.6 \cdot 10^{+16}:\\
\;\;\;\;t\_1 - x \cdot \left(t \cdot a\right)\\
\mathbf{elif}\;j \leq -7.5 \cdot 10^{-178} \lor \neg \left(j \leq 1.6 \cdot 10^{-98}\right):\\
\;\;\;\;t\_3\\
\mathbf{else}:\\
\;\;\;\;t\_2 + t\_1\\
\end{array}
\end{array}
if j < -2.1000000000000001e78 or -5.6e16 < j < -7.50000000000000019e-178 or 1.6e-98 < j Initial program 71.6%
Taylor expanded in b around 0 72.9%
if -2.1000000000000001e78 < j < -5.6e16Initial program 83.1%
Taylor expanded in j around 0 83.2%
*-commutative83.2%
*-commutative83.2%
Simplified83.2%
Taylor expanded in y around 0 91.6%
mul-1-neg34.7%
associate-*r*34.7%
distribute-rgt-neg-in34.7%
*-commutative34.7%
Simplified91.6%
if -7.50000000000000019e-178 < j < 1.6e-98Initial program 75.2%
Taylor expanded in j around 0 83.3%
*-commutative83.3%
*-commutative83.3%
Simplified83.3%
Final simplification76.9%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* b (- (* a i) (* z c)))) (t_2 (* j (- (* t c) (* y i)))))
(if (<= j -1e+75)
t_2
(if (<= j -9.2e-48)
t_1
(if (<= j -1.8e-238)
(* z (* x y))
(if (<= j 4.1e-161)
t_1
(if (<= j 6.6e-65) (* a (* t (- x))) 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 = j * ((t * c) - (y * i));
double tmp;
if (j <= -1e+75) {
tmp = t_2;
} else if (j <= -9.2e-48) {
tmp = t_1;
} else if (j <= -1.8e-238) {
tmp = z * (x * y);
} else if (j <= 4.1e-161) {
tmp = t_1;
} else if (j <= 6.6e-65) {
tmp = a * (t * -x);
} 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 = j * ((t * c) - (y * i))
if (j <= (-1d+75)) then
tmp = t_2
else if (j <= (-9.2d-48)) then
tmp = t_1
else if (j <= (-1.8d-238)) then
tmp = z * (x * y)
else if (j <= 4.1d-161) then
tmp = t_1
else if (j <= 6.6d-65) then
tmp = a * (t * -x)
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 = j * ((t * c) - (y * i));
double tmp;
if (j <= -1e+75) {
tmp = t_2;
} else if (j <= -9.2e-48) {
tmp = t_1;
} else if (j <= -1.8e-238) {
tmp = z * (x * y);
} else if (j <= 4.1e-161) {
tmp = t_1;
} else if (j <= 6.6e-65) {
tmp = a * (t * -x);
} 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 = j * ((t * c) - (y * i)) tmp = 0 if j <= -1e+75: tmp = t_2 elif j <= -9.2e-48: tmp = t_1 elif j <= -1.8e-238: tmp = z * (x * y) elif j <= 4.1e-161: tmp = t_1 elif j <= 6.6e-65: tmp = a * (t * -x) 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(j * Float64(Float64(t * c) - Float64(y * i))) tmp = 0.0 if (j <= -1e+75) tmp = t_2; elseif (j <= -9.2e-48) tmp = t_1; elseif (j <= -1.8e-238) tmp = Float64(z * Float64(x * y)); elseif (j <= 4.1e-161) tmp = t_1; elseif (j <= 6.6e-65) tmp = Float64(a * Float64(t * Float64(-x))); 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 = j * ((t * c) - (y * i)); tmp = 0.0; if (j <= -1e+75) tmp = t_2; elseif (j <= -9.2e-48) tmp = t_1; elseif (j <= -1.8e-238) tmp = z * (x * y); elseif (j <= 4.1e-161) tmp = t_1; elseif (j <= 6.6e-65) tmp = a * (t * -x); 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[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -1e+75], t$95$2, If[LessEqual[j, -9.2e-48], t$95$1, If[LessEqual[j, -1.8e-238], N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 4.1e-161], t$95$1, If[LessEqual[j, 6.6e-65], N[(a * N[(t * (-x)), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\
t_2 := j \cdot \left(t \cdot c - y \cdot i\right)\\
\mathbf{if}\;j \leq -1 \cdot 10^{+75}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;j \leq -9.2 \cdot 10^{-48}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq -1.8 \cdot 10^{-238}:\\
\;\;\;\;z \cdot \left(x \cdot y\right)\\
\mathbf{elif}\;j \leq 4.1 \cdot 10^{-161}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq 6.6 \cdot 10^{-65}:\\
\;\;\;\;a \cdot \left(t \cdot \left(-x\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if j < -9.99999999999999927e74 or 6.6000000000000002e-65 < j Initial program 69.7%
Taylor expanded in j around inf 60.4%
if -9.99999999999999927e74 < j < -9.2000000000000003e-48 or -1.80000000000000005e-238 < j < 4.0999999999999997e-161Initial program 73.8%
Taylor expanded in b around inf 51.3%
*-commutative51.3%
Simplified51.3%
if -9.2000000000000003e-48 < j < -1.80000000000000005e-238Initial program 76.4%
Taylor expanded in j around 0 72.9%
*-commutative72.9%
*-commutative72.9%
Simplified72.9%
Taylor expanded in y around inf 42.8%
associate-*r*48.7%
*-commutative48.7%
Simplified48.7%
if 4.0999999999999997e-161 < j < 6.6000000000000002e-65Initial program 84.2%
Taylor expanded in x around inf 64.1%
*-commutative64.1%
Simplified64.1%
Taylor expanded in y around 0 64.2%
mul-1-neg64.2%
Simplified64.2%
Final simplification55.8%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* b (- (* a i) (* z c)))) (t_2 (* j (- (* t c) (* y i)))))
(if (<= j -2.1e+79)
t_2
(if (<= j -8.5e-46)
t_1
(if (<= j -2.8e-241)
(* z (* x y))
(if (<= j 5.2e-202)
t_1
(if (<= j 3.2e+122) (* t (- (* c j) (* x a))) 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 = j * ((t * c) - (y * i));
double tmp;
if (j <= -2.1e+79) {
tmp = t_2;
} else if (j <= -8.5e-46) {
tmp = t_1;
} else if (j <= -2.8e-241) {
tmp = z * (x * y);
} else if (j <= 5.2e-202) {
tmp = t_1;
} else if (j <= 3.2e+122) {
tmp = t * ((c * j) - (x * a));
} 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 = j * ((t * c) - (y * i))
if (j <= (-2.1d+79)) then
tmp = t_2
else if (j <= (-8.5d-46)) then
tmp = t_1
else if (j <= (-2.8d-241)) then
tmp = z * (x * y)
else if (j <= 5.2d-202) then
tmp = t_1
else if (j <= 3.2d+122) then
tmp = t * ((c * j) - (x * a))
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 = j * ((t * c) - (y * i));
double tmp;
if (j <= -2.1e+79) {
tmp = t_2;
} else if (j <= -8.5e-46) {
tmp = t_1;
} else if (j <= -2.8e-241) {
tmp = z * (x * y);
} else if (j <= 5.2e-202) {
tmp = t_1;
} else if (j <= 3.2e+122) {
tmp = t * ((c * j) - (x * a));
} 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 = j * ((t * c) - (y * i)) tmp = 0 if j <= -2.1e+79: tmp = t_2 elif j <= -8.5e-46: tmp = t_1 elif j <= -2.8e-241: tmp = z * (x * y) elif j <= 5.2e-202: tmp = t_1 elif j <= 3.2e+122: tmp = t * ((c * j) - (x * a)) 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(j * Float64(Float64(t * c) - Float64(y * i))) tmp = 0.0 if (j <= -2.1e+79) tmp = t_2; elseif (j <= -8.5e-46) tmp = t_1; elseif (j <= -2.8e-241) tmp = Float64(z * Float64(x * y)); elseif (j <= 5.2e-202) tmp = t_1; elseif (j <= 3.2e+122) tmp = Float64(t * Float64(Float64(c * j) - Float64(x * a))); 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 = j * ((t * c) - (y * i)); tmp = 0.0; if (j <= -2.1e+79) tmp = t_2; elseif (j <= -8.5e-46) tmp = t_1; elseif (j <= -2.8e-241) tmp = z * (x * y); elseif (j <= 5.2e-202) tmp = t_1; elseif (j <= 3.2e+122) tmp = t * ((c * j) - (x * a)); 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[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -2.1e+79], t$95$2, If[LessEqual[j, -8.5e-46], t$95$1, If[LessEqual[j, -2.8e-241], N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 5.2e-202], t$95$1, If[LessEqual[j, 3.2e+122], N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\
t_2 := j \cdot \left(t \cdot c - y \cdot i\right)\\
\mathbf{if}\;j \leq -2.1 \cdot 10^{+79}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;j \leq -8.5 \cdot 10^{-46}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq -2.8 \cdot 10^{-241}:\\
\;\;\;\;z \cdot \left(x \cdot y\right)\\
\mathbf{elif}\;j \leq 5.2 \cdot 10^{-202}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq 3.2 \cdot 10^{+122}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if j < -2.10000000000000008e79 or 3.20000000000000012e122 < j Initial program 69.2%
Taylor expanded in j around inf 67.9%
if -2.10000000000000008e79 < j < -8.5000000000000001e-46 or -2.7999999999999999e-241 < j < 5.20000000000000019e-202Initial program 72.3%
Taylor expanded in b around inf 52.7%
*-commutative52.7%
Simplified52.7%
if -8.5000000000000001e-46 < j < -2.7999999999999999e-241Initial program 76.4%
Taylor expanded in j around 0 72.9%
*-commutative72.9%
*-commutative72.9%
Simplified72.9%
Taylor expanded in y around inf 42.8%
associate-*r*48.7%
*-commutative48.7%
Simplified48.7%
if 5.20000000000000019e-202 < j < 3.20000000000000012e122Initial program 77.4%
Taylor expanded in b around 0 74.2%
Taylor expanded in t around inf 59.0%
+-commutative59.0%
mul-1-neg59.0%
unsub-neg59.0%
*-commutative59.0%
Simplified59.0%
Final simplification58.1%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* b (- (* a i) (* z c)))) (t_2 (* j (- (* t c) (* y i)))))
(if (<= j -5.7e+77)
t_2
(if (<= j -8.6e-46)
t_1
(if (<= j 2.2e-250)
(* x (- (* y z) (* t a)))
(if (<= j 5.9e-202)
t_1
(if (<= j 4.9e+122) (* t (- (* c j) (* x a))) 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 = j * ((t * c) - (y * i));
double tmp;
if (j <= -5.7e+77) {
tmp = t_2;
} else if (j <= -8.6e-46) {
tmp = t_1;
} else if (j <= 2.2e-250) {
tmp = x * ((y * z) - (t * a));
} else if (j <= 5.9e-202) {
tmp = t_1;
} else if (j <= 4.9e+122) {
tmp = t * ((c * j) - (x * a));
} 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 = j * ((t * c) - (y * i))
if (j <= (-5.7d+77)) then
tmp = t_2
else if (j <= (-8.6d-46)) then
tmp = t_1
else if (j <= 2.2d-250) then
tmp = x * ((y * z) - (t * a))
else if (j <= 5.9d-202) then
tmp = t_1
else if (j <= 4.9d+122) then
tmp = t * ((c * j) - (x * a))
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 = j * ((t * c) - (y * i));
double tmp;
if (j <= -5.7e+77) {
tmp = t_2;
} else if (j <= -8.6e-46) {
tmp = t_1;
} else if (j <= 2.2e-250) {
tmp = x * ((y * z) - (t * a));
} else if (j <= 5.9e-202) {
tmp = t_1;
} else if (j <= 4.9e+122) {
tmp = t * ((c * j) - (x * a));
} 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 = j * ((t * c) - (y * i)) tmp = 0 if j <= -5.7e+77: tmp = t_2 elif j <= -8.6e-46: tmp = t_1 elif j <= 2.2e-250: tmp = x * ((y * z) - (t * a)) elif j <= 5.9e-202: tmp = t_1 elif j <= 4.9e+122: tmp = t * ((c * j) - (x * a)) 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(j * Float64(Float64(t * c) - Float64(y * i))) tmp = 0.0 if (j <= -5.7e+77) tmp = t_2; elseif (j <= -8.6e-46) tmp = t_1; elseif (j <= 2.2e-250) tmp = Float64(x * Float64(Float64(y * z) - Float64(t * a))); elseif (j <= 5.9e-202) tmp = t_1; elseif (j <= 4.9e+122) tmp = Float64(t * Float64(Float64(c * j) - Float64(x * a))); 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 = j * ((t * c) - (y * i)); tmp = 0.0; if (j <= -5.7e+77) tmp = t_2; elseif (j <= -8.6e-46) tmp = t_1; elseif (j <= 2.2e-250) tmp = x * ((y * z) - (t * a)); elseif (j <= 5.9e-202) tmp = t_1; elseif (j <= 4.9e+122) tmp = t * ((c * j) - (x * a)); 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[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -5.7e+77], t$95$2, If[LessEqual[j, -8.6e-46], t$95$1, If[LessEqual[j, 2.2e-250], N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 5.9e-202], t$95$1, If[LessEqual[j, 4.9e+122], N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\
t_2 := j \cdot \left(t \cdot c - y \cdot i\right)\\
\mathbf{if}\;j \leq -5.7 \cdot 10^{+77}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;j \leq -8.6 \cdot 10^{-46}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq 2.2 \cdot 10^{-250}:\\
\;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right)\\
\mathbf{elif}\;j \leq 5.9 \cdot 10^{-202}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq 4.9 \cdot 10^{+122}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if j < -5.69999999999999966e77 or 4.8999999999999998e122 < j Initial program 69.2%
Taylor expanded in j around inf 67.9%
if -5.69999999999999966e77 < j < -8.6000000000000007e-46 or 2.2e-250 < j < 5.89999999999999999e-202Initial program 75.3%
Taylor expanded in b around inf 57.7%
*-commutative57.7%
Simplified57.7%
if -8.6000000000000007e-46 < j < 2.2e-250Initial program 73.3%
Taylor expanded in x around inf 60.4%
*-commutative60.4%
Simplified60.4%
if 5.89999999999999999e-202 < j < 4.8999999999999998e122Initial program 77.4%
Taylor expanded in b around 0 74.2%
Taylor expanded in t around inf 59.0%
+-commutative59.0%
mul-1-neg59.0%
unsub-neg59.0%
*-commutative59.0%
Simplified59.0%
Final simplification62.0%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* j (- (* t c) (* y i)))))
(if (<= j -7.4e+80)
t_1
(if (<= j 2.25e-166)
(- (* z (* x y)) (* b (- (* z c) (* a i))))
(if (<= j 2.7e+43)
(* a (- (* b i) (* x t)))
(if (<= j 4.4e+81)
(* y (- (* x z) (* i j)))
(if (<= j 1.5e+123) (* t (- (* c j) (* x a))) t_1)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = j * ((t * c) - (y * i));
double tmp;
if (j <= -7.4e+80) {
tmp = t_1;
} else if (j <= 2.25e-166) {
tmp = (z * (x * y)) - (b * ((z * c) - (a * i)));
} else if (j <= 2.7e+43) {
tmp = a * ((b * i) - (x * t));
} else if (j <= 4.4e+81) {
tmp = y * ((x * z) - (i * j));
} else if (j <= 1.5e+123) {
tmp = t * ((c * j) - (x * a));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: tmp
t_1 = j * ((t * c) - (y * i))
if (j <= (-7.4d+80)) then
tmp = t_1
else if (j <= 2.25d-166) then
tmp = (z * (x * y)) - (b * ((z * c) - (a * i)))
else if (j <= 2.7d+43) then
tmp = a * ((b * i) - (x * t))
else if (j <= 4.4d+81) then
tmp = y * ((x * z) - (i * j))
else if (j <= 1.5d+123) then
tmp = t * ((c * j) - (x * a))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = j * ((t * c) - (y * i));
double tmp;
if (j <= -7.4e+80) {
tmp = t_1;
} else if (j <= 2.25e-166) {
tmp = (z * (x * y)) - (b * ((z * c) - (a * i)));
} else if (j <= 2.7e+43) {
tmp = a * ((b * i) - (x * t));
} else if (j <= 4.4e+81) {
tmp = y * ((x * z) - (i * j));
} else if (j <= 1.5e+123) {
tmp = t * ((c * j) - (x * a));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = j * ((t * c) - (y * i)) tmp = 0 if j <= -7.4e+80: tmp = t_1 elif j <= 2.25e-166: tmp = (z * (x * y)) - (b * ((z * c) - (a * i))) elif j <= 2.7e+43: tmp = a * ((b * i) - (x * t)) elif j <= 4.4e+81: tmp = y * ((x * z) - (i * j)) elif j <= 1.5e+123: tmp = t * ((c * j) - (x * a)) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(j * Float64(Float64(t * c) - Float64(y * i))) tmp = 0.0 if (j <= -7.4e+80) tmp = t_1; elseif (j <= 2.25e-166) tmp = Float64(Float64(z * Float64(x * y)) - Float64(b * Float64(Float64(z * c) - Float64(a * i)))); elseif (j <= 2.7e+43) tmp = Float64(a * Float64(Float64(b * i) - Float64(x * t))); elseif (j <= 4.4e+81) tmp = Float64(y * Float64(Float64(x * z) - Float64(i * j))); elseif (j <= 1.5e+123) tmp = Float64(t * Float64(Float64(c * j) - Float64(x * a))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = j * ((t * c) - (y * i)); tmp = 0.0; if (j <= -7.4e+80) tmp = t_1; elseif (j <= 2.25e-166) tmp = (z * (x * y)) - (b * ((z * c) - (a * i))); elseif (j <= 2.7e+43) tmp = a * ((b * i) - (x * t)); elseif (j <= 4.4e+81) tmp = y * ((x * z) - (i * j)); elseif (j <= 1.5e+123) tmp = t * ((c * j) - (x * a)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -7.4e+80], t$95$1, If[LessEqual[j, 2.25e-166], N[(N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision] - N[(b * N[(N[(z * c), $MachinePrecision] - N[(a * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 2.7e+43], N[(a * N[(N[(b * i), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 4.4e+81], N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.5e+123], N[(t * N[(N[(c * j), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(t \cdot c - y \cdot i\right)\\
\mathbf{if}\;j \leq -7.4 \cdot 10^{+80}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq 2.25 \cdot 10^{-166}:\\
\;\;\;\;z \cdot \left(x \cdot y\right) - b \cdot \left(z \cdot c - a \cdot i\right)\\
\mathbf{elif}\;j \leq 2.7 \cdot 10^{+43}:\\
\;\;\;\;a \cdot \left(b \cdot i - x \cdot t\right)\\
\mathbf{elif}\;j \leq 4.4 \cdot 10^{+81}:\\
\;\;\;\;y \cdot \left(x \cdot z - i \cdot j\right)\\
\mathbf{elif}\;j \leq 1.5 \cdot 10^{+123}:\\
\;\;\;\;t \cdot \left(c \cdot j - x \cdot a\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if j < -7.39999999999999992e80 or 1.50000000000000004e123 < j Initial program 69.2%
Taylor expanded in j around inf 67.9%
if -7.39999999999999992e80 < j < 2.2499999999999999e-166Initial program 74.9%
Taylor expanded in j around 0 74.4%
*-commutative74.4%
*-commutative74.4%
Simplified74.4%
Taylor expanded in t around 0 59.2%
associate-*r*65.4%
*-commutative65.4%
Simplified65.4%
if 2.2499999999999999e-166 < j < 2.7000000000000002e43Initial program 77.6%
Taylor expanded in a around inf 66.4%
distribute-lft-out--66.4%
*-commutative66.4%
Simplified66.4%
if 2.7000000000000002e43 < j < 4.39999999999999974e81Initial program 99.3%
Taylor expanded in y around -inf 78.3%
mul-1-neg78.3%
*-commutative78.3%
distribute-rgt-neg-in78.3%
+-commutative78.3%
mul-1-neg78.3%
unsub-neg78.3%
*-commutative78.3%
*-commutative78.3%
Simplified78.3%
if 4.39999999999999974e81 < j < 1.50000000000000004e123Initial program 44.3%
Taylor expanded in b around 0 66.7%
Taylor expanded in t around inf 78.5%
+-commutative78.5%
mul-1-neg78.5%
unsub-neg78.5%
*-commutative78.5%
Simplified78.5%
Final simplification67.3%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (+ (* x (- (* y z) (* t a))) (* j (- (* t c) (* y i))))))
(if (<= b -6e+99)
t_1
(if (<= b -7.5e+20)
(- (* z (* x y)) (* b (- (* z c) (* a i))))
(if (<= b 7e+102) t_1 (* b (- (* a i) (* z c))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = (x * ((y * z) - (t * a))) + (j * ((t * c) - (y * i)));
double tmp;
if (b <= -6e+99) {
tmp = t_1;
} else if (b <= -7.5e+20) {
tmp = (z * (x * y)) - (b * ((z * c) - (a * i)));
} else if (b <= 7e+102) {
tmp = t_1;
} else {
tmp = b * ((a * i) - (z * c));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: tmp
t_1 = (x * ((y * z) - (t * a))) + (j * ((t * c) - (y * i)))
if (b <= (-6d+99)) then
tmp = t_1
else if (b <= (-7.5d+20)) then
tmp = (z * (x * y)) - (b * ((z * c) - (a * i)))
else if (b <= 7d+102) then
tmp = t_1
else
tmp = b * ((a * i) - (z * c))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = (x * ((y * z) - (t * a))) + (j * ((t * c) - (y * i)));
double tmp;
if (b <= -6e+99) {
tmp = t_1;
} else if (b <= -7.5e+20) {
tmp = (z * (x * y)) - (b * ((z * c) - (a * i)));
} else if (b <= 7e+102) {
tmp = t_1;
} else {
tmp = b * ((a * i) - (z * c));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = (x * ((y * z) - (t * a))) + (j * ((t * c) - (y * i))) tmp = 0 if b <= -6e+99: tmp = t_1 elif b <= -7.5e+20: tmp = (z * (x * y)) - (b * ((z * c) - (a * i))) elif b <= 7e+102: tmp = t_1 else: tmp = b * ((a * i) - (z * c)) 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(j * Float64(Float64(t * c) - Float64(y * i)))) tmp = 0.0 if (b <= -6e+99) tmp = t_1; elseif (b <= -7.5e+20) tmp = Float64(Float64(z * Float64(x * y)) - Float64(b * Float64(Float64(z * c) - Float64(a * i)))); elseif (b <= 7e+102) tmp = t_1; else tmp = Float64(b * Float64(Float64(a * i) - Float64(z * c))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = (x * ((y * z) - (t * a))) + (j * ((t * c) - (y * i))); tmp = 0.0; if (b <= -6e+99) tmp = t_1; elseif (b <= -7.5e+20) tmp = (z * (x * y)) - (b * ((z * c) - (a * i))); elseif (b <= 7e+102) tmp = t_1; else tmp = b * ((a * i) - (z * c)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -6e+99], t$95$1, If[LessEqual[b, -7.5e+20], N[(N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision] - N[(b * N[(N[(z * c), $MachinePrecision] - N[(a * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 7e+102], t$95$1, N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(y \cdot z - t \cdot a\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\
\mathbf{if}\;b \leq -6 \cdot 10^{+99}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;b \leq -7.5 \cdot 10^{+20}:\\
\;\;\;\;z \cdot \left(x \cdot y\right) - b \cdot \left(z \cdot c - a \cdot i\right)\\
\mathbf{elif}\;b \leq 7 \cdot 10^{+102}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\
\end{array}
\end{array}
if b < -6.00000000000000029e99 or -7.5e20 < b < 7.00000000000000021e102Initial program 73.1%
Taylor expanded in b around 0 73.9%
if -6.00000000000000029e99 < b < -7.5e20Initial program 84.8%
Taylor expanded in j around 0 75.2%
*-commutative75.2%
*-commutative75.2%
Simplified75.2%
Taylor expanded in t around 0 75.3%
associate-*r*75.0%
*-commutative75.0%
Simplified75.0%
if 7.00000000000000021e102 < b Initial program 68.1%
Taylor expanded in b around inf 66.4%
*-commutative66.4%
Simplified66.4%
Final simplification72.8%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* b (- (* z c) (* a i))))
(t_2 (* j (- (* t c) (* y i))))
(t_3 (+ (* x (- (* y z) (* t a))) t_2)))
(if (<= b -3.9e+99)
t_3
(if (<= b -5.4e+20)
(- (* z (* x y)) t_1)
(if (<= b 1.52e+96) t_3 (- 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 * ((z * c) - (a * i));
double t_2 = j * ((t * c) - (y * i));
double t_3 = (x * ((y * z) - (t * a))) + t_2;
double tmp;
if (b <= -3.9e+99) {
tmp = t_3;
} else if (b <= -5.4e+20) {
tmp = (z * (x * y)) - t_1;
} else if (b <= 1.52e+96) {
tmp = t_3;
} else {
tmp = t_2 - 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 * ((z * c) - (a * i))
t_2 = j * ((t * c) - (y * i))
t_3 = (x * ((y * z) - (t * a))) + t_2
if (b <= (-3.9d+99)) then
tmp = t_3
else if (b <= (-5.4d+20)) then
tmp = (z * (x * y)) - t_1
else if (b <= 1.52d+96) then
tmp = t_3
else
tmp = t_2 - 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 * ((z * c) - (a * i));
double t_2 = j * ((t * c) - (y * i));
double t_3 = (x * ((y * z) - (t * a))) + t_2;
double tmp;
if (b <= -3.9e+99) {
tmp = t_3;
} else if (b <= -5.4e+20) {
tmp = (z * (x * y)) - t_1;
} else if (b <= 1.52e+96) {
tmp = t_3;
} else {
tmp = t_2 - t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = b * ((z * c) - (a * i)) t_2 = j * ((t * c) - (y * i)) t_3 = (x * ((y * z) - (t * a))) + t_2 tmp = 0 if b <= -3.9e+99: tmp = t_3 elif b <= -5.4e+20: tmp = (z * (x * y)) - t_1 elif b <= 1.52e+96: tmp = t_3 else: tmp = t_2 - t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(b * Float64(Float64(z * c) - Float64(a * i))) t_2 = Float64(j * Float64(Float64(t * c) - Float64(y * i))) t_3 = Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) + t_2) tmp = 0.0 if (b <= -3.9e+99) tmp = t_3; elseif (b <= -5.4e+20) tmp = Float64(Float64(z * Float64(x * y)) - t_1); elseif (b <= 1.52e+96) tmp = t_3; else tmp = Float64(t_2 - t_1); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = b * ((z * c) - (a * i)); t_2 = j * ((t * c) - (y * i)); t_3 = (x * ((y * z) - (t * a))) + t_2; tmp = 0.0; if (b <= -3.9e+99) tmp = t_3; elseif (b <= -5.4e+20) tmp = (z * (x * y)) - t_1; elseif (b <= 1.52e+96) tmp = t_3; else tmp = t_2 - t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(b * N[(N[(z * c), $MachinePrecision] - N[(a * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$2), $MachinePrecision]}, If[LessEqual[b, -3.9e+99], t$95$3, If[LessEqual[b, -5.4e+20], N[(N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision] - t$95$1), $MachinePrecision], If[LessEqual[b, 1.52e+96], t$95$3, N[(t$95$2 - t$95$1), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(z \cdot c - a \cdot i\right)\\
t_2 := j \cdot \left(t \cdot c - y \cdot i\right)\\
t_3 := x \cdot \left(y \cdot z - t \cdot a\right) + t\_2\\
\mathbf{if}\;b \leq -3.9 \cdot 10^{+99}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;b \leq -5.4 \cdot 10^{+20}:\\
\;\;\;\;z \cdot \left(x \cdot y\right) - t\_1\\
\mathbf{elif}\;b \leq 1.52 \cdot 10^{+96}:\\
\;\;\;\;t\_3\\
\mathbf{else}:\\
\;\;\;\;t\_2 - t\_1\\
\end{array}
\end{array}
if b < -3.89999999999999995e99 or -5.4e20 < b < 1.52e96Initial program 72.9%
Taylor expanded in b around 0 73.7%
if -3.89999999999999995e99 < b < -5.4e20Initial program 84.8%
Taylor expanded in j around 0 75.2%
*-commutative75.2%
*-commutative75.2%
Simplified75.2%
Taylor expanded in t around 0 75.3%
associate-*r*75.0%
*-commutative75.0%
Simplified75.0%
if 1.52e96 < b Initial program 69.5%
Taylor expanded in x around 0 69.7%
*-commutative69.7%
Simplified69.7%
Final simplification73.1%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* t (* c j))))
(if (<= j -3.2e-9)
t_1
(if (<= j 2.05e-250)
(* z (* x y))
(if (<= j 6e-202)
(* i (* a b))
(if (<= j 2.46e-14)
(* a (* t (- x)))
(if (<= j 7.6e+123) t_1 (* i (* y (- j))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = t * (c * j);
double tmp;
if (j <= -3.2e-9) {
tmp = t_1;
} else if (j <= 2.05e-250) {
tmp = z * (x * y);
} else if (j <= 6e-202) {
tmp = i * (a * b);
} else if (j <= 2.46e-14) {
tmp = a * (t * -x);
} else if (j <= 7.6e+123) {
tmp = t_1;
} else {
tmp = i * (y * -j);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: tmp
t_1 = t * (c * j)
if (j <= (-3.2d-9)) then
tmp = t_1
else if (j <= 2.05d-250) then
tmp = z * (x * y)
else if (j <= 6d-202) then
tmp = i * (a * b)
else if (j <= 2.46d-14) then
tmp = a * (t * -x)
else if (j <= 7.6d+123) then
tmp = t_1
else
tmp = i * (y * -j)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = t * (c * j);
double tmp;
if (j <= -3.2e-9) {
tmp = t_1;
} else if (j <= 2.05e-250) {
tmp = z * (x * y);
} else if (j <= 6e-202) {
tmp = i * (a * b);
} else if (j <= 2.46e-14) {
tmp = a * (t * -x);
} else if (j <= 7.6e+123) {
tmp = t_1;
} else {
tmp = i * (y * -j);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = t * (c * j) tmp = 0 if j <= -3.2e-9: tmp = t_1 elif j <= 2.05e-250: tmp = z * (x * y) elif j <= 6e-202: tmp = i * (a * b) elif j <= 2.46e-14: tmp = a * (t * -x) elif j <= 7.6e+123: tmp = t_1 else: tmp = i * (y * -j) return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(t * Float64(c * j)) tmp = 0.0 if (j <= -3.2e-9) tmp = t_1; elseif (j <= 2.05e-250) tmp = Float64(z * Float64(x * y)); elseif (j <= 6e-202) tmp = Float64(i * Float64(a * b)); elseif (j <= 2.46e-14) tmp = Float64(a * Float64(t * Float64(-x))); elseif (j <= 7.6e+123) tmp = t_1; else tmp = Float64(i * Float64(y * Float64(-j))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = t * (c * j); tmp = 0.0; if (j <= -3.2e-9) tmp = t_1; elseif (j <= 2.05e-250) tmp = z * (x * y); elseif (j <= 6e-202) tmp = i * (a * b); elseif (j <= 2.46e-14) tmp = a * (t * -x); elseif (j <= 7.6e+123) tmp = t_1; else tmp = i * (y * -j); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(t * N[(c * j), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -3.2e-9], t$95$1, If[LessEqual[j, 2.05e-250], N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 6e-202], N[(i * N[(a * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 2.46e-14], N[(a * N[(t * (-x)), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 7.6e+123], t$95$1, N[(i * N[(y * (-j)), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot \left(c \cdot j\right)\\
\mathbf{if}\;j \leq -3.2 \cdot 10^{-9}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq 2.05 \cdot 10^{-250}:\\
\;\;\;\;z \cdot \left(x \cdot y\right)\\
\mathbf{elif}\;j \leq 6 \cdot 10^{-202}:\\
\;\;\;\;i \cdot \left(a \cdot b\right)\\
\mathbf{elif}\;j \leq 2.46 \cdot 10^{-14}:\\
\;\;\;\;a \cdot \left(t \cdot \left(-x\right)\right)\\
\mathbf{elif}\;j \leq 7.6 \cdot 10^{+123}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(y \cdot \left(-j\right)\right)\\
\end{array}
\end{array}
if j < -3.20000000000000012e-9 or 2.46000000000000006e-14 < j < 7.59999999999999989e123Initial program 71.5%
Taylor expanded in b around 0 68.5%
Taylor expanded in c around inf 37.4%
*-commutative37.4%
*-commutative37.4%
associate-*r*40.5%
Simplified40.5%
if -3.20000000000000012e-9 < j < 2.05000000000000008e-250Initial program 72.1%
Taylor expanded in j around 0 72.4%
*-commutative72.4%
*-commutative72.4%
Simplified72.4%
Taylor expanded in y around inf 34.4%
associate-*r*41.2%
*-commutative41.2%
Simplified41.2%
if 2.05000000000000008e-250 < j < 6.00000000000000022e-202Initial program 80.3%
Taylor expanded in b around inf 68.0%
*-commutative68.0%
Simplified68.0%
Taylor expanded in i around inf 35.1%
associate-*r*45.5%
Simplified45.5%
if 6.00000000000000022e-202 < j < 2.46000000000000006e-14Initial program 82.9%
Taylor expanded in x around inf 51.0%
*-commutative51.0%
Simplified51.0%
Taylor expanded in y around 0 45.3%
mul-1-neg45.3%
Simplified45.3%
if 7.59999999999999989e123 < j Initial program 67.8%
Taylor expanded in b around 0 77.3%
Taylor expanded in i around inf 51.4%
associate-*r*51.4%
neg-mul-151.4%
Simplified51.4%
Final simplification43.1%
(FPCore (x y z t a b c i j)
:precision binary64
(if (<= a -7e+256)
(* x (* t (- a)))
(if (<= a -1.8e+49)
(* b (- (* a i) (* z c)))
(if (<= a 6.2e-187)
(* c (- (* t j) (* z b)))
(if (<= a 7.2e-120)
(* y (* x z))
(if (<= a 3100000.0) (* i (* y (- j))) (* a (* t (- x)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (a <= -7e+256) {
tmp = x * (t * -a);
} else if (a <= -1.8e+49) {
tmp = b * ((a * i) - (z * c));
} else if (a <= 6.2e-187) {
tmp = c * ((t * j) - (z * b));
} else if (a <= 7.2e-120) {
tmp = y * (x * z);
} else if (a <= 3100000.0) {
tmp = i * (y * -j);
} else {
tmp = a * (t * -x);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: tmp
if (a <= (-7d+256)) then
tmp = x * (t * -a)
else if (a <= (-1.8d+49)) then
tmp = b * ((a * i) - (z * c))
else if (a <= 6.2d-187) then
tmp = c * ((t * j) - (z * b))
else if (a <= 7.2d-120) then
tmp = y * (x * z)
else if (a <= 3100000.0d0) then
tmp = i * (y * -j)
else
tmp = a * (t * -x)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (a <= -7e+256) {
tmp = x * (t * -a);
} else if (a <= -1.8e+49) {
tmp = b * ((a * i) - (z * c));
} else if (a <= 6.2e-187) {
tmp = c * ((t * j) - (z * b));
} else if (a <= 7.2e-120) {
tmp = y * (x * z);
} else if (a <= 3100000.0) {
tmp = i * (y * -j);
} else {
tmp = a * (t * -x);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if a <= -7e+256: tmp = x * (t * -a) elif a <= -1.8e+49: tmp = b * ((a * i) - (z * c)) elif a <= 6.2e-187: tmp = c * ((t * j) - (z * b)) elif a <= 7.2e-120: tmp = y * (x * z) elif a <= 3100000.0: tmp = i * (y * -j) else: tmp = a * (t * -x) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (a <= -7e+256) tmp = Float64(x * Float64(t * Float64(-a))); elseif (a <= -1.8e+49) tmp = Float64(b * Float64(Float64(a * i) - Float64(z * c))); elseif (a <= 6.2e-187) tmp = Float64(c * Float64(Float64(t * j) - Float64(z * b))); elseif (a <= 7.2e-120) tmp = Float64(y * Float64(x * z)); elseif (a <= 3100000.0) tmp = Float64(i * Float64(y * Float64(-j))); else tmp = Float64(a * Float64(t * Float64(-x))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if (a <= -7e+256) tmp = x * (t * -a); elseif (a <= -1.8e+49) tmp = b * ((a * i) - (z * c)); elseif (a <= 6.2e-187) tmp = c * ((t * j) - (z * b)); elseif (a <= 7.2e-120) tmp = y * (x * z); elseif (a <= 3100000.0) tmp = i * (y * -j); else tmp = a * (t * -x); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[a, -7e+256], N[(x * N[(t * (-a)), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.8e+49], N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 6.2e-187], N[(c * N[(N[(t * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 7.2e-120], N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 3100000.0], N[(i * N[(y * (-j)), $MachinePrecision]), $MachinePrecision], N[(a * N[(t * (-x)), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -7 \cdot 10^{+256}:\\
\;\;\;\;x \cdot \left(t \cdot \left(-a\right)\right)\\
\mathbf{elif}\;a \leq -1.8 \cdot 10^{+49}:\\
\;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\
\mathbf{elif}\;a \leq 6.2 \cdot 10^{-187}:\\
\;\;\;\;c \cdot \left(t \cdot j - z \cdot b\right)\\
\mathbf{elif}\;a \leq 7.2 \cdot 10^{-120}:\\
\;\;\;\;y \cdot \left(x \cdot z\right)\\
\mathbf{elif}\;a \leq 3100000:\\
\;\;\;\;i \cdot \left(y \cdot \left(-j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(t \cdot \left(-x\right)\right)\\
\end{array}
\end{array}
if a < -6.9999999999999995e256Initial program 55.1%
Taylor expanded in x around inf 74.0%
*-commutative74.0%
Simplified74.0%
Taylor expanded in y around 0 64.5%
mul-1-neg64.5%
associate-*r*73.5%
distribute-rgt-neg-in73.5%
*-commutative73.5%
Simplified73.5%
if -6.9999999999999995e256 < a < -1.79999999999999998e49Initial program 72.2%
Taylor expanded in b around inf 54.1%
*-commutative54.1%
Simplified54.1%
if -1.79999999999999998e49 < a < 6.20000000000000039e-187Initial program 82.8%
Taylor expanded in c around inf 53.5%
if 6.20000000000000039e-187 < a < 7.2000000000000005e-120Initial program 62.6%
Taylor expanded in x around inf 51.0%
*-commutative51.0%
Simplified51.0%
Taylor expanded in y around inf 50.6%
*-commutative50.6%
associate-*r*56.7%
Simplified56.7%
if 7.2000000000000005e-120 < a < 3.1e6Initial program 79.4%
Taylor expanded in b around 0 75.7%
Taylor expanded in i around inf 40.1%
associate-*r*40.1%
neg-mul-140.1%
Simplified40.1%
if 3.1e6 < a Initial program 64.0%
Taylor expanded in x around inf 49.8%
*-commutative49.8%
Simplified49.8%
Taylor expanded in y around 0 37.8%
mul-1-neg37.8%
Simplified37.8%
Final simplification49.4%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* b (- (* a i) (* z c)))))
(if (<= x -38000000000.0)
(* z (* x y))
(if (<= x 1.02e-282)
t_1
(if (<= x 4.1e-196)
(* i (* y (- j)))
(if (<= x 5e+138) t_1 (* a (* t (- x)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = b * ((a * i) - (z * c));
double tmp;
if (x <= -38000000000.0) {
tmp = z * (x * y);
} else if (x <= 1.02e-282) {
tmp = t_1;
} else if (x <= 4.1e-196) {
tmp = i * (y * -j);
} else if (x <= 5e+138) {
tmp = t_1;
} else {
tmp = a * (t * -x);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: tmp
t_1 = b * ((a * i) - (z * c))
if (x <= (-38000000000.0d0)) then
tmp = z * (x * y)
else if (x <= 1.02d-282) then
tmp = t_1
else if (x <= 4.1d-196) then
tmp = i * (y * -j)
else if (x <= 5d+138) then
tmp = t_1
else
tmp = a * (t * -x)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = b * ((a * i) - (z * c));
double tmp;
if (x <= -38000000000.0) {
tmp = z * (x * y);
} else if (x <= 1.02e-282) {
tmp = t_1;
} else if (x <= 4.1e-196) {
tmp = i * (y * -j);
} else if (x <= 5e+138) {
tmp = t_1;
} else {
tmp = a * (t * -x);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = b * ((a * i) - (z * c)) tmp = 0 if x <= -38000000000.0: tmp = z * (x * y) elif x <= 1.02e-282: tmp = t_1 elif x <= 4.1e-196: tmp = i * (y * -j) elif x <= 5e+138: tmp = t_1 else: tmp = a * (t * -x) return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(b * Float64(Float64(a * i) - Float64(z * c))) tmp = 0.0 if (x <= -38000000000.0) tmp = Float64(z * Float64(x * y)); elseif (x <= 1.02e-282) tmp = t_1; elseif (x <= 4.1e-196) tmp = Float64(i * Float64(y * Float64(-j))); elseif (x <= 5e+138) tmp = t_1; else tmp = Float64(a * Float64(t * Float64(-x))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = b * ((a * i) - (z * c)); tmp = 0.0; if (x <= -38000000000.0) tmp = z * (x * y); elseif (x <= 1.02e-282) tmp = t_1; elseif (x <= 4.1e-196) tmp = i * (y * -j); elseif (x <= 5e+138) tmp = t_1; else tmp = a * (t * -x); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -38000000000.0], N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.02e-282], t$95$1, If[LessEqual[x, 4.1e-196], N[(i * N[(y * (-j)), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 5e+138], t$95$1, N[(a * N[(t * (-x)), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(a \cdot i - z \cdot c\right)\\
\mathbf{if}\;x \leq -38000000000:\\
\;\;\;\;z \cdot \left(x \cdot y\right)\\
\mathbf{elif}\;x \leq 1.02 \cdot 10^{-282}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;x \leq 4.1 \cdot 10^{-196}:\\
\;\;\;\;i \cdot \left(y \cdot \left(-j\right)\right)\\
\mathbf{elif}\;x \leq 5 \cdot 10^{+138}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(t \cdot \left(-x\right)\right)\\
\end{array}
\end{array}
if x < -3.8e10Initial program 74.9%
Taylor expanded in j around 0 68.0%
*-commutative68.0%
*-commutative68.0%
Simplified68.0%
Taylor expanded in y around inf 39.0%
associate-*r*44.6%
*-commutative44.6%
Simplified44.6%
if -3.8e10 < x < 1.02e-282 or 4.10000000000000021e-196 < x < 5.00000000000000016e138Initial program 72.6%
Taylor expanded in b around inf 41.2%
*-commutative41.2%
Simplified41.2%
if 1.02e-282 < x < 4.10000000000000021e-196Initial program 70.3%
Taylor expanded in b around 0 77.3%
Taylor expanded in i around inf 54.7%
associate-*r*54.7%
neg-mul-154.7%
Simplified54.7%
if 5.00000000000000016e138 < x Initial program 74.1%
Taylor expanded in x around inf 77.1%
*-commutative77.1%
Simplified77.1%
Taylor expanded in y around 0 58.0%
mul-1-neg58.0%
Simplified58.0%
Final simplification45.3%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* t (* c j))))
(if (<= j -7.6e-9)
t_1
(if (<= j 1.5e-250)
(* z (* x y))
(if (<= j 8e-202)
(* i (* a b))
(if (<= j 2.46e-14) (* a (* t (- x))) t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = t * (c * j);
double tmp;
if (j <= -7.6e-9) {
tmp = t_1;
} else if (j <= 1.5e-250) {
tmp = z * (x * y);
} else if (j <= 8e-202) {
tmp = i * (a * b);
} else if (j <= 2.46e-14) {
tmp = a * (t * -x);
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: tmp
t_1 = t * (c * j)
if (j <= (-7.6d-9)) then
tmp = t_1
else if (j <= 1.5d-250) then
tmp = z * (x * y)
else if (j <= 8d-202) then
tmp = i * (a * b)
else if (j <= 2.46d-14) then
tmp = a * (t * -x)
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = t * (c * j);
double tmp;
if (j <= -7.6e-9) {
tmp = t_1;
} else if (j <= 1.5e-250) {
tmp = z * (x * y);
} else if (j <= 8e-202) {
tmp = i * (a * b);
} else if (j <= 2.46e-14) {
tmp = a * (t * -x);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = t * (c * j) tmp = 0 if j <= -7.6e-9: tmp = t_1 elif j <= 1.5e-250: tmp = z * (x * y) elif j <= 8e-202: tmp = i * (a * b) elif j <= 2.46e-14: tmp = a * (t * -x) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(t * Float64(c * j)) tmp = 0.0 if (j <= -7.6e-9) tmp = t_1; elseif (j <= 1.5e-250) tmp = Float64(z * Float64(x * y)); elseif (j <= 8e-202) tmp = Float64(i * Float64(a * b)); elseif (j <= 2.46e-14) tmp = Float64(a * Float64(t * Float64(-x))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = t * (c * j); tmp = 0.0; if (j <= -7.6e-9) tmp = t_1; elseif (j <= 1.5e-250) tmp = z * (x * y); elseif (j <= 8e-202) tmp = i * (a * b); elseif (j <= 2.46e-14) tmp = a * (t * -x); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(t * N[(c * j), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -7.6e-9], t$95$1, If[LessEqual[j, 1.5e-250], N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 8e-202], N[(i * N[(a * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 2.46e-14], N[(a * N[(t * (-x)), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot \left(c \cdot j\right)\\
\mathbf{if}\;j \leq -7.6 \cdot 10^{-9}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq 1.5 \cdot 10^{-250}:\\
\;\;\;\;z \cdot \left(x \cdot y\right)\\
\mathbf{elif}\;j \leq 8 \cdot 10^{-202}:\\
\;\;\;\;i \cdot \left(a \cdot b\right)\\
\mathbf{elif}\;j \leq 2.46 \cdot 10^{-14}:\\
\;\;\;\;a \cdot \left(t \cdot \left(-x\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if j < -7.60000000000000023e-9 or 2.46000000000000006e-14 < j Initial program 70.5%
Taylor expanded in b around 0 70.9%
Taylor expanded in c around inf 35.5%
*-commutative35.5%
*-commutative35.5%
associate-*r*38.6%
Simplified38.6%
if -7.60000000000000023e-9 < j < 1.50000000000000008e-250Initial program 72.1%
Taylor expanded in j around 0 72.4%
*-commutative72.4%
*-commutative72.4%
Simplified72.4%
Taylor expanded in y around inf 34.4%
associate-*r*41.2%
*-commutative41.2%
Simplified41.2%
if 1.50000000000000008e-250 < j < 8.0000000000000003e-202Initial program 80.3%
Taylor expanded in b around inf 68.0%
*-commutative68.0%
Simplified68.0%
Taylor expanded in i around inf 35.1%
associate-*r*45.5%
Simplified45.5%
if 8.0000000000000003e-202 < j < 2.46000000000000006e-14Initial program 82.9%
Taylor expanded in x around inf 51.0%
*-commutative51.0%
Simplified51.0%
Taylor expanded in y around 0 45.3%
mul-1-neg45.3%
Simplified45.3%
Final simplification40.8%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* x (* y z))) (t_2 (* t (* c j))))
(if (<= c -2.5e+125)
t_2
(if (<= c -8.5e-25)
t_1
(if (<= c -2.7e-308) (* b (* a i)) (if (<= c 4.2e+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);
double t_2 = t * (c * j);
double tmp;
if (c <= -2.5e+125) {
tmp = t_2;
} else if (c <= -8.5e-25) {
tmp = t_1;
} else if (c <= -2.7e-308) {
tmp = b * (a * i);
} else if (c <= 4.2e+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_2 = t * (c * j)
if (c <= (-2.5d+125)) then
tmp = t_2
else if (c <= (-8.5d-25)) then
tmp = t_1
else if (c <= (-2.7d-308)) then
tmp = b * (a * i)
else if (c <= 4.2d+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);
double t_2 = t * (c * j);
double tmp;
if (c <= -2.5e+125) {
tmp = t_2;
} else if (c <= -8.5e-25) {
tmp = t_1;
} else if (c <= -2.7e-308) {
tmp = b * (a * i);
} else if (c <= 4.2e+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_2 = t * (c * j) tmp = 0 if c <= -2.5e+125: tmp = t_2 elif c <= -8.5e-25: tmp = t_1 elif c <= -2.7e-308: tmp = b * (a * i) elif c <= 4.2e+71: tmp = t_1 else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(x * Float64(y * z)) t_2 = Float64(t * Float64(c * j)) tmp = 0.0 if (c <= -2.5e+125) tmp = t_2; elseif (c <= -8.5e-25) tmp = t_1; elseif (c <= -2.7e-308) tmp = Float64(b * Float64(a * i)); elseif (c <= 4.2e+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_2 = t * (c * j); tmp = 0.0; if (c <= -2.5e+125) tmp = t_2; elseif (c <= -8.5e-25) tmp = t_1; elseif (c <= -2.7e-308) tmp = b * (a * i); elseif (c <= 4.2e+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[(x * N[(y * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(t * N[(c * j), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -2.5e+125], t$95$2, If[LessEqual[c, -8.5e-25], t$95$1, If[LessEqual[c, -2.7e-308], N[(b * N[(a * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 4.2e+71], t$95$1, t$95$2]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(y \cdot z\right)\\
t_2 := t \cdot \left(c \cdot j\right)\\
\mathbf{if}\;c \leq -2.5 \cdot 10^{+125}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;c \leq -8.5 \cdot 10^{-25}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;c \leq -2.7 \cdot 10^{-308}:\\
\;\;\;\;b \cdot \left(a \cdot i\right)\\
\mathbf{elif}\;c \leq 4.2 \cdot 10^{+71}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if c < -2.49999999999999981e125 or 4.19999999999999978e71 < c Initial program 67.5%
Taylor expanded in b around 0 65.5%
Taylor expanded in c around inf 45.5%
*-commutative45.5%
*-commutative45.5%
associate-*r*52.9%
Simplified52.9%
if -2.49999999999999981e125 < c < -8.49999999999999981e-25 or -2.70000000000000015e-308 < c < 4.19999999999999978e71Initial program 77.7%
Taylor expanded in x around inf 51.0%
*-commutative51.0%
Simplified51.0%
Taylor expanded in y around inf 32.8%
if -8.49999999999999981e-25 < c < -2.70000000000000015e-308Initial program 73.0%
Taylor expanded in b around inf 31.1%
*-commutative31.1%
Simplified31.1%
Taylor expanded in i around inf 23.8%
*-commutative23.8%
associate-*l*24.3%
*-commutative24.3%
Simplified24.3%
Final simplification36.6%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* t (* c j))))
(if (<= c -2.7e+125)
t_1
(if (<= c -3.5e-127)
(* y (* x z))
(if (<= c 1.7e-306)
(* b (* a i))
(if (<= c 1.7e+72) (* x (* y z)) t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = t * (c * j);
double tmp;
if (c <= -2.7e+125) {
tmp = t_1;
} else if (c <= -3.5e-127) {
tmp = y * (x * z);
} else if (c <= 1.7e-306) {
tmp = b * (a * i);
} else if (c <= 1.7e+72) {
tmp = x * (y * z);
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: tmp
t_1 = t * (c * j)
if (c <= (-2.7d+125)) then
tmp = t_1
else if (c <= (-3.5d-127)) then
tmp = y * (x * z)
else if (c <= 1.7d-306) then
tmp = b * (a * i)
else if (c <= 1.7d+72) then
tmp = x * (y * z)
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = t * (c * j);
double tmp;
if (c <= -2.7e+125) {
tmp = t_1;
} else if (c <= -3.5e-127) {
tmp = y * (x * z);
} else if (c <= 1.7e-306) {
tmp = b * (a * i);
} else if (c <= 1.7e+72) {
tmp = x * (y * z);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = t * (c * j) tmp = 0 if c <= -2.7e+125: tmp = t_1 elif c <= -3.5e-127: tmp = y * (x * z) elif c <= 1.7e-306: tmp = b * (a * i) elif c <= 1.7e+72: tmp = x * (y * z) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(t * Float64(c * j)) tmp = 0.0 if (c <= -2.7e+125) tmp = t_1; elseif (c <= -3.5e-127) tmp = Float64(y * Float64(x * z)); elseif (c <= 1.7e-306) tmp = Float64(b * Float64(a * i)); elseif (c <= 1.7e+72) tmp = Float64(x * Float64(y * z)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = t * (c * j); tmp = 0.0; if (c <= -2.7e+125) tmp = t_1; elseif (c <= -3.5e-127) tmp = y * (x * z); elseif (c <= 1.7e-306) tmp = b * (a * i); elseif (c <= 1.7e+72) tmp = x * (y * z); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(t * N[(c * j), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -2.7e+125], t$95$1, If[LessEqual[c, -3.5e-127], N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.7e-306], N[(b * N[(a * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.7e+72], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot \left(c \cdot j\right)\\
\mathbf{if}\;c \leq -2.7 \cdot 10^{+125}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;c \leq -3.5 \cdot 10^{-127}:\\
\;\;\;\;y \cdot \left(x \cdot z\right)\\
\mathbf{elif}\;c \leq 1.7 \cdot 10^{-306}:\\
\;\;\;\;b \cdot \left(a \cdot i\right)\\
\mathbf{elif}\;c \leq 1.7 \cdot 10^{+72}:\\
\;\;\;\;x \cdot \left(y \cdot z\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if c < -2.6999999999999999e125 or 1.6999999999999999e72 < c Initial program 67.5%
Taylor expanded in b around 0 65.5%
Taylor expanded in c around inf 45.5%
*-commutative45.5%
*-commutative45.5%
associate-*r*52.9%
Simplified52.9%
if -2.6999999999999999e125 < c < -3.49999999999999989e-127Initial program 74.3%
Taylor expanded in x around inf 44.3%
*-commutative44.3%
Simplified44.3%
Taylor expanded in y around inf 26.9%
*-commutative26.9%
associate-*r*33.4%
Simplified33.4%
if -3.49999999999999989e-127 < c < 1.6999999999999999e-306Initial program 75.9%
Taylor expanded in b around inf 31.0%
*-commutative31.0%
Simplified31.0%
Taylor expanded in i around inf 24.4%
*-commutative24.4%
associate-*l*26.9%
*-commutative26.9%
Simplified26.9%
if 1.6999999999999999e-306 < c < 1.6999999999999999e72Initial program 77.0%
Taylor expanded in x around inf 52.6%
*-commutative52.6%
Simplified52.6%
Taylor expanded in y around inf 31.6%
Final simplification37.7%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* t (* c j))))
(if (<= j -3.3e-9)
t_1
(if (<= j 1.45e-250)
(* z (* x y))
(if (<= j 2.46e-14) (* i (* a b)) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = t * (c * j);
double tmp;
if (j <= -3.3e-9) {
tmp = t_1;
} else if (j <= 1.45e-250) {
tmp = z * (x * y);
} else if (j <= 2.46e-14) {
tmp = i * (a * b);
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: tmp
t_1 = t * (c * j)
if (j <= (-3.3d-9)) then
tmp = t_1
else if (j <= 1.45d-250) then
tmp = z * (x * y)
else if (j <= 2.46d-14) then
tmp = i * (a * b)
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = t * (c * j);
double tmp;
if (j <= -3.3e-9) {
tmp = t_1;
} else if (j <= 1.45e-250) {
tmp = z * (x * y);
} else if (j <= 2.46e-14) {
tmp = i * (a * b);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = t * (c * j) tmp = 0 if j <= -3.3e-9: tmp = t_1 elif j <= 1.45e-250: tmp = z * (x * y) elif j <= 2.46e-14: tmp = i * (a * b) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(t * Float64(c * j)) tmp = 0.0 if (j <= -3.3e-9) tmp = t_1; elseif (j <= 1.45e-250) tmp = Float64(z * Float64(x * y)); elseif (j <= 2.46e-14) tmp = Float64(i * Float64(a * b)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = t * (c * j); tmp = 0.0; if (j <= -3.3e-9) tmp = t_1; elseif (j <= 1.45e-250) tmp = z * (x * y); elseif (j <= 2.46e-14) tmp = i * (a * b); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(t * N[(c * j), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -3.3e-9], t$95$1, If[LessEqual[j, 1.45e-250], N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 2.46e-14], N[(i * N[(a * b), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot \left(c \cdot j\right)\\
\mathbf{if}\;j \leq -3.3 \cdot 10^{-9}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq 1.45 \cdot 10^{-250}:\\
\;\;\;\;z \cdot \left(x \cdot y\right)\\
\mathbf{elif}\;j \leq 2.46 \cdot 10^{-14}:\\
\;\;\;\;i \cdot \left(a \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if j < -3.30000000000000018e-9 or 2.46000000000000006e-14 < j Initial program 70.5%
Taylor expanded in b around 0 70.9%
Taylor expanded in c around inf 35.5%
*-commutative35.5%
*-commutative35.5%
associate-*r*38.6%
Simplified38.6%
if -3.30000000000000018e-9 < j < 1.4500000000000001e-250Initial program 72.1%
Taylor expanded in j around 0 72.4%
*-commutative72.4%
*-commutative72.4%
Simplified72.4%
Taylor expanded in y around inf 34.4%
associate-*r*41.2%
*-commutative41.2%
Simplified41.2%
if 1.4500000000000001e-250 < j < 2.46000000000000006e-14Initial program 82.1%
Taylor expanded in b around inf 42.5%
*-commutative42.5%
Simplified42.5%
Taylor expanded in i around inf 28.2%
associate-*r*33.3%
Simplified33.3%
Final simplification38.5%
(FPCore (x y z t a b c i j) :precision binary64 (if (or (<= a -2.3e+46) (not (<= a 2.6e+76))) (* b (* a i)) (* c (* t j))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if ((a <= -2.3e+46) || !(a <= 2.6e+76)) {
tmp = b * (a * i);
} else {
tmp = c * (t * j);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: tmp
if ((a <= (-2.3d+46)) .or. (.not. (a <= 2.6d+76))) then
tmp = b * (a * i)
else
tmp = c * (t * j)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if ((a <= -2.3e+46) || !(a <= 2.6e+76)) {
tmp = b * (a * i);
} else {
tmp = c * (t * j);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if (a <= -2.3e+46) or not (a <= 2.6e+76): tmp = b * (a * i) else: tmp = c * (t * j) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if ((a <= -2.3e+46) || !(a <= 2.6e+76)) tmp = Float64(b * Float64(a * i)); else tmp = Float64(c * Float64(t * j)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if ((a <= -2.3e+46) || ~((a <= 2.6e+76))) tmp = b * (a * i); else tmp = c * (t * j); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[Or[LessEqual[a, -2.3e+46], N[Not[LessEqual[a, 2.6e+76]], $MachinePrecision]], N[(b * N[(a * i), $MachinePrecision]), $MachinePrecision], N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -2.3 \cdot 10^{+46} \lor \neg \left(a \leq 2.6 \cdot 10^{+76}\right):\\
\;\;\;\;b \cdot \left(a \cdot i\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(t \cdot j\right)\\
\end{array}
\end{array}
if a < -2.3000000000000001e46 or 2.5999999999999999e76 < a Initial program 66.2%
Taylor expanded in b around inf 40.3%
*-commutative40.3%
Simplified40.3%
Taylor expanded in i around inf 31.2%
*-commutative31.2%
associate-*l*35.0%
*-commutative35.0%
Simplified35.0%
if -2.3000000000000001e46 < a < 2.5999999999999999e76Initial program 78.5%
Taylor expanded in b around 0 72.4%
Taylor expanded in c around inf 29.1%
Final simplification31.6%
(FPCore (x y z t a b c i j) :precision binary64 (if (or (<= a -1.1e+49) (not (<= a 1.7e+76))) (* b (* a i)) (* t (* c j))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if ((a <= -1.1e+49) || !(a <= 1.7e+76)) {
tmp = b * (a * i);
} else {
tmp = t * (c * j);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: tmp
if ((a <= (-1.1d+49)) .or. (.not. (a <= 1.7d+76))) then
tmp = b * (a * i)
else
tmp = t * (c * j)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if ((a <= -1.1e+49) || !(a <= 1.7e+76)) {
tmp = b * (a * i);
} else {
tmp = t * (c * j);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if (a <= -1.1e+49) or not (a <= 1.7e+76): tmp = b * (a * i) else: tmp = t * (c * j) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if ((a <= -1.1e+49) || !(a <= 1.7e+76)) tmp = Float64(b * Float64(a * i)); else tmp = Float64(t * Float64(c * j)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if ((a <= -1.1e+49) || ~((a <= 1.7e+76))) tmp = b * (a * i); else tmp = t * (c * j); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[Or[LessEqual[a, -1.1e+49], N[Not[LessEqual[a, 1.7e+76]], $MachinePrecision]], N[(b * N[(a * i), $MachinePrecision]), $MachinePrecision], N[(t * N[(c * j), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -1.1 \cdot 10^{+49} \lor \neg \left(a \leq 1.7 \cdot 10^{+76}\right):\\
\;\;\;\;b \cdot \left(a \cdot i\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(c \cdot j\right)\\
\end{array}
\end{array}
if a < -1.1e49 or 1.6999999999999999e76 < a Initial program 66.2%
Taylor expanded in b around inf 40.3%
*-commutative40.3%
Simplified40.3%
Taylor expanded in i around inf 31.2%
*-commutative31.2%
associate-*l*35.0%
*-commutative35.0%
Simplified35.0%
if -1.1e49 < a < 1.6999999999999999e76Initial program 78.5%
Taylor expanded in b around 0 72.4%
Taylor expanded in c around inf 29.1%
*-commutative29.1%
*-commutative29.1%
associate-*r*31.0%
Simplified31.0%
Final simplification32.7%
(FPCore (x y z t a b c i j) :precision binary64 (if (or (<= c -3.2e+125) (not (<= c 9.6e+112))) (* t (* c j)) (* z (* x y))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if ((c <= -3.2e+125) || !(c <= 9.6e+112)) {
tmp = t * (c * j);
} else {
tmp = z * (x * y);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: tmp
if ((c <= (-3.2d+125)) .or. (.not. (c <= 9.6d+112))) then
tmp = t * (c * j)
else
tmp = z * (x * y)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if ((c <= -3.2e+125) || !(c <= 9.6e+112)) {
tmp = t * (c * j);
} else {
tmp = z * (x * y);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if (c <= -3.2e+125) or not (c <= 9.6e+112): tmp = t * (c * j) else: tmp = z * (x * y) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if ((c <= -3.2e+125) || !(c <= 9.6e+112)) tmp = Float64(t * Float64(c * j)); else tmp = Float64(z * Float64(x * y)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if ((c <= -3.2e+125) || ~((c <= 9.6e+112))) tmp = t * (c * j); else tmp = z * (x * y); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[Or[LessEqual[c, -3.2e+125], N[Not[LessEqual[c, 9.6e+112]], $MachinePrecision]], N[(t * N[(c * j), $MachinePrecision]), $MachinePrecision], N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;c \leq -3.2 \cdot 10^{+125} \lor \neg \left(c \leq 9.6 \cdot 10^{+112}\right):\\
\;\;\;\;t \cdot \left(c \cdot j\right)\\
\mathbf{else}:\\
\;\;\;\;z \cdot \left(x \cdot y\right)\\
\end{array}
\end{array}
if c < -3.19999999999999983e125 or 9.6e112 < c Initial program 67.5%
Taylor expanded in b around 0 68.0%
Taylor expanded in c around inf 47.7%
*-commutative47.7%
*-commutative47.7%
associate-*r*54.4%
Simplified54.4%
if -3.19999999999999983e125 < c < 9.6e112Initial program 75.5%
Taylor expanded in j around 0 63.8%
*-commutative63.8%
*-commutative63.8%
Simplified63.8%
Taylor expanded in y around inf 25.7%
associate-*r*28.8%
*-commutative28.8%
Simplified28.8%
Final simplification36.1%
(FPCore (x y z t a b c i j) :precision binary64 (* a (* b i)))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
return a * (b * i);
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
code = a * (b * i)
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
return a * (b * i);
}
def code(x, y, z, t, a, b, c, i, j): return a * (b * i)
function code(x, y, z, t, a, b, c, i, j) return Float64(a * Float64(b * i)) end
function tmp = code(x, y, z, t, a, b, c, i, j) tmp = a * (b * i); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
a \cdot \left(b \cdot i\right)
\end{array}
Initial program 73.2%
Taylor expanded in b around inf 31.7%
*-commutative31.7%
Simplified31.7%
Taylor expanded in i around inf 18.5%
Final simplification18.5%
(FPCore (x y z t a b c i j) :precision binary64 (* b (* a i)))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
return b * (a * i);
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
code = b * (a * i)
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
return b * (a * i);
}
def code(x, y, z, t, a, b, c, i, j): return b * (a * i)
function code(x, y, z, t, a, b, c, i, j) return Float64(b * Float64(a * i)) end
function tmp = code(x, y, z, t, a, b, c, i, j) tmp = b * (a * i); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := N[(b * N[(a * i), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
b \cdot \left(a \cdot i\right)
\end{array}
Initial program 73.2%
Taylor expanded in b around inf 31.7%
*-commutative31.7%
Simplified31.7%
Taylor expanded in i around inf 18.5%
*-commutative18.5%
associate-*l*19.2%
*-commutative19.2%
Simplified19.2%
Final simplification19.2%
(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 2024046
(FPCore (x y z t a b c i j)
:name "Linear.Matrix:det33 from linear-1.19.1.3"
:precision binary64
:alt
(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)))))