
(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 40 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 (- (* z t) (* x y)))
(t_2 (- (* y k) (* t j)))
(t_3
(*
k
(+
(+ (* y2 (- (* y1 y4) (* y0 y5))) (* y (- (* i y5) (* b y4))))
(* z (- (* b y0) (* i y1))))))
(t_4 (- (* z k) (* x j)))
(t_5 (- (* x y2) (* z y3)))
(t_6 (- (* t y2) (* y y3)))
(t_7 (* c (- (+ (* y0 t_5) (* i t_1)) (* y4 t_6)))))
(if (<= y0 -8.5e+136)
t_7
(if (<= y0 -3.35e+100)
(* y5 (+ (* a t_6) (- (* i t_2) (* y0 (- (* k y2) (* j y3))))))
(if (<= y0 -3.4e+85)
(* y0 (* x (- (* c y2) (* b j))))
(if (<= y0 -5.8e-61)
t_3
(if (<= y0 -6.8e-97)
(* a (* y5 t_6))
(if (<= y0 -1.75e-224)
t_3
(if (<= y0 6.2e-245)
(*
b
(+
(+ (* a (- (* x y) (* z t))) (* y4 (- (* t j) (* y k))))
(* y0 t_4)))
(if (<= y0 3.1e-103)
(*
i
(+ (* y1 (- (* x j) (* z k))) (+ (* c t_1) (* y5 t_2))))
(if (<= y0 0.0018)
t_7
(if (<= y0 5e+24)
(*
x
(+
(+
(* y (- (* a b) (* c i)))
(* y2 (- (* c y0) (* a y1))))
(* j (- (* i y1) (* b y0)))))
(*
y0
(+
(+ (* c t_5) (* y5 (- (* j y3) (* k y2))))
(* b t_4)))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (z * t) - (x * y);
double t_2 = (y * k) - (t * j);
double t_3 = k * (((y2 * ((y1 * y4) - (y0 * y5))) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1))));
double t_4 = (z * k) - (x * j);
double t_5 = (x * y2) - (z * y3);
double t_6 = (t * y2) - (y * y3);
double t_7 = c * (((y0 * t_5) + (i * t_1)) - (y4 * t_6));
double tmp;
if (y0 <= -8.5e+136) {
tmp = t_7;
} else if (y0 <= -3.35e+100) {
tmp = y5 * ((a * t_6) + ((i * t_2) - (y0 * ((k * y2) - (j * y3)))));
} else if (y0 <= -3.4e+85) {
tmp = y0 * (x * ((c * y2) - (b * j)));
} else if (y0 <= -5.8e-61) {
tmp = t_3;
} else if (y0 <= -6.8e-97) {
tmp = a * (y5 * t_6);
} else if (y0 <= -1.75e-224) {
tmp = t_3;
} else if (y0 <= 6.2e-245) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_4));
} else if (y0 <= 3.1e-103) {
tmp = i * ((y1 * ((x * j) - (z * k))) + ((c * t_1) + (y5 * t_2)));
} else if (y0 <= 0.0018) {
tmp = t_7;
} else if (y0 <= 5e+24) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
} else {
tmp = y0 * (((c * t_5) + (y5 * ((j * y3) - (k * y2)))) + (b * t_4));
}
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_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: t_6
real(8) :: t_7
real(8) :: tmp
t_1 = (z * t) - (x * y)
t_2 = (y * k) - (t * j)
t_3 = k * (((y2 * ((y1 * y4) - (y0 * y5))) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1))))
t_4 = (z * k) - (x * j)
t_5 = (x * y2) - (z * y3)
t_6 = (t * y2) - (y * y3)
t_7 = c * (((y0 * t_5) + (i * t_1)) - (y4 * t_6))
if (y0 <= (-8.5d+136)) then
tmp = t_7
else if (y0 <= (-3.35d+100)) then
tmp = y5 * ((a * t_6) + ((i * t_2) - (y0 * ((k * y2) - (j * y3)))))
else if (y0 <= (-3.4d+85)) then
tmp = y0 * (x * ((c * y2) - (b * j)))
else if (y0 <= (-5.8d-61)) then
tmp = t_3
else if (y0 <= (-6.8d-97)) then
tmp = a * (y5 * t_6)
else if (y0 <= (-1.75d-224)) then
tmp = t_3
else if (y0 <= 6.2d-245) then
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_4))
else if (y0 <= 3.1d-103) then
tmp = i * ((y1 * ((x * j) - (z * k))) + ((c * t_1) + (y5 * t_2)))
else if (y0 <= 0.0018d0) then
tmp = t_7
else if (y0 <= 5d+24) then
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
else
tmp = y0 * (((c * t_5) + (y5 * ((j * y3) - (k * y2)))) + (b * t_4))
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 = (z * t) - (x * y);
double t_2 = (y * k) - (t * j);
double t_3 = k * (((y2 * ((y1 * y4) - (y0 * y5))) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1))));
double t_4 = (z * k) - (x * j);
double t_5 = (x * y2) - (z * y3);
double t_6 = (t * y2) - (y * y3);
double t_7 = c * (((y0 * t_5) + (i * t_1)) - (y4 * t_6));
double tmp;
if (y0 <= -8.5e+136) {
tmp = t_7;
} else if (y0 <= -3.35e+100) {
tmp = y5 * ((a * t_6) + ((i * t_2) - (y0 * ((k * y2) - (j * y3)))));
} else if (y0 <= -3.4e+85) {
tmp = y0 * (x * ((c * y2) - (b * j)));
} else if (y0 <= -5.8e-61) {
tmp = t_3;
} else if (y0 <= -6.8e-97) {
tmp = a * (y5 * t_6);
} else if (y0 <= -1.75e-224) {
tmp = t_3;
} else if (y0 <= 6.2e-245) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_4));
} else if (y0 <= 3.1e-103) {
tmp = i * ((y1 * ((x * j) - (z * k))) + ((c * t_1) + (y5 * t_2)));
} else if (y0 <= 0.0018) {
tmp = t_7;
} else if (y0 <= 5e+24) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
} else {
tmp = y0 * (((c * t_5) + (y5 * ((j * y3) - (k * y2)))) + (b * t_4));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (z * t) - (x * y) t_2 = (y * k) - (t * j) t_3 = k * (((y2 * ((y1 * y4) - (y0 * y5))) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1)))) t_4 = (z * k) - (x * j) t_5 = (x * y2) - (z * y3) t_6 = (t * y2) - (y * y3) t_7 = c * (((y0 * t_5) + (i * t_1)) - (y4 * t_6)) tmp = 0 if y0 <= -8.5e+136: tmp = t_7 elif y0 <= -3.35e+100: tmp = y5 * ((a * t_6) + ((i * t_2) - (y0 * ((k * y2) - (j * y3))))) elif y0 <= -3.4e+85: tmp = y0 * (x * ((c * y2) - (b * j))) elif y0 <= -5.8e-61: tmp = t_3 elif y0 <= -6.8e-97: tmp = a * (y5 * t_6) elif y0 <= -1.75e-224: tmp = t_3 elif y0 <= 6.2e-245: tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_4)) elif y0 <= 3.1e-103: tmp = i * ((y1 * ((x * j) - (z * k))) + ((c * t_1) + (y5 * t_2))) elif y0 <= 0.0018: tmp = t_7 elif y0 <= 5e+24: tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))) else: tmp = y0 * (((c * t_5) + (y5 * ((j * y3) - (k * y2)))) + (b * t_4)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(z * t) - Float64(x * y)) t_2 = Float64(Float64(y * k) - Float64(t * j)) t_3 = Float64(k * Float64(Float64(Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))) + Float64(z * Float64(Float64(b * y0) - Float64(i * y1))))) t_4 = Float64(Float64(z * k) - Float64(x * j)) t_5 = Float64(Float64(x * y2) - Float64(z * y3)) t_6 = Float64(Float64(t * y2) - Float64(y * y3)) t_7 = Float64(c * Float64(Float64(Float64(y0 * t_5) + Float64(i * t_1)) - Float64(y4 * t_6))) tmp = 0.0 if (y0 <= -8.5e+136) tmp = t_7; elseif (y0 <= -3.35e+100) tmp = Float64(y5 * Float64(Float64(a * t_6) + Float64(Float64(i * t_2) - Float64(y0 * Float64(Float64(k * y2) - Float64(j * y3)))))); elseif (y0 <= -3.4e+85) tmp = Float64(y0 * Float64(x * Float64(Float64(c * y2) - Float64(b * j)))); elseif (y0 <= -5.8e-61) tmp = t_3; elseif (y0 <= -6.8e-97) tmp = Float64(a * Float64(y5 * t_6)); elseif (y0 <= -1.75e-224) tmp = t_3; elseif (y0 <= 6.2e-245) tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(y0 * t_4))); elseif (y0 <= 3.1e-103) tmp = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(c * t_1) + Float64(y5 * t_2)))); elseif (y0 <= 0.0018) tmp = t_7; elseif (y0 <= 5e+24) tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))); else tmp = Float64(y0 * Float64(Float64(Float64(c * t_5) + Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2)))) + Float64(b * t_4))); 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 = (z * t) - (x * y); t_2 = (y * k) - (t * j); t_3 = k * (((y2 * ((y1 * y4) - (y0 * y5))) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1)))); t_4 = (z * k) - (x * j); t_5 = (x * y2) - (z * y3); t_6 = (t * y2) - (y * y3); t_7 = c * (((y0 * t_5) + (i * t_1)) - (y4 * t_6)); tmp = 0.0; if (y0 <= -8.5e+136) tmp = t_7; elseif (y0 <= -3.35e+100) tmp = y5 * ((a * t_6) + ((i * t_2) - (y0 * ((k * y2) - (j * y3))))); elseif (y0 <= -3.4e+85) tmp = y0 * (x * ((c * y2) - (b * j))); elseif (y0 <= -5.8e-61) tmp = t_3; elseif (y0 <= -6.8e-97) tmp = a * (y5 * t_6); elseif (y0 <= -1.75e-224) tmp = t_3; elseif (y0 <= 6.2e-245) tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_4)); elseif (y0 <= 3.1e-103) tmp = i * ((y1 * ((x * j) - (z * k))) + ((c * t_1) + (y5 * t_2))); elseif (y0 <= 0.0018) tmp = t_7; elseif (y0 <= 5e+24) tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))); else tmp = y0 * (((c * t_5) + (y5 * ((j * y3) - (k * y2)))) + (b * t_4)); 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[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(k * N[(N[(N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(c * N[(N[(N[(y0 * t$95$5), $MachinePrecision] + N[(i * t$95$1), $MachinePrecision]), $MachinePrecision] - N[(y4 * t$95$6), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -8.5e+136], t$95$7, If[LessEqual[y0, -3.35e+100], N[(y5 * N[(N[(a * t$95$6), $MachinePrecision] + N[(N[(i * t$95$2), $MachinePrecision] - N[(y0 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -3.4e+85], N[(y0 * N[(x * N[(N[(c * y2), $MachinePrecision] - N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -5.8e-61], t$95$3, If[LessEqual[y0, -6.8e-97], N[(a * N[(y5 * t$95$6), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -1.75e-224], t$95$3, If[LessEqual[y0, 6.2e-245], N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 3.1e-103], N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(c * t$95$1), $MachinePrecision] + N[(y5 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 0.0018], t$95$7, If[LessEqual[y0, 5e+24], N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y0 * N[(N[(N[(c * t$95$5), $MachinePrecision] + N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := z \cdot t - x \cdot y\\
t_2 := y \cdot k - t \cdot j\\
t_3 := k \cdot \left(\left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + y \cdot \left(i \cdot y5 - b \cdot y4\right)\right) + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
t_4 := z \cdot k - x \cdot j\\
t_5 := x \cdot y2 - z \cdot y3\\
t_6 := t \cdot y2 - y \cdot y3\\
t_7 := c \cdot \left(\left(y0 \cdot t_5 + i \cdot t_1\right) - y4 \cdot t_6\right)\\
\mathbf{if}\;y0 \leq -8.5 \cdot 10^{+136}:\\
\;\;\;\;t_7\\
\mathbf{elif}\;y0 \leq -3.35 \cdot 10^{+100}:\\
\;\;\;\;y5 \cdot \left(a \cdot t_6 + \left(i \cdot t_2 - y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right)\\
\mathbf{elif}\;y0 \leq -3.4 \cdot 10^{+85}:\\
\;\;\;\;y0 \cdot \left(x \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\
\mathbf{elif}\;y0 \leq -5.8 \cdot 10^{-61}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;y0 \leq -6.8 \cdot 10^{-97}:\\
\;\;\;\;a \cdot \left(y5 \cdot t_6\right)\\
\mathbf{elif}\;y0 \leq -1.75 \cdot 10^{-224}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;y0 \leq 6.2 \cdot 10^{-245}:\\
\;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot t_4\right)\\
\mathbf{elif}\;y0 \leq 3.1 \cdot 10^{-103}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + \left(c \cdot t_1 + y5 \cdot t_2\right)\right)\\
\mathbf{elif}\;y0 \leq 0.0018:\\
\;\;\;\;t_7\\
\mathbf{elif}\;y0 \leq 5 \cdot 10^{+24}:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(\left(c \cdot t_5 + y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right) + b \cdot t_4\right)\\
\end{array}
\end{array}
if y0 < -8.49999999999999966e136 or 3.1000000000000001e-103 < y0 < 0.0018Initial program 24.1%
Taylor expanded in c around inf 61.8%
+-commutative61.8%
mul-1-neg61.8%
unsub-neg61.8%
*-commutative61.8%
*-commutative61.8%
*-commutative61.8%
*-commutative61.8%
Simplified61.8%
if -8.49999999999999966e136 < y0 < -3.3499999999999998e100Initial program 40.0%
Taylor expanded in y5 around -inf 100.0%
if -3.3499999999999998e100 < y0 < -3.4000000000000003e85Initial program 33.3%
Taylor expanded in y0 around inf 60.9%
+-commutative60.9%
mul-1-neg60.9%
unsub-neg60.9%
*-commutative60.9%
*-commutative60.9%
*-commutative60.9%
*-commutative60.9%
Simplified60.9%
Taylor expanded in x around inf 92.2%
if -3.4000000000000003e85 < y0 < -5.7999999999999999e-61 or -6.7999999999999998e-97 < y0 < -1.75000000000000009e-224Initial program 30.1%
Taylor expanded in k around inf 60.5%
sub-neg60.5%
+-commutative60.5%
mul-1-neg60.5%
unsub-neg60.5%
*-commutative60.5%
mul-1-neg60.5%
remove-double-neg60.5%
Simplified60.5%
if -5.7999999999999999e-61 < y0 < -6.7999999999999998e-97Initial program 27.3%
Taylor expanded in a around -inf 63.7%
mul-1-neg63.7%
*-commutative63.7%
distribute-rgt-neg-in63.7%
Simplified63.7%
Taylor expanded in y5 around -inf 72.8%
*-commutative72.8%
*-commutative72.8%
Simplified72.8%
if -1.75000000000000009e-224 < y0 < 6.20000000000000006e-245Initial program 43.8%
Taylor expanded in b around inf 50.8%
if 6.20000000000000006e-245 < y0 < 3.1000000000000001e-103Initial program 34.6%
Taylor expanded in i around -inf 65.6%
if 0.0018 < y0 < 5.00000000000000045e24Initial program 20.0%
Taylor expanded in x around inf 80.5%
if 5.00000000000000045e24 < y0 Initial program 34.8%
Taylor expanded in y0 around inf 60.5%
+-commutative60.5%
mul-1-neg60.5%
unsub-neg60.5%
*-commutative60.5%
*-commutative60.5%
*-commutative60.5%
*-commutative60.5%
Simplified60.5%
Final simplification62.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* t y2) (* y y3)))
(t_2 (- (* x y2) (* z y3)))
(t_3
(+
(+
(+
(+
(-
(* (- (* a b) (* c i)) (- (* x y) (* z t)))
(* (- (* b y0) (* i y1)) (- (* x j) (* z k))))
(* (- (* c y0) (* a y1)) t_2))
(* (- (* b y4) (* i y5)) (- (* t j) (* y k))))
(* t_1 (- (* a y5) (* c y4))))
(* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5))))))
(if (<= t_3 INFINITY)
t_3
(* c (- (+ (* y0 t_2) (* i (- (* z t) (* x y)))) (* y4 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 = (t * y2) - (y * y3);
double t_2 = (x * y2) - (z * y3);
double t_3 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) - (((b * y0) - (i * y1)) * ((x * j) - (z * k)))) + (((c * y0) - (a * y1)) * t_2)) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (t_1 * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)));
double tmp;
if (t_3 <= ((double) INFINITY)) {
tmp = t_3;
} else {
tmp = c * (((y0 * t_2) + (i * ((z * t) - (x * y)))) - (y4 * t_1));
}
return tmp;
}
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (t * y2) - (y * y3);
double t_2 = (x * y2) - (z * y3);
double t_3 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) - (((b * y0) - (i * y1)) * ((x * j) - (z * k)))) + (((c * y0) - (a * y1)) * t_2)) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (t_1 * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)));
double tmp;
if (t_3 <= Double.POSITIVE_INFINITY) {
tmp = t_3;
} else {
tmp = c * (((y0 * t_2) + (i * ((z * t) - (x * y)))) - (y4 * t_1));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (t * y2) - (y * y3) t_2 = (x * y2) - (z * y3) t_3 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) - (((b * y0) - (i * y1)) * ((x * j) - (z * k)))) + (((c * y0) - (a * y1)) * t_2)) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (t_1 * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) tmp = 0 if t_3 <= math.inf: tmp = t_3 else: tmp = c * (((y0 * t_2) + (i * ((z * t) - (x * y)))) - (y4 * 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(t * y2) - Float64(y * y3)) t_2 = Float64(Float64(x * y2) - Float64(z * y3)) t_3 = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(a * b) - Float64(c * i)) * Float64(Float64(x * y) - Float64(z * t))) - Float64(Float64(Float64(b * y0) - Float64(i * y1)) * Float64(Float64(x * j) - Float64(z * k)))) + Float64(Float64(Float64(c * y0) - Float64(a * y1)) * t_2)) + Float64(Float64(Float64(b * y4) - Float64(i * y5)) * Float64(Float64(t * j) - Float64(y * k)))) + Float64(t_1 * Float64(Float64(a * y5) - Float64(c * y4)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) tmp = 0.0 if (t_3 <= Inf) tmp = t_3; else tmp = Float64(c * Float64(Float64(Float64(y0 * t_2) + Float64(i * Float64(Float64(z * t) - Float64(x * y)))) - Float64(y4 * 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 = (t * y2) - (y * y3); t_2 = (x * y2) - (z * y3); t_3 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) - (((b * y0) - (i * y1)) * ((x * j) - (z * k)))) + (((c * y0) - (a * y1)) * t_2)) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (t_1 * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))); tmp = 0.0; if (t_3 <= Inf) tmp = t_3; else tmp = c * (((y0 * t_2) + (i * ((z * t) - (x * y)))) - (y4 * 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[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(N[(N[(N[(N[(N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision] * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision] * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision] * t$95$2), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision] * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t$95$1 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$3, Infinity], t$95$3, N[(c * N[(N[(N[(y0 * t$95$2), $MachinePrecision] + N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y4 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot y2 - y \cdot y3\\
t_2 := x \cdot y2 - z \cdot y3\\
t_3 := \left(\left(\left(\left(\left(a \cdot b - c \cdot i\right) \cdot \left(x \cdot y - z \cdot t\right) - \left(b \cdot y0 - i \cdot y1\right) \cdot \left(x \cdot j - z \cdot k\right)\right) + \left(c \cdot y0 - a \cdot y1\right) \cdot t_2\right) + \left(b \cdot y4 - i \cdot y5\right) \cdot \left(t \cdot j - y \cdot k\right)\right) + t_1 \cdot \left(a \cdot y5 - c \cdot y4\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\\
\mathbf{if}\;t_3 \leq \infty:\\
\;\;\;\;t_3\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(\left(y0 \cdot t_2 + i \cdot \left(z \cdot t - x \cdot y\right)\right) - y4 \cdot t_1\right)\\
\end{array}
\end{array}
if (+.f64 (-.f64 (+.f64 (+.f64 (-.f64 (*.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (-.f64 (*.f64 a b) (*.f64 c i))) (*.f64 (-.f64 (*.f64 x j) (*.f64 z k)) (-.f64 (*.f64 y0 b) (*.f64 y1 i)))) (*.f64 (-.f64 (*.f64 x y2) (*.f64 z y3)) (-.f64 (*.f64 y0 c) (*.f64 y1 a)))) (*.f64 (-.f64 (*.f64 t j) (*.f64 y k)) (-.f64 (*.f64 y4 b) (*.f64 y5 i)))) (*.f64 (-.f64 (*.f64 t y2) (*.f64 y y3)) (-.f64 (*.f64 y4 c) (*.f64 y5 a)))) (*.f64 (-.f64 (*.f64 k y2) (*.f64 j y3)) (-.f64 (*.f64 y4 y1) (*.f64 y5 y0)))) < +inf.0Initial program 90.3%
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 c around inf 40.0%
+-commutative40.0%
mul-1-neg40.0%
unsub-neg40.0%
*-commutative40.0%
*-commutative40.0%
*-commutative40.0%
*-commutative40.0%
Simplified40.0%
Final simplification57.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* i y1) (* b y0)))
(t_2
(*
k
(+
(+ (* y2 (- (* y1 y4) (* y0 y5))) (* y (- (* i y5) (* b y4))))
(* z (- (* b y0) (* i y1))))))
(t_3 (- (* x y2) (* z y3)))
(t_4 (- (* t y2) (* y y3)))
(t_5 (- (* z k) (* x j))))
(if (<= y0 -2.4e+176)
(* c (- (+ (* y0 t_3) (* i (- (* z t) (* x y)))) (* y4 t_4)))
(if (<= y0 -5e-62)
t_2
(if (<= y0 -8e-101)
(* a (* y5 t_4))
(if (<= y0 -2.05e-223)
t_2
(if (<= y0 1.16e-117)
(*
b
(+
(+ (* a (- (* x y) (* z t))) (* y4 (- (* t j) (* y k))))
(* y0 t_5)))
(if (<= y0 3.55e-40)
t_2
(if (<= y0 1.16e-7)
(*
j
(+
(+
(* t (- (* b y4) (* i y5)))
(* y3 (- (* y0 y5) (* y1 y4))))
(* x t_1)))
(if (<= y0 1.6e+23)
(*
x
(+
(+ (* y (- (* a b) (* c i))) (* y2 (- (* c y0) (* a y1))))
(* j t_1)))
(if (<= y0 1.25e+80)
t_2
(if (<= y0 6e+117)
(* (- (* y b) (* y1 y2)) (* x a))
(*
y0
(+
(+ (* c t_3) (* y5 (- (* j y3) (* k y2))))
(* b t_5)))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (i * y1) - (b * y0);
double t_2 = k * (((y2 * ((y1 * y4) - (y0 * y5))) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1))));
double t_3 = (x * y2) - (z * y3);
double t_4 = (t * y2) - (y * y3);
double t_5 = (z * k) - (x * j);
double tmp;
if (y0 <= -2.4e+176) {
tmp = c * (((y0 * t_3) + (i * ((z * t) - (x * y)))) - (y4 * t_4));
} else if (y0 <= -5e-62) {
tmp = t_2;
} else if (y0 <= -8e-101) {
tmp = a * (y5 * t_4);
} else if (y0 <= -2.05e-223) {
tmp = t_2;
} else if (y0 <= 1.16e-117) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_5));
} else if (y0 <= 3.55e-40) {
tmp = t_2;
} else if (y0 <= 1.16e-7) {
tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * t_1));
} else if (y0 <= 1.6e+23) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * t_1));
} else if (y0 <= 1.25e+80) {
tmp = t_2;
} else if (y0 <= 6e+117) {
tmp = ((y * b) - (y1 * y2)) * (x * a);
} else {
tmp = y0 * (((c * t_3) + (y5 * ((j * y3) - (k * y2)))) + (b * t_5));
}
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_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: tmp
t_1 = (i * y1) - (b * y0)
t_2 = k * (((y2 * ((y1 * y4) - (y0 * y5))) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1))))
t_3 = (x * y2) - (z * y3)
t_4 = (t * y2) - (y * y3)
t_5 = (z * k) - (x * j)
if (y0 <= (-2.4d+176)) then
tmp = c * (((y0 * t_3) + (i * ((z * t) - (x * y)))) - (y4 * t_4))
else if (y0 <= (-5d-62)) then
tmp = t_2
else if (y0 <= (-8d-101)) then
tmp = a * (y5 * t_4)
else if (y0 <= (-2.05d-223)) then
tmp = t_2
else if (y0 <= 1.16d-117) then
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_5))
else if (y0 <= 3.55d-40) then
tmp = t_2
else if (y0 <= 1.16d-7) then
tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * t_1))
else if (y0 <= 1.6d+23) then
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * t_1))
else if (y0 <= 1.25d+80) then
tmp = t_2
else if (y0 <= 6d+117) then
tmp = ((y * b) - (y1 * y2)) * (x * a)
else
tmp = y0 * (((c * t_3) + (y5 * ((j * y3) - (k * y2)))) + (b * t_5))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (i * y1) - (b * y0);
double t_2 = k * (((y2 * ((y1 * y4) - (y0 * y5))) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1))));
double t_3 = (x * y2) - (z * y3);
double t_4 = (t * y2) - (y * y3);
double t_5 = (z * k) - (x * j);
double tmp;
if (y0 <= -2.4e+176) {
tmp = c * (((y0 * t_3) + (i * ((z * t) - (x * y)))) - (y4 * t_4));
} else if (y0 <= -5e-62) {
tmp = t_2;
} else if (y0 <= -8e-101) {
tmp = a * (y5 * t_4);
} else if (y0 <= -2.05e-223) {
tmp = t_2;
} else if (y0 <= 1.16e-117) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_5));
} else if (y0 <= 3.55e-40) {
tmp = t_2;
} else if (y0 <= 1.16e-7) {
tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * t_1));
} else if (y0 <= 1.6e+23) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * t_1));
} else if (y0 <= 1.25e+80) {
tmp = t_2;
} else if (y0 <= 6e+117) {
tmp = ((y * b) - (y1 * y2)) * (x * a);
} else {
tmp = y0 * (((c * t_3) + (y5 * ((j * y3) - (k * y2)))) + (b * t_5));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (i * y1) - (b * y0) t_2 = k * (((y2 * ((y1 * y4) - (y0 * y5))) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1)))) t_3 = (x * y2) - (z * y3) t_4 = (t * y2) - (y * y3) t_5 = (z * k) - (x * j) tmp = 0 if y0 <= -2.4e+176: tmp = c * (((y0 * t_3) + (i * ((z * t) - (x * y)))) - (y4 * t_4)) elif y0 <= -5e-62: tmp = t_2 elif y0 <= -8e-101: tmp = a * (y5 * t_4) elif y0 <= -2.05e-223: tmp = t_2 elif y0 <= 1.16e-117: tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_5)) elif y0 <= 3.55e-40: tmp = t_2 elif y0 <= 1.16e-7: tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * t_1)) elif y0 <= 1.6e+23: tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * t_1)) elif y0 <= 1.25e+80: tmp = t_2 elif y0 <= 6e+117: tmp = ((y * b) - (y1 * y2)) * (x * a) else: tmp = y0 * (((c * t_3) + (y5 * ((j * y3) - (k * y2)))) + (b * t_5)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(i * y1) - Float64(b * y0)) t_2 = Float64(k * Float64(Float64(Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))) + Float64(z * Float64(Float64(b * y0) - Float64(i * y1))))) t_3 = Float64(Float64(x * y2) - Float64(z * y3)) t_4 = Float64(Float64(t * y2) - Float64(y * y3)) t_5 = Float64(Float64(z * k) - Float64(x * j)) tmp = 0.0 if (y0 <= -2.4e+176) tmp = Float64(c * Float64(Float64(Float64(y0 * t_3) + Float64(i * Float64(Float64(z * t) - Float64(x * y)))) - Float64(y4 * t_4))); elseif (y0 <= -5e-62) tmp = t_2; elseif (y0 <= -8e-101) tmp = Float64(a * Float64(y5 * t_4)); elseif (y0 <= -2.05e-223) tmp = t_2; elseif (y0 <= 1.16e-117) tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(y0 * t_5))); elseif (y0 <= 3.55e-40) tmp = t_2; elseif (y0 <= 1.16e-7) tmp = Float64(j * Float64(Float64(Float64(t * Float64(Float64(b * y4) - Float64(i * y5))) + Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4)))) + Float64(x * t_1))); elseif (y0 <= 1.6e+23) tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * t_1))); elseif (y0 <= 1.25e+80) tmp = t_2; elseif (y0 <= 6e+117) tmp = Float64(Float64(Float64(y * b) - Float64(y1 * y2)) * Float64(x * a)); else tmp = Float64(y0 * Float64(Float64(Float64(c * t_3) + Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2)))) + Float64(b * t_5))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (i * y1) - (b * y0); t_2 = k * (((y2 * ((y1 * y4) - (y0 * y5))) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1)))); t_3 = (x * y2) - (z * y3); t_4 = (t * y2) - (y * y3); t_5 = (z * k) - (x * j); tmp = 0.0; if (y0 <= -2.4e+176) tmp = c * (((y0 * t_3) + (i * ((z * t) - (x * y)))) - (y4 * t_4)); elseif (y0 <= -5e-62) tmp = t_2; elseif (y0 <= -8e-101) tmp = a * (y5 * t_4); elseif (y0 <= -2.05e-223) tmp = t_2; elseif (y0 <= 1.16e-117) tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_5)); elseif (y0 <= 3.55e-40) tmp = t_2; elseif (y0 <= 1.16e-7) tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * t_1)); elseif (y0 <= 1.6e+23) tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * t_1)); elseif (y0 <= 1.25e+80) tmp = t_2; elseif (y0 <= 6e+117) tmp = ((y * b) - (y1 * y2)) * (x * a); else tmp = y0 * (((c * t_3) + (y5 * ((j * y3) - (k * y2)))) + (b * t_5)); 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[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(k * N[(N[(N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -2.4e+176], N[(c * N[(N[(N[(y0 * t$95$3), $MachinePrecision] + N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y4 * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -5e-62], t$95$2, If[LessEqual[y0, -8e-101], N[(a * N[(y5 * t$95$4), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -2.05e-223], t$95$2, If[LessEqual[y0, 1.16e-117], N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 3.55e-40], t$95$2, If[LessEqual[y0, 1.16e-7], N[(j * N[(N[(N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.6e+23], N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.25e+80], t$95$2, If[LessEqual[y0, 6e+117], N[(N[(N[(y * b), $MachinePrecision] - N[(y1 * y2), $MachinePrecision]), $MachinePrecision] * N[(x * a), $MachinePrecision]), $MachinePrecision], N[(y0 * N[(N[(N[(c * t$95$3), $MachinePrecision] + N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot y1 - b \cdot y0\\
t_2 := k \cdot \left(\left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + y \cdot \left(i \cdot y5 - b \cdot y4\right)\right) + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
t_3 := x \cdot y2 - z \cdot y3\\
t_4 := t \cdot y2 - y \cdot y3\\
t_5 := z \cdot k - x \cdot j\\
\mathbf{if}\;y0 \leq -2.4 \cdot 10^{+176}:\\
\;\;\;\;c \cdot \left(\left(y0 \cdot t_3 + i \cdot \left(z \cdot t - x \cdot y\right)\right) - y4 \cdot t_4\right)\\
\mathbf{elif}\;y0 \leq -5 \cdot 10^{-62}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;y0 \leq -8 \cdot 10^{-101}:\\
\;\;\;\;a \cdot \left(y5 \cdot t_4\right)\\
\mathbf{elif}\;y0 \leq -2.05 \cdot 10^{-223}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;y0 \leq 1.16 \cdot 10^{-117}:\\
\;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot t_5\right)\\
\mathbf{elif}\;y0 \leq 3.55 \cdot 10^{-40}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;y0 \leq 1.16 \cdot 10^{-7}:\\
\;\;\;\;j \cdot \left(\left(t \cdot \left(b \cdot y4 - i \cdot y5\right) + y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) + x \cdot t_1\right)\\
\mathbf{elif}\;y0 \leq 1.6 \cdot 10^{+23}:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot t_1\right)\\
\mathbf{elif}\;y0 \leq 1.25 \cdot 10^{+80}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;y0 \leq 6 \cdot 10^{+117}:\\
\;\;\;\;\left(y \cdot b - y1 \cdot y2\right) \cdot \left(x \cdot a\right)\\
\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(\left(c \cdot t_3 + y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right) + b \cdot t_5\right)\\
\end{array}
\end{array}
if y0 < -2.4000000000000001e176Initial program 16.3%
Taylor expanded in c around inf 65.0%
+-commutative65.0%
mul-1-neg65.0%
unsub-neg65.0%
*-commutative65.0%
*-commutative65.0%
*-commutative65.0%
*-commutative65.0%
Simplified65.0%
if -2.4000000000000001e176 < y0 < -5.0000000000000002e-62 or -8.00000000000000041e-101 < y0 < -2.05000000000000007e-223 or 1.15999999999999992e-117 < y0 < 3.55000000000000012e-40 or 1.6e23 < y0 < 1.2499999999999999e80Initial program 29.2%
Taylor expanded in k around inf 63.3%
sub-neg63.3%
+-commutative63.3%
mul-1-neg63.3%
unsub-neg63.3%
*-commutative63.3%
mul-1-neg63.3%
remove-double-neg63.3%
Simplified63.3%
if -5.0000000000000002e-62 < y0 < -8.00000000000000041e-101Initial program 30.8%
Taylor expanded in a around -inf 69.3%
mul-1-neg69.3%
*-commutative69.3%
distribute-rgt-neg-in69.3%
Simplified69.3%
Taylor expanded in y5 around -inf 69.6%
*-commutative69.6%
*-commutative69.6%
Simplified69.6%
if -2.05000000000000007e-223 < y0 < 1.15999999999999992e-117Initial program 42.6%
Taylor expanded in b around inf 49.0%
if 3.55000000000000012e-40 < y0 < 1.1600000000000001e-7Initial program 45.2%
Taylor expanded in j around inf 57.0%
+-commutative57.0%
mul-1-neg57.0%
unsub-neg57.0%
*-commutative57.0%
Simplified57.0%
if 1.1600000000000001e-7 < y0 < 1.6e23Initial program 20.0%
Taylor expanded in x around inf 80.5%
if 1.2499999999999999e80 < y0 < 6e117Initial program 23.8%
Taylor expanded in x around inf 44.6%
Taylor expanded in a around inf 46.5%
associate-*r*46.6%
+-commutative46.6%
mul-1-neg46.6%
unsub-neg46.6%
*-commutative46.6%
Simplified46.6%
if 6e117 < y0 Initial program 35.1%
Taylor expanded in y0 around inf 68.0%
+-commutative68.0%
mul-1-neg68.0%
unsub-neg68.0%
*-commutative68.0%
*-commutative68.0%
*-commutative68.0%
*-commutative68.0%
Simplified68.0%
Final simplification61.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(*
c
(-
(+ (* y0 (- (* x y2) (* z y3))) (* i (- (* z t) (* x y))))
(* y4 (- (* t y2) (* y y3)))))))
(if (<= c -1.02e+83)
t_1
(if (<= c -1.08e+39)
(* (* b j) (- (* t y4) (* x y0)))
(if (<= c -1e-21)
(* t (+ (* j (- (* b y4) (* i y5))) (* y2 (- (* a y5) (* c y4)))))
(if (<= c -1.25e-146)
(* a (* y3 (- (* z y1) (* y y5))))
(if (<= c -5.7e-238)
(* y0 (* b (- (* z k) (* x j))))
(if (<= c -2.6e-257)
(* b (* x (- (* y a) (* j y0))))
(if (<= c -4.4e-286)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= c 6.2e-114)
(*
k
(+
(+
(* y2 (- (* y1 y4) (* y0 y5)))
(* y (- (* i y5) (* b y4))))
(* z (- (* b y0) (* i y1)))))
(if (<= c 2.45e-84)
(* a (* y (- (* x b) (* y3 y5))))
t_1)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) - (y4 * ((t * y2) - (y * y3))));
double tmp;
if (c <= -1.02e+83) {
tmp = t_1;
} else if (c <= -1.08e+39) {
tmp = (b * j) * ((t * y4) - (x * y0));
} else if (c <= -1e-21) {
tmp = t * ((j * ((b * y4) - (i * y5))) + (y2 * ((a * y5) - (c * y4))));
} else if (c <= -1.25e-146) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else if (c <= -5.7e-238) {
tmp = y0 * (b * ((z * k) - (x * j)));
} else if (c <= -2.6e-257) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (c <= -4.4e-286) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (c <= 6.2e-114) {
tmp = k * (((y2 * ((y1 * y4) - (y0 * y5))) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1))));
} else if (c <= 2.45e-84) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) - (y4 * ((t * y2) - (y * y3))))
if (c <= (-1.02d+83)) then
tmp = t_1
else if (c <= (-1.08d+39)) then
tmp = (b * j) * ((t * y4) - (x * y0))
else if (c <= (-1d-21)) then
tmp = t * ((j * ((b * y4) - (i * y5))) + (y2 * ((a * y5) - (c * y4))))
else if (c <= (-1.25d-146)) then
tmp = a * (y3 * ((z * y1) - (y * y5)))
else if (c <= (-5.7d-238)) then
tmp = y0 * (b * ((z * k) - (x * j)))
else if (c <= (-2.6d-257)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (c <= (-4.4d-286)) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (c <= 6.2d-114) then
tmp = k * (((y2 * ((y1 * y4) - (y0 * y5))) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1))))
else if (c <= 2.45d-84) then
tmp = a * (y * ((x * b) - (y3 * y5)))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) - (y4 * ((t * y2) - (y * y3))));
double tmp;
if (c <= -1.02e+83) {
tmp = t_1;
} else if (c <= -1.08e+39) {
tmp = (b * j) * ((t * y4) - (x * y0));
} else if (c <= -1e-21) {
tmp = t * ((j * ((b * y4) - (i * y5))) + (y2 * ((a * y5) - (c * y4))));
} else if (c <= -1.25e-146) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else if (c <= -5.7e-238) {
tmp = y0 * (b * ((z * k) - (x * j)));
} else if (c <= -2.6e-257) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (c <= -4.4e-286) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (c <= 6.2e-114) {
tmp = k * (((y2 * ((y1 * y4) - (y0 * y5))) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1))));
} else if (c <= 2.45e-84) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) - (y4 * ((t * y2) - (y * y3)))) tmp = 0 if c <= -1.02e+83: tmp = t_1 elif c <= -1.08e+39: tmp = (b * j) * ((t * y4) - (x * y0)) elif c <= -1e-21: tmp = t * ((j * ((b * y4) - (i * y5))) + (y2 * ((a * y5) - (c * y4)))) elif c <= -1.25e-146: tmp = a * (y3 * ((z * y1) - (y * y5))) elif c <= -5.7e-238: tmp = y0 * (b * ((z * k) - (x * j))) elif c <= -2.6e-257: tmp = b * (x * ((y * a) - (j * y0))) elif c <= -4.4e-286: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif c <= 6.2e-114: tmp = k * (((y2 * ((y1 * y4) - (y0 * y5))) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1)))) elif c <= 2.45e-84: tmp = a * (y * ((x * b) - (y3 * y5))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(c * Float64(Float64(Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))) + Float64(i * Float64(Float64(z * t) - Float64(x * y)))) - Float64(y4 * Float64(Float64(t * y2) - Float64(y * y3))))) tmp = 0.0 if (c <= -1.02e+83) tmp = t_1; elseif (c <= -1.08e+39) tmp = Float64(Float64(b * j) * Float64(Float64(t * y4) - Float64(x * y0))); elseif (c <= -1e-21) tmp = Float64(t * Float64(Float64(j * Float64(Float64(b * y4) - Float64(i * y5))) + Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (c <= -1.25e-146) tmp = Float64(a * Float64(y3 * Float64(Float64(z * y1) - Float64(y * y5)))); elseif (c <= -5.7e-238) tmp = Float64(y0 * Float64(b * Float64(Float64(z * k) - Float64(x * j)))); elseif (c <= -2.6e-257) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (c <= -4.4e-286) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (c <= 6.2e-114) tmp = Float64(k * Float64(Float64(Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))) + Float64(z * Float64(Float64(b * y0) - Float64(i * y1))))); elseif (c <= 2.45e-84) tmp = Float64(a * Float64(y * Float64(Float64(x * b) - Float64(y3 * y5)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) - (y4 * ((t * y2) - (y * y3)))); tmp = 0.0; if (c <= -1.02e+83) tmp = t_1; elseif (c <= -1.08e+39) tmp = (b * j) * ((t * y4) - (x * y0)); elseif (c <= -1e-21) tmp = t * ((j * ((b * y4) - (i * y5))) + (y2 * ((a * y5) - (c * y4)))); elseif (c <= -1.25e-146) tmp = a * (y3 * ((z * y1) - (y * y5))); elseif (c <= -5.7e-238) tmp = y0 * (b * ((z * k) - (x * j))); elseif (c <= -2.6e-257) tmp = b * (x * ((y * a) - (j * y0))); elseif (c <= -4.4e-286) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (c <= 6.2e-114) tmp = k * (((y2 * ((y1 * y4) - (y0 * y5))) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1)))); elseif (c <= 2.45e-84) tmp = a * (y * ((x * b) - (y3 * y5))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(c * N[(N[(N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y4 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -1.02e+83], t$95$1, If[LessEqual[c, -1.08e+39], N[(N[(b * j), $MachinePrecision] * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -1e-21], N[(t * N[(N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -1.25e-146], N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -5.7e-238], N[(y0 * N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -2.6e-257], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -4.4e-286], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 6.2e-114], N[(k * N[(N[(N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2.45e-84], N[(a * N[(y * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(\left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right) + i \cdot \left(z \cdot t - x \cdot y\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{if}\;c \leq -1.02 \cdot 10^{+83}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;c \leq -1.08 \cdot 10^{+39}:\\
\;\;\;\;\left(b \cdot j\right) \cdot \left(t \cdot y4 - x \cdot y0\right)\\
\mathbf{elif}\;c \leq -1 \cdot 10^{-21}:\\
\;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;c \leq -1.25 \cdot 10^{-146}:\\
\;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\
\mathbf{elif}\;c \leq -5.7 \cdot 10^{-238}:\\
\;\;\;\;y0 \cdot \left(b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;c \leq -2.6 \cdot 10^{-257}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;c \leq -4.4 \cdot 10^{-286}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;c \leq 6.2 \cdot 10^{-114}:\\
\;\;\;\;k \cdot \left(\left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + y \cdot \left(i \cdot y5 - b \cdot y4\right)\right) + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
\mathbf{elif}\;c \leq 2.45 \cdot 10^{-84}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b - y3 \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if c < -1.0200000000000001e83 or 2.4499999999999999e-84 < c Initial program 30.5%
Taylor expanded in c around inf 60.4%
+-commutative60.4%
mul-1-neg60.4%
unsub-neg60.4%
*-commutative60.4%
*-commutative60.4%
*-commutative60.4%
*-commutative60.4%
Simplified60.4%
if -1.0200000000000001e83 < c < -1.07999999999999998e39Initial program 12.5%
Taylor expanded in b around inf 25.0%
Taylor expanded in j around inf 75.7%
associate-*r*75.7%
*-commutative75.7%
Simplified75.7%
if -1.07999999999999998e39 < c < -9.99999999999999908e-22Initial program 17.2%
Taylor expanded in t around inf 34.0%
Taylor expanded in z around 0 50.7%
*-commutative50.7%
Simplified50.7%
if -9.99999999999999908e-22 < c < -1.24999999999999989e-146Initial program 48.9%
Taylor expanded in a around -inf 52.2%
mul-1-neg52.2%
*-commutative52.2%
distribute-rgt-neg-in52.2%
Simplified52.2%
Taylor expanded in y3 around -inf 49.9%
if -1.24999999999999989e-146 < c < -5.70000000000000022e-238Initial program 23.8%
Taylor expanded in y0 around inf 54.0%
+-commutative54.0%
mul-1-neg54.0%
unsub-neg54.0%
*-commutative54.0%
*-commutative54.0%
*-commutative54.0%
*-commutative54.0%
Simplified54.0%
Taylor expanded in b around inf 53.6%
*-commutative53.6%
*-commutative53.6%
Simplified53.6%
if -5.70000000000000022e-238 < c < -2.6000000000000001e-257Initial program 28.6%
Taylor expanded in b around inf 42.9%
Taylor expanded in x around inf 71.9%
*-commutative71.9%
*-commutative71.9%
Simplified71.9%
if -2.6000000000000001e-257 < c < -4.3999999999999998e-286Initial program 33.1%
Taylor expanded in j around inf 34.7%
+-commutative34.7%
mul-1-neg34.7%
unsub-neg34.7%
*-commutative34.7%
Simplified34.7%
Taylor expanded in y0 around -inf 80.1%
+-commutative80.1%
mul-1-neg80.1%
*-commutative80.1%
unsub-neg80.1%
Simplified80.1%
if -4.3999999999999998e-286 < c < 6.2e-114Initial program 37.4%
Taylor expanded in k around inf 57.7%
sub-neg57.7%
+-commutative57.7%
mul-1-neg57.7%
unsub-neg57.7%
*-commutative57.7%
mul-1-neg57.7%
remove-double-neg57.7%
Simplified57.7%
if 6.2e-114 < c < 2.4499999999999999e-84Initial program 10.8%
Taylor expanded in a around -inf 70.1%
mul-1-neg70.1%
*-commutative70.1%
distribute-rgt-neg-in70.1%
Simplified70.1%
Taylor expanded in y around inf 70.4%
+-commutative70.4%
mul-1-neg70.4%
unsub-neg70.4%
*-commutative70.4%
Simplified70.4%
Final simplification59.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* x y2) (* z y3)))
(t_2 (- (* t y2) (* y y3)))
(t_3 (* c (- (+ (* y0 t_1) (* i (- (* z t) (* x y)))) (* y4 t_2))))
(t_4 (- (* k y2) (* j y3))))
(if (<= c -1.15e+87)
t_3
(if (<= c -3.5e+38)
(* (* b j) (- (* t y4) (* x y0)))
(if (<= c -7.6e+29)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= c -8e-175)
(* y1 (+ (* i (- (* x j) (* z k))) (- (* y4 t_4) (* a t_1))))
(if (<= c 5e-159)
(*
k
(+
(+ (* y2 (- (* y1 y4) (* y0 y5))) (* y (- (* i y5) (* b y4))))
(* z (- (* b y0) (* i y1)))))
(if (<= c 3e+14)
(*
a
(+
(* y5 t_2)
(+ (* b (- (* x y) (* z t))) (* y1 (- (* z y3) (* x y2))))))
(if (<= c 7.2e+74)
(* y4 (- (+ (* b (- (* t j) (* y k))) (* y1 t_4)) (* c t_2)))
(if (<= c 7.6e+74) (* a (* y5 (* y3 (- y)))) t_3))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * y2) - (z * y3);
double t_2 = (t * y2) - (y * y3);
double t_3 = c * (((y0 * t_1) + (i * ((z * t) - (x * y)))) - (y4 * t_2));
double t_4 = (k * y2) - (j * y3);
double tmp;
if (c <= -1.15e+87) {
tmp = t_3;
} else if (c <= -3.5e+38) {
tmp = (b * j) * ((t * y4) - (x * y0));
} else if (c <= -7.6e+29) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (c <= -8e-175) {
tmp = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_4) - (a * t_1)));
} else if (c <= 5e-159) {
tmp = k * (((y2 * ((y1 * y4) - (y0 * y5))) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1))));
} else if (c <= 3e+14) {
tmp = a * ((y5 * t_2) + ((b * ((x * y) - (z * t))) + (y1 * ((z * y3) - (x * y2)))));
} else if (c <= 7.2e+74) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_4)) - (c * t_2));
} else if (c <= 7.6e+74) {
tmp = a * (y5 * (y3 * -y));
} else {
tmp = t_3;
}
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_2
real(8) :: t_3
real(8) :: t_4
real(8) :: tmp
t_1 = (x * y2) - (z * y3)
t_2 = (t * y2) - (y * y3)
t_3 = c * (((y0 * t_1) + (i * ((z * t) - (x * y)))) - (y4 * t_2))
t_4 = (k * y2) - (j * y3)
if (c <= (-1.15d+87)) then
tmp = t_3
else if (c <= (-3.5d+38)) then
tmp = (b * j) * ((t * y4) - (x * y0))
else if (c <= (-7.6d+29)) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (c <= (-8d-175)) then
tmp = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_4) - (a * t_1)))
else if (c <= 5d-159) then
tmp = k * (((y2 * ((y1 * y4) - (y0 * y5))) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1))))
else if (c <= 3d+14) then
tmp = a * ((y5 * t_2) + ((b * ((x * y) - (z * t))) + (y1 * ((z * y3) - (x * y2)))))
else if (c <= 7.2d+74) then
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_4)) - (c * t_2))
else if (c <= 7.6d+74) then
tmp = a * (y5 * (y3 * -y))
else
tmp = t_3
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 = (x * y2) - (z * y3);
double t_2 = (t * y2) - (y * y3);
double t_3 = c * (((y0 * t_1) + (i * ((z * t) - (x * y)))) - (y4 * t_2));
double t_4 = (k * y2) - (j * y3);
double tmp;
if (c <= -1.15e+87) {
tmp = t_3;
} else if (c <= -3.5e+38) {
tmp = (b * j) * ((t * y4) - (x * y0));
} else if (c <= -7.6e+29) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (c <= -8e-175) {
tmp = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_4) - (a * t_1)));
} else if (c <= 5e-159) {
tmp = k * (((y2 * ((y1 * y4) - (y0 * y5))) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1))));
} else if (c <= 3e+14) {
tmp = a * ((y5 * t_2) + ((b * ((x * y) - (z * t))) + (y1 * ((z * y3) - (x * y2)))));
} else if (c <= 7.2e+74) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_4)) - (c * t_2));
} else if (c <= 7.6e+74) {
tmp = a * (y5 * (y3 * -y));
} else {
tmp = t_3;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (x * y2) - (z * y3) t_2 = (t * y2) - (y * y3) t_3 = c * (((y0 * t_1) + (i * ((z * t) - (x * y)))) - (y4 * t_2)) t_4 = (k * y2) - (j * y3) tmp = 0 if c <= -1.15e+87: tmp = t_3 elif c <= -3.5e+38: tmp = (b * j) * ((t * y4) - (x * y0)) elif c <= -7.6e+29: tmp = c * (y4 * ((y * y3) - (t * y2))) elif c <= -8e-175: tmp = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_4) - (a * t_1))) elif c <= 5e-159: tmp = k * (((y2 * ((y1 * y4) - (y0 * y5))) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1)))) elif c <= 3e+14: tmp = a * ((y5 * t_2) + ((b * ((x * y) - (z * t))) + (y1 * ((z * y3) - (x * y2))))) elif c <= 7.2e+74: tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_4)) - (c * t_2)) elif c <= 7.6e+74: tmp = a * (y5 * (y3 * -y)) else: tmp = t_3 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(x * y2) - Float64(z * y3)) t_2 = Float64(Float64(t * y2) - Float64(y * y3)) t_3 = Float64(c * Float64(Float64(Float64(y0 * t_1) + Float64(i * Float64(Float64(z * t) - Float64(x * y)))) - Float64(y4 * t_2))) t_4 = Float64(Float64(k * y2) - Float64(j * y3)) tmp = 0.0 if (c <= -1.15e+87) tmp = t_3; elseif (c <= -3.5e+38) tmp = Float64(Float64(b * j) * Float64(Float64(t * y4) - Float64(x * y0))); elseif (c <= -7.6e+29) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (c <= -8e-175) tmp = Float64(y1 * Float64(Float64(i * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(y4 * t_4) - Float64(a * t_1)))); elseif (c <= 5e-159) tmp = Float64(k * Float64(Float64(Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))) + Float64(z * Float64(Float64(b * y0) - Float64(i * y1))))); elseif (c <= 3e+14) tmp = Float64(a * Float64(Float64(y5 * t_2) + Float64(Float64(b * Float64(Float64(x * y) - Float64(z * t))) + Float64(y1 * Float64(Float64(z * y3) - Float64(x * y2)))))); elseif (c <= 7.2e+74) tmp = Float64(y4 * Float64(Float64(Float64(b * Float64(Float64(t * j) - Float64(y * k))) + Float64(y1 * t_4)) - Float64(c * t_2))); elseif (c <= 7.6e+74) tmp = Float64(a * Float64(y5 * Float64(y3 * Float64(-y)))); else tmp = t_3; 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 = (x * y2) - (z * y3); t_2 = (t * y2) - (y * y3); t_3 = c * (((y0 * t_1) + (i * ((z * t) - (x * y)))) - (y4 * t_2)); t_4 = (k * y2) - (j * y3); tmp = 0.0; if (c <= -1.15e+87) tmp = t_3; elseif (c <= -3.5e+38) tmp = (b * j) * ((t * y4) - (x * y0)); elseif (c <= -7.6e+29) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (c <= -8e-175) tmp = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_4) - (a * t_1))); elseif (c <= 5e-159) tmp = k * (((y2 * ((y1 * y4) - (y0 * y5))) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1)))); elseif (c <= 3e+14) tmp = a * ((y5 * t_2) + ((b * ((x * y) - (z * t))) + (y1 * ((z * y3) - (x * y2))))); elseif (c <= 7.2e+74) tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_4)) - (c * t_2)); elseif (c <= 7.6e+74) tmp = a * (y5 * (y3 * -y)); else tmp = t_3; 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[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(c * N[(N[(N[(y0 * t$95$1), $MachinePrecision] + N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y4 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -1.15e+87], t$95$3, If[LessEqual[c, -3.5e+38], N[(N[(b * j), $MachinePrecision] * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -7.6e+29], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -8e-175], N[(y1 * N[(N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y4 * t$95$4), $MachinePrecision] - N[(a * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 5e-159], N[(k * N[(N[(N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 3e+14], N[(a * N[(N[(y5 * t$95$2), $MachinePrecision] + N[(N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 7.2e+74], N[(y4 * N[(N[(N[(b * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * t$95$4), $MachinePrecision]), $MachinePrecision] - N[(c * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 7.6e+74], N[(a * N[(y5 * N[(y3 * (-y)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$3]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot y2 - z \cdot y3\\
t_2 := t \cdot y2 - y \cdot y3\\
t_3 := c \cdot \left(\left(y0 \cdot t_1 + i \cdot \left(z \cdot t - x \cdot y\right)\right) - y4 \cdot t_2\right)\\
t_4 := k \cdot y2 - j \cdot y3\\
\mathbf{if}\;c \leq -1.15 \cdot 10^{+87}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;c \leq -3.5 \cdot 10^{+38}:\\
\;\;\;\;\left(b \cdot j\right) \cdot \left(t \cdot y4 - x \cdot y0\right)\\
\mathbf{elif}\;c \leq -7.6 \cdot 10^{+29}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;c \leq -8 \cdot 10^{-175}:\\
\;\;\;\;y1 \cdot \left(i \cdot \left(x \cdot j - z \cdot k\right) + \left(y4 \cdot t_4 - a \cdot t_1\right)\right)\\
\mathbf{elif}\;c \leq 5 \cdot 10^{-159}:\\
\;\;\;\;k \cdot \left(\left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + y \cdot \left(i \cdot y5 - b \cdot y4\right)\right) + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
\mathbf{elif}\;c \leq 3 \cdot 10^{+14}:\\
\;\;\;\;a \cdot \left(y5 \cdot t_2 + \left(b \cdot \left(x \cdot y - z \cdot t\right) + y1 \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\right)\\
\mathbf{elif}\;c \leq 7.2 \cdot 10^{+74}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot \left(t \cdot j - y \cdot k\right) + y1 \cdot t_4\right) - c \cdot t_2\right)\\
\mathbf{elif}\;c \leq 7.6 \cdot 10^{+74}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(y3 \cdot \left(-y\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_3\\
\end{array}
\end{array}
if c < -1.1500000000000001e87 or 7.5999999999999997e74 < c Initial program 25.3%
Taylor expanded in c around inf 68.2%
+-commutative68.2%
mul-1-neg68.2%
unsub-neg68.2%
*-commutative68.2%
*-commutative68.2%
*-commutative68.2%
*-commutative68.2%
Simplified68.2%
if -1.1500000000000001e87 < c < -3.50000000000000002e38Initial program 12.5%
Taylor expanded in b around inf 25.0%
Taylor expanded in j around inf 75.7%
associate-*r*75.7%
*-commutative75.7%
Simplified75.7%
if -3.50000000000000002e38 < c < -7.59999999999999942e29Initial program 0.0%
Taylor expanded in c around inf 68.7%
+-commutative68.7%
mul-1-neg68.7%
unsub-neg68.7%
*-commutative68.7%
*-commutative68.7%
*-commutative68.7%
*-commutative68.7%
Simplified68.7%
Taylor expanded in y4 around inf 100.0%
*-commutative100.0%
*-commutative100.0%
Simplified100.0%
if -7.59999999999999942e29 < c < -8e-175Initial program 39.6%
Taylor expanded in y1 around -inf 50.7%
mul-1-neg50.7%
distribute-rgt-neg-in50.7%
+-commutative50.7%
mul-1-neg50.7%
unsub-neg50.7%
*-commutative50.7%
*-commutative50.7%
*-commutative50.7%
Simplified50.7%
if -8e-175 < c < 5.00000000000000032e-159Initial program 32.7%
Taylor expanded in k around inf 55.0%
sub-neg55.0%
+-commutative55.0%
mul-1-neg55.0%
unsub-neg55.0%
*-commutative55.0%
mul-1-neg55.0%
remove-double-neg55.0%
Simplified55.0%
if 5.00000000000000032e-159 < c < 3e14Initial program 35.2%
Taylor expanded in a around -inf 61.3%
mul-1-neg61.3%
*-commutative61.3%
distribute-rgt-neg-in61.3%
Simplified61.3%
if 3e14 < c < 7.19999999999999975e74Initial program 55.4%
Taylor expanded in y4 around inf 88.7%
if 7.19999999999999975e74 < c < 7.5999999999999997e74Initial program 0.0%
Taylor expanded in a around -inf 100.0%
mul-1-neg100.0%
*-commutative100.0%
distribute-rgt-neg-in100.0%
Simplified100.0%
Taylor expanded in y around inf 6.6%
+-commutative6.6%
mul-1-neg6.6%
unsub-neg6.6%
*-commutative6.6%
Simplified6.6%
Taylor expanded in x around 0 6.6%
mul-1-neg6.6%
associate-*r*100.0%
Simplified100.0%
Final simplification62.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* z t) (* x y)))
(t_2
(*
k
(+
(+ (* y2 (- (* y1 y4) (* y0 y5))) (* y (- (* i y5) (* b y4))))
(* z (- (* b y0) (* i y1))))))
(t_3 (- (* x y2) (* z y3)))
(t_4 (- (* t y2) (* y y3)))
(t_5 (* c (- (+ (* y0 t_3) (* i t_1)) (* y4 t_4))))
(t_6 (- (* z k) (* x j))))
(if (<= y0 -2.9e+176)
t_5
(if (<= y0 -7.2e-63)
t_2
(if (<= y0 -2.1e-95)
(* a (* y5 t_4))
(if (<= y0 -1.85e-224)
t_2
(if (<= y0 2.6e-247)
(*
b
(+
(+ (* a (- (* x y) (* z t))) (* y4 (- (* t j) (* y k))))
(* y0 t_6)))
(if (<= y0 8e-104)
(*
i
(+
(* y1 (- (* x j) (* z k)))
(+ (* c t_1) (* y5 (- (* y k) (* t j))))))
(if (<= y0 2.2e-6)
t_5
(if (<= y0 1.05e+28)
(*
x
(+
(+ (* y (- (* a b) (* c i))) (* y2 (- (* c y0) (* a y1))))
(* j (- (* i y1) (* b y0)))))
(*
y0
(+
(+ (* c t_3) (* y5 (- (* j y3) (* k y2))))
(* b t_6)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (z * t) - (x * y);
double t_2 = k * (((y2 * ((y1 * y4) - (y0 * y5))) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1))));
double t_3 = (x * y2) - (z * y3);
double t_4 = (t * y2) - (y * y3);
double t_5 = c * (((y0 * t_3) + (i * t_1)) - (y4 * t_4));
double t_6 = (z * k) - (x * j);
double tmp;
if (y0 <= -2.9e+176) {
tmp = t_5;
} else if (y0 <= -7.2e-63) {
tmp = t_2;
} else if (y0 <= -2.1e-95) {
tmp = a * (y5 * t_4);
} else if (y0 <= -1.85e-224) {
tmp = t_2;
} else if (y0 <= 2.6e-247) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_6));
} else if (y0 <= 8e-104) {
tmp = i * ((y1 * ((x * j) - (z * k))) + ((c * t_1) + (y5 * ((y * k) - (t * j)))));
} else if (y0 <= 2.2e-6) {
tmp = t_5;
} else if (y0 <= 1.05e+28) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
} else {
tmp = y0 * (((c * t_3) + (y5 * ((j * y3) - (k * y2)))) + (b * t_6));
}
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_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: t_6
real(8) :: tmp
t_1 = (z * t) - (x * y)
t_2 = k * (((y2 * ((y1 * y4) - (y0 * y5))) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1))))
t_3 = (x * y2) - (z * y3)
t_4 = (t * y2) - (y * y3)
t_5 = c * (((y0 * t_3) + (i * t_1)) - (y4 * t_4))
t_6 = (z * k) - (x * j)
if (y0 <= (-2.9d+176)) then
tmp = t_5
else if (y0 <= (-7.2d-63)) then
tmp = t_2
else if (y0 <= (-2.1d-95)) then
tmp = a * (y5 * t_4)
else if (y0 <= (-1.85d-224)) then
tmp = t_2
else if (y0 <= 2.6d-247) then
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_6))
else if (y0 <= 8d-104) then
tmp = i * ((y1 * ((x * j) - (z * k))) + ((c * t_1) + (y5 * ((y * k) - (t * j)))))
else if (y0 <= 2.2d-6) then
tmp = t_5
else if (y0 <= 1.05d+28) then
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
else
tmp = y0 * (((c * t_3) + (y5 * ((j * y3) - (k * y2)))) + (b * t_6))
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 = (z * t) - (x * y);
double t_2 = k * (((y2 * ((y1 * y4) - (y0 * y5))) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1))));
double t_3 = (x * y2) - (z * y3);
double t_4 = (t * y2) - (y * y3);
double t_5 = c * (((y0 * t_3) + (i * t_1)) - (y4 * t_4));
double t_6 = (z * k) - (x * j);
double tmp;
if (y0 <= -2.9e+176) {
tmp = t_5;
} else if (y0 <= -7.2e-63) {
tmp = t_2;
} else if (y0 <= -2.1e-95) {
tmp = a * (y5 * t_4);
} else if (y0 <= -1.85e-224) {
tmp = t_2;
} else if (y0 <= 2.6e-247) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_6));
} else if (y0 <= 8e-104) {
tmp = i * ((y1 * ((x * j) - (z * k))) + ((c * t_1) + (y5 * ((y * k) - (t * j)))));
} else if (y0 <= 2.2e-6) {
tmp = t_5;
} else if (y0 <= 1.05e+28) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
} else {
tmp = y0 * (((c * t_3) + (y5 * ((j * y3) - (k * y2)))) + (b * t_6));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (z * t) - (x * y) t_2 = k * (((y2 * ((y1 * y4) - (y0 * y5))) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1)))) t_3 = (x * y2) - (z * y3) t_4 = (t * y2) - (y * y3) t_5 = c * (((y0 * t_3) + (i * t_1)) - (y4 * t_4)) t_6 = (z * k) - (x * j) tmp = 0 if y0 <= -2.9e+176: tmp = t_5 elif y0 <= -7.2e-63: tmp = t_2 elif y0 <= -2.1e-95: tmp = a * (y5 * t_4) elif y0 <= -1.85e-224: tmp = t_2 elif y0 <= 2.6e-247: tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_6)) elif y0 <= 8e-104: tmp = i * ((y1 * ((x * j) - (z * k))) + ((c * t_1) + (y5 * ((y * k) - (t * j))))) elif y0 <= 2.2e-6: tmp = t_5 elif y0 <= 1.05e+28: tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))) else: tmp = y0 * (((c * t_3) + (y5 * ((j * y3) - (k * y2)))) + (b * t_6)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(z * t) - Float64(x * y)) t_2 = Float64(k * Float64(Float64(Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))) + Float64(z * Float64(Float64(b * y0) - Float64(i * y1))))) t_3 = Float64(Float64(x * y2) - Float64(z * y3)) t_4 = Float64(Float64(t * y2) - Float64(y * y3)) t_5 = Float64(c * Float64(Float64(Float64(y0 * t_3) + Float64(i * t_1)) - Float64(y4 * t_4))) t_6 = Float64(Float64(z * k) - Float64(x * j)) tmp = 0.0 if (y0 <= -2.9e+176) tmp = t_5; elseif (y0 <= -7.2e-63) tmp = t_2; elseif (y0 <= -2.1e-95) tmp = Float64(a * Float64(y5 * t_4)); elseif (y0 <= -1.85e-224) tmp = t_2; elseif (y0 <= 2.6e-247) tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(y0 * t_6))); elseif (y0 <= 8e-104) tmp = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(c * t_1) + Float64(y5 * Float64(Float64(y * k) - Float64(t * j)))))); elseif (y0 <= 2.2e-6) tmp = t_5; elseif (y0 <= 1.05e+28) tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))); else tmp = Float64(y0 * Float64(Float64(Float64(c * t_3) + Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2)))) + Float64(b * t_6))); 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 = (z * t) - (x * y); t_2 = k * (((y2 * ((y1 * y4) - (y0 * y5))) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1)))); t_3 = (x * y2) - (z * y3); t_4 = (t * y2) - (y * y3); t_5 = c * (((y0 * t_3) + (i * t_1)) - (y4 * t_4)); t_6 = (z * k) - (x * j); tmp = 0.0; if (y0 <= -2.9e+176) tmp = t_5; elseif (y0 <= -7.2e-63) tmp = t_2; elseif (y0 <= -2.1e-95) tmp = a * (y5 * t_4); elseif (y0 <= -1.85e-224) tmp = t_2; elseif (y0 <= 2.6e-247) tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_6)); elseif (y0 <= 8e-104) tmp = i * ((y1 * ((x * j) - (z * k))) + ((c * t_1) + (y5 * ((y * k) - (t * j))))); elseif (y0 <= 2.2e-6) tmp = t_5; elseif (y0 <= 1.05e+28) tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))); else tmp = y0 * (((c * t_3) + (y5 * ((j * y3) - (k * y2)))) + (b * t_6)); 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[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(k * N[(N[(N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(c * N[(N[(N[(y0 * t$95$3), $MachinePrecision] + N[(i * t$95$1), $MachinePrecision]), $MachinePrecision] - N[(y4 * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -2.9e+176], t$95$5, If[LessEqual[y0, -7.2e-63], t$95$2, If[LessEqual[y0, -2.1e-95], N[(a * N[(y5 * t$95$4), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -1.85e-224], t$95$2, If[LessEqual[y0, 2.6e-247], N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * t$95$6), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 8e-104], N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(c * t$95$1), $MachinePrecision] + N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 2.2e-6], t$95$5, If[LessEqual[y0, 1.05e+28], N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y0 * N[(N[(N[(c * t$95$3), $MachinePrecision] + N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * t$95$6), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := z \cdot t - x \cdot y\\
t_2 := k \cdot \left(\left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + y \cdot \left(i \cdot y5 - b \cdot y4\right)\right) + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
t_3 := x \cdot y2 - z \cdot y3\\
t_4 := t \cdot y2 - y \cdot y3\\
t_5 := c \cdot \left(\left(y0 \cdot t_3 + i \cdot t_1\right) - y4 \cdot t_4\right)\\
t_6 := z \cdot k - x \cdot j\\
\mathbf{if}\;y0 \leq -2.9 \cdot 10^{+176}:\\
\;\;\;\;t_5\\
\mathbf{elif}\;y0 \leq -7.2 \cdot 10^{-63}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;y0 \leq -2.1 \cdot 10^{-95}:\\
\;\;\;\;a \cdot \left(y5 \cdot t_4\right)\\
\mathbf{elif}\;y0 \leq -1.85 \cdot 10^{-224}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;y0 \leq 2.6 \cdot 10^{-247}:\\
\;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot t_6\right)\\
\mathbf{elif}\;y0 \leq 8 \cdot 10^{-104}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + \left(c \cdot t_1 + y5 \cdot \left(y \cdot k - t \cdot j\right)\right)\right)\\
\mathbf{elif}\;y0 \leq 2.2 \cdot 10^{-6}:\\
\;\;\;\;t_5\\
\mathbf{elif}\;y0 \leq 1.05 \cdot 10^{+28}:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(\left(c \cdot t_3 + y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right) + b \cdot t_6\right)\\
\end{array}
\end{array}
if y0 < -2.9000000000000001e176 or 7.99999999999999941e-104 < y0 < 2.2000000000000001e-6Initial program 21.7%
Taylor expanded in c around inf 59.6%
+-commutative59.6%
mul-1-neg59.6%
unsub-neg59.6%
*-commutative59.6%
*-commutative59.6%
*-commutative59.6%
*-commutative59.6%
Simplified59.6%
if -2.9000000000000001e176 < y0 < -7.20000000000000016e-63 or -2.1e-95 < y0 < -1.8500000000000001e-224Initial program 32.0%
Taylor expanded in k around inf 60.0%
sub-neg60.0%
+-commutative60.0%
mul-1-neg60.0%
unsub-neg60.0%
*-commutative60.0%
mul-1-neg60.0%
remove-double-neg60.0%
Simplified60.0%
if -7.20000000000000016e-63 < y0 < -2.1e-95Initial program 27.3%
Taylor expanded in a around -inf 63.7%
mul-1-neg63.7%
*-commutative63.7%
distribute-rgt-neg-in63.7%
Simplified63.7%
Taylor expanded in y5 around -inf 72.8%
*-commutative72.8%
*-commutative72.8%
Simplified72.8%
if -1.8500000000000001e-224 < y0 < 2.6e-247Initial program 43.8%
Taylor expanded in b around inf 50.8%
if 2.6e-247 < y0 < 7.99999999999999941e-104Initial program 34.6%
Taylor expanded in i around -inf 65.6%
if 2.2000000000000001e-6 < y0 < 1.04999999999999995e28Initial program 27.3%
Taylor expanded in x around inf 73.3%
if 1.04999999999999995e28 < y0 Initial program 33.6%
Taylor expanded in y0 around inf 61.6%
+-commutative61.6%
mul-1-neg61.6%
unsub-neg61.6%
*-commutative61.6%
*-commutative61.6%
*-commutative61.6%
*-commutative61.6%
Simplified61.6%
Final simplification60.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* x y2) (* z y3)))
(t_2 (- (* t y2) (* y y3)))
(t_3 (* c (- (+ (* y0 t_1) (* i (- (* z t) (* x y)))) (* y4 t_2))))
(t_4 (- (* k y2) (* j y3))))
(if (<= c -1.05e+85)
t_3
(if (<= c -3.8e+39)
(* (* b j) (- (* t y4) (* x y0)))
(if (<= c -2.6e+31)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= c -7.2e-178)
(* y1 (+ (* i (- (* x j) (* z k))) (- (* y4 t_4) (* a t_1))))
(if (<= c 4.7e-116)
(*
k
(+
(+ (* y2 (- (* y1 y4) (* y0 y5))) (* y (- (* i y5) (* b y4))))
(* z (- (* b y0) (* i y1)))))
(if (<= c 3.9e-23)
(* a (* y3 (- (* z y1) (* y y5))))
(if (<= c 7e+71)
(* y4 (- (+ (* b (- (* t j) (* y k))) (* y1 t_4)) (* c t_2)))
t_3)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * y2) - (z * y3);
double t_2 = (t * y2) - (y * y3);
double t_3 = c * (((y0 * t_1) + (i * ((z * t) - (x * y)))) - (y4 * t_2));
double t_4 = (k * y2) - (j * y3);
double tmp;
if (c <= -1.05e+85) {
tmp = t_3;
} else if (c <= -3.8e+39) {
tmp = (b * j) * ((t * y4) - (x * y0));
} else if (c <= -2.6e+31) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (c <= -7.2e-178) {
tmp = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_4) - (a * t_1)));
} else if (c <= 4.7e-116) {
tmp = k * (((y2 * ((y1 * y4) - (y0 * y5))) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1))));
} else if (c <= 3.9e-23) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else if (c <= 7e+71) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_4)) - (c * t_2));
} else {
tmp = t_3;
}
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_2
real(8) :: t_3
real(8) :: t_4
real(8) :: tmp
t_1 = (x * y2) - (z * y3)
t_2 = (t * y2) - (y * y3)
t_3 = c * (((y0 * t_1) + (i * ((z * t) - (x * y)))) - (y4 * t_2))
t_4 = (k * y2) - (j * y3)
if (c <= (-1.05d+85)) then
tmp = t_3
else if (c <= (-3.8d+39)) then
tmp = (b * j) * ((t * y4) - (x * y0))
else if (c <= (-2.6d+31)) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (c <= (-7.2d-178)) then
tmp = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_4) - (a * t_1)))
else if (c <= 4.7d-116) then
tmp = k * (((y2 * ((y1 * y4) - (y0 * y5))) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1))))
else if (c <= 3.9d-23) then
tmp = a * (y3 * ((z * y1) - (y * y5)))
else if (c <= 7d+71) then
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_4)) - (c * t_2))
else
tmp = t_3
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 = (x * y2) - (z * y3);
double t_2 = (t * y2) - (y * y3);
double t_3 = c * (((y0 * t_1) + (i * ((z * t) - (x * y)))) - (y4 * t_2));
double t_4 = (k * y2) - (j * y3);
double tmp;
if (c <= -1.05e+85) {
tmp = t_3;
} else if (c <= -3.8e+39) {
tmp = (b * j) * ((t * y4) - (x * y0));
} else if (c <= -2.6e+31) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (c <= -7.2e-178) {
tmp = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_4) - (a * t_1)));
} else if (c <= 4.7e-116) {
tmp = k * (((y2 * ((y1 * y4) - (y0 * y5))) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1))));
} else if (c <= 3.9e-23) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else if (c <= 7e+71) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_4)) - (c * t_2));
} else {
tmp = t_3;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (x * y2) - (z * y3) t_2 = (t * y2) - (y * y3) t_3 = c * (((y0 * t_1) + (i * ((z * t) - (x * y)))) - (y4 * t_2)) t_4 = (k * y2) - (j * y3) tmp = 0 if c <= -1.05e+85: tmp = t_3 elif c <= -3.8e+39: tmp = (b * j) * ((t * y4) - (x * y0)) elif c <= -2.6e+31: tmp = c * (y4 * ((y * y3) - (t * y2))) elif c <= -7.2e-178: tmp = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_4) - (a * t_1))) elif c <= 4.7e-116: tmp = k * (((y2 * ((y1 * y4) - (y0 * y5))) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1)))) elif c <= 3.9e-23: tmp = a * (y3 * ((z * y1) - (y * y5))) elif c <= 7e+71: tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_4)) - (c * t_2)) else: tmp = t_3 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(x * y2) - Float64(z * y3)) t_2 = Float64(Float64(t * y2) - Float64(y * y3)) t_3 = Float64(c * Float64(Float64(Float64(y0 * t_1) + Float64(i * Float64(Float64(z * t) - Float64(x * y)))) - Float64(y4 * t_2))) t_4 = Float64(Float64(k * y2) - Float64(j * y3)) tmp = 0.0 if (c <= -1.05e+85) tmp = t_3; elseif (c <= -3.8e+39) tmp = Float64(Float64(b * j) * Float64(Float64(t * y4) - Float64(x * y0))); elseif (c <= -2.6e+31) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (c <= -7.2e-178) tmp = Float64(y1 * Float64(Float64(i * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(y4 * t_4) - Float64(a * t_1)))); elseif (c <= 4.7e-116) tmp = Float64(k * Float64(Float64(Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))) + Float64(z * Float64(Float64(b * y0) - Float64(i * y1))))); elseif (c <= 3.9e-23) tmp = Float64(a * Float64(y3 * Float64(Float64(z * y1) - Float64(y * y5)))); elseif (c <= 7e+71) tmp = Float64(y4 * Float64(Float64(Float64(b * Float64(Float64(t * j) - Float64(y * k))) + Float64(y1 * t_4)) - Float64(c * t_2))); else tmp = t_3; 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 = (x * y2) - (z * y3); t_2 = (t * y2) - (y * y3); t_3 = c * (((y0 * t_1) + (i * ((z * t) - (x * y)))) - (y4 * t_2)); t_4 = (k * y2) - (j * y3); tmp = 0.0; if (c <= -1.05e+85) tmp = t_3; elseif (c <= -3.8e+39) tmp = (b * j) * ((t * y4) - (x * y0)); elseif (c <= -2.6e+31) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (c <= -7.2e-178) tmp = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_4) - (a * t_1))); elseif (c <= 4.7e-116) tmp = k * (((y2 * ((y1 * y4) - (y0 * y5))) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1)))); elseif (c <= 3.9e-23) tmp = a * (y3 * ((z * y1) - (y * y5))); elseif (c <= 7e+71) tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_4)) - (c * t_2)); else tmp = t_3; 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[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(c * N[(N[(N[(y0 * t$95$1), $MachinePrecision] + N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y4 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -1.05e+85], t$95$3, If[LessEqual[c, -3.8e+39], N[(N[(b * j), $MachinePrecision] * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -2.6e+31], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -7.2e-178], N[(y1 * N[(N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y4 * t$95$4), $MachinePrecision] - N[(a * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 4.7e-116], N[(k * N[(N[(N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 3.9e-23], N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 7e+71], N[(y4 * N[(N[(N[(b * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * t$95$4), $MachinePrecision]), $MachinePrecision] - N[(c * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$3]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot y2 - z \cdot y3\\
t_2 := t \cdot y2 - y \cdot y3\\
t_3 := c \cdot \left(\left(y0 \cdot t_1 + i \cdot \left(z \cdot t - x \cdot y\right)\right) - y4 \cdot t_2\right)\\
t_4 := k \cdot y2 - j \cdot y3\\
\mathbf{if}\;c \leq -1.05 \cdot 10^{+85}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;c \leq -3.8 \cdot 10^{+39}:\\
\;\;\;\;\left(b \cdot j\right) \cdot \left(t \cdot y4 - x \cdot y0\right)\\
\mathbf{elif}\;c \leq -2.6 \cdot 10^{+31}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;c \leq -7.2 \cdot 10^{-178}:\\
\;\;\;\;y1 \cdot \left(i \cdot \left(x \cdot j - z \cdot k\right) + \left(y4 \cdot t_4 - a \cdot t_1\right)\right)\\
\mathbf{elif}\;c \leq 4.7 \cdot 10^{-116}:\\
\;\;\;\;k \cdot \left(\left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + y \cdot \left(i \cdot y5 - b \cdot y4\right)\right) + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
\mathbf{elif}\;c \leq 3.9 \cdot 10^{-23}:\\
\;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\
\mathbf{elif}\;c \leq 7 \cdot 10^{+71}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot \left(t \cdot j - y \cdot k\right) + y1 \cdot t_4\right) - c \cdot t_2\right)\\
\mathbf{else}:\\
\;\;\;\;t_3\\
\end{array}
\end{array}
if c < -1.05000000000000005e85 or 6.9999999999999998e71 < c Initial program 25.1%
Taylor expanded in c around inf 67.5%
+-commutative67.5%
mul-1-neg67.5%
unsub-neg67.5%
*-commutative67.5%
*-commutative67.5%
*-commutative67.5%
*-commutative67.5%
Simplified67.5%
if -1.05000000000000005e85 < c < -3.7999999999999998e39Initial program 12.5%
Taylor expanded in b around inf 25.0%
Taylor expanded in j around inf 75.7%
associate-*r*75.7%
*-commutative75.7%
Simplified75.7%
if -3.7999999999999998e39 < c < -2.6e31Initial program 0.0%
Taylor expanded in c around inf 68.7%
+-commutative68.7%
mul-1-neg68.7%
unsub-neg68.7%
*-commutative68.7%
*-commutative68.7%
*-commutative68.7%
*-commutative68.7%
Simplified68.7%
Taylor expanded in y4 around inf 100.0%
*-commutative100.0%
*-commutative100.0%
Simplified100.0%
if -2.6e31 < c < -7.19999999999999987e-178Initial program 39.6%
Taylor expanded in y1 around -inf 50.7%
mul-1-neg50.7%
distribute-rgt-neg-in50.7%
+-commutative50.7%
mul-1-neg50.7%
unsub-neg50.7%
*-commutative50.7%
*-commutative50.7%
*-commutative50.7%
Simplified50.7%
if -7.19999999999999987e-178 < c < 4.69999999999999994e-116Initial program 33.3%
Taylor expanded in k around inf 54.4%
sub-neg54.4%
+-commutative54.4%
mul-1-neg54.4%
unsub-neg54.4%
*-commutative54.4%
mul-1-neg54.4%
remove-double-neg54.4%
Simplified54.4%
if 4.69999999999999994e-116 < c < 3.9e-23Initial program 36.3%
Taylor expanded in a around -inf 58.2%
mul-1-neg58.2%
*-commutative58.2%
distribute-rgt-neg-in58.2%
Simplified58.2%
Taylor expanded in y3 around -inf 57.9%
if 3.9e-23 < c < 6.9999999999999998e71Initial program 43.6%
Taylor expanded in y4 around inf 62.9%
Final simplification60.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* x y2) (* z y3)))
(t_2 (- (* t y2) (* y y3)))
(t_3
(*
a
(+
(* y5 t_2)
(+ (* b (- (* x y) (* z t))) (* y1 (- (* z y3) (* x y2)))))))
(t_4 (* c (- (+ (* y0 t_1) (* i (- (* z t) (* x y)))) (* y4 t_2)))))
(if (<= a -1.4e+102)
t_3
(if (<= a -2.1e-293)
t_4
(if (<= a 7.2e-258)
(*
y1
(+
(* i (- (* x j) (* z k)))
(- (* y4 (- (* k y2) (* j y3))) (* a t_1))))
(if (<= a 4.4e-30)
t_4
(if (<= a 3.4e+105)
(*
y
(+
(+ (* k (- (* i y5) (* b y4))) (* x (- (* a b) (* c i))))
(* y3 (- (* c y4) (* a y5)))))
t_3)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * y2) - (z * y3);
double t_2 = (t * y2) - (y * y3);
double t_3 = a * ((y5 * t_2) + ((b * ((x * y) - (z * t))) + (y1 * ((z * y3) - (x * y2)))));
double t_4 = c * (((y0 * t_1) + (i * ((z * t) - (x * y)))) - (y4 * t_2));
double tmp;
if (a <= -1.4e+102) {
tmp = t_3;
} else if (a <= -2.1e-293) {
tmp = t_4;
} else if (a <= 7.2e-258) {
tmp = y1 * ((i * ((x * j) - (z * k))) + ((y4 * ((k * y2) - (j * y3))) - (a * t_1)));
} else if (a <= 4.4e-30) {
tmp = t_4;
} else if (a <= 3.4e+105) {
tmp = y * (((k * ((i * y5) - (b * y4))) + (x * ((a * b) - (c * i)))) + (y3 * ((c * y4) - (a * y5))));
} else {
tmp = t_3;
}
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_2
real(8) :: t_3
real(8) :: t_4
real(8) :: tmp
t_1 = (x * y2) - (z * y3)
t_2 = (t * y2) - (y * y3)
t_3 = a * ((y5 * t_2) + ((b * ((x * y) - (z * t))) + (y1 * ((z * y3) - (x * y2)))))
t_4 = c * (((y0 * t_1) + (i * ((z * t) - (x * y)))) - (y4 * t_2))
if (a <= (-1.4d+102)) then
tmp = t_3
else if (a <= (-2.1d-293)) then
tmp = t_4
else if (a <= 7.2d-258) then
tmp = y1 * ((i * ((x * j) - (z * k))) + ((y4 * ((k * y2) - (j * y3))) - (a * t_1)))
else if (a <= 4.4d-30) then
tmp = t_4
else if (a <= 3.4d+105) then
tmp = y * (((k * ((i * y5) - (b * y4))) + (x * ((a * b) - (c * i)))) + (y3 * ((c * y4) - (a * y5))))
else
tmp = t_3
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 = (x * y2) - (z * y3);
double t_2 = (t * y2) - (y * y3);
double t_3 = a * ((y5 * t_2) + ((b * ((x * y) - (z * t))) + (y1 * ((z * y3) - (x * y2)))));
double t_4 = c * (((y0 * t_1) + (i * ((z * t) - (x * y)))) - (y4 * t_2));
double tmp;
if (a <= -1.4e+102) {
tmp = t_3;
} else if (a <= -2.1e-293) {
tmp = t_4;
} else if (a <= 7.2e-258) {
tmp = y1 * ((i * ((x * j) - (z * k))) + ((y4 * ((k * y2) - (j * y3))) - (a * t_1)));
} else if (a <= 4.4e-30) {
tmp = t_4;
} else if (a <= 3.4e+105) {
tmp = y * (((k * ((i * y5) - (b * y4))) + (x * ((a * b) - (c * i)))) + (y3 * ((c * y4) - (a * y5))));
} else {
tmp = t_3;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (x * y2) - (z * y3) t_2 = (t * y2) - (y * y3) t_3 = a * ((y5 * t_2) + ((b * ((x * y) - (z * t))) + (y1 * ((z * y3) - (x * y2))))) t_4 = c * (((y0 * t_1) + (i * ((z * t) - (x * y)))) - (y4 * t_2)) tmp = 0 if a <= -1.4e+102: tmp = t_3 elif a <= -2.1e-293: tmp = t_4 elif a <= 7.2e-258: tmp = y1 * ((i * ((x * j) - (z * k))) + ((y4 * ((k * y2) - (j * y3))) - (a * t_1))) elif a <= 4.4e-30: tmp = t_4 elif a <= 3.4e+105: tmp = y * (((k * ((i * y5) - (b * y4))) + (x * ((a * b) - (c * i)))) + (y3 * ((c * y4) - (a * y5)))) else: tmp = t_3 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(x * y2) - Float64(z * y3)) t_2 = Float64(Float64(t * y2) - Float64(y * y3)) t_3 = Float64(a * Float64(Float64(y5 * t_2) + Float64(Float64(b * Float64(Float64(x * y) - Float64(z * t))) + Float64(y1 * Float64(Float64(z * y3) - Float64(x * y2)))))) t_4 = Float64(c * Float64(Float64(Float64(y0 * t_1) + Float64(i * Float64(Float64(z * t) - Float64(x * y)))) - Float64(y4 * t_2))) tmp = 0.0 if (a <= -1.4e+102) tmp = t_3; elseif (a <= -2.1e-293) tmp = t_4; elseif (a <= 7.2e-258) tmp = Float64(y1 * Float64(Float64(i * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3))) - Float64(a * t_1)))); elseif (a <= 4.4e-30) tmp = t_4; elseif (a <= 3.4e+105) tmp = Float64(y * Float64(Float64(Float64(k * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(x * Float64(Float64(a * b) - Float64(c * i)))) + Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5))))); else tmp = t_3; 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 = (x * y2) - (z * y3); t_2 = (t * y2) - (y * y3); t_3 = a * ((y5 * t_2) + ((b * ((x * y) - (z * t))) + (y1 * ((z * y3) - (x * y2))))); t_4 = c * (((y0 * t_1) + (i * ((z * t) - (x * y)))) - (y4 * t_2)); tmp = 0.0; if (a <= -1.4e+102) tmp = t_3; elseif (a <= -2.1e-293) tmp = t_4; elseif (a <= 7.2e-258) tmp = y1 * ((i * ((x * j) - (z * k))) + ((y4 * ((k * y2) - (j * y3))) - (a * t_1))); elseif (a <= 4.4e-30) tmp = t_4; elseif (a <= 3.4e+105) tmp = y * (((k * ((i * y5) - (b * y4))) + (x * ((a * b) - (c * i)))) + (y3 * ((c * y4) - (a * y5)))); else tmp = t_3; 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[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(a * N[(N[(y5 * t$95$2), $MachinePrecision] + N[(N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(c * N[(N[(N[(y0 * t$95$1), $MachinePrecision] + N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y4 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -1.4e+102], t$95$3, If[LessEqual[a, -2.1e-293], t$95$4, If[LessEqual[a, 7.2e-258], N[(y1 * N[(N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(a * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 4.4e-30], t$95$4, If[LessEqual[a, 3.4e+105], N[(y * N[(N[(N[(k * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$3]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot y2 - z \cdot y3\\
t_2 := t \cdot y2 - y \cdot y3\\
t_3 := a \cdot \left(y5 \cdot t_2 + \left(b \cdot \left(x \cdot y - z \cdot t\right) + y1 \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\right)\\
t_4 := c \cdot \left(\left(y0 \cdot t_1 + i \cdot \left(z \cdot t - x \cdot y\right)\right) - y4 \cdot t_2\right)\\
\mathbf{if}\;a \leq -1.4 \cdot 10^{+102}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;a \leq -2.1 \cdot 10^{-293}:\\
\;\;\;\;t_4\\
\mathbf{elif}\;a \leq 7.2 \cdot 10^{-258}:\\
\;\;\;\;y1 \cdot \left(i \cdot \left(x \cdot j - z \cdot k\right) + \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right) - a \cdot t_1\right)\right)\\
\mathbf{elif}\;a \leq 4.4 \cdot 10^{-30}:\\
\;\;\;\;t_4\\
\mathbf{elif}\;a \leq 3.4 \cdot 10^{+105}:\\
\;\;\;\;y \cdot \left(\left(k \cdot \left(i \cdot y5 - b \cdot y4\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) + y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_3\\
\end{array}
\end{array}
if a < -1.40000000000000009e102 or 3.3999999999999999e105 < a Initial program 20.7%
Taylor expanded in a around -inf 60.1%
mul-1-neg60.1%
*-commutative60.1%
distribute-rgt-neg-in60.1%
Simplified60.1%
if -1.40000000000000009e102 < a < -2.10000000000000005e-293 or 7.19999999999999958e-258 < a < 4.39999999999999967e-30Initial program 37.1%
Taylor expanded in c around inf 53.4%
+-commutative53.4%
mul-1-neg53.4%
unsub-neg53.4%
*-commutative53.4%
*-commutative53.4%
*-commutative53.4%
*-commutative53.4%
Simplified53.4%
if -2.10000000000000005e-293 < a < 7.19999999999999958e-258Initial program 54.5%
Taylor expanded in y1 around -inf 64.4%
mul-1-neg64.4%
distribute-rgt-neg-in64.4%
+-commutative64.4%
mul-1-neg64.4%
unsub-neg64.4%
*-commutative64.4%
*-commutative64.4%
*-commutative64.4%
Simplified64.4%
if 4.39999999999999967e-30 < a < 3.3999999999999999e105Initial program 32.1%
Taylor expanded in y around inf 68.1%
Final simplification57.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* t y2) (* y y3))))
(if (<= a -7.5e+137)
(* a (* y5 t_1))
(if (<= a 1.1e+149)
(*
c
(-
(+ (* y0 (- (* x y2) (* z y3))) (* i (- (* z t) (* x y))))
(* y4 t_1)))
(if (<= a 1.75e+196)
(* j (* x (- (* i y1) (* b y0))))
(*
b
(+
(+ (* a (- (* x y) (* z t))) (* y4 (- (* t j) (* y k))))
(* y0 (- (* z k) (* x j))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (t * y2) - (y * y3);
double tmp;
if (a <= -7.5e+137) {
tmp = a * (y5 * t_1);
} else if (a <= 1.1e+149) {
tmp = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) - (y4 * t_1));
} else if (a <= 1.75e+196) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = (t * y2) - (y * y3)
if (a <= (-7.5d+137)) then
tmp = a * (y5 * t_1)
else if (a <= 1.1d+149) then
tmp = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) - (y4 * t_1))
else if (a <= 1.75d+196) then
tmp = j * (x * ((i * y1) - (b * y0)))
else
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (t * y2) - (y * y3);
double tmp;
if (a <= -7.5e+137) {
tmp = a * (y5 * t_1);
} else if (a <= 1.1e+149) {
tmp = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) - (y4 * t_1));
} else if (a <= 1.75e+196) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (t * y2) - (y * y3) tmp = 0 if a <= -7.5e+137: tmp = a * (y5 * t_1) elif a <= 1.1e+149: tmp = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) - (y4 * t_1)) elif a <= 1.75e+196: tmp = j * (x * ((i * y1) - (b * y0))) else: tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(t * y2) - Float64(y * y3)) tmp = 0.0 if (a <= -7.5e+137) tmp = Float64(a * Float64(y5 * t_1)); elseif (a <= 1.1e+149) tmp = Float64(c * Float64(Float64(Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))) + Float64(i * Float64(Float64(z * t) - Float64(x * y)))) - Float64(y4 * t_1))); elseif (a <= 1.75e+196) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); else tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (t * y2) - (y * y3); tmp = 0.0; if (a <= -7.5e+137) tmp = a * (y5 * t_1); elseif (a <= 1.1e+149) tmp = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) - (y4 * t_1)); elseif (a <= 1.75e+196) tmp = j * (x * ((i * y1) - (b * y0))); else tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))); 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[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -7.5e+137], N[(a * N[(y5 * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.1e+149], N[(c * N[(N[(N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y4 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.75e+196], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot y2 - y \cdot y3\\
\mathbf{if}\;a \leq -7.5 \cdot 10^{+137}:\\
\;\;\;\;a \cdot \left(y5 \cdot t_1\right)\\
\mathbf{elif}\;a \leq 1.1 \cdot 10^{+149}:\\
\;\;\;\;c \cdot \left(\left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right) + i \cdot \left(z \cdot t - x \cdot y\right)\right) - y4 \cdot t_1\right)\\
\mathbf{elif}\;a \leq 1.75 \cdot 10^{+196}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\end{array}
\end{array}
if a < -7.50000000000000025e137Initial program 14.4%
Taylor expanded in a around -inf 63.1%
mul-1-neg63.1%
*-commutative63.1%
distribute-rgt-neg-in63.1%
Simplified63.1%
Taylor expanded in y5 around -inf 57.5%
*-commutative57.5%
*-commutative57.5%
Simplified57.5%
if -7.50000000000000025e137 < a < 1.1e149Initial program 35.9%
Taylor expanded in c around inf 50.3%
+-commutative50.3%
mul-1-neg50.3%
unsub-neg50.3%
*-commutative50.3%
*-commutative50.3%
*-commutative50.3%
*-commutative50.3%
Simplified50.3%
if 1.1e149 < a < 1.7499999999999999e196Initial program 18.2%
Taylor expanded in x around inf 9.3%
Taylor expanded in j around inf 82.1%
*-commutative82.1%
*-commutative82.1%
Simplified82.1%
if 1.7499999999999999e196 < a Initial program 28.0%
Taylor expanded in b around inf 60.3%
Final simplification53.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* k (* y2 (- (* y1 y4) (* y0 y5)))))
(t_2 (* t (- (* b y4) (* i y5))))
(t_3 (* j (+ t_2 (* x (- (* i y1) (* b y0)))))))
(if (<= y2 -4.1e+159)
t_1
(if (<= y2 -8e-212)
(*
b
(+
(+ (* a (- (* x y) (* z t))) (* y4 (- (* t j) (* y k))))
(* y0 (- (* z k) (* x j)))))
(if (<= y2 -7.5e-267)
t_3
(if (<= y2 -1.02e-269)
(* j t_2)
(if (<= y2 4.5e-307)
(* y0 (* y3 (- (* j y5) (* z c))))
(if (<= y2 4e-88)
t_3
(if (<= y2 4.8e+44)
t_1
(if (<= y2 4e+97)
(* b (* y (- (* x a) (* k y4))))
(if (<= y2 4.1e+129)
(* a (* y3 (- (* z y1) (* y y5))))
(if (<= y2 5.6e+231)
(* a (* y2 (- (* t y5) (* x y1))))
(* y0 (* y2 (- (* x c) (* k y5))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
double t_2 = t * ((b * y4) - (i * y5));
double t_3 = j * (t_2 + (x * ((i * y1) - (b * y0))));
double tmp;
if (y2 <= -4.1e+159) {
tmp = t_1;
} else if (y2 <= -8e-212) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (y2 <= -7.5e-267) {
tmp = t_3;
} else if (y2 <= -1.02e-269) {
tmp = j * t_2;
} else if (y2 <= 4.5e-307) {
tmp = y0 * (y3 * ((j * y5) - (z * c)));
} else if (y2 <= 4e-88) {
tmp = t_3;
} else if (y2 <= 4.8e+44) {
tmp = t_1;
} else if (y2 <= 4e+97) {
tmp = b * (y * ((x * a) - (k * y4)));
} else if (y2 <= 4.1e+129) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else if (y2 <= 5.6e+231) {
tmp = a * (y2 * ((t * y5) - (x * y1)));
} else {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: tmp
t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)))
t_2 = t * ((b * y4) - (i * y5))
t_3 = j * (t_2 + (x * ((i * y1) - (b * y0))))
if (y2 <= (-4.1d+159)) then
tmp = t_1
else if (y2 <= (-8d-212)) then
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))
else if (y2 <= (-7.5d-267)) then
tmp = t_3
else if (y2 <= (-1.02d-269)) then
tmp = j * t_2
else if (y2 <= 4.5d-307) then
tmp = y0 * (y3 * ((j * y5) - (z * c)))
else if (y2 <= 4d-88) then
tmp = t_3
else if (y2 <= 4.8d+44) then
tmp = t_1
else if (y2 <= 4d+97) then
tmp = b * (y * ((x * a) - (k * y4)))
else if (y2 <= 4.1d+129) then
tmp = a * (y3 * ((z * y1) - (y * y5)))
else if (y2 <= 5.6d+231) then
tmp = a * (y2 * ((t * y5) - (x * y1)))
else
tmp = y0 * (y2 * ((x * c) - (k * y5)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
double t_2 = t * ((b * y4) - (i * y5));
double t_3 = j * (t_2 + (x * ((i * y1) - (b * y0))));
double tmp;
if (y2 <= -4.1e+159) {
tmp = t_1;
} else if (y2 <= -8e-212) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (y2 <= -7.5e-267) {
tmp = t_3;
} else if (y2 <= -1.02e-269) {
tmp = j * t_2;
} else if (y2 <= 4.5e-307) {
tmp = y0 * (y3 * ((j * y5) - (z * c)));
} else if (y2 <= 4e-88) {
tmp = t_3;
} else if (y2 <= 4.8e+44) {
tmp = t_1;
} else if (y2 <= 4e+97) {
tmp = b * (y * ((x * a) - (k * y4)));
} else if (y2 <= 4.1e+129) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else if (y2 <= 5.6e+231) {
tmp = a * (y2 * ((t * y5) - (x * y1)));
} else {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = k * (y2 * ((y1 * y4) - (y0 * y5))) t_2 = t * ((b * y4) - (i * y5)) t_3 = j * (t_2 + (x * ((i * y1) - (b * y0)))) tmp = 0 if y2 <= -4.1e+159: tmp = t_1 elif y2 <= -8e-212: tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))) elif y2 <= -7.5e-267: tmp = t_3 elif y2 <= -1.02e-269: tmp = j * t_2 elif y2 <= 4.5e-307: tmp = y0 * (y3 * ((j * y5) - (z * c))) elif y2 <= 4e-88: tmp = t_3 elif y2 <= 4.8e+44: tmp = t_1 elif y2 <= 4e+97: tmp = b * (y * ((x * a) - (k * y4))) elif y2 <= 4.1e+129: tmp = a * (y3 * ((z * y1) - (y * y5))) elif y2 <= 5.6e+231: tmp = a * (y2 * ((t * y5) - (x * y1))) else: tmp = y0 * (y2 * ((x * c) - (k * y5))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) t_2 = Float64(t * Float64(Float64(b * y4) - Float64(i * y5))) t_3 = Float64(j * Float64(t_2 + Float64(x * Float64(Float64(i * y1) - Float64(b * y0))))) tmp = 0.0 if (y2 <= -4.1e+159) tmp = t_1; elseif (y2 <= -8e-212) tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))); elseif (y2 <= -7.5e-267) tmp = t_3; elseif (y2 <= -1.02e-269) tmp = Float64(j * t_2); elseif (y2 <= 4.5e-307) tmp = Float64(y0 * Float64(y3 * Float64(Float64(j * y5) - Float64(z * c)))); elseif (y2 <= 4e-88) tmp = t_3; elseif (y2 <= 4.8e+44) tmp = t_1; elseif (y2 <= 4e+97) tmp = Float64(b * Float64(y * Float64(Float64(x * a) - Float64(k * y4)))); elseif (y2 <= 4.1e+129) tmp = Float64(a * Float64(y3 * Float64(Float64(z * y1) - Float64(y * y5)))); elseif (y2 <= 5.6e+231) tmp = Float64(a * Float64(y2 * Float64(Float64(t * y5) - Float64(x * y1)))); else tmp = Float64(y0 * Float64(y2 * Float64(Float64(x * c) - Float64(k * y5)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = k * (y2 * ((y1 * y4) - (y0 * y5))); t_2 = t * ((b * y4) - (i * y5)); t_3 = j * (t_2 + (x * ((i * y1) - (b * y0)))); tmp = 0.0; if (y2 <= -4.1e+159) tmp = t_1; elseif (y2 <= -8e-212) tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))); elseif (y2 <= -7.5e-267) tmp = t_3; elseif (y2 <= -1.02e-269) tmp = j * t_2; elseif (y2 <= 4.5e-307) tmp = y0 * (y3 * ((j * y5) - (z * c))); elseif (y2 <= 4e-88) tmp = t_3; elseif (y2 <= 4.8e+44) tmp = t_1; elseif (y2 <= 4e+97) tmp = b * (y * ((x * a) - (k * y4))); elseif (y2 <= 4.1e+129) tmp = a * (y3 * ((z * y1) - (y * y5))); elseif (y2 <= 5.6e+231) tmp = a * (y2 * ((t * y5) - (x * y1))); else tmp = y0 * (y2 * ((x * c) - (k * y5))); 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[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(j * N[(t$95$2 + N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -4.1e+159], t$95$1, If[LessEqual[y2, -8e-212], N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -7.5e-267], t$95$3, If[LessEqual[y2, -1.02e-269], N[(j * t$95$2), $MachinePrecision], If[LessEqual[y2, 4.5e-307], N[(y0 * N[(y3 * N[(N[(j * y5), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 4e-88], t$95$3, If[LessEqual[y2, 4.8e+44], t$95$1, If[LessEqual[y2, 4e+97], N[(b * N[(y * N[(N[(x * a), $MachinePrecision] - N[(k * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 4.1e+129], N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 5.6e+231], N[(a * N[(y2 * N[(N[(t * y5), $MachinePrecision] - N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y0 * N[(y2 * N[(N[(x * c), $MachinePrecision] - N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
t_2 := t \cdot \left(b \cdot y4 - i \cdot y5\right)\\
t_3 := j \cdot \left(t_2 + x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{if}\;y2 \leq -4.1 \cdot 10^{+159}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y2 \leq -8 \cdot 10^{-212}:\\
\;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y2 \leq -7.5 \cdot 10^{-267}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;y2 \leq -1.02 \cdot 10^{-269}:\\
\;\;\;\;j \cdot t_2\\
\mathbf{elif}\;y2 \leq 4.5 \cdot 10^{-307}:\\
\;\;\;\;y0 \cdot \left(y3 \cdot \left(j \cdot y5 - z \cdot c\right)\right)\\
\mathbf{elif}\;y2 \leq 4 \cdot 10^{-88}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;y2 \leq 4.8 \cdot 10^{+44}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y2 \leq 4 \cdot 10^{+97}:\\
\;\;\;\;b \cdot \left(y \cdot \left(x \cdot a - k \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq 4.1 \cdot 10^{+129}:\\
\;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq 5.6 \cdot 10^{+231}:\\
\;\;\;\;a \cdot \left(y2 \cdot \left(t \cdot y5 - x \cdot y1\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c - k \cdot y5\right)\right)\\
\end{array}
\end{array}
if y2 < -4.10000000000000014e159 or 3.99999999999999974e-88 < y2 < 4.80000000000000026e44Initial program 31.2%
Taylor expanded in k around inf 41.7%
sub-neg41.7%
+-commutative41.7%
mul-1-neg41.7%
unsub-neg41.7%
*-commutative41.7%
mul-1-neg41.7%
remove-double-neg41.7%
Simplified41.7%
Taylor expanded in y2 around inf 52.2%
if -4.10000000000000014e159 < y2 < -7.99999999999999963e-212Initial program 35.4%
Taylor expanded in b around inf 48.2%
if -7.99999999999999963e-212 < y2 < -7.4999999999999999e-267 or 4.49999999999999989e-307 < y2 < 3.99999999999999974e-88Initial program 33.0%
Taylor expanded in j around inf 40.7%
+-commutative40.7%
mul-1-neg40.7%
unsub-neg40.7%
*-commutative40.7%
Simplified40.7%
Taylor expanded in y3 around 0 49.4%
*-commutative49.4%
*-commutative49.4%
Simplified49.4%
if -7.4999999999999999e-267 < y2 < -1.02000000000000002e-269Initial program 50.0%
Taylor expanded in t around inf 50.0%
Taylor expanded in j around inf 100.0%
if -1.02000000000000002e-269 < y2 < 4.49999999999999989e-307Initial program 40.0%
Taylor expanded in y0 around inf 51.2%
+-commutative51.2%
mul-1-neg51.2%
unsub-neg51.2%
*-commutative51.2%
*-commutative51.2%
*-commutative51.2%
*-commutative51.2%
Simplified51.2%
Taylor expanded in y3 around inf 80.1%
sub-neg80.1%
mul-1-neg80.1%
remove-double-neg80.1%
+-commutative80.1%
mul-1-neg80.1%
unsub-neg80.1%
Simplified80.1%
if 4.80000000000000026e44 < y2 < 4.0000000000000003e97Initial program 15.3%
Taylor expanded in b around inf 16.1%
Taylor expanded in y around inf 61.8%
+-commutative61.8%
mul-1-neg61.8%
unsub-neg61.8%
*-commutative61.8%
*-commutative61.8%
Simplified61.8%
if 4.0000000000000003e97 < y2 < 4.1000000000000003e129Initial program 11.1%
Taylor expanded in a around -inf 46.1%
mul-1-neg46.1%
*-commutative46.1%
distribute-rgt-neg-in46.1%
Simplified46.1%
Taylor expanded in y3 around -inf 56.3%
if 4.1000000000000003e129 < y2 < 5.6e231Initial program 24.9%
Taylor expanded in a around -inf 45.2%
mul-1-neg45.2%
*-commutative45.2%
distribute-rgt-neg-in45.2%
Simplified45.2%
Taylor expanded in y2 around inf 60.7%
associate-*r*60.7%
neg-mul-160.7%
Simplified60.7%
if 5.6e231 < y2 Initial program 30.8%
Taylor expanded in y0 around inf 69.2%
+-commutative69.2%
mul-1-neg69.2%
unsub-neg69.2%
*-commutative69.2%
*-commutative69.2%
*-commutative69.2%
*-commutative69.2%
Simplified69.2%
Taylor expanded in y2 around inf 92.3%
Final simplification55.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* c (* x (- (* y0 y2) (* y i)))))
(t_2 (* j (* x (- (* i y1) (* b y0))))))
(if (<= y2 -3.7e+180)
t_1
(if (<= y2 -1.36e+135)
(* k (* y (- (* i y5) (* b y4))))
(if (<= y2 -3.6e+99)
(* a (* y (- (* x b) (* y3 y5))))
(if (<= y2 -7.5e+40)
(* a (* y5 (- (* t y2) (* y y3))))
(if (<= y2 -3.8e-217)
(* b (* x (- (* y a) (* j y0))))
(if (<= y2 -4.8e-289)
(* j (* t (- (* b y4) (* i y5))))
(if (<= y2 3.2e-121)
t_2
(if (<= y2 8.8e+160)
(* a (* y3 (- (* z y1) (* y y5))))
(if (<= y2 7.5e+202)
t_2
(if (<= y2 1.75e+224)
(* c (* y4 (- (* y y3) (* 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 = c * (x * ((y0 * y2) - (y * i)));
double t_2 = j * (x * ((i * y1) - (b * y0)));
double tmp;
if (y2 <= -3.7e+180) {
tmp = t_1;
} else if (y2 <= -1.36e+135) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (y2 <= -3.6e+99) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (y2 <= -7.5e+40) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (y2 <= -3.8e-217) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= -4.8e-289) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (y2 <= 3.2e-121) {
tmp = t_2;
} else if (y2 <= 8.8e+160) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else if (y2 <= 7.5e+202) {
tmp = t_2;
} else if (y2 <= 1.75e+224) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} 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) :: t_2
real(8) :: tmp
t_1 = c * (x * ((y0 * y2) - (y * i)))
t_2 = j * (x * ((i * y1) - (b * y0)))
if (y2 <= (-3.7d+180)) then
tmp = t_1
else if (y2 <= (-1.36d+135)) then
tmp = k * (y * ((i * y5) - (b * y4)))
else if (y2 <= (-3.6d+99)) then
tmp = a * (y * ((x * b) - (y3 * y5)))
else if (y2 <= (-7.5d+40)) then
tmp = a * (y5 * ((t * y2) - (y * y3)))
else if (y2 <= (-3.8d-217)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y2 <= (-4.8d-289)) then
tmp = j * (t * ((b * y4) - (i * y5)))
else if (y2 <= 3.2d-121) then
tmp = t_2
else if (y2 <= 8.8d+160) then
tmp = a * (y3 * ((z * y1) - (y * y5)))
else if (y2 <= 7.5d+202) then
tmp = t_2
else if (y2 <= 1.75d+224) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
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 = c * (x * ((y0 * y2) - (y * i)));
double t_2 = j * (x * ((i * y1) - (b * y0)));
double tmp;
if (y2 <= -3.7e+180) {
tmp = t_1;
} else if (y2 <= -1.36e+135) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (y2 <= -3.6e+99) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (y2 <= -7.5e+40) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (y2 <= -3.8e-217) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= -4.8e-289) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (y2 <= 3.2e-121) {
tmp = t_2;
} else if (y2 <= 8.8e+160) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else if (y2 <= 7.5e+202) {
tmp = t_2;
} else if (y2 <= 1.75e+224) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} 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 = c * (x * ((y0 * y2) - (y * i))) t_2 = j * (x * ((i * y1) - (b * y0))) tmp = 0 if y2 <= -3.7e+180: tmp = t_1 elif y2 <= -1.36e+135: tmp = k * (y * ((i * y5) - (b * y4))) elif y2 <= -3.6e+99: tmp = a * (y * ((x * b) - (y3 * y5))) elif y2 <= -7.5e+40: tmp = a * (y5 * ((t * y2) - (y * y3))) elif y2 <= -3.8e-217: tmp = b * (x * ((y * a) - (j * y0))) elif y2 <= -4.8e-289: tmp = j * (t * ((b * y4) - (i * y5))) elif y2 <= 3.2e-121: tmp = t_2 elif y2 <= 8.8e+160: tmp = a * (y3 * ((z * y1) - (y * y5))) elif y2 <= 7.5e+202: tmp = t_2 elif y2 <= 1.75e+224: tmp = c * (y4 * ((y * y3) - (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(c * Float64(x * Float64(Float64(y0 * y2) - Float64(y * i)))) t_2 = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))) tmp = 0.0 if (y2 <= -3.7e+180) tmp = t_1; elseif (y2 <= -1.36e+135) tmp = Float64(k * Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))); elseif (y2 <= -3.6e+99) tmp = Float64(a * Float64(y * Float64(Float64(x * b) - Float64(y3 * y5)))); elseif (y2 <= -7.5e+40) tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))); elseif (y2 <= -3.8e-217) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y2 <= -4.8e-289) tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (y2 <= 3.2e-121) tmp = t_2; elseif (y2 <= 8.8e+160) tmp = Float64(a * Float64(y3 * Float64(Float64(z * y1) - Float64(y * y5)))); elseif (y2 <= 7.5e+202) tmp = t_2; elseif (y2 <= 1.75e+224) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); 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 = c * (x * ((y0 * y2) - (y * i))); t_2 = j * (x * ((i * y1) - (b * y0))); tmp = 0.0; if (y2 <= -3.7e+180) tmp = t_1; elseif (y2 <= -1.36e+135) tmp = k * (y * ((i * y5) - (b * y4))); elseif (y2 <= -3.6e+99) tmp = a * (y * ((x * b) - (y3 * y5))); elseif (y2 <= -7.5e+40) tmp = a * (y5 * ((t * y2) - (y * y3))); elseif (y2 <= -3.8e-217) tmp = b * (x * ((y * a) - (j * y0))); elseif (y2 <= -4.8e-289) tmp = j * (t * ((b * y4) - (i * y5))); elseif (y2 <= 3.2e-121) tmp = t_2; elseif (y2 <= 8.8e+160) tmp = a * (y3 * ((z * y1) - (y * y5))); elseif (y2 <= 7.5e+202) tmp = t_2; elseif (y2 <= 1.75e+224) tmp = c * (y4 * ((y * y3) - (t * y2))); 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[(c * N[(x * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -3.7e+180], t$95$1, If[LessEqual[y2, -1.36e+135], N[(k * N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -3.6e+99], N[(a * N[(y * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -7.5e+40], N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -3.8e-217], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -4.8e-289], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3.2e-121], t$95$2, If[LessEqual[y2, 8.8e+160], N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 7.5e+202], t$95$2, If[LessEqual[y2, 1.75e+224], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(x \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\
t_2 := j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{if}\;y2 \leq -3.7 \cdot 10^{+180}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y2 \leq -1.36 \cdot 10^{+135}:\\
\;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq -3.6 \cdot 10^{+99}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b - y3 \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq -7.5 \cdot 10^{+40}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;y2 \leq -3.8 \cdot 10^{-217}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq -4.8 \cdot 10^{-289}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq 3.2 \cdot 10^{-121}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;y2 \leq 8.8 \cdot 10^{+160}:\\
\;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq 7.5 \cdot 10^{+202}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;y2 \leq 1.75 \cdot 10^{+224}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if y2 < -3.7000000000000002e180 or 1.75e224 < y2 Initial program 30.1%
Taylor expanded in c around inf 60.5%
+-commutative60.5%
mul-1-neg60.5%
unsub-neg60.5%
*-commutative60.5%
*-commutative60.5%
*-commutative60.5%
*-commutative60.5%
Simplified60.5%
Taylor expanded in x around inf 58.0%
if -3.7000000000000002e180 < y2 < -1.36000000000000007e135Initial program 37.0%
Taylor expanded in k around inf 73.7%
sub-neg73.7%
+-commutative73.7%
mul-1-neg73.7%
unsub-neg73.7%
*-commutative73.7%
mul-1-neg73.7%
remove-double-neg73.7%
Simplified73.7%
Taylor expanded in y around inf 64.5%
*-commutative64.5%
*-commutative64.5%
Simplified64.5%
if -1.36000000000000007e135 < y2 < -3.6000000000000002e99Initial program 0.0%
Taylor expanded in a around -inf 57.1%
mul-1-neg57.1%
*-commutative57.1%
distribute-rgt-neg-in57.1%
Simplified57.1%
Taylor expanded in y around inf 57.7%
+-commutative57.7%
mul-1-neg57.7%
unsub-neg57.7%
*-commutative57.7%
Simplified57.7%
if -3.6000000000000002e99 < y2 < -7.4999999999999996e40Initial program 61.0%
Taylor expanded in a around -inf 67.3%
mul-1-neg67.3%
*-commutative67.3%
distribute-rgt-neg-in67.3%
Simplified67.3%
Taylor expanded in y5 around -inf 56.0%
*-commutative56.0%
*-commutative56.0%
Simplified56.0%
if -7.4999999999999996e40 < y2 < -3.79999999999999987e-217Initial program 28.9%
Taylor expanded in b around inf 44.8%
Taylor expanded in x around inf 41.4%
*-commutative41.4%
*-commutative41.4%
Simplified41.4%
if -3.79999999999999987e-217 < y2 < -4.79999999999999988e-289Initial program 35.7%
Taylor expanded in t around inf 50.7%
Taylor expanded in j around inf 65.2%
if -4.79999999999999988e-289 < y2 < 3.20000000000000019e-121 or 8.79999999999999968e160 < y2 < 7.4999999999999999e202Initial program 32.8%
Taylor expanded in x around inf 48.8%
Taylor expanded in j around inf 49.5%
*-commutative49.5%
*-commutative49.5%
Simplified49.5%
if 3.20000000000000019e-121 < y2 < 8.79999999999999968e160Initial program 26.3%
Taylor expanded in a around -inf 43.6%
mul-1-neg43.6%
*-commutative43.6%
distribute-rgt-neg-in43.6%
Simplified43.6%
Taylor expanded in y3 around -inf 38.4%
if 7.4999999999999999e202 < y2 < 1.75e224Initial program 20.0%
Taylor expanded in c around inf 60.0%
+-commutative60.0%
mul-1-neg60.0%
unsub-neg60.0%
*-commutative60.0%
*-commutative60.0%
*-commutative60.0%
*-commutative60.0%
Simplified60.0%
Taylor expanded in y4 around inf 100.0%
*-commutative100.0%
*-commutative100.0%
Simplified100.0%
Final simplification50.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* j (* x (- (* i y1) (* b y0)))))
(t_2 (* k (* y2 (- (* y1 y4) (* y0 y5))))))
(if (<= y2 -7.5e+78)
t_2
(if (<= y2 -3.15e-218)
(* b (* x (- (* y a) (* j y0))))
(if (<= y2 -4.6e-289)
(* j (* t (- (* b y4) (* i y5))))
(if (<= y2 5.5e-307)
(* a (* y (- (* x b) (* y3 y5))))
(if (<= y2 4.8e-104)
t_1
(if (<= y2 2.4e+36)
t_2
(if (<= y2 4e+97)
(* b (* y (- (* x a) (* k y4))))
(if (<= y2 3e+161)
(* a (* y3 (- (* z y1) (* y y5))))
(if (<= y2 7.8e+202)
t_1
(if (<= y2 1.8e+222)
(* c (* y4 (- (* y y3) (* t y2))))
(* c (* x (- (* y0 y2) (* y i))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * (x * ((i * y1) - (b * y0)));
double t_2 = k * (y2 * ((y1 * y4) - (y0 * y5)));
double tmp;
if (y2 <= -7.5e+78) {
tmp = t_2;
} else if (y2 <= -3.15e-218) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= -4.6e-289) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (y2 <= 5.5e-307) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (y2 <= 4.8e-104) {
tmp = t_1;
} else if (y2 <= 2.4e+36) {
tmp = t_2;
} else if (y2 <= 4e+97) {
tmp = b * (y * ((x * a) - (k * y4)));
} else if (y2 <= 3e+161) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else if (y2 <= 7.8e+202) {
tmp = t_1;
} else if (y2 <= 1.8e+222) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else {
tmp = c * (x * ((y0 * y2) - (y * i)));
}
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_2
real(8) :: tmp
t_1 = j * (x * ((i * y1) - (b * y0)))
t_2 = k * (y2 * ((y1 * y4) - (y0 * y5)))
if (y2 <= (-7.5d+78)) then
tmp = t_2
else if (y2 <= (-3.15d-218)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y2 <= (-4.6d-289)) then
tmp = j * (t * ((b * y4) - (i * y5)))
else if (y2 <= 5.5d-307) then
tmp = a * (y * ((x * b) - (y3 * y5)))
else if (y2 <= 4.8d-104) then
tmp = t_1
else if (y2 <= 2.4d+36) then
tmp = t_2
else if (y2 <= 4d+97) then
tmp = b * (y * ((x * a) - (k * y4)))
else if (y2 <= 3d+161) then
tmp = a * (y3 * ((z * y1) - (y * y5)))
else if (y2 <= 7.8d+202) then
tmp = t_1
else if (y2 <= 1.8d+222) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else
tmp = c * (x * ((y0 * y2) - (y * i)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * (x * ((i * y1) - (b * y0)));
double t_2 = k * (y2 * ((y1 * y4) - (y0 * y5)));
double tmp;
if (y2 <= -7.5e+78) {
tmp = t_2;
} else if (y2 <= -3.15e-218) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= -4.6e-289) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (y2 <= 5.5e-307) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (y2 <= 4.8e-104) {
tmp = t_1;
} else if (y2 <= 2.4e+36) {
tmp = t_2;
} else if (y2 <= 4e+97) {
tmp = b * (y * ((x * a) - (k * y4)));
} else if (y2 <= 3e+161) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else if (y2 <= 7.8e+202) {
tmp = t_1;
} else if (y2 <= 1.8e+222) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else {
tmp = c * (x * ((y0 * y2) - (y * i)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = j * (x * ((i * y1) - (b * y0))) t_2 = k * (y2 * ((y1 * y4) - (y0 * y5))) tmp = 0 if y2 <= -7.5e+78: tmp = t_2 elif y2 <= -3.15e-218: tmp = b * (x * ((y * a) - (j * y0))) elif y2 <= -4.6e-289: tmp = j * (t * ((b * y4) - (i * y5))) elif y2 <= 5.5e-307: tmp = a * (y * ((x * b) - (y3 * y5))) elif y2 <= 4.8e-104: tmp = t_1 elif y2 <= 2.4e+36: tmp = t_2 elif y2 <= 4e+97: tmp = b * (y * ((x * a) - (k * y4))) elif y2 <= 3e+161: tmp = a * (y3 * ((z * y1) - (y * y5))) elif y2 <= 7.8e+202: tmp = t_1 elif y2 <= 1.8e+222: tmp = c * (y4 * ((y * y3) - (t * y2))) else: tmp = c * (x * ((y0 * y2) - (y * i))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))) t_2 = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) tmp = 0.0 if (y2 <= -7.5e+78) tmp = t_2; elseif (y2 <= -3.15e-218) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y2 <= -4.6e-289) tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (y2 <= 5.5e-307) tmp = Float64(a * Float64(y * Float64(Float64(x * b) - Float64(y3 * y5)))); elseif (y2 <= 4.8e-104) tmp = t_1; elseif (y2 <= 2.4e+36) tmp = t_2; elseif (y2 <= 4e+97) tmp = Float64(b * Float64(y * Float64(Float64(x * a) - Float64(k * y4)))); elseif (y2 <= 3e+161) tmp = Float64(a * Float64(y3 * Float64(Float64(z * y1) - Float64(y * y5)))); elseif (y2 <= 7.8e+202) tmp = t_1; elseif (y2 <= 1.8e+222) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); else tmp = Float64(c * Float64(x * Float64(Float64(y0 * y2) - Float64(y * i)))); 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 = j * (x * ((i * y1) - (b * y0))); t_2 = k * (y2 * ((y1 * y4) - (y0 * y5))); tmp = 0.0; if (y2 <= -7.5e+78) tmp = t_2; elseif (y2 <= -3.15e-218) tmp = b * (x * ((y * a) - (j * y0))); elseif (y2 <= -4.6e-289) tmp = j * (t * ((b * y4) - (i * y5))); elseif (y2 <= 5.5e-307) tmp = a * (y * ((x * b) - (y3 * y5))); elseif (y2 <= 4.8e-104) tmp = t_1; elseif (y2 <= 2.4e+36) tmp = t_2; elseif (y2 <= 4e+97) tmp = b * (y * ((x * a) - (k * y4))); elseif (y2 <= 3e+161) tmp = a * (y3 * ((z * y1) - (y * y5))); elseif (y2 <= 7.8e+202) tmp = t_1; elseif (y2 <= 1.8e+222) tmp = c * (y4 * ((y * y3) - (t * y2))); else tmp = c * (x * ((y0 * y2) - (y * i))); 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[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -7.5e+78], t$95$2, If[LessEqual[y2, -3.15e-218], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -4.6e-289], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 5.5e-307], N[(a * N[(y * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 4.8e-104], t$95$1, If[LessEqual[y2, 2.4e+36], t$95$2, If[LessEqual[y2, 4e+97], N[(b * N[(y * N[(N[(x * a), $MachinePrecision] - N[(k * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3e+161], N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 7.8e+202], t$95$1, If[LessEqual[y2, 1.8e+222], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(x * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
t_2 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{if}\;y2 \leq -7.5 \cdot 10^{+78}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;y2 \leq -3.15 \cdot 10^{-218}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq -4.6 \cdot 10^{-289}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq 5.5 \cdot 10^{-307}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b - y3 \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq 4.8 \cdot 10^{-104}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y2 \leq 2.4 \cdot 10^{+36}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;y2 \leq 4 \cdot 10^{+97}:\\
\;\;\;\;b \cdot \left(y \cdot \left(x \cdot a - k \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq 3 \cdot 10^{+161}:\\
\;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq 7.8 \cdot 10^{+202}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y2 \leq 1.8 \cdot 10^{+222}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\
\end{array}
\end{array}
if y2 < -7.49999999999999934e78 or 4.8000000000000001e-104 < y2 < 2.39999999999999992e36Initial program 31.5%
Taylor expanded in k around inf 44.4%
sub-neg44.4%
+-commutative44.4%
mul-1-neg44.4%
unsub-neg44.4%
*-commutative44.4%
mul-1-neg44.4%
remove-double-neg44.4%
Simplified44.4%
Taylor expanded in y2 around inf 46.3%
if -7.49999999999999934e78 < y2 < -3.1499999999999998e-218Initial program 36.4%
Taylor expanded in b around inf 46.0%
Taylor expanded in x around inf 42.0%
*-commutative42.0%
*-commutative42.0%
Simplified42.0%
if -3.1499999999999998e-218 < y2 < -4.6000000000000004e-289Initial program 35.7%
Taylor expanded in t around inf 50.7%
Taylor expanded in j around inf 65.2%
if -4.6000000000000004e-289 < y2 < 5.50000000000000039e-307Initial program 28.6%
Taylor expanded in a around -inf 57.9%
mul-1-neg57.9%
*-commutative57.9%
distribute-rgt-neg-in57.9%
Simplified57.9%
Taylor expanded in y around inf 58.0%
+-commutative58.0%
mul-1-neg58.0%
unsub-neg58.0%
*-commutative58.0%
Simplified58.0%
if 5.50000000000000039e-307 < y2 < 4.8000000000000001e-104 or 3.00000000000000011e161 < y2 < 7.79999999999999967e202Initial program 34.1%
Taylor expanded in x around inf 47.7%
Taylor expanded in j around inf 48.5%
*-commutative48.5%
*-commutative48.5%
Simplified48.5%
if 2.39999999999999992e36 < y2 < 4.0000000000000003e97Initial program 15.3%
Taylor expanded in b around inf 16.1%
Taylor expanded in y around inf 61.8%
+-commutative61.8%
mul-1-neg61.8%
unsub-neg61.8%
*-commutative61.8%
*-commutative61.8%
Simplified61.8%
if 4.0000000000000003e97 < y2 < 3.00000000000000011e161Initial program 13.2%
Taylor expanded in a around -inf 54.5%
mul-1-neg54.5%
*-commutative54.5%
distribute-rgt-neg-in54.5%
Simplified54.5%
Taylor expanded in y3 around -inf 47.8%
if 7.79999999999999967e202 < y2 < 1.8000000000000001e222Initial program 20.0%
Taylor expanded in c around inf 60.0%
+-commutative60.0%
mul-1-neg60.0%
unsub-neg60.0%
*-commutative60.0%
*-commutative60.0%
*-commutative60.0%
*-commutative60.0%
Simplified60.0%
Taylor expanded in y4 around inf 100.0%
*-commutative100.0%
*-commutative100.0%
Simplified100.0%
if 1.8000000000000001e222 < y2 Initial program 33.3%
Taylor expanded in c around inf 67.4%
+-commutative67.4%
mul-1-neg67.4%
unsub-neg67.4%
*-commutative67.4%
*-commutative67.4%
*-commutative67.4%
*-commutative67.4%
Simplified67.4%
Taylor expanded in x around inf 73.8%
Final simplification50.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* k (* z (- (* b y0) (* i y1))))))
(if (<= z -3.4e+149)
t_1
(if (<= z -7.6e+63)
(* b (* y (- (* x a) (* k y4))))
(if (<= z -7.5e+39)
(* b (* x (- (* y a) (* j y0))))
(if (<= z -1.14e-98)
(* k (* y2 (- (* y1 y4) (* y0 y5))))
(if (<= z -8.8e-217)
(* k (* y (- (* i y5) (* b y4))))
(if (<= z 1.55e-290)
(* a (* y5 (- (* t y2) (* y y3))))
(if (<= z 1.9e-226)
(* j (* x (- (* i y1) (* b y0))))
(if (<= z 7.2e-129)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= z 4.7e+27)
(* c (* x (- (* y0 y2) (* y 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 = k * (z * ((b * y0) - (i * y1)));
double tmp;
if (z <= -3.4e+149) {
tmp = t_1;
} else if (z <= -7.6e+63) {
tmp = b * (y * ((x * a) - (k * y4)));
} else if (z <= -7.5e+39) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (z <= -1.14e-98) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (z <= -8.8e-217) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (z <= 1.55e-290) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (z <= 1.9e-226) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (z <= 7.2e-129) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (z <= 4.7e+27) {
tmp = c * (x * ((y0 * y2) - (y * i)));
} 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 * (z * ((b * y0) - (i * y1)))
if (z <= (-3.4d+149)) then
tmp = t_1
else if (z <= (-7.6d+63)) then
tmp = b * (y * ((x * a) - (k * y4)))
else if (z <= (-7.5d+39)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (z <= (-1.14d-98)) then
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)))
else if (z <= (-8.8d-217)) then
tmp = k * (y * ((i * y5) - (b * y4)))
else if (z <= 1.55d-290) then
tmp = a * (y5 * ((t * y2) - (y * y3)))
else if (z <= 1.9d-226) then
tmp = j * (x * ((i * y1) - (b * y0)))
else if (z <= 7.2d-129) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (z <= 4.7d+27) then
tmp = c * (x * ((y0 * y2) - (y * i)))
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 * (z * ((b * y0) - (i * y1)));
double tmp;
if (z <= -3.4e+149) {
tmp = t_1;
} else if (z <= -7.6e+63) {
tmp = b * (y * ((x * a) - (k * y4)));
} else if (z <= -7.5e+39) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (z <= -1.14e-98) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (z <= -8.8e-217) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (z <= 1.55e-290) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (z <= 1.9e-226) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (z <= 7.2e-129) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (z <= 4.7e+27) {
tmp = c * (x * ((y0 * y2) - (y * i)));
} 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 * (z * ((b * y0) - (i * y1))) tmp = 0 if z <= -3.4e+149: tmp = t_1 elif z <= -7.6e+63: tmp = b * (y * ((x * a) - (k * y4))) elif z <= -7.5e+39: tmp = b * (x * ((y * a) - (j * y0))) elif z <= -1.14e-98: tmp = k * (y2 * ((y1 * y4) - (y0 * y5))) elif z <= -8.8e-217: tmp = k * (y * ((i * y5) - (b * y4))) elif z <= 1.55e-290: tmp = a * (y5 * ((t * y2) - (y * y3))) elif z <= 1.9e-226: tmp = j * (x * ((i * y1) - (b * y0))) elif z <= 7.2e-129: tmp = c * (y4 * ((y * y3) - (t * y2))) elif z <= 4.7e+27: tmp = c * (x * ((y0 * y2) - (y * 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(k * Float64(z * Float64(Float64(b * y0) - Float64(i * y1)))) tmp = 0.0 if (z <= -3.4e+149) tmp = t_1; elseif (z <= -7.6e+63) tmp = Float64(b * Float64(y * Float64(Float64(x * a) - Float64(k * y4)))); elseif (z <= -7.5e+39) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (z <= -1.14e-98) tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))); elseif (z <= -8.8e-217) tmp = Float64(k * Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))); elseif (z <= 1.55e-290) tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))); elseif (z <= 1.9e-226) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); elseif (z <= 7.2e-129) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (z <= 4.7e+27) tmp = Float64(c * Float64(x * Float64(Float64(y0 * y2) - Float64(y * i)))); 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 * (z * ((b * y0) - (i * y1))); tmp = 0.0; if (z <= -3.4e+149) tmp = t_1; elseif (z <= -7.6e+63) tmp = b * (y * ((x * a) - (k * y4))); elseif (z <= -7.5e+39) tmp = b * (x * ((y * a) - (j * y0))); elseif (z <= -1.14e-98) tmp = k * (y2 * ((y1 * y4) - (y0 * y5))); elseif (z <= -8.8e-217) tmp = k * (y * ((i * y5) - (b * y4))); elseif (z <= 1.55e-290) tmp = a * (y5 * ((t * y2) - (y * y3))); elseif (z <= 1.9e-226) tmp = j * (x * ((i * y1) - (b * y0))); elseif (z <= 7.2e-129) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (z <= 4.7e+27) tmp = c * (x * ((y0 * y2) - (y * i))); 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[(k * N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -3.4e+149], t$95$1, If[LessEqual[z, -7.6e+63], N[(b * N[(y * N[(N[(x * a), $MachinePrecision] - N[(k * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -7.5e+39], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.14e-98], N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -8.8e-217], N[(k * N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.55e-290], N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.9e-226], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 7.2e-129], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 4.7e+27], N[(c * N[(x * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
\mathbf{if}\;z \leq -3.4 \cdot 10^{+149}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;z \leq -7.6 \cdot 10^{+63}:\\
\;\;\;\;b \cdot \left(y \cdot \left(x \cdot a - k \cdot y4\right)\right)\\
\mathbf{elif}\;z \leq -7.5 \cdot 10^{+39}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;z \leq -1.14 \cdot 10^{-98}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{elif}\;z \leq -8.8 \cdot 10^{-217}:\\
\;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\
\mathbf{elif}\;z \leq 1.55 \cdot 10^{-290}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;z \leq 1.9 \cdot 10^{-226}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;z \leq 7.2 \cdot 10^{-129}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;z \leq 4.7 \cdot 10^{+27}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if z < -3.3999999999999998e149 or 4.69999999999999976e27 < z Initial program 24.9%
Taylor expanded in k around inf 38.9%
sub-neg38.9%
+-commutative38.9%
mul-1-neg38.9%
unsub-neg38.9%
*-commutative38.9%
mul-1-neg38.9%
remove-double-neg38.9%
Simplified38.9%
Taylor expanded in z around inf 54.8%
*-commutative54.8%
*-commutative54.8%
*-commutative54.8%
*-commutative54.8%
Simplified54.8%
if -3.3999999999999998e149 < z < -7.6000000000000002e63Initial program 36.3%
Taylor expanded in b around inf 71.0%
Taylor expanded in y around inf 58.2%
+-commutative58.2%
mul-1-neg58.2%
unsub-neg58.2%
*-commutative58.2%
*-commutative58.2%
Simplified58.2%
if -7.6000000000000002e63 < z < -7.5000000000000005e39Initial program 25.0%
Taylor expanded in b around inf 38.5%
Taylor expanded in x around inf 51.5%
*-commutative51.5%
*-commutative51.5%
Simplified51.5%
if -7.5000000000000005e39 < z < -1.14000000000000006e-98Initial program 46.4%
Taylor expanded in k around inf 39.8%
sub-neg39.8%
+-commutative39.8%
mul-1-neg39.8%
unsub-neg39.8%
*-commutative39.8%
mul-1-neg39.8%
remove-double-neg39.8%
Simplified39.8%
Taylor expanded in y2 around inf 47.6%
if -1.14000000000000006e-98 < z < -8.79999999999999927e-217Initial program 28.4%
Taylor expanded in k around inf 53.1%
sub-neg53.1%
+-commutative53.1%
mul-1-neg53.1%
unsub-neg53.1%
*-commutative53.1%
mul-1-neg53.1%
remove-double-neg53.1%
Simplified53.1%
Taylor expanded in y around inf 57.9%
*-commutative57.9%
*-commutative57.9%
Simplified57.9%
if -8.79999999999999927e-217 < z < 1.54999999999999995e-290Initial program 42.9%
Taylor expanded in a around -inf 66.9%
mul-1-neg66.9%
*-commutative66.9%
distribute-rgt-neg-in66.9%
Simplified66.9%
Taylor expanded in y5 around -inf 48.3%
*-commutative48.3%
*-commutative48.3%
Simplified48.3%
if 1.54999999999999995e-290 < z < 1.89999999999999991e-226Initial program 31.8%
Taylor expanded in x around inf 46.4%
Taylor expanded in j around inf 51.0%
*-commutative51.0%
*-commutative51.0%
Simplified51.0%
if 1.89999999999999991e-226 < z < 7.2e-129Initial program 30.7%
Taylor expanded in c around inf 48.2%
+-commutative48.2%
mul-1-neg48.2%
unsub-neg48.2%
*-commutative48.2%
*-commutative48.2%
*-commutative48.2%
*-commutative48.2%
Simplified48.2%
Taylor expanded in y4 around inf 48.4%
*-commutative48.4%
*-commutative48.4%
Simplified48.4%
if 7.2e-129 < z < 4.69999999999999976e27Initial program 30.5%
Taylor expanded in c around inf 43.8%
+-commutative43.8%
mul-1-neg43.8%
unsub-neg43.8%
*-commutative43.8%
*-commutative43.8%
*-commutative43.8%
*-commutative43.8%
Simplified43.8%
Taylor expanded in x around inf 47.3%
Final simplification52.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* k (* y2 (- (* y1 y4) (* y0 y5))))))
(if (<= y2 -2.3e+79)
t_1
(if (<= y2 -1.35e-226)
(* b (* x (- (* y a) (* j y0))))
(if (<= y2 -1.1e-269)
(* j (* t (- (* b y4) (* i y5))))
(if (<= y2 2.8e-307)
(* y0 (* y3 (- (* j y5) (* z c))))
(if (<= y2 3e-104)
(* j (* x (- (* i y1) (* b y0))))
(if (<= y2 5e+35)
t_1
(if (<= y2 1e+98)
(* b (* y (- (* x a) (* k y4))))
(if (<= y2 1.1e+132)
(* a (* y3 (- (* z y1) (* y y5))))
(if (<= y2 9e+230)
(* a (* y2 (- (* t y5) (* x y1))))
(* y0 (* y2 (- (* x c) (* k y5)))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
double tmp;
if (y2 <= -2.3e+79) {
tmp = t_1;
} else if (y2 <= -1.35e-226) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= -1.1e-269) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (y2 <= 2.8e-307) {
tmp = y0 * (y3 * ((j * y5) - (z * c)));
} else if (y2 <= 3e-104) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y2 <= 5e+35) {
tmp = t_1;
} else if (y2 <= 1e+98) {
tmp = b * (y * ((x * a) - (k * y4)));
} else if (y2 <= 1.1e+132) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else if (y2 <= 9e+230) {
tmp = a * (y2 * ((t * y5) - (x * y1)));
} else {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)))
if (y2 <= (-2.3d+79)) then
tmp = t_1
else if (y2 <= (-1.35d-226)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y2 <= (-1.1d-269)) then
tmp = j * (t * ((b * y4) - (i * y5)))
else if (y2 <= 2.8d-307) then
tmp = y0 * (y3 * ((j * y5) - (z * c)))
else if (y2 <= 3d-104) then
tmp = j * (x * ((i * y1) - (b * y0)))
else if (y2 <= 5d+35) then
tmp = t_1
else if (y2 <= 1d+98) then
tmp = b * (y * ((x * a) - (k * y4)))
else if (y2 <= 1.1d+132) then
tmp = a * (y3 * ((z * y1) - (y * y5)))
else if (y2 <= 9d+230) then
tmp = a * (y2 * ((t * y5) - (x * y1)))
else
tmp = y0 * (y2 * ((x * c) - (k * y5)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
double tmp;
if (y2 <= -2.3e+79) {
tmp = t_1;
} else if (y2 <= -1.35e-226) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= -1.1e-269) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (y2 <= 2.8e-307) {
tmp = y0 * (y3 * ((j * y5) - (z * c)));
} else if (y2 <= 3e-104) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y2 <= 5e+35) {
tmp = t_1;
} else if (y2 <= 1e+98) {
tmp = b * (y * ((x * a) - (k * y4)));
} else if (y2 <= 1.1e+132) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else if (y2 <= 9e+230) {
tmp = a * (y2 * ((t * y5) - (x * y1)));
} else {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = k * (y2 * ((y1 * y4) - (y0 * y5))) tmp = 0 if y2 <= -2.3e+79: tmp = t_1 elif y2 <= -1.35e-226: tmp = b * (x * ((y * a) - (j * y0))) elif y2 <= -1.1e-269: tmp = j * (t * ((b * y4) - (i * y5))) elif y2 <= 2.8e-307: tmp = y0 * (y3 * ((j * y5) - (z * c))) elif y2 <= 3e-104: tmp = j * (x * ((i * y1) - (b * y0))) elif y2 <= 5e+35: tmp = t_1 elif y2 <= 1e+98: tmp = b * (y * ((x * a) - (k * y4))) elif y2 <= 1.1e+132: tmp = a * (y3 * ((z * y1) - (y * y5))) elif y2 <= 9e+230: tmp = a * (y2 * ((t * y5) - (x * y1))) else: tmp = y0 * (y2 * ((x * c) - (k * y5))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) tmp = 0.0 if (y2 <= -2.3e+79) tmp = t_1; elseif (y2 <= -1.35e-226) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y2 <= -1.1e-269) tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (y2 <= 2.8e-307) tmp = Float64(y0 * Float64(y3 * Float64(Float64(j * y5) - Float64(z * c)))); elseif (y2 <= 3e-104) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); elseif (y2 <= 5e+35) tmp = t_1; elseif (y2 <= 1e+98) tmp = Float64(b * Float64(y * Float64(Float64(x * a) - Float64(k * y4)))); elseif (y2 <= 1.1e+132) tmp = Float64(a * Float64(y3 * Float64(Float64(z * y1) - Float64(y * y5)))); elseif (y2 <= 9e+230) tmp = Float64(a * Float64(y2 * Float64(Float64(t * y5) - Float64(x * y1)))); else tmp = Float64(y0 * Float64(y2 * Float64(Float64(x * c) - Float64(k * y5)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = k * (y2 * ((y1 * y4) - (y0 * y5))); tmp = 0.0; if (y2 <= -2.3e+79) tmp = t_1; elseif (y2 <= -1.35e-226) tmp = b * (x * ((y * a) - (j * y0))); elseif (y2 <= -1.1e-269) tmp = j * (t * ((b * y4) - (i * y5))); elseif (y2 <= 2.8e-307) tmp = y0 * (y3 * ((j * y5) - (z * c))); elseif (y2 <= 3e-104) tmp = j * (x * ((i * y1) - (b * y0))); elseif (y2 <= 5e+35) tmp = t_1; elseif (y2 <= 1e+98) tmp = b * (y * ((x * a) - (k * y4))); elseif (y2 <= 1.1e+132) tmp = a * (y3 * ((z * y1) - (y * y5))); elseif (y2 <= 9e+230) tmp = a * (y2 * ((t * y5) - (x * y1))); else tmp = y0 * (y2 * ((x * c) - (k * y5))); 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[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -2.3e+79], t$95$1, If[LessEqual[y2, -1.35e-226], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -1.1e-269], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.8e-307], N[(y0 * N[(y3 * N[(N[(j * y5), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3e-104], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 5e+35], t$95$1, If[LessEqual[y2, 1e+98], N[(b * N[(y * N[(N[(x * a), $MachinePrecision] - N[(k * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.1e+132], N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 9e+230], N[(a * N[(y2 * N[(N[(t * y5), $MachinePrecision] - N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y0 * N[(y2 * N[(N[(x * c), $MachinePrecision] - N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{if}\;y2 \leq -2.3 \cdot 10^{+79}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y2 \leq -1.35 \cdot 10^{-226}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq -1.1 \cdot 10^{-269}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq 2.8 \cdot 10^{-307}:\\
\;\;\;\;y0 \cdot \left(y3 \cdot \left(j \cdot y5 - z \cdot c\right)\right)\\
\mathbf{elif}\;y2 \leq 3 \cdot 10^{-104}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 5 \cdot 10^{+35}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y2 \leq 10^{+98}:\\
\;\;\;\;b \cdot \left(y \cdot \left(x \cdot a - k \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq 1.1 \cdot 10^{+132}:\\
\;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq 9 \cdot 10^{+230}:\\
\;\;\;\;a \cdot \left(y2 \cdot \left(t \cdot y5 - x \cdot y1\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c - k \cdot y5\right)\right)\\
\end{array}
\end{array}
if y2 < -2.3e79 or 3.0000000000000002e-104 < y2 < 5.00000000000000021e35Initial program 31.5%
Taylor expanded in k around inf 44.4%
sub-neg44.4%
+-commutative44.4%
mul-1-neg44.4%
unsub-neg44.4%
*-commutative44.4%
mul-1-neg44.4%
remove-double-neg44.4%
Simplified44.4%
Taylor expanded in y2 around inf 46.3%
if -2.3e79 < y2 < -1.35000000000000007e-226Initial program 36.4%
Taylor expanded in b around inf 46.0%
Taylor expanded in x around inf 42.0%
*-commutative42.0%
*-commutative42.0%
Simplified42.0%
if -1.35000000000000007e-226 < y2 < -1.09999999999999992e-269Initial program 27.3%
Taylor expanded in t around inf 46.3%
Taylor expanded in j around inf 64.6%
if -1.09999999999999992e-269 < y2 < 2.8e-307Initial program 44.4%
Taylor expanded in y0 around inf 56.8%
+-commutative56.8%
mul-1-neg56.8%
unsub-neg56.8%
*-commutative56.8%
*-commutative56.8%
*-commutative56.8%
*-commutative56.8%
Simplified56.8%
Taylor expanded in y3 around inf 89.0%
sub-neg89.0%
mul-1-neg89.0%
remove-double-neg89.0%
+-commutative89.0%
mul-1-neg89.0%
unsub-neg89.0%
Simplified89.0%
if 2.8e-307 < y2 < 3.0000000000000002e-104Initial program 34.2%
Taylor expanded in x around inf 47.4%
Taylor expanded in j around inf 45.8%
*-commutative45.8%
*-commutative45.8%
Simplified45.8%
if 5.00000000000000021e35 < y2 < 9.99999999999999998e97Initial program 15.3%
Taylor expanded in b around inf 16.1%
Taylor expanded in y around inf 61.8%
+-commutative61.8%
mul-1-neg61.8%
unsub-neg61.8%
*-commutative61.8%
*-commutative61.8%
Simplified61.8%
if 9.99999999999999998e97 < y2 < 1.09999999999999994e132Initial program 11.1%
Taylor expanded in a around -inf 46.1%
mul-1-neg46.1%
*-commutative46.1%
distribute-rgt-neg-in46.1%
Simplified46.1%
Taylor expanded in y3 around -inf 56.3%
if 1.09999999999999994e132 < y2 < 8.9999999999999998e230Initial program 24.9%
Taylor expanded in a around -inf 45.2%
mul-1-neg45.2%
*-commutative45.2%
distribute-rgt-neg-in45.2%
Simplified45.2%
Taylor expanded in y2 around inf 60.7%
associate-*r*60.7%
neg-mul-160.7%
Simplified60.7%
if 8.9999999999999998e230 < y2 Initial program 30.8%
Taylor expanded in y0 around inf 69.2%
+-commutative69.2%
mul-1-neg69.2%
unsub-neg69.2%
*-commutative69.2%
*-commutative69.2%
*-commutative69.2%
*-commutative69.2%
Simplified69.2%
Taylor expanded in y2 around inf 92.3%
Final simplification52.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* j (* x (- (* i y1) (* b y0)))))
(t_2 (* c (* x (- (* y0 y2) (* y i))))))
(if (<= y2 -4e+149)
t_2
(if (<= y2 -2.3e-31)
(* b (* y (- (* x a) (* k y4))))
(if (<= y2 -1.85e-217)
(* b (* x (- (* y a) (* j y0))))
(if (<= y2 -1.35e-289)
(* j (* t (- (* b y4) (* i y5))))
(if (<= y2 1.5e-121)
t_1
(if (<= y2 6.2e+155)
(* a (* y3 (- (* z y1) (* y y5))))
(if (<= y2 5e+203)
t_1
(if (<= y2 2.25e+223)
(* c (* y4 (- (* y y3) (* t y2))))
t_2))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * (x * ((i * y1) - (b * y0)));
double t_2 = c * (x * ((y0 * y2) - (y * i)));
double tmp;
if (y2 <= -4e+149) {
tmp = t_2;
} else if (y2 <= -2.3e-31) {
tmp = b * (y * ((x * a) - (k * y4)));
} else if (y2 <= -1.85e-217) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= -1.35e-289) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (y2 <= 1.5e-121) {
tmp = t_1;
} else if (y2 <= 6.2e+155) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else if (y2 <= 5e+203) {
tmp = t_1;
} else if (y2 <= 2.25e+223) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else {
tmp = t_2;
}
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_2
real(8) :: tmp
t_1 = j * (x * ((i * y1) - (b * y0)))
t_2 = c * (x * ((y0 * y2) - (y * i)))
if (y2 <= (-4d+149)) then
tmp = t_2
else if (y2 <= (-2.3d-31)) then
tmp = b * (y * ((x * a) - (k * y4)))
else if (y2 <= (-1.85d-217)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y2 <= (-1.35d-289)) then
tmp = j * (t * ((b * y4) - (i * y5)))
else if (y2 <= 1.5d-121) then
tmp = t_1
else if (y2 <= 6.2d+155) then
tmp = a * (y3 * ((z * y1) - (y * y5)))
else if (y2 <= 5d+203) then
tmp = t_1
else if (y2 <= 2.25d+223) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * (x * ((i * y1) - (b * y0)));
double t_2 = c * (x * ((y0 * y2) - (y * i)));
double tmp;
if (y2 <= -4e+149) {
tmp = t_2;
} else if (y2 <= -2.3e-31) {
tmp = b * (y * ((x * a) - (k * y4)));
} else if (y2 <= -1.85e-217) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= -1.35e-289) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (y2 <= 1.5e-121) {
tmp = t_1;
} else if (y2 <= 6.2e+155) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else if (y2 <= 5e+203) {
tmp = t_1;
} else if (y2 <= 2.25e+223) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = j * (x * ((i * y1) - (b * y0))) t_2 = c * (x * ((y0 * y2) - (y * i))) tmp = 0 if y2 <= -4e+149: tmp = t_2 elif y2 <= -2.3e-31: tmp = b * (y * ((x * a) - (k * y4))) elif y2 <= -1.85e-217: tmp = b * (x * ((y * a) - (j * y0))) elif y2 <= -1.35e-289: tmp = j * (t * ((b * y4) - (i * y5))) elif y2 <= 1.5e-121: tmp = t_1 elif y2 <= 6.2e+155: tmp = a * (y3 * ((z * y1) - (y * y5))) elif y2 <= 5e+203: tmp = t_1 elif y2 <= 2.25e+223: tmp = c * (y4 * ((y * y3) - (t * y2))) else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))) t_2 = Float64(c * Float64(x * Float64(Float64(y0 * y2) - Float64(y * i)))) tmp = 0.0 if (y2 <= -4e+149) tmp = t_2; elseif (y2 <= -2.3e-31) tmp = Float64(b * Float64(y * Float64(Float64(x * a) - Float64(k * y4)))); elseif (y2 <= -1.85e-217) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y2 <= -1.35e-289) tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (y2 <= 1.5e-121) tmp = t_1; elseif (y2 <= 6.2e+155) tmp = Float64(a * Float64(y3 * Float64(Float64(z * y1) - Float64(y * y5)))); elseif (y2 <= 5e+203) tmp = t_1; elseif (y2 <= 2.25e+223) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); else tmp = t_2; 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 = j * (x * ((i * y1) - (b * y0))); t_2 = c * (x * ((y0 * y2) - (y * i))); tmp = 0.0; if (y2 <= -4e+149) tmp = t_2; elseif (y2 <= -2.3e-31) tmp = b * (y * ((x * a) - (k * y4))); elseif (y2 <= -1.85e-217) tmp = b * (x * ((y * a) - (j * y0))); elseif (y2 <= -1.35e-289) tmp = j * (t * ((b * y4) - (i * y5))); elseif (y2 <= 1.5e-121) tmp = t_1; elseif (y2 <= 6.2e+155) tmp = a * (y3 * ((z * y1) - (y * y5))); elseif (y2 <= 5e+203) tmp = t_1; elseif (y2 <= 2.25e+223) tmp = c * (y4 * ((y * y3) - (t * y2))); else tmp = t_2; 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[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(c * N[(x * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -4e+149], t$95$2, If[LessEqual[y2, -2.3e-31], N[(b * N[(y * N[(N[(x * a), $MachinePrecision] - N[(k * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -1.85e-217], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -1.35e-289], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.5e-121], t$95$1, If[LessEqual[y2, 6.2e+155], N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 5e+203], t$95$1, If[LessEqual[y2, 2.25e+223], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
t_2 := c \cdot \left(x \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\
\mathbf{if}\;y2 \leq -4 \cdot 10^{+149}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;y2 \leq -2.3 \cdot 10^{-31}:\\
\;\;\;\;b \cdot \left(y \cdot \left(x \cdot a - k \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq -1.85 \cdot 10^{-217}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq -1.35 \cdot 10^{-289}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq 1.5 \cdot 10^{-121}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y2 \leq 6.2 \cdot 10^{+155}:\\
\;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq 5 \cdot 10^{+203}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y2 \leq 2.25 \cdot 10^{+223}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_2\\
\end{array}
\end{array}
if y2 < -4.0000000000000002e149 or 2.25e223 < y2 Initial program 30.8%
Taylor expanded in c around inf 57.2%
+-commutative57.2%
mul-1-neg57.2%
unsub-neg57.2%
*-commutative57.2%
*-commutative57.2%
*-commutative57.2%
*-commutative57.2%
Simplified57.2%
Taylor expanded in x around inf 55.0%
if -4.0000000000000002e149 < y2 < -2.2999999999999998e-31Initial program 39.9%
Taylor expanded in b around inf 45.7%
Taylor expanded in y around inf 45.9%
+-commutative45.9%
mul-1-neg45.9%
unsub-neg45.9%
*-commutative45.9%
*-commutative45.9%
Simplified45.9%
if -2.2999999999999998e-31 < y2 < -1.8499999999999998e-217Initial program 28.7%
Taylor expanded in b around inf 45.8%
Taylor expanded in x around inf 41.5%
*-commutative41.5%
*-commutative41.5%
Simplified41.5%
if -1.8499999999999998e-217 < y2 < -1.35e-289Initial program 35.7%
Taylor expanded in t around inf 50.7%
Taylor expanded in j around inf 65.2%
if -1.35e-289 < y2 < 1.5e-121 or 6.19999999999999978e155 < y2 < 4.99999999999999994e203Initial program 32.8%
Taylor expanded in x around inf 48.8%
Taylor expanded in j around inf 49.5%
*-commutative49.5%
*-commutative49.5%
Simplified49.5%
if 1.5e-121 < y2 < 6.19999999999999978e155Initial program 26.3%
Taylor expanded in a around -inf 43.6%
mul-1-neg43.6%
*-commutative43.6%
distribute-rgt-neg-in43.6%
Simplified43.6%
Taylor expanded in y3 around -inf 38.4%
if 4.99999999999999994e203 < y2 < 2.25e223Initial program 20.0%
Taylor expanded in c around inf 60.0%
+-commutative60.0%
mul-1-neg60.0%
unsub-neg60.0%
*-commutative60.0%
*-commutative60.0%
*-commutative60.0%
*-commutative60.0%
Simplified60.0%
Taylor expanded in y4 around inf 100.0%
*-commutative100.0%
*-commutative100.0%
Simplified100.0%
Final simplification48.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* k (* z (- (* b y0) (* i y1))))))
(if (<= z -4.4e+173)
t_1
(if (<= z -1.55e+53)
(* y0 (* b (- (* z k) (* x j))))
(if (<= z -2.4e-98)
(* k (* y2 (- (* y1 y4) (* y0 y5))))
(if (<= z -4.1e-216)
(* k (* y (- (* i y5) (* b y4))))
(if (<= z 7e-291)
(* a (* y5 (- (* t y2) (* y y3))))
(if (<= z 1.5e-226)
(* j (* x (- (* i y1) (* b y0))))
(if (<= z 1.35e-128)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= z 1.55e+28)
(* c (* x (- (* y0 y2) (* y 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 = k * (z * ((b * y0) - (i * y1)));
double tmp;
if (z <= -4.4e+173) {
tmp = t_1;
} else if (z <= -1.55e+53) {
tmp = y0 * (b * ((z * k) - (x * j)));
} else if (z <= -2.4e-98) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (z <= -4.1e-216) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (z <= 7e-291) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (z <= 1.5e-226) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (z <= 1.35e-128) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (z <= 1.55e+28) {
tmp = c * (x * ((y0 * y2) - (y * i)));
} 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 * (z * ((b * y0) - (i * y1)))
if (z <= (-4.4d+173)) then
tmp = t_1
else if (z <= (-1.55d+53)) then
tmp = y0 * (b * ((z * k) - (x * j)))
else if (z <= (-2.4d-98)) then
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)))
else if (z <= (-4.1d-216)) then
tmp = k * (y * ((i * y5) - (b * y4)))
else if (z <= 7d-291) then
tmp = a * (y5 * ((t * y2) - (y * y3)))
else if (z <= 1.5d-226) then
tmp = j * (x * ((i * y1) - (b * y0)))
else if (z <= 1.35d-128) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (z <= 1.55d+28) then
tmp = c * (x * ((y0 * y2) - (y * i)))
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 * (z * ((b * y0) - (i * y1)));
double tmp;
if (z <= -4.4e+173) {
tmp = t_1;
} else if (z <= -1.55e+53) {
tmp = y0 * (b * ((z * k) - (x * j)));
} else if (z <= -2.4e-98) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (z <= -4.1e-216) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (z <= 7e-291) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (z <= 1.5e-226) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (z <= 1.35e-128) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (z <= 1.55e+28) {
tmp = c * (x * ((y0 * y2) - (y * i)));
} 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 * (z * ((b * y0) - (i * y1))) tmp = 0 if z <= -4.4e+173: tmp = t_1 elif z <= -1.55e+53: tmp = y0 * (b * ((z * k) - (x * j))) elif z <= -2.4e-98: tmp = k * (y2 * ((y1 * y4) - (y0 * y5))) elif z <= -4.1e-216: tmp = k * (y * ((i * y5) - (b * y4))) elif z <= 7e-291: tmp = a * (y5 * ((t * y2) - (y * y3))) elif z <= 1.5e-226: tmp = j * (x * ((i * y1) - (b * y0))) elif z <= 1.35e-128: tmp = c * (y4 * ((y * y3) - (t * y2))) elif z <= 1.55e+28: tmp = c * (x * ((y0 * y2) - (y * 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(k * Float64(z * Float64(Float64(b * y0) - Float64(i * y1)))) tmp = 0.0 if (z <= -4.4e+173) tmp = t_1; elseif (z <= -1.55e+53) tmp = Float64(y0 * Float64(b * Float64(Float64(z * k) - Float64(x * j)))); elseif (z <= -2.4e-98) tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))); elseif (z <= -4.1e-216) tmp = Float64(k * Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))); elseif (z <= 7e-291) tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))); elseif (z <= 1.5e-226) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); elseif (z <= 1.35e-128) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (z <= 1.55e+28) tmp = Float64(c * Float64(x * Float64(Float64(y0 * y2) - Float64(y * i)))); 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 * (z * ((b * y0) - (i * y1))); tmp = 0.0; if (z <= -4.4e+173) tmp = t_1; elseif (z <= -1.55e+53) tmp = y0 * (b * ((z * k) - (x * j))); elseif (z <= -2.4e-98) tmp = k * (y2 * ((y1 * y4) - (y0 * y5))); elseif (z <= -4.1e-216) tmp = k * (y * ((i * y5) - (b * y4))); elseif (z <= 7e-291) tmp = a * (y5 * ((t * y2) - (y * y3))); elseif (z <= 1.5e-226) tmp = j * (x * ((i * y1) - (b * y0))); elseif (z <= 1.35e-128) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (z <= 1.55e+28) tmp = c * (x * ((y0 * y2) - (y * i))); 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[(k * N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -4.4e+173], t$95$1, If[LessEqual[z, -1.55e+53], N[(y0 * N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -2.4e-98], N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -4.1e-216], N[(k * N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 7e-291], N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.5e-226], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.35e-128], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.55e+28], N[(c * N[(x * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
\mathbf{if}\;z \leq -4.4 \cdot 10^{+173}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;z \leq -1.55 \cdot 10^{+53}:\\
\;\;\;\;y0 \cdot \left(b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;z \leq -2.4 \cdot 10^{-98}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{elif}\;z \leq -4.1 \cdot 10^{-216}:\\
\;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\
\mathbf{elif}\;z \leq 7 \cdot 10^{-291}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;z \leq 1.5 \cdot 10^{-226}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;z \leq 1.35 \cdot 10^{-128}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;z \leq 1.55 \cdot 10^{+28}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if z < -4.4e173 or 1.55e28 < z Initial program 25.5%
Taylor expanded in k around inf 39.3%
sub-neg39.3%
+-commutative39.3%
mul-1-neg39.3%
unsub-neg39.3%
*-commutative39.3%
mul-1-neg39.3%
remove-double-neg39.3%
Simplified39.3%
Taylor expanded in z around inf 55.1%
*-commutative55.1%
*-commutative55.1%
*-commutative55.1%
*-commutative55.1%
Simplified55.1%
if -4.4e173 < z < -1.5500000000000001e53Initial program 30.8%
Taylor expanded in y0 around inf 60.7%
+-commutative60.7%
mul-1-neg60.7%
unsub-neg60.7%
*-commutative60.7%
*-commutative60.7%
*-commutative60.7%
*-commutative60.7%
Simplified60.7%
Taylor expanded in b around inf 65.2%
*-commutative65.2%
*-commutative65.2%
Simplified65.2%
if -1.5500000000000001e53 < z < -2.40000000000000005e-98Initial program 42.4%
Taylor expanded in k around inf 37.0%
sub-neg37.0%
+-commutative37.0%
mul-1-neg37.0%
unsub-neg37.0%
*-commutative37.0%
mul-1-neg37.0%
remove-double-neg37.0%
Simplified37.0%
Taylor expanded in y2 around inf 43.5%
if -2.40000000000000005e-98 < z < -4.10000000000000024e-216Initial program 28.4%
Taylor expanded in k around inf 53.1%
sub-neg53.1%
+-commutative53.1%
mul-1-neg53.1%
unsub-neg53.1%
*-commutative53.1%
mul-1-neg53.1%
remove-double-neg53.1%
Simplified53.1%
Taylor expanded in y around inf 57.9%
*-commutative57.9%
*-commutative57.9%
Simplified57.9%
if -4.10000000000000024e-216 < z < 6.99999999999999991e-291Initial program 42.9%
Taylor expanded in a around -inf 66.9%
mul-1-neg66.9%
*-commutative66.9%
distribute-rgt-neg-in66.9%
Simplified66.9%
Taylor expanded in y5 around -inf 48.3%
*-commutative48.3%
*-commutative48.3%
Simplified48.3%
if 6.99999999999999991e-291 < z < 1.49999999999999998e-226Initial program 31.8%
Taylor expanded in x around inf 46.4%
Taylor expanded in j around inf 51.0%
*-commutative51.0%
*-commutative51.0%
Simplified51.0%
if 1.49999999999999998e-226 < z < 1.35000000000000003e-128Initial program 30.7%
Taylor expanded in c around inf 48.2%
+-commutative48.2%
mul-1-neg48.2%
unsub-neg48.2%
*-commutative48.2%
*-commutative48.2%
*-commutative48.2%
*-commutative48.2%
Simplified48.2%
Taylor expanded in y4 around inf 48.4%
*-commutative48.4%
*-commutative48.4%
Simplified48.4%
if 1.35000000000000003e-128 < z < 1.55e28Initial program 30.5%
Taylor expanded in c around inf 43.8%
+-commutative43.8%
mul-1-neg43.8%
unsub-neg43.8%
*-commutative43.8%
*-commutative43.8%
*-commutative43.8%
*-commutative43.8%
Simplified43.8%
Taylor expanded in x around inf 47.3%
Final simplification52.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* k (* z (- (* b y0) (* i y1))))))
(if (<= z -7.6e+171)
t_1
(if (<= z -8.8e+48)
(* y0 (* b (- (* z k) (* x j))))
(if (<= z -5.4e-97)
(* y0 (* y2 (- (* x c) (* k y5))))
(if (<= z -2.15e-217)
(* k (* y (- (* i y5) (* b y4))))
(if (<= z 1.05e-282)
(* a (* y5 (- (* t y2) (* y y3))))
(if (<= z 1.95e-226)
(* j (* x (- (* i y1) (* b y0))))
(if (<= z 3.2e-126)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= z 9.8e+27)
(* c (* x (- (* y0 y2) (* y 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 = k * (z * ((b * y0) - (i * y1)));
double tmp;
if (z <= -7.6e+171) {
tmp = t_1;
} else if (z <= -8.8e+48) {
tmp = y0 * (b * ((z * k) - (x * j)));
} else if (z <= -5.4e-97) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else if (z <= -2.15e-217) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (z <= 1.05e-282) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (z <= 1.95e-226) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (z <= 3.2e-126) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (z <= 9.8e+27) {
tmp = c * (x * ((y0 * y2) - (y * i)));
} 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 * (z * ((b * y0) - (i * y1)))
if (z <= (-7.6d+171)) then
tmp = t_1
else if (z <= (-8.8d+48)) then
tmp = y0 * (b * ((z * k) - (x * j)))
else if (z <= (-5.4d-97)) then
tmp = y0 * (y2 * ((x * c) - (k * y5)))
else if (z <= (-2.15d-217)) then
tmp = k * (y * ((i * y5) - (b * y4)))
else if (z <= 1.05d-282) then
tmp = a * (y5 * ((t * y2) - (y * y3)))
else if (z <= 1.95d-226) then
tmp = j * (x * ((i * y1) - (b * y0)))
else if (z <= 3.2d-126) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (z <= 9.8d+27) then
tmp = c * (x * ((y0 * y2) - (y * i)))
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 * (z * ((b * y0) - (i * y1)));
double tmp;
if (z <= -7.6e+171) {
tmp = t_1;
} else if (z <= -8.8e+48) {
tmp = y0 * (b * ((z * k) - (x * j)));
} else if (z <= -5.4e-97) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else if (z <= -2.15e-217) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (z <= 1.05e-282) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (z <= 1.95e-226) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (z <= 3.2e-126) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (z <= 9.8e+27) {
tmp = c * (x * ((y0 * y2) - (y * i)));
} 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 * (z * ((b * y0) - (i * y1))) tmp = 0 if z <= -7.6e+171: tmp = t_1 elif z <= -8.8e+48: tmp = y0 * (b * ((z * k) - (x * j))) elif z <= -5.4e-97: tmp = y0 * (y2 * ((x * c) - (k * y5))) elif z <= -2.15e-217: tmp = k * (y * ((i * y5) - (b * y4))) elif z <= 1.05e-282: tmp = a * (y5 * ((t * y2) - (y * y3))) elif z <= 1.95e-226: tmp = j * (x * ((i * y1) - (b * y0))) elif z <= 3.2e-126: tmp = c * (y4 * ((y * y3) - (t * y2))) elif z <= 9.8e+27: tmp = c * (x * ((y0 * y2) - (y * 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(k * Float64(z * Float64(Float64(b * y0) - Float64(i * y1)))) tmp = 0.0 if (z <= -7.6e+171) tmp = t_1; elseif (z <= -8.8e+48) tmp = Float64(y0 * Float64(b * Float64(Float64(z * k) - Float64(x * j)))); elseif (z <= -5.4e-97) tmp = Float64(y0 * Float64(y2 * Float64(Float64(x * c) - Float64(k * y5)))); elseif (z <= -2.15e-217) tmp = Float64(k * Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))); elseif (z <= 1.05e-282) tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))); elseif (z <= 1.95e-226) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); elseif (z <= 3.2e-126) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (z <= 9.8e+27) tmp = Float64(c * Float64(x * Float64(Float64(y0 * y2) - Float64(y * i)))); 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 * (z * ((b * y0) - (i * y1))); tmp = 0.0; if (z <= -7.6e+171) tmp = t_1; elseif (z <= -8.8e+48) tmp = y0 * (b * ((z * k) - (x * j))); elseif (z <= -5.4e-97) tmp = y0 * (y2 * ((x * c) - (k * y5))); elseif (z <= -2.15e-217) tmp = k * (y * ((i * y5) - (b * y4))); elseif (z <= 1.05e-282) tmp = a * (y5 * ((t * y2) - (y * y3))); elseif (z <= 1.95e-226) tmp = j * (x * ((i * y1) - (b * y0))); elseif (z <= 3.2e-126) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (z <= 9.8e+27) tmp = c * (x * ((y0 * y2) - (y * i))); 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[(k * N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -7.6e+171], t$95$1, If[LessEqual[z, -8.8e+48], N[(y0 * N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -5.4e-97], N[(y0 * N[(y2 * N[(N[(x * c), $MachinePrecision] - N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -2.15e-217], N[(k * N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.05e-282], N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.95e-226], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.2e-126], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 9.8e+27], N[(c * N[(x * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
\mathbf{if}\;z \leq -7.6 \cdot 10^{+171}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;z \leq -8.8 \cdot 10^{+48}:\\
\;\;\;\;y0 \cdot \left(b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;z \leq -5.4 \cdot 10^{-97}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c - k \cdot y5\right)\right)\\
\mathbf{elif}\;z \leq -2.15 \cdot 10^{-217}:\\
\;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\
\mathbf{elif}\;z \leq 1.05 \cdot 10^{-282}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;z \leq 1.95 \cdot 10^{-226}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;z \leq 3.2 \cdot 10^{-126}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;z \leq 9.8 \cdot 10^{+27}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if z < -7.6000000000000004e171 or 9.8000000000000003e27 < z Initial program 25.5%
Taylor expanded in k around inf 39.3%
sub-neg39.3%
+-commutative39.3%
mul-1-neg39.3%
unsub-neg39.3%
*-commutative39.3%
mul-1-neg39.3%
remove-double-neg39.3%
Simplified39.3%
Taylor expanded in z around inf 55.1%
*-commutative55.1%
*-commutative55.1%
*-commutative55.1%
*-commutative55.1%
Simplified55.1%
if -7.6000000000000004e171 < z < -8.7999999999999997e48Initial program 28.3%
Taylor expanded in y0 around inf 55.8%
+-commutative55.8%
mul-1-neg55.8%
unsub-neg55.8%
*-commutative55.8%
*-commutative55.8%
*-commutative55.8%
*-commutative55.8%
Simplified55.8%
Taylor expanded in b around inf 63.9%
*-commutative63.9%
*-commutative63.9%
Simplified63.9%
if -8.7999999999999997e48 < z < -5.3999999999999997e-97Initial program 45.1%
Taylor expanded in y0 around inf 48.9%
+-commutative48.9%
mul-1-neg48.9%
unsub-neg48.9%
*-commutative48.9%
*-commutative48.9%
*-commutative48.9%
*-commutative48.9%
Simplified48.9%
Taylor expanded in y2 around inf 46.0%
if -5.3999999999999997e-97 < z < -2.15000000000000011e-217Initial program 28.4%
Taylor expanded in k around inf 53.1%
sub-neg53.1%
+-commutative53.1%
mul-1-neg53.1%
unsub-neg53.1%
*-commutative53.1%
mul-1-neg53.1%
remove-double-neg53.1%
Simplified53.1%
Taylor expanded in y around inf 57.9%
*-commutative57.9%
*-commutative57.9%
Simplified57.9%
if -2.15000000000000011e-217 < z < 1.05000000000000006e-282Initial program 43.5%
Taylor expanded in a around -inf 61.2%
mul-1-neg61.2%
*-commutative61.2%
distribute-rgt-neg-in61.2%
Simplified61.2%
Taylor expanded in y5 around -inf 44.2%
*-commutative44.2%
*-commutative44.2%
Simplified44.2%
if 1.05000000000000006e-282 < z < 1.9499999999999999e-226Initial program 29.9%
Taylor expanded in x around inf 46.0%
Taylor expanded in j around inf 56.1%
*-commutative56.1%
*-commutative56.1%
Simplified56.1%
if 1.9499999999999999e-226 < z < 3.2000000000000001e-126Initial program 30.7%
Taylor expanded in c around inf 48.2%
+-commutative48.2%
mul-1-neg48.2%
unsub-neg48.2%
*-commutative48.2%
*-commutative48.2%
*-commutative48.2%
*-commutative48.2%
Simplified48.2%
Taylor expanded in y4 around inf 48.4%
*-commutative48.4%
*-commutative48.4%
Simplified48.4%
if 3.2000000000000001e-126 < z < 9.8000000000000003e27Initial program 30.5%
Taylor expanded in c around inf 43.8%
+-commutative43.8%
mul-1-neg43.8%
unsub-neg43.8%
*-commutative43.8%
*-commutative43.8%
*-commutative43.8%
*-commutative43.8%
Simplified43.8%
Taylor expanded in x around inf 47.3%
Final simplification52.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* k (* y2 (- (* y1 y4) (* y0 y5))))))
(if (<= y2 -2.9e+78)
t_1
(if (<= y2 -1.35e-223)
(* b (* x (- (* y a) (* j y0))))
(if (<= y2 -9.4e-271)
(* j (* t (- (* b y4) (* i y5))))
(if (<= y2 3.8e-307)
(* y0 (* y3 (- (* j y5) (* z c))))
(if (<= y2 4.4e-104)
(* j (* x (- (* i y1) (* b y0))))
(if (<= y2 1.8e+40)
t_1
(if (<= y2 1.1e+98)
(* b (* y (- (* x a) (* k y4))))
(if (<= y2 3.8e+202)
(* y0 (* b (- (* z k) (* x j))))
(* y0 (* y2 (- (* x c) (* k y5))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
double tmp;
if (y2 <= -2.9e+78) {
tmp = t_1;
} else if (y2 <= -1.35e-223) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= -9.4e-271) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (y2 <= 3.8e-307) {
tmp = y0 * (y3 * ((j * y5) - (z * c)));
} else if (y2 <= 4.4e-104) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y2 <= 1.8e+40) {
tmp = t_1;
} else if (y2 <= 1.1e+98) {
tmp = b * (y * ((x * a) - (k * y4)));
} else if (y2 <= 3.8e+202) {
tmp = y0 * (b * ((z * k) - (x * j)));
} else {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)))
if (y2 <= (-2.9d+78)) then
tmp = t_1
else if (y2 <= (-1.35d-223)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y2 <= (-9.4d-271)) then
tmp = j * (t * ((b * y4) - (i * y5)))
else if (y2 <= 3.8d-307) then
tmp = y0 * (y3 * ((j * y5) - (z * c)))
else if (y2 <= 4.4d-104) then
tmp = j * (x * ((i * y1) - (b * y0)))
else if (y2 <= 1.8d+40) then
tmp = t_1
else if (y2 <= 1.1d+98) then
tmp = b * (y * ((x * a) - (k * y4)))
else if (y2 <= 3.8d+202) then
tmp = y0 * (b * ((z * k) - (x * j)))
else
tmp = y0 * (y2 * ((x * c) - (k * y5)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
double tmp;
if (y2 <= -2.9e+78) {
tmp = t_1;
} else if (y2 <= -1.35e-223) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= -9.4e-271) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (y2 <= 3.8e-307) {
tmp = y0 * (y3 * ((j * y5) - (z * c)));
} else if (y2 <= 4.4e-104) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y2 <= 1.8e+40) {
tmp = t_1;
} else if (y2 <= 1.1e+98) {
tmp = b * (y * ((x * a) - (k * y4)));
} else if (y2 <= 3.8e+202) {
tmp = y0 * (b * ((z * k) - (x * j)));
} else {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = k * (y2 * ((y1 * y4) - (y0 * y5))) tmp = 0 if y2 <= -2.9e+78: tmp = t_1 elif y2 <= -1.35e-223: tmp = b * (x * ((y * a) - (j * y0))) elif y2 <= -9.4e-271: tmp = j * (t * ((b * y4) - (i * y5))) elif y2 <= 3.8e-307: tmp = y0 * (y3 * ((j * y5) - (z * c))) elif y2 <= 4.4e-104: tmp = j * (x * ((i * y1) - (b * y0))) elif y2 <= 1.8e+40: tmp = t_1 elif y2 <= 1.1e+98: tmp = b * (y * ((x * a) - (k * y4))) elif y2 <= 3.8e+202: tmp = y0 * (b * ((z * k) - (x * j))) else: tmp = y0 * (y2 * ((x * c) - (k * y5))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) tmp = 0.0 if (y2 <= -2.9e+78) tmp = t_1; elseif (y2 <= -1.35e-223) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y2 <= -9.4e-271) tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (y2 <= 3.8e-307) tmp = Float64(y0 * Float64(y3 * Float64(Float64(j * y5) - Float64(z * c)))); elseif (y2 <= 4.4e-104) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); elseif (y2 <= 1.8e+40) tmp = t_1; elseif (y2 <= 1.1e+98) tmp = Float64(b * Float64(y * Float64(Float64(x * a) - Float64(k * y4)))); elseif (y2 <= 3.8e+202) tmp = Float64(y0 * Float64(b * Float64(Float64(z * k) - Float64(x * j)))); else tmp = Float64(y0 * Float64(y2 * Float64(Float64(x * c) - Float64(k * y5)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = k * (y2 * ((y1 * y4) - (y0 * y5))); tmp = 0.0; if (y2 <= -2.9e+78) tmp = t_1; elseif (y2 <= -1.35e-223) tmp = b * (x * ((y * a) - (j * y0))); elseif (y2 <= -9.4e-271) tmp = j * (t * ((b * y4) - (i * y5))); elseif (y2 <= 3.8e-307) tmp = y0 * (y3 * ((j * y5) - (z * c))); elseif (y2 <= 4.4e-104) tmp = j * (x * ((i * y1) - (b * y0))); elseif (y2 <= 1.8e+40) tmp = t_1; elseif (y2 <= 1.1e+98) tmp = b * (y * ((x * a) - (k * y4))); elseif (y2 <= 3.8e+202) tmp = y0 * (b * ((z * k) - (x * j))); else tmp = y0 * (y2 * ((x * c) - (k * y5))); 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[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -2.9e+78], t$95$1, If[LessEqual[y2, -1.35e-223], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -9.4e-271], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3.8e-307], N[(y0 * N[(y3 * N[(N[(j * y5), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 4.4e-104], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.8e+40], t$95$1, If[LessEqual[y2, 1.1e+98], N[(b * N[(y * N[(N[(x * a), $MachinePrecision] - N[(k * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3.8e+202], N[(y0 * N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y0 * N[(y2 * N[(N[(x * c), $MachinePrecision] - N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{if}\;y2 \leq -2.9 \cdot 10^{+78}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y2 \leq -1.35 \cdot 10^{-223}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq -9.4 \cdot 10^{-271}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq 3.8 \cdot 10^{-307}:\\
\;\;\;\;y0 \cdot \left(y3 \cdot \left(j \cdot y5 - z \cdot c\right)\right)\\
\mathbf{elif}\;y2 \leq 4.4 \cdot 10^{-104}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 1.8 \cdot 10^{+40}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y2 \leq 1.1 \cdot 10^{+98}:\\
\;\;\;\;b \cdot \left(y \cdot \left(x \cdot a - k \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq 3.8 \cdot 10^{+202}:\\
\;\;\;\;y0 \cdot \left(b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c - k \cdot y5\right)\right)\\
\end{array}
\end{array}
if y2 < -2.90000000000000017e78 or 4.40000000000000023e-104 < y2 < 1.79999999999999998e40Initial program 31.5%
Taylor expanded in k around inf 44.4%
sub-neg44.4%
+-commutative44.4%
mul-1-neg44.4%
unsub-neg44.4%
*-commutative44.4%
mul-1-neg44.4%
remove-double-neg44.4%
Simplified44.4%
Taylor expanded in y2 around inf 46.3%
if -2.90000000000000017e78 < y2 < -1.34999999999999994e-223Initial program 36.4%
Taylor expanded in b around inf 46.0%
Taylor expanded in x around inf 42.0%
*-commutative42.0%
*-commutative42.0%
Simplified42.0%
if -1.34999999999999994e-223 < y2 < -9.4000000000000001e-271Initial program 27.3%
Taylor expanded in t around inf 46.3%
Taylor expanded in j around inf 64.6%
if -9.4000000000000001e-271 < y2 < 3.79999999999999985e-307Initial program 44.4%
Taylor expanded in y0 around inf 56.8%
+-commutative56.8%
mul-1-neg56.8%
unsub-neg56.8%
*-commutative56.8%
*-commutative56.8%
*-commutative56.8%
*-commutative56.8%
Simplified56.8%
Taylor expanded in y3 around inf 89.0%
sub-neg89.0%
mul-1-neg89.0%
remove-double-neg89.0%
+-commutative89.0%
mul-1-neg89.0%
unsub-neg89.0%
Simplified89.0%
if 3.79999999999999985e-307 < y2 < 4.40000000000000023e-104Initial program 34.2%
Taylor expanded in x around inf 47.4%
Taylor expanded in j around inf 45.8%
*-commutative45.8%
*-commutative45.8%
Simplified45.8%
if 1.79999999999999998e40 < y2 < 1.10000000000000004e98Initial program 15.3%
Taylor expanded in b around inf 16.1%
Taylor expanded in y around inf 61.8%
+-commutative61.8%
mul-1-neg61.8%
unsub-neg61.8%
*-commutative61.8%
*-commutative61.8%
Simplified61.8%
if 1.10000000000000004e98 < y2 < 3.8000000000000001e202Initial program 18.1%
Taylor expanded in y0 around inf 18.8%
+-commutative18.8%
mul-1-neg18.8%
unsub-neg18.8%
*-commutative18.8%
*-commutative18.8%
*-commutative18.8%
*-commutative18.8%
Simplified18.8%
Taylor expanded in b around inf 46.1%
*-commutative46.1%
*-commutative46.1%
Simplified46.1%
if 3.8000000000000001e202 < y2 Initial program 30.0%
Taylor expanded in y0 around inf 55.2%
+-commutative55.2%
mul-1-neg55.2%
unsub-neg55.2%
*-commutative55.2%
*-commutative55.2%
*-commutative55.2%
*-commutative55.2%
Simplified55.2%
Taylor expanded in y2 around inf 75.2%
Final simplification50.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* k (* y2 (- (* y1 y4) (* y0 y5))))))
(if (<= y2 -8.8e+80)
t_1
(if (<= y2 -1.9e-228)
(* b (* x (- (* y a) (* j y0))))
(if (<= y2 4e-88)
(* j (+ (* t (- (* b y4) (* i y5))) (* x (- (* i y1) (* b y0)))))
(if (<= y2 3.2e+44)
t_1
(if (<= y2 2.4e+96)
(* b (* y (- (* x a) (* k y4))))
(if (<= y2 8.2e+132)
(* a (* y3 (- (* z y1) (* y y5))))
(if (<= y2 1.4e+233)
(* a (* y2 (- (* t y5) (* x y1))))
(* y0 (* y2 (- (* x c) (* k y5)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
double tmp;
if (y2 <= -8.8e+80) {
tmp = t_1;
} else if (y2 <= -1.9e-228) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 4e-88) {
tmp = j * ((t * ((b * y4) - (i * y5))) + (x * ((i * y1) - (b * y0))));
} else if (y2 <= 3.2e+44) {
tmp = t_1;
} else if (y2 <= 2.4e+96) {
tmp = b * (y * ((x * a) - (k * y4)));
} else if (y2 <= 8.2e+132) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else if (y2 <= 1.4e+233) {
tmp = a * (y2 * ((t * y5) - (x * y1)));
} else {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)))
if (y2 <= (-8.8d+80)) then
tmp = t_1
else if (y2 <= (-1.9d-228)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y2 <= 4d-88) then
tmp = j * ((t * ((b * y4) - (i * y5))) + (x * ((i * y1) - (b * y0))))
else if (y2 <= 3.2d+44) then
tmp = t_1
else if (y2 <= 2.4d+96) then
tmp = b * (y * ((x * a) - (k * y4)))
else if (y2 <= 8.2d+132) then
tmp = a * (y3 * ((z * y1) - (y * y5)))
else if (y2 <= 1.4d+233) then
tmp = a * (y2 * ((t * y5) - (x * y1)))
else
tmp = y0 * (y2 * ((x * c) - (k * y5)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
double tmp;
if (y2 <= -8.8e+80) {
tmp = t_1;
} else if (y2 <= -1.9e-228) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 4e-88) {
tmp = j * ((t * ((b * y4) - (i * y5))) + (x * ((i * y1) - (b * y0))));
} else if (y2 <= 3.2e+44) {
tmp = t_1;
} else if (y2 <= 2.4e+96) {
tmp = b * (y * ((x * a) - (k * y4)));
} else if (y2 <= 8.2e+132) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else if (y2 <= 1.4e+233) {
tmp = a * (y2 * ((t * y5) - (x * y1)));
} else {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = k * (y2 * ((y1 * y4) - (y0 * y5))) tmp = 0 if y2 <= -8.8e+80: tmp = t_1 elif y2 <= -1.9e-228: tmp = b * (x * ((y * a) - (j * y0))) elif y2 <= 4e-88: tmp = j * ((t * ((b * y4) - (i * y5))) + (x * ((i * y1) - (b * y0)))) elif y2 <= 3.2e+44: tmp = t_1 elif y2 <= 2.4e+96: tmp = b * (y * ((x * a) - (k * y4))) elif y2 <= 8.2e+132: tmp = a * (y3 * ((z * y1) - (y * y5))) elif y2 <= 1.4e+233: tmp = a * (y2 * ((t * y5) - (x * y1))) else: tmp = y0 * (y2 * ((x * c) - (k * y5))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) tmp = 0.0 if (y2 <= -8.8e+80) tmp = t_1; elseif (y2 <= -1.9e-228) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y2 <= 4e-88) tmp = Float64(j * Float64(Float64(t * Float64(Float64(b * y4) - Float64(i * y5))) + Float64(x * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (y2 <= 3.2e+44) tmp = t_1; elseif (y2 <= 2.4e+96) tmp = Float64(b * Float64(y * Float64(Float64(x * a) - Float64(k * y4)))); elseif (y2 <= 8.2e+132) tmp = Float64(a * Float64(y3 * Float64(Float64(z * y1) - Float64(y * y5)))); elseif (y2 <= 1.4e+233) tmp = Float64(a * Float64(y2 * Float64(Float64(t * y5) - Float64(x * y1)))); else tmp = Float64(y0 * Float64(y2 * Float64(Float64(x * c) - Float64(k * y5)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = k * (y2 * ((y1 * y4) - (y0 * y5))); tmp = 0.0; if (y2 <= -8.8e+80) tmp = t_1; elseif (y2 <= -1.9e-228) tmp = b * (x * ((y * a) - (j * y0))); elseif (y2 <= 4e-88) tmp = j * ((t * ((b * y4) - (i * y5))) + (x * ((i * y1) - (b * y0)))); elseif (y2 <= 3.2e+44) tmp = t_1; elseif (y2 <= 2.4e+96) tmp = b * (y * ((x * a) - (k * y4))); elseif (y2 <= 8.2e+132) tmp = a * (y3 * ((z * y1) - (y * y5))); elseif (y2 <= 1.4e+233) tmp = a * (y2 * ((t * y5) - (x * y1))); else tmp = y0 * (y2 * ((x * c) - (k * y5))); 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[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -8.8e+80], t$95$1, If[LessEqual[y2, -1.9e-228], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 4e-88], N[(j * N[(N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3.2e+44], t$95$1, If[LessEqual[y2, 2.4e+96], N[(b * N[(y * N[(N[(x * a), $MachinePrecision] - N[(k * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 8.2e+132], N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.4e+233], N[(a * N[(y2 * N[(N[(t * y5), $MachinePrecision] - N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y0 * N[(y2 * N[(N[(x * c), $MachinePrecision] - N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{if}\;y2 \leq -8.8 \cdot 10^{+80}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y2 \leq -1.9 \cdot 10^{-228}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 4 \cdot 10^{-88}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right) + x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 3.2 \cdot 10^{+44}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y2 \leq 2.4 \cdot 10^{+96}:\\
\;\;\;\;b \cdot \left(y \cdot \left(x \cdot a - k \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq 8.2 \cdot 10^{+132}:\\
\;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq 1.4 \cdot 10^{+233}:\\
\;\;\;\;a \cdot \left(y2 \cdot \left(t \cdot y5 - x \cdot y1\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c - k \cdot y5\right)\right)\\
\end{array}
\end{array}
if y2 < -8.80000000000000011e80 or 3.99999999999999974e-88 < y2 < 3.20000000000000004e44Initial program 30.2%
Taylor expanded in k around inf 45.5%
sub-neg45.5%
+-commutative45.5%
mul-1-neg45.5%
unsub-neg45.5%
*-commutative45.5%
mul-1-neg45.5%
remove-double-neg45.5%
Simplified45.5%
Taylor expanded in y2 around inf 49.0%
if -8.80000000000000011e80 < y2 < -1.8999999999999999e-228Initial program 35.9%
Taylor expanded in b around inf 45.4%
Taylor expanded in x around inf 41.3%
*-commutative41.3%
*-commutative41.3%
Simplified41.3%
if -1.8999999999999999e-228 < y2 < 3.99999999999999974e-88Initial program 36.0%
Taylor expanded in j around inf 39.8%
+-commutative39.8%
mul-1-neg39.8%
unsub-neg39.8%
*-commutative39.8%
Simplified39.8%
Taylor expanded in y3 around 0 48.9%
*-commutative48.9%
*-commutative48.9%
Simplified48.9%
if 3.20000000000000004e44 < y2 < 2.39999999999999993e96Initial program 15.3%
Taylor expanded in b around inf 16.1%
Taylor expanded in y around inf 61.8%
+-commutative61.8%
mul-1-neg61.8%
unsub-neg61.8%
*-commutative61.8%
*-commutative61.8%
Simplified61.8%
if 2.39999999999999993e96 < y2 < 8.19999999999999983e132Initial program 11.1%
Taylor expanded in a around -inf 46.1%
mul-1-neg46.1%
*-commutative46.1%
distribute-rgt-neg-in46.1%
Simplified46.1%
Taylor expanded in y3 around -inf 56.3%
if 8.19999999999999983e132 < y2 < 1.40000000000000005e233Initial program 24.9%
Taylor expanded in a around -inf 45.2%
mul-1-neg45.2%
*-commutative45.2%
distribute-rgt-neg-in45.2%
Simplified45.2%
Taylor expanded in y2 around inf 60.7%
associate-*r*60.7%
neg-mul-160.7%
Simplified60.7%
if 1.40000000000000005e233 < y2 Initial program 30.8%
Taylor expanded in y0 around inf 69.2%
+-commutative69.2%
mul-1-neg69.2%
unsub-neg69.2%
*-commutative69.2%
*-commutative69.2%
*-commutative69.2%
*-commutative69.2%
Simplified69.2%
Taylor expanded in y2 around inf 92.3%
Final simplification51.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* x (- (* y a) (* j y0)))))
(t_2 (* a (* y3 (- (* z y1) (* y y5))))))
(if (<= y3 -4.4e+247)
t_2
(if (<= y3 -1.95e+147)
t_1
(if (<= y3 -1.35e+139)
t_2
(if (<= y3 -1.02e+124)
(* y0 (* j (* y3 y5)))
(if (<= y3 -1.7e+97)
t_1
(if (<= y3 -3.2e+51)
t_2
(if (<= y3 5e-23)
t_1
(* a (* y5 (- (* t y2) (* y y3)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (x * ((y * a) - (j * y0)));
double t_2 = a * (y3 * ((z * y1) - (y * y5)));
double tmp;
if (y3 <= -4.4e+247) {
tmp = t_2;
} else if (y3 <= -1.95e+147) {
tmp = t_1;
} else if (y3 <= -1.35e+139) {
tmp = t_2;
} else if (y3 <= -1.02e+124) {
tmp = y0 * (j * (y3 * y5));
} else if (y3 <= -1.7e+97) {
tmp = t_1;
} else if (y3 <= -3.2e+51) {
tmp = t_2;
} else if (y3 <= 5e-23) {
tmp = t_1;
} else {
tmp = a * (y5 * ((t * y2) - (y * y3)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = b * (x * ((y * a) - (j * y0)))
t_2 = a * (y3 * ((z * y1) - (y * y5)))
if (y3 <= (-4.4d+247)) then
tmp = t_2
else if (y3 <= (-1.95d+147)) then
tmp = t_1
else if (y3 <= (-1.35d+139)) then
tmp = t_2
else if (y3 <= (-1.02d+124)) then
tmp = y0 * (j * (y3 * y5))
else if (y3 <= (-1.7d+97)) then
tmp = t_1
else if (y3 <= (-3.2d+51)) then
tmp = t_2
else if (y3 <= 5d-23) then
tmp = t_1
else
tmp = a * (y5 * ((t * y2) - (y * y3)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (x * ((y * a) - (j * y0)));
double t_2 = a * (y3 * ((z * y1) - (y * y5)));
double tmp;
if (y3 <= -4.4e+247) {
tmp = t_2;
} else if (y3 <= -1.95e+147) {
tmp = t_1;
} else if (y3 <= -1.35e+139) {
tmp = t_2;
} else if (y3 <= -1.02e+124) {
tmp = y0 * (j * (y3 * y5));
} else if (y3 <= -1.7e+97) {
tmp = t_1;
} else if (y3 <= -3.2e+51) {
tmp = t_2;
} else if (y3 <= 5e-23) {
tmp = t_1;
} else {
tmp = a * (y5 * ((t * y2) - (y * y3)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (x * ((y * a) - (j * y0))) t_2 = a * (y3 * ((z * y1) - (y * y5))) tmp = 0 if y3 <= -4.4e+247: tmp = t_2 elif y3 <= -1.95e+147: tmp = t_1 elif y3 <= -1.35e+139: tmp = t_2 elif y3 <= -1.02e+124: tmp = y0 * (j * (y3 * y5)) elif y3 <= -1.7e+97: tmp = t_1 elif y3 <= -3.2e+51: tmp = t_2 elif y3 <= 5e-23: tmp = t_1 else: tmp = a * (y5 * ((t * y2) - (y * y3))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))) t_2 = Float64(a * Float64(y3 * Float64(Float64(z * y1) - Float64(y * y5)))) tmp = 0.0 if (y3 <= -4.4e+247) tmp = t_2; elseif (y3 <= -1.95e+147) tmp = t_1; elseif (y3 <= -1.35e+139) tmp = t_2; elseif (y3 <= -1.02e+124) tmp = Float64(y0 * Float64(j * Float64(y3 * y5))); elseif (y3 <= -1.7e+97) tmp = t_1; elseif (y3 <= -3.2e+51) tmp = t_2; elseif (y3 <= 5e-23) tmp = t_1; else tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (x * ((y * a) - (j * y0))); t_2 = a * (y3 * ((z * y1) - (y * y5))); tmp = 0.0; if (y3 <= -4.4e+247) tmp = t_2; elseif (y3 <= -1.95e+147) tmp = t_1; elseif (y3 <= -1.35e+139) tmp = t_2; elseif (y3 <= -1.02e+124) tmp = y0 * (j * (y3 * y5)); elseif (y3 <= -1.7e+97) tmp = t_1; elseif (y3 <= -3.2e+51) tmp = t_2; elseif (y3 <= 5e-23) tmp = t_1; else tmp = a * (y5 * ((t * y2) - (y * y3))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -4.4e+247], t$95$2, If[LessEqual[y3, -1.95e+147], t$95$1, If[LessEqual[y3, -1.35e+139], t$95$2, If[LessEqual[y3, -1.02e+124], N[(y0 * N[(j * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -1.7e+97], t$95$1, If[LessEqual[y3, -3.2e+51], t$95$2, If[LessEqual[y3, 5e-23], t$95$1, N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
t_2 := a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\
\mathbf{if}\;y3 \leq -4.4 \cdot 10^{+247}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;y3 \leq -1.95 \cdot 10^{+147}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y3 \leq -1.35 \cdot 10^{+139}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;y3 \leq -1.02 \cdot 10^{+124}:\\
\;\;\;\;y0 \cdot \left(j \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{elif}\;y3 \leq -1.7 \cdot 10^{+97}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y3 \leq -3.2 \cdot 10^{+51}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;y3 \leq 5 \cdot 10^{-23}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\end{array}
\end{array}
if y3 < -4.40000000000000022e247 or -1.95000000000000008e147 < y3 < -1.3499999999999999e139 or -1.70000000000000005e97 < y3 < -3.2000000000000002e51Initial program 12.0%
Taylor expanded in a around -inf 44.1%
mul-1-neg44.1%
*-commutative44.1%
distribute-rgt-neg-in44.1%
Simplified44.1%
Taylor expanded in y3 around -inf 68.9%
if -4.40000000000000022e247 < y3 < -1.95000000000000008e147 or -1.01999999999999994e124 < y3 < -1.70000000000000005e97 or -3.2000000000000002e51 < y3 < 5.0000000000000002e-23Initial program 35.3%
Taylor expanded in b around inf 39.8%
Taylor expanded in x around inf 37.3%
*-commutative37.3%
*-commutative37.3%
Simplified37.3%
if -1.3499999999999999e139 < y3 < -1.01999999999999994e124Initial program 20.0%
Taylor expanded in j around inf 20.0%
+-commutative20.0%
mul-1-neg20.0%
unsub-neg20.0%
*-commutative20.0%
Simplified20.0%
Taylor expanded in y0 around -inf 41.1%
+-commutative41.1%
mul-1-neg41.1%
*-commutative41.1%
unsub-neg41.1%
Simplified41.1%
Taylor expanded in y3 around inf 43.1%
associate-*r*43.1%
*-commutative43.1%
*-commutative43.1%
associate-*l*62.0%
Simplified62.0%
if 5.0000000000000002e-23 < y3 Initial program 29.8%
Taylor expanded in a around -inf 46.3%
mul-1-neg46.3%
*-commutative46.3%
distribute-rgt-neg-in46.3%
Simplified46.3%
Taylor expanded in y5 around -inf 43.5%
*-commutative43.5%
*-commutative43.5%
Simplified43.5%
Final simplification42.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (* y3 (- (* z y1) (* y y5))))) (t_2 (* x (- y0))))
(if (<= y3 -7.4e+223)
t_1
(if (<= y3 -2.55e-201)
(* a (* y (- (* x b) (* y3 y5))))
(if (<= y3 8e-295)
(* j (* b t_2))
(if (<= y3 4.5e-166)
(* (* x y1) (* i j))
(if (<= y3 1e-27) (* (* b j) t_2) t_1)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (y3 * ((z * y1) - (y * y5)));
double t_2 = x * -y0;
double tmp;
if (y3 <= -7.4e+223) {
tmp = t_1;
} else if (y3 <= -2.55e-201) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (y3 <= 8e-295) {
tmp = j * (b * t_2);
} else if (y3 <= 4.5e-166) {
tmp = (x * y1) * (i * j);
} else if (y3 <= 1e-27) {
tmp = (b * j) * t_2;
} 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) :: t_2
real(8) :: tmp
t_1 = a * (y3 * ((z * y1) - (y * y5)))
t_2 = x * -y0
if (y3 <= (-7.4d+223)) then
tmp = t_1
else if (y3 <= (-2.55d-201)) then
tmp = a * (y * ((x * b) - (y3 * y5)))
else if (y3 <= 8d-295) then
tmp = j * (b * t_2)
else if (y3 <= 4.5d-166) then
tmp = (x * y1) * (i * j)
else if (y3 <= 1d-27) then
tmp = (b * j) * t_2
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (y3 * ((z * y1) - (y * y5)));
double t_2 = x * -y0;
double tmp;
if (y3 <= -7.4e+223) {
tmp = t_1;
} else if (y3 <= -2.55e-201) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (y3 <= 8e-295) {
tmp = j * (b * t_2);
} else if (y3 <= 4.5e-166) {
tmp = (x * y1) * (i * j);
} else if (y3 <= 1e-27) {
tmp = (b * j) * t_2;
} 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 = a * (y3 * ((z * y1) - (y * y5))) t_2 = x * -y0 tmp = 0 if y3 <= -7.4e+223: tmp = t_1 elif y3 <= -2.55e-201: tmp = a * (y * ((x * b) - (y3 * y5))) elif y3 <= 8e-295: tmp = j * (b * t_2) elif y3 <= 4.5e-166: tmp = (x * y1) * (i * j) elif y3 <= 1e-27: tmp = (b * j) * t_2 else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(a * Float64(y3 * Float64(Float64(z * y1) - Float64(y * y5)))) t_2 = Float64(x * Float64(-y0)) tmp = 0.0 if (y3 <= -7.4e+223) tmp = t_1; elseif (y3 <= -2.55e-201) tmp = Float64(a * Float64(y * Float64(Float64(x * b) - Float64(y3 * y5)))); elseif (y3 <= 8e-295) tmp = Float64(j * Float64(b * t_2)); elseif (y3 <= 4.5e-166) tmp = Float64(Float64(x * y1) * Float64(i * j)); elseif (y3 <= 1e-27) tmp = Float64(Float64(b * j) * t_2); 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 = a * (y3 * ((z * y1) - (y * y5))); t_2 = x * -y0; tmp = 0.0; if (y3 <= -7.4e+223) tmp = t_1; elseif (y3 <= -2.55e-201) tmp = a * (y * ((x * b) - (y3 * y5))); elseif (y3 <= 8e-295) tmp = j * (b * t_2); elseif (y3 <= 4.5e-166) tmp = (x * y1) * (i * j); elseif (y3 <= 1e-27) tmp = (b * j) * t_2; 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[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(x * (-y0)), $MachinePrecision]}, If[LessEqual[y3, -7.4e+223], t$95$1, If[LessEqual[y3, -2.55e-201], N[(a * N[(y * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 8e-295], N[(j * N[(b * t$95$2), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 4.5e-166], N[(N[(x * y1), $MachinePrecision] * N[(i * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1e-27], N[(N[(b * j), $MachinePrecision] * t$95$2), $MachinePrecision], t$95$1]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\
t_2 := x \cdot \left(-y0\right)\\
\mathbf{if}\;y3 \leq -7.4 \cdot 10^{+223}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y3 \leq -2.55 \cdot 10^{-201}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b - y3 \cdot y5\right)\right)\\
\mathbf{elif}\;y3 \leq 8 \cdot 10^{-295}:\\
\;\;\;\;j \cdot \left(b \cdot t_2\right)\\
\mathbf{elif}\;y3 \leq 4.5 \cdot 10^{-166}:\\
\;\;\;\;\left(x \cdot y1\right) \cdot \left(i \cdot j\right)\\
\mathbf{elif}\;y3 \leq 10^{-27}:\\
\;\;\;\;\left(b \cdot j\right) \cdot t_2\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if y3 < -7.4000000000000005e223 or 1e-27 < y3 Initial program 27.5%
Taylor expanded in a around -inf 41.9%
mul-1-neg41.9%
*-commutative41.9%
distribute-rgt-neg-in41.9%
Simplified41.9%
Taylor expanded in y3 around -inf 46.9%
if -7.4000000000000005e223 < y3 < -2.5500000000000001e-201Initial program 29.6%
Taylor expanded in a around -inf 37.0%
mul-1-neg37.0%
*-commutative37.0%
distribute-rgt-neg-in37.0%
Simplified37.0%
Taylor expanded in y around inf 34.4%
+-commutative34.4%
mul-1-neg34.4%
unsub-neg34.4%
*-commutative34.4%
Simplified34.4%
if -2.5500000000000001e-201 < y3 < 8.00000000000000048e-295Initial program 42.3%
Taylor expanded in j around inf 27.4%
+-commutative27.4%
mul-1-neg27.4%
unsub-neg27.4%
*-commutative27.4%
Simplified27.4%
Taylor expanded in y0 around -inf 21.0%
+-commutative21.0%
mul-1-neg21.0%
*-commutative21.0%
unsub-neg21.0%
Simplified21.0%
Taylor expanded in y3 around 0 32.0%
associate-*r*32.0%
neg-mul-132.0%
*-commutative32.0%
Simplified32.0%
if 8.00000000000000048e-295 < y3 < 4.4999999999999998e-166Initial program 26.6%
Taylor expanded in x around inf 30.8%
Taylor expanded in j around inf 31.0%
associate-*r*27.3%
*-commutative27.3%
*-commutative27.3%
Simplified27.3%
Taylor expanded in y1 around inf 24.0%
associate-*r*30.5%
*-commutative30.5%
Simplified30.5%
if 4.4999999999999998e-166 < y3 < 1e-27Initial program 45.6%
Taylor expanded in j around inf 35.4%
+-commutative35.4%
mul-1-neg35.4%
unsub-neg35.4%
*-commutative35.4%
Simplified35.4%
Taylor expanded in y0 around -inf 23.5%
+-commutative23.5%
mul-1-neg23.5%
*-commutative23.5%
unsub-neg23.5%
Simplified23.5%
Taylor expanded in y3 around 0 35.0%
mul-1-neg35.0%
associate-*r*35.2%
*-commutative35.2%
Simplified35.2%
Final simplification37.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (* y5 (- (* t y2) (* y y3))))))
(if (<= y0 -3.6e+85)
(* j (* b (* x (- y0))))
(if (<= y0 -7.8e-58)
(* a (* y (- (* x b) (* y3 y5))))
(if (<= y0 -2e-199)
t_1
(if (<= y0 -2.8e-271)
(* (* b j) (* t y4))
(if (<= y0 2.6e-41) t_1 (* a (* y3 (- (* z y1) (* y y5)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (y5 * ((t * y2) - (y * y3)));
double tmp;
if (y0 <= -3.6e+85) {
tmp = j * (b * (x * -y0));
} else if (y0 <= -7.8e-58) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (y0 <= -2e-199) {
tmp = t_1;
} else if (y0 <= -2.8e-271) {
tmp = (b * j) * (t * y4);
} else if (y0 <= 2.6e-41) {
tmp = t_1;
} else {
tmp = a * (y3 * ((z * y1) - (y * y5)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = a * (y5 * ((t * y2) - (y * y3)))
if (y0 <= (-3.6d+85)) then
tmp = j * (b * (x * -y0))
else if (y0 <= (-7.8d-58)) then
tmp = a * (y * ((x * b) - (y3 * y5)))
else if (y0 <= (-2d-199)) then
tmp = t_1
else if (y0 <= (-2.8d-271)) then
tmp = (b * j) * (t * y4)
else if (y0 <= 2.6d-41) then
tmp = t_1
else
tmp = a * (y3 * ((z * y1) - (y * y5)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (y5 * ((t * y2) - (y * y3)));
double tmp;
if (y0 <= -3.6e+85) {
tmp = j * (b * (x * -y0));
} else if (y0 <= -7.8e-58) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (y0 <= -2e-199) {
tmp = t_1;
} else if (y0 <= -2.8e-271) {
tmp = (b * j) * (t * y4);
} else if (y0 <= 2.6e-41) {
tmp = t_1;
} else {
tmp = a * (y3 * ((z * y1) - (y * y5)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = a * (y5 * ((t * y2) - (y * y3))) tmp = 0 if y0 <= -3.6e+85: tmp = j * (b * (x * -y0)) elif y0 <= -7.8e-58: tmp = a * (y * ((x * b) - (y3 * y5))) elif y0 <= -2e-199: tmp = t_1 elif y0 <= -2.8e-271: tmp = (b * j) * (t * y4) elif y0 <= 2.6e-41: tmp = t_1 else: tmp = a * (y3 * ((z * y1) - (y * y5))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))) tmp = 0.0 if (y0 <= -3.6e+85) tmp = Float64(j * Float64(b * Float64(x * Float64(-y0)))); elseif (y0 <= -7.8e-58) tmp = Float64(a * Float64(y * Float64(Float64(x * b) - Float64(y3 * y5)))); elseif (y0 <= -2e-199) tmp = t_1; elseif (y0 <= -2.8e-271) tmp = Float64(Float64(b * j) * Float64(t * y4)); elseif (y0 <= 2.6e-41) tmp = t_1; else tmp = Float64(a * Float64(y3 * Float64(Float64(z * y1) - Float64(y * y5)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = a * (y5 * ((t * y2) - (y * y3))); tmp = 0.0; if (y0 <= -3.6e+85) tmp = j * (b * (x * -y0)); elseif (y0 <= -7.8e-58) tmp = a * (y * ((x * b) - (y3 * y5))); elseif (y0 <= -2e-199) tmp = t_1; elseif (y0 <= -2.8e-271) tmp = (b * j) * (t * y4); elseif (y0 <= 2.6e-41) tmp = t_1; else tmp = a * (y3 * ((z * y1) - (y * y5))); 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[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -3.6e+85], N[(j * N[(b * N[(x * (-y0)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -7.8e-58], N[(a * N[(y * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -2e-199], t$95$1, If[LessEqual[y0, -2.8e-271], N[(N[(b * j), $MachinePrecision] * N[(t * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 2.6e-41], t$95$1, N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{if}\;y0 \leq -3.6 \cdot 10^{+85}:\\
\;\;\;\;j \cdot \left(b \cdot \left(x \cdot \left(-y0\right)\right)\right)\\
\mathbf{elif}\;y0 \leq -7.8 \cdot 10^{-58}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b - y3 \cdot y5\right)\right)\\
\mathbf{elif}\;y0 \leq -2 \cdot 10^{-199}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y0 \leq -2.8 \cdot 10^{-271}:\\
\;\;\;\;\left(b \cdot j\right) \cdot \left(t \cdot y4\right)\\
\mathbf{elif}\;y0 \leq 2.6 \cdot 10^{-41}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\
\end{array}
\end{array}
if y0 < -3.5999999999999998e85Initial program 24.1%
Taylor expanded in j around inf 22.4%
+-commutative22.4%
mul-1-neg22.4%
unsub-neg22.4%
*-commutative22.4%
Simplified22.4%
Taylor expanded in y0 around -inf 48.2%
+-commutative48.2%
mul-1-neg48.2%
*-commutative48.2%
unsub-neg48.2%
Simplified48.2%
Taylor expanded in y3 around 0 44.9%
associate-*r*44.9%
neg-mul-144.9%
*-commutative44.9%
Simplified44.9%
if -3.5999999999999998e85 < y0 < -7.79999999999999985e-58Initial program 31.7%
Taylor expanded in a around -inf 41.1%
mul-1-neg41.1%
*-commutative41.1%
distribute-rgt-neg-in41.1%
Simplified41.1%
Taylor expanded in y around inf 45.9%
+-commutative45.9%
mul-1-neg45.9%
unsub-neg45.9%
*-commutative45.9%
Simplified45.9%
if -7.79999999999999985e-58 < y0 < -1.99999999999999996e-199 or -2.7999999999999997e-271 < y0 < 2.5999999999999999e-41Initial program 31.8%
Taylor expanded in a around -inf 41.6%
mul-1-neg41.6%
*-commutative41.6%
distribute-rgt-neg-in41.6%
Simplified41.6%
Taylor expanded in y5 around -inf 39.0%
*-commutative39.0%
*-commutative39.0%
Simplified39.0%
if -1.99999999999999996e-199 < y0 < -2.7999999999999997e-271Initial program 42.6%
Taylor expanded in t around inf 36.6%
Taylor expanded in j around inf 29.8%
Taylor expanded in b around inf 30.2%
associate-*r*37.0%
*-commutative37.0%
Simplified37.0%
if 2.5999999999999999e-41 < y0 Initial program 33.6%
Taylor expanded in a around -inf 36.5%
mul-1-neg36.5%
*-commutative36.5%
distribute-rgt-neg-in36.5%
Simplified36.5%
Taylor expanded in y3 around -inf 31.0%
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 (* c (* y4 (- (* y y3) (* t y2))))))
(if (<= b -5.2e+73)
(* b (* x (- (* y a) (* j y0))))
(if (<= b -1.2e-205)
t_1
(if (<= b 1.95e-279)
(* c (* x (- (* y0 y2) (* y i))))
(if (<= b 8e-106)
t_1
(if (<= b 5.2e+84)
(* a (* y3 (- (* z y1) (* y y5))))
(* b (* y (- (* x a) (* k 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 = c * (y4 * ((y * y3) - (t * y2)));
double tmp;
if (b <= -5.2e+73) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (b <= -1.2e-205) {
tmp = t_1;
} else if (b <= 1.95e-279) {
tmp = c * (x * ((y0 * y2) - (y * i)));
} else if (b <= 8e-106) {
tmp = t_1;
} else if (b <= 5.2e+84) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else {
tmp = b * (y * ((x * a) - (k * y4)));
}
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 = c * (y4 * ((y * y3) - (t * y2)))
if (b <= (-5.2d+73)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (b <= (-1.2d-205)) then
tmp = t_1
else if (b <= 1.95d-279) then
tmp = c * (x * ((y0 * y2) - (y * i)))
else if (b <= 8d-106) then
tmp = t_1
else if (b <= 5.2d+84) then
tmp = a * (y3 * ((z * y1) - (y * y5)))
else
tmp = b * (y * ((x * a) - (k * y4)))
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 = c * (y4 * ((y * y3) - (t * y2)));
double tmp;
if (b <= -5.2e+73) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (b <= -1.2e-205) {
tmp = t_1;
} else if (b <= 1.95e-279) {
tmp = c * (x * ((y0 * y2) - (y * i)));
} else if (b <= 8e-106) {
tmp = t_1;
} else if (b <= 5.2e+84) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else {
tmp = b * (y * ((x * a) - (k * y4)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = c * (y4 * ((y * y3) - (t * y2))) tmp = 0 if b <= -5.2e+73: tmp = b * (x * ((y * a) - (j * y0))) elif b <= -1.2e-205: tmp = t_1 elif b <= 1.95e-279: tmp = c * (x * ((y0 * y2) - (y * i))) elif b <= 8e-106: tmp = t_1 elif b <= 5.2e+84: tmp = a * (y3 * ((z * y1) - (y * y5))) else: tmp = b * (y * ((x * a) - (k * y4))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))) tmp = 0.0 if (b <= -5.2e+73) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (b <= -1.2e-205) tmp = t_1; elseif (b <= 1.95e-279) tmp = Float64(c * Float64(x * Float64(Float64(y0 * y2) - Float64(y * i)))); elseif (b <= 8e-106) tmp = t_1; elseif (b <= 5.2e+84) tmp = Float64(a * Float64(y3 * Float64(Float64(z * y1) - Float64(y * y5)))); else tmp = Float64(b * Float64(y * Float64(Float64(x * a) - Float64(k * y4)))); 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 = c * (y4 * ((y * y3) - (t * y2))); tmp = 0.0; if (b <= -5.2e+73) tmp = b * (x * ((y * a) - (j * y0))); elseif (b <= -1.2e-205) tmp = t_1; elseif (b <= 1.95e-279) tmp = c * (x * ((y0 * y2) - (y * i))); elseif (b <= 8e-106) tmp = t_1; elseif (b <= 5.2e+84) tmp = a * (y3 * ((z * y1) - (y * y5))); else tmp = b * (y * ((x * a) - (k * y4))); 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[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -5.2e+73], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -1.2e-205], t$95$1, If[LessEqual[b, 1.95e-279], N[(c * N[(x * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 8e-106], t$95$1, If[LessEqual[b, 5.2e+84], N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(y * N[(N[(x * a), $MachinePrecision] - N[(k * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{if}\;b \leq -5.2 \cdot 10^{+73}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;b \leq -1.2 \cdot 10^{-205}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;b \leq 1.95 \cdot 10^{-279}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\
\mathbf{elif}\;b \leq 8 \cdot 10^{-106}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;b \leq 5.2 \cdot 10^{+84}:\\
\;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(y \cdot \left(x \cdot a - k \cdot y4\right)\right)\\
\end{array}
\end{array}
if b < -5.2000000000000001e73Initial program 32.9%
Taylor expanded in b around inf 46.0%
Taylor expanded in x around inf 46.2%
*-commutative46.2%
*-commutative46.2%
Simplified46.2%
if -5.2000000000000001e73 < b < -1.2000000000000001e-205 or 1.95000000000000014e-279 < b < 7.99999999999999953e-106Initial program 38.6%
Taylor expanded in c around inf 47.7%
+-commutative47.7%
mul-1-neg47.7%
unsub-neg47.7%
*-commutative47.7%
*-commutative47.7%
*-commutative47.7%
*-commutative47.7%
Simplified47.7%
Taylor expanded in y4 around inf 46.5%
*-commutative46.5%
*-commutative46.5%
Simplified46.5%
if -1.2000000000000001e-205 < b < 1.95000000000000014e-279Initial program 35.3%
Taylor expanded in c around inf 59.6%
+-commutative59.6%
mul-1-neg59.6%
unsub-neg59.6%
*-commutative59.6%
*-commutative59.6%
*-commutative59.6%
*-commutative59.6%
Simplified59.6%
Taylor expanded in x around inf 46.7%
if 7.99999999999999953e-106 < b < 5.2000000000000002e84Initial program 29.2%
Taylor expanded in a around -inf 42.2%
mul-1-neg42.2%
*-commutative42.2%
distribute-rgt-neg-in42.2%
Simplified42.2%
Taylor expanded in y3 around -inf 35.1%
if 5.2000000000000002e84 < b Initial program 17.6%
Taylor expanded in b around inf 51.2%
Taylor expanded in y around inf 45.8%
+-commutative45.8%
mul-1-neg45.8%
unsub-neg45.8%
*-commutative45.8%
*-commutative45.8%
Simplified45.8%
Final simplification44.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= b -1.15e+114)
(* b (* x (- (* y a) (* j y0))))
(if (<= b -3.8e-103)
(* a (* y5 (- (* t y2) (* y y3))))
(if (<= b -6.4e-198)
(* j (* t (* i (- y5))))
(if (<= b 3.3e+83)
(* a (* y3 (- (* z y1) (* y y5))))
(* b (* y (- (* x a) (* k y4)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (b <= -1.15e+114) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (b <= -3.8e-103) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (b <= -6.4e-198) {
tmp = j * (t * (i * -y5));
} else if (b <= 3.3e+83) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else {
tmp = b * (y * ((x * a) - (k * y4)));
}
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 (b <= (-1.15d+114)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (b <= (-3.8d-103)) then
tmp = a * (y5 * ((t * y2) - (y * y3)))
else if (b <= (-6.4d-198)) then
tmp = j * (t * (i * -y5))
else if (b <= 3.3d+83) then
tmp = a * (y3 * ((z * y1) - (y * y5)))
else
tmp = b * (y * ((x * a) - (k * y4)))
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 (b <= -1.15e+114) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (b <= -3.8e-103) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (b <= -6.4e-198) {
tmp = j * (t * (i * -y5));
} else if (b <= 3.3e+83) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else {
tmp = b * (y * ((x * a) - (k * y4)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if b <= -1.15e+114: tmp = b * (x * ((y * a) - (j * y0))) elif b <= -3.8e-103: tmp = a * (y5 * ((t * y2) - (y * y3))) elif b <= -6.4e-198: tmp = j * (t * (i * -y5)) elif b <= 3.3e+83: tmp = a * (y3 * ((z * y1) - (y * y5))) else: tmp = b * (y * ((x * a) - (k * y4))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (b <= -1.15e+114) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (b <= -3.8e-103) tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))); elseif (b <= -6.4e-198) tmp = Float64(j * Float64(t * Float64(i * Float64(-y5)))); elseif (b <= 3.3e+83) tmp = Float64(a * Float64(y3 * Float64(Float64(z * y1) - Float64(y * y5)))); else tmp = Float64(b * Float64(y * Float64(Float64(x * a) - Float64(k * y4)))); 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 (b <= -1.15e+114) tmp = b * (x * ((y * a) - (j * y0))); elseif (b <= -3.8e-103) tmp = a * (y5 * ((t * y2) - (y * y3))); elseif (b <= -6.4e-198) tmp = j * (t * (i * -y5)); elseif (b <= 3.3e+83) tmp = a * (y3 * ((z * y1) - (y * y5))); else tmp = b * (y * ((x * a) - (k * y4))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[b, -1.15e+114], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -3.8e-103], N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -6.4e-198], N[(j * N[(t * N[(i * (-y5)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 3.3e+83], N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(y * N[(N[(x * a), $MachinePrecision] - N[(k * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -1.15 \cdot 10^{+114}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;b \leq -3.8 \cdot 10^{-103}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;b \leq -6.4 \cdot 10^{-198}:\\
\;\;\;\;j \cdot \left(t \cdot \left(i \cdot \left(-y5\right)\right)\right)\\
\mathbf{elif}\;b \leq 3.3 \cdot 10^{+83}:\\
\;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(y \cdot \left(x \cdot a - k \cdot y4\right)\right)\\
\end{array}
\end{array}
if b < -1.15e114Initial program 30.2%
Taylor expanded in b around inf 50.0%
Taylor expanded in x around inf 50.5%
*-commutative50.5%
*-commutative50.5%
Simplified50.5%
if -1.15e114 < b < -3.8000000000000001e-103Initial program 48.8%
Taylor expanded in a around -inf 42.3%
mul-1-neg42.3%
*-commutative42.3%
distribute-rgt-neg-in42.3%
Simplified42.3%
Taylor expanded in y5 around -inf 33.0%
*-commutative33.0%
*-commutative33.0%
Simplified33.0%
if -3.8000000000000001e-103 < b < -6.39999999999999989e-198Initial program 32.0%
Taylor expanded in t around inf 53.3%
Taylor expanded in j around inf 34.0%
Taylor expanded in b around 0 33.7%
neg-mul-133.7%
distribute-lft-neg-in33.7%
*-commutative33.7%
Simplified33.7%
if -6.39999999999999989e-198 < b < 3.29999999999999985e83Initial program 31.7%
Taylor expanded in a around -inf 34.3%
mul-1-neg34.3%
*-commutative34.3%
distribute-rgt-neg-in34.3%
Simplified34.3%
Taylor expanded in y3 around -inf 33.0%
if 3.29999999999999985e83 < b Initial program 17.6%
Taylor expanded in b around inf 51.2%
Taylor expanded in y around inf 45.8%
+-commutative45.8%
mul-1-neg45.8%
unsub-neg45.8%
*-commutative45.8%
*-commutative45.8%
Simplified45.8%
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 (* c (* i (- (* z t) (* x y))))))
(if (<= a -7.4e+52)
(* a (* y5 (- (* t y2) (* y y3))))
(if (<= a 5e-202)
t_1
(if (<= a 3.3e-57)
(* b (* y (- (* x a) (* k y4))))
(if (<= a 4e+106) t_1 (* b (* x (- (* y a) (* j y0))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = c * (i * ((z * t) - (x * y)));
double tmp;
if (a <= -7.4e+52) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (a <= 5e-202) {
tmp = t_1;
} else if (a <= 3.3e-57) {
tmp = b * (y * ((x * a) - (k * y4)));
} else if (a <= 4e+106) {
tmp = t_1;
} else {
tmp = b * (x * ((y * a) - (j * y0)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = c * (i * ((z * t) - (x * y)))
if (a <= (-7.4d+52)) then
tmp = a * (y5 * ((t * y2) - (y * y3)))
else if (a <= 5d-202) then
tmp = t_1
else if (a <= 3.3d-57) then
tmp = b * (y * ((x * a) - (k * y4)))
else if (a <= 4d+106) then
tmp = t_1
else
tmp = b * (x * ((y * a) - (j * y0)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = c * (i * ((z * t) - (x * y)));
double tmp;
if (a <= -7.4e+52) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (a <= 5e-202) {
tmp = t_1;
} else if (a <= 3.3e-57) {
tmp = b * (y * ((x * a) - (k * y4)));
} else if (a <= 4e+106) {
tmp = t_1;
} else {
tmp = b * (x * ((y * a) - (j * y0)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = c * (i * ((z * t) - (x * y))) tmp = 0 if a <= -7.4e+52: tmp = a * (y5 * ((t * y2) - (y * y3))) elif a <= 5e-202: tmp = t_1 elif a <= 3.3e-57: tmp = b * (y * ((x * a) - (k * y4))) elif a <= 4e+106: tmp = t_1 else: tmp = b * (x * ((y * a) - (j * y0))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(c * Float64(i * Float64(Float64(z * t) - Float64(x * y)))) tmp = 0.0 if (a <= -7.4e+52) tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))); elseif (a <= 5e-202) tmp = t_1; elseif (a <= 3.3e-57) tmp = Float64(b * Float64(y * Float64(Float64(x * a) - Float64(k * y4)))); elseif (a <= 4e+106) tmp = t_1; else tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = c * (i * ((z * t) - (x * y))); tmp = 0.0; if (a <= -7.4e+52) tmp = a * (y5 * ((t * y2) - (y * y3))); elseif (a <= 5e-202) tmp = t_1; elseif (a <= 3.3e-57) tmp = b * (y * ((x * a) - (k * y4))); elseif (a <= 4e+106) tmp = t_1; else tmp = b * (x * ((y * a) - (j * y0))); 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[(c * N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -7.4e+52], N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 5e-202], t$95$1, If[LessEqual[a, 3.3e-57], N[(b * N[(y * N[(N[(x * a), $MachinePrecision] - N[(k * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 4e+106], t$95$1, N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(i \cdot \left(z \cdot t - x \cdot y\right)\right)\\
\mathbf{if}\;a \leq -7.4 \cdot 10^{+52}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;a \leq 5 \cdot 10^{-202}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;a \leq 3.3 \cdot 10^{-57}:\\
\;\;\;\;b \cdot \left(y \cdot \left(x \cdot a - k \cdot y4\right)\right)\\
\mathbf{elif}\;a \leq 4 \cdot 10^{+106}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\end{array}
\end{array}
if a < -7.3999999999999999e52Initial program 22.3%
Taylor expanded in a around -inf 52.6%
mul-1-neg52.6%
*-commutative52.6%
distribute-rgt-neg-in52.6%
Simplified52.6%
Taylor expanded in y5 around -inf 48.7%
*-commutative48.7%
*-commutative48.7%
Simplified48.7%
if -7.3999999999999999e52 < a < 4.99999999999999973e-202 or 3.2999999999999998e-57 < a < 4.00000000000000036e106Initial program 38.8%
Taylor expanded in c around inf 51.8%
+-commutative51.8%
mul-1-neg51.8%
unsub-neg51.8%
*-commutative51.8%
*-commutative51.8%
*-commutative51.8%
*-commutative51.8%
Simplified51.8%
Taylor expanded in i around inf 38.9%
*-commutative38.9%
Simplified38.9%
if 4.99999999999999973e-202 < a < 3.2999999999999998e-57Initial program 31.0%
Taylor expanded in b around inf 46.8%
Taylor expanded in y around inf 28.4%
+-commutative28.4%
mul-1-neg28.4%
unsub-neg28.4%
*-commutative28.4%
*-commutative28.4%
Simplified28.4%
if 4.00000000000000036e106 < a Initial program 22.4%
Taylor expanded in b around inf 45.3%
Taylor expanded in x around inf 45.5%
*-commutative45.5%
*-commutative45.5%
Simplified45.5%
Final simplification41.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= b -9.2e+116)
(* b (* x (- (* y a) (* j y0))))
(if (<= b -2.8e-9)
(* a (* y5 (- (* t y2) (* y y3))))
(if (<= b -1.15e-120)
(* a (* y (- (* x b) (* y3 y5))))
(if (<= b 4.4e+83)
(* c (* x (- (* y0 y2) (* y i))))
(* b (* y (- (* x a) (* k y4)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (b <= -9.2e+116) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (b <= -2.8e-9) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (b <= -1.15e-120) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (b <= 4.4e+83) {
tmp = c * (x * ((y0 * y2) - (y * i)));
} else {
tmp = b * (y * ((x * a) - (k * y4)));
}
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 (b <= (-9.2d+116)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (b <= (-2.8d-9)) then
tmp = a * (y5 * ((t * y2) - (y * y3)))
else if (b <= (-1.15d-120)) then
tmp = a * (y * ((x * b) - (y3 * y5)))
else if (b <= 4.4d+83) then
tmp = c * (x * ((y0 * y2) - (y * i)))
else
tmp = b * (y * ((x * a) - (k * y4)))
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 (b <= -9.2e+116) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (b <= -2.8e-9) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (b <= -1.15e-120) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (b <= 4.4e+83) {
tmp = c * (x * ((y0 * y2) - (y * i)));
} else {
tmp = b * (y * ((x * a) - (k * y4)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if b <= -9.2e+116: tmp = b * (x * ((y * a) - (j * y0))) elif b <= -2.8e-9: tmp = a * (y5 * ((t * y2) - (y * y3))) elif b <= -1.15e-120: tmp = a * (y * ((x * b) - (y3 * y5))) elif b <= 4.4e+83: tmp = c * (x * ((y0 * y2) - (y * i))) else: tmp = b * (y * ((x * a) - (k * y4))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (b <= -9.2e+116) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (b <= -2.8e-9) tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))); elseif (b <= -1.15e-120) tmp = Float64(a * Float64(y * Float64(Float64(x * b) - Float64(y3 * y5)))); elseif (b <= 4.4e+83) tmp = Float64(c * Float64(x * Float64(Float64(y0 * y2) - Float64(y * i)))); else tmp = Float64(b * Float64(y * Float64(Float64(x * a) - Float64(k * y4)))); 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 (b <= -9.2e+116) tmp = b * (x * ((y * a) - (j * y0))); elseif (b <= -2.8e-9) tmp = a * (y5 * ((t * y2) - (y * y3))); elseif (b <= -1.15e-120) tmp = a * (y * ((x * b) - (y3 * y5))); elseif (b <= 4.4e+83) tmp = c * (x * ((y0 * y2) - (y * i))); else tmp = b * (y * ((x * a) - (k * y4))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[b, -9.2e+116], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -2.8e-9], N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -1.15e-120], N[(a * N[(y * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 4.4e+83], N[(c * N[(x * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(y * N[(N[(x * a), $MachinePrecision] - N[(k * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -9.2 \cdot 10^{+116}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;b \leq -2.8 \cdot 10^{-9}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;b \leq -1.15 \cdot 10^{-120}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b - y3 \cdot y5\right)\right)\\
\mathbf{elif}\;b \leq 4.4 \cdot 10^{+83}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(y \cdot \left(x \cdot a - k \cdot y4\right)\right)\\
\end{array}
\end{array}
if b < -9.19999999999999979e116Initial program 30.2%
Taylor expanded in b around inf 50.0%
Taylor expanded in x around inf 50.5%
*-commutative50.5%
*-commutative50.5%
Simplified50.5%
if -9.19999999999999979e116 < b < -2.79999999999999984e-9Initial program 45.7%
Taylor expanded in a around -inf 37.5%
mul-1-neg37.5%
*-commutative37.5%
distribute-rgt-neg-in37.5%
Simplified37.5%
Taylor expanded in y5 around -inf 33.1%
*-commutative33.1%
*-commutative33.1%
Simplified33.1%
if -2.79999999999999984e-9 < b < -1.14999999999999993e-120Initial program 43.3%
Taylor expanded in a around -inf 48.3%
mul-1-neg48.3%
*-commutative48.3%
distribute-rgt-neg-in48.3%
Simplified48.3%
Taylor expanded in y around inf 44.1%
+-commutative44.1%
mul-1-neg44.1%
unsub-neg44.1%
*-commutative44.1%
Simplified44.1%
if -1.14999999999999993e-120 < b < 4.39999999999999997e83Initial program 32.8%
Taylor expanded in c around inf 48.1%
+-commutative48.1%
mul-1-neg48.1%
unsub-neg48.1%
*-commutative48.1%
*-commutative48.1%
*-commutative48.1%
*-commutative48.1%
Simplified48.1%
Taylor expanded in x around inf 35.3%
if 4.39999999999999997e83 < b Initial program 17.6%
Taylor expanded in b around inf 51.2%
Taylor expanded in y around inf 45.8%
+-commutative45.8%
mul-1-neg45.8%
unsub-neg45.8%
*-commutative45.8%
*-commutative45.8%
Simplified45.8%
Final simplification40.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (* y5 (* y3 (- y))))))
(if (<= y3 -1.25e+68)
t_1
(if (<= y3 -6.4e-203)
(* (* x y) (* a b))
(if (<= y3 -4.4e-281)
(* (* b j) (* x (- y0)))
(if (<= y3 9e-157)
(* (* x y1) (* i j))
(if (<= y3 2.6e+111) (* j (* y4 (* t b))) t_1)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (y5 * (y3 * -y));
double tmp;
if (y3 <= -1.25e+68) {
tmp = t_1;
} else if (y3 <= -6.4e-203) {
tmp = (x * y) * (a * b);
} else if (y3 <= -4.4e-281) {
tmp = (b * j) * (x * -y0);
} else if (y3 <= 9e-157) {
tmp = (x * y1) * (i * j);
} else if (y3 <= 2.6e+111) {
tmp = j * (y4 * (t * b));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = a * (y5 * (y3 * -y))
if (y3 <= (-1.25d+68)) then
tmp = t_1
else if (y3 <= (-6.4d-203)) then
tmp = (x * y) * (a * b)
else if (y3 <= (-4.4d-281)) then
tmp = (b * j) * (x * -y0)
else if (y3 <= 9d-157) then
tmp = (x * y1) * (i * j)
else if (y3 <= 2.6d+111) then
tmp = j * (y4 * (t * b))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (y5 * (y3 * -y));
double tmp;
if (y3 <= -1.25e+68) {
tmp = t_1;
} else if (y3 <= -6.4e-203) {
tmp = (x * y) * (a * b);
} else if (y3 <= -4.4e-281) {
tmp = (b * j) * (x * -y0);
} else if (y3 <= 9e-157) {
tmp = (x * y1) * (i * j);
} else if (y3 <= 2.6e+111) {
tmp = j * (y4 * (t * b));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = a * (y5 * (y3 * -y)) tmp = 0 if y3 <= -1.25e+68: tmp = t_1 elif y3 <= -6.4e-203: tmp = (x * y) * (a * b) elif y3 <= -4.4e-281: tmp = (b * j) * (x * -y0) elif y3 <= 9e-157: tmp = (x * y1) * (i * j) elif y3 <= 2.6e+111: tmp = j * (y4 * (t * b)) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(a * Float64(y5 * Float64(y3 * Float64(-y)))) tmp = 0.0 if (y3 <= -1.25e+68) tmp = t_1; elseif (y3 <= -6.4e-203) tmp = Float64(Float64(x * y) * Float64(a * b)); elseif (y3 <= -4.4e-281) tmp = Float64(Float64(b * j) * Float64(x * Float64(-y0))); elseif (y3 <= 9e-157) tmp = Float64(Float64(x * y1) * Float64(i * j)); elseif (y3 <= 2.6e+111) tmp = Float64(j * Float64(y4 * Float64(t * b))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = a * (y5 * (y3 * -y)); tmp = 0.0; if (y3 <= -1.25e+68) tmp = t_1; elseif (y3 <= -6.4e-203) tmp = (x * y) * (a * b); elseif (y3 <= -4.4e-281) tmp = (b * j) * (x * -y0); elseif (y3 <= 9e-157) tmp = (x * y1) * (i * j); elseif (y3 <= 2.6e+111) tmp = j * (y4 * (t * b)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(y5 * N[(y3 * (-y)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -1.25e+68], t$95$1, If[LessEqual[y3, -6.4e-203], N[(N[(x * y), $MachinePrecision] * N[(a * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -4.4e-281], N[(N[(b * j), $MachinePrecision] * N[(x * (-y0)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 9e-157], N[(N[(x * y1), $MachinePrecision] * N[(i * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 2.6e+111], N[(j * N[(y4 * N[(t * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(y5 \cdot \left(y3 \cdot \left(-y\right)\right)\right)\\
\mathbf{if}\;y3 \leq -1.25 \cdot 10^{+68}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y3 \leq -6.4 \cdot 10^{-203}:\\
\;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b\right)\\
\mathbf{elif}\;y3 \leq -4.4 \cdot 10^{-281}:\\
\;\;\;\;\left(b \cdot j\right) \cdot \left(x \cdot \left(-y0\right)\right)\\
\mathbf{elif}\;y3 \leq 9 \cdot 10^{-157}:\\
\;\;\;\;\left(x \cdot y1\right) \cdot \left(i \cdot j\right)\\
\mathbf{elif}\;y3 \leq 2.6 \cdot 10^{+111}:\\
\;\;\;\;j \cdot \left(y4 \cdot \left(t \cdot b\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if y3 < -1.2500000000000001e68 or 2.5999999999999999e111 < y3 Initial program 25.1%
Taylor expanded in a around -inf 42.7%
mul-1-neg42.7%
*-commutative42.7%
distribute-rgt-neg-in42.7%
Simplified42.7%
Taylor expanded in y around inf 43.0%
+-commutative43.0%
mul-1-neg43.0%
unsub-neg43.0%
*-commutative43.0%
Simplified43.0%
Taylor expanded in x around 0 38.0%
mul-1-neg38.0%
associate-*r*40.0%
Simplified40.0%
if -1.2500000000000001e68 < y3 < -6.40000000000000001e-203Initial program 32.5%
Taylor expanded in a around -inf 31.5%
mul-1-neg31.5%
*-commutative31.5%
distribute-rgt-neg-in31.5%
Simplified31.5%
Taylor expanded in y around inf 28.6%
+-commutative28.6%
mul-1-neg28.6%
unsub-neg28.6%
*-commutative28.6%
Simplified28.6%
Taylor expanded in x around inf 25.6%
expm1-log1p-u15.6%
expm1-udef15.5%
associate-*r*16.9%
*-commutative16.9%
Applied egg-rr16.9%
expm1-def17.0%
expm1-log1p27.0%
*-commutative27.0%
*-commutative27.0%
Simplified27.0%
if -6.40000000000000001e-203 < y3 < -4.40000000000000008e-281Initial program 33.3%
Taylor expanded in j around inf 28.0%
+-commutative28.0%
mul-1-neg28.0%
unsub-neg28.0%
*-commutative28.0%
Simplified28.0%
Taylor expanded in y0 around -inf 24.3%
+-commutative24.3%
mul-1-neg24.3%
*-commutative24.3%
unsub-neg24.3%
Simplified24.3%
Taylor expanded in y3 around 0 34.6%
mul-1-neg34.6%
associate-*r*39.8%
*-commutative39.8%
Simplified39.8%
if -4.40000000000000008e-281 < y3 < 8.99999999999999997e-157Initial program 36.5%
Taylor expanded in x around inf 37.1%
Taylor expanded in j around inf 29.1%
associate-*r*26.4%
*-commutative26.4%
*-commutative26.4%
Simplified26.4%
Taylor expanded in y1 around inf 21.2%
associate-*r*28.7%
*-commutative28.7%
Simplified28.7%
if 8.99999999999999997e-157 < y3 < 2.5999999999999999e111Initial program 37.6%
Taylor expanded in t around inf 32.1%
Taylor expanded in j around inf 30.4%
Taylor expanded in b around inf 26.2%
associate-*r*28.4%
Simplified28.4%
Final simplification33.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y3 -7.6e+68)
(* a (* y5 (* y3 (- y))))
(if (<= y3 -3.7e-202)
(* (* x y) (* a b))
(if (<= y3 -5.5e-281)
(* (* b j) (* x (- y0)))
(if (<= y3 7.6e-153)
(* (* x y1) (* i j))
(if (<= y3 3.9e+111)
(* j (* y4 (* t b)))
(* a (* y (* y3 (- 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 (y3 <= -7.6e+68) {
tmp = a * (y5 * (y3 * -y));
} else if (y3 <= -3.7e-202) {
tmp = (x * y) * (a * b);
} else if (y3 <= -5.5e-281) {
tmp = (b * j) * (x * -y0);
} else if (y3 <= 7.6e-153) {
tmp = (x * y1) * (i * j);
} else if (y3 <= 3.9e+111) {
tmp = j * (y4 * (t * b));
} else {
tmp = a * (y * (y3 * -y5));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y3 <= (-7.6d+68)) then
tmp = a * (y5 * (y3 * -y))
else if (y3 <= (-3.7d-202)) then
tmp = (x * y) * (a * b)
else if (y3 <= (-5.5d-281)) then
tmp = (b * j) * (x * -y0)
else if (y3 <= 7.6d-153) then
tmp = (x * y1) * (i * j)
else if (y3 <= 3.9d+111) then
tmp = j * (y4 * (t * b))
else
tmp = a * (y * (y3 * -y5))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y3 <= -7.6e+68) {
tmp = a * (y5 * (y3 * -y));
} else if (y3 <= -3.7e-202) {
tmp = (x * y) * (a * b);
} else if (y3 <= -5.5e-281) {
tmp = (b * j) * (x * -y0);
} else if (y3 <= 7.6e-153) {
tmp = (x * y1) * (i * j);
} else if (y3 <= 3.9e+111) {
tmp = j * (y4 * (t * b));
} else {
tmp = a * (y * (y3 * -y5));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y3 <= -7.6e+68: tmp = a * (y5 * (y3 * -y)) elif y3 <= -3.7e-202: tmp = (x * y) * (a * b) elif y3 <= -5.5e-281: tmp = (b * j) * (x * -y0) elif y3 <= 7.6e-153: tmp = (x * y1) * (i * j) elif y3 <= 3.9e+111: tmp = j * (y4 * (t * b)) else: tmp = a * (y * (y3 * -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 (y3 <= -7.6e+68) tmp = Float64(a * Float64(y5 * Float64(y3 * Float64(-y)))); elseif (y3 <= -3.7e-202) tmp = Float64(Float64(x * y) * Float64(a * b)); elseif (y3 <= -5.5e-281) tmp = Float64(Float64(b * j) * Float64(x * Float64(-y0))); elseif (y3 <= 7.6e-153) tmp = Float64(Float64(x * y1) * Float64(i * j)); elseif (y3 <= 3.9e+111) tmp = Float64(j * Float64(y4 * Float64(t * b))); else tmp = Float64(a * Float64(y * Float64(y3 * Float64(-y5)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y3 <= -7.6e+68) tmp = a * (y5 * (y3 * -y)); elseif (y3 <= -3.7e-202) tmp = (x * y) * (a * b); elseif (y3 <= -5.5e-281) tmp = (b * j) * (x * -y0); elseif (y3 <= 7.6e-153) tmp = (x * y1) * (i * j); elseif (y3 <= 3.9e+111) tmp = j * (y4 * (t * b)); else tmp = a * (y * (y3 * -y5)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y3, -7.6e+68], N[(a * N[(y5 * N[(y3 * (-y)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -3.7e-202], N[(N[(x * y), $MachinePrecision] * N[(a * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -5.5e-281], N[(N[(b * j), $MachinePrecision] * N[(x * (-y0)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 7.6e-153], N[(N[(x * y1), $MachinePrecision] * N[(i * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 3.9e+111], N[(j * N[(y4 * N[(t * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(y * N[(y3 * (-y5)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y3 \leq -7.6 \cdot 10^{+68}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(y3 \cdot \left(-y\right)\right)\right)\\
\mathbf{elif}\;y3 \leq -3.7 \cdot 10^{-202}:\\
\;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b\right)\\
\mathbf{elif}\;y3 \leq -5.5 \cdot 10^{-281}:\\
\;\;\;\;\left(b \cdot j\right) \cdot \left(x \cdot \left(-y0\right)\right)\\
\mathbf{elif}\;y3 \leq 7.6 \cdot 10^{-153}:\\
\;\;\;\;\left(x \cdot y1\right) \cdot \left(i \cdot j\right)\\
\mathbf{elif}\;y3 \leq 3.9 \cdot 10^{+111}:\\
\;\;\;\;j \cdot \left(y4 \cdot \left(t \cdot b\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(y \cdot \left(y3 \cdot \left(-y5\right)\right)\right)\\
\end{array}
\end{array}
if y3 < -7.6000000000000002e68Initial program 22.8%
Taylor expanded in a around -inf 39.0%
mul-1-neg39.0%
*-commutative39.0%
distribute-rgt-neg-in39.0%
Simplified39.0%
Taylor expanded in y around inf 41.0%
+-commutative41.0%
mul-1-neg41.0%
unsub-neg41.0%
*-commutative41.0%
Simplified41.0%
Taylor expanded in x around 0 32.8%
mul-1-neg32.8%
associate-*r*36.1%
Simplified36.1%
if -7.6000000000000002e68 < y3 < -3.69999999999999991e-202Initial program 32.5%
Taylor expanded in a around -inf 31.5%
mul-1-neg31.5%
*-commutative31.5%
distribute-rgt-neg-in31.5%
Simplified31.5%
Taylor expanded in y around inf 28.6%
+-commutative28.6%
mul-1-neg28.6%
unsub-neg28.6%
*-commutative28.6%
Simplified28.6%
Taylor expanded in x around inf 25.6%
expm1-log1p-u15.6%
expm1-udef15.5%
associate-*r*16.9%
*-commutative16.9%
Applied egg-rr16.9%
expm1-def17.0%
expm1-log1p27.0%
*-commutative27.0%
*-commutative27.0%
Simplified27.0%
if -3.69999999999999991e-202 < y3 < -5.5000000000000003e-281Initial program 33.3%
Taylor expanded in j around inf 28.0%
+-commutative28.0%
mul-1-neg28.0%
unsub-neg28.0%
*-commutative28.0%
Simplified28.0%
Taylor expanded in y0 around -inf 24.3%
+-commutative24.3%
mul-1-neg24.3%
*-commutative24.3%
unsub-neg24.3%
Simplified24.3%
Taylor expanded in y3 around 0 34.6%
mul-1-neg34.6%
associate-*r*39.8%
*-commutative39.8%
Simplified39.8%
if -5.5000000000000003e-281 < y3 < 7.60000000000000046e-153Initial program 36.5%
Taylor expanded in x around inf 37.1%
Taylor expanded in j around inf 29.1%
associate-*r*26.4%
*-commutative26.4%
*-commutative26.4%
Simplified26.4%
Taylor expanded in y1 around inf 21.2%
associate-*r*28.7%
*-commutative28.7%
Simplified28.7%
if 7.60000000000000046e-153 < y3 < 3.89999999999999979e111Initial program 37.6%
Taylor expanded in t around inf 32.1%
Taylor expanded in j around inf 30.4%
Taylor expanded in b around inf 26.2%
associate-*r*28.4%
Simplified28.4%
if 3.89999999999999979e111 < y3 Initial program 28.7%
Taylor expanded in a around -inf 48.7%
mul-1-neg48.7%
*-commutative48.7%
distribute-rgt-neg-in48.7%
Simplified48.7%
Taylor expanded in y around inf 46.2%
+-commutative46.2%
mul-1-neg46.2%
unsub-neg46.2%
*-commutative46.2%
Simplified46.2%
Taylor expanded in x around 0 46.4%
mul-1-neg46.4%
distribute-rgt-neg-in46.4%
distribute-rgt-neg-in46.4%
Simplified46.4%
Final simplification33.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= j -1.6e+68)
(* b (* y4 (* t j)))
(if (<= j 9.6e-31)
(* (* x y) (* a b))
(if (<= j 32000000000.0)
(* j (* y0 (* y3 y5)))
(if (<= j 2.05e+119) (* i (* j (* x y1))) (* (* b j) (* x (- y0))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (j <= -1.6e+68) {
tmp = b * (y4 * (t * j));
} else if (j <= 9.6e-31) {
tmp = (x * y) * (a * b);
} else if (j <= 32000000000.0) {
tmp = j * (y0 * (y3 * y5));
} else if (j <= 2.05e+119) {
tmp = i * (j * (x * y1));
} else {
tmp = (b * j) * (x * -y0);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (j <= (-1.6d+68)) then
tmp = b * (y4 * (t * j))
else if (j <= 9.6d-31) then
tmp = (x * y) * (a * b)
else if (j <= 32000000000.0d0) then
tmp = j * (y0 * (y3 * y5))
else if (j <= 2.05d+119) then
tmp = i * (j * (x * y1))
else
tmp = (b * j) * (x * -y0)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (j <= -1.6e+68) {
tmp = b * (y4 * (t * j));
} else if (j <= 9.6e-31) {
tmp = (x * y) * (a * b);
} else if (j <= 32000000000.0) {
tmp = j * (y0 * (y3 * y5));
} else if (j <= 2.05e+119) {
tmp = i * (j * (x * y1));
} else {
tmp = (b * j) * (x * -y0);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if j <= -1.6e+68: tmp = b * (y4 * (t * j)) elif j <= 9.6e-31: tmp = (x * y) * (a * b) elif j <= 32000000000.0: tmp = j * (y0 * (y3 * y5)) elif j <= 2.05e+119: tmp = i * (j * (x * y1)) else: tmp = (b * j) * (x * -y0) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (j <= -1.6e+68) tmp = Float64(b * Float64(y4 * Float64(t * j))); elseif (j <= 9.6e-31) tmp = Float64(Float64(x * y) * Float64(a * b)); elseif (j <= 32000000000.0) tmp = Float64(j * Float64(y0 * Float64(y3 * y5))); elseif (j <= 2.05e+119) tmp = Float64(i * Float64(j * Float64(x * y1))); else tmp = Float64(Float64(b * j) * Float64(x * Float64(-y0))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (j <= -1.6e+68) tmp = b * (y4 * (t * j)); elseif (j <= 9.6e-31) tmp = (x * y) * (a * b); elseif (j <= 32000000000.0) tmp = j * (y0 * (y3 * y5)); elseif (j <= 2.05e+119) tmp = i * (j * (x * y1)); else tmp = (b * j) * (x * -y0); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[j, -1.6e+68], N[(b * N[(y4 * N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 9.6e-31], N[(N[(x * y), $MachinePrecision] * N[(a * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 32000000000.0], N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 2.05e+119], N[(i * N[(j * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(b * j), $MachinePrecision] * N[(x * (-y0)), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;j \leq -1.6 \cdot 10^{+68}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j\right)\right)\\
\mathbf{elif}\;j \leq 9.6 \cdot 10^{-31}:\\
\;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b\right)\\
\mathbf{elif}\;j \leq 32000000000:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{elif}\;j \leq 2.05 \cdot 10^{+119}:\\
\;\;\;\;i \cdot \left(j \cdot \left(x \cdot y1\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\left(b \cdot j\right) \cdot \left(x \cdot \left(-y0\right)\right)\\
\end{array}
\end{array}
if j < -1.59999999999999997e68Initial program 21.2%
Taylor expanded in t around inf 37.1%
Taylor expanded in j around inf 40.5%
Taylor expanded in b around inf 31.6%
associate-*r*34.6%
Simplified34.6%
if -1.59999999999999997e68 < j < 9.6000000000000001e-31Initial program 37.1%
Taylor expanded in a around -inf 41.1%
mul-1-neg41.1%
*-commutative41.1%
distribute-rgt-neg-in41.1%
Simplified41.1%
Taylor expanded in y around inf 28.7%
+-commutative28.7%
mul-1-neg28.7%
unsub-neg28.7%
*-commutative28.7%
Simplified28.7%
Taylor expanded in x around inf 20.6%
expm1-log1p-u10.4%
expm1-udef10.3%
associate-*r*13.0%
*-commutative13.0%
Applied egg-rr13.0%
expm1-def13.0%
expm1-log1p23.3%
*-commutative23.3%
*-commutative23.3%
Simplified23.3%
if 9.6000000000000001e-31 < j < 3.2e10Initial program 37.6%
Taylor expanded in j around inf 22.3%
+-commutative22.3%
mul-1-neg22.3%
unsub-neg22.3%
*-commutative22.3%
Simplified22.3%
Taylor expanded in y0 around -inf 37.8%
+-commutative37.8%
mul-1-neg37.8%
*-commutative37.8%
unsub-neg37.8%
Simplified37.8%
Taylor expanded in y3 around inf 33.2%
*-commutative33.2%
Simplified33.2%
if 3.2e10 < j < 2.0499999999999999e119Initial program 25.0%
Taylor expanded in x around inf 38.7%
Taylor expanded in j around inf 39.5%
associate-*r*39.5%
*-commutative39.5%
*-commutative39.5%
Simplified39.5%
Taylor expanded in y1 around inf 39.0%
*-commutative39.0%
Simplified39.0%
if 2.0499999999999999e119 < j Initial program 21.3%
Taylor expanded in j around inf 47.1%
+-commutative47.1%
mul-1-neg47.1%
unsub-neg47.1%
*-commutative47.1%
Simplified47.1%
Taylor expanded in y0 around -inf 34.9%
+-commutative34.9%
mul-1-neg34.9%
*-commutative34.9%
unsub-neg34.9%
Simplified34.9%
Taylor expanded in y3 around 0 39.6%
mul-1-neg39.6%
associate-*r*43.6%
*-commutative43.6%
Simplified43.6%
Final simplification30.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* x (- y0))))
(if (<= x -3.3e+221)
(* b (* (* x y) a))
(if (<= x -6.5e-96)
(* (* b j) t_1)
(if (<= x 3e-80)
(* a (* y5 (* y3 (- y))))
(if (<= x 9.2e+82) (* b (* y4 (* t j))) (* j (* b t_1))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = x * -y0;
double tmp;
if (x <= -3.3e+221) {
tmp = b * ((x * y) * a);
} else if (x <= -6.5e-96) {
tmp = (b * j) * t_1;
} else if (x <= 3e-80) {
tmp = a * (y5 * (y3 * -y));
} else if (x <= 9.2e+82) {
tmp = b * (y4 * (t * j));
} else {
tmp = j * (b * 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 = x * -y0
if (x <= (-3.3d+221)) then
tmp = b * ((x * y) * a)
else if (x <= (-6.5d-96)) then
tmp = (b * j) * t_1
else if (x <= 3d-80) then
tmp = a * (y5 * (y3 * -y))
else if (x <= 9.2d+82) then
tmp = b * (y4 * (t * j))
else
tmp = j * (b * 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 = x * -y0;
double tmp;
if (x <= -3.3e+221) {
tmp = b * ((x * y) * a);
} else if (x <= -6.5e-96) {
tmp = (b * j) * t_1;
} else if (x <= 3e-80) {
tmp = a * (y5 * (y3 * -y));
} else if (x <= 9.2e+82) {
tmp = b * (y4 * (t * j));
} else {
tmp = j * (b * t_1);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = x * -y0 tmp = 0 if x <= -3.3e+221: tmp = b * ((x * y) * a) elif x <= -6.5e-96: tmp = (b * j) * t_1 elif x <= 3e-80: tmp = a * (y5 * (y3 * -y)) elif x <= 9.2e+82: tmp = b * (y4 * (t * j)) else: tmp = j * (b * 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(x * Float64(-y0)) tmp = 0.0 if (x <= -3.3e+221) tmp = Float64(b * Float64(Float64(x * y) * a)); elseif (x <= -6.5e-96) tmp = Float64(Float64(b * j) * t_1); elseif (x <= 3e-80) tmp = Float64(a * Float64(y5 * Float64(y3 * Float64(-y)))); elseif (x <= 9.2e+82) tmp = Float64(b * Float64(y4 * Float64(t * j))); else tmp = Float64(j * Float64(b * 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 = x * -y0; tmp = 0.0; if (x <= -3.3e+221) tmp = b * ((x * y) * a); elseif (x <= -6.5e-96) tmp = (b * j) * t_1; elseif (x <= 3e-80) tmp = a * (y5 * (y3 * -y)); elseif (x <= 9.2e+82) tmp = b * (y4 * (t * j)); else tmp = j * (b * 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[(x * (-y0)), $MachinePrecision]}, If[LessEqual[x, -3.3e+221], N[(b * N[(N[(x * y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -6.5e-96], N[(N[(b * j), $MachinePrecision] * t$95$1), $MachinePrecision], If[LessEqual[x, 3e-80], N[(a * N[(y5 * N[(y3 * (-y)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 9.2e+82], N[(b * N[(y4 * N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(j * N[(b * t$95$1), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(-y0\right)\\
\mathbf{if}\;x \leq -3.3 \cdot 10^{+221}:\\
\;\;\;\;b \cdot \left(\left(x \cdot y\right) \cdot a\right)\\
\mathbf{elif}\;x \leq -6.5 \cdot 10^{-96}:\\
\;\;\;\;\left(b \cdot j\right) \cdot t_1\\
\mathbf{elif}\;x \leq 3 \cdot 10^{-80}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(y3 \cdot \left(-y\right)\right)\right)\\
\mathbf{elif}\;x \leq 9.2 \cdot 10^{+82}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(b \cdot t_1\right)\\
\end{array}
\end{array}
if x < -3.29999999999999991e221Initial program 8.7%
Taylor expanded in a around -inf 31.0%
mul-1-neg31.0%
*-commutative31.0%
distribute-rgt-neg-in31.0%
Simplified31.0%
Taylor expanded in y around inf 48.7%
+-commutative48.7%
mul-1-neg48.7%
unsub-neg48.7%
*-commutative48.7%
Simplified48.7%
Taylor expanded in x around inf 48.7%
expm1-log1p-u22.2%
expm1-udef22.2%
associate-*r*22.0%
*-commutative22.0%
Applied egg-rr22.0%
expm1-def22.0%
expm1-log1p48.5%
*-commutative48.5%
*-commutative48.5%
associate-*r*48.7%
*-commutative48.7%
associate-*l*52.9%
Simplified52.9%
if -3.29999999999999991e221 < x < -6.50000000000000001e-96Initial program 33.1%
Taylor expanded in j around inf 31.8%
+-commutative31.8%
mul-1-neg31.8%
unsub-neg31.8%
*-commutative31.8%
Simplified31.8%
Taylor expanded in y0 around -inf 25.6%
+-commutative25.6%
mul-1-neg25.6%
*-commutative25.6%
unsub-neg25.6%
Simplified25.6%
Taylor expanded in y3 around 0 30.1%
mul-1-neg30.1%
associate-*r*30.2%
*-commutative30.2%
Simplified30.2%
if -6.50000000000000001e-96 < x < 3.00000000000000007e-80Initial program 32.4%
Taylor expanded in a around -inf 38.7%
mul-1-neg38.7%
*-commutative38.7%
distribute-rgt-neg-in38.7%
Simplified38.7%
Taylor expanded in y around inf 27.8%
+-commutative27.8%
mul-1-neg27.8%
unsub-neg27.8%
*-commutative27.8%
Simplified27.8%
Taylor expanded in x around 0 22.6%
mul-1-neg22.6%
associate-*r*24.8%
Simplified24.8%
if 3.00000000000000007e-80 < x < 9.19999999999999953e82Initial program 50.5%
Taylor expanded in t around inf 47.5%
Taylor expanded in j around inf 35.8%
Taylor expanded in b around inf 29.6%
associate-*r*32.5%
Simplified32.5%
if 9.19999999999999953e82 < x Initial program 25.9%
Taylor expanded in j around inf 28.7%
+-commutative28.7%
mul-1-neg28.7%
unsub-neg28.7%
*-commutative28.7%
Simplified28.7%
Taylor expanded in y0 around -inf 32.7%
+-commutative32.7%
mul-1-neg32.7%
*-commutative32.7%
unsub-neg32.7%
Simplified32.7%
Taylor expanded in y3 around 0 36.7%
associate-*r*36.7%
neg-mul-136.7%
*-commutative36.7%
Simplified36.7%
Final simplification31.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= x -4.8e+220)
(* b (* (* x y) a))
(if (<= x -9.4e-91)
(* (* b j) (* x (- y0)))
(if (<= x 9e-81)
(* a (* y5 (* y3 (- y))))
(if (<= x 1.02e+83) (* b (* y4 (* t j))) (* b (* y0 (* x (- j)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -4.8e+220) {
tmp = b * ((x * y) * a);
} else if (x <= -9.4e-91) {
tmp = (b * j) * (x * -y0);
} else if (x <= 9e-81) {
tmp = a * (y5 * (y3 * -y));
} else if (x <= 1.02e+83) {
tmp = b * (y4 * (t * j));
} else {
tmp = b * (y0 * (x * -j));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (x <= (-4.8d+220)) then
tmp = b * ((x * y) * a)
else if (x <= (-9.4d-91)) then
tmp = (b * j) * (x * -y0)
else if (x <= 9d-81) then
tmp = a * (y5 * (y3 * -y))
else if (x <= 1.02d+83) then
tmp = b * (y4 * (t * j))
else
tmp = b * (y0 * (x * -j))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -4.8e+220) {
tmp = b * ((x * y) * a);
} else if (x <= -9.4e-91) {
tmp = (b * j) * (x * -y0);
} else if (x <= 9e-81) {
tmp = a * (y5 * (y3 * -y));
} else if (x <= 1.02e+83) {
tmp = b * (y4 * (t * j));
} else {
tmp = b * (y0 * (x * -j));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if x <= -4.8e+220: tmp = b * ((x * y) * a) elif x <= -9.4e-91: tmp = (b * j) * (x * -y0) elif x <= 9e-81: tmp = a * (y5 * (y3 * -y)) elif x <= 1.02e+83: tmp = b * (y4 * (t * j)) else: tmp = b * (y0 * (x * -j)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (x <= -4.8e+220) tmp = Float64(b * Float64(Float64(x * y) * a)); elseif (x <= -9.4e-91) tmp = Float64(Float64(b * j) * Float64(x * Float64(-y0))); elseif (x <= 9e-81) tmp = Float64(a * Float64(y5 * Float64(y3 * Float64(-y)))); elseif (x <= 1.02e+83) tmp = Float64(b * Float64(y4 * Float64(t * j))); else tmp = Float64(b * Float64(y0 * Float64(x * Float64(-j)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (x <= -4.8e+220) tmp = b * ((x * y) * a); elseif (x <= -9.4e-91) tmp = (b * j) * (x * -y0); elseif (x <= 9e-81) tmp = a * (y5 * (y3 * -y)); elseif (x <= 1.02e+83) tmp = b * (y4 * (t * j)); else tmp = b * (y0 * (x * -j)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[x, -4.8e+220], N[(b * N[(N[(x * y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -9.4e-91], N[(N[(b * j), $MachinePrecision] * N[(x * (-y0)), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 9e-81], N[(a * N[(y5 * N[(y3 * (-y)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.02e+83], N[(b * N[(y4 * N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(y0 * N[(x * (-j)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -4.8 \cdot 10^{+220}:\\
\;\;\;\;b \cdot \left(\left(x \cdot y\right) \cdot a\right)\\
\mathbf{elif}\;x \leq -9.4 \cdot 10^{-91}:\\
\;\;\;\;\left(b \cdot j\right) \cdot \left(x \cdot \left(-y0\right)\right)\\
\mathbf{elif}\;x \leq 9 \cdot 10^{-81}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(y3 \cdot \left(-y\right)\right)\right)\\
\mathbf{elif}\;x \leq 1.02 \cdot 10^{+83}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(x \cdot \left(-j\right)\right)\right)\\
\end{array}
\end{array}
if x < -4.7999999999999996e220Initial program 8.7%
Taylor expanded in a around -inf 31.0%
mul-1-neg31.0%
*-commutative31.0%
distribute-rgt-neg-in31.0%
Simplified31.0%
Taylor expanded in y around inf 48.7%
+-commutative48.7%
mul-1-neg48.7%
unsub-neg48.7%
*-commutative48.7%
Simplified48.7%
Taylor expanded in x around inf 48.7%
expm1-log1p-u22.2%
expm1-udef22.2%
associate-*r*22.0%
*-commutative22.0%
Applied egg-rr22.0%
expm1-def22.0%
expm1-log1p48.5%
*-commutative48.5%
*-commutative48.5%
associate-*r*48.7%
*-commutative48.7%
associate-*l*52.9%
Simplified52.9%
if -4.7999999999999996e220 < x < -9.40000000000000013e-91Initial program 33.1%
Taylor expanded in j around inf 31.8%
+-commutative31.8%
mul-1-neg31.8%
unsub-neg31.8%
*-commutative31.8%
Simplified31.8%
Taylor expanded in y0 around -inf 25.6%
+-commutative25.6%
mul-1-neg25.6%
*-commutative25.6%
unsub-neg25.6%
Simplified25.6%
Taylor expanded in y3 around 0 30.1%
mul-1-neg30.1%
associate-*r*30.2%
*-commutative30.2%
Simplified30.2%
if -9.40000000000000013e-91 < x < 9.000000000000001e-81Initial program 32.4%
Taylor expanded in a around -inf 38.7%
mul-1-neg38.7%
*-commutative38.7%
distribute-rgt-neg-in38.7%
Simplified38.7%
Taylor expanded in y around inf 27.8%
+-commutative27.8%
mul-1-neg27.8%
unsub-neg27.8%
*-commutative27.8%
Simplified27.8%
Taylor expanded in x around 0 22.6%
mul-1-neg22.6%
associate-*r*24.8%
Simplified24.8%
if 9.000000000000001e-81 < x < 1.0200000000000001e83Initial program 50.5%
Taylor expanded in t around inf 47.5%
Taylor expanded in j around inf 35.8%
Taylor expanded in b around inf 29.6%
associate-*r*32.5%
Simplified32.5%
if 1.0200000000000001e83 < x Initial program 25.9%
Taylor expanded in j around inf 28.7%
+-commutative28.7%
mul-1-neg28.7%
unsub-neg28.7%
*-commutative28.7%
Simplified28.7%
Taylor expanded in y0 around -inf 32.7%
+-commutative32.7%
mul-1-neg32.7%
*-commutative32.7%
unsub-neg32.7%
Simplified32.7%
Taylor expanded in y3 around 0 40.5%
mul-1-neg40.5%
*-commutative40.5%
distribute-rgt-neg-in40.5%
*-commutative40.5%
*-commutative40.5%
associate-*l*38.5%
*-commutative38.5%
Simplified38.5%
Final simplification32.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* j (* t (* b y4)))))
(if (<= y4 -3.5e+107)
t_1
(if (<= y4 2500000000.0)
(* b (* (* x y) a))
(if (<= y4 2.55e+58)
(* y0 (* j (* y3 y5)))
(if (<= y4 3.8e+87) (* a (* (* x y) b)) t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * (t * (b * y4));
double tmp;
if (y4 <= -3.5e+107) {
tmp = t_1;
} else if (y4 <= 2500000000.0) {
tmp = b * ((x * y) * a);
} else if (y4 <= 2.55e+58) {
tmp = y0 * (j * (y3 * y5));
} else if (y4 <= 3.8e+87) {
tmp = a * ((x * y) * b);
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = j * (t * (b * y4))
if (y4 <= (-3.5d+107)) then
tmp = t_1
else if (y4 <= 2500000000.0d0) then
tmp = b * ((x * y) * a)
else if (y4 <= 2.55d+58) then
tmp = y0 * (j * (y3 * y5))
else if (y4 <= 3.8d+87) then
tmp = a * ((x * y) * b)
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * (t * (b * y4));
double tmp;
if (y4 <= -3.5e+107) {
tmp = t_1;
} else if (y4 <= 2500000000.0) {
tmp = b * ((x * y) * a);
} else if (y4 <= 2.55e+58) {
tmp = y0 * (j * (y3 * y5));
} else if (y4 <= 3.8e+87) {
tmp = a * ((x * y) * b);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = j * (t * (b * y4)) tmp = 0 if y4 <= -3.5e+107: tmp = t_1 elif y4 <= 2500000000.0: tmp = b * ((x * y) * a) elif y4 <= 2.55e+58: tmp = y0 * (j * (y3 * y5)) elif y4 <= 3.8e+87: tmp = a * ((x * y) * b) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(j * Float64(t * Float64(b * y4))) tmp = 0.0 if (y4 <= -3.5e+107) tmp = t_1; elseif (y4 <= 2500000000.0) tmp = Float64(b * Float64(Float64(x * y) * a)); elseif (y4 <= 2.55e+58) tmp = Float64(y0 * Float64(j * Float64(y3 * y5))); elseif (y4 <= 3.8e+87) tmp = Float64(a * Float64(Float64(x * y) * b)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = j * (t * (b * y4)); tmp = 0.0; if (y4 <= -3.5e+107) tmp = t_1; elseif (y4 <= 2500000000.0) tmp = b * ((x * y) * a); elseif (y4 <= 2.55e+58) tmp = y0 * (j * (y3 * y5)); elseif (y4 <= 3.8e+87) tmp = a * ((x * y) * b); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(j * N[(t * N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -3.5e+107], t$95$1, If[LessEqual[y4, 2500000000.0], N[(b * N[(N[(x * y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 2.55e+58], N[(y0 * N[(j * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 3.8e+87], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(t \cdot \left(b \cdot y4\right)\right)\\
\mathbf{if}\;y4 \leq -3.5 \cdot 10^{+107}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y4 \leq 2500000000:\\
\;\;\;\;b \cdot \left(\left(x \cdot y\right) \cdot a\right)\\
\mathbf{elif}\;y4 \leq 2.55 \cdot 10^{+58}:\\
\;\;\;\;y0 \cdot \left(j \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{elif}\;y4 \leq 3.8 \cdot 10^{+87}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if y4 < -3.4999999999999997e107 or 3.80000000000000011e87 < y4 Initial program 28.0%
Taylor expanded in t around inf 40.5%
Taylor expanded in j around inf 35.9%
Taylor expanded in b around inf 32.0%
if -3.4999999999999997e107 < y4 < 2.5e9Initial program 32.8%
Taylor expanded in a around -inf 40.5%
mul-1-neg40.5%
*-commutative40.5%
distribute-rgt-neg-in40.5%
Simplified40.5%
Taylor expanded in y around inf 32.3%
+-commutative32.3%
mul-1-neg32.3%
unsub-neg32.3%
*-commutative32.3%
Simplified32.3%
Taylor expanded in x around inf 20.4%
expm1-log1p-u9.8%
expm1-udef9.8%
associate-*r*13.2%
*-commutative13.2%
Applied egg-rr13.2%
expm1-def13.2%
expm1-log1p23.7%
*-commutative23.7%
*-commutative23.7%
associate-*r*20.4%
*-commutative20.4%
associate-*l*22.5%
Simplified22.5%
if 2.5e9 < y4 < 2.55000000000000004e58Initial program 46.2%
Taylor expanded in j around inf 31.4%
+-commutative31.4%
mul-1-neg31.4%
unsub-neg31.4%
*-commutative31.4%
Simplified31.4%
Taylor expanded in y0 around -inf 39.4%
+-commutative39.4%
mul-1-neg39.4%
*-commutative39.4%
unsub-neg39.4%
Simplified39.4%
Taylor expanded in y3 around inf 32.6%
associate-*r*32.6%
*-commutative32.6%
*-commutative32.6%
associate-*l*39.8%
Simplified39.8%
if 2.55000000000000004e58 < y4 < 3.80000000000000011e87Initial program 25.0%
Taylor expanded in a around -inf 62.5%
mul-1-neg62.5%
*-commutative62.5%
distribute-rgt-neg-in62.5%
Simplified62.5%
Taylor expanded in y around inf 62.8%
+-commutative62.8%
mul-1-neg62.8%
unsub-neg62.8%
*-commutative62.8%
Simplified62.8%
Taylor expanded in x around inf 75.3%
Final simplification28.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* j (* t (* b y4)))) (t_2 (* (* x y) (* a b))))
(if (<= y4 -2.4e+107)
t_1
(if (<= y4 3000000000.0)
t_2
(if (<= y4 3.5e+55)
(* y0 (* j (* y3 y5)))
(if (<= y4 3.5e+86) t_2 t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * (t * (b * y4));
double t_2 = (x * y) * (a * b);
double tmp;
if (y4 <= -2.4e+107) {
tmp = t_1;
} else if (y4 <= 3000000000.0) {
tmp = t_2;
} else if (y4 <= 3.5e+55) {
tmp = y0 * (j * (y3 * y5));
} else if (y4 <= 3.5e+86) {
tmp = t_2;
} 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) :: t_2
real(8) :: tmp
t_1 = j * (t * (b * y4))
t_2 = (x * y) * (a * b)
if (y4 <= (-2.4d+107)) then
tmp = t_1
else if (y4 <= 3000000000.0d0) then
tmp = t_2
else if (y4 <= 3.5d+55) then
tmp = y0 * (j * (y3 * y5))
else if (y4 <= 3.5d+86) then
tmp = t_2
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * (t * (b * y4));
double t_2 = (x * y) * (a * b);
double tmp;
if (y4 <= -2.4e+107) {
tmp = t_1;
} else if (y4 <= 3000000000.0) {
tmp = t_2;
} else if (y4 <= 3.5e+55) {
tmp = y0 * (j * (y3 * y5));
} else if (y4 <= 3.5e+86) {
tmp = t_2;
} 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 = j * (t * (b * y4)) t_2 = (x * y) * (a * b) tmp = 0 if y4 <= -2.4e+107: tmp = t_1 elif y4 <= 3000000000.0: tmp = t_2 elif y4 <= 3.5e+55: tmp = y0 * (j * (y3 * y5)) elif y4 <= 3.5e+86: tmp = t_2 else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(j * Float64(t * Float64(b * y4))) t_2 = Float64(Float64(x * y) * Float64(a * b)) tmp = 0.0 if (y4 <= -2.4e+107) tmp = t_1; elseif (y4 <= 3000000000.0) tmp = t_2; elseif (y4 <= 3.5e+55) tmp = Float64(y0 * Float64(j * Float64(y3 * y5))); elseif (y4 <= 3.5e+86) tmp = t_2; 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 = j * (t * (b * y4)); t_2 = (x * y) * (a * b); tmp = 0.0; if (y4 <= -2.4e+107) tmp = t_1; elseif (y4 <= 3000000000.0) tmp = t_2; elseif (y4 <= 3.5e+55) tmp = y0 * (j * (y3 * y5)); elseif (y4 <= 3.5e+86) tmp = t_2; 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[(j * N[(t * N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * y), $MachinePrecision] * N[(a * b), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -2.4e+107], t$95$1, If[LessEqual[y4, 3000000000.0], t$95$2, If[LessEqual[y4, 3.5e+55], N[(y0 * N[(j * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 3.5e+86], t$95$2, t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(t \cdot \left(b \cdot y4\right)\right)\\
t_2 := \left(x \cdot y\right) \cdot \left(a \cdot b\right)\\
\mathbf{if}\;y4 \leq -2.4 \cdot 10^{+107}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y4 \leq 3000000000:\\
\;\;\;\;t_2\\
\mathbf{elif}\;y4 \leq 3.5 \cdot 10^{+55}:\\
\;\;\;\;y0 \cdot \left(j \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{elif}\;y4 \leq 3.5 \cdot 10^{+86}:\\
\;\;\;\;t_2\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if y4 < -2.4000000000000001e107 or 3.50000000000000019e86 < y4 Initial program 28.0%
Taylor expanded in t around inf 40.5%
Taylor expanded in j around inf 35.9%
Taylor expanded in b around inf 32.0%
if -2.4000000000000001e107 < y4 < 3e9 or 3.5000000000000001e55 < y4 < 3.50000000000000019e86Initial program 32.3%
Taylor expanded in a around -inf 41.7%
mul-1-neg41.7%
*-commutative41.7%
distribute-rgt-neg-in41.7%
Simplified41.7%
Taylor expanded in y around inf 33.9%
+-commutative33.9%
mul-1-neg33.9%
unsub-neg33.9%
*-commutative33.9%
Simplified33.9%
Taylor expanded in x around inf 23.4%
expm1-log1p-u11.4%
expm1-udef11.4%
associate-*r*14.5%
*-commutative14.5%
Applied egg-rr14.5%
expm1-def14.5%
expm1-log1p26.6%
*-commutative26.6%
*-commutative26.6%
Simplified26.6%
if 3e9 < y4 < 3.5000000000000001e55Initial program 46.2%
Taylor expanded in j around inf 31.4%
+-commutative31.4%
mul-1-neg31.4%
unsub-neg31.4%
*-commutative31.4%
Simplified31.4%
Taylor expanded in y0 around -inf 39.4%
+-commutative39.4%
mul-1-neg39.4%
*-commutative39.4%
unsub-neg39.4%
Simplified39.4%
Taylor expanded in y3 around inf 32.6%
associate-*r*32.6%
*-commutative32.6%
*-commutative32.6%
associate-*l*39.8%
Simplified39.8%
Final simplification29.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y4 -3.6e+160)
(* b (* y4 (* t j)))
(if (<= y4 -3.3e-27)
(* i (* j (* x y1)))
(if (<= y4 1.9e+86) (* b (* (* x y) a)) (* j (* b (* t y4)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y4 <= -3.6e+160) {
tmp = b * (y4 * (t * j));
} else if (y4 <= -3.3e-27) {
tmp = i * (j * (x * y1));
} else if (y4 <= 1.9e+86) {
tmp = b * ((x * y) * a);
} else {
tmp = j * (b * (t * y4));
}
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 (y4 <= (-3.6d+160)) then
tmp = b * (y4 * (t * j))
else if (y4 <= (-3.3d-27)) then
tmp = i * (j * (x * y1))
else if (y4 <= 1.9d+86) then
tmp = b * ((x * y) * a)
else
tmp = j * (b * (t * y4))
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 (y4 <= -3.6e+160) {
tmp = b * (y4 * (t * j));
} else if (y4 <= -3.3e-27) {
tmp = i * (j * (x * y1));
} else if (y4 <= 1.9e+86) {
tmp = b * ((x * y) * a);
} else {
tmp = j * (b * (t * y4));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y4 <= -3.6e+160: tmp = b * (y4 * (t * j)) elif y4 <= -3.3e-27: tmp = i * (j * (x * y1)) elif y4 <= 1.9e+86: tmp = b * ((x * y) * a) else: tmp = j * (b * (t * y4)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y4 <= -3.6e+160) tmp = Float64(b * Float64(y4 * Float64(t * j))); elseif (y4 <= -3.3e-27) tmp = Float64(i * Float64(j * Float64(x * y1))); elseif (y4 <= 1.9e+86) tmp = Float64(b * Float64(Float64(x * y) * a)); else tmp = Float64(j * Float64(b * Float64(t * y4))); 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 (y4 <= -3.6e+160) tmp = b * (y4 * (t * j)); elseif (y4 <= -3.3e-27) tmp = i * (j * (x * y1)); elseif (y4 <= 1.9e+86) tmp = b * ((x * y) * a); else tmp = j * (b * (t * y4)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y4, -3.6e+160], N[(b * N[(y4 * N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -3.3e-27], N[(i * N[(j * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 1.9e+86], N[(b * N[(N[(x * y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision], N[(j * N[(b * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y4 \leq -3.6 \cdot 10^{+160}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j\right)\right)\\
\mathbf{elif}\;y4 \leq -3.3 \cdot 10^{-27}:\\
\;\;\;\;i \cdot \left(j \cdot \left(x \cdot y1\right)\right)\\
\mathbf{elif}\;y4 \leq 1.9 \cdot 10^{+86}:\\
\;\;\;\;b \cdot \left(\left(x \cdot y\right) \cdot a\right)\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(b \cdot \left(t \cdot y4\right)\right)\\
\end{array}
\end{array}
if y4 < -3.60000000000000021e160Initial program 24.1%
Taylor expanded in t around inf 44.9%
Taylor expanded in j around inf 38.8%
Taylor expanded in b around inf 28.7%
associate-*r*28.6%
Simplified28.6%
if -3.60000000000000021e160 < y4 < -3.29999999999999998e-27Initial program 25.5%
Taylor expanded in x around inf 42.7%
Taylor expanded in j around inf 26.4%
associate-*r*23.9%
*-commutative23.9%
*-commutative23.9%
Simplified23.9%
Taylor expanded in y1 around inf 16.0%
*-commutative16.0%
Simplified16.0%
if -3.29999999999999998e-27 < y4 < 1.89999999999999989e86Initial program 36.9%
Taylor expanded in a around -inf 41.7%
mul-1-neg41.7%
*-commutative41.7%
distribute-rgt-neg-in41.7%
Simplified41.7%
Taylor expanded in y around inf 35.5%
+-commutative35.5%
mul-1-neg35.5%
unsub-neg35.5%
*-commutative35.5%
Simplified35.5%
Taylor expanded in x around inf 24.9%
expm1-log1p-u12.8%
expm1-udef12.8%
associate-*r*15.5%
*-commutative15.5%
Applied egg-rr15.5%
expm1-def15.5%
expm1-log1p27.6%
*-commutative27.6%
*-commutative27.6%
associate-*r*24.9%
*-commutative24.9%
associate-*l*26.3%
Simplified26.3%
if 1.89999999999999989e86 < y4 Initial program 25.7%
Taylor expanded in t around inf 40.5%
Taylor expanded in j around inf 40.6%
Taylor expanded in b around inf 37.0%
Final simplification27.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (or (<= x -2.85e-61) (not (<= x 1.9e+83))) (* a (* y (* x b))) (* b (* y4 (* t j)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((x <= -2.85e-61) || !(x <= 1.9e+83)) {
tmp = a * (y * (x * b));
} else {
tmp = b * (y4 * (t * j));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if ((x <= (-2.85d-61)) .or. (.not. (x <= 1.9d+83))) then
tmp = a * (y * (x * b))
else
tmp = b * (y4 * (t * j))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((x <= -2.85e-61) || !(x <= 1.9e+83)) {
tmp = a * (y * (x * b));
} else {
tmp = b * (y4 * (t * j));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if (x <= -2.85e-61) or not (x <= 1.9e+83): tmp = a * (y * (x * b)) else: tmp = b * (y4 * (t * j)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if ((x <= -2.85e-61) || !(x <= 1.9e+83)) tmp = Float64(a * Float64(y * Float64(x * b))); else tmp = Float64(b * Float64(y4 * Float64(t * j))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if ((x <= -2.85e-61) || ~((x <= 1.9e+83))) tmp = a * (y * (x * b)); else tmp = b * (y4 * (t * j)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[Or[LessEqual[x, -2.85e-61], N[Not[LessEqual[x, 1.9e+83]], $MachinePrecision]], N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(y4 * N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -2.85 \cdot 10^{-61} \lor \neg \left(x \leq 1.9 \cdot 10^{+83}\right):\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j\right)\right)\\
\end{array}
\end{array}
if x < -2.85000000000000003e-61 or 1.9000000000000001e83 < x Initial program 26.6%
Taylor expanded in a around -inf 40.2%
mul-1-neg40.2%
*-commutative40.2%
distribute-rgt-neg-in40.2%
Simplified40.2%
Taylor expanded in y around inf 33.6%
+-commutative33.6%
mul-1-neg33.6%
unsub-neg33.6%
*-commutative33.6%
Simplified33.6%
Taylor expanded in x around inf 29.9%
*-commutative29.9%
Simplified29.9%
if -2.85000000000000003e-61 < x < 1.9000000000000001e83Initial program 36.2%
Taylor expanded in t around inf 35.9%
Taylor expanded in j around inf 28.0%
Taylor expanded in b around inf 20.0%
associate-*r*20.8%
Simplified20.8%
Final simplification25.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (or (<= y4 -2.45e+107) (not (<= y4 5.5e+87))) (* j (* t (* b y4))) (* b (* (* x y) a))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((y4 <= -2.45e+107) || !(y4 <= 5.5e+87)) {
tmp = j * (t * (b * y4));
} else {
tmp = b * ((x * y) * a);
}
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 ((y4 <= (-2.45d+107)) .or. (.not. (y4 <= 5.5d+87))) then
tmp = j * (t * (b * y4))
else
tmp = b * ((x * y) * a)
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 ((y4 <= -2.45e+107) || !(y4 <= 5.5e+87)) {
tmp = j * (t * (b * y4));
} else {
tmp = b * ((x * y) * a);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if (y4 <= -2.45e+107) or not (y4 <= 5.5e+87): tmp = j * (t * (b * y4)) else: tmp = b * ((x * y) * a) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if ((y4 <= -2.45e+107) || !(y4 <= 5.5e+87)) tmp = Float64(j * Float64(t * Float64(b * y4))); else tmp = Float64(b * Float64(Float64(x * y) * a)); 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 ((y4 <= -2.45e+107) || ~((y4 <= 5.5e+87))) tmp = j * (t * (b * y4)); else tmp = b * ((x * y) * a); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[Or[LessEqual[y4, -2.45e+107], N[Not[LessEqual[y4, 5.5e+87]], $MachinePrecision]], N[(j * N[(t * N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(N[(x * y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y4 \leq -2.45 \cdot 10^{+107} \lor \neg \left(y4 \leq 5.5 \cdot 10^{+87}\right):\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(\left(x \cdot y\right) \cdot a\right)\\
\end{array}
\end{array}
if y4 < -2.4500000000000001e107 or 5.50000000000000022e87 < y4 Initial program 28.0%
Taylor expanded in t around inf 40.5%
Taylor expanded in j around inf 35.9%
Taylor expanded in b around inf 32.0%
if -2.4500000000000001e107 < y4 < 5.50000000000000022e87Initial program 33.5%
Taylor expanded in a around -inf 42.1%
mul-1-neg42.1%
*-commutative42.1%
distribute-rgt-neg-in42.1%
Simplified42.1%
Taylor expanded in y around inf 33.1%
+-commutative33.1%
mul-1-neg33.1%
unsub-neg33.1%
*-commutative33.1%
Simplified33.1%
Taylor expanded in x around inf 22.2%
expm1-log1p-u11.2%
expm1-udef11.1%
associate-*r*14.0%
*-commutative14.0%
Applied egg-rr14.0%
expm1-def14.1%
expm1-log1p25.1%
*-commutative25.1%
*-commutative25.1%
associate-*r*22.2%
*-commutative22.2%
associate-*l*24.0%
Simplified24.0%
Final simplification27.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= x -1.65e-61) (* b (* (* x y) a)) (if (<= x 9.2e+82) (* b (* y4 (* t j))) (* a (* y (* x 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 (x <= -1.65e-61) {
tmp = b * ((x * y) * a);
} else if (x <= 9.2e+82) {
tmp = b * (y4 * (t * j));
} else {
tmp = a * (y * (x * 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 (x <= (-1.65d-61)) then
tmp = b * ((x * y) * a)
else if (x <= 9.2d+82) then
tmp = b * (y4 * (t * j))
else
tmp = a * (y * (x * 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 (x <= -1.65e-61) {
tmp = b * ((x * y) * a);
} else if (x <= 9.2e+82) {
tmp = b * (y4 * (t * j));
} else {
tmp = a * (y * (x * b));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if x <= -1.65e-61: tmp = b * ((x * y) * a) elif x <= 9.2e+82: tmp = b * (y4 * (t * j)) else: tmp = a * (y * (x * 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 (x <= -1.65e-61) tmp = Float64(b * Float64(Float64(x * y) * a)); elseif (x <= 9.2e+82) tmp = Float64(b * Float64(y4 * Float64(t * j))); else tmp = Float64(a * Float64(y * Float64(x * 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 (x <= -1.65e-61) tmp = b * ((x * y) * a); elseif (x <= 9.2e+82) tmp = b * (y4 * (t * j)); else tmp = a * (y * (x * 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[x, -1.65e-61], N[(b * N[(N[(x * y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 9.2e+82], N[(b * N[(y4 * N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -1.65 \cdot 10^{-61}:\\
\;\;\;\;b \cdot \left(\left(x \cdot y\right) \cdot a\right)\\
\mathbf{elif}\;x \leq 9.2 \cdot 10^{+82}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\
\end{array}
\end{array}
if x < -1.64999999999999998e-61Initial program 27.0%
Taylor expanded in a around -inf 42.6%
mul-1-neg42.6%
*-commutative42.6%
distribute-rgt-neg-in42.6%
Simplified42.6%
Taylor expanded in y around inf 36.7%
+-commutative36.7%
mul-1-neg36.7%
unsub-neg36.7%
*-commutative36.7%
Simplified36.7%
Taylor expanded in x around inf 29.3%
expm1-log1p-u15.0%
expm1-udef15.0%
associate-*r*17.3%
*-commutative17.3%
Applied egg-rr17.3%
expm1-def17.3%
expm1-log1p31.7%
*-commutative31.7%
*-commutative31.7%
associate-*r*29.3%
*-commutative29.3%
associate-*l*31.7%
Simplified31.7%
if -1.64999999999999998e-61 < x < 9.19999999999999953e82Initial program 36.2%
Taylor expanded in t around inf 35.9%
Taylor expanded in j around inf 28.0%
Taylor expanded in b around inf 20.0%
associate-*r*20.8%
Simplified20.8%
if 9.19999999999999953e82 < x Initial program 25.9%
Taylor expanded in a around -inf 36.4%
mul-1-neg36.4%
*-commutative36.4%
distribute-rgt-neg-in36.4%
Simplified36.4%
Taylor expanded in y around inf 28.8%
+-commutative28.8%
mul-1-neg28.8%
unsub-neg28.8%
*-commutative28.8%
Simplified28.8%
Taylor expanded in x around inf 29.1%
*-commutative29.1%
Simplified29.1%
Final simplification25.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* a (* y (- (* x b) (* y3 y5)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return a * (y * ((x * b) - (y3 * y5)));
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
code = a * (y * ((x * b) - (y3 * y5)))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return a * (y * ((x * b) - (y3 * y5)));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return a * (y * ((x * b) - (y3 * y5)))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(a * Float64(y * Float64(Float64(x * b) - Float64(y3 * y5)))) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = a * (y * ((x * b) - (y3 * y5))); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(a * N[(y * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
a \cdot \left(y \cdot \left(x \cdot b - y3 \cdot y5\right)\right)
\end{array}
Initial program 31.4%
Taylor expanded in a around -inf 38.5%
mul-1-neg38.5%
*-commutative38.5%
distribute-rgt-neg-in38.5%
Simplified38.5%
Taylor expanded in y around inf 29.1%
+-commutative29.1%
mul-1-neg29.1%
unsub-neg29.1%
*-commutative29.1%
Simplified29.1%
Final simplification29.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* a (* (* x y) 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 a * ((x * y) * 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 = a * ((x * y) * 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 a * ((x * y) * b);
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return a * ((x * y) * b)
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(a * Float64(Float64(x * y) * b)) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = a * ((x * y) * b); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
a \cdot \left(\left(x \cdot y\right) \cdot b\right)
\end{array}
Initial program 31.4%
Taylor expanded in a around -inf 38.5%
mul-1-neg38.5%
*-commutative38.5%
distribute-rgt-neg-in38.5%
Simplified38.5%
Taylor expanded in y around inf 29.1%
+-commutative29.1%
mul-1-neg29.1%
unsub-neg29.1%
*-commutative29.1%
Simplified29.1%
Taylor expanded in x around inf 18.6%
Final simplification18.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* a (* y (* x 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 a * (y * (x * 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 = a * (y * (x * 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 a * (y * (x * b));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return a * (y * (x * b))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(a * Float64(y * Float64(x * b))) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = a * (y * (x * b)); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
a \cdot \left(y \cdot \left(x \cdot b\right)\right)
\end{array}
Initial program 31.4%
Taylor expanded in a around -inf 38.5%
mul-1-neg38.5%
*-commutative38.5%
distribute-rgt-neg-in38.5%
Simplified38.5%
Taylor expanded in y around inf 29.1%
+-commutative29.1%
mul-1-neg29.1%
unsub-neg29.1%
*-commutative29.1%
Simplified29.1%
Taylor expanded in x around inf 18.9%
*-commutative18.9%
Simplified18.9%
Final simplification18.9%
(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 2023336
(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
:herbie-target
(if (< y4 -7.206256231996481e+60) (- (- (* (- (* 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.0 (- (* y4 c) (* y5 a)))) (* (- (* y2 k) (* y3 j)) (- (* y4 y1) (* y5 y0))))) (if (< y4 -3.364603505246317e-66) (+ (- (- (- (* (* 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 -1.2000065055686116e-105) (+ (+ (- (* (- (* 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 6.718963124057495e-279) (+ (- (- (- (* (* 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 4.77962681403792e-222) (+ (+ (- (* (- (* 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 2.2852241541266835e-175) (+ (- (- (- (* (* 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)))))