
(FPCore (x y z t a b c i j) :precision binary64 (+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* t i)))) (* j (- (* c a) (* y i)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)));
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
code = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)));
}
def code(x, y, z, t, a, b, c, i, j): return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)))
function code(x, y, z, t, a, b, c, i, j) return Float64(Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) - Float64(b * Float64(Float64(c * z) - Float64(t * i)))) + Float64(j * Float64(Float64(c * a) - Float64(y * i)))) end
function tmp = code(x, y, z, t, a, b, c, i, j) tmp = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i))); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := N[(N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(N[(c * z), $MachinePrecision] - N[(t * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(c * a), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 22 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a b c i j) :precision binary64 (+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* t i)))) (* j (- (* c a) (* y i)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)));
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
code = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)));
}
def code(x, y, z, t, a, b, c, i, j): return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)))
function code(x, y, z, t, a, b, c, i, j) return Float64(Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) - Float64(b * Float64(Float64(c * z) - Float64(t * i)))) + Float64(j * Float64(Float64(c * a) - Float64(y * i)))) end
function tmp = code(x, y, z, t, a, b, c, i, j) tmp = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i))); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := N[(N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(N[(c * z), $MachinePrecision] - N[(t * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(c * a), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)
\end{array}
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1
(+
(* j (- (* a c) (* y i)))
(+ (* x (- (* y z) (* t a))) (* b (- (* t i) (* z c)))))))
(if (<= t_1 INFINITY) t_1 (* y (* j (- (* x (/ z j)) i))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = (j * ((a * c) - (y * i))) + ((x * ((y * z) - (t * a))) + (b * ((t * i) - (z * c))));
double tmp;
if (t_1 <= ((double) INFINITY)) {
tmp = t_1;
} else {
tmp = y * (j * ((x * (z / j)) - i));
}
return tmp;
}
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = (j * ((a * c) - (y * i))) + ((x * ((y * z) - (t * a))) + (b * ((t * i) - (z * c))));
double tmp;
if (t_1 <= Double.POSITIVE_INFINITY) {
tmp = t_1;
} else {
tmp = y * (j * ((x * (z / j)) - i));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = (j * ((a * c) - (y * i))) + ((x * ((y * z) - (t * a))) + (b * ((t * i) - (z * c)))) tmp = 0 if t_1 <= math.inf: tmp = t_1 else: tmp = y * (j * ((x * (z / j)) - i)) return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(Float64(j * Float64(Float64(a * c) - Float64(y * i))) + Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) + Float64(b * Float64(Float64(t * i) - Float64(z * c))))) tmp = 0.0 if (t_1 <= Inf) tmp = t_1; else tmp = Float64(y * Float64(j * Float64(Float64(x * Float64(z / j)) - i))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = (j * ((a * c) - (y * i))) + ((x * ((y * z) - (t * a))) + (b * ((t * i) - (z * c)))); tmp = 0.0; if (t_1 <= Inf) tmp = t_1; else tmp = y * (j * ((x * (z / j)) - i)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, Infinity], t$95$1, N[(y * N[(j * N[(N[(x * N[(z / j), $MachinePrecision]), $MachinePrecision] - i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(a \cdot c - y \cdot i\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(t \cdot i - z \cdot c\right)\right)\\
\mathbf{if}\;t\_1 \leq \infty:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;y \cdot \left(j \cdot \left(x \cdot \frac{z}{j} - i\right)\right)\\
\end{array}
\end{array}
if (+.f64 (-.f64 (*.f64 x (-.f64 (*.f64 y z) (*.f64 t a))) (*.f64 b (-.f64 (*.f64 c z) (*.f64 t i)))) (*.f64 j (-.f64 (*.f64 c a) (*.f64 y i)))) < +inf.0Initial program 92.6%
if +inf.0 < (+.f64 (-.f64 (*.f64 x (-.f64 (*.f64 y z) (*.f64 t a))) (*.f64 b (-.f64 (*.f64 c z) (*.f64 t i)))) (*.f64 j (-.f64 (*.f64 c a) (*.f64 y i)))) Initial program 0.0%
Taylor expanded in y around inf 45.1%
+-commutative45.1%
mul-1-neg45.1%
unsub-neg45.1%
*-commutative45.1%
Simplified45.1%
Taylor expanded in j around inf 46.9%
associate-/l*53.0%
Simplified53.0%
Final simplification82.9%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* b (- (* t i) (* z c))))
(t_2 (* x (- (* y z) (* t a))))
(t_3 (* j (- (* a c) (* y i)))))
(if (<= x -1.1e-33)
(+ t_3 t_2)
(if (<= x 1.32e-214)
(+ t_3 t_1)
(if (<= x 1.7e-129)
(+ (- (* y (* x z)) (* b (* z c))) (- (* a (* c j)) (* i (* y j))))
(+ 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 * ((t * i) - (z * c));
double t_2 = x * ((y * z) - (t * a));
double t_3 = j * ((a * c) - (y * i));
double tmp;
if (x <= -1.1e-33) {
tmp = t_3 + t_2;
} else if (x <= 1.32e-214) {
tmp = t_3 + t_1;
} else if (x <= 1.7e-129) {
tmp = ((y * (x * z)) - (b * (z * c))) + ((a * (c * j)) - (i * (y * j)));
} 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 * ((t * i) - (z * c))
t_2 = x * ((y * z) - (t * a))
t_3 = j * ((a * c) - (y * i))
if (x <= (-1.1d-33)) then
tmp = t_3 + t_2
else if (x <= 1.32d-214) then
tmp = t_3 + t_1
else if (x <= 1.7d-129) then
tmp = ((y * (x * z)) - (b * (z * c))) + ((a * (c * j)) - (i * (y * j)))
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 * ((t * i) - (z * c));
double t_2 = x * ((y * z) - (t * a));
double t_3 = j * ((a * c) - (y * i));
double tmp;
if (x <= -1.1e-33) {
tmp = t_3 + t_2;
} else if (x <= 1.32e-214) {
tmp = t_3 + t_1;
} else if (x <= 1.7e-129) {
tmp = ((y * (x * z)) - (b * (z * c))) + ((a * (c * j)) - (i * (y * j)));
} else {
tmp = t_2 + t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = b * ((t * i) - (z * c)) t_2 = x * ((y * z) - (t * a)) t_3 = j * ((a * c) - (y * i)) tmp = 0 if x <= -1.1e-33: tmp = t_3 + t_2 elif x <= 1.32e-214: tmp = t_3 + t_1 elif x <= 1.7e-129: tmp = ((y * (x * z)) - (b * (z * c))) + ((a * (c * j)) - (i * (y * j))) 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(t * i) - Float64(z * c))) t_2 = Float64(x * Float64(Float64(y * z) - Float64(t * a))) t_3 = Float64(j * Float64(Float64(a * c) - Float64(y * i))) tmp = 0.0 if (x <= -1.1e-33) tmp = Float64(t_3 + t_2); elseif (x <= 1.32e-214) tmp = Float64(t_3 + t_1); elseif (x <= 1.7e-129) tmp = Float64(Float64(Float64(y * Float64(x * z)) - Float64(b * Float64(z * c))) + Float64(Float64(a * Float64(c * j)) - Float64(i * Float64(y * j)))); 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 * ((t * i) - (z * c)); t_2 = x * ((y * z) - (t * a)); t_3 = j * ((a * c) - (y * i)); tmp = 0.0; if (x <= -1.1e-33) tmp = t_3 + t_2; elseif (x <= 1.32e-214) tmp = t_3 + t_1; elseif (x <= 1.7e-129) tmp = ((y * (x * z)) - (b * (z * c))) + ((a * (c * j)) - (i * (y * j))); 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[(t * 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[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -1.1e-33], N[(t$95$3 + t$95$2), $MachinePrecision], If[LessEqual[x, 1.32e-214], N[(t$95$3 + t$95$1), $MachinePrecision], If[LessEqual[x, 1.7e-129], N[(N[(N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision] - N[(b * N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision] - N[(i * N[(y * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t$95$2 + t$95$1), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(t \cdot i - z \cdot c\right)\\
t_2 := x \cdot \left(y \cdot z - t \cdot a\right)\\
t_3 := j \cdot \left(a \cdot c - y \cdot i\right)\\
\mathbf{if}\;x \leq -1.1 \cdot 10^{-33}:\\
\;\;\;\;t\_3 + t\_2\\
\mathbf{elif}\;x \leq 1.32 \cdot 10^{-214}:\\
\;\;\;\;t\_3 + t\_1\\
\mathbf{elif}\;x \leq 1.7 \cdot 10^{-129}:\\
\;\;\;\;\left(y \cdot \left(x \cdot z\right) - b \cdot \left(z \cdot c\right)\right) + \left(a \cdot \left(c \cdot j\right) - i \cdot \left(y \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_2 + t\_1\\
\end{array}
\end{array}
if x < -1.10000000000000003e-33Initial program 64.3%
Taylor expanded in b around 0 73.9%
if -1.10000000000000003e-33 < x < 1.3199999999999999e-214Initial program 69.0%
Taylor expanded in x around 0 75.4%
*-commutative75.4%
Simplified75.4%
if 1.3199999999999999e-214 < x < 1.70000000000000007e-129Initial program 61.3%
*-commutative61.3%
*-commutative61.3%
fma-neg61.3%
Simplified61.3%
Taylor expanded in a around 0 61.1%
Taylor expanded in y around inf 54.5%
*-commutative54.5%
associate-*l*80.2%
Simplified80.2%
Taylor expanded in z around inf 86.9%
if 1.70000000000000007e-129 < x Initial program 75.9%
Taylor expanded in j around 0 71.8%
*-commutative71.8%
*-commutative71.8%
Simplified71.8%
Final simplification74.4%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* i (- (* t b) (* y j)))) (t_2 (* z (- (* x y) (* b c)))))
(if (<= z -4e+60)
t_2
(if (<= z -26000000.0)
t_1
(if (<= z -9.5e-106)
(- (* x (- (* y z) (* t a))) (* z (* b c)))
(if (<= z 1.1e-68)
t_1
(if (<= z 1.3e+52) (* a (- (* c j) (* x t))) 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 = i * ((t * b) - (y * j));
double t_2 = z * ((x * y) - (b * c));
double tmp;
if (z <= -4e+60) {
tmp = t_2;
} else if (z <= -26000000.0) {
tmp = t_1;
} else if (z <= -9.5e-106) {
tmp = (x * ((y * z) - (t * a))) - (z * (b * c));
} else if (z <= 1.1e-68) {
tmp = t_1;
} else if (z <= 1.3e+52) {
tmp = a * ((c * j) - (x * t));
} 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 = i * ((t * b) - (y * j))
t_2 = z * ((x * y) - (b * c))
if (z <= (-4d+60)) then
tmp = t_2
else if (z <= (-26000000.0d0)) then
tmp = t_1
else if (z <= (-9.5d-106)) then
tmp = (x * ((y * z) - (t * a))) - (z * (b * c))
else if (z <= 1.1d-68) then
tmp = t_1
else if (z <= 1.3d+52) then
tmp = a * ((c * j) - (x * t))
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 = i * ((t * b) - (y * j));
double t_2 = z * ((x * y) - (b * c));
double tmp;
if (z <= -4e+60) {
tmp = t_2;
} else if (z <= -26000000.0) {
tmp = t_1;
} else if (z <= -9.5e-106) {
tmp = (x * ((y * z) - (t * a))) - (z * (b * c));
} else if (z <= 1.1e-68) {
tmp = t_1;
} else if (z <= 1.3e+52) {
tmp = a * ((c * j) - (x * t));
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = i * ((t * b) - (y * j)) t_2 = z * ((x * y) - (b * c)) tmp = 0 if z <= -4e+60: tmp = t_2 elif z <= -26000000.0: tmp = t_1 elif z <= -9.5e-106: tmp = (x * ((y * z) - (t * a))) - (z * (b * c)) elif z <= 1.1e-68: tmp = t_1 elif z <= 1.3e+52: tmp = a * ((c * j) - (x * t)) else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(i * Float64(Float64(t * b) - Float64(y * j))) t_2 = Float64(z * Float64(Float64(x * y) - Float64(b * c))) tmp = 0.0 if (z <= -4e+60) tmp = t_2; elseif (z <= -26000000.0) tmp = t_1; elseif (z <= -9.5e-106) tmp = Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) - Float64(z * Float64(b * c))); elseif (z <= 1.1e-68) tmp = t_1; elseif (z <= 1.3e+52) tmp = Float64(a * Float64(Float64(c * j) - Float64(x * t))); else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = i * ((t * b) - (y * j)); t_2 = z * ((x * y) - (b * c)); tmp = 0.0; if (z <= -4e+60) tmp = t_2; elseif (z <= -26000000.0) tmp = t_1; elseif (z <= -9.5e-106) tmp = (x * ((y * z) - (t * a))) - (z * (b * c)); elseif (z <= 1.1e-68) tmp = t_1; elseif (z <= 1.3e+52) tmp = a * ((c * j) - (x * t)); else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(i * N[(N[(t * b), $MachinePrecision] - N[(y * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(z * N[(N[(x * y), $MachinePrecision] - N[(b * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -4e+60], t$95$2, If[LessEqual[z, -26000000.0], t$95$1, If[LessEqual[z, -9.5e-106], N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(z * N[(b * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.1e-68], t$95$1, If[LessEqual[z, 1.3e+52], N[(a * N[(N[(c * j), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(t \cdot b - y \cdot j\right)\\
t_2 := z \cdot \left(x \cdot y - b \cdot c\right)\\
\mathbf{if}\;z \leq -4 \cdot 10^{+60}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;z \leq -26000000:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq -9.5 \cdot 10^{-106}:\\
\;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) - z \cdot \left(b \cdot c\right)\\
\mathbf{elif}\;z \leq 1.1 \cdot 10^{-68}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq 1.3 \cdot 10^{+52}:\\
\;\;\;\;a \cdot \left(c \cdot j - x \cdot t\right)\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if z < -3.9999999999999998e60 or 1.3e52 < z Initial program 58.7%
Taylor expanded in z around inf 72.6%
*-commutative72.6%
Simplified72.6%
if -3.9999999999999998e60 < z < -2.6e7 or -9.4999999999999994e-106 < z < 1.10000000000000001e-68Initial program 78.8%
Taylor expanded in i around inf 61.3%
distribute-lft-out--61.3%
*-commutative61.3%
Simplified61.3%
if -2.6e7 < z < -9.4999999999999994e-106Initial program 80.9%
Taylor expanded in j around 0 67.1%
*-commutative67.1%
*-commutative67.1%
Simplified67.1%
Taylor expanded in c around inf 67.1%
*-commutative67.1%
*-commutative67.1%
associate-*l*67.2%
*-commutative67.2%
Simplified67.2%
if 1.10000000000000001e-68 < z < 1.3e52Initial program 72.6%
Taylor expanded in a around inf 69.2%
+-commutative69.2%
mul-1-neg69.2%
unsub-neg69.2%
Simplified69.2%
Final simplification67.3%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* t (- (* b i) (* x a))))
(t_2 (* c (- (* a j) (* z b))))
(t_3 (* y (- (* x z) (* i j)))))
(if (<= y -9e+24)
t_3
(if (<= y -6e-111)
t_2
(if (<= y 1.3e-250)
t_1
(if (<= y 2.4e-177) t_2 (if (<= y 2.25e+27) t_1 t_3)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = t * ((b * i) - (x * a));
double t_2 = c * ((a * j) - (z * b));
double t_3 = y * ((x * z) - (i * j));
double tmp;
if (y <= -9e+24) {
tmp = t_3;
} else if (y <= -6e-111) {
tmp = t_2;
} else if (y <= 1.3e-250) {
tmp = t_1;
} else if (y <= 2.4e-177) {
tmp = t_2;
} else if (y <= 2.25e+27) {
tmp = t_1;
} else {
tmp = t_3;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: tmp
t_1 = t * ((b * i) - (x * a))
t_2 = c * ((a * j) - (z * b))
t_3 = y * ((x * z) - (i * j))
if (y <= (-9d+24)) then
tmp = t_3
else if (y <= (-6d-111)) then
tmp = t_2
else if (y <= 1.3d-250) then
tmp = t_1
else if (y <= 2.4d-177) then
tmp = t_2
else if (y <= 2.25d+27) then
tmp = t_1
else
tmp = t_3
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = t * ((b * i) - (x * a));
double t_2 = c * ((a * j) - (z * b));
double t_3 = y * ((x * z) - (i * j));
double tmp;
if (y <= -9e+24) {
tmp = t_3;
} else if (y <= -6e-111) {
tmp = t_2;
} else if (y <= 1.3e-250) {
tmp = t_1;
} else if (y <= 2.4e-177) {
tmp = t_2;
} else if (y <= 2.25e+27) {
tmp = t_1;
} else {
tmp = t_3;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = t * ((b * i) - (x * a)) t_2 = c * ((a * j) - (z * b)) t_3 = y * ((x * z) - (i * j)) tmp = 0 if y <= -9e+24: tmp = t_3 elif y <= -6e-111: tmp = t_2 elif y <= 1.3e-250: tmp = t_1 elif y <= 2.4e-177: tmp = t_2 elif y <= 2.25e+27: tmp = t_1 else: tmp = t_3 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(t * Float64(Float64(b * i) - Float64(x * a))) t_2 = Float64(c * Float64(Float64(a * j) - Float64(z * b))) t_3 = Float64(y * Float64(Float64(x * z) - Float64(i * j))) tmp = 0.0 if (y <= -9e+24) tmp = t_3; elseif (y <= -6e-111) tmp = t_2; elseif (y <= 1.3e-250) tmp = t_1; elseif (y <= 2.4e-177) tmp = t_2; elseif (y <= 2.25e+27) tmp = t_1; else tmp = t_3; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = t * ((b * i) - (x * a)); t_2 = c * ((a * j) - (z * b)); t_3 = y * ((x * z) - (i * j)); tmp = 0.0; if (y <= -9e+24) tmp = t_3; elseif (y <= -6e-111) tmp = t_2; elseif (y <= 1.3e-250) tmp = t_1; elseif (y <= 2.4e-177) tmp = t_2; elseif (y <= 2.25e+27) tmp = t_1; else tmp = t_3; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(t * N[(N[(b * i), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(c * N[(N[(a * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -9e+24], t$95$3, If[LessEqual[y, -6e-111], t$95$2, If[LessEqual[y, 1.3e-250], t$95$1, If[LessEqual[y, 2.4e-177], t$95$2, If[LessEqual[y, 2.25e+27], t$95$1, t$95$3]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot \left(b \cdot i - x \cdot a\right)\\
t_2 := c \cdot \left(a \cdot j - z \cdot b\right)\\
t_3 := y \cdot \left(x \cdot z - i \cdot j\right)\\
\mathbf{if}\;y \leq -9 \cdot 10^{+24}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y \leq -6 \cdot 10^{-111}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y \leq 1.3 \cdot 10^{-250}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq 2.4 \cdot 10^{-177}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y \leq 2.25 \cdot 10^{+27}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;t\_3\\
\end{array}
\end{array}
if y < -9.00000000000000039e24 or 2.25e27 < y Initial program 55.3%
Taylor expanded in y around inf 68.5%
+-commutative68.5%
mul-1-neg68.5%
unsub-neg68.5%
*-commutative68.5%
Simplified68.5%
if -9.00000000000000039e24 < y < -6.00000000000000016e-111 or 1.30000000000000004e-250 < y < 2.3999999999999999e-177Initial program 88.1%
Taylor expanded in c around inf 66.5%
if -6.00000000000000016e-111 < y < 1.30000000000000004e-250 or 2.3999999999999999e-177 < y < 2.25e27Initial program 83.4%
Taylor expanded in t around inf 60.7%
distribute-lft-out--60.7%
Simplified60.7%
Taylor expanded in t around 0 60.7%
mul-1-neg60.7%
*-commutative60.7%
*-commutative60.7%
distribute-rgt-neg-out60.7%
neg-sub060.7%
associate--r-60.7%
neg-sub060.7%
*-commutative60.7%
mul-1-neg60.7%
*-commutative60.7%
+-commutative60.7%
*-commutative60.7%
mul-1-neg60.7%
*-commutative60.7%
unsub-neg60.7%
*-commutative60.7%
*-commutative60.7%
Simplified60.7%
Final simplification65.6%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* b (- (* t i) (* z c))))
(t_2 (* x (- (* y z) (* t a))))
(t_3 (* j (- (* a c) (* y i)))))
(if (<= x -7.2e-29)
(+ t_3 t_2)
(if (<= x 3.3e-213)
(+ t_3 t_1)
(if (<= x 3.8e-132)
(- (- (* y (* x z)) (* b (* z c))) (* i (* y j)))
(+ 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 * ((t * i) - (z * c));
double t_2 = x * ((y * z) - (t * a));
double t_3 = j * ((a * c) - (y * i));
double tmp;
if (x <= -7.2e-29) {
tmp = t_3 + t_2;
} else if (x <= 3.3e-213) {
tmp = t_3 + t_1;
} else if (x <= 3.8e-132) {
tmp = ((y * (x * z)) - (b * (z * c))) - (i * (y * j));
} 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 * ((t * i) - (z * c))
t_2 = x * ((y * z) - (t * a))
t_3 = j * ((a * c) - (y * i))
if (x <= (-7.2d-29)) then
tmp = t_3 + t_2
else if (x <= 3.3d-213) then
tmp = t_3 + t_1
else if (x <= 3.8d-132) then
tmp = ((y * (x * z)) - (b * (z * c))) - (i * (y * j))
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 * ((t * i) - (z * c));
double t_2 = x * ((y * z) - (t * a));
double t_3 = j * ((a * c) - (y * i));
double tmp;
if (x <= -7.2e-29) {
tmp = t_3 + t_2;
} else if (x <= 3.3e-213) {
tmp = t_3 + t_1;
} else if (x <= 3.8e-132) {
tmp = ((y * (x * z)) - (b * (z * c))) - (i * (y * j));
} else {
tmp = t_2 + t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = b * ((t * i) - (z * c)) t_2 = x * ((y * z) - (t * a)) t_3 = j * ((a * c) - (y * i)) tmp = 0 if x <= -7.2e-29: tmp = t_3 + t_2 elif x <= 3.3e-213: tmp = t_3 + t_1 elif x <= 3.8e-132: tmp = ((y * (x * z)) - (b * (z * c))) - (i * (y * j)) 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(t * i) - Float64(z * c))) t_2 = Float64(x * Float64(Float64(y * z) - Float64(t * a))) t_3 = Float64(j * Float64(Float64(a * c) - Float64(y * i))) tmp = 0.0 if (x <= -7.2e-29) tmp = Float64(t_3 + t_2); elseif (x <= 3.3e-213) tmp = Float64(t_3 + t_1); elseif (x <= 3.8e-132) tmp = Float64(Float64(Float64(y * Float64(x * z)) - Float64(b * Float64(z * c))) - Float64(i * Float64(y * j))); 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 * ((t * i) - (z * c)); t_2 = x * ((y * z) - (t * a)); t_3 = j * ((a * c) - (y * i)); tmp = 0.0; if (x <= -7.2e-29) tmp = t_3 + t_2; elseif (x <= 3.3e-213) tmp = t_3 + t_1; elseif (x <= 3.8e-132) tmp = ((y * (x * z)) - (b * (z * c))) - (i * (y * j)); 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[(t * 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[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -7.2e-29], N[(t$95$3 + t$95$2), $MachinePrecision], If[LessEqual[x, 3.3e-213], N[(t$95$3 + t$95$1), $MachinePrecision], If[LessEqual[x, 3.8e-132], N[(N[(N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision] - N[(b * N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(i * N[(y * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t$95$2 + t$95$1), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(t \cdot i - z \cdot c\right)\\
t_2 := x \cdot \left(y \cdot z - t \cdot a\right)\\
t_3 := j \cdot \left(a \cdot c - y \cdot i\right)\\
\mathbf{if}\;x \leq -7.2 \cdot 10^{-29}:\\
\;\;\;\;t\_3 + t\_2\\
\mathbf{elif}\;x \leq 3.3 \cdot 10^{-213}:\\
\;\;\;\;t\_3 + t\_1\\
\mathbf{elif}\;x \leq 3.8 \cdot 10^{-132}:\\
\;\;\;\;\left(y \cdot \left(x \cdot z\right) - b \cdot \left(z \cdot c\right)\right) - i \cdot \left(y \cdot j\right)\\
\mathbf{else}:\\
\;\;\;\;t\_2 + t\_1\\
\end{array}
\end{array}
if x < -7.19999999999999948e-29Initial program 64.3%
Taylor expanded in b around 0 73.9%
if -7.19999999999999948e-29 < x < 3.30000000000000031e-213Initial program 69.0%
Taylor expanded in x around 0 75.4%
*-commutative75.4%
Simplified75.4%
if 3.30000000000000031e-213 < x < 3.7999999999999997e-132Initial program 61.3%
*-commutative61.3%
*-commutative61.3%
fma-neg61.3%
Simplified61.3%
Taylor expanded in a around 0 61.1%
Taylor expanded in y around inf 54.5%
*-commutative54.5%
associate-*l*80.2%
Simplified80.2%
Taylor expanded in z around inf 86.9%
Taylor expanded in i around inf 81.3%
neg-mul-181.3%
distribute-rgt-neg-in81.3%
distribute-rgt-neg-in81.3%
Simplified81.3%
if 3.7999999999999997e-132 < x Initial program 75.9%
Taylor expanded in j around 0 71.8%
*-commutative71.8%
*-commutative71.8%
Simplified71.8%
Final simplification74.1%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* j (- (* a c) (* y i)))))
(if (or (<= x -9.5e-28) (not (<= x 1.65e+87)))
(+ t_1 (* x (- (* y z) (* t a))))
(+ t_1 (* b (- (* t i) (* z c)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = j * ((a * c) - (y * i));
double tmp;
if ((x <= -9.5e-28) || !(x <= 1.65e+87)) {
tmp = t_1 + (x * ((y * z) - (t * a)));
} else {
tmp = t_1 + (b * ((t * i) - (z * c)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: tmp
t_1 = j * ((a * c) - (y * i))
if ((x <= (-9.5d-28)) .or. (.not. (x <= 1.65d+87))) then
tmp = t_1 + (x * ((y * z) - (t * a)))
else
tmp = t_1 + (b * ((t * i) - (z * c)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = j * ((a * c) - (y * i));
double tmp;
if ((x <= -9.5e-28) || !(x <= 1.65e+87)) {
tmp = t_1 + (x * ((y * z) - (t * a)));
} else {
tmp = t_1 + (b * ((t * i) - (z * c)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = j * ((a * c) - (y * i)) tmp = 0 if (x <= -9.5e-28) or not (x <= 1.65e+87): tmp = t_1 + (x * ((y * z) - (t * a))) else: tmp = t_1 + (b * ((t * i) - (z * c))) return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(j * Float64(Float64(a * c) - Float64(y * i))) tmp = 0.0 if ((x <= -9.5e-28) || !(x <= 1.65e+87)) tmp = Float64(t_1 + Float64(x * Float64(Float64(y * z) - Float64(t * a)))); else tmp = Float64(t_1 + Float64(b * Float64(Float64(t * i) - Float64(z * c)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = j * ((a * c) - (y * i)); tmp = 0.0; if ((x <= -9.5e-28) || ~((x <= 1.65e+87))) tmp = t_1 + (x * ((y * z) - (t * a))); else tmp = t_1 + (b * ((t * i) - (z * c))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[Or[LessEqual[x, -9.5e-28], N[Not[LessEqual[x, 1.65e+87]], $MachinePrecision]], N[(t$95$1 + N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t$95$1 + N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(a \cdot c - y \cdot i\right)\\
\mathbf{if}\;x \leq -9.5 \cdot 10^{-28} \lor \neg \left(x \leq 1.65 \cdot 10^{+87}\right):\\
\;\;\;\;t\_1 + x \cdot \left(y \cdot z - t \cdot a\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1 + b \cdot \left(t \cdot i - z \cdot c\right)\\
\end{array}
\end{array}
if x < -9.50000000000000001e-28 or 1.6500000000000001e87 < x Initial program 70.6%
Taylor expanded in b around 0 74.0%
if -9.50000000000000001e-28 < x < 1.6500000000000001e87Initial program 69.1%
Taylor expanded in x around 0 69.4%
*-commutative69.4%
Simplified69.4%
Final simplification71.6%
(FPCore (x y z t a b c i j) :precision binary64 (if (or (<= b -4.8e+47) (not (<= b 1.22e+113))) (* b (- (* t i) (* z c))) (+ (* j (- (* a c) (* y i))) (* x (- (* y z) (* t a))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if ((b <= -4.8e+47) || !(b <= 1.22e+113)) {
tmp = b * ((t * i) - (z * c));
} else {
tmp = (j * ((a * c) - (y * i))) + (x * ((y * z) - (t * a)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: tmp
if ((b <= (-4.8d+47)) .or. (.not. (b <= 1.22d+113))) then
tmp = b * ((t * i) - (z * c))
else
tmp = (j * ((a * c) - (y * i))) + (x * ((y * z) - (t * a)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if ((b <= -4.8e+47) || !(b <= 1.22e+113)) {
tmp = b * ((t * i) - (z * c));
} else {
tmp = (j * ((a * c) - (y * i))) + (x * ((y * z) - (t * a)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if (b <= -4.8e+47) or not (b <= 1.22e+113): tmp = b * ((t * i) - (z * c)) else: tmp = (j * ((a * c) - (y * i))) + (x * ((y * z) - (t * a))) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if ((b <= -4.8e+47) || !(b <= 1.22e+113)) tmp = Float64(b * Float64(Float64(t * i) - Float64(z * c))); else tmp = Float64(Float64(j * Float64(Float64(a * c) - Float64(y * i))) + Float64(x * Float64(Float64(y * z) - Float64(t * a)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if ((b <= -4.8e+47) || ~((b <= 1.22e+113))) tmp = b * ((t * i) - (z * c)); else tmp = (j * ((a * c) - (y * i))) + (x * ((y * z) - (t * a))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[Or[LessEqual[b, -4.8e+47], N[Not[LessEqual[b, 1.22e+113]], $MachinePrecision]], N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -4.8 \cdot 10^{+47} \lor \neg \left(b \leq 1.22 \cdot 10^{+113}\right):\\
\;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right)\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right) + x \cdot \left(y \cdot z - t \cdot a\right)\\
\end{array}
\end{array}
if b < -4.80000000000000037e47 or 1.2199999999999999e113 < b Initial program 68.5%
Taylor expanded in b around inf 66.2%
*-commutative66.2%
Simplified66.2%
if -4.80000000000000037e47 < b < 1.2199999999999999e113Initial program 70.9%
Taylor expanded in b around 0 72.3%
Final simplification69.6%
(FPCore (x y z t a b c i j)
:precision binary64
(if (<= t -2.65e+154)
(* t (- (* b i) (* x a)))
(if (<= t 5.8e-119)
(- (- (* y (* x z)) (* b (* z c))) (* i (* y j)))
(- (* x (- (* y z) (* t a))) (* z (* b c))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (t <= -2.65e+154) {
tmp = t * ((b * i) - (x * a));
} else if (t <= 5.8e-119) {
tmp = ((y * (x * z)) - (b * (z * c))) - (i * (y * j));
} else {
tmp = (x * ((y * z) - (t * a))) - (z * (b * c));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: tmp
if (t <= (-2.65d+154)) then
tmp = t * ((b * i) - (x * a))
else if (t <= 5.8d-119) then
tmp = ((y * (x * z)) - (b * (z * c))) - (i * (y * j))
else
tmp = (x * ((y * z) - (t * a))) - (z * (b * c))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (t <= -2.65e+154) {
tmp = t * ((b * i) - (x * a));
} else if (t <= 5.8e-119) {
tmp = ((y * (x * z)) - (b * (z * c))) - (i * (y * j));
} else {
tmp = (x * ((y * z) - (t * a))) - (z * (b * c));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if t <= -2.65e+154: tmp = t * ((b * i) - (x * a)) elif t <= 5.8e-119: tmp = ((y * (x * z)) - (b * (z * c))) - (i * (y * j)) else: tmp = (x * ((y * z) - (t * a))) - (z * (b * c)) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (t <= -2.65e+154) tmp = Float64(t * Float64(Float64(b * i) - Float64(x * a))); elseif (t <= 5.8e-119) tmp = Float64(Float64(Float64(y * Float64(x * z)) - Float64(b * Float64(z * c))) - Float64(i * Float64(y * j))); else tmp = Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) - Float64(z * Float64(b * c))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if (t <= -2.65e+154) tmp = t * ((b * i) - (x * a)); elseif (t <= 5.8e-119) tmp = ((y * (x * z)) - (b * (z * c))) - (i * (y * j)); else tmp = (x * ((y * z) - (t * a))) - (z * (b * c)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[t, -2.65e+154], N[(t * N[(N[(b * i), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 5.8e-119], N[(N[(N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision] - N[(b * N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(i * N[(y * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(z * N[(b * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -2.65 \cdot 10^{+154}:\\
\;\;\;\;t \cdot \left(b \cdot i - x \cdot a\right)\\
\mathbf{elif}\;t \leq 5.8 \cdot 10^{-119}:\\
\;\;\;\;\left(y \cdot \left(x \cdot z\right) - b \cdot \left(z \cdot c\right)\right) - i \cdot \left(y \cdot j\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(y \cdot z - t \cdot a\right) - z \cdot \left(b \cdot c\right)\\
\end{array}
\end{array}
if t < -2.65000000000000012e154Initial program 40.6%
Taylor expanded in t around inf 86.6%
distribute-lft-out--86.6%
Simplified86.6%
Taylor expanded in t around 0 86.6%
mul-1-neg86.6%
*-commutative86.6%
*-commutative86.6%
distribute-rgt-neg-out86.6%
neg-sub086.6%
associate--r-86.6%
neg-sub086.6%
*-commutative86.6%
mul-1-neg86.6%
*-commutative86.6%
+-commutative86.6%
*-commutative86.6%
mul-1-neg86.6%
*-commutative86.6%
unsub-neg86.6%
*-commutative86.6%
*-commutative86.6%
Simplified86.6%
if -2.65000000000000012e154 < t < 5.8e-119Initial program 81.6%
*-commutative81.6%
*-commutative81.6%
fma-neg81.6%
Simplified81.6%
Taylor expanded in a around 0 78.3%
Taylor expanded in y around inf 71.7%
*-commutative71.7%
associate-*l*76.5%
Simplified76.5%
Taylor expanded in z around inf 69.8%
Taylor expanded in i around inf 65.4%
neg-mul-165.4%
distribute-rgt-neg-in65.4%
distribute-rgt-neg-in65.4%
Simplified65.4%
if 5.8e-119 < t Initial program 59.2%
Taylor expanded in j around 0 63.8%
*-commutative63.8%
*-commutative63.8%
Simplified63.8%
Taylor expanded in c around inf 57.6%
*-commutative57.6%
*-commutative57.6%
associate-*l*58.6%
*-commutative58.6%
Simplified58.6%
Final simplification65.8%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* t (* b i))))
(if (<= b -2.15e+46)
t_1
(if (<= b -3e-297)
(* y (* x z))
(if (<= b 3e-47)
(* c (* a j))
(if (<= b 1.38e+118) (* z (* x y)) 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 * (b * i);
double tmp;
if (b <= -2.15e+46) {
tmp = t_1;
} else if (b <= -3e-297) {
tmp = y * (x * z);
} else if (b <= 3e-47) {
tmp = c * (a * j);
} else if (b <= 1.38e+118) {
tmp = z * (x * y);
} 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 * (b * i)
if (b <= (-2.15d+46)) then
tmp = t_1
else if (b <= (-3d-297)) then
tmp = y * (x * z)
else if (b <= 3d-47) then
tmp = c * (a * j)
else if (b <= 1.38d+118) then
tmp = z * (x * y)
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 * (b * i);
double tmp;
if (b <= -2.15e+46) {
tmp = t_1;
} else if (b <= -3e-297) {
tmp = y * (x * z);
} else if (b <= 3e-47) {
tmp = c * (a * j);
} else if (b <= 1.38e+118) {
tmp = z * (x * y);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = t * (b * i) tmp = 0 if b <= -2.15e+46: tmp = t_1 elif b <= -3e-297: tmp = y * (x * z) elif b <= 3e-47: tmp = c * (a * j) elif b <= 1.38e+118: tmp = z * (x * y) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(t * Float64(b * i)) tmp = 0.0 if (b <= -2.15e+46) tmp = t_1; elseif (b <= -3e-297) tmp = Float64(y * Float64(x * z)); elseif (b <= 3e-47) tmp = Float64(c * Float64(a * j)); elseif (b <= 1.38e+118) tmp = Float64(z * Float64(x * y)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = t * (b * i); tmp = 0.0; if (b <= -2.15e+46) tmp = t_1; elseif (b <= -3e-297) tmp = y * (x * z); elseif (b <= 3e-47) tmp = c * (a * j); elseif (b <= 1.38e+118) tmp = z * (x * y); 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[(b * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -2.15e+46], t$95$1, If[LessEqual[b, -3e-297], N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 3e-47], N[(c * N[(a * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.38e+118], N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot \left(b \cdot i\right)\\
\mathbf{if}\;b \leq -2.15 \cdot 10^{+46}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;b \leq -3 \cdot 10^{-297}:\\
\;\;\;\;y \cdot \left(x \cdot z\right)\\
\mathbf{elif}\;b \leq 3 \cdot 10^{-47}:\\
\;\;\;\;c \cdot \left(a \cdot j\right)\\
\mathbf{elif}\;b \leq 1.38 \cdot 10^{+118}:\\
\;\;\;\;z \cdot \left(x \cdot y\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if b < -2.15000000000000002e46 or 1.3800000000000001e118 < b Initial program 69.6%
Taylor expanded in t around inf 56.2%
distribute-lft-out--56.2%
Simplified56.2%
Taylor expanded in a around 0 42.7%
associate-*r*45.2%
Simplified45.2%
if -2.15000000000000002e46 < b < -2.99999999999999995e-297Initial program 63.0%
Taylor expanded in y around inf 54.3%
+-commutative54.3%
mul-1-neg54.3%
unsub-neg54.3%
*-commutative54.3%
Simplified54.3%
Taylor expanded in z around inf 34.0%
*-commutative34.0%
Simplified34.0%
if -2.99999999999999995e-297 < b < 3.00000000000000017e-47Initial program 75.7%
Taylor expanded in c around inf 47.0%
Taylor expanded in a around inf 43.1%
if 3.00000000000000017e-47 < b < 1.3800000000000001e118Initial program 74.3%
Taylor expanded in z around inf 67.1%
*-commutative67.1%
Simplified67.1%
Taylor expanded in y around inf 52.9%
Final simplification42.9%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* b (* t i))))
(if (<= b -7.2e+42)
t_1
(if (<= b -6.5e-299)
(* y (* x z))
(if (<= b 6e-47)
(* c (* a j))
(if (<= b 1.12e+119) (* z (* x y)) 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 * (t * i);
double tmp;
if (b <= -7.2e+42) {
tmp = t_1;
} else if (b <= -6.5e-299) {
tmp = y * (x * z);
} else if (b <= 6e-47) {
tmp = c * (a * j);
} else if (b <= 1.12e+119) {
tmp = z * (x * y);
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: tmp
t_1 = b * (t * i)
if (b <= (-7.2d+42)) then
tmp = t_1
else if (b <= (-6.5d-299)) then
tmp = y * (x * z)
else if (b <= 6d-47) then
tmp = c * (a * j)
else if (b <= 1.12d+119) then
tmp = z * (x * y)
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = b * (t * i);
double tmp;
if (b <= -7.2e+42) {
tmp = t_1;
} else if (b <= -6.5e-299) {
tmp = y * (x * z);
} else if (b <= 6e-47) {
tmp = c * (a * j);
} else if (b <= 1.12e+119) {
tmp = z * (x * y);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = b * (t * i) tmp = 0 if b <= -7.2e+42: tmp = t_1 elif b <= -6.5e-299: tmp = y * (x * z) elif b <= 6e-47: tmp = c * (a * j) elif b <= 1.12e+119: tmp = z * (x * y) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(b * Float64(t * i)) tmp = 0.0 if (b <= -7.2e+42) tmp = t_1; elseif (b <= -6.5e-299) tmp = Float64(y * Float64(x * z)); elseif (b <= 6e-47) tmp = Float64(c * Float64(a * j)); elseif (b <= 1.12e+119) tmp = Float64(z * Float64(x * y)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = b * (t * i); tmp = 0.0; if (b <= -7.2e+42) tmp = t_1; elseif (b <= -6.5e-299) tmp = y * (x * z); elseif (b <= 6e-47) tmp = c * (a * j); elseif (b <= 1.12e+119) tmp = z * (x * y); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(b * N[(t * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -7.2e+42], t$95$1, If[LessEqual[b, -6.5e-299], N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 6e-47], N[(c * N[(a * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.12e+119], N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(t \cdot i\right)\\
\mathbf{if}\;b \leq -7.2 \cdot 10^{+42}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;b \leq -6.5 \cdot 10^{-299}:\\
\;\;\;\;y \cdot \left(x \cdot z\right)\\
\mathbf{elif}\;b \leq 6 \cdot 10^{-47}:\\
\;\;\;\;c \cdot \left(a \cdot j\right)\\
\mathbf{elif}\;b \leq 1.12 \cdot 10^{+119}:\\
\;\;\;\;z \cdot \left(x \cdot y\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if b < -7.2000000000000002e42 or 1.11999999999999994e119 < b Initial program 69.6%
Taylor expanded in t around inf 56.2%
distribute-lft-out--56.2%
Simplified56.2%
Taylor expanded in a around 0 42.7%
if -7.2000000000000002e42 < b < -6.4999999999999997e-299Initial program 63.0%
Taylor expanded in y around inf 54.3%
+-commutative54.3%
mul-1-neg54.3%
unsub-neg54.3%
*-commutative54.3%
Simplified54.3%
Taylor expanded in z around inf 34.0%
*-commutative34.0%
Simplified34.0%
if -6.4999999999999997e-299 < b < 6.00000000000000033e-47Initial program 75.7%
Taylor expanded in c around inf 47.0%
Taylor expanded in a around inf 43.1%
if 6.00000000000000033e-47 < b < 1.11999999999999994e119Initial program 74.3%
Taylor expanded in z around inf 67.1%
*-commutative67.1%
Simplified67.1%
Taylor expanded in y around inf 52.9%
Final simplification41.8%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* b (* t i))))
(if (<= b -1.15e+45)
t_1
(if (<= b -4.3e-296)
(* y (* x z))
(if (<= b 1.8e-45)
(* c (* a j))
(if (<= b 7.3e+118) (* 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 = b * (t * i);
double tmp;
if (b <= -1.15e+45) {
tmp = t_1;
} else if (b <= -4.3e-296) {
tmp = y * (x * z);
} else if (b <= 1.8e-45) {
tmp = c * (a * j);
} else if (b <= 7.3e+118) {
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 = b * (t * i)
if (b <= (-1.15d+45)) then
tmp = t_1
else if (b <= (-4.3d-296)) then
tmp = y * (x * z)
else if (b <= 1.8d-45) then
tmp = c * (a * j)
else if (b <= 7.3d+118) 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 = b * (t * i);
double tmp;
if (b <= -1.15e+45) {
tmp = t_1;
} else if (b <= -4.3e-296) {
tmp = y * (x * z);
} else if (b <= 1.8e-45) {
tmp = c * (a * j);
} else if (b <= 7.3e+118) {
tmp = x * (y * z);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = b * (t * i) tmp = 0 if b <= -1.15e+45: tmp = t_1 elif b <= -4.3e-296: tmp = y * (x * z) elif b <= 1.8e-45: tmp = c * (a * j) elif b <= 7.3e+118: tmp = x * (y * z) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(b * Float64(t * i)) tmp = 0.0 if (b <= -1.15e+45) tmp = t_1; elseif (b <= -4.3e-296) tmp = Float64(y * Float64(x * z)); elseif (b <= 1.8e-45) tmp = Float64(c * Float64(a * j)); elseif (b <= 7.3e+118) 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 = b * (t * i); tmp = 0.0; if (b <= -1.15e+45) tmp = t_1; elseif (b <= -4.3e-296) tmp = y * (x * z); elseif (b <= 1.8e-45) tmp = c * (a * j); elseif (b <= 7.3e+118) 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[(b * N[(t * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -1.15e+45], t$95$1, If[LessEqual[b, -4.3e-296], N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.8e-45], N[(c * N[(a * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 7.3e+118], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(t \cdot i\right)\\
\mathbf{if}\;b \leq -1.15 \cdot 10^{+45}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;b \leq -4.3 \cdot 10^{-296}:\\
\;\;\;\;y \cdot \left(x \cdot z\right)\\
\mathbf{elif}\;b \leq 1.8 \cdot 10^{-45}:\\
\;\;\;\;c \cdot \left(a \cdot j\right)\\
\mathbf{elif}\;b \leq 7.3 \cdot 10^{+118}:\\
\;\;\;\;x \cdot \left(y \cdot z\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if b < -1.15000000000000006e45 or 7.3000000000000003e118 < b Initial program 69.6%
Taylor expanded in t around inf 56.2%
distribute-lft-out--56.2%
Simplified56.2%
Taylor expanded in a around 0 42.7%
if -1.15000000000000006e45 < b < -4.29999999999999978e-296Initial program 63.0%
Taylor expanded in y around inf 54.3%
+-commutative54.3%
mul-1-neg54.3%
unsub-neg54.3%
*-commutative54.3%
Simplified54.3%
Taylor expanded in z around inf 34.0%
*-commutative34.0%
Simplified34.0%
if -4.29999999999999978e-296 < b < 1.8e-45Initial program 75.7%
Taylor expanded in c around inf 47.0%
Taylor expanded in a around inf 43.1%
if 1.8e-45 < b < 7.3000000000000003e118Initial program 74.3%
Taylor expanded in y around inf 60.5%
+-commutative60.5%
mul-1-neg60.5%
unsub-neg60.5%
*-commutative60.5%
Simplified60.5%
Taylor expanded in z around inf 49.4%
*-commutative49.4%
Simplified49.4%
Final simplification41.4%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* z (- (* x y) (* b c)))))
(if (<= z -1.75e+61)
t_1
(if (<= z 1.25e-65)
(* i (- (* t b) (* y j)))
(if (<= z 5.9e+51) (* a (- (* c j) (* x t))) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = z * ((x * y) - (b * c));
double tmp;
if (z <= -1.75e+61) {
tmp = t_1;
} else if (z <= 1.25e-65) {
tmp = i * ((t * b) - (y * j));
} else if (z <= 5.9e+51) {
tmp = a * ((c * j) - (x * t));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: tmp
t_1 = z * ((x * y) - (b * c))
if (z <= (-1.75d+61)) then
tmp = t_1
else if (z <= 1.25d-65) then
tmp = i * ((t * b) - (y * j))
else if (z <= 5.9d+51) then
tmp = a * ((c * j) - (x * t))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = z * ((x * y) - (b * c));
double tmp;
if (z <= -1.75e+61) {
tmp = t_1;
} else if (z <= 1.25e-65) {
tmp = i * ((t * b) - (y * j));
} else if (z <= 5.9e+51) {
tmp = a * ((c * j) - (x * t));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = z * ((x * y) - (b * c)) tmp = 0 if z <= -1.75e+61: tmp = t_1 elif z <= 1.25e-65: tmp = i * ((t * b) - (y * j)) elif z <= 5.9e+51: tmp = a * ((c * j) - (x * t)) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(z * Float64(Float64(x * y) - Float64(b * c))) tmp = 0.0 if (z <= -1.75e+61) tmp = t_1; elseif (z <= 1.25e-65) tmp = Float64(i * Float64(Float64(t * b) - Float64(y * j))); elseif (z <= 5.9e+51) tmp = Float64(a * Float64(Float64(c * j) - Float64(x * t))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = z * ((x * y) - (b * c)); tmp = 0.0; if (z <= -1.75e+61) tmp = t_1; elseif (z <= 1.25e-65) tmp = i * ((t * b) - (y * j)); elseif (z <= 5.9e+51) tmp = a * ((c * j) - (x * t)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(z * N[(N[(x * y), $MachinePrecision] - N[(b * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -1.75e+61], t$95$1, If[LessEqual[z, 1.25e-65], N[(i * N[(N[(t * b), $MachinePrecision] - N[(y * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 5.9e+51], N[(a * N[(N[(c * j), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := z \cdot \left(x \cdot y - b \cdot c\right)\\
\mathbf{if}\;z \leq -1.75 \cdot 10^{+61}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq 1.25 \cdot 10^{-65}:\\
\;\;\;\;i \cdot \left(t \cdot b - y \cdot j\right)\\
\mathbf{elif}\;z \leq 5.9 \cdot 10^{+51}:\\
\;\;\;\;a \cdot \left(c \cdot j - x \cdot t\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if z < -1.75000000000000009e61 or 5.89999999999999983e51 < z Initial program 58.7%
Taylor expanded in z around inf 72.6%
*-commutative72.6%
Simplified72.6%
if -1.75000000000000009e61 < z < 1.24999999999999996e-65Initial program 79.2%
Taylor expanded in i around inf 55.2%
distribute-lft-out--55.2%
*-commutative55.2%
Simplified55.2%
if 1.24999999999999996e-65 < z < 5.89999999999999983e51Initial program 72.6%
Taylor expanded in a around inf 69.2%
+-commutative69.2%
mul-1-neg69.2%
unsub-neg69.2%
Simplified69.2%
Final simplification63.9%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* b (- (* t i) (* z c)))))
(if (<= b -7.8e+41)
t_1
(if (<= b -2.2e-57)
(* y (* x z))
(if (<= b 1.2e+113) (* a (- (* c j) (* x t))) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = b * ((t * i) - (z * c));
double tmp;
if (b <= -7.8e+41) {
tmp = t_1;
} else if (b <= -2.2e-57) {
tmp = y * (x * z);
} else if (b <= 1.2e+113) {
tmp = a * ((c * j) - (x * t));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: tmp
t_1 = b * ((t * i) - (z * c))
if (b <= (-7.8d+41)) then
tmp = t_1
else if (b <= (-2.2d-57)) then
tmp = y * (x * z)
else if (b <= 1.2d+113) then
tmp = a * ((c * j) - (x * t))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = b * ((t * i) - (z * c));
double tmp;
if (b <= -7.8e+41) {
tmp = t_1;
} else if (b <= -2.2e-57) {
tmp = y * (x * z);
} else if (b <= 1.2e+113) {
tmp = a * ((c * j) - (x * t));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = b * ((t * i) - (z * c)) tmp = 0 if b <= -7.8e+41: tmp = t_1 elif b <= -2.2e-57: tmp = y * (x * z) elif b <= 1.2e+113: tmp = a * ((c * j) - (x * t)) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(b * Float64(Float64(t * i) - Float64(z * c))) tmp = 0.0 if (b <= -7.8e+41) tmp = t_1; elseif (b <= -2.2e-57) tmp = Float64(y * Float64(x * z)); elseif (b <= 1.2e+113) tmp = Float64(a * Float64(Float64(c * j) - Float64(x * t))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = b * ((t * i) - (z * c)); tmp = 0.0; if (b <= -7.8e+41) tmp = t_1; elseif (b <= -2.2e-57) tmp = y * (x * z); elseif (b <= 1.2e+113) tmp = a * ((c * j) - (x * t)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -7.8e+41], t$95$1, If[LessEqual[b, -2.2e-57], N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.2e+113], N[(a * N[(N[(c * j), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(t \cdot i - z \cdot c\right)\\
\mathbf{if}\;b \leq -7.8 \cdot 10^{+41}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;b \leq -2.2 \cdot 10^{-57}:\\
\;\;\;\;y \cdot \left(x \cdot z\right)\\
\mathbf{elif}\;b \leq 1.2 \cdot 10^{+113}:\\
\;\;\;\;a \cdot \left(c \cdot j - x \cdot t\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if b < -7.7999999999999994e41 or 1.19999999999999992e113 < b Initial program 68.7%
Taylor expanded in b around inf 65.7%
*-commutative65.7%
Simplified65.7%
if -7.7999999999999994e41 < b < -2.19999999999999999e-57Initial program 82.6%
Taylor expanded in y around inf 76.8%
+-commutative76.8%
mul-1-neg76.8%
unsub-neg76.8%
*-commutative76.8%
Simplified76.8%
Taylor expanded in z around inf 53.5%
*-commutative53.5%
Simplified53.5%
if -2.19999999999999999e-57 < b < 1.19999999999999992e113Initial program 69.0%
Taylor expanded in a around inf 45.5%
+-commutative45.5%
mul-1-neg45.5%
unsub-neg45.5%
Simplified45.5%
Final simplification55.4%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* a (- (* c j) (* x t)))))
(if (<= a -1.7e+34)
t_1
(if (<= a -1.5e-285)
(* (- y) (* i j))
(if (<= a 6.4e-80) (* c (* z (- b))) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = a * ((c * j) - (x * t));
double tmp;
if (a <= -1.7e+34) {
tmp = t_1;
} else if (a <= -1.5e-285) {
tmp = -y * (i * j);
} else if (a <= 6.4e-80) {
tmp = c * (z * -b);
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: tmp
t_1 = a * ((c * j) - (x * t))
if (a <= (-1.7d+34)) then
tmp = t_1
else if (a <= (-1.5d-285)) then
tmp = -y * (i * j)
else if (a <= 6.4d-80) then
tmp = c * (z * -b)
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = a * ((c * j) - (x * t));
double tmp;
if (a <= -1.7e+34) {
tmp = t_1;
} else if (a <= -1.5e-285) {
tmp = -y * (i * j);
} else if (a <= 6.4e-80) {
tmp = c * (z * -b);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = a * ((c * j) - (x * t)) tmp = 0 if a <= -1.7e+34: tmp = t_1 elif a <= -1.5e-285: tmp = -y * (i * j) elif a <= 6.4e-80: tmp = c * (z * -b) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(a * Float64(Float64(c * j) - Float64(x * t))) tmp = 0.0 if (a <= -1.7e+34) tmp = t_1; elseif (a <= -1.5e-285) tmp = Float64(Float64(-y) * Float64(i * j)); elseif (a <= 6.4e-80) tmp = Float64(c * Float64(z * Float64(-b))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = a * ((c * j) - (x * t)); tmp = 0.0; if (a <= -1.7e+34) tmp = t_1; elseif (a <= -1.5e-285) tmp = -y * (i * j); elseif (a <= 6.4e-80) tmp = c * (z * -b); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(a * N[(N[(c * j), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -1.7e+34], t$95$1, If[LessEqual[a, -1.5e-285], N[((-y) * N[(i * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 6.4e-80], N[(c * N[(z * (-b)), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(c \cdot j - x \cdot t\right)\\
\mathbf{if}\;a \leq -1.7 \cdot 10^{+34}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq -1.5 \cdot 10^{-285}:\\
\;\;\;\;\left(-y\right) \cdot \left(i \cdot j\right)\\
\mathbf{elif}\;a \leq 6.4 \cdot 10^{-80}:\\
\;\;\;\;c \cdot \left(z \cdot \left(-b\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if a < -1.7e34 or 6.3999999999999998e-80 < a Initial program 65.1%
Taylor expanded in a around inf 56.8%
+-commutative56.8%
mul-1-neg56.8%
unsub-neg56.8%
Simplified56.8%
if -1.7e34 < a < -1.50000000000000002e-285Initial program 69.8%
Taylor expanded in y around inf 64.6%
+-commutative64.6%
mul-1-neg64.6%
unsub-neg64.6%
*-commutative64.6%
Simplified64.6%
Taylor expanded in z around 0 42.4%
neg-mul-142.4%
distribute-rgt-neg-in42.4%
Simplified42.4%
if -1.50000000000000002e-285 < a < 6.3999999999999998e-80Initial program 80.0%
Taylor expanded in c around inf 38.3%
Taylor expanded in a around 0 36.5%
associate-*r*36.5%
neg-mul-136.5%
*-commutative36.5%
Simplified36.5%
Final simplification48.3%
(FPCore (x y z t a b c i j)
:precision binary64
(if (<= j -2.6e+100)
(* a (* c j))
(if (<= j 3.6e+21)
(* z (* x y))
(if (<= j 5.8e+269) (* (- y) (* i j)) (* c (* a j))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (j <= -2.6e+100) {
tmp = a * (c * j);
} else if (j <= 3.6e+21) {
tmp = z * (x * y);
} else if (j <= 5.8e+269) {
tmp = -y * (i * j);
} else {
tmp = c * (a * j);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: tmp
if (j <= (-2.6d+100)) then
tmp = a * (c * j)
else if (j <= 3.6d+21) then
tmp = z * (x * y)
else if (j <= 5.8d+269) then
tmp = -y * (i * j)
else
tmp = c * (a * j)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (j <= -2.6e+100) {
tmp = a * (c * j);
} else if (j <= 3.6e+21) {
tmp = z * (x * y);
} else if (j <= 5.8e+269) {
tmp = -y * (i * j);
} else {
tmp = c * (a * j);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if j <= -2.6e+100: tmp = a * (c * j) elif j <= 3.6e+21: tmp = z * (x * y) elif j <= 5.8e+269: tmp = -y * (i * j) else: tmp = c * (a * j) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (j <= -2.6e+100) tmp = Float64(a * Float64(c * j)); elseif (j <= 3.6e+21) tmp = Float64(z * Float64(x * y)); elseif (j <= 5.8e+269) tmp = Float64(Float64(-y) * Float64(i * j)); else tmp = Float64(c * Float64(a * j)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if (j <= -2.6e+100) tmp = a * (c * j); elseif (j <= 3.6e+21) tmp = z * (x * y); elseif (j <= 5.8e+269) tmp = -y * (i * j); else tmp = c * (a * j); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[j, -2.6e+100], N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3.6e+21], N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 5.8e+269], N[((-y) * N[(i * j), $MachinePrecision]), $MachinePrecision], N[(c * N[(a * j), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;j \leq -2.6 \cdot 10^{+100}:\\
\;\;\;\;a \cdot \left(c \cdot j\right)\\
\mathbf{elif}\;j \leq 3.6 \cdot 10^{+21}:\\
\;\;\;\;z \cdot \left(x \cdot y\right)\\
\mathbf{elif}\;j \leq 5.8 \cdot 10^{+269}:\\
\;\;\;\;\left(-y\right) \cdot \left(i \cdot j\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(a \cdot j\right)\\
\end{array}
\end{array}
if j < -2.6000000000000002e100Initial program 62.8%
Taylor expanded in a around inf 61.8%
+-commutative61.8%
mul-1-neg61.8%
unsub-neg61.8%
Simplified61.8%
Taylor expanded in c around inf 52.5%
if -2.6000000000000002e100 < j < 3.6e21Initial program 69.3%
Taylor expanded in z around inf 51.9%
*-commutative51.9%
Simplified51.9%
Taylor expanded in y around inf 36.3%
if 3.6e21 < j < 5.80000000000000051e269Initial program 75.1%
Taylor expanded in y around inf 53.2%
+-commutative53.2%
mul-1-neg53.2%
unsub-neg53.2%
*-commutative53.2%
Simplified53.2%
Taylor expanded in z around 0 46.6%
neg-mul-146.6%
distribute-rgt-neg-in46.6%
Simplified46.6%
if 5.80000000000000051e269 < j Initial program 85.7%
Taylor expanded in c around inf 88.5%
Taylor expanded in a around inf 88.5%
Final simplification42.6%
(FPCore (x y z t a b c i j)
:precision binary64
(if (<= c -3400000.0)
(* c (* z (- b)))
(if (<= c 3.9e-271)
(* y (* x z))
(if (<= c 92.0) (* t (* b i)) (* j (* a c))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (c <= -3400000.0) {
tmp = c * (z * -b);
} else if (c <= 3.9e-271) {
tmp = y * (x * z);
} else if (c <= 92.0) {
tmp = t * (b * i);
} else {
tmp = j * (a * c);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: tmp
if (c <= (-3400000.0d0)) then
tmp = c * (z * -b)
else if (c <= 3.9d-271) then
tmp = y * (x * z)
else if (c <= 92.0d0) then
tmp = t * (b * i)
else
tmp = j * (a * c)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (c <= -3400000.0) {
tmp = c * (z * -b);
} else if (c <= 3.9e-271) {
tmp = y * (x * z);
} else if (c <= 92.0) {
tmp = t * (b * i);
} else {
tmp = j * (a * c);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if c <= -3400000.0: tmp = c * (z * -b) elif c <= 3.9e-271: tmp = y * (x * z) elif c <= 92.0: tmp = t * (b * i) else: tmp = j * (a * c) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (c <= -3400000.0) tmp = Float64(c * Float64(z * Float64(-b))); elseif (c <= 3.9e-271) tmp = Float64(y * Float64(x * z)); elseif (c <= 92.0) tmp = Float64(t * Float64(b * i)); else tmp = Float64(j * Float64(a * c)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if (c <= -3400000.0) tmp = c * (z * -b); elseif (c <= 3.9e-271) tmp = y * (x * z); elseif (c <= 92.0) tmp = t * (b * i); else tmp = j * (a * c); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[c, -3400000.0], N[(c * N[(z * (-b)), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 3.9e-271], N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 92.0], N[(t * N[(b * i), $MachinePrecision]), $MachinePrecision], N[(j * N[(a * c), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;c \leq -3400000:\\
\;\;\;\;c \cdot \left(z \cdot \left(-b\right)\right)\\
\mathbf{elif}\;c \leq 3.9 \cdot 10^{-271}:\\
\;\;\;\;y \cdot \left(x \cdot z\right)\\
\mathbf{elif}\;c \leq 92:\\
\;\;\;\;t \cdot \left(b \cdot i\right)\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(a \cdot c\right)\\
\end{array}
\end{array}
if c < -3.4e6Initial program 60.1%
Taylor expanded in c around inf 57.7%
Taylor expanded in a around 0 43.0%
associate-*r*43.0%
neg-mul-143.0%
*-commutative43.0%
Simplified43.0%
if -3.4e6 < c < 3.89999999999999997e-271Initial program 79.4%
Taylor expanded in y around inf 54.3%
+-commutative54.3%
mul-1-neg54.3%
unsub-neg54.3%
*-commutative54.3%
Simplified54.3%
Taylor expanded in z around inf 41.2%
*-commutative41.2%
Simplified41.2%
if 3.89999999999999997e-271 < c < 92Initial program 72.9%
Taylor expanded in t around inf 52.4%
distribute-lft-out--52.4%
Simplified52.4%
Taylor expanded in a around 0 32.2%
associate-*r*35.4%
Simplified35.4%
if 92 < c Initial program 66.1%
Taylor expanded in a around inf 55.0%
+-commutative55.0%
mul-1-neg55.0%
unsub-neg55.0%
Simplified55.0%
Taylor expanded in c around inf 45.3%
associate-*r*47.2%
*-commutative47.2%
*-commutative47.2%
Simplified47.2%
Final simplification41.7%
(FPCore (x y z t a b c i j) :precision binary64 (if (or (<= c -8e-101) (not (<= c 280000000000.0))) (* c (- (* a j) (* z b))) (* t (- (* b i) (* x a)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if ((c <= -8e-101) || !(c <= 280000000000.0)) {
tmp = c * ((a * j) - (z * b));
} else {
tmp = t * ((b * i) - (x * a));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: tmp
if ((c <= (-8d-101)) .or. (.not. (c <= 280000000000.0d0))) then
tmp = c * ((a * j) - (z * b))
else
tmp = t * ((b * i) - (x * a))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if ((c <= -8e-101) || !(c <= 280000000000.0)) {
tmp = c * ((a * j) - (z * b));
} else {
tmp = t * ((b * i) - (x * a));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if (c <= -8e-101) or not (c <= 280000000000.0): tmp = c * ((a * j) - (z * b)) else: tmp = t * ((b * i) - (x * a)) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if ((c <= -8e-101) || !(c <= 280000000000.0)) tmp = Float64(c * Float64(Float64(a * j) - Float64(z * b))); else tmp = Float64(t * Float64(Float64(b * i) - Float64(x * a))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if ((c <= -8e-101) || ~((c <= 280000000000.0))) tmp = c * ((a * j) - (z * b)); else tmp = t * ((b * i) - (x * a)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[Or[LessEqual[c, -8e-101], N[Not[LessEqual[c, 280000000000.0]], $MachinePrecision]], N[(c * N[(N[(a * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t * N[(N[(b * i), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;c \leq -8 \cdot 10^{-101} \lor \neg \left(c \leq 280000000000\right):\\
\;\;\;\;c \cdot \left(a \cdot j - z \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(b \cdot i - x \cdot a\right)\\
\end{array}
\end{array}
if c < -8.00000000000000041e-101 or 2.8e11 < c Initial program 65.9%
Taylor expanded in c around inf 59.8%
if -8.00000000000000041e-101 < c < 2.8e11Initial program 74.3%
Taylor expanded in t around inf 51.4%
distribute-lft-out--51.4%
Simplified51.4%
Taylor expanded in t around 0 51.4%
mul-1-neg51.4%
*-commutative51.4%
*-commutative51.4%
distribute-rgt-neg-out51.4%
neg-sub051.4%
associate--r-51.4%
neg-sub051.4%
*-commutative51.4%
mul-1-neg51.4%
*-commutative51.4%
+-commutative51.4%
*-commutative51.4%
mul-1-neg51.4%
*-commutative51.4%
unsub-neg51.4%
*-commutative51.4%
*-commutative51.4%
Simplified51.4%
Final simplification55.9%
(FPCore (x y z t a b c i j) :precision binary64 (if (<= j -2.4e+100) (* a (* c j)) (if (<= j 1e+20) (* z (* x y)) (* i (* y (- j))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (j <= -2.4e+100) {
tmp = a * (c * j);
} else if (j <= 1e+20) {
tmp = z * (x * y);
} else {
tmp = i * (y * -j);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: tmp
if (j <= (-2.4d+100)) then
tmp = a * (c * j)
else if (j <= 1d+20) then
tmp = z * (x * y)
else
tmp = i * (y * -j)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (j <= -2.4e+100) {
tmp = a * (c * j);
} else if (j <= 1e+20) {
tmp = z * (x * y);
} else {
tmp = i * (y * -j);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if j <= -2.4e+100: tmp = a * (c * j) elif j <= 1e+20: tmp = z * (x * y) else: tmp = i * (y * -j) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (j <= -2.4e+100) tmp = Float64(a * Float64(c * j)); elseif (j <= 1e+20) tmp = Float64(z * Float64(x * y)); else tmp = Float64(i * Float64(y * Float64(-j))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if (j <= -2.4e+100) tmp = a * (c * j); elseif (j <= 1e+20) tmp = z * (x * y); else tmp = i * (y * -j); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[j, -2.4e+100], N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1e+20], N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision], N[(i * N[(y * (-j)), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;j \leq -2.4 \cdot 10^{+100}:\\
\;\;\;\;a \cdot \left(c \cdot j\right)\\
\mathbf{elif}\;j \leq 10^{+20}:\\
\;\;\;\;z \cdot \left(x \cdot y\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(y \cdot \left(-j\right)\right)\\
\end{array}
\end{array}
if j < -2.40000000000000012e100Initial program 62.8%
Taylor expanded in a around inf 61.8%
+-commutative61.8%
mul-1-neg61.8%
unsub-neg61.8%
Simplified61.8%
Taylor expanded in c around inf 52.5%
if -2.40000000000000012e100 < j < 1e20Initial program 69.3%
Taylor expanded in z around inf 51.9%
*-commutative51.9%
Simplified51.9%
Taylor expanded in y around inf 36.3%
if 1e20 < j Initial program 76.3%
Taylor expanded in y around inf 52.1%
+-commutative52.1%
mul-1-neg52.1%
unsub-neg52.1%
*-commutative52.1%
Simplified52.1%
Taylor expanded in z around 0 44.8%
neg-mul-144.8%
distribute-rgt-neg-in44.8%
distribute-lft-neg-in44.8%
Simplified44.8%
Final simplification41.0%
(FPCore (x y z t a b c i j) :precision binary64 (if (or (<= b -3.85e-56) (not (<= b 4.4e+92))) (* b (* t i)) (* c (* a j))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if ((b <= -3.85e-56) || !(b <= 4.4e+92)) {
tmp = b * (t * i);
} else {
tmp = c * (a * j);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: tmp
if ((b <= (-3.85d-56)) .or. (.not. (b <= 4.4d+92))) then
tmp = b * (t * i)
else
tmp = c * (a * j)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if ((b <= -3.85e-56) || !(b <= 4.4e+92)) {
tmp = b * (t * i);
} else {
tmp = c * (a * j);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if (b <= -3.85e-56) or not (b <= 4.4e+92): tmp = b * (t * i) else: tmp = c * (a * j) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if ((b <= -3.85e-56) || !(b <= 4.4e+92)) tmp = Float64(b * Float64(t * i)); else tmp = Float64(c * Float64(a * j)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if ((b <= -3.85e-56) || ~((b <= 4.4e+92))) tmp = b * (t * i); else tmp = c * (a * j); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[Or[LessEqual[b, -3.85e-56], N[Not[LessEqual[b, 4.4e+92]], $MachinePrecision]], N[(b * N[(t * i), $MachinePrecision]), $MachinePrecision], N[(c * N[(a * j), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -3.85 \cdot 10^{-56} \lor \neg \left(b \leq 4.4 \cdot 10^{+92}\right):\\
\;\;\;\;b \cdot \left(t \cdot i\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(a \cdot j\right)\\
\end{array}
\end{array}
if b < -3.85000000000000019e-56 or 4.39999999999999984e92 < b Initial program 71.5%
Taylor expanded in t around inf 49.6%
distribute-lft-out--49.6%
Simplified49.6%
Taylor expanded in a around 0 37.1%
if -3.85000000000000019e-56 < b < 4.39999999999999984e92Initial program 67.7%
Taylor expanded in c around inf 36.0%
Taylor expanded in a around inf 30.3%
Final simplification34.0%
(FPCore (x y z t a b c i j) :precision binary64 (if (or (<= b -4e-56) (not (<= b 5.8e+92))) (* b (* t i)) (* a (* c j))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if ((b <= -4e-56) || !(b <= 5.8e+92)) {
tmp = b * (t * i);
} else {
tmp = a * (c * j);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: tmp
if ((b <= (-4d-56)) .or. (.not. (b <= 5.8d+92))) then
tmp = b * (t * i)
else
tmp = a * (c * j)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if ((b <= -4e-56) || !(b <= 5.8e+92)) {
tmp = b * (t * i);
} else {
tmp = a * (c * j);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if (b <= -4e-56) or not (b <= 5.8e+92): tmp = b * (t * i) else: tmp = a * (c * j) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if ((b <= -4e-56) || !(b <= 5.8e+92)) tmp = Float64(b * Float64(t * i)); else tmp = Float64(a * Float64(c * j)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if ((b <= -4e-56) || ~((b <= 5.8e+92))) tmp = b * (t * i); else tmp = a * (c * j); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[Or[LessEqual[b, -4e-56], N[Not[LessEqual[b, 5.8e+92]], $MachinePrecision]], N[(b * N[(t * i), $MachinePrecision]), $MachinePrecision], N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -4 \cdot 10^{-56} \lor \neg \left(b \leq 5.8 \cdot 10^{+92}\right):\\
\;\;\;\;b \cdot \left(t \cdot i\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(c \cdot j\right)\\
\end{array}
\end{array}
if b < -4.0000000000000002e-56 or 5.8000000000000001e92 < b Initial program 71.5%
Taylor expanded in t around inf 49.6%
distribute-lft-out--49.6%
Simplified49.6%
Taylor expanded in a around 0 37.1%
if -4.0000000000000002e-56 < b < 5.8000000000000001e92Initial program 67.7%
Taylor expanded in a around inf 45.6%
+-commutative45.6%
mul-1-neg45.6%
unsub-neg45.6%
Simplified45.6%
Taylor expanded in c around inf 27.8%
Final simplification32.9%
(FPCore (x y z t a b c i j) :precision binary64 (if (<= j -1.36e+97) (* a (* c j)) (if (<= j 1.6e+15) (* x (* y z)) (* c (* a j)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (j <= -1.36e+97) {
tmp = a * (c * j);
} else if (j <= 1.6e+15) {
tmp = x * (y * z);
} else {
tmp = c * (a * j);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: tmp
if (j <= (-1.36d+97)) then
tmp = a * (c * j)
else if (j <= 1.6d+15) then
tmp = x * (y * z)
else
tmp = c * (a * j)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (j <= -1.36e+97) {
tmp = a * (c * j);
} else if (j <= 1.6e+15) {
tmp = x * (y * z);
} else {
tmp = c * (a * j);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if j <= -1.36e+97: tmp = a * (c * j) elif j <= 1.6e+15: tmp = x * (y * z) else: tmp = c * (a * j) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (j <= -1.36e+97) tmp = Float64(a * Float64(c * j)); elseif (j <= 1.6e+15) tmp = Float64(x * Float64(y * z)); else tmp = Float64(c * Float64(a * j)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if (j <= -1.36e+97) tmp = a * (c * j); elseif (j <= 1.6e+15) tmp = x * (y * z); else tmp = c * (a * j); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[j, -1.36e+97], N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.6e+15], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], N[(c * N[(a * j), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;j \leq -1.36 \cdot 10^{+97}:\\
\;\;\;\;a \cdot \left(c \cdot j\right)\\
\mathbf{elif}\;j \leq 1.6 \cdot 10^{+15}:\\
\;\;\;\;x \cdot \left(y \cdot z\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(a \cdot j\right)\\
\end{array}
\end{array}
if j < -1.36e97Initial program 62.8%
Taylor expanded in a around inf 61.8%
+-commutative61.8%
mul-1-neg61.8%
unsub-neg61.8%
Simplified61.8%
Taylor expanded in c around inf 52.5%
if -1.36e97 < j < 1.6e15Initial program 69.3%
Taylor expanded in y around inf 45.5%
+-commutative45.5%
mul-1-neg45.5%
unsub-neg45.5%
*-commutative45.5%
Simplified45.5%
Taylor expanded in z around inf 35.1%
*-commutative35.1%
Simplified35.1%
if 1.6e15 < j Initial program 76.3%
Taylor expanded in c around inf 53.0%
Taylor expanded in a around inf 34.1%
Final simplification37.8%
(FPCore (x y z t a b c i j) :precision binary64 (* a (* c j)))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
return a * (c * j);
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
code = a * (c * j)
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
return a * (c * j);
}
def code(x, y, z, t, a, b, c, i, j): return a * (c * j)
function code(x, y, z, t, a, b, c, i, j) return Float64(a * Float64(c * j)) end
function tmp = code(x, y, z, t, a, b, c, i, j) tmp = a * (c * j); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
a \cdot \left(c \cdot j\right)
\end{array}
Initial program 69.8%
Taylor expanded in a around inf 37.2%
+-commutative37.2%
mul-1-neg37.2%
unsub-neg37.2%
Simplified37.2%
Taylor expanded in c around inf 21.3%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* j (- (* c a) (* y i))))
(t_2
(+
(-
(* x (- (* y z) (* t a)))
(/
(* b (- (pow (* c z) 2.0) (pow (* t i) 2.0)))
(+ (* c z) (* t i))))
t_1)))
(if (< x -1.469694296777705e-64)
t_2
(if (< x 3.2113527362226803e-147)
(- (* (- (* b i) (* x a)) t) (- (* z (* c b)) t_1))
t_2))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = j * ((c * a) - (y * i));
double t_2 = ((x * ((y * z) - (t * a))) - ((b * (pow((c * z), 2.0) - pow((t * i), 2.0))) / ((c * z) + (t * i)))) + t_1;
double tmp;
if (x < -1.469694296777705e-64) {
tmp = t_2;
} else if (x < 3.2113527362226803e-147) {
tmp = (((b * i) - (x * a)) * t) - ((z * (c * b)) - t_1);
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = j * ((c * a) - (y * i))
t_2 = ((x * ((y * z) - (t * a))) - ((b * (((c * z) ** 2.0d0) - ((t * i) ** 2.0d0))) / ((c * z) + (t * i)))) + t_1
if (x < (-1.469694296777705d-64)) then
tmp = t_2
else if (x < 3.2113527362226803d-147) then
tmp = (((b * i) - (x * a)) * t) - ((z * (c * b)) - t_1)
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = j * ((c * a) - (y * i));
double t_2 = ((x * ((y * z) - (t * a))) - ((b * (Math.pow((c * z), 2.0) - Math.pow((t * i), 2.0))) / ((c * z) + (t * i)))) + t_1;
double tmp;
if (x < -1.469694296777705e-64) {
tmp = t_2;
} else if (x < 3.2113527362226803e-147) {
tmp = (((b * i) - (x * a)) * t) - ((z * (c * b)) - t_1);
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = j * ((c * a) - (y * i)) t_2 = ((x * ((y * z) - (t * a))) - ((b * (math.pow((c * z), 2.0) - math.pow((t * i), 2.0))) / ((c * z) + (t * i)))) + t_1 tmp = 0 if x < -1.469694296777705e-64: tmp = t_2 elif x < 3.2113527362226803e-147: tmp = (((b * i) - (x * a)) * t) - ((z * (c * b)) - t_1) else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(j * Float64(Float64(c * a) - Float64(y * i))) t_2 = Float64(Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) - Float64(Float64(b * Float64((Float64(c * z) ^ 2.0) - (Float64(t * i) ^ 2.0))) / Float64(Float64(c * z) + Float64(t * i)))) + t_1) tmp = 0.0 if (x < -1.469694296777705e-64) tmp = t_2; elseif (x < 3.2113527362226803e-147) tmp = Float64(Float64(Float64(Float64(b * i) - Float64(x * a)) * t) - Float64(Float64(z * Float64(c * b)) - t_1)); else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = j * ((c * a) - (y * i)); t_2 = ((x * ((y * z) - (t * a))) - ((b * (((c * z) ^ 2.0) - ((t * i) ^ 2.0))) / ((c * z) + (t * i)))) + t_1; tmp = 0.0; if (x < -1.469694296777705e-64) tmp = t_2; elseif (x < 3.2113527362226803e-147) tmp = (((b * i) - (x * a)) * t) - ((z * (c * b)) - t_1); else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(j * N[(N[(c * a), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(b * N[(N[Power[N[(c * z), $MachinePrecision], 2.0], $MachinePrecision] - N[Power[N[(t * i), $MachinePrecision], 2.0], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(N[(c * z), $MachinePrecision] + N[(t * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$1), $MachinePrecision]}, If[Less[x, -1.469694296777705e-64], t$95$2, If[Less[x, 3.2113527362226803e-147], N[(N[(N[(N[(b * i), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision] - N[(N[(z * N[(c * b), $MachinePrecision]), $MachinePrecision] - t$95$1), $MachinePrecision]), $MachinePrecision], t$95$2]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(c \cdot a - y \cdot i\right)\\
t_2 := \left(x \cdot \left(y \cdot z - t \cdot a\right) - \frac{b \cdot \left({\left(c \cdot z\right)}^{2} - {\left(t \cdot i\right)}^{2}\right)}{c \cdot z + t \cdot i}\right) + t\_1\\
\mathbf{if}\;x < -1.469694296777705 \cdot 10^{-64}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;x < 3.2113527362226803 \cdot 10^{-147}:\\
\;\;\;\;\left(b \cdot i - x \cdot a\right) \cdot t - \left(z \cdot \left(c \cdot b\right) - t\_1\right)\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
herbie shell --seed 2024145
(FPCore (x y z t a b c i j)
:name "Data.Colour.Matrix:determinant from colour-2.3.3, A"
:precision binary64
:alt
(! :herbie-platform default (if (< x -293938859355541/2000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (- (* x (- (* y z) (* t a))) (/ (* b (- (pow (* c z) 2) (pow (* t i) 2))) (+ (* c z) (* t i)))) (* j (- (* c a) (* y i)))) (if (< x 32113527362226803/10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (- (* (- (* b i) (* x a)) t) (- (* z (* c b)) (* j (- (* c a) (* y i))))) (+ (- (* x (- (* y z) (* t a))) (/ (* b (- (pow (* c z) 2) (pow (* t i) 2))) (+ (* c z) (* t i)))) (* j (- (* c a) (* y i)))))))
(+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* t i)))) (* j (- (* c a) (* y i)))))