
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(+
(-
(+
(+
(-
(* (- (* x y) (* z t)) (- (* a b) (* c i)))
(* (- (* x j) (* z k)) (- (* y0 b) (* y1 i))))
(* (- (* x y2) (* z y3)) (- (* y0 c) (* y1 a))))
(* (- (* t j) (* y k)) (- (* y4 b) (* y5 i))))
(* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a))))
(* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
code = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
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 k, double y0, double y1, double y2, double y3, double y4, double y5) {
return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) - Float64(z * t)) * Float64(Float64(a * b) - Float64(c * i))) - Float64(Float64(Float64(x * j) - Float64(z * k)) * Float64(Float64(y0 * b) - Float64(y1 * i)))) + Float64(Float64(Float64(x * y2) - Float64(z * y3)) * Float64(Float64(y0 * c) - Float64(y1 * a)))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * Float64(Float64(y4 * b) - Float64(y5 * i)))) - Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(y4 * c) - Float64(y5 * a)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y4 * y1) - Float64(y5 * y0)))) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0))); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 35 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(+
(-
(+
(+
(-
(* (- (* x y) (* z t)) (- (* a b) (* c i)))
(* (- (* x j) (* z k)) (- (* y0 b) (* y1 i))))
(* (- (* x y2) (* z y3)) (- (* y0 c) (* y1 a))))
(* (- (* t j) (* y k)) (- (* y4 b) (* y5 i))))
(* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a))))
(* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
code = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
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 k, double y0, double y1, double y2, double y3, double y4, double y5) {
return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) - Float64(z * t)) * Float64(Float64(a * b) - Float64(c * i))) - Float64(Float64(Float64(x * j) - Float64(z * k)) * Float64(Float64(y0 * b) - Float64(y1 * i)))) + Float64(Float64(Float64(x * y2) - Float64(z * y3)) * Float64(Float64(y0 * c) - Float64(y1 * a)))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * Float64(Float64(y4 * b) - Float64(y5 * i)))) - Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(y4 * c) - Float64(y5 * a)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y4 * y1) - Float64(y5 * y0)))) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0))); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)
\end{array}
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(*
(fma
(- (* y3 z) (* y2 x))
a
(fma (- (* y2 k) (* y3 j)) y4 (* (- (* j x) (* k z)) i)))
y1))
(t_2
(*
(fma
(- (* y5 i) (* y4 b))
y
(fma (- (* y4 y1) (* y5 y0)) y2 (* (- (* y0 b) (* y1 i)) z)))
k)))
(if (<= y1 -2.4e+82)
t_1
(if (<= y1 -5.3e-166)
t_2
(if (<= y1 3.4e-293)
(*
(fma
(- (* y3 j) (* y2 k))
y5
(fma c (- (* y2 x) (* y3 z)) (* (- (* k z) (* j x)) b)))
y0)
(if (<= y1 3.8e-146)
(*
(-
(fma (- i) (fma x y (* (- t) z)) (* (fma x y2 (* (- y3) z)) y0))
(* (fma t y2 (* (- y) y3)) y4))
c)
(if (<= y1 3.3e+116) 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 k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = fma(((y3 * z) - (y2 * x)), a, fma(((y2 * k) - (y3 * j)), y4, (((j * x) - (k * z)) * i))) * y1;
double t_2 = fma(((y5 * i) - (y4 * b)), y, fma(((y4 * y1) - (y5 * y0)), y2, (((y0 * b) - (y1 * i)) * z))) * k;
double tmp;
if (y1 <= -2.4e+82) {
tmp = t_1;
} else if (y1 <= -5.3e-166) {
tmp = t_2;
} else if (y1 <= 3.4e-293) {
tmp = fma(((y3 * j) - (y2 * k)), y5, fma(c, ((y2 * x) - (y3 * z)), (((k * z) - (j * x)) * b))) * y0;
} else if (y1 <= 3.8e-146) {
tmp = (fma(-i, fma(x, y, (-t * z)), (fma(x, y2, (-y3 * z)) * y0)) - (fma(t, y2, (-y * y3)) * y4)) * c;
} else if (y1 <= 3.3e+116) {
tmp = t_2;
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(fma(Float64(Float64(y3 * z) - Float64(y2 * x)), a, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y4, Float64(Float64(Float64(j * x) - Float64(k * z)) * i))) * y1) t_2 = Float64(fma(Float64(Float64(y5 * i) - Float64(y4 * b)), y, fma(Float64(Float64(y4 * y1) - Float64(y5 * y0)), y2, Float64(Float64(Float64(y0 * b) - Float64(y1 * i)) * z))) * k) tmp = 0.0 if (y1 <= -2.4e+82) tmp = t_1; elseif (y1 <= -5.3e-166) tmp = t_2; elseif (y1 <= 3.4e-293) tmp = Float64(fma(Float64(Float64(y3 * j) - Float64(y2 * k)), y5, fma(c, Float64(Float64(y2 * x) - Float64(y3 * z)), Float64(Float64(Float64(k * z) - Float64(j * x)) * b))) * y0); elseif (y1 <= 3.8e-146) tmp = Float64(Float64(fma(Float64(-i), fma(x, y, Float64(Float64(-t) * z)), Float64(fma(x, y2, Float64(Float64(-y3) * z)) * y0)) - Float64(fma(t, y2, Float64(Float64(-y) * y3)) * y4)) * c); elseif (y1 <= 3.3e+116) tmp = t_2; else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(N[(y3 * z), $MachinePrecision] - N[(y2 * x), $MachinePrecision]), $MachinePrecision] * a + N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * y4 + N[(N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision]}, Block[{t$95$2 = N[(N[(N[(N[(y5 * i), $MachinePrecision] - N[(y4 * b), $MachinePrecision]), $MachinePrecision] * y + N[(N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision] * y2 + N[(N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision]}, If[LessEqual[y1, -2.4e+82], t$95$1, If[LessEqual[y1, -5.3e-166], t$95$2, If[LessEqual[y1, 3.4e-293], N[(N[(N[(N[(y3 * j), $MachinePrecision] - N[(y2 * k), $MachinePrecision]), $MachinePrecision] * y5 + N[(c * N[(N[(y2 * x), $MachinePrecision] - N[(y3 * z), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * z), $MachinePrecision] - N[(j * x), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision], If[LessEqual[y1, 3.8e-146], N[(N[(N[((-i) * N[(x * y + N[((-t) * z), $MachinePrecision]), $MachinePrecision] + N[(N[(x * y2 + N[((-y3) * z), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision]), $MachinePrecision] - N[(N[(t * y2 + N[((-y) * y3), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision], If[LessEqual[y1, 3.3e+116], t$95$2, t$95$1]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\
t_2 := \mathsf{fma}\left(y5 \cdot i - y4 \cdot b, y, \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, y2, \left(y0 \cdot b - y1 \cdot i\right) \cdot z\right)\right) \cdot k\\
\mathbf{if}\;y1 \leq -2.4 \cdot 10^{+82}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y1 \leq -5.3 \cdot 10^{-166}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y1 \leq 3.4 \cdot 10^{-293}:\\
\;\;\;\;\mathsf{fma}\left(y3 \cdot j - y2 \cdot k, y5, \mathsf{fma}\left(c, y2 \cdot x - y3 \cdot z, \left(k \cdot z - j \cdot x\right) \cdot b\right)\right) \cdot y0\\
\mathbf{elif}\;y1 \leq 3.8 \cdot 10^{-146}:\\
\;\;\;\;\left(\mathsf{fma}\left(-i, \mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right), \mathsf{fma}\left(x, y2, \left(-y3\right) \cdot z\right) \cdot y0\right) - \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot y4\right) \cdot c\\
\mathbf{elif}\;y1 \leq 3.3 \cdot 10^{+116}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y1 < -2.39999999999999998e82 or 3.2999999999999998e116 < y1 Initial program 26.5%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites66.6%
if -2.39999999999999998e82 < y1 < -5.29999999999999996e-166 or 3.79999999999999994e-146 < y1 < 3.2999999999999998e116Initial program 33.8%
Taylor expanded in k around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites61.8%
if -5.29999999999999996e-166 < y1 < 3.4e-293Initial program 28.8%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites61.0%
if 3.4e-293 < y1 < 3.79999999999999994e-146Initial program 25.6%
Taylor expanded in k around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites32.2%
Taylor expanded in c around inf
lower-*.f64N/A
lower--.f64N/A
Applied rewrites53.6%
Final simplification62.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(-
(-
(-
(-
(-
(* (- (* y0 b) (* y1 i)) (- (* k z) (* j x)))
(* (- (* i c) (* b a)) (- (* y x) (* t z))))
(* (- (* y1 a) (* y0 c)) (- (* y2 x) (* y3 z))))
(* (- (* k y) (* j t)) (- (* y4 b) (* y5 i))))
(* (- (* y5 a) (* y4 c)) (- (* y3 y) (* y2 t))))
(* (- (* y5 y0) (* y4 y1)) (- (* y2 k) (* y3 j))))))
(if (<= t_1 INFINITY)
t_1
(fma
(fma (- y3) j (* y2 k))
(fma (- y0) y5 (* y4 y1))
(* (* (* k y) y5) i)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (((((((y0 * b) - (y1 * i)) * ((k * z) - (j * x))) - (((i * c) - (b * a)) * ((y * x) - (t * z)))) - (((y1 * a) - (y0 * c)) * ((y2 * x) - (y3 * z)))) - (((k * y) - (j * t)) * ((y4 * b) - (y5 * i)))) - (((y5 * a) - (y4 * c)) * ((y3 * y) - (y2 * t)))) - (((y5 * y0) - (y4 * y1)) * ((y2 * k) - (y3 * j)));
double tmp;
if (t_1 <= ((double) INFINITY)) {
tmp = t_1;
} else {
tmp = fma(fma(-y3, j, (y2 * k)), fma(-y0, y5, (y4 * y1)), (((k * y) * y5) * i));
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(y0 * b) - Float64(y1 * i)) * Float64(Float64(k * z) - Float64(j * x))) - Float64(Float64(Float64(i * c) - Float64(b * a)) * Float64(Float64(y * x) - Float64(t * z)))) - Float64(Float64(Float64(y1 * a) - Float64(y0 * c)) * Float64(Float64(y2 * x) - Float64(y3 * z)))) - Float64(Float64(Float64(k * y) - Float64(j * t)) * Float64(Float64(y4 * b) - Float64(y5 * i)))) - Float64(Float64(Float64(y5 * a) - Float64(y4 * c)) * Float64(Float64(y3 * y) - Float64(y2 * t)))) - Float64(Float64(Float64(y5 * y0) - Float64(y4 * y1)) * Float64(Float64(y2 * k) - Float64(y3 * j)))) tmp = 0.0 if (t_1 <= Inf) tmp = t_1; else tmp = fma(fma(Float64(-y3), j, Float64(y2 * k)), fma(Float64(-y0), y5, Float64(y4 * y1)), Float64(Float64(Float64(k * y) * y5) * i)); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(N[(N[(N[(N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision] * N[(N[(k * z), $MachinePrecision] - N[(j * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(i * c), $MachinePrecision] - N[(b * a), $MachinePrecision]), $MachinePrecision] * N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(y1 * a), $MachinePrecision] - N[(y0 * c), $MachinePrecision]), $MachinePrecision] * N[(N[(y2 * x), $MachinePrecision] - N[(y3 * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(k * y), $MachinePrecision] - N[(j * t), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(y5 * a), $MachinePrecision] - N[(y4 * c), $MachinePrecision]), $MachinePrecision] * N[(N[(y3 * y), $MachinePrecision] - N[(y2 * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(y5 * y0), $MachinePrecision] - N[(y4 * y1), $MachinePrecision]), $MachinePrecision] * N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, Infinity], t$95$1, N[(N[((-y3) * j + N[(y2 * k), $MachinePrecision]), $MachinePrecision] * N[((-y0) * y5 + N[(y4 * y1), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y), $MachinePrecision] * y5), $MachinePrecision] * i), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\left(\left(\left(\left(y0 \cdot b - y1 \cdot i\right) \cdot \left(k \cdot z - j \cdot x\right) - \left(i \cdot c - b \cdot a\right) \cdot \left(y \cdot x - t \cdot z\right)\right) - \left(y1 \cdot a - y0 \cdot c\right) \cdot \left(y2 \cdot x - y3 \cdot z\right)\right) - \left(k \cdot y - j \cdot t\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(y5 \cdot a - y4 \cdot c\right) \cdot \left(y3 \cdot y - y2 \cdot t\right)\right) - \left(y5 \cdot y0 - y4 \cdot y1\right) \cdot \left(y2 \cdot k - y3 \cdot j\right)\\
\mathbf{if}\;t\_1 \leq \infty:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-y3, j, y2 \cdot k\right), \mathsf{fma}\left(-y0, y5, y4 \cdot y1\right), \left(\left(k \cdot y\right) \cdot y5\right) \cdot i\right)\\
\end{array}
\end{array}
if (+.f64 (-.f64 (+.f64 (+.f64 (-.f64 (*.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (-.f64 (*.f64 a b) (*.f64 c i))) (*.f64 (-.f64 (*.f64 x j) (*.f64 z k)) (-.f64 (*.f64 y0 b) (*.f64 y1 i)))) (*.f64 (-.f64 (*.f64 x y2) (*.f64 z y3)) (-.f64 (*.f64 y0 c) (*.f64 y1 a)))) (*.f64 (-.f64 (*.f64 t j) (*.f64 y k)) (-.f64 (*.f64 y4 b) (*.f64 y5 i)))) (*.f64 (-.f64 (*.f64 t y2) (*.f64 y y3)) (-.f64 (*.f64 y4 c) (*.f64 y5 a)))) (*.f64 (-.f64 (*.f64 k y2) (*.f64 j y3)) (-.f64 (*.f64 y4 y1) (*.f64 y5 y0)))) < +inf.0Initial program 93.0%
if +inf.0 < (+.f64 (-.f64 (+.f64 (+.f64 (-.f64 (*.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (-.f64 (*.f64 a b) (*.f64 c i))) (*.f64 (-.f64 (*.f64 x j) (*.f64 z k)) (-.f64 (*.f64 y0 b) (*.f64 y1 i)))) (*.f64 (-.f64 (*.f64 x y2) (*.f64 z y3)) (-.f64 (*.f64 y0 c) (*.f64 y1 a)))) (*.f64 (-.f64 (*.f64 t j) (*.f64 y k)) (-.f64 (*.f64 y4 b) (*.f64 y5 i)))) (*.f64 (-.f64 (*.f64 t y2) (*.f64 y y3)) (-.f64 (*.f64 y4 c) (*.f64 y5 a)))) (*.f64 (-.f64 (*.f64 k y2) (*.f64 j y3)) (-.f64 (*.f64 y4 y1) (*.f64 y5 y0)))) Initial program 0.0%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites36.9%
Taylor expanded in k around inf
Applied rewrites43.4%
lift-+.f64N/A
+-commutativeN/A
Applied rewrites46.3%
Final simplification61.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(*
(fma
(- (* y3 z) (* y2 x))
a
(fma (- (* y2 k) (* y3 j)) y4 (* (- (* j x) (* k z)) i)))
y1))
(t_2
(*
(fma
(- (* y5 i) (* y4 b))
y
(fma (- (* y4 y1) (* y5 y0)) y2 (* (- (* y0 b) (* y1 i)) z)))
k)))
(if (<= y1 -2.4e+82)
t_1
(if (<= y1 -4.5e-46)
t_2
(if (<= y1 -1.15e-288)
(*
(fma
(- (* y x) (* t z))
a
(fma (- (* j t) (* k y)) y4 (* (- (* k z) (* j x)) y0)))
b)
(if (<= y1 3.8e-146)
(*
(-
(fma (- i) (fma x y (* (- t) z)) (* (fma x y2 (* (- y3) z)) y0))
(* (fma t y2 (* (- y) y3)) y4))
c)
(if (<= y1 3.3e+116) 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 k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = fma(((y3 * z) - (y2 * x)), a, fma(((y2 * k) - (y3 * j)), y4, (((j * x) - (k * z)) * i))) * y1;
double t_2 = fma(((y5 * i) - (y4 * b)), y, fma(((y4 * y1) - (y5 * y0)), y2, (((y0 * b) - (y1 * i)) * z))) * k;
double tmp;
if (y1 <= -2.4e+82) {
tmp = t_1;
} else if (y1 <= -4.5e-46) {
tmp = t_2;
} else if (y1 <= -1.15e-288) {
tmp = fma(((y * x) - (t * z)), a, fma(((j * t) - (k * y)), y4, (((k * z) - (j * x)) * y0))) * b;
} else if (y1 <= 3.8e-146) {
tmp = (fma(-i, fma(x, y, (-t * z)), (fma(x, y2, (-y3 * z)) * y0)) - (fma(t, y2, (-y * y3)) * y4)) * c;
} else if (y1 <= 3.3e+116) {
tmp = t_2;
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(fma(Float64(Float64(y3 * z) - Float64(y2 * x)), a, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y4, Float64(Float64(Float64(j * x) - Float64(k * z)) * i))) * y1) t_2 = Float64(fma(Float64(Float64(y5 * i) - Float64(y4 * b)), y, fma(Float64(Float64(y4 * y1) - Float64(y5 * y0)), y2, Float64(Float64(Float64(y0 * b) - Float64(y1 * i)) * z))) * k) tmp = 0.0 if (y1 <= -2.4e+82) tmp = t_1; elseif (y1 <= -4.5e-46) tmp = t_2; elseif (y1 <= -1.15e-288) tmp = Float64(fma(Float64(Float64(y * x) - Float64(t * z)), a, fma(Float64(Float64(j * t) - Float64(k * y)), y4, Float64(Float64(Float64(k * z) - Float64(j * x)) * y0))) * b); elseif (y1 <= 3.8e-146) tmp = Float64(Float64(fma(Float64(-i), fma(x, y, Float64(Float64(-t) * z)), Float64(fma(x, y2, Float64(Float64(-y3) * z)) * y0)) - Float64(fma(t, y2, Float64(Float64(-y) * y3)) * y4)) * c); elseif (y1 <= 3.3e+116) tmp = t_2; else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(N[(y3 * z), $MachinePrecision] - N[(y2 * x), $MachinePrecision]), $MachinePrecision] * a + N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * y4 + N[(N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision]}, Block[{t$95$2 = N[(N[(N[(N[(y5 * i), $MachinePrecision] - N[(y4 * b), $MachinePrecision]), $MachinePrecision] * y + N[(N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision] * y2 + N[(N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision]}, If[LessEqual[y1, -2.4e+82], t$95$1, If[LessEqual[y1, -4.5e-46], t$95$2, If[LessEqual[y1, -1.15e-288], N[(N[(N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision] * a + N[(N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] * y4 + N[(N[(N[(k * z), $MachinePrecision] - N[(j * x), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[y1, 3.8e-146], N[(N[(N[((-i) * N[(x * y + N[((-t) * z), $MachinePrecision]), $MachinePrecision] + N[(N[(x * y2 + N[((-y3) * z), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision]), $MachinePrecision] - N[(N[(t * y2 + N[((-y) * y3), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision], If[LessEqual[y1, 3.3e+116], t$95$2, t$95$1]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\
t_2 := \mathsf{fma}\left(y5 \cdot i - y4 \cdot b, y, \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, y2, \left(y0 \cdot b - y1 \cdot i\right) \cdot z\right)\right) \cdot k\\
\mathbf{if}\;y1 \leq -2.4 \cdot 10^{+82}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y1 \leq -4.5 \cdot 10^{-46}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y1 \leq -1.15 \cdot 10^{-288}:\\
\;\;\;\;\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(k \cdot z - j \cdot x\right) \cdot y0\right)\right) \cdot b\\
\mathbf{elif}\;y1 \leq 3.8 \cdot 10^{-146}:\\
\;\;\;\;\left(\mathsf{fma}\left(-i, \mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right), \mathsf{fma}\left(x, y2, \left(-y3\right) \cdot z\right) \cdot y0\right) - \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot y4\right) \cdot c\\
\mathbf{elif}\;y1 \leq 3.3 \cdot 10^{+116}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y1 < -2.39999999999999998e82 or 3.2999999999999998e116 < y1 Initial program 26.5%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites66.6%
if -2.39999999999999998e82 < y1 < -4.50000000000000001e-46 or 3.79999999999999994e-146 < y1 < 3.2999999999999998e116Initial program 36.2%
Taylor expanded in k around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites64.4%
if -4.50000000000000001e-46 < y1 < -1.15e-288Initial program 24.1%
Taylor expanded in b around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites62.1%
if -1.15e-288 < y1 < 3.79999999999999994e-146Initial program 26.2%
Taylor expanded in k around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites28.8%
Taylor expanded in c around inf
lower-*.f64N/A
lower--.f64N/A
Applied rewrites49.6%
Final simplification62.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(*
(fma
(- (* t z) (* y x))
c
(fma (- y5) (- (* j t) (* k y)) (* (- (* j x) (* k z)) y1)))
i))
(t_2 (- (* y4 y1) (* y5 y0))))
(if (<= i -7.6e+21)
t_1
(if (<= i -9.8e-163)
(*
(fma (- (* y5 i) (* y4 b)) y (fma t_2 y2 (* (- (* y0 b) (* y1 i)) z)))
k)
(if (<= i 2.6e-110)
(*
(fma
(- (* y3 j) (* y2 k))
y5
(fma c (- (* y2 x) (* y3 z)) (* (- (* k z) (* j x)) b)))
y0)
(if (<= i 3.1e-16)
(*
(fma
t_2
k
(fma (- (* y0 c) (* y1 a)) x (* (- (* y5 a) (* y4 c)) t)))
y2)
t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = fma(((t * z) - (y * x)), c, fma(-y5, ((j * t) - (k * y)), (((j * x) - (k * z)) * y1))) * i;
double t_2 = (y4 * y1) - (y5 * y0);
double tmp;
if (i <= -7.6e+21) {
tmp = t_1;
} else if (i <= -9.8e-163) {
tmp = fma(((y5 * i) - (y4 * b)), y, fma(t_2, y2, (((y0 * b) - (y1 * i)) * z))) * k;
} else if (i <= 2.6e-110) {
tmp = fma(((y3 * j) - (y2 * k)), y5, fma(c, ((y2 * x) - (y3 * z)), (((k * z) - (j * x)) * b))) * y0;
} else if (i <= 3.1e-16) {
tmp = fma(t_2, k, fma(((y0 * c) - (y1 * a)), x, (((y5 * a) - (y4 * c)) * t))) * y2;
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(fma(Float64(Float64(t * z) - Float64(y * x)), c, fma(Float64(-y5), Float64(Float64(j * t) - Float64(k * y)), Float64(Float64(Float64(j * x) - Float64(k * z)) * y1))) * i) t_2 = Float64(Float64(y4 * y1) - Float64(y5 * y0)) tmp = 0.0 if (i <= -7.6e+21) tmp = t_1; elseif (i <= -9.8e-163) tmp = Float64(fma(Float64(Float64(y5 * i) - Float64(y4 * b)), y, fma(t_2, y2, Float64(Float64(Float64(y0 * b) - Float64(y1 * i)) * z))) * k); elseif (i <= 2.6e-110) tmp = Float64(fma(Float64(Float64(y3 * j) - Float64(y2 * k)), y5, fma(c, Float64(Float64(y2 * x) - Float64(y3 * z)), Float64(Float64(Float64(k * z) - Float64(j * x)) * b))) * y0); elseif (i <= 3.1e-16) tmp = Float64(fma(t_2, k, fma(Float64(Float64(y0 * c) - Float64(y1 * a)), x, Float64(Float64(Float64(y5 * a) - Float64(y4 * c)) * t))) * y2); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(N[(t * z), $MachinePrecision] - N[(y * x), $MachinePrecision]), $MachinePrecision] * c + N[((-y5) * N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -7.6e+21], t$95$1, If[LessEqual[i, -9.8e-163], N[(N[(N[(N[(y5 * i), $MachinePrecision] - N[(y4 * b), $MachinePrecision]), $MachinePrecision] * y + N[(t$95$2 * y2 + N[(N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision], If[LessEqual[i, 2.6e-110], N[(N[(N[(N[(y3 * j), $MachinePrecision] - N[(y2 * k), $MachinePrecision]), $MachinePrecision] * y5 + N[(c * N[(N[(y2 * x), $MachinePrecision] - N[(y3 * z), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * z), $MachinePrecision] - N[(j * x), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision], If[LessEqual[i, 3.1e-16], N[(N[(t$95$2 * k + N[(N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision] * x + N[(N[(N[(y5 * a), $MachinePrecision] - N[(y4 * c), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(t \cdot z - y \cdot x, c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i\\
t_2 := y4 \cdot y1 - y5 \cdot y0\\
\mathbf{if}\;i \leq -7.6 \cdot 10^{+21}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;i \leq -9.8 \cdot 10^{-163}:\\
\;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, y, \mathsf{fma}\left(t\_2, y2, \left(y0 \cdot b - y1 \cdot i\right) \cdot z\right)\right) \cdot k\\
\mathbf{elif}\;i \leq 2.6 \cdot 10^{-110}:\\
\;\;\;\;\mathsf{fma}\left(y3 \cdot j - y2 \cdot k, y5, \mathsf{fma}\left(c, y2 \cdot x - y3 \cdot z, \left(k \cdot z - j \cdot x\right) \cdot b\right)\right) \cdot y0\\
\mathbf{elif}\;i \leq 3.1 \cdot 10^{-16}:\\
\;\;\;\;\mathsf{fma}\left(t\_2, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, \left(y5 \cdot a - y4 \cdot c\right) \cdot t\right)\right) \cdot y2\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if i < -7.6e21 or 3.1000000000000001e-16 < i Initial program 23.0%
Taylor expanded in i around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites59.5%
if -7.6e21 < i < -9.8000000000000005e-163Initial program 31.3%
Taylor expanded in k around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites56.7%
if -9.8000000000000005e-163 < i < 2.5999999999999999e-110Initial program 41.3%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites73.6%
if 2.5999999999999999e-110 < i < 3.1000000000000001e-16Initial program 31.9%
Taylor expanded in y2 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites56.7%
Final simplification61.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (fma (- y3) j (* y2 k))) (t_2 (fma (- y0) y5 (* y4 y1))))
(if (<= y3 -7e+16)
(fma t_1 t_2 (* (* (* k y) y5) i))
(if (<= y3 -4.6e-23)
(* (* (fma (- b) y (* y2 y1)) k) y4)
(if (<= y3 1.02e+71)
(*
(fma
(- (* y3 z) (* y2 x))
a
(fma (- (* y2 k) (* y3 j)) y4 (* (- (* j x) (* k z)) i)))
y1)
(fma t_1 t_2 (* (* y5 i) (* k y))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = fma(-y3, j, (y2 * k));
double t_2 = fma(-y0, y5, (y4 * y1));
double tmp;
if (y3 <= -7e+16) {
tmp = fma(t_1, t_2, (((k * y) * y5) * i));
} else if (y3 <= -4.6e-23) {
tmp = (fma(-b, y, (y2 * y1)) * k) * y4;
} else if (y3 <= 1.02e+71) {
tmp = fma(((y3 * z) - (y2 * x)), a, fma(((y2 * k) - (y3 * j)), y4, (((j * x) - (k * z)) * i))) * y1;
} else {
tmp = fma(t_1, t_2, ((y5 * i) * (k * y)));
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = fma(Float64(-y3), j, Float64(y2 * k)) t_2 = fma(Float64(-y0), y5, Float64(y4 * y1)) tmp = 0.0 if (y3 <= -7e+16) tmp = fma(t_1, t_2, Float64(Float64(Float64(k * y) * y5) * i)); elseif (y3 <= -4.6e-23) tmp = Float64(Float64(fma(Float64(-b), y, Float64(y2 * y1)) * k) * y4); elseif (y3 <= 1.02e+71) tmp = Float64(fma(Float64(Float64(y3 * z) - Float64(y2 * x)), a, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y4, Float64(Float64(Float64(j * x) - Float64(k * z)) * i))) * y1); else tmp = fma(t_1, t_2, Float64(Float64(y5 * i) * Float64(k * y))); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[((-y3) * j + N[(y2 * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[((-y0) * y5 + N[(y4 * y1), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -7e+16], N[(t$95$1 * t$95$2 + N[(N[(N[(k * y), $MachinePrecision] * y5), $MachinePrecision] * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -4.6e-23], N[(N[(N[((-b) * y + N[(y2 * y1), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision] * y4), $MachinePrecision], If[LessEqual[y3, 1.02e+71], N[(N[(N[(N[(y3 * z), $MachinePrecision] - N[(y2 * x), $MachinePrecision]), $MachinePrecision] * a + N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * y4 + N[(N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], N[(t$95$1 * t$95$2 + N[(N[(y5 * i), $MachinePrecision] * N[(k * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(-y3, j, y2 \cdot k\right)\\
t_2 := \mathsf{fma}\left(-y0, y5, y4 \cdot y1\right)\\
\mathbf{if}\;y3 \leq -7 \cdot 10^{+16}:\\
\;\;\;\;\mathsf{fma}\left(t\_1, t\_2, \left(\left(k \cdot y\right) \cdot y5\right) \cdot i\right)\\
\mathbf{elif}\;y3 \leq -4.6 \cdot 10^{-23}:\\
\;\;\;\;\left(\mathsf{fma}\left(-b, y, y2 \cdot y1\right) \cdot k\right) \cdot y4\\
\mathbf{elif}\;y3 \leq 1.02 \cdot 10^{+71}:\\
\;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(t\_1, t\_2, \left(y5 \cdot i\right) \cdot \left(k \cdot y\right)\right)\\
\end{array}
\end{array}
if y3 < -7e16Initial program 21.1%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites51.2%
Taylor expanded in k around inf
Applied rewrites63.3%
lift-+.f64N/A
+-commutativeN/A
Applied rewrites65.0%
if -7e16 < y3 < -4.6000000000000002e-23Initial program 16.5%
Taylor expanded in y4 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites50.2%
Taylor expanded in k around inf
Applied rewrites75.6%
if -4.6000000000000002e-23 < y3 < 1.02000000000000003e71Initial program 33.8%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites45.9%
if 1.02000000000000003e71 < y3 Initial program 29.6%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites50.0%
Taylor expanded in k around inf
Applied rewrites61.6%
lift-+.f64N/A
+-commutativeN/A
Applied rewrites63.9%
Applied rewrites64.0%
Final simplification54.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(*
(fma
(- (* y3 z) (* y2 x))
a
(fma (- (* y2 k) (* y3 j)) y4 (* (- (* j x) (* k z)) i)))
y1)))
(if (<= y1 -2.4e+82)
t_1
(if (<= y1 3.3e+116)
(*
(fma
(- (* y5 i) (* y4 b))
y
(fma (- (* y4 y1) (* y5 y0)) y2 (* (- (* y0 b) (* y1 i)) z)))
k)
t_1))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = fma(((y3 * z) - (y2 * x)), a, fma(((y2 * k) - (y3 * j)), y4, (((j * x) - (k * z)) * i))) * y1;
double tmp;
if (y1 <= -2.4e+82) {
tmp = t_1;
} else if (y1 <= 3.3e+116) {
tmp = fma(((y5 * i) - (y4 * b)), y, fma(((y4 * y1) - (y5 * y0)), y2, (((y0 * b) - (y1 * i)) * z))) * k;
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(fma(Float64(Float64(y3 * z) - Float64(y2 * x)), a, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y4, Float64(Float64(Float64(j * x) - Float64(k * z)) * i))) * y1) tmp = 0.0 if (y1 <= -2.4e+82) tmp = t_1; elseif (y1 <= 3.3e+116) tmp = Float64(fma(Float64(Float64(y5 * i) - Float64(y4 * b)), y, fma(Float64(Float64(y4 * y1) - Float64(y5 * y0)), y2, Float64(Float64(Float64(y0 * b) - Float64(y1 * i)) * z))) * k); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(N[(y3 * z), $MachinePrecision] - N[(y2 * x), $MachinePrecision]), $MachinePrecision] * a + N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * y4 + N[(N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision]}, If[LessEqual[y1, -2.4e+82], t$95$1, If[LessEqual[y1, 3.3e+116], N[(N[(N[(N[(y5 * i), $MachinePrecision] - N[(y4 * b), $MachinePrecision]), $MachinePrecision] * y + N[(N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision] * y2 + N[(N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\
\mathbf{if}\;y1 \leq -2.4 \cdot 10^{+82}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y1 \leq 3.3 \cdot 10^{+116}:\\
\;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, y, \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, y2, \left(y0 \cdot b - y1 \cdot i\right) \cdot z\right)\right) \cdot k\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y1 < -2.39999999999999998e82 or 3.2999999999999998e116 < y1 Initial program 26.5%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites66.6%
if -2.39999999999999998e82 < y1 < 3.2999999999999998e116Initial program 31.3%
Taylor expanded in k around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites50.7%
Final simplification56.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= k -3.9e+107)
(fma (fma (- y3) j (* y2 k)) (fma (- y0) y5 (* y4 y1)) (* (* (* k y) y5) i))
(if (<= k 2.05e-14)
(*
(fma
(- (* y3 z) (* y2 x))
y1
(fma (- (* y x) (* t z)) b (* (- (* y2 t) (* y3 y)) y5)))
a)
(if (<= k 5.5e+109)
(* (fma b (fma j t (* (- k) y)) (* (fma k y2 (* (- j) y3)) y1)) y4)
(* (fma (- y2) y5 (* b z)) (* y0 k))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (k <= -3.9e+107) {
tmp = fma(fma(-y3, j, (y2 * k)), fma(-y0, y5, (y4 * y1)), (((k * y) * y5) * i));
} else if (k <= 2.05e-14) {
tmp = fma(((y3 * z) - (y2 * x)), y1, fma(((y * x) - (t * z)), b, (((y2 * t) - (y3 * y)) * y5))) * a;
} else if (k <= 5.5e+109) {
tmp = fma(b, fma(j, t, (-k * y)), (fma(k, y2, (-j * y3)) * y1)) * y4;
} else {
tmp = fma(-y2, y5, (b * z)) * (y0 * k);
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (k <= -3.9e+107) tmp = fma(fma(Float64(-y3), j, Float64(y2 * k)), fma(Float64(-y0), y5, Float64(y4 * y1)), Float64(Float64(Float64(k * y) * y5) * i)); elseif (k <= 2.05e-14) tmp = Float64(fma(Float64(Float64(y3 * z) - Float64(y2 * x)), y1, fma(Float64(Float64(y * x) - Float64(t * z)), b, Float64(Float64(Float64(y2 * t) - Float64(y3 * y)) * y5))) * a); elseif (k <= 5.5e+109) tmp = Float64(fma(b, fma(j, t, Float64(Float64(-k) * y)), Float64(fma(k, y2, Float64(Float64(-j) * y3)) * y1)) * y4); else tmp = Float64(fma(Float64(-y2), y5, Float64(b * z)) * Float64(y0 * k)); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[k, -3.9e+107], N[(N[((-y3) * j + N[(y2 * k), $MachinePrecision]), $MachinePrecision] * N[((-y0) * y5 + N[(y4 * y1), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y), $MachinePrecision] * y5), $MachinePrecision] * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 2.05e-14], N[(N[(N[(N[(y3 * z), $MachinePrecision] - N[(y2 * x), $MachinePrecision]), $MachinePrecision] * y1 + N[(N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision] * b + N[(N[(N[(y2 * t), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[k, 5.5e+109], N[(N[(b * N[(j * t + N[((-k) * y), $MachinePrecision]), $MachinePrecision] + N[(N[(k * y2 + N[((-j) * y3), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision], N[(N[((-y2) * y5 + N[(b * z), $MachinePrecision]), $MachinePrecision] * N[(y0 * k), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;k \leq -3.9 \cdot 10^{+107}:\\
\;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-y3, j, y2 \cdot k\right), \mathsf{fma}\left(-y0, y5, y4 \cdot y1\right), \left(\left(k \cdot y\right) \cdot y5\right) \cdot i\right)\\
\mathbf{elif}\;k \leq 2.05 \cdot 10^{-14}:\\
\;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, y1, \mathsf{fma}\left(y \cdot x - t \cdot z, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a\\
\mathbf{elif}\;k \leq 5.5 \cdot 10^{+109}:\\
\;\;\;\;\mathsf{fma}\left(b, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right), \mathsf{fma}\left(k, y2, \left(-j\right) \cdot y3\right) \cdot y1\right) \cdot y4\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(-y2, y5, b \cdot z\right) \cdot \left(y0 \cdot k\right)\\
\end{array}
\end{array}
if k < -3.8999999999999998e107Initial program 19.5%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites40.6%
Taylor expanded in k around inf
Applied rewrites59.7%
lift-+.f64N/A
+-commutativeN/A
Applied rewrites63.5%
if -3.8999999999999998e107 < k < 2.0500000000000001e-14Initial program 33.8%
Taylor expanded in a around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites48.0%
if 2.0500000000000001e-14 < k < 5.4999999999999998e109Initial program 30.4%
Taylor expanded in y4 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites56.6%
Taylor expanded in c around 0
Applied rewrites65.3%
if 5.4999999999999998e109 < k Initial program 27.6%
Taylor expanded in k around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites66.2%
Taylor expanded in y0 around inf
Applied rewrites70.9%
Final simplification56.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= z -1.85e+42)
(* (fma k b (* (- y3) c)) (* y0 z))
(if (<= z -4e-190)
(-
(* (* (* (- j) t) i) y5)
(* (- (* y5 y0) (* y4 y1)) (- (* y2 k) (* y3 j))))
(if (<= z 1.25e+91)
(fma
(fma (- y3) j (* y2 k))
(fma (- y0) y5 (* y4 y1))
(* (* (* k y) y5) i))
(* (* (fma b y0 (* (- i) y1)) z) k)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (z <= -1.85e+42) {
tmp = fma(k, b, (-y3 * c)) * (y0 * z);
} else if (z <= -4e-190) {
tmp = (((-j * t) * i) * y5) - (((y5 * y0) - (y4 * y1)) * ((y2 * k) - (y3 * j)));
} else if (z <= 1.25e+91) {
tmp = fma(fma(-y3, j, (y2 * k)), fma(-y0, y5, (y4 * y1)), (((k * y) * y5) * i));
} else {
tmp = (fma(b, y0, (-i * y1)) * z) * k;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (z <= -1.85e+42) tmp = Float64(fma(k, b, Float64(Float64(-y3) * c)) * Float64(y0 * z)); elseif (z <= -4e-190) tmp = Float64(Float64(Float64(Float64(Float64(-j) * t) * i) * y5) - Float64(Float64(Float64(y5 * y0) - Float64(y4 * y1)) * Float64(Float64(y2 * k) - Float64(y3 * j)))); elseif (z <= 1.25e+91) tmp = fma(fma(Float64(-y3), j, Float64(y2 * k)), fma(Float64(-y0), y5, Float64(y4 * y1)), Float64(Float64(Float64(k * y) * y5) * i)); else tmp = Float64(Float64(fma(b, y0, Float64(Float64(-i) * y1)) * z) * k); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[z, -1.85e+42], N[(N[(k * b + N[((-y3) * c), $MachinePrecision]), $MachinePrecision] * N[(y0 * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -4e-190], N[(N[(N[(N[((-j) * t), $MachinePrecision] * i), $MachinePrecision] * y5), $MachinePrecision] - N[(N[(N[(y5 * y0), $MachinePrecision] - N[(y4 * y1), $MachinePrecision]), $MachinePrecision] * N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.25e+91], N[(N[((-y3) * j + N[(y2 * k), $MachinePrecision]), $MachinePrecision] * N[((-y0) * y5 + N[(y4 * y1), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y), $MachinePrecision] * y5), $MachinePrecision] * i), $MachinePrecision]), $MachinePrecision], N[(N[(N[(b * y0 + N[((-i) * y1), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision] * k), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.85 \cdot 10^{+42}:\\
\;\;\;\;\mathsf{fma}\left(k, b, \left(-y3\right) \cdot c\right) \cdot \left(y0 \cdot z\right)\\
\mathbf{elif}\;z \leq -4 \cdot 10^{-190}:\\
\;\;\;\;\left(\left(\left(-j\right) \cdot t\right) \cdot i\right) \cdot y5 - \left(y5 \cdot y0 - y4 \cdot y1\right) \cdot \left(y2 \cdot k - y3 \cdot j\right)\\
\mathbf{elif}\;z \leq 1.25 \cdot 10^{+91}:\\
\;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-y3, j, y2 \cdot k\right), \mathsf{fma}\left(-y0, y5, y4 \cdot y1\right), \left(\left(k \cdot y\right) \cdot y5\right) \cdot i\right)\\
\mathbf{else}:\\
\;\;\;\;\left(\mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right) \cdot z\right) \cdot k\\
\end{array}
\end{array}
if z < -1.84999999999999998e42Initial program 31.5%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites51.7%
Taylor expanded in j around inf
Applied rewrites17.0%
Taylor expanded in z around inf
Applied rewrites56.9%
if -1.84999999999999998e42 < z < -4.0000000000000001e-190Initial program 35.2%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites48.2%
Taylor expanded in j around inf
Applied rewrites50.3%
if -4.0000000000000001e-190 < z < 1.2500000000000001e91Initial program 29.3%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites43.8%
Taylor expanded in k around inf
Applied rewrites47.7%
lift-+.f64N/A
+-commutativeN/A
Applied rewrites50.4%
if 1.2500000000000001e91 < z Initial program 21.7%
Taylor expanded in k around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites59.2%
Taylor expanded in z around inf
Applied rewrites63.6%
Final simplification54.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= z -3.5e+40)
(* (fma k b (* (- y3) c)) (* y0 z))
(if (<= z 1.25e+91)
(fma
(fma (- y3) j (* y2 k))
(fma (- y0) y5 (* y4 y1))
(* (* (* k y) y5) i))
(* (* (fma b y0 (* (- i) y1)) z) k))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (z <= -3.5e+40) {
tmp = fma(k, b, (-y3 * c)) * (y0 * z);
} else if (z <= 1.25e+91) {
tmp = fma(fma(-y3, j, (y2 * k)), fma(-y0, y5, (y4 * y1)), (((k * y) * y5) * i));
} else {
tmp = (fma(b, y0, (-i * y1)) * z) * k;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (z <= -3.5e+40) tmp = Float64(fma(k, b, Float64(Float64(-y3) * c)) * Float64(y0 * z)); elseif (z <= 1.25e+91) tmp = fma(fma(Float64(-y3), j, Float64(y2 * k)), fma(Float64(-y0), y5, Float64(y4 * y1)), Float64(Float64(Float64(k * y) * y5) * i)); else tmp = Float64(Float64(fma(b, y0, Float64(Float64(-i) * y1)) * z) * k); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[z, -3.5e+40], N[(N[(k * b + N[((-y3) * c), $MachinePrecision]), $MachinePrecision] * N[(y0 * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.25e+91], N[(N[((-y3) * j + N[(y2 * k), $MachinePrecision]), $MachinePrecision] * N[((-y0) * y5 + N[(y4 * y1), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y), $MachinePrecision] * y5), $MachinePrecision] * i), $MachinePrecision]), $MachinePrecision], N[(N[(N[(b * y0 + N[((-i) * y1), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision] * k), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -3.5 \cdot 10^{+40}:\\
\;\;\;\;\mathsf{fma}\left(k, b, \left(-y3\right) \cdot c\right) \cdot \left(y0 \cdot z\right)\\
\mathbf{elif}\;z \leq 1.25 \cdot 10^{+91}:\\
\;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-y3, j, y2 \cdot k\right), \mathsf{fma}\left(-y0, y5, y4 \cdot y1\right), \left(\left(k \cdot y\right) \cdot y5\right) \cdot i\right)\\
\mathbf{else}:\\
\;\;\;\;\left(\mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right) \cdot z\right) \cdot k\\
\end{array}
\end{array}
if z < -3.4999999999999999e40Initial program 32.8%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites50.9%
Taylor expanded in j around inf
Applied rewrites16.7%
Taylor expanded in z around inf
Applied rewrites55.8%
if -3.4999999999999999e40 < z < 1.2500000000000001e91Initial program 30.6%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites44.7%
Taylor expanded in k around inf
Applied rewrites45.7%
lift-+.f64N/A
+-commutativeN/A
Applied rewrites47.6%
if 1.2500000000000001e91 < z Initial program 21.7%
Taylor expanded in k around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites59.2%
Taylor expanded in z around inf
Applied rewrites63.6%
Final simplification52.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= z -3.5e+40)
(* (fma k b (* (- y3) c)) (* y0 z))
(if (<= z 1.25e+91)
(fma
(fma (- y3) j (* y2 k))
(fma (- y0) y5 (* y4 y1))
(* (* y5 i) (* k y)))
(* (* (fma b y0 (* (- i) y1)) z) k))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (z <= -3.5e+40) {
tmp = fma(k, b, (-y3 * c)) * (y0 * z);
} else if (z <= 1.25e+91) {
tmp = fma(fma(-y3, j, (y2 * k)), fma(-y0, y5, (y4 * y1)), ((y5 * i) * (k * y)));
} else {
tmp = (fma(b, y0, (-i * y1)) * z) * k;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (z <= -3.5e+40) tmp = Float64(fma(k, b, Float64(Float64(-y3) * c)) * Float64(y0 * z)); elseif (z <= 1.25e+91) tmp = fma(fma(Float64(-y3), j, Float64(y2 * k)), fma(Float64(-y0), y5, Float64(y4 * y1)), Float64(Float64(y5 * i) * Float64(k * y))); else tmp = Float64(Float64(fma(b, y0, Float64(Float64(-i) * y1)) * z) * k); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[z, -3.5e+40], N[(N[(k * b + N[((-y3) * c), $MachinePrecision]), $MachinePrecision] * N[(y0 * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.25e+91], N[(N[((-y3) * j + N[(y2 * k), $MachinePrecision]), $MachinePrecision] * N[((-y0) * y5 + N[(y4 * y1), $MachinePrecision]), $MachinePrecision] + N[(N[(y5 * i), $MachinePrecision] * N[(k * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(N[(b * y0 + N[((-i) * y1), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision] * k), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -3.5 \cdot 10^{+40}:\\
\;\;\;\;\mathsf{fma}\left(k, b, \left(-y3\right) \cdot c\right) \cdot \left(y0 \cdot z\right)\\
\mathbf{elif}\;z \leq 1.25 \cdot 10^{+91}:\\
\;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-y3, j, y2 \cdot k\right), \mathsf{fma}\left(-y0, y5, y4 \cdot y1\right), \left(y5 \cdot i\right) \cdot \left(k \cdot y\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\left(\mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right) \cdot z\right) \cdot k\\
\end{array}
\end{array}
if z < -3.4999999999999999e40Initial program 32.8%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites50.9%
Taylor expanded in j around inf
Applied rewrites16.7%
Taylor expanded in z around inf
Applied rewrites55.8%
if -3.4999999999999999e40 < z < 1.2500000000000001e91Initial program 30.6%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites44.7%
Taylor expanded in k around inf
Applied rewrites45.7%
lift-+.f64N/A
+-commutativeN/A
Applied rewrites47.6%
Applied rewrites46.9%
if 1.2500000000000001e91 < z Initial program 21.7%
Taylor expanded in k around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites59.2%
Taylor expanded in z around inf
Applied rewrites63.6%
Final simplification51.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= z -4.5e+32)
(* (fma k b (* (- y3) c)) (* y0 z))
(if (<= z 9.5e-261)
(fma (* (- j) y3) (fma (- y0) y5 (* y4 y1)) (* (* (* k y) y5) i))
(if (<= z 6e-150)
(* (fma i j (* (- y2) a)) (* y1 x))
(if (<= z 1.6e+72)
(* (* (fma y1 y4 (* (- y5) y0)) y2) k)
(* (* (fma b y0 (* (- i) y1)) z) k))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (z <= -4.5e+32) {
tmp = fma(k, b, (-y3 * c)) * (y0 * z);
} else if (z <= 9.5e-261) {
tmp = fma((-j * y3), fma(-y0, y5, (y4 * y1)), (((k * y) * y5) * i));
} else if (z <= 6e-150) {
tmp = fma(i, j, (-y2 * a)) * (y1 * x);
} else if (z <= 1.6e+72) {
tmp = (fma(y1, y4, (-y5 * y0)) * y2) * k;
} else {
tmp = (fma(b, y0, (-i * y1)) * z) * k;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (z <= -4.5e+32) tmp = Float64(fma(k, b, Float64(Float64(-y3) * c)) * Float64(y0 * z)); elseif (z <= 9.5e-261) tmp = fma(Float64(Float64(-j) * y3), fma(Float64(-y0), y5, Float64(y4 * y1)), Float64(Float64(Float64(k * y) * y5) * i)); elseif (z <= 6e-150) tmp = Float64(fma(i, j, Float64(Float64(-y2) * a)) * Float64(y1 * x)); elseif (z <= 1.6e+72) tmp = Float64(Float64(fma(y1, y4, Float64(Float64(-y5) * y0)) * y2) * k); else tmp = Float64(Float64(fma(b, y0, Float64(Float64(-i) * y1)) * z) * k); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[z, -4.5e+32], N[(N[(k * b + N[((-y3) * c), $MachinePrecision]), $MachinePrecision] * N[(y0 * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 9.5e-261], N[(N[((-j) * y3), $MachinePrecision] * N[((-y0) * y5 + N[(y4 * y1), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y), $MachinePrecision] * y5), $MachinePrecision] * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 6e-150], N[(N[(i * j + N[((-y2) * a), $MachinePrecision]), $MachinePrecision] * N[(y1 * x), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.6e+72], N[(N[(N[(y1 * y4 + N[((-y5) * y0), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision] * k), $MachinePrecision], N[(N[(N[(b * y0 + N[((-i) * y1), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision] * k), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -4.5 \cdot 10^{+32}:\\
\;\;\;\;\mathsf{fma}\left(k, b, \left(-y3\right) \cdot c\right) \cdot \left(y0 \cdot z\right)\\
\mathbf{elif}\;z \leq 9.5 \cdot 10^{-261}:\\
\;\;\;\;\mathsf{fma}\left(\left(-j\right) \cdot y3, \mathsf{fma}\left(-y0, y5, y4 \cdot y1\right), \left(\left(k \cdot y\right) \cdot y5\right) \cdot i\right)\\
\mathbf{elif}\;z \leq 6 \cdot 10^{-150}:\\
\;\;\;\;\mathsf{fma}\left(i, j, \left(-y2\right) \cdot a\right) \cdot \left(y1 \cdot x\right)\\
\mathbf{elif}\;z \leq 1.6 \cdot 10^{+72}:\\
\;\;\;\;\left(\mathsf{fma}\left(y1, y4, \left(-y5\right) \cdot y0\right) \cdot y2\right) \cdot k\\
\mathbf{else}:\\
\;\;\;\;\left(\mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right) \cdot z\right) \cdot k\\
\end{array}
\end{array}
if z < -4.5000000000000003e32Initial program 32.8%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites50.9%
Taylor expanded in j around inf
Applied rewrites16.7%
Taylor expanded in z around inf
Applied rewrites55.8%
if -4.5000000000000003e32 < z < 9.5000000000000008e-261Initial program 32.3%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites47.0%
Taylor expanded in k around inf
Applied rewrites44.7%
lift-+.f64N/A
+-commutativeN/A
Applied rewrites48.7%
Taylor expanded in y3 around inf
associate-*r*N/A
lower-*.f64N/A
mul-1-negN/A
lower-neg.f6447.3
Applied rewrites47.3%
if 9.5000000000000008e-261 < z < 6.0000000000000003e-150Initial program 44.8%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites56.5%
Taylor expanded in y3 around inf
Applied rewrites23.8%
Taylor expanded in x around inf
Applied rewrites45.6%
if 6.0000000000000003e-150 < z < 1.6000000000000001e72Initial program 25.8%
Taylor expanded in k around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites48.7%
Taylor expanded in y2 around inf
Applied rewrites55.4%
if 1.6000000000000001e72 < z Initial program 20.4%
Taylor expanded in k around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites57.8%
Taylor expanded in z around inf
Applied rewrites61.8%
Final simplification53.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= z -2.9e+42)
(* (fma k b (* (- y3) c)) (* y0 z))
(if (<= z -1.55e-253)
(* (* (fma (- k) y5 (* c x)) y2) y0)
(if (<= z 5e-143)
(* (* (fma (- b) x (* y5 y3)) y0) j)
(if (<= z 1.6e+72)
(* (* (fma y1 y4 (* (- y5) y0)) y2) k)
(* (* (fma b y0 (* (- i) y1)) z) k))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (z <= -2.9e+42) {
tmp = fma(k, b, (-y3 * c)) * (y0 * z);
} else if (z <= -1.55e-253) {
tmp = (fma(-k, y5, (c * x)) * y2) * y0;
} else if (z <= 5e-143) {
tmp = (fma(-b, x, (y5 * y3)) * y0) * j;
} else if (z <= 1.6e+72) {
tmp = (fma(y1, y4, (-y5 * y0)) * y2) * k;
} else {
tmp = (fma(b, y0, (-i * y1)) * z) * k;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (z <= -2.9e+42) tmp = Float64(fma(k, b, Float64(Float64(-y3) * c)) * Float64(y0 * z)); elseif (z <= -1.55e-253) tmp = Float64(Float64(fma(Float64(-k), y5, Float64(c * x)) * y2) * y0); elseif (z <= 5e-143) tmp = Float64(Float64(fma(Float64(-b), x, Float64(y5 * y3)) * y0) * j); elseif (z <= 1.6e+72) tmp = Float64(Float64(fma(y1, y4, Float64(Float64(-y5) * y0)) * y2) * k); else tmp = Float64(Float64(fma(b, y0, Float64(Float64(-i) * y1)) * z) * k); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[z, -2.9e+42], N[(N[(k * b + N[((-y3) * c), $MachinePrecision]), $MachinePrecision] * N[(y0 * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.55e-253], N[(N[(N[((-k) * y5 + N[(c * x), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision] * y0), $MachinePrecision], If[LessEqual[z, 5e-143], N[(N[(N[((-b) * x + N[(y5 * y3), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[z, 1.6e+72], N[(N[(N[(y1 * y4 + N[((-y5) * y0), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision] * k), $MachinePrecision], N[(N[(N[(b * y0 + N[((-i) * y1), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision] * k), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -2.9 \cdot 10^{+42}:\\
\;\;\;\;\mathsf{fma}\left(k, b, \left(-y3\right) \cdot c\right) \cdot \left(y0 \cdot z\right)\\
\mathbf{elif}\;z \leq -1.55 \cdot 10^{-253}:\\
\;\;\;\;\left(\mathsf{fma}\left(-k, y5, c \cdot x\right) \cdot y2\right) \cdot y0\\
\mathbf{elif}\;z \leq 5 \cdot 10^{-143}:\\
\;\;\;\;\left(\mathsf{fma}\left(-b, x, y5 \cdot y3\right) \cdot y0\right) \cdot j\\
\mathbf{elif}\;z \leq 1.6 \cdot 10^{+72}:\\
\;\;\;\;\left(\mathsf{fma}\left(y1, y4, \left(-y5\right) \cdot y0\right) \cdot y2\right) \cdot k\\
\mathbf{else}:\\
\;\;\;\;\left(\mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right) \cdot z\right) \cdot k\\
\end{array}
\end{array}
if z < -2.89999999999999981e42Initial program 31.5%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites51.7%
Taylor expanded in j around inf
Applied rewrites17.0%
Taylor expanded in z around inf
Applied rewrites56.9%
if -2.89999999999999981e42 < z < -1.54999999999999998e-253Initial program 33.7%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites39.2%
Taylor expanded in y2 around inf
Applied rewrites40.1%
if -1.54999999999999998e-253 < z < 5.0000000000000002e-143Initial program 36.7%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites35.3%
Taylor expanded in j around inf
Applied rewrites47.3%
if 5.0000000000000002e-143 < z < 1.6000000000000001e72Initial program 25.9%
Taylor expanded in k around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites48.6%
Taylor expanded in y2 around inf
Applied rewrites55.7%
if 1.6000000000000001e72 < z Initial program 20.4%
Taylor expanded in k around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites57.8%
Taylor expanded in z around inf
Applied rewrites61.8%
Final simplification52.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= z -2.9e+42)
(* (fma k b (* (- y3) c)) (* y0 z))
(if (<= z -1.55e-253)
(* (* (fma (- k) y5 (* c x)) y2) y0)
(if (<= z 5e-143)
(* (* (fma (- b) x (* y5 y3)) y0) j)
(if (<= z 6e+139)
(* (* (fma y1 y4 (* (- y5) y0)) y2) k)
(* (fma (- c) y3 (* k b)) (* y0 z)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (z <= -2.9e+42) {
tmp = fma(k, b, (-y3 * c)) * (y0 * z);
} else if (z <= -1.55e-253) {
tmp = (fma(-k, y5, (c * x)) * y2) * y0;
} else if (z <= 5e-143) {
tmp = (fma(-b, x, (y5 * y3)) * y0) * j;
} else if (z <= 6e+139) {
tmp = (fma(y1, y4, (-y5 * y0)) * y2) * k;
} else {
tmp = fma(-c, y3, (k * b)) * (y0 * z);
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (z <= -2.9e+42) tmp = Float64(fma(k, b, Float64(Float64(-y3) * c)) * Float64(y0 * z)); elseif (z <= -1.55e-253) tmp = Float64(Float64(fma(Float64(-k), y5, Float64(c * x)) * y2) * y0); elseif (z <= 5e-143) tmp = Float64(Float64(fma(Float64(-b), x, Float64(y5 * y3)) * y0) * j); elseif (z <= 6e+139) tmp = Float64(Float64(fma(y1, y4, Float64(Float64(-y5) * y0)) * y2) * k); else tmp = Float64(fma(Float64(-c), y3, Float64(k * b)) * Float64(y0 * z)); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[z, -2.9e+42], N[(N[(k * b + N[((-y3) * c), $MachinePrecision]), $MachinePrecision] * N[(y0 * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.55e-253], N[(N[(N[((-k) * y5 + N[(c * x), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision] * y0), $MachinePrecision], If[LessEqual[z, 5e-143], N[(N[(N[((-b) * x + N[(y5 * y3), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[z, 6e+139], N[(N[(N[(y1 * y4 + N[((-y5) * y0), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision] * k), $MachinePrecision], N[(N[((-c) * y3 + N[(k * b), $MachinePrecision]), $MachinePrecision] * N[(y0 * z), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -2.9 \cdot 10^{+42}:\\
\;\;\;\;\mathsf{fma}\left(k, b, \left(-y3\right) \cdot c\right) \cdot \left(y0 \cdot z\right)\\
\mathbf{elif}\;z \leq -1.55 \cdot 10^{-253}:\\
\;\;\;\;\left(\mathsf{fma}\left(-k, y5, c \cdot x\right) \cdot y2\right) \cdot y0\\
\mathbf{elif}\;z \leq 5 \cdot 10^{-143}:\\
\;\;\;\;\left(\mathsf{fma}\left(-b, x, y5 \cdot y3\right) \cdot y0\right) \cdot j\\
\mathbf{elif}\;z \leq 6 \cdot 10^{+139}:\\
\;\;\;\;\left(\mathsf{fma}\left(y1, y4, \left(-y5\right) \cdot y0\right) \cdot y2\right) \cdot k\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(-c, y3, k \cdot b\right) \cdot \left(y0 \cdot z\right)\\
\end{array}
\end{array}
if z < -2.89999999999999981e42Initial program 31.5%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites51.7%
Taylor expanded in j around inf
Applied rewrites17.0%
Taylor expanded in z around inf
Applied rewrites56.9%
if -2.89999999999999981e42 < z < -1.54999999999999998e-253Initial program 33.7%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites39.2%
Taylor expanded in y2 around inf
Applied rewrites40.1%
if -1.54999999999999998e-253 < z < 5.0000000000000002e-143Initial program 36.7%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites35.3%
Taylor expanded in j around inf
Applied rewrites47.3%
if 5.0000000000000002e-143 < z < 5.9999999999999999e139Initial program 26.7%
Taylor expanded in k around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites52.4%
Taylor expanded in y2 around inf
Applied rewrites51.5%
if 5.9999999999999999e139 < z Initial program 15.6%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites34.9%
Taylor expanded in j around inf
Applied rewrites23.0%
Taylor expanded in b around 0
Applied rewrites19.9%
Taylor expanded in z around inf
Applied rewrites57.5%
Final simplification50.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -2.6e-98)
(* (* (* (- y2) y5) k) y0)
(if (<= y2 1.95e-284)
(* (* (* (- x) y0) b) j)
(if (<= y2 8.8e-147)
(* (* (* j b) t) y4)
(if (<= y2 8.4e-50) (* (* (* (- k) y) b) y4) (* (* (* y0 x) y2) c))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -2.6e-98) {
tmp = ((-y2 * y5) * k) * y0;
} else if (y2 <= 1.95e-284) {
tmp = ((-x * y0) * b) * j;
} else if (y2 <= 8.8e-147) {
tmp = ((j * b) * t) * y4;
} else if (y2 <= 8.4e-50) {
tmp = ((-k * y) * b) * y4;
} else {
tmp = ((y0 * x) * y2) * c;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= (-2.6d-98)) then
tmp = ((-y2 * y5) * k) * y0
else if (y2 <= 1.95d-284) then
tmp = ((-x * y0) * b) * j
else if (y2 <= 8.8d-147) then
tmp = ((j * b) * t) * y4
else if (y2 <= 8.4d-50) then
tmp = ((-k * y) * b) * y4
else
tmp = ((y0 * x) * y2) * 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 k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -2.6e-98) {
tmp = ((-y2 * y5) * k) * y0;
} else if (y2 <= 1.95e-284) {
tmp = ((-x * y0) * b) * j;
} else if (y2 <= 8.8e-147) {
tmp = ((j * b) * t) * y4;
} else if (y2 <= 8.4e-50) {
tmp = ((-k * y) * b) * y4;
} else {
tmp = ((y0 * x) * y2) * c;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -2.6e-98: tmp = ((-y2 * y5) * k) * y0 elif y2 <= 1.95e-284: tmp = ((-x * y0) * b) * j elif y2 <= 8.8e-147: tmp = ((j * b) * t) * y4 elif y2 <= 8.4e-50: tmp = ((-k * y) * b) * y4 else: tmp = ((y0 * x) * y2) * c return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y2 <= -2.6e-98) tmp = Float64(Float64(Float64(Float64(-y2) * y5) * k) * y0); elseif (y2 <= 1.95e-284) tmp = Float64(Float64(Float64(Float64(-x) * y0) * b) * j); elseif (y2 <= 8.8e-147) tmp = Float64(Float64(Float64(j * b) * t) * y4); elseif (y2 <= 8.4e-50) tmp = Float64(Float64(Float64(Float64(-k) * y) * b) * y4); else tmp = Float64(Float64(Float64(y0 * x) * y2) * c); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= -2.6e-98) tmp = ((-y2 * y5) * k) * y0; elseif (y2 <= 1.95e-284) tmp = ((-x * y0) * b) * j; elseif (y2 <= 8.8e-147) tmp = ((j * b) * t) * y4; elseif (y2 <= 8.4e-50) tmp = ((-k * y) * b) * y4; else tmp = ((y0 * x) * y2) * c; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -2.6e-98], N[(N[(N[((-y2) * y5), $MachinePrecision] * k), $MachinePrecision] * y0), $MachinePrecision], If[LessEqual[y2, 1.95e-284], N[(N[(N[((-x) * y0), $MachinePrecision] * b), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[y2, 8.8e-147], N[(N[(N[(j * b), $MachinePrecision] * t), $MachinePrecision] * y4), $MachinePrecision], If[LessEqual[y2, 8.4e-50], N[(N[(N[((-k) * y), $MachinePrecision] * b), $MachinePrecision] * y4), $MachinePrecision], N[(N[(N[(y0 * x), $MachinePrecision] * y2), $MachinePrecision] * c), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -2.6 \cdot 10^{-98}:\\
\;\;\;\;\left(\left(\left(-y2\right) \cdot y5\right) \cdot k\right) \cdot y0\\
\mathbf{elif}\;y2 \leq 1.95 \cdot 10^{-284}:\\
\;\;\;\;\left(\left(\left(-x\right) \cdot y0\right) \cdot b\right) \cdot j\\
\mathbf{elif}\;y2 \leq 8.8 \cdot 10^{-147}:\\
\;\;\;\;\left(\left(j \cdot b\right) \cdot t\right) \cdot y4\\
\mathbf{elif}\;y2 \leq 8.4 \cdot 10^{-50}:\\
\;\;\;\;\left(\left(\left(-k\right) \cdot y\right) \cdot b\right) \cdot y4\\
\mathbf{else}:\\
\;\;\;\;\left(\left(y0 \cdot x\right) \cdot y2\right) \cdot c\\
\end{array}
\end{array}
if y2 < -2.60000000000000013e-98Initial program 25.3%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites51.1%
Taylor expanded in y2 around inf
Applied rewrites40.0%
Taylor expanded in c around 0
Applied rewrites31.3%
if -2.60000000000000013e-98 < y2 < 1.9499999999999999e-284Initial program 42.6%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites47.7%
Taylor expanded in j around inf
Applied rewrites31.0%
Taylor expanded in b around inf
Applied rewrites28.6%
if 1.9499999999999999e-284 < y2 < 8.8000000000000004e-147Initial program 42.6%
Taylor expanded in y4 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites34.3%
Taylor expanded in c around 0
Applied rewrites28.6%
Taylor expanded in t around inf
Applied rewrites35.0%
if 8.8000000000000004e-147 < y2 < 8.4000000000000003e-50Initial program 19.0%
Taylor expanded in y4 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites44.5%
Taylor expanded in c around 0
Applied rewrites57.0%
Taylor expanded in y around inf
Applied rewrites56.6%
if 8.4000000000000003e-50 < y2 Initial program 22.2%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites29.0%
Taylor expanded in x around inf
Applied rewrites36.8%
Taylor expanded in c around inf
Applied rewrites35.4%
Final simplification34.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= k -5.4e+110)
(* (* (fma (- k) y5 (* c x)) y2) y0)
(if (<= k 7.2e-66)
(* (* (fma (- j) y4 (* a z)) y3) y1)
(if (<= k 9.5e+109)
(* (* (fma (- y3) y4 (* i x)) j) y1)
(* (fma (- y2) y5 (* b z)) (* y0 k))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (k <= -5.4e+110) {
tmp = (fma(-k, y5, (c * x)) * y2) * y0;
} else if (k <= 7.2e-66) {
tmp = (fma(-j, y4, (a * z)) * y3) * y1;
} else if (k <= 9.5e+109) {
tmp = (fma(-y3, y4, (i * x)) * j) * y1;
} else {
tmp = fma(-y2, y5, (b * z)) * (y0 * k);
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (k <= -5.4e+110) tmp = Float64(Float64(fma(Float64(-k), y5, Float64(c * x)) * y2) * y0); elseif (k <= 7.2e-66) tmp = Float64(Float64(fma(Float64(-j), y4, Float64(a * z)) * y3) * y1); elseif (k <= 9.5e+109) tmp = Float64(Float64(fma(Float64(-y3), y4, Float64(i * x)) * j) * y1); else tmp = Float64(fma(Float64(-y2), y5, Float64(b * z)) * Float64(y0 * k)); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[k, -5.4e+110], N[(N[(N[((-k) * y5 + N[(c * x), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision] * y0), $MachinePrecision], If[LessEqual[k, 7.2e-66], N[(N[(N[((-j) * y4 + N[(a * z), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[k, 9.5e+109], N[(N[(N[((-y3) * y4 + N[(i * x), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision] * y1), $MachinePrecision], N[(N[((-y2) * y5 + N[(b * z), $MachinePrecision]), $MachinePrecision] * N[(y0 * k), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;k \leq -5.4 \cdot 10^{+110}:\\
\;\;\;\;\left(\mathsf{fma}\left(-k, y5, c \cdot x\right) \cdot y2\right) \cdot y0\\
\mathbf{elif}\;k \leq 7.2 \cdot 10^{-66}:\\
\;\;\;\;\left(\mathsf{fma}\left(-j, y4, a \cdot z\right) \cdot y3\right) \cdot y1\\
\mathbf{elif}\;k \leq 9.5 \cdot 10^{+109}:\\
\;\;\;\;\left(\mathsf{fma}\left(-y3, y4, i \cdot x\right) \cdot j\right) \cdot y1\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(-y2, y5, b \cdot z\right) \cdot \left(y0 \cdot k\right)\\
\end{array}
\end{array}
if k < -5.40000000000000019e110Initial program 19.9%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites51.1%
Taylor expanded in y2 around inf
Applied rewrites53.5%
if -5.40000000000000019e110 < k < 7.20000000000000025e-66Initial program 34.9%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites36.9%
Taylor expanded in y3 around inf
Applied rewrites33.8%
if 7.20000000000000025e-66 < k < 9.49999999999999972e109Initial program 26.5%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites53.5%
Taylor expanded in j around inf
Applied rewrites59.7%
if 9.49999999999999972e109 < k Initial program 27.6%
Taylor expanded in k around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites66.2%
Taylor expanded in y0 around inf
Applied rewrites70.9%
Final simplification48.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* (fma (- y3) y4 (* i x)) j) y1)))
(if (<= j -1.15e+56)
t_1
(if (<= j 3.6e-34)
(* (fma (- y2) y5 (* b z)) (* y0 k))
(if (<= j 5.2e+110) (* (* (fma (- k) y5 (* c x)) y2) y0) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (fma(-y3, y4, (i * x)) * j) * y1;
double tmp;
if (j <= -1.15e+56) {
tmp = t_1;
} else if (j <= 3.6e-34) {
tmp = fma(-y2, y5, (b * z)) * (y0 * k);
} else if (j <= 5.2e+110) {
tmp = (fma(-k, y5, (c * x)) * y2) * y0;
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(fma(Float64(-y3), y4, Float64(i * x)) * j) * y1) tmp = 0.0 if (j <= -1.15e+56) tmp = t_1; elseif (j <= 3.6e-34) tmp = Float64(fma(Float64(-y2), y5, Float64(b * z)) * Float64(y0 * k)); elseif (j <= 5.2e+110) tmp = Float64(Float64(fma(Float64(-k), y5, Float64(c * x)) * y2) * y0); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[((-y3) * y4 + N[(i * x), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision] * y1), $MachinePrecision]}, If[LessEqual[j, -1.15e+56], t$95$1, If[LessEqual[j, 3.6e-34], N[(N[((-y2) * y5 + N[(b * z), $MachinePrecision]), $MachinePrecision] * N[(y0 * k), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 5.2e+110], N[(N[(N[((-k) * y5 + N[(c * x), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision] * y0), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\mathsf{fma}\left(-y3, y4, i \cdot x\right) \cdot j\right) \cdot y1\\
\mathbf{if}\;j \leq -1.15 \cdot 10^{+56}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq 3.6 \cdot 10^{-34}:\\
\;\;\;\;\mathsf{fma}\left(-y2, y5, b \cdot z\right) \cdot \left(y0 \cdot k\right)\\
\mathbf{elif}\;j \leq 5.2 \cdot 10^{+110}:\\
\;\;\;\;\left(\mathsf{fma}\left(-k, y5, c \cdot x\right) \cdot y2\right) \cdot y0\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if j < -1.15000000000000007e56 or 5.2e110 < j Initial program 22.7%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites50.3%
Taylor expanded in j around inf
Applied rewrites53.4%
if -1.15000000000000007e56 < j < 3.60000000000000008e-34Initial program 33.2%
Taylor expanded in k around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites50.6%
Taylor expanded in y0 around inf
Applied rewrites44.2%
if 3.60000000000000008e-34 < j < 5.2e110Initial program 36.6%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites30.7%
Taylor expanded in y2 around inf
Applied rewrites41.6%
Final simplification47.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= c -2.7e+133)
(* (* (fma (- b) k (* y3 c)) y4) y)
(if (<= c 6.5e+31)
(* (fma (- y2) y5 (* b z)) (* y0 k))
(if (<= c 2.8e+134)
(* (fma c y (* (- j) y1)) (* y4 y3))
(* (* (fma x y2 (* (- y3) z)) c) y0)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (c <= -2.7e+133) {
tmp = (fma(-b, k, (y3 * c)) * y4) * y;
} else if (c <= 6.5e+31) {
tmp = fma(-y2, y5, (b * z)) * (y0 * k);
} else if (c <= 2.8e+134) {
tmp = fma(c, y, (-j * y1)) * (y4 * y3);
} else {
tmp = (fma(x, y2, (-y3 * z)) * c) * y0;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (c <= -2.7e+133) tmp = Float64(Float64(fma(Float64(-b), k, Float64(y3 * c)) * y4) * y); elseif (c <= 6.5e+31) tmp = Float64(fma(Float64(-y2), y5, Float64(b * z)) * Float64(y0 * k)); elseif (c <= 2.8e+134) tmp = Float64(fma(c, y, Float64(Float64(-j) * y1)) * Float64(y4 * y3)); else tmp = Float64(Float64(fma(x, y2, Float64(Float64(-y3) * z)) * c) * y0); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[c, -2.7e+133], N[(N[(N[((-b) * k + N[(y3 * c), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[c, 6.5e+31], N[(N[((-y2) * y5 + N[(b * z), $MachinePrecision]), $MachinePrecision] * N[(y0 * k), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2.8e+134], N[(N[(c * y + N[((-j) * y1), $MachinePrecision]), $MachinePrecision] * N[(y4 * y3), $MachinePrecision]), $MachinePrecision], N[(N[(N[(x * y2 + N[((-y3) * z), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision] * y0), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;c \leq -2.7 \cdot 10^{+133}:\\
\;\;\;\;\left(\mathsf{fma}\left(-b, k, y3 \cdot c\right) \cdot y4\right) \cdot y\\
\mathbf{elif}\;c \leq 6.5 \cdot 10^{+31}:\\
\;\;\;\;\mathsf{fma}\left(-y2, y5, b \cdot z\right) \cdot \left(y0 \cdot k\right)\\
\mathbf{elif}\;c \leq 2.8 \cdot 10^{+134}:\\
\;\;\;\;\mathsf{fma}\left(c, y, \left(-j\right) \cdot y1\right) \cdot \left(y4 \cdot y3\right)\\
\mathbf{else}:\\
\;\;\;\;\left(\mathsf{fma}\left(x, y2, \left(-y3\right) \cdot z\right) \cdot c\right) \cdot y0\\
\end{array}
\end{array}
if c < -2.7000000000000002e133Initial program 23.6%
Taylor expanded in y4 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites50.5%
Taylor expanded in y around inf
Applied rewrites63.6%
if -2.7000000000000002e133 < c < 6.5000000000000004e31Initial program 32.1%
Taylor expanded in k around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites47.5%
Taylor expanded in y0 around inf
Applied rewrites40.2%
if 6.5000000000000004e31 < c < 2.7999999999999999e134Initial program 20.0%
Taylor expanded in y4 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites56.4%
Taylor expanded in k around inf
Applied rewrites44.5%
Taylor expanded in y3 around inf
Applied rewrites57.0%
if 2.7999999999999999e134 < c Initial program 29.2%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites35.1%
Taylor expanded in c around inf
Applied rewrites57.0%
Final simplification47.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= c -2.7e+133)
(* (* (fma (- b) k (* y3 c)) y4) y)
(if (<= c 6.5e+31)
(* (fma (- y2) y5 (* b z)) (* y0 k))
(if (<= c 4.3e+182)
(* (fma c y (* (- j) y1)) (* y4 y3))
(* (fma x y2 (* (- y3) z)) (* y0 c))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (c <= -2.7e+133) {
tmp = (fma(-b, k, (y3 * c)) * y4) * y;
} else if (c <= 6.5e+31) {
tmp = fma(-y2, y5, (b * z)) * (y0 * k);
} else if (c <= 4.3e+182) {
tmp = fma(c, y, (-j * y1)) * (y4 * y3);
} else {
tmp = fma(x, y2, (-y3 * z)) * (y0 * c);
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (c <= -2.7e+133) tmp = Float64(Float64(fma(Float64(-b), k, Float64(y3 * c)) * y4) * y); elseif (c <= 6.5e+31) tmp = Float64(fma(Float64(-y2), y5, Float64(b * z)) * Float64(y0 * k)); elseif (c <= 4.3e+182) tmp = Float64(fma(c, y, Float64(Float64(-j) * y1)) * Float64(y4 * y3)); else tmp = Float64(fma(x, y2, Float64(Float64(-y3) * z)) * Float64(y0 * c)); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[c, -2.7e+133], N[(N[(N[((-b) * k + N[(y3 * c), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[c, 6.5e+31], N[(N[((-y2) * y5 + N[(b * z), $MachinePrecision]), $MachinePrecision] * N[(y0 * k), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 4.3e+182], N[(N[(c * y + N[((-j) * y1), $MachinePrecision]), $MachinePrecision] * N[(y4 * y3), $MachinePrecision]), $MachinePrecision], N[(N[(x * y2 + N[((-y3) * z), $MachinePrecision]), $MachinePrecision] * N[(y0 * c), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;c \leq -2.7 \cdot 10^{+133}:\\
\;\;\;\;\left(\mathsf{fma}\left(-b, k, y3 \cdot c\right) \cdot y4\right) \cdot y\\
\mathbf{elif}\;c \leq 6.5 \cdot 10^{+31}:\\
\;\;\;\;\mathsf{fma}\left(-y2, y5, b \cdot z\right) \cdot \left(y0 \cdot k\right)\\
\mathbf{elif}\;c \leq 4.3 \cdot 10^{+182}:\\
\;\;\;\;\mathsf{fma}\left(c, y, \left(-j\right) \cdot y1\right) \cdot \left(y4 \cdot y3\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(x, y2, \left(-y3\right) \cdot z\right) \cdot \left(y0 \cdot c\right)\\
\end{array}
\end{array}
if c < -2.7000000000000002e133Initial program 23.6%
Taylor expanded in y4 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites50.5%
Taylor expanded in y around inf
Applied rewrites63.6%
if -2.7000000000000002e133 < c < 6.5000000000000004e31Initial program 32.1%
Taylor expanded in k around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites47.5%
Taylor expanded in y0 around inf
Applied rewrites40.2%
if 6.5000000000000004e31 < c < 4.3000000000000002e182Initial program 24.3%
Taylor expanded in y4 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites49.1%
Taylor expanded in k around inf
Applied rewrites36.2%
Taylor expanded in y3 around inf
Applied rewrites49.6%
if 4.3000000000000002e182 < c Initial program 27.6%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites38.3%
Taylor expanded in c around inf
Applied rewrites53.1%
Final simplification45.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (fma (- y2) y5 (* b z)) (* y0 k))))
(if (<= k -3.2e+107)
t_1
(if (<= k -5e-247)
(* (fma y3 z (* (- x) y2)) (* y1 a))
(if (<= k 3.7e-7) (* (* y0 x) (fma (- b) j (* y2 c))) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = fma(-y2, y5, (b * z)) * (y0 * k);
double tmp;
if (k <= -3.2e+107) {
tmp = t_1;
} else if (k <= -5e-247) {
tmp = fma(y3, z, (-x * y2)) * (y1 * a);
} else if (k <= 3.7e-7) {
tmp = (y0 * x) * fma(-b, j, (y2 * c));
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(fma(Float64(-y2), y5, Float64(b * z)) * Float64(y0 * k)) tmp = 0.0 if (k <= -3.2e+107) tmp = t_1; elseif (k <= -5e-247) tmp = Float64(fma(y3, z, Float64(Float64(-x) * y2)) * Float64(y1 * a)); elseif (k <= 3.7e-7) tmp = Float64(Float64(y0 * x) * fma(Float64(-b), j, Float64(y2 * c))); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[((-y2) * y5 + N[(b * z), $MachinePrecision]), $MachinePrecision] * N[(y0 * k), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[k, -3.2e+107], t$95$1, If[LessEqual[k, -5e-247], N[(N[(y3 * z + N[((-x) * y2), $MachinePrecision]), $MachinePrecision] * N[(y1 * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 3.7e-7], N[(N[(y0 * x), $MachinePrecision] * N[((-b) * j + N[(y2 * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(-y2, y5, b \cdot z\right) \cdot \left(y0 \cdot k\right)\\
\mathbf{if}\;k \leq -3.2 \cdot 10^{+107}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;k \leq -5 \cdot 10^{-247}:\\
\;\;\;\;\mathsf{fma}\left(y3, z, \left(-x\right) \cdot y2\right) \cdot \left(y1 \cdot a\right)\\
\mathbf{elif}\;k \leq 3.7 \cdot 10^{-7}:\\
\;\;\;\;\left(y0 \cdot x\right) \cdot \mathsf{fma}\left(-b, j, y2 \cdot c\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if k < -3.20000000000000029e107 or 3.70000000000000004e-7 < k Initial program 25.1%
Taylor expanded in k around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites63.6%
Taylor expanded in y0 around inf
Applied rewrites57.3%
if -3.20000000000000029e107 < k < -4.99999999999999978e-247Initial program 39.5%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites44.2%
Taylor expanded in a around inf
Applied rewrites29.9%
if -4.99999999999999978e-247 < k < 3.70000000000000004e-7Initial program 28.2%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites27.7%
Taylor expanded in x around inf
Applied rewrites35.7%
Final simplification44.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= z -5.4e+42)
(* (fma k b (* (- y3) c)) (* y0 z))
(if (<= z 3.5e-29)
(* (* (fma (- b) x (* y5 y3)) y0) j)
(if (<= z 1.3e+173)
(* (fma y3 z (* (- x) y2)) (* y1 a))
(* (fma (- c) y3 (* k b)) (* y0 z))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (z <= -5.4e+42) {
tmp = fma(k, b, (-y3 * c)) * (y0 * z);
} else if (z <= 3.5e-29) {
tmp = (fma(-b, x, (y5 * y3)) * y0) * j;
} else if (z <= 1.3e+173) {
tmp = fma(y3, z, (-x * y2)) * (y1 * a);
} else {
tmp = fma(-c, y3, (k * b)) * (y0 * z);
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (z <= -5.4e+42) tmp = Float64(fma(k, b, Float64(Float64(-y3) * c)) * Float64(y0 * z)); elseif (z <= 3.5e-29) tmp = Float64(Float64(fma(Float64(-b), x, Float64(y5 * y3)) * y0) * j); elseif (z <= 1.3e+173) tmp = Float64(fma(y3, z, Float64(Float64(-x) * y2)) * Float64(y1 * a)); else tmp = Float64(fma(Float64(-c), y3, Float64(k * b)) * Float64(y0 * z)); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[z, -5.4e+42], N[(N[(k * b + N[((-y3) * c), $MachinePrecision]), $MachinePrecision] * N[(y0 * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.5e-29], N[(N[(N[((-b) * x + N[(y5 * y3), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[z, 1.3e+173], N[(N[(y3 * z + N[((-x) * y2), $MachinePrecision]), $MachinePrecision] * N[(y1 * a), $MachinePrecision]), $MachinePrecision], N[(N[((-c) * y3 + N[(k * b), $MachinePrecision]), $MachinePrecision] * N[(y0 * z), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -5.4 \cdot 10^{+42}:\\
\;\;\;\;\mathsf{fma}\left(k, b, \left(-y3\right) \cdot c\right) \cdot \left(y0 \cdot z\right)\\
\mathbf{elif}\;z \leq 3.5 \cdot 10^{-29}:\\
\;\;\;\;\left(\mathsf{fma}\left(-b, x, y5 \cdot y3\right) \cdot y0\right) \cdot j\\
\mathbf{elif}\;z \leq 1.3 \cdot 10^{+173}:\\
\;\;\;\;\mathsf{fma}\left(y3, z, \left(-x\right) \cdot y2\right) \cdot \left(y1 \cdot a\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(-c, y3, k \cdot b\right) \cdot \left(y0 \cdot z\right)\\
\end{array}
\end{array}
if z < -5.4000000000000001e42Initial program 31.5%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites51.7%
Taylor expanded in j around inf
Applied rewrites17.0%
Taylor expanded in z around inf
Applied rewrites56.9%
if -5.4000000000000001e42 < z < 3.4999999999999997e-29Initial program 32.5%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites42.1%
Taylor expanded in j around inf
Applied rewrites35.0%
if 3.4999999999999997e-29 < z < 1.2999999999999999e173Initial program 27.7%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites47.8%
Taylor expanded in a around inf
Applied rewrites39.6%
if 1.2999999999999999e173 < z Initial program 12.0%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites36.4%
Taylor expanded in j around inf
Applied rewrites29.1%
Taylor expanded in b around 0
Applied rewrites25.3%
Taylor expanded in z around inf
Applied rewrites64.8%
Final simplification43.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* (* y5 y3) y0) j)))
(if (<= y3 -2.9e+115)
t_1
(if (<= y3 -1.75e-201)
(* (* (* y0 x) y2) c)
(if (<= y3 1.7e-38)
(* (* (* j b) t) y4)
(if (<= y3 5.2e+71) (* (* (* y3 z) a) y1) t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = ((y5 * y3) * y0) * j;
double tmp;
if (y3 <= -2.9e+115) {
tmp = t_1;
} else if (y3 <= -1.75e-201) {
tmp = ((y0 * x) * y2) * c;
} else if (y3 <= 1.7e-38) {
tmp = ((j * b) * t) * y4;
} else if (y3 <= 5.2e+71) {
tmp = ((y3 * z) * a) * y1;
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = ((y5 * y3) * y0) * j
if (y3 <= (-2.9d+115)) then
tmp = t_1
else if (y3 <= (-1.75d-201)) then
tmp = ((y0 * x) * y2) * c
else if (y3 <= 1.7d-38) then
tmp = ((j * b) * t) * y4
else if (y3 <= 5.2d+71) then
tmp = ((y3 * z) * a) * y1
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 k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = ((y5 * y3) * y0) * j;
double tmp;
if (y3 <= -2.9e+115) {
tmp = t_1;
} else if (y3 <= -1.75e-201) {
tmp = ((y0 * x) * y2) * c;
} else if (y3 <= 1.7e-38) {
tmp = ((j * b) * t) * y4;
} else if (y3 <= 5.2e+71) {
tmp = ((y3 * z) * a) * y1;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = ((y5 * y3) * y0) * j tmp = 0 if y3 <= -2.9e+115: tmp = t_1 elif y3 <= -1.75e-201: tmp = ((y0 * x) * y2) * c elif y3 <= 1.7e-38: tmp = ((j * b) * t) * y4 elif y3 <= 5.2e+71: tmp = ((y3 * z) * a) * y1 else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(Float64(y5 * y3) * y0) * j) tmp = 0.0 if (y3 <= -2.9e+115) tmp = t_1; elseif (y3 <= -1.75e-201) tmp = Float64(Float64(Float64(y0 * x) * y2) * c); elseif (y3 <= 1.7e-38) tmp = Float64(Float64(Float64(j * b) * t) * y4); elseif (y3 <= 5.2e+71) tmp = Float64(Float64(Float64(y3 * z) * a) * y1); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = ((y5 * y3) * y0) * j; tmp = 0.0; if (y3 <= -2.9e+115) tmp = t_1; elseif (y3 <= -1.75e-201) tmp = ((y0 * x) * y2) * c; elseif (y3 <= 1.7e-38) tmp = ((j * b) * t) * y4; elseif (y3 <= 5.2e+71) tmp = ((y3 * z) * a) * y1; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(y5 * y3), $MachinePrecision] * y0), $MachinePrecision] * j), $MachinePrecision]}, If[LessEqual[y3, -2.9e+115], t$95$1, If[LessEqual[y3, -1.75e-201], N[(N[(N[(y0 * x), $MachinePrecision] * y2), $MachinePrecision] * c), $MachinePrecision], If[LessEqual[y3, 1.7e-38], N[(N[(N[(j * b), $MachinePrecision] * t), $MachinePrecision] * y4), $MachinePrecision], If[LessEqual[y3, 5.2e+71], N[(N[(N[(y3 * z), $MachinePrecision] * a), $MachinePrecision] * y1), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\left(y5 \cdot y3\right) \cdot y0\right) \cdot j\\
\mathbf{if}\;y3 \leq -2.9 \cdot 10^{+115}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y3 \leq -1.75 \cdot 10^{-201}:\\
\;\;\;\;\left(\left(y0 \cdot x\right) \cdot y2\right) \cdot c\\
\mathbf{elif}\;y3 \leq 1.7 \cdot 10^{-38}:\\
\;\;\;\;\left(\left(j \cdot b\right) \cdot t\right) \cdot y4\\
\mathbf{elif}\;y3 \leq 5.2 \cdot 10^{+71}:\\
\;\;\;\;\left(\left(y3 \cdot z\right) \cdot a\right) \cdot y1\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y3 < -2.90000000000000005e115 or 5.19999999999999983e71 < y3 Initial program 26.6%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites42.4%
Taylor expanded in j around inf
Applied rewrites44.1%
Taylor expanded in b around 0
Applied rewrites40.5%
if -2.90000000000000005e115 < y3 < -1.75000000000000004e-201Initial program 25.5%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites44.3%
Taylor expanded in x around inf
Applied rewrites38.7%
Taylor expanded in c around inf
Applied rewrites32.6%
if -1.75000000000000004e-201 < y3 < 1.7000000000000001e-38Initial program 33.8%
Taylor expanded in y4 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites34.2%
Taylor expanded in c around 0
Applied rewrites30.7%
Taylor expanded in t around inf
Applied rewrites24.4%
if 1.7000000000000001e-38 < y3 < 5.19999999999999983e71Initial program 31.5%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites50.6%
Taylor expanded in y3 around inf
Applied rewrites32.9%
Taylor expanded in a around inf
Applied rewrites25.1%
Final simplification31.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= j -2.8e+225)
(* (* (fma (- b) x (* y5 y3)) y0) j)
(if (<= j 2.6e-262)
(* (fma x y2 (* (- y3) z)) (* y0 c))
(if (<= j 2.4e+112)
(* (* (* (- k) y) b) y4)
(* (* (* (- y1) y3) j) y4)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (j <= -2.8e+225) {
tmp = (fma(-b, x, (y5 * y3)) * y0) * j;
} else if (j <= 2.6e-262) {
tmp = fma(x, y2, (-y3 * z)) * (y0 * c);
} else if (j <= 2.4e+112) {
tmp = ((-k * y) * b) * y4;
} else {
tmp = ((-y1 * y3) * j) * y4;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (j <= -2.8e+225) tmp = Float64(Float64(fma(Float64(-b), x, Float64(y5 * y3)) * y0) * j); elseif (j <= 2.6e-262) tmp = Float64(fma(x, y2, Float64(Float64(-y3) * z)) * Float64(y0 * c)); elseif (j <= 2.4e+112) tmp = Float64(Float64(Float64(Float64(-k) * y) * b) * y4); else tmp = Float64(Float64(Float64(Float64(-y1) * y3) * j) * y4); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[j, -2.8e+225], N[(N[(N[((-b) * x + N[(y5 * y3), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[j, 2.6e-262], N[(N[(x * y2 + N[((-y3) * z), $MachinePrecision]), $MachinePrecision] * N[(y0 * c), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 2.4e+112], N[(N[(N[((-k) * y), $MachinePrecision] * b), $MachinePrecision] * y4), $MachinePrecision], N[(N[(N[((-y1) * y3), $MachinePrecision] * j), $MachinePrecision] * y4), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;j \leq -2.8 \cdot 10^{+225}:\\
\;\;\;\;\left(\mathsf{fma}\left(-b, x, y5 \cdot y3\right) \cdot y0\right) \cdot j\\
\mathbf{elif}\;j \leq 2.6 \cdot 10^{-262}:\\
\;\;\;\;\mathsf{fma}\left(x, y2, \left(-y3\right) \cdot z\right) \cdot \left(y0 \cdot c\right)\\
\mathbf{elif}\;j \leq 2.4 \cdot 10^{+112}:\\
\;\;\;\;\left(\left(\left(-k\right) \cdot y\right) \cdot b\right) \cdot y4\\
\mathbf{else}:\\
\;\;\;\;\left(\left(\left(-y1\right) \cdot y3\right) \cdot j\right) \cdot y4\\
\end{array}
\end{array}
if j < -2.8e225Initial program 23.4%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites41.4%
Taylor expanded in j around inf
Applied rewrites59.4%
if -2.8e225 < j < 2.5999999999999999e-262Initial program 25.9%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites44.5%
Taylor expanded in c around inf
Applied rewrites34.5%
if 2.5999999999999999e-262 < j < 2.4e112Initial program 36.6%
Taylor expanded in y4 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites41.2%
Taylor expanded in c around 0
Applied rewrites37.4%
Taylor expanded in y around inf
Applied rewrites30.1%
if 2.4e112 < j Initial program 28.3%
Taylor expanded in y4 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites48.4%
Taylor expanded in c around 0
Applied rewrites54.4%
Taylor expanded in y3 around inf
Applied rewrites44.8%
Final simplification36.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y5 -1.2e+98)
(* (* (* y5 y3) y0) j)
(if (<= y5 -1.95e-79)
(* (* (* y0 x) y2) c)
(if (<= y5 8.5e-61)
(* (* (* (- y1) y3) j) y4)
(* (* (* (- y2) y5) k) y0)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y5 <= -1.2e+98) {
tmp = ((y5 * y3) * y0) * j;
} else if (y5 <= -1.95e-79) {
tmp = ((y0 * x) * y2) * c;
} else if (y5 <= 8.5e-61) {
tmp = ((-y1 * y3) * j) * y4;
} else {
tmp = ((-y2 * y5) * k) * y0;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y5 <= (-1.2d+98)) then
tmp = ((y5 * y3) * y0) * j
else if (y5 <= (-1.95d-79)) then
tmp = ((y0 * x) * y2) * c
else if (y5 <= 8.5d-61) then
tmp = ((-y1 * y3) * j) * y4
else
tmp = ((-y2 * y5) * k) * y0
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 k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y5 <= -1.2e+98) {
tmp = ((y5 * y3) * y0) * j;
} else if (y5 <= -1.95e-79) {
tmp = ((y0 * x) * y2) * c;
} else if (y5 <= 8.5e-61) {
tmp = ((-y1 * y3) * j) * y4;
} else {
tmp = ((-y2 * y5) * k) * y0;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y5 <= -1.2e+98: tmp = ((y5 * y3) * y0) * j elif y5 <= -1.95e-79: tmp = ((y0 * x) * y2) * c elif y5 <= 8.5e-61: tmp = ((-y1 * y3) * j) * y4 else: tmp = ((-y2 * y5) * k) * y0 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y5 <= -1.2e+98) tmp = Float64(Float64(Float64(y5 * y3) * y0) * j); elseif (y5 <= -1.95e-79) tmp = Float64(Float64(Float64(y0 * x) * y2) * c); elseif (y5 <= 8.5e-61) tmp = Float64(Float64(Float64(Float64(-y1) * y3) * j) * y4); else tmp = Float64(Float64(Float64(Float64(-y2) * y5) * k) * y0); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y5 <= -1.2e+98) tmp = ((y5 * y3) * y0) * j; elseif (y5 <= -1.95e-79) tmp = ((y0 * x) * y2) * c; elseif (y5 <= 8.5e-61) tmp = ((-y1 * y3) * j) * y4; else tmp = ((-y2 * y5) * k) * y0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y5, -1.2e+98], N[(N[(N[(y5 * y3), $MachinePrecision] * y0), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[y5, -1.95e-79], N[(N[(N[(y0 * x), $MachinePrecision] * y2), $MachinePrecision] * c), $MachinePrecision], If[LessEqual[y5, 8.5e-61], N[(N[(N[((-y1) * y3), $MachinePrecision] * j), $MachinePrecision] * y4), $MachinePrecision], N[(N[(N[((-y2) * y5), $MachinePrecision] * k), $MachinePrecision] * y0), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y5 \leq -1.2 \cdot 10^{+98}:\\
\;\;\;\;\left(\left(y5 \cdot y3\right) \cdot y0\right) \cdot j\\
\mathbf{elif}\;y5 \leq -1.95 \cdot 10^{-79}:\\
\;\;\;\;\left(\left(y0 \cdot x\right) \cdot y2\right) \cdot c\\
\mathbf{elif}\;y5 \leq 8.5 \cdot 10^{-61}:\\
\;\;\;\;\left(\left(\left(-y1\right) \cdot y3\right) \cdot j\right) \cdot y4\\
\mathbf{else}:\\
\;\;\;\;\left(\left(\left(-y2\right) \cdot y5\right) \cdot k\right) \cdot y0\\
\end{array}
\end{array}
if y5 < -1.1999999999999999e98Initial program 24.5%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites44.4%
Taylor expanded in j around inf
Applied rewrites42.4%
Taylor expanded in b around 0
Applied rewrites42.7%
if -1.1999999999999999e98 < y5 < -1.95000000000000003e-79Initial program 28.5%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites41.0%
Taylor expanded in x around inf
Applied rewrites30.0%
Taylor expanded in c around inf
Applied rewrites30.4%
if -1.95000000000000003e-79 < y5 < 8.50000000000000016e-61Initial program 36.4%
Taylor expanded in y4 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites43.1%
Taylor expanded in c around 0
Applied rewrites42.1%
Taylor expanded in y3 around inf
Applied rewrites37.3%
if 8.50000000000000016e-61 < y5 Initial program 23.3%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites43.0%
Taylor expanded in y2 around inf
Applied rewrites35.5%
Taylor expanded in c around 0
Applied rewrites31.3%
Final simplification35.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= c -2.7e+133)
(* (* (fma (- b) k (* y3 c)) y4) y)
(if (<= c 1.65e+28)
(* (fma (- y2) y5 (* b z)) (* y0 k))
(* (fma x y2 (* (- y3) z)) (* y0 c)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (c <= -2.7e+133) {
tmp = (fma(-b, k, (y3 * c)) * y4) * y;
} else if (c <= 1.65e+28) {
tmp = fma(-y2, y5, (b * z)) * (y0 * k);
} else {
tmp = fma(x, y2, (-y3 * z)) * (y0 * c);
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (c <= -2.7e+133) tmp = Float64(Float64(fma(Float64(-b), k, Float64(y3 * c)) * y4) * y); elseif (c <= 1.65e+28) tmp = Float64(fma(Float64(-y2), y5, Float64(b * z)) * Float64(y0 * k)); else tmp = Float64(fma(x, y2, Float64(Float64(-y3) * z)) * Float64(y0 * c)); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[c, -2.7e+133], N[(N[(N[((-b) * k + N[(y3 * c), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[c, 1.65e+28], N[(N[((-y2) * y5 + N[(b * z), $MachinePrecision]), $MachinePrecision] * N[(y0 * k), $MachinePrecision]), $MachinePrecision], N[(N[(x * y2 + N[((-y3) * z), $MachinePrecision]), $MachinePrecision] * N[(y0 * c), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;c \leq -2.7 \cdot 10^{+133}:\\
\;\;\;\;\left(\mathsf{fma}\left(-b, k, y3 \cdot c\right) \cdot y4\right) \cdot y\\
\mathbf{elif}\;c \leq 1.65 \cdot 10^{+28}:\\
\;\;\;\;\mathsf{fma}\left(-y2, y5, b \cdot z\right) \cdot \left(y0 \cdot k\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(x, y2, \left(-y3\right) \cdot z\right) \cdot \left(y0 \cdot c\right)\\
\end{array}
\end{array}
if c < -2.7000000000000002e133Initial program 23.6%
Taylor expanded in y4 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites50.5%
Taylor expanded in y around inf
Applied rewrites63.6%
if -2.7000000000000002e133 < c < 1.65e28Initial program 32.3%
Taylor expanded in k around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites47.8%
Taylor expanded in y0 around inf
Applied rewrites40.5%
if 1.65e28 < c Initial program 25.3%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites39.6%
Taylor expanded in c around inf
Applied rewrites41.9%
Final simplification43.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= z -5.4e+42)
(* (fma k b (* (- y3) c)) (* y0 z))
(if (<= z 3.2e+95)
(* (* (fma (- b) x (* y5 y3)) y0) j)
(* (fma (- c) y3 (* k b)) (* y0 z)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (z <= -5.4e+42) {
tmp = fma(k, b, (-y3 * c)) * (y0 * z);
} else if (z <= 3.2e+95) {
tmp = (fma(-b, x, (y5 * y3)) * y0) * j;
} else {
tmp = fma(-c, y3, (k * b)) * (y0 * z);
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (z <= -5.4e+42) tmp = Float64(fma(k, b, Float64(Float64(-y3) * c)) * Float64(y0 * z)); elseif (z <= 3.2e+95) tmp = Float64(Float64(fma(Float64(-b), x, Float64(y5 * y3)) * y0) * j); else tmp = Float64(fma(Float64(-c), y3, Float64(k * b)) * Float64(y0 * z)); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[z, -5.4e+42], N[(N[(k * b + N[((-y3) * c), $MachinePrecision]), $MachinePrecision] * N[(y0 * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.2e+95], N[(N[(N[((-b) * x + N[(y5 * y3), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision] * j), $MachinePrecision], N[(N[((-c) * y3 + N[(k * b), $MachinePrecision]), $MachinePrecision] * N[(y0 * z), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -5.4 \cdot 10^{+42}:\\
\;\;\;\;\mathsf{fma}\left(k, b, \left(-y3\right) \cdot c\right) \cdot \left(y0 \cdot z\right)\\
\mathbf{elif}\;z \leq 3.2 \cdot 10^{+95}:\\
\;\;\;\;\left(\mathsf{fma}\left(-b, x, y5 \cdot y3\right) \cdot y0\right) \cdot j\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(-c, y3, k \cdot b\right) \cdot \left(y0 \cdot z\right)\\
\end{array}
\end{array}
if z < -5.4000000000000001e42Initial program 31.5%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites51.7%
Taylor expanded in j around inf
Applied rewrites17.0%
Taylor expanded in z around inf
Applied rewrites56.9%
if -5.4000000000000001e42 < z < 3.2000000000000001e95Initial program 30.6%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites40.6%
Taylor expanded in j around inf
Applied rewrites34.0%
if 3.2000000000000001e95 < z Initial program 22.7%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites34.5%
Taylor expanded in j around inf
Applied rewrites19.3%
Taylor expanded in b around 0
Applied rewrites14.9%
Taylor expanded in z around inf
Applied rewrites51.2%
Final simplification41.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (fma k b (* (- y3) c)) (* y0 z))))
(if (<= z -5.4e+42)
t_1
(if (<= z 3.2e+95) (* (* (fma (- b) x (* y5 y3)) y0) j) t_1))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = fma(k, b, (-y3 * c)) * (y0 * z);
double tmp;
if (z <= -5.4e+42) {
tmp = t_1;
} else if (z <= 3.2e+95) {
tmp = (fma(-b, x, (y5 * y3)) * y0) * j;
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(fma(k, b, Float64(Float64(-y3) * c)) * Float64(y0 * z)) tmp = 0.0 if (z <= -5.4e+42) tmp = t_1; elseif (z <= 3.2e+95) tmp = Float64(Float64(fma(Float64(-b), x, Float64(y5 * y3)) * y0) * j); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(k * b + N[((-y3) * c), $MachinePrecision]), $MachinePrecision] * N[(y0 * z), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -5.4e+42], t$95$1, If[LessEqual[z, 3.2e+95], N[(N[(N[((-b) * x + N[(y5 * y3), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision] * j), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(k, b, \left(-y3\right) \cdot c\right) \cdot \left(y0 \cdot z\right)\\
\mathbf{if}\;z \leq -5.4 \cdot 10^{+42}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq 3.2 \cdot 10^{+95}:\\
\;\;\;\;\left(\mathsf{fma}\left(-b, x, y5 \cdot y3\right) \cdot y0\right) \cdot j\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if z < -5.4000000000000001e42 or 3.2000000000000001e95 < z Initial program 27.5%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites43.7%
Taylor expanded in j around inf
Applied rewrites18.1%
Taylor expanded in z around inf
Applied rewrites53.2%
if -5.4000000000000001e42 < z < 3.2000000000000001e95Initial program 30.6%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites40.6%
Taylor expanded in j around inf
Applied rewrites34.0%
Final simplification41.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y1 -4.2e-300)
(* (* y0 x) (fma (- b) j (* y2 c)))
(if (<= y1 2.7e+77)
(* (* (fma (- b) x (* y5 y3)) y0) j)
(* (* (* (- y1) y3) j) y4))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y1 <= -4.2e-300) {
tmp = (y0 * x) * fma(-b, j, (y2 * c));
} else if (y1 <= 2.7e+77) {
tmp = (fma(-b, x, (y5 * y3)) * y0) * j;
} else {
tmp = ((-y1 * y3) * j) * y4;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y1 <= -4.2e-300) tmp = Float64(Float64(y0 * x) * fma(Float64(-b), j, Float64(y2 * c))); elseif (y1 <= 2.7e+77) tmp = Float64(Float64(fma(Float64(-b), x, Float64(y5 * y3)) * y0) * j); else tmp = Float64(Float64(Float64(Float64(-y1) * y3) * j) * y4); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y1, -4.2e-300], N[(N[(y0 * x), $MachinePrecision] * N[((-b) * j + N[(y2 * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 2.7e+77], N[(N[(N[((-b) * x + N[(y5 * y3), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision] * j), $MachinePrecision], N[(N[(N[((-y1) * y3), $MachinePrecision] * j), $MachinePrecision] * y4), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y1 \leq -4.2 \cdot 10^{-300}:\\
\;\;\;\;\left(y0 \cdot x\right) \cdot \mathsf{fma}\left(-b, j, y2 \cdot c\right)\\
\mathbf{elif}\;y1 \leq 2.7 \cdot 10^{+77}:\\
\;\;\;\;\left(\mathsf{fma}\left(-b, x, y5 \cdot y3\right) \cdot y0\right) \cdot j\\
\mathbf{else}:\\
\;\;\;\;\left(\left(\left(-y1\right) \cdot y3\right) \cdot j\right) \cdot y4\\
\end{array}
\end{array}
if y1 < -4.20000000000000007e-300Initial program 28.7%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites48.6%
Taylor expanded in x around inf
Applied rewrites39.4%
if -4.20000000000000007e-300 < y1 < 2.6999999999999998e77Initial program 29.0%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites41.3%
Taylor expanded in j around inf
Applied rewrites31.3%
if 2.6999999999999998e77 < y1 Initial program 31.6%
Taylor expanded in y4 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites40.7%
Taylor expanded in c around 0
Applied rewrites49.8%
Taylor expanded in y3 around inf
Applied rewrites36.1%
Final simplification35.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -2.6e-98)
(* (* (* (- y2) y5) k) y0)
(if (<= y2 1.95e-284)
(* (* (* (- x) y0) b) j)
(if (<= y2 1e-148) (* (* (* j b) t) y4) (* (* (* y0 x) y2) c)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -2.6e-98) {
tmp = ((-y2 * y5) * k) * y0;
} else if (y2 <= 1.95e-284) {
tmp = ((-x * y0) * b) * j;
} else if (y2 <= 1e-148) {
tmp = ((j * b) * t) * y4;
} else {
tmp = ((y0 * x) * y2) * c;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= (-2.6d-98)) then
tmp = ((-y2 * y5) * k) * y0
else if (y2 <= 1.95d-284) then
tmp = ((-x * y0) * b) * j
else if (y2 <= 1d-148) then
tmp = ((j * b) * t) * y4
else
tmp = ((y0 * x) * y2) * 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 k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -2.6e-98) {
tmp = ((-y2 * y5) * k) * y0;
} else if (y2 <= 1.95e-284) {
tmp = ((-x * y0) * b) * j;
} else if (y2 <= 1e-148) {
tmp = ((j * b) * t) * y4;
} else {
tmp = ((y0 * x) * y2) * c;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -2.6e-98: tmp = ((-y2 * y5) * k) * y0 elif y2 <= 1.95e-284: tmp = ((-x * y0) * b) * j elif y2 <= 1e-148: tmp = ((j * b) * t) * y4 else: tmp = ((y0 * x) * y2) * c return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y2 <= -2.6e-98) tmp = Float64(Float64(Float64(Float64(-y2) * y5) * k) * y0); elseif (y2 <= 1.95e-284) tmp = Float64(Float64(Float64(Float64(-x) * y0) * b) * j); elseif (y2 <= 1e-148) tmp = Float64(Float64(Float64(j * b) * t) * y4); else tmp = Float64(Float64(Float64(y0 * x) * y2) * c); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= -2.6e-98) tmp = ((-y2 * y5) * k) * y0; elseif (y2 <= 1.95e-284) tmp = ((-x * y0) * b) * j; elseif (y2 <= 1e-148) tmp = ((j * b) * t) * y4; else tmp = ((y0 * x) * y2) * c; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -2.6e-98], N[(N[(N[((-y2) * y5), $MachinePrecision] * k), $MachinePrecision] * y0), $MachinePrecision], If[LessEqual[y2, 1.95e-284], N[(N[(N[((-x) * y0), $MachinePrecision] * b), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[y2, 1e-148], N[(N[(N[(j * b), $MachinePrecision] * t), $MachinePrecision] * y4), $MachinePrecision], N[(N[(N[(y0 * x), $MachinePrecision] * y2), $MachinePrecision] * c), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -2.6 \cdot 10^{-98}:\\
\;\;\;\;\left(\left(\left(-y2\right) \cdot y5\right) \cdot k\right) \cdot y0\\
\mathbf{elif}\;y2 \leq 1.95 \cdot 10^{-284}:\\
\;\;\;\;\left(\left(\left(-x\right) \cdot y0\right) \cdot b\right) \cdot j\\
\mathbf{elif}\;y2 \leq 10^{-148}:\\
\;\;\;\;\left(\left(j \cdot b\right) \cdot t\right) \cdot y4\\
\mathbf{else}:\\
\;\;\;\;\left(\left(y0 \cdot x\right) \cdot y2\right) \cdot c\\
\end{array}
\end{array}
if y2 < -2.60000000000000013e-98Initial program 25.3%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites51.1%
Taylor expanded in y2 around inf
Applied rewrites40.0%
Taylor expanded in c around 0
Applied rewrites31.3%
if -2.60000000000000013e-98 < y2 < 1.9499999999999999e-284Initial program 42.6%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites47.7%
Taylor expanded in j around inf
Applied rewrites31.0%
Taylor expanded in b around inf
Applied rewrites28.6%
if 1.9499999999999999e-284 < y2 < 9.99999999999999936e-149Initial program 43.9%
Taylor expanded in y4 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites35.3%
Taylor expanded in c around 0
Applied rewrites29.4%
Taylor expanded in t around inf
Applied rewrites36.0%
if 9.99999999999999936e-149 < y2 Initial program 21.4%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites31.6%
Taylor expanded in x around inf
Applied rewrites31.5%
Taylor expanded in c around inf
Applied rewrites32.5%
Final simplification31.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -1.65e+142)
(* (* (* y2 y1) k) y4)
(if (<= y2 1.95e-284)
(* (* (* (- x) y0) b) j)
(if (<= y2 1e-148) (* (* (* j b) t) y4) (* (* (* y0 x) y2) c)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -1.65e+142) {
tmp = ((y2 * y1) * k) * y4;
} else if (y2 <= 1.95e-284) {
tmp = ((-x * y0) * b) * j;
} else if (y2 <= 1e-148) {
tmp = ((j * b) * t) * y4;
} else {
tmp = ((y0 * x) * y2) * c;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= (-1.65d+142)) then
tmp = ((y2 * y1) * k) * y4
else if (y2 <= 1.95d-284) then
tmp = ((-x * y0) * b) * j
else if (y2 <= 1d-148) then
tmp = ((j * b) * t) * y4
else
tmp = ((y0 * x) * y2) * 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 k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -1.65e+142) {
tmp = ((y2 * y1) * k) * y4;
} else if (y2 <= 1.95e-284) {
tmp = ((-x * y0) * b) * j;
} else if (y2 <= 1e-148) {
tmp = ((j * b) * t) * y4;
} else {
tmp = ((y0 * x) * y2) * c;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -1.65e+142: tmp = ((y2 * y1) * k) * y4 elif y2 <= 1.95e-284: tmp = ((-x * y0) * b) * j elif y2 <= 1e-148: tmp = ((j * b) * t) * y4 else: tmp = ((y0 * x) * y2) * c return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y2 <= -1.65e+142) tmp = Float64(Float64(Float64(y2 * y1) * k) * y4); elseif (y2 <= 1.95e-284) tmp = Float64(Float64(Float64(Float64(-x) * y0) * b) * j); elseif (y2 <= 1e-148) tmp = Float64(Float64(Float64(j * b) * t) * y4); else tmp = Float64(Float64(Float64(y0 * x) * y2) * c); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= -1.65e+142) tmp = ((y2 * y1) * k) * y4; elseif (y2 <= 1.95e-284) tmp = ((-x * y0) * b) * j; elseif (y2 <= 1e-148) tmp = ((j * b) * t) * y4; else tmp = ((y0 * x) * y2) * c; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -1.65e+142], N[(N[(N[(y2 * y1), $MachinePrecision] * k), $MachinePrecision] * y4), $MachinePrecision], If[LessEqual[y2, 1.95e-284], N[(N[(N[((-x) * y0), $MachinePrecision] * b), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[y2, 1e-148], N[(N[(N[(j * b), $MachinePrecision] * t), $MachinePrecision] * y4), $MachinePrecision], N[(N[(N[(y0 * x), $MachinePrecision] * y2), $MachinePrecision] * c), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -1.65 \cdot 10^{+142}:\\
\;\;\;\;\left(\left(y2 \cdot y1\right) \cdot k\right) \cdot y4\\
\mathbf{elif}\;y2 \leq 1.95 \cdot 10^{-284}:\\
\;\;\;\;\left(\left(\left(-x\right) \cdot y0\right) \cdot b\right) \cdot j\\
\mathbf{elif}\;y2 \leq 10^{-148}:\\
\;\;\;\;\left(\left(j \cdot b\right) \cdot t\right) \cdot y4\\
\mathbf{else}:\\
\;\;\;\;\left(\left(y0 \cdot x\right) \cdot y2\right) \cdot c\\
\end{array}
\end{array}
if y2 < -1.6500000000000001e142Initial program 11.1%
Taylor expanded in y4 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites50.3%
Taylor expanded in c around 0
Applied rewrites41.9%
Taylor expanded in y2 around inf
Applied rewrites42.6%
if -1.6500000000000001e142 < y2 < 1.9499999999999999e-284Initial program 38.8%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites47.8%
Taylor expanded in j around inf
Applied rewrites32.7%
Taylor expanded in b around inf
Applied rewrites24.7%
if 1.9499999999999999e-284 < y2 < 9.99999999999999936e-149Initial program 43.9%
Taylor expanded in y4 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites35.3%
Taylor expanded in c around 0
Applied rewrites29.4%
Taylor expanded in t around inf
Applied rewrites36.0%
if 9.99999999999999936e-149 < y2 Initial program 21.4%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites31.6%
Taylor expanded in x around inf
Applied rewrites31.5%
Taylor expanded in c around inf
Applied rewrites32.5%
Final simplification31.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -2e+93)
(* (* (* y2 y1) k) y4)
(if (<= y2 1.95e-284)
(* (* (* (- x) y0) j) b)
(if (<= y2 1e-148) (* (* (* j b) t) y4) (* (* (* y0 x) y2) c)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -2e+93) {
tmp = ((y2 * y1) * k) * y4;
} else if (y2 <= 1.95e-284) {
tmp = ((-x * y0) * j) * b;
} else if (y2 <= 1e-148) {
tmp = ((j * b) * t) * y4;
} else {
tmp = ((y0 * x) * y2) * c;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= (-2d+93)) then
tmp = ((y2 * y1) * k) * y4
else if (y2 <= 1.95d-284) then
tmp = ((-x * y0) * j) * b
else if (y2 <= 1d-148) then
tmp = ((j * b) * t) * y4
else
tmp = ((y0 * x) * y2) * 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 k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -2e+93) {
tmp = ((y2 * y1) * k) * y4;
} else if (y2 <= 1.95e-284) {
tmp = ((-x * y0) * j) * b;
} else if (y2 <= 1e-148) {
tmp = ((j * b) * t) * y4;
} else {
tmp = ((y0 * x) * y2) * c;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -2e+93: tmp = ((y2 * y1) * k) * y4 elif y2 <= 1.95e-284: tmp = ((-x * y0) * j) * b elif y2 <= 1e-148: tmp = ((j * b) * t) * y4 else: tmp = ((y0 * x) * y2) * c return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y2 <= -2e+93) tmp = Float64(Float64(Float64(y2 * y1) * k) * y4); elseif (y2 <= 1.95e-284) tmp = Float64(Float64(Float64(Float64(-x) * y0) * j) * b); elseif (y2 <= 1e-148) tmp = Float64(Float64(Float64(j * b) * t) * y4); else tmp = Float64(Float64(Float64(y0 * x) * y2) * c); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= -2e+93) tmp = ((y2 * y1) * k) * y4; elseif (y2 <= 1.95e-284) tmp = ((-x * y0) * j) * b; elseif (y2 <= 1e-148) tmp = ((j * b) * t) * y4; else tmp = ((y0 * x) * y2) * c; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -2e+93], N[(N[(N[(y2 * y1), $MachinePrecision] * k), $MachinePrecision] * y4), $MachinePrecision], If[LessEqual[y2, 1.95e-284], N[(N[(N[((-x) * y0), $MachinePrecision] * j), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[y2, 1e-148], N[(N[(N[(j * b), $MachinePrecision] * t), $MachinePrecision] * y4), $MachinePrecision], N[(N[(N[(y0 * x), $MachinePrecision] * y2), $MachinePrecision] * c), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -2 \cdot 10^{+93}:\\
\;\;\;\;\left(\left(y2 \cdot y1\right) \cdot k\right) \cdot y4\\
\mathbf{elif}\;y2 \leq 1.95 \cdot 10^{-284}:\\
\;\;\;\;\left(\left(\left(-x\right) \cdot y0\right) \cdot j\right) \cdot b\\
\mathbf{elif}\;y2 \leq 10^{-148}:\\
\;\;\;\;\left(\left(j \cdot b\right) \cdot t\right) \cdot y4\\
\mathbf{else}:\\
\;\;\;\;\left(\left(y0 \cdot x\right) \cdot y2\right) \cdot c\\
\end{array}
\end{array}
if y2 < -2.00000000000000009e93Initial program 14.9%
Taylor expanded in y4 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites49.1%
Taylor expanded in c around 0
Applied rewrites42.7%
Taylor expanded in y2 around inf
Applied rewrites39.1%
if -2.00000000000000009e93 < y2 < 1.9499999999999999e-284Initial program 40.3%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites45.8%
Taylor expanded in j around inf
Applied rewrites29.9%
Taylor expanded in b around inf
Applied rewrites23.1%
if 1.9499999999999999e-284 < y2 < 9.99999999999999936e-149Initial program 43.9%
Taylor expanded in y4 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites35.3%
Taylor expanded in c around 0
Applied rewrites29.4%
Taylor expanded in t around inf
Applied rewrites36.0%
if 9.99999999999999936e-149 < y2 Initial program 21.4%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites31.6%
Taylor expanded in x around inf
Applied rewrites31.5%
Taylor expanded in c around inf
Applied rewrites32.5%
Final simplification30.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y0 -6.5e+96)
(* (* (* y0 x) y2) c)
(if (<= y0 -4.6e-96)
(* (* (* j b) t) y4)
(if (<= y0 2.1e+93) (* (* (* y2 y1) k) y4) (* (* (* y5 y3) y0) j)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y0 <= -6.5e+96) {
tmp = ((y0 * x) * y2) * c;
} else if (y0 <= -4.6e-96) {
tmp = ((j * b) * t) * y4;
} else if (y0 <= 2.1e+93) {
tmp = ((y2 * y1) * k) * y4;
} else {
tmp = ((y5 * y3) * y0) * j;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y0 <= (-6.5d+96)) then
tmp = ((y0 * x) * y2) * c
else if (y0 <= (-4.6d-96)) then
tmp = ((j * b) * t) * y4
else if (y0 <= 2.1d+93) then
tmp = ((y2 * y1) * k) * y4
else
tmp = ((y5 * y3) * y0) * 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 k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y0 <= -6.5e+96) {
tmp = ((y0 * x) * y2) * c;
} else if (y0 <= -4.6e-96) {
tmp = ((j * b) * t) * y4;
} else if (y0 <= 2.1e+93) {
tmp = ((y2 * y1) * k) * y4;
} else {
tmp = ((y5 * y3) * y0) * j;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y0 <= -6.5e+96: tmp = ((y0 * x) * y2) * c elif y0 <= -4.6e-96: tmp = ((j * b) * t) * y4 elif y0 <= 2.1e+93: tmp = ((y2 * y1) * k) * y4 else: tmp = ((y5 * y3) * y0) * j return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y0 <= -6.5e+96) tmp = Float64(Float64(Float64(y0 * x) * y2) * c); elseif (y0 <= -4.6e-96) tmp = Float64(Float64(Float64(j * b) * t) * y4); elseif (y0 <= 2.1e+93) tmp = Float64(Float64(Float64(y2 * y1) * k) * y4); else tmp = Float64(Float64(Float64(y5 * y3) * y0) * j); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y0 <= -6.5e+96) tmp = ((y0 * x) * y2) * c; elseif (y0 <= -4.6e-96) tmp = ((j * b) * t) * y4; elseif (y0 <= 2.1e+93) tmp = ((y2 * y1) * k) * y4; else tmp = ((y5 * y3) * y0) * j; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y0, -6.5e+96], N[(N[(N[(y0 * x), $MachinePrecision] * y2), $MachinePrecision] * c), $MachinePrecision], If[LessEqual[y0, -4.6e-96], N[(N[(N[(j * b), $MachinePrecision] * t), $MachinePrecision] * y4), $MachinePrecision], If[LessEqual[y0, 2.1e+93], N[(N[(N[(y2 * y1), $MachinePrecision] * k), $MachinePrecision] * y4), $MachinePrecision], N[(N[(N[(y5 * y3), $MachinePrecision] * y0), $MachinePrecision] * j), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y0 \leq -6.5 \cdot 10^{+96}:\\
\;\;\;\;\left(\left(y0 \cdot x\right) \cdot y2\right) \cdot c\\
\mathbf{elif}\;y0 \leq -4.6 \cdot 10^{-96}:\\
\;\;\;\;\left(\left(j \cdot b\right) \cdot t\right) \cdot y4\\
\mathbf{elif}\;y0 \leq 2.1 \cdot 10^{+93}:\\
\;\;\;\;\left(\left(y2 \cdot y1\right) \cdot k\right) \cdot y4\\
\mathbf{else}:\\
\;\;\;\;\left(\left(y5 \cdot y3\right) \cdot y0\right) \cdot j\\
\end{array}
\end{array}
if y0 < -6.5e96Initial program 31.2%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites61.0%
Taylor expanded in x around inf
Applied rewrites38.9%
Taylor expanded in c around inf
Applied rewrites39.2%
if -6.5e96 < y0 < -4.6e-96Initial program 27.9%
Taylor expanded in y4 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites46.3%
Taylor expanded in c around 0
Applied rewrites41.9%
Taylor expanded in t around inf
Applied rewrites31.1%
if -4.6e-96 < y0 < 2.0999999999999998e93Initial program 32.8%
Taylor expanded in y4 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites41.1%
Taylor expanded in c around 0
Applied rewrites40.1%
Taylor expanded in y2 around inf
Applied rewrites20.7%
if 2.0999999999999998e93 < y0 Initial program 23.8%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites62.0%
Taylor expanded in j around inf
Applied rewrites48.4%
Taylor expanded in b around 0
Applied rewrites37.8%
Final simplification30.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* (* y0 x) y2) c)))
(if (<= x -2.6e+30)
t_1
(if (<= x 2.5e-270)
(* (* (* y5 y3) y0) j)
(if (<= x 9e-10) (* (* (* y3 z) a) y1) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = ((y0 * x) * y2) * c;
double tmp;
if (x <= -2.6e+30) {
tmp = t_1;
} else if (x <= 2.5e-270) {
tmp = ((y5 * y3) * y0) * j;
} else if (x <= 9e-10) {
tmp = ((y3 * z) * a) * y1;
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = ((y0 * x) * y2) * c
if (x <= (-2.6d+30)) then
tmp = t_1
else if (x <= 2.5d-270) then
tmp = ((y5 * y3) * y0) * j
else if (x <= 9d-10) then
tmp = ((y3 * z) * a) * y1
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 k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = ((y0 * x) * y2) * c;
double tmp;
if (x <= -2.6e+30) {
tmp = t_1;
} else if (x <= 2.5e-270) {
tmp = ((y5 * y3) * y0) * j;
} else if (x <= 9e-10) {
tmp = ((y3 * z) * a) * y1;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = ((y0 * x) * y2) * c tmp = 0 if x <= -2.6e+30: tmp = t_1 elif x <= 2.5e-270: tmp = ((y5 * y3) * y0) * j elif x <= 9e-10: tmp = ((y3 * z) * a) * y1 else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(Float64(y0 * x) * y2) * c) tmp = 0.0 if (x <= -2.6e+30) tmp = t_1; elseif (x <= 2.5e-270) tmp = Float64(Float64(Float64(y5 * y3) * y0) * j); elseif (x <= 9e-10) tmp = Float64(Float64(Float64(y3 * z) * a) * y1); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = ((y0 * x) * y2) * c; tmp = 0.0; if (x <= -2.6e+30) tmp = t_1; elseif (x <= 2.5e-270) tmp = ((y5 * y3) * y0) * j; elseif (x <= 9e-10) tmp = ((y3 * z) * a) * y1; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(y0 * x), $MachinePrecision] * y2), $MachinePrecision] * c), $MachinePrecision]}, If[LessEqual[x, -2.6e+30], t$95$1, If[LessEqual[x, 2.5e-270], N[(N[(N[(y5 * y3), $MachinePrecision] * y0), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[x, 9e-10], N[(N[(N[(y3 * z), $MachinePrecision] * a), $MachinePrecision] * y1), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\left(y0 \cdot x\right) \cdot y2\right) \cdot c\\
\mathbf{if}\;x \leq -2.6 \cdot 10^{+30}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;x \leq 2.5 \cdot 10^{-270}:\\
\;\;\;\;\left(\left(y5 \cdot y3\right) \cdot y0\right) \cdot j\\
\mathbf{elif}\;x \leq 9 \cdot 10^{-10}:\\
\;\;\;\;\left(\left(y3 \cdot z\right) \cdot a\right) \cdot y1\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if x < -2.59999999999999988e30 or 8.9999999999999999e-10 < x Initial program 28.4%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites39.5%
Taylor expanded in x around inf
Applied rewrites36.5%
Taylor expanded in c around inf
Applied rewrites32.7%
if -2.59999999999999988e30 < x < 2.4999999999999999e-270Initial program 32.8%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites44.1%
Taylor expanded in j around inf
Applied rewrites29.2%
Taylor expanded in b around 0
Applied rewrites24.2%
if 2.4999999999999999e-270 < x < 8.9999999999999999e-10Initial program 26.8%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites53.9%
Taylor expanded in y3 around inf
Applied rewrites44.0%
Taylor expanded in a around inf
Applied rewrites28.0%
Final simplification29.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= y5 -8.2e-109) (* (* (fma (- b) x (* y5 y3)) y0) j) (if (<= y5 8.5e-61) (* (* (* (- y1) y3) j) y4) (* (* (* (- y2) y5) k) y0))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y5 <= -8.2e-109) {
tmp = (fma(-b, x, (y5 * y3)) * y0) * j;
} else if (y5 <= 8.5e-61) {
tmp = ((-y1 * y3) * j) * y4;
} else {
tmp = ((-y2 * y5) * k) * y0;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y5 <= -8.2e-109) tmp = Float64(Float64(fma(Float64(-b), x, Float64(y5 * y3)) * y0) * j); elseif (y5 <= 8.5e-61) tmp = Float64(Float64(Float64(Float64(-y1) * y3) * j) * y4); else tmp = Float64(Float64(Float64(Float64(-y2) * y5) * k) * y0); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y5, -8.2e-109], N[(N[(N[((-b) * x + N[(y5 * y3), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[y5, 8.5e-61], N[(N[(N[((-y1) * y3), $MachinePrecision] * j), $MachinePrecision] * y4), $MachinePrecision], N[(N[(N[((-y2) * y5), $MachinePrecision] * k), $MachinePrecision] * y0), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y5 \leq -8.2 \cdot 10^{-109}:\\
\;\;\;\;\left(\mathsf{fma}\left(-b, x, y5 \cdot y3\right) \cdot y0\right) \cdot j\\
\mathbf{elif}\;y5 \leq 8.5 \cdot 10^{-61}:\\
\;\;\;\;\left(\left(\left(-y1\right) \cdot y3\right) \cdot j\right) \cdot y4\\
\mathbf{else}:\\
\;\;\;\;\left(\left(\left(-y2\right) \cdot y5\right) \cdot k\right) \cdot y0\\
\end{array}
\end{array}
if y5 < -8.2000000000000004e-109Initial program 25.9%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites42.1%
Taylor expanded in j around inf
Applied rewrites34.7%
if -8.2000000000000004e-109 < y5 < 8.50000000000000016e-61Initial program 37.7%
Taylor expanded in y4 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites41.5%
Taylor expanded in c around 0
Applied rewrites39.4%
Taylor expanded in y3 around inf
Applied rewrites37.5%
if 8.50000000000000016e-61 < y5 Initial program 23.3%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites43.0%
Taylor expanded in y2 around inf
Applied rewrites35.5%
Taylor expanded in c around 0
Applied rewrites31.3%
Final simplification34.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (let* ((t_1 (* (* (* y5 y3) y0) j))) (if (<= y3 -2.9e+115) t_1 (if (<= y3 4.5e+70) (* (* (* y0 x) y2) c) t_1))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = ((y5 * y3) * y0) * j;
double tmp;
if (y3 <= -2.9e+115) {
tmp = t_1;
} else if (y3 <= 4.5e+70) {
tmp = ((y0 * x) * y2) * c;
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = ((y5 * y3) * y0) * j
if (y3 <= (-2.9d+115)) then
tmp = t_1
else if (y3 <= 4.5d+70) then
tmp = ((y0 * x) * y2) * 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 k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = ((y5 * y3) * y0) * j;
double tmp;
if (y3 <= -2.9e+115) {
tmp = t_1;
} else if (y3 <= 4.5e+70) {
tmp = ((y0 * x) * y2) * c;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = ((y5 * y3) * y0) * j tmp = 0 if y3 <= -2.9e+115: tmp = t_1 elif y3 <= 4.5e+70: tmp = ((y0 * x) * y2) * c else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(Float64(y5 * y3) * y0) * j) tmp = 0.0 if (y3 <= -2.9e+115) tmp = t_1; elseif (y3 <= 4.5e+70) tmp = Float64(Float64(Float64(y0 * x) * y2) * c); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = ((y5 * y3) * y0) * j; tmp = 0.0; if (y3 <= -2.9e+115) tmp = t_1; elseif (y3 <= 4.5e+70) tmp = ((y0 * x) * y2) * c; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(y5 * y3), $MachinePrecision] * y0), $MachinePrecision] * j), $MachinePrecision]}, If[LessEqual[y3, -2.9e+115], t$95$1, If[LessEqual[y3, 4.5e+70], N[(N[(N[(y0 * x), $MachinePrecision] * y2), $MachinePrecision] * c), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\left(y5 \cdot y3\right) \cdot y0\right) \cdot j\\
\mathbf{if}\;y3 \leq -2.9 \cdot 10^{+115}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y3 \leq 4.5 \cdot 10^{+70}:\\
\;\;\;\;\left(\left(y0 \cdot x\right) \cdot y2\right) \cdot c\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y3 < -2.90000000000000005e115 or 4.4999999999999999e70 < y3 Initial program 27.4%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites41.9%
Taylor expanded in j around inf
Applied rewrites43.6%
Taylor expanded in b around 0
Applied rewrites40.1%
if -2.90000000000000005e115 < y3 < 4.4999999999999999e70Initial program 30.4%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites41.7%
Taylor expanded in x around inf
Applied rewrites28.7%
Taylor expanded in c around inf
Applied rewrites21.5%
Final simplification27.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* (* (* y0 x) y2) c))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return ((y0 * x) * y2) * c;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
code = ((y0 * x) * y2) * c
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 k, double y0, double y1, double y2, double y3, double y4, double y5) {
return ((y0 * x) * y2) * c;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return ((y0 * x) * y2) * c
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(Float64(Float64(y0 * x) * y2) * c) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = ((y0 * x) * y2) * c; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(N[(N[(y0 * x), $MachinePrecision] * y2), $MachinePrecision] * c), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(y0 \cdot x\right) \cdot y2\right) \cdot c
\end{array}
Initial program 29.4%
Taylor expanded in y0 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites41.8%
Taylor expanded in x around inf
Applied rewrites27.9%
Taylor expanded in c around inf
Applied rewrites21.1%
Final simplification21.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* y4 c) (* y5 a)))
(t_2 (- (* x y2) (* z y3)))
(t_3 (- (* y2 t) (* y3 y)))
(t_4 (- (* k y2) (* j y3)))
(t_5 (- (* y4 b) (* y5 i)))
(t_6 (* (- (* j t) (* k y)) t_5))
(t_7 (- (* b a) (* i c)))
(t_8 (* t_7 (- (* y x) (* t z))))
(t_9 (- (* j x) (* k z)))
(t_10 (* (- (* b y0) (* i y1)) t_9))
(t_11 (* t_9 (- (* y0 b) (* i y1))))
(t_12 (- (* y4 y1) (* y5 y0)))
(t_13 (* t_4 t_12))
(t_14 (* (- (* y2 k) (* y3 j)) t_12))
(t_15
(+
(-
(-
(- (* (* k y) (* y5 i)) (* (* y b) (* y4 k)))
(* (* y5 t) (* i j)))
(- (* t_3 t_1) t_14))
(- t_8 (- t_11 (* (- (* y2 x) (* y3 z)) (- (* c y0) (* y1 a)))))))
(t_16
(+
(+
(- t_6 (* (* y3 y) (- (* y5 a) (* y4 c))))
(+ (* (* y5 a) (* t y2)) t_13))
(-
(* t_2 (- (* c y0) (* a y1)))
(- t_10 (* (- (* y x) (* z t)) t_7)))))
(t_17 (- (* t y2) (* y y3))))
(if (< y4 -7.206256231996481e+60)
(- (- t_8 (- t_11 t_6)) (- (/ t_3 (/ 1.0 t_1)) t_14))
(if (< y4 -3.364603505246317e-66)
(+
(-
(- (- (* (* t c) (* i z)) (* (* a t) (* b z))) (* (* y c) (* i x)))
t_10)
(-
(* (- (* y0 c) (* a y1)) t_2)
(- (* t_17 (- (* y4 c) (* a y5))) (* (- (* y1 y4) (* y5 y0)) t_4))))
(if (< y4 -1.2000065055686116e-105)
t_16
(if (< y4 6.718963124057495e-279)
t_15
(if (< y4 4.77962681403792e-222)
t_16
(if (< y4 2.2852241541266835e-175)
t_15
(+
(-
(+
(+
(-
(* (- (* x y) (* z t)) (- (* a b) (* c i)))
(-
(* k (* i (* z y1)))
(+ (* j (* i (* x y1))) (* y0 (* k (* z b))))))
(-
(* z (* y3 (* a y1)))
(+ (* y2 (* x (* a y1))) (* y0 (* z (* c y3))))))
(* (- (* t j) (* y k)) t_5))
(* t_17 t_1))
t_13)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y4 * c) - (y5 * a);
double t_2 = (x * y2) - (z * y3);
double t_3 = (y2 * t) - (y3 * y);
double t_4 = (k * y2) - (j * y3);
double t_5 = (y4 * b) - (y5 * i);
double t_6 = ((j * t) - (k * y)) * t_5;
double t_7 = (b * a) - (i * c);
double t_8 = t_7 * ((y * x) - (t * z));
double t_9 = (j * x) - (k * z);
double t_10 = ((b * y0) - (i * y1)) * t_9;
double t_11 = t_9 * ((y0 * b) - (i * y1));
double t_12 = (y4 * y1) - (y5 * y0);
double t_13 = t_4 * t_12;
double t_14 = ((y2 * k) - (y3 * j)) * t_12;
double t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))));
double t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)));
double t_17 = (t * y2) - (y * y3);
double tmp;
if (y4 < -7.206256231996481e+60) {
tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14);
} else if (y4 < -3.364603505246317e-66) {
tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)));
} else if (y4 < -1.2000065055686116e-105) {
tmp = t_16;
} else if (y4 < 6.718963124057495e-279) {
tmp = t_15;
} else if (y4 < 4.77962681403792e-222) {
tmp = t_16;
} else if (y4 < 2.2852241541266835e-175) {
tmp = t_15;
} else {
tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_10
real(8) :: t_11
real(8) :: t_12
real(8) :: t_13
real(8) :: t_14
real(8) :: t_15
real(8) :: t_16
real(8) :: t_17
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: t_6
real(8) :: t_7
real(8) :: t_8
real(8) :: t_9
real(8) :: tmp
t_1 = (y4 * c) - (y5 * a)
t_2 = (x * y2) - (z * y3)
t_3 = (y2 * t) - (y3 * y)
t_4 = (k * y2) - (j * y3)
t_5 = (y4 * b) - (y5 * i)
t_6 = ((j * t) - (k * y)) * t_5
t_7 = (b * a) - (i * c)
t_8 = t_7 * ((y * x) - (t * z))
t_9 = (j * x) - (k * z)
t_10 = ((b * y0) - (i * y1)) * t_9
t_11 = t_9 * ((y0 * b) - (i * y1))
t_12 = (y4 * y1) - (y5 * y0)
t_13 = t_4 * t_12
t_14 = ((y2 * k) - (y3 * j)) * t_12
t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))))
t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)))
t_17 = (t * y2) - (y * y3)
if (y4 < (-7.206256231996481d+60)) then
tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0d0 / t_1)) - t_14)
else if (y4 < (-3.364603505246317d-66)) then
tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)))
else if (y4 < (-1.2000065055686116d-105)) then
tmp = t_16
else if (y4 < 6.718963124057495d-279) then
tmp = t_15
else if (y4 < 4.77962681403792d-222) then
tmp = t_16
else if (y4 < 2.2852241541266835d-175) then
tmp = t_15
else
tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13
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 k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y4 * c) - (y5 * a);
double t_2 = (x * y2) - (z * y3);
double t_3 = (y2 * t) - (y3 * y);
double t_4 = (k * y2) - (j * y3);
double t_5 = (y4 * b) - (y5 * i);
double t_6 = ((j * t) - (k * y)) * t_5;
double t_7 = (b * a) - (i * c);
double t_8 = t_7 * ((y * x) - (t * z));
double t_9 = (j * x) - (k * z);
double t_10 = ((b * y0) - (i * y1)) * t_9;
double t_11 = t_9 * ((y0 * b) - (i * y1));
double t_12 = (y4 * y1) - (y5 * y0);
double t_13 = t_4 * t_12;
double t_14 = ((y2 * k) - (y3 * j)) * t_12;
double t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))));
double t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)));
double t_17 = (t * y2) - (y * y3);
double tmp;
if (y4 < -7.206256231996481e+60) {
tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14);
} else if (y4 < -3.364603505246317e-66) {
tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)));
} else if (y4 < -1.2000065055686116e-105) {
tmp = t_16;
} else if (y4 < 6.718963124057495e-279) {
tmp = t_15;
} else if (y4 < 4.77962681403792e-222) {
tmp = t_16;
} else if (y4 < 2.2852241541266835e-175) {
tmp = t_15;
} else {
tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (y4 * c) - (y5 * a) t_2 = (x * y2) - (z * y3) t_3 = (y2 * t) - (y3 * y) t_4 = (k * y2) - (j * y3) t_5 = (y4 * b) - (y5 * i) t_6 = ((j * t) - (k * y)) * t_5 t_7 = (b * a) - (i * c) t_8 = t_7 * ((y * x) - (t * z)) t_9 = (j * x) - (k * z) t_10 = ((b * y0) - (i * y1)) * t_9 t_11 = t_9 * ((y0 * b) - (i * y1)) t_12 = (y4 * y1) - (y5 * y0) t_13 = t_4 * t_12 t_14 = ((y2 * k) - (y3 * j)) * t_12 t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a))))) t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7))) t_17 = (t * y2) - (y * y3) tmp = 0 if y4 < -7.206256231996481e+60: tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14) elif y4 < -3.364603505246317e-66: tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4))) elif y4 < -1.2000065055686116e-105: tmp = t_16 elif y4 < 6.718963124057495e-279: tmp = t_15 elif y4 < 4.77962681403792e-222: tmp = t_16 elif y4 < 2.2852241541266835e-175: tmp = t_15 else: tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(y4 * c) - Float64(y5 * a)) t_2 = Float64(Float64(x * y2) - Float64(z * y3)) t_3 = Float64(Float64(y2 * t) - Float64(y3 * y)) t_4 = Float64(Float64(k * y2) - Float64(j * y3)) t_5 = Float64(Float64(y4 * b) - Float64(y5 * i)) t_6 = Float64(Float64(Float64(j * t) - Float64(k * y)) * t_5) t_7 = Float64(Float64(b * a) - Float64(i * c)) t_8 = Float64(t_7 * Float64(Float64(y * x) - Float64(t * z))) t_9 = Float64(Float64(j * x) - Float64(k * z)) t_10 = Float64(Float64(Float64(b * y0) - Float64(i * y1)) * t_9) t_11 = Float64(t_9 * Float64(Float64(y0 * b) - Float64(i * y1))) t_12 = Float64(Float64(y4 * y1) - Float64(y5 * y0)) t_13 = Float64(t_4 * t_12) t_14 = Float64(Float64(Float64(y2 * k) - Float64(y3 * j)) * t_12) t_15 = Float64(Float64(Float64(Float64(Float64(Float64(k * y) * Float64(y5 * i)) - Float64(Float64(y * b) * Float64(y4 * k))) - Float64(Float64(y5 * t) * Float64(i * j))) - Float64(Float64(t_3 * t_1) - t_14)) + Float64(t_8 - Float64(t_11 - Float64(Float64(Float64(y2 * x) - Float64(y3 * z)) * Float64(Float64(c * y0) - Float64(y1 * a)))))) t_16 = Float64(Float64(Float64(t_6 - Float64(Float64(y3 * y) * Float64(Float64(y5 * a) - Float64(y4 * c)))) + Float64(Float64(Float64(y5 * a) * Float64(t * y2)) + t_13)) + Float64(Float64(t_2 * Float64(Float64(c * y0) - Float64(a * y1))) - Float64(t_10 - Float64(Float64(Float64(y * x) - Float64(z * t)) * t_7)))) t_17 = Float64(Float64(t * y2) - Float64(y * y3)) tmp = 0.0 if (y4 < -7.206256231996481e+60) tmp = Float64(Float64(t_8 - Float64(t_11 - t_6)) - Float64(Float64(t_3 / Float64(1.0 / t_1)) - t_14)); elseif (y4 < -3.364603505246317e-66) tmp = Float64(Float64(Float64(Float64(Float64(Float64(t * c) * Float64(i * z)) - Float64(Float64(a * t) * Float64(b * z))) - Float64(Float64(y * c) * Float64(i * x))) - t_10) + Float64(Float64(Float64(Float64(y0 * c) - Float64(a * y1)) * t_2) - Float64(Float64(t_17 * Float64(Float64(y4 * c) - Float64(a * y5))) - Float64(Float64(Float64(y1 * y4) - Float64(y5 * y0)) * t_4)))); elseif (y4 < -1.2000065055686116e-105) tmp = t_16; elseif (y4 < 6.718963124057495e-279) tmp = t_15; elseif (y4 < 4.77962681403792e-222) tmp = t_16; elseif (y4 < 2.2852241541266835e-175) tmp = t_15; else tmp = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) - Float64(z * t)) * Float64(Float64(a * b) - Float64(c * i))) - Float64(Float64(k * Float64(i * Float64(z * y1))) - Float64(Float64(j * Float64(i * Float64(x * y1))) + Float64(y0 * Float64(k * Float64(z * b)))))) + Float64(Float64(z * Float64(y3 * Float64(a * y1))) - Float64(Float64(y2 * Float64(x * Float64(a * y1))) + Float64(y0 * Float64(z * Float64(c * y3)))))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * t_5)) - Float64(t_17 * t_1)) + t_13); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (y4 * c) - (y5 * a); t_2 = (x * y2) - (z * y3); t_3 = (y2 * t) - (y3 * y); t_4 = (k * y2) - (j * y3); t_5 = (y4 * b) - (y5 * i); t_6 = ((j * t) - (k * y)) * t_5; t_7 = (b * a) - (i * c); t_8 = t_7 * ((y * x) - (t * z)); t_9 = (j * x) - (k * z); t_10 = ((b * y0) - (i * y1)) * t_9; t_11 = t_9 * ((y0 * b) - (i * y1)); t_12 = (y4 * y1) - (y5 * y0); t_13 = t_4 * t_12; t_14 = ((y2 * k) - (y3 * j)) * t_12; t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a))))); t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7))); t_17 = (t * y2) - (y * y3); tmp = 0.0; if (y4 < -7.206256231996481e+60) tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14); elseif (y4 < -3.364603505246317e-66) tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4))); elseif (y4 < -1.2000065055686116e-105) tmp = t_16; elseif (y4 < 6.718963124057495e-279) tmp = t_15; elseif (y4 < 4.77962681403792e-222) tmp = t_16; elseif (y4 < 2.2852241541266835e-175) tmp = t_15; else tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y2 * t), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] * t$95$5), $MachinePrecision]}, Block[{t$95$7 = N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(t$95$7 * N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$10 = N[(N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision] * t$95$9), $MachinePrecision]}, Block[{t$95$11 = N[(t$95$9 * N[(N[(y0 * b), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$12 = N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$13 = N[(t$95$4 * t$95$12), $MachinePrecision]}, Block[{t$95$14 = N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * t$95$12), $MachinePrecision]}, Block[{t$95$15 = N[(N[(N[(N[(N[(N[(k * y), $MachinePrecision] * N[(y5 * i), $MachinePrecision]), $MachinePrecision] - N[(N[(y * b), $MachinePrecision] * N[(y4 * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y5 * t), $MachinePrecision] * N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(t$95$3 * t$95$1), $MachinePrecision] - t$95$14), $MachinePrecision]), $MachinePrecision] + N[(t$95$8 - N[(t$95$11 - N[(N[(N[(y2 * x), $MachinePrecision] - N[(y3 * z), $MachinePrecision]), $MachinePrecision] * N[(N[(c * y0), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$16 = N[(N[(N[(t$95$6 - N[(N[(y3 * y), $MachinePrecision] * N[(N[(y5 * a), $MachinePrecision] - N[(y4 * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(y5 * a), $MachinePrecision] * N[(t * y2), $MachinePrecision]), $MachinePrecision] + t$95$13), $MachinePrecision]), $MachinePrecision] + N[(N[(t$95$2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(t$95$10 - N[(N[(N[(y * x), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$17 = N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, If[Less[y4, -7.206256231996481e+60], N[(N[(t$95$8 - N[(t$95$11 - t$95$6), $MachinePrecision]), $MachinePrecision] - N[(N[(t$95$3 / N[(1.0 / t$95$1), $MachinePrecision]), $MachinePrecision] - t$95$14), $MachinePrecision]), $MachinePrecision], If[Less[y4, -3.364603505246317e-66], N[(N[(N[(N[(N[(N[(t * c), $MachinePrecision] * N[(i * z), $MachinePrecision]), $MachinePrecision] - N[(N[(a * t), $MachinePrecision] * N[(b * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y * c), $MachinePrecision] * N[(i * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - t$95$10), $MachinePrecision] + N[(N[(N[(N[(y0 * c), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision] * t$95$2), $MachinePrecision] - N[(N[(t$95$17 * N[(N[(y4 * c), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(y1 * y4), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision] * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Less[y4, -1.2000065055686116e-105], t$95$16, If[Less[y4, 6.718963124057495e-279], t$95$15, If[Less[y4, 4.77962681403792e-222], t$95$16, If[Less[y4, 2.2852241541266835e-175], t$95$15, N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(k * N[(i * N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(j * N[(i * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(k * N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(z * N[(y3 * N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y2 * N[(x * N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(z * N[(c * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * t$95$5), $MachinePrecision]), $MachinePrecision] - N[(t$95$17 * t$95$1), $MachinePrecision]), $MachinePrecision] + t$95$13), $MachinePrecision]]]]]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y4 \cdot c - y5 \cdot a\\
t_2 := x \cdot y2 - z \cdot y3\\
t_3 := y2 \cdot t - y3 \cdot y\\
t_4 := k \cdot y2 - j \cdot y3\\
t_5 := y4 \cdot b - y5 \cdot i\\
t_6 := \left(j \cdot t - k \cdot y\right) \cdot t\_5\\
t_7 := b \cdot a - i \cdot c\\
t_8 := t\_7 \cdot \left(y \cdot x - t \cdot z\right)\\
t_9 := j \cdot x - k \cdot z\\
t_10 := \left(b \cdot y0 - i \cdot y1\right) \cdot t\_9\\
t_11 := t\_9 \cdot \left(y0 \cdot b - i \cdot y1\right)\\
t_12 := y4 \cdot y1 - y5 \cdot y0\\
t_13 := t\_4 \cdot t\_12\\
t_14 := \left(y2 \cdot k - y3 \cdot j\right) \cdot t\_12\\
t_15 := \left(\left(\left(\left(k \cdot y\right) \cdot \left(y5 \cdot i\right) - \left(y \cdot b\right) \cdot \left(y4 \cdot k\right)\right) - \left(y5 \cdot t\right) \cdot \left(i \cdot j\right)\right) - \left(t\_3 \cdot t\_1 - t\_14\right)\right) + \left(t\_8 - \left(t\_11 - \left(y2 \cdot x - y3 \cdot z\right) \cdot \left(c \cdot y0 - y1 \cdot a\right)\right)\right)\\
t_16 := \left(\left(t\_6 - \left(y3 \cdot y\right) \cdot \left(y5 \cdot a - y4 \cdot c\right)\right) + \left(\left(y5 \cdot a\right) \cdot \left(t \cdot y2\right) + t\_13\right)\right) + \left(t\_2 \cdot \left(c \cdot y0 - a \cdot y1\right) - \left(t\_10 - \left(y \cdot x - z \cdot t\right) \cdot t\_7\right)\right)\\
t_17 := t \cdot y2 - y \cdot y3\\
\mathbf{if}\;y4 < -7.206256231996481 \cdot 10^{+60}:\\
\;\;\;\;\left(t\_8 - \left(t\_11 - t\_6\right)\right) - \left(\frac{t\_3}{\frac{1}{t\_1}} - t\_14\right)\\
\mathbf{elif}\;y4 < -3.364603505246317 \cdot 10^{-66}:\\
\;\;\;\;\left(\left(\left(\left(t \cdot c\right) \cdot \left(i \cdot z\right) - \left(a \cdot t\right) \cdot \left(b \cdot z\right)\right) - \left(y \cdot c\right) \cdot \left(i \cdot x\right)\right) - t\_10\right) + \left(\left(y0 \cdot c - a \cdot y1\right) \cdot t\_2 - \left(t\_17 \cdot \left(y4 \cdot c - a \cdot y5\right) - \left(y1 \cdot y4 - y5 \cdot y0\right) \cdot t\_4\right)\right)\\
\mathbf{elif}\;y4 < -1.2000065055686116 \cdot 10^{-105}:\\
\;\;\;\;t\_16\\
\mathbf{elif}\;y4 < 6.718963124057495 \cdot 10^{-279}:\\
\;\;\;\;t\_15\\
\mathbf{elif}\;y4 < 4.77962681403792 \cdot 10^{-222}:\\
\;\;\;\;t\_16\\
\mathbf{elif}\;y4 < 2.2852241541266835 \cdot 10^{-175}:\\
\;\;\;\;t\_15\\
\mathbf{else}:\\
\;\;\;\;\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(k \cdot \left(i \cdot \left(z \cdot y1\right)\right) - \left(j \cdot \left(i \cdot \left(x \cdot y1\right)\right) + y0 \cdot \left(k \cdot \left(z \cdot b\right)\right)\right)\right)\right) + \left(z \cdot \left(y3 \cdot \left(a \cdot y1\right)\right) - \left(y2 \cdot \left(x \cdot \left(a \cdot y1\right)\right) + y0 \cdot \left(z \cdot \left(c \cdot y3\right)\right)\right)\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot t\_5\right) - t\_17 \cdot t\_1\right) + t\_13\\
\end{array}
\end{array}
herbie shell --seed 2024248
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:name "Linear.Matrix:det44 from linear-1.19.1.3"
:precision binary64
:alt
(! :herbie-platform default (if (< y4 -7206256231996481000000000000000000000000000000000000000000000) (- (- (* (- (* b a) (* i c)) (- (* y x) (* t z))) (- (* (- (* j x) (* k z)) (- (* y0 b) (* i y1))) (* (- (* j t) (* k y)) (- (* y4 b) (* y5 i))))) (- (/ (- (* y2 t) (* y3 y)) (/ 1 (- (* y4 c) (* y5 a)))) (* (- (* y2 k) (* y3 j)) (- (* y4 y1) (* y5 y0))))) (if (< y4 -3364603505246317/1000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (- (- (- (* (* t c) (* i z)) (* (* a t) (* b z))) (* (* y c) (* i x))) (* (- (* b y0) (* i y1)) (- (* j x) (* k z)))) (- (* (- (* y0 c) (* a y1)) (- (* x y2) (* z y3))) (- (* (- (* t y2) (* y y3)) (- (* y4 c) (* a y5))) (* (- (* y1 y4) (* y5 y0)) (- (* k y2) (* j y3)))))) (if (< y4 -3000016263921529/2500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (+ (- (* (- (* j t) (* k y)) (- (* y4 b) (* y5 i))) (* (* y3 y) (- (* y5 a) (* y4 c)))) (+ (* (* y5 a) (* t y2)) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* x y2) (* z y3)) (- (* c y0) (* a y1))) (- (* (- (* b y0) (* i y1)) (- (* j x) (* k z))) (* (- (* y x) (* z t)) (- (* b a) (* i c)))))) (if (< y4 1343792624811499/200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (- (- (- (* (* k y) (* y5 i)) (* (* y b) (* y4 k))) (* (* y5 t) (* i j))) (- (* (- (* y2 t) (* y3 y)) (- (* y4 c) (* y5 a))) (* (- (* y2 k) (* y3 j)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* b a) (* i c)) (- (* y x) (* t z))) (- (* (- (* j x) (* k z)) (- (* y0 b) (* i y1))) (* (- (* y2 x) (* y3 z)) (- (* c y0) (* y1 a)))))) (if (< y4 29872667587737/6250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (+ (- (* (- (* j t) (* k y)) (- (* y4 b) (* y5 i))) (* (* y3 y) (- (* y5 a) (* y4 c)))) (+ (* (* y5 a) (* t y2)) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* x y2) (* z y3)) (- (* c y0) (* a y1))) (- (* (- (* b y0) (* i y1)) (- (* j x) (* k z))) (* (- (* y x) (* z t)) (- (* b a) (* i c)))))) (if (< y4 4570448308253367/20000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (- (- (- (* (* k y) (* y5 i)) (* (* y b) (* y4 k))) (* (* y5 t) (* i j))) (- (* (- (* y2 t) (* y3 y)) (- (* y4 c) (* y5 a))) (* (- (* y2 k) (* y3 j)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* b a) (* i c)) (- (* y x) (* t z))) (- (* (- (* j x) (* k z)) (- (* y0 b) (* i y1))) (* (- (* y2 x) (* y3 z)) (- (* c y0) (* y1 a)))))) (+ (- (+ (+ (- (* (- (* x y) (* z t)) (- (* a b) (* c i))) (- (* k (* i (* z y1))) (+ (* j (* i (* x y1))) (* y0 (* k (* z b)))))) (- (* z (* y3 (* a y1))) (+ (* y2 (* x (* a y1))) (* y0 (* z (* c y3)))))) (* (- (* t j) (* y k)) (- (* y4 b) (* y5 i)))) (* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a)))) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0)))))))))))
(+ (- (+ (+ (- (* (- (* x y) (* z t)) (- (* a b) (* c i))) (* (- (* x j) (* z k)) (- (* y0 b) (* y1 i)))) (* (- (* x y2) (* z y3)) (- (* y0 c) (* y1 a)))) (* (- (* t j) (* y k)) (- (* y4 b) (* y5 i)))) (* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a)))) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0)))))