
(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 37 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 (- (* t j) (* y k)))
(t_2 (* y1 (- (* k y2) (* j y3))))
(t_3 (* y4 (+ (+ (* b t_1) t_2) (* c (- (* y y3) (* t y2)))))))
(if (<= y1 -5.5e+173)
(* j (* y1 (- (* x i) (* y3 y4))))
(if (<= y1 -2.2e+115)
(* k (* i (- (* y y5) (* z y1))))
(if (<= y1 -1.54e+57)
(*
y2
(+
(+ (* x (- (* c y0) (* a y1))) (* k (- (* y1 y4) (* y0 y5))))
(* t (- (* a y5) (* c y4)))))
(if (<= y1 -4.9e-16)
t_3
(if (<= y1 -5.2e-45)
(*
i
(+
(* c (- (* z t) (* x y)))
(+ (* y1 (- (* x j) (* z k))) (* y5 (- (* y k) (* t j))))))
(if (<= y1 -8e-290)
(*
b
(+
(+ (* a (- (* x y) (* z t))) (* y4 t_1))
(* y0 (- (* z k) (* x j)))))
(if (<= y1 7e-41)
t_3
(if (<= y1 7.2e+79)
(* y0 (* c (- (* x y2) (* z y3))))
(if (<= y1 1.12e+105)
(* j (* x (- (* i y1) (* b y0))))
(if (<= y1 1.9e+130)
(* y (* y3 (- (* c y4) (* a y5))))
(if (<= y1 9.2e+155)
(* j (* y0 (- (* y3 y5) (* x b))))
(* y4 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 = (t * j) - (y * k);
double t_2 = y1 * ((k * y2) - (j * y3));
double t_3 = y4 * (((b * t_1) + t_2) + (c * ((y * y3) - (t * y2))));
double tmp;
if (y1 <= -5.5e+173) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} else if (y1 <= -2.2e+115) {
tmp = k * (i * ((y * y5) - (z * y1)));
} else if (y1 <= -1.54e+57) {
tmp = y2 * (((x * ((c * y0) - (a * y1))) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4))));
} else if (y1 <= -4.9e-16) {
tmp = t_3;
} else if (y1 <= -5.2e-45) {
tmp = i * ((c * ((z * t) - (x * y))) + ((y1 * ((x * j) - (z * k))) + (y5 * ((y * k) - (t * j)))));
} else if (y1 <= -8e-290) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_1)) + (y0 * ((z * k) - (x * j))));
} else if (y1 <= 7e-41) {
tmp = t_3;
} else if (y1 <= 7.2e+79) {
tmp = y0 * (c * ((x * y2) - (z * y3)));
} else if (y1 <= 1.12e+105) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y1 <= 1.9e+130) {
tmp = y * (y3 * ((c * y4) - (a * y5)));
} else if (y1 <= 9.2e+155) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else {
tmp = y4 * 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) :: t_3
real(8) :: tmp
t_1 = (t * j) - (y * k)
t_2 = y1 * ((k * y2) - (j * y3))
t_3 = y4 * (((b * t_1) + t_2) + (c * ((y * y3) - (t * y2))))
if (y1 <= (-5.5d+173)) then
tmp = j * (y1 * ((x * i) - (y3 * y4)))
else if (y1 <= (-2.2d+115)) then
tmp = k * (i * ((y * y5) - (z * y1)))
else if (y1 <= (-1.54d+57)) then
tmp = y2 * (((x * ((c * y0) - (a * y1))) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4))))
else if (y1 <= (-4.9d-16)) then
tmp = t_3
else if (y1 <= (-5.2d-45)) then
tmp = i * ((c * ((z * t) - (x * y))) + ((y1 * ((x * j) - (z * k))) + (y5 * ((y * k) - (t * j)))))
else if (y1 <= (-8d-290)) then
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_1)) + (y0 * ((z * k) - (x * j))))
else if (y1 <= 7d-41) then
tmp = t_3
else if (y1 <= 7.2d+79) then
tmp = y0 * (c * ((x * y2) - (z * y3)))
else if (y1 <= 1.12d+105) then
tmp = j * (x * ((i * y1) - (b * y0)))
else if (y1 <= 1.9d+130) then
tmp = y * (y3 * ((c * y4) - (a * y5)))
else if (y1 <= 9.2d+155) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else
tmp = y4 * 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 = (t * j) - (y * k);
double t_2 = y1 * ((k * y2) - (j * y3));
double t_3 = y4 * (((b * t_1) + t_2) + (c * ((y * y3) - (t * y2))));
double tmp;
if (y1 <= -5.5e+173) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} else if (y1 <= -2.2e+115) {
tmp = k * (i * ((y * y5) - (z * y1)));
} else if (y1 <= -1.54e+57) {
tmp = y2 * (((x * ((c * y0) - (a * y1))) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4))));
} else if (y1 <= -4.9e-16) {
tmp = t_3;
} else if (y1 <= -5.2e-45) {
tmp = i * ((c * ((z * t) - (x * y))) + ((y1 * ((x * j) - (z * k))) + (y5 * ((y * k) - (t * j)))));
} else if (y1 <= -8e-290) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_1)) + (y0 * ((z * k) - (x * j))));
} else if (y1 <= 7e-41) {
tmp = t_3;
} else if (y1 <= 7.2e+79) {
tmp = y0 * (c * ((x * y2) - (z * y3)));
} else if (y1 <= 1.12e+105) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y1 <= 1.9e+130) {
tmp = y * (y3 * ((c * y4) - (a * y5)));
} else if (y1 <= 9.2e+155) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else {
tmp = y4 * t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (t * j) - (y * k) t_2 = y1 * ((k * y2) - (j * y3)) t_3 = y4 * (((b * t_1) + t_2) + (c * ((y * y3) - (t * y2)))) tmp = 0 if y1 <= -5.5e+173: tmp = j * (y1 * ((x * i) - (y3 * y4))) elif y1 <= -2.2e+115: tmp = k * (i * ((y * y5) - (z * y1))) elif y1 <= -1.54e+57: tmp = y2 * (((x * ((c * y0) - (a * y1))) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4)))) elif y1 <= -4.9e-16: tmp = t_3 elif y1 <= -5.2e-45: tmp = i * ((c * ((z * t) - (x * y))) + ((y1 * ((x * j) - (z * k))) + (y5 * ((y * k) - (t * j))))) elif y1 <= -8e-290: tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_1)) + (y0 * ((z * k) - (x * j)))) elif y1 <= 7e-41: tmp = t_3 elif y1 <= 7.2e+79: tmp = y0 * (c * ((x * y2) - (z * y3))) elif y1 <= 1.12e+105: tmp = j * (x * ((i * y1) - (b * y0))) elif y1 <= 1.9e+130: tmp = y * (y3 * ((c * y4) - (a * y5))) elif y1 <= 9.2e+155: tmp = j * (y0 * ((y3 * y5) - (x * b))) else: tmp = y4 * 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(Float64(t * j) - Float64(y * k)) t_2 = Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3))) t_3 = Float64(y4 * Float64(Float64(Float64(b * t_1) + t_2) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))) tmp = 0.0 if (y1 <= -5.5e+173) tmp = Float64(j * Float64(y1 * Float64(Float64(x * i) - Float64(y3 * y4)))); elseif (y1 <= -2.2e+115) tmp = Float64(k * Float64(i * Float64(Float64(y * y5) - Float64(z * y1)))); elseif (y1 <= -1.54e+57) tmp = Float64(y2 * Float64(Float64(Float64(x * Float64(Float64(c * y0) - Float64(a * y1))) + Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (y1 <= -4.9e-16) tmp = t_3; elseif (y1 <= -5.2e-45) tmp = Float64(i * Float64(Float64(c * Float64(Float64(z * t) - Float64(x * y))) + Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) + Float64(y5 * Float64(Float64(y * k) - Float64(t * j)))))); elseif (y1 <= -8e-290) tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * t_1)) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))); elseif (y1 <= 7e-41) tmp = t_3; elseif (y1 <= 7.2e+79) tmp = Float64(y0 * Float64(c * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (y1 <= 1.12e+105) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); elseif (y1 <= 1.9e+130) tmp = Float64(y * Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5)))); elseif (y1 <= 9.2e+155) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); else tmp = Float64(y4 * 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 = (t * j) - (y * k); t_2 = y1 * ((k * y2) - (j * y3)); t_3 = y4 * (((b * t_1) + t_2) + (c * ((y * y3) - (t * y2)))); tmp = 0.0; if (y1 <= -5.5e+173) tmp = j * (y1 * ((x * i) - (y3 * y4))); elseif (y1 <= -2.2e+115) tmp = k * (i * ((y * y5) - (z * y1))); elseif (y1 <= -1.54e+57) tmp = y2 * (((x * ((c * y0) - (a * y1))) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4)))); elseif (y1 <= -4.9e-16) tmp = t_3; elseif (y1 <= -5.2e-45) tmp = i * ((c * ((z * t) - (x * y))) + ((y1 * ((x * j) - (z * k))) + (y5 * ((y * k) - (t * j))))); elseif (y1 <= -8e-290) tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_1)) + (y0 * ((z * k) - (x * j)))); elseif (y1 <= 7e-41) tmp = t_3; elseif (y1 <= 7.2e+79) tmp = y0 * (c * ((x * y2) - (z * y3))); elseif (y1 <= 1.12e+105) tmp = j * (x * ((i * y1) - (b * y0))); elseif (y1 <= 1.9e+130) tmp = y * (y3 * ((c * y4) - (a * y5))); elseif (y1 <= 9.2e+155) tmp = j * (y0 * ((y3 * y5) - (x * b))); else tmp = y4 * 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[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y4 * N[(N[(N[(b * t$95$1), $MachinePrecision] + t$95$2), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y1, -5.5e+173], N[(j * N[(y1 * N[(N[(x * i), $MachinePrecision] - N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -2.2e+115], N[(k * N[(i * N[(N[(y * y5), $MachinePrecision] - N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -1.54e+57], N[(y2 * N[(N[(N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -4.9e-16], t$95$3, If[LessEqual[y1, -5.2e-45], N[(i * N[(N[(c * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -8e-290], N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 7e-41], t$95$3, If[LessEqual[y1, 7.2e+79], N[(y0 * N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.12e+105], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.9e+130], N[(y * N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 9.2e+155], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y4 * t$95$2), $MachinePrecision]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot j - y \cdot k\\
t_2 := y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\\
t_3 := y4 \cdot \left(\left(b \cdot t_1 + t_2\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{if}\;y1 \leq -5.5 \cdot 10^{+173}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(x \cdot i - y3 \cdot y4\right)\right)\\
\mathbf{elif}\;y1 \leq -2.2 \cdot 10^{+115}:\\
\;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\
\mathbf{elif}\;y1 \leq -1.54 \cdot 10^{+57}:\\
\;\;\;\;y2 \cdot \left(\left(x \cdot \left(c \cdot y0 - a \cdot y1\right) + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;y1 \leq -4.9 \cdot 10^{-16}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;y1 \leq -5.2 \cdot 10^{-45}:\\
\;\;\;\;i \cdot \left(c \cdot \left(z \cdot t - x \cdot y\right) + \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + y5 \cdot \left(y \cdot k - t \cdot j\right)\right)\right)\\
\mathbf{elif}\;y1 \leq -8 \cdot 10^{-290}:\\
\;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot t_1\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y1 \leq 7 \cdot 10^{-41}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;y1 \leq 7.2 \cdot 10^{+79}:\\
\;\;\;\;y0 \cdot \left(c \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;y1 \leq 1.12 \cdot 10^{+105}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y1 \leq 1.9 \cdot 10^{+130}:\\
\;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\
\mathbf{elif}\;y1 \leq 9.2 \cdot 10^{+155}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y4 \cdot t_2\\
\end{array}
\end{array}
if y1 < -5.50000000000000049e173Initial program 12.2%
+-commutative12.2%
fma-def12.2%
*-commutative12.2%
*-commutative12.2%
Simplified16.2%
Taylor expanded in j around inf 48.3%
Taylor expanded in y1 around -inf 57.3%
associate-*r*57.3%
neg-mul-157.3%
Simplified57.3%
if -5.50000000000000049e173 < y1 < -2.2e115Initial program 7.6%
+-commutative7.6%
fma-def7.6%
*-commutative7.6%
*-commutative7.6%
Simplified7.6%
Taylor expanded in k around inf 46.0%
Taylor expanded in i around inf 76.9%
mul-1-neg76.9%
sub-neg76.9%
*-commutative76.9%
Simplified76.9%
if -2.2e115 < y1 < -1.54e57Initial program 33.3%
associate-+l-33.3%
Simplified33.3%
Taylor expanded in y2 around inf 73.9%
if -1.54e57 < y1 < -4.89999999999999975e-16 or -8.0000000000000006e-290 < y1 < 6.9999999999999999e-41Initial program 40.0%
associate-+l-40.0%
Simplified40.0%
Taylor expanded in y4 around inf 61.1%
if -4.89999999999999975e-16 < y1 < -5.19999999999999973e-45Initial program 51.0%
associate-+l-51.0%
Simplified51.0%
Taylor expanded in i around -inf 51.6%
mul-1-neg51.6%
associate--l+51.6%
Simplified51.6%
if -5.19999999999999973e-45 < y1 < -8.0000000000000006e-290Initial program 27.7%
associate-+l-27.7%
Simplified27.7%
Taylor expanded in b around inf 53.7%
if 6.9999999999999999e-41 < y1 < 7.1999999999999999e79Initial program 17.2%
+-commutative17.2%
fma-def20.7%
*-commutative20.7%
*-commutative20.7%
Simplified20.7%
Taylor expanded in y0 around inf 38.7%
mul-1-neg38.7%
Simplified38.7%
Taylor expanded in c around inf 43.0%
*-commutative43.0%
*-commutative43.0%
associate-*l*42.8%
*-commutative42.8%
Simplified42.8%
if 7.1999999999999999e79 < y1 < 1.12e105Initial program 50.0%
+-commutative50.0%
fma-def50.0%
*-commutative50.0%
*-commutative50.0%
Simplified50.0%
Taylor expanded in j around inf 83.3%
Taylor expanded in x around inf 100.0%
if 1.12e105 < y1 < 1.9000000000000001e130Initial program 14.3%
associate-+l-14.3%
Simplified14.3%
Taylor expanded in y3 around -inf 72.5%
Taylor expanded in y around inf 72.4%
*-commutative72.4%
associate-*l*85.9%
Simplified85.9%
if 1.9000000000000001e130 < y1 < 9.19999999999999992e155Initial program 30.0%
+-commutative30.0%
fma-def30.0%
*-commutative30.0%
*-commutative30.0%
Simplified30.0%
Taylor expanded in j around inf 51.3%
Taylor expanded in y0 around inf 61.1%
*-commutative61.1%
Simplified61.1%
if 9.19999999999999992e155 < y1 Initial program 25.0%
associate-+l-25.0%
Simplified25.0%
Taylor expanded in y4 around inf 55.2%
Taylor expanded in y1 around inf 75.4%
Final simplification61.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* b y4) (* i y5)))
(t_2
(+
(+
(+
(+
(+
(* (- (* a b) (* c i)) (- (* x y) (* z t)))
(* (- (* b y0) (* i y1)) (- (* z k) (* x j))))
(* (- (* c y0) (* a y1)) (- (* x y2) (* z y3))))
(* t_1 (- (* t j) (* y k))))
(* (- (* t y2) (* y y3)) (- (* a y5) (* c y4))))
(* (- (* y1 y4) (* y0 y5)) (- (* k y2) (* j y3))))))
(if (<= t_2 INFINITY)
t_2
(*
j
(+
(+ (* y3 (- (* y0 y5) (* y1 y4))) (* t t_1))
(* x (- (* i y1) (* b 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 = (b * y4) - (i * y5);
double t_2 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * ((z * k) - (x * j)))) + (((c * y0) - (a * y1)) * ((x * y2) - (z * y3)))) + (t_1 * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((y1 * y4) - (y0 * y5)) * ((k * y2) - (j * y3)));
double tmp;
if (t_2 <= ((double) INFINITY)) {
tmp = t_2;
} else {
tmp = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * t_1)) + (x * ((i * y1) - (b * y0))));
}
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 = (b * y4) - (i * y5);
double t_2 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * ((z * k) - (x * j)))) + (((c * y0) - (a * y1)) * ((x * y2) - (z * y3)))) + (t_1 * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((y1 * y4) - (y0 * y5)) * ((k * y2) - (j * y3)));
double tmp;
if (t_2 <= Double.POSITIVE_INFINITY) {
tmp = t_2;
} else {
tmp = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * t_1)) + (x * ((i * y1) - (b * y0))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (b * y4) - (i * y5) t_2 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * ((z * k) - (x * j)))) + (((c * y0) - (a * y1)) * ((x * y2) - (z * y3)))) + (t_1 * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((y1 * y4) - (y0 * y5)) * ((k * y2) - (j * y3))) tmp = 0 if t_2 <= math.inf: tmp = t_2 else: tmp = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * t_1)) + (x * ((i * y1) - (b * y0)))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(b * y4) - Float64(i * y5)) t_2 = 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(z * k) - Float64(x * j)))) + Float64(Float64(Float64(c * y0) - Float64(a * y1)) * Float64(Float64(x * y2) - Float64(z * y3)))) + Float64(t_1 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(a * y5) - Float64(c * y4)))) + Float64(Float64(Float64(y1 * y4) - Float64(y0 * y5)) * Float64(Float64(k * y2) - Float64(j * y3)))) tmp = 0.0 if (t_2 <= Inf) tmp = t_2; else tmp = Float64(j * Float64(Float64(Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4))) + Float64(t * t_1)) + Float64(x * Float64(Float64(i * y1) - Float64(b * 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 = (b * y4) - (i * y5); t_2 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * ((z * k) - (x * j)))) + (((c * y0) - (a * y1)) * ((x * y2) - (z * y3)))) + (t_1 * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((y1 * y4) - (y0 * y5)) * ((k * y2) - (j * y3))); tmp = 0.0; if (t_2 <= Inf) tmp = t_2; else tmp = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * t_1)) + (x * ((i * y1) - (b * 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[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = 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[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision] * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t$95$1 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision] * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$2, Infinity], t$95$2, N[(j * N[(N[(N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot y4 - i \cdot y5\\
t_2 := \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(z \cdot k - x \cdot j\right)\right) + \left(c \cdot y0 - a \cdot y1\right) \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + t_1 \cdot \left(t \cdot j - y \cdot k\right)\right) + \left(t \cdot y2 - y \cdot y3\right) \cdot \left(a \cdot y5 - c \cdot y4\right)\right) + \left(y1 \cdot y4 - y0 \cdot y5\right) \cdot \left(k \cdot y2 - j \cdot y3\right)\\
\mathbf{if}\;t_2 \leq \infty:\\
\;\;\;\;t_2\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(\left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) + t \cdot t_1\right) + x \cdot \left(i \cdot y1 - b \cdot y0\right)\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.7%
if +inf.0 < (+.f64 (-.f64 (+.f64 (+.f64 (-.f64 (*.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (-.f64 (*.f64 a b) (*.f64 c i))) (*.f64 (-.f64 (*.f64 x j) (*.f64 z k)) (-.f64 (*.f64 y0 b) (*.f64 y1 i)))) (*.f64 (-.f64 (*.f64 x y2) (*.f64 z y3)) (-.f64 (*.f64 y0 c) (*.f64 y1 a)))) (*.f64 (-.f64 (*.f64 t j) (*.f64 y k)) (-.f64 (*.f64 y4 b) (*.f64 y5 i)))) (*.f64 (-.f64 (*.f64 t y2) (*.f64 y y3)) (-.f64 (*.f64 y4 c) (*.f64 y5 a)))) (*.f64 (-.f64 (*.f64 k y2) (*.f64 j y3)) (-.f64 (*.f64 y4 y1) (*.f64 y5 y0)))) Initial program 0.0%
+-commutative0.0%
fma-def1.1%
*-commutative1.1%
*-commutative1.1%
Simplified4.6%
Taylor expanded in j around inf 38.9%
Final simplification55.3%
(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)))
(- (* b (- (* x y) (* z t))) (* y1 (* x y2))))))
(t_2 (* j (* x (- (* i y1) (* b y0))))))
(if (<= x -2.9e+137)
(* (* x i) (- (* j y1) (* y c)))
(if (<= x -4e-253)
t_1
(if (<= x -9e-305)
(* b (* y4 (- (* t j) (* y k))))
(if (<= x 1.1e-232)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= x 2e-211)
(* (* t j) (- (* b y4) (* i y5)))
(if (<= x 1.5e-186)
(* j (* y4 (* y1 (- y3))))
(if (<= x 4.4e-183)
(* y4 (* t (- (* b j) (* c y2))))
(if (<= x 1.15e-157)
(* y0 (* c (- (* x y2) (* z y3))))
(if (<= x 4.4e-32)
(* y0 (* y3 (- (* j y5) (* z c))))
(if (<= x 3.1e+30)
t_2
(if (<= x 1.25e+48)
(* (* y y3) (- (* c y4) (* a y5)))
(if (<= x 4.3e+99) t_1 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 = a * ((y5 * ((t * y2) - (y * y3))) + ((b * ((x * y) - (z * t))) - (y1 * (x * y2))));
double t_2 = j * (x * ((i * y1) - (b * y0)));
double tmp;
if (x <= -2.9e+137) {
tmp = (x * i) * ((j * y1) - (y * c));
} else if (x <= -4e-253) {
tmp = t_1;
} else if (x <= -9e-305) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (x <= 1.1e-232) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (x <= 2e-211) {
tmp = (t * j) * ((b * y4) - (i * y5));
} else if (x <= 1.5e-186) {
tmp = j * (y4 * (y1 * -y3));
} else if (x <= 4.4e-183) {
tmp = y4 * (t * ((b * j) - (c * y2)));
} else if (x <= 1.15e-157) {
tmp = y0 * (c * ((x * y2) - (z * y3)));
} else if (x <= 4.4e-32) {
tmp = y0 * (y3 * ((j * y5) - (z * c)));
} else if (x <= 3.1e+30) {
tmp = t_2;
} else if (x <= 1.25e+48) {
tmp = (y * y3) * ((c * y4) - (a * y5));
} else if (x <= 4.3e+99) {
tmp = t_1;
} 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 = a * ((y5 * ((t * y2) - (y * y3))) + ((b * ((x * y) - (z * t))) - (y1 * (x * y2))))
t_2 = j * (x * ((i * y1) - (b * y0)))
if (x <= (-2.9d+137)) then
tmp = (x * i) * ((j * y1) - (y * c))
else if (x <= (-4d-253)) then
tmp = t_1
else if (x <= (-9d-305)) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (x <= 1.1d-232) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (x <= 2d-211) then
tmp = (t * j) * ((b * y4) - (i * y5))
else if (x <= 1.5d-186) then
tmp = j * (y4 * (y1 * -y3))
else if (x <= 4.4d-183) then
tmp = y4 * (t * ((b * j) - (c * y2)))
else if (x <= 1.15d-157) then
tmp = y0 * (c * ((x * y2) - (z * y3)))
else if (x <= 4.4d-32) then
tmp = y0 * (y3 * ((j * y5) - (z * c)))
else if (x <= 3.1d+30) then
tmp = t_2
else if (x <= 1.25d+48) then
tmp = (y * y3) * ((c * y4) - (a * y5))
else if (x <= 4.3d+99) then
tmp = t_1
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 = a * ((y5 * ((t * y2) - (y * y3))) + ((b * ((x * y) - (z * t))) - (y1 * (x * y2))));
double t_2 = j * (x * ((i * y1) - (b * y0)));
double tmp;
if (x <= -2.9e+137) {
tmp = (x * i) * ((j * y1) - (y * c));
} else if (x <= -4e-253) {
tmp = t_1;
} else if (x <= -9e-305) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (x <= 1.1e-232) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (x <= 2e-211) {
tmp = (t * j) * ((b * y4) - (i * y5));
} else if (x <= 1.5e-186) {
tmp = j * (y4 * (y1 * -y3));
} else if (x <= 4.4e-183) {
tmp = y4 * (t * ((b * j) - (c * y2)));
} else if (x <= 1.15e-157) {
tmp = y0 * (c * ((x * y2) - (z * y3)));
} else if (x <= 4.4e-32) {
tmp = y0 * (y3 * ((j * y5) - (z * c)));
} else if (x <= 3.1e+30) {
tmp = t_2;
} else if (x <= 1.25e+48) {
tmp = (y * y3) * ((c * y4) - (a * y5));
} else if (x <= 4.3e+99) {
tmp = t_1;
} 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 = a * ((y5 * ((t * y2) - (y * y3))) + ((b * ((x * y) - (z * t))) - (y1 * (x * y2)))) t_2 = j * (x * ((i * y1) - (b * y0))) tmp = 0 if x <= -2.9e+137: tmp = (x * i) * ((j * y1) - (y * c)) elif x <= -4e-253: tmp = t_1 elif x <= -9e-305: tmp = b * (y4 * ((t * j) - (y * k))) elif x <= 1.1e-232: tmp = c * (y4 * ((y * y3) - (t * y2))) elif x <= 2e-211: tmp = (t * j) * ((b * y4) - (i * y5)) elif x <= 1.5e-186: tmp = j * (y4 * (y1 * -y3)) elif x <= 4.4e-183: tmp = y4 * (t * ((b * j) - (c * y2))) elif x <= 1.15e-157: tmp = y0 * (c * ((x * y2) - (z * y3))) elif x <= 4.4e-32: tmp = y0 * (y3 * ((j * y5) - (z * c))) elif x <= 3.1e+30: tmp = t_2 elif x <= 1.25e+48: tmp = (y * y3) * ((c * y4) - (a * y5)) elif x <= 4.3e+99: tmp = t_1 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(a * Float64(Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(Float64(b * Float64(Float64(x * y) - Float64(z * t))) - Float64(y1 * Float64(x * y2))))) t_2 = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))) tmp = 0.0 if (x <= -2.9e+137) tmp = Float64(Float64(x * i) * Float64(Float64(j * y1) - Float64(y * c))); elseif (x <= -4e-253) tmp = t_1; elseif (x <= -9e-305) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (x <= 1.1e-232) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (x <= 2e-211) tmp = Float64(Float64(t * j) * Float64(Float64(b * y4) - Float64(i * y5))); elseif (x <= 1.5e-186) tmp = Float64(j * Float64(y4 * Float64(y1 * Float64(-y3)))); elseif (x <= 4.4e-183) tmp = Float64(y4 * Float64(t * Float64(Float64(b * j) - Float64(c * y2)))); elseif (x <= 1.15e-157) tmp = Float64(y0 * Float64(c * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (x <= 4.4e-32) tmp = Float64(y0 * Float64(y3 * Float64(Float64(j * y5) - Float64(z * c)))); elseif (x <= 3.1e+30) tmp = t_2; elseif (x <= 1.25e+48) tmp = Float64(Float64(y * y3) * Float64(Float64(c * y4) - Float64(a * y5))); elseif (x <= 4.3e+99) tmp = t_1; 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 = a * ((y5 * ((t * y2) - (y * y3))) + ((b * ((x * y) - (z * t))) - (y1 * (x * y2)))); t_2 = j * (x * ((i * y1) - (b * y0))); tmp = 0.0; if (x <= -2.9e+137) tmp = (x * i) * ((j * y1) - (y * c)); elseif (x <= -4e-253) tmp = t_1; elseif (x <= -9e-305) tmp = b * (y4 * ((t * j) - (y * k))); elseif (x <= 1.1e-232) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (x <= 2e-211) tmp = (t * j) * ((b * y4) - (i * y5)); elseif (x <= 1.5e-186) tmp = j * (y4 * (y1 * -y3)); elseif (x <= 4.4e-183) tmp = y4 * (t * ((b * j) - (c * y2))); elseif (x <= 1.15e-157) tmp = y0 * (c * ((x * y2) - (z * y3))); elseif (x <= 4.4e-32) tmp = y0 * (y3 * ((j * y5) - (z * c))); elseif (x <= 3.1e+30) tmp = t_2; elseif (x <= 1.25e+48) tmp = (y * y3) * ((c * y4) - (a * y5)); elseif (x <= 4.3e+99) tmp = t_1; 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[(a * N[(N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y1 * N[(x * y2), $MachinePrecision]), $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[x, -2.9e+137], N[(N[(x * i), $MachinePrecision] * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -4e-253], t$95$1, If[LessEqual[x, -9e-305], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.1e-232], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2e-211], N[(N[(t * j), $MachinePrecision] * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.5e-186], N[(j * N[(y4 * N[(y1 * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 4.4e-183], N[(y4 * N[(t * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.15e-157], N[(y0 * N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 4.4e-32], N[(y0 * N[(y3 * N[(N[(j * y5), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 3.1e+30], t$95$2, If[LessEqual[x, 1.25e+48], N[(N[(y * y3), $MachinePrecision] * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 4.3e+99], t$95$1, t$95$2]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(b \cdot \left(x \cdot y - z \cdot t\right) - y1 \cdot \left(x \cdot y2\right)\right)\right)\\
t_2 := j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{if}\;x \leq -2.9 \cdot 10^{+137}:\\
\;\;\;\;\left(x \cdot i\right) \cdot \left(j \cdot y1 - y \cdot c\right)\\
\mathbf{elif}\;x \leq -4 \cdot 10^{-253}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x \leq -9 \cdot 10^{-305}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;x \leq 1.1 \cdot 10^{-232}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;x \leq 2 \cdot 10^{-211}:\\
\;\;\;\;\left(t \cdot j\right) \cdot \left(b \cdot y4 - i \cdot y5\right)\\
\mathbf{elif}\;x \leq 1.5 \cdot 10^{-186}:\\
\;\;\;\;j \cdot \left(y4 \cdot \left(y1 \cdot \left(-y3\right)\right)\right)\\
\mathbf{elif}\;x \leq 4.4 \cdot 10^{-183}:\\
\;\;\;\;y4 \cdot \left(t \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\mathbf{elif}\;x \leq 1.15 \cdot 10^{-157}:\\
\;\;\;\;y0 \cdot \left(c \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;x \leq 4.4 \cdot 10^{-32}:\\
\;\;\;\;y0 \cdot \left(y3 \cdot \left(j \cdot y5 - z \cdot c\right)\right)\\
\mathbf{elif}\;x \leq 3.1 \cdot 10^{+30}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;x \leq 1.25 \cdot 10^{+48}:\\
\;\;\;\;\left(y \cdot y3\right) \cdot \left(c \cdot y4 - a \cdot y5\right)\\
\mathbf{elif}\;x \leq 4.3 \cdot 10^{+99}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;t_2\\
\end{array}
\end{array}
if x < -2.89999999999999985e137Initial program 22.5%
associate-+l-22.5%
Simplified22.5%
Taylor expanded in i around -inf 40.2%
mul-1-neg40.2%
associate--l+40.2%
Simplified40.2%
Taylor expanded in x around inf 53.2%
if -2.89999999999999985e137 < x < -4.0000000000000003e-253 or 1.24999999999999993e48 < x < 4.3000000000000001e99Initial program 29.2%
+-commutative29.2%
fma-def31.5%
*-commutative31.5%
*-commutative31.5%
Simplified37.1%
Taylor expanded in x around inf 43.9%
mul-1-neg43.9%
Simplified43.9%
Taylor expanded in a around inf 50.0%
if -4.0000000000000003e-253 < x < -9.0000000000000003e-305Initial program 61.5%
associate-+l-61.5%
Simplified61.5%
Taylor expanded in y4 around inf 62.0%
Taylor expanded in b around inf 62.1%
associate-*r*62.1%
Simplified62.1%
if -9.0000000000000003e-305 < x < 1.10000000000000001e-232Initial program 29.7%
associate-+l-29.7%
Simplified29.7%
Taylor expanded in y4 around inf 59.2%
Taylor expanded in c around inf 59.2%
if 1.10000000000000001e-232 < x < 2.00000000000000017e-211Initial program 59.7%
+-commutative59.7%
fma-def59.7%
*-commutative59.7%
*-commutative59.7%
Simplified59.7%
Taylor expanded in j around inf 80.2%
Taylor expanded in t around inf 79.7%
associate-*r*79.9%
Simplified79.9%
if 2.00000000000000017e-211 < x < 1.5000000000000001e-186Initial program 57.1%
+-commutative57.1%
fma-def57.1%
*-commutative57.1%
*-commutative57.1%
Simplified57.1%
Taylor expanded in j around inf 85.5%
Taylor expanded in y1 around -inf 57.5%
associate-*r*57.5%
neg-mul-157.5%
Simplified57.5%
Taylor expanded in y4 around inf 71.5%
mul-1-neg71.5%
distribute-rgt-neg-in71.5%
Simplified71.5%
if 1.5000000000000001e-186 < x < 4.3999999999999999e-183Initial program 50.0%
associate-+l-50.0%
Simplified50.0%
Taylor expanded in y4 around inf 100.0%
Taylor expanded in t around inf 100.0%
if 4.3999999999999999e-183 < x < 1.14999999999999994e-157Initial program 16.7%
+-commutative16.7%
fma-def16.7%
*-commutative16.7%
*-commutative16.7%
Simplified16.7%
Taylor expanded in y0 around inf 33.6%
mul-1-neg33.6%
Simplified33.6%
Taylor expanded in c around inf 50.7%
*-commutative50.7%
*-commutative50.7%
associate-*l*50.7%
*-commutative50.7%
Simplified50.7%
if 1.14999999999999994e-157 < x < 4.4e-32Initial program 33.3%
+-commutative33.3%
fma-def33.3%
*-commutative33.3%
*-commutative33.3%
Simplified38.9%
Taylor expanded in y0 around inf 50.7%
mul-1-neg50.7%
Simplified50.7%
Taylor expanded in y3 around inf 67.1%
*-commutative67.1%
cancel-sign-sub-inv67.1%
metadata-eval67.1%
*-lft-identity67.1%
+-commutative67.1%
mul-1-neg67.1%
unsub-neg67.1%
*-commutative67.1%
Simplified67.1%
if 4.4e-32 < x < 3.0999999999999998e30 or 4.3000000000000001e99 < x Initial program 19.3%
+-commutative19.3%
fma-def19.3%
*-commutative19.3%
*-commutative19.3%
Simplified25.0%
Taylor expanded in j around inf 46.8%
Taylor expanded in x around inf 58.2%
if 3.0999999999999998e30 < x < 1.24999999999999993e48Initial program 2.6%
associate-+l-2.6%
Simplified2.6%
Taylor expanded in y3 around -inf 50.0%
Taylor expanded in y around inf 83.6%
Final simplification57.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* c (- (* x y2) (* z y3))))
(t_2
(*
j
(+
(+ (* y3 (- (* y0 y5) (* y1 y4))) (* t (- (* b y4) (* i y5))))
(* x (- (* i y1) (* b y0)))))))
(if (<= z -4e+113)
(*
z
(+
(* y3 (- (* a y1) (* c y0)))
(+ (* k (- (* b y0) (* i y1))) (* t (- (* c i) (* a b))))))
(if (<= z -5.3e-73)
t_2
(if (<= z -8.4e-224)
(*
a
(+
(* b (- (* x y) (* z t)))
(+ (* y1 (- (* z y3) (* x y2))) (* y5 (- (* t y2) (* y y3))))))
(if (<= z 2e-179)
t_2
(if (<= z 1e-133)
(*
y4
(+
(+ (* b (- (* t j) (* y k))) (* y1 (- (* k y2) (* j y3))))
(* c (- (* y y3) (* t y2)))))
(if (<= z 3.6e-90)
(* (* x y0) (- (* c y2) (* b j)))
(if (<= z 1.45e-74)
(* y0 t_1)
(if (<= z 4.9e+41)
t_2
(if (<= z 1.4e+194)
(*
y0
(+
t_1
(+
(* y5 (- (* j y3) (* k y2)))
(* b (- (* z k) (* x j))))))
(* k (* i (- (* y y5) (* z y1)))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = c * ((x * y2) - (z * y3));
double t_2 = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * ((i * y1) - (b * y0))));
double tmp;
if (z <= -4e+113) {
tmp = z * ((y3 * ((a * y1) - (c * y0))) + ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b)))));
} else if (z <= -5.3e-73) {
tmp = t_2;
} else if (z <= -8.4e-224) {
tmp = a * ((b * ((x * y) - (z * t))) + ((y1 * ((z * y3) - (x * y2))) + (y5 * ((t * y2) - (y * y3)))));
} else if (z <= 2e-179) {
tmp = t_2;
} else if (z <= 1e-133) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (z <= 3.6e-90) {
tmp = (x * y0) * ((c * y2) - (b * j));
} else if (z <= 1.45e-74) {
tmp = y0 * t_1;
} else if (z <= 4.9e+41) {
tmp = t_2;
} else if (z <= 1.4e+194) {
tmp = y0 * (t_1 + ((y5 * ((j * y3) - (k * y2))) + (b * ((z * k) - (x * j)))));
} else {
tmp = k * (i * ((y * y5) - (z * y1)));
}
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 * y2) - (z * y3))
t_2 = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * ((i * y1) - (b * y0))))
if (z <= (-4d+113)) then
tmp = z * ((y3 * ((a * y1) - (c * y0))) + ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b)))))
else if (z <= (-5.3d-73)) then
tmp = t_2
else if (z <= (-8.4d-224)) then
tmp = a * ((b * ((x * y) - (z * t))) + ((y1 * ((z * y3) - (x * y2))) + (y5 * ((t * y2) - (y * y3)))))
else if (z <= 2d-179) then
tmp = t_2
else if (z <= 1d-133) then
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
else if (z <= 3.6d-90) then
tmp = (x * y0) * ((c * y2) - (b * j))
else if (z <= 1.45d-74) then
tmp = y0 * t_1
else if (z <= 4.9d+41) then
tmp = t_2
else if (z <= 1.4d+194) then
tmp = y0 * (t_1 + ((y5 * ((j * y3) - (k * y2))) + (b * ((z * k) - (x * j)))))
else
tmp = k * (i * ((y * y5) - (z * y1)))
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 * y2) - (z * y3));
double t_2 = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * ((i * y1) - (b * y0))));
double tmp;
if (z <= -4e+113) {
tmp = z * ((y3 * ((a * y1) - (c * y0))) + ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b)))));
} else if (z <= -5.3e-73) {
tmp = t_2;
} else if (z <= -8.4e-224) {
tmp = a * ((b * ((x * y) - (z * t))) + ((y1 * ((z * y3) - (x * y2))) + (y5 * ((t * y2) - (y * y3)))));
} else if (z <= 2e-179) {
tmp = t_2;
} else if (z <= 1e-133) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (z <= 3.6e-90) {
tmp = (x * y0) * ((c * y2) - (b * j));
} else if (z <= 1.45e-74) {
tmp = y0 * t_1;
} else if (z <= 4.9e+41) {
tmp = t_2;
} else if (z <= 1.4e+194) {
tmp = y0 * (t_1 + ((y5 * ((j * y3) - (k * y2))) + (b * ((z * k) - (x * j)))));
} else {
tmp = k * (i * ((y * y5) - (z * y1)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = c * ((x * y2) - (z * y3)) t_2 = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * ((i * y1) - (b * y0)))) tmp = 0 if z <= -4e+113: tmp = z * ((y3 * ((a * y1) - (c * y0))) + ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b))))) elif z <= -5.3e-73: tmp = t_2 elif z <= -8.4e-224: tmp = a * ((b * ((x * y) - (z * t))) + ((y1 * ((z * y3) - (x * y2))) + (y5 * ((t * y2) - (y * y3))))) elif z <= 2e-179: tmp = t_2 elif z <= 1e-133: tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))) elif z <= 3.6e-90: tmp = (x * y0) * ((c * y2) - (b * j)) elif z <= 1.45e-74: tmp = y0 * t_1 elif z <= 4.9e+41: tmp = t_2 elif z <= 1.4e+194: tmp = y0 * (t_1 + ((y5 * ((j * y3) - (k * y2))) + (b * ((z * k) - (x * j))))) else: tmp = k * (i * ((y * y5) - (z * y1))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(c * Float64(Float64(x * y2) - Float64(z * y3))) t_2 = Float64(j * Float64(Float64(Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4))) + Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))) + Float64(x * Float64(Float64(i * y1) - Float64(b * y0))))) tmp = 0.0 if (z <= -4e+113) tmp = Float64(z * Float64(Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0))) + Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(t * Float64(Float64(c * i) - Float64(a * b)))))); elseif (z <= -5.3e-73) tmp = t_2; elseif (z <= -8.4e-224) tmp = Float64(a * Float64(Float64(b * Float64(Float64(x * y) - Float64(z * t))) + Float64(Float64(y1 * Float64(Float64(z * y3) - Float64(x * y2))) + Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))))); elseif (z <= 2e-179) tmp = t_2; elseif (z <= 1e-133) tmp = Float64(y4 * Float64(Float64(Float64(b * Float64(Float64(t * j) - Float64(y * k))) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))); elseif (z <= 3.6e-90) tmp = Float64(Float64(x * y0) * Float64(Float64(c * y2) - Float64(b * j))); elseif (z <= 1.45e-74) tmp = Float64(y0 * t_1); elseif (z <= 4.9e+41) tmp = t_2; elseif (z <= 1.4e+194) tmp = Float64(y0 * Float64(t_1 + Float64(Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(b * Float64(Float64(z * k) - Float64(x * j)))))); else tmp = Float64(k * Float64(i * Float64(Float64(y * y5) - Float64(z * y1)))); 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 * y2) - (z * y3)); t_2 = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * ((i * y1) - (b * y0)))); tmp = 0.0; if (z <= -4e+113) tmp = z * ((y3 * ((a * y1) - (c * y0))) + ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b))))); elseif (z <= -5.3e-73) tmp = t_2; elseif (z <= -8.4e-224) tmp = a * ((b * ((x * y) - (z * t))) + ((y1 * ((z * y3) - (x * y2))) + (y5 * ((t * y2) - (y * y3))))); elseif (z <= 2e-179) tmp = t_2; elseif (z <= 1e-133) tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))); elseif (z <= 3.6e-90) tmp = (x * y0) * ((c * y2) - (b * j)); elseif (z <= 1.45e-74) tmp = y0 * t_1; elseif (z <= 4.9e+41) tmp = t_2; elseif (z <= 1.4e+194) tmp = y0 * (t_1 + ((y5 * ((j * y3) - (k * y2))) + (b * ((z * k) - (x * j))))); else tmp = k * (i * ((y * y5) - (z * y1))); 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[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(j * N[(N[(N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -4e+113], N[(z * N[(N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -5.3e-73], t$95$2, If[LessEqual[z, -8.4e-224], N[(a * N[(N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y1 * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2e-179], t$95$2, If[LessEqual[z, 1e-133], N[(y4 * N[(N[(N[(b * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.6e-90], N[(N[(x * y0), $MachinePrecision] * N[(N[(c * y2), $MachinePrecision] - N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.45e-74], N[(y0 * t$95$1), $MachinePrecision], If[LessEqual[z, 4.9e+41], t$95$2, If[LessEqual[z, 1.4e+194], N[(y0 * N[(t$95$1 + N[(N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(k * N[(i * N[(N[(y * y5), $MachinePrecision] - N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(x \cdot y2 - z \cdot y3\right)\\
t_2 := j \cdot \left(\left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{if}\;z \leq -4 \cdot 10^{+113}:\\
\;\;\;\;z \cdot \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) + \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\right)\\
\mathbf{elif}\;z \leq -5.3 \cdot 10^{-73}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;z \leq -8.4 \cdot 10^{-224}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) + \left(y1 \cdot \left(z \cdot y3 - x \cdot y2\right) + y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\\
\mathbf{elif}\;z \leq 2 \cdot 10^{-179}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;z \leq 10^{-133}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot \left(t \cdot j - y \cdot k\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;z \leq 3.6 \cdot 10^{-90}:\\
\;\;\;\;\left(x \cdot y0\right) \cdot \left(c \cdot y2 - b \cdot j\right)\\
\mathbf{elif}\;z \leq 1.45 \cdot 10^{-74}:\\
\;\;\;\;y0 \cdot t_1\\
\mathbf{elif}\;z \leq 4.9 \cdot 10^{+41}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;z \leq 1.4 \cdot 10^{+194}:\\
\;\;\;\;y0 \cdot \left(t_1 + \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\
\end{array}
\end{array}
if z < -4e113Initial program 6.4%
associate-+l-6.4%
Simplified6.4%
Taylor expanded in z around -inf 64.0%
mul-1-neg64.0%
associate--l+64.0%
Simplified64.0%
if -4e113 < z < -5.29999999999999972e-73 or -8.40000000000000025e-224 < z < 2e-179 or 1.45e-74 < z < 4.8999999999999999e41Initial program 39.6%
+-commutative39.6%
fma-def39.6%
*-commutative39.6%
*-commutative39.6%
Simplified40.5%
Taylor expanded in j around inf 62.1%
if -5.29999999999999972e-73 < z < -8.40000000000000025e-224Initial program 25.0%
associate-+l-25.0%
Simplified25.0%
Taylor expanded in a around inf 59.0%
associate--l+59.0%
mul-1-neg59.0%
mul-1-neg59.0%
Simplified59.0%
if 2e-179 < z < 1.0000000000000001e-133Initial program 45.5%
associate-+l-45.5%
Simplified45.5%
Taylor expanded in y4 around inf 64.7%
if 1.0000000000000001e-133 < z < 3.59999999999999981e-90Initial program 15.0%
+-commutative15.0%
fma-def15.0%
*-commutative15.0%
*-commutative15.0%
Simplified15.0%
Taylor expanded in y0 around inf 42.6%
mul-1-neg42.6%
Simplified42.6%
Taylor expanded in x around inf 58.0%
*-commutative58.0%
fma-def58.0%
*-commutative58.0%
fma-def58.0%
associate-*r*58.0%
+-commutative58.0%
mul-1-neg58.0%
*-commutative58.0%
unsub-neg58.0%
*-commutative58.0%
*-commutative58.0%
Simplified58.0%
if 3.59999999999999981e-90 < z < 1.45e-74Initial program 2.6%
+-commutative2.6%
fma-def2.6%
*-commutative2.6%
*-commutative2.6%
Simplified2.6%
Taylor expanded in y0 around inf 53.7%
mul-1-neg53.7%
Simplified53.7%
Taylor expanded in c around inf 68.5%
*-commutative68.5%
*-commutative68.5%
associate-*l*70.4%
*-commutative70.4%
Simplified70.4%
if 4.8999999999999999e41 < z < 1.40000000000000005e194Initial program 29.0%
+-commutative29.0%
fma-def32.3%
*-commutative32.3%
*-commutative32.3%
Simplified38.7%
Taylor expanded in y0 around inf 64.7%
mul-1-neg64.7%
Simplified64.7%
if 1.40000000000000005e194 < z Initial program 21.4%
+-commutative21.4%
fma-def24.9%
*-commutative24.9%
*-commutative24.9%
Simplified24.9%
Taylor expanded in k around inf 43.2%
Taylor expanded in i around inf 46.9%
mul-1-neg46.9%
sub-neg46.9%
*-commutative46.9%
Simplified46.9%
Final simplification60.7%
(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 (* j (* x (- (* i y1) (* b y0)))))
(t_3 (- (* c y4) (* a y5))))
(if (<= x -1.95e+118)
(* (* x i) (- (* j y1) (* y c)))
(if (<= x -1.8e+45)
(*
y2
(+
(+ (* x (- (* c y0) (* a y1))) (* k (- (* y1 y4) (* y0 y5))))
(* t (- (* a y5) (* c y4)))))
(if (<= x -5.7e-211)
(*
y3
(+
(* y t_3)
(+ (* j (- (* y0 y5) (* y1 y4))) (* z (- (* a y1) (* c y0))))))
(if (<= x 3.4e-256)
(*
y1
(+
(* a (- (* z y3) (* x y2)))
(+ (* i (- (* x j) (* z k))) (* y4 (- (* k y2) (* j y3))))))
(if (<= x 1.85e-31)
(*
c
(+
(* i (- (* z t) (* x y)))
(+ (* y0 t_1) (* y4 (- (* y y3) (* t y2))))))
(if (<= x 2.6e+34)
t_2
(if (<= x 4.2e+97)
(*
a
(+
(* y5 (- (* t y2) (* y y3)))
(- (* b (- (* x y) (* z t))) (* y1 (* x y2)))))
(if (<= x 5.2e+154)
(*
y0
(+
(* c t_1)
(+
(* y5 (- (* j y3) (* k y2)))
(* b (- (* z k) (* x j))))))
(if (<= x 2.7e+164)
(*
t
(+
(* z (- (* c i) (* a b)))
(- (* j (- (* b y4) (* i y5))) (* y2 t_3))))
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 = (x * y2) - (z * y3);
double t_2 = j * (x * ((i * y1) - (b * y0)));
double t_3 = (c * y4) - (a * y5);
double tmp;
if (x <= -1.95e+118) {
tmp = (x * i) * ((j * y1) - (y * c));
} else if (x <= -1.8e+45) {
tmp = y2 * (((x * ((c * y0) - (a * y1))) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4))));
} else if (x <= -5.7e-211) {
tmp = y3 * ((y * t_3) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0)))));
} else if (x <= 3.4e-256) {
tmp = y1 * ((a * ((z * y3) - (x * y2))) + ((i * ((x * j) - (z * k))) + (y4 * ((k * y2) - (j * y3)))));
} else if (x <= 1.85e-31) {
tmp = c * ((i * ((z * t) - (x * y))) + ((y0 * t_1) + (y4 * ((y * y3) - (t * y2)))));
} else if (x <= 2.6e+34) {
tmp = t_2;
} else if (x <= 4.2e+97) {
tmp = a * ((y5 * ((t * y2) - (y * y3))) + ((b * ((x * y) - (z * t))) - (y1 * (x * y2))));
} else if (x <= 5.2e+154) {
tmp = y0 * ((c * t_1) + ((y5 * ((j * y3) - (k * y2))) + (b * ((z * k) - (x * j)))));
} else if (x <= 2.7e+164) {
tmp = t * ((z * ((c * i) - (a * b))) + ((j * ((b * y4) - (i * y5))) - (y2 * t_3)));
} 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) :: t_3
real(8) :: tmp
t_1 = (x * y2) - (z * y3)
t_2 = j * (x * ((i * y1) - (b * y0)))
t_3 = (c * y4) - (a * y5)
if (x <= (-1.95d+118)) then
tmp = (x * i) * ((j * y1) - (y * c))
else if (x <= (-1.8d+45)) then
tmp = y2 * (((x * ((c * y0) - (a * y1))) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4))))
else if (x <= (-5.7d-211)) then
tmp = y3 * ((y * t_3) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0)))))
else if (x <= 3.4d-256) then
tmp = y1 * ((a * ((z * y3) - (x * y2))) + ((i * ((x * j) - (z * k))) + (y4 * ((k * y2) - (j * y3)))))
else if (x <= 1.85d-31) then
tmp = c * ((i * ((z * t) - (x * y))) + ((y0 * t_1) + (y4 * ((y * y3) - (t * y2)))))
else if (x <= 2.6d+34) then
tmp = t_2
else if (x <= 4.2d+97) then
tmp = a * ((y5 * ((t * y2) - (y * y3))) + ((b * ((x * y) - (z * t))) - (y1 * (x * y2))))
else if (x <= 5.2d+154) then
tmp = y0 * ((c * t_1) + ((y5 * ((j * y3) - (k * y2))) + (b * ((z * k) - (x * j)))))
else if (x <= 2.7d+164) then
tmp = t * ((z * ((c * i) - (a * b))) + ((j * ((b * y4) - (i * y5))) - (y2 * t_3)))
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 = (x * y2) - (z * y3);
double t_2 = j * (x * ((i * y1) - (b * y0)));
double t_3 = (c * y4) - (a * y5);
double tmp;
if (x <= -1.95e+118) {
tmp = (x * i) * ((j * y1) - (y * c));
} else if (x <= -1.8e+45) {
tmp = y2 * (((x * ((c * y0) - (a * y1))) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4))));
} else if (x <= -5.7e-211) {
tmp = y3 * ((y * t_3) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0)))));
} else if (x <= 3.4e-256) {
tmp = y1 * ((a * ((z * y3) - (x * y2))) + ((i * ((x * j) - (z * k))) + (y4 * ((k * y2) - (j * y3)))));
} else if (x <= 1.85e-31) {
tmp = c * ((i * ((z * t) - (x * y))) + ((y0 * t_1) + (y4 * ((y * y3) - (t * y2)))));
} else if (x <= 2.6e+34) {
tmp = t_2;
} else if (x <= 4.2e+97) {
tmp = a * ((y5 * ((t * y2) - (y * y3))) + ((b * ((x * y) - (z * t))) - (y1 * (x * y2))));
} else if (x <= 5.2e+154) {
tmp = y0 * ((c * t_1) + ((y5 * ((j * y3) - (k * y2))) + (b * ((z * k) - (x * j)))));
} else if (x <= 2.7e+164) {
tmp = t * ((z * ((c * i) - (a * b))) + ((j * ((b * y4) - (i * y5))) - (y2 * t_3)));
} 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 = (x * y2) - (z * y3) t_2 = j * (x * ((i * y1) - (b * y0))) t_3 = (c * y4) - (a * y5) tmp = 0 if x <= -1.95e+118: tmp = (x * i) * ((j * y1) - (y * c)) elif x <= -1.8e+45: tmp = y2 * (((x * ((c * y0) - (a * y1))) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4)))) elif x <= -5.7e-211: tmp = y3 * ((y * t_3) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0))))) elif x <= 3.4e-256: tmp = y1 * ((a * ((z * y3) - (x * y2))) + ((i * ((x * j) - (z * k))) + (y4 * ((k * y2) - (j * y3))))) elif x <= 1.85e-31: tmp = c * ((i * ((z * t) - (x * y))) + ((y0 * t_1) + (y4 * ((y * y3) - (t * y2))))) elif x <= 2.6e+34: tmp = t_2 elif x <= 4.2e+97: tmp = a * ((y5 * ((t * y2) - (y * y3))) + ((b * ((x * y) - (z * t))) - (y1 * (x * y2)))) elif x <= 5.2e+154: tmp = y0 * ((c * t_1) + ((y5 * ((j * y3) - (k * y2))) + (b * ((z * k) - (x * j))))) elif x <= 2.7e+164: tmp = t * ((z * ((c * i) - (a * b))) + ((j * ((b * y4) - (i * y5))) - (y2 * t_3))) 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(Float64(x * y2) - Float64(z * y3)) t_2 = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))) t_3 = Float64(Float64(c * y4) - Float64(a * y5)) tmp = 0.0 if (x <= -1.95e+118) tmp = Float64(Float64(x * i) * Float64(Float64(j * y1) - Float64(y * c))); elseif (x <= -1.8e+45) tmp = Float64(y2 * Float64(Float64(Float64(x * Float64(Float64(c * y0) - Float64(a * y1))) + Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (x <= -5.7e-211) tmp = Float64(y3 * Float64(Float64(y * t_3) + Float64(Float64(j * Float64(Float64(y0 * y5) - Float64(y1 * y4))) + Float64(z * Float64(Float64(a * y1) - Float64(c * y0)))))); elseif (x <= 3.4e-256) tmp = Float64(y1 * Float64(Float64(a * Float64(Float64(z * y3) - Float64(x * y2))) + Float64(Float64(i * Float64(Float64(x * j) - Float64(z * k))) + Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3)))))); elseif (x <= 1.85e-31) tmp = Float64(c * Float64(Float64(i * Float64(Float64(z * t) - Float64(x * y))) + Float64(Float64(y0 * t_1) + Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))))); elseif (x <= 2.6e+34) tmp = t_2; elseif (x <= 4.2e+97) tmp = Float64(a * Float64(Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(Float64(b * Float64(Float64(x * y) - Float64(z * t))) - Float64(y1 * Float64(x * y2))))); elseif (x <= 5.2e+154) tmp = Float64(y0 * Float64(Float64(c * t_1) + Float64(Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(b * Float64(Float64(z * k) - Float64(x * j)))))); elseif (x <= 2.7e+164) tmp = Float64(t * Float64(Float64(z * Float64(Float64(c * i) - Float64(a * b))) + Float64(Float64(j * Float64(Float64(b * y4) - Float64(i * y5))) - Float64(y2 * t_3)))); 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 = (x * y2) - (z * y3); t_2 = j * (x * ((i * y1) - (b * y0))); t_3 = (c * y4) - (a * y5); tmp = 0.0; if (x <= -1.95e+118) tmp = (x * i) * ((j * y1) - (y * c)); elseif (x <= -1.8e+45) tmp = y2 * (((x * ((c * y0) - (a * y1))) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4)))); elseif (x <= -5.7e-211) tmp = y3 * ((y * t_3) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0))))); elseif (x <= 3.4e-256) tmp = y1 * ((a * ((z * y3) - (x * y2))) + ((i * ((x * j) - (z * k))) + (y4 * ((k * y2) - (j * y3))))); elseif (x <= 1.85e-31) tmp = c * ((i * ((z * t) - (x * y))) + ((y0 * t_1) + (y4 * ((y * y3) - (t * y2))))); elseif (x <= 2.6e+34) tmp = t_2; elseif (x <= 4.2e+97) tmp = a * ((y5 * ((t * y2) - (y * y3))) + ((b * ((x * y) - (z * t))) - (y1 * (x * y2)))); elseif (x <= 5.2e+154) tmp = y0 * ((c * t_1) + ((y5 * ((j * y3) - (k * y2))) + (b * ((z * k) - (x * j))))); elseif (x <= 2.7e+164) tmp = t * ((z * ((c * i) - (a * b))) + ((j * ((b * y4) - (i * y5))) - (y2 * t_3))); 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[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -1.95e+118], N[(N[(x * i), $MachinePrecision] * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -1.8e+45], N[(y2 * N[(N[(N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -5.7e-211], N[(y3 * N[(N[(y * t$95$3), $MachinePrecision] + N[(N[(j * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 3.4e-256], N[(y1 * N[(N[(a * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.85e-31], N[(c * N[(N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y0 * t$95$1), $MachinePrecision] + N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.6e+34], t$95$2, If[LessEqual[x, 4.2e+97], N[(a * N[(N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y1 * N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 5.2e+154], N[(y0 * N[(N[(c * t$95$1), $MachinePrecision] + N[(N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.7e+164], N[(t * N[(N[(z * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y2 * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot y2 - z \cdot y3\\
t_2 := j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
t_3 := c \cdot y4 - a \cdot y5\\
\mathbf{if}\;x \leq -1.95 \cdot 10^{+118}:\\
\;\;\;\;\left(x \cdot i\right) \cdot \left(j \cdot y1 - y \cdot c\right)\\
\mathbf{elif}\;x \leq -1.8 \cdot 10^{+45}:\\
\;\;\;\;y2 \cdot \left(\left(x \cdot \left(c \cdot y0 - a \cdot y1\right) + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;x \leq -5.7 \cdot 10^{-211}:\\
\;\;\;\;y3 \cdot \left(y \cdot t_3 + \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) + z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\
\mathbf{elif}\;x \leq 3.4 \cdot 10^{-256}:\\
\;\;\;\;y1 \cdot \left(a \cdot \left(z \cdot y3 - x \cdot y2\right) + \left(i \cdot \left(x \cdot j - z \cdot k\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right)\\
\mathbf{elif}\;x \leq 1.85 \cdot 10^{-31}:\\
\;\;\;\;c \cdot \left(i \cdot \left(z \cdot t - x \cdot y\right) + \left(y0 \cdot t_1 + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\right)\\
\mathbf{elif}\;x \leq 2.6 \cdot 10^{+34}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;x \leq 4.2 \cdot 10^{+97}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(b \cdot \left(x \cdot y - z \cdot t\right) - y1 \cdot \left(x \cdot y2\right)\right)\right)\\
\mathbf{elif}\;x \leq 5.2 \cdot 10^{+154}:\\
\;\;\;\;y0 \cdot \left(c \cdot t_1 + \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\right)\\
\mathbf{elif}\;x \leq 2.7 \cdot 10^{+164}:\\
\;\;\;\;t \cdot \left(z \cdot \left(c \cdot i - a \cdot b\right) + \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) - y2 \cdot t_3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_2\\
\end{array}
\end{array}
if x < -1.95e118Initial program 21.4%
associate-+l-21.4%
Simplified21.4%
Taylor expanded in i around -inf 38.3%
mul-1-neg38.3%
associate--l+38.3%
Simplified38.3%
Taylor expanded in x around inf 53.1%
if -1.95e118 < x < -1.8e45Initial program 41.5%
associate-+l-41.5%
Simplified41.5%
Taylor expanded in y2 around inf 59.7%
if -1.8e45 < x < -5.7e-211Initial program 24.1%
associate-+l-24.1%
Simplified24.1%
Taylor expanded in y3 around -inf 52.6%
if -5.7e-211 < x < 3.4000000000000001e-256Initial program 50.2%
+-commutative50.2%
fma-def50.2%
Simplified52.9%
Taylor expanded in y1 around inf 67.5%
mul-1-neg67.5%
mul-1-neg67.5%
sub-neg67.5%
Simplified67.5%
if 3.4000000000000001e-256 < x < 1.8499999999999999e-31Initial program 34.8%
associate-+l-34.8%
Simplified34.8%
Taylor expanded in c around inf 60.7%
associate--l+60.7%
mul-1-neg60.7%
Simplified60.7%
if 1.8499999999999999e-31 < x < 2.59999999999999997e34 or 2.70000000000000006e164 < x Initial program 22.2%
+-commutative22.2%
fma-def22.2%
*-commutative22.2%
*-commutative22.2%
Simplified27.0%
Taylor expanded in j around inf 52.8%
Taylor expanded in x around inf 60.4%
if 2.59999999999999997e34 < x < 4.20000000000000023e97Initial program 22.5%
+-commutative22.5%
fma-def22.5%
*-commutative22.5%
*-commutative22.5%
Simplified36.8%
Taylor expanded in x around inf 51.1%
mul-1-neg51.1%
Simplified51.1%
Taylor expanded in a around inf 58.6%
if 4.20000000000000023e97 < x < 5.19999999999999978e154Initial program 10.6%
+-commutative10.6%
fma-def10.6%
*-commutative10.6%
*-commutative10.6%
Simplified10.6%
Taylor expanded in y0 around inf 72.8%
mul-1-neg72.8%
Simplified72.8%
if 5.19999999999999978e154 < x < 2.70000000000000006e164Initial program 0.0%
+-commutative0.0%
fma-def0.0%
Simplified33.3%
Taylor expanded in t around inf 100.0%
mul-1-neg100.0%
mul-1-neg100.0%
sub-neg100.0%
Simplified100.0%
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 (- (* t j) (* y k)))
(t_2 (* y1 (- (* k y2) (* j y3))))
(t_3 (* y4 (+ (+ (* b t_1) t_2) (* c (- (* y y3) (* t y2)))))))
(if (<= y1 -1.05e+175)
(* j (* y1 (- (* x i) (* y3 y4))))
(if (<= y1 -2.7e+110)
(* k (* i (- (* y y5) (* z y1))))
(if (<= y1 -1.54e+57)
(*
y2
(+
(+ (* x (- (* c y0) (* a y1))) (* k (- (* y1 y4) (* y0 y5))))
(* t (- (* a y5) (* c y4)))))
(if (<= y1 -2.05e-14)
t_3
(if (<= y1 -1.7e-45)
(*
i
(+
(* c (- (* z t) (* x y)))
(+ (* y1 (- (* x j) (* z k))) (* y5 (- (* y k) (* t j))))))
(if (<= y1 -2.25e-294)
(*
b
(+
(+ (* a (- (* x y) (* z t))) (* y4 t_1))
(* y0 (- (* z k) (* x j)))))
(if (<= y1 2.5e-40)
t_3
(if (<= y1 1.15e+146)
(*
z
(+
(* y3 (- (* a y1) (* c y0)))
(+
(* k (- (* b y0) (* i y1)))
(* t (- (* c i) (* a b))))))
(* y4 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 = (t * j) - (y * k);
double t_2 = y1 * ((k * y2) - (j * y3));
double t_3 = y4 * (((b * t_1) + t_2) + (c * ((y * y3) - (t * y2))));
double tmp;
if (y1 <= -1.05e+175) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} else if (y1 <= -2.7e+110) {
tmp = k * (i * ((y * y5) - (z * y1)));
} else if (y1 <= -1.54e+57) {
tmp = y2 * (((x * ((c * y0) - (a * y1))) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4))));
} else if (y1 <= -2.05e-14) {
tmp = t_3;
} else if (y1 <= -1.7e-45) {
tmp = i * ((c * ((z * t) - (x * y))) + ((y1 * ((x * j) - (z * k))) + (y5 * ((y * k) - (t * j)))));
} else if (y1 <= -2.25e-294) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_1)) + (y0 * ((z * k) - (x * j))));
} else if (y1 <= 2.5e-40) {
tmp = t_3;
} else if (y1 <= 1.15e+146) {
tmp = z * ((y3 * ((a * y1) - (c * y0))) + ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b)))));
} else {
tmp = y4 * 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) :: t_3
real(8) :: tmp
t_1 = (t * j) - (y * k)
t_2 = y1 * ((k * y2) - (j * y3))
t_3 = y4 * (((b * t_1) + t_2) + (c * ((y * y3) - (t * y2))))
if (y1 <= (-1.05d+175)) then
tmp = j * (y1 * ((x * i) - (y3 * y4)))
else if (y1 <= (-2.7d+110)) then
tmp = k * (i * ((y * y5) - (z * y1)))
else if (y1 <= (-1.54d+57)) then
tmp = y2 * (((x * ((c * y0) - (a * y1))) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4))))
else if (y1 <= (-2.05d-14)) then
tmp = t_3
else if (y1 <= (-1.7d-45)) then
tmp = i * ((c * ((z * t) - (x * y))) + ((y1 * ((x * j) - (z * k))) + (y5 * ((y * k) - (t * j)))))
else if (y1 <= (-2.25d-294)) then
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_1)) + (y0 * ((z * k) - (x * j))))
else if (y1 <= 2.5d-40) then
tmp = t_3
else if (y1 <= 1.15d+146) then
tmp = z * ((y3 * ((a * y1) - (c * y0))) + ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b)))))
else
tmp = y4 * 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 = (t * j) - (y * k);
double t_2 = y1 * ((k * y2) - (j * y3));
double t_3 = y4 * (((b * t_1) + t_2) + (c * ((y * y3) - (t * y2))));
double tmp;
if (y1 <= -1.05e+175) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} else if (y1 <= -2.7e+110) {
tmp = k * (i * ((y * y5) - (z * y1)));
} else if (y1 <= -1.54e+57) {
tmp = y2 * (((x * ((c * y0) - (a * y1))) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4))));
} else if (y1 <= -2.05e-14) {
tmp = t_3;
} else if (y1 <= -1.7e-45) {
tmp = i * ((c * ((z * t) - (x * y))) + ((y1 * ((x * j) - (z * k))) + (y5 * ((y * k) - (t * j)))));
} else if (y1 <= -2.25e-294) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_1)) + (y0 * ((z * k) - (x * j))));
} else if (y1 <= 2.5e-40) {
tmp = t_3;
} else if (y1 <= 1.15e+146) {
tmp = z * ((y3 * ((a * y1) - (c * y0))) + ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b)))));
} else {
tmp = y4 * t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (t * j) - (y * k) t_2 = y1 * ((k * y2) - (j * y3)) t_3 = y4 * (((b * t_1) + t_2) + (c * ((y * y3) - (t * y2)))) tmp = 0 if y1 <= -1.05e+175: tmp = j * (y1 * ((x * i) - (y3 * y4))) elif y1 <= -2.7e+110: tmp = k * (i * ((y * y5) - (z * y1))) elif y1 <= -1.54e+57: tmp = y2 * (((x * ((c * y0) - (a * y1))) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4)))) elif y1 <= -2.05e-14: tmp = t_3 elif y1 <= -1.7e-45: tmp = i * ((c * ((z * t) - (x * y))) + ((y1 * ((x * j) - (z * k))) + (y5 * ((y * k) - (t * j))))) elif y1 <= -2.25e-294: tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_1)) + (y0 * ((z * k) - (x * j)))) elif y1 <= 2.5e-40: tmp = t_3 elif y1 <= 1.15e+146: tmp = z * ((y3 * ((a * y1) - (c * y0))) + ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b))))) else: tmp = y4 * 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(Float64(t * j) - Float64(y * k)) t_2 = Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3))) t_3 = Float64(y4 * Float64(Float64(Float64(b * t_1) + t_2) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))) tmp = 0.0 if (y1 <= -1.05e+175) tmp = Float64(j * Float64(y1 * Float64(Float64(x * i) - Float64(y3 * y4)))); elseif (y1 <= -2.7e+110) tmp = Float64(k * Float64(i * Float64(Float64(y * y5) - Float64(z * y1)))); elseif (y1 <= -1.54e+57) tmp = Float64(y2 * Float64(Float64(Float64(x * Float64(Float64(c * y0) - Float64(a * y1))) + Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (y1 <= -2.05e-14) tmp = t_3; elseif (y1 <= -1.7e-45) tmp = Float64(i * Float64(Float64(c * Float64(Float64(z * t) - Float64(x * y))) + Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) + Float64(y5 * Float64(Float64(y * k) - Float64(t * j)))))); elseif (y1 <= -2.25e-294) tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * t_1)) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))); elseif (y1 <= 2.5e-40) tmp = t_3; elseif (y1 <= 1.15e+146) tmp = Float64(z * Float64(Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0))) + Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(t * Float64(Float64(c * i) - Float64(a * b)))))); else tmp = Float64(y4 * 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 = (t * j) - (y * k); t_2 = y1 * ((k * y2) - (j * y3)); t_3 = y4 * (((b * t_1) + t_2) + (c * ((y * y3) - (t * y2)))); tmp = 0.0; if (y1 <= -1.05e+175) tmp = j * (y1 * ((x * i) - (y3 * y4))); elseif (y1 <= -2.7e+110) tmp = k * (i * ((y * y5) - (z * y1))); elseif (y1 <= -1.54e+57) tmp = y2 * (((x * ((c * y0) - (a * y1))) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4)))); elseif (y1 <= -2.05e-14) tmp = t_3; elseif (y1 <= -1.7e-45) tmp = i * ((c * ((z * t) - (x * y))) + ((y1 * ((x * j) - (z * k))) + (y5 * ((y * k) - (t * j))))); elseif (y1 <= -2.25e-294) tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_1)) + (y0 * ((z * k) - (x * j)))); elseif (y1 <= 2.5e-40) tmp = t_3; elseif (y1 <= 1.15e+146) tmp = z * ((y3 * ((a * y1) - (c * y0))) + ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b))))); else tmp = y4 * 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[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y4 * N[(N[(N[(b * t$95$1), $MachinePrecision] + t$95$2), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y1, -1.05e+175], N[(j * N[(y1 * N[(N[(x * i), $MachinePrecision] - N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -2.7e+110], N[(k * N[(i * N[(N[(y * y5), $MachinePrecision] - N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -1.54e+57], N[(y2 * N[(N[(N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -2.05e-14], t$95$3, If[LessEqual[y1, -1.7e-45], N[(i * N[(N[(c * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -2.25e-294], N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 2.5e-40], t$95$3, If[LessEqual[y1, 1.15e+146], N[(z * N[(N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y4 * t$95$2), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot j - y \cdot k\\
t_2 := y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\\
t_3 := y4 \cdot \left(\left(b \cdot t_1 + t_2\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{if}\;y1 \leq -1.05 \cdot 10^{+175}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(x \cdot i - y3 \cdot y4\right)\right)\\
\mathbf{elif}\;y1 \leq -2.7 \cdot 10^{+110}:\\
\;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\
\mathbf{elif}\;y1 \leq -1.54 \cdot 10^{+57}:\\
\;\;\;\;y2 \cdot \left(\left(x \cdot \left(c \cdot y0 - a \cdot y1\right) + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;y1 \leq -2.05 \cdot 10^{-14}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;y1 \leq -1.7 \cdot 10^{-45}:\\
\;\;\;\;i \cdot \left(c \cdot \left(z \cdot t - x \cdot y\right) + \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + y5 \cdot \left(y \cdot k - t \cdot j\right)\right)\right)\\
\mathbf{elif}\;y1 \leq -2.25 \cdot 10^{-294}:\\
\;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot t_1\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y1 \leq 2.5 \cdot 10^{-40}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;y1 \leq 1.15 \cdot 10^{+146}:\\
\;\;\;\;z \cdot \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) + \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y4 \cdot t_2\\
\end{array}
\end{array}
if y1 < -1.05e175Initial program 12.2%
+-commutative12.2%
fma-def12.2%
*-commutative12.2%
*-commutative12.2%
Simplified16.2%
Taylor expanded in j around inf 48.3%
Taylor expanded in y1 around -inf 57.3%
associate-*r*57.3%
neg-mul-157.3%
Simplified57.3%
if -1.05e175 < y1 < -2.7000000000000001e110Initial program 7.6%
+-commutative7.6%
fma-def7.6%
*-commutative7.6%
*-commutative7.6%
Simplified7.6%
Taylor expanded in k around inf 46.0%
Taylor expanded in i around inf 76.9%
mul-1-neg76.9%
sub-neg76.9%
*-commutative76.9%
Simplified76.9%
if -2.7000000000000001e110 < y1 < -1.54e57Initial program 33.3%
associate-+l-33.3%
Simplified33.3%
Taylor expanded in y2 around inf 73.9%
if -1.54e57 < y1 < -2.0500000000000001e-14 or -2.24999999999999991e-294 < y1 < 2.49999999999999982e-40Initial program 40.8%
associate-+l-40.8%
Simplified40.8%
Taylor expanded in y4 around inf 60.3%
if -2.0500000000000001e-14 < y1 < -1.70000000000000002e-45Initial program 51.0%
associate-+l-51.0%
Simplified51.0%
Taylor expanded in i around -inf 51.6%
mul-1-neg51.6%
associate--l+51.6%
Simplified51.6%
if -1.70000000000000002e-45 < y1 < -2.24999999999999991e-294Initial program 27.7%
associate-+l-27.7%
Simplified27.7%
Taylor expanded in b around inf 53.7%
if 2.49999999999999982e-40 < y1 < 1.15e146Initial program 19.1%
associate-+l-19.1%
Simplified19.1%
Taylor expanded in z around -inf 51.6%
mul-1-neg51.6%
associate--l+51.6%
Simplified51.6%
if 1.15e146 < y1 Initial program 29.2%
associate-+l-29.2%
Simplified29.2%
Taylor expanded in y4 around inf 50.1%
Taylor expanded in y1 around inf 67.3%
Final simplification59.0%
(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 (- (* c y0) (* a y1)))
(t_3 (- (* t j) (* y k)))
(t_4 (* y1 (- (* k y2) (* j y3))))
(t_5 (* y4 (+ (+ (* b t_3) t_4) (* c (- (* y y3) (* t y2)))))))
(if (<= y1 -4.9e+174)
(* j (* y1 (- (* x i) (* y3 y4))))
(if (<= y1 -9.2e+111)
(* k (* i (- (* y y5) (* z y1))))
(if (<= y1 -3.4e+56)
(*
y2
(+
(+ (* x t_2) (* k (- (* y1 y4) (* y0 y5))))
(* t (- (* a y5) (* c y4)))))
(if (<= y1 -1.5e-14)
t_5
(if (<= y1 -2.3e-46)
(* x (+ (+ (* y (- (* a b) (* c i))) (* y2 t_2)) (* j t_1)))
(if (<= y1 -2.75e-291)
(*
b
(+
(+ (* a (- (* x y) (* z t))) (* y4 t_3))
(* y0 (- (* z k) (* x j)))))
(if (<= y1 4.4e-45)
t_5
(if (<= y1 4e+84)
(* y0 (* c (- (* x y2) (* z y3))))
(if (<= y1 2.3e+105)
(* j (* x t_1))
(if (<= y1 2.05e+130)
(* y (* y3 (- (* c y4) (* a y5))))
(if (<= y1 1.65e+156)
(* j (* y0 (- (* y3 y5) (* x b))))
(* y4 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 = (i * y1) - (b * y0);
double t_2 = (c * y0) - (a * y1);
double t_3 = (t * j) - (y * k);
double t_4 = y1 * ((k * y2) - (j * y3));
double t_5 = y4 * (((b * t_3) + t_4) + (c * ((y * y3) - (t * y2))));
double tmp;
if (y1 <= -4.9e+174) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} else if (y1 <= -9.2e+111) {
tmp = k * (i * ((y * y5) - (z * y1)));
} else if (y1 <= -3.4e+56) {
tmp = y2 * (((x * t_2) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4))));
} else if (y1 <= -1.5e-14) {
tmp = t_5;
} else if (y1 <= -2.3e-46) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_2)) + (j * t_1));
} else if (y1 <= -2.75e-291) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_3)) + (y0 * ((z * k) - (x * j))));
} else if (y1 <= 4.4e-45) {
tmp = t_5;
} else if (y1 <= 4e+84) {
tmp = y0 * (c * ((x * y2) - (z * y3)));
} else if (y1 <= 2.3e+105) {
tmp = j * (x * t_1);
} else if (y1 <= 2.05e+130) {
tmp = y * (y3 * ((c * y4) - (a * y5)));
} else if (y1 <= 1.65e+156) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else {
tmp = y4 * 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) :: tmp
t_1 = (i * y1) - (b * y0)
t_2 = (c * y0) - (a * y1)
t_3 = (t * j) - (y * k)
t_4 = y1 * ((k * y2) - (j * y3))
t_5 = y4 * (((b * t_3) + t_4) + (c * ((y * y3) - (t * y2))))
if (y1 <= (-4.9d+174)) then
tmp = j * (y1 * ((x * i) - (y3 * y4)))
else if (y1 <= (-9.2d+111)) then
tmp = k * (i * ((y * y5) - (z * y1)))
else if (y1 <= (-3.4d+56)) then
tmp = y2 * (((x * t_2) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4))))
else if (y1 <= (-1.5d-14)) then
tmp = t_5
else if (y1 <= (-2.3d-46)) then
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_2)) + (j * t_1))
else if (y1 <= (-2.75d-291)) then
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_3)) + (y0 * ((z * k) - (x * j))))
else if (y1 <= 4.4d-45) then
tmp = t_5
else if (y1 <= 4d+84) then
tmp = y0 * (c * ((x * y2) - (z * y3)))
else if (y1 <= 2.3d+105) then
tmp = j * (x * t_1)
else if (y1 <= 2.05d+130) then
tmp = y * (y3 * ((c * y4) - (a * y5)))
else if (y1 <= 1.65d+156) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else
tmp = y4 * 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 = (i * y1) - (b * y0);
double t_2 = (c * y0) - (a * y1);
double t_3 = (t * j) - (y * k);
double t_4 = y1 * ((k * y2) - (j * y3));
double t_5 = y4 * (((b * t_3) + t_4) + (c * ((y * y3) - (t * y2))));
double tmp;
if (y1 <= -4.9e+174) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} else if (y1 <= -9.2e+111) {
tmp = k * (i * ((y * y5) - (z * y1)));
} else if (y1 <= -3.4e+56) {
tmp = y2 * (((x * t_2) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4))));
} else if (y1 <= -1.5e-14) {
tmp = t_5;
} else if (y1 <= -2.3e-46) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_2)) + (j * t_1));
} else if (y1 <= -2.75e-291) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_3)) + (y0 * ((z * k) - (x * j))));
} else if (y1 <= 4.4e-45) {
tmp = t_5;
} else if (y1 <= 4e+84) {
tmp = y0 * (c * ((x * y2) - (z * y3)));
} else if (y1 <= 2.3e+105) {
tmp = j * (x * t_1);
} else if (y1 <= 2.05e+130) {
tmp = y * (y3 * ((c * y4) - (a * y5)));
} else if (y1 <= 1.65e+156) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else {
tmp = y4 * t_4;
}
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 = (c * y0) - (a * y1) t_3 = (t * j) - (y * k) t_4 = y1 * ((k * y2) - (j * y3)) t_5 = y4 * (((b * t_3) + t_4) + (c * ((y * y3) - (t * y2)))) tmp = 0 if y1 <= -4.9e+174: tmp = j * (y1 * ((x * i) - (y3 * y4))) elif y1 <= -9.2e+111: tmp = k * (i * ((y * y5) - (z * y1))) elif y1 <= -3.4e+56: tmp = y2 * (((x * t_2) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4)))) elif y1 <= -1.5e-14: tmp = t_5 elif y1 <= -2.3e-46: tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_2)) + (j * t_1)) elif y1 <= -2.75e-291: tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_3)) + (y0 * ((z * k) - (x * j)))) elif y1 <= 4.4e-45: tmp = t_5 elif y1 <= 4e+84: tmp = y0 * (c * ((x * y2) - (z * y3))) elif y1 <= 2.3e+105: tmp = j * (x * t_1) elif y1 <= 2.05e+130: tmp = y * (y3 * ((c * y4) - (a * y5))) elif y1 <= 1.65e+156: tmp = j * (y0 * ((y3 * y5) - (x * b))) else: tmp = y4 * 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(i * y1) - Float64(b * y0)) t_2 = Float64(Float64(c * y0) - Float64(a * y1)) t_3 = Float64(Float64(t * j) - Float64(y * k)) t_4 = Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3))) t_5 = Float64(y4 * Float64(Float64(Float64(b * t_3) + t_4) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))) tmp = 0.0 if (y1 <= -4.9e+174) tmp = Float64(j * Float64(y1 * Float64(Float64(x * i) - Float64(y3 * y4)))); elseif (y1 <= -9.2e+111) tmp = Float64(k * Float64(i * Float64(Float64(y * y5) - Float64(z * y1)))); elseif (y1 <= -3.4e+56) tmp = Float64(y2 * Float64(Float64(Float64(x * t_2) + Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (y1 <= -1.5e-14) tmp = t_5; elseif (y1 <= -2.3e-46) tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * t_2)) + Float64(j * t_1))); elseif (y1 <= -2.75e-291) tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * t_3)) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))); elseif (y1 <= 4.4e-45) tmp = t_5; elseif (y1 <= 4e+84) tmp = Float64(y0 * Float64(c * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (y1 <= 2.3e+105) tmp = Float64(j * Float64(x * t_1)); elseif (y1 <= 2.05e+130) tmp = Float64(y * Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5)))); elseif (y1 <= 1.65e+156) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); else tmp = Float64(y4 * 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 = (i * y1) - (b * y0); t_2 = (c * y0) - (a * y1); t_3 = (t * j) - (y * k); t_4 = y1 * ((k * y2) - (j * y3)); t_5 = y4 * (((b * t_3) + t_4) + (c * ((y * y3) - (t * y2)))); tmp = 0.0; if (y1 <= -4.9e+174) tmp = j * (y1 * ((x * i) - (y3 * y4))); elseif (y1 <= -9.2e+111) tmp = k * (i * ((y * y5) - (z * y1))); elseif (y1 <= -3.4e+56) tmp = y2 * (((x * t_2) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4)))); elseif (y1 <= -1.5e-14) tmp = t_5; elseif (y1 <= -2.3e-46) tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_2)) + (j * t_1)); elseif (y1 <= -2.75e-291) tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_3)) + (y0 * ((z * k) - (x * j)))); elseif (y1 <= 4.4e-45) tmp = t_5; elseif (y1 <= 4e+84) tmp = y0 * (c * ((x * y2) - (z * y3))); elseif (y1 <= 2.3e+105) tmp = j * (x * t_1); elseif (y1 <= 2.05e+130) tmp = y * (y3 * ((c * y4) - (a * y5))); elseif (y1 <= 1.65e+156) tmp = j * (y0 * ((y3 * y5) - (x * b))); else tmp = y4 * 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[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(y4 * N[(N[(N[(b * t$95$3), $MachinePrecision] + t$95$4), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y1, -4.9e+174], N[(j * N[(y1 * N[(N[(x * i), $MachinePrecision] - N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -9.2e+111], N[(k * N[(i * N[(N[(y * y5), $MachinePrecision] - N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -3.4e+56], N[(y2 * N[(N[(N[(x * t$95$2), $MachinePrecision] + N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -1.5e-14], t$95$5, If[LessEqual[y1, -2.3e-46], N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$2), $MachinePrecision]), $MachinePrecision] + N[(j * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -2.75e-291], N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * t$95$3), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 4.4e-45], t$95$5, If[LessEqual[y1, 4e+84], N[(y0 * N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 2.3e+105], N[(j * N[(x * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 2.05e+130], N[(y * N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.65e+156], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y4 * t$95$4), $MachinePrecision]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot y1 - b \cdot y0\\
t_2 := c \cdot y0 - a \cdot y1\\
t_3 := t \cdot j - y \cdot k\\
t_4 := y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\\
t_5 := y4 \cdot \left(\left(b \cdot t_3 + t_4\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{if}\;y1 \leq -4.9 \cdot 10^{+174}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(x \cdot i - y3 \cdot y4\right)\right)\\
\mathbf{elif}\;y1 \leq -9.2 \cdot 10^{+111}:\\
\;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\
\mathbf{elif}\;y1 \leq -3.4 \cdot 10^{+56}:\\
\;\;\;\;y2 \cdot \left(\left(x \cdot t_2 + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;y1 \leq -1.5 \cdot 10^{-14}:\\
\;\;\;\;t_5\\
\mathbf{elif}\;y1 \leq -2.3 \cdot 10^{-46}:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot t_2\right) + j \cdot t_1\right)\\
\mathbf{elif}\;y1 \leq -2.75 \cdot 10^{-291}:\\
\;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot t_3\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y1 \leq 4.4 \cdot 10^{-45}:\\
\;\;\;\;t_5\\
\mathbf{elif}\;y1 \leq 4 \cdot 10^{+84}:\\
\;\;\;\;y0 \cdot \left(c \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;y1 \leq 2.3 \cdot 10^{+105}:\\
\;\;\;\;j \cdot \left(x \cdot t_1\right)\\
\mathbf{elif}\;y1 \leq 2.05 \cdot 10^{+130}:\\
\;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\
\mathbf{elif}\;y1 \leq 1.65 \cdot 10^{+156}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y4 \cdot t_4\\
\end{array}
\end{array}
if y1 < -4.8999999999999997e174Initial program 12.2%
+-commutative12.2%
fma-def12.2%
*-commutative12.2%
*-commutative12.2%
Simplified16.2%
Taylor expanded in j around inf 48.3%
Taylor expanded in y1 around -inf 57.3%
associate-*r*57.3%
neg-mul-157.3%
Simplified57.3%
if -4.8999999999999997e174 < y1 < -9.20000000000000008e111Initial program 7.6%
+-commutative7.6%
fma-def7.6%
*-commutative7.6%
*-commutative7.6%
Simplified7.6%
Taylor expanded in k around inf 46.0%
Taylor expanded in i around inf 76.9%
mul-1-neg76.9%
sub-neg76.9%
*-commutative76.9%
Simplified76.9%
if -9.20000000000000008e111 < y1 < -3.40000000000000001e56Initial program 33.3%
associate-+l-33.3%
Simplified33.3%
Taylor expanded in y2 around inf 73.9%
if -3.40000000000000001e56 < y1 < -1.4999999999999999e-14 or -2.7500000000000001e-291 < y1 < 4.39999999999999987e-45Initial program 40.0%
associate-+l-40.0%
Simplified40.0%
Taylor expanded in y4 around inf 61.1%
if -1.4999999999999999e-14 < y1 < -2.2999999999999999e-46Initial program 51.0%
associate-+l-51.0%
Simplified51.0%
Taylor expanded in x around inf 51.2%
if -2.2999999999999999e-46 < y1 < -2.7500000000000001e-291Initial program 27.7%
associate-+l-27.7%
Simplified27.7%
Taylor expanded in b around inf 53.7%
if 4.39999999999999987e-45 < y1 < 4.00000000000000023e84Initial program 17.2%
+-commutative17.2%
fma-def20.7%
*-commutative20.7%
*-commutative20.7%
Simplified20.7%
Taylor expanded in y0 around inf 38.7%
mul-1-neg38.7%
Simplified38.7%
Taylor expanded in c around inf 43.0%
*-commutative43.0%
*-commutative43.0%
associate-*l*42.8%
*-commutative42.8%
Simplified42.8%
if 4.00000000000000023e84 < y1 < 2.2999999999999998e105Initial program 50.0%
+-commutative50.0%
fma-def50.0%
*-commutative50.0%
*-commutative50.0%
Simplified50.0%
Taylor expanded in j around inf 83.3%
Taylor expanded in x around inf 100.0%
if 2.2999999999999998e105 < y1 < 2.04999999999999989e130Initial program 14.3%
associate-+l-14.3%
Simplified14.3%
Taylor expanded in y3 around -inf 72.5%
Taylor expanded in y around inf 72.4%
*-commutative72.4%
associate-*l*85.9%
Simplified85.9%
if 2.04999999999999989e130 < y1 < 1.6499999999999999e156Initial program 30.0%
+-commutative30.0%
fma-def30.0%
*-commutative30.0%
*-commutative30.0%
Simplified30.0%
Taylor expanded in j around inf 51.3%
Taylor expanded in y0 around inf 61.1%
*-commutative61.1%
Simplified61.1%
if 1.6499999999999999e156 < y1 Initial program 25.0%
associate-+l-25.0%
Simplified25.0%
Taylor expanded in y4 around inf 55.2%
Taylor expanded in y1 around inf 75.4%
Final simplification61.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* y y3) (* t y2)))
(t_2 (* y1 (- (* k y2) (* j y3))))
(t_3 (- (* t j) (* y k))))
(if (<= y1 -9.2e+173)
(* j (* y1 (- (* x i) (* y3 y4))))
(if (<= y1 -2.9e+113)
(* k (* i (- (* y y5) (* z y1))))
(if (<= y1 -2.6e+56)
(*
y2
(+
(+ (* x (- (* c y0) (* a y1))) (* k (- (* y1 y4) (* y0 y5))))
(* t (- (* a y5) (* c y4)))))
(if (<= y1 -3.4e-44)
(*
c
(+
(* i (- (* z t) (* x y)))
(+ (* y0 (- (* x y2) (* z y3))) (* y4 t_1))))
(if (<= y1 -5e-294)
(*
b
(+
(+ (* a (- (* x y) (* z t))) (* y4 t_3))
(* y0 (- (* z k) (* x j)))))
(if (<= y1 3.05e-40)
(* y4 (+ (+ (* b t_3) t_2) (* c t_1)))
(if (<= y1 1.8e+146)
(*
z
(+
(* y3 (- (* a y1) (* c y0)))
(+ (* k (- (* b y0) (* i y1))) (* t (- (* c i) (* a b))))))
(* y4 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 = (y * y3) - (t * y2);
double t_2 = y1 * ((k * y2) - (j * y3));
double t_3 = (t * j) - (y * k);
double tmp;
if (y1 <= -9.2e+173) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} else if (y1 <= -2.9e+113) {
tmp = k * (i * ((y * y5) - (z * y1)));
} else if (y1 <= -2.6e+56) {
tmp = y2 * (((x * ((c * y0) - (a * y1))) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4))));
} else if (y1 <= -3.4e-44) {
tmp = c * ((i * ((z * t) - (x * y))) + ((y0 * ((x * y2) - (z * y3))) + (y4 * t_1)));
} else if (y1 <= -5e-294) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_3)) + (y0 * ((z * k) - (x * j))));
} else if (y1 <= 3.05e-40) {
tmp = y4 * (((b * t_3) + t_2) + (c * t_1));
} else if (y1 <= 1.8e+146) {
tmp = z * ((y3 * ((a * y1) - (c * y0))) + ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b)))));
} else {
tmp = y4 * 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) :: t_3
real(8) :: tmp
t_1 = (y * y3) - (t * y2)
t_2 = y1 * ((k * y2) - (j * y3))
t_3 = (t * j) - (y * k)
if (y1 <= (-9.2d+173)) then
tmp = j * (y1 * ((x * i) - (y3 * y4)))
else if (y1 <= (-2.9d+113)) then
tmp = k * (i * ((y * y5) - (z * y1)))
else if (y1 <= (-2.6d+56)) then
tmp = y2 * (((x * ((c * y0) - (a * y1))) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4))))
else if (y1 <= (-3.4d-44)) then
tmp = c * ((i * ((z * t) - (x * y))) + ((y0 * ((x * y2) - (z * y3))) + (y4 * t_1)))
else if (y1 <= (-5d-294)) then
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_3)) + (y0 * ((z * k) - (x * j))))
else if (y1 <= 3.05d-40) then
tmp = y4 * (((b * t_3) + t_2) + (c * t_1))
else if (y1 <= 1.8d+146) then
tmp = z * ((y3 * ((a * y1) - (c * y0))) + ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b)))))
else
tmp = y4 * 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 = (y * y3) - (t * y2);
double t_2 = y1 * ((k * y2) - (j * y3));
double t_3 = (t * j) - (y * k);
double tmp;
if (y1 <= -9.2e+173) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} else if (y1 <= -2.9e+113) {
tmp = k * (i * ((y * y5) - (z * y1)));
} else if (y1 <= -2.6e+56) {
tmp = y2 * (((x * ((c * y0) - (a * y1))) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4))));
} else if (y1 <= -3.4e-44) {
tmp = c * ((i * ((z * t) - (x * y))) + ((y0 * ((x * y2) - (z * y3))) + (y4 * t_1)));
} else if (y1 <= -5e-294) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_3)) + (y0 * ((z * k) - (x * j))));
} else if (y1 <= 3.05e-40) {
tmp = y4 * (((b * t_3) + t_2) + (c * t_1));
} else if (y1 <= 1.8e+146) {
tmp = z * ((y3 * ((a * y1) - (c * y0))) + ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b)))));
} else {
tmp = y4 * t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (y * y3) - (t * y2) t_2 = y1 * ((k * y2) - (j * y3)) t_3 = (t * j) - (y * k) tmp = 0 if y1 <= -9.2e+173: tmp = j * (y1 * ((x * i) - (y3 * y4))) elif y1 <= -2.9e+113: tmp = k * (i * ((y * y5) - (z * y1))) elif y1 <= -2.6e+56: tmp = y2 * (((x * ((c * y0) - (a * y1))) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4)))) elif y1 <= -3.4e-44: tmp = c * ((i * ((z * t) - (x * y))) + ((y0 * ((x * y2) - (z * y3))) + (y4 * t_1))) elif y1 <= -5e-294: tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_3)) + (y0 * ((z * k) - (x * j)))) elif y1 <= 3.05e-40: tmp = y4 * (((b * t_3) + t_2) + (c * t_1)) elif y1 <= 1.8e+146: tmp = z * ((y3 * ((a * y1) - (c * y0))) + ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b))))) else: tmp = y4 * 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(Float64(y * y3) - Float64(t * y2)) t_2 = Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3))) t_3 = Float64(Float64(t * j) - Float64(y * k)) tmp = 0.0 if (y1 <= -9.2e+173) tmp = Float64(j * Float64(y1 * Float64(Float64(x * i) - Float64(y3 * y4)))); elseif (y1 <= -2.9e+113) tmp = Float64(k * Float64(i * Float64(Float64(y * y5) - Float64(z * y1)))); elseif (y1 <= -2.6e+56) tmp = Float64(y2 * Float64(Float64(Float64(x * Float64(Float64(c * y0) - Float64(a * y1))) + Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (y1 <= -3.4e-44) tmp = Float64(c * Float64(Float64(i * Float64(Float64(z * t) - Float64(x * y))) + Float64(Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))) + Float64(y4 * t_1)))); elseif (y1 <= -5e-294) tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * t_3)) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))); elseif (y1 <= 3.05e-40) tmp = Float64(y4 * Float64(Float64(Float64(b * t_3) + t_2) + Float64(c * t_1))); elseif (y1 <= 1.8e+146) tmp = Float64(z * Float64(Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0))) + Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(t * Float64(Float64(c * i) - Float64(a * b)))))); else tmp = Float64(y4 * 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 = (y * y3) - (t * y2); t_2 = y1 * ((k * y2) - (j * y3)); t_3 = (t * j) - (y * k); tmp = 0.0; if (y1 <= -9.2e+173) tmp = j * (y1 * ((x * i) - (y3 * y4))); elseif (y1 <= -2.9e+113) tmp = k * (i * ((y * y5) - (z * y1))); elseif (y1 <= -2.6e+56) tmp = y2 * (((x * ((c * y0) - (a * y1))) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4)))); elseif (y1 <= -3.4e-44) tmp = c * ((i * ((z * t) - (x * y))) + ((y0 * ((x * y2) - (z * y3))) + (y4 * t_1))); elseif (y1 <= -5e-294) tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_3)) + (y0 * ((z * k) - (x * j)))); elseif (y1 <= 3.05e-40) tmp = y4 * (((b * t_3) + t_2) + (c * t_1)); elseif (y1 <= 1.8e+146) tmp = z * ((y3 * ((a * y1) - (c * y0))) + ((k * ((b * y0) - (i * y1))) + (t * ((c * i) - (a * b))))); else tmp = y4 * 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[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y1, -9.2e+173], N[(j * N[(y1 * N[(N[(x * i), $MachinePrecision] - N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -2.9e+113], N[(k * N[(i * N[(N[(y * y5), $MachinePrecision] - N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -2.6e+56], N[(y2 * N[(N[(N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -3.4e-44], N[(c * N[(N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -5e-294], N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * t$95$3), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 3.05e-40], N[(y4 * N[(N[(N[(b * t$95$3), $MachinePrecision] + t$95$2), $MachinePrecision] + N[(c * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.8e+146], N[(z * N[(N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y4 * t$95$2), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y \cdot y3 - t \cdot y2\\
t_2 := y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\\
t_3 := t \cdot j - y \cdot k\\
\mathbf{if}\;y1 \leq -9.2 \cdot 10^{+173}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(x \cdot i - y3 \cdot y4\right)\right)\\
\mathbf{elif}\;y1 \leq -2.9 \cdot 10^{+113}:\\
\;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\
\mathbf{elif}\;y1 \leq -2.6 \cdot 10^{+56}:\\
\;\;\;\;y2 \cdot \left(\left(x \cdot \left(c \cdot y0 - a \cdot y1\right) + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;y1 \leq -3.4 \cdot 10^{-44}:\\
\;\;\;\;c \cdot \left(i \cdot \left(z \cdot t - x \cdot y\right) + \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right) + y4 \cdot t_1\right)\right)\\
\mathbf{elif}\;y1 \leq -5 \cdot 10^{-294}:\\
\;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot t_3\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y1 \leq 3.05 \cdot 10^{-40}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot t_3 + t_2\right) + c \cdot t_1\right)\\
\mathbf{elif}\;y1 \leq 1.8 \cdot 10^{+146}:\\
\;\;\;\;z \cdot \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) + \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y4 \cdot t_2\\
\end{array}
\end{array}
if y1 < -9.1999999999999998e173Initial program 12.2%
+-commutative12.2%
fma-def12.2%
*-commutative12.2%
*-commutative12.2%
Simplified16.2%
Taylor expanded in j around inf 48.3%
Taylor expanded in y1 around -inf 57.3%
associate-*r*57.3%
neg-mul-157.3%
Simplified57.3%
if -9.1999999999999998e173 < y1 < -2.89999999999999984e113Initial program 7.6%
+-commutative7.6%
fma-def7.6%
*-commutative7.6%
*-commutative7.6%
Simplified7.6%
Taylor expanded in k around inf 46.0%
Taylor expanded in i around inf 76.9%
mul-1-neg76.9%
sub-neg76.9%
*-commutative76.9%
Simplified76.9%
if -2.89999999999999984e113 < y1 < -2.60000000000000011e56Initial program 33.3%
associate-+l-33.3%
Simplified33.3%
Taylor expanded in y2 around inf 73.9%
if -2.60000000000000011e56 < y1 < -3.40000000000000016e-44Initial program 58.8%
associate-+l-58.8%
Simplified58.8%
Taylor expanded in c around inf 58.5%
associate--l+58.5%
mul-1-neg58.5%
Simplified58.5%
if -3.40000000000000016e-44 < y1 < -5.0000000000000003e-294Initial program 27.7%
associate-+l-27.7%
Simplified27.7%
Taylor expanded in b around inf 53.7%
if -5.0000000000000003e-294 < y1 < 3.0500000000000002e-40Initial program 35.4%
associate-+l-35.4%
Simplified35.4%
Taylor expanded in y4 around inf 60.6%
if 3.0500000000000002e-40 < y1 < 1.7999999999999999e146Initial program 19.1%
associate-+l-19.1%
Simplified19.1%
Taylor expanded in z around -inf 51.6%
mul-1-neg51.6%
associate--l+51.6%
Simplified51.6%
if 1.7999999999999999e146 < y1 Initial program 29.2%
associate-+l-29.2%
Simplified29.2%
Taylor expanded in y4 around inf 50.1%
Taylor expanded in y1 around inf 67.3%
Final simplification59.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* k y2) (* j y3))) (t_2 (* y1 t_1)) (t_3 (- (* t j) (* y k))))
(if (<= y1 -8.2e+148)
(* j (* y1 (- (* x i) (* y3 y4))))
(if (<= y1 -2.2e+87)
(* c (* i (- (* z t) (* x y))))
(if (<= y1 -1.4e-44)
(* y1 (- (* y4 t_1) (* x (- (* a y2) (* i j)))))
(if (<= y1 -4.6e-288)
(*
b
(+
(+ (* a (- (* x y) (* z t))) (* y4 t_3))
(* y0 (- (* z k) (* x j)))))
(if (<= y1 3.5e-42)
(* y4 (+ (+ (* b t_3) t_2) (* c (- (* y y3) (* t y2)))))
(if (<= y1 5.2e+76)
(* y0 (* c (- (* x y2) (* z y3))))
(if (<= y1 9.8e+104)
(* j (* x (- (* i y1) (* b y0))))
(if (<= y1 4.4e+129)
(* y (* y3 (- (* c y4) (* a y5))))
(if (<= y1 2e+156)
(* j (* y0 (- (* y3 y5) (* x b))))
(* y4 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 = (k * y2) - (j * y3);
double t_2 = y1 * t_1;
double t_3 = (t * j) - (y * k);
double tmp;
if (y1 <= -8.2e+148) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} else if (y1 <= -2.2e+87) {
tmp = c * (i * ((z * t) - (x * y)));
} else if (y1 <= -1.4e-44) {
tmp = y1 * ((y4 * t_1) - (x * ((a * y2) - (i * j))));
} else if (y1 <= -4.6e-288) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_3)) + (y0 * ((z * k) - (x * j))));
} else if (y1 <= 3.5e-42) {
tmp = y4 * (((b * t_3) + t_2) + (c * ((y * y3) - (t * y2))));
} else if (y1 <= 5.2e+76) {
tmp = y0 * (c * ((x * y2) - (z * y3)));
} else if (y1 <= 9.8e+104) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y1 <= 4.4e+129) {
tmp = y * (y3 * ((c * y4) - (a * y5)));
} else if (y1 <= 2e+156) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else {
tmp = y4 * 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) :: t_3
real(8) :: tmp
t_1 = (k * y2) - (j * y3)
t_2 = y1 * t_1
t_3 = (t * j) - (y * k)
if (y1 <= (-8.2d+148)) then
tmp = j * (y1 * ((x * i) - (y3 * y4)))
else if (y1 <= (-2.2d+87)) then
tmp = c * (i * ((z * t) - (x * y)))
else if (y1 <= (-1.4d-44)) then
tmp = y1 * ((y4 * t_1) - (x * ((a * y2) - (i * j))))
else if (y1 <= (-4.6d-288)) then
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_3)) + (y0 * ((z * k) - (x * j))))
else if (y1 <= 3.5d-42) then
tmp = y4 * (((b * t_3) + t_2) + (c * ((y * y3) - (t * y2))))
else if (y1 <= 5.2d+76) then
tmp = y0 * (c * ((x * y2) - (z * y3)))
else if (y1 <= 9.8d+104) then
tmp = j * (x * ((i * y1) - (b * y0)))
else if (y1 <= 4.4d+129) then
tmp = y * (y3 * ((c * y4) - (a * y5)))
else if (y1 <= 2d+156) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else
tmp = y4 * 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 = (k * y2) - (j * y3);
double t_2 = y1 * t_1;
double t_3 = (t * j) - (y * k);
double tmp;
if (y1 <= -8.2e+148) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} else if (y1 <= -2.2e+87) {
tmp = c * (i * ((z * t) - (x * y)));
} else if (y1 <= -1.4e-44) {
tmp = y1 * ((y4 * t_1) - (x * ((a * y2) - (i * j))));
} else if (y1 <= -4.6e-288) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_3)) + (y0 * ((z * k) - (x * j))));
} else if (y1 <= 3.5e-42) {
tmp = y4 * (((b * t_3) + t_2) + (c * ((y * y3) - (t * y2))));
} else if (y1 <= 5.2e+76) {
tmp = y0 * (c * ((x * y2) - (z * y3)));
} else if (y1 <= 9.8e+104) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y1 <= 4.4e+129) {
tmp = y * (y3 * ((c * y4) - (a * y5)));
} else if (y1 <= 2e+156) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else {
tmp = y4 * t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (k * y2) - (j * y3) t_2 = y1 * t_1 t_3 = (t * j) - (y * k) tmp = 0 if y1 <= -8.2e+148: tmp = j * (y1 * ((x * i) - (y3 * y4))) elif y1 <= -2.2e+87: tmp = c * (i * ((z * t) - (x * y))) elif y1 <= -1.4e-44: tmp = y1 * ((y4 * t_1) - (x * ((a * y2) - (i * j)))) elif y1 <= -4.6e-288: tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_3)) + (y0 * ((z * k) - (x * j)))) elif y1 <= 3.5e-42: tmp = y4 * (((b * t_3) + t_2) + (c * ((y * y3) - (t * y2)))) elif y1 <= 5.2e+76: tmp = y0 * (c * ((x * y2) - (z * y3))) elif y1 <= 9.8e+104: tmp = j * (x * ((i * y1) - (b * y0))) elif y1 <= 4.4e+129: tmp = y * (y3 * ((c * y4) - (a * y5))) elif y1 <= 2e+156: tmp = j * (y0 * ((y3 * y5) - (x * b))) else: tmp = y4 * 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(Float64(k * y2) - Float64(j * y3)) t_2 = Float64(y1 * t_1) t_3 = Float64(Float64(t * j) - Float64(y * k)) tmp = 0.0 if (y1 <= -8.2e+148) tmp = Float64(j * Float64(y1 * Float64(Float64(x * i) - Float64(y3 * y4)))); elseif (y1 <= -2.2e+87) tmp = Float64(c * Float64(i * Float64(Float64(z * t) - Float64(x * y)))); elseif (y1 <= -1.4e-44) tmp = Float64(y1 * Float64(Float64(y4 * t_1) - Float64(x * Float64(Float64(a * y2) - Float64(i * j))))); elseif (y1 <= -4.6e-288) tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * t_3)) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))); elseif (y1 <= 3.5e-42) tmp = Float64(y4 * Float64(Float64(Float64(b * t_3) + t_2) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))); elseif (y1 <= 5.2e+76) tmp = Float64(y0 * Float64(c * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (y1 <= 9.8e+104) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); elseif (y1 <= 4.4e+129) tmp = Float64(y * Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5)))); elseif (y1 <= 2e+156) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); else tmp = Float64(y4 * 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 = (k * y2) - (j * y3); t_2 = y1 * t_1; t_3 = (t * j) - (y * k); tmp = 0.0; if (y1 <= -8.2e+148) tmp = j * (y1 * ((x * i) - (y3 * y4))); elseif (y1 <= -2.2e+87) tmp = c * (i * ((z * t) - (x * y))); elseif (y1 <= -1.4e-44) tmp = y1 * ((y4 * t_1) - (x * ((a * y2) - (i * j)))); elseif (y1 <= -4.6e-288) tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_3)) + (y0 * ((z * k) - (x * j)))); elseif (y1 <= 3.5e-42) tmp = y4 * (((b * t_3) + t_2) + (c * ((y * y3) - (t * y2)))); elseif (y1 <= 5.2e+76) tmp = y0 * (c * ((x * y2) - (z * y3))); elseif (y1 <= 9.8e+104) tmp = j * (x * ((i * y1) - (b * y0))); elseif (y1 <= 4.4e+129) tmp = y * (y3 * ((c * y4) - (a * y5))); elseif (y1 <= 2e+156) tmp = j * (y0 * ((y3 * y5) - (x * b))); else tmp = y4 * 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[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y1 * t$95$1), $MachinePrecision]}, Block[{t$95$3 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y1, -8.2e+148], N[(j * N[(y1 * N[(N[(x * i), $MachinePrecision] - N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -2.2e+87], N[(c * N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -1.4e-44], N[(y1 * N[(N[(y4 * t$95$1), $MachinePrecision] - N[(x * N[(N[(a * y2), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -4.6e-288], N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * t$95$3), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 3.5e-42], N[(y4 * N[(N[(N[(b * t$95$3), $MachinePrecision] + t$95$2), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 5.2e+76], N[(y0 * N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 9.8e+104], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 4.4e+129], N[(y * N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 2e+156], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y4 * t$95$2), $MachinePrecision]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot y2 - j \cdot y3\\
t_2 := y1 \cdot t_1\\
t_3 := t \cdot j - y \cdot k\\
\mathbf{if}\;y1 \leq -8.2 \cdot 10^{+148}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(x \cdot i - y3 \cdot y4\right)\right)\\
\mathbf{elif}\;y1 \leq -2.2 \cdot 10^{+87}:\\
\;\;\;\;c \cdot \left(i \cdot \left(z \cdot t - x \cdot y\right)\right)\\
\mathbf{elif}\;y1 \leq -1.4 \cdot 10^{-44}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot t_1 - x \cdot \left(a \cdot y2 - i \cdot j\right)\right)\\
\mathbf{elif}\;y1 \leq -4.6 \cdot 10^{-288}:\\
\;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot t_3\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y1 \leq 3.5 \cdot 10^{-42}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot t_3 + t_2\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;y1 \leq 5.2 \cdot 10^{+76}:\\
\;\;\;\;y0 \cdot \left(c \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;y1 \leq 9.8 \cdot 10^{+104}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y1 \leq 4.4 \cdot 10^{+129}:\\
\;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\
\mathbf{elif}\;y1 \leq 2 \cdot 10^{+156}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y4 \cdot t_2\\
\end{array}
\end{array}
if y1 < -8.1999999999999996e148Initial program 10.2%
+-commutative10.2%
fma-def10.2%
*-commutative10.2%
*-commutative10.2%
Simplified13.5%
Taylor expanded in j around inf 47.0%
Taylor expanded in y1 around -inf 54.8%
associate-*r*54.8%
neg-mul-154.8%
Simplified54.8%
if -8.1999999999999996e148 < y1 < -2.2000000000000001e87Initial program 26.6%
associate-+l-26.6%
Simplified26.6%
Taylor expanded in i around -inf 53.6%
mul-1-neg53.6%
associate--l+53.6%
Simplified53.6%
Taylor expanded in c around inf 67.3%
if -2.2000000000000001e87 < y1 < -1.4e-44Initial program 50.4%
+-commutative50.4%
fma-def50.4%
*-commutative50.4%
*-commutative50.4%
Simplified50.4%
Taylor expanded in x around inf 56.2%
mul-1-neg56.2%
Simplified56.2%
Taylor expanded in y1 around -inf 44.9%
mul-1-neg44.9%
*-commutative44.9%
distribute-rgt-neg-in44.9%
+-commutative44.9%
mul-1-neg44.9%
unsub-neg44.9%
*-commutative44.9%
*-commutative44.9%
Simplified44.9%
if -1.4e-44 < y1 < -4.6e-288Initial program 27.7%
associate-+l-27.7%
Simplified27.7%
Taylor expanded in b around inf 53.7%
if -4.6e-288 < y1 < 3.5000000000000002e-42Initial program 34.2%
associate-+l-34.2%
Simplified34.2%
Taylor expanded in y4 around inf 61.6%
if 3.5000000000000002e-42 < y1 < 5.1999999999999999e76Initial program 17.2%
+-commutative17.2%
fma-def20.7%
*-commutative20.7%
*-commutative20.7%
Simplified20.7%
Taylor expanded in y0 around inf 38.7%
mul-1-neg38.7%
Simplified38.7%
Taylor expanded in c around inf 43.0%
*-commutative43.0%
*-commutative43.0%
associate-*l*42.8%
*-commutative42.8%
Simplified42.8%
if 5.1999999999999999e76 < y1 < 9.7999999999999997e104Initial program 50.0%
+-commutative50.0%
fma-def50.0%
*-commutative50.0%
*-commutative50.0%
Simplified50.0%
Taylor expanded in j around inf 83.3%
Taylor expanded in x around inf 100.0%
if 9.7999999999999997e104 < y1 < 4.3999999999999999e129Initial program 14.3%
associate-+l-14.3%
Simplified14.3%
Taylor expanded in y3 around -inf 72.5%
Taylor expanded in y around inf 72.4%
*-commutative72.4%
associate-*l*85.9%
Simplified85.9%
if 4.3999999999999999e129 < y1 < 2e156Initial program 30.0%
+-commutative30.0%
fma-def30.0%
*-commutative30.0%
*-commutative30.0%
Simplified30.0%
Taylor expanded in j around inf 51.3%
Taylor expanded in y0 around inf 61.1%
*-commutative61.1%
Simplified61.1%
if 2e156 < y1 Initial program 25.0%
associate-+l-25.0%
Simplified25.0%
Taylor expanded in y4 around inf 55.2%
Taylor expanded in y1 around inf 75.4%
Final simplification58.0%
(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)))
(- (* b (- (* x y) (* z t))) (* y1 (* x y2)))))))
(if (<= x -2.7e+138)
(* (* x i) (- (* j y1) (* y c)))
(if (<= x -1e-252)
t_1
(if (<= x 8.8e-55)
(*
y4
(+
(+ (* b (- (* t j) (* y k))) (* y1 (- (* k y2) (* j y3))))
(* c (- (* y y3) (* t y2)))))
(if (<= x 3.1e+34)
(* (* t j) (- (* b y4) (* i y5)))
(if (<= x 4.5e+101) t_1 (* j (* x (- (* i y1) (* b 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 = a * ((y5 * ((t * y2) - (y * y3))) + ((b * ((x * y) - (z * t))) - (y1 * (x * y2))));
double tmp;
if (x <= -2.7e+138) {
tmp = (x * i) * ((j * y1) - (y * c));
} else if (x <= -1e-252) {
tmp = t_1;
} else if (x <= 8.8e-55) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (x <= 3.1e+34) {
tmp = (t * j) * ((b * y4) - (i * y5));
} else if (x <= 4.5e+101) {
tmp = t_1;
} else {
tmp = j * (x * ((i * y1) - (b * 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 = a * ((y5 * ((t * y2) - (y * y3))) + ((b * ((x * y) - (z * t))) - (y1 * (x * y2))))
if (x <= (-2.7d+138)) then
tmp = (x * i) * ((j * y1) - (y * c))
else if (x <= (-1d-252)) then
tmp = t_1
else if (x <= 8.8d-55) then
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
else if (x <= 3.1d+34) then
tmp = (t * j) * ((b * y4) - (i * y5))
else if (x <= 4.5d+101) then
tmp = t_1
else
tmp = j * (x * ((i * y1) - (b * 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 = a * ((y5 * ((t * y2) - (y * y3))) + ((b * ((x * y) - (z * t))) - (y1 * (x * y2))));
double tmp;
if (x <= -2.7e+138) {
tmp = (x * i) * ((j * y1) - (y * c));
} else if (x <= -1e-252) {
tmp = t_1;
} else if (x <= 8.8e-55) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (x <= 3.1e+34) {
tmp = (t * j) * ((b * y4) - (i * y5));
} else if (x <= 4.5e+101) {
tmp = t_1;
} else {
tmp = j * (x * ((i * y1) - (b * y0)));
}
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))) + ((b * ((x * y) - (z * t))) - (y1 * (x * y2)))) tmp = 0 if x <= -2.7e+138: tmp = (x * i) * ((j * y1) - (y * c)) elif x <= -1e-252: tmp = t_1 elif x <= 8.8e-55: tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))) elif x <= 3.1e+34: tmp = (t * j) * ((b * y4) - (i * y5)) elif x <= 4.5e+101: tmp = t_1 else: tmp = j * (x * ((i * y1) - (b * y0))) 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(Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(Float64(b * Float64(Float64(x * y) - Float64(z * t))) - Float64(y1 * Float64(x * y2))))) tmp = 0.0 if (x <= -2.7e+138) tmp = Float64(Float64(x * i) * Float64(Float64(j * y1) - Float64(y * c))); elseif (x <= -1e-252) tmp = t_1; elseif (x <= 8.8e-55) tmp = Float64(y4 * Float64(Float64(Float64(b * Float64(Float64(t * j) - Float64(y * k))) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))); elseif (x <= 3.1e+34) tmp = Float64(Float64(t * j) * Float64(Float64(b * y4) - Float64(i * y5))); elseif (x <= 4.5e+101) tmp = t_1; else tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * 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 = a * ((y5 * ((t * y2) - (y * y3))) + ((b * ((x * y) - (z * t))) - (y1 * (x * y2)))); tmp = 0.0; if (x <= -2.7e+138) tmp = (x * i) * ((j * y1) - (y * c)); elseif (x <= -1e-252) tmp = t_1; elseif (x <= 8.8e-55) tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))); elseif (x <= 3.1e+34) tmp = (t * j) * ((b * y4) - (i * y5)); elseif (x <= 4.5e+101) tmp = t_1; else tmp = j * (x * ((i * y1) - (b * 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[(a * N[(N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y1 * N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -2.7e+138], N[(N[(x * i), $MachinePrecision] * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -1e-252], t$95$1, If[LessEqual[x, 8.8e-55], N[(y4 * N[(N[(N[(b * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 3.1e+34], N[(N[(t * j), $MachinePrecision] * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 4.5e+101], t$95$1, N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $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) + \left(b \cdot \left(x \cdot y - z \cdot t\right) - y1 \cdot \left(x \cdot y2\right)\right)\right)\\
\mathbf{if}\;x \leq -2.7 \cdot 10^{+138}:\\
\;\;\;\;\left(x \cdot i\right) \cdot \left(j \cdot y1 - y \cdot c\right)\\
\mathbf{elif}\;x \leq -1 \cdot 10^{-252}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x \leq 8.8 \cdot 10^{-55}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot \left(t \cdot j - y \cdot k\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;x \leq 3.1 \cdot 10^{+34}:\\
\;\;\;\;\left(t \cdot j\right) \cdot \left(b \cdot y4 - i \cdot y5\right)\\
\mathbf{elif}\;x \leq 4.5 \cdot 10^{+101}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\end{array}
\end{array}
if x < -2.70000000000000009e138Initial program 22.5%
associate-+l-22.5%
Simplified22.5%
Taylor expanded in i around -inf 40.2%
mul-1-neg40.2%
associate--l+40.2%
Simplified40.2%
Taylor expanded in x around inf 53.2%
if -2.70000000000000009e138 < x < -9.99999999999999943e-253 or 3.09999999999999977e34 < x < 4.5000000000000002e101Initial program 28.1%
+-commutative28.1%
fma-def30.3%
*-commutative30.3%
*-commutative30.3%
Simplified35.7%
Taylor expanded in x around inf 42.2%
mul-1-neg42.2%
Simplified42.2%
Taylor expanded in a around inf 49.2%
if -9.99999999999999943e-253 < x < 8.7999999999999998e-55Initial program 41.3%
associate-+l-41.3%
Simplified41.3%
Taylor expanded in y4 around inf 57.5%
if 8.7999999999999998e-55 < x < 3.09999999999999977e34Initial program 45.4%
+-commutative45.4%
fma-def45.4%
*-commutative45.4%
*-commutative45.4%
Simplified50.4%
Taylor expanded in j around inf 55.5%
Taylor expanded in t around inf 50.8%
associate-*r*55.5%
Simplified55.5%
if 4.5000000000000002e101 < x Initial program 7.9%
+-commutative7.9%
fma-def7.9%
*-commutative7.9%
*-commutative7.9%
Simplified12.9%
Taylor expanded in j around inf 41.9%
Taylor expanded in x around inf 59.2%
Final simplification53.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* t j) (- (* b y4) (* i y5))))
(t_2 (- (* k y2) (* j y3)))
(t_3 (* y4 (* t (- (* b j) (* c y2)))))
(t_4 (* y1 (- (* y4 t_2) (* x (- (* a y2) (* i j)))))))
(if (<= t -1.5e+236)
t_3
(if (<= t -1.12e+195)
t_1
(if (<= t -1.08e+105)
t_3
(if (<= t -5.1e-304)
t_4
(if (<= t 1.25e-243)
(* y0 (* c (- (* x y2) (* z y3))))
(if (<= t 2.3e-84)
t_4
(if (<= t 2.35e-35)
(* (* y i) (- (* k y5) (* x c)))
(if (<= t 1.35e-13)
(* (* z y0) (- (* b k) (* c y3)))
(if (<= t 6e+56)
(* y4 (* y1 t_2))
(if (<= t 1.6e+111)
(* j (* y0 (- (* y3 y5) (* x b))))
t_1))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (t * j) * ((b * y4) - (i * y5));
double t_2 = (k * y2) - (j * y3);
double t_3 = y4 * (t * ((b * j) - (c * y2)));
double t_4 = y1 * ((y4 * t_2) - (x * ((a * y2) - (i * j))));
double tmp;
if (t <= -1.5e+236) {
tmp = t_3;
} else if (t <= -1.12e+195) {
tmp = t_1;
} else if (t <= -1.08e+105) {
tmp = t_3;
} else if (t <= -5.1e-304) {
tmp = t_4;
} else if (t <= 1.25e-243) {
tmp = y0 * (c * ((x * y2) - (z * y3)));
} else if (t <= 2.3e-84) {
tmp = t_4;
} else if (t <= 2.35e-35) {
tmp = (y * i) * ((k * y5) - (x * c));
} else if (t <= 1.35e-13) {
tmp = (z * y0) * ((b * k) - (c * y3));
} else if (t <= 6e+56) {
tmp = y4 * (y1 * t_2);
} else if (t <= 1.6e+111) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: tmp
t_1 = (t * j) * ((b * y4) - (i * y5))
t_2 = (k * y2) - (j * y3)
t_3 = y4 * (t * ((b * j) - (c * y2)))
t_4 = y1 * ((y4 * t_2) - (x * ((a * y2) - (i * j))))
if (t <= (-1.5d+236)) then
tmp = t_3
else if (t <= (-1.12d+195)) then
tmp = t_1
else if (t <= (-1.08d+105)) then
tmp = t_3
else if (t <= (-5.1d-304)) then
tmp = t_4
else if (t <= 1.25d-243) then
tmp = y0 * (c * ((x * y2) - (z * y3)))
else if (t <= 2.3d-84) then
tmp = t_4
else if (t <= 2.35d-35) then
tmp = (y * i) * ((k * y5) - (x * c))
else if (t <= 1.35d-13) then
tmp = (z * y0) * ((b * k) - (c * y3))
else if (t <= 6d+56) then
tmp = y4 * (y1 * t_2)
else if (t <= 1.6d+111) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (t * j) * ((b * y4) - (i * y5));
double t_2 = (k * y2) - (j * y3);
double t_3 = y4 * (t * ((b * j) - (c * y2)));
double t_4 = y1 * ((y4 * t_2) - (x * ((a * y2) - (i * j))));
double tmp;
if (t <= -1.5e+236) {
tmp = t_3;
} else if (t <= -1.12e+195) {
tmp = t_1;
} else if (t <= -1.08e+105) {
tmp = t_3;
} else if (t <= -5.1e-304) {
tmp = t_4;
} else if (t <= 1.25e-243) {
tmp = y0 * (c * ((x * y2) - (z * y3)));
} else if (t <= 2.3e-84) {
tmp = t_4;
} else if (t <= 2.35e-35) {
tmp = (y * i) * ((k * y5) - (x * c));
} else if (t <= 1.35e-13) {
tmp = (z * y0) * ((b * k) - (c * y3));
} else if (t <= 6e+56) {
tmp = y4 * (y1 * t_2);
} else if (t <= 1.6e+111) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (t * j) * ((b * y4) - (i * y5)) t_2 = (k * y2) - (j * y3) t_3 = y4 * (t * ((b * j) - (c * y2))) t_4 = y1 * ((y4 * t_2) - (x * ((a * y2) - (i * j)))) tmp = 0 if t <= -1.5e+236: tmp = t_3 elif t <= -1.12e+195: tmp = t_1 elif t <= -1.08e+105: tmp = t_3 elif t <= -5.1e-304: tmp = t_4 elif t <= 1.25e-243: tmp = y0 * (c * ((x * y2) - (z * y3))) elif t <= 2.3e-84: tmp = t_4 elif t <= 2.35e-35: tmp = (y * i) * ((k * y5) - (x * c)) elif t <= 1.35e-13: tmp = (z * y0) * ((b * k) - (c * y3)) elif t <= 6e+56: tmp = y4 * (y1 * t_2) elif t <= 1.6e+111: tmp = j * (y0 * ((y3 * y5) - (x * b))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(t * j) * Float64(Float64(b * y4) - Float64(i * y5))) t_2 = Float64(Float64(k * y2) - Float64(j * y3)) t_3 = Float64(y4 * Float64(t * Float64(Float64(b * j) - Float64(c * y2)))) t_4 = Float64(y1 * Float64(Float64(y4 * t_2) - Float64(x * Float64(Float64(a * y2) - Float64(i * j))))) tmp = 0.0 if (t <= -1.5e+236) tmp = t_3; elseif (t <= -1.12e+195) tmp = t_1; elseif (t <= -1.08e+105) tmp = t_3; elseif (t <= -5.1e-304) tmp = t_4; elseif (t <= 1.25e-243) tmp = Float64(y0 * Float64(c * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (t <= 2.3e-84) tmp = t_4; elseif (t <= 2.35e-35) tmp = Float64(Float64(y * i) * Float64(Float64(k * y5) - Float64(x * c))); elseif (t <= 1.35e-13) tmp = Float64(Float64(z * y0) * Float64(Float64(b * k) - Float64(c * y3))); elseif (t <= 6e+56) tmp = Float64(y4 * Float64(y1 * t_2)); elseif (t <= 1.6e+111) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (t * j) * ((b * y4) - (i * y5)); t_2 = (k * y2) - (j * y3); t_3 = y4 * (t * ((b * j) - (c * y2))); t_4 = y1 * ((y4 * t_2) - (x * ((a * y2) - (i * j)))); tmp = 0.0; if (t <= -1.5e+236) tmp = t_3; elseif (t <= -1.12e+195) tmp = t_1; elseif (t <= -1.08e+105) tmp = t_3; elseif (t <= -5.1e-304) tmp = t_4; elseif (t <= 1.25e-243) tmp = y0 * (c * ((x * y2) - (z * y3))); elseif (t <= 2.3e-84) tmp = t_4; elseif (t <= 2.35e-35) tmp = (y * i) * ((k * y5) - (x * c)); elseif (t <= 1.35e-13) tmp = (z * y0) * ((b * k) - (c * y3)); elseif (t <= 6e+56) tmp = y4 * (y1 * t_2); elseif (t <= 1.6e+111) tmp = j * (y0 * ((y3 * y5) - (x * b))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(t * j), $MachinePrecision] * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y4 * N[(t * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(y1 * N[(N[(y4 * t$95$2), $MachinePrecision] - N[(x * N[(N[(a * y2), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1.5e+236], t$95$3, If[LessEqual[t, -1.12e+195], t$95$1, If[LessEqual[t, -1.08e+105], t$95$3, If[LessEqual[t, -5.1e-304], t$95$4, If[LessEqual[t, 1.25e-243], N[(y0 * N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.3e-84], t$95$4, If[LessEqual[t, 2.35e-35], N[(N[(y * i), $MachinePrecision] * N[(N[(k * y5), $MachinePrecision] - N[(x * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.35e-13], N[(N[(z * y0), $MachinePrecision] * N[(N[(b * k), $MachinePrecision] - N[(c * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 6e+56], N[(y4 * N[(y1 * t$95$2), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.6e+111], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(t \cdot j\right) \cdot \left(b \cdot y4 - i \cdot y5\right)\\
t_2 := k \cdot y2 - j \cdot y3\\
t_3 := y4 \cdot \left(t \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
t_4 := y1 \cdot \left(y4 \cdot t_2 - x \cdot \left(a \cdot y2 - i \cdot j\right)\right)\\
\mathbf{if}\;t \leq -1.5 \cdot 10^{+236}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;t \leq -1.12 \cdot 10^{+195}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;t \leq -1.08 \cdot 10^{+105}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;t \leq -5.1 \cdot 10^{-304}:\\
\;\;\;\;t_4\\
\mathbf{elif}\;t \leq 1.25 \cdot 10^{-243}:\\
\;\;\;\;y0 \cdot \left(c \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;t \leq 2.3 \cdot 10^{-84}:\\
\;\;\;\;t_4\\
\mathbf{elif}\;t \leq 2.35 \cdot 10^{-35}:\\
\;\;\;\;\left(y \cdot i\right) \cdot \left(k \cdot y5 - x \cdot c\right)\\
\mathbf{elif}\;t \leq 1.35 \cdot 10^{-13}:\\
\;\;\;\;\left(z \cdot y0\right) \cdot \left(b \cdot k - c \cdot y3\right)\\
\mathbf{elif}\;t \leq 6 \cdot 10^{+56}:\\
\;\;\;\;y4 \cdot \left(y1 \cdot t_2\right)\\
\mathbf{elif}\;t \leq 1.6 \cdot 10^{+111}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if t < -1.4999999999999999e236 or -1.12000000000000004e195 < t < -1.07999999999999994e105Initial program 34.4%
associate-+l-34.4%
Simplified34.4%
Taylor expanded in y4 around inf 55.8%
Taylor expanded in t around inf 74.1%
if -1.4999999999999999e236 < t < -1.12000000000000004e195 or 1.6e111 < t Initial program 15.3%
+-commutative15.3%
fma-def15.3%
*-commutative15.3%
*-commutative15.3%
Simplified17.5%
Taylor expanded in j around inf 48.1%
Taylor expanded in t around inf 52.9%
associate-*r*56.9%
Simplified56.9%
if -1.07999999999999994e105 < t < -5.09999999999999979e-304 or 1.25e-243 < t < 2.29999999999999981e-84Initial program 31.0%
+-commutative31.0%
fma-def31.8%
*-commutative31.8%
*-commutative31.8%
Simplified36.0%
Taylor expanded in x around inf 44.4%
mul-1-neg44.4%
Simplified44.4%
Taylor expanded in y1 around -inf 44.9%
mul-1-neg44.9%
*-commutative44.9%
distribute-rgt-neg-in44.9%
+-commutative44.9%
mul-1-neg44.9%
unsub-neg44.9%
*-commutative44.9%
*-commutative44.9%
Simplified44.9%
if -5.09999999999999979e-304 < t < 1.25e-243Initial program 34.3%
+-commutative34.3%
fma-def40.9%
*-commutative40.9%
*-commutative40.9%
Simplified47.6%
Taylor expanded in y0 around inf 54.4%
mul-1-neg54.4%
Simplified54.4%
Taylor expanded in c around inf 47.5%
*-commutative47.5%
*-commutative47.5%
associate-*l*54.5%
*-commutative54.5%
Simplified54.5%
if 2.29999999999999981e-84 < t < 2.35e-35Initial program 27.0%
associate-+l-27.0%
Simplified27.0%
Taylor expanded in i around -inf 34.3%
mul-1-neg34.3%
associate--l+34.3%
Simplified34.3%
Taylor expanded in y around inf 41.2%
*-commutative41.2%
*-commutative41.2%
+-commutative41.2%
mul-1-neg41.2%
sub-neg41.2%
*-commutative41.2%
*-commutative41.2%
Simplified41.2%
if 2.35e-35 < t < 1.35000000000000005e-13Initial program 59.7%
+-commutative59.7%
fma-def59.7%
*-commutative59.7%
*-commutative59.7%
Simplified59.7%
Taylor expanded in y0 around inf 40.9%
mul-1-neg40.9%
Simplified40.9%
Taylor expanded in z around inf 60.2%
associate-*r*60.2%
+-commutative60.2%
mul-1-neg60.2%
sub-neg60.2%
*-commutative60.2%
*-commutative60.2%
Simplified60.2%
if 1.35000000000000005e-13 < t < 6.00000000000000012e56Initial program 37.5%
associate-+l-37.5%
Simplified37.5%
Taylor expanded in y4 around inf 51.1%
Taylor expanded in y1 around inf 50.3%
if 6.00000000000000012e56 < t < 1.6e111Initial program 11.1%
+-commutative11.1%
fma-def11.1%
*-commutative11.1%
*-commutative11.1%
Simplified11.1%
Taylor expanded in j around inf 33.5%
Taylor expanded in y0 around inf 66.9%
*-commutative66.9%
Simplified66.9%
Final simplification53.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* c y4) (* a y5))))
(if (<= x -1.1e+119)
(* (* x i) (- (* j y1) (* y c)))
(if (<= x -1.28e-77)
(* y4 (* t (- (* b j) (* c y2))))
(if (<= x -4.8e-213)
(* y (* y3 t_1))
(if (<= x -5.8e-287)
(* y1 (- (* y4 (- (* k y2) (* j y3))) (* x (- (* a y2) (* i j)))))
(if (<= x 2.55e-225)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= x 1.25e-179)
(* t (+ (* z (- (* c i) (* a b))) (* y2 (- (* a y5) (* c y4)))))
(if (<= x 2.5e-32)
(* y0 (* y3 (- (* j y5) (* z c))))
(if (or (<= x 3.1e+30) (not (<= x 7.8e+46)))
(* j (* x (- (* i y1) (* b y0))))
(* (* y y3) t_1)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (c * y4) - (a * y5);
double tmp;
if (x <= -1.1e+119) {
tmp = (x * i) * ((j * y1) - (y * c));
} else if (x <= -1.28e-77) {
tmp = y4 * (t * ((b * j) - (c * y2)));
} else if (x <= -4.8e-213) {
tmp = y * (y3 * t_1);
} else if (x <= -5.8e-287) {
tmp = y1 * ((y4 * ((k * y2) - (j * y3))) - (x * ((a * y2) - (i * j))));
} else if (x <= 2.55e-225) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (x <= 1.25e-179) {
tmp = t * ((z * ((c * i) - (a * b))) + (y2 * ((a * y5) - (c * y4))));
} else if (x <= 2.5e-32) {
tmp = y0 * (y3 * ((j * y5) - (z * c)));
} else if ((x <= 3.1e+30) || !(x <= 7.8e+46)) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else {
tmp = (y * y3) * 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 * y4) - (a * y5)
if (x <= (-1.1d+119)) then
tmp = (x * i) * ((j * y1) - (y * c))
else if (x <= (-1.28d-77)) then
tmp = y4 * (t * ((b * j) - (c * y2)))
else if (x <= (-4.8d-213)) then
tmp = y * (y3 * t_1)
else if (x <= (-5.8d-287)) then
tmp = y1 * ((y4 * ((k * y2) - (j * y3))) - (x * ((a * y2) - (i * j))))
else if (x <= 2.55d-225) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (x <= 1.25d-179) then
tmp = t * ((z * ((c * i) - (a * b))) + (y2 * ((a * y5) - (c * y4))))
else if (x <= 2.5d-32) then
tmp = y0 * (y3 * ((j * y5) - (z * c)))
else if ((x <= 3.1d+30) .or. (.not. (x <= 7.8d+46))) then
tmp = j * (x * ((i * y1) - (b * y0)))
else
tmp = (y * y3) * 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 * y4) - (a * y5);
double tmp;
if (x <= -1.1e+119) {
tmp = (x * i) * ((j * y1) - (y * c));
} else if (x <= -1.28e-77) {
tmp = y4 * (t * ((b * j) - (c * y2)));
} else if (x <= -4.8e-213) {
tmp = y * (y3 * t_1);
} else if (x <= -5.8e-287) {
tmp = y1 * ((y4 * ((k * y2) - (j * y3))) - (x * ((a * y2) - (i * j))));
} else if (x <= 2.55e-225) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (x <= 1.25e-179) {
tmp = t * ((z * ((c * i) - (a * b))) + (y2 * ((a * y5) - (c * y4))));
} else if (x <= 2.5e-32) {
tmp = y0 * (y3 * ((j * y5) - (z * c)));
} else if ((x <= 3.1e+30) || !(x <= 7.8e+46)) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else {
tmp = (y * y3) * 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 * y4) - (a * y5) tmp = 0 if x <= -1.1e+119: tmp = (x * i) * ((j * y1) - (y * c)) elif x <= -1.28e-77: tmp = y4 * (t * ((b * j) - (c * y2))) elif x <= -4.8e-213: tmp = y * (y3 * t_1) elif x <= -5.8e-287: tmp = y1 * ((y4 * ((k * y2) - (j * y3))) - (x * ((a * y2) - (i * j)))) elif x <= 2.55e-225: tmp = c * (y4 * ((y * y3) - (t * y2))) elif x <= 1.25e-179: tmp = t * ((z * ((c * i) - (a * b))) + (y2 * ((a * y5) - (c * y4)))) elif x <= 2.5e-32: tmp = y0 * (y3 * ((j * y5) - (z * c))) elif (x <= 3.1e+30) or not (x <= 7.8e+46): tmp = j * (x * ((i * y1) - (b * y0))) else: tmp = (y * y3) * 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(c * y4) - Float64(a * y5)) tmp = 0.0 if (x <= -1.1e+119) tmp = Float64(Float64(x * i) * Float64(Float64(j * y1) - Float64(y * c))); elseif (x <= -1.28e-77) tmp = Float64(y4 * Float64(t * Float64(Float64(b * j) - Float64(c * y2)))); elseif (x <= -4.8e-213) tmp = Float64(y * Float64(y3 * t_1)); elseif (x <= -5.8e-287) tmp = Float64(y1 * Float64(Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3))) - Float64(x * Float64(Float64(a * y2) - Float64(i * j))))); elseif (x <= 2.55e-225) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (x <= 1.25e-179) tmp = Float64(t * Float64(Float64(z * Float64(Float64(c * i) - Float64(a * b))) + Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (x <= 2.5e-32) tmp = Float64(y0 * Float64(y3 * Float64(Float64(j * y5) - Float64(z * c)))); elseif ((x <= 3.1e+30) || !(x <= 7.8e+46)) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); else tmp = Float64(Float64(y * y3) * 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 * y4) - (a * y5); tmp = 0.0; if (x <= -1.1e+119) tmp = (x * i) * ((j * y1) - (y * c)); elseif (x <= -1.28e-77) tmp = y4 * (t * ((b * j) - (c * y2))); elseif (x <= -4.8e-213) tmp = y * (y3 * t_1); elseif (x <= -5.8e-287) tmp = y1 * ((y4 * ((k * y2) - (j * y3))) - (x * ((a * y2) - (i * j)))); elseif (x <= 2.55e-225) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (x <= 1.25e-179) tmp = t * ((z * ((c * i) - (a * b))) + (y2 * ((a * y5) - (c * y4)))); elseif (x <= 2.5e-32) tmp = y0 * (y3 * ((j * y5) - (z * c))); elseif ((x <= 3.1e+30) || ~((x <= 7.8e+46))) tmp = j * (x * ((i * y1) - (b * y0))); else tmp = (y * y3) * 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[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -1.1e+119], N[(N[(x * i), $MachinePrecision] * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -1.28e-77], N[(y4 * N[(t * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -4.8e-213], N[(y * N[(y3 * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -5.8e-287], N[(y1 * N[(N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(x * N[(N[(a * y2), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.55e-225], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.25e-179], N[(t * N[(N[(z * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.5e-32], N[(y0 * N[(y3 * N[(N[(j * y5), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[x, 3.1e+30], N[Not[LessEqual[x, 7.8e+46]], $MachinePrecision]], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(y * y3), $MachinePrecision] * t$95$1), $MachinePrecision]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot y4 - a \cdot y5\\
\mathbf{if}\;x \leq -1.1 \cdot 10^{+119}:\\
\;\;\;\;\left(x \cdot i\right) \cdot \left(j \cdot y1 - y \cdot c\right)\\
\mathbf{elif}\;x \leq -1.28 \cdot 10^{-77}:\\
\;\;\;\;y4 \cdot \left(t \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\mathbf{elif}\;x \leq -4.8 \cdot 10^{-213}:\\
\;\;\;\;y \cdot \left(y3 \cdot t_1\right)\\
\mathbf{elif}\;x \leq -5.8 \cdot 10^{-287}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right) - x \cdot \left(a \cdot y2 - i \cdot j\right)\right)\\
\mathbf{elif}\;x \leq 2.55 \cdot 10^{-225}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;x \leq 1.25 \cdot 10^{-179}:\\
\;\;\;\;t \cdot \left(z \cdot \left(c \cdot i - a \cdot b\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;x \leq 2.5 \cdot 10^{-32}:\\
\;\;\;\;y0 \cdot \left(y3 \cdot \left(j \cdot y5 - z \cdot c\right)\right)\\
\mathbf{elif}\;x \leq 3.1 \cdot 10^{+30} \lor \neg \left(x \leq 7.8 \cdot 10^{+46}\right):\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\left(y \cdot y3\right) \cdot t_1\\
\end{array}
\end{array}
if x < -1.1000000000000001e119Initial program 21.4%
associate-+l-21.4%
Simplified21.4%
Taylor expanded in i around -inf 38.3%
mul-1-neg38.3%
associate--l+38.3%
Simplified38.3%
Taylor expanded in x around inf 53.1%
if -1.1000000000000001e119 < x < -1.28e-77Initial program 30.2%
associate-+l-30.2%
Simplified30.2%
Taylor expanded in y4 around inf 40.1%
Taylor expanded in t around inf 46.3%
if -1.28e-77 < x < -4.79999999999999991e-213Initial program 24.3%
associate-+l-24.3%
Simplified24.3%
Taylor expanded in y3 around -inf 58.2%
Taylor expanded in y around inf 40.6%
*-commutative40.6%
associate-*l*43.5%
Simplified43.5%
if -4.79999999999999991e-213 < x < -5.7999999999999996e-287Initial program 47.1%
+-commutative47.1%
fma-def47.1%
*-commutative47.1%
*-commutative47.1%
Simplified47.1%
Taylor expanded in x around inf 58.8%
mul-1-neg58.8%
Simplified58.8%
Taylor expanded in y1 around -inf 65.7%
mul-1-neg65.7%
*-commutative65.7%
distribute-rgt-neg-in65.7%
+-commutative65.7%
mul-1-neg65.7%
unsub-neg65.7%
*-commutative65.7%
*-commutative65.7%
Simplified65.7%
if -5.7999999999999996e-287 < x < 2.5499999999999999e-225Initial program 42.5%
associate-+l-42.5%
Simplified42.5%
Taylor expanded in y4 around inf 50.5%
Taylor expanded in c around inf 46.9%
if 2.5499999999999999e-225 < x < 1.2499999999999999e-179Initial program 53.7%
+-commutative53.7%
fma-def53.7%
*-commutative53.7%
*-commutative53.7%
Simplified53.7%
Taylor expanded in x around inf 53.9%
mul-1-neg53.9%
Simplified53.9%
Taylor expanded in t around -inf 55.3%
if 1.2499999999999999e-179 < x < 2.5e-32Initial program 30.4%
+-commutative30.4%
fma-def30.4%
*-commutative30.4%
*-commutative30.4%
Simplified34.8%
Taylor expanded in y0 around inf 48.5%
mul-1-neg48.5%
Simplified48.5%
Taylor expanded in y3 around inf 57.1%
*-commutative57.1%
cancel-sign-sub-inv57.1%
metadata-eval57.1%
*-lft-identity57.1%
+-commutative57.1%
mul-1-neg57.1%
unsub-neg57.1%
*-commutative57.1%
Simplified57.1%
if 2.5e-32 < x < 3.0999999999999998e30 or 7.7999999999999999e46 < x Initial program 21.0%
+-commutative21.0%
fma-def21.0%
*-commutative21.0%
*-commutative21.0%
Simplified25.8%
Taylor expanded in j around inf 44.4%
Taylor expanded in x around inf 52.6%
if 3.0999999999999998e30 < x < 7.7999999999999999e46Initial program 2.6%
associate-+l-2.6%
Simplified2.6%
Taylor expanded in y3 around -inf 50.0%
Taylor expanded in y around inf 83.6%
Final simplification52.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y4 (* t (- (* b j) (* c y2)))))
(t_2 (* y0 (* y2 (- (* x c) (* k y5))))))
(if (<= i -9.5e+135)
(* k (* i (- (* y y5) (* z y1))))
(if (<= i -5.2e+44)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= i -2.9e-6)
t_2
(if (<= i -9e-43)
(* y4 (* (* j y1) (- y3)))
(if (<= i -2.2e-195)
t_2
(if (<= i -5.5e-283)
t_1
(if (<= i 3e-236)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= i 6.4e-69)
(* y4 (* y1 (- (* k y2) (* j y3))))
(if (<= i 7.5e-5)
t_1
(* c (* i (- (* z t) (* x y)))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y4 * (t * ((b * j) - (c * y2)));
double t_2 = y0 * (y2 * ((x * c) - (k * y5)));
double tmp;
if (i <= -9.5e+135) {
tmp = k * (i * ((y * y5) - (z * y1)));
} else if (i <= -5.2e+44) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (i <= -2.9e-6) {
tmp = t_2;
} else if (i <= -9e-43) {
tmp = y4 * ((j * y1) * -y3);
} else if (i <= -2.2e-195) {
tmp = t_2;
} else if (i <= -5.5e-283) {
tmp = t_1;
} else if (i <= 3e-236) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (i <= 6.4e-69) {
tmp = y4 * (y1 * ((k * y2) - (j * y3)));
} else if (i <= 7.5e-5) {
tmp = t_1;
} else {
tmp = c * (i * ((z * t) - (x * y)));
}
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 = y4 * (t * ((b * j) - (c * y2)))
t_2 = y0 * (y2 * ((x * c) - (k * y5)))
if (i <= (-9.5d+135)) then
tmp = k * (i * ((y * y5) - (z * y1)))
else if (i <= (-5.2d+44)) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (i <= (-2.9d-6)) then
tmp = t_2
else if (i <= (-9d-43)) then
tmp = y4 * ((j * y1) * -y3)
else if (i <= (-2.2d-195)) then
tmp = t_2
else if (i <= (-5.5d-283)) then
tmp = t_1
else if (i <= 3d-236) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (i <= 6.4d-69) then
tmp = y4 * (y1 * ((k * y2) - (j * y3)))
else if (i <= 7.5d-5) then
tmp = t_1
else
tmp = c * (i * ((z * t) - (x * y)))
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 * (t * ((b * j) - (c * y2)));
double t_2 = y0 * (y2 * ((x * c) - (k * y5)));
double tmp;
if (i <= -9.5e+135) {
tmp = k * (i * ((y * y5) - (z * y1)));
} else if (i <= -5.2e+44) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (i <= -2.9e-6) {
tmp = t_2;
} else if (i <= -9e-43) {
tmp = y4 * ((j * y1) * -y3);
} else if (i <= -2.2e-195) {
tmp = t_2;
} else if (i <= -5.5e-283) {
tmp = t_1;
} else if (i <= 3e-236) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (i <= 6.4e-69) {
tmp = y4 * (y1 * ((k * y2) - (j * y3)));
} else if (i <= 7.5e-5) {
tmp = t_1;
} else {
tmp = c * (i * ((z * t) - (x * y)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y4 * (t * ((b * j) - (c * y2))) t_2 = y0 * (y2 * ((x * c) - (k * y5))) tmp = 0 if i <= -9.5e+135: tmp = k * (i * ((y * y5) - (z * y1))) elif i <= -5.2e+44: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif i <= -2.9e-6: tmp = t_2 elif i <= -9e-43: tmp = y4 * ((j * y1) * -y3) elif i <= -2.2e-195: tmp = t_2 elif i <= -5.5e-283: tmp = t_1 elif i <= 3e-236: tmp = c * (y4 * ((y * y3) - (t * y2))) elif i <= 6.4e-69: tmp = y4 * (y1 * ((k * y2) - (j * y3))) elif i <= 7.5e-5: tmp = t_1 else: tmp = c * (i * ((z * t) - (x * y))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y4 * Float64(t * Float64(Float64(b * j) - Float64(c * y2)))) t_2 = Float64(y0 * Float64(y2 * Float64(Float64(x * c) - Float64(k * y5)))) tmp = 0.0 if (i <= -9.5e+135) tmp = Float64(k * Float64(i * Float64(Float64(y * y5) - Float64(z * y1)))); elseif (i <= -5.2e+44) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (i <= -2.9e-6) tmp = t_2; elseif (i <= -9e-43) tmp = Float64(y4 * Float64(Float64(j * y1) * Float64(-y3))); elseif (i <= -2.2e-195) tmp = t_2; elseif (i <= -5.5e-283) tmp = t_1; elseif (i <= 3e-236) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (i <= 6.4e-69) tmp = Float64(y4 * Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))); elseif (i <= 7.5e-5) tmp = t_1; else tmp = Float64(c * Float64(i * Float64(Float64(z * t) - Float64(x * y)))); 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 * (t * ((b * j) - (c * y2))); t_2 = y0 * (y2 * ((x * c) - (k * y5))); tmp = 0.0; if (i <= -9.5e+135) tmp = k * (i * ((y * y5) - (z * y1))); elseif (i <= -5.2e+44) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (i <= -2.9e-6) tmp = t_2; elseif (i <= -9e-43) tmp = y4 * ((j * y1) * -y3); elseif (i <= -2.2e-195) tmp = t_2; elseif (i <= -5.5e-283) tmp = t_1; elseif (i <= 3e-236) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (i <= 6.4e-69) tmp = y4 * (y1 * ((k * y2) - (j * y3))); elseif (i <= 7.5e-5) tmp = t_1; else tmp = c * (i * ((z * t) - (x * y))); 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[(y4 * N[(t * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y0 * N[(y2 * N[(N[(x * c), $MachinePrecision] - N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -9.5e+135], N[(k * N[(i * N[(N[(y * y5), $MachinePrecision] - N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -5.2e+44], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -2.9e-6], t$95$2, If[LessEqual[i, -9e-43], N[(y4 * N[(N[(j * y1), $MachinePrecision] * (-y3)), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -2.2e-195], t$95$2, If[LessEqual[i, -5.5e-283], t$95$1, If[LessEqual[i, 3e-236], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 6.4e-69], N[(y4 * N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 7.5e-5], t$95$1, N[(c * N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y4 \cdot \left(t \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
t_2 := y0 \cdot \left(y2 \cdot \left(x \cdot c - k \cdot y5\right)\right)\\
\mathbf{if}\;i \leq -9.5 \cdot 10^{+135}:\\
\;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\
\mathbf{elif}\;i \leq -5.2 \cdot 10^{+44}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;i \leq -2.9 \cdot 10^{-6}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;i \leq -9 \cdot 10^{-43}:\\
\;\;\;\;y4 \cdot \left(\left(j \cdot y1\right) \cdot \left(-y3\right)\right)\\
\mathbf{elif}\;i \leq -2.2 \cdot 10^{-195}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;i \leq -5.5 \cdot 10^{-283}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;i \leq 3 \cdot 10^{-236}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;i \leq 6.4 \cdot 10^{-69}:\\
\;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\mathbf{elif}\;i \leq 7.5 \cdot 10^{-5}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(i \cdot \left(z \cdot t - x \cdot y\right)\right)\\
\end{array}
\end{array}
if i < -9.50000000000000036e135Initial program 13.2%
+-commutative13.2%
fma-def13.2%
*-commutative13.2%
*-commutative13.2%
Simplified15.8%
Taylor expanded in k around inf 45.2%
Taylor expanded in i around inf 48.2%
mul-1-neg48.2%
sub-neg48.2%
*-commutative48.2%
Simplified48.2%
if -9.50000000000000036e135 < i < -5.1999999999999998e44Initial program 47.0%
+-commutative47.0%
fma-def47.0%
*-commutative47.0%
*-commutative47.0%
Simplified52.9%
Taylor expanded in j around inf 47.5%
Taylor expanded in y0 around inf 53.6%
*-commutative53.6%
Simplified53.6%
if -5.1999999999999998e44 < i < -2.9000000000000002e-6 or -9.0000000000000005e-43 < i < -2.20000000000000005e-195Initial program 37.5%
+-commutative37.5%
fma-def37.5%
*-commutative37.5%
*-commutative37.5%
Simplified42.5%
Taylor expanded in y0 around inf 38.5%
mul-1-neg38.5%
Simplified38.5%
Taylor expanded in y2 around inf 41.5%
if -2.9000000000000002e-6 < i < -9.0000000000000005e-43Initial program 37.5%
+-commutative37.5%
fma-def37.5%
*-commutative37.5%
*-commutative37.5%
Simplified37.5%
Taylor expanded in j around inf 62.7%
Taylor expanded in y1 around -inf 75.2%
associate-*r*75.2%
neg-mul-175.2%
Simplified75.2%
Taylor expanded in y4 around inf 75.3%
mul-1-neg75.3%
distribute-rgt-neg-in75.3%
associate-*r*75.3%
*-commutative75.3%
associate-*l*75.3%
Simplified75.3%
if -2.20000000000000005e-195 < i < -5.49999999999999953e-283 or 6.39999999999999997e-69 < i < 7.49999999999999934e-5Initial program 22.7%
associate-+l-22.7%
Simplified22.7%
Taylor expanded in y4 around inf 42.3%
Taylor expanded in t around inf 43.0%
if -5.49999999999999953e-283 < i < 3.00000000000000014e-236Initial program 54.7%
associate-+l-54.7%
Simplified54.7%
Taylor expanded in y4 around inf 50.2%
Taylor expanded in c around inf 50.7%
if 3.00000000000000014e-236 < i < 6.39999999999999997e-69Initial program 37.4%
associate-+l-37.4%
Simplified37.4%
Taylor expanded in y4 around inf 56.1%
Taylor expanded in y1 around inf 53.8%
if 7.49999999999999934e-5 < i Initial program 14.8%
associate-+l-14.8%
Simplified14.8%
Taylor expanded in i around -inf 56.6%
mul-1-neg56.6%
associate--l+56.6%
Simplified56.6%
Taylor expanded in c around inf 55.2%
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 (* y4 (* c (- (* y y3) (* t y2))))))
(if (<= c -7.6e-39)
t_1
(if (<= c -1.5e-265)
(* (* t j) (- (* b y4) (* i y5)))
(if (<= c 7.4e-304)
(* k (* i (- (* y y5) (* z y1))))
(if (<= c 4e-291)
(* y4 (* y1 (- (* k y2) (* j y3))))
(if (<= c 9e-223)
(* j (* x (- (* i y1) (* b y0))))
(if (<= c 6e-76)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= c 5.2e+68)
(* y4 (* t (- (* b j) (* c 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 = y4 * (c * ((y * y3) - (t * y2)));
double tmp;
if (c <= -7.6e-39) {
tmp = t_1;
} else if (c <= -1.5e-265) {
tmp = (t * j) * ((b * y4) - (i * y5));
} else if (c <= 7.4e-304) {
tmp = k * (i * ((y * y5) - (z * y1)));
} else if (c <= 4e-291) {
tmp = y4 * (y1 * ((k * y2) - (j * y3)));
} else if (c <= 9e-223) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (c <= 6e-76) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (c <= 5.2e+68) {
tmp = y4 * (t * ((b * j) - (c * 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) :: tmp
t_1 = y4 * (c * ((y * y3) - (t * y2)))
if (c <= (-7.6d-39)) then
tmp = t_1
else if (c <= (-1.5d-265)) then
tmp = (t * j) * ((b * y4) - (i * y5))
else if (c <= 7.4d-304) then
tmp = k * (i * ((y * y5) - (z * y1)))
else if (c <= 4d-291) then
tmp = y4 * (y1 * ((k * y2) - (j * y3)))
else if (c <= 9d-223) then
tmp = j * (x * ((i * y1) - (b * y0)))
else if (c <= 6d-76) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (c <= 5.2d+68) then
tmp = y4 * (t * ((b * j) - (c * 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 = y4 * (c * ((y * y3) - (t * y2)));
double tmp;
if (c <= -7.6e-39) {
tmp = t_1;
} else if (c <= -1.5e-265) {
tmp = (t * j) * ((b * y4) - (i * y5));
} else if (c <= 7.4e-304) {
tmp = k * (i * ((y * y5) - (z * y1)));
} else if (c <= 4e-291) {
tmp = y4 * (y1 * ((k * y2) - (j * y3)));
} else if (c <= 9e-223) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (c <= 6e-76) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (c <= 5.2e+68) {
tmp = y4 * (t * ((b * j) - (c * 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 = y4 * (c * ((y * y3) - (t * y2))) tmp = 0 if c <= -7.6e-39: tmp = t_1 elif c <= -1.5e-265: tmp = (t * j) * ((b * y4) - (i * y5)) elif c <= 7.4e-304: tmp = k * (i * ((y * y5) - (z * y1))) elif c <= 4e-291: tmp = y4 * (y1 * ((k * y2) - (j * y3))) elif c <= 9e-223: tmp = j * (x * ((i * y1) - (b * y0))) elif c <= 6e-76: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif c <= 5.2e+68: tmp = y4 * (t * ((b * j) - (c * 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(y4 * Float64(c * Float64(Float64(y * y3) - Float64(t * y2)))) tmp = 0.0 if (c <= -7.6e-39) tmp = t_1; elseif (c <= -1.5e-265) tmp = Float64(Float64(t * j) * Float64(Float64(b * y4) - Float64(i * y5))); elseif (c <= 7.4e-304) tmp = Float64(k * Float64(i * Float64(Float64(y * y5) - Float64(z * y1)))); elseif (c <= 4e-291) tmp = Float64(y4 * Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))); elseif (c <= 9e-223) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); elseif (c <= 6e-76) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (c <= 5.2e+68) tmp = Float64(y4 * Float64(t * Float64(Float64(b * j) - Float64(c * 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 = y4 * (c * ((y * y3) - (t * y2))); tmp = 0.0; if (c <= -7.6e-39) tmp = t_1; elseif (c <= -1.5e-265) tmp = (t * j) * ((b * y4) - (i * y5)); elseif (c <= 7.4e-304) tmp = k * (i * ((y * y5) - (z * y1))); elseif (c <= 4e-291) tmp = y4 * (y1 * ((k * y2) - (j * y3))); elseif (c <= 9e-223) tmp = j * (x * ((i * y1) - (b * y0))); elseif (c <= 6e-76) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (c <= 5.2e+68) tmp = y4 * (t * ((b * j) - (c * 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[(y4 * N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -7.6e-39], t$95$1, If[LessEqual[c, -1.5e-265], N[(N[(t * j), $MachinePrecision] * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 7.4e-304], N[(k * N[(i * N[(N[(y * y5), $MachinePrecision] - N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 4e-291], N[(y4 * N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 9e-223], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 6e-76], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 5.2e+68], N[(y4 * N[(t * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y4 \cdot \left(c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{if}\;c \leq -7.6 \cdot 10^{-39}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;c \leq -1.5 \cdot 10^{-265}:\\
\;\;\;\;\left(t \cdot j\right) \cdot \left(b \cdot y4 - i \cdot y5\right)\\
\mathbf{elif}\;c \leq 7.4 \cdot 10^{-304}:\\
\;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\
\mathbf{elif}\;c \leq 4 \cdot 10^{-291}:\\
\;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\mathbf{elif}\;c \leq 9 \cdot 10^{-223}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;c \leq 6 \cdot 10^{-76}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;c \leq 5.2 \cdot 10^{+68}:\\
\;\;\;\;y4 \cdot \left(t \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if c < -7.6000000000000004e-39 or 5.1999999999999996e68 < c Initial program 21.8%
associate-+l-21.8%
Simplified21.8%
Taylor expanded in y4 around inf 40.6%
Taylor expanded in c around inf 42.2%
Taylor expanded in y around 0 33.3%
associate-*r*33.3%
mul-1-neg33.3%
associate-*r*27.9%
distribute-rgt-neg-in27.9%
distribute-lft-in42.2%
sub-neg42.2%
associate-*r*42.2%
*-commutative42.2%
associate-*l*47.3%
Simplified47.3%
if -7.6000000000000004e-39 < c < -1.4999999999999999e-265Initial program 32.9%
+-commutative32.9%
fma-def32.9%
*-commutative32.9%
*-commutative32.9%
Simplified32.9%
Taylor expanded in j around inf 36.4%
Taylor expanded in t around inf 38.0%
associate-*r*42.1%
Simplified42.1%
if -1.4999999999999999e-265 < c < 7.4000000000000006e-304Initial program 46.2%
+-commutative46.2%
fma-def46.2%
*-commutative46.2%
*-commutative46.2%
Simplified53.8%
Taylor expanded in k around inf 46.7%
Taylor expanded in i around inf 69.8%
mul-1-neg69.8%
sub-neg69.8%
*-commutative69.8%
Simplified69.8%
if 7.4000000000000006e-304 < c < 3.99999999999999985e-291Initial program 28.6%
associate-+l-28.6%
Simplified28.6%
Taylor expanded in y4 around inf 29.1%
Taylor expanded in y1 around inf 58.4%
if 3.99999999999999985e-291 < c < 8.99999999999999935e-223Initial program 26.7%
+-commutative26.7%
fma-def26.7%
*-commutative26.7%
*-commutative26.7%
Simplified40.0%
Taylor expanded in j around inf 40.5%
Taylor expanded in x around inf 41.2%
if 8.99999999999999935e-223 < c < 6.00000000000000048e-76Initial program 32.2%
+-commutative32.2%
fma-def32.2%
*-commutative32.2%
*-commutative32.2%
Simplified32.2%
Taylor expanded in j around inf 42.5%
Taylor expanded in y0 around inf 39.9%
*-commutative39.9%
Simplified39.9%
if 6.00000000000000048e-76 < c < 5.1999999999999996e68Initial program 37.4%
associate-+l-37.4%
Simplified37.4%
Taylor expanded in y4 around inf 47.1%
Taylor expanded in t around inf 57.0%
Final simplification47.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y4 (* t (- (* b j) (* c y2)))))
(t_2 (* j (* y1 (- (* x i) (* y3 y4))))))
(if (<= i -5.5e+135)
(* k (* i (- (* y y5) (* z y1))))
(if (<= i -7.8e+43)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= i -4.2e-6)
(* y0 (* y2 (- (* x c) (* k y5))))
(if (<= i -2.5e-126)
t_2
(if (<= i 1.15e-127)
t_1
(if (<= i 1.15e-95)
t_2
(if (<= i 0.0115) t_1 (* c (* i (- (* z t) (* x y)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y4 * (t * ((b * j) - (c * y2)));
double t_2 = j * (y1 * ((x * i) - (y3 * y4)));
double tmp;
if (i <= -5.5e+135) {
tmp = k * (i * ((y * y5) - (z * y1)));
} else if (i <= -7.8e+43) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (i <= -4.2e-6) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else if (i <= -2.5e-126) {
tmp = t_2;
} else if (i <= 1.15e-127) {
tmp = t_1;
} else if (i <= 1.15e-95) {
tmp = t_2;
} else if (i <= 0.0115) {
tmp = t_1;
} else {
tmp = c * (i * ((z * t) - (x * y)));
}
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 = y4 * (t * ((b * j) - (c * y2)))
t_2 = j * (y1 * ((x * i) - (y3 * y4)))
if (i <= (-5.5d+135)) then
tmp = k * (i * ((y * y5) - (z * y1)))
else if (i <= (-7.8d+43)) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (i <= (-4.2d-6)) then
tmp = y0 * (y2 * ((x * c) - (k * y5)))
else if (i <= (-2.5d-126)) then
tmp = t_2
else if (i <= 1.15d-127) then
tmp = t_1
else if (i <= 1.15d-95) then
tmp = t_2
else if (i <= 0.0115d0) then
tmp = t_1
else
tmp = c * (i * ((z * t) - (x * y)))
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 * (t * ((b * j) - (c * y2)));
double t_2 = j * (y1 * ((x * i) - (y3 * y4)));
double tmp;
if (i <= -5.5e+135) {
tmp = k * (i * ((y * y5) - (z * y1)));
} else if (i <= -7.8e+43) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (i <= -4.2e-6) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else if (i <= -2.5e-126) {
tmp = t_2;
} else if (i <= 1.15e-127) {
tmp = t_1;
} else if (i <= 1.15e-95) {
tmp = t_2;
} else if (i <= 0.0115) {
tmp = t_1;
} else {
tmp = c * (i * ((z * t) - (x * y)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y4 * (t * ((b * j) - (c * y2))) t_2 = j * (y1 * ((x * i) - (y3 * y4))) tmp = 0 if i <= -5.5e+135: tmp = k * (i * ((y * y5) - (z * y1))) elif i <= -7.8e+43: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif i <= -4.2e-6: tmp = y0 * (y2 * ((x * c) - (k * y5))) elif i <= -2.5e-126: tmp = t_2 elif i <= 1.15e-127: tmp = t_1 elif i <= 1.15e-95: tmp = t_2 elif i <= 0.0115: tmp = t_1 else: tmp = c * (i * ((z * t) - (x * y))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y4 * Float64(t * Float64(Float64(b * j) - Float64(c * y2)))) t_2 = Float64(j * Float64(y1 * Float64(Float64(x * i) - Float64(y3 * y4)))) tmp = 0.0 if (i <= -5.5e+135) tmp = Float64(k * Float64(i * Float64(Float64(y * y5) - Float64(z * y1)))); elseif (i <= -7.8e+43) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (i <= -4.2e-6) tmp = Float64(y0 * Float64(y2 * Float64(Float64(x * c) - Float64(k * y5)))); elseif (i <= -2.5e-126) tmp = t_2; elseif (i <= 1.15e-127) tmp = t_1; elseif (i <= 1.15e-95) tmp = t_2; elseif (i <= 0.0115) tmp = t_1; else tmp = Float64(c * Float64(i * Float64(Float64(z * t) - Float64(x * y)))); 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 * (t * ((b * j) - (c * y2))); t_2 = j * (y1 * ((x * i) - (y3 * y4))); tmp = 0.0; if (i <= -5.5e+135) tmp = k * (i * ((y * y5) - (z * y1))); elseif (i <= -7.8e+43) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (i <= -4.2e-6) tmp = y0 * (y2 * ((x * c) - (k * y5))); elseif (i <= -2.5e-126) tmp = t_2; elseif (i <= 1.15e-127) tmp = t_1; elseif (i <= 1.15e-95) tmp = t_2; elseif (i <= 0.0115) tmp = t_1; else tmp = c * (i * ((z * t) - (x * y))); 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[(y4 * N[(t * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(j * N[(y1 * N[(N[(x * i), $MachinePrecision] - N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -5.5e+135], N[(k * N[(i * N[(N[(y * y5), $MachinePrecision] - N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -7.8e+43], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -4.2e-6], N[(y0 * N[(y2 * N[(N[(x * c), $MachinePrecision] - N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -2.5e-126], t$95$2, If[LessEqual[i, 1.15e-127], t$95$1, If[LessEqual[i, 1.15e-95], t$95$2, If[LessEqual[i, 0.0115], t$95$1, N[(c * N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y4 \cdot \left(t \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
t_2 := j \cdot \left(y1 \cdot \left(x \cdot i - y3 \cdot y4\right)\right)\\
\mathbf{if}\;i \leq -5.5 \cdot 10^{+135}:\\
\;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\
\mathbf{elif}\;i \leq -7.8 \cdot 10^{+43}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;i \leq -4.2 \cdot 10^{-6}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c - k \cdot y5\right)\right)\\
\mathbf{elif}\;i \leq -2.5 \cdot 10^{-126}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;i \leq 1.15 \cdot 10^{-127}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;i \leq 1.15 \cdot 10^{-95}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;i \leq 0.0115:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(i \cdot \left(z \cdot t - x \cdot y\right)\right)\\
\end{array}
\end{array}
if i < -5.4999999999999999e135Initial program 13.2%
+-commutative13.2%
fma-def13.2%
*-commutative13.2%
*-commutative13.2%
Simplified15.8%
Taylor expanded in k around inf 45.2%
Taylor expanded in i around inf 48.2%
mul-1-neg48.2%
sub-neg48.2%
*-commutative48.2%
Simplified48.2%
if -5.4999999999999999e135 < i < -7.8000000000000001e43Initial program 47.0%
+-commutative47.0%
fma-def47.0%
*-commutative47.0%
*-commutative47.0%
Simplified52.9%
Taylor expanded in j around inf 47.5%
Taylor expanded in y0 around inf 53.6%
*-commutative53.6%
Simplified53.6%
if -7.8000000000000001e43 < i < -4.1999999999999996e-6Initial program 33.2%
+-commutative33.2%
fma-def33.2%
*-commutative33.2%
*-commutative33.2%
Simplified33.2%
Taylor expanded in y0 around inf 56.4%
mul-1-neg56.4%
Simplified56.4%
Taylor expanded in y2 around inf 56.8%
if -4.1999999999999996e-6 < i < -2.50000000000000003e-126 or 1.15000000000000009e-127 < i < 1.15e-95Initial program 39.4%
+-commutative39.4%
fma-def39.4%
*-commutative39.4%
*-commutative39.4%
Simplified41.8%
Taylor expanded in j around inf 52.2%
Taylor expanded in y1 around -inf 47.9%
associate-*r*47.9%
neg-mul-147.9%
Simplified47.9%
if -2.50000000000000003e-126 < i < 1.15000000000000009e-127 or 1.15e-95 < i < 0.0115Initial program 36.2%
associate-+l-36.2%
Simplified36.2%
Taylor expanded in y4 around inf 46.5%
Taylor expanded in t around inf 44.7%
if 0.0115 < i Initial program 14.8%
associate-+l-14.8%
Simplified14.8%
Taylor expanded in i around -inf 56.6%
mul-1-neg56.6%
associate--l+56.6%
Simplified56.6%
Taylor expanded in c around inf 55.2%
Final simplification49.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= x -8.7e+108)
(* i (* y1 (* x j)))
(if (<= x -7e-182)
(* y0 (* y3 (* j y5)))
(if (<= x -9e-308)
(* k (* y4 (* y1 y2)))
(if (<= x 6.1e-273)
(* c (* y4 (* y y3)))
(if (<= x 4.2e-205)
(* c (* y4 (* t (- y2))))
(if (<= x 1.55e-188)
(* j (* y4 (* y1 (- y3))))
(if (<= x 5.1e-34)
(* y0 (* c (* z (- y3))))
(* j (* y0 (* 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 <= -8.7e+108) {
tmp = i * (y1 * (x * j));
} else if (x <= -7e-182) {
tmp = y0 * (y3 * (j * y5));
} else if (x <= -9e-308) {
tmp = k * (y4 * (y1 * y2));
} else if (x <= 6.1e-273) {
tmp = c * (y4 * (y * y3));
} else if (x <= 4.2e-205) {
tmp = c * (y4 * (t * -y2));
} else if (x <= 1.55e-188) {
tmp = j * (y4 * (y1 * -y3));
} else if (x <= 5.1e-34) {
tmp = y0 * (c * (z * -y3));
} else {
tmp = j * (y0 * (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 <= (-8.7d+108)) then
tmp = i * (y1 * (x * j))
else if (x <= (-7d-182)) then
tmp = y0 * (y3 * (j * y5))
else if (x <= (-9d-308)) then
tmp = k * (y4 * (y1 * y2))
else if (x <= 6.1d-273) then
tmp = c * (y4 * (y * y3))
else if (x <= 4.2d-205) then
tmp = c * (y4 * (t * -y2))
else if (x <= 1.55d-188) then
tmp = j * (y4 * (y1 * -y3))
else if (x <= 5.1d-34) then
tmp = y0 * (c * (z * -y3))
else
tmp = j * (y0 * (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 <= -8.7e+108) {
tmp = i * (y1 * (x * j));
} else if (x <= -7e-182) {
tmp = y0 * (y3 * (j * y5));
} else if (x <= -9e-308) {
tmp = k * (y4 * (y1 * y2));
} else if (x <= 6.1e-273) {
tmp = c * (y4 * (y * y3));
} else if (x <= 4.2e-205) {
tmp = c * (y4 * (t * -y2));
} else if (x <= 1.55e-188) {
tmp = j * (y4 * (y1 * -y3));
} else if (x <= 5.1e-34) {
tmp = y0 * (c * (z * -y3));
} else {
tmp = j * (y0 * (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 <= -8.7e+108: tmp = i * (y1 * (x * j)) elif x <= -7e-182: tmp = y0 * (y3 * (j * y5)) elif x <= -9e-308: tmp = k * (y4 * (y1 * y2)) elif x <= 6.1e-273: tmp = c * (y4 * (y * y3)) elif x <= 4.2e-205: tmp = c * (y4 * (t * -y2)) elif x <= 1.55e-188: tmp = j * (y4 * (y1 * -y3)) elif x <= 5.1e-34: tmp = y0 * (c * (z * -y3)) else: tmp = j * (y0 * (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 <= -8.7e+108) tmp = Float64(i * Float64(y1 * Float64(x * j))); elseif (x <= -7e-182) tmp = Float64(y0 * Float64(y3 * Float64(j * y5))); elseif (x <= -9e-308) tmp = Float64(k * Float64(y4 * Float64(y1 * y2))); elseif (x <= 6.1e-273) tmp = Float64(c * Float64(y4 * Float64(y * y3))); elseif (x <= 4.2e-205) tmp = Float64(c * Float64(y4 * Float64(t * Float64(-y2)))); elseif (x <= 1.55e-188) tmp = Float64(j * Float64(y4 * Float64(y1 * Float64(-y3)))); elseif (x <= 5.1e-34) tmp = Float64(y0 * Float64(c * Float64(z * Float64(-y3)))); else tmp = Float64(j * Float64(y0 * Float64(x * Float64(-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 <= -8.7e+108) tmp = i * (y1 * (x * j)); elseif (x <= -7e-182) tmp = y0 * (y3 * (j * y5)); elseif (x <= -9e-308) tmp = k * (y4 * (y1 * y2)); elseif (x <= 6.1e-273) tmp = c * (y4 * (y * y3)); elseif (x <= 4.2e-205) tmp = c * (y4 * (t * -y2)); elseif (x <= 1.55e-188) tmp = j * (y4 * (y1 * -y3)); elseif (x <= 5.1e-34) tmp = y0 * (c * (z * -y3)); else tmp = j * (y0 * (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, -8.7e+108], N[(i * N[(y1 * N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -7e-182], N[(y0 * N[(y3 * N[(j * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -9e-308], N[(k * N[(y4 * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 6.1e-273], N[(c * N[(y4 * N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 4.2e-205], N[(c * N[(y4 * N[(t * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.55e-188], N[(j * N[(y4 * N[(y1 * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 5.1e-34], N[(y0 * N[(c * N[(z * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(j * N[(y0 * N[(x * (-b)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -8.7 \cdot 10^{+108}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j\right)\right)\\
\mathbf{elif}\;x \leq -7 \cdot 10^{-182}:\\
\;\;\;\;y0 \cdot \left(y3 \cdot \left(j \cdot y5\right)\right)\\
\mathbf{elif}\;x \leq -9 \cdot 10^{-308}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2\right)\right)\\
\mathbf{elif}\;x \leq 6.1 \cdot 10^{-273}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3\right)\right)\\
\mathbf{elif}\;x \leq 4.2 \cdot 10^{-205}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(t \cdot \left(-y2\right)\right)\right)\\
\mathbf{elif}\;x \leq 1.55 \cdot 10^{-188}:\\
\;\;\;\;j \cdot \left(y4 \cdot \left(y1 \cdot \left(-y3\right)\right)\right)\\
\mathbf{elif}\;x \leq 5.1 \cdot 10^{-34}:\\
\;\;\;\;y0 \cdot \left(c \cdot \left(z \cdot \left(-y3\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(x \cdot \left(-b\right)\right)\right)\\
\end{array}
\end{array}
if x < -8.6999999999999997e108Initial program 20.9%
+-commutative20.9%
fma-def20.9%
*-commutative20.9%
*-commutative20.9%
Simplified20.9%
Taylor expanded in j around inf 28.4%
Taylor expanded in x around inf 36.0%
Taylor expanded in y1 around inf 42.8%
if -8.6999999999999997e108 < x < -6.99999999999999966e-182Initial program 29.3%
+-commutative29.3%
fma-def32.8%
*-commutative32.8%
*-commutative32.8%
Simplified34.5%
Taylor expanded in j around inf 35.2%
Taylor expanded in y5 around inf 28.8%
mul-1-neg28.8%
unsub-neg28.8%
*-commutative28.8%
*-commutative28.8%
Simplified28.8%
Taylor expanded in y0 around inf 23.7%
if -6.99999999999999966e-182 < x < -9.00000000000000017e-308Initial program 45.2%
associate-+l-45.2%
Simplified45.2%
Taylor expanded in y4 around inf 45.5%
Taylor expanded in k around inf 49.0%
associate-*r*40.0%
+-commutative40.0%
mul-1-neg40.0%
unsub-neg40.0%
*-commutative40.0%
Simplified40.0%
Taylor expanded in y1 around inf 36.6%
if -9.00000000000000017e-308 < x < 6.09999999999999975e-273Initial program 50.0%
associate-+l-50.0%
Simplified50.0%
Taylor expanded in y4 around inf 70.0%
Taylor expanded in c around inf 60.7%
Taylor expanded in y around inf 50.7%
if 6.09999999999999975e-273 < x < 4.19999999999999965e-205Initial program 23.4%
associate-+l-23.4%
Simplified23.4%
Taylor expanded in y4 around inf 39.0%
Taylor expanded in c around inf 46.4%
Taylor expanded in y around 0 46.4%
mul-1-neg46.4%
distribute-rgt-neg-in46.4%
distribute-rgt-neg-in46.4%
distribute-rgt-neg-in46.4%
Simplified46.4%
if 4.19999999999999965e-205 < x < 1.5500000000000001e-188Initial program 66.7%
+-commutative66.7%
fma-def66.7%
*-commutative66.7%
*-commutative66.7%
Simplified66.7%
Taylor expanded in j around inf 83.1%
Taylor expanded in y1 around -inf 66.9%
associate-*r*66.9%
neg-mul-166.9%
Simplified66.9%
Taylor expanded in y4 around inf 83.2%
mul-1-neg83.2%
distribute-rgt-neg-in83.2%
Simplified83.2%
if 1.5500000000000001e-188 < x < 5.1000000000000001e-34Initial program 30.8%
+-commutative30.8%
fma-def30.8%
*-commutative30.8%
*-commutative30.8%
Simplified34.6%
Taylor expanded in y0 around inf 43.0%
mul-1-neg43.0%
Simplified43.0%
Taylor expanded in c around inf 35.6%
*-commutative35.6%
*-commutative35.6%
associate-*l*39.2%
*-commutative39.2%
Simplified39.2%
Taylor expanded in x around 0 43.6%
associate-*r*43.6%
neg-mul-143.6%
Simplified43.6%
if 5.1000000000000001e-34 < x Initial program 19.4%
+-commutative19.4%
fma-def19.4%
*-commutative19.4%
*-commutative19.4%
Simplified23.8%
Taylor expanded in j around inf 43.6%
Taylor expanded in x around inf 48.0%
Taylor expanded in i around 0 38.6%
associate-*r*38.6%
neg-mul-138.6%
Simplified38.6%
Final simplification38.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* k (* i (- (* y y5) (* z y1))))))
(if (<= i -1.5e+164)
t_1
(if (<= i 5.8e-236)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= i 2.4e-9)
(* j (* y1 (* y4 (- y3))))
(if (or (<= i 5.1e+163) (not (<= i 2.15e+268)))
t_1
(* j (* y1 (* x 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 = k * (i * ((y * y5) - (z * y1)));
double tmp;
if (i <= -1.5e+164) {
tmp = t_1;
} else if (i <= 5.8e-236) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (i <= 2.4e-9) {
tmp = j * (y1 * (y4 * -y3));
} else if ((i <= 5.1e+163) || !(i <= 2.15e+268)) {
tmp = t_1;
} else {
tmp = j * (y1 * (x * 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) :: tmp
t_1 = k * (i * ((y * y5) - (z * y1)))
if (i <= (-1.5d+164)) then
tmp = t_1
else if (i <= 5.8d-236) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (i <= 2.4d-9) then
tmp = j * (y1 * (y4 * -y3))
else if ((i <= 5.1d+163) .or. (.not. (i <= 2.15d+268))) then
tmp = t_1
else
tmp = j * (y1 * (x * 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 = k * (i * ((y * y5) - (z * y1)));
double tmp;
if (i <= -1.5e+164) {
tmp = t_1;
} else if (i <= 5.8e-236) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (i <= 2.4e-9) {
tmp = j * (y1 * (y4 * -y3));
} else if ((i <= 5.1e+163) || !(i <= 2.15e+268)) {
tmp = t_1;
} else {
tmp = j * (y1 * (x * i));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = k * (i * ((y * y5) - (z * y1))) tmp = 0 if i <= -1.5e+164: tmp = t_1 elif i <= 5.8e-236: tmp = c * (y4 * ((y * y3) - (t * y2))) elif i <= 2.4e-9: tmp = j * (y1 * (y4 * -y3)) elif (i <= 5.1e+163) or not (i <= 2.15e+268): tmp = t_1 else: tmp = j * (y1 * (x * i)) 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(i * Float64(Float64(y * y5) - Float64(z * y1)))) tmp = 0.0 if (i <= -1.5e+164) tmp = t_1; elseif (i <= 5.8e-236) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (i <= 2.4e-9) tmp = Float64(j * Float64(y1 * Float64(y4 * Float64(-y3)))); elseif ((i <= 5.1e+163) || !(i <= 2.15e+268)) tmp = t_1; else tmp = Float64(j * Float64(y1 * Float64(x * 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 = k * (i * ((y * y5) - (z * y1))); tmp = 0.0; if (i <= -1.5e+164) tmp = t_1; elseif (i <= 5.8e-236) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (i <= 2.4e-9) tmp = j * (y1 * (y4 * -y3)); elseif ((i <= 5.1e+163) || ~((i <= 2.15e+268))) tmp = t_1; else tmp = j * (y1 * (x * 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[(k * N[(i * N[(N[(y * y5), $MachinePrecision] - N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -1.5e+164], t$95$1, If[LessEqual[i, 5.8e-236], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 2.4e-9], N[(j * N[(y1 * N[(y4 * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[i, 5.1e+163], N[Not[LessEqual[i, 2.15e+268]], $MachinePrecision]], t$95$1, N[(j * N[(y1 * N[(x * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\
\mathbf{if}\;i \leq -1.5 \cdot 10^{+164}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;i \leq 5.8 \cdot 10^{-236}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;i \leq 2.4 \cdot 10^{-9}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(y4 \cdot \left(-y3\right)\right)\right)\\
\mathbf{elif}\;i \leq 5.1 \cdot 10^{+163} \lor \neg \left(i \leq 2.15 \cdot 10^{+268}\right):\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(x \cdot i\right)\right)\\
\end{array}
\end{array}
if i < -1.5e164 or 2.4e-9 < i < 5.1000000000000002e163 or 2.14999999999999985e268 < i Initial program 14.7%
+-commutative14.7%
fma-def14.7%
*-commutative14.7%
*-commutative14.7%
Simplified17.6%
Taylor expanded in k around inf 40.9%
Taylor expanded in i around inf 49.8%
mul-1-neg49.8%
sub-neg49.8%
*-commutative49.8%
Simplified49.8%
if -1.5e164 < i < 5.8e-236Initial program 38.8%
associate-+l-38.8%
Simplified38.8%
Taylor expanded in y4 around inf 38.5%
Taylor expanded in c around inf 33.7%
if 5.8e-236 < i < 2.4e-9Initial program 33.7%
+-commutative33.7%
fma-def35.7%
*-commutative35.7%
*-commutative35.7%
Simplified37.7%
Taylor expanded in j around inf 51.7%
Taylor expanded in y1 around -inf 40.6%
associate-*r*40.6%
neg-mul-140.6%
Simplified40.6%
Taylor expanded in y4 around inf 38.5%
if 5.1000000000000002e163 < i < 2.14999999999999985e268Initial program 12.0%
+-commutative12.0%
fma-def16.0%
*-commutative16.0%
*-commutative16.0%
Simplified16.0%
Taylor expanded in j around inf 36.7%
Taylor expanded in x around inf 41.8%
Taylor expanded in i around inf 57.3%
*-commutative57.3%
Simplified57.3%
Final simplification41.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* k (* i (- (* y y5) (* z y1))))))
(if (<= i -1.95e+167)
t_1
(if (<= i 1.5e-237)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= i 1.8e-9)
(* j (* y1 (* y4 (- y3))))
(if (<= i 9e+161)
t_1
(if (<= i 2.9e+265)
(* j (* y1 (* x i)))
(* y0 (* c (- (* x y2) (* z y3)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = k * (i * ((y * y5) - (z * y1)));
double tmp;
if (i <= -1.95e+167) {
tmp = t_1;
} else if (i <= 1.5e-237) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (i <= 1.8e-9) {
tmp = j * (y1 * (y4 * -y3));
} else if (i <= 9e+161) {
tmp = t_1;
} else if (i <= 2.9e+265) {
tmp = j * (y1 * (x * i));
} else {
tmp = y0 * (c * ((x * y2) - (z * y3)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = k * (i * ((y * y5) - (z * y1)))
if (i <= (-1.95d+167)) then
tmp = t_1
else if (i <= 1.5d-237) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (i <= 1.8d-9) then
tmp = j * (y1 * (y4 * -y3))
else if (i <= 9d+161) then
tmp = t_1
else if (i <= 2.9d+265) then
tmp = j * (y1 * (x * i))
else
tmp = y0 * (c * ((x * y2) - (z * y3)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = k * (i * ((y * y5) - (z * y1)));
double tmp;
if (i <= -1.95e+167) {
tmp = t_1;
} else if (i <= 1.5e-237) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (i <= 1.8e-9) {
tmp = j * (y1 * (y4 * -y3));
} else if (i <= 9e+161) {
tmp = t_1;
} else if (i <= 2.9e+265) {
tmp = j * (y1 * (x * i));
} else {
tmp = y0 * (c * ((x * y2) - (z * y3)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = k * (i * ((y * y5) - (z * y1))) tmp = 0 if i <= -1.95e+167: tmp = t_1 elif i <= 1.5e-237: tmp = c * (y4 * ((y * y3) - (t * y2))) elif i <= 1.8e-9: tmp = j * (y1 * (y4 * -y3)) elif i <= 9e+161: tmp = t_1 elif i <= 2.9e+265: tmp = j * (y1 * (x * i)) else: tmp = y0 * (c * ((x * y2) - (z * y3))) 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(i * Float64(Float64(y * y5) - Float64(z * y1)))) tmp = 0.0 if (i <= -1.95e+167) tmp = t_1; elseif (i <= 1.5e-237) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (i <= 1.8e-9) tmp = Float64(j * Float64(y1 * Float64(y4 * Float64(-y3)))); elseif (i <= 9e+161) tmp = t_1; elseif (i <= 2.9e+265) tmp = Float64(j * Float64(y1 * Float64(x * i))); else tmp = Float64(y0 * Float64(c * Float64(Float64(x * y2) - Float64(z * y3)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = k * (i * ((y * y5) - (z * y1))); tmp = 0.0; if (i <= -1.95e+167) tmp = t_1; elseif (i <= 1.5e-237) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (i <= 1.8e-9) tmp = j * (y1 * (y4 * -y3)); elseif (i <= 9e+161) tmp = t_1; elseif (i <= 2.9e+265) tmp = j * (y1 * (x * i)); else tmp = y0 * (c * ((x * y2) - (z * 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[(k * N[(i * N[(N[(y * y5), $MachinePrecision] - N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -1.95e+167], t$95$1, If[LessEqual[i, 1.5e-237], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.8e-9], N[(j * N[(y1 * N[(y4 * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 9e+161], t$95$1, If[LessEqual[i, 2.9e+265], N[(j * N[(y1 * N[(x * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y0 * N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\
\mathbf{if}\;i \leq -1.95 \cdot 10^{+167}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;i \leq 1.5 \cdot 10^{-237}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;i \leq 1.8 \cdot 10^{-9}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(y4 \cdot \left(-y3\right)\right)\right)\\
\mathbf{elif}\;i \leq 9 \cdot 10^{+161}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;i \leq 2.9 \cdot 10^{+265}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(x \cdot i\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(c \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\end{array}
\end{array}
if i < -1.9499999999999999e167 or 1.8e-9 < i < 8.99999999999999984e161Initial program 16.7%
+-commutative16.7%
fma-def16.7%
*-commutative16.7%
*-commutative16.7%
Simplified19.9%
Taylor expanded in k around inf 41.3%
Taylor expanded in i around inf 48.1%
mul-1-neg48.1%
sub-neg48.1%
*-commutative48.1%
Simplified48.1%
if -1.9499999999999999e167 < i < 1.50000000000000012e-237Initial program 38.8%
associate-+l-38.8%
Simplified38.8%
Taylor expanded in y4 around inf 38.5%
Taylor expanded in c around inf 33.7%
if 1.50000000000000012e-237 < i < 1.8e-9Initial program 33.7%
+-commutative33.7%
fma-def35.7%
*-commutative35.7%
*-commutative35.7%
Simplified37.7%
Taylor expanded in j around inf 51.7%
Taylor expanded in y1 around -inf 40.6%
associate-*r*40.6%
neg-mul-140.6%
Simplified40.6%
Taylor expanded in y4 around inf 38.5%
if 8.99999999999999984e161 < i < 2.89999999999999996e265Initial program 13.0%
+-commutative13.0%
fma-def17.4%
*-commutative17.4%
*-commutative17.4%
Simplified17.4%
Taylor expanded in j around inf 39.9%
Taylor expanded in x around inf 41.1%
Taylor expanded in i around inf 58.0%
*-commutative58.0%
Simplified58.0%
if 2.89999999999999996e265 < i Initial program 0.0%
+-commutative0.0%
fma-def0.0%
*-commutative0.0%
*-commutative0.0%
Simplified0.0%
Taylor expanded in y0 around inf 50.0%
mul-1-neg50.0%
Simplified50.0%
Taylor expanded in c around inf 60.5%
*-commutative60.5%
*-commutative60.5%
associate-*l*60.5%
*-commutative60.5%
Simplified60.5%
Final simplification41.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 (<= c -1.12e+178)
t_1
(if (<= c -1.1e-18)
(* y0 (* y2 (- (* x c) (* k y5))))
(if (<= c -3.5e-176)
(* j (* y0 (* x (- b))))
(if (<= c 2.2e-102)
(* k (* i (- (* y y5) (* z y1))))
(if (<= c 1.9e+43) (* y0 (* y3 (- (* j y5) (* z c)))) t_1)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = c * (y4 * ((y * y3) - (t * y2)));
double tmp;
if (c <= -1.12e+178) {
tmp = t_1;
} else if (c <= -1.1e-18) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else if (c <= -3.5e-176) {
tmp = j * (y0 * (x * -b));
} else if (c <= 2.2e-102) {
tmp = k * (i * ((y * y5) - (z * y1)));
} else if (c <= 1.9e+43) {
tmp = y0 * (y3 * ((j * y5) - (z * c)));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = c * (y4 * ((y * y3) - (t * y2)))
if (c <= (-1.12d+178)) then
tmp = t_1
else if (c <= (-1.1d-18)) then
tmp = y0 * (y2 * ((x * c) - (k * y5)))
else if (c <= (-3.5d-176)) then
tmp = j * (y0 * (x * -b))
else if (c <= 2.2d-102) then
tmp = k * (i * ((y * y5) - (z * y1)))
else if (c <= 1.9d+43) then
tmp = y0 * (y3 * ((j * y5) - (z * c)))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = c * (y4 * ((y * y3) - (t * y2)));
double tmp;
if (c <= -1.12e+178) {
tmp = t_1;
} else if (c <= -1.1e-18) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else if (c <= -3.5e-176) {
tmp = j * (y0 * (x * -b));
} else if (c <= 2.2e-102) {
tmp = k * (i * ((y * y5) - (z * y1)));
} else if (c <= 1.9e+43) {
tmp = y0 * (y3 * ((j * y5) - (z * c)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = c * (y4 * ((y * y3) - (t * y2))) tmp = 0 if c <= -1.12e+178: tmp = t_1 elif c <= -1.1e-18: tmp = y0 * (y2 * ((x * c) - (k * y5))) elif c <= -3.5e-176: tmp = j * (y0 * (x * -b)) elif c <= 2.2e-102: tmp = k * (i * ((y * y5) - (z * y1))) elif c <= 1.9e+43: tmp = y0 * (y3 * ((j * y5) - (z * c))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))) tmp = 0.0 if (c <= -1.12e+178) tmp = t_1; elseif (c <= -1.1e-18) tmp = Float64(y0 * Float64(y2 * Float64(Float64(x * c) - Float64(k * y5)))); elseif (c <= -3.5e-176) tmp = Float64(j * Float64(y0 * Float64(x * Float64(-b)))); elseif (c <= 2.2e-102) tmp = Float64(k * Float64(i * Float64(Float64(y * y5) - Float64(z * y1)))); elseif (c <= 1.9e+43) tmp = Float64(y0 * Float64(y3 * Float64(Float64(j * y5) - Float64(z * c)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = c * (y4 * ((y * y3) - (t * y2))); tmp = 0.0; if (c <= -1.12e+178) tmp = t_1; elseif (c <= -1.1e-18) tmp = y0 * (y2 * ((x * c) - (k * y5))); elseif (c <= -3.5e-176) tmp = j * (y0 * (x * -b)); elseif (c <= 2.2e-102) tmp = k * (i * ((y * y5) - (z * y1))); elseif (c <= 1.9e+43) tmp = y0 * (y3 * ((j * y5) - (z * c))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -1.12e+178], t$95$1, If[LessEqual[c, -1.1e-18], N[(y0 * N[(y2 * N[(N[(x * c), $MachinePrecision] - N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -3.5e-176], N[(j * N[(y0 * N[(x * (-b)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2.2e-102], N[(k * N[(i * N[(N[(y * y5), $MachinePrecision] - N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.9e+43], N[(y0 * N[(y3 * N[(N[(j * y5), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{if}\;c \leq -1.12 \cdot 10^{+178}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;c \leq -1.1 \cdot 10^{-18}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c - k \cdot y5\right)\right)\\
\mathbf{elif}\;c \leq -3.5 \cdot 10^{-176}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(x \cdot \left(-b\right)\right)\right)\\
\mathbf{elif}\;c \leq 2.2 \cdot 10^{-102}:\\
\;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\
\mathbf{elif}\;c \leq 1.9 \cdot 10^{+43}:\\
\;\;\;\;y0 \cdot \left(y3 \cdot \left(j \cdot y5 - z \cdot c\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if c < -1.12000000000000001e178 or 1.90000000000000004e43 < c Initial program 15.9%
associate-+l-15.9%
Simplified15.9%
Taylor expanded in y4 around inf 42.5%
Taylor expanded in c around inf 45.7%
if -1.12000000000000001e178 < c < -1.0999999999999999e-18Initial program 36.4%
+-commutative36.4%
fma-def39.4%
*-commutative39.4%
*-commutative39.4%
Simplified45.5%
Taylor expanded in y0 around inf 43.1%
mul-1-neg43.1%
Simplified43.1%
Taylor expanded in y2 around inf 49.1%
if -1.0999999999999999e-18 < c < -3.5e-176Initial program 43.0%
+-commutative43.0%
fma-def43.0%
*-commutative43.0%
*-commutative43.0%
Simplified43.0%
Taylor expanded in j around inf 38.3%
Taylor expanded in x around inf 31.8%
Taylor expanded in i around 0 22.7%
associate-*r*22.7%
neg-mul-122.7%
Simplified22.7%
if -3.5e-176 < c < 2.20000000000000013e-102Initial program 31.3%
+-commutative31.3%
fma-def31.3%
*-commutative31.3%
*-commutative31.3%
Simplified32.6%
Taylor expanded in k around inf 38.1%
Taylor expanded in i around inf 42.0%
mul-1-neg42.0%
sub-neg42.0%
*-commutative42.0%
Simplified42.0%
if 2.20000000000000013e-102 < c < 1.90000000000000004e43Initial program 32.3%
+-commutative32.3%
fma-def35.1%
*-commutative35.1%
*-commutative35.1%
Simplified37.8%
Taylor expanded in y0 around inf 35.8%
mul-1-neg35.8%
Simplified35.8%
Taylor expanded in y3 around inf 39.3%
*-commutative39.3%
cancel-sign-sub-inv39.3%
metadata-eval39.3%
*-lft-identity39.3%
+-commutative39.3%
mul-1-neg39.3%
unsub-neg39.3%
*-commutative39.3%
Simplified39.3%
Final simplification41.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* c (* y4 (- (* y y3) (* t y2)))))
(t_2 (* y4 (* t (- (* b j) (* c y2))))))
(if (<= c -2.6e+175)
t_1
(if (<= c -1.05e-15)
(* y0 (* y2 (- (* x c) (* k y5))))
(if (<= c -1.05e-203)
t_2
(if (<= c 1.95e-78)
(* k (* i (- (* y y5) (* z y1))))
(if (<= c 2.7e+108) 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 = c * (y4 * ((y * y3) - (t * y2)));
double t_2 = y4 * (t * ((b * j) - (c * y2)));
double tmp;
if (c <= -2.6e+175) {
tmp = t_1;
} else if (c <= -1.05e-15) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else if (c <= -1.05e-203) {
tmp = t_2;
} else if (c <= 1.95e-78) {
tmp = k * (i * ((y * y5) - (z * y1)));
} else if (c <= 2.7e+108) {
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 = c * (y4 * ((y * y3) - (t * y2)))
t_2 = y4 * (t * ((b * j) - (c * y2)))
if (c <= (-2.6d+175)) then
tmp = t_1
else if (c <= (-1.05d-15)) then
tmp = y0 * (y2 * ((x * c) - (k * y5)))
else if (c <= (-1.05d-203)) then
tmp = t_2
else if (c <= 1.95d-78) then
tmp = k * (i * ((y * y5) - (z * y1)))
else if (c <= 2.7d+108) 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 = c * (y4 * ((y * y3) - (t * y2)));
double t_2 = y4 * (t * ((b * j) - (c * y2)));
double tmp;
if (c <= -2.6e+175) {
tmp = t_1;
} else if (c <= -1.05e-15) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else if (c <= -1.05e-203) {
tmp = t_2;
} else if (c <= 1.95e-78) {
tmp = k * (i * ((y * y5) - (z * y1)));
} else if (c <= 2.7e+108) {
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 = c * (y4 * ((y * y3) - (t * y2))) t_2 = y4 * (t * ((b * j) - (c * y2))) tmp = 0 if c <= -2.6e+175: tmp = t_1 elif c <= -1.05e-15: tmp = y0 * (y2 * ((x * c) - (k * y5))) elif c <= -1.05e-203: tmp = t_2 elif c <= 1.95e-78: tmp = k * (i * ((y * y5) - (z * y1))) elif c <= 2.7e+108: 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(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))) t_2 = Float64(y4 * Float64(t * Float64(Float64(b * j) - Float64(c * y2)))) tmp = 0.0 if (c <= -2.6e+175) tmp = t_1; elseif (c <= -1.05e-15) tmp = Float64(y0 * Float64(y2 * Float64(Float64(x * c) - Float64(k * y5)))); elseif (c <= -1.05e-203) tmp = t_2; elseif (c <= 1.95e-78) tmp = Float64(k * Float64(i * Float64(Float64(y * y5) - Float64(z * y1)))); elseif (c <= 2.7e+108) 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 = c * (y4 * ((y * y3) - (t * y2))); t_2 = y4 * (t * ((b * j) - (c * y2))); tmp = 0.0; if (c <= -2.6e+175) tmp = t_1; elseif (c <= -1.05e-15) tmp = y0 * (y2 * ((x * c) - (k * y5))); elseif (c <= -1.05e-203) tmp = t_2; elseif (c <= 1.95e-78) tmp = k * (i * ((y * y5) - (z * y1))); elseif (c <= 2.7e+108) 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[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y4 * N[(t * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -2.6e+175], t$95$1, If[LessEqual[c, -1.05e-15], N[(y0 * N[(y2 * N[(N[(x * c), $MachinePrecision] - N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -1.05e-203], t$95$2, If[LessEqual[c, 1.95e-78], N[(k * N[(i * N[(N[(y * y5), $MachinePrecision] - N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2.7e+108], t$95$2, t$95$1]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
t_2 := y4 \cdot \left(t \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\mathbf{if}\;c \leq -2.6 \cdot 10^{+175}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;c \leq -1.05 \cdot 10^{-15}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c - k \cdot y5\right)\right)\\
\mathbf{elif}\;c \leq -1.05 \cdot 10^{-203}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;c \leq 1.95 \cdot 10^{-78}:\\
\;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\
\mathbf{elif}\;c \leq 2.7 \cdot 10^{+108}:\\
\;\;\;\;t_2\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if c < -2.6e175 or 2.7e108 < c Initial program 11.4%
associate-+l-11.4%
Simplified11.4%
Taylor expanded in y4 around inf 40.8%
Taylor expanded in c around inf 47.6%
if -2.6e175 < c < -1.0499999999999999e-15Initial program 36.4%
+-commutative36.4%
fma-def39.4%
*-commutative39.4%
*-commutative39.4%
Simplified45.5%
Taylor expanded in y0 around inf 43.1%
mul-1-neg43.1%
Simplified43.1%
Taylor expanded in y2 around inf 49.1%
if -1.0499999999999999e-15 < c < -1.05000000000000001e-203 or 1.9500000000000001e-78 < c < 2.7e108Initial program 36.1%
associate-+l-36.1%
Simplified36.1%
Taylor expanded in y4 around inf 39.2%
Taylor expanded in t around inf 42.1%
if -1.05000000000000001e-203 < c < 1.9500000000000001e-78Initial program 32.1%
+-commutative32.1%
fma-def32.1%
*-commutative32.1%
*-commutative32.1%
Simplified33.3%
Taylor expanded in k around inf 38.8%
Taylor expanded in i around inf 42.8%
mul-1-neg42.8%
sub-neg42.8%
*-commutative42.8%
Simplified42.8%
Final simplification44.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* i (* y1 (* x j)))) (t_2 (* c (* y4 (* y y3)))))
(if (<= y2 -5.2e+123)
(* k (* y4 (* y1 y2)))
(if (<= y2 -5e+65)
t_2
(if (<= y2 -95.0)
t_1
(if (<= y2 -2.9e-286)
t_2
(if (<= y2 1.35e-84)
t_1
(if (<= y2 1.3e-13) t_2 (* c (* y0 (* x y2)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * (y1 * (x * j));
double t_2 = c * (y4 * (y * y3));
double tmp;
if (y2 <= -5.2e+123) {
tmp = k * (y4 * (y1 * y2));
} else if (y2 <= -5e+65) {
tmp = t_2;
} else if (y2 <= -95.0) {
tmp = t_1;
} else if (y2 <= -2.9e-286) {
tmp = t_2;
} else if (y2 <= 1.35e-84) {
tmp = t_1;
} else if (y2 <= 1.3e-13) {
tmp = t_2;
} else {
tmp = c * (y0 * (x * y2));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = i * (y1 * (x * j))
t_2 = c * (y4 * (y * y3))
if (y2 <= (-5.2d+123)) then
tmp = k * (y4 * (y1 * y2))
else if (y2 <= (-5d+65)) then
tmp = t_2
else if (y2 <= (-95.0d0)) then
tmp = t_1
else if (y2 <= (-2.9d-286)) then
tmp = t_2
else if (y2 <= 1.35d-84) then
tmp = t_1
else if (y2 <= 1.3d-13) then
tmp = t_2
else
tmp = c * (y0 * (x * y2))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * (y1 * (x * j));
double t_2 = c * (y4 * (y * y3));
double tmp;
if (y2 <= -5.2e+123) {
tmp = k * (y4 * (y1 * y2));
} else if (y2 <= -5e+65) {
tmp = t_2;
} else if (y2 <= -95.0) {
tmp = t_1;
} else if (y2 <= -2.9e-286) {
tmp = t_2;
} else if (y2 <= 1.35e-84) {
tmp = t_1;
} else if (y2 <= 1.3e-13) {
tmp = t_2;
} else {
tmp = c * (y0 * (x * y2));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = i * (y1 * (x * j)) t_2 = c * (y4 * (y * y3)) tmp = 0 if y2 <= -5.2e+123: tmp = k * (y4 * (y1 * y2)) elif y2 <= -5e+65: tmp = t_2 elif y2 <= -95.0: tmp = t_1 elif y2 <= -2.9e-286: tmp = t_2 elif y2 <= 1.35e-84: tmp = t_1 elif y2 <= 1.3e-13: tmp = t_2 else: tmp = c * (y0 * (x * y2)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(i * Float64(y1 * Float64(x * j))) t_2 = Float64(c * Float64(y4 * Float64(y * y3))) tmp = 0.0 if (y2 <= -5.2e+123) tmp = Float64(k * Float64(y4 * Float64(y1 * y2))); elseif (y2 <= -5e+65) tmp = t_2; elseif (y2 <= -95.0) tmp = t_1; elseif (y2 <= -2.9e-286) tmp = t_2; elseif (y2 <= 1.35e-84) tmp = t_1; elseif (y2 <= 1.3e-13) tmp = t_2; else tmp = Float64(c * Float64(y0 * Float64(x * y2))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = i * (y1 * (x * j)); t_2 = c * (y4 * (y * y3)); tmp = 0.0; if (y2 <= -5.2e+123) tmp = k * (y4 * (y1 * y2)); elseif (y2 <= -5e+65) tmp = t_2; elseif (y2 <= -95.0) tmp = t_1; elseif (y2 <= -2.9e-286) tmp = t_2; elseif (y2 <= 1.35e-84) tmp = t_1; elseif (y2 <= 1.3e-13) tmp = t_2; else tmp = c * (y0 * (x * y2)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(i * N[(y1 * N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(c * N[(y4 * N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -5.2e+123], N[(k * N[(y4 * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -5e+65], t$95$2, If[LessEqual[y2, -95.0], t$95$1, If[LessEqual[y2, -2.9e-286], t$95$2, If[LessEqual[y2, 1.35e-84], t$95$1, If[LessEqual[y2, 1.3e-13], t$95$2, N[(c * N[(y0 * N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(y1 \cdot \left(x \cdot j\right)\right)\\
t_2 := c \cdot \left(y4 \cdot \left(y \cdot y3\right)\right)\\
\mathbf{if}\;y2 \leq -5.2 \cdot 10^{+123}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2\right)\right)\\
\mathbf{elif}\;y2 \leq -5 \cdot 10^{+65}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;y2 \leq -95:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y2 \leq -2.9 \cdot 10^{-286}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;y2 \leq 1.35 \cdot 10^{-84}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y2 \leq 1.3 \cdot 10^{-13}:\\
\;\;\;\;t_2\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2\right)\right)\\
\end{array}
\end{array}
if y2 < -5.19999999999999971e123Initial program 13.6%
associate-+l-13.6%
Simplified13.6%
Taylor expanded in y4 around inf 45.8%
Taylor expanded in k around inf 35.0%
associate-*r*24.3%
+-commutative24.3%
mul-1-neg24.3%
unsub-neg24.3%
*-commutative24.3%
Simplified24.3%
Taylor expanded in y1 around inf 37.4%
if -5.19999999999999971e123 < y2 < -4.99999999999999973e65 or -95 < y2 < -2.8999999999999998e-286 or 1.35e-84 < y2 < 1.3e-13Initial program 32.9%
associate-+l-32.9%
Simplified32.9%
Taylor expanded in y4 around inf 40.9%
Taylor expanded in c around inf 27.5%
Taylor expanded in y around inf 25.2%
if -4.99999999999999973e65 < y2 < -95 or -2.8999999999999998e-286 < y2 < 1.35e-84Initial program 34.9%
+-commutative34.9%
fma-def37.8%
*-commutative37.8%
*-commutative37.8%
Simplified40.7%
Taylor expanded in j around inf 48.7%
Taylor expanded in x around inf 27.5%
Taylor expanded in y1 around inf 26.4%
if 1.3e-13 < y2 Initial program 27.0%
+-commutative27.0%
fma-def27.0%
*-commutative27.0%
*-commutative27.0%
Simplified28.6%
Taylor expanded in y0 around inf 40.1%
mul-1-neg40.1%
Simplified40.1%
Taylor expanded in c around inf 37.3%
*-commutative37.3%
*-commutative37.3%
associate-*l*31.3%
*-commutative31.3%
Simplified31.3%
Taylor expanded in x around inf 31.1%
Final simplification29.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y4 (* c (- (* y y3) (* t y2))))))
(if (<= c -1.18e-39)
t_1
(if (<= c -6e-265)
(* (* t j) (- (* b y4) (* i y5)))
(if (<= c 2.1e-78)
(* k (* i (- (* y y5) (* z y1))))
(if (<= c 1.85e+70) (* y4 (* t (- (* b j) (* c 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 = y4 * (c * ((y * y3) - (t * y2)));
double tmp;
if (c <= -1.18e-39) {
tmp = t_1;
} else if (c <= -6e-265) {
tmp = (t * j) * ((b * y4) - (i * y5));
} else if (c <= 2.1e-78) {
tmp = k * (i * ((y * y5) - (z * y1)));
} else if (c <= 1.85e+70) {
tmp = y4 * (t * ((b * j) - (c * 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) :: tmp
t_1 = y4 * (c * ((y * y3) - (t * y2)))
if (c <= (-1.18d-39)) then
tmp = t_1
else if (c <= (-6d-265)) then
tmp = (t * j) * ((b * y4) - (i * y5))
else if (c <= 2.1d-78) then
tmp = k * (i * ((y * y5) - (z * y1)))
else if (c <= 1.85d+70) then
tmp = y4 * (t * ((b * j) - (c * 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 = y4 * (c * ((y * y3) - (t * y2)));
double tmp;
if (c <= -1.18e-39) {
tmp = t_1;
} else if (c <= -6e-265) {
tmp = (t * j) * ((b * y4) - (i * y5));
} else if (c <= 2.1e-78) {
tmp = k * (i * ((y * y5) - (z * y1)));
} else if (c <= 1.85e+70) {
tmp = y4 * (t * ((b * j) - (c * 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 = y4 * (c * ((y * y3) - (t * y2))) tmp = 0 if c <= -1.18e-39: tmp = t_1 elif c <= -6e-265: tmp = (t * j) * ((b * y4) - (i * y5)) elif c <= 2.1e-78: tmp = k * (i * ((y * y5) - (z * y1))) elif c <= 1.85e+70: tmp = y4 * (t * ((b * j) - (c * 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(y4 * Float64(c * Float64(Float64(y * y3) - Float64(t * y2)))) tmp = 0.0 if (c <= -1.18e-39) tmp = t_1; elseif (c <= -6e-265) tmp = Float64(Float64(t * j) * Float64(Float64(b * y4) - Float64(i * y5))); elseif (c <= 2.1e-78) tmp = Float64(k * Float64(i * Float64(Float64(y * y5) - Float64(z * y1)))); elseif (c <= 1.85e+70) tmp = Float64(y4 * Float64(t * Float64(Float64(b * j) - Float64(c * 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 = y4 * (c * ((y * y3) - (t * y2))); tmp = 0.0; if (c <= -1.18e-39) tmp = t_1; elseif (c <= -6e-265) tmp = (t * j) * ((b * y4) - (i * y5)); elseif (c <= 2.1e-78) tmp = k * (i * ((y * y5) - (z * y1))); elseif (c <= 1.85e+70) tmp = y4 * (t * ((b * j) - (c * 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[(y4 * N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -1.18e-39], t$95$1, If[LessEqual[c, -6e-265], N[(N[(t * j), $MachinePrecision] * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2.1e-78], N[(k * N[(i * N[(N[(y * y5), $MachinePrecision] - N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.85e+70], N[(y4 * N[(t * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y4 \cdot \left(c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{if}\;c \leq -1.18 \cdot 10^{-39}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;c \leq -6 \cdot 10^{-265}:\\
\;\;\;\;\left(t \cdot j\right) \cdot \left(b \cdot y4 - i \cdot y5\right)\\
\mathbf{elif}\;c \leq 2.1 \cdot 10^{-78}:\\
\;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\
\mathbf{elif}\;c \leq 1.85 \cdot 10^{+70}:\\
\;\;\;\;y4 \cdot \left(t \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if c < -1.17999999999999993e-39 or 1.84999999999999994e70 < c Initial program 21.8%
associate-+l-21.8%
Simplified21.8%
Taylor expanded in y4 around inf 40.6%
Taylor expanded in c around inf 42.2%
Taylor expanded in y around 0 33.3%
associate-*r*33.3%
mul-1-neg33.3%
associate-*r*27.9%
distribute-rgt-neg-in27.9%
distribute-lft-in42.2%
sub-neg42.2%
associate-*r*42.2%
*-commutative42.2%
associate-*l*47.3%
Simplified47.3%
if -1.17999999999999993e-39 < c < -5.9999999999999996e-265Initial program 32.9%
+-commutative32.9%
fma-def32.9%
*-commutative32.9%
*-commutative32.9%
Simplified32.9%
Taylor expanded in j around inf 36.4%
Taylor expanded in t around inf 38.0%
associate-*r*42.1%
Simplified42.1%
if -5.9999999999999996e-265 < c < 2.1000000000000001e-78Initial program 33.3%
+-commutative33.3%
fma-def33.3%
*-commutative33.3%
*-commutative33.3%
Simplified34.9%
Taylor expanded in k around inf 38.6%
Taylor expanded in i around inf 42.2%
mul-1-neg42.2%
sub-neg42.2%
*-commutative42.2%
Simplified42.2%
if 2.1000000000000001e-78 < c < 1.84999999999999994e70Initial program 37.1%
associate-+l-37.1%
Simplified37.1%
Taylor expanded in y4 around inf 46.0%
Taylor expanded in t around inf 55.1%
Final simplification46.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= j -3.2e+190)
(* i (* y1 (* x j)))
(if (<= j -6.5e+23)
(* k (* y (* y4 (- b))))
(if (<= j -2.8e-168)
(* y0 (* c (* z (- y3))))
(if (<= j -1.1e-210)
(* c (* y0 (* x y2)))
(if (<= j 7.2e+53)
(* c (* y4 (* t (- y2))))
(* (* y1 y4) (* j (- y3)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (j <= -3.2e+190) {
tmp = i * (y1 * (x * j));
} else if (j <= -6.5e+23) {
tmp = k * (y * (y4 * -b));
} else if (j <= -2.8e-168) {
tmp = y0 * (c * (z * -y3));
} else if (j <= -1.1e-210) {
tmp = c * (y0 * (x * y2));
} else if (j <= 7.2e+53) {
tmp = c * (y4 * (t * -y2));
} else {
tmp = (y1 * y4) * (j * -y3);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (j <= (-3.2d+190)) then
tmp = i * (y1 * (x * j))
else if (j <= (-6.5d+23)) then
tmp = k * (y * (y4 * -b))
else if (j <= (-2.8d-168)) then
tmp = y0 * (c * (z * -y3))
else if (j <= (-1.1d-210)) then
tmp = c * (y0 * (x * y2))
else if (j <= 7.2d+53) then
tmp = c * (y4 * (t * -y2))
else
tmp = (y1 * y4) * (j * -y3)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (j <= -3.2e+190) {
tmp = i * (y1 * (x * j));
} else if (j <= -6.5e+23) {
tmp = k * (y * (y4 * -b));
} else if (j <= -2.8e-168) {
tmp = y0 * (c * (z * -y3));
} else if (j <= -1.1e-210) {
tmp = c * (y0 * (x * y2));
} else if (j <= 7.2e+53) {
tmp = c * (y4 * (t * -y2));
} else {
tmp = (y1 * y4) * (j * -y3);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if j <= -3.2e+190: tmp = i * (y1 * (x * j)) elif j <= -6.5e+23: tmp = k * (y * (y4 * -b)) elif j <= -2.8e-168: tmp = y0 * (c * (z * -y3)) elif j <= -1.1e-210: tmp = c * (y0 * (x * y2)) elif j <= 7.2e+53: tmp = c * (y4 * (t * -y2)) else: tmp = (y1 * y4) * (j * -y3) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (j <= -3.2e+190) tmp = Float64(i * Float64(y1 * Float64(x * j))); elseif (j <= -6.5e+23) tmp = Float64(k * Float64(y * Float64(y4 * Float64(-b)))); elseif (j <= -2.8e-168) tmp = Float64(y0 * Float64(c * Float64(z * Float64(-y3)))); elseif (j <= -1.1e-210) tmp = Float64(c * Float64(y0 * Float64(x * y2))); elseif (j <= 7.2e+53) tmp = Float64(c * Float64(y4 * Float64(t * Float64(-y2)))); else tmp = Float64(Float64(y1 * y4) * Float64(j * Float64(-y3))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (j <= -3.2e+190) tmp = i * (y1 * (x * j)); elseif (j <= -6.5e+23) tmp = k * (y * (y4 * -b)); elseif (j <= -2.8e-168) tmp = y0 * (c * (z * -y3)); elseif (j <= -1.1e-210) tmp = c * (y0 * (x * y2)); elseif (j <= 7.2e+53) tmp = c * (y4 * (t * -y2)); else tmp = (y1 * y4) * (j * -y3); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[j, -3.2e+190], N[(i * N[(y1 * N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -6.5e+23], N[(k * N[(y * N[(y4 * (-b)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -2.8e-168], N[(y0 * N[(c * N[(z * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -1.1e-210], N[(c * N[(y0 * N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 7.2e+53], N[(c * N[(y4 * N[(t * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(y1 * y4), $MachinePrecision] * N[(j * (-y3)), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;j \leq -3.2 \cdot 10^{+190}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j\right)\right)\\
\mathbf{elif}\;j \leq -6.5 \cdot 10^{+23}:\\
\;\;\;\;k \cdot \left(y \cdot \left(y4 \cdot \left(-b\right)\right)\right)\\
\mathbf{elif}\;j \leq -2.8 \cdot 10^{-168}:\\
\;\;\;\;y0 \cdot \left(c \cdot \left(z \cdot \left(-y3\right)\right)\right)\\
\mathbf{elif}\;j \leq -1.1 \cdot 10^{-210}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2\right)\right)\\
\mathbf{elif}\;j \leq 7.2 \cdot 10^{+53}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(t \cdot \left(-y2\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\left(y1 \cdot y4\right) \cdot \left(j \cdot \left(-y3\right)\right)\\
\end{array}
\end{array}
if j < -3.2000000000000001e190Initial program 33.6%
+-commutative33.6%
fma-def33.6%
*-commutative33.6%
*-commutative33.6%
Simplified33.6%
Taylor expanded in j around inf 62.6%
Taylor expanded in x around inf 34.0%
Taylor expanded in y1 around inf 34.3%
if -3.2000000000000001e190 < j < -6.4999999999999996e23Initial program 21.4%
associate-+l-21.4%
Simplified21.4%
Taylor expanded in y4 around inf 37.6%
Taylor expanded in k around inf 42.4%
associate-*r*29.1%
+-commutative29.1%
mul-1-neg29.1%
unsub-neg29.1%
*-commutative29.1%
Simplified29.1%
Taylor expanded in y1 around 0 38.1%
mul-1-neg38.1%
distribute-rgt-neg-in38.1%
associate-*r*38.1%
*-commutative38.1%
associate-*l*40.3%
Simplified40.3%
if -6.4999999999999996e23 < j < -2.8000000000000002e-168Initial program 43.2%
+-commutative43.2%
fma-def43.2%
*-commutative43.2%
*-commutative43.2%
Simplified43.2%
Taylor expanded in y0 around inf 43.6%
mul-1-neg43.6%
Simplified43.6%
Taylor expanded in c around inf 29.4%
*-commutative29.4%
*-commutative29.4%
associate-*l*29.4%
*-commutative29.4%
Simplified29.4%
Taylor expanded in x around 0 33.1%
associate-*r*33.1%
neg-mul-133.1%
Simplified33.1%
if -2.8000000000000002e-168 < j < -1.09999999999999995e-210Initial program 33.3%
+-commutative33.3%
fma-def33.3%
*-commutative33.3%
*-commutative33.3%
Simplified41.7%
Taylor expanded in y0 around inf 59.3%
mul-1-neg59.3%
Simplified59.3%
Taylor expanded in c around inf 51.7%
*-commutative51.7%
*-commutative51.7%
associate-*l*59.5%
*-commutative59.5%
Simplified59.5%
Taylor expanded in x around inf 59.2%
if -1.09999999999999995e-210 < j < 7.2e53Initial program 30.5%
associate-+l-30.5%
Simplified30.5%
Taylor expanded in y4 around inf 34.7%
Taylor expanded in c around inf 29.7%
Taylor expanded in y around 0 24.8%
mul-1-neg24.8%
distribute-rgt-neg-in24.8%
distribute-rgt-neg-in24.8%
distribute-rgt-neg-in24.8%
Simplified24.8%
if 7.2e53 < j Initial program 21.3%
+-commutative21.3%
fma-def23.0%
*-commutative23.0%
*-commutative23.0%
Simplified30.0%
Taylor expanded in j around inf 55.5%
Taylor expanded in y1 around -inf 44.2%
associate-*r*44.2%
neg-mul-144.2%
Simplified44.2%
Taylor expanded in y4 around inf 39.8%
mul-1-neg39.8%
associate-*r*38.2%
*-commutative38.2%
Simplified38.2%
Final simplification33.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= j -3e+190)
(* i (* y1 (* x j)))
(if (<= j -4.2e+23)
(* k (* y (* y4 (- b))))
(if (<= j -3.7e-168)
(* y0 (* c (* z (- y3))))
(if (<= j -1e-204)
(* c (* y0 (* x y2)))
(if (<= j 1.66e+50)
(* c (* y4 (* t (- y2))))
(* y4 (* (* j y1) (- y3)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (j <= -3e+190) {
tmp = i * (y1 * (x * j));
} else if (j <= -4.2e+23) {
tmp = k * (y * (y4 * -b));
} else if (j <= -3.7e-168) {
tmp = y0 * (c * (z * -y3));
} else if (j <= -1e-204) {
tmp = c * (y0 * (x * y2));
} else if (j <= 1.66e+50) {
tmp = c * (y4 * (t * -y2));
} else {
tmp = y4 * ((j * y1) * -y3);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (j <= (-3d+190)) then
tmp = i * (y1 * (x * j))
else if (j <= (-4.2d+23)) then
tmp = k * (y * (y4 * -b))
else if (j <= (-3.7d-168)) then
tmp = y0 * (c * (z * -y3))
else if (j <= (-1d-204)) then
tmp = c * (y0 * (x * y2))
else if (j <= 1.66d+50) then
tmp = c * (y4 * (t * -y2))
else
tmp = y4 * ((j * y1) * -y3)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (j <= -3e+190) {
tmp = i * (y1 * (x * j));
} else if (j <= -4.2e+23) {
tmp = k * (y * (y4 * -b));
} else if (j <= -3.7e-168) {
tmp = y0 * (c * (z * -y3));
} else if (j <= -1e-204) {
tmp = c * (y0 * (x * y2));
} else if (j <= 1.66e+50) {
tmp = c * (y4 * (t * -y2));
} else {
tmp = y4 * ((j * y1) * -y3);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if j <= -3e+190: tmp = i * (y1 * (x * j)) elif j <= -4.2e+23: tmp = k * (y * (y4 * -b)) elif j <= -3.7e-168: tmp = y0 * (c * (z * -y3)) elif j <= -1e-204: tmp = c * (y0 * (x * y2)) elif j <= 1.66e+50: tmp = c * (y4 * (t * -y2)) else: tmp = y4 * ((j * y1) * -y3) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (j <= -3e+190) tmp = Float64(i * Float64(y1 * Float64(x * j))); elseif (j <= -4.2e+23) tmp = Float64(k * Float64(y * Float64(y4 * Float64(-b)))); elseif (j <= -3.7e-168) tmp = Float64(y0 * Float64(c * Float64(z * Float64(-y3)))); elseif (j <= -1e-204) tmp = Float64(c * Float64(y0 * Float64(x * y2))); elseif (j <= 1.66e+50) tmp = Float64(c * Float64(y4 * Float64(t * Float64(-y2)))); else tmp = Float64(y4 * Float64(Float64(j * y1) * Float64(-y3))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (j <= -3e+190) tmp = i * (y1 * (x * j)); elseif (j <= -4.2e+23) tmp = k * (y * (y4 * -b)); elseif (j <= -3.7e-168) tmp = y0 * (c * (z * -y3)); elseif (j <= -1e-204) tmp = c * (y0 * (x * y2)); elseif (j <= 1.66e+50) tmp = c * (y4 * (t * -y2)); else tmp = y4 * ((j * y1) * -y3); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[j, -3e+190], N[(i * N[(y1 * N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -4.2e+23], N[(k * N[(y * N[(y4 * (-b)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -3.7e-168], N[(y0 * N[(c * N[(z * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -1e-204], N[(c * N[(y0 * N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.66e+50], N[(c * N[(y4 * N[(t * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y4 * N[(N[(j * y1), $MachinePrecision] * (-y3)), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;j \leq -3 \cdot 10^{+190}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j\right)\right)\\
\mathbf{elif}\;j \leq -4.2 \cdot 10^{+23}:\\
\;\;\;\;k \cdot \left(y \cdot \left(y4 \cdot \left(-b\right)\right)\right)\\
\mathbf{elif}\;j \leq -3.7 \cdot 10^{-168}:\\
\;\;\;\;y0 \cdot \left(c \cdot \left(z \cdot \left(-y3\right)\right)\right)\\
\mathbf{elif}\;j \leq -1 \cdot 10^{-204}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2\right)\right)\\
\mathbf{elif}\;j \leq 1.66 \cdot 10^{+50}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(t \cdot \left(-y2\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y4 \cdot \left(\left(j \cdot y1\right) \cdot \left(-y3\right)\right)\\
\end{array}
\end{array}
if j < -2.99999999999999982e190Initial program 33.6%
+-commutative33.6%
fma-def33.6%
*-commutative33.6%
*-commutative33.6%
Simplified33.6%
Taylor expanded in j around inf 62.6%
Taylor expanded in x around inf 34.0%
Taylor expanded in y1 around inf 34.3%
if -2.99999999999999982e190 < j < -4.2000000000000003e23Initial program 21.4%
associate-+l-21.4%
Simplified21.4%
Taylor expanded in y4 around inf 37.6%
Taylor expanded in k around inf 42.4%
associate-*r*29.1%
+-commutative29.1%
mul-1-neg29.1%
unsub-neg29.1%
*-commutative29.1%
Simplified29.1%
Taylor expanded in y1 around 0 38.1%
mul-1-neg38.1%
distribute-rgt-neg-in38.1%
associate-*r*38.1%
*-commutative38.1%
associate-*l*40.3%
Simplified40.3%
if -4.2000000000000003e23 < j < -3.69999999999999997e-168Initial program 43.2%
+-commutative43.2%
fma-def43.2%
*-commutative43.2%
*-commutative43.2%
Simplified43.2%
Taylor expanded in y0 around inf 43.6%
mul-1-neg43.6%
Simplified43.6%
Taylor expanded in c around inf 29.4%
*-commutative29.4%
*-commutative29.4%
associate-*l*29.4%
*-commutative29.4%
Simplified29.4%
Taylor expanded in x around 0 33.1%
associate-*r*33.1%
neg-mul-133.1%
Simplified33.1%
if -3.69999999999999997e-168 < j < -1e-204Initial program 33.3%
+-commutative33.3%
fma-def33.3%
*-commutative33.3%
*-commutative33.3%
Simplified41.7%
Taylor expanded in y0 around inf 59.3%
mul-1-neg59.3%
Simplified59.3%
Taylor expanded in c around inf 51.7%
*-commutative51.7%
*-commutative51.7%
associate-*l*59.5%
*-commutative59.5%
Simplified59.5%
Taylor expanded in x around inf 59.2%
if -1e-204 < j < 1.66000000000000004e50Initial program 30.1%
associate-+l-30.1%
Simplified30.1%
Taylor expanded in y4 around inf 34.3%
Taylor expanded in c around inf 30.3%
Taylor expanded in y around 0 25.3%
mul-1-neg25.3%
distribute-rgt-neg-in25.3%
distribute-rgt-neg-in25.3%
distribute-rgt-neg-in25.3%
Simplified25.3%
if 1.66000000000000004e50 < j Initial program 22.2%
+-commutative22.2%
fma-def23.9%
*-commutative23.9%
*-commutative23.9%
Simplified30.7%
Taylor expanded in j around inf 55.4%
Taylor expanded in y1 around -inf 44.4%
associate-*r*44.4%
neg-mul-144.4%
Simplified44.4%
Taylor expanded in y4 around inf 40.2%
mul-1-neg40.2%
distribute-rgt-neg-in40.2%
associate-*r*36.9%
*-commutative36.9%
associate-*l*38.6%
Simplified38.6%
Final simplification34.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y0 (* y3 (* j y5)))))
(if (<= x -1.05e+109)
(* i (* y1 (* x j)))
(if (<= x -5.5e-193)
t_1
(if (<= x 5.5e-164)
(* (* y1 y4) (* j (- y3)))
(if (<= x 3.1e-43)
t_1
(if (<= x 7.5e+48) (* c (* y0 (* x y2))) (* j (* i (* x y1))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y0 * (y3 * (j * y5));
double tmp;
if (x <= -1.05e+109) {
tmp = i * (y1 * (x * j));
} else if (x <= -5.5e-193) {
tmp = t_1;
} else if (x <= 5.5e-164) {
tmp = (y1 * y4) * (j * -y3);
} else if (x <= 3.1e-43) {
tmp = t_1;
} else if (x <= 7.5e+48) {
tmp = c * (y0 * (x * y2));
} else {
tmp = j * (i * (x * y1));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = y0 * (y3 * (j * y5))
if (x <= (-1.05d+109)) then
tmp = i * (y1 * (x * j))
else if (x <= (-5.5d-193)) then
tmp = t_1
else if (x <= 5.5d-164) then
tmp = (y1 * y4) * (j * -y3)
else if (x <= 3.1d-43) then
tmp = t_1
else if (x <= 7.5d+48) then
tmp = c * (y0 * (x * y2))
else
tmp = j * (i * (x * y1))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y0 * (y3 * (j * y5));
double tmp;
if (x <= -1.05e+109) {
tmp = i * (y1 * (x * j));
} else if (x <= -5.5e-193) {
tmp = t_1;
} else if (x <= 5.5e-164) {
tmp = (y1 * y4) * (j * -y3);
} else if (x <= 3.1e-43) {
tmp = t_1;
} else if (x <= 7.5e+48) {
tmp = c * (y0 * (x * y2));
} else {
tmp = j * (i * (x * y1));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y0 * (y3 * (j * y5)) tmp = 0 if x <= -1.05e+109: tmp = i * (y1 * (x * j)) elif x <= -5.5e-193: tmp = t_1 elif x <= 5.5e-164: tmp = (y1 * y4) * (j * -y3) elif x <= 3.1e-43: tmp = t_1 elif x <= 7.5e+48: tmp = c * (y0 * (x * y2)) else: tmp = j * (i * (x * y1)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y0 * Float64(y3 * Float64(j * y5))) tmp = 0.0 if (x <= -1.05e+109) tmp = Float64(i * Float64(y1 * Float64(x * j))); elseif (x <= -5.5e-193) tmp = t_1; elseif (x <= 5.5e-164) tmp = Float64(Float64(y1 * y4) * Float64(j * Float64(-y3))); elseif (x <= 3.1e-43) tmp = t_1; elseif (x <= 7.5e+48) tmp = Float64(c * Float64(y0 * Float64(x * y2))); else tmp = Float64(j * Float64(i * Float64(x * y1))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = y0 * (y3 * (j * y5)); tmp = 0.0; if (x <= -1.05e+109) tmp = i * (y1 * (x * j)); elseif (x <= -5.5e-193) tmp = t_1; elseif (x <= 5.5e-164) tmp = (y1 * y4) * (j * -y3); elseif (x <= 3.1e-43) tmp = t_1; elseif (x <= 7.5e+48) tmp = c * (y0 * (x * y2)); else tmp = j * (i * (x * y1)); 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[(y0 * N[(y3 * N[(j * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -1.05e+109], N[(i * N[(y1 * N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -5.5e-193], t$95$1, If[LessEqual[x, 5.5e-164], N[(N[(y1 * y4), $MachinePrecision] * N[(j * (-y3)), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 3.1e-43], t$95$1, If[LessEqual[x, 7.5e+48], N[(c * N[(y0 * N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(j * N[(i * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y0 \cdot \left(y3 \cdot \left(j \cdot y5\right)\right)\\
\mathbf{if}\;x \leq -1.05 \cdot 10^{+109}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j\right)\right)\\
\mathbf{elif}\;x \leq -5.5 \cdot 10^{-193}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x \leq 5.5 \cdot 10^{-164}:\\
\;\;\;\;\left(y1 \cdot y4\right) \cdot \left(j \cdot \left(-y3\right)\right)\\
\mathbf{elif}\;x \leq 3.1 \cdot 10^{-43}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x \leq 7.5 \cdot 10^{+48}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(i \cdot \left(x \cdot y1\right)\right)\\
\end{array}
\end{array}
if x < -1.0500000000000001e109Initial program 20.9%
+-commutative20.9%
fma-def20.9%
*-commutative20.9%
*-commutative20.9%
Simplified20.9%
Taylor expanded in j around inf 28.4%
Taylor expanded in x around inf 36.0%
Taylor expanded in y1 around inf 42.8%
if -1.0500000000000001e109 < x < -5.50000000000000014e-193 or 5.50000000000000027e-164 < x < 3.0999999999999999e-43Initial program 29.5%
+-commutative29.5%
fma-def32.1%
*-commutative32.1%
*-commutative32.1%
Simplified33.3%
Taylor expanded in j around inf 34.1%
Taylor expanded in y5 around inf 30.7%
mul-1-neg30.7%
unsub-neg30.7%
*-commutative30.7%
*-commutative30.7%
Simplified30.7%
Taylor expanded in y0 around inf 25.7%
if -5.50000000000000014e-193 < x < 5.50000000000000027e-164Initial program 42.3%
+-commutative42.3%
fma-def42.3%
*-commutative42.3%
*-commutative42.3%
Simplified45.4%
Taylor expanded in j around inf 58.5%
Taylor expanded in y1 around -inf 32.6%
associate-*r*32.6%
neg-mul-132.6%
Simplified32.6%
Taylor expanded in y4 around inf 26.7%
mul-1-neg26.7%
associate-*r*26.6%
*-commutative26.6%
Simplified26.6%
if 3.0999999999999999e-43 < x < 7.5000000000000006e48Initial program 40.2%
+-commutative40.2%
fma-def40.2%
*-commutative40.2%
*-commutative40.2%
Simplified40.2%
Taylor expanded in y0 around inf 40.6%
mul-1-neg40.6%
Simplified40.6%
Taylor expanded in c around inf 31.5%
*-commutative31.5%
*-commutative31.5%
associate-*l*19.7%
*-commutative19.7%
Simplified19.7%
Taylor expanded in x around inf 23.5%
if 7.5000000000000006e48 < x Initial program 10.8%
+-commutative10.8%
fma-def10.8%
*-commutative10.8%
*-commutative10.8%
Simplified14.9%
Taylor expanded in j around inf 41.5%
Taylor expanded in x around inf 53.9%
Taylor expanded in y1 around inf 37.6%
Final simplification30.9%
(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 (<= c -1.3e-199)
t_1
(if (<= c 2.25e-102)
(* k (* i (- (* y y5) (* z y1))))
(if (<= c 5.2e+43) (* y0 (* y3 (- (* j y5) (* z c)))) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = c * (y4 * ((y * y3) - (t * y2)));
double tmp;
if (c <= -1.3e-199) {
tmp = t_1;
} else if (c <= 2.25e-102) {
tmp = k * (i * ((y * y5) - (z * y1)));
} else if (c <= 5.2e+43) {
tmp = y0 * (y3 * ((j * y5) - (z * c)));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = c * (y4 * ((y * y3) - (t * y2)))
if (c <= (-1.3d-199)) then
tmp = t_1
else if (c <= 2.25d-102) then
tmp = k * (i * ((y * y5) - (z * y1)))
else if (c <= 5.2d+43) then
tmp = y0 * (y3 * ((j * y5) - (z * c)))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = c * (y4 * ((y * y3) - (t * y2)));
double tmp;
if (c <= -1.3e-199) {
tmp = t_1;
} else if (c <= 2.25e-102) {
tmp = k * (i * ((y * y5) - (z * y1)));
} else if (c <= 5.2e+43) {
tmp = y0 * (y3 * ((j * y5) - (z * c)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = c * (y4 * ((y * y3) - (t * y2))) tmp = 0 if c <= -1.3e-199: tmp = t_1 elif c <= 2.25e-102: tmp = k * (i * ((y * y5) - (z * y1))) elif c <= 5.2e+43: tmp = y0 * (y3 * ((j * y5) - (z * c))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))) tmp = 0.0 if (c <= -1.3e-199) tmp = t_1; elseif (c <= 2.25e-102) tmp = Float64(k * Float64(i * Float64(Float64(y * y5) - Float64(z * y1)))); elseif (c <= 5.2e+43) tmp = Float64(y0 * Float64(y3 * Float64(Float64(j * y5) - Float64(z * c)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = c * (y4 * ((y * y3) - (t * y2))); tmp = 0.0; if (c <= -1.3e-199) tmp = t_1; elseif (c <= 2.25e-102) tmp = k * (i * ((y * y5) - (z * y1))); elseif (c <= 5.2e+43) tmp = y0 * (y3 * ((j * y5) - (z * c))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -1.3e-199], t$95$1, If[LessEqual[c, 2.25e-102], N[(k * N[(i * N[(N[(y * y5), $MachinePrecision] - N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 5.2e+43], N[(y0 * N[(y3 * N[(N[(j * y5), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{if}\;c \leq -1.3 \cdot 10^{-199}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;c \leq 2.25 \cdot 10^{-102}:\\
\;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\
\mathbf{elif}\;c \leq 5.2 \cdot 10^{+43}:\\
\;\;\;\;y0 \cdot \left(y3 \cdot \left(j \cdot y5 - z \cdot c\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if c < -1.3e-199 or 5.20000000000000042e43 < c Initial program 25.3%
associate-+l-25.3%
Simplified25.3%
Taylor expanded in y4 around inf 39.4%
Taylor expanded in c around inf 37.3%
if -1.3e-199 < c < 2.25e-102Initial program 33.3%
+-commutative33.3%
fma-def33.3%
*-commutative33.3%
*-commutative33.3%
Simplified34.6%
Taylor expanded in k around inf 37.9%
Taylor expanded in i around inf 43.5%
mul-1-neg43.5%
sub-neg43.5%
*-commutative43.5%
Simplified43.5%
if 2.25e-102 < c < 5.20000000000000042e43Initial program 32.3%
+-commutative32.3%
fma-def35.1%
*-commutative35.1%
*-commutative35.1%
Simplified37.8%
Taylor expanded in y0 around inf 35.8%
mul-1-neg35.8%
Simplified35.8%
Taylor expanded in y3 around inf 39.3%
*-commutative39.3%
cancel-sign-sub-inv39.3%
metadata-eval39.3%
*-lft-identity39.3%
+-commutative39.3%
mul-1-neg39.3%
unsub-neg39.3%
*-commutative39.3%
Simplified39.3%
Final simplification39.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y4 (* c (- (* y y3) (* t y2))))))
(if (<= c -6.5e-38)
t_1
(if (<= c 5.6e-77)
(* k (* i (- (* y y5) (* z y1))))
(if (<= c 4.7e+67) (* y4 (* t (- (* b j) (* c 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 = y4 * (c * ((y * y3) - (t * y2)));
double tmp;
if (c <= -6.5e-38) {
tmp = t_1;
} else if (c <= 5.6e-77) {
tmp = k * (i * ((y * y5) - (z * y1)));
} else if (c <= 4.7e+67) {
tmp = y4 * (t * ((b * j) - (c * 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) :: tmp
t_1 = y4 * (c * ((y * y3) - (t * y2)))
if (c <= (-6.5d-38)) then
tmp = t_1
else if (c <= 5.6d-77) then
tmp = k * (i * ((y * y5) - (z * y1)))
else if (c <= 4.7d+67) then
tmp = y4 * (t * ((b * j) - (c * 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 = y4 * (c * ((y * y3) - (t * y2)));
double tmp;
if (c <= -6.5e-38) {
tmp = t_1;
} else if (c <= 5.6e-77) {
tmp = k * (i * ((y * y5) - (z * y1)));
} else if (c <= 4.7e+67) {
tmp = y4 * (t * ((b * j) - (c * 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 = y4 * (c * ((y * y3) - (t * y2))) tmp = 0 if c <= -6.5e-38: tmp = t_1 elif c <= 5.6e-77: tmp = k * (i * ((y * y5) - (z * y1))) elif c <= 4.7e+67: tmp = y4 * (t * ((b * j) - (c * 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(y4 * Float64(c * Float64(Float64(y * y3) - Float64(t * y2)))) tmp = 0.0 if (c <= -6.5e-38) tmp = t_1; elseif (c <= 5.6e-77) tmp = Float64(k * Float64(i * Float64(Float64(y * y5) - Float64(z * y1)))); elseif (c <= 4.7e+67) tmp = Float64(y4 * Float64(t * Float64(Float64(b * j) - Float64(c * 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 = y4 * (c * ((y * y3) - (t * y2))); tmp = 0.0; if (c <= -6.5e-38) tmp = t_1; elseif (c <= 5.6e-77) tmp = k * (i * ((y * y5) - (z * y1))); elseif (c <= 4.7e+67) tmp = y4 * (t * ((b * j) - (c * 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[(y4 * N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -6.5e-38], t$95$1, If[LessEqual[c, 5.6e-77], N[(k * N[(i * N[(N[(y * y5), $MachinePrecision] - N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 4.7e+67], N[(y4 * N[(t * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y4 \cdot \left(c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{if}\;c \leq -6.5 \cdot 10^{-38}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;c \leq 5.6 \cdot 10^{-77}:\\
\;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\
\mathbf{elif}\;c \leq 4.7 \cdot 10^{+67}:\\
\;\;\;\;y4 \cdot \left(t \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if c < -6.49999999999999949e-38 or 4.70000000000000017e67 < c Initial program 21.8%
associate-+l-21.8%
Simplified21.8%
Taylor expanded in y4 around inf 40.6%
Taylor expanded in c around inf 42.2%
Taylor expanded in y around 0 33.3%
associate-*r*33.3%
mul-1-neg33.3%
associate-*r*27.9%
distribute-rgt-neg-in27.9%
distribute-lft-in42.2%
sub-neg42.2%
associate-*r*42.2%
*-commutative42.2%
associate-*l*47.3%
Simplified47.3%
if -6.49999999999999949e-38 < c < 5.5999999999999999e-77Initial program 33.1%
+-commutative33.1%
fma-def33.1%
*-commutative33.1%
*-commutative33.1%
Simplified35.9%
Taylor expanded in k around inf 38.5%
Taylor expanded in i around inf 36.7%
mul-1-neg36.7%
sub-neg36.7%
*-commutative36.7%
Simplified36.7%
if 5.5999999999999999e-77 < c < 4.70000000000000017e67Initial program 37.1%
associate-+l-37.1%
Simplified37.1%
Taylor expanded in y4 around inf 46.0%
Taylor expanded in t around inf 55.1%
Final simplification43.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= j -6.2e+125)
(* i (* y1 (* x j)))
(if (<= j -2.05e-125)
(* (* j y5) (* y0 y3))
(if (<= j -1.62e-211)
(* y0 (* c (* x y2)))
(if (<= j 4.2e+54)
(* c (* y4 (* t (- y2))))
(* (* y1 y4) (* j (- y3))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (j <= -6.2e+125) {
tmp = i * (y1 * (x * j));
} else if (j <= -2.05e-125) {
tmp = (j * y5) * (y0 * y3);
} else if (j <= -1.62e-211) {
tmp = y0 * (c * (x * y2));
} else if (j <= 4.2e+54) {
tmp = c * (y4 * (t * -y2));
} else {
tmp = (y1 * y4) * (j * -y3);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (j <= (-6.2d+125)) then
tmp = i * (y1 * (x * j))
else if (j <= (-2.05d-125)) then
tmp = (j * y5) * (y0 * y3)
else if (j <= (-1.62d-211)) then
tmp = y0 * (c * (x * y2))
else if (j <= 4.2d+54) then
tmp = c * (y4 * (t * -y2))
else
tmp = (y1 * y4) * (j * -y3)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (j <= -6.2e+125) {
tmp = i * (y1 * (x * j));
} else if (j <= -2.05e-125) {
tmp = (j * y5) * (y0 * y3);
} else if (j <= -1.62e-211) {
tmp = y0 * (c * (x * y2));
} else if (j <= 4.2e+54) {
tmp = c * (y4 * (t * -y2));
} else {
tmp = (y1 * y4) * (j * -y3);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if j <= -6.2e+125: tmp = i * (y1 * (x * j)) elif j <= -2.05e-125: tmp = (j * y5) * (y0 * y3) elif j <= -1.62e-211: tmp = y0 * (c * (x * y2)) elif j <= 4.2e+54: tmp = c * (y4 * (t * -y2)) else: tmp = (y1 * y4) * (j * -y3) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (j <= -6.2e+125) tmp = Float64(i * Float64(y1 * Float64(x * j))); elseif (j <= -2.05e-125) tmp = Float64(Float64(j * y5) * Float64(y0 * y3)); elseif (j <= -1.62e-211) tmp = Float64(y0 * Float64(c * Float64(x * y2))); elseif (j <= 4.2e+54) tmp = Float64(c * Float64(y4 * Float64(t * Float64(-y2)))); else tmp = Float64(Float64(y1 * y4) * Float64(j * Float64(-y3))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (j <= -6.2e+125) tmp = i * (y1 * (x * j)); elseif (j <= -2.05e-125) tmp = (j * y5) * (y0 * y3); elseif (j <= -1.62e-211) tmp = y0 * (c * (x * y2)); elseif (j <= 4.2e+54) tmp = c * (y4 * (t * -y2)); else tmp = (y1 * y4) * (j * -y3); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[j, -6.2e+125], N[(i * N[(y1 * N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -2.05e-125], N[(N[(j * y5), $MachinePrecision] * N[(y0 * y3), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -1.62e-211], N[(y0 * N[(c * N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 4.2e+54], N[(c * N[(y4 * N[(t * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(y1 * y4), $MachinePrecision] * N[(j * (-y3)), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;j \leq -6.2 \cdot 10^{+125}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j\right)\right)\\
\mathbf{elif}\;j \leq -2.05 \cdot 10^{-125}:\\
\;\;\;\;\left(j \cdot y5\right) \cdot \left(y0 \cdot y3\right)\\
\mathbf{elif}\;j \leq -1.62 \cdot 10^{-211}:\\
\;\;\;\;y0 \cdot \left(c \cdot \left(x \cdot y2\right)\right)\\
\mathbf{elif}\;j \leq 4.2 \cdot 10^{+54}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(t \cdot \left(-y2\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\left(y1 \cdot y4\right) \cdot \left(j \cdot \left(-y3\right)\right)\\
\end{array}
\end{array}
if j < -6.2e125Initial program 27.2%
+-commutative27.2%
fma-def27.2%
*-commutative27.2%
*-commutative27.2%
Simplified27.2%
Taylor expanded in j around inf 55.2%
Taylor expanded in x around inf 36.3%
Taylor expanded in y1 around inf 38.7%
if -6.2e125 < j < -2.0499999999999999e-125Initial program 35.3%
+-commutative35.3%
fma-def37.3%
*-commutative37.3%
*-commutative37.3%
Simplified37.3%
Taylor expanded in j around inf 33.4%
Taylor expanded in y5 around inf 36.0%
mul-1-neg36.0%
unsub-neg36.0%
*-commutative36.0%
*-commutative36.0%
Simplified36.0%
Taylor expanded in y0 around inf 26.3%
if -2.0499999999999999e-125 < j < -1.61999999999999999e-211Initial program 27.8%
+-commutative27.8%
fma-def27.8%
*-commutative27.8%
*-commutative27.8%
Simplified33.3%
Taylor expanded in y0 around inf 62.0%
mul-1-neg62.0%
Simplified62.0%
Taylor expanded in c around inf 45.7%
*-commutative45.7%
*-commutative45.7%
associate-*l*51.0%
*-commutative51.0%
Simplified51.0%
Taylor expanded in x around inf 45.7%
if -1.61999999999999999e-211 < j < 4.19999999999999972e54Initial program 30.5%
associate-+l-30.5%
Simplified30.5%
Taylor expanded in y4 around inf 34.7%
Taylor expanded in c around inf 29.7%
Taylor expanded in y around 0 24.8%
mul-1-neg24.8%
distribute-rgt-neg-in24.8%
distribute-rgt-neg-in24.8%
distribute-rgt-neg-in24.8%
Simplified24.8%
if 4.19999999999999972e54 < j Initial program 21.3%
+-commutative21.3%
fma-def23.0%
*-commutative23.0%
*-commutative23.0%
Simplified30.0%
Taylor expanded in j around inf 55.5%
Taylor expanded in y1 around -inf 44.2%
associate-*r*44.2%
neg-mul-144.2%
Simplified44.2%
Taylor expanded in y4 around inf 39.8%
mul-1-neg39.8%
associate-*r*38.2%
*-commutative38.2%
Simplified38.2%
Final simplification31.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= x -2.2e+107)
(* i (* y1 (* x j)))
(if (<= x -5.5e-176)
(* y0 (* y3 (* j y5)))
(if (<= x 1.5e-191)
(* j (* y1 (* y4 (- y3))))
(if (<= x 2.25e-32)
(* y0 (* c (* z (- y3))))
(* j (* y0 (* 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 <= -2.2e+107) {
tmp = i * (y1 * (x * j));
} else if (x <= -5.5e-176) {
tmp = y0 * (y3 * (j * y5));
} else if (x <= 1.5e-191) {
tmp = j * (y1 * (y4 * -y3));
} else if (x <= 2.25e-32) {
tmp = y0 * (c * (z * -y3));
} else {
tmp = j * (y0 * (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 <= (-2.2d+107)) then
tmp = i * (y1 * (x * j))
else if (x <= (-5.5d-176)) then
tmp = y0 * (y3 * (j * y5))
else if (x <= 1.5d-191) then
tmp = j * (y1 * (y4 * -y3))
else if (x <= 2.25d-32) then
tmp = y0 * (c * (z * -y3))
else
tmp = j * (y0 * (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 <= -2.2e+107) {
tmp = i * (y1 * (x * j));
} else if (x <= -5.5e-176) {
tmp = y0 * (y3 * (j * y5));
} else if (x <= 1.5e-191) {
tmp = j * (y1 * (y4 * -y3));
} else if (x <= 2.25e-32) {
tmp = y0 * (c * (z * -y3));
} else {
tmp = j * (y0 * (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 <= -2.2e+107: tmp = i * (y1 * (x * j)) elif x <= -5.5e-176: tmp = y0 * (y3 * (j * y5)) elif x <= 1.5e-191: tmp = j * (y1 * (y4 * -y3)) elif x <= 2.25e-32: tmp = y0 * (c * (z * -y3)) else: tmp = j * (y0 * (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 <= -2.2e+107) tmp = Float64(i * Float64(y1 * Float64(x * j))); elseif (x <= -5.5e-176) tmp = Float64(y0 * Float64(y3 * Float64(j * y5))); elseif (x <= 1.5e-191) tmp = Float64(j * Float64(y1 * Float64(y4 * Float64(-y3)))); elseif (x <= 2.25e-32) tmp = Float64(y0 * Float64(c * Float64(z * Float64(-y3)))); else tmp = Float64(j * Float64(y0 * Float64(x * Float64(-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 <= -2.2e+107) tmp = i * (y1 * (x * j)); elseif (x <= -5.5e-176) tmp = y0 * (y3 * (j * y5)); elseif (x <= 1.5e-191) tmp = j * (y1 * (y4 * -y3)); elseif (x <= 2.25e-32) tmp = y0 * (c * (z * -y3)); else tmp = j * (y0 * (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, -2.2e+107], N[(i * N[(y1 * N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -5.5e-176], N[(y0 * N[(y3 * N[(j * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.5e-191], N[(j * N[(y1 * N[(y4 * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.25e-32], N[(y0 * N[(c * N[(z * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(j * N[(y0 * N[(x * (-b)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -2.2 \cdot 10^{+107}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j\right)\right)\\
\mathbf{elif}\;x \leq -5.5 \cdot 10^{-176}:\\
\;\;\;\;y0 \cdot \left(y3 \cdot \left(j \cdot y5\right)\right)\\
\mathbf{elif}\;x \leq 1.5 \cdot 10^{-191}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(y4 \cdot \left(-y3\right)\right)\right)\\
\mathbf{elif}\;x \leq 2.25 \cdot 10^{-32}:\\
\;\;\;\;y0 \cdot \left(c \cdot \left(z \cdot \left(-y3\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(x \cdot \left(-b\right)\right)\right)\\
\end{array}
\end{array}
if x < -2.2e107Initial program 22.7%
+-commutative22.7%
fma-def22.7%
*-commutative22.7%
*-commutative22.7%
Simplified22.7%
Taylor expanded in j around inf 27.8%
Taylor expanded in x around inf 35.2%
Taylor expanded in y1 around inf 41.9%
if -2.2e107 < x < -5.5e-176Initial program 28.6%
+-commutative28.6%
fma-def32.2%
*-commutative32.2%
*-commutative32.2%
Simplified33.9%
Taylor expanded in j around inf 34.7%
Taylor expanded in y5 around inf 29.7%
mul-1-neg29.7%
unsub-neg29.7%
*-commutative29.7%
*-commutative29.7%
Simplified29.7%
Taylor expanded in y0 around inf 24.5%
if -5.5e-176 < x < 1.5e-191Initial program 42.4%
+-commutative42.4%
fma-def42.4%
*-commutative42.4%
*-commutative42.4%
Simplified45.8%
Taylor expanded in j around inf 58.4%
Taylor expanded in y1 around -inf 35.2%
associate-*r*35.2%
neg-mul-135.2%
Simplified35.2%
Taylor expanded in y4 around inf 33.6%
if 1.5e-191 < x < 2.25000000000000002e-32Initial program 32.1%
+-commutative32.1%
fma-def32.1%
*-commutative32.1%
*-commutative32.1%
Simplified35.7%
Taylor expanded in y0 around inf 39.9%
mul-1-neg39.9%
Simplified39.9%
Taylor expanded in c around inf 33.1%
*-commutative33.1%
*-commutative33.1%
associate-*l*36.4%
*-commutative36.4%
Simplified36.4%
Taylor expanded in x around 0 44.1%
associate-*r*44.1%
neg-mul-144.1%
Simplified44.1%
if 2.25000000000000002e-32 < x Initial program 19.4%
+-commutative19.4%
fma-def19.4%
*-commutative19.4%
*-commutative19.4%
Simplified23.8%
Taylor expanded in j around inf 43.6%
Taylor expanded in x around inf 48.0%
Taylor expanded in i around 0 38.6%
associate-*r*38.6%
neg-mul-138.6%
Simplified38.6%
Final simplification35.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 (* x j)))))
(if (<= y1 -3.5e+167)
t_1
(if (<= y1 -1.05e-30)
(* c (* y0 (* x y2)))
(if (<= y1 -1.35e-231)
t_1
(if (<= y1 6.6e-6) (* c (* y4 (* y y3))) (* k (* y2 (* y1 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 = i * (y1 * (x * j));
double tmp;
if (y1 <= -3.5e+167) {
tmp = t_1;
} else if (y1 <= -1.05e-30) {
tmp = c * (y0 * (x * y2));
} else if (y1 <= -1.35e-231) {
tmp = t_1;
} else if (y1 <= 6.6e-6) {
tmp = c * (y4 * (y * y3));
} else {
tmp = k * (y2 * (y1 * 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 = i * (y1 * (x * j))
if (y1 <= (-3.5d+167)) then
tmp = t_1
else if (y1 <= (-1.05d-30)) then
tmp = c * (y0 * (x * y2))
else if (y1 <= (-1.35d-231)) then
tmp = t_1
else if (y1 <= 6.6d-6) then
tmp = c * (y4 * (y * y3))
else
tmp = k * (y2 * (y1 * 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 = i * (y1 * (x * j));
double tmp;
if (y1 <= -3.5e+167) {
tmp = t_1;
} else if (y1 <= -1.05e-30) {
tmp = c * (y0 * (x * y2));
} else if (y1 <= -1.35e-231) {
tmp = t_1;
} else if (y1 <= 6.6e-6) {
tmp = c * (y4 * (y * y3));
} else {
tmp = k * (y2 * (y1 * y4));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = i * (y1 * (x * j)) tmp = 0 if y1 <= -3.5e+167: tmp = t_1 elif y1 <= -1.05e-30: tmp = c * (y0 * (x * y2)) elif y1 <= -1.35e-231: tmp = t_1 elif y1 <= 6.6e-6: tmp = c * (y4 * (y * y3)) else: tmp = k * (y2 * (y1 * y4)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(i * Float64(y1 * Float64(x * j))) tmp = 0.0 if (y1 <= -3.5e+167) tmp = t_1; elseif (y1 <= -1.05e-30) tmp = Float64(c * Float64(y0 * Float64(x * y2))); elseif (y1 <= -1.35e-231) tmp = t_1; elseif (y1 <= 6.6e-6) tmp = Float64(c * Float64(y4 * Float64(y * y3))); else tmp = Float64(k * Float64(y2 * Float64(y1 * 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 = i * (y1 * (x * j)); tmp = 0.0; if (y1 <= -3.5e+167) tmp = t_1; elseif (y1 <= -1.05e-30) tmp = c * (y0 * (x * y2)); elseif (y1 <= -1.35e-231) tmp = t_1; elseif (y1 <= 6.6e-6) tmp = c * (y4 * (y * y3)); else tmp = k * (y2 * (y1 * 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[(i * N[(y1 * N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y1, -3.5e+167], t$95$1, If[LessEqual[y1, -1.05e-30], N[(c * N[(y0 * N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -1.35e-231], t$95$1, If[LessEqual[y1, 6.6e-6], N[(c * N[(y4 * N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(k * N[(y2 * N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(y1 \cdot \left(x \cdot j\right)\right)\\
\mathbf{if}\;y1 \leq -3.5 \cdot 10^{+167}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y1 \leq -1.05 \cdot 10^{-30}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2\right)\right)\\
\mathbf{elif}\;y1 \leq -1.35 \cdot 10^{-231}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y1 \leq 6.6 \cdot 10^{-6}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4\right)\right)\\
\end{array}
\end{array}
if y1 < -3.49999999999999987e167 or -1.0500000000000001e-30 < y1 < -1.35000000000000011e-231Initial program 22.6%
+-commutative22.6%
fma-def23.9%
*-commutative23.9%
*-commutative23.9%
Simplified25.3%
Taylor expanded in j around inf 49.4%
Taylor expanded in x around inf 31.9%
Taylor expanded in y1 around inf 25.3%
if -3.49999999999999987e167 < y1 < -1.0500000000000001e-30Initial program 36.9%
+-commutative36.9%
fma-def36.9%
*-commutative36.9%
*-commutative36.9%
Simplified36.9%
Taylor expanded in y0 around inf 37.3%
mul-1-neg37.3%
Simplified37.3%
Taylor expanded in c around inf 29.1%
*-commutative29.1%
*-commutative29.1%
associate-*l*29.1%
*-commutative29.1%
Simplified29.1%
Taylor expanded in x around inf 27.2%
if -1.35000000000000011e-231 < y1 < 6.60000000000000034e-6Initial program 34.6%
associate-+l-34.6%
Simplified34.6%
Taylor expanded in y4 around inf 51.7%
Taylor expanded in c around inf 39.7%
Taylor expanded in y around inf 20.7%
if 6.60000000000000034e-6 < y1 Initial program 23.1%
associate-+l-23.1%
Simplified23.1%
Taylor expanded in y4 around inf 32.7%
Taylor expanded in k around inf 35.1%
associate-*r*23.4%
+-commutative23.4%
mul-1-neg23.4%
unsub-neg23.4%
*-commutative23.4%
Simplified23.4%
Taylor expanded in y1 around inf 28.9%
associate-*r*31.9%
*-commutative31.9%
Simplified31.9%
Final simplification26.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* i (* y1 (* x j)))))
(if (<= y1 -3.9e+164)
t_1
(if (<= y1 -1.02e-75)
(* y0 (* c (* x y2)))
(if (<= y1 -5.9e-236)
t_1
(if (<= y1 3.7e-6) (* c (* y4 (* y y3))) (* k (* y2 (* y1 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 = i * (y1 * (x * j));
double tmp;
if (y1 <= -3.9e+164) {
tmp = t_1;
} else if (y1 <= -1.02e-75) {
tmp = y0 * (c * (x * y2));
} else if (y1 <= -5.9e-236) {
tmp = t_1;
} else if (y1 <= 3.7e-6) {
tmp = c * (y4 * (y * y3));
} else {
tmp = k * (y2 * (y1 * 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 = i * (y1 * (x * j))
if (y1 <= (-3.9d+164)) then
tmp = t_1
else if (y1 <= (-1.02d-75)) then
tmp = y0 * (c * (x * y2))
else if (y1 <= (-5.9d-236)) then
tmp = t_1
else if (y1 <= 3.7d-6) then
tmp = c * (y4 * (y * y3))
else
tmp = k * (y2 * (y1 * 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 = i * (y1 * (x * j));
double tmp;
if (y1 <= -3.9e+164) {
tmp = t_1;
} else if (y1 <= -1.02e-75) {
tmp = y0 * (c * (x * y2));
} else if (y1 <= -5.9e-236) {
tmp = t_1;
} else if (y1 <= 3.7e-6) {
tmp = c * (y4 * (y * y3));
} else {
tmp = k * (y2 * (y1 * y4));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = i * (y1 * (x * j)) tmp = 0 if y1 <= -3.9e+164: tmp = t_1 elif y1 <= -1.02e-75: tmp = y0 * (c * (x * y2)) elif y1 <= -5.9e-236: tmp = t_1 elif y1 <= 3.7e-6: tmp = c * (y4 * (y * y3)) else: tmp = k * (y2 * (y1 * y4)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(i * Float64(y1 * Float64(x * j))) tmp = 0.0 if (y1 <= -3.9e+164) tmp = t_1; elseif (y1 <= -1.02e-75) tmp = Float64(y0 * Float64(c * Float64(x * y2))); elseif (y1 <= -5.9e-236) tmp = t_1; elseif (y1 <= 3.7e-6) tmp = Float64(c * Float64(y4 * Float64(y * y3))); else tmp = Float64(k * Float64(y2 * Float64(y1 * 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 = i * (y1 * (x * j)); tmp = 0.0; if (y1 <= -3.9e+164) tmp = t_1; elseif (y1 <= -1.02e-75) tmp = y0 * (c * (x * y2)); elseif (y1 <= -5.9e-236) tmp = t_1; elseif (y1 <= 3.7e-6) tmp = c * (y4 * (y * y3)); else tmp = k * (y2 * (y1 * 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[(i * N[(y1 * N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y1, -3.9e+164], t$95$1, If[LessEqual[y1, -1.02e-75], N[(y0 * N[(c * N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -5.9e-236], t$95$1, If[LessEqual[y1, 3.7e-6], N[(c * N[(y4 * N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(k * N[(y2 * N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(y1 \cdot \left(x \cdot j\right)\right)\\
\mathbf{if}\;y1 \leq -3.9 \cdot 10^{+164}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y1 \leq -1.02 \cdot 10^{-75}:\\
\;\;\;\;y0 \cdot \left(c \cdot \left(x \cdot y2\right)\right)\\
\mathbf{elif}\;y1 \leq -5.9 \cdot 10^{-236}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y1 \leq 3.7 \cdot 10^{-6}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4\right)\right)\\
\end{array}
\end{array}
if y1 < -3.89999999999999985e164 or -1.01999999999999997e-75 < y1 < -5.90000000000000014e-236Initial program 17.0%
+-commutative17.0%
fma-def17.0%
*-commutative17.0%
*-commutative17.0%
Simplified18.7%
Taylor expanded in j around inf 54.7%
Taylor expanded in x around inf 38.3%
Taylor expanded in y1 around inf 30.2%
if -3.89999999999999985e164 < y1 < -1.01999999999999997e-75Initial program 39.3%
+-commutative39.3%
fma-def41.0%
*-commutative41.0%
*-commutative41.0%
Simplified41.0%
Taylor expanded in y0 around inf 37.8%
mul-1-neg37.8%
Simplified37.8%
Taylor expanded in c around inf 24.7%
*-commutative24.7%
*-commutative24.7%
associate-*l*26.2%
*-commutative26.2%
Simplified26.2%
Taylor expanded in x around inf 23.1%
if -5.90000000000000014e-236 < y1 < 3.7000000000000002e-6Initial program 34.6%
associate-+l-34.6%
Simplified34.6%
Taylor expanded in y4 around inf 51.7%
Taylor expanded in c around inf 39.7%
Taylor expanded in y around inf 20.7%
if 3.7000000000000002e-6 < y1 Initial program 23.1%
associate-+l-23.1%
Simplified23.1%
Taylor expanded in y4 around inf 32.7%
Taylor expanded in k around inf 35.1%
associate-*r*23.4%
+-commutative23.4%
mul-1-neg23.4%
unsub-neg23.4%
*-commutative23.4%
Simplified23.4%
Taylor expanded in y1 around inf 28.9%
associate-*r*31.9%
*-commutative31.9%
Simplified31.9%
Final simplification26.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* i (* y1 (* x j)))) (t_2 (* y0 (* y3 (* j y5)))))
(if (<= x -3.35e+109)
t_1
(if (<= x -4.4e-182)
t_2
(if (<= x 1.3e-165)
(* k (* y4 (* y1 y2)))
(if (<= x 4.4e-43) 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 = i * (y1 * (x * j));
double t_2 = y0 * (y3 * (j * y5));
double tmp;
if (x <= -3.35e+109) {
tmp = t_1;
} else if (x <= -4.4e-182) {
tmp = t_2;
} else if (x <= 1.3e-165) {
tmp = k * (y4 * (y1 * y2));
} else if (x <= 4.4e-43) {
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 = i * (y1 * (x * j))
t_2 = y0 * (y3 * (j * y5))
if (x <= (-3.35d+109)) then
tmp = t_1
else if (x <= (-4.4d-182)) then
tmp = t_2
else if (x <= 1.3d-165) then
tmp = k * (y4 * (y1 * y2))
else if (x <= 4.4d-43) 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 = i * (y1 * (x * j));
double t_2 = y0 * (y3 * (j * y5));
double tmp;
if (x <= -3.35e+109) {
tmp = t_1;
} else if (x <= -4.4e-182) {
tmp = t_2;
} else if (x <= 1.3e-165) {
tmp = k * (y4 * (y1 * y2));
} else if (x <= 4.4e-43) {
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 = i * (y1 * (x * j)) t_2 = y0 * (y3 * (j * y5)) tmp = 0 if x <= -3.35e+109: tmp = t_1 elif x <= -4.4e-182: tmp = t_2 elif x <= 1.3e-165: tmp = k * (y4 * (y1 * y2)) elif x <= 4.4e-43: 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(i * Float64(y1 * Float64(x * j))) t_2 = Float64(y0 * Float64(y3 * Float64(j * y5))) tmp = 0.0 if (x <= -3.35e+109) tmp = t_1; elseif (x <= -4.4e-182) tmp = t_2; elseif (x <= 1.3e-165) tmp = Float64(k * Float64(y4 * Float64(y1 * y2))); elseif (x <= 4.4e-43) 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 = i * (y1 * (x * j)); t_2 = y0 * (y3 * (j * y5)); tmp = 0.0; if (x <= -3.35e+109) tmp = t_1; elseif (x <= -4.4e-182) tmp = t_2; elseif (x <= 1.3e-165) tmp = k * (y4 * (y1 * y2)); elseif (x <= 4.4e-43) 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[(i * N[(y1 * N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y0 * N[(y3 * N[(j * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -3.35e+109], t$95$1, If[LessEqual[x, -4.4e-182], t$95$2, If[LessEqual[x, 1.3e-165], N[(k * N[(y4 * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 4.4e-43], t$95$2, t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(y1 \cdot \left(x \cdot j\right)\right)\\
t_2 := y0 \cdot \left(y3 \cdot \left(j \cdot y5\right)\right)\\
\mathbf{if}\;x \leq -3.35 \cdot 10^{+109}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x \leq -4.4 \cdot 10^{-182}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;x \leq 1.3 \cdot 10^{-165}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2\right)\right)\\
\mathbf{elif}\;x \leq 4.4 \cdot 10^{-43}:\\
\;\;\;\;t_2\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if x < -3.35000000000000018e109 or 4.39999999999999994e-43 < x Initial program 20.5%
+-commutative20.5%
fma-def20.5%
*-commutative20.5%
*-commutative20.5%
Simplified23.2%
Taylor expanded in j around inf 38.0%
Taylor expanded in x around inf 43.5%
Taylor expanded in y1 around inf 33.0%
if -3.35000000000000018e109 < x < -4.3999999999999999e-182 or 1.30000000000000004e-165 < x < 4.39999999999999994e-43Initial program 29.0%
+-commutative29.0%
fma-def31.6%
*-commutative31.6%
*-commutative31.6%
Simplified32.9%
Taylor expanded in j around inf 33.6%
Taylor expanded in y5 around inf 31.5%
mul-1-neg31.5%
unsub-neg31.5%
*-commutative31.5%
*-commutative31.5%
Simplified31.5%
Taylor expanded in y0 around inf 26.4%
if -4.3999999999999999e-182 < x < 1.30000000000000004e-165Initial program 42.5%
associate-+l-42.5%
Simplified42.5%
Taylor expanded in y4 around inf 51.9%
Taylor expanded in k around inf 39.1%
associate-*r*27.6%
+-commutative27.6%
mul-1-neg27.6%
unsub-neg27.6%
*-commutative27.6%
Simplified27.6%
Taylor expanded in y1 around inf 25.7%
Final simplification29.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y0 (* y3 (* j y5)))))
(if (<= x -1.3e+109)
(* i (* y1 (* x j)))
(if (<= x -5.8e-182)
t_1
(if (<= x 1.3e-165)
(* k (* y4 (* y1 y2)))
(if (<= x 6e-43) t_1 (* j (* i (* x y1)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y0 * (y3 * (j * y5));
double tmp;
if (x <= -1.3e+109) {
tmp = i * (y1 * (x * j));
} else if (x <= -5.8e-182) {
tmp = t_1;
} else if (x <= 1.3e-165) {
tmp = k * (y4 * (y1 * y2));
} else if (x <= 6e-43) {
tmp = t_1;
} else {
tmp = j * (i * (x * y1));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = y0 * (y3 * (j * y5))
if (x <= (-1.3d+109)) then
tmp = i * (y1 * (x * j))
else if (x <= (-5.8d-182)) then
tmp = t_1
else if (x <= 1.3d-165) then
tmp = k * (y4 * (y1 * y2))
else if (x <= 6d-43) then
tmp = t_1
else
tmp = j * (i * (x * y1))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y0 * (y3 * (j * y5));
double tmp;
if (x <= -1.3e+109) {
tmp = i * (y1 * (x * j));
} else if (x <= -5.8e-182) {
tmp = t_1;
} else if (x <= 1.3e-165) {
tmp = k * (y4 * (y1 * y2));
} else if (x <= 6e-43) {
tmp = t_1;
} else {
tmp = j * (i * (x * y1));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y0 * (y3 * (j * y5)) tmp = 0 if x <= -1.3e+109: tmp = i * (y1 * (x * j)) elif x <= -5.8e-182: tmp = t_1 elif x <= 1.3e-165: tmp = k * (y4 * (y1 * y2)) elif x <= 6e-43: tmp = t_1 else: tmp = j * (i * (x * y1)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y0 * Float64(y3 * Float64(j * y5))) tmp = 0.0 if (x <= -1.3e+109) tmp = Float64(i * Float64(y1 * Float64(x * j))); elseif (x <= -5.8e-182) tmp = t_1; elseif (x <= 1.3e-165) tmp = Float64(k * Float64(y4 * Float64(y1 * y2))); elseif (x <= 6e-43) tmp = t_1; else tmp = Float64(j * Float64(i * Float64(x * y1))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = y0 * (y3 * (j * y5)); tmp = 0.0; if (x <= -1.3e+109) tmp = i * (y1 * (x * j)); elseif (x <= -5.8e-182) tmp = t_1; elseif (x <= 1.3e-165) tmp = k * (y4 * (y1 * y2)); elseif (x <= 6e-43) tmp = t_1; else tmp = j * (i * (x * y1)); 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[(y0 * N[(y3 * N[(j * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -1.3e+109], N[(i * N[(y1 * N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -5.8e-182], t$95$1, If[LessEqual[x, 1.3e-165], N[(k * N[(y4 * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 6e-43], t$95$1, N[(j * N[(i * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y0 \cdot \left(y3 \cdot \left(j \cdot y5\right)\right)\\
\mathbf{if}\;x \leq -1.3 \cdot 10^{+109}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j\right)\right)\\
\mathbf{elif}\;x \leq -5.8 \cdot 10^{-182}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x \leq 1.3 \cdot 10^{-165}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2\right)\right)\\
\mathbf{elif}\;x \leq 6 \cdot 10^{-43}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(i \cdot \left(x \cdot y1\right)\right)\\
\end{array}
\end{array}
if x < -1.2999999999999999e109Initial program 20.9%
+-commutative20.9%
fma-def20.9%
*-commutative20.9%
*-commutative20.9%
Simplified20.9%
Taylor expanded in j around inf 28.4%
Taylor expanded in x around inf 36.0%
Taylor expanded in y1 around inf 42.8%
if -1.2999999999999999e109 < x < -5.79999999999999974e-182 or 1.30000000000000004e-165 < x < 6.00000000000000007e-43Initial program 29.0%
+-commutative29.0%
fma-def31.6%
*-commutative31.6%
*-commutative31.6%
Simplified32.9%
Taylor expanded in j around inf 33.6%
Taylor expanded in y5 around inf 31.5%
mul-1-neg31.5%
unsub-neg31.5%
*-commutative31.5%
*-commutative31.5%
Simplified31.5%
Taylor expanded in y0 around inf 26.4%
if -5.79999999999999974e-182 < x < 1.30000000000000004e-165Initial program 42.5%
associate-+l-42.5%
Simplified42.5%
Taylor expanded in y4 around inf 51.9%
Taylor expanded in k around inf 39.1%
associate-*r*27.6%
+-commutative27.6%
mul-1-neg27.6%
unsub-neg27.6%
*-commutative27.6%
Simplified27.6%
Taylor expanded in y1 around inf 25.7%
if 6.00000000000000007e-43 < x Initial program 20.3%
+-commutative20.3%
fma-def20.3%
*-commutative20.3%
*-commutative20.3%
Simplified24.5%
Taylor expanded in j around inf 43.8%
Taylor expanded in x around inf 48.1%
Taylor expanded in y1 around inf 30.2%
Final simplification30.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= j -2.5e+121)
(* i (* y1 (* x j)))
(if (<= j 3.9e+38)
(* c (* y4 (- (* y y3) (* t y2))))
(* y4 (* y1 (* j (- y3)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (j <= -2.5e+121) {
tmp = i * (y1 * (x * j));
} else if (j <= 3.9e+38) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else {
tmp = y4 * (y1 * (j * -y3));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (j <= (-2.5d+121)) then
tmp = i * (y1 * (x * j))
else if (j <= 3.9d+38) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else
tmp = y4 * (y1 * (j * -y3))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (j <= -2.5e+121) {
tmp = i * (y1 * (x * j));
} else if (j <= 3.9e+38) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else {
tmp = y4 * (y1 * (j * -y3));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if j <= -2.5e+121: tmp = i * (y1 * (x * j)) elif j <= 3.9e+38: tmp = c * (y4 * ((y * y3) - (t * y2))) else: tmp = y4 * (y1 * (j * -y3)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (j <= -2.5e+121) tmp = Float64(i * Float64(y1 * Float64(x * j))); elseif (j <= 3.9e+38) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); else tmp = Float64(y4 * Float64(y1 * Float64(j * Float64(-y3)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (j <= -2.5e+121) tmp = i * (y1 * (x * j)); elseif (j <= 3.9e+38) tmp = c * (y4 * ((y * y3) - (t * y2))); else tmp = y4 * (y1 * (j * -y3)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[j, -2.5e+121], N[(i * N[(y1 * N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3.9e+38], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y4 * N[(y1 * N[(j * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;j \leq -2.5 \cdot 10^{+121}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j\right)\right)\\
\mathbf{elif}\;j \leq 3.9 \cdot 10^{+38}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y4 \cdot \left(y1 \cdot \left(j \cdot \left(-y3\right)\right)\right)\\
\end{array}
\end{array}
if j < -2.50000000000000004e121Initial program 26.9%
+-commutative26.9%
fma-def26.9%
*-commutative26.9%
*-commutative26.9%
Simplified26.9%
Taylor expanded in j around inf 53.9%
Taylor expanded in x around inf 35.3%
Taylor expanded in y1 around inf 37.7%
if -2.50000000000000004e121 < j < 3.90000000000000023e38Initial program 31.3%
associate-+l-31.3%
Simplified31.3%
Taylor expanded in y4 around inf 34.7%
Taylor expanded in c around inf 32.4%
if 3.90000000000000023e38 < j Initial program 23.1%
+-commutative23.1%
fma-def24.8%
*-commutative24.8%
*-commutative24.8%
Simplified33.0%
Taylor expanded in j around inf 55.2%
Taylor expanded in y1 around -inf 43.0%
associate-*r*43.0%
neg-mul-143.0%
Simplified43.0%
Taylor expanded in y4 around inf 38.9%
Final simplification34.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= y2 5e-13) (* c (* y4 (* y y3))) (* c (* y0 (* x y2)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= 5e-13) {
tmp = c * (y4 * (y * y3));
} else {
tmp = c * (y0 * (x * y2));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= 5d-13) then
tmp = c * (y4 * (y * y3))
else
tmp = c * (y0 * (x * y2))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= 5e-13) {
tmp = c * (y4 * (y * y3));
} else {
tmp = c * (y0 * (x * y2));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= 5e-13: tmp = c * (y4 * (y * y3)) else: tmp = c * (y0 * (x * y2)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y2 <= 5e-13) tmp = Float64(c * Float64(y4 * Float64(y * y3))); else tmp = Float64(c * Float64(y0 * Float64(x * y2))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= 5e-13) tmp = c * (y4 * (y * y3)); else tmp = c * (y0 * (x * y2)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, 5e-13], N[(c * N[(y4 * N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(y0 * N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq 5 \cdot 10^{-13}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2\right)\right)\\
\end{array}
\end{array}
if y2 < 4.9999999999999999e-13Initial program 29.2%
associate-+l-29.2%
Simplified29.2%
Taylor expanded in y4 around inf 40.1%
Taylor expanded in c around inf 29.7%
Taylor expanded in y around inf 19.1%
if 4.9999999999999999e-13 < y2 Initial program 27.0%
+-commutative27.0%
fma-def27.0%
*-commutative27.0%
*-commutative27.0%
Simplified28.6%
Taylor expanded in y0 around inf 40.1%
mul-1-neg40.1%
Simplified40.1%
Taylor expanded in c around inf 37.3%
*-commutative37.3%
*-commutative37.3%
associate-*l*31.3%
*-commutative31.3%
Simplified31.3%
Taylor expanded in x around inf 31.1%
Final simplification22.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= y2 4.7e-74) (* i (* y1 (* x j))) (* c (* y0 (* x y2)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= 4.7e-74) {
tmp = i * (y1 * (x * j));
} else {
tmp = c * (y0 * (x * y2));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= 4.7d-74) then
tmp = i * (y1 * (x * j))
else
tmp = c * (y0 * (x * y2))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= 4.7e-74) {
tmp = i * (y1 * (x * j));
} else {
tmp = c * (y0 * (x * y2));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= 4.7e-74: tmp = i * (y1 * (x * j)) else: tmp = c * (y0 * (x * y2)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y2 <= 4.7e-74) tmp = Float64(i * Float64(y1 * Float64(x * j))); else tmp = Float64(c * Float64(y0 * Float64(x * y2))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= 4.7e-74) tmp = i * (y1 * (x * j)); else tmp = c * (y0 * (x * y2)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, 4.7e-74], N[(i * N[(y1 * N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(y0 * N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq 4.7 \cdot 10^{-74}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2\right)\right)\\
\end{array}
\end{array}
if y2 < 4.7000000000000001e-74Initial program 27.9%
+-commutative27.9%
fma-def29.0%
*-commutative29.0%
*-commutative29.0%
Simplified31.2%
Taylor expanded in j around inf 41.1%
Taylor expanded in x around inf 25.0%
Taylor expanded in y1 around inf 19.3%
if 4.7000000000000001e-74 < y2 Initial program 30.7%
+-commutative30.7%
fma-def30.7%
*-commutative30.7%
*-commutative30.7%
Simplified32.1%
Taylor expanded in y0 around inf 43.0%
mul-1-neg43.0%
Simplified43.0%
Taylor expanded in c around inf 36.8%
*-commutative36.8%
*-commutative36.8%
associate-*l*31.8%
*-commutative31.8%
Simplified31.8%
Taylor expanded in x around inf 29.0%
Final simplification22.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* c (* y0 (* x y2))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return c * (y0 * (x * y2));
}
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 = c * (y0 * (x * y2))
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 c * (y0 * (x * y2));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return c * (y0 * (x * y2))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(c * Float64(y0 * Float64(x * y2))) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = c * (y0 * (x * y2)); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(c * N[(y0 * N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
c \cdot \left(y0 \cdot \left(x \cdot y2\right)\right)
\end{array}
Initial program 28.7%
+-commutative28.7%
fma-def29.5%
*-commutative29.5%
*-commutative29.5%
Simplified32.6%
Taylor expanded in y0 around inf 34.2%
mul-1-neg34.2%
Simplified34.2%
Taylor expanded in c around inf 24.2%
*-commutative24.2%
*-commutative24.2%
associate-*l*23.9%
*-commutative23.9%
Simplified23.9%
Taylor expanded in x around inf 14.0%
Final simplification14.0%
(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 2023174
(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)))))