
(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 27 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(+
(-
(+
(+
(-
(* (- (* x y) (* z t)) (- (* a b) (* c i)))
(* (- (* x j) (* z k)) (- (* y0 b) (* y1 i))))
(* (- (* x y2) (* z y3)) (- (* y0 c) (* y1 a))))
(* (- (* t j) (* y k)) (- (* y4 b) (* y5 i))))
(* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a))))
(* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
code = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) - Float64(z * t)) * Float64(Float64(a * b) - Float64(c * i))) - Float64(Float64(Float64(x * j) - Float64(z * k)) * Float64(Float64(y0 * b) - Float64(y1 * i)))) + Float64(Float64(Float64(x * y2) - Float64(z * y3)) * Float64(Float64(y0 * c) - Float64(y1 * a)))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * Float64(Float64(y4 * b) - Float64(y5 * i)))) - Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(y4 * c) - Float64(y5 * a)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y4 * y1) - Float64(y5 * y0)))) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0))); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)
\end{array}
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(*
(fma
(- (* y3 z) (* y2 x))
y1
(fma (- (* y x) (* t z)) b (* (- (* y2 t) (* y3 y)) y5)))
a))
(t_2 (- (* j t) (* k y)))
(t_3 (- (* y3 y) (* y2 t))))
(if (<= a -1.75e+56)
t_1
(if (<= a -3e-79)
(-
(- (* (* (* j t) y4) b) (* (- (* y5 a) (* y4 c)) t_3))
(* (- (* y3 j) (* y2 k)) (- (* y4 y1) (* y5 y0))))
(if (<= a -2.8e-287)
(*
(fma
(- (* y5 y0) (* y4 y1))
y3
(fma (- (* y4 b) (* y5 i)) t (* (- (* y1 i) (* y0 b)) x)))
j)
(if (<= a 1.5e-188)
(* (fma t_2 b (fma (- (* y2 k) (* y3 j)) y1 (* t_3 c))) y4)
(if (<= a 1.3e+140)
(*
(fma
(- (* t z) (* y x))
c
(fma (- y5) t_2 (* (- (* j x) (* k z)) y1)))
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(((y3 * z) - (y2 * x)), y1, fma(((y * x) - (t * z)), b, (((y2 * t) - (y3 * y)) * y5))) * a;
double t_2 = (j * t) - (k * y);
double t_3 = (y3 * y) - (y2 * t);
double tmp;
if (a <= -1.75e+56) {
tmp = t_1;
} else if (a <= -3e-79) {
tmp = ((((j * t) * y4) * b) - (((y5 * a) - (y4 * c)) * t_3)) - (((y3 * j) - (y2 * k)) * ((y4 * y1) - (y5 * y0)));
} else if (a <= -2.8e-287) {
tmp = fma(((y5 * y0) - (y4 * y1)), y3, fma(((y4 * b) - (y5 * i)), t, (((y1 * i) - (y0 * b)) * x))) * j;
} else if (a <= 1.5e-188) {
tmp = fma(t_2, b, fma(((y2 * k) - (y3 * j)), y1, (t_3 * c))) * y4;
} else if (a <= 1.3e+140) {
tmp = fma(((t * z) - (y * x)), c, fma(-y5, t_2, (((j * x) - (k * z)) * y1))) * 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(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) t_2 = Float64(Float64(j * t) - Float64(k * y)) t_3 = Float64(Float64(y3 * y) - Float64(y2 * t)) tmp = 0.0 if (a <= -1.75e+56) tmp = t_1; elseif (a <= -3e-79) tmp = Float64(Float64(Float64(Float64(Float64(j * t) * y4) * b) - Float64(Float64(Float64(y5 * a) - Float64(y4 * c)) * t_3)) - Float64(Float64(Float64(y3 * j) - Float64(y2 * k)) * Float64(Float64(y4 * y1) - Float64(y5 * y0)))); elseif (a <= -2.8e-287) tmp = Float64(fma(Float64(Float64(y5 * y0) - Float64(y4 * y1)), y3, fma(Float64(Float64(y4 * b) - Float64(y5 * i)), t, Float64(Float64(Float64(y1 * i) - Float64(y0 * b)) * x))) * j); elseif (a <= 1.5e-188) tmp = Float64(fma(t_2, b, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y1, Float64(t_3 * c))) * y4); elseif (a <= 1.3e+140) tmp = Float64(fma(Float64(Float64(t * z) - Float64(y * x)), c, fma(Float64(-y5), t_2, Float64(Float64(Float64(j * x) - Float64(k * z)) * y1))) * 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[(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]}, Block[{t$95$2 = N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y3 * y), $MachinePrecision] - N[(y2 * t), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -1.75e+56], t$95$1, If[LessEqual[a, -3e-79], N[(N[(N[(N[(N[(j * t), $MachinePrecision] * y4), $MachinePrecision] * b), $MachinePrecision] - N[(N[(N[(y5 * a), $MachinePrecision] - N[(y4 * c), $MachinePrecision]), $MachinePrecision] * t$95$3), $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[a, -2.8e-287], N[(N[(N[(N[(y5 * y0), $MachinePrecision] - N[(y4 * y1), $MachinePrecision]), $MachinePrecision] * y3 + N[(N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision] * t + N[(N[(N[(y1 * i), $MachinePrecision] - N[(y0 * b), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[a, 1.5e-188], N[(N[(t$95$2 * b + N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * y1 + N[(t$95$3 * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision], If[LessEqual[a, 1.3e+140], N[(N[(N[(N[(t * z), $MachinePrecision] - N[(y * x), $MachinePrecision]), $MachinePrecision] * c + N[((-y5) * t$95$2 + N[(N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision], t$95$1]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \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\\
t_2 := j \cdot t - k \cdot y\\
t_3 := y3 \cdot y - y2 \cdot t\\
\mathbf{if}\;a \leq -1.75 \cdot 10^{+56}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq -3 \cdot 10^{-79}:\\
\;\;\;\;\left(\left(\left(j \cdot t\right) \cdot y4\right) \cdot b - \left(y5 \cdot a - y4 \cdot c\right) \cdot t\_3\right) - \left(y3 \cdot j - y2 \cdot k\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)\\
\mathbf{elif}\;a \leq -2.8 \cdot 10^{-287}:\\
\;\;\;\;\mathsf{fma}\left(y5 \cdot y0 - y4 \cdot y1, y3, \mathsf{fma}\left(y4 \cdot b - y5 \cdot i, t, \left(y1 \cdot i - y0 \cdot b\right) \cdot x\right)\right) \cdot j\\
\mathbf{elif}\;a \leq 1.5 \cdot 10^{-188}:\\
\;\;\;\;\mathsf{fma}\left(t\_2, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, t\_3 \cdot c\right)\right) \cdot y4\\
\mathbf{elif}\;a \leq 1.3 \cdot 10^{+140}:\\
\;\;\;\;\mathsf{fma}\left(t \cdot z - y \cdot x, c, \mathsf{fma}\left(-y5, t\_2, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if a < -1.75e56 or 1.3000000000000001e140 < a Initial program 24.3%
Taylor expanded in a around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites63.9%
if -1.75e56 < a < -3e-79Initial program 25.4%
Taylor expanded in y4 around inf
associate-*r*N/A
lower-*.f64N/A
*-commutativeN/A
lower-*.f64N/A
lower--.f64N/A
lower-*.f64N/A
lower-*.f6467.5
Applied rewrites67.5%
Taylor expanded in t around inf
Applied rewrites70.3%
if -3e-79 < a < -2.8000000000000002e-287Initial program 23.4%
Taylor expanded in j around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites57.2%
if -2.8000000000000002e-287 < a < 1.50000000000000008e-188Initial program 35.3%
Taylor expanded in y4 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites61.6%
if 1.50000000000000008e-188 < a < 1.3000000000000001e140Initial program 36.1%
Taylor expanded in i around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites55.4%
Final simplification61.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* y3 y) (* y2 t)))
(t_2
(-
(-
(-
(-
(-
(* (- (* y1 i) (* y0 b)) (- (* j x) (* k z)))
(* (- (* i c) (* b a)) (- (* y x) (* t z))))
(* (- (* y2 x) (* y3 z)) (- (* y1 a) (* y0 c))))
(* (- (* y4 b) (* y5 i)) (- (* k y) (* j t))))
(* (- (* y5 a) (* y4 c)) t_1))
(* (- (* y3 j) (* y2 k)) (- (* y4 y1) (* y5 y0))))))
(if (<= t_2 INFINITY)
t_2
(*
(fma (- (* j t) (* k y)) b (fma (- (* y2 k) (* y3 j)) y1 (* t_1 c)))
y4))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y3 * y) - (y2 * t);
double t_2 = (((((((y1 * i) - (y0 * b)) * ((j * x) - (k * z))) - (((i * c) - (b * a)) * ((y * x) - (t * z)))) - (((y2 * x) - (y3 * z)) * ((y1 * a) - (y0 * c)))) - (((y4 * b) - (y5 * i)) * ((k * y) - (j * t)))) - (((y5 * a) - (y4 * c)) * t_1)) - (((y3 * j) - (y2 * k)) * ((y4 * y1) - (y5 * y0)));
double tmp;
if (t_2 <= ((double) INFINITY)) {
tmp = t_2;
} else {
tmp = fma(((j * t) - (k * y)), b, fma(((y2 * k) - (y3 * j)), y1, (t_1 * c))) * y4;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(y3 * y) - Float64(y2 * t)) t_2 = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(y1 * i) - Float64(y0 * b)) * Float64(Float64(j * x) - Float64(k * z))) - Float64(Float64(Float64(i * c) - Float64(b * a)) * Float64(Float64(y * x) - Float64(t * z)))) - Float64(Float64(Float64(y2 * x) - Float64(y3 * z)) * Float64(Float64(y1 * a) - Float64(y0 * c)))) - Float64(Float64(Float64(y4 * b) - Float64(y5 * i)) * Float64(Float64(k * y) - Float64(j * t)))) - Float64(Float64(Float64(y5 * a) - Float64(y4 * c)) * t_1)) - Float64(Float64(Float64(y3 * j) - Float64(y2 * k)) * Float64(Float64(y4 * y1) - Float64(y5 * y0)))) tmp = 0.0 if (t_2 <= Inf) tmp = t_2; else tmp = Float64(fma(Float64(Float64(j * t) - Float64(k * y)), b, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y1, Float64(t_1 * c))) * y4); 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[(y3 * y), $MachinePrecision] - N[(y2 * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = 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[(i * c), $MachinePrecision] - N[(b * a), $MachinePrecision]), $MachinePrecision] * N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(y2 * x), $MachinePrecision] - N[(y3 * z), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * a), $MachinePrecision] - N[(y0 * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision] * N[(N[(k * y), $MachinePrecision] - N[(j * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(y5 * a), $MachinePrecision] - N[(y4 * c), $MachinePrecision]), $MachinePrecision] * t$95$1), $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$2, Infinity], t$95$2, 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[(t$95$1 * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y3 \cdot y - y2 \cdot t\\
t_2 := \left(\left(\left(\left(\left(y1 \cdot i - y0 \cdot b\right) \cdot \left(j \cdot x - k \cdot z\right) - \left(i \cdot c - b \cdot a\right) \cdot \left(y \cdot x - t \cdot z\right)\right) - \left(y2 \cdot x - y3 \cdot z\right) \cdot \left(y1 \cdot a - y0 \cdot c\right)\right) - \left(y4 \cdot b - y5 \cdot i\right) \cdot \left(k \cdot y - j \cdot t\right)\right) - \left(y5 \cdot a - y4 \cdot c\right) \cdot t\_1\right) - \left(y3 \cdot j - y2 \cdot k\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)\\
\mathbf{if}\;t\_2 \leq \infty:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, t\_1 \cdot c\right)\right) \cdot y4\\
\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 87.7%
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 y4 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites39.6%
Final simplification55.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (fma (- (* i c) (* b a)) t (* (* (- y3) y0) c)) z))
(t_2 (- (* y3 z) (* y2 x))))
(if (<= c -1.45e+60)
t_1
(if (<= c -2.85e-36)
(* (* (fma (- b) j (* y2 c)) y0) x)
(if (<= c -2.3e-77)
(* (* (fma (- i) t (* y3 y0)) y5) j)
(if (<= c 3.5e-239)
(*
(fma
t_2
a
(fma (- (* y2 k) (* y3 j)) y4 (* (- (* j x) (* k z)) i)))
y1)
(if (<= c 4.6e-122)
(* (* (fma y0 y5 (* (- y1) y4)) y3) j)
(if (<= c 1.8e-32)
(*
(fma
t_2
y1
(fma (- (* y x) (* t z)) b (* (- (* y2 t) (* y3 y)) y5)))
a)
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 * c) - (b * a)), t, ((-y3 * y0) * c)) * z;
double t_2 = (y3 * z) - (y2 * x);
double tmp;
if (c <= -1.45e+60) {
tmp = t_1;
} else if (c <= -2.85e-36) {
tmp = (fma(-b, j, (y2 * c)) * y0) * x;
} else if (c <= -2.3e-77) {
tmp = (fma(-i, t, (y3 * y0)) * y5) * j;
} else if (c <= 3.5e-239) {
tmp = fma(t_2, a, fma(((y2 * k) - (y3 * j)), y4, (((j * x) - (k * z)) * i))) * y1;
} else if (c <= 4.6e-122) {
tmp = (fma(y0, y5, (-y1 * y4)) * y3) * j;
} else if (c <= 1.8e-32) {
tmp = fma(t_2, y1, fma(((y * x) - (t * z)), b, (((y2 * t) - (y3 * y)) * y5))) * a;
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(fma(Float64(Float64(i * c) - Float64(b * a)), t, Float64(Float64(Float64(-y3) * y0) * c)) * z) t_2 = Float64(Float64(y3 * z) - Float64(y2 * x)) tmp = 0.0 if (c <= -1.45e+60) tmp = t_1; elseif (c <= -2.85e-36) tmp = Float64(Float64(fma(Float64(-b), j, Float64(y2 * c)) * y0) * x); elseif (c <= -2.3e-77) tmp = Float64(Float64(fma(Float64(-i), t, Float64(y3 * y0)) * y5) * j); elseif (c <= 3.5e-239) tmp = Float64(fma(t_2, a, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y4, Float64(Float64(Float64(j * x) - Float64(k * z)) * i))) * y1); elseif (c <= 4.6e-122) tmp = Float64(Float64(fma(y0, y5, Float64(Float64(-y1) * y4)) * y3) * j); elseif (c <= 1.8e-32) tmp = Float64(fma(t_2, y1, fma(Float64(Float64(y * x) - Float64(t * z)), b, Float64(Float64(Float64(y2 * t) - Float64(y3 * y)) * y5))) * a); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(N[(i * c), $MachinePrecision] - N[(b * a), $MachinePrecision]), $MachinePrecision] * t + N[(N[((-y3) * y0), $MachinePrecision] * c), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y3 * z), $MachinePrecision] - N[(y2 * x), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -1.45e+60], t$95$1, If[LessEqual[c, -2.85e-36], N[(N[(N[((-b) * j + N[(y2 * c), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[c, -2.3e-77], N[(N[(N[((-i) * t + N[(y3 * y0), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[c, 3.5e-239], N[(N[(t$95$2 * 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[c, 4.6e-122], N[(N[(N[(y0 * y5 + N[((-y1) * y4), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[c, 1.8e-32], N[(N[(t$95$2 * 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], t$95$1]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(i \cdot c - b \cdot a, t, \left(\left(-y3\right) \cdot y0\right) \cdot c\right) \cdot z\\
t_2 := y3 \cdot z - y2 \cdot x\\
\mathbf{if}\;c \leq -1.45 \cdot 10^{+60}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;c \leq -2.85 \cdot 10^{-36}:\\
\;\;\;\;\left(\mathsf{fma}\left(-b, j, y2 \cdot c\right) \cdot y0\right) \cdot x\\
\mathbf{elif}\;c \leq -2.3 \cdot 10^{-77}:\\
\;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\
\mathbf{elif}\;c \leq 3.5 \cdot 10^{-239}:\\
\;\;\;\;\mathsf{fma}\left(t\_2, 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}\;c \leq 4.6 \cdot 10^{-122}:\\
\;\;\;\;\left(\mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right) \cdot y3\right) \cdot j\\
\mathbf{elif}\;c \leq 1.8 \cdot 10^{-32}:\\
\;\;\;\;\mathsf{fma}\left(t\_2, 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}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if c < -1.45e60 or 1.79999999999999996e-32 < c Initial program 23.5%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites41.5%
Taylor expanded in c around inf
Applied rewrites50.3%
if -1.45e60 < c < -2.8499999999999999e-36Initial program 31.8%
Taylor expanded in x around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites43.1%
Taylor expanded in y around inf
Applied rewrites12.3%
Taylor expanded in y0 around inf
Applied rewrites38.7%
if -2.8499999999999999e-36 < c < -2.29999999999999999e-77Initial program 31.5%
Taylor expanded in j around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites62.2%
Taylor expanded in y5 around inf
Applied rewrites84.7%
if -2.29999999999999999e-77 < c < 3.50000000000000005e-239Initial program 34.0%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites52.9%
if 3.50000000000000005e-239 < c < 4.60000000000000014e-122Initial program 43.6%
Taylor expanded in j around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites63.9%
Taylor expanded in y3 around inf
Applied rewrites70.5%
if 4.60000000000000014e-122 < c < 1.79999999999999996e-32Initial program 22.7%
Taylor expanded in a around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites59.3%
Final simplification54.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(*
(fma
(- (* y5 i) (* y4 b))
k
(fma (- (* b a) (* i c)) x (* (- (* y4 c) (* y5 a)) y3)))
y)))
(if (<= y -2.05e+30)
t_1
(if (<= y -2.6e-158)
(*
(fma
(- (* y5 y0) (* y4 y1))
y3
(fma (- (* y4 b) (* y5 i)) t (* (- (* y1 i) (* y0 b)) x)))
j)
(if (<= y -1.5e-265)
(* (fma (- (* y3 z) (* y2 x)) a (* (* y2 k) y4)) y1)
(if (<= y 8.2e-40)
(*
(fma
(- (* y4 y1) (* y5 y0))
k
(fma (- (* y0 c) (* y1 a)) x (* (- (* y5 a) (* y4 c)) t)))
y2)
t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = fma(((y5 * i) - (y4 * b)), k, fma(((b * a) - (i * c)), x, (((y4 * c) - (y5 * a)) * y3))) * y;
double tmp;
if (y <= -2.05e+30) {
tmp = t_1;
} else if (y <= -2.6e-158) {
tmp = fma(((y5 * y0) - (y4 * y1)), y3, fma(((y4 * b) - (y5 * i)), t, (((y1 * i) - (y0 * b)) * x))) * j;
} else if (y <= -1.5e-265) {
tmp = fma(((y3 * z) - (y2 * x)), a, ((y2 * k) * y4)) * y1;
} else if (y <= 8.2e-40) {
tmp = fma(((y4 * y1) - (y5 * y0)), k, fma(((y0 * c) - (y1 * a)), x, (((y5 * a) - (y4 * c)) * t))) * y2;
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(fma(Float64(Float64(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) tmp = 0.0 if (y <= -2.05e+30) tmp = t_1; elseif (y <= -2.6e-158) tmp = Float64(fma(Float64(Float64(y5 * y0) - Float64(y4 * y1)), y3, fma(Float64(Float64(y4 * b) - Float64(y5 * i)), t, Float64(Float64(Float64(y1 * i) - Float64(y0 * b)) * x))) * j); elseif (y <= -1.5e-265) tmp = Float64(fma(Float64(Float64(y3 * z) - Float64(y2 * x)), a, Float64(Float64(y2 * k) * y4)) * y1); elseif (y <= 8.2e-40) tmp = Float64(fma(Float64(Float64(y4 * y1) - Float64(y5 * y0)), k, fma(Float64(Float64(y0 * c) - Float64(y1 * a)), x, Float64(Float64(Float64(y5 * a) - Float64(y4 * c)) * t))) * y2); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(N[(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]}, If[LessEqual[y, -2.05e+30], t$95$1, If[LessEqual[y, -2.6e-158], N[(N[(N[(N[(y5 * y0), $MachinePrecision] - N[(y4 * y1), $MachinePrecision]), $MachinePrecision] * y3 + N[(N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision] * t + N[(N[(N[(y1 * i), $MachinePrecision] - N[(y0 * b), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[y, -1.5e-265], N[(N[(N[(N[(y3 * z), $MachinePrecision] - N[(y2 * x), $MachinePrecision]), $MachinePrecision] * a + N[(N[(y2 * k), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[y, 8.2e-40], N[(N[(N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision] * k + N[(N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision] * x + N[(N[(N[(y5 * a), $MachinePrecision] - N[(y4 * c), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(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\\
\mathbf{if}\;y \leq -2.05 \cdot 10^{+30}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq -2.6 \cdot 10^{-158}:\\
\;\;\;\;\mathsf{fma}\left(y5 \cdot y0 - y4 \cdot y1, y3, \mathsf{fma}\left(y4 \cdot b - y5 \cdot i, t, \left(y1 \cdot i - y0 \cdot b\right) \cdot x\right)\right) \cdot j\\
\mathbf{elif}\;y \leq -1.5 \cdot 10^{-265}:\\
\;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \left(y2 \cdot k\right) \cdot y4\right) \cdot y1\\
\mathbf{elif}\;y \leq 8.2 \cdot 10^{-40}:\\
\;\;\;\;\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, \left(y5 \cdot a - y4 \cdot c\right) \cdot t\right)\right) \cdot y2\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < -2.05000000000000003e30 or 8.19999999999999926e-40 < y Initial program 28.1%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites59.4%
if -2.05000000000000003e30 < y < -2.6e-158Initial program 26.8%
Taylor expanded in j around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites59.4%
if -2.6e-158 < y < -1.4999999999999999e-265Initial program 37.5%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites56.7%
Taylor expanded in y2 around inf
Applied rewrites69.5%
if -1.4999999999999999e-265 < y < 8.19999999999999926e-40Initial program 30.7%
Taylor expanded in y2 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites54.0%
Final simplification58.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(*
(fma
(- (* y5 i) (* y4 b))
k
(fma (- (* b a) (* i c)) x (* (- (* y4 c) (* y5 a)) y3)))
y)))
(if (<= y -1.12e+54)
t_1
(if (<= y -1.45e-64)
(*
(fma
(- (* t z) (* y x))
c
(fma (- y5) (- (* j t) (* k y)) (* (- (* j x) (* k z)) y1)))
i)
(if (<= y -8.2e-243)
(* (* (fma (- j) y4 (* a z)) y3) y1)
(if (<= y 8.2e-40)
(*
(fma
(- (* y4 y1) (* y5 y0))
k
(fma (- (* y0 c) (* y1 a)) x (* (- (* y5 a) (* y4 c)) t)))
y2)
t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = fma(((y5 * i) - (y4 * b)), k, fma(((b * a) - (i * c)), x, (((y4 * c) - (y5 * a)) * y3))) * y;
double tmp;
if (y <= -1.12e+54) {
tmp = t_1;
} else if (y <= -1.45e-64) {
tmp = fma(((t * z) - (y * x)), c, fma(-y5, ((j * t) - (k * y)), (((j * x) - (k * z)) * y1))) * i;
} else if (y <= -8.2e-243) {
tmp = (fma(-j, y4, (a * z)) * y3) * y1;
} else if (y <= 8.2e-40) {
tmp = fma(((y4 * y1) - (y5 * y0)), k, fma(((y0 * c) - (y1 * a)), x, (((y5 * a) - (y4 * c)) * t))) * y2;
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(fma(Float64(Float64(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) tmp = 0.0 if (y <= -1.12e+54) tmp = t_1; elseif (y <= -1.45e-64) tmp = Float64(fma(Float64(Float64(t * z) - Float64(y * x)), c, fma(Float64(-y5), Float64(Float64(j * t) - Float64(k * y)), Float64(Float64(Float64(j * x) - Float64(k * z)) * y1))) * i); elseif (y <= -8.2e-243) tmp = Float64(Float64(fma(Float64(-j), y4, Float64(a * z)) * y3) * y1); elseif (y <= 8.2e-40) tmp = Float64(fma(Float64(Float64(y4 * y1) - Float64(y5 * y0)), k, fma(Float64(Float64(y0 * c) - Float64(y1 * a)), x, Float64(Float64(Float64(y5 * a) - Float64(y4 * c)) * t))) * y2); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(N[(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]}, If[LessEqual[y, -1.12e+54], t$95$1, If[LessEqual[y, -1.45e-64], N[(N[(N[(N[(t * z), $MachinePrecision] - N[(y * x), $MachinePrecision]), $MachinePrecision] * c + N[((-y5) * N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision], If[LessEqual[y, -8.2e-243], N[(N[(N[((-j) * y4 + N[(a * z), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[y, 8.2e-40], N[(N[(N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision] * k + N[(N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision] * x + N[(N[(N[(y5 * a), $MachinePrecision] - N[(y4 * c), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(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\\
\mathbf{if}\;y \leq -1.12 \cdot 10^{+54}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq -1.45 \cdot 10^{-64}:\\
\;\;\;\;\mathsf{fma}\left(t \cdot z - y \cdot x, c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i\\
\mathbf{elif}\;y \leq -8.2 \cdot 10^{-243}:\\
\;\;\;\;\left(\mathsf{fma}\left(-j, y4, a \cdot z\right) \cdot y3\right) \cdot y1\\
\mathbf{elif}\;y \leq 8.2 \cdot 10^{-40}:\\
\;\;\;\;\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, \left(y5 \cdot a - y4 \cdot c\right) \cdot t\right)\right) \cdot y2\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < -1.12e54 or 8.19999999999999926e-40 < y Initial program 27.8%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites60.4%
if -1.12e54 < y < -1.4499999999999999e-64Initial program 26.2%
Taylor expanded in i around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites68.6%
if -1.4499999999999999e-64 < y < -8.19999999999999962e-243Initial program 26.5%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites41.4%
Taylor expanded in y3 around inf
Applied rewrites46.6%
if -8.19999999999999962e-243 < y < 8.19999999999999926e-40Initial program 33.7%
Taylor expanded in y2 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites55.0%
Final simplification57.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(*
(fma
(- (* y3 z) (* y2 x))
y1
(fma (- (* y x) (* t z)) b (* (- (* y2 t) (* y3 y)) y5)))
a))
(t_2 (- (* y5 i) (* y4 b))))
(if (<= a -4.5e-21)
t_1
(if (<= a -2e-305)
(*
(fma
t_2
y
(fma (- (* y4 y1) (* y5 y0)) y2 (* (- (* y0 b) (* y1 i)) z)))
k)
(if (<= a 5.7e-68)
(*
(fma
(- (* j t) (* k y))
b
(fma (- (* y2 k) (* y3 j)) y1 (* (- (* y3 y) (* y2 t)) c)))
y4)
(if (<= a 1.05e+129)
(*
(fma
t_2
k
(fma (- (* b a) (* i c)) x (* (- (* y4 c) (* y5 a)) y3)))
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(((y3 * z) - (y2 * x)), y1, fma(((y * x) - (t * z)), b, (((y2 * t) - (y3 * y)) * y5))) * a;
double t_2 = (y5 * i) - (y4 * b);
double tmp;
if (a <= -4.5e-21) {
tmp = t_1;
} else if (a <= -2e-305) {
tmp = fma(t_2, y, fma(((y4 * y1) - (y5 * y0)), y2, (((y0 * b) - (y1 * i)) * z))) * k;
} else if (a <= 5.7e-68) {
tmp = fma(((j * t) - (k * y)), b, fma(((y2 * k) - (y3 * j)), y1, (((y3 * y) - (y2 * t)) * c))) * y4;
} else if (a <= 1.05e+129) {
tmp = fma(t_2, k, fma(((b * a) - (i * c)), x, (((y4 * c) - (y5 * a)) * y3))) * 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(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) t_2 = Float64(Float64(y5 * i) - Float64(y4 * b)) tmp = 0.0 if (a <= -4.5e-21) tmp = t_1; elseif (a <= -2e-305) tmp = Float64(fma(t_2, y, fma(Float64(Float64(y4 * y1) - Float64(y5 * y0)), y2, Float64(Float64(Float64(y0 * b) - Float64(y1 * i)) * z))) * k); elseif (a <= 5.7e-68) 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); elseif (a <= 1.05e+129) tmp = Float64(fma(t_2, k, fma(Float64(Float64(b * a) - Float64(i * c)), x, Float64(Float64(Float64(y4 * c) - Float64(y5 * a)) * y3))) * 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[(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]}, Block[{t$95$2 = N[(N[(y5 * i), $MachinePrecision] - N[(y4 * b), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -4.5e-21], t$95$1, If[LessEqual[a, -2e-305], N[(N[(t$95$2 * y + N[(N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision] * y2 + N[(N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision], If[LessEqual[a, 5.7e-68], 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], If[LessEqual[a, 1.05e+129], N[(N[(t$95$2 * 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], t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \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\\
t_2 := y5 \cdot i - y4 \cdot b\\
\mathbf{if}\;a \leq -4.5 \cdot 10^{-21}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq -2 \cdot 10^{-305}:\\
\;\;\;\;\mathsf{fma}\left(t\_2, y, \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, y2, \left(y0 \cdot b - y1 \cdot i\right) \cdot z\right)\right) \cdot k\\
\mathbf{elif}\;a \leq 5.7 \cdot 10^{-68}:\\
\;\;\;\;\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{elif}\;a \leq 1.05 \cdot 10^{+129}:\\
\;\;\;\;\mathsf{fma}\left(t\_2, 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\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if a < -4.49999999999999968e-21 or 1.04999999999999998e129 < a Initial program 27.2%
Taylor expanded in a around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites57.8%
if -4.49999999999999968e-21 < a < -1.99999999999999999e-305Initial program 19.3%
Taylor expanded in k around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites50.3%
if -1.99999999999999999e-305 < a < 5.7000000000000002e-68Initial program 41.3%
Taylor expanded in y4 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites58.4%
if 5.7000000000000002e-68 < a < 1.04999999999999998e129Initial program 30.9%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites57.1%
Final simplification56.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (fma (- (* i c) (* b a)) t (* (* (- y3) y0) c)) z)))
(if (<= c -1.45e+60)
t_1
(if (<= c -2.85e-36)
(* (* (fma (- b) j (* y2 c)) y0) x)
(if (<= c -2.3e-77)
(* (* (fma (- i) t (* y3 y0)) y5) j)
(if (<= c 2e-29)
(*
(fma
(- (* y3 z) (* y2 x))
a
(fma (- (* y2 k) (* y3 j)) y4 (* (- (* j x) (* k z)) i)))
y1)
t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = fma(((i * c) - (b * a)), t, ((-y3 * y0) * c)) * z;
double tmp;
if (c <= -1.45e+60) {
tmp = t_1;
} else if (c <= -2.85e-36) {
tmp = (fma(-b, j, (y2 * c)) * y0) * x;
} else if (c <= -2.3e-77) {
tmp = (fma(-i, t, (y3 * y0)) * y5) * j;
} else if (c <= 2e-29) {
tmp = fma(((y3 * z) - (y2 * x)), a, fma(((y2 * k) - (y3 * j)), y4, (((j * x) - (k * z)) * i))) * y1;
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(fma(Float64(Float64(i * c) - Float64(b * a)), t, Float64(Float64(Float64(-y3) * y0) * c)) * z) tmp = 0.0 if (c <= -1.45e+60) tmp = t_1; elseif (c <= -2.85e-36) tmp = Float64(Float64(fma(Float64(-b), j, Float64(y2 * c)) * y0) * x); elseif (c <= -2.3e-77) tmp = Float64(Float64(fma(Float64(-i), t, Float64(y3 * y0)) * y5) * j); elseif (c <= 2e-29) tmp = Float64(fma(Float64(Float64(y3 * z) - Float64(y2 * x)), a, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y4, Float64(Float64(Float64(j * x) - Float64(k * z)) * i))) * y1); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(N[(i * c), $MachinePrecision] - N[(b * a), $MachinePrecision]), $MachinePrecision] * t + N[(N[((-y3) * y0), $MachinePrecision] * c), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision]}, If[LessEqual[c, -1.45e+60], t$95$1, If[LessEqual[c, -2.85e-36], N[(N[(N[((-b) * j + N[(y2 * c), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[c, -2.3e-77], N[(N[(N[((-i) * t + N[(y3 * y0), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[c, 2e-29], 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], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(i \cdot c - b \cdot a, t, \left(\left(-y3\right) \cdot y0\right) \cdot c\right) \cdot z\\
\mathbf{if}\;c \leq -1.45 \cdot 10^{+60}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;c \leq -2.85 \cdot 10^{-36}:\\
\;\;\;\;\left(\mathsf{fma}\left(-b, j, y2 \cdot c\right) \cdot y0\right) \cdot x\\
\mathbf{elif}\;c \leq -2.3 \cdot 10^{-77}:\\
\;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\
\mathbf{elif}\;c \leq 2 \cdot 10^{-29}:\\
\;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if c < -1.45e60 or 1.99999999999999989e-29 < c Initial program 23.5%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites41.5%
Taylor expanded in c around inf
Applied rewrites50.3%
if -1.45e60 < c < -2.8499999999999999e-36Initial program 31.8%
Taylor expanded in x around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites43.1%
Taylor expanded in y around inf
Applied rewrites12.3%
Taylor expanded in y0 around inf
Applied rewrites38.7%
if -2.8499999999999999e-36 < c < -2.29999999999999999e-77Initial program 31.5%
Taylor expanded in j around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites62.2%
Taylor expanded in y5 around inf
Applied rewrites84.7%
if -2.29999999999999999e-77 < c < 1.99999999999999989e-29Initial program 34.3%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites51.1%
Final simplification51.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(*
(fma
(- (* y5 i) (* y4 b))
k
(fma (- (* b a) (* i c)) x (* (- (* y4 c) (* y5 a)) y3)))
y)))
(if (<= y -1.15e+73)
t_1
(if (<= y -6.8e-243)
(*
(fma
(- (* j t) (* k y))
b
(fma (- (* y2 k) (* y3 j)) y1 (* (- (* y3 y) (* y2 t)) c)))
y4)
(if (<= y 8.2e-40)
(*
(fma
(- (* y4 y1) (* y5 y0))
k
(fma (- (* y0 c) (* y1 a)) x (* (- (* y5 a) (* y4 c)) t)))
y2)
t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = fma(((y5 * i) - (y4 * b)), k, fma(((b * a) - (i * c)), x, (((y4 * c) - (y5 * a)) * y3))) * y;
double tmp;
if (y <= -1.15e+73) {
tmp = t_1;
} else if (y <= -6.8e-243) {
tmp = fma(((j * t) - (k * y)), b, fma(((y2 * k) - (y3 * j)), y1, (((y3 * y) - (y2 * t)) * c))) * y4;
} else if (y <= 8.2e-40) {
tmp = fma(((y4 * y1) - (y5 * y0)), k, fma(((y0 * c) - (y1 * a)), x, (((y5 * a) - (y4 * c)) * t))) * y2;
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(fma(Float64(Float64(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) tmp = 0.0 if (y <= -1.15e+73) tmp = t_1; elseif (y <= -6.8e-243) 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); elseif (y <= 8.2e-40) tmp = Float64(fma(Float64(Float64(y4 * y1) - Float64(y5 * y0)), k, fma(Float64(Float64(y0 * c) - Float64(y1 * a)), x, Float64(Float64(Float64(y5 * a) - Float64(y4 * c)) * t))) * y2); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(N[(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]}, If[LessEqual[y, -1.15e+73], t$95$1, If[LessEqual[y, -6.8e-243], 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], If[LessEqual[y, 8.2e-40], N[(N[(N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision] * k + N[(N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision] * x + N[(N[(N[(y5 * a), $MachinePrecision] - N[(y4 * c), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(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\\
\mathbf{if}\;y \leq -1.15 \cdot 10^{+73}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq -6.8 \cdot 10^{-243}:\\
\;\;\;\;\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{elif}\;y \leq 8.2 \cdot 10^{-40}:\\
\;\;\;\;\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, \left(y5 \cdot a - y4 \cdot c\right) \cdot t\right)\right) \cdot y2\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < -1.15e73 or 8.19999999999999926e-40 < y Initial program 27.6%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites61.0%
if -1.15e73 < y < -6.79999999999999992e-243Initial program 26.8%
Taylor expanded in y4 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites46.2%
if -6.79999999999999992e-243 < y < 8.19999999999999926e-40Initial program 33.7%
Taylor expanded in y2 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites55.0%
Final simplification55.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(*
(fma
(- (* y5 i) (* y4 b))
k
(fma (- (* b a) (* i c)) x (* (- (* y4 c) (* y5 a)) y3)))
y)))
(if (<= y -1.9e+53)
t_1
(if (<= y 4.8e-81)
(*
(fma
(- (* y3 z) (* y2 x))
a
(fma (- (* y2 k) (* y3 j)) y4 (* (- (* j x) (* k z)) i)))
y1)
t_1))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = fma(((y5 * i) - (y4 * b)), k, fma(((b * a) - (i * c)), x, (((y4 * c) - (y5 * a)) * y3))) * y;
double tmp;
if (y <= -1.9e+53) {
tmp = t_1;
} else if (y <= 4.8e-81) {
tmp = fma(((y3 * z) - (y2 * x)), a, fma(((y2 * k) - (y3 * j)), y4, (((j * x) - (k * z)) * i))) * y1;
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(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) tmp = 0.0 if (y <= -1.9e+53) tmp = t_1; elseif (y <= 4.8e-81) tmp = Float64(fma(Float64(Float64(y3 * z) - Float64(y2 * x)), a, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y4, Float64(Float64(Float64(j * x) - Float64(k * z)) * i))) * y1); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(N[(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]}, If[LessEqual[y, -1.9e+53], t$95$1, If[LessEqual[y, 4.8e-81], 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], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \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\\
\mathbf{if}\;y \leq -1.9 \cdot 10^{+53}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq 4.8 \cdot 10^{-81}:\\
\;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < -1.89999999999999999e53 or 4.7999999999999998e-81 < y Initial program 28.5%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites58.5%
if -1.89999999999999999e53 < y < 4.7999999999999998e-81Initial program 29.8%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites42.6%
Final simplification50.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 c) (* b a)) t (* (* (- y3) y0) c)) z)))
(if (<= c -1.45e+60)
t_1
(if (<= c -2.85e-36)
(* (* (fma (- b) j (* y2 c)) y0) x)
(if (<= c 1.35e-288)
(* (* (fma (- i) t (* y3 y0)) y5) j)
(if (<= c 6.4e-122)
(* (* (fma y0 y5 (* (- y1) y4)) y3) j)
(if (<= c 1.85e-37)
(* (fma (- (* y3 z) (* y2 x)) a (* (* y2 k) y4)) y1)
t_1)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = fma(((i * c) - (b * a)), t, ((-y3 * y0) * c)) * z;
double tmp;
if (c <= -1.45e+60) {
tmp = t_1;
} else if (c <= -2.85e-36) {
tmp = (fma(-b, j, (y2 * c)) * y0) * x;
} else if (c <= 1.35e-288) {
tmp = (fma(-i, t, (y3 * y0)) * y5) * j;
} else if (c <= 6.4e-122) {
tmp = (fma(y0, y5, (-y1 * y4)) * y3) * j;
} else if (c <= 1.85e-37) {
tmp = fma(((y3 * z) - (y2 * x)), a, ((y2 * k) * y4)) * y1;
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(fma(Float64(Float64(i * c) - Float64(b * a)), t, Float64(Float64(Float64(-y3) * y0) * c)) * z) tmp = 0.0 if (c <= -1.45e+60) tmp = t_1; elseif (c <= -2.85e-36) tmp = Float64(Float64(fma(Float64(-b), j, Float64(y2 * c)) * y0) * x); elseif (c <= 1.35e-288) tmp = Float64(Float64(fma(Float64(-i), t, Float64(y3 * y0)) * y5) * j); elseif (c <= 6.4e-122) tmp = Float64(Float64(fma(y0, y5, Float64(Float64(-y1) * y4)) * y3) * j); elseif (c <= 1.85e-37) tmp = Float64(fma(Float64(Float64(y3 * z) - Float64(y2 * x)), a, Float64(Float64(y2 * k) * y4)) * y1); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(N[(i * c), $MachinePrecision] - N[(b * a), $MachinePrecision]), $MachinePrecision] * t + N[(N[((-y3) * y0), $MachinePrecision] * c), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision]}, If[LessEqual[c, -1.45e+60], t$95$1, If[LessEqual[c, -2.85e-36], N[(N[(N[((-b) * j + N[(y2 * c), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[c, 1.35e-288], N[(N[(N[((-i) * t + N[(y3 * y0), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[c, 6.4e-122], N[(N[(N[(y0 * y5 + N[((-y1) * y4), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[c, 1.85e-37], N[(N[(N[(N[(y3 * z), $MachinePrecision] - N[(y2 * x), $MachinePrecision]), $MachinePrecision] * a + N[(N[(y2 * k), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(i \cdot c - b \cdot a, t, \left(\left(-y3\right) \cdot y0\right) \cdot c\right) \cdot z\\
\mathbf{if}\;c \leq -1.45 \cdot 10^{+60}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;c \leq -2.85 \cdot 10^{-36}:\\
\;\;\;\;\left(\mathsf{fma}\left(-b, j, y2 \cdot c\right) \cdot y0\right) \cdot x\\
\mathbf{elif}\;c \leq 1.35 \cdot 10^{-288}:\\
\;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\
\mathbf{elif}\;c \leq 6.4 \cdot 10^{-122}:\\
\;\;\;\;\left(\mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right) \cdot y3\right) \cdot j\\
\mathbf{elif}\;c \leq 1.85 \cdot 10^{-37}:\\
\;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \left(y2 \cdot k\right) \cdot y4\right) \cdot y1\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if c < -1.45e60 or 1.85e-37 < c Initial program 23.5%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites41.5%
Taylor expanded in c around inf
Applied rewrites50.3%
if -1.45e60 < c < -2.8499999999999999e-36Initial program 31.8%
Taylor expanded in x around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites43.1%
Taylor expanded in y around inf
Applied rewrites12.3%
Taylor expanded in y0 around inf
Applied rewrites38.7%
if -2.8499999999999999e-36 < c < 1.3500000000000001e-288Initial program 34.0%
Taylor expanded in j around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites37.3%
Taylor expanded in y5 around inf
Applied rewrites42.1%
if 1.3500000000000001e-288 < c < 6.4000000000000004e-122Initial program 40.7%
Taylor expanded in j around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites57.4%
Taylor expanded in y3 around inf
Applied rewrites65.4%
if 6.4000000000000004e-122 < c < 1.85e-37Initial program 22.7%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites55.4%
Taylor expanded in y2 around inf
Applied rewrites46.8%
Final simplification49.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* (fma (- b) j (* y2 c)) y0) x)))
(if (<= c -1.8e+61)
(* (* (fma (- y0) y3 (* i t)) c) z)
(if (<= c -2.85e-36)
t_1
(if (<= c 1.35e-288)
(* (* (fma (- i) t (* y3 y0)) y5) j)
(if (<= c 6.4e-122)
(* (* (fma y0 y5 (* (- y1) y4)) y3) j)
(if (<= c 2.1e-23)
(* (fma (- (* y3 z) (* y2 x)) a (* (* y2 k) y4)) y1)
(if (<= c 3.6e+227) (* (* (fma (- c) y (* y1 j)) i) x) t_1))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (fma(-b, j, (y2 * c)) * y0) * x;
double tmp;
if (c <= -1.8e+61) {
tmp = (fma(-y0, y3, (i * t)) * c) * z;
} else if (c <= -2.85e-36) {
tmp = t_1;
} else if (c <= 1.35e-288) {
tmp = (fma(-i, t, (y3 * y0)) * y5) * j;
} else if (c <= 6.4e-122) {
tmp = (fma(y0, y5, (-y1 * y4)) * y3) * j;
} else if (c <= 2.1e-23) {
tmp = fma(((y3 * z) - (y2 * x)), a, ((y2 * k) * y4)) * y1;
} else if (c <= 3.6e+227) {
tmp = (fma(-c, y, (y1 * j)) * i) * x;
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(fma(Float64(-b), j, Float64(y2 * c)) * y0) * x) tmp = 0.0 if (c <= -1.8e+61) tmp = Float64(Float64(fma(Float64(-y0), y3, Float64(i * t)) * c) * z); elseif (c <= -2.85e-36) tmp = t_1; elseif (c <= 1.35e-288) tmp = Float64(Float64(fma(Float64(-i), t, Float64(y3 * y0)) * y5) * j); elseif (c <= 6.4e-122) tmp = Float64(Float64(fma(y0, y5, Float64(Float64(-y1) * y4)) * y3) * j); elseif (c <= 2.1e-23) tmp = Float64(fma(Float64(Float64(y3 * z) - Float64(y2 * x)), a, Float64(Float64(y2 * k) * y4)) * y1); elseif (c <= 3.6e+227) tmp = Float64(Float64(fma(Float64(-c), y, Float64(y1 * j)) * i) * x); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[((-b) * j + N[(y2 * c), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision] * x), $MachinePrecision]}, If[LessEqual[c, -1.8e+61], N[(N[(N[((-y0) * y3 + N[(i * t), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision] * z), $MachinePrecision], If[LessEqual[c, -2.85e-36], t$95$1, If[LessEqual[c, 1.35e-288], N[(N[(N[((-i) * t + N[(y3 * y0), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[c, 6.4e-122], N[(N[(N[(y0 * y5 + N[((-y1) * y4), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[c, 2.1e-23], N[(N[(N[(N[(y3 * z), $MachinePrecision] - N[(y2 * x), $MachinePrecision]), $MachinePrecision] * a + N[(N[(y2 * k), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[c, 3.6e+227], N[(N[(N[((-c) * y + N[(y1 * j), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision] * x), $MachinePrecision], t$95$1]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\mathsf{fma}\left(-b, j, y2 \cdot c\right) \cdot y0\right) \cdot x\\
\mathbf{if}\;c \leq -1.8 \cdot 10^{+61}:\\
\;\;\;\;\left(\mathsf{fma}\left(-y0, y3, i \cdot t\right) \cdot c\right) \cdot z\\
\mathbf{elif}\;c \leq -2.85 \cdot 10^{-36}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;c \leq 1.35 \cdot 10^{-288}:\\
\;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\
\mathbf{elif}\;c \leq 6.4 \cdot 10^{-122}:\\
\;\;\;\;\left(\mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right) \cdot y3\right) \cdot j\\
\mathbf{elif}\;c \leq 2.1 \cdot 10^{-23}:\\
\;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \left(y2 \cdot k\right) \cdot y4\right) \cdot y1\\
\mathbf{elif}\;c \leq 3.6 \cdot 10^{+227}:\\
\;\;\;\;\left(\mathsf{fma}\left(-c, y, y1 \cdot j\right) \cdot i\right) \cdot x\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if c < -1.80000000000000005e61Initial program 21.9%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites48.4%
Taylor expanded in c around inf
Applied rewrites49.3%
if -1.80000000000000005e61 < c < -2.8499999999999999e-36 or 3.59999999999999991e227 < c Initial program 25.1%
Taylor expanded in x around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites33.4%
Taylor expanded in y around inf
Applied rewrites11.3%
Taylor expanded in y0 around inf
Applied rewrites48.8%
if -2.8499999999999999e-36 < c < 1.3500000000000001e-288Initial program 34.0%
Taylor expanded in j around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites37.3%
Taylor expanded in y5 around inf
Applied rewrites42.1%
if 1.3500000000000001e-288 < c < 6.4000000000000004e-122Initial program 40.7%
Taylor expanded in j around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites57.4%
Taylor expanded in y3 around inf
Applied rewrites65.4%
if 6.4000000000000004e-122 < c < 2.1000000000000001e-23Initial program 26.1%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites57.3%
Taylor expanded in y2 around inf
Applied rewrites49.1%
if 2.1000000000000001e-23 < c < 3.59999999999999991e227Initial program 25.5%
Taylor expanded in x around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites32.6%
Taylor expanded in i around inf
Applied rewrites47.6%
Final simplification49.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y5 -5.4e+169)
(* (fma (- a) y (* y0 j)) (* y5 y3))
(if (<= y5 -8.6e-55)
(* (* (fma b y4 (* (- i) y5)) t) j)
(if (<= y5 -6.5e-149)
(fma (* (* (- y) x) c) i (* (* b (* y x)) a))
(if (<= y5 4.7e-85)
(* (* (fma (- i) z (* y4 y2)) k) y1)
(* (* (fma (- y0) y2 (* i y)) k) y5))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y5 <= -5.4e+169) {
tmp = fma(-a, y, (y0 * j)) * (y5 * y3);
} else if (y5 <= -8.6e-55) {
tmp = (fma(b, y4, (-i * y5)) * t) * j;
} else if (y5 <= -6.5e-149) {
tmp = fma(((-y * x) * c), i, ((b * (y * x)) * a));
} else if (y5 <= 4.7e-85) {
tmp = (fma(-i, z, (y4 * y2)) * k) * y1;
} else {
tmp = (fma(-y0, y2, (i * y)) * k) * y5;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y5 <= -5.4e+169) tmp = Float64(fma(Float64(-a), y, Float64(y0 * j)) * Float64(y5 * y3)); elseif (y5 <= -8.6e-55) tmp = Float64(Float64(fma(b, y4, Float64(Float64(-i) * y5)) * t) * j); elseif (y5 <= -6.5e-149) tmp = fma(Float64(Float64(Float64(-y) * x) * c), i, Float64(Float64(b * Float64(y * x)) * a)); elseif (y5 <= 4.7e-85) tmp = Float64(Float64(fma(Float64(-i), z, Float64(y4 * y2)) * k) * y1); else tmp = Float64(Float64(fma(Float64(-y0), y2, Float64(i * y)) * k) * y5); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y5, -5.4e+169], N[(N[((-a) * y + N[(y0 * j), $MachinePrecision]), $MachinePrecision] * N[(y5 * y3), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -8.6e-55], N[(N[(N[(b * y4 + N[((-i) * y5), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[y5, -6.5e-149], N[(N[(N[((-y) * x), $MachinePrecision] * c), $MachinePrecision] * i + N[(N[(b * N[(y * x), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 4.7e-85], N[(N[(N[((-i) * z + N[(y4 * y2), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision] * y1), $MachinePrecision], N[(N[(N[((-y0) * y2 + N[(i * y), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision] * y5), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y5 \leq -5.4 \cdot 10^{+169}:\\
\;\;\;\;\mathsf{fma}\left(-a, y, y0 \cdot j\right) \cdot \left(y5 \cdot y3\right)\\
\mathbf{elif}\;y5 \leq -8.6 \cdot 10^{-55}:\\
\;\;\;\;\left(\mathsf{fma}\left(b, y4, \left(-i\right) \cdot y5\right) \cdot t\right) \cdot j\\
\mathbf{elif}\;y5 \leq -6.5 \cdot 10^{-149}:\\
\;\;\;\;\mathsf{fma}\left(\left(\left(-y\right) \cdot x\right) \cdot c, i, \left(b \cdot \left(y \cdot x\right)\right) \cdot a\right)\\
\mathbf{elif}\;y5 \leq 4.7 \cdot 10^{-85}:\\
\;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot k\right) \cdot y1\\
\mathbf{else}:\\
\;\;\;\;\left(\mathsf{fma}\left(-y0, y2, i \cdot y\right) \cdot k\right) \cdot y5\\
\end{array}
\end{array}
if y5 < -5.39999999999999981e169Initial program 30.2%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites60.0%
Taylor expanded in y3 around inf
Applied rewrites60.8%
if -5.39999999999999981e169 < y5 < -8.60000000000000021e-55Initial program 27.1%
Taylor expanded in j around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites46.5%
Taylor expanded in y3 around inf
Applied rewrites30.4%
Taylor expanded in t around inf
Applied rewrites51.0%
if -8.60000000000000021e-55 < y5 < -6.50000000000000019e-149Initial program 32.3%
Taylor expanded in x around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites52.6%
Taylor expanded in y around inf
Applied rewrites53.2%
Applied rewrites57.1%
if -6.50000000000000019e-149 < y5 < 4.70000000000000009e-85Initial program 34.4%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites44.1%
Taylor expanded in k around inf
Applied rewrites38.3%
if 4.70000000000000009e-85 < y5 Initial program 23.6%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites56.4%
Taylor expanded in k around inf
Applied rewrites41.2%
Final simplification46.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* (* k y) i) y5)))
(if (<= y -3e+190)
t_1
(if (<= y -2.55e-73)
(* (* (* y0 z) b) k)
(if (<= y 4.2e-288)
(* (* (- y4) (* y3 y1)) j)
(if (<= y 4.3e+48)
(* (fma (- a) t (* y0 k)) (* b z))
(if (<= y 3e+213) (* (* (* (- y) x) i) c) t_1)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = ((k * y) * i) * y5;
double tmp;
if (y <= -3e+190) {
tmp = t_1;
} else if (y <= -2.55e-73) {
tmp = ((y0 * z) * b) * k;
} else if (y <= 4.2e-288) {
tmp = (-y4 * (y3 * y1)) * j;
} else if (y <= 4.3e+48) {
tmp = fma(-a, t, (y0 * k)) * (b * z);
} else if (y <= 3e+213) {
tmp = ((-y * x) * i) * c;
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(Float64(k * y) * i) * y5) tmp = 0.0 if (y <= -3e+190) tmp = t_1; elseif (y <= -2.55e-73) tmp = Float64(Float64(Float64(y0 * z) * b) * k); elseif (y <= 4.2e-288) tmp = Float64(Float64(Float64(-y4) * Float64(y3 * y1)) * j); elseif (y <= 4.3e+48) tmp = Float64(fma(Float64(-a), t, Float64(y0 * k)) * Float64(b * z)); elseif (y <= 3e+213) tmp = Float64(Float64(Float64(Float64(-y) * x) * i) * c); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(k * y), $MachinePrecision] * i), $MachinePrecision] * y5), $MachinePrecision]}, If[LessEqual[y, -3e+190], t$95$1, If[LessEqual[y, -2.55e-73], N[(N[(N[(y0 * z), $MachinePrecision] * b), $MachinePrecision] * k), $MachinePrecision], If[LessEqual[y, 4.2e-288], N[(N[((-y4) * N[(y3 * y1), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[y, 4.3e+48], N[(N[((-a) * t + N[(y0 * k), $MachinePrecision]), $MachinePrecision] * N[(b * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 3e+213], N[(N[(N[((-y) * x), $MachinePrecision] * i), $MachinePrecision] * c), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\left(k \cdot y\right) \cdot i\right) \cdot y5\\
\mathbf{if}\;y \leq -3 \cdot 10^{+190}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq -2.55 \cdot 10^{-73}:\\
\;\;\;\;\left(\left(y0 \cdot z\right) \cdot b\right) \cdot k\\
\mathbf{elif}\;y \leq 4.2 \cdot 10^{-288}:\\
\;\;\;\;\left(\left(-y4\right) \cdot \left(y3 \cdot y1\right)\right) \cdot j\\
\mathbf{elif}\;y \leq 4.3 \cdot 10^{+48}:\\
\;\;\;\;\mathsf{fma}\left(-a, t, y0 \cdot k\right) \cdot \left(b \cdot z\right)\\
\mathbf{elif}\;y \leq 3 \cdot 10^{+213}:\\
\;\;\;\;\left(\left(\left(-y\right) \cdot x\right) \cdot i\right) \cdot c\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < -2.99999999999999982e190 or 3.0000000000000001e213 < y Initial program 20.0%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites45.3%
Taylor expanded in k around inf
Applied rewrites46.1%
Taylor expanded in y0 around 0
Applied rewrites48.2%
if -2.99999999999999982e190 < y < -2.55e-73Initial program 30.9%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites37.3%
Taylor expanded in b around inf
Applied rewrites26.2%
Taylor expanded in a around 0
Applied rewrites28.2%
Applied rewrites37.9%
if -2.55e-73 < y < 4.19999999999999991e-288Initial program 28.5%
Taylor expanded in j around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites39.7%
Taylor expanded in y3 around inf
Applied rewrites35.6%
Taylor expanded in y4 around inf
Applied rewrites29.4%
if 4.19999999999999991e-288 < y < 4.29999999999999978e48Initial program 37.6%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites30.9%
Taylor expanded in b around inf
Applied rewrites23.6%
if 4.29999999999999978e48 < y < 3.0000000000000001e213Initial program 22.2%
Taylor expanded in x around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites36.6%
Taylor expanded in y around inf
Applied rewrites45.5%
Taylor expanded in c around inf
Applied rewrites37.0%
Final simplification33.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (fma (- a) y (* y0 j)) (* y5 y3))))
(if (<= y5 -1.15e+204)
t_1
(if (<= y5 -1.6e-56)
(* (* (fma (- t) y5 (* y1 x)) j) i)
(if (<= y5 -5.6e-149)
(* (fma a b (* (- i) c)) (* y x))
(if (<= y5 5.8e+37) (* (* c z) (fma (- y0) y3 (* i t))) 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(-a, y, (y0 * j)) * (y5 * y3);
double tmp;
if (y5 <= -1.15e+204) {
tmp = t_1;
} else if (y5 <= -1.6e-56) {
tmp = (fma(-t, y5, (y1 * x)) * j) * i;
} else if (y5 <= -5.6e-149) {
tmp = fma(a, b, (-i * c)) * (y * x);
} else if (y5 <= 5.8e+37) {
tmp = (c * z) * fma(-y0, y3, (i * t));
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(fma(Float64(-a), y, Float64(y0 * j)) * Float64(y5 * y3)) tmp = 0.0 if (y5 <= -1.15e+204) tmp = t_1; elseif (y5 <= -1.6e-56) tmp = Float64(Float64(fma(Float64(-t), y5, Float64(y1 * x)) * j) * i); elseif (y5 <= -5.6e-149) tmp = Float64(fma(a, b, Float64(Float64(-i) * c)) * Float64(y * x)); elseif (y5 <= 5.8e+37) tmp = Float64(Float64(c * z) * fma(Float64(-y0), y3, Float64(i * t))); 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[((-a) * y + N[(y0 * j), $MachinePrecision]), $MachinePrecision] * N[(y5 * y3), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -1.15e+204], t$95$1, If[LessEqual[y5, -1.6e-56], N[(N[(N[((-t) * y5 + N[(y1 * x), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision] * i), $MachinePrecision], If[LessEqual[y5, -5.6e-149], N[(N[(a * b + N[((-i) * c), $MachinePrecision]), $MachinePrecision] * N[(y * x), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 5.8e+37], N[(N[(c * z), $MachinePrecision] * N[((-y0) * y3 + N[(i * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(-a, y, y0 \cdot j\right) \cdot \left(y5 \cdot y3\right)\\
\mathbf{if}\;y5 \leq -1.15 \cdot 10^{+204}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y5 \leq -1.6 \cdot 10^{-56}:\\
\;\;\;\;\left(\mathsf{fma}\left(-t, y5, y1 \cdot x\right) \cdot j\right) \cdot i\\
\mathbf{elif}\;y5 \leq -5.6 \cdot 10^{-149}:\\
\;\;\;\;\mathsf{fma}\left(a, b, \left(-i\right) \cdot c\right) \cdot \left(y \cdot x\right)\\
\mathbf{elif}\;y5 \leq 5.8 \cdot 10^{+37}:\\
\;\;\;\;\left(c \cdot z\right) \cdot \mathsf{fma}\left(-y0, y3, i \cdot t\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y5 < -1.14999999999999995e204 or 5.79999999999999957e37 < y5 Initial program 23.9%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites62.9%
Taylor expanded in y3 around inf
Applied rewrites50.8%
if -1.14999999999999995e204 < y5 < -1.59999999999999993e-56Initial program 27.3%
Taylor expanded in j around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites46.2%
Taylor expanded in i around inf
Applied rewrites36.8%
if -1.59999999999999993e-56 < y5 < -5.5999999999999997e-149Initial program 33.6%
Taylor expanded in x around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites54.8%
Taylor expanded in y around inf
Applied rewrites55.0%
if -5.5999999999999997e-149 < y5 < 5.79999999999999957e37Initial program 33.2%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites37.0%
Taylor expanded in c around inf
Applied rewrites34.1%
Final simplification41.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* (* k y) i) y5)))
(if (<= y -3e+190)
t_1
(if (<= y -2.55e-73)
(* (* (* y0 z) b) k)
(if (<= y -3.5e-274)
(* (* (- y4) (* y3 y1)) j)
(if (<= y 3e-25)
(* (* (- y2) (* y0 k)) y5)
(if (<= y 8.2e+99) (* (* b (* y x)) a) t_1)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = ((k * y) * i) * y5;
double tmp;
if (y <= -3e+190) {
tmp = t_1;
} else if (y <= -2.55e-73) {
tmp = ((y0 * z) * b) * k;
} else if (y <= -3.5e-274) {
tmp = (-y4 * (y3 * y1)) * j;
} else if (y <= 3e-25) {
tmp = (-y2 * (y0 * k)) * y5;
} else if (y <= 8.2e+99) {
tmp = (b * (y * x)) * a;
} 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 = ((k * y) * i) * y5
if (y <= (-3d+190)) then
tmp = t_1
else if (y <= (-2.55d-73)) then
tmp = ((y0 * z) * b) * k
else if (y <= (-3.5d-274)) then
tmp = (-y4 * (y3 * y1)) * j
else if (y <= 3d-25) then
tmp = (-y2 * (y0 * k)) * y5
else if (y <= 8.2d+99) then
tmp = (b * (y * x)) * a
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = ((k * y) * i) * y5;
double tmp;
if (y <= -3e+190) {
tmp = t_1;
} else if (y <= -2.55e-73) {
tmp = ((y0 * z) * b) * k;
} else if (y <= -3.5e-274) {
tmp = (-y4 * (y3 * y1)) * j;
} else if (y <= 3e-25) {
tmp = (-y2 * (y0 * k)) * y5;
} else if (y <= 8.2e+99) {
tmp = (b * (y * x)) * a;
} 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 = ((k * y) * i) * y5 tmp = 0 if y <= -3e+190: tmp = t_1 elif y <= -2.55e-73: tmp = ((y0 * z) * b) * k elif y <= -3.5e-274: tmp = (-y4 * (y3 * y1)) * j elif y <= 3e-25: tmp = (-y2 * (y0 * k)) * y5 elif y <= 8.2e+99: tmp = (b * (y * x)) * a 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(k * y) * i) * y5) tmp = 0.0 if (y <= -3e+190) tmp = t_1; elseif (y <= -2.55e-73) tmp = Float64(Float64(Float64(y0 * z) * b) * k); elseif (y <= -3.5e-274) tmp = Float64(Float64(Float64(-y4) * Float64(y3 * y1)) * j); elseif (y <= 3e-25) tmp = Float64(Float64(Float64(-y2) * Float64(y0 * k)) * y5); elseif (y <= 8.2e+99) tmp = Float64(Float64(b * Float64(y * x)) * a); 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 = ((k * y) * i) * y5; tmp = 0.0; if (y <= -3e+190) tmp = t_1; elseif (y <= -2.55e-73) tmp = ((y0 * z) * b) * k; elseif (y <= -3.5e-274) tmp = (-y4 * (y3 * y1)) * j; elseif (y <= 3e-25) tmp = (-y2 * (y0 * k)) * y5; elseif (y <= 8.2e+99) tmp = (b * (y * x)) * a; 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[(k * y), $MachinePrecision] * i), $MachinePrecision] * y5), $MachinePrecision]}, If[LessEqual[y, -3e+190], t$95$1, If[LessEqual[y, -2.55e-73], N[(N[(N[(y0 * z), $MachinePrecision] * b), $MachinePrecision] * k), $MachinePrecision], If[LessEqual[y, -3.5e-274], N[(N[((-y4) * N[(y3 * y1), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[y, 3e-25], N[(N[((-y2) * N[(y0 * k), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[y, 8.2e+99], N[(N[(b * N[(y * x), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\left(k \cdot y\right) \cdot i\right) \cdot y5\\
\mathbf{if}\;y \leq -3 \cdot 10^{+190}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq -2.55 \cdot 10^{-73}:\\
\;\;\;\;\left(\left(y0 \cdot z\right) \cdot b\right) \cdot k\\
\mathbf{elif}\;y \leq -3.5 \cdot 10^{-274}:\\
\;\;\;\;\left(\left(-y4\right) \cdot \left(y3 \cdot y1\right)\right) \cdot j\\
\mathbf{elif}\;y \leq 3 \cdot 10^{-25}:\\
\;\;\;\;\left(\left(-y2\right) \cdot \left(y0 \cdot k\right)\right) \cdot y5\\
\mathbf{elif}\;y \leq 8.2 \cdot 10^{+99}:\\
\;\;\;\;\left(b \cdot \left(y \cdot x\right)\right) \cdot a\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < -2.99999999999999982e190 or 8.19999999999999959e99 < y Initial program 20.7%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites39.9%
Taylor expanded in k around inf
Applied rewrites40.8%
Taylor expanded in y0 around 0
Applied rewrites43.9%
if -2.99999999999999982e190 < y < -2.55e-73Initial program 30.9%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites37.3%
Taylor expanded in b around inf
Applied rewrites26.2%
Taylor expanded in a around 0
Applied rewrites28.2%
Applied rewrites37.9%
if -2.55e-73 < y < -3.49999999999999982e-274Initial program 29.0%
Taylor expanded in j around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites43.3%
Taylor expanded in y3 around inf
Applied rewrites37.7%
Taylor expanded in y4 around inf
Applied rewrites31.7%
if -3.49999999999999982e-274 < y < 2.9999999999999998e-25Initial program 31.7%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites47.7%
Taylor expanded in k around inf
Applied rewrites26.6%
Taylor expanded in y0 around inf
Applied rewrites25.0%
if 2.9999999999999998e-25 < y < 8.19999999999999959e99Initial program 36.0%
Taylor expanded in x around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites26.2%
Taylor expanded in y around inf
Applied rewrites37.2%
Taylor expanded in c around 0
Applied rewrites26.4%
Final simplification33.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y5 -5.4e+169)
(* (fma (- a) y (* y0 j)) (* y5 y3))
(if (<= y5 -4.3e-53)
(* (* (fma b y4 (* (- i) y5)) t) j)
(if (<= y5 4.7e-85)
(* (* (fma (- i) z (* y4 y2)) k) y1)
(* (* (fma (- y0) y2 (* i y)) k) y5)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y5 <= -5.4e+169) {
tmp = fma(-a, y, (y0 * j)) * (y5 * y3);
} else if (y5 <= -4.3e-53) {
tmp = (fma(b, y4, (-i * y5)) * t) * j;
} else if (y5 <= 4.7e-85) {
tmp = (fma(-i, z, (y4 * y2)) * k) * y1;
} else {
tmp = (fma(-y0, y2, (i * y)) * k) * y5;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y5 <= -5.4e+169) tmp = Float64(fma(Float64(-a), y, Float64(y0 * j)) * Float64(y5 * y3)); elseif (y5 <= -4.3e-53) tmp = Float64(Float64(fma(b, y4, Float64(Float64(-i) * y5)) * t) * j); elseif (y5 <= 4.7e-85) tmp = Float64(Float64(fma(Float64(-i), z, Float64(y4 * y2)) * k) * y1); else tmp = Float64(Float64(fma(Float64(-y0), y2, Float64(i * y)) * k) * y5); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y5, -5.4e+169], N[(N[((-a) * y + N[(y0 * j), $MachinePrecision]), $MachinePrecision] * N[(y5 * y3), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -4.3e-53], N[(N[(N[(b * y4 + N[((-i) * y5), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[y5, 4.7e-85], N[(N[(N[((-i) * z + N[(y4 * y2), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision] * y1), $MachinePrecision], N[(N[(N[((-y0) * y2 + N[(i * y), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision] * y5), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y5 \leq -5.4 \cdot 10^{+169}:\\
\;\;\;\;\mathsf{fma}\left(-a, y, y0 \cdot j\right) \cdot \left(y5 \cdot y3\right)\\
\mathbf{elif}\;y5 \leq -4.3 \cdot 10^{-53}:\\
\;\;\;\;\left(\mathsf{fma}\left(b, y4, \left(-i\right) \cdot y5\right) \cdot t\right) \cdot j\\
\mathbf{elif}\;y5 \leq 4.7 \cdot 10^{-85}:\\
\;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot k\right) \cdot y1\\
\mathbf{else}:\\
\;\;\;\;\left(\mathsf{fma}\left(-y0, y2, i \cdot y\right) \cdot k\right) \cdot y5\\
\end{array}
\end{array}
if y5 < -5.39999999999999981e169Initial program 30.2%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites60.0%
Taylor expanded in y3 around inf
Applied rewrites60.8%
if -5.39999999999999981e169 < y5 < -4.3e-53Initial program 25.7%
Taylor expanded in j around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites47.5%
Taylor expanded in y3 around inf
Applied rewrites29.1%
Taylor expanded in t around inf
Applied rewrites52.0%
if -4.3e-53 < y5 < 4.70000000000000009e-85Initial program 34.5%
Taylor expanded in y1 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites41.9%
Taylor expanded in k around inf
Applied rewrites38.5%
if 4.70000000000000009e-85 < y5 Initial program 23.6%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites56.4%
Taylor expanded in k around inf
Applied rewrites41.2%
Final simplification44.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y5 -1.45e+145)
(* (fma (- a) y (* y0 j)) (* y5 y3))
(if (<= y5 1.4e-82)
(* (* (fma (- y0) y3 (* i t)) c) z)
(* (* (fma (- y0) y2 (* i y)) k) y5))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y5 <= -1.45e+145) {
tmp = fma(-a, y, (y0 * j)) * (y5 * y3);
} else if (y5 <= 1.4e-82) {
tmp = (fma(-y0, y3, (i * t)) * c) * z;
} else {
tmp = (fma(-y0, y2, (i * y)) * k) * y5;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y5 <= -1.45e+145) tmp = Float64(fma(Float64(-a), y, Float64(y0 * j)) * Float64(y5 * y3)); elseif (y5 <= 1.4e-82) tmp = Float64(Float64(fma(Float64(-y0), y3, Float64(i * t)) * c) * z); else tmp = Float64(Float64(fma(Float64(-y0), y2, Float64(i * y)) * k) * y5); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y5, -1.45e+145], N[(N[((-a) * y + N[(y0 * j), $MachinePrecision]), $MachinePrecision] * N[(y5 * y3), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 1.4e-82], N[(N[(N[((-y0) * y3 + N[(i * t), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision] * z), $MachinePrecision], N[(N[(N[((-y0) * y2 + N[(i * y), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision] * y5), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y5 \leq -1.45 \cdot 10^{+145}:\\
\;\;\;\;\mathsf{fma}\left(-a, y, y0 \cdot j\right) \cdot \left(y5 \cdot y3\right)\\
\mathbf{elif}\;y5 \leq 1.4 \cdot 10^{-82}:\\
\;\;\;\;\left(\mathsf{fma}\left(-y0, y3, i \cdot t\right) \cdot c\right) \cdot z\\
\mathbf{else}:\\
\;\;\;\;\left(\mathsf{fma}\left(-y0, y2, i \cdot y\right) \cdot k\right) \cdot y5\\
\end{array}
\end{array}
if y5 < -1.45e145Initial program 24.5%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites54.1%
Taylor expanded in y3 around inf
Applied rewrites54.8%
if -1.45e145 < y5 < 1.40000000000000012e-82Initial program 32.9%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites38.4%
Taylor expanded in c around inf
Applied rewrites36.8%
if 1.40000000000000012e-82 < y5 Initial program 23.9%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites57.1%
Taylor expanded in k around inf
Applied rewrites41.7%
Final simplification40.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (fma (- a) y (* y0 j)) (* y5 y3))))
(if (<= y5 -1.45e+145)
t_1
(if (<= y5 5.8e+37) (* (* (fma (- y0) y3 (* i t)) c) z) t_1))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = fma(-a, y, (y0 * j)) * (y5 * y3);
double tmp;
if (y5 <= -1.45e+145) {
tmp = t_1;
} else if (y5 <= 5.8e+37) {
tmp = (fma(-y0, y3, (i * t)) * c) * z;
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(fma(Float64(-a), y, Float64(y0 * j)) * Float64(y5 * y3)) tmp = 0.0 if (y5 <= -1.45e+145) tmp = t_1; elseif (y5 <= 5.8e+37) tmp = Float64(Float64(fma(Float64(-y0), y3, Float64(i * t)) * c) * z); 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[((-a) * y + N[(y0 * j), $MachinePrecision]), $MachinePrecision] * N[(y5 * y3), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -1.45e+145], t$95$1, If[LessEqual[y5, 5.8e+37], N[(N[(N[((-y0) * y3 + N[(i * t), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision] * z), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(-a, y, y0 \cdot j\right) \cdot \left(y5 \cdot y3\right)\\
\mathbf{if}\;y5 \leq -1.45 \cdot 10^{+145}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y5 \leq 5.8 \cdot 10^{+37}:\\
\;\;\;\;\left(\mathsf{fma}\left(-y0, y3, i \cdot t\right) \cdot c\right) \cdot z\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y5 < -1.45e145 or 5.79999999999999957e37 < y5 Initial program 22.7%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites60.5%
Taylor expanded in y3 around inf
Applied rewrites48.0%
if -1.45e145 < y5 < 5.79999999999999957e37Initial program 32.6%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites39.2%
Taylor expanded in c around inf
Applied rewrites36.2%
Final simplification40.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (fma (- a) y (* y0 j)) (* y5 y3))))
(if (<= y5 -3.5e+92)
t_1
(if (<= y5 5.8e+37) (* (* c z) (fma (- y0) y3 (* i t))) 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(-a, y, (y0 * j)) * (y5 * y3);
double tmp;
if (y5 <= -3.5e+92) {
tmp = t_1;
} else if (y5 <= 5.8e+37) {
tmp = (c * z) * fma(-y0, y3, (i * t));
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(fma(Float64(-a), y, Float64(y0 * j)) * Float64(y5 * y3)) tmp = 0.0 if (y5 <= -3.5e+92) tmp = t_1; elseif (y5 <= 5.8e+37) tmp = Float64(Float64(c * z) * fma(Float64(-y0), y3, Float64(i * t))); 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[((-a) * y + N[(y0 * j), $MachinePrecision]), $MachinePrecision] * N[(y5 * y3), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -3.5e+92], t$95$1, If[LessEqual[y5, 5.8e+37], N[(N[(c * z), $MachinePrecision] * N[((-y0) * y3 + N[(i * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(-a, y, y0 \cdot j\right) \cdot \left(y5 \cdot y3\right)\\
\mathbf{if}\;y5 \leq -3.5 \cdot 10^{+92}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y5 \leq 5.8 \cdot 10^{+37}:\\
\;\;\;\;\left(c \cdot z\right) \cdot \mathsf{fma}\left(-y0, y3, i \cdot t\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y5 < -3.49999999999999986e92 or 5.79999999999999957e37 < y5 Initial program 25.4%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites62.6%
Taylor expanded in y3 around inf
Applied rewrites47.4%
if -3.49999999999999986e92 < y5 < 5.79999999999999957e37Initial program 31.5%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites38.5%
Taylor expanded in c around inf
Applied rewrites32.6%
Final simplification38.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (fma t y2 (* (- y) y3)) (* y5 a))))
(if (<= y5 -3e+149)
t_1
(if (<= y5 6.1e+37) (* (* c z) (fma (- y0) y3 (* i t))) 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, y2, (-y * y3)) * (y5 * a);
double tmp;
if (y5 <= -3e+149) {
tmp = t_1;
} else if (y5 <= 6.1e+37) {
tmp = (c * z) * fma(-y0, y3, (i * t));
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(fma(t, y2, Float64(Float64(-y) * y3)) * Float64(y5 * a)) tmp = 0.0 if (y5 <= -3e+149) tmp = t_1; elseif (y5 <= 6.1e+37) tmp = Float64(Float64(c * z) * fma(Float64(-y0), y3, Float64(i * t))); 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[(t * y2 + N[((-y) * y3), $MachinePrecision]), $MachinePrecision] * N[(y5 * a), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -3e+149], t$95$1, If[LessEqual[y5, 6.1e+37], N[(N[(c * z), $MachinePrecision] * N[((-y0) * y3 + N[(i * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot \left(y5 \cdot a\right)\\
\mathbf{if}\;y5 \leq -3 \cdot 10^{+149}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y5 \leq 6.1 \cdot 10^{+37}:\\
\;\;\;\;\left(c \cdot z\right) \cdot \mathsf{fma}\left(-y0, y3, i \cdot t\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y5 < -3.00000000000000003e149 or 6.0999999999999999e37 < y5 Initial program 23.0%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites61.2%
Taylor expanded in a around inf
Applied rewrites45.3%
if -3.00000000000000003e149 < y5 < 6.0999999999999999e37Initial program 32.4%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites39.0%
Taylor expanded in c around inf
Applied rewrites31.9%
Final simplification36.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* (* y0 z) b) k)))
(if (<= z -4.6e+86)
t_1
(if (<= z -1.32e-14)
(* (* b (* y x)) a)
(if (<= z 4.8e+31) (* (* (* y3 y0) y5) j) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = ((y0 * z) * b) * k;
double tmp;
if (z <= -4.6e+86) {
tmp = t_1;
} else if (z <= -1.32e-14) {
tmp = (b * (y * x)) * a;
} else if (z <= 4.8e+31) {
tmp = ((y3 * y0) * y5) * j;
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = ((y0 * z) * b) * k
if (z <= (-4.6d+86)) then
tmp = t_1
else if (z <= (-1.32d-14)) then
tmp = (b * (y * x)) * a
else if (z <= 4.8d+31) then
tmp = ((y3 * y0) * y5) * j
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = ((y0 * z) * b) * k;
double tmp;
if (z <= -4.6e+86) {
tmp = t_1;
} else if (z <= -1.32e-14) {
tmp = (b * (y * x)) * a;
} else if (z <= 4.8e+31) {
tmp = ((y3 * y0) * y5) * j;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = ((y0 * z) * b) * k tmp = 0 if z <= -4.6e+86: tmp = t_1 elif z <= -1.32e-14: tmp = (b * (y * x)) * a elif z <= 4.8e+31: tmp = ((y3 * y0) * y5) * j else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(Float64(y0 * z) * b) * k) tmp = 0.0 if (z <= -4.6e+86) tmp = t_1; elseif (z <= -1.32e-14) tmp = Float64(Float64(b * Float64(y * x)) * a); elseif (z <= 4.8e+31) tmp = Float64(Float64(Float64(y3 * y0) * y5) * j); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = ((y0 * z) * b) * k; tmp = 0.0; if (z <= -4.6e+86) tmp = t_1; elseif (z <= -1.32e-14) tmp = (b * (y * x)) * a; elseif (z <= 4.8e+31) tmp = ((y3 * y0) * y5) * j; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(y0 * z), $MachinePrecision] * b), $MachinePrecision] * k), $MachinePrecision]}, If[LessEqual[z, -4.6e+86], t$95$1, If[LessEqual[z, -1.32e-14], N[(N[(b * N[(y * x), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[z, 4.8e+31], N[(N[(N[(y3 * y0), $MachinePrecision] * y5), $MachinePrecision] * j), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\left(y0 \cdot z\right) \cdot b\right) \cdot k\\
\mathbf{if}\;z \leq -4.6 \cdot 10^{+86}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq -1.32 \cdot 10^{-14}:\\
\;\;\;\;\left(b \cdot \left(y \cdot x\right)\right) \cdot a\\
\mathbf{elif}\;z \leq 4.8 \cdot 10^{+31}:\\
\;\;\;\;\left(\left(y3 \cdot y0\right) \cdot y5\right) \cdot j\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if z < -4.59999999999999979e86 or 4.79999999999999965e31 < z Initial program 30.9%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites50.2%
Taylor expanded in b around inf
Applied rewrites32.2%
Taylor expanded in a around 0
Applied rewrites26.8%
Applied rewrites33.0%
if -4.59999999999999979e86 < z < -1.32e-14Initial program 19.2%
Taylor expanded in x around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites35.8%
Taylor expanded in y around inf
Applied rewrites28.6%
Taylor expanded in c around 0
Applied rewrites24.6%
if -1.32e-14 < z < 4.79999999999999965e31Initial program 29.7%
Taylor expanded in j around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites41.4%
Taylor expanded in y3 around inf
Applied rewrites36.1%
Taylor expanded in y4 around 0
Applied rewrites24.9%
Final simplification28.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= y0 -5.3e-12) (* (* (* y0 z) b) k) (if (<= y0 1.18e+79) (* (* (* b t) z) (- a)) (* (* (* y0 k) z) b))))
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 <= -5.3e-12) {
tmp = ((y0 * z) * b) * k;
} else if (y0 <= 1.18e+79) {
tmp = ((b * t) * z) * -a;
} else {
tmp = ((y0 * k) * z) * b;
}
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 <= (-5.3d-12)) then
tmp = ((y0 * z) * b) * k
else if (y0 <= 1.18d+79) then
tmp = ((b * t) * z) * -a
else
tmp = ((y0 * k) * z) * b
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 <= -5.3e-12) {
tmp = ((y0 * z) * b) * k;
} else if (y0 <= 1.18e+79) {
tmp = ((b * t) * z) * -a;
} else {
tmp = ((y0 * k) * z) * b;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y0 <= -5.3e-12: tmp = ((y0 * z) * b) * k elif y0 <= 1.18e+79: tmp = ((b * t) * z) * -a else: tmp = ((y0 * k) * z) * b 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 <= -5.3e-12) tmp = Float64(Float64(Float64(y0 * z) * b) * k); elseif (y0 <= 1.18e+79) tmp = Float64(Float64(Float64(b * t) * z) * Float64(-a)); else tmp = Float64(Float64(Float64(y0 * k) * z) * b); 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 <= -5.3e-12) tmp = ((y0 * z) * b) * k; elseif (y0 <= 1.18e+79) tmp = ((b * t) * z) * -a; else tmp = ((y0 * k) * z) * b; 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, -5.3e-12], N[(N[(N[(y0 * z), $MachinePrecision] * b), $MachinePrecision] * k), $MachinePrecision], If[LessEqual[y0, 1.18e+79], N[(N[(N[(b * t), $MachinePrecision] * z), $MachinePrecision] * (-a)), $MachinePrecision], N[(N[(N[(y0 * k), $MachinePrecision] * z), $MachinePrecision] * b), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y0 \leq -5.3 \cdot 10^{-12}:\\
\;\;\;\;\left(\left(y0 \cdot z\right) \cdot b\right) \cdot k\\
\mathbf{elif}\;y0 \leq 1.18 \cdot 10^{+79}:\\
\;\;\;\;\left(\left(b \cdot t\right) \cdot z\right) \cdot \left(-a\right)\\
\mathbf{else}:\\
\;\;\;\;\left(\left(y0 \cdot k\right) \cdot z\right) \cdot b\\
\end{array}
\end{array}
if y0 < -5.29999999999999963e-12Initial program 28.7%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites33.6%
Taylor expanded in b around inf
Applied rewrites25.7%
Taylor expanded in a around 0
Applied rewrites26.0%
Applied rewrites34.0%
if -5.29999999999999963e-12 < y0 < 1.18e79Initial program 34.0%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites37.1%
Taylor expanded in b around inf
Applied rewrites16.1%
Taylor expanded in a around inf
Applied rewrites20.6%
if 1.18e79 < y0 Initial program 18.3%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites36.3%
Taylor expanded in b around inf
Applied rewrites33.1%
Taylor expanded in a around 0
Applied rewrites38.3%
Final simplification28.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= y0 3e+134) (* (* c z) (fma (- y0) y3 (* i t))) (* (* (* y0 k) z) b)))
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 <= 3e+134) {
tmp = (c * z) * fma(-y0, y3, (i * t));
} else {
tmp = ((y0 * k) * z) * b;
}
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 <= 3e+134) tmp = Float64(Float64(c * z) * fma(Float64(-y0), y3, Float64(i * t))); else tmp = Float64(Float64(Float64(y0 * k) * z) * b); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y0, 3e+134], N[(N[(c * z), $MachinePrecision] * N[((-y0) * y3 + N[(i * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(N[(y0 * k), $MachinePrecision] * z), $MachinePrecision] * b), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y0 \leq 3 \cdot 10^{+134}:\\
\;\;\;\;\left(c \cdot z\right) \cdot \mathsf{fma}\left(-y0, y3, i \cdot t\right)\\
\mathbf{else}:\\
\;\;\;\;\left(\left(y0 \cdot k\right) \cdot z\right) \cdot b\\
\end{array}
\end{array}
if y0 < 2.99999999999999997e134Initial program 31.0%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites36.4%
Taylor expanded in c around inf
Applied rewrites29.8%
if 2.99999999999999997e134 < y0 Initial program 20.5%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites33.8%
Taylor expanded in b around inf
Applied rewrites36.6%
Taylor expanded in a around 0
Applied rewrites42.8%
Final simplification32.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= y0 -2.3e+99) (* (* (* y0 z) b) k) (if (<= y0 1.16e+45) (* (* (* k y) i) y5) (* (* (* y0 k) z) b))))
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 <= -2.3e+99) {
tmp = ((y0 * z) * b) * k;
} else if (y0 <= 1.16e+45) {
tmp = ((k * y) * i) * y5;
} else {
tmp = ((y0 * k) * z) * b;
}
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 <= (-2.3d+99)) then
tmp = ((y0 * z) * b) * k
else if (y0 <= 1.16d+45) then
tmp = ((k * y) * i) * y5
else
tmp = ((y0 * k) * z) * b
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 <= -2.3e+99) {
tmp = ((y0 * z) * b) * k;
} else if (y0 <= 1.16e+45) {
tmp = ((k * y) * i) * y5;
} else {
tmp = ((y0 * k) * z) * b;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y0 <= -2.3e+99: tmp = ((y0 * z) * b) * k elif y0 <= 1.16e+45: tmp = ((k * y) * i) * y5 else: tmp = ((y0 * k) * z) * b 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 <= -2.3e+99) tmp = Float64(Float64(Float64(y0 * z) * b) * k); elseif (y0 <= 1.16e+45) tmp = Float64(Float64(Float64(k * y) * i) * y5); else tmp = Float64(Float64(Float64(y0 * k) * z) * b); 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 <= -2.3e+99) tmp = ((y0 * z) * b) * k; elseif (y0 <= 1.16e+45) tmp = ((k * y) * i) * y5; else tmp = ((y0 * k) * z) * b; 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, -2.3e+99], N[(N[(N[(y0 * z), $MachinePrecision] * b), $MachinePrecision] * k), $MachinePrecision], If[LessEqual[y0, 1.16e+45], N[(N[(N[(k * y), $MachinePrecision] * i), $MachinePrecision] * y5), $MachinePrecision], N[(N[(N[(y0 * k), $MachinePrecision] * z), $MachinePrecision] * b), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y0 \leq -2.3 \cdot 10^{+99}:\\
\;\;\;\;\left(\left(y0 \cdot z\right) \cdot b\right) \cdot k\\
\mathbf{elif}\;y0 \leq 1.16 \cdot 10^{+45}:\\
\;\;\;\;\left(\left(k \cdot y\right) \cdot i\right) \cdot y5\\
\mathbf{else}:\\
\;\;\;\;\left(\left(y0 \cdot k\right) \cdot z\right) \cdot b\\
\end{array}
\end{array}
if y0 < -2.30000000000000019e99Initial program 27.7%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites30.4%
Taylor expanded in b around inf
Applied rewrites23.0%
Taylor expanded in a around 0
Applied rewrites25.3%
Applied rewrites38.3%
if -2.30000000000000019e99 < y0 < 1.1600000000000001e45Initial program 33.3%
Taylor expanded in y5 around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites41.5%
Taylor expanded in k around inf
Applied rewrites20.8%
Taylor expanded in y0 around 0
Applied rewrites15.8%
if 1.1600000000000001e45 < y0 Initial program 21.0%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites38.6%
Taylor expanded in b around inf
Applied rewrites34.3%
Taylor expanded in a around 0
Applied rewrites37.4%
Final simplification25.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= y0 -6e+72) (* (* (* y0 z) b) k) (if (<= y0 1.45e+79) (* (* b (* y x)) a) (* (* (* y0 k) z) b))))
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 <= -6e+72) {
tmp = ((y0 * z) * b) * k;
} else if (y0 <= 1.45e+79) {
tmp = (b * (y * x)) * a;
} else {
tmp = ((y0 * k) * z) * b;
}
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 <= (-6d+72)) then
tmp = ((y0 * z) * b) * k
else if (y0 <= 1.45d+79) then
tmp = (b * (y * x)) * a
else
tmp = ((y0 * k) * z) * b
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 <= -6e+72) {
tmp = ((y0 * z) * b) * k;
} else if (y0 <= 1.45e+79) {
tmp = (b * (y * x)) * a;
} else {
tmp = ((y0 * k) * z) * b;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y0 <= -6e+72: tmp = ((y0 * z) * b) * k elif y0 <= 1.45e+79: tmp = (b * (y * x)) * a else: tmp = ((y0 * k) * z) * b 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 <= -6e+72) tmp = Float64(Float64(Float64(y0 * z) * b) * k); elseif (y0 <= 1.45e+79) tmp = Float64(Float64(b * Float64(y * x)) * a); else tmp = Float64(Float64(Float64(y0 * k) * z) * b); 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 <= -6e+72) tmp = ((y0 * z) * b) * k; elseif (y0 <= 1.45e+79) tmp = (b * (y * x)) * a; else tmp = ((y0 * k) * z) * b; 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, -6e+72], N[(N[(N[(y0 * z), $MachinePrecision] * b), $MachinePrecision] * k), $MachinePrecision], If[LessEqual[y0, 1.45e+79], N[(N[(b * N[(y * x), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision], N[(N[(N[(y0 * k), $MachinePrecision] * z), $MachinePrecision] * b), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y0 \leq -6 \cdot 10^{+72}:\\
\;\;\;\;\left(\left(y0 \cdot z\right) \cdot b\right) \cdot k\\
\mathbf{elif}\;y0 \leq 1.45 \cdot 10^{+79}:\\
\;\;\;\;\left(b \cdot \left(y \cdot x\right)\right) \cdot a\\
\mathbf{else}:\\
\;\;\;\;\left(\left(y0 \cdot k\right) \cdot z\right) \cdot b\\
\end{array}
\end{array}
if y0 < -6.00000000000000006e72Initial program 30.0%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites32.5%
Taylor expanded in b around inf
Applied rewrites27.6%
Taylor expanded in a around 0
Applied rewrites28.0%
Applied rewrites37.9%
if -6.00000000000000006e72 < y0 < 1.44999999999999996e79Initial program 33.0%
Taylor expanded in x around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites32.0%
Taylor expanded in y around inf
Applied rewrites23.0%
Taylor expanded in c around 0
Applied rewrites14.7%
if 1.44999999999999996e79 < y0 Initial program 18.3%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites36.3%
Taylor expanded in b around inf
Applied rewrites33.1%
Taylor expanded in a around 0
Applied rewrites38.3%
Final simplification25.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* (* y0 k) z) b)))
(if (<= k -2000000000000.0)
t_1
(if (<= k 3.3e-95) (* (* (* y0 z) b) k) t_1))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = ((y0 * k) * z) * b;
double tmp;
if (k <= -2000000000000.0) {
tmp = t_1;
} else if (k <= 3.3e-95) {
tmp = ((y0 * z) * b) * k;
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = ((y0 * k) * z) * b
if (k <= (-2000000000000.0d0)) then
tmp = t_1
else if (k <= 3.3d-95) then
tmp = ((y0 * z) * b) * k
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = ((y0 * k) * z) * b;
double tmp;
if (k <= -2000000000000.0) {
tmp = t_1;
} else if (k <= 3.3e-95) {
tmp = ((y0 * z) * b) * k;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = ((y0 * k) * z) * b tmp = 0 if k <= -2000000000000.0: tmp = t_1 elif k <= 3.3e-95: tmp = ((y0 * z) * b) * k else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(Float64(y0 * k) * z) * b) tmp = 0.0 if (k <= -2000000000000.0) tmp = t_1; elseif (k <= 3.3e-95) tmp = Float64(Float64(Float64(y0 * z) * b) * k); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = ((y0 * k) * z) * b; tmp = 0.0; if (k <= -2000000000000.0) tmp = t_1; elseif (k <= 3.3e-95) tmp = ((y0 * z) * b) * k; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(y0 * k), $MachinePrecision] * z), $MachinePrecision] * b), $MachinePrecision]}, If[LessEqual[k, -2000000000000.0], t$95$1, If[LessEqual[k, 3.3e-95], N[(N[(N[(y0 * z), $MachinePrecision] * b), $MachinePrecision] * k), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\left(y0 \cdot k\right) \cdot z\right) \cdot b\\
\mathbf{if}\;k \leq -2000000000000:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;k \leq 3.3 \cdot 10^{-95}:\\
\;\;\;\;\left(\left(y0 \cdot z\right) \cdot b\right) \cdot k\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if k < -2e12 or 3.3e-95 < k Initial program 25.8%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites38.3%
Taylor expanded in b around inf
Applied rewrites28.4%
Taylor expanded in a around 0
Applied rewrites28.8%
if -2e12 < k < 3.3e-95Initial program 32.8%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites33.4%
Taylor expanded in b around inf
Applied rewrites16.1%
Taylor expanded in a around 0
Applied rewrites7.7%
Applied rewrites17.7%
Final simplification23.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* (* (* y0 k) z) b))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return ((y0 * k) * z) * b;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
code = ((y0 * k) * z) * b
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return ((y0 * k) * z) * b;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return ((y0 * k) * z) * b
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(Float64(Float64(y0 * k) * z) * b) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = ((y0 * k) * z) * b; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(N[(N[(y0 * k), $MachinePrecision] * z), $MachinePrecision] * b), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(y0 \cdot k\right) \cdot z\right) \cdot b
\end{array}
Initial program 29.1%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
Applied rewrites36.0%
Taylor expanded in b around inf
Applied rewrites22.5%
Taylor expanded in a around 0
Applied rewrites18.7%
Final simplification18.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* y4 c) (* y5 a)))
(t_2 (- (* x y2) (* z y3)))
(t_3 (- (* y2 t) (* y3 y)))
(t_4 (- (* k y2) (* j y3)))
(t_5 (- (* y4 b) (* y5 i)))
(t_6 (* (- (* j t) (* k y)) t_5))
(t_7 (- (* b a) (* i c)))
(t_8 (* t_7 (- (* y x) (* t z))))
(t_9 (- (* j x) (* k z)))
(t_10 (* (- (* b y0) (* i y1)) t_9))
(t_11 (* t_9 (- (* y0 b) (* i y1))))
(t_12 (- (* y4 y1) (* y5 y0)))
(t_13 (* t_4 t_12))
(t_14 (* (- (* y2 k) (* y3 j)) t_12))
(t_15
(+
(-
(-
(- (* (* k y) (* y5 i)) (* (* y b) (* y4 k)))
(* (* y5 t) (* i j)))
(- (* t_3 t_1) t_14))
(- t_8 (- t_11 (* (- (* y2 x) (* y3 z)) (- (* c y0) (* y1 a)))))))
(t_16
(+
(+
(- t_6 (* (* y3 y) (- (* y5 a) (* y4 c))))
(+ (* (* y5 a) (* t y2)) t_13))
(-
(* t_2 (- (* c y0) (* a y1)))
(- t_10 (* (- (* y x) (* z t)) t_7)))))
(t_17 (- (* t y2) (* y y3))))
(if (< y4 -7.206256231996481e+60)
(- (- t_8 (- t_11 t_6)) (- (/ t_3 (/ 1.0 t_1)) t_14))
(if (< y4 -3.364603505246317e-66)
(+
(-
(- (- (* (* t c) (* i z)) (* (* a t) (* b z))) (* (* y c) (* i x)))
t_10)
(-
(* (- (* y0 c) (* a y1)) t_2)
(- (* t_17 (- (* y4 c) (* a y5))) (* (- (* y1 y4) (* y5 y0)) t_4))))
(if (< y4 -1.2000065055686116e-105)
t_16
(if (< y4 6.718963124057495e-279)
t_15
(if (< y4 4.77962681403792e-222)
t_16
(if (< y4 2.2852241541266835e-175)
t_15
(+
(-
(+
(+
(-
(* (- (* x y) (* z t)) (- (* a b) (* c i)))
(-
(* k (* i (* z y1)))
(+ (* j (* i (* x y1))) (* y0 (* k (* z b))))))
(-
(* z (* y3 (* a y1)))
(+ (* y2 (* x (* a y1))) (* y0 (* z (* c y3))))))
(* (- (* t j) (* y k)) t_5))
(* t_17 t_1))
t_13)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y4 * c) - (y5 * a);
double t_2 = (x * y2) - (z * y3);
double t_3 = (y2 * t) - (y3 * y);
double t_4 = (k * y2) - (j * y3);
double t_5 = (y4 * b) - (y5 * i);
double t_6 = ((j * t) - (k * y)) * t_5;
double t_7 = (b * a) - (i * c);
double t_8 = t_7 * ((y * x) - (t * z));
double t_9 = (j * x) - (k * z);
double t_10 = ((b * y0) - (i * y1)) * t_9;
double t_11 = t_9 * ((y0 * b) - (i * y1));
double t_12 = (y4 * y1) - (y5 * y0);
double t_13 = t_4 * t_12;
double t_14 = ((y2 * k) - (y3 * j)) * t_12;
double t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))));
double t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)));
double t_17 = (t * y2) - (y * y3);
double tmp;
if (y4 < -7.206256231996481e+60) {
tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14);
} else if (y4 < -3.364603505246317e-66) {
tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)));
} else if (y4 < -1.2000065055686116e-105) {
tmp = t_16;
} else if (y4 < 6.718963124057495e-279) {
tmp = t_15;
} else if (y4 < 4.77962681403792e-222) {
tmp = t_16;
} else if (y4 < 2.2852241541266835e-175) {
tmp = t_15;
} else {
tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_10
real(8) :: t_11
real(8) :: t_12
real(8) :: t_13
real(8) :: t_14
real(8) :: t_15
real(8) :: t_16
real(8) :: t_17
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: t_6
real(8) :: t_7
real(8) :: t_8
real(8) :: t_9
real(8) :: tmp
t_1 = (y4 * c) - (y5 * a)
t_2 = (x * y2) - (z * y3)
t_3 = (y2 * t) - (y3 * y)
t_4 = (k * y2) - (j * y3)
t_5 = (y4 * b) - (y5 * i)
t_6 = ((j * t) - (k * y)) * t_5
t_7 = (b * a) - (i * c)
t_8 = t_7 * ((y * x) - (t * z))
t_9 = (j * x) - (k * z)
t_10 = ((b * y0) - (i * y1)) * t_9
t_11 = t_9 * ((y0 * b) - (i * y1))
t_12 = (y4 * y1) - (y5 * y0)
t_13 = t_4 * t_12
t_14 = ((y2 * k) - (y3 * j)) * t_12
t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))))
t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)))
t_17 = (t * y2) - (y * y3)
if (y4 < (-7.206256231996481d+60)) then
tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0d0 / t_1)) - t_14)
else if (y4 < (-3.364603505246317d-66)) then
tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)))
else if (y4 < (-1.2000065055686116d-105)) then
tmp = t_16
else if (y4 < 6.718963124057495d-279) then
tmp = t_15
else if (y4 < 4.77962681403792d-222) then
tmp = t_16
else if (y4 < 2.2852241541266835d-175) then
tmp = t_15
else
tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y4 * c) - (y5 * a);
double t_2 = (x * y2) - (z * y3);
double t_3 = (y2 * t) - (y3 * y);
double t_4 = (k * y2) - (j * y3);
double t_5 = (y4 * b) - (y5 * i);
double t_6 = ((j * t) - (k * y)) * t_5;
double t_7 = (b * a) - (i * c);
double t_8 = t_7 * ((y * x) - (t * z));
double t_9 = (j * x) - (k * z);
double t_10 = ((b * y0) - (i * y1)) * t_9;
double t_11 = t_9 * ((y0 * b) - (i * y1));
double t_12 = (y4 * y1) - (y5 * y0);
double t_13 = t_4 * t_12;
double t_14 = ((y2 * k) - (y3 * j)) * t_12;
double t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))));
double t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)));
double t_17 = (t * y2) - (y * y3);
double tmp;
if (y4 < -7.206256231996481e+60) {
tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14);
} else if (y4 < -3.364603505246317e-66) {
tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)));
} else if (y4 < -1.2000065055686116e-105) {
tmp = t_16;
} else if (y4 < 6.718963124057495e-279) {
tmp = t_15;
} else if (y4 < 4.77962681403792e-222) {
tmp = t_16;
} else if (y4 < 2.2852241541266835e-175) {
tmp = t_15;
} else {
tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (y4 * c) - (y5 * a) t_2 = (x * y2) - (z * y3) t_3 = (y2 * t) - (y3 * y) t_4 = (k * y2) - (j * y3) t_5 = (y4 * b) - (y5 * i) t_6 = ((j * t) - (k * y)) * t_5 t_7 = (b * a) - (i * c) t_8 = t_7 * ((y * x) - (t * z)) t_9 = (j * x) - (k * z) t_10 = ((b * y0) - (i * y1)) * t_9 t_11 = t_9 * ((y0 * b) - (i * y1)) t_12 = (y4 * y1) - (y5 * y0) t_13 = t_4 * t_12 t_14 = ((y2 * k) - (y3 * j)) * t_12 t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a))))) t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7))) t_17 = (t * y2) - (y * y3) tmp = 0 if y4 < -7.206256231996481e+60: tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14) elif y4 < -3.364603505246317e-66: tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4))) elif y4 < -1.2000065055686116e-105: tmp = t_16 elif y4 < 6.718963124057495e-279: tmp = t_15 elif y4 < 4.77962681403792e-222: tmp = t_16 elif y4 < 2.2852241541266835e-175: tmp = t_15 else: tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(y4 * c) - Float64(y5 * a)) t_2 = Float64(Float64(x * y2) - Float64(z * y3)) t_3 = Float64(Float64(y2 * t) - Float64(y3 * y)) t_4 = Float64(Float64(k * y2) - Float64(j * y3)) t_5 = Float64(Float64(y4 * b) - Float64(y5 * i)) t_6 = Float64(Float64(Float64(j * t) - Float64(k * y)) * t_5) t_7 = Float64(Float64(b * a) - Float64(i * c)) t_8 = Float64(t_7 * Float64(Float64(y * x) - Float64(t * z))) t_9 = Float64(Float64(j * x) - Float64(k * z)) t_10 = Float64(Float64(Float64(b * y0) - Float64(i * y1)) * t_9) t_11 = Float64(t_9 * Float64(Float64(y0 * b) - Float64(i * y1))) t_12 = Float64(Float64(y4 * y1) - Float64(y5 * y0)) t_13 = Float64(t_4 * t_12) t_14 = Float64(Float64(Float64(y2 * k) - Float64(y3 * j)) * t_12) t_15 = Float64(Float64(Float64(Float64(Float64(Float64(k * y) * Float64(y5 * i)) - Float64(Float64(y * b) * Float64(y4 * k))) - Float64(Float64(y5 * t) * Float64(i * j))) - Float64(Float64(t_3 * t_1) - t_14)) + Float64(t_8 - Float64(t_11 - Float64(Float64(Float64(y2 * x) - Float64(y3 * z)) * Float64(Float64(c * y0) - Float64(y1 * a)))))) t_16 = Float64(Float64(Float64(t_6 - Float64(Float64(y3 * y) * Float64(Float64(y5 * a) - Float64(y4 * c)))) + Float64(Float64(Float64(y5 * a) * Float64(t * y2)) + t_13)) + Float64(Float64(t_2 * Float64(Float64(c * y0) - Float64(a * y1))) - Float64(t_10 - Float64(Float64(Float64(y * x) - Float64(z * t)) * t_7)))) t_17 = Float64(Float64(t * y2) - Float64(y * y3)) tmp = 0.0 if (y4 < -7.206256231996481e+60) tmp = Float64(Float64(t_8 - Float64(t_11 - t_6)) - Float64(Float64(t_3 / Float64(1.0 / t_1)) - t_14)); elseif (y4 < -3.364603505246317e-66) tmp = Float64(Float64(Float64(Float64(Float64(Float64(t * c) * Float64(i * z)) - Float64(Float64(a * t) * Float64(b * z))) - Float64(Float64(y * c) * Float64(i * x))) - t_10) + Float64(Float64(Float64(Float64(y0 * c) - Float64(a * y1)) * t_2) - Float64(Float64(t_17 * Float64(Float64(y4 * c) - Float64(a * y5))) - Float64(Float64(Float64(y1 * y4) - Float64(y5 * y0)) * t_4)))); elseif (y4 < -1.2000065055686116e-105) tmp = t_16; elseif (y4 < 6.718963124057495e-279) tmp = t_15; elseif (y4 < 4.77962681403792e-222) tmp = t_16; elseif (y4 < 2.2852241541266835e-175) tmp = t_15; else tmp = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) - Float64(z * t)) * Float64(Float64(a * b) - Float64(c * i))) - Float64(Float64(k * Float64(i * Float64(z * y1))) - Float64(Float64(j * Float64(i * Float64(x * y1))) + Float64(y0 * Float64(k * Float64(z * b)))))) + Float64(Float64(z * Float64(y3 * Float64(a * y1))) - Float64(Float64(y2 * Float64(x * Float64(a * y1))) + Float64(y0 * Float64(z * Float64(c * y3)))))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * t_5)) - Float64(t_17 * t_1)) + t_13); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (y4 * c) - (y5 * a); t_2 = (x * y2) - (z * y3); t_3 = (y2 * t) - (y3 * y); t_4 = (k * y2) - (j * y3); t_5 = (y4 * b) - (y5 * i); t_6 = ((j * t) - (k * y)) * t_5; t_7 = (b * a) - (i * c); t_8 = t_7 * ((y * x) - (t * z)); t_9 = (j * x) - (k * z); t_10 = ((b * y0) - (i * y1)) * t_9; t_11 = t_9 * ((y0 * b) - (i * y1)); t_12 = (y4 * y1) - (y5 * y0); t_13 = t_4 * t_12; t_14 = ((y2 * k) - (y3 * j)) * t_12; t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a))))); t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7))); t_17 = (t * y2) - (y * y3); tmp = 0.0; if (y4 < -7.206256231996481e+60) tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14); elseif (y4 < -3.364603505246317e-66) tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4))); elseif (y4 < -1.2000065055686116e-105) tmp = t_16; elseif (y4 < 6.718963124057495e-279) tmp = t_15; elseif (y4 < 4.77962681403792e-222) tmp = t_16; elseif (y4 < 2.2852241541266835e-175) tmp = t_15; else tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y2 * t), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] * t$95$5), $MachinePrecision]}, Block[{t$95$7 = N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(t$95$7 * N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$10 = N[(N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision] * t$95$9), $MachinePrecision]}, Block[{t$95$11 = N[(t$95$9 * N[(N[(y0 * b), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$12 = N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$13 = N[(t$95$4 * t$95$12), $MachinePrecision]}, Block[{t$95$14 = N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * t$95$12), $MachinePrecision]}, Block[{t$95$15 = N[(N[(N[(N[(N[(N[(k * y), $MachinePrecision] * N[(y5 * i), $MachinePrecision]), $MachinePrecision] - N[(N[(y * b), $MachinePrecision] * N[(y4 * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y5 * t), $MachinePrecision] * N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(t$95$3 * t$95$1), $MachinePrecision] - t$95$14), $MachinePrecision]), $MachinePrecision] + N[(t$95$8 - N[(t$95$11 - N[(N[(N[(y2 * x), $MachinePrecision] - N[(y3 * z), $MachinePrecision]), $MachinePrecision] * N[(N[(c * y0), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$16 = N[(N[(N[(t$95$6 - N[(N[(y3 * y), $MachinePrecision] * N[(N[(y5 * a), $MachinePrecision] - N[(y4 * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(y5 * a), $MachinePrecision] * N[(t * y2), $MachinePrecision]), $MachinePrecision] + t$95$13), $MachinePrecision]), $MachinePrecision] + N[(N[(t$95$2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(t$95$10 - N[(N[(N[(y * x), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$17 = N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, If[Less[y4, -7.206256231996481e+60], N[(N[(t$95$8 - N[(t$95$11 - t$95$6), $MachinePrecision]), $MachinePrecision] - N[(N[(t$95$3 / N[(1.0 / t$95$1), $MachinePrecision]), $MachinePrecision] - t$95$14), $MachinePrecision]), $MachinePrecision], If[Less[y4, -3.364603505246317e-66], N[(N[(N[(N[(N[(N[(t * c), $MachinePrecision] * N[(i * z), $MachinePrecision]), $MachinePrecision] - N[(N[(a * t), $MachinePrecision] * N[(b * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y * c), $MachinePrecision] * N[(i * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - t$95$10), $MachinePrecision] + N[(N[(N[(N[(y0 * c), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision] * t$95$2), $MachinePrecision] - N[(N[(t$95$17 * N[(N[(y4 * c), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(y1 * y4), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision] * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Less[y4, -1.2000065055686116e-105], t$95$16, If[Less[y4, 6.718963124057495e-279], t$95$15, If[Less[y4, 4.77962681403792e-222], t$95$16, If[Less[y4, 2.2852241541266835e-175], t$95$15, N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(k * N[(i * N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(j * N[(i * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(k * N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(z * N[(y3 * N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y2 * N[(x * N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(z * N[(c * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * t$95$5), $MachinePrecision]), $MachinePrecision] - N[(t$95$17 * t$95$1), $MachinePrecision]), $MachinePrecision] + t$95$13), $MachinePrecision]]]]]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y4 \cdot c - y5 \cdot a\\
t_2 := x \cdot y2 - z \cdot y3\\
t_3 := y2 \cdot t - y3 \cdot y\\
t_4 := k \cdot y2 - j \cdot y3\\
t_5 := y4 \cdot b - y5 \cdot i\\
t_6 := \left(j \cdot t - k \cdot y\right) \cdot t\_5\\
t_7 := b \cdot a - i \cdot c\\
t_8 := t\_7 \cdot \left(y \cdot x - t \cdot z\right)\\
t_9 := j \cdot x - k \cdot z\\
t_10 := \left(b \cdot y0 - i \cdot y1\right) \cdot t\_9\\
t_11 := t\_9 \cdot \left(y0 \cdot b - i \cdot y1\right)\\
t_12 := y4 \cdot y1 - y5 \cdot y0\\
t_13 := t\_4 \cdot t\_12\\
t_14 := \left(y2 \cdot k - y3 \cdot j\right) \cdot t\_12\\
t_15 := \left(\left(\left(\left(k \cdot y\right) \cdot \left(y5 \cdot i\right) - \left(y \cdot b\right) \cdot \left(y4 \cdot k\right)\right) - \left(y5 \cdot t\right) \cdot \left(i \cdot j\right)\right) - \left(t\_3 \cdot t\_1 - t\_14\right)\right) + \left(t\_8 - \left(t\_11 - \left(y2 \cdot x - y3 \cdot z\right) \cdot \left(c \cdot y0 - y1 \cdot a\right)\right)\right)\\
t_16 := \left(\left(t\_6 - \left(y3 \cdot y\right) \cdot \left(y5 \cdot a - y4 \cdot c\right)\right) + \left(\left(y5 \cdot a\right) \cdot \left(t \cdot y2\right) + t\_13\right)\right) + \left(t\_2 \cdot \left(c \cdot y0 - a \cdot y1\right) - \left(t\_10 - \left(y \cdot x - z \cdot t\right) \cdot t\_7\right)\right)\\
t_17 := t \cdot y2 - y \cdot y3\\
\mathbf{if}\;y4 < -7.206256231996481 \cdot 10^{+60}:\\
\;\;\;\;\left(t\_8 - \left(t\_11 - t\_6\right)\right) - \left(\frac{t\_3}{\frac{1}{t\_1}} - t\_14\right)\\
\mathbf{elif}\;y4 < -3.364603505246317 \cdot 10^{-66}:\\
\;\;\;\;\left(\left(\left(\left(t \cdot c\right) \cdot \left(i \cdot z\right) - \left(a \cdot t\right) \cdot \left(b \cdot z\right)\right) - \left(y \cdot c\right) \cdot \left(i \cdot x\right)\right) - t\_10\right) + \left(\left(y0 \cdot c - a \cdot y1\right) \cdot t\_2 - \left(t\_17 \cdot \left(y4 \cdot c - a \cdot y5\right) - \left(y1 \cdot y4 - y5 \cdot y0\right) \cdot t\_4\right)\right)\\
\mathbf{elif}\;y4 < -1.2000065055686116 \cdot 10^{-105}:\\
\;\;\;\;t\_16\\
\mathbf{elif}\;y4 < 6.718963124057495 \cdot 10^{-279}:\\
\;\;\;\;t\_15\\
\mathbf{elif}\;y4 < 4.77962681403792 \cdot 10^{-222}:\\
\;\;\;\;t\_16\\
\mathbf{elif}\;y4 < 2.2852241541266835 \cdot 10^{-175}:\\
\;\;\;\;t\_15\\
\mathbf{else}:\\
\;\;\;\;\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(k \cdot \left(i \cdot \left(z \cdot y1\right)\right) - \left(j \cdot \left(i \cdot \left(x \cdot y1\right)\right) + y0 \cdot \left(k \cdot \left(z \cdot b\right)\right)\right)\right)\right) + \left(z \cdot \left(y3 \cdot \left(a \cdot y1\right)\right) - \left(y2 \cdot \left(x \cdot \left(a \cdot y1\right)\right) + y0 \cdot \left(z \cdot \left(c \cdot y3\right)\right)\right)\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot t\_5\right) - t\_17 \cdot t\_1\right) + t\_13\\
\end{array}
\end{array}
herbie shell --seed 2024268
(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)))))