
(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 25 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
(+
(+ (* x (- (* y z) (* t a))) (* b (- (* t i) (* z c))))
(* j (- (* a c) (* y i))))))
(if (<= t_1 INFINITY) t_1 (* x (* y (- z (/ (* i j) x)))))))
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 * ((t * i) - (z * c)))) + (j * ((a * c) - (y * i)));
double tmp;
if (t_1 <= ((double) INFINITY)) {
tmp = t_1;
} else {
tmp = x * (y * (z - ((i * j) / x)));
}
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 * ((t * i) - (z * c)))) + (j * ((a * c) - (y * i)));
double tmp;
if (t_1 <= Double.POSITIVE_INFINITY) {
tmp = t_1;
} else {
tmp = x * (y * (z - ((i * j) / x)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = ((x * ((y * z) - (t * a))) + (b * ((t * i) - (z * c)))) + (j * ((a * c) - (y * i))) tmp = 0 if t_1 <= math.inf: tmp = t_1 else: tmp = x * (y * (z - ((i * j) / x))) 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(t * i) - Float64(z * c)))) + Float64(j * Float64(Float64(a * c) - Float64(y * i)))) tmp = 0.0 if (t_1 <= Inf) tmp = t_1; else tmp = Float64(x * Float64(y * Float64(z - Float64(Float64(i * j) / x)))); 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 * ((t * i) - (z * c)))) + (j * ((a * c) - (y * i))); tmp = 0.0; if (t_1 <= Inf) tmp = t_1; else tmp = x * (y * (z - ((i * j) / x))); 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[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, Infinity], t$95$1, N[(x * N[(y * N[(z - N[(N[(i * j), $MachinePrecision] / x), $MachinePrecision]), $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(t \cdot i - z \cdot c\right)\right) + j \cdot \left(a \cdot c - y \cdot i\right)\\
\mathbf{if}\;t\_1 \leq \infty:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(y \cdot \left(z - \frac{i \cdot j}{x}\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 90.0%
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 0
Applied rewrites46.3%
Taylor expanded in x around inf
lower-*.f64N/A
lower--.f64N/A
Applied rewrites29.6%
Taylor expanded in y around inf
Applied rewrites61.5%
Final simplification84.0%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* x (fma t (- a) (* y z)))))
(if (<= x -6e+152)
t_1
(if (<= x 8.8e+86)
(fma
a
(fma j c (* x (- t)))
(fma b (- (* t i) (* z c)) (* y (fma j (- i) (* x z)))))
(fma c (fma b (- z) (* a j)) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = x * fma(t, -a, (y * z));
double tmp;
if (x <= -6e+152) {
tmp = t_1;
} else if (x <= 8.8e+86) {
tmp = fma(a, fma(j, c, (x * -t)), fma(b, ((t * i) - (z * c)), (y * fma(j, -i, (x * z)))));
} else {
tmp = fma(c, fma(b, -z, (a * j)), t_1);
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(x * fma(t, Float64(-a), Float64(y * z))) tmp = 0.0 if (x <= -6e+152) tmp = t_1; elseif (x <= 8.8e+86) tmp = fma(a, fma(j, c, Float64(x * Float64(-t))), fma(b, Float64(Float64(t * i) - Float64(z * c)), Float64(y * fma(j, Float64(-i), Float64(x * z))))); else tmp = fma(c, fma(b, Float64(-z), Float64(a * j)), t_1); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(x * N[(t * (-a) + N[(y * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -6e+152], t$95$1, If[LessEqual[x, 8.8e+86], N[(a * N[(j * c + N[(x * (-t)), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision] + N[(y * N[(j * (-i) + N[(x * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(b * (-z) + N[(a * j), $MachinePrecision]), $MachinePrecision] + t$95$1), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \mathsf{fma}\left(t, -a, y \cdot z\right)\\
\mathbf{if}\;x \leq -6 \cdot 10^{+152}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;x \leq 8.8 \cdot 10^{+86}:\\
\;\;\;\;\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right), \mathsf{fma}\left(b, t \cdot i - z \cdot c, y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(c, \mathsf{fma}\left(b, -z, a \cdot j\right), t\_1\right)\\
\end{array}
\end{array}
if x < -5.99999999999999981e152Initial program 64.0%
Taylor expanded in x around inf
lower-*.f64N/A
sub-negN/A
+-commutativeN/A
*-commutativeN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
lower-*.f6481.4
Applied rewrites81.4%
if -5.99999999999999981e152 < x < 8.80000000000000013e86Initial program 75.3%
Taylor expanded in y around 0
Applied rewrites85.0%
if 8.80000000000000013e86 < x Initial program 61.1%
Taylor expanded in i around 0
sub-negN/A
+-commutativeN/A
associate-+l+N/A
*-commutativeN/A
associate-*r*N/A
mul-1-negN/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
associate-*r*N/A
distribute-rgt-inN/A
mul-1-negN/A
sub-negN/A
+-commutativeN/A
lower-fma.f64N/A
Applied rewrites76.5%
Final simplification82.9%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (fma c (fma b (- z) (* a j)) (* x (fma t (- a) (* y z))))))
(if (<= c -1.7e+169)
t_1
(if (<= c -1.1e-17)
(fma (- (* a c) (* y i)) j (* b (* (- z) (fma x (/ y (- b)) c))))
(if (<= c 3.2e-128)
(- (fma y (fma j (- i) (* x z)) (* b (* t i))) (* a (* 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 = fma(c, fma(b, -z, (a * j)), (x * fma(t, -a, (y * z))));
double tmp;
if (c <= -1.7e+169) {
tmp = t_1;
} else if (c <= -1.1e-17) {
tmp = fma(((a * c) - (y * i)), j, (b * (-z * fma(x, (y / -b), c))));
} else if (c <= 3.2e-128) {
tmp = fma(y, fma(j, -i, (x * z)), (b * (t * i))) - (a * (x * t));
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j) t_1 = fma(c, fma(b, Float64(-z), Float64(a * j)), Float64(x * fma(t, Float64(-a), Float64(y * z)))) tmp = 0.0 if (c <= -1.7e+169) tmp = t_1; elseif (c <= -1.1e-17) tmp = fma(Float64(Float64(a * c) - Float64(y * i)), j, Float64(b * Float64(Float64(-z) * fma(x, Float64(y / Float64(-b)), c)))); elseif (c <= 3.2e-128) tmp = Float64(fma(y, fma(j, Float64(-i), Float64(x * z)), Float64(b * Float64(t * i))) - Float64(a * Float64(x * t))); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(c * N[(b * (-z) + N[(a * j), $MachinePrecision]), $MachinePrecision] + N[(x * N[(t * (-a) + N[(y * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -1.7e+169], t$95$1, If[LessEqual[c, -1.1e-17], N[(N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision] * j + N[(b * N[((-z) * N[(x * N[(y / (-b)), $MachinePrecision] + c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 3.2e-128], N[(N[(y * N[(j * (-i) + N[(x * z), $MachinePrecision]), $MachinePrecision] + N[(b * N[(t * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(a * N[(x * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(c, \mathsf{fma}\left(b, -z, a \cdot j\right), x \cdot \mathsf{fma}\left(t, -a, y \cdot z\right)\right)\\
\mathbf{if}\;c \leq -1.7 \cdot 10^{+169}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;c \leq -1.1 \cdot 10^{-17}:\\
\;\;\;\;\mathsf{fma}\left(a \cdot c - y \cdot i, j, b \cdot \left(\left(-z\right) \cdot \mathsf{fma}\left(x, \frac{y}{-b}, c\right)\right)\right)\\
\mathbf{elif}\;c \leq 3.2 \cdot 10^{-128}:\\
\;\;\;\;\mathsf{fma}\left(y, \mathsf{fma}\left(j, -i, x \cdot z\right), b \cdot \left(t \cdot i\right)\right) - a \cdot \left(x \cdot t\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if c < -1.70000000000000014e169 or 3.1999999999999998e-128 < c Initial program 67.5%
Taylor expanded in i around 0
sub-negN/A
+-commutativeN/A
associate-+l+N/A
*-commutativeN/A
associate-*r*N/A
mul-1-negN/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
associate-*r*N/A
distribute-rgt-inN/A
mul-1-negN/A
sub-negN/A
+-commutativeN/A
lower-fma.f64N/A
Applied rewrites73.4%
if -1.70000000000000014e169 < c < -1.1e-17Initial program 64.1%
Taylor expanded in a around inf
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
lower-*.f64N/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
lower-*.f64N/A
mul-1-negN/A
lower-neg.f6452.8
Applied rewrites52.8%
lift-+.f64N/A
+-commutativeN/A
lift-*.f64N/A
*-commutativeN/A
lower-fma.f6457.4
lift-*.f64N/A
*-commutativeN/A
lower-*.f6457.4
Applied rewrites57.4%
Taylor expanded in b around inf
lower-*.f64N/A
lower--.f64N/A
+-commutativeN/A
associate-/l*N/A
lower-fma.f64N/A
lower-/.f64N/A
lower--.f64N/A
lower-*.f64N/A
lower-*.f64N/A
lower-*.f64N/A
lower-*.f6473.3
Applied rewrites73.3%
Taylor expanded in z around -inf
Applied rewrites74.3%
if -1.1e-17 < c < 3.1999999999999998e-128Initial program 77.4%
Taylor expanded in y around 0
Applied rewrites86.0%
Taylor expanded in c around 0
Applied rewrites82.5%
Final simplification77.3%
(FPCore (x y z t a b c i j)
:precision binary64
(if (<= z -2.7e+145)
(fma z (fma x y (* b (- c))) (* a (fma x (- t) (* c j))))
(if (<= z -2e-126)
(fma b (- (* t i) (* z c)) (* y (fma j (- i) (* x z))))
(if (<= z 6.8e+126)
(fma (- (* a c) (* y i)) j (* t (fma i b (* x (- a)))))
(fma c (fma b (- z) (* a j)) (* x (fma t (- a) (* y z))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (z <= -2.7e+145) {
tmp = fma(z, fma(x, y, (b * -c)), (a * fma(x, -t, (c * j))));
} else if (z <= -2e-126) {
tmp = fma(b, ((t * i) - (z * c)), (y * fma(j, -i, (x * z))));
} else if (z <= 6.8e+126) {
tmp = fma(((a * c) - (y * i)), j, (t * fma(i, b, (x * -a))));
} else {
tmp = fma(c, fma(b, -z, (a * j)), (x * fma(t, -a, (y * z))));
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (z <= -2.7e+145) tmp = fma(z, fma(x, y, Float64(b * Float64(-c))), Float64(a * fma(x, Float64(-t), Float64(c * j)))); elseif (z <= -2e-126) tmp = fma(b, Float64(Float64(t * i) - Float64(z * c)), Float64(y * fma(j, Float64(-i), Float64(x * z)))); elseif (z <= 6.8e+126) tmp = fma(Float64(Float64(a * c) - Float64(y * i)), j, Float64(t * fma(i, b, Float64(x * Float64(-a))))); else tmp = fma(c, fma(b, Float64(-z), Float64(a * j)), Float64(x * fma(t, Float64(-a), Float64(y * z)))); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[z, -2.7e+145], N[(z * N[(x * y + N[(b * (-c)), $MachinePrecision]), $MachinePrecision] + N[(a * N[(x * (-t) + N[(c * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -2e-126], N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision] + N[(y * N[(j * (-i) + N[(x * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 6.8e+126], N[(N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision] * j + N[(t * N[(i * b + N[(x * (-a)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(b * (-z) + N[(a * j), $MachinePrecision]), $MachinePrecision] + N[(x * N[(t * (-a) + N[(y * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -2.7 \cdot 10^{+145}:\\
\;\;\;\;\mathsf{fma}\left(z, \mathsf{fma}\left(x, y, b \cdot \left(-c\right)\right), a \cdot \mathsf{fma}\left(x, -t, c \cdot j\right)\right)\\
\mathbf{elif}\;z \leq -2 \cdot 10^{-126}:\\
\;\;\;\;\mathsf{fma}\left(b, t \cdot i - z \cdot c, y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\right)\\
\mathbf{elif}\;z \leq 6.8 \cdot 10^{+126}:\\
\;\;\;\;\mathsf{fma}\left(a \cdot c - y \cdot i, j, t \cdot \mathsf{fma}\left(i, b, x \cdot \left(-a\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(c, \mathsf{fma}\left(b, -z, a \cdot j\right), x \cdot \mathsf{fma}\left(t, -a, y \cdot z\right)\right)\\
\end{array}
\end{array}
if z < -2.70000000000000022e145Initial program 57.7%
Taylor expanded in t around inf
lower-*.f64N/A
sub-negN/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
mul-1-negN/A
remove-double-negN/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6429.1
Applied rewrites29.1%
Taylor expanded in a around 0
Applied rewrites17.4%
Applied rewrites17.4%
Taylor expanded in i around 0
Applied rewrites76.8%
if -2.70000000000000022e145 < z < -1.9999999999999999e-126Initial program 82.0%
Taylor expanded in a around 0
sub-negN/A
+-commutativeN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
lower-fma.f64N/A
mul-1-negN/A
sub-negN/A
distribute-neg-inN/A
remove-double-negN/A
+-commutativeN/A
sub-negN/A
lower--.f64N/A
lower-*.f64N/A
lower-*.f64N/A
*-commutativeN/A
associate-*r*N/A
Applied rewrites82.4%
if -1.9999999999999999e-126 < z < 6.79999999999999979e126Initial program 71.3%
Taylor expanded in a around inf
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
lower-*.f64N/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
lower-*.f64N/A
mul-1-negN/A
lower-neg.f6454.5
Applied rewrites54.5%
lift-+.f64N/A
+-commutativeN/A
lift-*.f64N/A
*-commutativeN/A
lower-fma.f6455.3
lift-*.f64N/A
*-commutativeN/A
lower-*.f6455.3
Applied rewrites55.3%
Taylor expanded in t around inf
lower-*.f64N/A
associate-*r*N/A
mul-1-negN/A
cancel-sign-subN/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
lower-*.f64N/A
mul-1-negN/A
lower-neg.f6473.9
Applied rewrites73.9%
if 6.79999999999999979e126 < z Initial program 61.3%
Taylor expanded in i around 0
sub-negN/A
+-commutativeN/A
associate-+l+N/A
*-commutativeN/A
associate-*r*N/A
mul-1-negN/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
associate-*r*N/A
distribute-rgt-inN/A
mul-1-negN/A
sub-negN/A
+-commutativeN/A
lower-fma.f64N/A
Applied rewrites79.6%
Final simplification77.2%
(FPCore (x y z t a b c i j)
:precision binary64
(if (<= z -2.7e+145)
(fma z (fma x y (* b (- c))) (* a (fma x (- t) (* c j))))
(if (<= z -2e-126)
(fma b (- (* t i) (* z c)) (* y (fma j (- i) (* x z))))
(if (<= z 4.3e-97)
(fma j (- (* a c) (* y i)) (* t (fma a (- x) (* b i))))
(fma c (fma b (- z) (* a j)) (* x (fma t (- a) (* y z))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (z <= -2.7e+145) {
tmp = fma(z, fma(x, y, (b * -c)), (a * fma(x, -t, (c * j))));
} else if (z <= -2e-126) {
tmp = fma(b, ((t * i) - (z * c)), (y * fma(j, -i, (x * z))));
} else if (z <= 4.3e-97) {
tmp = fma(j, ((a * c) - (y * i)), (t * fma(a, -x, (b * i))));
} else {
tmp = fma(c, fma(b, -z, (a * j)), (x * fma(t, -a, (y * z))));
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (z <= -2.7e+145) tmp = fma(z, fma(x, y, Float64(b * Float64(-c))), Float64(a * fma(x, Float64(-t), Float64(c * j)))); elseif (z <= -2e-126) tmp = fma(b, Float64(Float64(t * i) - Float64(z * c)), Float64(y * fma(j, Float64(-i), Float64(x * z)))); elseif (z <= 4.3e-97) tmp = fma(j, Float64(Float64(a * c) - Float64(y * i)), Float64(t * fma(a, Float64(-x), Float64(b * i)))); else tmp = fma(c, fma(b, Float64(-z), Float64(a * j)), Float64(x * fma(t, Float64(-a), Float64(y * z)))); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[z, -2.7e+145], N[(z * N[(x * y + N[(b * (-c)), $MachinePrecision]), $MachinePrecision] + N[(a * N[(x * (-t) + N[(c * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -2e-126], N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision] + N[(y * N[(j * (-i) + N[(x * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 4.3e-97], N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision] + N[(t * N[(a * (-x) + N[(b * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(b * (-z) + N[(a * j), $MachinePrecision]), $MachinePrecision] + N[(x * N[(t * (-a) + N[(y * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -2.7 \cdot 10^{+145}:\\
\;\;\;\;\mathsf{fma}\left(z, \mathsf{fma}\left(x, y, b \cdot \left(-c\right)\right), a \cdot \mathsf{fma}\left(x, -t, c \cdot j\right)\right)\\
\mathbf{elif}\;z \leq -2 \cdot 10^{-126}:\\
\;\;\;\;\mathsf{fma}\left(b, t \cdot i - z \cdot c, y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\right)\\
\mathbf{elif}\;z \leq 4.3 \cdot 10^{-97}:\\
\;\;\;\;\mathsf{fma}\left(j, a \cdot c - y \cdot i, t \cdot \mathsf{fma}\left(a, -x, b \cdot i\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(c, \mathsf{fma}\left(b, -z, a \cdot j\right), x \cdot \mathsf{fma}\left(t, -a, y \cdot z\right)\right)\\
\end{array}
\end{array}
if z < -2.70000000000000022e145Initial program 57.7%
Taylor expanded in t around inf
lower-*.f64N/A
sub-negN/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
mul-1-negN/A
remove-double-negN/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6429.1
Applied rewrites29.1%
Taylor expanded in a around 0
Applied rewrites17.4%
Applied rewrites17.4%
Taylor expanded in i around 0
Applied rewrites76.8%
if -2.70000000000000022e145 < z < -1.9999999999999999e-126Initial program 82.0%
Taylor expanded in a around 0
sub-negN/A
+-commutativeN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
lower-fma.f64N/A
mul-1-negN/A
sub-negN/A
distribute-neg-inN/A
remove-double-negN/A
+-commutativeN/A
sub-negN/A
lower--.f64N/A
lower-*.f64N/A
lower-*.f64N/A
*-commutativeN/A
associate-*r*N/A
Applied rewrites82.4%
if -1.9999999999999999e-126 < z < 4.3e-97Initial program 72.0%
Taylor expanded in z around 0
+-commutativeN/A
associate--l+N/A
cancel-sign-sub-invN/A
*-commutativeN/A
associate-*r*N/A
associate-*l*N/A
metadata-evalN/A
*-lft-identityN/A
associate-*r*N/A
distribute-rgt-inN/A
*-lft-identityN/A
metadata-evalN/A
cancel-sign-sub-invN/A
lower-fma.f64N/A
Applied rewrites82.6%
if 4.3e-97 < z Initial program 66.6%
Taylor expanded in i around 0
sub-negN/A
+-commutativeN/A
associate-+l+N/A
*-commutativeN/A
associate-*r*N/A
mul-1-negN/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
associate-*r*N/A
distribute-rgt-inN/A
mul-1-negN/A
sub-negN/A
+-commutativeN/A
lower-fma.f64N/A
Applied rewrites67.0%
Final simplification76.7%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (- (* t i) (* z c)))
(t_2 (fma b t_1 (* y (fma j (- i) (* x z))))))
(if (<= b -7e-84)
t_2
(if (<= b 5.9e-6)
(fma c (fma b (- z) (* a j)) (* x (fma t (- a) (* y z))))
(if (<= b 4.4e+138) t_2 (* 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 * i) - (z * c);
double t_2 = fma(b, t_1, (y * fma(j, -i, (x * z))));
double tmp;
if (b <= -7e-84) {
tmp = t_2;
} else if (b <= 5.9e-6) {
tmp = fma(c, fma(b, -z, (a * j)), (x * fma(t, -a, (y * z))));
} else if (b <= 4.4e+138) {
tmp = t_2;
} else {
tmp = b * t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(Float64(t * i) - Float64(z * c)) t_2 = fma(b, t_1, Float64(y * fma(j, Float64(-i), Float64(x * z)))) tmp = 0.0 if (b <= -7e-84) tmp = t_2; elseif (b <= 5.9e-6) tmp = fma(c, fma(b, Float64(-z), Float64(a * j)), Float64(x * fma(t, Float64(-a), Float64(y * z)))); elseif (b <= 4.4e+138) tmp = t_2; else tmp = Float64(b * t_1); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * t$95$1 + N[(y * N[(j * (-i) + N[(x * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -7e-84], t$95$2, If[LessEqual[b, 5.9e-6], N[(c * N[(b * (-z) + N[(a * j), $MachinePrecision]), $MachinePrecision] + N[(x * N[(t * (-a) + N[(y * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 4.4e+138], t$95$2, N[(b * t$95$1), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot i - z \cdot c\\
t_2 := \mathsf{fma}\left(b, t\_1, y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\right)\\
\mathbf{if}\;b \leq -7 \cdot 10^{-84}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;b \leq 5.9 \cdot 10^{-6}:\\
\;\;\;\;\mathsf{fma}\left(c, \mathsf{fma}\left(b, -z, a \cdot j\right), x \cdot \mathsf{fma}\left(t, -a, y \cdot z\right)\right)\\
\mathbf{elif}\;b \leq 4.4 \cdot 10^{+138}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;b \cdot t\_1\\
\end{array}
\end{array}
if b < -7.0000000000000002e-84 or 5.90000000000000026e-6 < b < 4.4000000000000001e138Initial program 74.8%
Taylor expanded in a around 0
sub-negN/A
+-commutativeN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
lower-fma.f64N/A
mul-1-negN/A
sub-negN/A
distribute-neg-inN/A
remove-double-negN/A
+-commutativeN/A
sub-negN/A
lower--.f64N/A
lower-*.f64N/A
lower-*.f64N/A
*-commutativeN/A
associate-*r*N/A
Applied rewrites73.8%
if -7.0000000000000002e-84 < b < 5.90000000000000026e-6Initial program 65.7%
Taylor expanded in i around 0
sub-negN/A
+-commutativeN/A
associate-+l+N/A
*-commutativeN/A
associate-*r*N/A
mul-1-negN/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
associate-*r*N/A
distribute-rgt-inN/A
mul-1-negN/A
sub-negN/A
+-commutativeN/A
lower-fma.f64N/A
Applied rewrites69.8%
if 4.4000000000000001e138 < b Initial program 73.4%
Taylor expanded in b around inf
sub-negN/A
+-commutativeN/A
remove-double-negN/A
distribute-neg-inN/A
sub-negN/A
mul-1-negN/A
lower-*.f64N/A
mul-1-negN/A
sub-negN/A
distribute-neg-inN/A
remove-double-negN/A
+-commutativeN/A
sub-negN/A
lower--.f64N/A
lower-*.f64N/A
lower-*.f6485.7
Applied rewrites85.7%
Final simplification73.8%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (fma j (- (* a c) (* y i)) (* t (fma a (- x) (* b i))))))
(if (<= t -2.2e-56)
t_1
(if (<= t 4.6e+20)
(fma b (- (* t i) (* z c)) (* y (fma j (- i) (* x 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 = fma(j, ((a * c) - (y * i)), (t * fma(a, -x, (b * i))));
double tmp;
if (t <= -2.2e-56) {
tmp = t_1;
} else if (t <= 4.6e+20) {
tmp = fma(b, ((t * i) - (z * c)), (y * fma(j, -i, (x * z))));
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j) t_1 = fma(j, Float64(Float64(a * c) - Float64(y * i)), Float64(t * fma(a, Float64(-x), Float64(b * i)))) tmp = 0.0 if (t <= -2.2e-56) tmp = t_1; elseif (t <= 4.6e+20) tmp = fma(b, Float64(Float64(t * i) - Float64(z * c)), Float64(y * fma(j, Float64(-i), Float64(x * z)))); else tmp = t_1; end return 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] + N[(t * N[(a * (-x) + N[(b * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -2.2e-56], t$95$1, If[LessEqual[t, 4.6e+20], N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision] + N[(y * N[(j * (-i) + N[(x * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(j, a \cdot c - y \cdot i, t \cdot \mathsf{fma}\left(a, -x, b \cdot i\right)\right)\\
\mathbf{if}\;t \leq -2.2 \cdot 10^{-56}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 4.6 \cdot 10^{+20}:\\
\;\;\;\;\mathsf{fma}\left(b, t \cdot i - z \cdot c, y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -2.20000000000000004e-56 or 4.6e20 < t Initial program 67.2%
Taylor expanded in z around 0
+-commutativeN/A
associate--l+N/A
cancel-sign-sub-invN/A
*-commutativeN/A
associate-*r*N/A
associate-*l*N/A
metadata-evalN/A
*-lft-identityN/A
associate-*r*N/A
distribute-rgt-inN/A
*-lft-identityN/A
metadata-evalN/A
cancel-sign-sub-invN/A
lower-fma.f64N/A
Applied rewrites78.9%
if -2.20000000000000004e-56 < t < 4.6e20Initial program 74.9%
Taylor expanded in a around 0
sub-negN/A
+-commutativeN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
lower-fma.f64N/A
mul-1-negN/A
sub-negN/A
distribute-neg-inN/A
remove-double-negN/A
+-commutativeN/A
sub-negN/A
lower--.f64N/A
lower-*.f64N/A
lower-*.f64N/A
*-commutativeN/A
associate-*r*N/A
Applied rewrites70.7%
Final simplification74.9%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (fma a (fma j c (* x (- t))) (* x (* y z)))))
(if (<= a -2.5e+57)
t_1
(if (<= a 3.9e+48)
(fma b (- (* t i) (* z c)) (* y (fma j (- i) (* x 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 = fma(a, fma(j, c, (x * -t)), (x * (y * z)));
double tmp;
if (a <= -2.5e+57) {
tmp = t_1;
} else if (a <= 3.9e+48) {
tmp = fma(b, ((t * i) - (z * c)), (y * fma(j, -i, (x * z))));
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j) t_1 = fma(a, fma(j, c, Float64(x * Float64(-t))), Float64(x * Float64(y * z))) tmp = 0.0 if (a <= -2.5e+57) tmp = t_1; elseif (a <= 3.9e+48) tmp = fma(b, Float64(Float64(t * i) - Float64(z * c)), Float64(y * fma(j, Float64(-i), Float64(x * z)))); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(a * N[(j * c + N[(x * (-t)), $MachinePrecision]), $MachinePrecision] + N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -2.5e+57], t$95$1, If[LessEqual[a, 3.9e+48], N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision] + N[(y * N[(j * (-i) + N[(x * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(a, \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right), x \cdot \left(y \cdot z\right)\right)\\
\mathbf{if}\;a \leq -2.5 \cdot 10^{+57}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq 3.9 \cdot 10^{+48}:\\
\;\;\;\;\mathsf{fma}\left(b, t \cdot i - z \cdot c, y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if a < -2.49999999999999986e57 or 3.9000000000000001e48 < a Initial program 53.6%
Taylor expanded in y around 0
Applied rewrites72.6%
Taylor expanded in x around inf
Applied rewrites67.8%
if -2.49999999999999986e57 < a < 3.9000000000000001e48Initial program 81.8%
Taylor expanded in a around 0
sub-negN/A
+-commutativeN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
lower-fma.f64N/A
mul-1-negN/A
sub-negN/A
distribute-neg-inN/A
remove-double-negN/A
+-commutativeN/A
sub-negN/A
lower--.f64N/A
lower-*.f64N/A
lower-*.f64N/A
*-commutativeN/A
associate-*r*N/A
Applied rewrites73.4%
Final simplification71.3%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* t (fma a (- x) (* b i)))))
(if (<= t -5.2e+15)
t_1
(if (<= t 3.5e+23) (+ (* j (- (* a c) (* y i))) (* y (* x 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 * fma(a, -x, (b * i));
double tmp;
if (t <= -5.2e+15) {
tmp = t_1;
} else if (t <= 3.5e+23) {
tmp = (j * ((a * c) - (y * i))) + (y * (x * z));
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(t * fma(a, Float64(-x), Float64(b * i))) tmp = 0.0 if (t <= -5.2e+15) tmp = t_1; elseif (t <= 3.5e+23) tmp = Float64(Float64(j * Float64(Float64(a * c) - Float64(y * i))) + Float64(y * Float64(x * z))); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(t * N[(a * (-x) + N[(b * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -5.2e+15], t$95$1, If[LessEqual[t, 3.5e+23], N[(N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot \mathsf{fma}\left(a, -x, b \cdot i\right)\\
\mathbf{if}\;t \leq -5.2 \cdot 10^{+15}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 3.5 \cdot 10^{+23}:\\
\;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right) + y \cdot \left(x \cdot z\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -5.2e15 or 3.5000000000000002e23 < t Initial program 65.3%
Taylor expanded in t around inf
lower-*.f64N/A
sub-negN/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
mul-1-negN/A
remove-double-negN/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6473.2
Applied rewrites73.2%
if -5.2e15 < t < 3.5000000000000002e23Initial program 76.0%
Taylor expanded in y around inf
*-commutativeN/A
associate-*r*N/A
*-commutativeN/A
lower-*.f64N/A
*-commutativeN/A
lower-*.f6457.2
Applied rewrites57.2%
Final simplification64.7%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* t (fma a (- x) (* b i)))))
(if (<= t -8200000000000.0)
t_1
(if (<= t -2.7e-248)
(fma a (fma j c (* x (- t))) (* x (* y z)))
(if (<= t 0.00027) (* z (fma y x (* b (- c)))) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = t * fma(a, -x, (b * i));
double tmp;
if (t <= -8200000000000.0) {
tmp = t_1;
} else if (t <= -2.7e-248) {
tmp = fma(a, fma(j, c, (x * -t)), (x * (y * z)));
} else if (t <= 0.00027) {
tmp = z * fma(y, x, (b * -c));
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(t * fma(a, Float64(-x), Float64(b * i))) tmp = 0.0 if (t <= -8200000000000.0) tmp = t_1; elseif (t <= -2.7e-248) tmp = fma(a, fma(j, c, Float64(x * Float64(-t))), Float64(x * Float64(y * z))); elseif (t <= 0.00027) tmp = Float64(z * fma(y, x, Float64(b * Float64(-c)))); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(t * N[(a * (-x) + N[(b * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -8200000000000.0], t$95$1, If[LessEqual[t, -2.7e-248], N[(a * N[(j * c + N[(x * (-t)), $MachinePrecision]), $MachinePrecision] + N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 0.00027], N[(z * N[(y * x + N[(b * (-c)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot \mathsf{fma}\left(a, -x, b \cdot i\right)\\
\mathbf{if}\;t \leq -8200000000000:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq -2.7 \cdot 10^{-248}:\\
\;\;\;\;\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right), x \cdot \left(y \cdot z\right)\right)\\
\mathbf{elif}\;t \leq 0.00027:\\
\;\;\;\;z \cdot \mathsf{fma}\left(y, x, b \cdot \left(-c\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -8.2e12 or 2.70000000000000003e-4 < t Initial program 68.2%
Taylor expanded in t around inf
lower-*.f64N/A
sub-negN/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
mul-1-negN/A
remove-double-negN/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6471.0
Applied rewrites71.0%
if -8.2e12 < t < -2.7000000000000001e-248Initial program 71.0%
Taylor expanded in y around 0
Applied rewrites84.4%
Taylor expanded in x around inf
Applied rewrites56.2%
if -2.7000000000000001e-248 < t < 2.70000000000000003e-4Initial program 75.9%
Taylor expanded in y around 0
Applied rewrites78.8%
Taylor expanded in x around inf
lower-*.f64N/A
lower--.f64N/A
Applied rewrites72.1%
Taylor expanded in z around inf
lower-*.f64N/A
sub-negN/A
*-commutativeN/A
mul-1-negN/A
lower-fma.f64N/A
mul-1-negN/A
*-commutativeN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
lower-*.f64N/A
mul-1-negN/A
lower-neg.f6458.4
Applied rewrites58.4%
Final simplification64.4%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* x (* y z))))
(if (<= z -3.8e+30)
t_1
(if (<= z -1.25e-107)
(* i (* t b))
(if (<= z -2.6e-290)
(* c (* a j))
(if (<= z 1.75) (* t (* 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 = x * (y * z);
double tmp;
if (z <= -3.8e+30) {
tmp = t_1;
} else if (z <= -1.25e-107) {
tmp = i * (t * b);
} else if (z <= -2.6e-290) {
tmp = c * (a * j);
} else if (z <= 1.75) {
tmp = t * (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 = x * (y * z)
if (z <= (-3.8d+30)) then
tmp = t_1
else if (z <= (-1.25d-107)) then
tmp = i * (t * b)
else if (z <= (-2.6d-290)) then
tmp = c * (a * j)
else if (z <= 1.75d0) then
tmp = t * (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 = x * (y * z);
double tmp;
if (z <= -3.8e+30) {
tmp = t_1;
} else if (z <= -1.25e-107) {
tmp = i * (t * b);
} else if (z <= -2.6e-290) {
tmp = c * (a * j);
} else if (z <= 1.75) {
tmp = t * (x * -a);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = x * (y * z) tmp = 0 if z <= -3.8e+30: tmp = t_1 elif z <= -1.25e-107: tmp = i * (t * b) elif z <= -2.6e-290: tmp = c * (a * j) elif z <= 1.75: tmp = t * (x * -a) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(x * Float64(y * z)) tmp = 0.0 if (z <= -3.8e+30) tmp = t_1; elseif (z <= -1.25e-107) tmp = Float64(i * Float64(t * b)); elseif (z <= -2.6e-290) tmp = Float64(c * Float64(a * j)); elseif (z <= 1.75) tmp = Float64(t * Float64(x * Float64(-a))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = x * (y * z); tmp = 0.0; if (z <= -3.8e+30) tmp = t_1; elseif (z <= -1.25e-107) tmp = i * (t * b); elseif (z <= -2.6e-290) tmp = c * (a * j); elseif (z <= 1.75) tmp = t * (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[(x * N[(y * z), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -3.8e+30], t$95$1, If[LessEqual[z, -1.25e-107], N[(i * N[(t * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -2.6e-290], N[(c * N[(a * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.75], N[(t * N[(x * (-a)), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(y \cdot z\right)\\
\mathbf{if}\;z \leq -3.8 \cdot 10^{+30}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq -1.25 \cdot 10^{-107}:\\
\;\;\;\;i \cdot \left(t \cdot b\right)\\
\mathbf{elif}\;z \leq -2.6 \cdot 10^{-290}:\\
\;\;\;\;c \cdot \left(a \cdot j\right)\\
\mathbf{elif}\;z \leq 1.75:\\
\;\;\;\;t \cdot \left(x \cdot \left(-a\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if z < -3.8000000000000001e30 or 1.75 < z Initial program 66.2%
Taylor expanded in x around inf
lower-*.f64N/A
sub-negN/A
+-commutativeN/A
*-commutativeN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
lower-*.f6452.6
Applied rewrites52.6%
Taylor expanded in t around 0
Applied rewrites43.2%
if -3.8000000000000001e30 < z < -1.24999999999999993e-107Initial program 88.1%
Taylor expanded in t around inf
lower-*.f64N/A
sub-negN/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
mul-1-negN/A
remove-double-negN/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6455.8
Applied rewrites55.8%
Taylor expanded in a around 0
Applied rewrites46.7%
Applied rewrites46.7%
if -1.24999999999999993e-107 < z < -2.60000000000000001e-290Initial program 77.7%
Taylor expanded in y around 0
Applied rewrites84.2%
Taylor expanded in c around inf
sub-negN/A
mul-1-negN/A
+-commutativeN/A
lower-*.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
lower-*.f64N/A
mul-1-negN/A
lower-neg.f6443.4
Applied rewrites43.4%
Taylor expanded in j around inf
Applied rewrites40.1%
if -2.60000000000000001e-290 < z < 1.75Initial program 68.4%
Taylor expanded in t around inf
lower-*.f64N/A
sub-negN/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
mul-1-negN/A
remove-double-negN/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6457.4
Applied rewrites57.4%
Taylor expanded in a around inf
Applied rewrites39.6%
Final simplification42.3%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* b (* t i))) (t_2 (* x (* t (- a)))))
(if (<= b -3.2e+230)
t_2
(if (<= b -2.2e+111)
t_1
(if (<= b -1.9e-75) (* x (* y z)) (if (<= b 1.45e-66) 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);
double t_2 = x * (t * -a);
double tmp;
if (b <= -3.2e+230) {
tmp = t_2;
} else if (b <= -2.2e+111) {
tmp = t_1;
} else if (b <= -1.9e-75) {
tmp = x * (y * z);
} else if (b <= 1.45e-66) {
tmp = t_2;
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = b * (t * i)
t_2 = x * (t * -a)
if (b <= (-3.2d+230)) then
tmp = t_2
else if (b <= (-2.2d+111)) then
tmp = t_1
else if (b <= (-1.9d-75)) then
tmp = x * (y * z)
else if (b <= 1.45d-66) then
tmp = t_2
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = b * (t * i);
double t_2 = x * (t * -a);
double tmp;
if (b <= -3.2e+230) {
tmp = t_2;
} else if (b <= -2.2e+111) {
tmp = t_1;
} else if (b <= -1.9e-75) {
tmp = x * (y * z);
} else if (b <= 1.45e-66) {
tmp = t_2;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = b * (t * i) t_2 = x * (t * -a) tmp = 0 if b <= -3.2e+230: tmp = t_2 elif b <= -2.2e+111: tmp = t_1 elif b <= -1.9e-75: tmp = x * (y * z) elif b <= 1.45e-66: tmp = t_2 else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(b * Float64(t * i)) t_2 = Float64(x * Float64(t * Float64(-a))) tmp = 0.0 if (b <= -3.2e+230) tmp = t_2; elseif (b <= -2.2e+111) tmp = t_1; elseif (b <= -1.9e-75) tmp = Float64(x * Float64(y * z)); elseif (b <= 1.45e-66) tmp = t_2; else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = b * (t * i); t_2 = x * (t * -a); tmp = 0.0; if (b <= -3.2e+230) tmp = t_2; elseif (b <= -2.2e+111) tmp = t_1; elseif (b <= -1.9e-75) tmp = x * (y * z); elseif (b <= 1.45e-66) tmp = t_2; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(b * N[(t * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(x * N[(t * (-a)), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -3.2e+230], t$95$2, If[LessEqual[b, -2.2e+111], t$95$1, If[LessEqual[b, -1.9e-75], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.45e-66], t$95$2, t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(t \cdot i\right)\\
t_2 := x \cdot \left(t \cdot \left(-a\right)\right)\\
\mathbf{if}\;b \leq -3.2 \cdot 10^{+230}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;b \leq -2.2 \cdot 10^{+111}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;b \leq -1.9 \cdot 10^{-75}:\\
\;\;\;\;x \cdot \left(y \cdot z\right)\\
\mathbf{elif}\;b \leq 1.45 \cdot 10^{-66}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if b < -3.2e230 or -1.89999999999999997e-75 < b < 1.45000000000000006e-66Initial program 61.9%
Taylor expanded in a around inf
lower-*.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
lower-*.f64N/A
mul-1-negN/A
lower-neg.f6452.5
Applied rewrites52.5%
Applied rewrites50.6%
Taylor expanded in t around inf
Applied rewrites38.1%
if -3.2e230 < b < -2.19999999999999999e111 or 1.45000000000000006e-66 < b Initial program 76.5%
Taylor expanded in t around inf
lower-*.f64N/A
sub-negN/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
mul-1-negN/A
remove-double-negN/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6453.8
Applied rewrites53.8%
Taylor expanded in a around 0
Applied rewrites47.8%
if -2.19999999999999999e111 < b < -1.89999999999999997e-75Initial program 78.6%
Taylor expanded in x around inf
lower-*.f64N/A
sub-negN/A
+-commutativeN/A
*-commutativeN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
lower-*.f6444.2
Applied rewrites44.2%
Taylor expanded in t around 0
Applied rewrites40.0%
Final simplification42.3%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* t (fma a (- x) (* b i)))))
(if (<= t -265000000000.0)
t_1
(if (<= t -3.4e-247)
(* y (fma j (- i) (* x z)))
(if (<= t 0.00027) (* z (fma y x (* b (- c)))) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = t * fma(a, -x, (b * i));
double tmp;
if (t <= -265000000000.0) {
tmp = t_1;
} else if (t <= -3.4e-247) {
tmp = y * fma(j, -i, (x * z));
} else if (t <= 0.00027) {
tmp = z * fma(y, x, (b * -c));
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(t * fma(a, Float64(-x), Float64(b * i))) tmp = 0.0 if (t <= -265000000000.0) tmp = t_1; elseif (t <= -3.4e-247) tmp = Float64(y * fma(j, Float64(-i), Float64(x * z))); elseif (t <= 0.00027) tmp = Float64(z * fma(y, x, Float64(b * Float64(-c)))); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(t * N[(a * (-x) + N[(b * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -265000000000.0], t$95$1, If[LessEqual[t, -3.4e-247], N[(y * N[(j * (-i) + N[(x * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 0.00027], N[(z * N[(y * x + N[(b * (-c)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot \mathsf{fma}\left(a, -x, b \cdot i\right)\\
\mathbf{if}\;t \leq -265000000000:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq -3.4 \cdot 10^{-247}:\\
\;\;\;\;y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\\
\mathbf{elif}\;t \leq 0.00027:\\
\;\;\;\;z \cdot \mathsf{fma}\left(y, x, b \cdot \left(-c\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -2.65e11 or 2.70000000000000003e-4 < t Initial program 68.2%
Taylor expanded in t around inf
lower-*.f64N/A
sub-negN/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
mul-1-negN/A
remove-double-negN/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6471.0
Applied rewrites71.0%
if -2.65e11 < t < -3.4000000000000001e-247Initial program 71.0%
Taylor expanded in y around inf
lower-*.f64N/A
associate-*r*N/A
*-commutativeN/A
lower-fma.f64N/A
neg-mul-1N/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6451.5
Applied rewrites51.5%
if -3.4000000000000001e-247 < t < 2.70000000000000003e-4Initial program 75.9%
Taylor expanded in y around 0
Applied rewrites78.8%
Taylor expanded in x around inf
lower-*.f64N/A
lower--.f64N/A
Applied rewrites72.1%
Taylor expanded in z around inf
lower-*.f64N/A
sub-negN/A
*-commutativeN/A
mul-1-negN/A
lower-fma.f64N/A
mul-1-negN/A
*-commutativeN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
lower-*.f64N/A
mul-1-negN/A
lower-neg.f6458.4
Applied rewrites58.4%
Final simplification63.5%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* t (fma a (- x) (* b i)))))
(if (<= t -265000000000.0)
t_1
(if (<= t -3.4e-247)
(* y (fma j (- i) (* x z)))
(if (<= t 0.00027) (* z (fma c (- b) (* 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 * fma(a, -x, (b * i));
double tmp;
if (t <= -265000000000.0) {
tmp = t_1;
} else if (t <= -3.4e-247) {
tmp = y * fma(j, -i, (x * z));
} else if (t <= 0.00027) {
tmp = z * fma(c, -b, (x * y));
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(t * fma(a, Float64(-x), Float64(b * i))) tmp = 0.0 if (t <= -265000000000.0) tmp = t_1; elseif (t <= -3.4e-247) tmp = Float64(y * fma(j, Float64(-i), Float64(x * z))); elseif (t <= 0.00027) tmp = Float64(z * fma(c, Float64(-b), Float64(x * y))); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(t * N[(a * (-x) + N[(b * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -265000000000.0], t$95$1, If[LessEqual[t, -3.4e-247], N[(y * N[(j * (-i) + N[(x * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 0.00027], N[(z * N[(c * (-b) + N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot \mathsf{fma}\left(a, -x, b \cdot i\right)\\
\mathbf{if}\;t \leq -265000000000:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq -3.4 \cdot 10^{-247}:\\
\;\;\;\;y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\\
\mathbf{elif}\;t \leq 0.00027:\\
\;\;\;\;z \cdot \mathsf{fma}\left(c, -b, x \cdot y\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -2.65e11 or 2.70000000000000003e-4 < t Initial program 68.2%
Taylor expanded in t around inf
lower-*.f64N/A
sub-negN/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
mul-1-negN/A
remove-double-negN/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6471.0
Applied rewrites71.0%
if -2.65e11 < t < -3.4000000000000001e-247Initial program 71.0%
Taylor expanded in y around inf
lower-*.f64N/A
associate-*r*N/A
*-commutativeN/A
lower-fma.f64N/A
neg-mul-1N/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6451.5
Applied rewrites51.5%
if -3.4000000000000001e-247 < t < 2.70000000000000003e-4Initial program 75.9%
Taylor expanded in z around inf
lower-*.f64N/A
sub-negN/A
mul-1-negN/A
+-commutativeN/A
associate-*r*N/A
*-commutativeN/A
lower-fma.f64N/A
neg-mul-1N/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6457.1
Applied rewrites57.1%
Final simplification63.1%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* t (fma a (- x) (* b i)))))
(if (<= t -265000000000.0)
t_1
(if (<= t -9.5e-247)
(* y (fma j (- i) (* x z)))
(if (<= t 0.00027) (* c (fma b (- z) (* a j))) 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 * fma(a, -x, (b * i));
double tmp;
if (t <= -265000000000.0) {
tmp = t_1;
} else if (t <= -9.5e-247) {
tmp = y * fma(j, -i, (x * z));
} else if (t <= 0.00027) {
tmp = c * fma(b, -z, (a * j));
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(t * fma(a, Float64(-x), Float64(b * i))) tmp = 0.0 if (t <= -265000000000.0) tmp = t_1; elseif (t <= -9.5e-247) tmp = Float64(y * fma(j, Float64(-i), Float64(x * z))); elseif (t <= 0.00027) tmp = Float64(c * fma(b, Float64(-z), Float64(a * j))); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(t * N[(a * (-x) + N[(b * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -265000000000.0], t$95$1, If[LessEqual[t, -9.5e-247], N[(y * N[(j * (-i) + N[(x * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 0.00027], N[(c * N[(b * (-z) + N[(a * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot \mathsf{fma}\left(a, -x, b \cdot i\right)\\
\mathbf{if}\;t \leq -265000000000:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq -9.5 \cdot 10^{-247}:\\
\;\;\;\;y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\\
\mathbf{elif}\;t \leq 0.00027:\\
\;\;\;\;c \cdot \mathsf{fma}\left(b, -z, a \cdot j\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -2.65e11 or 2.70000000000000003e-4 < t Initial program 68.2%
Taylor expanded in t around inf
lower-*.f64N/A
sub-negN/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
mul-1-negN/A
remove-double-negN/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6471.0
Applied rewrites71.0%
if -2.65e11 < t < -9.49999999999999939e-247Initial program 70.4%
Taylor expanded in y around inf
lower-*.f64N/A
associate-*r*N/A
*-commutativeN/A
lower-fma.f64N/A
neg-mul-1N/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6452.5
Applied rewrites52.5%
if -9.49999999999999939e-247 < t < 2.70000000000000003e-4Initial program 76.2%
Taylor expanded in c around inf
lower-*.f64N/A
sub-negN/A
mul-1-negN/A
+-commutativeN/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6453.5
Applied rewrites53.5%
Final simplification62.3%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* t (fma a (- x) (* b i)))))
(if (<= t -7200000000000.0)
t_1
(if (<= t -9.5e-247)
(* j (fma i (- y) (* a c)))
(if (<= t 0.00027) (* c (fma b (- z) (* a j))) 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 * fma(a, -x, (b * i));
double tmp;
if (t <= -7200000000000.0) {
tmp = t_1;
} else if (t <= -9.5e-247) {
tmp = j * fma(i, -y, (a * c));
} else if (t <= 0.00027) {
tmp = c * fma(b, -z, (a * j));
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(t * fma(a, Float64(-x), Float64(b * i))) tmp = 0.0 if (t <= -7200000000000.0) tmp = t_1; elseif (t <= -9.5e-247) tmp = Float64(j * fma(i, Float64(-y), Float64(a * c))); elseif (t <= 0.00027) tmp = Float64(c * fma(b, Float64(-z), Float64(a * j))); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(t * N[(a * (-x) + N[(b * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -7200000000000.0], t$95$1, If[LessEqual[t, -9.5e-247], N[(j * N[(i * (-y) + N[(a * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 0.00027], N[(c * N[(b * (-z) + N[(a * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot \mathsf{fma}\left(a, -x, b \cdot i\right)\\
\mathbf{if}\;t \leq -7200000000000:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq -9.5 \cdot 10^{-247}:\\
\;\;\;\;j \cdot \mathsf{fma}\left(i, -y, a \cdot c\right)\\
\mathbf{elif}\;t \leq 0.00027:\\
\;\;\;\;c \cdot \mathsf{fma}\left(b, -z, a \cdot j\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -7.2e12 or 2.70000000000000003e-4 < t Initial program 68.2%
Taylor expanded in t around inf
lower-*.f64N/A
sub-negN/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
mul-1-negN/A
remove-double-negN/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6471.0
Applied rewrites71.0%
if -7.2e12 < t < -9.49999999999999939e-247Initial program 70.4%
Taylor expanded in y around 0
Applied rewrites84.1%
Taylor expanded in x around inf
lower-*.f64N/A
lower--.f64N/A
Applied rewrites64.8%
Taylor expanded in j around inf
sub-negN/A
mul-1-negN/A
+-commutativeN/A
lower-*.f64N/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
lower-*.f6447.8
Applied rewrites47.8%
if -9.49999999999999939e-247 < t < 2.70000000000000003e-4Initial program 76.2%
Taylor expanded in c around inf
lower-*.f64N/A
sub-negN/A
mul-1-negN/A
+-commutativeN/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6453.5
Applied rewrites53.5%
Final simplification61.4%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* b (- (* t i) (* z c)))))
(if (<= b -3.2e+230)
(* a (fma j c (* x (- t))))
(if (<= b -2.15e-81)
t_1
(if (<= b 9e-42) (* a (fma (- x) t (* c j))) 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 <= -3.2e+230) {
tmp = a * fma(j, c, (x * -t));
} else if (b <= -2.15e-81) {
tmp = t_1;
} else if (b <= 9e-42) {
tmp = a * fma(-x, t, (c * j));
} 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 <= -3.2e+230) tmp = Float64(a * fma(j, c, Float64(x * Float64(-t)))); elseif (b <= -2.15e-81) tmp = t_1; elseif (b <= 9e-42) tmp = Float64(a * fma(Float64(-x), t, Float64(c * j))); else tmp = t_1; end return 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, -3.2e+230], N[(a * N[(j * c + N[(x * (-t)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -2.15e-81], t$95$1, If[LessEqual[b, 9e-42], N[(a * N[((-x) * t + N[(c * j), $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 -3.2 \cdot 10^{+230}:\\
\;\;\;\;a \cdot \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right)\\
\mathbf{elif}\;b \leq -2.15 \cdot 10^{-81}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;b \leq 9 \cdot 10^{-42}:\\
\;\;\;\;a \cdot \mathsf{fma}\left(-x, t, c \cdot j\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if b < -3.2e230Initial program 50.4%
Taylor expanded in a around inf
lower-*.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
lower-*.f64N/A
mul-1-negN/A
lower-neg.f6452.1
Applied rewrites52.1%
if -3.2e230 < b < -2.15000000000000015e-81 or 9e-42 < b Initial program 77.1%
Taylor expanded in b around inf
sub-negN/A
+-commutativeN/A
remove-double-negN/A
distribute-neg-inN/A
sub-negN/A
mul-1-negN/A
lower-*.f64N/A
mul-1-negN/A
sub-negN/A
distribute-neg-inN/A
remove-double-negN/A
+-commutativeN/A
sub-negN/A
lower--.f64N/A
lower-*.f64N/A
lower-*.f6457.1
Applied rewrites57.1%
if -2.15000000000000015e-81 < b < 9e-42Initial program 63.5%
Taylor expanded in a around inf
lower-*.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
lower-*.f64N/A
mul-1-negN/A
lower-neg.f6453.1
Applied rewrites53.1%
Applied rewrites54.2%
Final simplification55.8%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* x (* y z))))
(if (<= z -3.8e+30)
t_1
(if (<= z -2.5e-98)
(* i (* t b))
(if (<= z 3.7e+90) (* a (fma (- x) t (* c j))) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = x * (y * z);
double tmp;
if (z <= -3.8e+30) {
tmp = t_1;
} else if (z <= -2.5e-98) {
tmp = i * (t * b);
} else if (z <= 3.7e+90) {
tmp = a * fma(-x, t, (c * j));
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(x * Float64(y * z)) tmp = 0.0 if (z <= -3.8e+30) tmp = t_1; elseif (z <= -2.5e-98) tmp = Float64(i * Float64(t * b)); elseif (z <= 3.7e+90) tmp = Float64(a * fma(Float64(-x), t, Float64(c * j))); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -3.8e+30], t$95$1, If[LessEqual[z, -2.5e-98], N[(i * N[(t * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.7e+90], N[(a * N[((-x) * t + N[(c * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(y \cdot z\right)\\
\mathbf{if}\;z \leq -3.8 \cdot 10^{+30}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq -2.5 \cdot 10^{-98}:\\
\;\;\;\;i \cdot \left(t \cdot b\right)\\
\mathbf{elif}\;z \leq 3.7 \cdot 10^{+90}:\\
\;\;\;\;a \cdot \mathsf{fma}\left(-x, t, c \cdot j\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if z < -3.8000000000000001e30 or 3.7e90 < z Initial program 67.3%
Taylor expanded in x around inf
lower-*.f64N/A
sub-negN/A
+-commutativeN/A
*-commutativeN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
lower-*.f6452.6
Applied rewrites52.6%
Taylor expanded in t around 0
Applied rewrites45.7%
if -3.8000000000000001e30 < z < -2.50000000000000009e-98Initial program 93.3%
Taylor expanded in t around inf
lower-*.f64N/A
sub-negN/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
mul-1-negN/A
remove-double-negN/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6454.4
Applied rewrites54.4%
Taylor expanded in a around 0
Applied rewrites47.9%
Applied rewrites48.0%
if -2.50000000000000009e-98 < z < 3.7e90Initial program 68.7%
Taylor expanded in a around inf
lower-*.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
lower-*.f64N/A
mul-1-negN/A
lower-neg.f6451.3
Applied rewrites51.3%
Applied rewrites51.3%
Final simplification48.7%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* x (* y z))))
(if (<= z -3.8e+30)
t_1
(if (<= z -2.5e-98)
(* i (* t b))
(if (<= z 3.7e+90) (* a (fma j c (* 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 = x * (y * z);
double tmp;
if (z <= -3.8e+30) {
tmp = t_1;
} else if (z <= -2.5e-98) {
tmp = i * (t * b);
} else if (z <= 3.7e+90) {
tmp = a * fma(j, c, (x * -t));
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(x * Float64(y * z)) tmp = 0.0 if (z <= -3.8e+30) tmp = t_1; elseif (z <= -2.5e-98) tmp = Float64(i * Float64(t * b)); elseif (z <= 3.7e+90) tmp = Float64(a * fma(j, c, Float64(x * Float64(-t)))); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -3.8e+30], t$95$1, If[LessEqual[z, -2.5e-98], N[(i * N[(t * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.7e+90], N[(a * N[(j * c + N[(x * (-t)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(y \cdot z\right)\\
\mathbf{if}\;z \leq -3.8 \cdot 10^{+30}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq -2.5 \cdot 10^{-98}:\\
\;\;\;\;i \cdot \left(t \cdot b\right)\\
\mathbf{elif}\;z \leq 3.7 \cdot 10^{+90}:\\
\;\;\;\;a \cdot \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if z < -3.8000000000000001e30 or 3.7e90 < z Initial program 67.3%
Taylor expanded in x around inf
lower-*.f64N/A
sub-negN/A
+-commutativeN/A
*-commutativeN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
lower-*.f6452.6
Applied rewrites52.6%
Taylor expanded in t around 0
Applied rewrites45.7%
if -3.8000000000000001e30 < z < -2.50000000000000009e-98Initial program 93.3%
Taylor expanded in t around inf
lower-*.f64N/A
sub-negN/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
mul-1-negN/A
remove-double-negN/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6454.4
Applied rewrites54.4%
Taylor expanded in a around 0
Applied rewrites47.9%
Applied rewrites48.0%
if -2.50000000000000009e-98 < z < 3.7e90Initial program 68.7%
Taylor expanded in a around inf
lower-*.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
lower-*.f64N/A
mul-1-negN/A
lower-neg.f6451.3
Applied rewrites51.3%
Final simplification48.7%
(FPCore (x y z t a b c i j)
:precision binary64
(if (<= a -2.5e-92)
(* a (fma (- x) t (* c j)))
(if (<= a 5.2e-34)
(* i (fma j (- y) (* t b)))
(* a (fma j c (* x (- t)))))))
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.5e-92) {
tmp = a * fma(-x, t, (c * j));
} else if (a <= 5.2e-34) {
tmp = i * fma(j, -y, (t * b));
} else {
tmp = a * fma(j, c, (x * -t));
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (a <= -2.5e-92) tmp = Float64(a * fma(Float64(-x), t, Float64(c * j))); elseif (a <= 5.2e-34) tmp = Float64(i * fma(j, Float64(-y), Float64(t * b))); else tmp = Float64(a * fma(j, c, Float64(x * Float64(-t)))); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[a, -2.5e-92], N[(a * N[((-x) * t + N[(c * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 5.2e-34], N[(i * N[(j * (-y) + N[(t * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(j * c + N[(x * (-t)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -2.5 \cdot 10^{-92}:\\
\;\;\;\;a \cdot \mathsf{fma}\left(-x, t, c \cdot j\right)\\
\mathbf{elif}\;a \leq 5.2 \cdot 10^{-34}:\\
\;\;\;\;i \cdot \mathsf{fma}\left(j, -y, t \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right)\\
\end{array}
\end{array}
if a < -2.50000000000000006e-92Initial program 65.3%
Taylor expanded in a around inf
lower-*.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
lower-*.f64N/A
mul-1-negN/A
lower-neg.f6454.4
Applied rewrites54.4%
Applied rewrites55.7%
if -2.50000000000000006e-92 < a < 5.1999999999999999e-34Initial program 82.0%
Taylor expanded in i around inf
lower-*.f64N/A
cancel-sign-sub-invN/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
metadata-evalN/A
*-lft-identityN/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
lower-*.f6451.8
Applied rewrites51.8%
if 5.1999999999999999e-34 < a Initial program 59.7%
Taylor expanded in a around inf
lower-*.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
lower-*.f64N/A
mul-1-negN/A
lower-neg.f6457.6
Applied rewrites57.6%
Final simplification54.5%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* x (* y z))))
(if (<= z -3.8e+30)
t_1
(if (<= z 5.6e-126)
(* b (* t i))
(if (<= z 9.5e+18) (* a (* c j)) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = x * (y * z);
double tmp;
if (z <= -3.8e+30) {
tmp = t_1;
} else if (z <= 5.6e-126) {
tmp = b * (t * i);
} else if (z <= 9.5e+18) {
tmp = a * (c * j);
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: tmp
t_1 = x * (y * z)
if (z <= (-3.8d+30)) then
tmp = t_1
else if (z <= 5.6d-126) then
tmp = b * (t * i)
else if (z <= 9.5d+18) then
tmp = a * (c * j)
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = x * (y * z);
double tmp;
if (z <= -3.8e+30) {
tmp = t_1;
} else if (z <= 5.6e-126) {
tmp = b * (t * i);
} else if (z <= 9.5e+18) {
tmp = a * (c * j);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = x * (y * z) tmp = 0 if z <= -3.8e+30: tmp = t_1 elif z <= 5.6e-126: tmp = b * (t * i) elif z <= 9.5e+18: tmp = a * (c * j) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(x * Float64(y * z)) tmp = 0.0 if (z <= -3.8e+30) tmp = t_1; elseif (z <= 5.6e-126) tmp = Float64(b * Float64(t * i)); elseif (z <= 9.5e+18) tmp = Float64(a * Float64(c * j)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = x * (y * z); tmp = 0.0; if (z <= -3.8e+30) tmp = t_1; elseif (z <= 5.6e-126) tmp = b * (t * i); elseif (z <= 9.5e+18) tmp = a * (c * j); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -3.8e+30], t$95$1, If[LessEqual[z, 5.6e-126], N[(b * N[(t * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 9.5e+18], N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(y \cdot z\right)\\
\mathbf{if}\;z \leq -3.8 \cdot 10^{+30}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq 5.6 \cdot 10^{-126}:\\
\;\;\;\;b \cdot \left(t \cdot i\right)\\
\mathbf{elif}\;z \leq 9.5 \cdot 10^{+18}:\\
\;\;\;\;a \cdot \left(c \cdot j\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if z < -3.8000000000000001e30 or 9.5e18 < z Initial program 67.0%
Taylor expanded in x around inf
lower-*.f64N/A
sub-negN/A
+-commutativeN/A
*-commutativeN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
lower-*.f6453.9
Applied rewrites53.9%
Taylor expanded in t around 0
Applied rewrites44.2%
if -3.8000000000000001e30 < z < 5.59999999999999983e-126Initial program 75.6%
Taylor expanded in t around inf
lower-*.f64N/A
sub-negN/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
mul-1-negN/A
remove-double-negN/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6454.7
Applied rewrites54.7%
Taylor expanded in a around 0
Applied rewrites34.6%
if 5.59999999999999983e-126 < z < 9.5e18Initial program 70.4%
Taylor expanded in a around inf
lower-*.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
lower-*.f64N/A
mul-1-negN/A
lower-neg.f6455.4
Applied rewrites55.4%
Taylor expanded in j around inf
Applied rewrites39.0%
Final simplification39.6%
(FPCore (x y z t a b c i j) :precision binary64 (if (<= t -210000.0) (* t (* b i)) (if (<= t 3.5e-5) (* a (* c j)) (* b (* t i)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (t <= -210000.0) {
tmp = t * (b * i);
} else if (t <= 3.5e-5) {
tmp = a * (c * j);
} else {
tmp = b * (t * i);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: tmp
if (t <= (-210000.0d0)) then
tmp = t * (b * i)
else if (t <= 3.5d-5) then
tmp = a * (c * j)
else
tmp = b * (t * i)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (t <= -210000.0) {
tmp = t * (b * i);
} else if (t <= 3.5e-5) {
tmp = a * (c * j);
} else {
tmp = b * (t * i);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if t <= -210000.0: tmp = t * (b * i) elif t <= 3.5e-5: tmp = a * (c * j) else: tmp = b * (t * i) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (t <= -210000.0) tmp = Float64(t * Float64(b * i)); elseif (t <= 3.5e-5) tmp = Float64(a * Float64(c * j)); else tmp = Float64(b * Float64(t * i)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if (t <= -210000.0) tmp = t * (b * i); elseif (t <= 3.5e-5) tmp = a * (c * j); else tmp = b * (t * i); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[t, -210000.0], N[(t * N[(b * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 3.5e-5], N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision], N[(b * N[(t * i), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -210000:\\
\;\;\;\;t \cdot \left(b \cdot i\right)\\
\mathbf{elif}\;t \leq 3.5 \cdot 10^{-5}:\\
\;\;\;\;a \cdot \left(c \cdot j\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(t \cdot i\right)\\
\end{array}
\end{array}
if t < -2.1e5Initial program 70.7%
Taylor expanded in t around inf
lower-*.f64N/A
sub-negN/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
mul-1-negN/A
remove-double-negN/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6472.6
Applied rewrites72.6%
Taylor expanded in a around 0
Applied rewrites44.0%
if -2.1e5 < t < 3.4999999999999997e-5Initial program 73.9%
Taylor expanded in a around inf
lower-*.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
lower-*.f64N/A
mul-1-negN/A
lower-neg.f6432.2
Applied rewrites32.2%
Taylor expanded in j around inf
Applied rewrites25.4%
if 3.4999999999999997e-5 < t Initial program 65.8%
Taylor expanded in t around inf
lower-*.f64N/A
sub-negN/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
mul-1-negN/A
remove-double-negN/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6469.5
Applied rewrites69.5%
Taylor expanded in a around 0
Applied rewrites38.7%
Final simplification33.5%
(FPCore (x y z t a b c i j) :precision binary64 (let* ((t_1 (* b (* t i)))) (if (<= t -210000.0) t_1 (if (<= t 3.5e-5) (* a (* c j)) 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 (t <= -210000.0) {
tmp = t_1;
} else if (t <= 3.5e-5) {
tmp = a * (c * j);
} 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 (t <= (-210000.0d0)) then
tmp = t_1
else if (t <= 3.5d-5) then
tmp = a * (c * j)
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 (t <= -210000.0) {
tmp = t_1;
} else if (t <= 3.5e-5) {
tmp = a * (c * j);
} 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 t <= -210000.0: tmp = t_1 elif t <= 3.5e-5: tmp = a * (c * j) 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 (t <= -210000.0) tmp = t_1; elseif (t <= 3.5e-5) tmp = Float64(a * Float64(c * j)); 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 (t <= -210000.0) tmp = t_1; elseif (t <= 3.5e-5) tmp = a * (c * j); 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[t, -210000.0], t$95$1, If[LessEqual[t, 3.5e-5], N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(t \cdot i\right)\\
\mathbf{if}\;t \leq -210000:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 3.5 \cdot 10^{-5}:\\
\;\;\;\;a \cdot \left(c \cdot j\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -2.1e5 or 3.4999999999999997e-5 < t Initial program 68.2%
Taylor expanded in t around inf
lower-*.f64N/A
sub-negN/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
mul-1-negN/A
remove-double-negN/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6471.0
Applied rewrites71.0%
Taylor expanded in a around 0
Applied rewrites41.3%
if -2.1e5 < t < 3.4999999999999997e-5Initial program 73.9%
Taylor expanded in a around inf
lower-*.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
lower-*.f64N/A
mul-1-negN/A
lower-neg.f6432.2
Applied rewrites32.2%
Taylor expanded in j around inf
Applied rewrites25.4%
Final simplification33.5%
(FPCore (x y z t a b c i j) :precision binary64 (let* ((t_1 (* b (* t i)))) (if (<= t -1900000000000.0) t_1 (if (<= t 0.000235) (* j (* a c)) t_1))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = b * (t * i);
double tmp;
if (t <= -1900000000000.0) {
tmp = t_1;
} else if (t <= 0.000235) {
tmp = j * (a * c);
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: tmp
t_1 = b * (t * i)
if (t <= (-1900000000000.0d0)) then
tmp = t_1
else if (t <= 0.000235d0) then
tmp = j * (a * c)
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = b * (t * i);
double tmp;
if (t <= -1900000000000.0) {
tmp = t_1;
} else if (t <= 0.000235) {
tmp = j * (a * c);
} 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 t <= -1900000000000.0: tmp = t_1 elif t <= 0.000235: tmp = j * (a * c) 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 (t <= -1900000000000.0) tmp = t_1; elseif (t <= 0.000235) tmp = Float64(j * Float64(a * c)); 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 (t <= -1900000000000.0) tmp = t_1; elseif (t <= 0.000235) tmp = j * (a * c); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(b * N[(t * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1900000000000.0], t$95$1, If[LessEqual[t, 0.000235], N[(j * N[(a * c), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(t \cdot i\right)\\
\mathbf{if}\;t \leq -1900000000000:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 0.000235:\\
\;\;\;\;j \cdot \left(a \cdot c\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -1.9e12 or 2.34999999999999993e-4 < t Initial program 68.2%
Taylor expanded in t around inf
lower-*.f64N/A
sub-negN/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
mul-1-negN/A
remove-double-negN/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6471.0
Applied rewrites71.0%
Taylor expanded in a around 0
Applied rewrites41.3%
if -1.9e12 < t < 2.34999999999999993e-4Initial program 73.9%
Taylor expanded in a around inf
lower-*.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
lower-*.f64N/A
mul-1-negN/A
lower-neg.f6432.2
Applied rewrites32.2%
Applied rewrites32.2%
Taylor expanded in t around 0
Applied rewrites24.6%
Final simplification33.1%
(FPCore (x y z t a b c i j) :precision binary64 (* b (* t i)))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
return b * (t * 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 * (t * 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 * (t * i);
}
def code(x, y, z, t, a, b, c, i, j): return b * (t * i)
function code(x, y, z, t, a, b, c, i, j) return Float64(b * Float64(t * i)) end
function tmp = code(x, y, z, t, a, b, c, i, j) tmp = b * (t * i); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := N[(b * N[(t * i), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
b \cdot \left(t \cdot i\right)
\end{array}
Initial program 71.0%
Taylor expanded in t around inf
lower-*.f64N/A
sub-negN/A
mul-1-negN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
mul-1-negN/A
remove-double-negN/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6443.3
Applied rewrites43.3%
Taylor expanded in a around 0
Applied rewrites25.6%
Final simplification25.6%
(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 2024221
(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)))))