
(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 38 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 b a (* (- c) i)))
(t_2 (* (- j) y3))
(t_3 (fma y0 c (* (- a) y1)))
(t_4 (fma y0 b (* (- i) y1)))
(t_5 (* (- z) (- (fma t_3 y3 (* t_1 t)) (* t_4 k))))
(t_6 (fma j t (* (- k) y))))
(if (<= z -2.1e+94)
t_5
(if (<= z 1.16e-219)
(*
(- (fma (fma y2 k t_2) y1 (* t_6 b)) (* (fma y2 t (* (- y) y3)) c))
y4)
(if (<= z 1.45e+28)
(* (- (fma t_3 y2 (* t_1 y)) (* t_4 j)) x)
(if (<= z 9.2e+156)
(* (- y5) (- (fma (* i j) t (* y0 (fma k y2 t_2))) (* a (* t y2))))
(if (<= z 2.4e+252)
t_5
(*
(- i)
(-
(fma (fma y x (* (- t) z)) c (* t_6 y5))
(* (fma j x (* (- k) z)) y1))))))))))
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(b, a, (-c * i));
double t_2 = -j * y3;
double t_3 = fma(y0, c, (-a * y1));
double t_4 = fma(y0, b, (-i * y1));
double t_5 = -z * (fma(t_3, y3, (t_1 * t)) - (t_4 * k));
double t_6 = fma(j, t, (-k * y));
double tmp;
if (z <= -2.1e+94) {
tmp = t_5;
} else if (z <= 1.16e-219) {
tmp = (fma(fma(y2, k, t_2), y1, (t_6 * b)) - (fma(y2, t, (-y * y3)) * c)) * y4;
} else if (z <= 1.45e+28) {
tmp = (fma(t_3, y2, (t_1 * y)) - (t_4 * j)) * x;
} else if (z <= 9.2e+156) {
tmp = -y5 * (fma((i * j), t, (y0 * fma(k, y2, t_2))) - (a * (t * y2)));
} else if (z <= 2.4e+252) {
tmp = t_5;
} else {
tmp = -i * (fma(fma(y, x, (-t * z)), c, (t_6 * y5)) - (fma(j, x, (-k * z)) * y1));
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = fma(b, a, Float64(Float64(-c) * i)) t_2 = Float64(Float64(-j) * y3) t_3 = fma(y0, c, Float64(Float64(-a) * y1)) t_4 = fma(y0, b, Float64(Float64(-i) * y1)) t_5 = Float64(Float64(-z) * Float64(fma(t_3, y3, Float64(t_1 * t)) - Float64(t_4 * k))) t_6 = fma(j, t, Float64(Float64(-k) * y)) tmp = 0.0 if (z <= -2.1e+94) tmp = t_5; elseif (z <= 1.16e-219) tmp = Float64(Float64(fma(fma(y2, k, t_2), y1, Float64(t_6 * b)) - Float64(fma(y2, t, Float64(Float64(-y) * y3)) * c)) * y4); elseif (z <= 1.45e+28) tmp = Float64(Float64(fma(t_3, y2, Float64(t_1 * y)) - Float64(t_4 * j)) * x); elseif (z <= 9.2e+156) tmp = Float64(Float64(-y5) * Float64(fma(Float64(i * j), t, Float64(y0 * fma(k, y2, t_2))) - Float64(a * Float64(t * y2)))); elseif (z <= 2.4e+252) tmp = t_5; else tmp = Float64(Float64(-i) * Float64(fma(fma(y, x, Float64(Float64(-t) * z)), c, Float64(t_6 * y5)) - Float64(fma(j, x, Float64(Float64(-k) * z)) * y1))); 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[(b * a + N[((-c) * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[((-j) * y3), $MachinePrecision]}, Block[{t$95$3 = N[(y0 * c + N[((-a) * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(y0 * b + N[((-i) * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[((-z) * N[(N[(t$95$3 * y3 + N[(t$95$1 * t), $MachinePrecision]), $MachinePrecision] - N[(t$95$4 * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(j * t + N[((-k) * y), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -2.1e+94], t$95$5, If[LessEqual[z, 1.16e-219], N[(N[(N[(N[(y2 * k + t$95$2), $MachinePrecision] * y1 + N[(t$95$6 * b), $MachinePrecision]), $MachinePrecision] - N[(N[(y2 * t + N[((-y) * y3), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision], If[LessEqual[z, 1.45e+28], N[(N[(N[(t$95$3 * y2 + N[(t$95$1 * y), $MachinePrecision]), $MachinePrecision] - N[(t$95$4 * j), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[z, 9.2e+156], N[((-y5) * N[(N[(N[(i * j), $MachinePrecision] * t + N[(y0 * N[(k * y2 + t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(a * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.4e+252], t$95$5, N[((-i) * N[(N[(N[(y * x + N[((-t) * z), $MachinePrecision]), $MachinePrecision] * c + N[(t$95$6 * y5), $MachinePrecision]), $MachinePrecision] - N[(N[(j * x + N[((-k) * z), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right)\\
t_2 := \left(-j\right) \cdot y3\\
t_3 := \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right)\\
t_4 := \mathsf{fma}\left(y0, b, \left(-i\right) \cdot y1\right)\\
t_5 := \left(-z\right) \cdot \left(\mathsf{fma}\left(t\_3, y3, t\_1 \cdot t\right) - t\_4 \cdot k\right)\\
t_6 := \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right)\\
\mathbf{if}\;z \leq -2.1 \cdot 10^{+94}:\\
\;\;\;\;t\_5\\
\mathbf{elif}\;z \leq 1.16 \cdot 10^{-219}:\\
\;\;\;\;\left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, t\_2\right), y1, t\_6 \cdot b\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot c\right) \cdot y4\\
\mathbf{elif}\;z \leq 1.45 \cdot 10^{+28}:\\
\;\;\;\;\left(\mathsf{fma}\left(t\_3, y2, t\_1 \cdot y\right) - t\_4 \cdot j\right) \cdot x\\
\mathbf{elif}\;z \leq 9.2 \cdot 10^{+156}:\\
\;\;\;\;\left(-y5\right) \cdot \left(\mathsf{fma}\left(i \cdot j, t, y0 \cdot \mathsf{fma}\left(k, y2, t\_2\right)\right) - a \cdot \left(t \cdot y2\right)\right)\\
\mathbf{elif}\;z \leq 2.4 \cdot 10^{+252}:\\
\;\;\;\;t\_5\\
\mathbf{else}:\\
\;\;\;\;\left(-i\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, \left(-t\right) \cdot z\right), c, t\_6 \cdot y5\right) - \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right) \cdot y1\right)\\
\end{array}
\end{array}
if z < -2.09999999999999989e94 or 9.1999999999999995e156 < z < 2.3999999999999999e252Initial program 23.4%
Taylor expanded in z around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites69.0%
if -2.09999999999999989e94 < z < 1.1599999999999999e-219Initial program 29.5%
Taylor expanded in y4 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites54.0%
if 1.1599999999999999e-219 < z < 1.4500000000000001e28Initial program 33.6%
Taylor expanded in x around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites58.6%
if 1.4500000000000001e28 < z < 9.1999999999999995e156Initial program 18.1%
Taylor expanded in y5 around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites50.1%
Taylor expanded in y around 0
Applied rewrites68.3%
if 2.3999999999999999e252 < z Initial program 0.5%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites66.8%
Final simplification61.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(+
(-
(+
(+
(-
(* (- (* 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))))))
(if (<= t_1 INFINITY)
t_1
(*
(- i)
(-
(fma (fma y x (* (- t) z)) c (* (fma j t (* (- k) y)) y5))
(* (fma j x (* (- k) z)) y1))))))
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 = (((((((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 tmp;
if (t_1 <= ((double) INFINITY)) {
tmp = t_1;
} else {
tmp = -i * (fma(fma(y, x, (-t * z)), c, (fma(j, t, (-k * y)) * y5)) - (fma(j, x, (-k * z)) * y1));
}
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(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)))) tmp = 0.0 if (t_1 <= Inf) tmp = t_1; else tmp = Float64(Float64(-i) * Float64(fma(fma(y, x, Float64(Float64(-t) * z)), c, Float64(fma(j, t, Float64(Float64(-k) * y)) * y5)) - Float64(fma(j, x, Float64(Float64(-k) * z)) * y1))); 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[(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]}, If[LessEqual[t$95$1, Infinity], t$95$1, N[((-i) * N[(N[(N[(y * x + N[((-t) * z), $MachinePrecision]), $MachinePrecision] * c + N[(N[(j * t + N[((-k) * y), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision] - N[(N[(j * x + N[((-k) * z), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \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)\\
\mathbf{if}\;t\_1 \leq \infty:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;\left(-i\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, \left(-t\right) \cdot z\right), c, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot y5\right) - \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right) \cdot y1\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 89.6%
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 i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites45.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (fma y0 c (* (- a) y1)))
(t_2 (* (- j) y3))
(t_3
(* (- y5) (- (fma (* i j) t (* y0 (fma k y2 t_2))) (* a (* t y2))))))
(if (<= y -3400000000.0)
(*
(-
(fma (fma y2 k t_2) y1 (* (fma j t (* (- k) y)) b))
(* (fma y2 t (* (- y) y3)) c))
y4)
(if (<= y -6.2e-70)
t_3
(if (<= y -5.8e-244)
(*
(- y3)
(-
(fma (fma y4 y1 (* (- y0) y5)) j (* t_1 z))
(* (fma y4 c (* (- a) y5)) y)))
(if (<= y 4.5e+23)
t_3
(if (<= y 3.25e+156)
(*
(-
(fma t_1 y2 (* (fma b a (* (- c) i)) y))
(* (fma y0 b (* (- i) y1)) j))
x)
(* (* i y) (fma (- c) x (* k y5))))))))))
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(y0, c, (-a * y1));
double t_2 = -j * y3;
double t_3 = -y5 * (fma((i * j), t, (y0 * fma(k, y2, t_2))) - (a * (t * y2)));
double tmp;
if (y <= -3400000000.0) {
tmp = (fma(fma(y2, k, t_2), y1, (fma(j, t, (-k * y)) * b)) - (fma(y2, t, (-y * y3)) * c)) * y4;
} else if (y <= -6.2e-70) {
tmp = t_3;
} else if (y <= -5.8e-244) {
tmp = -y3 * (fma(fma(y4, y1, (-y0 * y5)), j, (t_1 * z)) - (fma(y4, c, (-a * y5)) * y));
} else if (y <= 4.5e+23) {
tmp = t_3;
} else if (y <= 3.25e+156) {
tmp = (fma(t_1, y2, (fma(b, a, (-c * i)) * y)) - (fma(y0, b, (-i * y1)) * j)) * x;
} else {
tmp = (i * y) * fma(-c, x, (k * y5));
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = fma(y0, c, Float64(Float64(-a) * y1)) t_2 = Float64(Float64(-j) * y3) t_3 = Float64(Float64(-y5) * Float64(fma(Float64(i * j), t, Float64(y0 * fma(k, y2, t_2))) - Float64(a * Float64(t * y2)))) tmp = 0.0 if (y <= -3400000000.0) tmp = Float64(Float64(fma(fma(y2, k, t_2), y1, Float64(fma(j, t, Float64(Float64(-k) * y)) * b)) - Float64(fma(y2, t, Float64(Float64(-y) * y3)) * c)) * y4); elseif (y <= -6.2e-70) tmp = t_3; elseif (y <= -5.8e-244) tmp = Float64(Float64(-y3) * Float64(fma(fma(y4, y1, Float64(Float64(-y0) * y5)), j, Float64(t_1 * z)) - Float64(fma(y4, c, Float64(Float64(-a) * y5)) * y))); elseif (y <= 4.5e+23) tmp = t_3; elseif (y <= 3.25e+156) tmp = Float64(Float64(fma(t_1, y2, Float64(fma(b, a, Float64(Float64(-c) * i)) * y)) - Float64(fma(y0, b, Float64(Float64(-i) * y1)) * j)) * x); else tmp = Float64(Float64(i * y) * fma(Float64(-c), x, Float64(k * y5))); 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[(y0 * c + N[((-a) * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[((-j) * y3), $MachinePrecision]}, Block[{t$95$3 = N[((-y5) * N[(N[(N[(i * j), $MachinePrecision] * t + N[(y0 * N[(k * y2 + t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(a * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -3400000000.0], N[(N[(N[(N[(y2 * k + t$95$2), $MachinePrecision] * y1 + N[(N[(j * t + N[((-k) * y), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision] - N[(N[(y2 * t + N[((-y) * y3), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision], If[LessEqual[y, -6.2e-70], t$95$3, If[LessEqual[y, -5.8e-244], N[((-y3) * N[(N[(N[(y4 * y1 + N[((-y0) * y5), $MachinePrecision]), $MachinePrecision] * j + N[(t$95$1 * z), $MachinePrecision]), $MachinePrecision] - N[(N[(y4 * c + N[((-a) * y5), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 4.5e+23], t$95$3, If[LessEqual[y, 3.25e+156], N[(N[(N[(t$95$1 * y2 + N[(N[(b * a + N[((-c) * i), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] - N[(N[(y0 * b + N[((-i) * y1), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision], N[(N[(i * y), $MachinePrecision] * N[((-c) * x + N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right)\\
t_2 := \left(-j\right) \cdot y3\\
t_3 := \left(-y5\right) \cdot \left(\mathsf{fma}\left(i \cdot j, t, y0 \cdot \mathsf{fma}\left(k, y2, t\_2\right)\right) - a \cdot \left(t \cdot y2\right)\right)\\
\mathbf{if}\;y \leq -3400000000:\\
\;\;\;\;\left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, t\_2\right), y1, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot b\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot c\right) \cdot y4\\
\mathbf{elif}\;y \leq -6.2 \cdot 10^{-70}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y \leq -5.8 \cdot 10^{-244}:\\
\;\;\;\;\left(-y3\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right), j, t\_1 \cdot z\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y\right)\\
\mathbf{elif}\;y \leq 4.5 \cdot 10^{+23}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y \leq 3.25 \cdot 10^{+156}:\\
\;\;\;\;\left(\mathsf{fma}\left(t\_1, y2, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right) \cdot y\right) - \mathsf{fma}\left(y0, b, \left(-i\right) \cdot y1\right) \cdot j\right) \cdot x\\
\mathbf{else}:\\
\;\;\;\;\left(i \cdot y\right) \cdot \mathsf{fma}\left(-c, x, k \cdot y5\right)\\
\end{array}
\end{array}
if y < -3.4e9Initial program 30.7%
Taylor expanded in y4 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites62.0%
if -3.4e9 < y < -6.2e-70 or -5.79999999999999992e-244 < y < 4.49999999999999979e23Initial program 23.4%
Taylor expanded in y5 around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites48.2%
Taylor expanded in y around 0
Applied rewrites56.0%
if -6.2e-70 < y < -5.79999999999999992e-244Initial program 34.3%
Taylor expanded in y3 around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites58.2%
if 4.49999999999999979e23 < y < 3.25000000000000014e156Initial program 20.8%
Taylor expanded in x around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites56.3%
if 3.25000000000000014e156 < y Initial program 26.2%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites57.3%
Taylor expanded in k around -inf
Applied rewrites52.9%
Taylor expanded in y around -inf
Applied rewrites71.8%
Final simplification59.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (- j) y3)))
(if (<= y -9.5e-243)
(*
(-
(fma (fma y2 k t_1) y1 (* (fma j t (* (- k) y)) b))
(* (fma y2 t (* (- y) y3)) c))
y4)
(if (<= y 4.5e+23)
(* (- y5) (- (fma (* i j) t (* y0 (fma k y2 t_1))) (* a (* t y2))))
(if (<= y 3.25e+156)
(*
(-
(fma (fma y0 c (* (- a) y1)) y2 (* (fma b a (* (- c) i)) y))
(* (fma y0 b (* (- i) y1)) j))
x)
(* (* i y) (fma (- c) x (* k y5))))))))
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 = -j * y3;
double tmp;
if (y <= -9.5e-243) {
tmp = (fma(fma(y2, k, t_1), y1, (fma(j, t, (-k * y)) * b)) - (fma(y2, t, (-y * y3)) * c)) * y4;
} else if (y <= 4.5e+23) {
tmp = -y5 * (fma((i * j), t, (y0 * fma(k, y2, t_1))) - (a * (t * y2)));
} else if (y <= 3.25e+156) {
tmp = (fma(fma(y0, c, (-a * y1)), y2, (fma(b, a, (-c * i)) * y)) - (fma(y0, b, (-i * y1)) * j)) * x;
} else {
tmp = (i * y) * fma(-c, x, (k * y5));
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(-j) * y3) tmp = 0.0 if (y <= -9.5e-243) tmp = Float64(Float64(fma(fma(y2, k, t_1), y1, Float64(fma(j, t, Float64(Float64(-k) * y)) * b)) - Float64(fma(y2, t, Float64(Float64(-y) * y3)) * c)) * y4); elseif (y <= 4.5e+23) tmp = Float64(Float64(-y5) * Float64(fma(Float64(i * j), t, Float64(y0 * fma(k, y2, t_1))) - Float64(a * Float64(t * y2)))); elseif (y <= 3.25e+156) tmp = Float64(Float64(fma(fma(y0, c, Float64(Float64(-a) * y1)), y2, Float64(fma(b, a, Float64(Float64(-c) * i)) * y)) - Float64(fma(y0, b, Float64(Float64(-i) * y1)) * j)) * x); else tmp = Float64(Float64(i * y) * fma(Float64(-c), x, Float64(k * y5))); 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[((-j) * y3), $MachinePrecision]}, If[LessEqual[y, -9.5e-243], N[(N[(N[(N[(y2 * k + t$95$1), $MachinePrecision] * y1 + N[(N[(j * t + N[((-k) * y), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision] - N[(N[(y2 * t + N[((-y) * y3), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision], If[LessEqual[y, 4.5e+23], N[((-y5) * N[(N[(N[(i * j), $MachinePrecision] * t + N[(y0 * N[(k * y2 + t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(a * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 3.25e+156], N[(N[(N[(N[(y0 * c + N[((-a) * y1), $MachinePrecision]), $MachinePrecision] * y2 + N[(N[(b * a + N[((-c) * i), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] - N[(N[(y0 * b + N[((-i) * y1), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision], N[(N[(i * y), $MachinePrecision] * N[((-c) * x + N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(-j\right) \cdot y3\\
\mathbf{if}\;y \leq -9.5 \cdot 10^{-243}:\\
\;\;\;\;\left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, t\_1\right), y1, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot b\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot c\right) \cdot y4\\
\mathbf{elif}\;y \leq 4.5 \cdot 10^{+23}:\\
\;\;\;\;\left(-y5\right) \cdot \left(\mathsf{fma}\left(i \cdot j, t, y0 \cdot \mathsf{fma}\left(k, y2, t\_1\right)\right) - a \cdot \left(t \cdot y2\right)\right)\\
\mathbf{elif}\;y \leq 3.25 \cdot 10^{+156}:\\
\;\;\;\;\left(\mathsf{fma}\left(\mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right), y2, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right) \cdot y\right) - \mathsf{fma}\left(y0, b, \left(-i\right) \cdot y1\right) \cdot j\right) \cdot x\\
\mathbf{else}:\\
\;\;\;\;\left(i \cdot y\right) \cdot \mathsf{fma}\left(-c, x, k \cdot y5\right)\\
\end{array}
\end{array}
if y < -9.5000000000000005e-243Initial program 30.4%
Taylor expanded in y4 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites51.6%
if -9.5000000000000005e-243 < y < 4.49999999999999979e23Initial program 24.0%
Taylor expanded in y5 around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites47.2%
Taylor expanded in y around 0
Applied rewrites54.1%
if 4.49999999999999979e23 < y < 3.25000000000000014e156Initial program 20.8%
Taylor expanded in x around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites56.3%
if 3.25000000000000014e156 < y Initial program 26.2%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites57.3%
Taylor expanded in k around -inf
Applied rewrites52.9%
Taylor expanded in y around -inf
Applied rewrites71.8%
Final simplification56.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y -13600000000.0)
(* (* (- y) (fma i x (* (- y3) y4))) c)
(if (<= y 4.5e+23)
(*
(- y5)
(- (fma (* i j) t (* y0 (fma k y2 (* (- j) y3)))) (* a (* t y2))))
(if (<= y 3.25e+156)
(*
(-
(fma (fma y0 c (* (- a) y1)) y2 (* (fma b a (* (- c) i)) y))
(* (fma y0 b (* (- i) y1)) j))
x)
(* (* i y) (fma (- c) x (* k y5)))))))
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 (y <= -13600000000.0) {
tmp = (-y * fma(i, x, (-y3 * y4))) * c;
} else if (y <= 4.5e+23) {
tmp = -y5 * (fma((i * j), t, (y0 * fma(k, y2, (-j * y3)))) - (a * (t * y2)));
} else if (y <= 3.25e+156) {
tmp = (fma(fma(y0, c, (-a * y1)), y2, (fma(b, a, (-c * i)) * y)) - (fma(y0, b, (-i * y1)) * j)) * x;
} else {
tmp = (i * y) * fma(-c, x, (k * y5));
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y <= -13600000000.0) tmp = Float64(Float64(Float64(-y) * fma(i, x, Float64(Float64(-y3) * y4))) * c); elseif (y <= 4.5e+23) tmp = Float64(Float64(-y5) * Float64(fma(Float64(i * j), t, Float64(y0 * fma(k, y2, Float64(Float64(-j) * y3)))) - Float64(a * Float64(t * y2)))); elseif (y <= 3.25e+156) tmp = Float64(Float64(fma(fma(y0, c, Float64(Float64(-a) * y1)), y2, Float64(fma(b, a, Float64(Float64(-c) * i)) * y)) - Float64(fma(y0, b, Float64(Float64(-i) * y1)) * j)) * x); else tmp = Float64(Float64(i * y) * fma(Float64(-c), x, Float64(k * y5))); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -13600000000.0], N[(N[((-y) * N[(i * x + N[((-y3) * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision], If[LessEqual[y, 4.5e+23], N[((-y5) * N[(N[(N[(i * j), $MachinePrecision] * t + N[(y0 * N[(k * y2 + N[((-j) * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(a * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 3.25e+156], N[(N[(N[(N[(y0 * c + N[((-a) * y1), $MachinePrecision]), $MachinePrecision] * y2 + N[(N[(b * a + N[((-c) * i), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] - N[(N[(y0 * b + N[((-i) * y1), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision], N[(N[(i * y), $MachinePrecision] * N[((-c) * x + N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -13600000000:\\
\;\;\;\;\left(\left(-y\right) \cdot \mathsf{fma}\left(i, x, \left(-y3\right) \cdot y4\right)\right) \cdot c\\
\mathbf{elif}\;y \leq 4.5 \cdot 10^{+23}:\\
\;\;\;\;\left(-y5\right) \cdot \left(\mathsf{fma}\left(i \cdot j, t, y0 \cdot \mathsf{fma}\left(k, y2, \left(-j\right) \cdot y3\right)\right) - a \cdot \left(t \cdot y2\right)\right)\\
\mathbf{elif}\;y \leq 3.25 \cdot 10^{+156}:\\
\;\;\;\;\left(\mathsf{fma}\left(\mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right), y2, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right) \cdot y\right) - \mathsf{fma}\left(y0, b, \left(-i\right) \cdot y1\right) \cdot j\right) \cdot x\\
\mathbf{else}:\\
\;\;\;\;\left(i \cdot y\right) \cdot \mathsf{fma}\left(-c, x, k \cdot y5\right)\\
\end{array}
\end{array}
if y < -1.36e10Initial program 30.7%
Taylor expanded in c around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites40.6%
Taylor expanded in y around -inf
Applied rewrites46.5%
if -1.36e10 < y < 4.49999999999999979e23Initial program 26.3%
Taylor expanded in y5 around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites44.6%
Taylor expanded in y around 0
Applied rewrites49.6%
if 4.49999999999999979e23 < y < 3.25000000000000014e156Initial program 20.8%
Taylor expanded in x around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites56.3%
if 3.25000000000000014e156 < y Initial program 26.2%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites57.3%
Taylor expanded in k around -inf
Applied rewrites52.9%
Taylor expanded in y around -inf
Applied rewrites71.8%
Final simplification53.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y -13600000000.0)
(* (* (- y) (fma i x (* (- y3) y4))) c)
(if (<= y 8.5e-8)
(*
(- y5)
(- (fma (* i j) t (* y0 (fma k y2 (* (- j) y3)))) (* a (* t y2))))
(if (<= y 3.35e+99)
(*
(-
(fma (fma y x (* (- t) z)) a (* (fma j t (* (- k) y)) y4))
(* (fma j x (* (- k) z)) y0))
b)
(if (<= y 7.2e+163)
(* (- i) (* j (fma t y5 (* (- x) y1))))
(* (* i y) (fma (- c) x (* k y5))))))))
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 (y <= -13600000000.0) {
tmp = (-y * fma(i, x, (-y3 * y4))) * c;
} else if (y <= 8.5e-8) {
tmp = -y5 * (fma((i * j), t, (y0 * fma(k, y2, (-j * y3)))) - (a * (t * y2)));
} else if (y <= 3.35e+99) {
tmp = (fma(fma(y, x, (-t * z)), a, (fma(j, t, (-k * y)) * y4)) - (fma(j, x, (-k * z)) * y0)) * b;
} else if (y <= 7.2e+163) {
tmp = -i * (j * fma(t, y5, (-x * y1)));
} else {
tmp = (i * y) * fma(-c, x, (k * y5));
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y <= -13600000000.0) tmp = Float64(Float64(Float64(-y) * fma(i, x, Float64(Float64(-y3) * y4))) * c); elseif (y <= 8.5e-8) tmp = Float64(Float64(-y5) * Float64(fma(Float64(i * j), t, Float64(y0 * fma(k, y2, Float64(Float64(-j) * y3)))) - Float64(a * Float64(t * y2)))); elseif (y <= 3.35e+99) tmp = Float64(Float64(fma(fma(y, x, Float64(Float64(-t) * z)), a, Float64(fma(j, t, Float64(Float64(-k) * y)) * y4)) - Float64(fma(j, x, Float64(Float64(-k) * z)) * y0)) * b); elseif (y <= 7.2e+163) tmp = Float64(Float64(-i) * Float64(j * fma(t, y5, Float64(Float64(-x) * y1)))); else tmp = Float64(Float64(i * y) * fma(Float64(-c), x, Float64(k * y5))); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -13600000000.0], N[(N[((-y) * N[(i * x + N[((-y3) * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision], If[LessEqual[y, 8.5e-8], N[((-y5) * N[(N[(N[(i * j), $MachinePrecision] * t + N[(y0 * N[(k * y2 + N[((-j) * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(a * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 3.35e+99], N[(N[(N[(N[(y * x + N[((-t) * z), $MachinePrecision]), $MachinePrecision] * a + N[(N[(j * t + N[((-k) * y), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision] - N[(N[(j * x + N[((-k) * z), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[y, 7.2e+163], N[((-i) * N[(j * N[(t * y5 + N[((-x) * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(i * y), $MachinePrecision] * N[((-c) * x + N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -13600000000:\\
\;\;\;\;\left(\left(-y\right) \cdot \mathsf{fma}\left(i, x, \left(-y3\right) \cdot y4\right)\right) \cdot c\\
\mathbf{elif}\;y \leq 8.5 \cdot 10^{-8}:\\
\;\;\;\;\left(-y5\right) \cdot \left(\mathsf{fma}\left(i \cdot j, t, y0 \cdot \mathsf{fma}\left(k, y2, \left(-j\right) \cdot y3\right)\right) - a \cdot \left(t \cdot y2\right)\right)\\
\mathbf{elif}\;y \leq 3.35 \cdot 10^{+99}:\\
\;\;\;\;\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, \left(-t\right) \cdot z\right), a, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot y4\right) - \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right) \cdot y0\right) \cdot b\\
\mathbf{elif}\;y \leq 7.2 \cdot 10^{+163}:\\
\;\;\;\;\left(-i\right) \cdot \left(j \cdot \mathsf{fma}\left(t, y5, \left(-x\right) \cdot y1\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\left(i \cdot y\right) \cdot \mathsf{fma}\left(-c, x, k \cdot y5\right)\\
\end{array}
\end{array}
if y < -1.36e10Initial program 30.7%
Taylor expanded in c around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites40.6%
Taylor expanded in y around -inf
Applied rewrites46.5%
if -1.36e10 < y < 8.49999999999999935e-8Initial program 27.9%
Taylor expanded in y5 around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites44.3%
Taylor expanded in y around 0
Applied rewrites49.5%
if 8.49999999999999935e-8 < y < 3.35000000000000012e99Initial program 13.6%
Taylor expanded in b around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites53.7%
if 3.35000000000000012e99 < y < 7.19999999999999955e163Initial program 24.9%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites50.4%
Taylor expanded in j around inf
Applied rewrites63.3%
if 7.19999999999999955e163 < y Initial program 26.3%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites58.0%
Taylor expanded in k around -inf
Applied rewrites53.1%
Taylor expanded in y around -inf
Applied rewrites74.1%
Final simplification54.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* (- y) (fma i x (* (- y3) y4))) c)))
(if (<= i -1.12e+88)
(* (* i z) (fma c t (* (- k) y1)))
(if (<= i -6.8e-81)
t_1
(if (<= i -1.15e-291)
(* (* x y2) (fma c y0 (* (- a) y1)))
(if (<= i 1.9e-141)
(* (* a z) (fma (- b) t (* y1 y3)))
(if (<= i 8.5e-43)
(* (* c (fma x y0 (* (- t) y4))) y2)
(if (<= i 1.25e+58)
(* (* i y) (fma (- c) x (* k y5)))
(if (<= i 2e+227)
(* (* i y1) (fma (- k) z (* j x)))
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 = (-y * fma(i, x, (-y3 * y4))) * c;
double tmp;
if (i <= -1.12e+88) {
tmp = (i * z) * fma(c, t, (-k * y1));
} else if (i <= -6.8e-81) {
tmp = t_1;
} else if (i <= -1.15e-291) {
tmp = (x * y2) * fma(c, y0, (-a * y1));
} else if (i <= 1.9e-141) {
tmp = (a * z) * fma(-b, t, (y1 * y3));
} else if (i <= 8.5e-43) {
tmp = (c * fma(x, y0, (-t * y4))) * y2;
} else if (i <= 1.25e+58) {
tmp = (i * y) * fma(-c, x, (k * y5));
} else if (i <= 2e+227) {
tmp = (i * y1) * fma(-k, z, (j * x));
} 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(-y) * fma(i, x, Float64(Float64(-y3) * y4))) * c) tmp = 0.0 if (i <= -1.12e+88) tmp = Float64(Float64(i * z) * fma(c, t, Float64(Float64(-k) * y1))); elseif (i <= -6.8e-81) tmp = t_1; elseif (i <= -1.15e-291) tmp = Float64(Float64(x * y2) * fma(c, y0, Float64(Float64(-a) * y1))); elseif (i <= 1.9e-141) tmp = Float64(Float64(a * z) * fma(Float64(-b), t, Float64(y1 * y3))); elseif (i <= 8.5e-43) tmp = Float64(Float64(c * fma(x, y0, Float64(Float64(-t) * y4))) * y2); elseif (i <= 1.25e+58) tmp = Float64(Float64(i * y) * fma(Float64(-c), x, Float64(k * y5))); elseif (i <= 2e+227) tmp = Float64(Float64(i * y1) * fma(Float64(-k), z, Float64(j * x))); 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[((-y) * N[(i * x + N[((-y3) * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision]}, If[LessEqual[i, -1.12e+88], N[(N[(i * z), $MachinePrecision] * N[(c * t + N[((-k) * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -6.8e-81], t$95$1, If[LessEqual[i, -1.15e-291], N[(N[(x * y2), $MachinePrecision] * N[(c * y0 + N[((-a) * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.9e-141], N[(N[(a * z), $MachinePrecision] * N[((-b) * t + N[(y1 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 8.5e-43], N[(N[(c * N[(x * y0 + N[((-t) * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[i, 1.25e+58], N[(N[(i * y), $MachinePrecision] * N[((-c) * x + N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 2e+227], N[(N[(i * y1), $MachinePrecision] * N[((-k) * z + N[(j * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\left(-y\right) \cdot \mathsf{fma}\left(i, x, \left(-y3\right) \cdot y4\right)\right) \cdot c\\
\mathbf{if}\;i \leq -1.12 \cdot 10^{+88}:\\
\;\;\;\;\left(i \cdot z\right) \cdot \mathsf{fma}\left(c, t, \left(-k\right) \cdot y1\right)\\
\mathbf{elif}\;i \leq -6.8 \cdot 10^{-81}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;i \leq -1.15 \cdot 10^{-291}:\\
\;\;\;\;\left(x \cdot y2\right) \cdot \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right)\\
\mathbf{elif}\;i \leq 1.9 \cdot 10^{-141}:\\
\;\;\;\;\left(a \cdot z\right) \cdot \mathsf{fma}\left(-b, t, y1 \cdot y3\right)\\
\mathbf{elif}\;i \leq 8.5 \cdot 10^{-43}:\\
\;\;\;\;\left(c \cdot \mathsf{fma}\left(x, y0, \left(-t\right) \cdot y4\right)\right) \cdot y2\\
\mathbf{elif}\;i \leq 1.25 \cdot 10^{+58}:\\
\;\;\;\;\left(i \cdot y\right) \cdot \mathsf{fma}\left(-c, x, k \cdot y5\right)\\
\mathbf{elif}\;i \leq 2 \cdot 10^{+227}:\\
\;\;\;\;\left(i \cdot y1\right) \cdot \mathsf{fma}\left(-k, z, j \cdot x\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if i < -1.12000000000000006e88Initial program 20.9%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites65.2%
Taylor expanded in z around -inf
Applied rewrites61.2%
if -1.12000000000000006e88 < i < -6.7999999999999997e-81 or 2.0000000000000002e227 < i Initial program 23.6%
Taylor expanded in c around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites45.0%
Taylor expanded in y around -inf
Applied rewrites47.3%
if -6.7999999999999997e-81 < i < -1.15e-291Initial program 28.5%
Taylor expanded in y2 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites47.8%
Taylor expanded in c around inf
Applied rewrites37.0%
Taylor expanded in x around inf
Applied rewrites43.5%
if -1.15e-291 < i < 1.89999999999999993e-141Initial program 28.2%
Taylor expanded in z around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites49.1%
Taylor expanded in y0 around inf
Applied rewrites33.7%
Taylor expanded in b around 0
Applied rewrites17.6%
Taylor expanded in a around -inf
Applied rewrites51.7%
if 1.89999999999999993e-141 < i < 8.50000000000000056e-43Initial program 26.3%
Taylor expanded in y2 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites47.4%
Taylor expanded in c around inf
Applied rewrites54.2%
if 8.50000000000000056e-43 < i < 1.24999999999999996e58Initial program 36.7%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites42.0%
Taylor expanded in k around -inf
Applied rewrites37.2%
Taylor expanded in y around -inf
Applied rewrites55.4%
if 1.24999999999999996e58 < i < 2.0000000000000002e227Initial program 25.0%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites47.7%
Taylor expanded in k around -inf
Applied rewrites34.3%
Taylor expanded in y1 around inf
Applied rewrites53.9%
Final simplification51.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y -13600000000.0)
(* (* (- y) (fma i x (* (- y3) y4))) c)
(if (<= y 6.8e+19)
(*
(- y5)
(- (fma (* i j) t (* y0 (fma k y2 (* (- j) y3)))) (* a (* t y2))))
(if (<= y 3.55e+168)
(* (* x (fma a y (* (- j) y0))) b)
(* (* i y) (fma (- c) x (* k y5)))))))
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 (y <= -13600000000.0) {
tmp = (-y * fma(i, x, (-y3 * y4))) * c;
} else if (y <= 6.8e+19) {
tmp = -y5 * (fma((i * j), t, (y0 * fma(k, y2, (-j * y3)))) - (a * (t * y2)));
} else if (y <= 3.55e+168) {
tmp = (x * fma(a, y, (-j * y0))) * b;
} else {
tmp = (i * y) * fma(-c, x, (k * y5));
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y <= -13600000000.0) tmp = Float64(Float64(Float64(-y) * fma(i, x, Float64(Float64(-y3) * y4))) * c); elseif (y <= 6.8e+19) tmp = Float64(Float64(-y5) * Float64(fma(Float64(i * j), t, Float64(y0 * fma(k, y2, Float64(Float64(-j) * y3)))) - Float64(a * Float64(t * y2)))); elseif (y <= 3.55e+168) tmp = Float64(Float64(x * fma(a, y, Float64(Float64(-j) * y0))) * b); else tmp = Float64(Float64(i * y) * fma(Float64(-c), x, Float64(k * y5))); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -13600000000.0], N[(N[((-y) * N[(i * x + N[((-y3) * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision], If[LessEqual[y, 6.8e+19], N[((-y5) * N[(N[(N[(i * j), $MachinePrecision] * t + N[(y0 * N[(k * y2 + N[((-j) * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(a * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 3.55e+168], N[(N[(x * N[(a * y + N[((-j) * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision], N[(N[(i * y), $MachinePrecision] * N[((-c) * x + N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -13600000000:\\
\;\;\;\;\left(\left(-y\right) \cdot \mathsf{fma}\left(i, x, \left(-y3\right) \cdot y4\right)\right) \cdot c\\
\mathbf{elif}\;y \leq 6.8 \cdot 10^{+19}:\\
\;\;\;\;\left(-y5\right) \cdot \left(\mathsf{fma}\left(i \cdot j, t, y0 \cdot \mathsf{fma}\left(k, y2, \left(-j\right) \cdot y3\right)\right) - a \cdot \left(t \cdot y2\right)\right)\\
\mathbf{elif}\;y \leq 3.55 \cdot 10^{+168}:\\
\;\;\;\;\left(x \cdot \mathsf{fma}\left(a, y, \left(-j\right) \cdot y0\right)\right) \cdot b\\
\mathbf{else}:\\
\;\;\;\;\left(i \cdot y\right) \cdot \mathsf{fma}\left(-c, x, k \cdot y5\right)\\
\end{array}
\end{array}
if y < -1.36e10Initial program 30.7%
Taylor expanded in c around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites40.6%
Taylor expanded in y around -inf
Applied rewrites46.5%
if -1.36e10 < y < 6.8e19Initial program 26.5%
Taylor expanded in y5 around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites44.9%
Taylor expanded in y around 0
Applied rewrites50.0%
if 6.8e19 < y < 3.55000000000000006e168Initial program 20.7%
Taylor expanded in b around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites41.6%
Taylor expanded in x around inf
Applied rewrites44.7%
if 3.55000000000000006e168 < y Initial program 26.3%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites58.0%
Taylor expanded in k around -inf
Applied rewrites53.1%
Taylor expanded in y around -inf
Applied rewrites74.1%
Final simplification52.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= i -1.35e-74)
(* (* i z) (fma c t (* (- k) y1)))
(if (<= i -1.15e-291)
(* (* x y2) (fma c y0 (* (- a) y1)))
(if (<= i 1.26e-141)
(* (* a z) (fma (- b) t (* y1 y3)))
(if (<= i 7e-43)
(* (* c y2) (fma x y0 (* (- t) y4)))
(if (or (<= i 1.25e+58) (not (<= i 3e+229)))
(* (* i y) (fma (- c) x (* k y5)))
(* (* i y1) (fma (- k) z (* j x)))))))))
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 (i <= -1.35e-74) {
tmp = (i * z) * fma(c, t, (-k * y1));
} else if (i <= -1.15e-291) {
tmp = (x * y2) * fma(c, y0, (-a * y1));
} else if (i <= 1.26e-141) {
tmp = (a * z) * fma(-b, t, (y1 * y3));
} else if (i <= 7e-43) {
tmp = (c * y2) * fma(x, y0, (-t * y4));
} else if ((i <= 1.25e+58) || !(i <= 3e+229)) {
tmp = (i * y) * fma(-c, x, (k * y5));
} else {
tmp = (i * y1) * fma(-k, z, (j * x));
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (i <= -1.35e-74) tmp = Float64(Float64(i * z) * fma(c, t, Float64(Float64(-k) * y1))); elseif (i <= -1.15e-291) tmp = Float64(Float64(x * y2) * fma(c, y0, Float64(Float64(-a) * y1))); elseif (i <= 1.26e-141) tmp = Float64(Float64(a * z) * fma(Float64(-b), t, Float64(y1 * y3))); elseif (i <= 7e-43) tmp = Float64(Float64(c * y2) * fma(x, y0, Float64(Float64(-t) * y4))); elseif ((i <= 1.25e+58) || !(i <= 3e+229)) tmp = Float64(Float64(i * y) * fma(Float64(-c), x, Float64(k * y5))); else tmp = Float64(Float64(i * y1) * fma(Float64(-k), z, Float64(j * x))); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[i, -1.35e-74], N[(N[(i * z), $MachinePrecision] * N[(c * t + N[((-k) * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -1.15e-291], N[(N[(x * y2), $MachinePrecision] * N[(c * y0 + N[((-a) * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.26e-141], N[(N[(a * z), $MachinePrecision] * N[((-b) * t + N[(y1 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 7e-43], N[(N[(c * y2), $MachinePrecision] * N[(x * y0 + N[((-t) * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[i, 1.25e+58], N[Not[LessEqual[i, 3e+229]], $MachinePrecision]], N[(N[(i * y), $MachinePrecision] * N[((-c) * x + N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(i * y1), $MachinePrecision] * N[((-k) * z + N[(j * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;i \leq -1.35 \cdot 10^{-74}:\\
\;\;\;\;\left(i \cdot z\right) \cdot \mathsf{fma}\left(c, t, \left(-k\right) \cdot y1\right)\\
\mathbf{elif}\;i \leq -1.15 \cdot 10^{-291}:\\
\;\;\;\;\left(x \cdot y2\right) \cdot \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right)\\
\mathbf{elif}\;i \leq 1.26 \cdot 10^{-141}:\\
\;\;\;\;\left(a \cdot z\right) \cdot \mathsf{fma}\left(-b, t, y1 \cdot y3\right)\\
\mathbf{elif}\;i \leq 7 \cdot 10^{-43}:\\
\;\;\;\;\left(c \cdot y2\right) \cdot \mathsf{fma}\left(x, y0, \left(-t\right) \cdot y4\right)\\
\mathbf{elif}\;i \leq 1.25 \cdot 10^{+58} \lor \neg \left(i \leq 3 \cdot 10^{+229}\right):\\
\;\;\;\;\left(i \cdot y\right) \cdot \mathsf{fma}\left(-c, x, k \cdot y5\right)\\
\mathbf{else}:\\
\;\;\;\;\left(i \cdot y1\right) \cdot \mathsf{fma}\left(-k, z, j \cdot x\right)\\
\end{array}
\end{array}
if i < -1.35000000000000009e-74Initial program 24.7%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites57.3%
Taylor expanded in z around -inf
Applied rewrites46.5%
if -1.35000000000000009e-74 < i < -1.15e-291Initial program 28.8%
Taylor expanded in y2 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites44.7%
Taylor expanded in c around inf
Applied rewrites34.7%
Taylor expanded in x around inf
Applied rewrites40.9%
if -1.15e-291 < i < 1.26e-141Initial program 28.2%
Taylor expanded in z around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites49.1%
Taylor expanded in y0 around inf
Applied rewrites33.7%
Taylor expanded in b around 0
Applied rewrites17.6%
Taylor expanded in a around -inf
Applied rewrites51.7%
if 1.26e-141 < i < 6.99999999999999994e-43Initial program 26.3%
Taylor expanded in y2 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites47.4%
Taylor expanded in c around inf
Applied rewrites49.5%
if 6.99999999999999994e-43 < i < 1.24999999999999996e58 or 2.99999999999999998e229 < i Initial program 25.8%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites49.5%
Taylor expanded in k around -inf
Applied rewrites39.2%
Taylor expanded in y around -inf
Applied rewrites57.0%
if 1.24999999999999996e58 < i < 2.99999999999999998e229Initial program 24.3%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites49.1%
Taylor expanded in k around -inf
Applied rewrites36.1%
Taylor expanded in y1 around inf
Applied rewrites55.2%
Final simplification49.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= i -1.05e-62)
(* (* i z) (fma c t (* (- k) y1)))
(if (<= i -1.65e-150)
(* (* j t) (fma (- i) y5 (* b y4)))
(if (<= i 1.26e-141)
(* (* a z) (fma (- b) t (* y1 y3)))
(if (<= i 7e-43)
(* (* c y2) (fma x y0 (* (- t) y4)))
(if (or (<= i 1.25e+58) (not (<= i 3e+229)))
(* (* i y) (fma (- c) x (* k y5)))
(* (* i y1) (fma (- k) z (* j x)))))))))
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 (i <= -1.05e-62) {
tmp = (i * z) * fma(c, t, (-k * y1));
} else if (i <= -1.65e-150) {
tmp = (j * t) * fma(-i, y5, (b * y4));
} else if (i <= 1.26e-141) {
tmp = (a * z) * fma(-b, t, (y1 * y3));
} else if (i <= 7e-43) {
tmp = (c * y2) * fma(x, y0, (-t * y4));
} else if ((i <= 1.25e+58) || !(i <= 3e+229)) {
tmp = (i * y) * fma(-c, x, (k * y5));
} else {
tmp = (i * y1) * fma(-k, z, (j * x));
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (i <= -1.05e-62) tmp = Float64(Float64(i * z) * fma(c, t, Float64(Float64(-k) * y1))); elseif (i <= -1.65e-150) tmp = Float64(Float64(j * t) * fma(Float64(-i), y5, Float64(b * y4))); elseif (i <= 1.26e-141) tmp = Float64(Float64(a * z) * fma(Float64(-b), t, Float64(y1 * y3))); elseif (i <= 7e-43) tmp = Float64(Float64(c * y2) * fma(x, y0, Float64(Float64(-t) * y4))); elseif ((i <= 1.25e+58) || !(i <= 3e+229)) tmp = Float64(Float64(i * y) * fma(Float64(-c), x, Float64(k * y5))); else tmp = Float64(Float64(i * y1) * fma(Float64(-k), z, Float64(j * x))); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[i, -1.05e-62], N[(N[(i * z), $MachinePrecision] * N[(c * t + N[((-k) * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -1.65e-150], N[(N[(j * t), $MachinePrecision] * N[((-i) * y5 + N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.26e-141], N[(N[(a * z), $MachinePrecision] * N[((-b) * t + N[(y1 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 7e-43], N[(N[(c * y2), $MachinePrecision] * N[(x * y0 + N[((-t) * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[i, 1.25e+58], N[Not[LessEqual[i, 3e+229]], $MachinePrecision]], N[(N[(i * y), $MachinePrecision] * N[((-c) * x + N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(i * y1), $MachinePrecision] * N[((-k) * z + N[(j * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;i \leq -1.05 \cdot 10^{-62}:\\
\;\;\;\;\left(i \cdot z\right) \cdot \mathsf{fma}\left(c, t, \left(-k\right) \cdot y1\right)\\
\mathbf{elif}\;i \leq -1.65 \cdot 10^{-150}:\\
\;\;\;\;\left(j \cdot t\right) \cdot \mathsf{fma}\left(-i, y5, b \cdot y4\right)\\
\mathbf{elif}\;i \leq 1.26 \cdot 10^{-141}:\\
\;\;\;\;\left(a \cdot z\right) \cdot \mathsf{fma}\left(-b, t, y1 \cdot y3\right)\\
\mathbf{elif}\;i \leq 7 \cdot 10^{-43}:\\
\;\;\;\;\left(c \cdot y2\right) \cdot \mathsf{fma}\left(x, y0, \left(-t\right) \cdot y4\right)\\
\mathbf{elif}\;i \leq 1.25 \cdot 10^{+58} \lor \neg \left(i \leq 3 \cdot 10^{+229}\right):\\
\;\;\;\;\left(i \cdot y\right) \cdot \mathsf{fma}\left(-c, x, k \cdot y5\right)\\
\mathbf{else}:\\
\;\;\;\;\left(i \cdot y1\right) \cdot \mathsf{fma}\left(-k, z, j \cdot x\right)\\
\end{array}
\end{array}
if i < -1.05e-62Initial program 23.2%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites56.2%
Taylor expanded in z around -inf
Applied rewrites47.6%
if -1.05e-62 < i < -1.6500000000000001e-150Initial program 27.1%
Taylor expanded in t around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites54.5%
Taylor expanded in j around inf
Applied rewrites45.9%
if -1.6500000000000001e-150 < i < 1.26e-141Initial program 30.1%
Taylor expanded in z around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites44.5%
Taylor expanded in y0 around inf
Applied rewrites27.0%
Taylor expanded in b around 0
Applied rewrites12.7%
Taylor expanded in a around -inf
Applied rewrites45.0%
if 1.26e-141 < i < 6.99999999999999994e-43Initial program 26.3%
Taylor expanded in y2 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites47.4%
Taylor expanded in c around inf
Applied rewrites49.5%
if 6.99999999999999994e-43 < i < 1.24999999999999996e58 or 2.99999999999999998e229 < i Initial program 25.8%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites49.5%
Taylor expanded in k around -inf
Applied rewrites39.2%
Taylor expanded in y around -inf
Applied rewrites57.0%
if 1.24999999999999996e58 < i < 2.99999999999999998e229Initial program 24.3%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites49.1%
Taylor expanded in k around -inf
Applied rewrites36.1%
Taylor expanded in y1 around inf
Applied rewrites55.2%
Final simplification49.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y -4.4e+49)
(* (* (- y) (fma i x (* (- y3) y4))) c)
(if (<= y -4.1e-32)
(* (* y4 (fma k y1 (* (- c) t))) y2)
(if (<= y -5.6e-243)
(* y0 (* z (fma b k (* (- c) y3))))
(if (<= y 9.5e-176)
(* (- i) (* j (fma t y5 (* (- x) y1))))
(if (<= y 2.15e+24)
(* (* c (fma i z (* (- y2) y4))) t)
(if (<= y 3.55e+168)
(* (* x (fma a y (* (- j) y0))) b)
(* (* i y) (fma (- c) x (* k y5))))))))))
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 (y <= -4.4e+49) {
tmp = (-y * fma(i, x, (-y3 * y4))) * c;
} else if (y <= -4.1e-32) {
tmp = (y4 * fma(k, y1, (-c * t))) * y2;
} else if (y <= -5.6e-243) {
tmp = y0 * (z * fma(b, k, (-c * y3)));
} else if (y <= 9.5e-176) {
tmp = -i * (j * fma(t, y5, (-x * y1)));
} else if (y <= 2.15e+24) {
tmp = (c * fma(i, z, (-y2 * y4))) * t;
} else if (y <= 3.55e+168) {
tmp = (x * fma(a, y, (-j * y0))) * b;
} else {
tmp = (i * y) * fma(-c, x, (k * y5));
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y <= -4.4e+49) tmp = Float64(Float64(Float64(-y) * fma(i, x, Float64(Float64(-y3) * y4))) * c); elseif (y <= -4.1e-32) tmp = Float64(Float64(y4 * fma(k, y1, Float64(Float64(-c) * t))) * y2); elseif (y <= -5.6e-243) tmp = Float64(y0 * Float64(z * fma(b, k, Float64(Float64(-c) * y3)))); elseif (y <= 9.5e-176) tmp = Float64(Float64(-i) * Float64(j * fma(t, y5, Float64(Float64(-x) * y1)))); elseif (y <= 2.15e+24) tmp = Float64(Float64(c * fma(i, z, Float64(Float64(-y2) * y4))) * t); elseif (y <= 3.55e+168) tmp = Float64(Float64(x * fma(a, y, Float64(Float64(-j) * y0))) * b); else tmp = Float64(Float64(i * y) * fma(Float64(-c), x, Float64(k * y5))); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -4.4e+49], N[(N[((-y) * N[(i * x + N[((-y3) * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision], If[LessEqual[y, -4.1e-32], N[(N[(y4 * N[(k * y1 + N[((-c) * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[y, -5.6e-243], N[(y0 * N[(z * N[(b * k + N[((-c) * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 9.5e-176], N[((-i) * N[(j * N[(t * y5 + N[((-x) * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2.15e+24], N[(N[(c * N[(i * z + N[((-y2) * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision], If[LessEqual[y, 3.55e+168], N[(N[(x * N[(a * y + N[((-j) * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision], N[(N[(i * y), $MachinePrecision] * N[((-c) * x + N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -4.4 \cdot 10^{+49}:\\
\;\;\;\;\left(\left(-y\right) \cdot \mathsf{fma}\left(i, x, \left(-y3\right) \cdot y4\right)\right) \cdot c\\
\mathbf{elif}\;y \leq -4.1 \cdot 10^{-32}:\\
\;\;\;\;\left(y4 \cdot \mathsf{fma}\left(k, y1, \left(-c\right) \cdot t\right)\right) \cdot y2\\
\mathbf{elif}\;y \leq -5.6 \cdot 10^{-243}:\\
\;\;\;\;y0 \cdot \left(z \cdot \mathsf{fma}\left(b, k, \left(-c\right) \cdot y3\right)\right)\\
\mathbf{elif}\;y \leq 9.5 \cdot 10^{-176}:\\
\;\;\;\;\left(-i\right) \cdot \left(j \cdot \mathsf{fma}\left(t, y5, \left(-x\right) \cdot y1\right)\right)\\
\mathbf{elif}\;y \leq 2.15 \cdot 10^{+24}:\\
\;\;\;\;\left(c \cdot \mathsf{fma}\left(i, z, \left(-y2\right) \cdot y4\right)\right) \cdot t\\
\mathbf{elif}\;y \leq 3.55 \cdot 10^{+168}:\\
\;\;\;\;\left(x \cdot \mathsf{fma}\left(a, y, \left(-j\right) \cdot y0\right)\right) \cdot b\\
\mathbf{else}:\\
\;\;\;\;\left(i \cdot y\right) \cdot \mathsf{fma}\left(-c, x, k \cdot y5\right)\\
\end{array}
\end{array}
if y < -4.4000000000000001e49Initial program 28.1%
Taylor expanded in c around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites43.0%
Taylor expanded in y around -inf
Applied rewrites49.9%
if -4.4000000000000001e49 < y < -4.09999999999999975e-32Initial program 33.2%
Taylor expanded in y2 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites60.3%
Taylor expanded in y4 around inf
Applied rewrites61.9%
if -4.09999999999999975e-32 < y < -5.59999999999999987e-243Initial program 31.2%
Taylor expanded in z around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites51.5%
Taylor expanded in y0 around inf
Applied rewrites45.6%
Applied rewrites47.7%
if -5.59999999999999987e-243 < y < 9.5e-176Initial program 21.6%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites41.1%
Taylor expanded in j around inf
Applied rewrites45.8%
if 9.5e-176 < y < 2.14999999999999994e24Initial program 26.2%
Taylor expanded in t around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites43.9%
Taylor expanded in c around inf
Applied rewrites42.3%
if 2.14999999999999994e24 < y < 3.55000000000000006e168Initial program 21.2%
Taylor expanded in b around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites40.0%
Taylor expanded in x around inf
Applied rewrites45.9%
if 3.55000000000000006e168 < y Initial program 26.3%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites58.0%
Taylor expanded in k around -inf
Applied rewrites53.1%
Taylor expanded in y around -inf
Applied rewrites74.1%
Final simplification51.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y -4.4e+49)
(* (* (- y) (fma i x (* (- y3) y4))) c)
(if (<= y -4.1e-32)
(* (* y4 (fma k y1 (* (- c) t))) y2)
(if (<= y -1.45e-240)
(* y0 (* z (fma b k (* (- c) y3))))
(if (<= y 4.9e-145)
(* (* (- a) (fma x y1 (* (- t) y5))) y2)
(if (<= y 2.15e+24)
(* (* c (fma i z (* (- y2) y4))) t)
(if (<= y 3.55e+168)
(* (* x (fma a y (* (- j) y0))) b)
(* (* i y) (fma (- c) x (* k y5))))))))))
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 (y <= -4.4e+49) {
tmp = (-y * fma(i, x, (-y3 * y4))) * c;
} else if (y <= -4.1e-32) {
tmp = (y4 * fma(k, y1, (-c * t))) * y2;
} else if (y <= -1.45e-240) {
tmp = y0 * (z * fma(b, k, (-c * y3)));
} else if (y <= 4.9e-145) {
tmp = (-a * fma(x, y1, (-t * y5))) * y2;
} else if (y <= 2.15e+24) {
tmp = (c * fma(i, z, (-y2 * y4))) * t;
} else if (y <= 3.55e+168) {
tmp = (x * fma(a, y, (-j * y0))) * b;
} else {
tmp = (i * y) * fma(-c, x, (k * y5));
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y <= -4.4e+49) tmp = Float64(Float64(Float64(-y) * fma(i, x, Float64(Float64(-y3) * y4))) * c); elseif (y <= -4.1e-32) tmp = Float64(Float64(y4 * fma(k, y1, Float64(Float64(-c) * t))) * y2); elseif (y <= -1.45e-240) tmp = Float64(y0 * Float64(z * fma(b, k, Float64(Float64(-c) * y3)))); elseif (y <= 4.9e-145) tmp = Float64(Float64(Float64(-a) * fma(x, y1, Float64(Float64(-t) * y5))) * y2); elseif (y <= 2.15e+24) tmp = Float64(Float64(c * fma(i, z, Float64(Float64(-y2) * y4))) * t); elseif (y <= 3.55e+168) tmp = Float64(Float64(x * fma(a, y, Float64(Float64(-j) * y0))) * b); else tmp = Float64(Float64(i * y) * fma(Float64(-c), x, Float64(k * y5))); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -4.4e+49], N[(N[((-y) * N[(i * x + N[((-y3) * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision], If[LessEqual[y, -4.1e-32], N[(N[(y4 * N[(k * y1 + N[((-c) * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[y, -1.45e-240], N[(y0 * N[(z * N[(b * k + N[((-c) * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 4.9e-145], N[(N[((-a) * N[(x * y1 + N[((-t) * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[y, 2.15e+24], N[(N[(c * N[(i * z + N[((-y2) * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision], If[LessEqual[y, 3.55e+168], N[(N[(x * N[(a * y + N[((-j) * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision], N[(N[(i * y), $MachinePrecision] * N[((-c) * x + N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -4.4 \cdot 10^{+49}:\\
\;\;\;\;\left(\left(-y\right) \cdot \mathsf{fma}\left(i, x, \left(-y3\right) \cdot y4\right)\right) \cdot c\\
\mathbf{elif}\;y \leq -4.1 \cdot 10^{-32}:\\
\;\;\;\;\left(y4 \cdot \mathsf{fma}\left(k, y1, \left(-c\right) \cdot t\right)\right) \cdot y2\\
\mathbf{elif}\;y \leq -1.45 \cdot 10^{-240}:\\
\;\;\;\;y0 \cdot \left(z \cdot \mathsf{fma}\left(b, k, \left(-c\right) \cdot y3\right)\right)\\
\mathbf{elif}\;y \leq 4.9 \cdot 10^{-145}:\\
\;\;\;\;\left(\left(-a\right) \cdot \mathsf{fma}\left(x, y1, \left(-t\right) \cdot y5\right)\right) \cdot y2\\
\mathbf{elif}\;y \leq 2.15 \cdot 10^{+24}:\\
\;\;\;\;\left(c \cdot \mathsf{fma}\left(i, z, \left(-y2\right) \cdot y4\right)\right) \cdot t\\
\mathbf{elif}\;y \leq 3.55 \cdot 10^{+168}:\\
\;\;\;\;\left(x \cdot \mathsf{fma}\left(a, y, \left(-j\right) \cdot y0\right)\right) \cdot b\\
\mathbf{else}:\\
\;\;\;\;\left(i \cdot y\right) \cdot \mathsf{fma}\left(-c, x, k \cdot y5\right)\\
\end{array}
\end{array}
if y < -4.4000000000000001e49Initial program 28.1%
Taylor expanded in c around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites43.0%
Taylor expanded in y around -inf
Applied rewrites49.9%
if -4.4000000000000001e49 < y < -4.09999999999999975e-32Initial program 33.2%
Taylor expanded in y2 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites60.3%
Taylor expanded in y4 around inf
Applied rewrites61.9%
if -4.09999999999999975e-32 < y < -1.4500000000000001e-240Initial program 32.7%
Taylor expanded in z around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites51.3%
Taylor expanded in y0 around inf
Applied rewrites47.6%
Applied rewrites49.9%
if -1.4500000000000001e-240 < y < 4.89999999999999967e-145Initial program 22.1%
Taylor expanded in y2 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites40.6%
Taylor expanded in a around -inf
Applied rewrites38.7%
if 4.89999999999999967e-145 < y < 2.14999999999999994e24Initial program 25.1%
Taylor expanded in t around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites40.5%
Taylor expanded in c around inf
Applied rewrites43.6%
if 2.14999999999999994e24 < y < 3.55000000000000006e168Initial program 21.2%
Taylor expanded in b around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites40.0%
Taylor expanded in x around inf
Applied rewrites45.9%
if 3.55000000000000006e168 < y Initial program 26.3%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites58.0%
Taylor expanded in k around -inf
Applied rewrites53.1%
Taylor expanded in y around -inf
Applied rewrites74.1%
Final simplification50.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= i -1.35e-74)
(* (* i z) (fma c t (* (- k) y1)))
(if (<= i -1.15e-291)
(* (* x y2) (fma c y0 (* (- a) y1)))
(if (<= i 1.9e-141)
(* (* a z) (fma (- b) t (* y1 y3)))
(if (<= i 8.5e-43)
(* (* c (fma x y0 (* (- t) y4))) y2)
(if (<= i 1.25e+58)
(* (* i y) (fma (- c) x (* k y5)))
(if (<= i 1.22e+235)
(* (* i y1) (fma (- k) z (* j x)))
(* (* x (fma y0 y2 (* (- i) y))) 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 (i <= -1.35e-74) {
tmp = (i * z) * fma(c, t, (-k * y1));
} else if (i <= -1.15e-291) {
tmp = (x * y2) * fma(c, y0, (-a * y1));
} else if (i <= 1.9e-141) {
tmp = (a * z) * fma(-b, t, (y1 * y3));
} else if (i <= 8.5e-43) {
tmp = (c * fma(x, y0, (-t * y4))) * y2;
} else if (i <= 1.25e+58) {
tmp = (i * y) * fma(-c, x, (k * y5));
} else if (i <= 1.22e+235) {
tmp = (i * y1) * fma(-k, z, (j * x));
} else {
tmp = (x * fma(y0, y2, (-i * y))) * 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 (i <= -1.35e-74) tmp = Float64(Float64(i * z) * fma(c, t, Float64(Float64(-k) * y1))); elseif (i <= -1.15e-291) tmp = Float64(Float64(x * y2) * fma(c, y0, Float64(Float64(-a) * y1))); elseif (i <= 1.9e-141) tmp = Float64(Float64(a * z) * fma(Float64(-b), t, Float64(y1 * y3))); elseif (i <= 8.5e-43) tmp = Float64(Float64(c * fma(x, y0, Float64(Float64(-t) * y4))) * y2); elseif (i <= 1.25e+58) tmp = Float64(Float64(i * y) * fma(Float64(-c), x, Float64(k * y5))); elseif (i <= 1.22e+235) tmp = Float64(Float64(i * y1) * fma(Float64(-k), z, Float64(j * x))); else tmp = Float64(Float64(x * fma(y0, y2, Float64(Float64(-i) * y))) * c); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[i, -1.35e-74], N[(N[(i * z), $MachinePrecision] * N[(c * t + N[((-k) * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -1.15e-291], N[(N[(x * y2), $MachinePrecision] * N[(c * y0 + N[((-a) * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.9e-141], N[(N[(a * z), $MachinePrecision] * N[((-b) * t + N[(y1 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 8.5e-43], N[(N[(c * N[(x * y0 + N[((-t) * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[i, 1.25e+58], N[(N[(i * y), $MachinePrecision] * N[((-c) * x + N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.22e+235], N[(N[(i * y1), $MachinePrecision] * N[((-k) * z + N[(j * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(x * N[(y0 * y2 + N[((-i) * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;i \leq -1.35 \cdot 10^{-74}:\\
\;\;\;\;\left(i \cdot z\right) \cdot \mathsf{fma}\left(c, t, \left(-k\right) \cdot y1\right)\\
\mathbf{elif}\;i \leq -1.15 \cdot 10^{-291}:\\
\;\;\;\;\left(x \cdot y2\right) \cdot \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right)\\
\mathbf{elif}\;i \leq 1.9 \cdot 10^{-141}:\\
\;\;\;\;\left(a \cdot z\right) \cdot \mathsf{fma}\left(-b, t, y1 \cdot y3\right)\\
\mathbf{elif}\;i \leq 8.5 \cdot 10^{-43}:\\
\;\;\;\;\left(c \cdot \mathsf{fma}\left(x, y0, \left(-t\right) \cdot y4\right)\right) \cdot y2\\
\mathbf{elif}\;i \leq 1.25 \cdot 10^{+58}:\\
\;\;\;\;\left(i \cdot y\right) \cdot \mathsf{fma}\left(-c, x, k \cdot y5\right)\\
\mathbf{elif}\;i \leq 1.22 \cdot 10^{+235}:\\
\;\;\;\;\left(i \cdot y1\right) \cdot \mathsf{fma}\left(-k, z, j \cdot x\right)\\
\mathbf{else}:\\
\;\;\;\;\left(x \cdot \mathsf{fma}\left(y0, y2, \left(-i\right) \cdot y\right)\right) \cdot c\\
\end{array}
\end{array}
if i < -1.35000000000000009e-74Initial program 24.7%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites57.3%
Taylor expanded in z around -inf
Applied rewrites46.5%
if -1.35000000000000009e-74 < i < -1.15e-291Initial program 28.8%
Taylor expanded in y2 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites44.7%
Taylor expanded in c around inf
Applied rewrites34.7%
Taylor expanded in x around inf
Applied rewrites40.9%
if -1.15e-291 < i < 1.89999999999999993e-141Initial program 28.2%
Taylor expanded in z around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites49.1%
Taylor expanded in y0 around inf
Applied rewrites33.7%
Taylor expanded in b around 0
Applied rewrites17.6%
Taylor expanded in a around -inf
Applied rewrites51.7%
if 1.89999999999999993e-141 < i < 8.50000000000000056e-43Initial program 26.3%
Taylor expanded in y2 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites47.4%
Taylor expanded in c around inf
Applied rewrites54.2%
if 8.50000000000000056e-43 < i < 1.24999999999999996e58Initial program 36.7%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites42.0%
Taylor expanded in k around -inf
Applied rewrites37.2%
Taylor expanded in y around -inf
Applied rewrites55.4%
if 1.24999999999999996e58 < i < 1.22000000000000003e235Initial program 23.7%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites47.9%
Taylor expanded in k around -inf
Applied rewrites35.1%
Taylor expanded in y1 around inf
Applied rewrites53.7%
if 1.22000000000000003e235 < i Initial program 12.5%
Taylor expanded in c around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites67.0%
Taylor expanded in x around inf
Applied rewrites63.0%
Final simplification49.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= i -1.35e-74)
(* (* i z) (fma c t (* (- k) y1)))
(if (<= i -1.15e-291)
(* (* x y2) (fma c y0 (* (- a) y1)))
(if (<= i 1.26e-141)
(* (* a z) (fma (- b) t (* y1 y3)))
(if (<= i 7e-43)
(* (* c y2) (fma x y0 (* (- t) y4)))
(if (<= i 1.25e+58)
(* (* i y) (fma (- c) x (* k y5)))
(if (<= i 1.22e+235)
(* (* i y1) (fma (- k) z (* j x)))
(* (* x (fma y0 y2 (* (- i) y))) 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 (i <= -1.35e-74) {
tmp = (i * z) * fma(c, t, (-k * y1));
} else if (i <= -1.15e-291) {
tmp = (x * y2) * fma(c, y0, (-a * y1));
} else if (i <= 1.26e-141) {
tmp = (a * z) * fma(-b, t, (y1 * y3));
} else if (i <= 7e-43) {
tmp = (c * y2) * fma(x, y0, (-t * y4));
} else if (i <= 1.25e+58) {
tmp = (i * y) * fma(-c, x, (k * y5));
} else if (i <= 1.22e+235) {
tmp = (i * y1) * fma(-k, z, (j * x));
} else {
tmp = (x * fma(y0, y2, (-i * y))) * 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 (i <= -1.35e-74) tmp = Float64(Float64(i * z) * fma(c, t, Float64(Float64(-k) * y1))); elseif (i <= -1.15e-291) tmp = Float64(Float64(x * y2) * fma(c, y0, Float64(Float64(-a) * y1))); elseif (i <= 1.26e-141) tmp = Float64(Float64(a * z) * fma(Float64(-b), t, Float64(y1 * y3))); elseif (i <= 7e-43) tmp = Float64(Float64(c * y2) * fma(x, y0, Float64(Float64(-t) * y4))); elseif (i <= 1.25e+58) tmp = Float64(Float64(i * y) * fma(Float64(-c), x, Float64(k * y5))); elseif (i <= 1.22e+235) tmp = Float64(Float64(i * y1) * fma(Float64(-k), z, Float64(j * x))); else tmp = Float64(Float64(x * fma(y0, y2, Float64(Float64(-i) * y))) * c); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[i, -1.35e-74], N[(N[(i * z), $MachinePrecision] * N[(c * t + N[((-k) * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -1.15e-291], N[(N[(x * y2), $MachinePrecision] * N[(c * y0 + N[((-a) * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.26e-141], N[(N[(a * z), $MachinePrecision] * N[((-b) * t + N[(y1 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 7e-43], N[(N[(c * y2), $MachinePrecision] * N[(x * y0 + N[((-t) * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.25e+58], N[(N[(i * y), $MachinePrecision] * N[((-c) * x + N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.22e+235], N[(N[(i * y1), $MachinePrecision] * N[((-k) * z + N[(j * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(x * N[(y0 * y2 + N[((-i) * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;i \leq -1.35 \cdot 10^{-74}:\\
\;\;\;\;\left(i \cdot z\right) \cdot \mathsf{fma}\left(c, t, \left(-k\right) \cdot y1\right)\\
\mathbf{elif}\;i \leq -1.15 \cdot 10^{-291}:\\
\;\;\;\;\left(x \cdot y2\right) \cdot \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right)\\
\mathbf{elif}\;i \leq 1.26 \cdot 10^{-141}:\\
\;\;\;\;\left(a \cdot z\right) \cdot \mathsf{fma}\left(-b, t, y1 \cdot y3\right)\\
\mathbf{elif}\;i \leq 7 \cdot 10^{-43}:\\
\;\;\;\;\left(c \cdot y2\right) \cdot \mathsf{fma}\left(x, y0, \left(-t\right) \cdot y4\right)\\
\mathbf{elif}\;i \leq 1.25 \cdot 10^{+58}:\\
\;\;\;\;\left(i \cdot y\right) \cdot \mathsf{fma}\left(-c, x, k \cdot y5\right)\\
\mathbf{elif}\;i \leq 1.22 \cdot 10^{+235}:\\
\;\;\;\;\left(i \cdot y1\right) \cdot \mathsf{fma}\left(-k, z, j \cdot x\right)\\
\mathbf{else}:\\
\;\;\;\;\left(x \cdot \mathsf{fma}\left(y0, y2, \left(-i\right) \cdot y\right)\right) \cdot c\\
\end{array}
\end{array}
if i < -1.35000000000000009e-74Initial program 24.7%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites57.3%
Taylor expanded in z around -inf
Applied rewrites46.5%
if -1.35000000000000009e-74 < i < -1.15e-291Initial program 28.8%
Taylor expanded in y2 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites44.7%
Taylor expanded in c around inf
Applied rewrites34.7%
Taylor expanded in x around inf
Applied rewrites40.9%
if -1.15e-291 < i < 1.26e-141Initial program 28.2%
Taylor expanded in z around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites49.1%
Taylor expanded in y0 around inf
Applied rewrites33.7%
Taylor expanded in b around 0
Applied rewrites17.6%
Taylor expanded in a around -inf
Applied rewrites51.7%
if 1.26e-141 < i < 6.99999999999999994e-43Initial program 26.3%
Taylor expanded in y2 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites47.4%
Taylor expanded in c around inf
Applied rewrites49.5%
if 6.99999999999999994e-43 < i < 1.24999999999999996e58Initial program 36.7%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites42.0%
Taylor expanded in k around -inf
Applied rewrites37.2%
Taylor expanded in y around -inf
Applied rewrites55.4%
if 1.24999999999999996e58 < i < 1.22000000000000003e235Initial program 23.7%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites47.9%
Taylor expanded in k around -inf
Applied rewrites35.1%
Taylor expanded in y1 around inf
Applied rewrites53.7%
if 1.22000000000000003e235 < i Initial program 12.5%
Taylor expanded in c around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites67.0%
Taylor expanded in x around inf
Applied rewrites63.0%
Final simplification49.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (- z) (* b (fma a t (* (- k) y0))))))
(if (<= b -3.1e+137)
t_1
(if (<= b 1.5e-15)
(* (- y5) (fma i (fma (- k) y (* j t)) (* y0 (fma k y2 (* (- j) y3)))))
(if (<= b 2e+73) (* (- i) (* x (fma c y (* (- j) 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 = -z * (b * fma(a, t, (-k * y0)));
double tmp;
if (b <= -3.1e+137) {
tmp = t_1;
} else if (b <= 1.5e-15) {
tmp = -y5 * fma(i, fma(-k, y, (j * t)), (y0 * fma(k, y2, (-j * y3))));
} else if (b <= 2e+73) {
tmp = -i * (x * fma(c, y, (-j * 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(-z) * Float64(b * fma(a, t, Float64(Float64(-k) * y0)))) tmp = 0.0 if (b <= -3.1e+137) tmp = t_1; elseif (b <= 1.5e-15) tmp = Float64(Float64(-y5) * fma(i, fma(Float64(-k), y, Float64(j * t)), Float64(y0 * fma(k, y2, Float64(Float64(-j) * y3))))); elseif (b <= 2e+73) tmp = Float64(Float64(-i) * Float64(x * fma(c, y, Float64(Float64(-j) * y1)))); 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[((-z) * N[(b * N[(a * t + N[((-k) * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -3.1e+137], t$95$1, If[LessEqual[b, 1.5e-15], N[((-y5) * N[(i * N[((-k) * y + N[(j * t), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(k * y2 + N[((-j) * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 2e+73], N[((-i) * N[(x * N[(c * y + N[((-j) * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(-z\right) \cdot \left(b \cdot \mathsf{fma}\left(a, t, \left(-k\right) \cdot y0\right)\right)\\
\mathbf{if}\;b \leq -3.1 \cdot 10^{+137}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;b \leq 1.5 \cdot 10^{-15}:\\
\;\;\;\;\left(-y5\right) \cdot \mathsf{fma}\left(i, \mathsf{fma}\left(-k, y, j \cdot t\right), y0 \cdot \mathsf{fma}\left(k, y2, \left(-j\right) \cdot y3\right)\right)\\
\mathbf{elif}\;b \leq 2 \cdot 10^{+73}:\\
\;\;\;\;\left(-i\right) \cdot \left(x \cdot \mathsf{fma}\left(c, y, \left(-j\right) \cdot y1\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if b < -3.0999999999999999e137 or 1.99999999999999997e73 < b Initial program 17.4%
Taylor expanded in z around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites45.6%
Taylor expanded in b around inf
Applied rewrites61.9%
if -3.0999999999999999e137 < b < 1.5e-15Initial program 30.6%
Taylor expanded in y5 around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites44.3%
Taylor expanded in a around 0
Applied rewrites44.6%
if 1.5e-15 < b < 1.99999999999999997e73Initial program 31.4%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites42.7%
Taylor expanded in x around inf
Applied rewrites48.1%
Final simplification50.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= i -4.6e-37)
(* (* i z) (fma c t (* (- k) y1)))
(if (<= i -2.5e-236)
(* (* y1 (fma -1.0 (* a x) (* k y4))) y2)
(if (<= i 2.1e-24)
(* (- z) (* b (fma a t (* (- k) y0))))
(if (<= i 1.25e+58)
(* (* i y) (fma (- c) x (* k y5)))
(if (<= i 2e+227)
(* (* i y1) (fma (- k) z (* j x)))
(* (* (- y) (fma i x (* (- y3) y4))) 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 (i <= -4.6e-37) {
tmp = (i * z) * fma(c, t, (-k * y1));
} else if (i <= -2.5e-236) {
tmp = (y1 * fma(-1.0, (a * x), (k * y4))) * y2;
} else if (i <= 2.1e-24) {
tmp = -z * (b * fma(a, t, (-k * y0)));
} else if (i <= 1.25e+58) {
tmp = (i * y) * fma(-c, x, (k * y5));
} else if (i <= 2e+227) {
tmp = (i * y1) * fma(-k, z, (j * x));
} else {
tmp = (-y * fma(i, x, (-y3 * y4))) * 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 (i <= -4.6e-37) tmp = Float64(Float64(i * z) * fma(c, t, Float64(Float64(-k) * y1))); elseif (i <= -2.5e-236) tmp = Float64(Float64(y1 * fma(-1.0, Float64(a * x), Float64(k * y4))) * y2); elseif (i <= 2.1e-24) tmp = Float64(Float64(-z) * Float64(b * fma(a, t, Float64(Float64(-k) * y0)))); elseif (i <= 1.25e+58) tmp = Float64(Float64(i * y) * fma(Float64(-c), x, Float64(k * y5))); elseif (i <= 2e+227) tmp = Float64(Float64(i * y1) * fma(Float64(-k), z, Float64(j * x))); else tmp = Float64(Float64(Float64(-y) * fma(i, x, Float64(Float64(-y3) * y4))) * c); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[i, -4.6e-37], N[(N[(i * z), $MachinePrecision] * N[(c * t + N[((-k) * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -2.5e-236], N[(N[(y1 * N[(-1.0 * N[(a * x), $MachinePrecision] + N[(k * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[i, 2.1e-24], N[((-z) * N[(b * N[(a * t + N[((-k) * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.25e+58], N[(N[(i * y), $MachinePrecision] * N[((-c) * x + N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 2e+227], N[(N[(i * y1), $MachinePrecision] * N[((-k) * z + N[(j * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[((-y) * N[(i * x + N[((-y3) * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;i \leq -4.6 \cdot 10^{-37}:\\
\;\;\;\;\left(i \cdot z\right) \cdot \mathsf{fma}\left(c, t, \left(-k\right) \cdot y1\right)\\
\mathbf{elif}\;i \leq -2.5 \cdot 10^{-236}:\\
\;\;\;\;\left(y1 \cdot \mathsf{fma}\left(-1, a \cdot x, k \cdot y4\right)\right) \cdot y2\\
\mathbf{elif}\;i \leq 2.1 \cdot 10^{-24}:\\
\;\;\;\;\left(-z\right) \cdot \left(b \cdot \mathsf{fma}\left(a, t, \left(-k\right) \cdot y0\right)\right)\\
\mathbf{elif}\;i \leq 1.25 \cdot 10^{+58}:\\
\;\;\;\;\left(i \cdot y\right) \cdot \mathsf{fma}\left(-c, x, k \cdot y5\right)\\
\mathbf{elif}\;i \leq 2 \cdot 10^{+227}:\\
\;\;\;\;\left(i \cdot y1\right) \cdot \mathsf{fma}\left(-k, z, j \cdot x\right)\\
\mathbf{else}:\\
\;\;\;\;\left(\left(-y\right) \cdot \mathsf{fma}\left(i, x, \left(-y3\right) \cdot y4\right)\right) \cdot c\\
\end{array}
\end{array}
if i < -4.5999999999999999e-37Initial program 23.1%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites58.1%
Taylor expanded in z around -inf
Applied rewrites50.4%
if -4.5999999999999999e-37 < i < -2.4999999999999999e-236Initial program 34.0%
Taylor expanded in y2 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites45.6%
Taylor expanded in y1 around inf
Applied rewrites44.5%
if -2.4999999999999999e-236 < i < 2.0999999999999999e-24Initial program 25.8%
Taylor expanded in z around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites46.3%
Taylor expanded in b around inf
Applied rewrites46.8%
if 2.0999999999999999e-24 < i < 1.24999999999999996e58Initial program 37.2%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites43.3%
Taylor expanded in k around -inf
Applied rewrites42.9%
Taylor expanded in y around -inf
Applied rewrites53.5%
if 1.24999999999999996e58 < i < 2.0000000000000002e227Initial program 25.0%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites47.7%
Taylor expanded in k around -inf
Applied rewrites34.3%
Taylor expanded in y1 around inf
Applied rewrites53.9%
if 2.0000000000000002e227 < i Initial program 11.1%
Taylor expanded in c around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites59.5%
Taylor expanded in y around -inf
Applied rewrites65.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= i -2.85e+94)
(* (* i z) (fma c t (* (- k) y1)))
(if (<= i -3.8e-238)
(* (* x (fma -1.0 (* a y1) (* c y0))) y2)
(if (<= i 2.1e-24)
(* (- z) (* b (fma a t (* (- k) y0))))
(if (<= i 1.25e+58)
(* (* i y) (fma (- c) x (* k y5)))
(if (<= i 2e+227)
(* (* i y1) (fma (- k) z (* j x)))
(* (* (- y) (fma i x (* (- y3) y4))) 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 (i <= -2.85e+94) {
tmp = (i * z) * fma(c, t, (-k * y1));
} else if (i <= -3.8e-238) {
tmp = (x * fma(-1.0, (a * y1), (c * y0))) * y2;
} else if (i <= 2.1e-24) {
tmp = -z * (b * fma(a, t, (-k * y0)));
} else if (i <= 1.25e+58) {
tmp = (i * y) * fma(-c, x, (k * y5));
} else if (i <= 2e+227) {
tmp = (i * y1) * fma(-k, z, (j * x));
} else {
tmp = (-y * fma(i, x, (-y3 * y4))) * 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 (i <= -2.85e+94) tmp = Float64(Float64(i * z) * fma(c, t, Float64(Float64(-k) * y1))); elseif (i <= -3.8e-238) tmp = Float64(Float64(x * fma(-1.0, Float64(a * y1), Float64(c * y0))) * y2); elseif (i <= 2.1e-24) tmp = Float64(Float64(-z) * Float64(b * fma(a, t, Float64(Float64(-k) * y0)))); elseif (i <= 1.25e+58) tmp = Float64(Float64(i * y) * fma(Float64(-c), x, Float64(k * y5))); elseif (i <= 2e+227) tmp = Float64(Float64(i * y1) * fma(Float64(-k), z, Float64(j * x))); else tmp = Float64(Float64(Float64(-y) * fma(i, x, Float64(Float64(-y3) * y4))) * c); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[i, -2.85e+94], N[(N[(i * z), $MachinePrecision] * N[(c * t + N[((-k) * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -3.8e-238], N[(N[(x * N[(-1.0 * N[(a * y1), $MachinePrecision] + N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[i, 2.1e-24], N[((-z) * N[(b * N[(a * t + N[((-k) * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.25e+58], N[(N[(i * y), $MachinePrecision] * N[((-c) * x + N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 2e+227], N[(N[(i * y1), $MachinePrecision] * N[((-k) * z + N[(j * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[((-y) * N[(i * x + N[((-y3) * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;i \leq -2.85 \cdot 10^{+94}:\\
\;\;\;\;\left(i \cdot z\right) \cdot \mathsf{fma}\left(c, t, \left(-k\right) \cdot y1\right)\\
\mathbf{elif}\;i \leq -3.8 \cdot 10^{-238}:\\
\;\;\;\;\left(x \cdot \mathsf{fma}\left(-1, a \cdot y1, c \cdot y0\right)\right) \cdot y2\\
\mathbf{elif}\;i \leq 2.1 \cdot 10^{-24}:\\
\;\;\;\;\left(-z\right) \cdot \left(b \cdot \mathsf{fma}\left(a, t, \left(-k\right) \cdot y0\right)\right)\\
\mathbf{elif}\;i \leq 1.25 \cdot 10^{+58}:\\
\;\;\;\;\left(i \cdot y\right) \cdot \mathsf{fma}\left(-c, x, k \cdot y5\right)\\
\mathbf{elif}\;i \leq 2 \cdot 10^{+227}:\\
\;\;\;\;\left(i \cdot y1\right) \cdot \mathsf{fma}\left(-k, z, j \cdot x\right)\\
\mathbf{else}:\\
\;\;\;\;\left(\left(-y\right) \cdot \mathsf{fma}\left(i, x, \left(-y3\right) \cdot y4\right)\right) \cdot c\\
\end{array}
\end{array}
if i < -2.8500000000000001e94Initial program 17.9%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites69.3%
Taylor expanded in z around -inf
Applied rewrites64.8%
if -2.8500000000000001e94 < i < -3.7999999999999997e-238Initial program 32.9%
Taylor expanded in y2 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites43.2%
Taylor expanded in x around inf
Applied rewrites38.3%
if -3.7999999999999997e-238 < i < 2.0999999999999999e-24Initial program 25.8%
Taylor expanded in z around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites46.3%
Taylor expanded in b around inf
Applied rewrites46.8%
if 2.0999999999999999e-24 < i < 1.24999999999999996e58Initial program 37.2%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites43.3%
Taylor expanded in k around -inf
Applied rewrites42.9%
Taylor expanded in y around -inf
Applied rewrites53.5%
if 1.24999999999999996e58 < i < 2.0000000000000002e227Initial program 25.0%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites47.7%
Taylor expanded in k around -inf
Applied rewrites34.3%
Taylor expanded in y1 around inf
Applied rewrites53.9%
if 2.0000000000000002e227 < i Initial program 11.1%
Taylor expanded in c around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites59.5%
Taylor expanded in y around -inf
Applied rewrites65.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= i -1.05e-62)
(* (* i z) (fma c t (* (- k) y1)))
(if (<= i -1.65e-150)
(* (* j t) (fma (- i) y5 (* b y4)))
(if (<= i 8.8e-69)
(* (* a z) (fma (- b) t (* y1 y3)))
(if (or (<= i 1.25e+58) (not (<= i 1.1e+235)))
(* (* i y) (fma (- c) x (* k y5)))
(* (* i y1) (fma (- k) z (* j x))))))))
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 (i <= -1.05e-62) {
tmp = (i * z) * fma(c, t, (-k * y1));
} else if (i <= -1.65e-150) {
tmp = (j * t) * fma(-i, y5, (b * y4));
} else if (i <= 8.8e-69) {
tmp = (a * z) * fma(-b, t, (y1 * y3));
} else if ((i <= 1.25e+58) || !(i <= 1.1e+235)) {
tmp = (i * y) * fma(-c, x, (k * y5));
} else {
tmp = (i * y1) * fma(-k, z, (j * x));
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (i <= -1.05e-62) tmp = Float64(Float64(i * z) * fma(c, t, Float64(Float64(-k) * y1))); elseif (i <= -1.65e-150) tmp = Float64(Float64(j * t) * fma(Float64(-i), y5, Float64(b * y4))); elseif (i <= 8.8e-69) tmp = Float64(Float64(a * z) * fma(Float64(-b), t, Float64(y1 * y3))); elseif ((i <= 1.25e+58) || !(i <= 1.1e+235)) tmp = Float64(Float64(i * y) * fma(Float64(-c), x, Float64(k * y5))); else tmp = Float64(Float64(i * y1) * fma(Float64(-k), z, Float64(j * x))); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[i, -1.05e-62], N[(N[(i * z), $MachinePrecision] * N[(c * t + N[((-k) * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -1.65e-150], N[(N[(j * t), $MachinePrecision] * N[((-i) * y5 + N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 8.8e-69], N[(N[(a * z), $MachinePrecision] * N[((-b) * t + N[(y1 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[i, 1.25e+58], N[Not[LessEqual[i, 1.1e+235]], $MachinePrecision]], N[(N[(i * y), $MachinePrecision] * N[((-c) * x + N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(i * y1), $MachinePrecision] * N[((-k) * z + N[(j * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;i \leq -1.05 \cdot 10^{-62}:\\
\;\;\;\;\left(i \cdot z\right) \cdot \mathsf{fma}\left(c, t, \left(-k\right) \cdot y1\right)\\
\mathbf{elif}\;i \leq -1.65 \cdot 10^{-150}:\\
\;\;\;\;\left(j \cdot t\right) \cdot \mathsf{fma}\left(-i, y5, b \cdot y4\right)\\
\mathbf{elif}\;i \leq 8.8 \cdot 10^{-69}:\\
\;\;\;\;\left(a \cdot z\right) \cdot \mathsf{fma}\left(-b, t, y1 \cdot y3\right)\\
\mathbf{elif}\;i \leq 1.25 \cdot 10^{+58} \lor \neg \left(i \leq 1.1 \cdot 10^{+235}\right):\\
\;\;\;\;\left(i \cdot y\right) \cdot \mathsf{fma}\left(-c, x, k \cdot y5\right)\\
\mathbf{else}:\\
\;\;\;\;\left(i \cdot y1\right) \cdot \mathsf{fma}\left(-k, z, j \cdot x\right)\\
\end{array}
\end{array}
if i < -1.05e-62Initial program 23.2%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites56.2%
Taylor expanded in z around -inf
Applied rewrites47.6%
if -1.05e-62 < i < -1.6500000000000001e-150Initial program 27.1%
Taylor expanded in t around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites54.5%
Taylor expanded in j around inf
Applied rewrites45.9%
if -1.6500000000000001e-150 < i < 8.8000000000000001e-69Initial program 28.4%
Taylor expanded in z around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites46.2%
Taylor expanded in y0 around inf
Applied rewrites29.6%
Taylor expanded in b around 0
Applied rewrites15.3%
Taylor expanded in a around -inf
Applied rewrites41.8%
if 8.8000000000000001e-69 < i < 1.24999999999999996e58 or 1.1e235 < i Initial program 28.7%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites53.1%
Taylor expanded in k around -inf
Applied rewrites41.2%
Taylor expanded in y around -inf
Applied rewrites55.4%
if 1.24999999999999996e58 < i < 1.1e235Initial program 23.7%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites47.9%
Taylor expanded in k around -inf
Applied rewrites35.1%
Taylor expanded in y1 around inf
Applied rewrites53.7%
Final simplification47.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* i y1) (fma (- k) z (* j x)))))
(if (<= i -1.7e+257)
t_1
(if (<= i -7e-11)
(* (* i t) (fma c z (* (- j) y5)))
(if (<= i 3.9e-97)
(* (- z) (* b (* (- k) y0)))
(if (or (<= i 1.25e+58) (not (<= i 3e+229)))
(* (* i y) (fma (- c) x (* k y5)))
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 = (i * y1) * fma(-k, z, (j * x));
double tmp;
if (i <= -1.7e+257) {
tmp = t_1;
} else if (i <= -7e-11) {
tmp = (i * t) * fma(c, z, (-j * y5));
} else if (i <= 3.9e-97) {
tmp = -z * (b * (-k * y0));
} else if ((i <= 1.25e+58) || !(i <= 3e+229)) {
tmp = (i * y) * fma(-c, x, (k * y5));
} 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(i * y1) * fma(Float64(-k), z, Float64(j * x))) tmp = 0.0 if (i <= -1.7e+257) tmp = t_1; elseif (i <= -7e-11) tmp = Float64(Float64(i * t) * fma(c, z, Float64(Float64(-j) * y5))); elseif (i <= 3.9e-97) tmp = Float64(Float64(-z) * Float64(b * Float64(Float64(-k) * y0))); elseif ((i <= 1.25e+58) || !(i <= 3e+229)) tmp = Float64(Float64(i * y) * fma(Float64(-c), x, Float64(k * y5))); 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[(i * y1), $MachinePrecision] * N[((-k) * z + N[(j * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -1.7e+257], t$95$1, If[LessEqual[i, -7e-11], N[(N[(i * t), $MachinePrecision] * N[(c * z + N[((-j) * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 3.9e-97], N[((-z) * N[(b * N[((-k) * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[i, 1.25e+58], N[Not[LessEqual[i, 3e+229]], $MachinePrecision]], N[(N[(i * y), $MachinePrecision] * N[((-c) * x + N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(i \cdot y1\right) \cdot \mathsf{fma}\left(-k, z, j \cdot x\right)\\
\mathbf{if}\;i \leq -1.7 \cdot 10^{+257}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;i \leq -7 \cdot 10^{-11}:\\
\;\;\;\;\left(i \cdot t\right) \cdot \mathsf{fma}\left(c, z, \left(-j\right) \cdot y5\right)\\
\mathbf{elif}\;i \leq 3.9 \cdot 10^{-97}:\\
\;\;\;\;\left(-z\right) \cdot \left(b \cdot \left(\left(-k\right) \cdot y0\right)\right)\\
\mathbf{elif}\;i \leq 1.25 \cdot 10^{+58} \lor \neg \left(i \leq 3 \cdot 10^{+229}\right):\\
\;\;\;\;\left(i \cdot y\right) \cdot \mathsf{fma}\left(-c, x, k \cdot y5\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if i < -1.7000000000000001e257 or 1.24999999999999996e58 < i < 2.99999999999999998e229Initial program 23.9%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites56.9%
Taylor expanded in k around -inf
Applied rewrites40.1%
Taylor expanded in y1 around inf
Applied rewrites61.9%
if -1.7000000000000001e257 < i < -7.00000000000000038e-11Initial program 19.2%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites59.0%
Taylor expanded in k around -inf
Applied rewrites27.1%
Taylor expanded in y around inf
Applied rewrites18.8%
Taylor expanded in t around -inf
Applied rewrites51.3%
if -7.00000000000000038e-11 < i < 3.8999999999999998e-97Initial program 29.9%
Taylor expanded in z around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites41.9%
Taylor expanded in b around inf
Applied rewrites37.8%
Taylor expanded in t around 0
Applied rewrites31.0%
if 3.8999999999999998e-97 < i < 1.24999999999999996e58 or 2.99999999999999998e229 < i Initial program 26.7%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites51.7%
Taylor expanded in k around -inf
Applied rewrites39.5%
Taylor expanded in y around -inf
Applied rewrites51.7%
Final simplification44.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= i -9.5e+99)
(* (* i z) (fma c t (* (- k) y1)))
(if (<= i 2.1e-24)
(* (- z) (* b (fma a t (* (- k) y0))))
(if (<= i 1.25e+58)
(* (* i y) (fma (- c) x (* k y5)))
(if (<= i 1.45e+231)
(* (* i y1) (fma (- k) z (* j x)))
(* (* (- y) (fma i x (* (- y3) y4))) 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 (i <= -9.5e+99) {
tmp = (i * z) * fma(c, t, (-k * y1));
} else if (i <= 2.1e-24) {
tmp = -z * (b * fma(a, t, (-k * y0)));
} else if (i <= 1.25e+58) {
tmp = (i * y) * fma(-c, x, (k * y5));
} else if (i <= 1.45e+231) {
tmp = (i * y1) * fma(-k, z, (j * x));
} else {
tmp = (-y * fma(i, x, (-y3 * y4))) * 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 (i <= -9.5e+99) tmp = Float64(Float64(i * z) * fma(c, t, Float64(Float64(-k) * y1))); elseif (i <= 2.1e-24) tmp = Float64(Float64(-z) * Float64(b * fma(a, t, Float64(Float64(-k) * y0)))); elseif (i <= 1.25e+58) tmp = Float64(Float64(i * y) * fma(Float64(-c), x, Float64(k * y5))); elseif (i <= 1.45e+231) tmp = Float64(Float64(i * y1) * fma(Float64(-k), z, Float64(j * x))); else tmp = Float64(Float64(Float64(-y) * fma(i, x, Float64(Float64(-y3) * y4))) * c); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[i, -9.5e+99], N[(N[(i * z), $MachinePrecision] * N[(c * t + N[((-k) * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 2.1e-24], N[((-z) * N[(b * N[(a * t + N[((-k) * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.25e+58], N[(N[(i * y), $MachinePrecision] * N[((-c) * x + N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.45e+231], N[(N[(i * y1), $MachinePrecision] * N[((-k) * z + N[(j * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[((-y) * N[(i * x + N[((-y3) * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;i \leq -9.5 \cdot 10^{+99}:\\
\;\;\;\;\left(i \cdot z\right) \cdot \mathsf{fma}\left(c, t, \left(-k\right) \cdot y1\right)\\
\mathbf{elif}\;i \leq 2.1 \cdot 10^{-24}:\\
\;\;\;\;\left(-z\right) \cdot \left(b \cdot \mathsf{fma}\left(a, t, \left(-k\right) \cdot y0\right)\right)\\
\mathbf{elif}\;i \leq 1.25 \cdot 10^{+58}:\\
\;\;\;\;\left(i \cdot y\right) \cdot \mathsf{fma}\left(-c, x, k \cdot y5\right)\\
\mathbf{elif}\;i \leq 1.45 \cdot 10^{+231}:\\
\;\;\;\;\left(i \cdot y1\right) \cdot \mathsf{fma}\left(-k, z, j \cdot x\right)\\
\mathbf{else}:\\
\;\;\;\;\left(\left(-y\right) \cdot \mathsf{fma}\left(i, x, \left(-y3\right) \cdot y4\right)\right) \cdot c\\
\end{array}
\end{array}
if i < -9.49999999999999908e99Initial program 18.4%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites71.1%
Taylor expanded in z around -inf
Applied rewrites66.4%
if -9.49999999999999908e99 < i < 2.0999999999999999e-24Initial program 29.0%
Taylor expanded in z around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites41.3%
Taylor expanded in b around inf
Applied rewrites39.6%
if 2.0999999999999999e-24 < i < 1.24999999999999996e58Initial program 37.2%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites43.3%
Taylor expanded in k around -inf
Applied rewrites42.9%
Taylor expanded in y around -inf
Applied rewrites53.5%
if 1.24999999999999996e58 < i < 1.45e231Initial program 23.7%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites47.9%
Taylor expanded in k around -inf
Applied rewrites35.1%
Taylor expanded in y1 around inf
Applied rewrites53.7%
if 1.45e231 < i Initial program 12.5%
Taylor expanded in c around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites67.0%
Taylor expanded in y around -inf
Applied rewrites67.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= i -9.6e+88)
(* (* i z) (fma c t (* (- k) y1)))
(if (<= i 8.8e-69)
(* (* a z) (fma (- b) t (* y1 y3)))
(if (or (<= i 1.25e+58) (not (<= i 3e+229)))
(* (* i y) (fma (- c) x (* k y5)))
(* (* i y1) (fma (- k) z (* j x)))))))
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 (i <= -9.6e+88) {
tmp = (i * z) * fma(c, t, (-k * y1));
} else if (i <= 8.8e-69) {
tmp = (a * z) * fma(-b, t, (y1 * y3));
} else if ((i <= 1.25e+58) || !(i <= 3e+229)) {
tmp = (i * y) * fma(-c, x, (k * y5));
} else {
tmp = (i * y1) * fma(-k, z, (j * x));
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (i <= -9.6e+88) tmp = Float64(Float64(i * z) * fma(c, t, Float64(Float64(-k) * y1))); elseif (i <= 8.8e-69) tmp = Float64(Float64(a * z) * fma(Float64(-b), t, Float64(y1 * y3))); elseif ((i <= 1.25e+58) || !(i <= 3e+229)) tmp = Float64(Float64(i * y) * fma(Float64(-c), x, Float64(k * y5))); else tmp = Float64(Float64(i * y1) * fma(Float64(-k), z, Float64(j * x))); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[i, -9.6e+88], N[(N[(i * z), $MachinePrecision] * N[(c * t + N[((-k) * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 8.8e-69], N[(N[(a * z), $MachinePrecision] * N[((-b) * t + N[(y1 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[i, 1.25e+58], N[Not[LessEqual[i, 3e+229]], $MachinePrecision]], N[(N[(i * y), $MachinePrecision] * N[((-c) * x + N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(i * y1), $MachinePrecision] * N[((-k) * z + N[(j * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;i \leq -9.6 \cdot 10^{+88}:\\
\;\;\;\;\left(i \cdot z\right) \cdot \mathsf{fma}\left(c, t, \left(-k\right) \cdot y1\right)\\
\mathbf{elif}\;i \leq 8.8 \cdot 10^{-69}:\\
\;\;\;\;\left(a \cdot z\right) \cdot \mathsf{fma}\left(-b, t, y1 \cdot y3\right)\\
\mathbf{elif}\;i \leq 1.25 \cdot 10^{+58} \lor \neg \left(i \leq 3 \cdot 10^{+229}\right):\\
\;\;\;\;\left(i \cdot y\right) \cdot \mathsf{fma}\left(-c, x, k \cdot y5\right)\\
\mathbf{else}:\\
\;\;\;\;\left(i \cdot y1\right) \cdot \mathsf{fma}\left(-k, z, j \cdot x\right)\\
\end{array}
\end{array}
if i < -9.5999999999999996e88Initial program 19.5%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites68.4%
Taylor expanded in z around -inf
Applied rewrites64.1%
if -9.5999999999999996e88 < i < 8.8000000000000001e-69Initial program 28.2%
Taylor expanded in z around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites42.8%
Taylor expanded in y0 around inf
Applied rewrites29.4%
Taylor expanded in b around 0
Applied rewrites17.5%
Taylor expanded in a around -inf
Applied rewrites35.0%
if 8.8000000000000001e-69 < i < 1.24999999999999996e58 or 2.99999999999999998e229 < i Initial program 28.1%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites51.9%
Taylor expanded in k around -inf
Applied rewrites40.2%
Taylor expanded in y around -inf
Applied rewrites54.1%
if 1.24999999999999996e58 < i < 2.99999999999999998e229Initial program 24.3%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites49.1%
Taylor expanded in k around -inf
Applied rewrites36.1%
Taylor expanded in y1 around inf
Applied rewrites55.2%
Final simplification45.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= i -1e-10)
(* (* i z) (fma c t (* (- k) y1)))
(if (<= i 3.9e-97)
(* (- z) (* b (* (- k) y0)))
(if (or (<= i 1.25e+58) (not (<= i 3e+229)))
(* (* i y) (fma (- c) x (* k y5)))
(* (* i y1) (fma (- k) z (* j x)))))))
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 (i <= -1e-10) {
tmp = (i * z) * fma(c, t, (-k * y1));
} else if (i <= 3.9e-97) {
tmp = -z * (b * (-k * y0));
} else if ((i <= 1.25e+58) || !(i <= 3e+229)) {
tmp = (i * y) * fma(-c, x, (k * y5));
} else {
tmp = (i * y1) * fma(-k, z, (j * x));
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (i <= -1e-10) tmp = Float64(Float64(i * z) * fma(c, t, Float64(Float64(-k) * y1))); elseif (i <= 3.9e-97) tmp = Float64(Float64(-z) * Float64(b * Float64(Float64(-k) * y0))); elseif ((i <= 1.25e+58) || !(i <= 3e+229)) tmp = Float64(Float64(i * y) * fma(Float64(-c), x, Float64(k * y5))); else tmp = Float64(Float64(i * y1) * fma(Float64(-k), z, Float64(j * x))); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[i, -1e-10], N[(N[(i * z), $MachinePrecision] * N[(c * t + N[((-k) * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 3.9e-97], N[((-z) * N[(b * N[((-k) * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[i, 1.25e+58], N[Not[LessEqual[i, 3e+229]], $MachinePrecision]], N[(N[(i * y), $MachinePrecision] * N[((-c) * x + N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(i * y1), $MachinePrecision] * N[((-k) * z + N[(j * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;i \leq -1 \cdot 10^{-10}:\\
\;\;\;\;\left(i \cdot z\right) \cdot \mathsf{fma}\left(c, t, \left(-k\right) \cdot y1\right)\\
\mathbf{elif}\;i \leq 3.9 \cdot 10^{-97}:\\
\;\;\;\;\left(-z\right) \cdot \left(b \cdot \left(\left(-k\right) \cdot y0\right)\right)\\
\mathbf{elif}\;i \leq 1.25 \cdot 10^{+58} \lor \neg \left(i \leq 3 \cdot 10^{+229}\right):\\
\;\;\;\;\left(i \cdot y\right) \cdot \mathsf{fma}\left(-c, x, k \cdot y5\right)\\
\mathbf{else}:\\
\;\;\;\;\left(i \cdot y1\right) \cdot \mathsf{fma}\left(-k, z, j \cdot x\right)\\
\end{array}
\end{array}
if i < -1.00000000000000004e-10Initial program 19.7%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites63.8%
Taylor expanded in z around -inf
Applied rewrites54.5%
if -1.00000000000000004e-10 < i < 3.8999999999999998e-97Initial program 29.9%
Taylor expanded in z around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites41.9%
Taylor expanded in b around inf
Applied rewrites37.8%
Taylor expanded in t around 0
Applied rewrites31.0%
if 3.8999999999999998e-97 < i < 1.24999999999999996e58 or 2.99999999999999998e229 < i Initial program 26.7%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites51.7%
Taylor expanded in k around -inf
Applied rewrites39.5%
Taylor expanded in y around -inf
Applied rewrites51.7%
if 1.24999999999999996e58 < i < 2.99999999999999998e229Initial program 24.3%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites49.1%
Taylor expanded in k around -inf
Applied rewrites36.1%
Taylor expanded in y1 around inf
Applied rewrites55.2%
Final simplification43.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* i t) (fma c z (* (- j) y5)))))
(if (<= k -2.4e+21)
(* (- z) (* b (* (- k) y0)))
(if (<= k 7e-204)
t_1
(if (<= k 5.2e-63)
(* (* i y) (fma (- c) x (* k y5)))
(if (<= k 2.1e+153) t_1 (* (* i k) (fma y y5 (* (- y1) 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 t_1 = (i * t) * fma(c, z, (-j * y5));
double tmp;
if (k <= -2.4e+21) {
tmp = -z * (b * (-k * y0));
} else if (k <= 7e-204) {
tmp = t_1;
} else if (k <= 5.2e-63) {
tmp = (i * y) * fma(-c, x, (k * y5));
} else if (k <= 2.1e+153) {
tmp = t_1;
} else {
tmp = (i * k) * fma(y, y5, (-y1 * z));
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(i * t) * fma(c, z, Float64(Float64(-j) * y5))) tmp = 0.0 if (k <= -2.4e+21) tmp = Float64(Float64(-z) * Float64(b * Float64(Float64(-k) * y0))); elseif (k <= 7e-204) tmp = t_1; elseif (k <= 5.2e-63) tmp = Float64(Float64(i * y) * fma(Float64(-c), x, Float64(k * y5))); elseif (k <= 2.1e+153) tmp = t_1; else tmp = Float64(Float64(i * k) * fma(y, y5, Float64(Float64(-y1) * z))); 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[(i * t), $MachinePrecision] * N[(c * z + N[((-j) * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[k, -2.4e+21], N[((-z) * N[(b * N[((-k) * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 7e-204], t$95$1, If[LessEqual[k, 5.2e-63], N[(N[(i * y), $MachinePrecision] * N[((-c) * x + N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 2.1e+153], t$95$1, N[(N[(i * k), $MachinePrecision] * N[(y * y5 + N[((-y1) * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(i \cdot t\right) \cdot \mathsf{fma}\left(c, z, \left(-j\right) \cdot y5\right)\\
\mathbf{if}\;k \leq -2.4 \cdot 10^{+21}:\\
\;\;\;\;\left(-z\right) \cdot \left(b \cdot \left(\left(-k\right) \cdot y0\right)\right)\\
\mathbf{elif}\;k \leq 7 \cdot 10^{-204}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;k \leq 5.2 \cdot 10^{-63}:\\
\;\;\;\;\left(i \cdot y\right) \cdot \mathsf{fma}\left(-c, x, k \cdot y5\right)\\
\mathbf{elif}\;k \leq 2.1 \cdot 10^{+153}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;\left(i \cdot k\right) \cdot \mathsf{fma}\left(y, y5, \left(-y1\right) \cdot z\right)\\
\end{array}
\end{array}
if k < -2.4e21Initial program 14.1%
Taylor expanded in z around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites45.7%
Taylor expanded in b around inf
Applied rewrites50.8%
Taylor expanded in t around 0
Applied rewrites46.2%
if -2.4e21 < k < 7.00000000000000054e-204 or 5.2000000000000003e-63 < k < 2.10000000000000017e153Initial program 33.2%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites46.4%
Taylor expanded in k around -inf
Applied rewrites15.1%
Taylor expanded in y around inf
Applied rewrites8.8%
Taylor expanded in t around -inf
Applied rewrites35.5%
if 7.00000000000000054e-204 < k < 5.2000000000000003e-63Initial program 37.5%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites46.2%
Taylor expanded in k around -inf
Applied rewrites30.6%
Taylor expanded in y around -inf
Applied rewrites47.3%
if 2.10000000000000017e153 < k Initial program 10.3%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites45.2%
Taylor expanded in k around -inf
Applied rewrites59.2%
Final simplification42.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* (* k y0) z))))
(if (<= y0 -4e+278)
t_1
(if (<= y0 -8e+86)
(* (* (- y0) z) (* c y3))
(if (<= y0 1.5e-260)
(* (* a y5) (* t y2))
(if (<= y0 7.8e+77)
(* (- i) (* k (* y1 z)))
(if (<= y0 1.1e+246) (* (* c y2) (* x 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 = b * ((k * y0) * z);
double tmp;
if (y0 <= -4e+278) {
tmp = t_1;
} else if (y0 <= -8e+86) {
tmp = (-y0 * z) * (c * y3);
} else if (y0 <= 1.5e-260) {
tmp = (a * y5) * (t * y2);
} else if (y0 <= 7.8e+77) {
tmp = -i * (k * (y1 * z));
} else if (y0 <= 1.1e+246) {
tmp = (c * y2) * (x * y0);
} 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 = b * ((k * y0) * z)
if (y0 <= (-4d+278)) then
tmp = t_1
else if (y0 <= (-8d+86)) then
tmp = (-y0 * z) * (c * y3)
else if (y0 <= 1.5d-260) then
tmp = (a * y5) * (t * y2)
else if (y0 <= 7.8d+77) then
tmp = -i * (k * (y1 * z))
else if (y0 <= 1.1d+246) then
tmp = (c * y2) * (x * y0)
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 = b * ((k * y0) * z);
double tmp;
if (y0 <= -4e+278) {
tmp = t_1;
} else if (y0 <= -8e+86) {
tmp = (-y0 * z) * (c * y3);
} else if (y0 <= 1.5e-260) {
tmp = (a * y5) * (t * y2);
} else if (y0 <= 7.8e+77) {
tmp = -i * (k * (y1 * z));
} else if (y0 <= 1.1e+246) {
tmp = (c * y2) * (x * y0);
} 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 = b * ((k * y0) * z) tmp = 0 if y0 <= -4e+278: tmp = t_1 elif y0 <= -8e+86: tmp = (-y0 * z) * (c * y3) elif y0 <= 1.5e-260: tmp = (a * y5) * (t * y2) elif y0 <= 7.8e+77: tmp = -i * (k * (y1 * z)) elif y0 <= 1.1e+246: tmp = (c * y2) * (x * 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(b * Float64(Float64(k * y0) * z)) tmp = 0.0 if (y0 <= -4e+278) tmp = t_1; elseif (y0 <= -8e+86) tmp = Float64(Float64(Float64(-y0) * z) * Float64(c * y3)); elseif (y0 <= 1.5e-260) tmp = Float64(Float64(a * y5) * Float64(t * y2)); elseif (y0 <= 7.8e+77) tmp = Float64(Float64(-i) * Float64(k * Float64(y1 * z))); elseif (y0 <= 1.1e+246) tmp = Float64(Float64(c * y2) * Float64(x * y0)); 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 = b * ((k * y0) * z); tmp = 0.0; if (y0 <= -4e+278) tmp = t_1; elseif (y0 <= -8e+86) tmp = (-y0 * z) * (c * y3); elseif (y0 <= 1.5e-260) tmp = (a * y5) * (t * y2); elseif (y0 <= 7.8e+77) tmp = -i * (k * (y1 * z)); elseif (y0 <= 1.1e+246) tmp = (c * y2) * (x * y0); 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[(b * N[(N[(k * y0), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -4e+278], t$95$1, If[LessEqual[y0, -8e+86], N[(N[((-y0) * z), $MachinePrecision] * N[(c * y3), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.5e-260], N[(N[(a * y5), $MachinePrecision] * N[(t * y2), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 7.8e+77], N[((-i) * N[(k * N[(y1 * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.1e+246], N[(N[(c * y2), $MachinePrecision] * N[(x * y0), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(\left(k \cdot y0\right) \cdot z\right)\\
\mathbf{if}\;y0 \leq -4 \cdot 10^{+278}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y0 \leq -8 \cdot 10^{+86}:\\
\;\;\;\;\left(\left(-y0\right) \cdot z\right) \cdot \left(c \cdot y3\right)\\
\mathbf{elif}\;y0 \leq 1.5 \cdot 10^{-260}:\\
\;\;\;\;\left(a \cdot y5\right) \cdot \left(t \cdot y2\right)\\
\mathbf{elif}\;y0 \leq 7.8 \cdot 10^{+77}:\\
\;\;\;\;\left(-i\right) \cdot \left(k \cdot \left(y1 \cdot z\right)\right)\\
\mathbf{elif}\;y0 \leq 1.1 \cdot 10^{+246}:\\
\;\;\;\;\left(c \cdot y2\right) \cdot \left(x \cdot y0\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y0 < -3.99999999999999985e278 or 1.09999999999999994e246 < y0 Initial program 18.5%
Taylor expanded in z around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites33.6%
Taylor expanded in y0 around inf
Applied rewrites56.3%
Taylor expanded in b around inf
Applied rewrites63.5%
if -3.99999999999999985e278 < y0 < -8.0000000000000001e86Initial program 20.6%
Taylor expanded in z around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites38.5%
Taylor expanded in y0 around inf
Applied rewrites35.8%
Taylor expanded in b around 0
Applied rewrites41.9%
if -8.0000000000000001e86 < y0 < 1.5e-260Initial program 28.7%
Taylor expanded in y5 around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites44.4%
Taylor expanded in a around inf
Applied rewrites33.0%
Taylor expanded in y around 0
Applied rewrites27.5%
if 1.5e-260 < y0 < 7.7999999999999995e77Initial program 30.9%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites46.0%
Taylor expanded in k around -inf
Applied rewrites34.8%
Taylor expanded in y around 0
Applied rewrites24.3%
if 7.7999999999999995e77 < y0 < 1.09999999999999994e246Initial program 23.1%
Taylor expanded in y2 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites36.0%
Taylor expanded in c around inf
Applied rewrites39.1%
Taylor expanded in x around inf
Applied rewrites39.2%
Final simplification34.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* (* k y0) z))))
(if (<= y0 -4.4e+278)
t_1
(if (<= y0 -3.45e+81)
(- (* c (* (* y0 y3) z)))
(if (<= y0 1.5e-260)
(* (* a y5) (* t y2))
(if (<= y0 7.8e+77)
(* (- i) (* k (* y1 z)))
(if (<= y0 1.1e+246) (* (* c y2) (* x 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 = b * ((k * y0) * z);
double tmp;
if (y0 <= -4.4e+278) {
tmp = t_1;
} else if (y0 <= -3.45e+81) {
tmp = -(c * ((y0 * y3) * z));
} else if (y0 <= 1.5e-260) {
tmp = (a * y5) * (t * y2);
} else if (y0 <= 7.8e+77) {
tmp = -i * (k * (y1 * z));
} else if (y0 <= 1.1e+246) {
tmp = (c * y2) * (x * y0);
} 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 = b * ((k * y0) * z)
if (y0 <= (-4.4d+278)) then
tmp = t_1
else if (y0 <= (-3.45d+81)) then
tmp = -(c * ((y0 * y3) * z))
else if (y0 <= 1.5d-260) then
tmp = (a * y5) * (t * y2)
else if (y0 <= 7.8d+77) then
tmp = -i * (k * (y1 * z))
else if (y0 <= 1.1d+246) then
tmp = (c * y2) * (x * y0)
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 = b * ((k * y0) * z);
double tmp;
if (y0 <= -4.4e+278) {
tmp = t_1;
} else if (y0 <= -3.45e+81) {
tmp = -(c * ((y0 * y3) * z));
} else if (y0 <= 1.5e-260) {
tmp = (a * y5) * (t * y2);
} else if (y0 <= 7.8e+77) {
tmp = -i * (k * (y1 * z));
} else if (y0 <= 1.1e+246) {
tmp = (c * y2) * (x * y0);
} 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 = b * ((k * y0) * z) tmp = 0 if y0 <= -4.4e+278: tmp = t_1 elif y0 <= -3.45e+81: tmp = -(c * ((y0 * y3) * z)) elif y0 <= 1.5e-260: tmp = (a * y5) * (t * y2) elif y0 <= 7.8e+77: tmp = -i * (k * (y1 * z)) elif y0 <= 1.1e+246: tmp = (c * y2) * (x * 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(b * Float64(Float64(k * y0) * z)) tmp = 0.0 if (y0 <= -4.4e+278) tmp = t_1; elseif (y0 <= -3.45e+81) tmp = Float64(-Float64(c * Float64(Float64(y0 * y3) * z))); elseif (y0 <= 1.5e-260) tmp = Float64(Float64(a * y5) * Float64(t * y2)); elseif (y0 <= 7.8e+77) tmp = Float64(Float64(-i) * Float64(k * Float64(y1 * z))); elseif (y0 <= 1.1e+246) tmp = Float64(Float64(c * y2) * Float64(x * y0)); 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 = b * ((k * y0) * z); tmp = 0.0; if (y0 <= -4.4e+278) tmp = t_1; elseif (y0 <= -3.45e+81) tmp = -(c * ((y0 * y3) * z)); elseif (y0 <= 1.5e-260) tmp = (a * y5) * (t * y2); elseif (y0 <= 7.8e+77) tmp = -i * (k * (y1 * z)); elseif (y0 <= 1.1e+246) tmp = (c * y2) * (x * y0); 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[(b * N[(N[(k * y0), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -4.4e+278], t$95$1, If[LessEqual[y0, -3.45e+81], (-N[(c * N[(N[(y0 * y3), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision]), If[LessEqual[y0, 1.5e-260], N[(N[(a * y5), $MachinePrecision] * N[(t * y2), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 7.8e+77], N[((-i) * N[(k * N[(y1 * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.1e+246], N[(N[(c * y2), $MachinePrecision] * N[(x * y0), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(\left(k \cdot y0\right) \cdot z\right)\\
\mathbf{if}\;y0 \leq -4.4 \cdot 10^{+278}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y0 \leq -3.45 \cdot 10^{+81}:\\
\;\;\;\;-c \cdot \left(\left(y0 \cdot y3\right) \cdot z\right)\\
\mathbf{elif}\;y0 \leq 1.5 \cdot 10^{-260}:\\
\;\;\;\;\left(a \cdot y5\right) \cdot \left(t \cdot y2\right)\\
\mathbf{elif}\;y0 \leq 7.8 \cdot 10^{+77}:\\
\;\;\;\;\left(-i\right) \cdot \left(k \cdot \left(y1 \cdot z\right)\right)\\
\mathbf{elif}\;y0 \leq 1.1 \cdot 10^{+246}:\\
\;\;\;\;\left(c \cdot y2\right) \cdot \left(x \cdot y0\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y0 < -4.39999999999999978e278 or 1.09999999999999994e246 < y0 Initial program 18.5%
Taylor expanded in z around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites33.6%
Taylor expanded in y0 around inf
Applied rewrites56.3%
Taylor expanded in b around inf
Applied rewrites63.5%
if -4.39999999999999978e278 < y0 < -3.4499999999999998e81Initial program 20.6%
Taylor expanded in z around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites38.5%
Taylor expanded in y0 around inf
Applied rewrites35.8%
Taylor expanded in b around 0
Applied rewrites39.3%
if -3.4499999999999998e81 < y0 < 1.5e-260Initial program 28.7%
Taylor expanded in y5 around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites44.4%
Taylor expanded in a around inf
Applied rewrites33.0%
Taylor expanded in y around 0
Applied rewrites27.5%
if 1.5e-260 < y0 < 7.7999999999999995e77Initial program 30.9%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites46.0%
Taylor expanded in k around -inf
Applied rewrites34.8%
Taylor expanded in y around 0
Applied rewrites24.3%
if 7.7999999999999995e77 < y0 < 1.09999999999999994e246Initial program 23.1%
Taylor expanded in y2 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites36.0%
Taylor expanded in c around inf
Applied rewrites39.1%
Taylor expanded in x around inf
Applied rewrites39.2%
Final simplification33.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* (* k y0) z))))
(if (<= y0 -4.5e+207)
t_1
(if (<= y0 -1.15e+94)
(* (* (* y5 y) i) k)
(if (<= y0 2.2e-255)
(* (* a y5) (* t y2))
(if (<= y0 2.8e+99)
(* (* (* k i) y) y5)
(if (<= y0 1.1e+246) (* (* c y2) (* x 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 = b * ((k * y0) * z);
double tmp;
if (y0 <= -4.5e+207) {
tmp = t_1;
} else if (y0 <= -1.15e+94) {
tmp = ((y5 * y) * i) * k;
} else if (y0 <= 2.2e-255) {
tmp = (a * y5) * (t * y2);
} else if (y0 <= 2.8e+99) {
tmp = ((k * i) * y) * y5;
} else if (y0 <= 1.1e+246) {
tmp = (c * y2) * (x * y0);
} 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 = b * ((k * y0) * z)
if (y0 <= (-4.5d+207)) then
tmp = t_1
else if (y0 <= (-1.15d+94)) then
tmp = ((y5 * y) * i) * k
else if (y0 <= 2.2d-255) then
tmp = (a * y5) * (t * y2)
else if (y0 <= 2.8d+99) then
tmp = ((k * i) * y) * y5
else if (y0 <= 1.1d+246) then
tmp = (c * y2) * (x * y0)
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 = b * ((k * y0) * z);
double tmp;
if (y0 <= -4.5e+207) {
tmp = t_1;
} else if (y0 <= -1.15e+94) {
tmp = ((y5 * y) * i) * k;
} else if (y0 <= 2.2e-255) {
tmp = (a * y5) * (t * y2);
} else if (y0 <= 2.8e+99) {
tmp = ((k * i) * y) * y5;
} else if (y0 <= 1.1e+246) {
tmp = (c * y2) * (x * y0);
} 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 = b * ((k * y0) * z) tmp = 0 if y0 <= -4.5e+207: tmp = t_1 elif y0 <= -1.15e+94: tmp = ((y5 * y) * i) * k elif y0 <= 2.2e-255: tmp = (a * y5) * (t * y2) elif y0 <= 2.8e+99: tmp = ((k * i) * y) * y5 elif y0 <= 1.1e+246: tmp = (c * y2) * (x * 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(b * Float64(Float64(k * y0) * z)) tmp = 0.0 if (y0 <= -4.5e+207) tmp = t_1; elseif (y0 <= -1.15e+94) tmp = Float64(Float64(Float64(y5 * y) * i) * k); elseif (y0 <= 2.2e-255) tmp = Float64(Float64(a * y5) * Float64(t * y2)); elseif (y0 <= 2.8e+99) tmp = Float64(Float64(Float64(k * i) * y) * y5); elseif (y0 <= 1.1e+246) tmp = Float64(Float64(c * y2) * Float64(x * y0)); 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 = b * ((k * y0) * z); tmp = 0.0; if (y0 <= -4.5e+207) tmp = t_1; elseif (y0 <= -1.15e+94) tmp = ((y5 * y) * i) * k; elseif (y0 <= 2.2e-255) tmp = (a * y5) * (t * y2); elseif (y0 <= 2.8e+99) tmp = ((k * i) * y) * y5; elseif (y0 <= 1.1e+246) tmp = (c * y2) * (x * y0); 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[(b * N[(N[(k * y0), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -4.5e+207], t$95$1, If[LessEqual[y0, -1.15e+94], N[(N[(N[(y5 * y), $MachinePrecision] * i), $MachinePrecision] * k), $MachinePrecision], If[LessEqual[y0, 2.2e-255], N[(N[(a * y5), $MachinePrecision] * N[(t * y2), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 2.8e+99], N[(N[(N[(k * i), $MachinePrecision] * y), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[y0, 1.1e+246], N[(N[(c * y2), $MachinePrecision] * N[(x * y0), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(\left(k \cdot y0\right) \cdot z\right)\\
\mathbf{if}\;y0 \leq -4.5 \cdot 10^{+207}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y0 \leq -1.15 \cdot 10^{+94}:\\
\;\;\;\;\left(\left(y5 \cdot y\right) \cdot i\right) \cdot k\\
\mathbf{elif}\;y0 \leq 2.2 \cdot 10^{-255}:\\
\;\;\;\;\left(a \cdot y5\right) \cdot \left(t \cdot y2\right)\\
\mathbf{elif}\;y0 \leq 2.8 \cdot 10^{+99}:\\
\;\;\;\;\left(\left(k \cdot i\right) \cdot y\right) \cdot y5\\
\mathbf{elif}\;y0 \leq 1.1 \cdot 10^{+246}:\\
\;\;\;\;\left(c \cdot y2\right) \cdot \left(x \cdot y0\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y0 < -4.50000000000000003e207 or 1.09999999999999994e246 < y0 Initial program 20.0%
Taylor expanded in z around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites37.8%
Taylor expanded in y0 around inf
Applied rewrites50.8%
Taylor expanded in b around inf
Applied rewrites53.2%
if -4.50000000000000003e207 < y0 < -1.15e94Initial program 15.0%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites55.5%
Taylor expanded in k around -inf
Applied rewrites45.9%
Taylor expanded in y around inf
Applied rewrites36.2%
Applied rewrites40.9%
if -1.15e94 < y0 < 2.1999999999999999e-255Initial program 29.1%
Taylor expanded in y5 around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites43.5%
Taylor expanded in a around inf
Applied rewrites32.3%
Taylor expanded in y around 0
Applied rewrites27.0%
if 2.1999999999999999e-255 < y0 < 2.8e99Initial program 34.4%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites48.5%
Taylor expanded in k around -inf
Applied rewrites35.3%
Taylor expanded in y around inf
Applied rewrites17.4%
Applied rewrites21.6%
if 2.8e99 < y0 < 1.09999999999999994e246Initial program 15.2%
Taylor expanded in y2 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites33.5%
Taylor expanded in c around inf
Applied rewrites39.9%
Taylor expanded in x around inf
Applied rewrites42.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= i -9e+111)
(* (* (* k i) y) y5)
(if (<= i -1e-10)
(* (* (- y0) z) (* c y3))
(if (<= i 2.2e-24)
(* (- z) (* b (* (- k) y0)))
(if (<= i 1.2e+58) (* (* (* y5 y) i) k) (* (* i k) (* (- y1) 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 (i <= -9e+111) {
tmp = ((k * i) * y) * y5;
} else if (i <= -1e-10) {
tmp = (-y0 * z) * (c * y3);
} else if (i <= 2.2e-24) {
tmp = -z * (b * (-k * y0));
} else if (i <= 1.2e+58) {
tmp = ((y5 * y) * i) * k;
} else {
tmp = (i * k) * (-y1 * z);
}
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 (i <= (-9d+111)) then
tmp = ((k * i) * y) * y5
else if (i <= (-1d-10)) then
tmp = (-y0 * z) * (c * y3)
else if (i <= 2.2d-24) then
tmp = -z * (b * (-k * y0))
else if (i <= 1.2d+58) then
tmp = ((y5 * y) * i) * k
else
tmp = (i * k) * (-y1 * z)
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 (i <= -9e+111) {
tmp = ((k * i) * y) * y5;
} else if (i <= -1e-10) {
tmp = (-y0 * z) * (c * y3);
} else if (i <= 2.2e-24) {
tmp = -z * (b * (-k * y0));
} else if (i <= 1.2e+58) {
tmp = ((y5 * y) * i) * k;
} else {
tmp = (i * k) * (-y1 * z);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if i <= -9e+111: tmp = ((k * i) * y) * y5 elif i <= -1e-10: tmp = (-y0 * z) * (c * y3) elif i <= 2.2e-24: tmp = -z * (b * (-k * y0)) elif i <= 1.2e+58: tmp = ((y5 * y) * i) * k else: tmp = (i * k) * (-y1 * 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 (i <= -9e+111) tmp = Float64(Float64(Float64(k * i) * y) * y5); elseif (i <= -1e-10) tmp = Float64(Float64(Float64(-y0) * z) * Float64(c * y3)); elseif (i <= 2.2e-24) tmp = Float64(Float64(-z) * Float64(b * Float64(Float64(-k) * y0))); elseif (i <= 1.2e+58) tmp = Float64(Float64(Float64(y5 * y) * i) * k); else tmp = Float64(Float64(i * k) * Float64(Float64(-y1) * z)); 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 (i <= -9e+111) tmp = ((k * i) * y) * y5; elseif (i <= -1e-10) tmp = (-y0 * z) * (c * y3); elseif (i <= 2.2e-24) tmp = -z * (b * (-k * y0)); elseif (i <= 1.2e+58) tmp = ((y5 * y) * i) * k; else tmp = (i * k) * (-y1 * z); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[i, -9e+111], N[(N[(N[(k * i), $MachinePrecision] * y), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[i, -1e-10], N[(N[((-y0) * z), $MachinePrecision] * N[(c * y3), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 2.2e-24], N[((-z) * N[(b * N[((-k) * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.2e+58], N[(N[(N[(y5 * y), $MachinePrecision] * i), $MachinePrecision] * k), $MachinePrecision], N[(N[(i * k), $MachinePrecision] * N[((-y1) * z), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;i \leq -9 \cdot 10^{+111}:\\
\;\;\;\;\left(\left(k \cdot i\right) \cdot y\right) \cdot y5\\
\mathbf{elif}\;i \leq -1 \cdot 10^{-10}:\\
\;\;\;\;\left(\left(-y0\right) \cdot z\right) \cdot \left(c \cdot y3\right)\\
\mathbf{elif}\;i \leq 2.2 \cdot 10^{-24}:\\
\;\;\;\;\left(-z\right) \cdot \left(b \cdot \left(\left(-k\right) \cdot y0\right)\right)\\
\mathbf{elif}\;i \leq 1.2 \cdot 10^{+58}:\\
\;\;\;\;\left(\left(y5 \cdot y\right) \cdot i\right) \cdot k\\
\mathbf{else}:\\
\;\;\;\;\left(i \cdot k\right) \cdot \left(\left(-y1\right) \cdot z\right)\\
\end{array}
\end{array}
if i < -9.00000000000000001e111Initial program 17.1%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites77.1%
Taylor expanded in k around -inf
Applied rewrites44.3%
Taylor expanded in y around inf
Applied rewrites30.2%
Applied rewrites41.1%
if -9.00000000000000001e111 < i < -1.00000000000000004e-10Initial program 24.0%
Taylor expanded in z around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites48.2%
Taylor expanded in y0 around inf
Applied rewrites38.8%
Taylor expanded in b around 0
Applied rewrites39.4%
if -1.00000000000000004e-10 < i < 2.20000000000000002e-24Initial program 30.0%
Taylor expanded in z around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites40.8%
Taylor expanded in b around inf
Applied rewrites40.3%
Taylor expanded in t around 0
Applied rewrites31.1%
if 2.20000000000000002e-24 < i < 1.2e58Initial program 37.2%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites43.3%
Taylor expanded in k around -inf
Applied rewrites42.9%
Taylor expanded in y around inf
Applied rewrites38.5%
Applied rewrites48.3%
if 1.2e58 < i Initial program 20.3%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites52.3%
Taylor expanded in k around -inf
Applied rewrites37.9%
Taylor expanded in y around 0
Applied rewrites27.5%
Final simplification33.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* i y) (fma (- c) x (* k y5)))))
(if (<= y -5.8e+135)
t_1
(if (<= y -5e-213)
(* y0 (* z (fma b k (* (- c) y3))))
(if (<= y 3e+145) (* (* i z) (fma c t (* (- k) 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 = (i * y) * fma(-c, x, (k * y5));
double tmp;
if (y <= -5.8e+135) {
tmp = t_1;
} else if (y <= -5e-213) {
tmp = y0 * (z * fma(b, k, (-c * y3)));
} else if (y <= 3e+145) {
tmp = (i * z) * fma(c, t, (-k * 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(i * y) * fma(Float64(-c), x, Float64(k * y5))) tmp = 0.0 if (y <= -5.8e+135) tmp = t_1; elseif (y <= -5e-213) tmp = Float64(y0 * Float64(z * fma(b, k, Float64(Float64(-c) * y3)))); elseif (y <= 3e+145) tmp = Float64(Float64(i * z) * fma(c, t, Float64(Float64(-k) * y1))); 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[(i * y), $MachinePrecision] * N[((-c) * x + N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -5.8e+135], t$95$1, If[LessEqual[y, -5e-213], N[(y0 * N[(z * N[(b * k + N[((-c) * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 3e+145], N[(N[(i * z), $MachinePrecision] * N[(c * t + N[((-k) * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(i \cdot y\right) \cdot \mathsf{fma}\left(-c, x, k \cdot y5\right)\\
\mathbf{if}\;y \leq -5.8 \cdot 10^{+135}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq -5 \cdot 10^{-213}:\\
\;\;\;\;y0 \cdot \left(z \cdot \mathsf{fma}\left(b, k, \left(-c\right) \cdot y3\right)\right)\\
\mathbf{elif}\;y \leq 3 \cdot 10^{+145}:\\
\;\;\;\;\left(i \cdot z\right) \cdot \mathsf{fma}\left(c, t, \left(-k\right) \cdot y1\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < -5.7999999999999997e135 or 3.0000000000000002e145 < y Initial program 28.1%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites51.8%
Taylor expanded in k around -inf
Applied rewrites47.4%
Taylor expanded in y around -inf
Applied rewrites67.6%
if -5.7999999999999997e135 < y < -4.99999999999999977e-213Initial program 32.4%
Taylor expanded in z around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites37.3%
Taylor expanded in y0 around inf
Applied rewrites35.1%
Applied rewrites39.4%
if -4.99999999999999977e-213 < y < 3.0000000000000002e145Initial program 21.9%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites37.5%
Taylor expanded in z around -inf
Applied rewrites31.1%
Final simplification42.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* i k) (fma y y5 (* (- y1) z)))))
(if (<= i -1.05e+112)
t_1
(if (<= i -1e-10)
(* (* (- y0) z) (* c y3))
(if (<= i 1.6e-24) (* (- z) (* b (* (- k) 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 = (i * k) * fma(y, y5, (-y1 * z));
double tmp;
if (i <= -1.05e+112) {
tmp = t_1;
} else if (i <= -1e-10) {
tmp = (-y0 * z) * (c * y3);
} else if (i <= 1.6e-24) {
tmp = -z * (b * (-k * 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(i * k) * fma(y, y5, Float64(Float64(-y1) * z))) tmp = 0.0 if (i <= -1.05e+112) tmp = t_1; elseif (i <= -1e-10) tmp = Float64(Float64(Float64(-y0) * z) * Float64(c * y3)); elseif (i <= 1.6e-24) tmp = Float64(Float64(-z) * Float64(b * Float64(Float64(-k) * 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[(i * k), $MachinePrecision] * N[(y * y5 + N[((-y1) * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -1.05e+112], t$95$1, If[LessEqual[i, -1e-10], N[(N[((-y0) * z), $MachinePrecision] * N[(c * y3), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.6e-24], N[((-z) * N[(b * N[((-k) * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(i \cdot k\right) \cdot \mathsf{fma}\left(y, y5, \left(-y1\right) \cdot z\right)\\
\mathbf{if}\;i \leq -1.05 \cdot 10^{+112}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;i \leq -1 \cdot 10^{-10}:\\
\;\;\;\;\left(\left(-y0\right) \cdot z\right) \cdot \left(c \cdot y3\right)\\
\mathbf{elif}\;i \leq 1.6 \cdot 10^{-24}:\\
\;\;\;\;\left(-z\right) \cdot \left(b \cdot \left(\left(-k\right) \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if i < -1.0499999999999999e112 or 1.60000000000000006e-24 < i Initial program 22.3%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites58.8%
Taylor expanded in k around -inf
Applied rewrites40.8%
if -1.0499999999999999e112 < i < -1.00000000000000004e-10Initial program 24.0%
Taylor expanded in z around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites48.2%
Taylor expanded in y0 around inf
Applied rewrites38.8%
Taylor expanded in b around 0
Applied rewrites39.4%
if -1.00000000000000004e-10 < i < 1.60000000000000006e-24Initial program 30.0%
Taylor expanded in z around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites40.8%
Taylor expanded in b around inf
Applied rewrites40.3%
Taylor expanded in t around 0
Applied rewrites31.1%
Final simplification35.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (- i) (* k (* y1 z)))))
(if (<= y1 -2.3e+74)
t_1
(if (<= y1 -4.6e-86)
(* a (* (* t y2) y5))
(if (<= y1 6.2e-23) (* b (* (* k y0) z)) 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 = -i * (k * (y1 * z));
double tmp;
if (y1 <= -2.3e+74) {
tmp = t_1;
} else if (y1 <= -4.6e-86) {
tmp = a * ((t * y2) * y5);
} else if (y1 <= 6.2e-23) {
tmp = b * ((k * y0) * z);
} 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 = -i * (k * (y1 * z))
if (y1 <= (-2.3d+74)) then
tmp = t_1
else if (y1 <= (-4.6d-86)) then
tmp = a * ((t * y2) * y5)
else if (y1 <= 6.2d-23) then
tmp = b * ((k * y0) * z)
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = -i * (k * (y1 * z));
double tmp;
if (y1 <= -2.3e+74) {
tmp = t_1;
} else if (y1 <= -4.6e-86) {
tmp = a * ((t * y2) * y5);
} else if (y1 <= 6.2e-23) {
tmp = b * ((k * y0) * z);
} 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 = -i * (k * (y1 * z)) tmp = 0 if y1 <= -2.3e+74: tmp = t_1 elif y1 <= -4.6e-86: tmp = a * ((t * y2) * y5) elif y1 <= 6.2e-23: tmp = b * ((k * y0) * z) 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(-i) * Float64(k * Float64(y1 * z))) tmp = 0.0 if (y1 <= -2.3e+74) tmp = t_1; elseif (y1 <= -4.6e-86) tmp = Float64(a * Float64(Float64(t * y2) * y5)); elseif (y1 <= 6.2e-23) tmp = Float64(b * Float64(Float64(k * y0) * z)); 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 = -i * (k * (y1 * z)); tmp = 0.0; if (y1 <= -2.3e+74) tmp = t_1; elseif (y1 <= -4.6e-86) tmp = a * ((t * y2) * y5); elseif (y1 <= 6.2e-23) tmp = b * ((k * y0) * z); 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[((-i) * N[(k * N[(y1 * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y1, -2.3e+74], t$95$1, If[LessEqual[y1, -4.6e-86], N[(a * N[(N[(t * y2), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 6.2e-23], N[(b * N[(N[(k * y0), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(-i\right) \cdot \left(k \cdot \left(y1 \cdot z\right)\right)\\
\mathbf{if}\;y1 \leq -2.3 \cdot 10^{+74}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y1 \leq -4.6 \cdot 10^{-86}:\\
\;\;\;\;a \cdot \left(\left(t \cdot y2\right) \cdot y5\right)\\
\mathbf{elif}\;y1 \leq 6.2 \cdot 10^{-23}:\\
\;\;\;\;b \cdot \left(\left(k \cdot y0\right) \cdot z\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y1 < -2.2999999999999999e74 or 6.1999999999999998e-23 < y1 Initial program 20.1%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites51.1%
Taylor expanded in k around -inf
Applied rewrites36.4%
Taylor expanded in y around 0
Applied rewrites32.6%
if -2.2999999999999999e74 < y1 < -4.59999999999999992e-86Initial program 24.5%
Taylor expanded in y5 around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites33.0%
Taylor expanded in a around inf
Applied rewrites36.2%
Taylor expanded in y around 0
Applied rewrites36.5%
if -4.59999999999999992e-86 < y1 < 6.1999999999999998e-23Initial program 34.9%
Taylor expanded in z around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites38.4%
Taylor expanded in y0 around inf
Applied rewrites29.9%
Taylor expanded in b around inf
Applied rewrites25.7%
Final simplification30.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= k -2.4e+21)
(* (- z) (* b (* (- k) y0)))
(if (<= k 2.1e+153)
(* (* i t) (fma c z (* (- j) y5)))
(* (* i k) (fma y y5 (* (- y1) 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 (k <= -2.4e+21) {
tmp = -z * (b * (-k * y0));
} else if (k <= 2.1e+153) {
tmp = (i * t) * fma(c, z, (-j * y5));
} else {
tmp = (i * k) * fma(y, y5, (-y1 * 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 (k <= -2.4e+21) tmp = Float64(Float64(-z) * Float64(b * Float64(Float64(-k) * y0))); elseif (k <= 2.1e+153) tmp = Float64(Float64(i * t) * fma(c, z, Float64(Float64(-j) * y5))); else tmp = Float64(Float64(i * k) * fma(y, y5, Float64(Float64(-y1) * z))); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[k, -2.4e+21], N[((-z) * N[(b * N[((-k) * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 2.1e+153], N[(N[(i * t), $MachinePrecision] * N[(c * z + N[((-j) * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(i * k), $MachinePrecision] * N[(y * y5 + N[((-y1) * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;k \leq -2.4 \cdot 10^{+21}:\\
\;\;\;\;\left(-z\right) \cdot \left(b \cdot \left(\left(-k\right) \cdot y0\right)\right)\\
\mathbf{elif}\;k \leq 2.1 \cdot 10^{+153}:\\
\;\;\;\;\left(i \cdot t\right) \cdot \mathsf{fma}\left(c, z, \left(-j\right) \cdot y5\right)\\
\mathbf{else}:\\
\;\;\;\;\left(i \cdot k\right) \cdot \mathsf{fma}\left(y, y5, \left(-y1\right) \cdot z\right)\\
\end{array}
\end{array}
if k < -2.4e21Initial program 14.1%
Taylor expanded in z around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites45.7%
Taylor expanded in b around inf
Applied rewrites50.8%
Taylor expanded in t around 0
Applied rewrites46.2%
if -2.4e21 < k < 2.10000000000000017e153Initial program 33.8%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites46.4%
Taylor expanded in k around -inf
Applied rewrites17.4%
Taylor expanded in y around inf
Applied rewrites8.4%
Taylor expanded in t around -inf
Applied rewrites31.8%
if 2.10000000000000017e153 < k Initial program 10.3%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites45.2%
Taylor expanded in k around -inf
Applied rewrites59.2%
Final simplification38.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= i -1.8e+93)
(* (* (* k i) y) y5)
(if (<= i 2.2e-24)
(* b (* (* k y0) z))
(if (<= i 1.2e+58) (* (* (* y5 y) i) k) (* (* a y5) (* t y2))))))
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 (i <= -1.8e+93) {
tmp = ((k * i) * y) * y5;
} else if (i <= 2.2e-24) {
tmp = b * ((k * y0) * z);
} else if (i <= 1.2e+58) {
tmp = ((y5 * y) * i) * k;
} else {
tmp = (a * y5) * (t * y2);
}
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 (i <= (-1.8d+93)) then
tmp = ((k * i) * y) * y5
else if (i <= 2.2d-24) then
tmp = b * ((k * y0) * z)
else if (i <= 1.2d+58) then
tmp = ((y5 * y) * i) * k
else
tmp = (a * y5) * (t * y2)
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 (i <= -1.8e+93) {
tmp = ((k * i) * y) * y5;
} else if (i <= 2.2e-24) {
tmp = b * ((k * y0) * z);
} else if (i <= 1.2e+58) {
tmp = ((y5 * y) * i) * k;
} else {
tmp = (a * y5) * (t * y2);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if i <= -1.8e+93: tmp = ((k * i) * y) * y5 elif i <= 2.2e-24: tmp = b * ((k * y0) * z) elif i <= 1.2e+58: tmp = ((y5 * y) * i) * k else: tmp = (a * y5) * (t * y2) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (i <= -1.8e+93) tmp = Float64(Float64(Float64(k * i) * y) * y5); elseif (i <= 2.2e-24) tmp = Float64(b * Float64(Float64(k * y0) * z)); elseif (i <= 1.2e+58) tmp = Float64(Float64(Float64(y5 * y) * i) * k); else tmp = Float64(Float64(a * y5) * Float64(t * y2)); 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 (i <= -1.8e+93) tmp = ((k * i) * y) * y5; elseif (i <= 2.2e-24) tmp = b * ((k * y0) * z); elseif (i <= 1.2e+58) tmp = ((y5 * y) * i) * k; else tmp = (a * y5) * (t * y2); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[i, -1.8e+93], N[(N[(N[(k * i), $MachinePrecision] * y), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[i, 2.2e-24], N[(b * N[(N[(k * y0), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.2e+58], N[(N[(N[(y5 * y), $MachinePrecision] * i), $MachinePrecision] * k), $MachinePrecision], N[(N[(a * y5), $MachinePrecision] * N[(t * y2), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;i \leq -1.8 \cdot 10^{+93}:\\
\;\;\;\;\left(\left(k \cdot i\right) \cdot y\right) \cdot y5\\
\mathbf{elif}\;i \leq 2.2 \cdot 10^{-24}:\\
\;\;\;\;b \cdot \left(\left(k \cdot y0\right) \cdot z\right)\\
\mathbf{elif}\;i \leq 1.2 \cdot 10^{+58}:\\
\;\;\;\;\left(\left(y5 \cdot y\right) \cdot i\right) \cdot k\\
\mathbf{else}:\\
\;\;\;\;\left(a \cdot y5\right) \cdot \left(t \cdot y2\right)\\
\end{array}
\end{array}
if i < -1.8e93Initial program 17.5%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites67.6%
Taylor expanded in k around -inf
Applied rewrites38.9%
Taylor expanded in y around inf
Applied rewrites29.1%
Applied rewrites38.7%
if -1.8e93 < i < 2.20000000000000002e-24Initial program 29.5%
Taylor expanded in z around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites41.8%
Taylor expanded in y0 around inf
Applied rewrites30.6%
Taylor expanded in b around inf
Applied rewrites26.0%
if 2.20000000000000002e-24 < i < 1.2e58Initial program 37.2%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites43.3%
Taylor expanded in k around -inf
Applied rewrites42.9%
Taylor expanded in y around inf
Applied rewrites38.5%
Applied rewrites48.3%
if 1.2e58 < i Initial program 20.3%
Taylor expanded in y5 around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites37.6%
Taylor expanded in a around inf
Applied rewrites28.6%
Taylor expanded in y around 0
Applied rewrites25.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= y1 -1.8e+74) (* (- a) (* (* x y1) y2)) (if (<= y1 1.56e-19) (* (- z) (* (* a b) t)) (* (- i) (* k (* y1 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 (y1 <= -1.8e+74) {
tmp = -a * ((x * y1) * y2);
} else if (y1 <= 1.56e-19) {
tmp = -z * ((a * b) * t);
} else {
tmp = -i * (k * (y1 * z));
}
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 (y1 <= (-1.8d+74)) then
tmp = -a * ((x * y1) * y2)
else if (y1 <= 1.56d-19) then
tmp = -z * ((a * b) * t)
else
tmp = -i * (k * (y1 * z))
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 (y1 <= -1.8e+74) {
tmp = -a * ((x * y1) * y2);
} else if (y1 <= 1.56e-19) {
tmp = -z * ((a * b) * t);
} else {
tmp = -i * (k * (y1 * z));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y1 <= -1.8e+74: tmp = -a * ((x * y1) * y2) elif y1 <= 1.56e-19: tmp = -z * ((a * b) * t) else: tmp = -i * (k * (y1 * 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 (y1 <= -1.8e+74) tmp = Float64(Float64(-a) * Float64(Float64(x * y1) * y2)); elseif (y1 <= 1.56e-19) tmp = Float64(Float64(-z) * Float64(Float64(a * b) * t)); else tmp = Float64(Float64(-i) * Float64(k * Float64(y1 * z))); 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 (y1 <= -1.8e+74) tmp = -a * ((x * y1) * y2); elseif (y1 <= 1.56e-19) tmp = -z * ((a * b) * t); else tmp = -i * (k * (y1 * z)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y1, -1.8e+74], N[((-a) * N[(N[(x * y1), $MachinePrecision] * y2), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.56e-19], N[((-z) * N[(N[(a * b), $MachinePrecision] * t), $MachinePrecision]), $MachinePrecision], N[((-i) * N[(k * N[(y1 * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y1 \leq -1.8 \cdot 10^{+74}:\\
\;\;\;\;\left(-a\right) \cdot \left(\left(x \cdot y1\right) \cdot y2\right)\\
\mathbf{elif}\;y1 \leq 1.56 \cdot 10^{-19}:\\
\;\;\;\;\left(-z\right) \cdot \left(\left(a \cdot b\right) \cdot t\right)\\
\mathbf{else}:\\
\;\;\;\;\left(-i\right) \cdot \left(k \cdot \left(y1 \cdot z\right)\right)\\
\end{array}
\end{array}
if y1 < -1.79999999999999994e74Initial program 20.8%
Taylor expanded in y2 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites25.4%
Taylor expanded in c around inf
Applied rewrites26.3%
Taylor expanded in x around inf
Applied rewrites38.2%
Taylor expanded in a around inf
Applied rewrites29.9%
if -1.79999999999999994e74 < y1 < 1.56000000000000003e-19Initial program 31.7%
Taylor expanded in z around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites41.1%
Taylor expanded in b around inf
Applied rewrites35.6%
Taylor expanded in t around inf
Applied rewrites27.4%
if 1.56000000000000003e-19 < y1 Initial program 20.0%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites49.6%
Taylor expanded in k around -inf
Applied rewrites38.4%
Taylor expanded in y around 0
Applied rewrites36.0%
Final simplification30.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (or (<= y -6e+157) (not (<= y 2.35e+136))) (* (* (* y5 y) i) k) (* a (* (* t y2) y5))))
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 ((y <= -6e+157) || !(y <= 2.35e+136)) {
tmp = ((y5 * y) * i) * k;
} else {
tmp = a * ((t * y2) * y5);
}
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 ((y <= (-6d+157)) .or. (.not. (y <= 2.35d+136))) then
tmp = ((y5 * y) * i) * k
else
tmp = a * ((t * y2) * y5)
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 ((y <= -6e+157) || !(y <= 2.35e+136)) {
tmp = ((y5 * y) * i) * k;
} else {
tmp = a * ((t * y2) * y5);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if (y <= -6e+157) or not (y <= 2.35e+136): tmp = ((y5 * y) * i) * k else: tmp = a * ((t * y2) * y5) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if ((y <= -6e+157) || !(y <= 2.35e+136)) tmp = Float64(Float64(Float64(y5 * y) * i) * k); else tmp = Float64(a * Float64(Float64(t * y2) * y5)); 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 ((y <= -6e+157) || ~((y <= 2.35e+136))) tmp = ((y5 * y) * i) * k; else tmp = a * ((t * y2) * y5); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[Or[LessEqual[y, -6e+157], N[Not[LessEqual[y, 2.35e+136]], $MachinePrecision]], N[(N[(N[(y5 * y), $MachinePrecision] * i), $MachinePrecision] * k), $MachinePrecision], N[(a * N[(N[(t * y2), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -6 \cdot 10^{+157} \lor \neg \left(y \leq 2.35 \cdot 10^{+136}\right):\\
\;\;\;\;\left(\left(y5 \cdot y\right) \cdot i\right) \cdot k\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(\left(t \cdot y2\right) \cdot y5\right)\\
\end{array}
\end{array}
if y < -6.00000000000000021e157 or 2.35000000000000002e136 < y Initial program 25.4%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites55.8%
Taylor expanded in k around -inf
Applied rewrites48.2%
Taylor expanded in y around inf
Applied rewrites42.1%
Applied rewrites45.1%
if -6.00000000000000021e157 < y < 2.35000000000000002e136Initial program 26.5%
Taylor expanded in y5 around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites39.0%
Taylor expanded in a around inf
Applied rewrites20.5%
Taylor expanded in y around 0
Applied rewrites18.5%
Final simplification25.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* (* (* y5 y) i) 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) {
return ((y5 * y) * i) * k;
}
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 = ((y5 * y) * i) * k
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 ((y5 * y) * i) * k;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return ((y5 * y) * i) * k
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(Float64(Float64(y5 * y) * i) * k) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = ((y5 * y) * i) * k; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(N[(N[(y5 * y), $MachinePrecision] * i), $MachinePrecision] * k), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(y5 \cdot y\right) \cdot i\right) \cdot k
\end{array}
Initial program 26.2%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites43.7%
Taylor expanded in k around -inf
Applied rewrites27.0%
Taylor expanded in y around inf
Applied rewrites16.7%
Applied rewrites17.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* (* (* k i) y) y5))
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 ((k * i) * y) * y5;
}
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 = ((k * i) * y) * y5
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 ((k * i) * y) * y5;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return ((k * i) * y) * y5
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(Float64(Float64(k * i) * y) * y5) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = ((k * i) * y) * y5; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(N[(N[(k * i), $MachinePrecision] * y), $MachinePrecision] * y5), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(k \cdot i\right) \cdot y\right) \cdot y5
\end{array}
Initial program 26.2%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites43.7%
Taylor expanded in k around -inf
Applied rewrites27.0%
Taylor expanded in y around inf
Applied rewrites16.7%
Applied rewrites17.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* (* 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) {
return (y5 * i) * (k * y);
}
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 = (y5 * i) * (k * y)
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return (y5 * i) * (k * y);
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return (y5 * i) * (k * y)
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(Float64(y5 * i) * Float64(k * y)) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = (y5 * i) * (k * y); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(N[(y5 * i), $MachinePrecision] * N[(k * y), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(y5 \cdot i\right) \cdot \left(k \cdot y\right)
\end{array}
Initial program 26.2%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites43.7%
Taylor expanded in k around -inf
Applied rewrites27.0%
Taylor expanded in y around inf
Applied rewrites16.7%
Applied rewrites17.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* i (* (* k y) y5)))
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 i * ((k * y) * y5);
}
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 = i * ((k * y) * y5)
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 i * ((k * y) * y5);
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return i * ((k * y) * y5)
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(i * Float64(Float64(k * y) * y5)) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = i * ((k * y) * y5); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(i * N[(N[(k * y), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
i \cdot \left(\left(k \cdot y\right) \cdot y5\right)
\end{array}
Initial program 26.2%
Taylor expanded in i around -inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lower--.f64N/A
Applied rewrites43.7%
Taylor expanded in k around -inf
Applied rewrites27.0%
Taylor expanded in y around inf
Applied rewrites16.7%
(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 2024326
(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)))))