
(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 28 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 (- (* b a) (* i c)))
(t_2 (- (* y4 c) (* y5 a)))
(t_3 (- (* y0 c) (* y1 a))))
(if (<= y -1.9e+196)
(* (* (fma (- k) y4 (* a x)) y) b)
(if (<= y -7.1e+65)
(* (fma t_1 y (fma t_3 y2 (* (- (* y1 i) (* y0 b)) j))) x)
(if (<= y -1.6e-202)
(*
(fma
(- (* y3 z) (* y2 x))
y1
(fma (- (* y x) (* t z)) b (* (- (* y2 t) (* y3 y)) y5)))
a)
(if (<= y 2.2e-207)
(*
(fma
(- (* i c) (* b a))
t
(fma (- y3) t_3 (* (- (* y0 b) (* y1 i)) k)))
z)
(if (<= y 1.7e-44)
(*
(fma
(- (* t z) (* y x))
i
(fma (- (* y2 x) (* y3 z)) y0 (* (- (* y3 y) (* y2 t)) y4)))
c)
(if (<= y 6.8e+159)
(* (fma (- (* y5 y0) (* y4 y1)) j (fma (- z) t_3 (* t_2 y))) y3)
(*
(fma (- (* y5 i) (* y4 b)) k (fma t_1 x (* t_2 y3)))
y)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (b * a) - (i * c);
double t_2 = (y4 * c) - (y5 * a);
double t_3 = (y0 * c) - (y1 * a);
double tmp;
if (y <= -1.9e+196) {
tmp = (fma(-k, y4, (a * x)) * y) * b;
} else if (y <= -7.1e+65) {
tmp = fma(t_1, y, fma(t_3, y2, (((y1 * i) - (y0 * b)) * j))) * x;
} else if (y <= -1.6e-202) {
tmp = fma(((y3 * z) - (y2 * x)), y1, fma(((y * x) - (t * z)), b, (((y2 * t) - (y3 * y)) * y5))) * a;
} else if (y <= 2.2e-207) {
tmp = fma(((i * c) - (b * a)), t, fma(-y3, t_3, (((y0 * b) - (y1 * i)) * k))) * z;
} else if (y <= 1.7e-44) {
tmp = fma(((t * z) - (y * x)), i, fma(((y2 * x) - (y3 * z)), y0, (((y3 * y) - (y2 * t)) * y4))) * c;
} else if (y <= 6.8e+159) {
tmp = fma(((y5 * y0) - (y4 * y1)), j, fma(-z, t_3, (t_2 * y))) * y3;
} else {
tmp = fma(((y5 * i) - (y4 * b)), k, fma(t_1, x, (t_2 * y3))) * y;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(b * a) - Float64(i * c)) t_2 = Float64(Float64(y4 * c) - Float64(y5 * a)) t_3 = Float64(Float64(y0 * c) - Float64(y1 * a)) tmp = 0.0 if (y <= -1.9e+196) tmp = Float64(Float64(fma(Float64(-k), y4, Float64(a * x)) * y) * b); elseif (y <= -7.1e+65) tmp = Float64(fma(t_1, y, fma(t_3, y2, Float64(Float64(Float64(y1 * i) - Float64(y0 * b)) * j))) * x); elseif (y <= -1.6e-202) tmp = Float64(fma(Float64(Float64(y3 * z) - Float64(y2 * x)), y1, fma(Float64(Float64(y * x) - Float64(t * z)), b, Float64(Float64(Float64(y2 * t) - Float64(y3 * y)) * y5))) * a); elseif (y <= 2.2e-207) tmp = Float64(fma(Float64(Float64(i * c) - Float64(b * a)), t, fma(Float64(-y3), t_3, Float64(Float64(Float64(y0 * b) - Float64(y1 * i)) * k))) * z); elseif (y <= 1.7e-44) tmp = Float64(fma(Float64(Float64(t * z) - Float64(y * x)), i, fma(Float64(Float64(y2 * x) - Float64(y3 * z)), y0, Float64(Float64(Float64(y3 * y) - Float64(y2 * t)) * y4))) * c); elseif (y <= 6.8e+159) tmp = Float64(fma(Float64(Float64(y5 * y0) - Float64(y4 * y1)), j, fma(Float64(-z), t_3, Float64(t_2 * y))) * y3); else tmp = Float64(fma(Float64(Float64(y5 * i) - Float64(y4 * b)), k, fma(t_1, x, Float64(t_2 * y3))) * y); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -1.9e+196], N[(N[(N[((-k) * y4 + N[(a * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[y, -7.1e+65], N[(N[(t$95$1 * y + N[(t$95$3 * y2 + N[(N[(N[(y1 * i), $MachinePrecision] - N[(y0 * b), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[y, -1.6e-202], N[(N[(N[(N[(y3 * z), $MachinePrecision] - N[(y2 * x), $MachinePrecision]), $MachinePrecision] * y1 + N[(N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision] * b + N[(N[(N[(y2 * t), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[y, 2.2e-207], N[(N[(N[(N[(i * c), $MachinePrecision] - N[(b * a), $MachinePrecision]), $MachinePrecision] * t + N[((-y3) * t$95$3 + N[(N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision], If[LessEqual[y, 1.7e-44], N[(N[(N[(N[(t * z), $MachinePrecision] - N[(y * x), $MachinePrecision]), $MachinePrecision] * i + N[(N[(N[(y2 * x), $MachinePrecision] - N[(y3 * z), $MachinePrecision]), $MachinePrecision] * y0 + N[(N[(N[(y3 * y), $MachinePrecision] - N[(y2 * t), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision], If[LessEqual[y, 6.8e+159], N[(N[(N[(N[(y5 * y0), $MachinePrecision] - N[(y4 * y1), $MachinePrecision]), $MachinePrecision] * j + N[((-z) * t$95$3 + N[(t$95$2 * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision], N[(N[(N[(N[(y5 * i), $MachinePrecision] - N[(y4 * b), $MachinePrecision]), $MachinePrecision] * k + N[(t$95$1 * x + N[(t$95$2 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot a - i \cdot c\\
t_2 := y4 \cdot c - y5 \cdot a\\
t_3 := y0 \cdot c - y1 \cdot a\\
\mathbf{if}\;y \leq -1.9 \cdot 10^{+196}:\\
\;\;\;\;\left(\mathsf{fma}\left(-k, y4, a \cdot x\right) \cdot y\right) \cdot b\\
\mathbf{elif}\;y \leq -7.1 \cdot 10^{+65}:\\
\;\;\;\;\mathsf{fma}\left(t\_1, y, \mathsf{fma}\left(t\_3, y2, \left(y1 \cdot i - y0 \cdot b\right) \cdot j\right)\right) \cdot x\\
\mathbf{elif}\;y \leq -1.6 \cdot 10^{-202}:\\
\;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, y1, \mathsf{fma}\left(y \cdot x - t \cdot z, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a\\
\mathbf{elif}\;y \leq 2.2 \cdot 10^{-207}:\\
\;\;\;\;\mathsf{fma}\left(i \cdot c - b \cdot a, t, \mathsf{fma}\left(-y3, t\_3, \left(y0 \cdot b - y1 \cdot i\right) \cdot k\right)\right) \cdot z\\
\mathbf{elif}\;y \leq 1.7 \cdot 10^{-44}:\\
\;\;\;\;\mathsf{fma}\left(t \cdot z - y \cdot x, i, \mathsf{fma}\left(y2 \cdot x - y3 \cdot z, y0, \left(y3 \cdot y - y2 \cdot t\right) \cdot y4\right)\right) \cdot c\\
\mathbf{elif}\;y \leq 6.8 \cdot 10^{+159}:\\
\;\;\;\;\mathsf{fma}\left(y5 \cdot y0 - y4 \cdot y1, j, \mathsf{fma}\left(-z, t\_3, t\_2 \cdot y\right)\right) \cdot y3\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, k, \mathsf{fma}\left(t\_1, x, t\_2 \cdot y3\right)\right) \cdot y\\
\end{array}
\end{array}
if y < -1.9000000000000001e196Initial program 27.8%
Taylor expanded in b around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites44.4%
Taylor expanded in y around inf
Applied rewrites72.2%
if -1.9000000000000001e196 < y < -7.1000000000000003e65Initial program 21.2%
Taylor expanded in x around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites58.3%
if -7.1000000000000003e65 < y < -1.6000000000000001e-202Initial program 50.0%
Taylor expanded in a around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites59.1%
if -1.6000000000000001e-202 < y < 2.1999999999999999e-207Initial program 37.5%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites55.8%
if 2.1999999999999999e-207 < y < 1.70000000000000008e-44Initial program 42.0%
Taylor expanded in c around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites65.8%
if 1.70000000000000008e-44 < y < 6.79999999999999983e159Initial program 27.3%
Taylor expanded in y3 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites55.5%
if 6.79999999999999983e159 < y Initial program 21.3%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites79.0%
Final simplification63.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(-
(-
(-
(-
(-
(* (- (* y1 i) (* y0 b)) (- (* j x) (* k z)))
(* (- (* t z) (* y x)) (- (* b a) (* i c))))
(* (- (* y1 a) (* y0 c)) (- (* y2 x) (* y3 z))))
(* (- (* y5 i) (* y4 b)) (- (* j t) (* k y))))
(* (- (* y5 a) (* y4 c)) (- (* y3 y) (* y2 t))))
(* (- (* y3 j) (* y2 k)) (- (* y4 y1) (* y5 y0))))))
(if (<= t_1 INFINITY)
t_1
(*
(fma
(- (* k y) (* j t))
i
(fma (- y0) (- (* y2 k) (* y3 j)) (* (- (* y2 t) (* y3 y)) a)))
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 = (((((((y1 * i) - (y0 * b)) * ((j * x) - (k * z))) - (((t * z) - (y * x)) * ((b * a) - (i * c)))) - (((y1 * a) - (y0 * c)) * ((y2 * x) - (y3 * z)))) - (((y5 * i) - (y4 * b)) * ((j * t) - (k * y)))) - (((y5 * a) - (y4 * c)) * ((y3 * y) - (y2 * t)))) - (((y3 * j) - (y2 * k)) * ((y4 * y1) - (y5 * y0)));
double tmp;
if (t_1 <= ((double) INFINITY)) {
tmp = t_1;
} else {
tmp = fma(((k * y) - (j * t)), i, fma(-y0, ((y2 * k) - (y3 * j)), (((y2 * t) - (y3 * y)) * a))) * 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(Float64(Float64(Float64(Float64(Float64(Float64(y1 * i) - Float64(y0 * b)) * Float64(Float64(j * x) - Float64(k * z))) - Float64(Float64(Float64(t * z) - Float64(y * x)) * Float64(Float64(b * a) - Float64(i * c)))) - Float64(Float64(Float64(y1 * a) - Float64(y0 * c)) * Float64(Float64(y2 * x) - Float64(y3 * z)))) - Float64(Float64(Float64(y5 * i) - Float64(y4 * b)) * Float64(Float64(j * t) - Float64(k * y)))) - Float64(Float64(Float64(y5 * a) - Float64(y4 * c)) * Float64(Float64(y3 * y) - Float64(y2 * t)))) - Float64(Float64(Float64(y3 * j) - Float64(y2 * k)) * Float64(Float64(y4 * y1) - Float64(y5 * y0)))) tmp = 0.0 if (t_1 <= Inf) tmp = t_1; else tmp = Float64(fma(Float64(Float64(k * y) - Float64(j * t)), i, fma(Float64(-y0), Float64(Float64(y2 * k) - Float64(y3 * j)), Float64(Float64(Float64(y2 * t) - Float64(y3 * y)) * a))) * 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[(N[(N[(N[(N[(N[(N[(N[(y1 * i), $MachinePrecision] - N[(y0 * b), $MachinePrecision]), $MachinePrecision] * N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(t * z), $MachinePrecision] - N[(y * x), $MachinePrecision]), $MachinePrecision] * N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(y1 * a), $MachinePrecision] - N[(y0 * c), $MachinePrecision]), $MachinePrecision] * N[(N[(y2 * x), $MachinePrecision] - N[(y3 * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(y5 * i), $MachinePrecision] - N[(y4 * b), $MachinePrecision]), $MachinePrecision] * N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(y5 * a), $MachinePrecision] - N[(y4 * c), $MachinePrecision]), $MachinePrecision] * N[(N[(y3 * y), $MachinePrecision] - N[(y2 * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(y3 * j), $MachinePrecision] - N[(y2 * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, Infinity], t$95$1, N[(N[(N[(N[(k * y), $MachinePrecision] - N[(j * t), $MachinePrecision]), $MachinePrecision] * i + N[((-y0) * N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(y2 * t), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\left(\left(\left(\left(y1 \cdot i - y0 \cdot b\right) \cdot \left(j \cdot x - k \cdot z\right) - \left(t \cdot z - y \cdot x\right) \cdot \left(b \cdot a - i \cdot c\right)\right) - \left(y1 \cdot a - y0 \cdot c\right) \cdot \left(y2 \cdot x - y3 \cdot z\right)\right) - \left(y5 \cdot i - y4 \cdot b\right) \cdot \left(j \cdot t - k \cdot y\right)\right) - \left(y5 \cdot a - y4 \cdot c\right) \cdot \left(y3 \cdot y - y2 \cdot t\right)\right) - \left(y3 \cdot j - y2 \cdot k\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)\\
\mathbf{if}\;t\_1 \leq \infty:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(k \cdot y - j \cdot t, i, \mathsf{fma}\left(-y0, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\right) \cdot a\right)\right) \cdot y5\\
\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 94.9%
if +inf.0 < (+.f64 (-.f64 (+.f64 (+.f64 (-.f64 (*.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (-.f64 (*.f64 a b) (*.f64 c i))) (*.f64 (-.f64 (*.f64 x j) (*.f64 z k)) (-.f64 (*.f64 y0 b) (*.f64 y1 i)))) (*.f64 (-.f64 (*.f64 x y2) (*.f64 z y3)) (-.f64 (*.f64 y0 c) (*.f64 y1 a)))) (*.f64 (-.f64 (*.f64 t j) (*.f64 y k)) (-.f64 (*.f64 y4 b) (*.f64 y5 i)))) (*.f64 (-.f64 (*.f64 t y2) (*.f64 y y3)) (-.f64 (*.f64 y4 c) (*.f64 y5 a)))) (*.f64 (-.f64 (*.f64 k y2) (*.f64 j y3)) (-.f64 (*.f64 y4 y1) (*.f64 y5 y0)))) Initial program 0.0%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites42.2%
Final simplification60.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* b a) (* i c))) (t_2 (- (* y0 c) (* y1 a))))
(if (<= y -1.9e+196)
(* (* (fma (- k) y4 (* a x)) y) b)
(if (<= y -7.1e+65)
(* (fma t_1 y (fma t_2 y2 (* (- (* y1 i) (* y0 b)) j))) x)
(if (<= y -1.6e-202)
(*
(fma
(- (* y3 z) (* y2 x))
y1
(fma (- (* y x) (* t z)) b (* (- (* y2 t) (* y3 y)) y5)))
a)
(if (<= y 2.05e-217)
(*
(fma
(- (* i c) (* b a))
t
(fma (- y3) t_2 (* (- (* y0 b) (* y1 i)) k)))
z)
(if (<= y 7.6e-174)
(*
(fma
(- (* y4 y1) (* y5 y0))
k
(fma t_2 x (* (- (* y5 a) (* y4 c)) t)))
y2)
(if (<= y 1.4e+108)
(*
(fma
(- (* j t) (* k y))
b
(fma (- (* y2 k) (* y3 j)) y1 (* (- (* y3 y) (* y2 t)) c)))
y4)
(*
(fma
(- (* y5 i) (* y4 b))
k
(fma t_1 x (* (- (* y4 c) (* y5 a)) y3)))
y)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (b * a) - (i * c);
double t_2 = (y0 * c) - (y1 * a);
double tmp;
if (y <= -1.9e+196) {
tmp = (fma(-k, y4, (a * x)) * y) * b;
} else if (y <= -7.1e+65) {
tmp = fma(t_1, y, fma(t_2, y2, (((y1 * i) - (y0 * b)) * j))) * x;
} else if (y <= -1.6e-202) {
tmp = fma(((y3 * z) - (y2 * x)), y1, fma(((y * x) - (t * z)), b, (((y2 * t) - (y3 * y)) * y5))) * a;
} else if (y <= 2.05e-217) {
tmp = fma(((i * c) - (b * a)), t, fma(-y3, t_2, (((y0 * b) - (y1 * i)) * k))) * z;
} else if (y <= 7.6e-174) {
tmp = fma(((y4 * y1) - (y5 * y0)), k, fma(t_2, x, (((y5 * a) - (y4 * c)) * t))) * y2;
} else if (y <= 1.4e+108) {
tmp = fma(((j * t) - (k * y)), b, fma(((y2 * k) - (y3 * j)), y1, (((y3 * y) - (y2 * t)) * c))) * y4;
} else {
tmp = fma(((y5 * i) - (y4 * b)), k, fma(t_1, x, (((y4 * c) - (y5 * a)) * y3))) * y;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(b * a) - Float64(i * c)) t_2 = Float64(Float64(y0 * c) - Float64(y1 * a)) tmp = 0.0 if (y <= -1.9e+196) tmp = Float64(Float64(fma(Float64(-k), y4, Float64(a * x)) * y) * b); elseif (y <= -7.1e+65) tmp = Float64(fma(t_1, y, fma(t_2, y2, Float64(Float64(Float64(y1 * i) - Float64(y0 * b)) * j))) * x); elseif (y <= -1.6e-202) tmp = Float64(fma(Float64(Float64(y3 * z) - Float64(y2 * x)), y1, fma(Float64(Float64(y * x) - Float64(t * z)), b, Float64(Float64(Float64(y2 * t) - Float64(y3 * y)) * y5))) * a); elseif (y <= 2.05e-217) tmp = Float64(fma(Float64(Float64(i * c) - Float64(b * a)), t, fma(Float64(-y3), t_2, Float64(Float64(Float64(y0 * b) - Float64(y1 * i)) * k))) * z); elseif (y <= 7.6e-174) tmp = Float64(fma(Float64(Float64(y4 * y1) - Float64(y5 * y0)), k, fma(t_2, x, Float64(Float64(Float64(y5 * a) - Float64(y4 * c)) * t))) * y2); elseif (y <= 1.4e+108) tmp = Float64(fma(Float64(Float64(j * t) - Float64(k * y)), b, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y1, Float64(Float64(Float64(y3 * y) - Float64(y2 * t)) * c))) * y4); else tmp = Float64(fma(Float64(Float64(y5 * i) - Float64(y4 * b)), k, fma(t_1, x, Float64(Float64(Float64(y4 * c) - Float64(y5 * a)) * y3))) * y); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -1.9e+196], N[(N[(N[((-k) * y4 + N[(a * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[y, -7.1e+65], N[(N[(t$95$1 * y + N[(t$95$2 * y2 + N[(N[(N[(y1 * i), $MachinePrecision] - N[(y0 * b), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[y, -1.6e-202], N[(N[(N[(N[(y3 * z), $MachinePrecision] - N[(y2 * x), $MachinePrecision]), $MachinePrecision] * y1 + N[(N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision] * b + N[(N[(N[(y2 * t), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[y, 2.05e-217], N[(N[(N[(N[(i * c), $MachinePrecision] - N[(b * a), $MachinePrecision]), $MachinePrecision] * t + N[((-y3) * t$95$2 + N[(N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision], If[LessEqual[y, 7.6e-174], N[(N[(N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision] * k + N[(t$95$2 * x + N[(N[(N[(y5 * a), $MachinePrecision] - N[(y4 * c), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[y, 1.4e+108], N[(N[(N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] * b + N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * y1 + N[(N[(N[(y3 * y), $MachinePrecision] - N[(y2 * t), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision], N[(N[(N[(N[(y5 * i), $MachinePrecision] - N[(y4 * b), $MachinePrecision]), $MachinePrecision] * k + N[(t$95$1 * x + N[(N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot a - i \cdot c\\
t_2 := y0 \cdot c - y1 \cdot a\\
\mathbf{if}\;y \leq -1.9 \cdot 10^{+196}:\\
\;\;\;\;\left(\mathsf{fma}\left(-k, y4, a \cdot x\right) \cdot y\right) \cdot b\\
\mathbf{elif}\;y \leq -7.1 \cdot 10^{+65}:\\
\;\;\;\;\mathsf{fma}\left(t\_1, y, \mathsf{fma}\left(t\_2, y2, \left(y1 \cdot i - y0 \cdot b\right) \cdot j\right)\right) \cdot x\\
\mathbf{elif}\;y \leq -1.6 \cdot 10^{-202}:\\
\;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, y1, \mathsf{fma}\left(y \cdot x - t \cdot z, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a\\
\mathbf{elif}\;y \leq 2.05 \cdot 10^{-217}:\\
\;\;\;\;\mathsf{fma}\left(i \cdot c - b \cdot a, t, \mathsf{fma}\left(-y3, t\_2, \left(y0 \cdot b - y1 \cdot i\right) \cdot k\right)\right) \cdot z\\
\mathbf{elif}\;y \leq 7.6 \cdot 10^{-174}:\\
\;\;\;\;\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(t\_2, x, \left(y5 \cdot a - y4 \cdot c\right) \cdot t\right)\right) \cdot y2\\
\mathbf{elif}\;y \leq 1.4 \cdot 10^{+108}:\\
\;\;\;\;\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(y3 \cdot y - y2 \cdot t\right) \cdot c\right)\right) \cdot y4\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, k, \mathsf{fma}\left(t\_1, x, \left(y4 \cdot c - y5 \cdot a\right) \cdot y3\right)\right) \cdot y\\
\end{array}
\end{array}
if y < -1.9000000000000001e196Initial program 27.8%
Taylor expanded in b around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites44.4%
Taylor expanded in y around inf
Applied rewrites72.2%
if -1.9000000000000001e196 < y < -7.1000000000000003e65Initial program 21.2%
Taylor expanded in x around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites58.3%
if -7.1000000000000003e65 < y < -1.6000000000000001e-202Initial program 50.0%
Taylor expanded in a around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites59.1%
if -1.6000000000000001e-202 < y < 2.04999999999999988e-217Initial program 37.9%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites60.5%
if 2.04999999999999988e-217 < y < 7.60000000000000042e-174Initial program 36.3%
Taylor expanded in y2 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites61.5%
if 7.60000000000000042e-174 < y < 1.3999999999999999e108Initial program 32.7%
Taylor expanded in y4 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites55.2%
if 1.3999999999999999e108 < y Initial program 26.3%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites74.0%
Final simplification61.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* b a) (* i c))) (t_2 (- (* y0 c) (* y1 a))))
(if (<= y -1.9e+196)
(* (* (fma (- k) y4 (* a x)) y) b)
(if (<= y -7.1e+65)
(* (fma t_1 y (fma t_2 y2 (* (- (* y1 i) (* y0 b)) j))) x)
(if (<= y -1.6e-202)
(*
(fma
(- (* y3 z) (* y2 x))
y1
(fma (- (* y x) (* t z)) b (* (- (* y2 t) (* y3 y)) y5)))
a)
(if (<= y 2.2e-207)
(*
(fma
(- (* i c) (* b a))
t
(fma (- y3) t_2 (* (- (* y0 b) (* y1 i)) k)))
z)
(if (<= y 1.2e+99)
(*
(fma
(- (* t z) (* y x))
i
(fma (- (* y2 x) (* y3 z)) y0 (* (- (* y3 y) (* y2 t)) y4)))
c)
(*
(fma
(- (* y5 i) (* y4 b))
k
(fma t_1 x (* (- (* y4 c) (* y5 a)) y3)))
y))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (b * a) - (i * c);
double t_2 = (y0 * c) - (y1 * a);
double tmp;
if (y <= -1.9e+196) {
tmp = (fma(-k, y4, (a * x)) * y) * b;
} else if (y <= -7.1e+65) {
tmp = fma(t_1, y, fma(t_2, y2, (((y1 * i) - (y0 * b)) * j))) * x;
} else if (y <= -1.6e-202) {
tmp = fma(((y3 * z) - (y2 * x)), y1, fma(((y * x) - (t * z)), b, (((y2 * t) - (y3 * y)) * y5))) * a;
} else if (y <= 2.2e-207) {
tmp = fma(((i * c) - (b * a)), t, fma(-y3, t_2, (((y0 * b) - (y1 * i)) * k))) * z;
} else if (y <= 1.2e+99) {
tmp = fma(((t * z) - (y * x)), i, fma(((y2 * x) - (y3 * z)), y0, (((y3 * y) - (y2 * t)) * y4))) * c;
} else {
tmp = fma(((y5 * i) - (y4 * b)), k, fma(t_1, x, (((y4 * c) - (y5 * a)) * y3))) * y;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(b * a) - Float64(i * c)) t_2 = Float64(Float64(y0 * c) - Float64(y1 * a)) tmp = 0.0 if (y <= -1.9e+196) tmp = Float64(Float64(fma(Float64(-k), y4, Float64(a * x)) * y) * b); elseif (y <= -7.1e+65) tmp = Float64(fma(t_1, y, fma(t_2, y2, Float64(Float64(Float64(y1 * i) - Float64(y0 * b)) * j))) * x); elseif (y <= -1.6e-202) tmp = Float64(fma(Float64(Float64(y3 * z) - Float64(y2 * x)), y1, fma(Float64(Float64(y * x) - Float64(t * z)), b, Float64(Float64(Float64(y2 * t) - Float64(y3 * y)) * y5))) * a); elseif (y <= 2.2e-207) tmp = Float64(fma(Float64(Float64(i * c) - Float64(b * a)), t, fma(Float64(-y3), t_2, Float64(Float64(Float64(y0 * b) - Float64(y1 * i)) * k))) * z); elseif (y <= 1.2e+99) tmp = Float64(fma(Float64(Float64(t * z) - Float64(y * x)), i, fma(Float64(Float64(y2 * x) - Float64(y3 * z)), y0, Float64(Float64(Float64(y3 * y) - Float64(y2 * t)) * y4))) * c); else tmp = Float64(fma(Float64(Float64(y5 * i) - Float64(y4 * b)), k, fma(t_1, x, Float64(Float64(Float64(y4 * c) - Float64(y5 * a)) * y3))) * y); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -1.9e+196], N[(N[(N[((-k) * y4 + N[(a * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[y, -7.1e+65], N[(N[(t$95$1 * y + N[(t$95$2 * y2 + N[(N[(N[(y1 * i), $MachinePrecision] - N[(y0 * b), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[y, -1.6e-202], N[(N[(N[(N[(y3 * z), $MachinePrecision] - N[(y2 * x), $MachinePrecision]), $MachinePrecision] * y1 + N[(N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision] * b + N[(N[(N[(y2 * t), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[y, 2.2e-207], N[(N[(N[(N[(i * c), $MachinePrecision] - N[(b * a), $MachinePrecision]), $MachinePrecision] * t + N[((-y3) * t$95$2 + N[(N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision], If[LessEqual[y, 1.2e+99], N[(N[(N[(N[(t * z), $MachinePrecision] - N[(y * x), $MachinePrecision]), $MachinePrecision] * i + N[(N[(N[(y2 * x), $MachinePrecision] - N[(y3 * z), $MachinePrecision]), $MachinePrecision] * y0 + N[(N[(N[(y3 * y), $MachinePrecision] - N[(y2 * t), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision], N[(N[(N[(N[(y5 * i), $MachinePrecision] - N[(y4 * b), $MachinePrecision]), $MachinePrecision] * k + N[(t$95$1 * x + N[(N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot a - i \cdot c\\
t_2 := y0 \cdot c - y1 \cdot a\\
\mathbf{if}\;y \leq -1.9 \cdot 10^{+196}:\\
\;\;\;\;\left(\mathsf{fma}\left(-k, y4, a \cdot x\right) \cdot y\right) \cdot b\\
\mathbf{elif}\;y \leq -7.1 \cdot 10^{+65}:\\
\;\;\;\;\mathsf{fma}\left(t\_1, y, \mathsf{fma}\left(t\_2, y2, \left(y1 \cdot i - y0 \cdot b\right) \cdot j\right)\right) \cdot x\\
\mathbf{elif}\;y \leq -1.6 \cdot 10^{-202}:\\
\;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, y1, \mathsf{fma}\left(y \cdot x - t \cdot z, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a\\
\mathbf{elif}\;y \leq 2.2 \cdot 10^{-207}:\\
\;\;\;\;\mathsf{fma}\left(i \cdot c - b \cdot a, t, \mathsf{fma}\left(-y3, t\_2, \left(y0 \cdot b - y1 \cdot i\right) \cdot k\right)\right) \cdot z\\
\mathbf{elif}\;y \leq 1.2 \cdot 10^{+99}:\\
\;\;\;\;\mathsf{fma}\left(t \cdot z - y \cdot x, i, \mathsf{fma}\left(y2 \cdot x - y3 \cdot z, y0, \left(y3 \cdot y - y2 \cdot t\right) \cdot y4\right)\right) \cdot c\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, k, \mathsf{fma}\left(t\_1, x, \left(y4 \cdot c - y5 \cdot a\right) \cdot y3\right)\right) \cdot y\\
\end{array}
\end{array}
if y < -1.9000000000000001e196Initial program 27.8%
Taylor expanded in b around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites44.4%
Taylor expanded in y around inf
Applied rewrites72.2%
if -1.9000000000000001e196 < y < -7.1000000000000003e65Initial program 21.2%
Taylor expanded in x around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites58.3%
if -7.1000000000000003e65 < y < -1.6000000000000001e-202Initial program 50.0%
Taylor expanded in a around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites59.1%
if -1.6000000000000001e-202 < y < 2.1999999999999999e-207Initial program 37.5%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites55.8%
if 2.1999999999999999e-207 < y < 1.2000000000000001e99Initial program 33.8%
Taylor expanded in c around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites56.9%
if 1.2000000000000001e99 < y Initial program 26.2%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites72.1%
Final simplification61.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* b a) (* i c))))
(if (<= y -1.9e+196)
(* (* (fma (- k) y4 (* a x)) y) b)
(if (<= y -7.1e+65)
(*
(fma t_1 y (fma (- (* y0 c) (* y1 a)) y2 (* (- (* y1 i) (* y0 b)) j)))
x)
(if (<= y -2.1e-202)
(*
(fma
(- (* y3 z) (* y2 x))
y1
(fma (- (* y x) (* t z)) b (* (- (* y2 t) (* y3 y)) y5)))
a)
(if (<= y 1.4e+108)
(*
(fma
(- (* j t) (* k y))
b
(fma (- (* y2 k) (* y3 j)) y1 (* (- (* y3 y) (* y2 t)) c)))
y4)
(*
(fma
(- (* y5 i) (* y4 b))
k
(fma t_1 x (* (- (* y4 c) (* y5 a)) y3)))
y)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (b * a) - (i * c);
double tmp;
if (y <= -1.9e+196) {
tmp = (fma(-k, y4, (a * x)) * y) * b;
} else if (y <= -7.1e+65) {
tmp = fma(t_1, y, fma(((y0 * c) - (y1 * a)), y2, (((y1 * i) - (y0 * b)) * j))) * x;
} else if (y <= -2.1e-202) {
tmp = fma(((y3 * z) - (y2 * x)), y1, fma(((y * x) - (t * z)), b, (((y2 * t) - (y3 * y)) * y5))) * a;
} else if (y <= 1.4e+108) {
tmp = fma(((j * t) - (k * y)), b, fma(((y2 * k) - (y3 * j)), y1, (((y3 * y) - (y2 * t)) * c))) * y4;
} else {
tmp = fma(((y5 * i) - (y4 * b)), k, fma(t_1, x, (((y4 * c) - (y5 * a)) * y3))) * y;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(b * a) - Float64(i * c)) tmp = 0.0 if (y <= -1.9e+196) tmp = Float64(Float64(fma(Float64(-k), y4, Float64(a * x)) * y) * b); elseif (y <= -7.1e+65) tmp = Float64(fma(t_1, y, fma(Float64(Float64(y0 * c) - Float64(y1 * a)), y2, Float64(Float64(Float64(y1 * i) - Float64(y0 * b)) * j))) * x); elseif (y <= -2.1e-202) tmp = Float64(fma(Float64(Float64(y3 * z) - Float64(y2 * x)), y1, fma(Float64(Float64(y * x) - Float64(t * z)), b, Float64(Float64(Float64(y2 * t) - Float64(y3 * y)) * y5))) * a); elseif (y <= 1.4e+108) tmp = Float64(fma(Float64(Float64(j * t) - Float64(k * y)), b, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y1, Float64(Float64(Float64(y3 * y) - Float64(y2 * t)) * c))) * y4); else tmp = Float64(fma(Float64(Float64(y5 * i) - Float64(y4 * b)), k, fma(t_1, x, Float64(Float64(Float64(y4 * c) - Float64(y5 * a)) * y3))) * y); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -1.9e+196], N[(N[(N[((-k) * y4 + N[(a * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[y, -7.1e+65], N[(N[(t$95$1 * y + N[(N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision] * y2 + N[(N[(N[(y1 * i), $MachinePrecision] - N[(y0 * b), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[y, -2.1e-202], N[(N[(N[(N[(y3 * z), $MachinePrecision] - N[(y2 * x), $MachinePrecision]), $MachinePrecision] * y1 + N[(N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision] * b + N[(N[(N[(y2 * t), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[y, 1.4e+108], N[(N[(N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] * b + N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * y1 + N[(N[(N[(y3 * y), $MachinePrecision] - N[(y2 * t), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision], N[(N[(N[(N[(y5 * i), $MachinePrecision] - N[(y4 * b), $MachinePrecision]), $MachinePrecision] * k + N[(t$95$1 * x + N[(N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot a - i \cdot c\\
\mathbf{if}\;y \leq -1.9 \cdot 10^{+196}:\\
\;\;\;\;\left(\mathsf{fma}\left(-k, y4, a \cdot x\right) \cdot y\right) \cdot b\\
\mathbf{elif}\;y \leq -7.1 \cdot 10^{+65}:\\
\;\;\;\;\mathsf{fma}\left(t\_1, y, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, y2, \left(y1 \cdot i - y0 \cdot b\right) \cdot j\right)\right) \cdot x\\
\mathbf{elif}\;y \leq -2.1 \cdot 10^{-202}:\\
\;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, y1, \mathsf{fma}\left(y \cdot x - t \cdot z, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a\\
\mathbf{elif}\;y \leq 1.4 \cdot 10^{+108}:\\
\;\;\;\;\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(y3 \cdot y - y2 \cdot t\right) \cdot c\right)\right) \cdot y4\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, k, \mathsf{fma}\left(t\_1, x, \left(y4 \cdot c - y5 \cdot a\right) \cdot y3\right)\right) \cdot y\\
\end{array}
\end{array}
if y < -1.9000000000000001e196Initial program 27.8%
Taylor expanded in b around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites44.4%
Taylor expanded in y around inf
Applied rewrites72.2%
if -1.9000000000000001e196 < y < -7.1000000000000003e65Initial program 21.2%
Taylor expanded in x around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites58.3%
if -7.1000000000000003e65 < y < -2.09999999999999985e-202Initial program 50.0%
Taylor expanded in a around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites59.1%
if -2.09999999999999985e-202 < y < 1.3999999999999999e108Initial program 34.7%
Taylor expanded in y4 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites50.2%
if 1.3999999999999999e108 < y Initial program 26.3%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites74.0%
Final simplification58.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* b a) (* i c)))
(t_2
(*
(fma
t_1
y
(fma (- (* y0 c) (* y1 a)) y2 (* (- (* y1 i) (* y0 b)) j)))
x))
(t_3 (* (* (fma i z (* (- y4) y2)) t) c)))
(if (<= t -7.6e+217)
t_3
(if (<= t -3.7e-135)
t_2
(if (<= t 2.1e-34)
(*
(fma
(- (* y5 i) (* y4 b))
k
(fma t_1 x (* (- (* y4 c) (* y5 a)) y3)))
y)
(if (<= t 2.85e+110)
t_2
(if (<= t 1.15e+171) (* (* (fma (- i) j (* y2 a)) t) y5) t_3)))))))
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 * a) - (i * c);
double t_2 = fma(t_1, y, fma(((y0 * c) - (y1 * a)), y2, (((y1 * i) - (y0 * b)) * j))) * x;
double t_3 = (fma(i, z, (-y4 * y2)) * t) * c;
double tmp;
if (t <= -7.6e+217) {
tmp = t_3;
} else if (t <= -3.7e-135) {
tmp = t_2;
} else if (t <= 2.1e-34) {
tmp = fma(((y5 * i) - (y4 * b)), k, fma(t_1, x, (((y4 * c) - (y5 * a)) * y3))) * y;
} else if (t <= 2.85e+110) {
tmp = t_2;
} else if (t <= 1.15e+171) {
tmp = (fma(-i, j, (y2 * a)) * t) * y5;
} else {
tmp = t_3;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(b * a) - Float64(i * c)) t_2 = Float64(fma(t_1, y, fma(Float64(Float64(y0 * c) - Float64(y1 * a)), y2, Float64(Float64(Float64(y1 * i) - Float64(y0 * b)) * j))) * x) t_3 = Float64(Float64(fma(i, z, Float64(Float64(-y4) * y2)) * t) * c) tmp = 0.0 if (t <= -7.6e+217) tmp = t_3; elseif (t <= -3.7e-135) tmp = t_2; elseif (t <= 2.1e-34) tmp = Float64(fma(Float64(Float64(y5 * i) - Float64(y4 * b)), k, fma(t_1, x, Float64(Float64(Float64(y4 * c) - Float64(y5 * a)) * y3))) * y); elseif (t <= 2.85e+110) tmp = t_2; elseif (t <= 1.15e+171) tmp = Float64(Float64(fma(Float64(-i), j, Float64(y2 * a)) * t) * y5); else tmp = t_3; 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[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(t$95$1 * y + N[(N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision] * y2 + N[(N[(N[(y1 * i), $MachinePrecision] - N[(y0 * b), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision]}, Block[{t$95$3 = N[(N[(N[(i * z + N[((-y4) * y2), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision] * c), $MachinePrecision]}, If[LessEqual[t, -7.6e+217], t$95$3, If[LessEqual[t, -3.7e-135], t$95$2, If[LessEqual[t, 2.1e-34], N[(N[(N[(N[(y5 * i), $MachinePrecision] - N[(y4 * b), $MachinePrecision]), $MachinePrecision] * k + N[(t$95$1 * x + N[(N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[t, 2.85e+110], t$95$2, If[LessEqual[t, 1.15e+171], N[(N[(N[((-i) * j + N[(y2 * a), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision] * y5), $MachinePrecision], t$95$3]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot a - i \cdot c\\
t_2 := \mathsf{fma}\left(t\_1, y, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, y2, \left(y1 \cdot i - y0 \cdot b\right) \cdot j\right)\right) \cdot x\\
t_3 := \left(\mathsf{fma}\left(i, z, \left(-y4\right) \cdot y2\right) \cdot t\right) \cdot c\\
\mathbf{if}\;t \leq -7.6 \cdot 10^{+217}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;t \leq -3.7 \cdot 10^{-135}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;t \leq 2.1 \cdot 10^{-34}:\\
\;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, k, \mathsf{fma}\left(t\_1, x, \left(y4 \cdot c - y5 \cdot a\right) \cdot y3\right)\right) \cdot y\\
\mathbf{elif}\;t \leq 2.85 \cdot 10^{+110}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;t \leq 1.15 \cdot 10^{+171}:\\
\;\;\;\;\left(\mathsf{fma}\left(-i, j, y2 \cdot a\right) \cdot t\right) \cdot y5\\
\mathbf{else}:\\
\;\;\;\;t\_3\\
\end{array}
\end{array}
if t < -7.60000000000000004e217 or 1.15000000000000009e171 < t Initial program 30.9%
Taylor expanded in c around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites54.8%
Taylor expanded in t around inf
Applied rewrites60.5%
if -7.60000000000000004e217 < t < -3.6999999999999997e-135 or 2.1000000000000001e-34 < t < 2.8500000000000001e110Initial program 27.5%
Taylor expanded in x around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites55.1%
if -3.6999999999999997e-135 < t < 2.1000000000000001e-34Initial program 42.7%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites54.8%
if 2.8500000000000001e110 < t < 1.15000000000000009e171Initial program 25.0%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites75.0%
Taylor expanded in t around inf
Applied rewrites83.3%
Final simplification57.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y -5e+179)
(* (* (fma (- k) y4 (* a x)) y) b)
(if (<= y -6.5e+89)
(* (* (fma (- y0) y2 (* i y)) k) y5)
(if (<= y 3.8e-143)
(*
(fma
(- (* y3 z) (* y2 x))
y1
(fma (- (* y x) (* t z)) b (* (- (* y2 t) (* y3 y)) y5)))
a)
(*
(fma
(- (* y5 i) (* y4 b))
k
(fma (- (* b a) (* i c)) x (* (- (* y4 c) (* y5 a)) y3)))
y)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -5e+179) {
tmp = (fma(-k, y4, (a * x)) * y) * b;
} else if (y <= -6.5e+89) {
tmp = (fma(-y0, y2, (i * y)) * k) * y5;
} else if (y <= 3.8e-143) {
tmp = fma(((y3 * z) - (y2 * x)), y1, fma(((y * x) - (t * z)), b, (((y2 * t) - (y3 * y)) * y5))) * a;
} else {
tmp = fma(((y5 * i) - (y4 * b)), k, fma(((b * a) - (i * c)), x, (((y4 * c) - (y5 * a)) * y3))) * y;
}
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 <= -5e+179) tmp = Float64(Float64(fma(Float64(-k), y4, Float64(a * x)) * y) * b); elseif (y <= -6.5e+89) tmp = Float64(Float64(fma(Float64(-y0), y2, Float64(i * y)) * k) * y5); elseif (y <= 3.8e-143) tmp = Float64(fma(Float64(Float64(y3 * z) - Float64(y2 * x)), y1, fma(Float64(Float64(y * x) - Float64(t * z)), b, Float64(Float64(Float64(y2 * t) - Float64(y3 * y)) * y5))) * a); else tmp = Float64(fma(Float64(Float64(y5 * i) - Float64(y4 * b)), k, fma(Float64(Float64(b * a) - Float64(i * c)), x, Float64(Float64(Float64(y4 * c) - Float64(y5 * a)) * y3))) * y); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -5e+179], N[(N[(N[((-k) * y4 + N[(a * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[y, -6.5e+89], N[(N[(N[((-y0) * y2 + N[(i * y), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[y, 3.8e-143], N[(N[(N[(N[(y3 * z), $MachinePrecision] - N[(y2 * x), $MachinePrecision]), $MachinePrecision] * y1 + N[(N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision] * b + N[(N[(N[(y2 * t), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision], N[(N[(N[(N[(y5 * i), $MachinePrecision] - N[(y4 * b), $MachinePrecision]), $MachinePrecision] * k + N[(N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision] * x + N[(N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -5 \cdot 10^{+179}:\\
\;\;\;\;\left(\mathsf{fma}\left(-k, y4, a \cdot x\right) \cdot y\right) \cdot b\\
\mathbf{elif}\;y \leq -6.5 \cdot 10^{+89}:\\
\;\;\;\;\left(\mathsf{fma}\left(-y0, y2, i \cdot y\right) \cdot k\right) \cdot y5\\
\mathbf{elif}\;y \leq 3.8 \cdot 10^{-143}:\\
\;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, y1, \mathsf{fma}\left(y \cdot x - t \cdot z, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, k, \mathsf{fma}\left(b \cdot a - i \cdot c, x, \left(y4 \cdot c - y5 \cdot a\right) \cdot y3\right)\right) \cdot y\\
\end{array}
\end{array}
if y < -5e179Initial program 22.7%
Taylor expanded in b around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites50.2%
Taylor expanded in y around inf
Applied rewrites68.5%
if -5e179 < y < -6.4999999999999996e89Initial program 26.0%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites26.5%
Taylor expanded in k around inf
Applied rewrites53.0%
if -6.4999999999999996e89 < y < 3.79999999999999981e-143Initial program 42.1%
Taylor expanded in a around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites47.5%
if 3.79999999999999981e-143 < y Initial program 28.7%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites56.8%
Final simplification53.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y -5e+179)
(* (* (fma (- k) y4 (* a x)) y) b)
(if (<= y -3.2e+100)
(* (* (fma (- y0) y2 (* i y)) k) y5)
(if (<= y 4.3e-104)
(*
(fma
(- (* y3 z) (* y2 x))
a
(fma (- (* y2 k) (* y3 j)) y4 (* (- (* j x) (* k z)) i)))
y1)
(if (<= y 1.1e+196)
(*
(fma (- a) (* t z) (fma (- y0) (fma j x (* (- z) k)) (* (* j t) y4)))
b)
(* (* (fma k y5 (* (- c) x)) i) y))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -5e+179) {
tmp = (fma(-k, y4, (a * x)) * y) * b;
} else if (y <= -3.2e+100) {
tmp = (fma(-y0, y2, (i * y)) * k) * y5;
} else if (y <= 4.3e-104) {
tmp = fma(((y3 * z) - (y2 * x)), a, fma(((y2 * k) - (y3 * j)), y4, (((j * x) - (k * z)) * i))) * y1;
} else if (y <= 1.1e+196) {
tmp = fma(-a, (t * z), fma(-y0, fma(j, x, (-z * k)), ((j * t) * y4))) * b;
} else {
tmp = (fma(k, y5, (-c * x)) * i) * y;
}
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 <= -5e+179) tmp = Float64(Float64(fma(Float64(-k), y4, Float64(a * x)) * y) * b); elseif (y <= -3.2e+100) tmp = Float64(Float64(fma(Float64(-y0), y2, Float64(i * y)) * k) * y5); elseif (y <= 4.3e-104) tmp = Float64(fma(Float64(Float64(y3 * z) - Float64(y2 * x)), a, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y4, Float64(Float64(Float64(j * x) - Float64(k * z)) * i))) * y1); elseif (y <= 1.1e+196) tmp = Float64(fma(Float64(-a), Float64(t * z), fma(Float64(-y0), fma(j, x, Float64(Float64(-z) * k)), Float64(Float64(j * t) * y4))) * b); else tmp = Float64(Float64(fma(k, y5, Float64(Float64(-c) * x)) * i) * y); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -5e+179], N[(N[(N[((-k) * y4 + N[(a * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[y, -3.2e+100], N[(N[(N[((-y0) * y2 + N[(i * y), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[y, 4.3e-104], N[(N[(N[(N[(y3 * z), $MachinePrecision] - N[(y2 * x), $MachinePrecision]), $MachinePrecision] * a + N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * y4 + N[(N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[y, 1.1e+196], N[(N[((-a) * N[(t * z), $MachinePrecision] + N[((-y0) * N[(j * x + N[((-z) * k), $MachinePrecision]), $MachinePrecision] + N[(N[(j * t), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision], N[(N[(N[(k * y5 + N[((-c) * x), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision] * y), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -5 \cdot 10^{+179}:\\
\;\;\;\;\left(\mathsf{fma}\left(-k, y4, a \cdot x\right) \cdot y\right) \cdot b\\
\mathbf{elif}\;y \leq -3.2 \cdot 10^{+100}:\\
\;\;\;\;\left(\mathsf{fma}\left(-y0, y2, i \cdot y\right) \cdot k\right) \cdot y5\\
\mathbf{elif}\;y \leq 4.3 \cdot 10^{-104}:\\
\;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\
\mathbf{elif}\;y \leq 1.1 \cdot 10^{+196}:\\
\;\;\;\;\mathsf{fma}\left(-a, t \cdot z, \mathsf{fma}\left(-y0, \mathsf{fma}\left(j, x, \left(-z\right) \cdot k\right), \left(j \cdot t\right) \cdot y4\right)\right) \cdot b\\
\mathbf{else}:\\
\;\;\;\;\left(\mathsf{fma}\left(k, y5, \left(-c\right) \cdot x\right) \cdot i\right) \cdot y\\
\end{array}
\end{array}
if y < -5e179Initial program 22.7%
Taylor expanded in b around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites50.2%
Taylor expanded in y around inf
Applied rewrites68.5%
if -5e179 < y < -3.1999999999999999e100Initial program 24.9%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites25.3%
Taylor expanded in k around inf
Applied rewrites55.7%
if -3.1999999999999999e100 < y < 4.3000000000000001e-104Initial program 43.0%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites45.8%
if 4.3000000000000001e-104 < y < 1.09999999999999999e196Initial program 30.5%
Taylor expanded in b around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites52.1%
Taylor expanded in y around 0
Applied rewrites45.7%
if 1.09999999999999999e196 < y Initial program 14.7%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites75.0%
Taylor expanded in i around inf
Applied rewrites58.2%
Final simplification49.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* (fma (- j) y5 (* c z)) (- y0)) y3)))
(if (<= y0 -1.32e+194)
t_1
(if (<= y0 7e-46)
(*
(fma
(- (* y3 z) (* y2 x))
y1
(fma (- (* y x) (* t z)) b (* (- (* y2 t) (* y3 y)) y5)))
a)
(if (<= y0 3.4e+174) (* (* (fma k y5 (* (- c) x)) i) y) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (fma(-j, y5, (c * z)) * -y0) * y3;
double tmp;
if (y0 <= -1.32e+194) {
tmp = t_1;
} else if (y0 <= 7e-46) {
tmp = fma(((y3 * z) - (y2 * x)), y1, fma(((y * x) - (t * z)), b, (((y2 * t) - (y3 * y)) * y5))) * a;
} else if (y0 <= 3.4e+174) {
tmp = (fma(k, y5, (-c * x)) * i) * y;
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(fma(Float64(-j), y5, Float64(c * z)) * Float64(-y0)) * y3) tmp = 0.0 if (y0 <= -1.32e+194) tmp = t_1; elseif (y0 <= 7e-46) tmp = Float64(fma(Float64(Float64(y3 * z) - Float64(y2 * x)), y1, fma(Float64(Float64(y * x) - Float64(t * z)), b, Float64(Float64(Float64(y2 * t) - Float64(y3 * y)) * y5))) * a); elseif (y0 <= 3.4e+174) tmp = Float64(Float64(fma(k, y5, Float64(Float64(-c) * x)) * i) * y); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[((-j) * y5 + N[(c * z), $MachinePrecision]), $MachinePrecision] * (-y0)), $MachinePrecision] * y3), $MachinePrecision]}, If[LessEqual[y0, -1.32e+194], t$95$1, If[LessEqual[y0, 7e-46], N[(N[(N[(N[(y3 * z), $MachinePrecision] - N[(y2 * x), $MachinePrecision]), $MachinePrecision] * y1 + N[(N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision] * b + N[(N[(N[(y2 * t), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[y0, 3.4e+174], N[(N[(N[(k * y5 + N[((-c) * x), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision] * y), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\mathsf{fma}\left(-j, y5, c \cdot z\right) \cdot \left(-y0\right)\right) \cdot y3\\
\mathbf{if}\;y0 \leq -1.32 \cdot 10^{+194}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y0 \leq 7 \cdot 10^{-46}:\\
\;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, y1, \mathsf{fma}\left(y \cdot x - t \cdot z, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a\\
\mathbf{elif}\;y0 \leq 3.4 \cdot 10^{+174}:\\
\;\;\;\;\left(\mathsf{fma}\left(k, y5, \left(-c\right) \cdot x\right) \cdot i\right) \cdot y\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y0 < -1.32e194 or 3.4000000000000001e174 < y0 Initial program 22.9%
Taylor expanded in y3 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites47.6%
Taylor expanded in y0 around -inf
Applied rewrites59.3%
if -1.32e194 < y0 < 7.0000000000000004e-46Initial program 37.1%
Taylor expanded in a around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites44.9%
if 7.0000000000000004e-46 < y0 < 3.4000000000000001e174Initial program 37.1%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites50.4%
Taylor expanded in i around inf
Applied rewrites51.0%
Final simplification49.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* (fma i z (* (- y4) y2)) t) c)))
(if (<= t -1.1e+63)
t_1
(if (<= t -6.2e-136)
(* (* (fma k y5 (* (- c) x)) i) y)
(if (<= t 4.6e-174)
(* (* (fma (- y0) y2 (* i y)) k) y5)
(if (<= t 1.95e+54)
(* (* (fma (- b) k (* y3 c)) y4) y)
(if (<= t 1.15e+171) (* (* (fma (- i) j (* y2 a)) t) 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 = (fma(i, z, (-y4 * y2)) * t) * c;
double tmp;
if (t <= -1.1e+63) {
tmp = t_1;
} else if (t <= -6.2e-136) {
tmp = (fma(k, y5, (-c * x)) * i) * y;
} else if (t <= 4.6e-174) {
tmp = (fma(-y0, y2, (i * y)) * k) * y5;
} else if (t <= 1.95e+54) {
tmp = (fma(-b, k, (y3 * c)) * y4) * y;
} else if (t <= 1.15e+171) {
tmp = (fma(-i, j, (y2 * a)) * t) * 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(fma(i, z, Float64(Float64(-y4) * y2)) * t) * c) tmp = 0.0 if (t <= -1.1e+63) tmp = t_1; elseif (t <= -6.2e-136) tmp = Float64(Float64(fma(k, y5, Float64(Float64(-c) * x)) * i) * y); elseif (t <= 4.6e-174) tmp = Float64(Float64(fma(Float64(-y0), y2, Float64(i * y)) * k) * y5); elseif (t <= 1.95e+54) tmp = Float64(Float64(fma(Float64(-b), k, Float64(y3 * c)) * y4) * y); elseif (t <= 1.15e+171) tmp = Float64(Float64(fma(Float64(-i), j, Float64(y2 * a)) * t) * 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[(N[(i * z + N[((-y4) * y2), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision] * c), $MachinePrecision]}, If[LessEqual[t, -1.1e+63], t$95$1, If[LessEqual[t, -6.2e-136], N[(N[(N[(k * y5 + N[((-c) * x), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[t, 4.6e-174], N[(N[(N[((-y0) * y2 + N[(i * y), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[t, 1.95e+54], N[(N[(N[((-b) * k + N[(y3 * c), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[t, 1.15e+171], N[(N[(N[((-i) * j + N[(y2 * a), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision] * y5), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\mathsf{fma}\left(i, z, \left(-y4\right) \cdot y2\right) \cdot t\right) \cdot c\\
\mathbf{if}\;t \leq -1.1 \cdot 10^{+63}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq -6.2 \cdot 10^{-136}:\\
\;\;\;\;\left(\mathsf{fma}\left(k, y5, \left(-c\right) \cdot x\right) \cdot i\right) \cdot y\\
\mathbf{elif}\;t \leq 4.6 \cdot 10^{-174}:\\
\;\;\;\;\left(\mathsf{fma}\left(-y0, y2, i \cdot y\right) \cdot k\right) \cdot y5\\
\mathbf{elif}\;t \leq 1.95 \cdot 10^{+54}:\\
\;\;\;\;\left(\mathsf{fma}\left(-b, k, y3 \cdot c\right) \cdot y4\right) \cdot y\\
\mathbf{elif}\;t \leq 1.15 \cdot 10^{+171}:\\
\;\;\;\;\left(\mathsf{fma}\left(-i, j, y2 \cdot a\right) \cdot t\right) \cdot y5\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -1.0999999999999999e63 or 1.15000000000000009e171 < t Initial program 27.8%
Taylor expanded in c around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites49.7%
Taylor expanded in t around inf
Applied rewrites55.0%
if -1.0999999999999999e63 < t < -6.2e-136Initial program 25.5%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites33.6%
Taylor expanded in i around inf
Applied rewrites50.8%
if -6.2e-136 < t < 4.5999999999999998e-174Initial program 46.7%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites40.3%
Taylor expanded in k around inf
Applied rewrites44.0%
if 4.5999999999999998e-174 < t < 1.9500000000000001e54Initial program 34.6%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites51.4%
Taylor expanded in y4 around inf
Applied rewrites44.7%
if 1.9500000000000001e54 < t < 1.15000000000000009e171Initial program 33.3%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites63.7%
Taylor expanded in t around inf
Applied rewrites53.8%
Final simplification49.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* (fma (- t) y4 (* y0 x)) y2) c))
(t_2 (* (* (fma a y2 (* (- i) j)) t) y5)))
(if (<= t -5.4e+200)
t_2
(if (<= t -2.35e+61)
t_1
(if (<= t 5.2e-186)
(* (* (fma (- y0) y2 (* i y)) k) y5)
(if (<= t 3.2e+64)
(* (fma (- y0) z (* y4 y)) (* y3 c))
(if (<= t 2.1e+170) t_2 t_1)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (fma(-t, y4, (y0 * x)) * y2) * c;
double t_2 = (fma(a, y2, (-i * j)) * t) * y5;
double tmp;
if (t <= -5.4e+200) {
tmp = t_2;
} else if (t <= -2.35e+61) {
tmp = t_1;
} else if (t <= 5.2e-186) {
tmp = (fma(-y0, y2, (i * y)) * k) * y5;
} else if (t <= 3.2e+64) {
tmp = fma(-y0, z, (y4 * y)) * (y3 * c);
} else if (t <= 2.1e+170) {
tmp = t_2;
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(fma(Float64(-t), y4, Float64(y0 * x)) * y2) * c) t_2 = Float64(Float64(fma(a, y2, Float64(Float64(-i) * j)) * t) * y5) tmp = 0.0 if (t <= -5.4e+200) tmp = t_2; elseif (t <= -2.35e+61) tmp = t_1; elseif (t <= 5.2e-186) tmp = Float64(Float64(fma(Float64(-y0), y2, Float64(i * y)) * k) * y5); elseif (t <= 3.2e+64) tmp = Float64(fma(Float64(-y0), z, Float64(y4 * y)) * Float64(y3 * c)); elseif (t <= 2.1e+170) tmp = t_2; else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[((-t) * y4 + N[(y0 * x), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision] * c), $MachinePrecision]}, Block[{t$95$2 = N[(N[(N[(a * y2 + N[((-i) * j), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision] * y5), $MachinePrecision]}, If[LessEqual[t, -5.4e+200], t$95$2, If[LessEqual[t, -2.35e+61], t$95$1, If[LessEqual[t, 5.2e-186], N[(N[(N[((-y0) * y2 + N[(i * y), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[t, 3.2e+64], N[(N[((-y0) * z + N[(y4 * y), $MachinePrecision]), $MachinePrecision] * N[(y3 * c), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.1e+170], t$95$2, t$95$1]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\mathsf{fma}\left(-t, y4, y0 \cdot x\right) \cdot y2\right) \cdot c\\
t_2 := \left(\mathsf{fma}\left(a, y2, \left(-i\right) \cdot j\right) \cdot t\right) \cdot y5\\
\mathbf{if}\;t \leq -5.4 \cdot 10^{+200}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;t \leq -2.35 \cdot 10^{+61}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 5.2 \cdot 10^{-186}:\\
\;\;\;\;\left(\mathsf{fma}\left(-y0, y2, i \cdot y\right) \cdot k\right) \cdot y5\\
\mathbf{elif}\;t \leq 3.2 \cdot 10^{+64}:\\
\;\;\;\;\mathsf{fma}\left(-y0, z, y4 \cdot y\right) \cdot \left(y3 \cdot c\right)\\
\mathbf{elif}\;t \leq 2.1 \cdot 10^{+170}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -5.40000000000000031e200 or 3.20000000000000019e64 < t < 2.09999999999999998e170Initial program 38.6%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites53.4%
Taylor expanded in k around inf
Applied rewrites12.1%
Taylor expanded in y around 0
Applied rewrites12.1%
Taylor expanded in t around inf
Applied rewrites53.6%
if -5.40000000000000031e200 < t < -2.3499999999999999e61 or 2.09999999999999998e170 < t Initial program 19.6%
Taylor expanded in c around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites45.3%
Taylor expanded in y2 around inf
Applied rewrites51.9%
if -2.3499999999999999e61 < t < 5.19999999999999986e-186Initial program 37.2%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites36.6%
Taylor expanded in k around inf
Applied rewrites41.2%
if 5.19999999999999986e-186 < t < 3.20000000000000019e64Initial program 36.1%
Taylor expanded in y3 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites51.4%
Taylor expanded in c around inf
Applied rewrites40.4%
Final simplification45.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* (fma (- k) y0 (* a t)) y5) y2)))
(if (<= z -4.6e+143)
(* (fma k y0 (* (- a) t)) (* b z))
(if (<= z -6.5e+24)
t_1
(if (<= z -4e-176)
(* (fma k y (* (- t) j)) (* y5 i))
(if (<= z 1.8e-182)
t_1
(if (<= z 2.8e+163)
(* (* (fma (- t) y4 (* y0 x)) y2) c)
(* (fma (- y) y5 (* y1 z)) (* y3 a)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (fma(-k, y0, (a * t)) * y5) * y2;
double tmp;
if (z <= -4.6e+143) {
tmp = fma(k, y0, (-a * t)) * (b * z);
} else if (z <= -6.5e+24) {
tmp = t_1;
} else if (z <= -4e-176) {
tmp = fma(k, y, (-t * j)) * (y5 * i);
} else if (z <= 1.8e-182) {
tmp = t_1;
} else if (z <= 2.8e+163) {
tmp = (fma(-t, y4, (y0 * x)) * y2) * c;
} else {
tmp = fma(-y, y5, (y1 * z)) * (y3 * a);
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(fma(Float64(-k), y0, Float64(a * t)) * y5) * y2) tmp = 0.0 if (z <= -4.6e+143) tmp = Float64(fma(k, y0, Float64(Float64(-a) * t)) * Float64(b * z)); elseif (z <= -6.5e+24) tmp = t_1; elseif (z <= -4e-176) tmp = Float64(fma(k, y, Float64(Float64(-t) * j)) * Float64(y5 * i)); elseif (z <= 1.8e-182) tmp = t_1; elseif (z <= 2.8e+163) tmp = Float64(Float64(fma(Float64(-t), y4, Float64(y0 * x)) * y2) * c); else tmp = Float64(fma(Float64(-y), y5, Float64(y1 * z)) * Float64(y3 * a)); 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[((-k) * y0 + N[(a * t), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * y2), $MachinePrecision]}, If[LessEqual[z, -4.6e+143], N[(N[(k * y0 + N[((-a) * t), $MachinePrecision]), $MachinePrecision] * N[(b * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -6.5e+24], t$95$1, If[LessEqual[z, -4e-176], N[(N[(k * y + N[((-t) * j), $MachinePrecision]), $MachinePrecision] * N[(y5 * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.8e-182], t$95$1, If[LessEqual[z, 2.8e+163], N[(N[(N[((-t) * y4 + N[(y0 * x), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision] * c), $MachinePrecision], N[(N[((-y) * y5 + N[(y1 * z), $MachinePrecision]), $MachinePrecision] * N[(y3 * a), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\
\mathbf{if}\;z \leq -4.6 \cdot 10^{+143}:\\
\;\;\;\;\mathsf{fma}\left(k, y0, \left(-a\right) \cdot t\right) \cdot \left(b \cdot z\right)\\
\mathbf{elif}\;z \leq -6.5 \cdot 10^{+24}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq -4 \cdot 10^{-176}:\\
\;\;\;\;\mathsf{fma}\left(k, y, \left(-t\right) \cdot j\right) \cdot \left(y5 \cdot i\right)\\
\mathbf{elif}\;z \leq 1.8 \cdot 10^{-182}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq 2.8 \cdot 10^{+163}:\\
\;\;\;\;\left(\mathsf{fma}\left(-t, y4, y0 \cdot x\right) \cdot y2\right) \cdot c\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(-y, y5, y1 \cdot z\right) \cdot \left(y3 \cdot a\right)\\
\end{array}
\end{array}
if z < -4.5999999999999999e143Initial program 14.6%
Taylor expanded in b around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites46.4%
Taylor expanded in a around inf
Applied rewrites54.8%
Taylor expanded in z around inf
Applied rewrites61.1%
if -4.5999999999999999e143 < z < -6.4999999999999996e24 or -4e-176 < z < 1.79999999999999988e-182Initial program 36.2%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites54.2%
Taylor expanded in y2 around inf
Applied rewrites50.9%
if -6.4999999999999996e24 < z < -4e-176Initial program 43.4%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites50.9%
Taylor expanded in i around inf
Applied rewrites44.5%
if 1.79999999999999988e-182 < z < 2.80000000000000015e163Initial program 37.8%
Taylor expanded in c around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites44.4%
Taylor expanded in y2 around inf
Applied rewrites38.6%
if 2.80000000000000015e163 < z Initial program 24.9%
Taylor expanded in y3 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites39.8%
Taylor expanded in a around inf
Applied rewrites36.7%
Final simplification45.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -3.6e+248)
(* (* (* y2 t) y5) a)
(if (<= y2 -1.4e-107)
(* (* (fma (- t) y4 (* y0 x)) y2) c)
(if (<= y2 3.4e-245)
(* (fma k y (* (- t) j)) (* y5 i))
(if (<= y2 1.1e-209)
(* (fma a y (* (- j) y0)) (* b x))
(if (<= y2 1e-54)
(* (fma (- y) y5 (* y1 z)) (* y3 a))
(* (* (fma (- k) y0 (* a t)) y5) 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 (y2 <= -3.6e+248) {
tmp = ((y2 * t) * y5) * a;
} else if (y2 <= -1.4e-107) {
tmp = (fma(-t, y4, (y0 * x)) * y2) * c;
} else if (y2 <= 3.4e-245) {
tmp = fma(k, y, (-t * j)) * (y5 * i);
} else if (y2 <= 1.1e-209) {
tmp = fma(a, y, (-j * y0)) * (b * x);
} else if (y2 <= 1e-54) {
tmp = fma(-y, y5, (y1 * z)) * (y3 * a);
} else {
tmp = (fma(-k, y0, (a * t)) * y5) * 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 (y2 <= -3.6e+248) tmp = Float64(Float64(Float64(y2 * t) * y5) * a); elseif (y2 <= -1.4e-107) tmp = Float64(Float64(fma(Float64(-t), y4, Float64(y0 * x)) * y2) * c); elseif (y2 <= 3.4e-245) tmp = Float64(fma(k, y, Float64(Float64(-t) * j)) * Float64(y5 * i)); elseif (y2 <= 1.1e-209) tmp = Float64(fma(a, y, Float64(Float64(-j) * y0)) * Float64(b * x)); elseif (y2 <= 1e-54) tmp = Float64(fma(Float64(-y), y5, Float64(y1 * z)) * Float64(y3 * a)); else tmp = Float64(Float64(fma(Float64(-k), y0, Float64(a * t)) * y5) * y2); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -3.6e+248], N[(N[(N[(y2 * t), $MachinePrecision] * y5), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[y2, -1.4e-107], N[(N[(N[((-t) * y4 + N[(y0 * x), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision] * c), $MachinePrecision], If[LessEqual[y2, 3.4e-245], N[(N[(k * y + N[((-t) * j), $MachinePrecision]), $MachinePrecision] * N[(y5 * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.1e-209], N[(N[(a * y + N[((-j) * y0), $MachinePrecision]), $MachinePrecision] * N[(b * x), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1e-54], N[(N[((-y) * y5 + N[(y1 * z), $MachinePrecision]), $MachinePrecision] * N[(y3 * a), $MachinePrecision]), $MachinePrecision], N[(N[(N[((-k) * y0 + N[(a * t), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * y2), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -3.6 \cdot 10^{+248}:\\
\;\;\;\;\left(\left(y2 \cdot t\right) \cdot y5\right) \cdot a\\
\mathbf{elif}\;y2 \leq -1.4 \cdot 10^{-107}:\\
\;\;\;\;\left(\mathsf{fma}\left(-t, y4, y0 \cdot x\right) \cdot y2\right) \cdot c\\
\mathbf{elif}\;y2 \leq 3.4 \cdot 10^{-245}:\\
\;\;\;\;\mathsf{fma}\left(k, y, \left(-t\right) \cdot j\right) \cdot \left(y5 \cdot i\right)\\
\mathbf{elif}\;y2 \leq 1.1 \cdot 10^{-209}:\\
\;\;\;\;\mathsf{fma}\left(a, y, \left(-j\right) \cdot y0\right) \cdot \left(b \cdot x\right)\\
\mathbf{elif}\;y2 \leq 10^{-54}:\\
\;\;\;\;\mathsf{fma}\left(-y, y5, y1 \cdot z\right) \cdot \left(y3 \cdot a\right)\\
\mathbf{else}:\\
\;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\
\end{array}
\end{array}
if y2 < -3.60000000000000001e248Initial program 27.3%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites60.8%
Taylor expanded in y2 around inf
Applied rewrites60.6%
Taylor expanded in t around inf
Applied rewrites67.8%
if -3.60000000000000001e248 < y2 < -1.3999999999999999e-107Initial program 35.7%
Taylor expanded in c around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites45.8%
Taylor expanded in y2 around inf
Applied rewrites37.9%
if -1.3999999999999999e-107 < y2 < 3.3999999999999999e-245Initial program 43.0%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites40.1%
Taylor expanded in i around inf
Applied rewrites41.9%
if 3.3999999999999999e-245 < y2 < 1.10000000000000005e-209Initial program 34.2%
Taylor expanded in b around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites67.3%
Taylor expanded in a around inf
Applied rewrites44.7%
Taylor expanded in x around inf
Applied rewrites57.2%
if 1.10000000000000005e-209 < y2 < 1e-54Initial program 24.2%
Taylor expanded in y3 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites66.8%
Taylor expanded in a around inf
Applied rewrites62.5%
if 1e-54 < y2 Initial program 29.2%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites50.6%
Taylor expanded in y2 around inf
Applied rewrites45.1%
Final simplification45.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* (fma i z (* (- y4) y2)) t) c)))
(if (<= t -1.1e+63)
t_1
(if (<= t 9.4e-70)
(* (* (fma k y5 (* (- c) x)) i) y)
(if (<= t 2.5e+64)
(* (fma (- y) y4 (* y0 z)) (* k b))
(if (<= t 1.15e+171) (* (* (fma (- i) j (* y2 a)) t) 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 = (fma(i, z, (-y4 * y2)) * t) * c;
double tmp;
if (t <= -1.1e+63) {
tmp = t_1;
} else if (t <= 9.4e-70) {
tmp = (fma(k, y5, (-c * x)) * i) * y;
} else if (t <= 2.5e+64) {
tmp = fma(-y, y4, (y0 * z)) * (k * b);
} else if (t <= 1.15e+171) {
tmp = (fma(-i, j, (y2 * a)) * t) * 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(fma(i, z, Float64(Float64(-y4) * y2)) * t) * c) tmp = 0.0 if (t <= -1.1e+63) tmp = t_1; elseif (t <= 9.4e-70) tmp = Float64(Float64(fma(k, y5, Float64(Float64(-c) * x)) * i) * y); elseif (t <= 2.5e+64) tmp = Float64(fma(Float64(-y), y4, Float64(y0 * z)) * Float64(k * b)); elseif (t <= 1.15e+171) tmp = Float64(Float64(fma(Float64(-i), j, Float64(y2 * a)) * t) * 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[(N[(i * z + N[((-y4) * y2), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision] * c), $MachinePrecision]}, If[LessEqual[t, -1.1e+63], t$95$1, If[LessEqual[t, 9.4e-70], N[(N[(N[(k * y5 + N[((-c) * x), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[t, 2.5e+64], N[(N[((-y) * y4 + N[(y0 * z), $MachinePrecision]), $MachinePrecision] * N[(k * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.15e+171], N[(N[(N[((-i) * j + N[(y2 * a), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision] * y5), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\mathsf{fma}\left(i, z, \left(-y4\right) \cdot y2\right) \cdot t\right) \cdot c\\
\mathbf{if}\;t \leq -1.1 \cdot 10^{+63}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 9.4 \cdot 10^{-70}:\\
\;\;\;\;\left(\mathsf{fma}\left(k, y5, \left(-c\right) \cdot x\right) \cdot i\right) \cdot y\\
\mathbf{elif}\;t \leq 2.5 \cdot 10^{+64}:\\
\;\;\;\;\mathsf{fma}\left(-y, y4, y0 \cdot z\right) \cdot \left(k \cdot b\right)\\
\mathbf{elif}\;t \leq 1.15 \cdot 10^{+171}:\\
\;\;\;\;\left(\mathsf{fma}\left(-i, j, y2 \cdot a\right) \cdot t\right) \cdot y5\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -1.0999999999999999e63 or 1.15000000000000009e171 < t Initial program 27.8%
Taylor expanded in c around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites49.7%
Taylor expanded in t around inf
Applied rewrites55.0%
if -1.0999999999999999e63 < t < 9.39999999999999961e-70Initial program 37.1%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites48.3%
Taylor expanded in i around inf
Applied rewrites40.5%
if 9.39999999999999961e-70 < t < 2.5e64Initial program 34.2%
Taylor expanded in k around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites41.3%
Taylor expanded in b around inf
Applied rewrites44.8%
if 2.5e64 < t < 1.15000000000000009e171Initial program 35.7%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites64.6%
Taylor expanded in t around inf
Applied rewrites57.5%
Final simplification47.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* (fma i z (* (- y4) y2)) t) c)))
(if (<= t -20000000000000.0)
t_1
(if (<= t 5.2e-186)
(* (* (fma (- y0) y2 (* i y)) k) y5)
(if (<= t 2.5e+64)
(* (fma (- y0) z (* y4 y)) (* y3 c))
(if (<= t 1.15e+171) (* (* (fma (- i) j (* y2 a)) t) 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 = (fma(i, z, (-y4 * y2)) * t) * c;
double tmp;
if (t <= -20000000000000.0) {
tmp = t_1;
} else if (t <= 5.2e-186) {
tmp = (fma(-y0, y2, (i * y)) * k) * y5;
} else if (t <= 2.5e+64) {
tmp = fma(-y0, z, (y4 * y)) * (y3 * c);
} else if (t <= 1.15e+171) {
tmp = (fma(-i, j, (y2 * a)) * t) * 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(fma(i, z, Float64(Float64(-y4) * y2)) * t) * c) tmp = 0.0 if (t <= -20000000000000.0) tmp = t_1; elseif (t <= 5.2e-186) tmp = Float64(Float64(fma(Float64(-y0), y2, Float64(i * y)) * k) * y5); elseif (t <= 2.5e+64) tmp = Float64(fma(Float64(-y0), z, Float64(y4 * y)) * Float64(y3 * c)); elseif (t <= 1.15e+171) tmp = Float64(Float64(fma(Float64(-i), j, Float64(y2 * a)) * t) * 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[(N[(i * z + N[((-y4) * y2), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision] * c), $MachinePrecision]}, If[LessEqual[t, -20000000000000.0], t$95$1, If[LessEqual[t, 5.2e-186], N[(N[(N[((-y0) * y2 + N[(i * y), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[t, 2.5e+64], N[(N[((-y0) * z + N[(y4 * y), $MachinePrecision]), $MachinePrecision] * N[(y3 * c), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.15e+171], N[(N[(N[((-i) * j + N[(y2 * a), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision] * y5), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\mathsf{fma}\left(i, z, \left(-y4\right) \cdot y2\right) \cdot t\right) \cdot c\\
\mathbf{if}\;t \leq -20000000000000:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 5.2 \cdot 10^{-186}:\\
\;\;\;\;\left(\mathsf{fma}\left(-y0, y2, i \cdot y\right) \cdot k\right) \cdot y5\\
\mathbf{elif}\;t \leq 2.5 \cdot 10^{+64}:\\
\;\;\;\;\mathsf{fma}\left(-y0, z, y4 \cdot y\right) \cdot \left(y3 \cdot c\right)\\
\mathbf{elif}\;t \leq 1.15 \cdot 10^{+171}:\\
\;\;\;\;\left(\mathsf{fma}\left(-i, j, y2 \cdot a\right) \cdot t\right) \cdot y5\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -2e13 or 1.15000000000000009e171 < t Initial program 26.4%
Taylor expanded in c around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites50.8%
Taylor expanded in t around inf
Applied rewrites52.3%
if -2e13 < t < 5.19999999999999986e-186Initial program 39.9%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites37.9%
Taylor expanded in k around inf
Applied rewrites41.9%
if 5.19999999999999986e-186 < t < 2.5e64Initial program 36.1%
Taylor expanded in y3 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites51.4%
Taylor expanded in c around inf
Applied rewrites40.4%
if 2.5e64 < t < 1.15000000000000009e171Initial program 35.7%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites64.6%
Taylor expanded in t around inf
Applied rewrites57.5%
Final simplification46.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* (fma (- i) j (* y2 a)) t) y5)))
(if (<= t -2.4e+61)
t_1
(if (<= t 5.2e-186)
(* (* (fma (- y0) y2 (* i y)) k) y5)
(if (<= t 2.5e+64)
(* (fma (- y0) z (* y4 y)) (* y3 c))
(if (<= t 1.6e+171) t_1 (* (* (fma (- t) y4 (* y0 x)) y2) c)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (fma(-i, j, (y2 * a)) * t) * y5;
double tmp;
if (t <= -2.4e+61) {
tmp = t_1;
} else if (t <= 5.2e-186) {
tmp = (fma(-y0, y2, (i * y)) * k) * y5;
} else if (t <= 2.5e+64) {
tmp = fma(-y0, z, (y4 * y)) * (y3 * c);
} else if (t <= 1.6e+171) {
tmp = t_1;
} else {
tmp = (fma(-t, y4, (y0 * x)) * y2) * c;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(fma(Float64(-i), j, Float64(y2 * a)) * t) * y5) tmp = 0.0 if (t <= -2.4e+61) tmp = t_1; elseif (t <= 5.2e-186) tmp = Float64(Float64(fma(Float64(-y0), y2, Float64(i * y)) * k) * y5); elseif (t <= 2.5e+64) tmp = Float64(fma(Float64(-y0), z, Float64(y4 * y)) * Float64(y3 * c)); elseif (t <= 1.6e+171) tmp = t_1; else tmp = Float64(Float64(fma(Float64(-t), y4, Float64(y0 * x)) * y2) * c); 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[((-i) * j + N[(y2 * a), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision] * y5), $MachinePrecision]}, If[LessEqual[t, -2.4e+61], t$95$1, If[LessEqual[t, 5.2e-186], N[(N[(N[((-y0) * y2 + N[(i * y), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[t, 2.5e+64], N[(N[((-y0) * z + N[(y4 * y), $MachinePrecision]), $MachinePrecision] * N[(y3 * c), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.6e+171], t$95$1, N[(N[(N[((-t) * y4 + N[(y0 * x), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision] * c), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\mathsf{fma}\left(-i, j, y2 \cdot a\right) \cdot t\right) \cdot y5\\
\mathbf{if}\;t \leq -2.4 \cdot 10^{+61}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 5.2 \cdot 10^{-186}:\\
\;\;\;\;\left(\mathsf{fma}\left(-y0, y2, i \cdot y\right) \cdot k\right) \cdot y5\\
\mathbf{elif}\;t \leq 2.5 \cdot 10^{+64}:\\
\;\;\;\;\mathsf{fma}\left(-y0, z, y4 \cdot y\right) \cdot \left(y3 \cdot c\right)\\
\mathbf{elif}\;t \leq 1.6 \cdot 10^{+171}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;\left(\mathsf{fma}\left(-t, y4, y0 \cdot x\right) \cdot y2\right) \cdot c\\
\end{array}
\end{array}
if t < -2.3999999999999999e61 or 2.5e64 < t < 1.60000000000000006e171Initial program 32.0%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites48.1%
Taylor expanded in t around inf
Applied rewrites50.7%
if -2.3999999999999999e61 < t < 5.19999999999999986e-186Initial program 37.2%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites36.6%
Taylor expanded in k around inf
Applied rewrites41.2%
if 5.19999999999999986e-186 < t < 2.5e64Initial program 36.1%
Taylor expanded in y3 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites51.4%
Taylor expanded in c around inf
Applied rewrites40.4%
if 1.60000000000000006e171 < t Initial program 23.3%
Taylor expanded in c around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites53.3%
Taylor expanded in y2 around inf
Applied rewrites51.0%
Final simplification45.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -3.6e+248)
(* (* (* y2 t) y5) a)
(if (<= y2 -1.4e-107)
(* (* (fma (- t) y4 (* y0 x)) y2) c)
(if (<= y2 1.35e-248)
(* (fma k y (* (- t) j)) (* y5 i))
(if (<= y2 1e-54)
(* (fma (- y) y5 (* y1 z)) (* y3 a))
(* (* (fma (- k) y0 (* a t)) y5) 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 (y2 <= -3.6e+248) {
tmp = ((y2 * t) * y5) * a;
} else if (y2 <= -1.4e-107) {
tmp = (fma(-t, y4, (y0 * x)) * y2) * c;
} else if (y2 <= 1.35e-248) {
tmp = fma(k, y, (-t * j)) * (y5 * i);
} else if (y2 <= 1e-54) {
tmp = fma(-y, y5, (y1 * z)) * (y3 * a);
} else {
tmp = (fma(-k, y0, (a * t)) * y5) * 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 (y2 <= -3.6e+248) tmp = Float64(Float64(Float64(y2 * t) * y5) * a); elseif (y2 <= -1.4e-107) tmp = Float64(Float64(fma(Float64(-t), y4, Float64(y0 * x)) * y2) * c); elseif (y2 <= 1.35e-248) tmp = Float64(fma(k, y, Float64(Float64(-t) * j)) * Float64(y5 * i)); elseif (y2 <= 1e-54) tmp = Float64(fma(Float64(-y), y5, Float64(y1 * z)) * Float64(y3 * a)); else tmp = Float64(Float64(fma(Float64(-k), y0, Float64(a * t)) * y5) * y2); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -3.6e+248], N[(N[(N[(y2 * t), $MachinePrecision] * y5), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[y2, -1.4e-107], N[(N[(N[((-t) * y4 + N[(y0 * x), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision] * c), $MachinePrecision], If[LessEqual[y2, 1.35e-248], N[(N[(k * y + N[((-t) * j), $MachinePrecision]), $MachinePrecision] * N[(y5 * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1e-54], N[(N[((-y) * y5 + N[(y1 * z), $MachinePrecision]), $MachinePrecision] * N[(y3 * a), $MachinePrecision]), $MachinePrecision], N[(N[(N[((-k) * y0 + N[(a * t), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * y2), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -3.6 \cdot 10^{+248}:\\
\;\;\;\;\left(\left(y2 \cdot t\right) \cdot y5\right) \cdot a\\
\mathbf{elif}\;y2 \leq -1.4 \cdot 10^{-107}:\\
\;\;\;\;\left(\mathsf{fma}\left(-t, y4, y0 \cdot x\right) \cdot y2\right) \cdot c\\
\mathbf{elif}\;y2 \leq 1.35 \cdot 10^{-248}:\\
\;\;\;\;\mathsf{fma}\left(k, y, \left(-t\right) \cdot j\right) \cdot \left(y5 \cdot i\right)\\
\mathbf{elif}\;y2 \leq 10^{-54}:\\
\;\;\;\;\mathsf{fma}\left(-y, y5, y1 \cdot z\right) \cdot \left(y3 \cdot a\right)\\
\mathbf{else}:\\
\;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\
\end{array}
\end{array}
if y2 < -3.60000000000000001e248Initial program 27.3%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites60.8%
Taylor expanded in y2 around inf
Applied rewrites60.6%
Taylor expanded in t around inf
Applied rewrites67.8%
if -3.60000000000000001e248 < y2 < -1.3999999999999999e-107Initial program 35.7%
Taylor expanded in c around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites45.8%
Taylor expanded in y2 around inf
Applied rewrites37.9%
if -1.3999999999999999e-107 < y2 < 1.35e-248Initial program 43.0%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites40.1%
Taylor expanded in i around inf
Applied rewrites41.9%
if 1.35e-248 < y2 < 1e-54Initial program 27.2%
Taylor expanded in y3 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites53.6%
Taylor expanded in a around inf
Applied rewrites47.3%
if 1e-54 < y2 Initial program 29.2%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites50.6%
Taylor expanded in y2 around inf
Applied rewrites45.1%
Final simplification43.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -3.6e+248)
(* (* (* y2 t) y5) a)
(if (<= y2 -1.4e-107)
(* (* (fma (- t) y4 (* y0 x)) y2) c)
(if (<= y2 1e-248)
(* (fma k y (* (- t) j)) (* y5 i))
(if (<= y2 5.2e-13)
(* (fma (- y) y4 (* y0 z)) (* k b))
(* (* (fma (- k) y0 (* a t)) y5) 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 (y2 <= -3.6e+248) {
tmp = ((y2 * t) * y5) * a;
} else if (y2 <= -1.4e-107) {
tmp = (fma(-t, y4, (y0 * x)) * y2) * c;
} else if (y2 <= 1e-248) {
tmp = fma(k, y, (-t * j)) * (y5 * i);
} else if (y2 <= 5.2e-13) {
tmp = fma(-y, y4, (y0 * z)) * (k * b);
} else {
tmp = (fma(-k, y0, (a * t)) * y5) * 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 (y2 <= -3.6e+248) tmp = Float64(Float64(Float64(y2 * t) * y5) * a); elseif (y2 <= -1.4e-107) tmp = Float64(Float64(fma(Float64(-t), y4, Float64(y0 * x)) * y2) * c); elseif (y2 <= 1e-248) tmp = Float64(fma(k, y, Float64(Float64(-t) * j)) * Float64(y5 * i)); elseif (y2 <= 5.2e-13) tmp = Float64(fma(Float64(-y), y4, Float64(y0 * z)) * Float64(k * b)); else tmp = Float64(Float64(fma(Float64(-k), y0, Float64(a * t)) * y5) * y2); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -3.6e+248], N[(N[(N[(y2 * t), $MachinePrecision] * y5), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[y2, -1.4e-107], N[(N[(N[((-t) * y4 + N[(y0 * x), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision] * c), $MachinePrecision], If[LessEqual[y2, 1e-248], N[(N[(k * y + N[((-t) * j), $MachinePrecision]), $MachinePrecision] * N[(y5 * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 5.2e-13], N[(N[((-y) * y4 + N[(y0 * z), $MachinePrecision]), $MachinePrecision] * N[(k * b), $MachinePrecision]), $MachinePrecision], N[(N[(N[((-k) * y0 + N[(a * t), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * y2), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -3.6 \cdot 10^{+248}:\\
\;\;\;\;\left(\left(y2 \cdot t\right) \cdot y5\right) \cdot a\\
\mathbf{elif}\;y2 \leq -1.4 \cdot 10^{-107}:\\
\;\;\;\;\left(\mathsf{fma}\left(-t, y4, y0 \cdot x\right) \cdot y2\right) \cdot c\\
\mathbf{elif}\;y2 \leq 10^{-248}:\\
\;\;\;\;\mathsf{fma}\left(k, y, \left(-t\right) \cdot j\right) \cdot \left(y5 \cdot i\right)\\
\mathbf{elif}\;y2 \leq 5.2 \cdot 10^{-13}:\\
\;\;\;\;\mathsf{fma}\left(-y, y4, y0 \cdot z\right) \cdot \left(k \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\
\end{array}
\end{array}
if y2 < -3.60000000000000001e248Initial program 27.3%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites60.8%
Taylor expanded in y2 around inf
Applied rewrites60.6%
Taylor expanded in t around inf
Applied rewrites67.8%
if -3.60000000000000001e248 < y2 < -1.3999999999999999e-107Initial program 35.7%
Taylor expanded in c around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites45.8%
Taylor expanded in y2 around inf
Applied rewrites37.9%
if -1.3999999999999999e-107 < y2 < 9.9999999999999998e-249Initial program 43.0%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites40.1%
Taylor expanded in i around inf
Applied rewrites41.9%
if 9.9999999999999998e-249 < y2 < 5.2000000000000001e-13Initial program 35.3%
Taylor expanded in k around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites26.6%
Taylor expanded in b around inf
Applied rewrites31.3%
if 5.2000000000000001e-13 < y2 Initial program 24.6%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites51.2%
Taylor expanded in y2 around inf
Applied rewrites48.9%
Final simplification42.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* (fma (- k) y0 (* a t)) y5) y2)))
(if (<= z -5.5e+147)
(* (* (* (- t) z) a) b)
(if (<= z -6.5e+24)
t_1
(if (<= z -4e-176)
(* (fma k y (* (- t) j)) (* y5 i))
(if (<= z 1.8e-182) t_1 (* (* (fma (- t) y4 (* y0 x)) y2) c)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (fma(-k, y0, (a * t)) * y5) * y2;
double tmp;
if (z <= -5.5e+147) {
tmp = ((-t * z) * a) * b;
} else if (z <= -6.5e+24) {
tmp = t_1;
} else if (z <= -4e-176) {
tmp = fma(k, y, (-t * j)) * (y5 * i);
} else if (z <= 1.8e-182) {
tmp = t_1;
} else {
tmp = (fma(-t, y4, (y0 * x)) * y2) * c;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(fma(Float64(-k), y0, Float64(a * t)) * y5) * y2) tmp = 0.0 if (z <= -5.5e+147) tmp = Float64(Float64(Float64(Float64(-t) * z) * a) * b); elseif (z <= -6.5e+24) tmp = t_1; elseif (z <= -4e-176) tmp = Float64(fma(k, y, Float64(Float64(-t) * j)) * Float64(y5 * i)); elseif (z <= 1.8e-182) tmp = t_1; else tmp = Float64(Float64(fma(Float64(-t), y4, Float64(y0 * x)) * y2) * c); 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[((-k) * y0 + N[(a * t), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * y2), $MachinePrecision]}, If[LessEqual[z, -5.5e+147], N[(N[(N[((-t) * z), $MachinePrecision] * a), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[z, -6.5e+24], t$95$1, If[LessEqual[z, -4e-176], N[(N[(k * y + N[((-t) * j), $MachinePrecision]), $MachinePrecision] * N[(y5 * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.8e-182], t$95$1, N[(N[(N[((-t) * y4 + N[(y0 * x), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision] * c), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\
\mathbf{if}\;z \leq -5.5 \cdot 10^{+147}:\\
\;\;\;\;\left(\left(\left(-t\right) \cdot z\right) \cdot a\right) \cdot b\\
\mathbf{elif}\;z \leq -6.5 \cdot 10^{+24}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq -4 \cdot 10^{-176}:\\
\;\;\;\;\mathsf{fma}\left(k, y, \left(-t\right) \cdot j\right) \cdot \left(y5 \cdot i\right)\\
\mathbf{elif}\;z \leq 1.8 \cdot 10^{-182}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;\left(\mathsf{fma}\left(-t, y4, y0 \cdot x\right) \cdot y2\right) \cdot c\\
\end{array}
\end{array}
if z < -5.4999999999999997e147Initial program 15.0%
Taylor expanded in b around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites47.7%
Taylor expanded in a around inf
Applied rewrites56.4%
Taylor expanded in x around 0
Applied rewrites44.9%
if -5.4999999999999997e147 < z < -6.4999999999999996e24 or -4e-176 < z < 1.79999999999999988e-182Initial program 35.7%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites53.5%
Taylor expanded in y2 around inf
Applied rewrites50.2%
if -6.4999999999999996e24 < z < -4e-176Initial program 43.4%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites50.9%
Taylor expanded in i around inf
Applied rewrites44.5%
if 1.79999999999999988e-182 < z Initial program 34.4%
Taylor expanded in c around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites41.3%
Taylor expanded in y2 around inf
Applied rewrites34.4%
Final simplification41.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* (* y2 t) y5) a)))
(if (<= t -1.6e+63)
t_1
(if (<= t 5.6e-207)
(* (* (* k i) y) y5)
(if (<= t 3.7e-25)
(* (* (* y4 y) c) y3)
(if (<= t 2.2e+102) (* (* (* y0 j) y5) y3) 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 = ((y2 * t) * y5) * a;
double tmp;
if (t <= -1.6e+63) {
tmp = t_1;
} else if (t <= 5.6e-207) {
tmp = ((k * i) * y) * y5;
} else if (t <= 3.7e-25) {
tmp = ((y4 * y) * c) * y3;
} else if (t <= 2.2e+102) {
tmp = ((y0 * j) * y5) * y3;
} 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 = ((y2 * t) * y5) * a
if (t <= (-1.6d+63)) then
tmp = t_1
else if (t <= 5.6d-207) then
tmp = ((k * i) * y) * y5
else if (t <= 3.7d-25) then
tmp = ((y4 * y) * c) * y3
else if (t <= 2.2d+102) then
tmp = ((y0 * j) * y5) * y3
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 = ((y2 * t) * y5) * a;
double tmp;
if (t <= -1.6e+63) {
tmp = t_1;
} else if (t <= 5.6e-207) {
tmp = ((k * i) * y) * y5;
} else if (t <= 3.7e-25) {
tmp = ((y4 * y) * c) * y3;
} else if (t <= 2.2e+102) {
tmp = ((y0 * j) * y5) * y3;
} 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 = ((y2 * t) * y5) * a tmp = 0 if t <= -1.6e+63: tmp = t_1 elif t <= 5.6e-207: tmp = ((k * i) * y) * y5 elif t <= 3.7e-25: tmp = ((y4 * y) * c) * y3 elif t <= 2.2e+102: tmp = ((y0 * j) * y5) * y3 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(y2 * t) * y5) * a) tmp = 0.0 if (t <= -1.6e+63) tmp = t_1; elseif (t <= 5.6e-207) tmp = Float64(Float64(Float64(k * i) * y) * y5); elseif (t <= 3.7e-25) tmp = Float64(Float64(Float64(y4 * y) * c) * y3); elseif (t <= 2.2e+102) tmp = Float64(Float64(Float64(y0 * j) * y5) * y3); 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 = ((y2 * t) * y5) * a; tmp = 0.0; if (t <= -1.6e+63) tmp = t_1; elseif (t <= 5.6e-207) tmp = ((k * i) * y) * y5; elseif (t <= 3.7e-25) tmp = ((y4 * y) * c) * y3; elseif (t <= 2.2e+102) tmp = ((y0 * j) * y5) * y3; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(y2 * t), $MachinePrecision] * y5), $MachinePrecision] * a), $MachinePrecision]}, If[LessEqual[t, -1.6e+63], t$95$1, If[LessEqual[t, 5.6e-207], N[(N[(N[(k * i), $MachinePrecision] * y), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[t, 3.7e-25], N[(N[(N[(y4 * y), $MachinePrecision] * c), $MachinePrecision] * y3), $MachinePrecision], If[LessEqual[t, 2.2e+102], N[(N[(N[(y0 * j), $MachinePrecision] * y5), $MachinePrecision] * y3), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\left(y2 \cdot t\right) \cdot y5\right) \cdot a\\
\mathbf{if}\;t \leq -1.6 \cdot 10^{+63}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 5.6 \cdot 10^{-207}:\\
\;\;\;\;\left(\left(k \cdot i\right) \cdot y\right) \cdot y5\\
\mathbf{elif}\;t \leq 3.7 \cdot 10^{-25}:\\
\;\;\;\;\left(\left(y4 \cdot y\right) \cdot c\right) \cdot y3\\
\mathbf{elif}\;t \leq 2.2 \cdot 10^{+102}:\\
\;\;\;\;\left(\left(y0 \cdot j\right) \cdot y5\right) \cdot y3\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -1.60000000000000006e63 or 2.20000000000000007e102 < t Initial program 28.7%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites47.4%
Taylor expanded in y2 around inf
Applied rewrites42.1%
Taylor expanded in t around inf
Applied rewrites41.9%
if -1.60000000000000006e63 < t < 5.59999999999999986e-207Initial program 36.0%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites35.4%
Taylor expanded in k around inf
Applied rewrites40.0%
Taylor expanded in y around inf
Applied rewrites31.3%
if 5.59999999999999986e-207 < t < 3.70000000000000009e-25Initial program 42.3%
Taylor expanded in y3 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites56.1%
Taylor expanded in y0 around -inf
Applied rewrites28.0%
Taylor expanded in y around inf
Applied rewrites36.7%
Taylor expanded in a around 0
Applied rewrites28.2%
if 3.70000000000000009e-25 < t < 2.20000000000000007e102Initial program 29.9%
Taylor expanded in y3 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites40.4%
Taylor expanded in y0 around -inf
Applied rewrites44.1%
Taylor expanded in z around 0
Applied rewrites34.5%
Final simplification35.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y0 -9.5e+75)
(* (* (* y0 j) y5) y3)
(if (<= y0 -2.1e-245)
(* (* (* k i) y) y5)
(if (<= y0 2.95e+122) (* (* (* y5 y2) a) t) (* (* (* (- c) y0) z) y3)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y0 <= -9.5e+75) {
tmp = ((y0 * j) * y5) * y3;
} else if (y0 <= -2.1e-245) {
tmp = ((k * i) * y) * y5;
} else if (y0 <= 2.95e+122) {
tmp = ((y5 * y2) * a) * t;
} else {
tmp = ((-c * y0) * z) * y3;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y0 <= (-9.5d+75)) then
tmp = ((y0 * j) * y5) * y3
else if (y0 <= (-2.1d-245)) then
tmp = ((k * i) * y) * y5
else if (y0 <= 2.95d+122) then
tmp = ((y5 * y2) * a) * t
else
tmp = ((-c * y0) * z) * y3
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y0 <= -9.5e+75) {
tmp = ((y0 * j) * y5) * y3;
} else if (y0 <= -2.1e-245) {
tmp = ((k * i) * y) * y5;
} else if (y0 <= 2.95e+122) {
tmp = ((y5 * y2) * a) * t;
} else {
tmp = ((-c * y0) * z) * y3;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y0 <= -9.5e+75: tmp = ((y0 * j) * y5) * y3 elif y0 <= -2.1e-245: tmp = ((k * i) * y) * y5 elif y0 <= 2.95e+122: tmp = ((y5 * y2) * a) * t else: tmp = ((-c * y0) * z) * y3 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y0 <= -9.5e+75) tmp = Float64(Float64(Float64(y0 * j) * y5) * y3); elseif (y0 <= -2.1e-245) tmp = Float64(Float64(Float64(k * i) * y) * y5); elseif (y0 <= 2.95e+122) tmp = Float64(Float64(Float64(y5 * y2) * a) * t); else tmp = Float64(Float64(Float64(Float64(-c) * y0) * z) * y3); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y0 <= -9.5e+75) tmp = ((y0 * j) * y5) * y3; elseif (y0 <= -2.1e-245) tmp = ((k * i) * y) * y5; elseif (y0 <= 2.95e+122) tmp = ((y5 * y2) * a) * t; else tmp = ((-c * y0) * z) * y3; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y0, -9.5e+75], N[(N[(N[(y0 * j), $MachinePrecision] * y5), $MachinePrecision] * y3), $MachinePrecision], If[LessEqual[y0, -2.1e-245], N[(N[(N[(k * i), $MachinePrecision] * y), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[y0, 2.95e+122], N[(N[(N[(y5 * y2), $MachinePrecision] * a), $MachinePrecision] * t), $MachinePrecision], N[(N[(N[((-c) * y0), $MachinePrecision] * z), $MachinePrecision] * y3), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y0 \leq -9.5 \cdot 10^{+75}:\\
\;\;\;\;\left(\left(y0 \cdot j\right) \cdot y5\right) \cdot y3\\
\mathbf{elif}\;y0 \leq -2.1 \cdot 10^{-245}:\\
\;\;\;\;\left(\left(k \cdot i\right) \cdot y\right) \cdot y5\\
\mathbf{elif}\;y0 \leq 2.95 \cdot 10^{+122}:\\
\;\;\;\;\left(\left(y5 \cdot y2\right) \cdot a\right) \cdot t\\
\mathbf{else}:\\
\;\;\;\;\left(\left(\left(-c\right) \cdot y0\right) \cdot z\right) \cdot y3\\
\end{array}
\end{array}
if y0 < -9.50000000000000061e75Initial program 18.6%
Taylor expanded in y3 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites47.4%
Taylor expanded in y0 around -inf
Applied rewrites50.4%
Taylor expanded in z around 0
Applied rewrites39.3%
if -9.50000000000000061e75 < y0 < -2.1000000000000001e-245Initial program 45.6%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites39.8%
Taylor expanded in k around inf
Applied rewrites26.3%
Taylor expanded in y around inf
Applied rewrites27.7%
if -2.1000000000000001e-245 < y0 < 2.95000000000000016e122Initial program 41.1%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites38.6%
Taylor expanded in y2 around inf
Applied rewrites32.1%
Taylor expanded in t around inf
Applied rewrites26.5%
Applied rewrites28.7%
if 2.95000000000000016e122 < y0 Initial program 23.5%
Taylor expanded in y3 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites53.1%
Taylor expanded in y0 around -inf
Applied rewrites53.5%
Taylor expanded in z around inf
Applied rewrites53.4%
Final simplification34.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* (fma (- k) y0 (* a t)) y5) y2)))
(if (<= y2 -5.8e+82)
t_1
(if (<= y2 1.05e-78) (* (fma k y (* (- t) j)) (* y5 i)) t_1))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (fma(-k, y0, (a * t)) * y5) * y2;
double tmp;
if (y2 <= -5.8e+82) {
tmp = t_1;
} else if (y2 <= 1.05e-78) {
tmp = fma(k, y, (-t * j)) * (y5 * i);
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(fma(Float64(-k), y0, Float64(a * t)) * y5) * y2) tmp = 0.0 if (y2 <= -5.8e+82) tmp = t_1; elseif (y2 <= 1.05e-78) tmp = Float64(fma(k, y, Float64(Float64(-t) * j)) * Float64(y5 * i)); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[((-k) * y0 + N[(a * t), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * y2), $MachinePrecision]}, If[LessEqual[y2, -5.8e+82], t$95$1, If[LessEqual[y2, 1.05e-78], N[(N[(k * y + N[((-t) * j), $MachinePrecision]), $MachinePrecision] * N[(y5 * i), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\
\mathbf{if}\;y2 \leq -5.8 \cdot 10^{+82}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq 1.05 \cdot 10^{-78}:\\
\;\;\;\;\mathsf{fma}\left(k, y, \left(-t\right) \cdot j\right) \cdot \left(y5 \cdot i\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y2 < -5.8000000000000003e82 or 1.05e-78 < y2 Initial program 29.0%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites47.3%
Taylor expanded in y2 around inf
Applied rewrites44.8%
if -5.8000000000000003e82 < y2 < 1.05e-78Initial program 39.0%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites38.0%
Taylor expanded in i around inf
Applied rewrites30.1%
Final simplification37.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* (fma (- k) y0 (* a t)) y5) y2)))
(if (<= y5 -2.25e-142)
t_1
(if (<= y5 1.1e-209) (* (* (* (- c) y0) z) y3) t_1))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (fma(-k, y0, (a * t)) * y5) * y2;
double tmp;
if (y5 <= -2.25e-142) {
tmp = t_1;
} else if (y5 <= 1.1e-209) {
tmp = ((-c * y0) * z) * y3;
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(fma(Float64(-k), y0, Float64(a * t)) * y5) * y2) tmp = 0.0 if (y5 <= -2.25e-142) tmp = t_1; elseif (y5 <= 1.1e-209) tmp = Float64(Float64(Float64(Float64(-c) * y0) * z) * y3); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[((-k) * y0 + N[(a * t), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * y2), $MachinePrecision]}, If[LessEqual[y5, -2.25e-142], t$95$1, If[LessEqual[y5, 1.1e-209], N[(N[(N[((-c) * y0), $MachinePrecision] * z), $MachinePrecision] * y3), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\
\mathbf{if}\;y5 \leq -2.25 \cdot 10^{-142}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y5 \leq 1.1 \cdot 10^{-209}:\\
\;\;\;\;\left(\left(\left(-c\right) \cdot y0\right) \cdot z\right) \cdot y3\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y5 < -2.25000000000000009e-142 or 1.10000000000000005e-209 < y5 Initial program 32.9%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites46.6%
Taylor expanded in y2 around inf
Applied rewrites36.0%
if -2.25000000000000009e-142 < y5 < 1.10000000000000005e-209Initial program 36.6%
Taylor expanded in y3 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites52.2%
Taylor expanded in y0 around -inf
Applied rewrites39.2%
Taylor expanded in z around inf
Applied rewrites40.8%
Final simplification37.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* (* y2 t) y5) a)))
(if (<= t -1.6e+63)
t_1
(if (<= t 1.05e-210)
(* (* (* k i) y) y5)
(if (<= t 9.2e+98) (* (* a (* y x)) b) 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 = ((y2 * t) * y5) * a;
double tmp;
if (t <= -1.6e+63) {
tmp = t_1;
} else if (t <= 1.05e-210) {
tmp = ((k * i) * y) * y5;
} else if (t <= 9.2e+98) {
tmp = (a * (y * x)) * b;
} 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 = ((y2 * t) * y5) * a
if (t <= (-1.6d+63)) then
tmp = t_1
else if (t <= 1.05d-210) then
tmp = ((k * i) * y) * y5
else if (t <= 9.2d+98) then
tmp = (a * (y * x)) * b
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = ((y2 * t) * y5) * a;
double tmp;
if (t <= -1.6e+63) {
tmp = t_1;
} else if (t <= 1.05e-210) {
tmp = ((k * i) * y) * y5;
} else if (t <= 9.2e+98) {
tmp = (a * (y * x)) * b;
} 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 = ((y2 * t) * y5) * a tmp = 0 if t <= -1.6e+63: tmp = t_1 elif t <= 1.05e-210: tmp = ((k * i) * y) * y5 elif t <= 9.2e+98: tmp = (a * (y * x)) * b 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(y2 * t) * y5) * a) tmp = 0.0 if (t <= -1.6e+63) tmp = t_1; elseif (t <= 1.05e-210) tmp = Float64(Float64(Float64(k * i) * y) * y5); elseif (t <= 9.2e+98) tmp = Float64(Float64(a * Float64(y * x)) * b); 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 = ((y2 * t) * y5) * a; tmp = 0.0; if (t <= -1.6e+63) tmp = t_1; elseif (t <= 1.05e-210) tmp = ((k * i) * y) * y5; elseif (t <= 9.2e+98) tmp = (a * (y * x)) * b; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(y2 * t), $MachinePrecision] * y5), $MachinePrecision] * a), $MachinePrecision]}, If[LessEqual[t, -1.6e+63], t$95$1, If[LessEqual[t, 1.05e-210], N[(N[(N[(k * i), $MachinePrecision] * y), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[t, 9.2e+98], N[(N[(a * N[(y * x), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\left(y2 \cdot t\right) \cdot y5\right) \cdot a\\
\mathbf{if}\;t \leq -1.6 \cdot 10^{+63}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 1.05 \cdot 10^{-210}:\\
\;\;\;\;\left(\left(k \cdot i\right) \cdot y\right) \cdot y5\\
\mathbf{elif}\;t \leq 9.2 \cdot 10^{+98}:\\
\;\;\;\;\left(a \cdot \left(y \cdot x\right)\right) \cdot b\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -1.60000000000000006e63 or 9.20000000000000053e98 < t Initial program 29.6%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites48.5%
Taylor expanded in y2 around inf
Applied rewrites41.4%
Taylor expanded in t around inf
Applied rewrites41.2%
if -1.60000000000000006e63 < t < 1.05000000000000008e-210Initial program 36.4%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites35.8%
Taylor expanded in k around inf
Applied rewrites40.5%
Taylor expanded in y around inf
Applied rewrites31.6%
if 1.05000000000000008e-210 < t < 9.20000000000000053e98Initial program 36.1%
Taylor expanded in b around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites49.1%
Taylor expanded in a around inf
Applied rewrites28.9%
Taylor expanded in x around inf
Applied rewrites26.4%
Final simplification33.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= t -1.6e+63)
(* (* (* y2 t) y5) a)
(if (<= t 5.6e-207)
(* (* (* k i) y) y5)
(if (<= t 7.5e-31) (* (* (* y4 y) c) y3) (* (* (* 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 (t <= -1.6e+63) {
tmp = ((y2 * t) * y5) * a;
} else if (t <= 5.6e-207) {
tmp = ((k * i) * y) * y5;
} else if (t <= 7.5e-31) {
tmp = ((y4 * y) * c) * y3;
} 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 (t <= (-1.6d+63)) then
tmp = ((y2 * t) * y5) * a
else if (t <= 5.6d-207) then
tmp = ((k * i) * y) * y5
else if (t <= 7.5d-31) then
tmp = ((y4 * y) * c) * y3
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 (t <= -1.6e+63) {
tmp = ((y2 * t) * y5) * a;
} else if (t <= 5.6e-207) {
tmp = ((k * i) * y) * y5;
} else if (t <= 7.5e-31) {
tmp = ((y4 * y) * c) * y3;
} 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 t <= -1.6e+63: tmp = ((y2 * t) * y5) * a elif t <= 5.6e-207: tmp = ((k * i) * y) * y5 elif t <= 7.5e-31: tmp = ((y4 * y) * c) * y3 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 (t <= -1.6e+63) tmp = Float64(Float64(Float64(y2 * t) * y5) * a); elseif (t <= 5.6e-207) tmp = Float64(Float64(Float64(k * i) * y) * y5); elseif (t <= 7.5e-31) tmp = Float64(Float64(Float64(y4 * y) * c) * y3); else tmp = Float64(Float64(Float64(a * 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 (t <= -1.6e+63) tmp = ((y2 * t) * y5) * a; elseif (t <= 5.6e-207) tmp = ((k * i) * y) * y5; elseif (t <= 7.5e-31) tmp = ((y4 * y) * c) * y3; 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[LessEqual[t, -1.6e+63], N[(N[(N[(y2 * t), $MachinePrecision] * y5), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[t, 5.6e-207], N[(N[(N[(k * i), $MachinePrecision] * y), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[t, 7.5e-31], N[(N[(N[(y4 * y), $MachinePrecision] * c), $MachinePrecision] * y3), $MachinePrecision], N[(N[(N[(a * t), $MachinePrecision] * y2), $MachinePrecision] * y5), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -1.6 \cdot 10^{+63}:\\
\;\;\;\;\left(\left(y2 \cdot t\right) \cdot y5\right) \cdot a\\
\mathbf{elif}\;t \leq 5.6 \cdot 10^{-207}:\\
\;\;\;\;\left(\left(k \cdot i\right) \cdot y\right) \cdot y5\\
\mathbf{elif}\;t \leq 7.5 \cdot 10^{-31}:\\
\;\;\;\;\left(\left(y4 \cdot y\right) \cdot c\right) \cdot y3\\
\mathbf{else}:\\
\;\;\;\;\left(\left(a \cdot t\right) \cdot y2\right) \cdot y5\\
\end{array}
\end{array}
if t < -1.60000000000000006e63Initial program 30.6%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites39.7%
Taylor expanded in y2 around inf
Applied rewrites41.0%
Taylor expanded in t around inf
Applied rewrites42.7%
if -1.60000000000000006e63 < t < 5.59999999999999986e-207Initial program 36.0%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites35.4%
Taylor expanded in k around inf
Applied rewrites40.0%
Taylor expanded in y around inf
Applied rewrites31.3%
if 5.59999999999999986e-207 < t < 7.49999999999999975e-31Initial program 42.0%
Taylor expanded in y3 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites56.3%
Taylor expanded in y0 around -inf
Applied rewrites29.2%
Taylor expanded in y around inf
Applied rewrites36.0%
Taylor expanded in a around 0
Applied rewrites29.5%
if 7.49999999999999975e-31 < t Initial program 28.6%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites53.6%
Taylor expanded in y2 around inf
Applied rewrites34.7%
Taylor expanded in t around inf
Applied rewrites31.0%
Applied rewrites32.2%
Final simplification33.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (let* ((t_1 (* (* (* y2 t) y5) a))) (if (<= t -1.6e+63) t_1 (if (<= t 2.2e+68) (* (* (* k i) y) 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 = ((y2 * t) * y5) * a;
double tmp;
if (t <= -1.6e+63) {
tmp = t_1;
} else if (t <= 2.2e+68) {
tmp = ((k * i) * y) * y5;
} 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 = ((y2 * t) * y5) * a
if (t <= (-1.6d+63)) then
tmp = t_1
else if (t <= 2.2d+68) then
tmp = ((k * i) * y) * y5
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 = ((y2 * t) * y5) * a;
double tmp;
if (t <= -1.6e+63) {
tmp = t_1;
} else if (t <= 2.2e+68) {
tmp = ((k * i) * y) * y5;
} 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 = ((y2 * t) * y5) * a tmp = 0 if t <= -1.6e+63: tmp = t_1 elif t <= 2.2e+68: tmp = ((k * i) * y) * 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(Float64(y2 * t) * y5) * a) tmp = 0.0 if (t <= -1.6e+63) tmp = t_1; elseif (t <= 2.2e+68) tmp = Float64(Float64(Float64(k * i) * y) * y5); 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 = ((y2 * t) * y5) * a; tmp = 0.0; if (t <= -1.6e+63) tmp = t_1; elseif (t <= 2.2e+68) tmp = ((k * i) * y) * y5; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(y2 * t), $MachinePrecision] * y5), $MachinePrecision] * a), $MachinePrecision]}, If[LessEqual[t, -1.6e+63], t$95$1, If[LessEqual[t, 2.2e+68], N[(N[(N[(k * i), $MachinePrecision] * y), $MachinePrecision] * y5), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\left(y2 \cdot t\right) \cdot y5\right) \cdot a\\
\mathbf{if}\;t \leq -1.6 \cdot 10^{+63}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 2.2 \cdot 10^{+68}:\\
\;\;\;\;\left(\left(k \cdot i\right) \cdot y\right) \cdot y5\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -1.60000000000000006e63 or 2.19999999999999987e68 < t Initial program 29.2%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites49.6%
Taylor expanded in y2 around inf
Applied rewrites40.2%
Taylor expanded in t around inf
Applied rewrites40.1%
if -1.60000000000000006e63 < t < 2.19999999999999987e68Initial program 36.9%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites38.2%
Taylor expanded in k around inf
Applied rewrites35.6%
Taylor expanded in y around inf
Applied rewrites24.7%
Final simplification31.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (let* ((t_1 (* (* (* y2 t) y5) a))) (if (<= t -1.45e+53) t_1 (if (<= t 3.5e+67) (* (* (* y0 z) k) b) 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 = ((y2 * t) * y5) * a;
double tmp;
if (t <= -1.45e+53) {
tmp = t_1;
} else if (t <= 3.5e+67) {
tmp = ((y0 * z) * k) * b;
} 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 = ((y2 * t) * y5) * a
if (t <= (-1.45d+53)) then
tmp = t_1
else if (t <= 3.5d+67) then
tmp = ((y0 * z) * k) * b
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = ((y2 * t) * y5) * a;
double tmp;
if (t <= -1.45e+53) {
tmp = t_1;
} else if (t <= 3.5e+67) {
tmp = ((y0 * z) * k) * b;
} 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 = ((y2 * t) * y5) * a tmp = 0 if t <= -1.45e+53: tmp = t_1 elif t <= 3.5e+67: tmp = ((y0 * z) * k) * b 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(y2 * t) * y5) * a) tmp = 0.0 if (t <= -1.45e+53) tmp = t_1; elseif (t <= 3.5e+67) tmp = Float64(Float64(Float64(y0 * z) * k) * b); 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 = ((y2 * t) * y5) * a; tmp = 0.0; if (t <= -1.45e+53) tmp = t_1; elseif (t <= 3.5e+67) tmp = ((y0 * z) * k) * b; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(y2 * t), $MachinePrecision] * y5), $MachinePrecision] * a), $MachinePrecision]}, If[LessEqual[t, -1.45e+53], t$95$1, If[LessEqual[t, 3.5e+67], N[(N[(N[(y0 * z), $MachinePrecision] * k), $MachinePrecision] * b), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\left(y2 \cdot t\right) \cdot y5\right) \cdot a\\
\mathbf{if}\;t \leq -1.45 \cdot 10^{+53}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 3.5 \cdot 10^{+67}:\\
\;\;\;\;\left(\left(y0 \cdot z\right) \cdot k\right) \cdot b\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -1.4500000000000001e53 or 3.5e67 < t Initial program 28.4%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites49.2%
Taylor expanded in y2 around inf
Applied rewrites40.1%
Taylor expanded in t around inf
Applied rewrites40.9%
if -1.4500000000000001e53 < t < 3.5e67Initial program 37.7%
Taylor expanded in b around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites39.6%
Taylor expanded in a around inf
Applied rewrites23.0%
Taylor expanded in z around inf
Applied rewrites23.4%
Taylor expanded in t around 0
Applied rewrites22.5%
Final simplification30.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* (* (* y2 t) y5) a))
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 ((y2 * t) * y5) * a;
}
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 = ((y2 * t) * y5) * a
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 ((y2 * t) * y5) * a;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return ((y2 * t) * y5) * a
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(Float64(Float64(y2 * t) * y5) * a) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = ((y2 * t) * y5) * a; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(N[(N[(y2 * t), $MachinePrecision] * y5), $MachinePrecision] * a), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(y2 \cdot t\right) \cdot y5\right) \cdot a
\end{array}
Initial program 33.7%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites42.9%
Taylor expanded in y2 around inf
Applied rewrites31.1%
Taylor expanded in t around inf
Applied rewrites21.8%
Final simplification21.8%
(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 2024296
(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)))))