Linear.Matrix:det44 from linear-1.19.1.3

Percentage Accurate: 30.2% → 39.8%
Time: 1.1min
Alternatives: 31
Speedup: 2.6×

Specification

?
\[\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
 (+
  (-
   (+
    (+
     (-
      (* (- (* 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:

Local Percentage Accuracy vs ?

The average percentage accuracy by input value. Horizontal axis shows value of an input variable; the variable is choosen in the title. Vertical axis is accuracy; higher is better. Red represent the original program, while blue represents Herbie's suggestion. These can be toggled with buttons below the plot. The line is an average while dots represent individual samples.

Accuracy vs Speed?

Herbie found 31 alternatives:

AlternativeAccuracySpeedup
The accuracy (vertical axis) and speed (horizontal axis) of each alternatives. Up and to the right is better. The red square shows the initial program, and each blue circle shows an alternative.The line shows the best available speed-accuracy tradeoffs.

Initial Program: 30.2% accurate, 1.0× speedup?

\[\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
 (+
  (-
   (+
    (+
     (-
      (* (- (* 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}

Alternative 1: 39.8% accurate, 1.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := j \cdot y3 - k \cdot y2\\ t_2 := y \cdot y3 - t \cdot y2\\ t_3 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) - y5 \cdot t\_2\right)\\ t_4 := 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 t\_2\right)\\ t_5 := x \cdot y2 - z \cdot y3\\ \mathbf{if}\;a \leq -5.4 \cdot 10^{+249}:\\ \;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\ \mathbf{elif}\;a \leq -1 \cdot 10^{+170}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;a \leq -3.1 \cdot 10^{+66}:\\ \;\;\;\;t\_4\\ \mathbf{elif}\;a \leq -2.5 \cdot 10^{-143}:\\ \;\;\;\;c \cdot \left(\left(i \cdot \left(z \cdot t - x \cdot y\right) + y0 \cdot t\_5\right) + y4 \cdot t\_2\right)\\ \mathbf{elif}\;a \leq 1.55 \cdot 10^{-276}:\\ \;\;\;\;y \cdot \left(\left(k \cdot \left(i \cdot y5 - b \cdot y4\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) + y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\ \mathbf{elif}\;a \leq 2.55 \cdot 10^{-117}:\\ \;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(y0 \cdot t\_1 + i \cdot \left(y \cdot k - t \cdot j\right)\right)\right)\\ \mathbf{elif}\;a \leq 2.1 \cdot 10^{-53}:\\ \;\;\;\;y0 \cdot \left(\left(y5 \cdot t\_1 + c \cdot t\_5\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;a \leq 0.0008:\\ \;\;\;\;t\_4\\ \mathbf{elif}\;a \leq 1.7 \cdot 10^{+114}:\\ \;\;\;\;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{else}:\\ \;\;\;\;t\_3\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (- (* j y3) (* k y2)))
        (t_2 (- (* y y3) (* t y2)))
        (t_3 (* a (- (* b (- (* x y) (* z t))) (* y5 t_2))))
        (t_4
         (*
          y4
          (+
           (+ (* b (- (* t j) (* y k))) (* y1 (- (* k y2) (* j y3))))
           (* c t_2))))
        (t_5 (- (* x y2) (* z y3))))
   (if (<= a -5.4e+249)
     (* y3 (* z (- (* a y1) (* c y0))))
     (if (<= a -1e+170)
       t_3
       (if (<= a -3.1e+66)
         t_4
         (if (<= a -2.5e-143)
           (* c (+ (+ (* i (- (* z t) (* x y))) (* y0 t_5)) (* y4 t_2)))
           (if (<= a 1.55e-276)
             (*
              y
              (+
               (+ (* k (- (* i y5) (* b y4))) (* x (- (* a b) (* c i))))
               (* y3 (- (* c y4) (* a y5)))))
             (if (<= a 2.55e-117)
               (*
                y5
                (+
                 (* a (- (* t y2) (* y y3)))
                 (+ (* y0 t_1) (* i (- (* y k) (* t j))))))
               (if (<= a 2.1e-53)
                 (* y0 (+ (+ (* y5 t_1) (* c t_5)) (* b (- (* z k) (* x j)))))
                 (if (<= a 0.0008)
                   t_4
                   (if (<= a 1.7e+114)
                     (*
                      j
                      (+
                       (+
                        (* y3 (- (* y0 y5) (* y1 y4)))
                        (* t (- (* b y4) (* i y5))))
                       (* x (- (* i y1) (* b y0)))))
                     t_3)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (j * y3) - (k * y2);
	double t_2 = (y * y3) - (t * y2);
	double t_3 = a * ((b * ((x * y) - (z * t))) - (y5 * t_2));
	double t_4 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_2));
	double t_5 = (x * y2) - (z * y3);
	double tmp;
	if (a <= -5.4e+249) {
		tmp = y3 * (z * ((a * y1) - (c * y0)));
	} else if (a <= -1e+170) {
		tmp = t_3;
	} else if (a <= -3.1e+66) {
		tmp = t_4;
	} else if (a <= -2.5e-143) {
		tmp = c * (((i * ((z * t) - (x * y))) + (y0 * t_5)) + (y4 * t_2));
	} else if (a <= 1.55e-276) {
		tmp = y * (((k * ((i * y5) - (b * y4))) + (x * ((a * b) - (c * i)))) + (y3 * ((c * y4) - (a * y5))));
	} else if (a <= 2.55e-117) {
		tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * t_1) + (i * ((y * k) - (t * j)))));
	} else if (a <= 2.1e-53) {
		tmp = y0 * (((y5 * t_1) + (c * t_5)) + (b * ((z * k) - (x * j))));
	} else if (a <= 0.0008) {
		tmp = t_4;
	} else if (a <= 1.7e+114) {
		tmp = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * ((i * y1) - (b * y0))));
	} else {
		tmp = t_3;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: t_4
    real(8) :: t_5
    real(8) :: tmp
    t_1 = (j * y3) - (k * y2)
    t_2 = (y * y3) - (t * y2)
    t_3 = a * ((b * ((x * y) - (z * t))) - (y5 * t_2))
    t_4 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_2))
    t_5 = (x * y2) - (z * y3)
    if (a <= (-5.4d+249)) then
        tmp = y3 * (z * ((a * y1) - (c * y0)))
    else if (a <= (-1d+170)) then
        tmp = t_3
    else if (a <= (-3.1d+66)) then
        tmp = t_4
    else if (a <= (-2.5d-143)) then
        tmp = c * (((i * ((z * t) - (x * y))) + (y0 * t_5)) + (y4 * t_2))
    else if (a <= 1.55d-276) then
        tmp = y * (((k * ((i * y5) - (b * y4))) + (x * ((a * b) - (c * i)))) + (y3 * ((c * y4) - (a * y5))))
    else if (a <= 2.55d-117) then
        tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * t_1) + (i * ((y * k) - (t * j)))))
    else if (a <= 2.1d-53) then
        tmp = y0 * (((y5 * t_1) + (c * t_5)) + (b * ((z * k) - (x * j))))
    else if (a <= 0.0008d0) then
        tmp = t_4
    else if (a <= 1.7d+114) then
        tmp = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * ((i * y1) - (b * y0))))
    else
        tmp = t_3
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (j * y3) - (k * y2);
	double t_2 = (y * y3) - (t * y2);
	double t_3 = a * ((b * ((x * y) - (z * t))) - (y5 * t_2));
	double t_4 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_2));
	double t_5 = (x * y2) - (z * y3);
	double tmp;
	if (a <= -5.4e+249) {
		tmp = y3 * (z * ((a * y1) - (c * y0)));
	} else if (a <= -1e+170) {
		tmp = t_3;
	} else if (a <= -3.1e+66) {
		tmp = t_4;
	} else if (a <= -2.5e-143) {
		tmp = c * (((i * ((z * t) - (x * y))) + (y0 * t_5)) + (y4 * t_2));
	} else if (a <= 1.55e-276) {
		tmp = y * (((k * ((i * y5) - (b * y4))) + (x * ((a * b) - (c * i)))) + (y3 * ((c * y4) - (a * y5))));
	} else if (a <= 2.55e-117) {
		tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * t_1) + (i * ((y * k) - (t * j)))));
	} else if (a <= 2.1e-53) {
		tmp = y0 * (((y5 * t_1) + (c * t_5)) + (b * ((z * k) - (x * j))));
	} else if (a <= 0.0008) {
		tmp = t_4;
	} else if (a <= 1.7e+114) {
		tmp = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * ((i * y1) - (b * y0))));
	} else {
		tmp = t_3;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = (j * y3) - (k * y2)
	t_2 = (y * y3) - (t * y2)
	t_3 = a * ((b * ((x * y) - (z * t))) - (y5 * t_2))
	t_4 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_2))
	t_5 = (x * y2) - (z * y3)
	tmp = 0
	if a <= -5.4e+249:
		tmp = y3 * (z * ((a * y1) - (c * y0)))
	elif a <= -1e+170:
		tmp = t_3
	elif a <= -3.1e+66:
		tmp = t_4
	elif a <= -2.5e-143:
		tmp = c * (((i * ((z * t) - (x * y))) + (y0 * t_5)) + (y4 * t_2))
	elif a <= 1.55e-276:
		tmp = y * (((k * ((i * y5) - (b * y4))) + (x * ((a * b) - (c * i)))) + (y3 * ((c * y4) - (a * y5))))
	elif a <= 2.55e-117:
		tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * t_1) + (i * ((y * k) - (t * j)))))
	elif a <= 2.1e-53:
		tmp = y0 * (((y5 * t_1) + (c * t_5)) + (b * ((z * k) - (x * j))))
	elif a <= 0.0008:
		tmp = t_4
	elif a <= 1.7e+114:
		tmp = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * ((i * y1) - (b * y0))))
	else:
		tmp = t_3
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(Float64(j * y3) - Float64(k * y2))
	t_2 = Float64(Float64(y * y3) - Float64(t * y2))
	t_3 = Float64(a * Float64(Float64(b * Float64(Float64(x * y) - Float64(z * t))) - Float64(y5 * t_2)))
	t_4 = Float64(y4 * Float64(Float64(Float64(b * Float64(Float64(t * j) - Float64(y * k))) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * t_2)))
	t_5 = Float64(Float64(x * y2) - Float64(z * y3))
	tmp = 0.0
	if (a <= -5.4e+249)
		tmp = Float64(y3 * Float64(z * Float64(Float64(a * y1) - Float64(c * y0))));
	elseif (a <= -1e+170)
		tmp = t_3;
	elseif (a <= -3.1e+66)
		tmp = t_4;
	elseif (a <= -2.5e-143)
		tmp = Float64(c * Float64(Float64(Float64(i * Float64(Float64(z * t) - Float64(x * y))) + Float64(y0 * t_5)) + Float64(y4 * t_2)));
	elseif (a <= 1.55e-276)
		tmp = Float64(y * Float64(Float64(Float64(k * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(x * Float64(Float64(a * b) - Float64(c * i)))) + Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5)))));
	elseif (a <= 2.55e-117)
		tmp = Float64(y5 * Float64(Float64(a * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(Float64(y0 * t_1) + Float64(i * Float64(Float64(y * k) - Float64(t * j))))));
	elseif (a <= 2.1e-53)
		tmp = Float64(y0 * Float64(Float64(Float64(y5 * t_1) + Float64(c * t_5)) + Float64(b * Float64(Float64(z * k) - Float64(x * j)))));
	elseif (a <= 0.0008)
		tmp = t_4;
	elseif (a <= 1.7e+114)
		tmp = 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)))));
	else
		tmp = t_3;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = (j * y3) - (k * y2);
	t_2 = (y * y3) - (t * y2);
	t_3 = a * ((b * ((x * y) - (z * t))) - (y5 * t_2));
	t_4 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_2));
	t_5 = (x * y2) - (z * y3);
	tmp = 0.0;
	if (a <= -5.4e+249)
		tmp = y3 * (z * ((a * y1) - (c * y0)));
	elseif (a <= -1e+170)
		tmp = t_3;
	elseif (a <= -3.1e+66)
		tmp = t_4;
	elseif (a <= -2.5e-143)
		tmp = c * (((i * ((z * t) - (x * y))) + (y0 * t_5)) + (y4 * t_2));
	elseif (a <= 1.55e-276)
		tmp = y * (((k * ((i * y5) - (b * y4))) + (x * ((a * b) - (c * i)))) + (y3 * ((c * y4) - (a * y5))));
	elseif (a <= 2.55e-117)
		tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * t_1) + (i * ((y * k) - (t * j)))));
	elseif (a <= 2.1e-53)
		tmp = y0 * (((y5 * t_1) + (c * t_5)) + (b * ((z * k) - (x * j))));
	elseif (a <= 0.0008)
		tmp = t_4;
	elseif (a <= 1.7e+114)
		tmp = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * ((i * y1) - (b * y0))));
	else
		tmp = t_3;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(a * N[(N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y5 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = 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 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -5.4e+249], N[(y3 * N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1e+170], t$95$3, If[LessEqual[a, -3.1e+66], t$95$4, If[LessEqual[a, -2.5e-143], N[(c * N[(N[(N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * t$95$5), $MachinePrecision]), $MachinePrecision] + N[(y4 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.55e-276], N[(y * N[(N[(N[(k * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2.55e-117], N[(y5 * N[(N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y0 * t$95$1), $MachinePrecision] + N[(i * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2.1e-53], N[(y0 * N[(N[(N[(y5 * t$95$1), $MachinePrecision] + N[(c * t$95$5), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 0.0008], t$95$4, If[LessEqual[a, 1.7e+114], 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], t$95$3]]]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := j \cdot y3 - k \cdot y2\\
t_2 := y \cdot y3 - t \cdot y2\\
t_3 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) - y5 \cdot t\_2\right)\\
t_4 := 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 t\_2\right)\\
t_5 := x \cdot y2 - z \cdot y3\\
\mathbf{if}\;a \leq -5.4 \cdot 10^{+249}:\\
\;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\

\mathbf{elif}\;a \leq -1 \cdot 10^{+170}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;a \leq -3.1 \cdot 10^{+66}:\\
\;\;\;\;t\_4\\

\mathbf{elif}\;a \leq -2.5 \cdot 10^{-143}:\\
\;\;\;\;c \cdot \left(\left(i \cdot \left(z \cdot t - x \cdot y\right) + y0 \cdot t\_5\right) + y4 \cdot t\_2\right)\\

\mathbf{elif}\;a \leq 1.55 \cdot 10^{-276}:\\
\;\;\;\;y \cdot \left(\left(k \cdot \left(i \cdot y5 - b \cdot y4\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) + y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\

\mathbf{elif}\;a \leq 2.55 \cdot 10^{-117}:\\
\;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(y0 \cdot t\_1 + i \cdot \left(y \cdot k - t \cdot j\right)\right)\right)\\

\mathbf{elif}\;a \leq 2.1 \cdot 10^{-53}:\\
\;\;\;\;y0 \cdot \left(\left(y5 \cdot t\_1 + c \cdot t\_5\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\

\mathbf{elif}\;a \leq 0.0008:\\
\;\;\;\;t\_4\\

\mathbf{elif}\;a \leq 1.7 \cdot 10^{+114}:\\
\;\;\;\;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{else}:\\
\;\;\;\;t\_3\\


\end{array}
\end{array}
Derivation
  1. Split input into 8 regimes
  2. if a < -5.40000000000000037e249

    1. Initial program 15.3%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y3 around -inf 61.6%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    4. Taylor expanded in z around inf 77.2%

      \[\leadsto -1 \cdot \color{blue}{\left(y3 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right)} \]

    if -5.40000000000000037e249 < a < -1.00000000000000003e170 or 1.7e114 < a

    1. Initial program 16.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 33.5%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in a around inf 65.3%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]

    if -1.00000000000000003e170 < a < -3.10000000000000019e66 or 2.09999999999999977e-53 < a < 8.00000000000000038e-4

    1. Initial program 25.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y4 around inf 66.3%

      \[\leadsto \color{blue}{y4 \cdot \left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]

    if -3.10000000000000019e66 < a < -2.5000000000000001e-143

    1. Initial program 27.7%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 53.6%

      \[\leadsto \color{blue}{c \cdot \left(\left(-1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right) + y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]

    if -2.5000000000000001e-143 < a < 1.54999999999999995e-276

    1. Initial program 38.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y around inf 57.2%

      \[\leadsto \color{blue}{y \cdot \left(\left(-1 \cdot \left(k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]

    if 1.54999999999999995e-276 < a < 2.5500000000000001e-117

    1. Initial program 31.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y5 around -inf 73.2%

      \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]

    if 2.5500000000000001e-117 < a < 2.09999999999999977e-53

    1. Initial program 27.7%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y0 around inf 61.1%

      \[\leadsto \color{blue}{y0 \cdot \left(\left(-1 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - b \cdot \left(j \cdot x - k \cdot z\right)\right)} \]

    if 8.00000000000000038e-4 < a < 1.7e114

    1. Initial program 19.9%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 70.1%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
  3. Recombined 8 regimes into one program.
  4. Final simplification63.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -5.4 \cdot 10^{+249}:\\ \;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\ \mathbf{elif}\;a \leq -1 \cdot 10^{+170}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) - y5 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;a \leq -3.1 \cdot 10^{+66}:\\ \;\;\;\;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}\;a \leq -2.5 \cdot 10^{-143}:\\ \;\;\;\;c \cdot \left(\left(i \cdot \left(z \cdot t - x \cdot y\right) + y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;a \leq 1.55 \cdot 10^{-276}:\\ \;\;\;\;y \cdot \left(\left(k \cdot \left(i \cdot y5 - b \cdot y4\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) + y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\ \mathbf{elif}\;a \leq 2.55 \cdot 10^{-117}:\\ \;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(y0 \cdot \left(j \cdot y3 - k \cdot y2\right) + i \cdot \left(y \cdot k - t \cdot j\right)\right)\right)\\ \mathbf{elif}\;a \leq 2.1 \cdot 10^{-53}:\\ \;\;\;\;y0 \cdot \left(\left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right) + c \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;a \leq 0.0008:\\ \;\;\;\;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}\;a \leq 1.7 \cdot 10^{+114}:\\ \;\;\;\;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{else}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) - y5 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 2: 53.4% accurate, 0.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot y4 - a \cdot y5\\ t_2 := \left(\left(\left(\left(x \cdot y2 - z \cdot y3\right) \cdot \left(c \cdot y0 - a \cdot y1\right) - \left(\left(b \cdot y0 - i \cdot y1\right) \cdot \left(x \cdot j - z \cdot k\right) + \left(x \cdot y - z \cdot t\right) \cdot \left(c \cdot i - a \cdot b\right)\right)\right) + \left(b \cdot y4 - i \cdot y5\right) \cdot \left(t \cdot j - y \cdot k\right)\right) + t\_1 \cdot \left(y \cdot y3 - t \cdot y2\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\\ \mathbf{if}\;t\_2 \leq \infty:\\ \;\;\;\;t\_2\\ \mathbf{else}:\\ \;\;\;\;y3 \cdot \left(y \cdot t\_1 + j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\ \end{array} \end{array} \]
(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)))
        (t_2
         (+
          (+
           (+
            (-
             (* (- (* x y2) (* z y3)) (- (* c y0) (* a y1)))
             (+
              (* (- (* b y0) (* i y1)) (- (* x j) (* z k)))
              (* (- (* x y) (* z t)) (- (* c i) (* a b)))))
            (* (- (* b y4) (* i y5)) (- (* t j) (* y k))))
           (* t_1 (- (* y y3) (* t y2))))
          (* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5))))))
   (if (<= t_2 INFINITY)
     t_2
     (* y3 (+ (* y t_1) (* j (- (* y0 y5) (* 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 = (c * y4) - (a * y5);
	double t_2 = ((((((x * y2) - (z * y3)) * ((c * y0) - (a * y1))) - ((((b * y0) - (i * y1)) * ((x * j) - (z * k))) + (((x * y) - (z * t)) * ((c * i) - (a * b))))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (t_1 * ((y * y3) - (t * y2)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)));
	double tmp;
	if (t_2 <= ((double) INFINITY)) {
		tmp = t_2;
	} else {
		tmp = y3 * ((y * t_1) + (j * ((y0 * y5) - (y1 * y4))));
	}
	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 = (c * y4) - (a * y5);
	double t_2 = ((((((x * y2) - (z * y3)) * ((c * y0) - (a * y1))) - ((((b * y0) - (i * y1)) * ((x * j) - (z * k))) + (((x * y) - (z * t)) * ((c * i) - (a * b))))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (t_1 * ((y * y3) - (t * y2)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)));
	double tmp;
	if (t_2 <= Double.POSITIVE_INFINITY) {
		tmp = t_2;
	} else {
		tmp = y3 * ((y * t_1) + (j * ((y0 * y5) - (y1 * y4))));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = (c * y4) - (a * y5)
	t_2 = ((((((x * y2) - (z * y3)) * ((c * y0) - (a * y1))) - ((((b * y0) - (i * y1)) * ((x * j) - (z * k))) + (((x * y) - (z * t)) * ((c * i) - (a * b))))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (t_1 * ((y * y3) - (t * y2)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)))
	tmp = 0
	if t_2 <= math.inf:
		tmp = t_2
	else:
		tmp = y3 * ((y * t_1) + (j * ((y0 * y5) - (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(Float64(c * y4) - Float64(a * y5))
	t_2 = Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y2) - Float64(z * y3)) * Float64(Float64(c * y0) - Float64(a * y1))) - Float64(Float64(Float64(Float64(b * y0) - Float64(i * y1)) * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(Float64(x * y) - Float64(z * t)) * Float64(Float64(c * i) - Float64(a * b))))) + Float64(Float64(Float64(b * y4) - Float64(i * y5)) * Float64(Float64(t * j) - Float64(y * k)))) + Float64(t_1 * Float64(Float64(y * y3) - Float64(t * y2)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5))))
	tmp = 0.0
	if (t_2 <= Inf)
		tmp = t_2;
	else
		tmp = Float64(y3 * Float64(Float64(y * t_1) + Float64(j * Float64(Float64(y0 * y5) - 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 = (c * y4) - (a * y5);
	t_2 = ((((((x * y2) - (z * y3)) * ((c * y0) - (a * y1))) - ((((b * y0) - (i * y1)) * ((x * j) - (z * k))) + (((x * y) - (z * t)) * ((c * i) - (a * b))))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (t_1 * ((y * y3) - (t * y2)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)));
	tmp = 0.0;
	if (t_2 <= Inf)
		tmp = t_2;
	else
		tmp = y3 * ((y * t_1) + (j * ((y0 * y5) - (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[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(N[(N[(N[(N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision] * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision] * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t$95$1 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$2, Infinity], t$95$2, N[(y3 * N[(N[(y * t$95$1), $MachinePrecision] + N[(j * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := c \cdot y4 - a \cdot y5\\
t_2 := \left(\left(\left(\left(x \cdot y2 - z \cdot y3\right) \cdot \left(c \cdot y0 - a \cdot y1\right) - \left(\left(b \cdot y0 - i \cdot y1\right) \cdot \left(x \cdot j - z \cdot k\right) + \left(x \cdot y - z \cdot t\right) \cdot \left(c \cdot i - a \cdot b\right)\right)\right) + \left(b \cdot y4 - i \cdot y5\right) \cdot \left(t \cdot j - y \cdot k\right)\right) + t\_1 \cdot \left(y \cdot y3 - t \cdot y2\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\\
\mathbf{if}\;t\_2 \leq \infty:\\
\;\;\;\;t\_2\\

\mathbf{else}:\\
\;\;\;\;y3 \cdot \left(y \cdot t\_1 + j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. 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.0

    1. Initial program 94.4%

      \[\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) \]
    2. Add Preprocessing

    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))))

    1. Initial program 0.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 23.0%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in y3 around -inf 40.3%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification54.7%

    \[\leadsto \begin{array}{l} \mathbf{if}\;\left(\left(\left(\left(x \cdot y2 - z \cdot y3\right) \cdot \left(c \cdot y0 - a \cdot y1\right) - \left(\left(b \cdot y0 - i \cdot y1\right) \cdot \left(x \cdot j - z \cdot k\right) + \left(x \cdot y - z \cdot t\right) \cdot \left(c \cdot i - a \cdot b\right)\right)\right) + \left(b \cdot y4 - i \cdot y5\right) \cdot \left(t \cdot j - y \cdot k\right)\right) + \left(c \cdot y4 - a \cdot y5\right) \cdot \left(y \cdot y3 - t \cdot y2\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) \leq \infty:\\ \;\;\;\;\left(\left(\left(\left(x \cdot y2 - z \cdot y3\right) \cdot \left(c \cdot y0 - a \cdot y1\right) - \left(\left(b \cdot y0 - i \cdot y1\right) \cdot \left(x \cdot j - z \cdot k\right) + \left(x \cdot y - z \cdot t\right) \cdot \left(c \cdot i - a \cdot b\right)\right)\right) + \left(b \cdot y4 - i \cdot y5\right) \cdot \left(t \cdot j - y \cdot k\right)\right) + \left(c \cdot y4 - a \cdot y5\right) \cdot \left(y \cdot y3 - t \cdot y2\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\\ \mathbf{else}:\\ \;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 3: 42.4% accurate, 1.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y0 \cdot y5 - y1 \cdot y4\\ t_2 := j \cdot \left(\left(y3 \cdot t\_1 + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\ t_3 := c \cdot y4 - a \cdot y5\\ t_4 := x \cdot y - z \cdot t\\ t_5 := y \cdot y3 - t \cdot y2\\ t_6 := \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + \left(b \cdot \left(\left(a \cdot t\_4 + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right) + t\_3 \cdot t\_5\right)\\ \mathbf{if}\;j \leq -1.75 \cdot 10^{+89}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;j \leq -1.65 \cdot 10^{+16}:\\ \;\;\;\;t\_6\\ \mathbf{elif}\;j \leq -1.6 \cdot 10^{-110}:\\ \;\;\;\;y \cdot \left(\left(k \cdot \left(i \cdot y5 - b \cdot y4\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) + y3 \cdot t\_3\right)\\ \mathbf{elif}\;j \leq -1.7 \cdot 10^{-276}:\\ \;\;\;\;a \cdot \left(\left(y1 \cdot \left(z \cdot y3 - x \cdot y2\right) + b \cdot t\_4\right) + y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\ \mathbf{elif}\;j \leq 3 \cdot 10^{-154}:\\ \;\;\;\;t\_6\\ \mathbf{elif}\;j \leq 3.45 \cdot 10^{+193}:\\ \;\;\;\;c \cdot \left(\left(i \cdot \left(z \cdot t - x \cdot y\right) + y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + y4 \cdot t\_5\right)\\ \mathbf{elif}\;j \leq 1.42 \cdot 10^{+246}:\\ \;\;\;\;y3 \cdot \left(y \cdot t\_3 + j \cdot t\_1\right)\\ \mathbf{else}:\\ \;\;\;\;t\_2\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (- (* y0 y5) (* y1 y4)))
        (t_2
         (*
          j
          (+
           (+ (* y3 t_1) (* t (- (* b y4) (* i y5))))
           (* x (- (* i y1) (* b y0))))))
        (t_3 (- (* c y4) (* a y5)))
        (t_4 (- (* x y) (* z t)))
        (t_5 (- (* y y3) (* t y2)))
        (t_6
         (+
          (* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5)))
          (+
           (*
            b
            (+
             (+ (* a t_4) (* y4 (- (* t j) (* y k))))
             (* y0 (- (* z k) (* x j)))))
           (* t_3 t_5)))))
   (if (<= j -1.75e+89)
     t_2
     (if (<= j -1.65e+16)
       t_6
       (if (<= j -1.6e-110)
         (*
          y
          (+
           (+ (* k (- (* i y5) (* b y4))) (* x (- (* a b) (* c i))))
           (* y3 t_3)))
         (if (<= j -1.7e-276)
           (*
            a
            (+
             (+ (* y1 (- (* z y3) (* x y2))) (* b t_4))
             (* y5 (- (* t y2) (* y y3)))))
           (if (<= j 3e-154)
             t_6
             (if (<= j 3.45e+193)
               (*
                c
                (+
                 (+ (* i (- (* z t) (* x y))) (* y0 (- (* x y2) (* z y3))))
                 (* y4 t_5)))
               (if (<= j 1.42e+246) (* y3 (+ (* y t_3) (* j 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 = (y0 * y5) - (y1 * y4);
	double t_2 = j * (((y3 * t_1) + (t * ((b * y4) - (i * y5)))) + (x * ((i * y1) - (b * y0))));
	double t_3 = (c * y4) - (a * y5);
	double t_4 = (x * y) - (z * t);
	double t_5 = (y * y3) - (t * y2);
	double t_6 = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + ((b * (((a * t_4) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))) + (t_3 * t_5));
	double tmp;
	if (j <= -1.75e+89) {
		tmp = t_2;
	} else if (j <= -1.65e+16) {
		tmp = t_6;
	} else if (j <= -1.6e-110) {
		tmp = y * (((k * ((i * y5) - (b * y4))) + (x * ((a * b) - (c * i)))) + (y3 * t_3));
	} else if (j <= -1.7e-276) {
		tmp = a * (((y1 * ((z * y3) - (x * y2))) + (b * t_4)) + (y5 * ((t * y2) - (y * y3))));
	} else if (j <= 3e-154) {
		tmp = t_6;
	} else if (j <= 3.45e+193) {
		tmp = c * (((i * ((z * t) - (x * y))) + (y0 * ((x * y2) - (z * y3)))) + (y4 * t_5));
	} else if (j <= 1.42e+246) {
		tmp = y3 * ((y * t_3) + (j * 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) :: t_3
    real(8) :: t_4
    real(8) :: t_5
    real(8) :: t_6
    real(8) :: tmp
    t_1 = (y0 * y5) - (y1 * y4)
    t_2 = j * (((y3 * t_1) + (t * ((b * y4) - (i * y5)))) + (x * ((i * y1) - (b * y0))))
    t_3 = (c * y4) - (a * y5)
    t_4 = (x * y) - (z * t)
    t_5 = (y * y3) - (t * y2)
    t_6 = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + ((b * (((a * t_4) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))) + (t_3 * t_5))
    if (j <= (-1.75d+89)) then
        tmp = t_2
    else if (j <= (-1.65d+16)) then
        tmp = t_6
    else if (j <= (-1.6d-110)) then
        tmp = y * (((k * ((i * y5) - (b * y4))) + (x * ((a * b) - (c * i)))) + (y3 * t_3))
    else if (j <= (-1.7d-276)) then
        tmp = a * (((y1 * ((z * y3) - (x * y2))) + (b * t_4)) + (y5 * ((t * y2) - (y * y3))))
    else if (j <= 3d-154) then
        tmp = t_6
    else if (j <= 3.45d+193) then
        tmp = c * (((i * ((z * t) - (x * y))) + (y0 * ((x * y2) - (z * y3)))) + (y4 * t_5))
    else if (j <= 1.42d+246) then
        tmp = y3 * ((y * t_3) + (j * 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 = (y0 * y5) - (y1 * y4);
	double t_2 = j * (((y3 * t_1) + (t * ((b * y4) - (i * y5)))) + (x * ((i * y1) - (b * y0))));
	double t_3 = (c * y4) - (a * y5);
	double t_4 = (x * y) - (z * t);
	double t_5 = (y * y3) - (t * y2);
	double t_6 = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + ((b * (((a * t_4) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))) + (t_3 * t_5));
	double tmp;
	if (j <= -1.75e+89) {
		tmp = t_2;
	} else if (j <= -1.65e+16) {
		tmp = t_6;
	} else if (j <= -1.6e-110) {
		tmp = y * (((k * ((i * y5) - (b * y4))) + (x * ((a * b) - (c * i)))) + (y3 * t_3));
	} else if (j <= -1.7e-276) {
		tmp = a * (((y1 * ((z * y3) - (x * y2))) + (b * t_4)) + (y5 * ((t * y2) - (y * y3))));
	} else if (j <= 3e-154) {
		tmp = t_6;
	} else if (j <= 3.45e+193) {
		tmp = c * (((i * ((z * t) - (x * y))) + (y0 * ((x * y2) - (z * y3)))) + (y4 * t_5));
	} else if (j <= 1.42e+246) {
		tmp = y3 * ((y * t_3) + (j * 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 = (y0 * y5) - (y1 * y4)
	t_2 = j * (((y3 * t_1) + (t * ((b * y4) - (i * y5)))) + (x * ((i * y1) - (b * y0))))
	t_3 = (c * y4) - (a * y5)
	t_4 = (x * y) - (z * t)
	t_5 = (y * y3) - (t * y2)
	t_6 = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + ((b * (((a * t_4) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))) + (t_3 * t_5))
	tmp = 0
	if j <= -1.75e+89:
		tmp = t_2
	elif j <= -1.65e+16:
		tmp = t_6
	elif j <= -1.6e-110:
		tmp = y * (((k * ((i * y5) - (b * y4))) + (x * ((a * b) - (c * i)))) + (y3 * t_3))
	elif j <= -1.7e-276:
		tmp = a * (((y1 * ((z * y3) - (x * y2))) + (b * t_4)) + (y5 * ((t * y2) - (y * y3))))
	elif j <= 3e-154:
		tmp = t_6
	elif j <= 3.45e+193:
		tmp = c * (((i * ((z * t) - (x * y))) + (y0 * ((x * y2) - (z * y3)))) + (y4 * t_5))
	elif j <= 1.42e+246:
		tmp = y3 * ((y * t_3) + (j * 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(Float64(y0 * y5) - Float64(y1 * y4))
	t_2 = Float64(j * Float64(Float64(Float64(y3 * t_1) + Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))) + Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))))
	t_3 = Float64(Float64(c * y4) - Float64(a * y5))
	t_4 = Float64(Float64(x * y) - Float64(z * t))
	t_5 = Float64(Float64(y * y3) - Float64(t * y2))
	t_6 = Float64(Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(Float64(b * Float64(Float64(Float64(a * t_4) + Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))) + Float64(t_3 * t_5)))
	tmp = 0.0
	if (j <= -1.75e+89)
		tmp = t_2;
	elseif (j <= -1.65e+16)
		tmp = t_6;
	elseif (j <= -1.6e-110)
		tmp = Float64(y * Float64(Float64(Float64(k * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(x * Float64(Float64(a * b) - Float64(c * i)))) + Float64(y3 * t_3)));
	elseif (j <= -1.7e-276)
		tmp = Float64(a * Float64(Float64(Float64(y1 * Float64(Float64(z * y3) - Float64(x * y2))) + Float64(b * t_4)) + Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))));
	elseif (j <= 3e-154)
		tmp = t_6;
	elseif (j <= 3.45e+193)
		tmp = Float64(c * Float64(Float64(Float64(i * Float64(Float64(z * t) - Float64(x * y))) + Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))) + Float64(y4 * t_5)));
	elseif (j <= 1.42e+246)
		tmp = Float64(y3 * Float64(Float64(y * t_3) + Float64(j * 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 = (y0 * y5) - (y1 * y4);
	t_2 = j * (((y3 * t_1) + (t * ((b * y4) - (i * y5)))) + (x * ((i * y1) - (b * y0))));
	t_3 = (c * y4) - (a * y5);
	t_4 = (x * y) - (z * t);
	t_5 = (y * y3) - (t * y2);
	t_6 = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + ((b * (((a * t_4) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))) + (t_3 * t_5));
	tmp = 0.0;
	if (j <= -1.75e+89)
		tmp = t_2;
	elseif (j <= -1.65e+16)
		tmp = t_6;
	elseif (j <= -1.6e-110)
		tmp = y * (((k * ((i * y5) - (b * y4))) + (x * ((a * b) - (c * i)))) + (y3 * t_3));
	elseif (j <= -1.7e-276)
		tmp = a * (((y1 * ((z * y3) - (x * y2))) + (b * t_4)) + (y5 * ((t * y2) - (y * y3))));
	elseif (j <= 3e-154)
		tmp = t_6;
	elseif (j <= 3.45e+193)
		tmp = c * (((i * ((z * t) - (x * y))) + (y0 * ((x * y2) - (z * y3)))) + (y4 * t_5));
	elseif (j <= 1.42e+246)
		tmp = y3 * ((y * t_3) + (j * 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[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(j * N[(N[(N[(y3 * t$95$1), $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]}, Block[{t$95$3 = N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(b * N[(N[(N[(a * t$95$4), $MachinePrecision] + N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t$95$3 * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -1.75e+89], t$95$2, If[LessEqual[j, -1.65e+16], t$95$6, If[LessEqual[j, -1.6e-110], N[(y * N[(N[(N[(k * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y3 * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -1.7e-276], N[(a * N[(N[(N[(y1 * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * t$95$4), $MachinePrecision]), $MachinePrecision] + N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3e-154], t$95$6, If[LessEqual[j, 3.45e+193], N[(c * N[(N[(N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.42e+246], N[(y3 * N[(N[(y * t$95$3), $MachinePrecision] + N[(j * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := y0 \cdot y5 - y1 \cdot y4\\
t_2 := j \cdot \left(\left(y3 \cdot t\_1 + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
t_3 := c \cdot y4 - a \cdot y5\\
t_4 := x \cdot y - z \cdot t\\
t_5 := y \cdot y3 - t \cdot y2\\
t_6 := \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + \left(b \cdot \left(\left(a \cdot t\_4 + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right) + t\_3 \cdot t\_5\right)\\
\mathbf{if}\;j \leq -1.75 \cdot 10^{+89}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;j \leq -1.65 \cdot 10^{+16}:\\
\;\;\;\;t\_6\\

\mathbf{elif}\;j \leq -1.6 \cdot 10^{-110}:\\
\;\;\;\;y \cdot \left(\left(k \cdot \left(i \cdot y5 - b \cdot y4\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) + y3 \cdot t\_3\right)\\

\mathbf{elif}\;j \leq -1.7 \cdot 10^{-276}:\\
\;\;\;\;a \cdot \left(\left(y1 \cdot \left(z \cdot y3 - x \cdot y2\right) + b \cdot t\_4\right) + y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\

\mathbf{elif}\;j \leq 3 \cdot 10^{-154}:\\
\;\;\;\;t\_6\\

\mathbf{elif}\;j \leq 3.45 \cdot 10^{+193}:\\
\;\;\;\;c \cdot \left(\left(i \cdot \left(z \cdot t - x \cdot y\right) + y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + y4 \cdot t\_5\right)\\

\mathbf{elif}\;j \leq 1.42 \cdot 10^{+246}:\\
\;\;\;\;y3 \cdot \left(y \cdot t\_3 + j \cdot t\_1\right)\\

\mathbf{else}:\\
\;\;\;\;t\_2\\


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if j < -1.75e89 or 1.41999999999999991e246 < j

    1. Initial program 16.6%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 63.5%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]

    if -1.75e89 < j < -1.65e16 or -1.69999999999999996e-276 < j < 3.0000000000000002e-154

    1. Initial program 40.9%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 63.4%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]

    if -1.65e16 < j < -1.60000000000000014e-110

    1. Initial program 21.7%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y around inf 69.8%

      \[\leadsto \color{blue}{y \cdot \left(\left(-1 \cdot \left(k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]

    if -1.60000000000000014e-110 < j < -1.69999999999999996e-276

    1. Initial program 36.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in a around inf 56.6%

      \[\leadsto \color{blue}{a \cdot \left(\left(-1 \cdot \left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + b \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]

    if 3.0000000000000002e-154 < j < 3.45e193

    1. Initial program 19.7%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 53.1%

      \[\leadsto \color{blue}{c \cdot \left(\left(-1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right) + y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]

    if 3.45e193 < j < 1.41999999999999991e246

    1. Initial program 14.3%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 7.1%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in y3 around -inf 71.6%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
  3. Recombined 6 regimes into one program.
  4. Final simplification60.5%

    \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -1.75 \cdot 10^{+89}:\\ \;\;\;\;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{elif}\;j \leq -1.65 \cdot 10^{+16}:\\ \;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + \left(b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right) + \left(c \cdot y4 - a \cdot y5\right) \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;j \leq -1.6 \cdot 10^{-110}:\\ \;\;\;\;y \cdot \left(\left(k \cdot \left(i \cdot y5 - b \cdot y4\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) + y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\ \mathbf{elif}\;j \leq -1.7 \cdot 10^{-276}:\\ \;\;\;\;a \cdot \left(\left(y1 \cdot \left(z \cdot y3 - x \cdot y2\right) + b \cdot \left(x \cdot y - z \cdot t\right)\right) + y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\ \mathbf{elif}\;j \leq 3 \cdot 10^{-154}:\\ \;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + \left(b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right) + \left(c \cdot y4 - a \cdot y5\right) \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;j \leq 3.45 \cdot 10^{+193}:\\ \;\;\;\;c \cdot \left(\left(i \cdot \left(z \cdot t - x \cdot y\right) + y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;j \leq 1.42 \cdot 10^{+246}:\\ \;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;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)\\ \end{array} \]
  5. Add Preprocessing

Alternative 4: 31.0% accurate, 1.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right)\\ t_2 := j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\ t_3 := y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\ t_4 := y2 \cdot \left(a \cdot \left(t \cdot y5 - x \cdot y1\right)\right)\\ \mathbf{if}\;y3 \leq -3.9 \cdot 10^{+214}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;y3 \leq -1.75 \cdot 10^{+143}:\\ \;\;\;\;k \cdot \left(b \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\ \mathbf{elif}\;y3 \leq -2.4 \cdot 10^{+111}:\\ \;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\ \mathbf{elif}\;y3 \leq -4.3 \cdot 10^{+21}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y3 \leq -1.8 \cdot 10^{-66}:\\ \;\;\;\;t\_4\\ \mathbf{elif}\;y3 \leq -1.75 \cdot 10^{-216}:\\ \;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\ \mathbf{elif}\;y3 \leq 2.4 \cdot 10^{-259}:\\ \;\;\;\;t\_4\\ \mathbf{elif}\;y3 \leq 7.8 \cdot 10^{-94}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \mathbf{elif}\;y3 \leq 10^{-58}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq 2.6 \cdot 10^{+61}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y3 \leq 1.65 \cdot 10^{+199}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;t\_3\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* y (* x (- (* a b) (* c i)))))
        (t_2 (* j (* b (- (* t y4) (* x y0)))))
        (t_3
         (* y3 (+ (* y (- (* c y4) (* a y5))) (* j (- (* y0 y5) (* y1 y4))))))
        (t_4 (* y2 (* a (- (* t y5) (* x y1))))))
   (if (<= y3 -3.9e+214)
     t_3
     (if (<= y3 -1.75e+143)
       (* k (* b (- (* z y0) (* y y4))))
       (if (<= y3 -2.4e+111)
         (* j (* y0 (* y3 y5)))
         (if (<= y3 -4.3e+21)
           t_2
           (if (<= y3 -1.8e-66)
             t_4
             (if (<= y3 -1.75e-216)
               (* k (* i (- (* y y5) (* z y1))))
               (if (<= y3 2.4e-259)
                 t_4
                 (if (<= y3 7.8e-94)
                   (* j (* t (- (* b y4) (* i y5))))
                   (if (<= y3 1e-58)
                     t_1
                     (if (<= y3 2.6e+61)
                       t_2
                       (if (<= y3 1.65e+199) t_1 t_3)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = y * (x * ((a * b) - (c * i)));
	double t_2 = j * (b * ((t * y4) - (x * y0)));
	double t_3 = y3 * ((y * ((c * y4) - (a * y5))) + (j * ((y0 * y5) - (y1 * y4))));
	double t_4 = y2 * (a * ((t * y5) - (x * y1)));
	double tmp;
	if (y3 <= -3.9e+214) {
		tmp = t_3;
	} else if (y3 <= -1.75e+143) {
		tmp = k * (b * ((z * y0) - (y * y4)));
	} else if (y3 <= -2.4e+111) {
		tmp = j * (y0 * (y3 * y5));
	} else if (y3 <= -4.3e+21) {
		tmp = t_2;
	} else if (y3 <= -1.8e-66) {
		tmp = t_4;
	} else if (y3 <= -1.75e-216) {
		tmp = k * (i * ((y * y5) - (z * y1)));
	} else if (y3 <= 2.4e-259) {
		tmp = t_4;
	} else if (y3 <= 7.8e-94) {
		tmp = j * (t * ((b * y4) - (i * y5)));
	} else if (y3 <= 1e-58) {
		tmp = t_1;
	} else if (y3 <= 2.6e+61) {
		tmp = t_2;
	} else if (y3 <= 1.65e+199) {
		tmp = t_1;
	} else {
		tmp = t_3;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: t_4
    real(8) :: tmp
    t_1 = y * (x * ((a * b) - (c * i)))
    t_2 = j * (b * ((t * y4) - (x * y0)))
    t_3 = y3 * ((y * ((c * y4) - (a * y5))) + (j * ((y0 * y5) - (y1 * y4))))
    t_4 = y2 * (a * ((t * y5) - (x * y1)))
    if (y3 <= (-3.9d+214)) then
        tmp = t_3
    else if (y3 <= (-1.75d+143)) then
        tmp = k * (b * ((z * y0) - (y * y4)))
    else if (y3 <= (-2.4d+111)) then
        tmp = j * (y0 * (y3 * y5))
    else if (y3 <= (-4.3d+21)) then
        tmp = t_2
    else if (y3 <= (-1.8d-66)) then
        tmp = t_4
    else if (y3 <= (-1.75d-216)) then
        tmp = k * (i * ((y * y5) - (z * y1)))
    else if (y3 <= 2.4d-259) then
        tmp = t_4
    else if (y3 <= 7.8d-94) then
        tmp = j * (t * ((b * y4) - (i * y5)))
    else if (y3 <= 1d-58) then
        tmp = t_1
    else if (y3 <= 2.6d+61) then
        tmp = t_2
    else if (y3 <= 1.65d+199) then
        tmp = t_1
    else
        tmp = t_3
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = y * (x * ((a * b) - (c * i)));
	double t_2 = j * (b * ((t * y4) - (x * y0)));
	double t_3 = y3 * ((y * ((c * y4) - (a * y5))) + (j * ((y0 * y5) - (y1 * y4))));
	double t_4 = y2 * (a * ((t * y5) - (x * y1)));
	double tmp;
	if (y3 <= -3.9e+214) {
		tmp = t_3;
	} else if (y3 <= -1.75e+143) {
		tmp = k * (b * ((z * y0) - (y * y4)));
	} else if (y3 <= -2.4e+111) {
		tmp = j * (y0 * (y3 * y5));
	} else if (y3 <= -4.3e+21) {
		tmp = t_2;
	} else if (y3 <= -1.8e-66) {
		tmp = t_4;
	} else if (y3 <= -1.75e-216) {
		tmp = k * (i * ((y * y5) - (z * y1)));
	} else if (y3 <= 2.4e-259) {
		tmp = t_4;
	} else if (y3 <= 7.8e-94) {
		tmp = j * (t * ((b * y4) - (i * y5)));
	} else if (y3 <= 1e-58) {
		tmp = t_1;
	} else if (y3 <= 2.6e+61) {
		tmp = t_2;
	} else if (y3 <= 1.65e+199) {
		tmp = t_1;
	} else {
		tmp = t_3;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = y * (x * ((a * b) - (c * i)))
	t_2 = j * (b * ((t * y4) - (x * y0)))
	t_3 = y3 * ((y * ((c * y4) - (a * y5))) + (j * ((y0 * y5) - (y1 * y4))))
	t_4 = y2 * (a * ((t * y5) - (x * y1)))
	tmp = 0
	if y3 <= -3.9e+214:
		tmp = t_3
	elif y3 <= -1.75e+143:
		tmp = k * (b * ((z * y0) - (y * y4)))
	elif y3 <= -2.4e+111:
		tmp = j * (y0 * (y3 * y5))
	elif y3 <= -4.3e+21:
		tmp = t_2
	elif y3 <= -1.8e-66:
		tmp = t_4
	elif y3 <= -1.75e-216:
		tmp = k * (i * ((y * y5) - (z * y1)))
	elif y3 <= 2.4e-259:
		tmp = t_4
	elif y3 <= 7.8e-94:
		tmp = j * (t * ((b * y4) - (i * y5)))
	elif y3 <= 1e-58:
		tmp = t_1
	elif y3 <= 2.6e+61:
		tmp = t_2
	elif y3 <= 1.65e+199:
		tmp = t_1
	else:
		tmp = t_3
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(y * Float64(x * Float64(Float64(a * b) - Float64(c * i))))
	t_2 = Float64(j * Float64(b * Float64(Float64(t * y4) - Float64(x * y0))))
	t_3 = Float64(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(j * Float64(Float64(y0 * y5) - Float64(y1 * y4)))))
	t_4 = Float64(y2 * Float64(a * Float64(Float64(t * y5) - Float64(x * y1))))
	tmp = 0.0
	if (y3 <= -3.9e+214)
		tmp = t_3;
	elseif (y3 <= -1.75e+143)
		tmp = Float64(k * Float64(b * Float64(Float64(z * y0) - Float64(y * y4))));
	elseif (y3 <= -2.4e+111)
		tmp = Float64(j * Float64(y0 * Float64(y3 * y5)));
	elseif (y3 <= -4.3e+21)
		tmp = t_2;
	elseif (y3 <= -1.8e-66)
		tmp = t_4;
	elseif (y3 <= -1.75e-216)
		tmp = Float64(k * Float64(i * Float64(Float64(y * y5) - Float64(z * y1))));
	elseif (y3 <= 2.4e-259)
		tmp = t_4;
	elseif (y3 <= 7.8e-94)
		tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5))));
	elseif (y3 <= 1e-58)
		tmp = t_1;
	elseif (y3 <= 2.6e+61)
		tmp = t_2;
	elseif (y3 <= 1.65e+199)
		tmp = t_1;
	else
		tmp = t_3;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = y * (x * ((a * b) - (c * i)));
	t_2 = j * (b * ((t * y4) - (x * y0)));
	t_3 = y3 * ((y * ((c * y4) - (a * y5))) + (j * ((y0 * y5) - (y1 * y4))));
	t_4 = y2 * (a * ((t * y5) - (x * y1)));
	tmp = 0.0;
	if (y3 <= -3.9e+214)
		tmp = t_3;
	elseif (y3 <= -1.75e+143)
		tmp = k * (b * ((z * y0) - (y * y4)));
	elseif (y3 <= -2.4e+111)
		tmp = j * (y0 * (y3 * y5));
	elseif (y3 <= -4.3e+21)
		tmp = t_2;
	elseif (y3 <= -1.8e-66)
		tmp = t_4;
	elseif (y3 <= -1.75e-216)
		tmp = k * (i * ((y * y5) - (z * y1)));
	elseif (y3 <= 2.4e-259)
		tmp = t_4;
	elseif (y3 <= 7.8e-94)
		tmp = j * (t * ((b * y4) - (i * y5)));
	elseif (y3 <= 1e-58)
		tmp = t_1;
	elseif (y3 <= 2.6e+61)
		tmp = t_2;
	elseif (y3 <= 1.65e+199)
		tmp = t_1;
	else
		tmp = t_3;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y * N[(x * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(j * N[(b * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(y2 * N[(a * N[(N[(t * y5), $MachinePrecision] - N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -3.9e+214], t$95$3, If[LessEqual[y3, -1.75e+143], N[(k * N[(b * N[(N[(z * y0), $MachinePrecision] - N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -2.4e+111], N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -4.3e+21], t$95$2, If[LessEqual[y3, -1.8e-66], t$95$4, If[LessEqual[y3, -1.75e-216], N[(k * N[(i * N[(N[(y * y5), $MachinePrecision] - N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 2.4e-259], t$95$4, If[LessEqual[y3, 7.8e-94], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1e-58], t$95$1, If[LessEqual[y3, 2.6e+61], t$95$2, If[LessEqual[y3, 1.65e+199], t$95$1, t$95$3]]]]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right)\\
t_2 := j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
t_3 := y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\
t_4 := y2 \cdot \left(a \cdot \left(t \cdot y5 - x \cdot y1\right)\right)\\
\mathbf{if}\;y3 \leq -3.9 \cdot 10^{+214}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;y3 \leq -1.75 \cdot 10^{+143}:\\
\;\;\;\;k \cdot \left(b \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\

\mathbf{elif}\;y3 \leq -2.4 \cdot 10^{+111}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\

\mathbf{elif}\;y3 \leq -4.3 \cdot 10^{+21}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;y3 \leq -1.8 \cdot 10^{-66}:\\
\;\;\;\;t\_4\\

\mathbf{elif}\;y3 \leq -1.75 \cdot 10^{-216}:\\
\;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\

\mathbf{elif}\;y3 \leq 2.4 \cdot 10^{-259}:\\
\;\;\;\;t\_4\\

\mathbf{elif}\;y3 \leq 7.8 \cdot 10^{-94}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\

\mathbf{elif}\;y3 \leq 10^{-58}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y3 \leq 2.6 \cdot 10^{+61}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;y3 \leq 1.65 \cdot 10^{+199}:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;t\_3\\


\end{array}
\end{array}
Derivation
  1. Split input into 8 regimes
  2. if y3 < -3.90000000000000013e214 or 1.6499999999999999e199 < y3

    1. Initial program 10.3%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 28.2%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in y3 around -inf 77.0%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]

    if -3.90000000000000013e214 < y3 < -1.75000000000000004e143

    1. Initial program 6.2%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in k around inf 31.6%

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Taylor expanded in b around -inf 63.0%

      \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(b \cdot \left(y \cdot y4 - y0 \cdot z\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg63.0%

        \[\leadsto k \cdot \color{blue}{\left(-b \cdot \left(y \cdot y4 - y0 \cdot z\right)\right)} \]
    6. Simplified63.0%

      \[\leadsto k \cdot \color{blue}{\left(-b \cdot \left(y \cdot y4 - y0 \cdot z\right)\right)} \]

    if -1.75000000000000004e143 < y3 < -2.40000000000000006e111

    1. Initial program 27.3%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 45.5%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in y0 around inf 72.8%

      \[\leadsto j \cdot \color{blue}{\left(y0 \cdot \left(y3 \cdot y5 - b \cdot x\right)\right)} \]
    5. Taylor expanded in y3 around inf 72.9%

      \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]
    6. Step-by-step derivation
      1. *-commutative72.9%

        \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y5 \cdot y3\right)}\right) \]
    7. Simplified72.9%

      \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y5 \cdot y3\right)}\right) \]

    if -2.40000000000000006e111 < y3 < -4.3e21 or 1e-58 < y3 < 2.59999999999999973e61

    1. Initial program 35.2%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 51.1%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in b around inf 53.7%

      \[\leadsto j \cdot \color{blue}{\left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)} \]

    if -4.3e21 < y3 < -1.80000000000000006e-66 or -1.74999999999999991e-216 < y3 < 2.4000000000000001e-259

    1. Initial program 30.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y2 around inf 50.9%

      \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in a around -inf 53.9%

      \[\leadsto y2 \cdot \color{blue}{\left(-1 \cdot \left(a \cdot \left(x \cdot y1 - t \cdot y5\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg53.9%

        \[\leadsto y2 \cdot \color{blue}{\left(-a \cdot \left(x \cdot y1 - t \cdot y5\right)\right)} \]
    6. Simplified53.9%

      \[\leadsto y2 \cdot \color{blue}{\left(-a \cdot \left(x \cdot y1 - t \cdot y5\right)\right)} \]

    if -1.80000000000000006e-66 < y3 < -1.74999999999999991e-216

    1. Initial program 37.4%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in k around inf 45.5%

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Taylor expanded in i around inf 45.9%

      \[\leadsto k \cdot \color{blue}{\left(i \cdot \left(y \cdot y5 - y1 \cdot z\right)\right)} \]

    if 2.4000000000000001e-259 < y3 < 7.8000000000000004e-94

    1. Initial program 22.2%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 50.5%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in t around inf 52.7%

      \[\leadsto j \cdot \color{blue}{\left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)} \]

    if 7.8000000000000004e-94 < y3 < 1e-58 or 2.59999999999999973e61 < y3 < 1.6499999999999999e199

    1. Initial program 15.5%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y around inf 55.8%

      \[\leadsto \color{blue}{y \cdot \left(\left(-1 \cdot \left(k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    4. Taylor expanded in x around inf 67.9%

      \[\leadsto y \cdot \color{blue}{\left(x \cdot \left(a \cdot b - c \cdot i\right)\right)} \]
    5. Step-by-step derivation
      1. *-commutative67.9%

        \[\leadsto y \cdot \left(x \cdot \left(a \cdot b - \color{blue}{i \cdot c}\right)\right) \]
      2. *-commutative67.9%

        \[\leadsto y \cdot \left(x \cdot \left(\color{blue}{b \cdot a} - i \cdot c\right)\right) \]
    6. Simplified67.9%

      \[\leadsto y \cdot \color{blue}{\left(x \cdot \left(b \cdot a - i \cdot c\right)\right)} \]
  3. Recombined 8 regimes into one program.
  4. Final simplification58.9%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y3 \leq -3.9 \cdot 10^{+214}:\\ \;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\ \mathbf{elif}\;y3 \leq -1.75 \cdot 10^{+143}:\\ \;\;\;\;k \cdot \left(b \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\ \mathbf{elif}\;y3 \leq -2.4 \cdot 10^{+111}:\\ \;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\ \mathbf{elif}\;y3 \leq -4.3 \cdot 10^{+21}:\\ \;\;\;\;j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\ \mathbf{elif}\;y3 \leq -1.8 \cdot 10^{-66}:\\ \;\;\;\;y2 \cdot \left(a \cdot \left(t \cdot y5 - x \cdot y1\right)\right)\\ \mathbf{elif}\;y3 \leq -1.75 \cdot 10^{-216}:\\ \;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\ \mathbf{elif}\;y3 \leq 2.4 \cdot 10^{-259}:\\ \;\;\;\;y2 \cdot \left(a \cdot \left(t \cdot y5 - x \cdot y1\right)\right)\\ \mathbf{elif}\;y3 \leq 7.8 \cdot 10^{-94}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \mathbf{elif}\;y3 \leq 10^{-58}:\\ \;\;\;\;y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right)\\ \mathbf{elif}\;y3 \leq 2.6 \cdot 10^{+61}:\\ \;\;\;\;j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\ \mathbf{elif}\;y3 \leq 1.65 \cdot 10^{+199}:\\ \;\;\;\;y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 5: 37.6% accurate, 1.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := z \cdot \left(a \cdot y1 - c \cdot y0\right)\\ t_2 := y \cdot y3 - t \cdot y2\\ t_3 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) - y5 \cdot t\_2\right)\\ t_4 := 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 t\_2\right)\\ t_5 := c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{if}\;a \leq -2.5 \cdot 10^{+250}:\\ \;\;\;\;y3 \cdot t\_1\\ \mathbf{elif}\;a \leq -6.2 \cdot 10^{+169}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;a \leq -3.6 \cdot 10^{+66}:\\ \;\;\;\;t\_4\\ \mathbf{elif}\;a \leq -8.2 \cdot 10^{+37}:\\ \;\;\;\;j \cdot \left(y1 \cdot \left(x \cdot i - y3 \cdot y4\right)\right)\\ \mathbf{elif}\;a \leq -4.5 \cdot 10^{-35}:\\ \;\;\;\;t\_5\\ \mathbf{elif}\;a \leq -2.35 \cdot 10^{-154}:\\ \;\;\;\;y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;a \leq 2.1 \cdot 10^{-276}:\\ \;\;\;\;y3 \cdot \left(\left(t\_1 + j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) + y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\ \mathbf{elif}\;a \leq 1.6 \cdot 10^{-128}:\\ \;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(y0 \cdot \left(j \cdot y3 - k \cdot y2\right) + i \cdot \left(y \cdot k - t \cdot j\right)\right)\right)\\ \mathbf{elif}\;a \leq 0.095:\\ \;\;\;\;t\_4\\ \mathbf{elif}\;a \leq 7.5 \cdot 10^{+45}:\\ \;\;\;\;t\_5\\ \mathbf{elif}\;a \leq 4.8 \cdot 10^{+101}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_3\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* z (- (* a y1) (* c y0))))
        (t_2 (- (* y y3) (* t y2)))
        (t_3 (* a (- (* b (- (* x y) (* z t))) (* y5 t_2))))
        (t_4
         (*
          y4
          (+
           (+ (* b (- (* t j) (* y k))) (* y1 (- (* k y2) (* j y3))))
           (* c t_2))))
        (t_5 (* c (* y0 (- (* x y2) (* z y3))))))
   (if (<= a -2.5e+250)
     (* y3 t_1)
     (if (<= a -6.2e+169)
       t_3
       (if (<= a -3.6e+66)
         t_4
         (if (<= a -8.2e+37)
           (* j (* y1 (- (* x i) (* y3 y4))))
           (if (<= a -4.5e-35)
             t_5
             (if (<= a -2.35e-154)
               (*
                y2
                (+
                 (+ (* k (- (* y1 y4) (* y0 y5))) (* x (- (* c y0) (* a y1))))
                 (* t (- (* a y5) (* c y4)))))
               (if (<= a 2.1e-276)
                 (*
                  y3
                  (+
                   (+ t_1 (* j (- (* y0 y5) (* y1 y4))))
                   (* y (- (* c y4) (* a y5)))))
                 (if (<= a 1.6e-128)
                   (*
                    y5
                    (+
                     (* a (- (* t y2) (* y y3)))
                     (+
                      (* y0 (- (* j y3) (* k y2)))
                      (* i (- (* y k) (* t j))))))
                   (if (<= a 0.095)
                     t_4
                     (if (<= a 7.5e+45)
                       t_5
                       (if (<= a 4.8e+101)
                         (* j (* t (- (* b y4) (* i y5))))
                         t_3)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = z * ((a * y1) - (c * y0));
	double t_2 = (y * y3) - (t * y2);
	double t_3 = a * ((b * ((x * y) - (z * t))) - (y5 * t_2));
	double t_4 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_2));
	double t_5 = c * (y0 * ((x * y2) - (z * y3)));
	double tmp;
	if (a <= -2.5e+250) {
		tmp = y3 * t_1;
	} else if (a <= -6.2e+169) {
		tmp = t_3;
	} else if (a <= -3.6e+66) {
		tmp = t_4;
	} else if (a <= -8.2e+37) {
		tmp = j * (y1 * ((x * i) - (y3 * y4)));
	} else if (a <= -4.5e-35) {
		tmp = t_5;
	} else if (a <= -2.35e-154) {
		tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
	} else if (a <= 2.1e-276) {
		tmp = y3 * ((t_1 + (j * ((y0 * y5) - (y1 * y4)))) + (y * ((c * y4) - (a * y5))));
	} else if (a <= 1.6e-128) {
		tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * ((j * y3) - (k * y2))) + (i * ((y * k) - (t * j)))));
	} else if (a <= 0.095) {
		tmp = t_4;
	} else if (a <= 7.5e+45) {
		tmp = t_5;
	} else if (a <= 4.8e+101) {
		tmp = j * (t * ((b * y4) - (i * y5)));
	} else {
		tmp = t_3;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: t_4
    real(8) :: t_5
    real(8) :: tmp
    t_1 = z * ((a * y1) - (c * y0))
    t_2 = (y * y3) - (t * y2)
    t_3 = a * ((b * ((x * y) - (z * t))) - (y5 * t_2))
    t_4 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_2))
    t_5 = c * (y0 * ((x * y2) - (z * y3)))
    if (a <= (-2.5d+250)) then
        tmp = y3 * t_1
    else if (a <= (-6.2d+169)) then
        tmp = t_3
    else if (a <= (-3.6d+66)) then
        tmp = t_4
    else if (a <= (-8.2d+37)) then
        tmp = j * (y1 * ((x * i) - (y3 * y4)))
    else if (a <= (-4.5d-35)) then
        tmp = t_5
    else if (a <= (-2.35d-154)) then
        tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))))
    else if (a <= 2.1d-276) then
        tmp = y3 * ((t_1 + (j * ((y0 * y5) - (y1 * y4)))) + (y * ((c * y4) - (a * y5))))
    else if (a <= 1.6d-128) then
        tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * ((j * y3) - (k * y2))) + (i * ((y * k) - (t * j)))))
    else if (a <= 0.095d0) then
        tmp = t_4
    else if (a <= 7.5d+45) then
        tmp = t_5
    else if (a <= 4.8d+101) then
        tmp = j * (t * ((b * y4) - (i * y5)))
    else
        tmp = t_3
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = z * ((a * y1) - (c * y0));
	double t_2 = (y * y3) - (t * y2);
	double t_3 = a * ((b * ((x * y) - (z * t))) - (y5 * t_2));
	double t_4 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_2));
	double t_5 = c * (y0 * ((x * y2) - (z * y3)));
	double tmp;
	if (a <= -2.5e+250) {
		tmp = y3 * t_1;
	} else if (a <= -6.2e+169) {
		tmp = t_3;
	} else if (a <= -3.6e+66) {
		tmp = t_4;
	} else if (a <= -8.2e+37) {
		tmp = j * (y1 * ((x * i) - (y3 * y4)));
	} else if (a <= -4.5e-35) {
		tmp = t_5;
	} else if (a <= -2.35e-154) {
		tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
	} else if (a <= 2.1e-276) {
		tmp = y3 * ((t_1 + (j * ((y0 * y5) - (y1 * y4)))) + (y * ((c * y4) - (a * y5))));
	} else if (a <= 1.6e-128) {
		tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * ((j * y3) - (k * y2))) + (i * ((y * k) - (t * j)))));
	} else if (a <= 0.095) {
		tmp = t_4;
	} else if (a <= 7.5e+45) {
		tmp = t_5;
	} else if (a <= 4.8e+101) {
		tmp = j * (t * ((b * y4) - (i * y5)));
	} else {
		tmp = t_3;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = z * ((a * y1) - (c * y0))
	t_2 = (y * y3) - (t * y2)
	t_3 = a * ((b * ((x * y) - (z * t))) - (y5 * t_2))
	t_4 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_2))
	t_5 = c * (y0 * ((x * y2) - (z * y3)))
	tmp = 0
	if a <= -2.5e+250:
		tmp = y3 * t_1
	elif a <= -6.2e+169:
		tmp = t_3
	elif a <= -3.6e+66:
		tmp = t_4
	elif a <= -8.2e+37:
		tmp = j * (y1 * ((x * i) - (y3 * y4)))
	elif a <= -4.5e-35:
		tmp = t_5
	elif a <= -2.35e-154:
		tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))))
	elif a <= 2.1e-276:
		tmp = y3 * ((t_1 + (j * ((y0 * y5) - (y1 * y4)))) + (y * ((c * y4) - (a * y5))))
	elif a <= 1.6e-128:
		tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * ((j * y3) - (k * y2))) + (i * ((y * k) - (t * j)))))
	elif a <= 0.095:
		tmp = t_4
	elif a <= 7.5e+45:
		tmp = t_5
	elif a <= 4.8e+101:
		tmp = j * (t * ((b * y4) - (i * y5)))
	else:
		tmp = t_3
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(z * Float64(Float64(a * y1) - Float64(c * y0)))
	t_2 = Float64(Float64(y * y3) - Float64(t * y2))
	t_3 = Float64(a * Float64(Float64(b * Float64(Float64(x * y) - Float64(z * t))) - Float64(y5 * t_2)))
	t_4 = Float64(y4 * Float64(Float64(Float64(b * Float64(Float64(t * j) - Float64(y * k))) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * t_2)))
	t_5 = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))))
	tmp = 0.0
	if (a <= -2.5e+250)
		tmp = Float64(y3 * t_1);
	elseif (a <= -6.2e+169)
		tmp = t_3;
	elseif (a <= -3.6e+66)
		tmp = t_4;
	elseif (a <= -8.2e+37)
		tmp = Float64(j * Float64(y1 * Float64(Float64(x * i) - Float64(y3 * y4))));
	elseif (a <= -4.5e-35)
		tmp = t_5;
	elseif (a <= -2.35e-154)
		tmp = Float64(y2 * Float64(Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(x * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4)))));
	elseif (a <= 2.1e-276)
		tmp = Float64(y3 * Float64(Float64(t_1 + Float64(j * Float64(Float64(y0 * y5) - Float64(y1 * y4)))) + Float64(y * Float64(Float64(c * y4) - Float64(a * y5)))));
	elseif (a <= 1.6e-128)
		tmp = Float64(y5 * Float64(Float64(a * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(Float64(y0 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(i * Float64(Float64(y * k) - Float64(t * j))))));
	elseif (a <= 0.095)
		tmp = t_4;
	elseif (a <= 7.5e+45)
		tmp = t_5;
	elseif (a <= 4.8e+101)
		tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5))));
	else
		tmp = t_3;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = z * ((a * y1) - (c * y0));
	t_2 = (y * y3) - (t * y2);
	t_3 = a * ((b * ((x * y) - (z * t))) - (y5 * t_2));
	t_4 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_2));
	t_5 = c * (y0 * ((x * y2) - (z * y3)));
	tmp = 0.0;
	if (a <= -2.5e+250)
		tmp = y3 * t_1;
	elseif (a <= -6.2e+169)
		tmp = t_3;
	elseif (a <= -3.6e+66)
		tmp = t_4;
	elseif (a <= -8.2e+37)
		tmp = j * (y1 * ((x * i) - (y3 * y4)));
	elseif (a <= -4.5e-35)
		tmp = t_5;
	elseif (a <= -2.35e-154)
		tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
	elseif (a <= 2.1e-276)
		tmp = y3 * ((t_1 + (j * ((y0 * y5) - (y1 * y4)))) + (y * ((c * y4) - (a * y5))));
	elseif (a <= 1.6e-128)
		tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * ((j * y3) - (k * y2))) + (i * ((y * k) - (t * j)))));
	elseif (a <= 0.095)
		tmp = t_4;
	elseif (a <= 7.5e+45)
		tmp = t_5;
	elseif (a <= 4.8e+101)
		tmp = j * (t * ((b * y4) - (i * y5)));
	else
		tmp = t_3;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(a * N[(N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y5 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = 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 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -2.5e+250], N[(y3 * t$95$1), $MachinePrecision], If[LessEqual[a, -6.2e+169], t$95$3, If[LessEqual[a, -3.6e+66], t$95$4, If[LessEqual[a, -8.2e+37], N[(j * N[(y1 * N[(N[(x * i), $MachinePrecision] - N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -4.5e-35], t$95$5, If[LessEqual[a, -2.35e-154], N[(y2 * N[(N[(N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2.1e-276], N[(y3 * N[(N[(t$95$1 + N[(j * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.6e-128], N[(y5 * N[(N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y0 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(i * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 0.095], t$95$4, If[LessEqual[a, 7.5e+45], t$95$5, If[LessEqual[a, 4.8e+101], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$3]]]]]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := z \cdot \left(a \cdot y1 - c \cdot y0\right)\\
t_2 := y \cdot y3 - t \cdot y2\\
t_3 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) - y5 \cdot t\_2\right)\\
t_4 := 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 t\_2\right)\\
t_5 := c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{if}\;a \leq -2.5 \cdot 10^{+250}:\\
\;\;\;\;y3 \cdot t\_1\\

\mathbf{elif}\;a \leq -6.2 \cdot 10^{+169}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;a \leq -3.6 \cdot 10^{+66}:\\
\;\;\;\;t\_4\\

\mathbf{elif}\;a \leq -8.2 \cdot 10^{+37}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(x \cdot i - y3 \cdot y4\right)\right)\\

\mathbf{elif}\;a \leq -4.5 \cdot 10^{-35}:\\
\;\;\;\;t\_5\\

\mathbf{elif}\;a \leq -2.35 \cdot 10^{-154}:\\
\;\;\;\;y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\

\mathbf{elif}\;a \leq 2.1 \cdot 10^{-276}:\\
\;\;\;\;y3 \cdot \left(\left(t\_1 + j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) + y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\

\mathbf{elif}\;a \leq 1.6 \cdot 10^{-128}:\\
\;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(y0 \cdot \left(j \cdot y3 - k \cdot y2\right) + i \cdot \left(y \cdot k - t \cdot j\right)\right)\right)\\

\mathbf{elif}\;a \leq 0.095:\\
\;\;\;\;t\_4\\

\mathbf{elif}\;a \leq 7.5 \cdot 10^{+45}:\\
\;\;\;\;t\_5\\

\mathbf{elif}\;a \leq 4.8 \cdot 10^{+101}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t\_3\\


\end{array}
\end{array}
Derivation
  1. Split input into 9 regimes
  2. if a < -2.5000000000000001e250

    1. Initial program 15.3%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y3 around -inf 61.6%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    4. Taylor expanded in z around inf 77.2%

      \[\leadsto -1 \cdot \color{blue}{\left(y3 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right)} \]

    if -2.5000000000000001e250 < a < -6.2e169 or 4.79999999999999977e101 < a

    1. Initial program 16.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 33.5%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in a around inf 65.3%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]

    if -6.2e169 < a < -3.6e66 or 1.5999999999999999e-128 < a < 0.095000000000000001

    1. Initial program 24.9%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y4 around inf 58.3%

      \[\leadsto \color{blue}{y4 \cdot \left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]

    if -3.6e66 < a < -8.1999999999999996e37

    1. Initial program 40.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 31.2%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in y1 around -inf 51.8%

      \[\leadsto j \cdot \color{blue}{\left(-1 \cdot \left(y1 \cdot \left(y3 \cdot y4 - i \cdot x\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg51.8%

        \[\leadsto j \cdot \color{blue}{\left(-y1 \cdot \left(y3 \cdot y4 - i \cdot x\right)\right)} \]
    6. Simplified51.8%

      \[\leadsto j \cdot \color{blue}{\left(-y1 \cdot \left(y3 \cdot y4 - i \cdot x\right)\right)} \]

    if -8.1999999999999996e37 < a < -4.5000000000000001e-35 or 0.095000000000000001 < a < 7.50000000000000058e45

    1. Initial program 14.3%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 52.6%

      \[\leadsto \color{blue}{c \cdot \left(\left(-1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right) + y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
    4. Taylor expanded in y0 around inf 58.2%

      \[\leadsto \color{blue}{c \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)} \]

    if -4.5000000000000001e-35 < a < -2.3500000000000001e-154

    1. Initial program 32.1%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in y2 around inf 53.7%

      \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]

    if -2.3500000000000001e-154 < a < 2.1e-276

    1. Initial program 38.5%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y3 around -inf 54.1%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]

    if 2.1e-276 < a < 1.5999999999999999e-128

    1. Initial program 33.6%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y5 around -inf 75.2%

      \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]

    if 7.50000000000000058e45 < a < 4.79999999999999977e101

    1. Initial program 18.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 90.9%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in t around inf 82.0%

      \[\leadsto j \cdot \color{blue}{\left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)} \]
  3. Recombined 9 regimes into one program.
  4. Final simplification62.3%

    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -2.5 \cdot 10^{+250}:\\ \;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\ \mathbf{elif}\;a \leq -6.2 \cdot 10^{+169}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) - y5 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;a \leq -3.6 \cdot 10^{+66}:\\ \;\;\;\;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}\;a \leq -8.2 \cdot 10^{+37}:\\ \;\;\;\;j \cdot \left(y1 \cdot \left(x \cdot i - y3 \cdot y4\right)\right)\\ \mathbf{elif}\;a \leq -4.5 \cdot 10^{-35}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;a \leq -2.35 \cdot 10^{-154}:\\ \;\;\;\;y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;a \leq 2.1 \cdot 10^{-276}:\\ \;\;\;\;y3 \cdot \left(\left(z \cdot \left(a \cdot y1 - c \cdot y0\right) + j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) + y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\ \mathbf{elif}\;a \leq 1.6 \cdot 10^{-128}:\\ \;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(y0 \cdot \left(j \cdot y3 - k \cdot y2\right) + i \cdot \left(y \cdot k - t \cdot j\right)\right)\right)\\ \mathbf{elif}\;a \leq 0.095:\\ \;\;\;\;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}\;a \leq 7.5 \cdot 10^{+45}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;a \leq 4.8 \cdot 10^{+101}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) - y5 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 6: 37.8% accurate, 1.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right)\\ t_2 := y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\\ t_3 := y \cdot y3 - t \cdot y2\\ t_4 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) - y5 \cdot t\_3\right)\\ t_5 := 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 t\_3\right)\\ \mathbf{if}\;a \leq -9.6 \cdot 10^{+247}:\\ \;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\ \mathbf{elif}\;a \leq -3.5 \cdot 10^{+141}:\\ \;\;\;\;t\_4\\ \mathbf{elif}\;a \leq -6.6 \cdot 10^{-111}:\\ \;\;\;\;c \cdot \left(\left(i \cdot \left(z \cdot t - x \cdot y\right) + t\_2\right) + y4 \cdot t\_3\right)\\ \mathbf{elif}\;a \leq -1 \cdot 10^{-182}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;a \leq -6.2 \cdot 10^{-221}:\\ \;\;\;\;y3 \cdot \left(y0 \cdot \left(j \cdot y5 - z \cdot c\right)\right)\\ \mathbf{elif}\;a \leq 3.2 \cdot 10^{-276}:\\ \;\;\;\;t\_5\\ \mathbf{elif}\;a \leq 1.85 \cdot 10^{-128}:\\ \;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(y0 \cdot \left(j \cdot y3 - k \cdot y2\right) + i \cdot \left(y \cdot k - t \cdot j\right)\right)\right)\\ \mathbf{elif}\;a \leq 0.155:\\ \;\;\;\;t\_5\\ \mathbf{elif}\;a \leq 1.75 \cdot 10^{+47}:\\ \;\;\;\;c \cdot t\_2\\ \mathbf{elif}\;a \leq 4.8 \cdot 10^{+73}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \mathbf{elif}\;a \leq 3.7 \cdot 10^{+149}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;t\_4\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* y (* x (- (* a b) (* c i)))))
        (t_2 (* y0 (- (* x y2) (* z y3))))
        (t_3 (- (* y y3) (* t y2)))
        (t_4 (* a (- (* b (- (* x y) (* z t))) (* y5 t_3))))
        (t_5
         (*
          y4
          (+
           (+ (* b (- (* t j) (* y k))) (* y1 (- (* k y2) (* j y3))))
           (* c t_3)))))
   (if (<= a -9.6e+247)
     (* y3 (* z (- (* a y1) (* c y0))))
     (if (<= a -3.5e+141)
       t_4
       (if (<= a -6.6e-111)
         (* c (+ (+ (* i (- (* z t) (* x y))) t_2) (* y4 t_3)))
         (if (<= a -1e-182)
           t_1
           (if (<= a -6.2e-221)
             (* y3 (* y0 (- (* j y5) (* z c))))
             (if (<= a 3.2e-276)
               t_5
               (if (<= a 1.85e-128)
                 (*
                  y5
                  (+
                   (* a (- (* t y2) (* y y3)))
                   (+ (* y0 (- (* j y3) (* k y2))) (* i (- (* y k) (* t j))))))
                 (if (<= a 0.155)
                   t_5
                   (if (<= a 1.75e+47)
                     (* c t_2)
                     (if (<= a 4.8e+73)
                       (* j (* t (- (* b y4) (* i y5))))
                       (if (<= a 3.7e+149) t_1 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 = y * (x * ((a * b) - (c * i)));
	double t_2 = y0 * ((x * y2) - (z * y3));
	double t_3 = (y * y3) - (t * y2);
	double t_4 = a * ((b * ((x * y) - (z * t))) - (y5 * t_3));
	double t_5 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_3));
	double tmp;
	if (a <= -9.6e+247) {
		tmp = y3 * (z * ((a * y1) - (c * y0)));
	} else if (a <= -3.5e+141) {
		tmp = t_4;
	} else if (a <= -6.6e-111) {
		tmp = c * (((i * ((z * t) - (x * y))) + t_2) + (y4 * t_3));
	} else if (a <= -1e-182) {
		tmp = t_1;
	} else if (a <= -6.2e-221) {
		tmp = y3 * (y0 * ((j * y5) - (z * c)));
	} else if (a <= 3.2e-276) {
		tmp = t_5;
	} else if (a <= 1.85e-128) {
		tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * ((j * y3) - (k * y2))) + (i * ((y * k) - (t * j)))));
	} else if (a <= 0.155) {
		tmp = t_5;
	} else if (a <= 1.75e+47) {
		tmp = c * t_2;
	} else if (a <= 4.8e+73) {
		tmp = j * (t * ((b * y4) - (i * y5)));
	} else if (a <= 3.7e+149) {
		tmp = t_1;
	} else {
		tmp = 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 = y * (x * ((a * b) - (c * i)))
    t_2 = y0 * ((x * y2) - (z * y3))
    t_3 = (y * y3) - (t * y2)
    t_4 = a * ((b * ((x * y) - (z * t))) - (y5 * t_3))
    t_5 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_3))
    if (a <= (-9.6d+247)) then
        tmp = y3 * (z * ((a * y1) - (c * y0)))
    else if (a <= (-3.5d+141)) then
        tmp = t_4
    else if (a <= (-6.6d-111)) then
        tmp = c * (((i * ((z * t) - (x * y))) + t_2) + (y4 * t_3))
    else if (a <= (-1d-182)) then
        tmp = t_1
    else if (a <= (-6.2d-221)) then
        tmp = y3 * (y0 * ((j * y5) - (z * c)))
    else if (a <= 3.2d-276) then
        tmp = t_5
    else if (a <= 1.85d-128) then
        tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * ((j * y3) - (k * y2))) + (i * ((y * k) - (t * j)))))
    else if (a <= 0.155d0) then
        tmp = t_5
    else if (a <= 1.75d+47) then
        tmp = c * t_2
    else if (a <= 4.8d+73) then
        tmp = j * (t * ((b * y4) - (i * y5)))
    else if (a <= 3.7d+149) then
        tmp = t_1
    else
        tmp = 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 = y * (x * ((a * b) - (c * i)));
	double t_2 = y0 * ((x * y2) - (z * y3));
	double t_3 = (y * y3) - (t * y2);
	double t_4 = a * ((b * ((x * y) - (z * t))) - (y5 * t_3));
	double t_5 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_3));
	double tmp;
	if (a <= -9.6e+247) {
		tmp = y3 * (z * ((a * y1) - (c * y0)));
	} else if (a <= -3.5e+141) {
		tmp = t_4;
	} else if (a <= -6.6e-111) {
		tmp = c * (((i * ((z * t) - (x * y))) + t_2) + (y4 * t_3));
	} else if (a <= -1e-182) {
		tmp = t_1;
	} else if (a <= -6.2e-221) {
		tmp = y3 * (y0 * ((j * y5) - (z * c)));
	} else if (a <= 3.2e-276) {
		tmp = t_5;
	} else if (a <= 1.85e-128) {
		tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * ((j * y3) - (k * y2))) + (i * ((y * k) - (t * j)))));
	} else if (a <= 0.155) {
		tmp = t_5;
	} else if (a <= 1.75e+47) {
		tmp = c * t_2;
	} else if (a <= 4.8e+73) {
		tmp = j * (t * ((b * y4) - (i * y5)));
	} else if (a <= 3.7e+149) {
		tmp = t_1;
	} else {
		tmp = t_4;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = y * (x * ((a * b) - (c * i)))
	t_2 = y0 * ((x * y2) - (z * y3))
	t_3 = (y * y3) - (t * y2)
	t_4 = a * ((b * ((x * y) - (z * t))) - (y5 * t_3))
	t_5 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_3))
	tmp = 0
	if a <= -9.6e+247:
		tmp = y3 * (z * ((a * y1) - (c * y0)))
	elif a <= -3.5e+141:
		tmp = t_4
	elif a <= -6.6e-111:
		tmp = c * (((i * ((z * t) - (x * y))) + t_2) + (y4 * t_3))
	elif a <= -1e-182:
		tmp = t_1
	elif a <= -6.2e-221:
		tmp = y3 * (y0 * ((j * y5) - (z * c)))
	elif a <= 3.2e-276:
		tmp = t_5
	elif a <= 1.85e-128:
		tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * ((j * y3) - (k * y2))) + (i * ((y * k) - (t * j)))))
	elif a <= 0.155:
		tmp = t_5
	elif a <= 1.75e+47:
		tmp = c * t_2
	elif a <= 4.8e+73:
		tmp = j * (t * ((b * y4) - (i * y5)))
	elif a <= 3.7e+149:
		tmp = t_1
	else:
		tmp = 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(y * Float64(x * Float64(Float64(a * b) - Float64(c * i))))
	t_2 = Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))
	t_3 = Float64(Float64(y * y3) - Float64(t * y2))
	t_4 = Float64(a * Float64(Float64(b * Float64(Float64(x * y) - Float64(z * t))) - Float64(y5 * t_3)))
	t_5 = Float64(y4 * Float64(Float64(Float64(b * Float64(Float64(t * j) - Float64(y * k))) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * t_3)))
	tmp = 0.0
	if (a <= -9.6e+247)
		tmp = Float64(y3 * Float64(z * Float64(Float64(a * y1) - Float64(c * y0))));
	elseif (a <= -3.5e+141)
		tmp = t_4;
	elseif (a <= -6.6e-111)
		tmp = Float64(c * Float64(Float64(Float64(i * Float64(Float64(z * t) - Float64(x * y))) + t_2) + Float64(y4 * t_3)));
	elseif (a <= -1e-182)
		tmp = t_1;
	elseif (a <= -6.2e-221)
		tmp = Float64(y3 * Float64(y0 * Float64(Float64(j * y5) - Float64(z * c))));
	elseif (a <= 3.2e-276)
		tmp = t_5;
	elseif (a <= 1.85e-128)
		tmp = Float64(y5 * Float64(Float64(a * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(Float64(y0 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(i * Float64(Float64(y * k) - Float64(t * j))))));
	elseif (a <= 0.155)
		tmp = t_5;
	elseif (a <= 1.75e+47)
		tmp = Float64(c * t_2);
	elseif (a <= 4.8e+73)
		tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5))));
	elseif (a <= 3.7e+149)
		tmp = t_1;
	else
		tmp = 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 = y * (x * ((a * b) - (c * i)));
	t_2 = y0 * ((x * y2) - (z * y3));
	t_3 = (y * y3) - (t * y2);
	t_4 = a * ((b * ((x * y) - (z * t))) - (y5 * t_3));
	t_5 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_3));
	tmp = 0.0;
	if (a <= -9.6e+247)
		tmp = y3 * (z * ((a * y1) - (c * y0)));
	elseif (a <= -3.5e+141)
		tmp = t_4;
	elseif (a <= -6.6e-111)
		tmp = c * (((i * ((z * t) - (x * y))) + t_2) + (y4 * t_3));
	elseif (a <= -1e-182)
		tmp = t_1;
	elseif (a <= -6.2e-221)
		tmp = y3 * (y0 * ((j * y5) - (z * c)));
	elseif (a <= 3.2e-276)
		tmp = t_5;
	elseif (a <= 1.85e-128)
		tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * ((j * y3) - (k * y2))) + (i * ((y * k) - (t * j)))));
	elseif (a <= 0.155)
		tmp = t_5;
	elseif (a <= 1.75e+47)
		tmp = c * t_2;
	elseif (a <= 4.8e+73)
		tmp = j * (t * ((b * y4) - (i * y5)));
	elseif (a <= 3.7e+149)
		tmp = t_1;
	else
		tmp = 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[(y * N[(x * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(a * N[(N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y5 * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = 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 * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -9.6e+247], N[(y3 * N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -3.5e+141], t$95$4, If[LessEqual[a, -6.6e-111], N[(c * N[(N[(N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$2), $MachinePrecision] + N[(y4 * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1e-182], t$95$1, If[LessEqual[a, -6.2e-221], N[(y3 * N[(y0 * N[(N[(j * y5), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 3.2e-276], t$95$5, If[LessEqual[a, 1.85e-128], N[(y5 * N[(N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y0 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(i * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 0.155], t$95$5, If[LessEqual[a, 1.75e+47], N[(c * t$95$2), $MachinePrecision], If[LessEqual[a, 4.8e+73], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 3.7e+149], t$95$1, t$95$4]]]]]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right)\\
t_2 := y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\\
t_3 := y \cdot y3 - t \cdot y2\\
t_4 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) - y5 \cdot t\_3\right)\\
t_5 := 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 t\_3\right)\\
\mathbf{if}\;a \leq -9.6 \cdot 10^{+247}:\\
\;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\

\mathbf{elif}\;a \leq -3.5 \cdot 10^{+141}:\\
\;\;\;\;t\_4\\

\mathbf{elif}\;a \leq -6.6 \cdot 10^{-111}:\\
\;\;\;\;c \cdot \left(\left(i \cdot \left(z \cdot t - x \cdot y\right) + t\_2\right) + y4 \cdot t\_3\right)\\

\mathbf{elif}\;a \leq -1 \cdot 10^{-182}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;a \leq -6.2 \cdot 10^{-221}:\\
\;\;\;\;y3 \cdot \left(y0 \cdot \left(j \cdot y5 - z \cdot c\right)\right)\\

\mathbf{elif}\;a \leq 3.2 \cdot 10^{-276}:\\
\;\;\;\;t\_5\\

\mathbf{elif}\;a \leq 1.85 \cdot 10^{-128}:\\
\;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(y0 \cdot \left(j \cdot y3 - k \cdot y2\right) + i \cdot \left(y \cdot k - t \cdot j\right)\right)\right)\\

\mathbf{elif}\;a \leq 0.155:\\
\;\;\;\;t\_5\\

\mathbf{elif}\;a \leq 1.75 \cdot 10^{+47}:\\
\;\;\;\;c \cdot t\_2\\

\mathbf{elif}\;a \leq 4.8 \cdot 10^{+73}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\

\mathbf{elif}\;a \leq 3.7 \cdot 10^{+149}:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;t\_4\\


\end{array}
\end{array}
Derivation
  1. Split input into 9 regimes
  2. if a < -9.6e247

    1. Initial program 15.3%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y3 around -inf 61.6%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    4. Taylor expanded in z around inf 77.2%

      \[\leadsto -1 \cdot \color{blue}{\left(y3 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right)} \]

    if -9.6e247 < a < -3.5e141 or 3.69999999999999978e149 < a

    1. Initial program 14.5%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 36.6%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in a around inf 62.2%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]

    if -3.5e141 < a < -6.6e-111

    1. Initial program 27.7%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 51.5%

      \[\leadsto \color{blue}{c \cdot \left(\left(-1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right) + y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]

    if -6.6e-111 < a < -1e-182 or 4.80000000000000004e73 < a < 3.69999999999999978e149

    1. Initial program 24.1%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in y around inf 55.2%

      \[\leadsto \color{blue}{y \cdot \left(\left(-1 \cdot \left(k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    4. Taylor expanded in x around inf 69.5%

      \[\leadsto y \cdot \color{blue}{\left(x \cdot \left(a \cdot b - c \cdot i\right)\right)} \]
    5. Step-by-step derivation
      1. *-commutative69.5%

        \[\leadsto y \cdot \left(x \cdot \left(a \cdot b - \color{blue}{i \cdot c}\right)\right) \]
      2. *-commutative69.5%

        \[\leadsto y \cdot \left(x \cdot \left(\color{blue}{b \cdot a} - i \cdot c\right)\right) \]
    6. Simplified69.5%

      \[\leadsto y \cdot \color{blue}{\left(x \cdot \left(b \cdot a - i \cdot c\right)\right)} \]

    if -1e-182 < a < -6.1999999999999998e-221

    1. Initial program 10.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y3 around -inf 50.6%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    4. Taylor expanded in y0 around inf 51.4%

      \[\leadsto -1 \cdot \left(y3 \cdot \color{blue}{\left(y0 \cdot \left(-1 \cdot \left(j \cdot y5\right) + c \cdot z\right)\right)}\right) \]
    5. Step-by-step derivation
      1. +-commutative51.4%

        \[\leadsto -1 \cdot \left(y3 \cdot \left(y0 \cdot \color{blue}{\left(c \cdot z + -1 \cdot \left(j \cdot y5\right)\right)}\right)\right) \]
      2. mul-1-neg51.4%

        \[\leadsto -1 \cdot \left(y3 \cdot \left(y0 \cdot \left(c \cdot z + \color{blue}{\left(-j \cdot y5\right)}\right)\right)\right) \]
      3. unsub-neg51.4%

        \[\leadsto -1 \cdot \left(y3 \cdot \left(y0 \cdot \color{blue}{\left(c \cdot z - j \cdot y5\right)}\right)\right) \]
      4. *-commutative51.4%

        \[\leadsto -1 \cdot \left(y3 \cdot \left(y0 \cdot \left(\color{blue}{z \cdot c} - j \cdot y5\right)\right)\right) \]
      5. *-commutative51.4%

        \[\leadsto -1 \cdot \left(y3 \cdot \left(y0 \cdot \left(z \cdot c - \color{blue}{y5 \cdot j}\right)\right)\right) \]
    6. Simplified51.4%

      \[\leadsto -1 \cdot \left(y3 \cdot \color{blue}{\left(y0 \cdot \left(z \cdot c - y5 \cdot j\right)\right)}\right) \]

    if -6.1999999999999998e-221 < a < 3.1999999999999999e-276 or 1.85e-128 < a < 0.154999999999999999

    1. Initial program 36.5%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y4 around inf 60.4%

      \[\leadsto \color{blue}{y4 \cdot \left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]

    if 3.1999999999999999e-276 < a < 1.85e-128

    1. Initial program 33.6%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y5 around -inf 75.2%

      \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]

    if 0.154999999999999999 < a < 1.75000000000000008e47

    1. Initial program 22.2%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 33.7%

      \[\leadsto \color{blue}{c \cdot \left(\left(-1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right) + y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
    4. Taylor expanded in y0 around inf 56.3%

      \[\leadsto \color{blue}{c \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)} \]

    if 1.75000000000000008e47 < a < 4.80000000000000004e73

    1. Initial program 33.1%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 100.0%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in t around inf 100.0%

      \[\leadsto j \cdot \color{blue}{\left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)} \]
  3. Recombined 9 regimes into one program.
  4. Final simplification62.9%

    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -9.6 \cdot 10^{+247}:\\ \;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\ \mathbf{elif}\;a \leq -3.5 \cdot 10^{+141}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) - y5 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;a \leq -6.6 \cdot 10^{-111}:\\ \;\;\;\;c \cdot \left(\left(i \cdot \left(z \cdot t - x \cdot y\right) + y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;a \leq -1 \cdot 10^{-182}:\\ \;\;\;\;y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right)\\ \mathbf{elif}\;a \leq -6.2 \cdot 10^{-221}:\\ \;\;\;\;y3 \cdot \left(y0 \cdot \left(j \cdot y5 - z \cdot c\right)\right)\\ \mathbf{elif}\;a \leq 3.2 \cdot 10^{-276}:\\ \;\;\;\;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}\;a \leq 1.85 \cdot 10^{-128}:\\ \;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(y0 \cdot \left(j \cdot y3 - k \cdot y2\right) + i \cdot \left(y \cdot k - t \cdot j\right)\right)\right)\\ \mathbf{elif}\;a \leq 0.155:\\ \;\;\;\;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}\;a \leq 1.75 \cdot 10^{+47}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;a \leq 4.8 \cdot 10^{+73}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \mathbf{elif}\;a \leq 3.7 \cdot 10^{+149}:\\ \;\;\;\;y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) - y5 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 7: 40.3% accurate, 1.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot y3 - t \cdot y2\\ t_2 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) - y5 \cdot t\_1\right)\\ t_3 := 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 t\_1\right)\\ t_4 := 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}\;a \leq -1.35 \cdot 10^{+250}:\\ \;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\ \mathbf{elif}\;a \leq -4.1 \cdot 10^{+169}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;a \leq -8 \cdot 10^{+68}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;a \leq -5.8 \cdot 10^{-144}:\\ \;\;\;\;c \cdot \left(\left(i \cdot \left(z \cdot t - x \cdot y\right) + y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + y4 \cdot t\_1\right)\\ \mathbf{elif}\;a \leq -1.75 \cdot 10^{-223}:\\ \;\;\;\;t\_4\\ \mathbf{elif}\;a \leq 3.8 \cdot 10^{-276}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;a \leq 6.2 \cdot 10^{-128}:\\ \;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(y0 \cdot \left(j \cdot y3 - k \cdot y2\right) + i \cdot \left(y \cdot k - t \cdot j\right)\right)\right)\\ \mathbf{elif}\;a \leq 5.2 \cdot 10^{-5}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;a \leq 10^{+100}:\\ \;\;\;\;t\_4\\ \mathbf{else}:\\ \;\;\;\;t\_2\\ \end{array} \end{array} \]
(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 (* a (- (* b (- (* x y) (* z t))) (* y5 t_1))))
        (t_3
         (*
          y4
          (+
           (+ (* b (- (* t j) (* y k))) (* y1 (- (* k y2) (* j y3))))
           (* c t_1))))
        (t_4
         (*
          j
          (+
           (+ (* y3 (- (* y0 y5) (* y1 y4))) (* t (- (* b y4) (* i y5))))
           (* x (- (* i y1) (* b y0)))))))
   (if (<= a -1.35e+250)
     (* y3 (* z (- (* a y1) (* c y0))))
     (if (<= a -4.1e+169)
       t_2
       (if (<= a -8e+68)
         t_3
         (if (<= a -5.8e-144)
           (*
            c
            (+
             (+ (* i (- (* z t) (* x y))) (* y0 (- (* x y2) (* z y3))))
             (* y4 t_1)))
           (if (<= a -1.75e-223)
             t_4
             (if (<= a 3.8e-276)
               t_3
               (if (<= a 6.2e-128)
                 (*
                  y5
                  (+
                   (* a (- (* t y2) (* y y3)))
                   (+ (* y0 (- (* j y3) (* k y2))) (* i (- (* y k) (* t j))))))
                 (if (<= a 5.2e-5) t_3 (if (<= a 1e+100) t_4 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 = a * ((b * ((x * y) - (z * t))) - (y5 * t_1));
	double t_3 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_1));
	double t_4 = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * ((i * y1) - (b * y0))));
	double tmp;
	if (a <= -1.35e+250) {
		tmp = y3 * (z * ((a * y1) - (c * y0)));
	} else if (a <= -4.1e+169) {
		tmp = t_2;
	} else if (a <= -8e+68) {
		tmp = t_3;
	} else if (a <= -5.8e-144) {
		tmp = c * (((i * ((z * t) - (x * y))) + (y0 * ((x * y2) - (z * y3)))) + (y4 * t_1));
	} else if (a <= -1.75e-223) {
		tmp = t_4;
	} else if (a <= 3.8e-276) {
		tmp = t_3;
	} else if (a <= 6.2e-128) {
		tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * ((j * y3) - (k * y2))) + (i * ((y * k) - (t * j)))));
	} else if (a <= 5.2e-5) {
		tmp = t_3;
	} else if (a <= 1e+100) {
		tmp = t_4;
	} 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) :: t_4
    real(8) :: tmp
    t_1 = (y * y3) - (t * y2)
    t_2 = a * ((b * ((x * y) - (z * t))) - (y5 * t_1))
    t_3 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_1))
    t_4 = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * ((i * y1) - (b * y0))))
    if (a <= (-1.35d+250)) then
        tmp = y3 * (z * ((a * y1) - (c * y0)))
    else if (a <= (-4.1d+169)) then
        tmp = t_2
    else if (a <= (-8d+68)) then
        tmp = t_3
    else if (a <= (-5.8d-144)) then
        tmp = c * (((i * ((z * t) - (x * y))) + (y0 * ((x * y2) - (z * y3)))) + (y4 * t_1))
    else if (a <= (-1.75d-223)) then
        tmp = t_4
    else if (a <= 3.8d-276) then
        tmp = t_3
    else if (a <= 6.2d-128) then
        tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * ((j * y3) - (k * y2))) + (i * ((y * k) - (t * j)))))
    else if (a <= 5.2d-5) then
        tmp = t_3
    else if (a <= 1d+100) then
        tmp = t_4
    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 = (y * y3) - (t * y2);
	double t_2 = a * ((b * ((x * y) - (z * t))) - (y5 * t_1));
	double t_3 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_1));
	double t_4 = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * ((i * y1) - (b * y0))));
	double tmp;
	if (a <= -1.35e+250) {
		tmp = y3 * (z * ((a * y1) - (c * y0)));
	} else if (a <= -4.1e+169) {
		tmp = t_2;
	} else if (a <= -8e+68) {
		tmp = t_3;
	} else if (a <= -5.8e-144) {
		tmp = c * (((i * ((z * t) - (x * y))) + (y0 * ((x * y2) - (z * y3)))) + (y4 * t_1));
	} else if (a <= -1.75e-223) {
		tmp = t_4;
	} else if (a <= 3.8e-276) {
		tmp = t_3;
	} else if (a <= 6.2e-128) {
		tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * ((j * y3) - (k * y2))) + (i * ((y * k) - (t * j)))));
	} else if (a <= 5.2e-5) {
		tmp = t_3;
	} else if (a <= 1e+100) {
		tmp = t_4;
	} 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 = (y * y3) - (t * y2)
	t_2 = a * ((b * ((x * y) - (z * t))) - (y5 * t_1))
	t_3 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_1))
	t_4 = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * ((i * y1) - (b * y0))))
	tmp = 0
	if a <= -1.35e+250:
		tmp = y3 * (z * ((a * y1) - (c * y0)))
	elif a <= -4.1e+169:
		tmp = t_2
	elif a <= -8e+68:
		tmp = t_3
	elif a <= -5.8e-144:
		tmp = c * (((i * ((z * t) - (x * y))) + (y0 * ((x * y2) - (z * y3)))) + (y4 * t_1))
	elif a <= -1.75e-223:
		tmp = t_4
	elif a <= 3.8e-276:
		tmp = t_3
	elif a <= 6.2e-128:
		tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * ((j * y3) - (k * y2))) + (i * ((y * k) - (t * j)))))
	elif a <= 5.2e-5:
		tmp = t_3
	elif a <= 1e+100:
		tmp = t_4
	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(y * y3) - Float64(t * y2))
	t_2 = Float64(a * Float64(Float64(b * Float64(Float64(x * y) - Float64(z * t))) - Float64(y5 * t_1)))
	t_3 = Float64(y4 * Float64(Float64(Float64(b * Float64(Float64(t * j) - Float64(y * k))) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * t_1)))
	t_4 = 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 (a <= -1.35e+250)
		tmp = Float64(y3 * Float64(z * Float64(Float64(a * y1) - Float64(c * y0))));
	elseif (a <= -4.1e+169)
		tmp = t_2;
	elseif (a <= -8e+68)
		tmp = t_3;
	elseif (a <= -5.8e-144)
		tmp = Float64(c * Float64(Float64(Float64(i * Float64(Float64(z * t) - Float64(x * y))) + Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))) + Float64(y4 * t_1)));
	elseif (a <= -1.75e-223)
		tmp = t_4;
	elseif (a <= 3.8e-276)
		tmp = t_3;
	elseif (a <= 6.2e-128)
		tmp = Float64(y5 * Float64(Float64(a * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(Float64(y0 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(i * Float64(Float64(y * k) - Float64(t * j))))));
	elseif (a <= 5.2e-5)
		tmp = t_3;
	elseif (a <= 1e+100)
		tmp = t_4;
	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 = (y * y3) - (t * y2);
	t_2 = a * ((b * ((x * y) - (z * t))) - (y5 * t_1));
	t_3 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_1));
	t_4 = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * ((i * y1) - (b * y0))));
	tmp = 0.0;
	if (a <= -1.35e+250)
		tmp = y3 * (z * ((a * y1) - (c * y0)));
	elseif (a <= -4.1e+169)
		tmp = t_2;
	elseif (a <= -8e+68)
		tmp = t_3;
	elseif (a <= -5.8e-144)
		tmp = c * (((i * ((z * t) - (x * y))) + (y0 * ((x * y2) - (z * y3)))) + (y4 * t_1));
	elseif (a <= -1.75e-223)
		tmp = t_4;
	elseif (a <= 3.8e-276)
		tmp = t_3;
	elseif (a <= 6.2e-128)
		tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * ((j * y3) - (k * y2))) + (i * ((y * k) - (t * j)))));
	elseif (a <= 5.2e-5)
		tmp = t_3;
	elseif (a <= 1e+100)
		tmp = t_4;
	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[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a * N[(N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y5 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = 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 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = 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[a, -1.35e+250], N[(y3 * N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -4.1e+169], t$95$2, If[LessEqual[a, -8e+68], t$95$3, If[LessEqual[a, -5.8e-144], N[(c * N[(N[(N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.75e-223], t$95$4, If[LessEqual[a, 3.8e-276], t$95$3, If[LessEqual[a, 6.2e-128], N[(y5 * N[(N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y0 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(i * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 5.2e-5], t$95$3, If[LessEqual[a, 1e+100], t$95$4, t$95$2]]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := y \cdot y3 - t \cdot y2\\
t_2 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) - y5 \cdot t\_1\right)\\
t_3 := 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 t\_1\right)\\
t_4 := 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}\;a \leq -1.35 \cdot 10^{+250}:\\
\;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\

\mathbf{elif}\;a \leq -4.1 \cdot 10^{+169}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;a \leq -8 \cdot 10^{+68}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;a \leq -5.8 \cdot 10^{-144}:\\
\;\;\;\;c \cdot \left(\left(i \cdot \left(z \cdot t - x \cdot y\right) + y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + y4 \cdot t\_1\right)\\

\mathbf{elif}\;a \leq -1.75 \cdot 10^{-223}:\\
\;\;\;\;t\_4\\

\mathbf{elif}\;a \leq 3.8 \cdot 10^{-276}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;a \leq 6.2 \cdot 10^{-128}:\\
\;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(y0 \cdot \left(j \cdot y3 - k \cdot y2\right) + i \cdot \left(y \cdot k - t \cdot j\right)\right)\right)\\

\mathbf{elif}\;a \leq 5.2 \cdot 10^{-5}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;a \leq 10^{+100}:\\
\;\;\;\;t\_4\\

\mathbf{else}:\\
\;\;\;\;t\_2\\


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if a < -1.35e250

    1. Initial program 15.3%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y3 around -inf 61.6%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    4. Taylor expanded in z around inf 77.2%

      \[\leadsto -1 \cdot \color{blue}{\left(y3 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right)} \]

    if -1.35e250 < a < -4.1000000000000003e169 or 1.00000000000000002e100 < a

    1. Initial program 16.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 33.5%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in a around inf 65.3%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]

    if -4.1000000000000003e169 < a < -7.99999999999999962e68 or -1.75000000000000005e-223 < a < 3.8e-276 or 6.20000000000000005e-128 < a < 5.19999999999999968e-5

    1. Initial program 32.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y4 around inf 60.2%

      \[\leadsto \color{blue}{y4 \cdot \left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]

    if -7.99999999999999962e68 < a < -5.8000000000000004e-144

    1. Initial program 27.7%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 53.6%

      \[\leadsto \color{blue}{c \cdot \left(\left(-1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right) + y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]

    if -5.8000000000000004e-144 < a < -1.75000000000000005e-223 or 5.19999999999999968e-5 < a < 1.00000000000000002e100

    1. Initial program 21.5%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 65.0%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]

    if 3.8e-276 < a < 6.20000000000000005e-128

    1. Initial program 33.6%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y5 around -inf 75.2%

      \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
  3. Recombined 6 regimes into one program.
  4. Final simplification63.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -1.35 \cdot 10^{+250}:\\ \;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\ \mathbf{elif}\;a \leq -4.1 \cdot 10^{+169}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) - y5 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;a \leq -8 \cdot 10^{+68}:\\ \;\;\;\;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}\;a \leq -5.8 \cdot 10^{-144}:\\ \;\;\;\;c \cdot \left(\left(i \cdot \left(z \cdot t - x \cdot y\right) + y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;a \leq -1.75 \cdot 10^{-223}:\\ \;\;\;\;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{elif}\;a \leq 3.8 \cdot 10^{-276}:\\ \;\;\;\;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}\;a \leq 6.2 \cdot 10^{-128}:\\ \;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(y0 \cdot \left(j \cdot y3 - k \cdot y2\right) + i \cdot \left(y \cdot k - t \cdot j\right)\right)\right)\\ \mathbf{elif}\;a \leq 5.2 \cdot 10^{-5}:\\ \;\;\;\;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}\;a \leq 10^{+100}:\\ \;\;\;\;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{else}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) - y5 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 8: 34.4% accurate, 1.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot y3 - t \cdot y2\\ \mathbf{if}\;y5 \leq -2.1 \cdot 10^{+168}:\\ \;\;\;\;j \cdot \left(y5 \cdot \left(y0 \cdot y3 - t \cdot i\right)\right)\\ \mathbf{elif}\;y5 \leq -3.5 \cdot 10^{+91}:\\ \;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\ \mathbf{elif}\;y5 \leq -1.7 \cdot 10^{+34}:\\ \;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;y5 \leq -0.075:\\ \;\;\;\;j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\ \mathbf{elif}\;y5 \leq -1.32 \cdot 10^{-14}:\\ \;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\ \mathbf{elif}\;y5 \leq -1.9 \cdot 10^{-200}:\\ \;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\ \mathbf{elif}\;y5 \leq -6 \cdot 10^{-295}:\\ \;\;\;\;c \cdot \left(y4 \cdot t\_1\right)\\ \mathbf{elif}\;y5 \leq 9.5 \cdot 10^{-272}:\\ \;\;\;\;j \cdot \left(y1 \cdot \left(x \cdot i - y3 \cdot y4\right)\right)\\ \mathbf{elif}\;y5 \leq 4.2 \cdot 10^{-182}:\\ \;\;\;\;k \cdot \left(b \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\ \mathbf{elif}\;y5 \leq 8.5 \cdot 10^{+54}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) - y5 \cdot t\_1\right)\\ \mathbf{else}:\\ \;\;\;\;y5 \cdot \left(y0 \cdot \left(j \cdot y3 - k \cdot y2\right) - a \cdot t\_1\right)\\ \end{array} \end{array} \]
(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))))
   (if (<= y5 -2.1e+168)
     (* j (* y5 (- (* y0 y3) (* t i))))
     (if (<= y5 -3.5e+91)
       (* k (* i (- (* y y5) (* z y1))))
       (if (<= y5 -1.7e+34)
         (* y2 (* t (- (* a y5) (* c y4))))
         (if (<= y5 -0.075)
           (* j (* b (- (* t y4) (* x y0))))
           (if (<= y5 -1.32e-14)
             (*
              y3
              (+ (* y (- (* c y4) (* a y5))) (* j (- (* y0 y5) (* y1 y4)))))
             (if (<= y5 -1.9e-200)
               (* y3 (* z (- (* a y1) (* c y0))))
               (if (<= y5 -6e-295)
                 (* c (* y4 t_1))
                 (if (<= y5 9.5e-272)
                   (* j (* y1 (- (* x i) (* y3 y4))))
                   (if (<= y5 4.2e-182)
                     (* k (* b (- (* z y0) (* y y4))))
                     (if (<= y5 8.5e+54)
                       (* a (- (* b (- (* x y) (* z t))) (* y5 t_1)))
                       (*
                        y5
                        (- (* y0 (- (* j y3) (* k y2))) (* a t_1)))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (y * y3) - (t * y2);
	double tmp;
	if (y5 <= -2.1e+168) {
		tmp = j * (y5 * ((y0 * y3) - (t * i)));
	} else if (y5 <= -3.5e+91) {
		tmp = k * (i * ((y * y5) - (z * y1)));
	} else if (y5 <= -1.7e+34) {
		tmp = y2 * (t * ((a * y5) - (c * y4)));
	} else if (y5 <= -0.075) {
		tmp = j * (b * ((t * y4) - (x * y0)));
	} else if (y5 <= -1.32e-14) {
		tmp = y3 * ((y * ((c * y4) - (a * y5))) + (j * ((y0 * y5) - (y1 * y4))));
	} else if (y5 <= -1.9e-200) {
		tmp = y3 * (z * ((a * y1) - (c * y0)));
	} else if (y5 <= -6e-295) {
		tmp = c * (y4 * t_1);
	} else if (y5 <= 9.5e-272) {
		tmp = j * (y1 * ((x * i) - (y3 * y4)));
	} else if (y5 <= 4.2e-182) {
		tmp = k * (b * ((z * y0) - (y * y4)));
	} else if (y5 <= 8.5e+54) {
		tmp = a * ((b * ((x * y) - (z * t))) - (y5 * t_1));
	} else {
		tmp = y5 * ((y0 * ((j * y3) - (k * y2))) - (a * 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 = (y * y3) - (t * y2)
    if (y5 <= (-2.1d+168)) then
        tmp = j * (y5 * ((y0 * y3) - (t * i)))
    else if (y5 <= (-3.5d+91)) then
        tmp = k * (i * ((y * y5) - (z * y1)))
    else if (y5 <= (-1.7d+34)) then
        tmp = y2 * (t * ((a * y5) - (c * y4)))
    else if (y5 <= (-0.075d0)) then
        tmp = j * (b * ((t * y4) - (x * y0)))
    else if (y5 <= (-1.32d-14)) then
        tmp = y3 * ((y * ((c * y4) - (a * y5))) + (j * ((y0 * y5) - (y1 * y4))))
    else if (y5 <= (-1.9d-200)) then
        tmp = y3 * (z * ((a * y1) - (c * y0)))
    else if (y5 <= (-6d-295)) then
        tmp = c * (y4 * t_1)
    else if (y5 <= 9.5d-272) then
        tmp = j * (y1 * ((x * i) - (y3 * y4)))
    else if (y5 <= 4.2d-182) then
        tmp = k * (b * ((z * y0) - (y * y4)))
    else if (y5 <= 8.5d+54) then
        tmp = a * ((b * ((x * y) - (z * t))) - (y5 * t_1))
    else
        tmp = y5 * ((y0 * ((j * y3) - (k * y2))) - (a * 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 = (y * y3) - (t * y2);
	double tmp;
	if (y5 <= -2.1e+168) {
		tmp = j * (y5 * ((y0 * y3) - (t * i)));
	} else if (y5 <= -3.5e+91) {
		tmp = k * (i * ((y * y5) - (z * y1)));
	} else if (y5 <= -1.7e+34) {
		tmp = y2 * (t * ((a * y5) - (c * y4)));
	} else if (y5 <= -0.075) {
		tmp = j * (b * ((t * y4) - (x * y0)));
	} else if (y5 <= -1.32e-14) {
		tmp = y3 * ((y * ((c * y4) - (a * y5))) + (j * ((y0 * y5) - (y1 * y4))));
	} else if (y5 <= -1.9e-200) {
		tmp = y3 * (z * ((a * y1) - (c * y0)));
	} else if (y5 <= -6e-295) {
		tmp = c * (y4 * t_1);
	} else if (y5 <= 9.5e-272) {
		tmp = j * (y1 * ((x * i) - (y3 * y4)));
	} else if (y5 <= 4.2e-182) {
		tmp = k * (b * ((z * y0) - (y * y4)));
	} else if (y5 <= 8.5e+54) {
		tmp = a * ((b * ((x * y) - (z * t))) - (y5 * t_1));
	} else {
		tmp = y5 * ((y0 * ((j * y3) - (k * y2))) - (a * t_1));
	}
	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)
	tmp = 0
	if y5 <= -2.1e+168:
		tmp = j * (y5 * ((y0 * y3) - (t * i)))
	elif y5 <= -3.5e+91:
		tmp = k * (i * ((y * y5) - (z * y1)))
	elif y5 <= -1.7e+34:
		tmp = y2 * (t * ((a * y5) - (c * y4)))
	elif y5 <= -0.075:
		tmp = j * (b * ((t * y4) - (x * y0)))
	elif y5 <= -1.32e-14:
		tmp = y3 * ((y * ((c * y4) - (a * y5))) + (j * ((y0 * y5) - (y1 * y4))))
	elif y5 <= -1.9e-200:
		tmp = y3 * (z * ((a * y1) - (c * y0)))
	elif y5 <= -6e-295:
		tmp = c * (y4 * t_1)
	elif y5 <= 9.5e-272:
		tmp = j * (y1 * ((x * i) - (y3 * y4)))
	elif y5 <= 4.2e-182:
		tmp = k * (b * ((z * y0) - (y * y4)))
	elif y5 <= 8.5e+54:
		tmp = a * ((b * ((x * y) - (z * t))) - (y5 * t_1))
	else:
		tmp = y5 * ((y0 * ((j * y3) - (k * y2))) - (a * 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(y * y3) - Float64(t * y2))
	tmp = 0.0
	if (y5 <= -2.1e+168)
		tmp = Float64(j * Float64(y5 * Float64(Float64(y0 * y3) - Float64(t * i))));
	elseif (y5 <= -3.5e+91)
		tmp = Float64(k * Float64(i * Float64(Float64(y * y5) - Float64(z * y1))));
	elseif (y5 <= -1.7e+34)
		tmp = Float64(y2 * Float64(t * Float64(Float64(a * y5) - Float64(c * y4))));
	elseif (y5 <= -0.075)
		tmp = Float64(j * Float64(b * Float64(Float64(t * y4) - Float64(x * y0))));
	elseif (y5 <= -1.32e-14)
		tmp = Float64(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(j * Float64(Float64(y0 * y5) - Float64(y1 * y4)))));
	elseif (y5 <= -1.9e-200)
		tmp = Float64(y3 * Float64(z * Float64(Float64(a * y1) - Float64(c * y0))));
	elseif (y5 <= -6e-295)
		tmp = Float64(c * Float64(y4 * t_1));
	elseif (y5 <= 9.5e-272)
		tmp = Float64(j * Float64(y1 * Float64(Float64(x * i) - Float64(y3 * y4))));
	elseif (y5 <= 4.2e-182)
		tmp = Float64(k * Float64(b * Float64(Float64(z * y0) - Float64(y * y4))));
	elseif (y5 <= 8.5e+54)
		tmp = Float64(a * Float64(Float64(b * Float64(Float64(x * y) - Float64(z * t))) - Float64(y5 * t_1)));
	else
		tmp = Float64(y5 * Float64(Float64(y0 * Float64(Float64(j * y3) - Float64(k * y2))) - Float64(a * 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 = (y * y3) - (t * y2);
	tmp = 0.0;
	if (y5 <= -2.1e+168)
		tmp = j * (y5 * ((y0 * y3) - (t * i)));
	elseif (y5 <= -3.5e+91)
		tmp = k * (i * ((y * y5) - (z * y1)));
	elseif (y5 <= -1.7e+34)
		tmp = y2 * (t * ((a * y5) - (c * y4)));
	elseif (y5 <= -0.075)
		tmp = j * (b * ((t * y4) - (x * y0)));
	elseif (y5 <= -1.32e-14)
		tmp = y3 * ((y * ((c * y4) - (a * y5))) + (j * ((y0 * y5) - (y1 * y4))));
	elseif (y5 <= -1.9e-200)
		tmp = y3 * (z * ((a * y1) - (c * y0)));
	elseif (y5 <= -6e-295)
		tmp = c * (y4 * t_1);
	elseif (y5 <= 9.5e-272)
		tmp = j * (y1 * ((x * i) - (y3 * y4)));
	elseif (y5 <= 4.2e-182)
		tmp = k * (b * ((z * y0) - (y * y4)));
	elseif (y5 <= 8.5e+54)
		tmp = a * ((b * ((x * y) - (z * t))) - (y5 * t_1));
	else
		tmp = y5 * ((y0 * ((j * y3) - (k * y2))) - (a * 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[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -2.1e+168], N[(j * N[(y5 * N[(N[(y0 * y3), $MachinePrecision] - N[(t * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -3.5e+91], N[(k * N[(i * N[(N[(y * y5), $MachinePrecision] - N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -1.7e+34], N[(y2 * N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -0.075], N[(j * N[(b * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -1.32e-14], N[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -1.9e-200], N[(y3 * N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -6e-295], N[(c * N[(y4 * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 9.5e-272], N[(j * N[(y1 * N[(N[(x * i), $MachinePrecision] - N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 4.2e-182], N[(k * N[(b * N[(N[(z * y0), $MachinePrecision] - N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 8.5e+54], N[(a * N[(N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y5 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y5 * N[(N[(y0 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(a * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := y \cdot y3 - t \cdot y2\\
\mathbf{if}\;y5 \leq -2.1 \cdot 10^{+168}:\\
\;\;\;\;j \cdot \left(y5 \cdot \left(y0 \cdot y3 - t \cdot i\right)\right)\\

\mathbf{elif}\;y5 \leq -3.5 \cdot 10^{+91}:\\
\;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\

\mathbf{elif}\;y5 \leq -1.7 \cdot 10^{+34}:\\
\;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\

\mathbf{elif}\;y5 \leq -0.075:\\
\;\;\;\;j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\

\mathbf{elif}\;y5 \leq -1.32 \cdot 10^{-14}:\\
\;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\

\mathbf{elif}\;y5 \leq -1.9 \cdot 10^{-200}:\\
\;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\

\mathbf{elif}\;y5 \leq -6 \cdot 10^{-295}:\\
\;\;\;\;c \cdot \left(y4 \cdot t\_1\right)\\

\mathbf{elif}\;y5 \leq 9.5 \cdot 10^{-272}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(x \cdot i - y3 \cdot y4\right)\right)\\

\mathbf{elif}\;y5 \leq 4.2 \cdot 10^{-182}:\\
\;\;\;\;k \cdot \left(b \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\

\mathbf{elif}\;y5 \leq 8.5 \cdot 10^{+54}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) - y5 \cdot t\_1\right)\\

\mathbf{else}:\\
\;\;\;\;y5 \cdot \left(y0 \cdot \left(j \cdot y3 - k \cdot y2\right) - a \cdot t\_1\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 11 regimes
  2. if y5 < -2.10000000000000003e168

    1. Initial program 29.9%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 52.2%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in y5 around inf 71.0%

      \[\leadsto j \cdot \color{blue}{\left(y5 \cdot \left(-1 \cdot \left(i \cdot t\right) + y0 \cdot y3\right)\right)} \]

    if -2.10000000000000003e168 < y5 < -3.50000000000000001e91

    1. Initial program 31.5%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in k around inf 48.0%

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Taylor expanded in i around inf 53.4%

      \[\leadsto k \cdot \color{blue}{\left(i \cdot \left(y \cdot y5 - y1 \cdot z\right)\right)} \]

    if -3.50000000000000001e91 < y5 < -1.7e34

    1. Initial program 33.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y2 around inf 67.8%

      \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in t around inf 78.9%

      \[\leadsto y2 \cdot \color{blue}{\left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)} \]

    if -1.7e34 < y5 < -0.0749999999999999972

    1. Initial program 0.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 57.6%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in b around inf 86.1%

      \[\leadsto j \cdot \color{blue}{\left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)} \]

    if -0.0749999999999999972 < y5 < -1.32e-14

    1. Initial program 0.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 20.0%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in y3 around -inf 100.0%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]

    if -1.32e-14 < y5 < -1.9e-200

    1. Initial program 39.2%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y3 around -inf 50.8%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    4. Taylor expanded in z around inf 51.6%

      \[\leadsto -1 \cdot \color{blue}{\left(y3 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right)} \]

    if -1.9e-200 < y5 < -5.99999999999999993e-295

    1. Initial program 20.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 40.2%

      \[\leadsto \color{blue}{c \cdot \left(\left(-1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right) + y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
    4. Taylor expanded in y4 around inf 64.5%

      \[\leadsto \color{blue}{c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)} \]

    if -5.99999999999999993e-295 < y5 < 9.50000000000000024e-272

    1. Initial program 8.3%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 25.8%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in y1 around -inf 50.9%

      \[\leadsto j \cdot \color{blue}{\left(-1 \cdot \left(y1 \cdot \left(y3 \cdot y4 - i \cdot x\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg50.9%

        \[\leadsto j \cdot \color{blue}{\left(-y1 \cdot \left(y3 \cdot y4 - i \cdot x\right)\right)} \]
    6. Simplified50.9%

      \[\leadsto j \cdot \color{blue}{\left(-y1 \cdot \left(y3 \cdot y4 - i \cdot x\right)\right)} \]

    if 9.50000000000000024e-272 < y5 < 4.2000000000000001e-182

    1. Initial program 30.8%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in k around inf 55.0%

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Taylor expanded in b around -inf 54.9%

      \[\leadsto k \cdot \color{blue}{\left(-1 \cdot \left(b \cdot \left(y \cdot y4 - y0 \cdot z\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg54.9%

        \[\leadsto k \cdot \color{blue}{\left(-b \cdot \left(y \cdot y4 - y0 \cdot z\right)\right)} \]
    6. Simplified54.9%

      \[\leadsto k \cdot \color{blue}{\left(-b \cdot \left(y \cdot y4 - y0 \cdot z\right)\right)} \]

    if 4.2000000000000001e-182 < y5 < 8.4999999999999995e54

    1. Initial program 23.2%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 40.8%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in a around inf 46.4%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]

    if 8.4999999999999995e54 < y5

    1. Initial program 21.5%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 27.7%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in y5 around -inf 57.4%

      \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg57.4%

        \[\leadsto \color{blue}{-y5 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
    6. Simplified57.4%

      \[\leadsto \color{blue}{-y5 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
  3. Recombined 11 regimes into one program.
  4. Final simplification58.1%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -2.1 \cdot 10^{+168}:\\ \;\;\;\;j \cdot \left(y5 \cdot \left(y0 \cdot y3 - t \cdot i\right)\right)\\ \mathbf{elif}\;y5 \leq -3.5 \cdot 10^{+91}:\\ \;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\ \mathbf{elif}\;y5 \leq -1.7 \cdot 10^{+34}:\\ \;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;y5 \leq -0.075:\\ \;\;\;\;j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\ \mathbf{elif}\;y5 \leq -1.32 \cdot 10^{-14}:\\ \;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\ \mathbf{elif}\;y5 \leq -1.9 \cdot 10^{-200}:\\ \;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\ \mathbf{elif}\;y5 \leq -6 \cdot 10^{-295}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;y5 \leq 9.5 \cdot 10^{-272}:\\ \;\;\;\;j \cdot \left(y1 \cdot \left(x \cdot i - y3 \cdot y4\right)\right)\\ \mathbf{elif}\;y5 \leq 4.2 \cdot 10^{-182}:\\ \;\;\;\;k \cdot \left(b \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\ \mathbf{elif}\;y5 \leq 8.5 \cdot 10^{+54}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) - y5 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{else}:\\ \;\;\;\;y5 \cdot \left(y0 \cdot \left(j \cdot y3 - k \cdot y2\right) - a \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 9: 36.0% accurate, 1.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot y0 - a \cdot y1\\ t_2 := y \cdot y3 - t \cdot y2\\ t_3 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) - y5 \cdot t\_2\right)\\ \mathbf{if}\;a \leq -2.6 \cdot 10^{+250}:\\ \;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\ \mathbf{elif}\;a \leq -1.3 \cdot 10^{+141}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;a \leq -2.15 \cdot 10^{+61}:\\ \;\;\;\;c \cdot \left(y4 \cdot t\_2\right)\\ \mathbf{elif}\;a \leq -2.4 \cdot 10^{+39}:\\ \;\;\;\;x \cdot \left(y2 \cdot t\_1\right)\\ \mathbf{elif}\;a \leq -5.5 \cdot 10^{-35}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;a \leq -4.2 \cdot 10^{-155}:\\ \;\;\;\;y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot t\_1\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;a \leq 5.4 \cdot 10^{-276}:\\ \;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\ \mathbf{elif}\;a \leq 4.6 \cdot 10^{-98}:\\ \;\;\;\;y5 \cdot \left(y0 \cdot \left(j \cdot y3 - k \cdot y2\right) - a \cdot t\_2\right)\\ \mathbf{elif}\;a \leq 650000000:\\ \;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\ \mathbf{elif}\;a \leq 5.2 \cdot 10^{+99}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_3\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (- (* c y0) (* a y1)))
        (t_2 (- (* y y3) (* t y2)))
        (t_3 (* a (- (* b (- (* x y) (* z t))) (* y5 t_2)))))
   (if (<= a -2.6e+250)
     (* y3 (* z (- (* a y1) (* c y0))))
     (if (<= a -1.3e+141)
       t_3
       (if (<= a -2.15e+61)
         (* c (* y4 t_2))
         (if (<= a -2.4e+39)
           (* x (* y2 t_1))
           (if (<= a -5.5e-35)
             (* c (* y0 (- (* x y2) (* z y3))))
             (if (<= a -4.2e-155)
               (*
                y2
                (+
                 (+ (* k (- (* y1 y4) (* y0 y5))) (* x t_1))
                 (* t (- (* a y5) (* c y4)))))
               (if (<= a 5.4e-276)
                 (*
                  y3
                  (+
                   (* y (- (* c y4) (* a y5)))
                   (* j (- (* y0 y5) (* y1 y4)))))
                 (if (<= a 4.6e-98)
                   (* y5 (- (* y0 (- (* j y3) (* k y2))) (* a t_2)))
                   (if (<= a 650000000.0)
                     (* j (* x (- (* i y1) (* b y0))))
                     (if (<= a 5.2e+99)
                       (* j (* t (- (* b y4) (* i y5))))
                       t_3))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (c * y0) - (a * y1);
	double t_2 = (y * y3) - (t * y2);
	double t_3 = a * ((b * ((x * y) - (z * t))) - (y5 * t_2));
	double tmp;
	if (a <= -2.6e+250) {
		tmp = y3 * (z * ((a * y1) - (c * y0)));
	} else if (a <= -1.3e+141) {
		tmp = t_3;
	} else if (a <= -2.15e+61) {
		tmp = c * (y4 * t_2);
	} else if (a <= -2.4e+39) {
		tmp = x * (y2 * t_1);
	} else if (a <= -5.5e-35) {
		tmp = c * (y0 * ((x * y2) - (z * y3)));
	} else if (a <= -4.2e-155) {
		tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_1)) + (t * ((a * y5) - (c * y4))));
	} else if (a <= 5.4e-276) {
		tmp = y3 * ((y * ((c * y4) - (a * y5))) + (j * ((y0 * y5) - (y1 * y4))));
	} else if (a <= 4.6e-98) {
		tmp = y5 * ((y0 * ((j * y3) - (k * y2))) - (a * t_2));
	} else if (a <= 650000000.0) {
		tmp = j * (x * ((i * y1) - (b * y0)));
	} else if (a <= 5.2e+99) {
		tmp = j * (t * ((b * y4) - (i * y5)));
	} else {
		tmp = t_3;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: tmp
    t_1 = (c * y0) - (a * y1)
    t_2 = (y * y3) - (t * y2)
    t_3 = a * ((b * ((x * y) - (z * t))) - (y5 * t_2))
    if (a <= (-2.6d+250)) then
        tmp = y3 * (z * ((a * y1) - (c * y0)))
    else if (a <= (-1.3d+141)) then
        tmp = t_3
    else if (a <= (-2.15d+61)) then
        tmp = c * (y4 * t_2)
    else if (a <= (-2.4d+39)) then
        tmp = x * (y2 * t_1)
    else if (a <= (-5.5d-35)) then
        tmp = c * (y0 * ((x * y2) - (z * y3)))
    else if (a <= (-4.2d-155)) then
        tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_1)) + (t * ((a * y5) - (c * y4))))
    else if (a <= 5.4d-276) then
        tmp = y3 * ((y * ((c * y4) - (a * y5))) + (j * ((y0 * y5) - (y1 * y4))))
    else if (a <= 4.6d-98) then
        tmp = y5 * ((y0 * ((j * y3) - (k * y2))) - (a * t_2))
    else if (a <= 650000000.0d0) then
        tmp = j * (x * ((i * y1) - (b * y0)))
    else if (a <= 5.2d+99) then
        tmp = j * (t * ((b * y4) - (i * y5)))
    else
        tmp = t_3
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (c * y0) - (a * y1);
	double t_2 = (y * y3) - (t * y2);
	double t_3 = a * ((b * ((x * y) - (z * t))) - (y5 * t_2));
	double tmp;
	if (a <= -2.6e+250) {
		tmp = y3 * (z * ((a * y1) - (c * y0)));
	} else if (a <= -1.3e+141) {
		tmp = t_3;
	} else if (a <= -2.15e+61) {
		tmp = c * (y4 * t_2);
	} else if (a <= -2.4e+39) {
		tmp = x * (y2 * t_1);
	} else if (a <= -5.5e-35) {
		tmp = c * (y0 * ((x * y2) - (z * y3)));
	} else if (a <= -4.2e-155) {
		tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_1)) + (t * ((a * y5) - (c * y4))));
	} else if (a <= 5.4e-276) {
		tmp = y3 * ((y * ((c * y4) - (a * y5))) + (j * ((y0 * y5) - (y1 * y4))));
	} else if (a <= 4.6e-98) {
		tmp = y5 * ((y0 * ((j * y3) - (k * y2))) - (a * t_2));
	} else if (a <= 650000000.0) {
		tmp = j * (x * ((i * y1) - (b * y0)));
	} else if (a <= 5.2e+99) {
		tmp = j * (t * ((b * y4) - (i * y5)));
	} else {
		tmp = t_3;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = (c * y0) - (a * y1)
	t_2 = (y * y3) - (t * y2)
	t_3 = a * ((b * ((x * y) - (z * t))) - (y5 * t_2))
	tmp = 0
	if a <= -2.6e+250:
		tmp = y3 * (z * ((a * y1) - (c * y0)))
	elif a <= -1.3e+141:
		tmp = t_3
	elif a <= -2.15e+61:
		tmp = c * (y4 * t_2)
	elif a <= -2.4e+39:
		tmp = x * (y2 * t_1)
	elif a <= -5.5e-35:
		tmp = c * (y0 * ((x * y2) - (z * y3)))
	elif a <= -4.2e-155:
		tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_1)) + (t * ((a * y5) - (c * y4))))
	elif a <= 5.4e-276:
		tmp = y3 * ((y * ((c * y4) - (a * y5))) + (j * ((y0 * y5) - (y1 * y4))))
	elif a <= 4.6e-98:
		tmp = y5 * ((y0 * ((j * y3) - (k * y2))) - (a * t_2))
	elif a <= 650000000.0:
		tmp = j * (x * ((i * y1) - (b * y0)))
	elif a <= 5.2e+99:
		tmp = j * (t * ((b * y4) - (i * y5)))
	else:
		tmp = t_3
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(Float64(c * y0) - Float64(a * y1))
	t_2 = Float64(Float64(y * y3) - Float64(t * y2))
	t_3 = Float64(a * Float64(Float64(b * Float64(Float64(x * y) - Float64(z * t))) - Float64(y5 * t_2)))
	tmp = 0.0
	if (a <= -2.6e+250)
		tmp = Float64(y3 * Float64(z * Float64(Float64(a * y1) - Float64(c * y0))));
	elseif (a <= -1.3e+141)
		tmp = t_3;
	elseif (a <= -2.15e+61)
		tmp = Float64(c * Float64(y4 * t_2));
	elseif (a <= -2.4e+39)
		tmp = Float64(x * Float64(y2 * t_1));
	elseif (a <= -5.5e-35)
		tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))));
	elseif (a <= -4.2e-155)
		tmp = Float64(y2 * Float64(Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(x * t_1)) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4)))));
	elseif (a <= 5.4e-276)
		tmp = Float64(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(j * Float64(Float64(y0 * y5) - Float64(y1 * y4)))));
	elseif (a <= 4.6e-98)
		tmp = Float64(y5 * Float64(Float64(y0 * Float64(Float64(j * y3) - Float64(k * y2))) - Float64(a * t_2)));
	elseif (a <= 650000000.0)
		tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0))));
	elseif (a <= 5.2e+99)
		tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5))));
	else
		tmp = t_3;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = (c * y0) - (a * y1);
	t_2 = (y * y3) - (t * y2);
	t_3 = a * ((b * ((x * y) - (z * t))) - (y5 * t_2));
	tmp = 0.0;
	if (a <= -2.6e+250)
		tmp = y3 * (z * ((a * y1) - (c * y0)));
	elseif (a <= -1.3e+141)
		tmp = t_3;
	elseif (a <= -2.15e+61)
		tmp = c * (y4 * t_2);
	elseif (a <= -2.4e+39)
		tmp = x * (y2 * t_1);
	elseif (a <= -5.5e-35)
		tmp = c * (y0 * ((x * y2) - (z * y3)));
	elseif (a <= -4.2e-155)
		tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_1)) + (t * ((a * y5) - (c * y4))));
	elseif (a <= 5.4e-276)
		tmp = y3 * ((y * ((c * y4) - (a * y5))) + (j * ((y0 * y5) - (y1 * y4))));
	elseif (a <= 4.6e-98)
		tmp = y5 * ((y0 * ((j * y3) - (k * y2))) - (a * t_2));
	elseif (a <= 650000000.0)
		tmp = j * (x * ((i * y1) - (b * y0)));
	elseif (a <= 5.2e+99)
		tmp = j * (t * ((b * y4) - (i * y5)));
	else
		tmp = t_3;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(a * N[(N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y5 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -2.6e+250], N[(y3 * N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.3e+141], t$95$3, If[LessEqual[a, -2.15e+61], N[(c * N[(y4 * t$95$2), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -2.4e+39], N[(x * N[(y2 * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -5.5e-35], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -4.2e-155], N[(y2 * N[(N[(N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 5.4e-276], N[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 4.6e-98], N[(y5 * N[(N[(y0 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(a * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 650000000.0], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 5.2e+99], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$3]]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := c \cdot y0 - a \cdot y1\\
t_2 := y \cdot y3 - t \cdot y2\\
t_3 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) - y5 \cdot t\_2\right)\\
\mathbf{if}\;a \leq -2.6 \cdot 10^{+250}:\\
\;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\

\mathbf{elif}\;a \leq -1.3 \cdot 10^{+141}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;a \leq -2.15 \cdot 10^{+61}:\\
\;\;\;\;c \cdot \left(y4 \cdot t\_2\right)\\

\mathbf{elif}\;a \leq -2.4 \cdot 10^{+39}:\\
\;\;\;\;x \cdot \left(y2 \cdot t\_1\right)\\

\mathbf{elif}\;a \leq -5.5 \cdot 10^{-35}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\

\mathbf{elif}\;a \leq -4.2 \cdot 10^{-155}:\\
\;\;\;\;y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot t\_1\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\

\mathbf{elif}\;a \leq 5.4 \cdot 10^{-276}:\\
\;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\

\mathbf{elif}\;a \leq 4.6 \cdot 10^{-98}:\\
\;\;\;\;y5 \cdot \left(y0 \cdot \left(j \cdot y3 - k \cdot y2\right) - a \cdot t\_2\right)\\

\mathbf{elif}\;a \leq 650000000:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\

\mathbf{elif}\;a \leq 5.2 \cdot 10^{+99}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t\_3\\


\end{array}
\end{array}
Derivation
  1. Split input into 10 regimes
  2. if a < -2.60000000000000011e250

    1. Initial program 15.3%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y3 around -inf 61.6%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    4. Taylor expanded in z around inf 77.2%

      \[\leadsto -1 \cdot \color{blue}{\left(y3 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right)} \]

    if -2.60000000000000011e250 < a < -1.3e141 or 5.1999999999999999e99 < a

    1. Initial program 15.6%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 35.4%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in a around inf 62.3%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]

    if -1.3e141 < a < -2.1500000000000001e61

    1. Initial program 16.7%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 58.5%

      \[\leadsto \color{blue}{c \cdot \left(\left(-1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right) + y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
    4. Taylor expanded in y4 around inf 67.8%

      \[\leadsto \color{blue}{c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)} \]

    if -2.1500000000000001e61 < a < -2.4000000000000001e39

    1. Initial program 50.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y2 around inf 50.8%

      \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in x around inf 66.9%

      \[\leadsto \color{blue}{x \cdot \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)} \]

    if -2.4000000000000001e39 < a < -5.4999999999999997e-35

    1. Initial program 15.4%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 61.8%

      \[\leadsto \color{blue}{c \cdot \left(\left(-1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right) + y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
    4. Taylor expanded in y0 around inf 55.2%

      \[\leadsto \color{blue}{c \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)} \]

    if -5.4999999999999997e-35 < a < -4.2000000000000003e-155

    1. Initial program 32.1%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in y2 around inf 53.7%

      \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]

    if -4.2000000000000003e-155 < a < 5.39999999999999971e-276

    1. Initial program 38.5%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 30.6%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in y3 around -inf 51.2%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]

    if 5.39999999999999971e-276 < a < 4.60000000000000001e-98

    1. Initial program 36.5%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 39.9%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in y5 around -inf 58.2%

      \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg58.2%

        \[\leadsto \color{blue}{-y5 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
    6. Simplified58.2%

      \[\leadsto \color{blue}{-y5 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]

    if 4.60000000000000001e-98 < a < 6.5e8

    1. Initial program 20.6%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 48.4%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in x around inf 51.9%

      \[\leadsto j \cdot \color{blue}{\left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)} \]

    if 6.5e8 < a < 5.1999999999999999e99

    1. Initial program 23.4%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 70.7%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in t around inf 60.0%

      \[\leadsto j \cdot \color{blue}{\left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)} \]
  3. Recombined 10 regimes into one program.
  4. Final simplification58.8%

    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -2.6 \cdot 10^{+250}:\\ \;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\ \mathbf{elif}\;a \leq -1.3 \cdot 10^{+141}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) - y5 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;a \leq -2.15 \cdot 10^{+61}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;a \leq -2.4 \cdot 10^{+39}:\\ \;\;\;\;x \cdot \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\ \mathbf{elif}\;a \leq -5.5 \cdot 10^{-35}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;a \leq -4.2 \cdot 10^{-155}:\\ \;\;\;\;y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;a \leq 5.4 \cdot 10^{-276}:\\ \;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\ \mathbf{elif}\;a \leq 4.6 \cdot 10^{-98}:\\ \;\;\;\;y5 \cdot \left(y0 \cdot \left(j \cdot y3 - k \cdot y2\right) - a \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;a \leq 650000000:\\ \;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\ \mathbf{elif}\;a \leq 5.2 \cdot 10^{+99}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) - y5 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 10: 38.3% accurate, 1.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot y3 - t \cdot y2\\ t_2 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) - y5 \cdot t\_1\right)\\ t_3 := 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 t\_1\right)\\ \mathbf{if}\;a \leq -1.8 \cdot 10^{+248}:\\ \;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\ \mathbf{elif}\;a \leq -1.4 \cdot 10^{+170}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;a \leq -4.1 \cdot 10^{+68}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;a \leq -5.5 \cdot 10^{+36}:\\ \;\;\;\;j \cdot \left(y1 \cdot \left(x \cdot i - y3 \cdot y4\right)\right)\\ \mathbf{elif}\;a \leq -5.5 \cdot 10^{-35}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;a \leq -1.08 \cdot 10^{-153}:\\ \;\;\;\;y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;a \leq -4 \cdot 10^{-286}:\\ \;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\ \mathbf{elif}\;a \leq 8.5 \cdot 10^{-5}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;a \leq 9.5 \cdot 10^{+107}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_2\\ \end{array} \end{array} \]
(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 (* a (- (* b (- (* x y) (* z t))) (* y5 t_1))))
        (t_3
         (*
          y4
          (+
           (+ (* b (- (* t j) (* y k))) (* y1 (- (* k y2) (* j y3))))
           (* c t_1)))))
   (if (<= a -1.8e+248)
     (* y3 (* z (- (* a y1) (* c y0))))
     (if (<= a -1.4e+170)
       t_2
       (if (<= a -4.1e+68)
         t_3
         (if (<= a -5.5e+36)
           (* j (* y1 (- (* x i) (* y3 y4))))
           (if (<= a -5.5e-35)
             (* c (* y0 (- (* x y2) (* z y3))))
             (if (<= a -1.08e-153)
               (*
                y2
                (+
                 (+ (* k (- (* y1 y4) (* y0 y5))) (* x (- (* c y0) (* a y1))))
                 (* t (- (* a y5) (* c y4)))))
               (if (<= a -4e-286)
                 (*
                  y3
                  (+
                   (* y (- (* c y4) (* a y5)))
                   (* j (- (* y0 y5) (* y1 y4)))))
                 (if (<= a 8.5e-5)
                   t_3
                   (if (<= a 9.5e+107)
                     (* j (* t (- (* b y4) (* i y5))))
                     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 = a * ((b * ((x * y) - (z * t))) - (y5 * t_1));
	double t_3 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_1));
	double tmp;
	if (a <= -1.8e+248) {
		tmp = y3 * (z * ((a * y1) - (c * y0)));
	} else if (a <= -1.4e+170) {
		tmp = t_2;
	} else if (a <= -4.1e+68) {
		tmp = t_3;
	} else if (a <= -5.5e+36) {
		tmp = j * (y1 * ((x * i) - (y3 * y4)));
	} else if (a <= -5.5e-35) {
		tmp = c * (y0 * ((x * y2) - (z * y3)));
	} else if (a <= -1.08e-153) {
		tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
	} else if (a <= -4e-286) {
		tmp = y3 * ((y * ((c * y4) - (a * y5))) + (j * ((y0 * y5) - (y1 * y4))));
	} else if (a <= 8.5e-5) {
		tmp = t_3;
	} else if (a <= 9.5e+107) {
		tmp = j * (t * ((b * y4) - (i * y5)));
	} 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 = (y * y3) - (t * y2)
    t_2 = a * ((b * ((x * y) - (z * t))) - (y5 * t_1))
    t_3 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_1))
    if (a <= (-1.8d+248)) then
        tmp = y3 * (z * ((a * y1) - (c * y0)))
    else if (a <= (-1.4d+170)) then
        tmp = t_2
    else if (a <= (-4.1d+68)) then
        tmp = t_3
    else if (a <= (-5.5d+36)) then
        tmp = j * (y1 * ((x * i) - (y3 * y4)))
    else if (a <= (-5.5d-35)) then
        tmp = c * (y0 * ((x * y2) - (z * y3)))
    else if (a <= (-1.08d-153)) then
        tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))))
    else if (a <= (-4d-286)) then
        tmp = y3 * ((y * ((c * y4) - (a * y5))) + (j * ((y0 * y5) - (y1 * y4))))
    else if (a <= 8.5d-5) then
        tmp = t_3
    else if (a <= 9.5d+107) then
        tmp = j * (t * ((b * y4) - (i * y5)))
    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 = (y * y3) - (t * y2);
	double t_2 = a * ((b * ((x * y) - (z * t))) - (y5 * t_1));
	double t_3 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_1));
	double tmp;
	if (a <= -1.8e+248) {
		tmp = y3 * (z * ((a * y1) - (c * y0)));
	} else if (a <= -1.4e+170) {
		tmp = t_2;
	} else if (a <= -4.1e+68) {
		tmp = t_3;
	} else if (a <= -5.5e+36) {
		tmp = j * (y1 * ((x * i) - (y3 * y4)));
	} else if (a <= -5.5e-35) {
		tmp = c * (y0 * ((x * y2) - (z * y3)));
	} else if (a <= -1.08e-153) {
		tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
	} else if (a <= -4e-286) {
		tmp = y3 * ((y * ((c * y4) - (a * y5))) + (j * ((y0 * y5) - (y1 * y4))));
	} else if (a <= 8.5e-5) {
		tmp = t_3;
	} else if (a <= 9.5e+107) {
		tmp = j * (t * ((b * y4) - (i * y5)));
	} 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 = (y * y3) - (t * y2)
	t_2 = a * ((b * ((x * y) - (z * t))) - (y5 * t_1))
	t_3 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_1))
	tmp = 0
	if a <= -1.8e+248:
		tmp = y3 * (z * ((a * y1) - (c * y0)))
	elif a <= -1.4e+170:
		tmp = t_2
	elif a <= -4.1e+68:
		tmp = t_3
	elif a <= -5.5e+36:
		tmp = j * (y1 * ((x * i) - (y3 * y4)))
	elif a <= -5.5e-35:
		tmp = c * (y0 * ((x * y2) - (z * y3)))
	elif a <= -1.08e-153:
		tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))))
	elif a <= -4e-286:
		tmp = y3 * ((y * ((c * y4) - (a * y5))) + (j * ((y0 * y5) - (y1 * y4))))
	elif a <= 8.5e-5:
		tmp = t_3
	elif a <= 9.5e+107:
		tmp = j * (t * ((b * y4) - (i * y5)))
	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(y * y3) - Float64(t * y2))
	t_2 = Float64(a * Float64(Float64(b * Float64(Float64(x * y) - Float64(z * t))) - Float64(y5 * t_1)))
	t_3 = Float64(y4 * Float64(Float64(Float64(b * Float64(Float64(t * j) - Float64(y * k))) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * t_1)))
	tmp = 0.0
	if (a <= -1.8e+248)
		tmp = Float64(y3 * Float64(z * Float64(Float64(a * y1) - Float64(c * y0))));
	elseif (a <= -1.4e+170)
		tmp = t_2;
	elseif (a <= -4.1e+68)
		tmp = t_3;
	elseif (a <= -5.5e+36)
		tmp = Float64(j * Float64(y1 * Float64(Float64(x * i) - Float64(y3 * y4))));
	elseif (a <= -5.5e-35)
		tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))));
	elseif (a <= -1.08e-153)
		tmp = Float64(y2 * Float64(Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(x * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4)))));
	elseif (a <= -4e-286)
		tmp = Float64(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(j * Float64(Float64(y0 * y5) - Float64(y1 * y4)))));
	elseif (a <= 8.5e-5)
		tmp = t_3;
	elseif (a <= 9.5e+107)
		tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5))));
	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 = (y * y3) - (t * y2);
	t_2 = a * ((b * ((x * y) - (z * t))) - (y5 * t_1));
	t_3 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_1));
	tmp = 0.0;
	if (a <= -1.8e+248)
		tmp = y3 * (z * ((a * y1) - (c * y0)));
	elseif (a <= -1.4e+170)
		tmp = t_2;
	elseif (a <= -4.1e+68)
		tmp = t_3;
	elseif (a <= -5.5e+36)
		tmp = j * (y1 * ((x * i) - (y3 * y4)));
	elseif (a <= -5.5e-35)
		tmp = c * (y0 * ((x * y2) - (z * y3)));
	elseif (a <= -1.08e-153)
		tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
	elseif (a <= -4e-286)
		tmp = y3 * ((y * ((c * y4) - (a * y5))) + (j * ((y0 * y5) - (y1 * y4))));
	elseif (a <= 8.5e-5)
		tmp = t_3;
	elseif (a <= 9.5e+107)
		tmp = j * (t * ((b * y4) - (i * y5)));
	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[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a * N[(N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y5 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = 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 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -1.8e+248], N[(y3 * N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.4e+170], t$95$2, If[LessEqual[a, -4.1e+68], t$95$3, If[LessEqual[a, -5.5e+36], N[(j * N[(y1 * N[(N[(x * i), $MachinePrecision] - N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -5.5e-35], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.08e-153], N[(y2 * N[(N[(N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -4e-286], N[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 8.5e-5], t$95$3, If[LessEqual[a, 9.5e+107], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := y \cdot y3 - t \cdot y2\\
t_2 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) - y5 \cdot t\_1\right)\\
t_3 := 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 t\_1\right)\\
\mathbf{if}\;a \leq -1.8 \cdot 10^{+248}:\\
\;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\

\mathbf{elif}\;a \leq -1.4 \cdot 10^{+170}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;a \leq -4.1 \cdot 10^{+68}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;a \leq -5.5 \cdot 10^{+36}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(x \cdot i - y3 \cdot y4\right)\right)\\

\mathbf{elif}\;a \leq -5.5 \cdot 10^{-35}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\

\mathbf{elif}\;a \leq -1.08 \cdot 10^{-153}:\\
\;\;\;\;y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\

\mathbf{elif}\;a \leq -4 \cdot 10^{-286}:\\
\;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\

\mathbf{elif}\;a \leq 8.5 \cdot 10^{-5}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;a \leq 9.5 \cdot 10^{+107}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t\_2\\


\end{array}
\end{array}
Derivation
  1. Split input into 8 regimes
  2. if a < -1.80000000000000001e248

    1. Initial program 15.3%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y3 around -inf 61.6%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    4. Taylor expanded in z around inf 77.2%

      \[\leadsto -1 \cdot \color{blue}{\left(y3 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right)} \]

    if -1.80000000000000001e248 < a < -1.40000000000000008e170 or 9.50000000000000019e107 < a

    1. Initial program 16.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 33.5%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in a around inf 65.3%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]

    if -1.40000000000000008e170 < a < -4.0999999999999999e68 or -4.0000000000000002e-286 < a < 8.500000000000001e-5

    1. Initial program 30.4%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y4 around inf 56.4%

      \[\leadsto \color{blue}{y4 \cdot \left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]

    if -4.0999999999999999e68 < a < -5.5000000000000002e36

    1. Initial program 40.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 31.2%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in y1 around -inf 51.8%

      \[\leadsto j \cdot \color{blue}{\left(-1 \cdot \left(y1 \cdot \left(y3 \cdot y4 - i \cdot x\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg51.8%

        \[\leadsto j \cdot \color{blue}{\left(-y1 \cdot \left(y3 \cdot y4 - i \cdot x\right)\right)} \]
    6. Simplified51.8%

      \[\leadsto j \cdot \color{blue}{\left(-y1 \cdot \left(y3 \cdot y4 - i \cdot x\right)\right)} \]

    if -5.5000000000000002e36 < a < -5.4999999999999997e-35

    1. Initial program 8.3%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 66.8%

      \[\leadsto \color{blue}{c \cdot \left(\left(-1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right) + y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
    4. Taylor expanded in y0 around inf 59.6%

      \[\leadsto \color{blue}{c \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)} \]

    if -5.4999999999999997e-35 < a < -1.07999999999999996e-153

    1. Initial program 32.1%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in y2 around inf 53.7%

      \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]

    if -1.07999999999999996e-153 < a < -4.0000000000000002e-286

    1. Initial program 33.3%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 25.9%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in y3 around -inf 55.3%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]

    if 8.500000000000001e-5 < a < 9.50000000000000019e107

    1. Initial program 19.9%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 70.1%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in t around inf 51.2%

      \[\leadsto j \cdot \color{blue}{\left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)} \]
  3. Recombined 8 regimes into one program.
  4. Final simplification58.8%

    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -1.8 \cdot 10^{+248}:\\ \;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\ \mathbf{elif}\;a \leq -1.4 \cdot 10^{+170}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) - y5 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;a \leq -4.1 \cdot 10^{+68}:\\ \;\;\;\;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}\;a \leq -5.5 \cdot 10^{+36}:\\ \;\;\;\;j \cdot \left(y1 \cdot \left(x \cdot i - y3 \cdot y4\right)\right)\\ \mathbf{elif}\;a \leq -5.5 \cdot 10^{-35}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;a \leq -1.08 \cdot 10^{-153}:\\ \;\;\;\;y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;a \leq -4 \cdot 10^{-286}:\\ \;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\ \mathbf{elif}\;a \leq 8.5 \cdot 10^{-5}:\\ \;\;\;\;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}\;a \leq 9.5 \cdot 10^{+107}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) - y5 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 11: 38.6% accurate, 1.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := z \cdot \left(a \cdot y1 - c \cdot y0\right)\\ t_2 := y \cdot y3 - t \cdot y2\\ t_3 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) - y5 \cdot t\_2\right)\\ t_4 := 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 t\_2\right)\\ \mathbf{if}\;a \leq -1.35 \cdot 10^{+250}:\\ \;\;\;\;y3 \cdot t\_1\\ \mathbf{elif}\;a \leq -1.4 \cdot 10^{+169}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;a \leq -1.55 \cdot 10^{+67}:\\ \;\;\;\;t\_4\\ \mathbf{elif}\;a \leq -2.6 \cdot 10^{+38}:\\ \;\;\;\;j \cdot \left(y1 \cdot \left(x \cdot i - y3 \cdot y4\right)\right)\\ \mathbf{elif}\;a \leq -5.2 \cdot 10^{-35}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;a \leq -3.6 \cdot 10^{-152}:\\ \;\;\;\;y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;a \leq -3.4 \cdot 10^{-288}:\\ \;\;\;\;y3 \cdot \left(\left(t\_1 + j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) + y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\ \mathbf{elif}\;a \leq 0.0064:\\ \;\;\;\;t\_4\\ \mathbf{elif}\;a \leq 7.5 \cdot 10^{+104}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_3\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* z (- (* a y1) (* c y0))))
        (t_2 (- (* y y3) (* t y2)))
        (t_3 (* a (- (* b (- (* x y) (* z t))) (* y5 t_2))))
        (t_4
         (*
          y4
          (+
           (+ (* b (- (* t j) (* y k))) (* y1 (- (* k y2) (* j y3))))
           (* c t_2)))))
   (if (<= a -1.35e+250)
     (* y3 t_1)
     (if (<= a -1.4e+169)
       t_3
       (if (<= a -1.55e+67)
         t_4
         (if (<= a -2.6e+38)
           (* j (* y1 (- (* x i) (* y3 y4))))
           (if (<= a -5.2e-35)
             (* c (* y0 (- (* x y2) (* z y3))))
             (if (<= a -3.6e-152)
               (*
                y2
                (+
                 (+ (* k (- (* y1 y4) (* y0 y5))) (* x (- (* c y0) (* a y1))))
                 (* t (- (* a y5) (* c y4)))))
               (if (<= a -3.4e-288)
                 (*
                  y3
                  (+
                   (+ t_1 (* j (- (* y0 y5) (* y1 y4))))
                   (* y (- (* c y4) (* a y5)))))
                 (if (<= a 0.0064)
                   t_4
                   (if (<= a 7.5e+104)
                     (* j (* t (- (* b y4) (* i y5))))
                     t_3)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = z * ((a * y1) - (c * y0));
	double t_2 = (y * y3) - (t * y2);
	double t_3 = a * ((b * ((x * y) - (z * t))) - (y5 * t_2));
	double t_4 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_2));
	double tmp;
	if (a <= -1.35e+250) {
		tmp = y3 * t_1;
	} else if (a <= -1.4e+169) {
		tmp = t_3;
	} else if (a <= -1.55e+67) {
		tmp = t_4;
	} else if (a <= -2.6e+38) {
		tmp = j * (y1 * ((x * i) - (y3 * y4)));
	} else if (a <= -5.2e-35) {
		tmp = c * (y0 * ((x * y2) - (z * y3)));
	} else if (a <= -3.6e-152) {
		tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
	} else if (a <= -3.4e-288) {
		tmp = y3 * ((t_1 + (j * ((y0 * y5) - (y1 * y4)))) + (y * ((c * y4) - (a * y5))));
	} else if (a <= 0.0064) {
		tmp = t_4;
	} else if (a <= 7.5e+104) {
		tmp = j * (t * ((b * y4) - (i * y5)));
	} else {
		tmp = t_3;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: t_4
    real(8) :: tmp
    t_1 = z * ((a * y1) - (c * y0))
    t_2 = (y * y3) - (t * y2)
    t_3 = a * ((b * ((x * y) - (z * t))) - (y5 * t_2))
    t_4 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_2))
    if (a <= (-1.35d+250)) then
        tmp = y3 * t_1
    else if (a <= (-1.4d+169)) then
        tmp = t_3
    else if (a <= (-1.55d+67)) then
        tmp = t_4
    else if (a <= (-2.6d+38)) then
        tmp = j * (y1 * ((x * i) - (y3 * y4)))
    else if (a <= (-5.2d-35)) then
        tmp = c * (y0 * ((x * y2) - (z * y3)))
    else if (a <= (-3.6d-152)) then
        tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))))
    else if (a <= (-3.4d-288)) then
        tmp = y3 * ((t_1 + (j * ((y0 * y5) - (y1 * y4)))) + (y * ((c * y4) - (a * y5))))
    else if (a <= 0.0064d0) then
        tmp = t_4
    else if (a <= 7.5d+104) then
        tmp = j * (t * ((b * y4) - (i * y5)))
    else
        tmp = t_3
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = z * ((a * y1) - (c * y0));
	double t_2 = (y * y3) - (t * y2);
	double t_3 = a * ((b * ((x * y) - (z * t))) - (y5 * t_2));
	double t_4 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_2));
	double tmp;
	if (a <= -1.35e+250) {
		tmp = y3 * t_1;
	} else if (a <= -1.4e+169) {
		tmp = t_3;
	} else if (a <= -1.55e+67) {
		tmp = t_4;
	} else if (a <= -2.6e+38) {
		tmp = j * (y1 * ((x * i) - (y3 * y4)));
	} else if (a <= -5.2e-35) {
		tmp = c * (y0 * ((x * y2) - (z * y3)));
	} else if (a <= -3.6e-152) {
		tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
	} else if (a <= -3.4e-288) {
		tmp = y3 * ((t_1 + (j * ((y0 * y5) - (y1 * y4)))) + (y * ((c * y4) - (a * y5))));
	} else if (a <= 0.0064) {
		tmp = t_4;
	} else if (a <= 7.5e+104) {
		tmp = j * (t * ((b * y4) - (i * y5)));
	} else {
		tmp = t_3;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = z * ((a * y1) - (c * y0))
	t_2 = (y * y3) - (t * y2)
	t_3 = a * ((b * ((x * y) - (z * t))) - (y5 * t_2))
	t_4 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_2))
	tmp = 0
	if a <= -1.35e+250:
		tmp = y3 * t_1
	elif a <= -1.4e+169:
		tmp = t_3
	elif a <= -1.55e+67:
		tmp = t_4
	elif a <= -2.6e+38:
		tmp = j * (y1 * ((x * i) - (y3 * y4)))
	elif a <= -5.2e-35:
		tmp = c * (y0 * ((x * y2) - (z * y3)))
	elif a <= -3.6e-152:
		tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))))
	elif a <= -3.4e-288:
		tmp = y3 * ((t_1 + (j * ((y0 * y5) - (y1 * y4)))) + (y * ((c * y4) - (a * y5))))
	elif a <= 0.0064:
		tmp = t_4
	elif a <= 7.5e+104:
		tmp = j * (t * ((b * y4) - (i * y5)))
	else:
		tmp = t_3
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(z * Float64(Float64(a * y1) - Float64(c * y0)))
	t_2 = Float64(Float64(y * y3) - Float64(t * y2))
	t_3 = Float64(a * Float64(Float64(b * Float64(Float64(x * y) - Float64(z * t))) - Float64(y5 * t_2)))
	t_4 = Float64(y4 * Float64(Float64(Float64(b * Float64(Float64(t * j) - Float64(y * k))) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * t_2)))
	tmp = 0.0
	if (a <= -1.35e+250)
		tmp = Float64(y3 * t_1);
	elseif (a <= -1.4e+169)
		tmp = t_3;
	elseif (a <= -1.55e+67)
		tmp = t_4;
	elseif (a <= -2.6e+38)
		tmp = Float64(j * Float64(y1 * Float64(Float64(x * i) - Float64(y3 * y4))));
	elseif (a <= -5.2e-35)
		tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))));
	elseif (a <= -3.6e-152)
		tmp = Float64(y2 * Float64(Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(x * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4)))));
	elseif (a <= -3.4e-288)
		tmp = Float64(y3 * Float64(Float64(t_1 + Float64(j * Float64(Float64(y0 * y5) - Float64(y1 * y4)))) + Float64(y * Float64(Float64(c * y4) - Float64(a * y5)))));
	elseif (a <= 0.0064)
		tmp = t_4;
	elseif (a <= 7.5e+104)
		tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5))));
	else
		tmp = t_3;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = z * ((a * y1) - (c * y0));
	t_2 = (y * y3) - (t * y2);
	t_3 = a * ((b * ((x * y) - (z * t))) - (y5 * t_2));
	t_4 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * t_2));
	tmp = 0.0;
	if (a <= -1.35e+250)
		tmp = y3 * t_1;
	elseif (a <= -1.4e+169)
		tmp = t_3;
	elseif (a <= -1.55e+67)
		tmp = t_4;
	elseif (a <= -2.6e+38)
		tmp = j * (y1 * ((x * i) - (y3 * y4)));
	elseif (a <= -5.2e-35)
		tmp = c * (y0 * ((x * y2) - (z * y3)));
	elseif (a <= -3.6e-152)
		tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
	elseif (a <= -3.4e-288)
		tmp = y3 * ((t_1 + (j * ((y0 * y5) - (y1 * y4)))) + (y * ((c * y4) - (a * y5))));
	elseif (a <= 0.0064)
		tmp = t_4;
	elseif (a <= 7.5e+104)
		tmp = j * (t * ((b * y4) - (i * y5)));
	else
		tmp = t_3;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(a * N[(N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y5 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = 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 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -1.35e+250], N[(y3 * t$95$1), $MachinePrecision], If[LessEqual[a, -1.4e+169], t$95$3, If[LessEqual[a, -1.55e+67], t$95$4, If[LessEqual[a, -2.6e+38], N[(j * N[(y1 * N[(N[(x * i), $MachinePrecision] - N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -5.2e-35], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -3.6e-152], N[(y2 * N[(N[(N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -3.4e-288], N[(y3 * N[(N[(t$95$1 + N[(j * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 0.0064], t$95$4, If[LessEqual[a, 7.5e+104], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$3]]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := z \cdot \left(a \cdot y1 - c \cdot y0\right)\\
t_2 := y \cdot y3 - t \cdot y2\\
t_3 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) - y5 \cdot t\_2\right)\\
t_4 := 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 t\_2\right)\\
\mathbf{if}\;a \leq -1.35 \cdot 10^{+250}:\\
\;\;\;\;y3 \cdot t\_1\\

\mathbf{elif}\;a \leq -1.4 \cdot 10^{+169}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;a \leq -1.55 \cdot 10^{+67}:\\
\;\;\;\;t\_4\\

\mathbf{elif}\;a \leq -2.6 \cdot 10^{+38}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(x \cdot i - y3 \cdot y4\right)\right)\\

\mathbf{elif}\;a \leq -5.2 \cdot 10^{-35}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\

\mathbf{elif}\;a \leq -3.6 \cdot 10^{-152}:\\
\;\;\;\;y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\

\mathbf{elif}\;a \leq -3.4 \cdot 10^{-288}:\\
\;\;\;\;y3 \cdot \left(\left(t\_1 + j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) + y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\

\mathbf{elif}\;a \leq 0.0064:\\
\;\;\;\;t\_4\\

\mathbf{elif}\;a \leq 7.5 \cdot 10^{+104}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t\_3\\


\end{array}
\end{array}
Derivation
  1. Split input into 8 regimes
  2. if a < -1.35e250

    1. Initial program 15.3%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y3 around -inf 61.6%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    4. Taylor expanded in z around inf 77.2%

      \[\leadsto -1 \cdot \color{blue}{\left(y3 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right)} \]

    if -1.35e250 < a < -1.4000000000000001e169 or 7.5000000000000002e104 < a

    1. Initial program 16.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 33.5%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in a around inf 65.3%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]

    if -1.4000000000000001e169 < a < -1.54999999999999998e67 or -3.39999999999999972e-288 < a < 0.00640000000000000031

    1. Initial program 30.4%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y4 around inf 56.4%

      \[\leadsto \color{blue}{y4 \cdot \left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]

    if -1.54999999999999998e67 < a < -2.5999999999999999e38

    1. Initial program 40.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 31.2%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in y1 around -inf 51.8%

      \[\leadsto j \cdot \color{blue}{\left(-1 \cdot \left(y1 \cdot \left(y3 \cdot y4 - i \cdot x\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg51.8%

        \[\leadsto j \cdot \color{blue}{\left(-y1 \cdot \left(y3 \cdot y4 - i \cdot x\right)\right)} \]
    6. Simplified51.8%

      \[\leadsto j \cdot \color{blue}{\left(-y1 \cdot \left(y3 \cdot y4 - i \cdot x\right)\right)} \]

    if -2.5999999999999999e38 < a < -5.20000000000000009e-35

    1. Initial program 8.3%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 66.8%

      \[\leadsto \color{blue}{c \cdot \left(\left(-1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right) + y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
    4. Taylor expanded in y0 around inf 59.6%

      \[\leadsto \color{blue}{c \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)} \]

    if -5.20000000000000009e-35 < a < -3.6e-152

    1. Initial program 32.1%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in y2 around inf 53.7%

      \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]

    if -3.6e-152 < a < -3.39999999999999972e-288

    1. Initial program 33.3%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y3 around -inf 55.3%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]

    if 0.00640000000000000031 < a < 7.5000000000000002e104

    1. Initial program 19.9%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 70.1%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in t around inf 51.2%

      \[\leadsto j \cdot \color{blue}{\left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)} \]
  3. Recombined 8 regimes into one program.
  4. Final simplification58.8%

    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -1.35 \cdot 10^{+250}:\\ \;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\ \mathbf{elif}\;a \leq -1.4 \cdot 10^{+169}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) - y5 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;a \leq -1.55 \cdot 10^{+67}:\\ \;\;\;\;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}\;a \leq -2.6 \cdot 10^{+38}:\\ \;\;\;\;j \cdot \left(y1 \cdot \left(x \cdot i - y3 \cdot y4\right)\right)\\ \mathbf{elif}\;a \leq -5.2 \cdot 10^{-35}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;a \leq -3.6 \cdot 10^{-152}:\\ \;\;\;\;y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;a \leq -3.4 \cdot 10^{-288}:\\ \;\;\;\;y3 \cdot \left(\left(z \cdot \left(a \cdot y1 - c \cdot y0\right) + j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) + y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\ \mathbf{elif}\;a \leq 0.0064:\\ \;\;\;\;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}\;a \leq 7.5 \cdot 10^{+104}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) - y5 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 12: 35.0% accurate, 1.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot y4 - a \cdot y5\\ t_2 := y \cdot y3 - t \cdot y2\\ \mathbf{if}\;y5 \leq -4.7 \cdot 10^{+168}:\\ \;\;\;\;j \cdot \left(y5 \cdot \left(y0 \cdot y3 - t \cdot i\right)\right)\\ \mathbf{elif}\;y5 \leq -1.4 \cdot 10^{+94}:\\ \;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\ \mathbf{elif}\;y5 \leq -3.3 \cdot 10^{+34}:\\ \;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;y5 \leq -0.08:\\ \;\;\;\;j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\ \mathbf{elif}\;y5 \leq -1.02 \cdot 10^{-14}:\\ \;\;\;\;y3 \cdot \left(y \cdot t\_1 + j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\ \mathbf{elif}\;y5 \leq -2.25 \cdot 10^{-200}:\\ \;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\ \mathbf{elif}\;y5 \leq -3.5 \cdot 10^{-270}:\\ \;\;\;\;c \cdot \left(y4 \cdot t\_2\right)\\ \mathbf{elif}\;y5 \leq 1.06 \cdot 10^{-185}:\\ \;\;\;\;y \cdot \left(y3 \cdot t\_1 + b \cdot \left(x \cdot a - k \cdot y4\right)\right)\\ \mathbf{elif}\;y5 \leq 3.55 \cdot 10^{+50}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) - y5 \cdot t\_2\right)\\ \mathbf{else}:\\ \;\;\;\;y5 \cdot \left(y0 \cdot \left(j \cdot y3 - k \cdot y2\right) - a \cdot t\_2\right)\\ \end{array} \end{array} \]
(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))) (t_2 (- (* y y3) (* t y2))))
   (if (<= y5 -4.7e+168)
     (* j (* y5 (- (* y0 y3) (* t i))))
     (if (<= y5 -1.4e+94)
       (* k (* i (- (* y y5) (* z y1))))
       (if (<= y5 -3.3e+34)
         (* y2 (* t (- (* a y5) (* c y4))))
         (if (<= y5 -0.08)
           (* j (* b (- (* t y4) (* x y0))))
           (if (<= y5 -1.02e-14)
             (* y3 (+ (* y t_1) (* j (- (* y0 y5) (* y1 y4)))))
             (if (<= y5 -2.25e-200)
               (* y3 (* z (- (* a y1) (* c y0))))
               (if (<= y5 -3.5e-270)
                 (* c (* y4 t_2))
                 (if (<= y5 1.06e-185)
                   (* y (+ (* y3 t_1) (* b (- (* x a) (* k y4)))))
                   (if (<= y5 3.55e+50)
                     (* a (- (* b (- (* x y) (* z t))) (* y5 t_2)))
                     (*
                      y5
                      (- (* y0 (- (* j y3) (* k y2))) (* a 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 = (c * y4) - (a * y5);
	double t_2 = (y * y3) - (t * y2);
	double tmp;
	if (y5 <= -4.7e+168) {
		tmp = j * (y5 * ((y0 * y3) - (t * i)));
	} else if (y5 <= -1.4e+94) {
		tmp = k * (i * ((y * y5) - (z * y1)));
	} else if (y5 <= -3.3e+34) {
		tmp = y2 * (t * ((a * y5) - (c * y4)));
	} else if (y5 <= -0.08) {
		tmp = j * (b * ((t * y4) - (x * y0)));
	} else if (y5 <= -1.02e-14) {
		tmp = y3 * ((y * t_1) + (j * ((y0 * y5) - (y1 * y4))));
	} else if (y5 <= -2.25e-200) {
		tmp = y3 * (z * ((a * y1) - (c * y0)));
	} else if (y5 <= -3.5e-270) {
		tmp = c * (y4 * t_2);
	} else if (y5 <= 1.06e-185) {
		tmp = y * ((y3 * t_1) + (b * ((x * a) - (k * y4))));
	} else if (y5 <= 3.55e+50) {
		tmp = a * ((b * ((x * y) - (z * t))) - (y5 * t_2));
	} else {
		tmp = y5 * ((y0 * ((j * y3) - (k * y2))) - (a * 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 = (c * y4) - (a * y5)
    t_2 = (y * y3) - (t * y2)
    if (y5 <= (-4.7d+168)) then
        tmp = j * (y5 * ((y0 * y3) - (t * i)))
    else if (y5 <= (-1.4d+94)) then
        tmp = k * (i * ((y * y5) - (z * y1)))
    else if (y5 <= (-3.3d+34)) then
        tmp = y2 * (t * ((a * y5) - (c * y4)))
    else if (y5 <= (-0.08d0)) then
        tmp = j * (b * ((t * y4) - (x * y0)))
    else if (y5 <= (-1.02d-14)) then
        tmp = y3 * ((y * t_1) + (j * ((y0 * y5) - (y1 * y4))))
    else if (y5 <= (-2.25d-200)) then
        tmp = y3 * (z * ((a * y1) - (c * y0)))
    else if (y5 <= (-3.5d-270)) then
        tmp = c * (y4 * t_2)
    else if (y5 <= 1.06d-185) then
        tmp = y * ((y3 * t_1) + (b * ((x * a) - (k * y4))))
    else if (y5 <= 3.55d+50) then
        tmp = a * ((b * ((x * y) - (z * t))) - (y5 * t_2))
    else
        tmp = y5 * ((y0 * ((j * y3) - (k * y2))) - (a * 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 = (c * y4) - (a * y5);
	double t_2 = (y * y3) - (t * y2);
	double tmp;
	if (y5 <= -4.7e+168) {
		tmp = j * (y5 * ((y0 * y3) - (t * i)));
	} else if (y5 <= -1.4e+94) {
		tmp = k * (i * ((y * y5) - (z * y1)));
	} else if (y5 <= -3.3e+34) {
		tmp = y2 * (t * ((a * y5) - (c * y4)));
	} else if (y5 <= -0.08) {
		tmp = j * (b * ((t * y4) - (x * y0)));
	} else if (y5 <= -1.02e-14) {
		tmp = y3 * ((y * t_1) + (j * ((y0 * y5) - (y1 * y4))));
	} else if (y5 <= -2.25e-200) {
		tmp = y3 * (z * ((a * y1) - (c * y0)));
	} else if (y5 <= -3.5e-270) {
		tmp = c * (y4 * t_2);
	} else if (y5 <= 1.06e-185) {
		tmp = y * ((y3 * t_1) + (b * ((x * a) - (k * y4))));
	} else if (y5 <= 3.55e+50) {
		tmp = a * ((b * ((x * y) - (z * t))) - (y5 * t_2));
	} else {
		tmp = y5 * ((y0 * ((j * y3) - (k * y2))) - (a * t_2));
	}
	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)
	t_2 = (y * y3) - (t * y2)
	tmp = 0
	if y5 <= -4.7e+168:
		tmp = j * (y5 * ((y0 * y3) - (t * i)))
	elif y5 <= -1.4e+94:
		tmp = k * (i * ((y * y5) - (z * y1)))
	elif y5 <= -3.3e+34:
		tmp = y2 * (t * ((a * y5) - (c * y4)))
	elif y5 <= -0.08:
		tmp = j * (b * ((t * y4) - (x * y0)))
	elif y5 <= -1.02e-14:
		tmp = y3 * ((y * t_1) + (j * ((y0 * y5) - (y1 * y4))))
	elif y5 <= -2.25e-200:
		tmp = y3 * (z * ((a * y1) - (c * y0)))
	elif y5 <= -3.5e-270:
		tmp = c * (y4 * t_2)
	elif y5 <= 1.06e-185:
		tmp = y * ((y3 * t_1) + (b * ((x * a) - (k * y4))))
	elif y5 <= 3.55e+50:
		tmp = a * ((b * ((x * y) - (z * t))) - (y5 * t_2))
	else:
		tmp = y5 * ((y0 * ((j * y3) - (k * y2))) - (a * 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(c * y4) - Float64(a * y5))
	t_2 = Float64(Float64(y * y3) - Float64(t * y2))
	tmp = 0.0
	if (y5 <= -4.7e+168)
		tmp = Float64(j * Float64(y5 * Float64(Float64(y0 * y3) - Float64(t * i))));
	elseif (y5 <= -1.4e+94)
		tmp = Float64(k * Float64(i * Float64(Float64(y * y5) - Float64(z * y1))));
	elseif (y5 <= -3.3e+34)
		tmp = Float64(y2 * Float64(t * Float64(Float64(a * y5) - Float64(c * y4))));
	elseif (y5 <= -0.08)
		tmp = Float64(j * Float64(b * Float64(Float64(t * y4) - Float64(x * y0))));
	elseif (y5 <= -1.02e-14)
		tmp = Float64(y3 * Float64(Float64(y * t_1) + Float64(j * Float64(Float64(y0 * y5) - Float64(y1 * y4)))));
	elseif (y5 <= -2.25e-200)
		tmp = Float64(y3 * Float64(z * Float64(Float64(a * y1) - Float64(c * y0))));
	elseif (y5 <= -3.5e-270)
		tmp = Float64(c * Float64(y4 * t_2));
	elseif (y5 <= 1.06e-185)
		tmp = Float64(y * Float64(Float64(y3 * t_1) + Float64(b * Float64(Float64(x * a) - Float64(k * y4)))));
	elseif (y5 <= 3.55e+50)
		tmp = Float64(a * Float64(Float64(b * Float64(Float64(x * y) - Float64(z * t))) - Float64(y5 * t_2)));
	else
		tmp = Float64(y5 * Float64(Float64(y0 * Float64(Float64(j * y3) - Float64(k * y2))) - Float64(a * 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 = (c * y4) - (a * y5);
	t_2 = (y * y3) - (t * y2);
	tmp = 0.0;
	if (y5 <= -4.7e+168)
		tmp = j * (y5 * ((y0 * y3) - (t * i)));
	elseif (y5 <= -1.4e+94)
		tmp = k * (i * ((y * y5) - (z * y1)));
	elseif (y5 <= -3.3e+34)
		tmp = y2 * (t * ((a * y5) - (c * y4)));
	elseif (y5 <= -0.08)
		tmp = j * (b * ((t * y4) - (x * y0)));
	elseif (y5 <= -1.02e-14)
		tmp = y3 * ((y * t_1) + (j * ((y0 * y5) - (y1 * y4))));
	elseif (y5 <= -2.25e-200)
		tmp = y3 * (z * ((a * y1) - (c * y0)));
	elseif (y5 <= -3.5e-270)
		tmp = c * (y4 * t_2);
	elseif (y5 <= 1.06e-185)
		tmp = y * ((y3 * t_1) + (b * ((x * a) - (k * y4))));
	elseif (y5 <= 3.55e+50)
		tmp = a * ((b * ((x * y) - (z * t))) - (y5 * t_2));
	else
		tmp = y5 * ((y0 * ((j * y3) - (k * y2))) - (a * 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[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -4.7e+168], N[(j * N[(y5 * N[(N[(y0 * y3), $MachinePrecision] - N[(t * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -1.4e+94], N[(k * N[(i * N[(N[(y * y5), $MachinePrecision] - N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -3.3e+34], N[(y2 * N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -0.08], N[(j * N[(b * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -1.02e-14], N[(y3 * N[(N[(y * t$95$1), $MachinePrecision] + N[(j * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -2.25e-200], N[(y3 * N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -3.5e-270], N[(c * N[(y4 * t$95$2), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 1.06e-185], N[(y * N[(N[(y3 * t$95$1), $MachinePrecision] + N[(b * N[(N[(x * a), $MachinePrecision] - N[(k * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 3.55e+50], N[(a * N[(N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y5 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y5 * N[(N[(y0 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(a * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := c \cdot y4 - a \cdot y5\\
t_2 := y \cdot y3 - t \cdot y2\\
\mathbf{if}\;y5 \leq -4.7 \cdot 10^{+168}:\\
\;\;\;\;j \cdot \left(y5 \cdot \left(y0 \cdot y3 - t \cdot i\right)\right)\\

\mathbf{elif}\;y5 \leq -1.4 \cdot 10^{+94}:\\
\;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\

\mathbf{elif}\;y5 \leq -3.3 \cdot 10^{+34}:\\
\;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\

\mathbf{elif}\;y5 \leq -0.08:\\
\;\;\;\;j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\

\mathbf{elif}\;y5 \leq -1.02 \cdot 10^{-14}:\\
\;\;\;\;y3 \cdot \left(y \cdot t\_1 + j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\

\mathbf{elif}\;y5 \leq -2.25 \cdot 10^{-200}:\\
\;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\

\mathbf{elif}\;y5 \leq -3.5 \cdot 10^{-270}:\\
\;\;\;\;c \cdot \left(y4 \cdot t\_2\right)\\

\mathbf{elif}\;y5 \leq 1.06 \cdot 10^{-185}:\\
\;\;\;\;y \cdot \left(y3 \cdot t\_1 + b \cdot \left(x \cdot a - k \cdot y4\right)\right)\\

\mathbf{elif}\;y5 \leq 3.55 \cdot 10^{+50}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) - y5 \cdot t\_2\right)\\

\mathbf{else}:\\
\;\;\;\;y5 \cdot \left(y0 \cdot \left(j \cdot y3 - k \cdot y2\right) - a \cdot t\_2\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 10 regimes
  2. if y5 < -4.69999999999999961e168

    1. Initial program 29.9%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 52.2%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in y5 around inf 71.0%

      \[\leadsto j \cdot \color{blue}{\left(y5 \cdot \left(-1 \cdot \left(i \cdot t\right) + y0 \cdot y3\right)\right)} \]

    if -4.69999999999999961e168 < y5 < -1.39999999999999999e94

    1. Initial program 31.5%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in k around inf 48.0%

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Taylor expanded in i around inf 53.4%

      \[\leadsto k \cdot \color{blue}{\left(i \cdot \left(y \cdot y5 - y1 \cdot z\right)\right)} \]

    if -1.39999999999999999e94 < y5 < -3.29999999999999988e34

    1. Initial program 33.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y2 around inf 67.8%

      \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in t around inf 78.9%

      \[\leadsto y2 \cdot \color{blue}{\left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)} \]

    if -3.29999999999999988e34 < y5 < -0.0800000000000000017

    1. Initial program 0.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 57.6%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in b around inf 86.1%

      \[\leadsto j \cdot \color{blue}{\left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)} \]

    if -0.0800000000000000017 < y5 < -1.02e-14

    1. Initial program 0.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 20.0%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in y3 around -inf 100.0%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]

    if -1.02e-14 < y5 < -2.2500000000000001e-200

    1. Initial program 39.2%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y3 around -inf 50.8%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    4. Taylor expanded in z around inf 51.6%

      \[\leadsto -1 \cdot \color{blue}{\left(y3 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right)} \]

    if -2.2500000000000001e-200 < y5 < -3.49999999999999994e-270

    1. Initial program 11.1%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 44.7%

      \[\leadsto \color{blue}{c \cdot \left(\left(-1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right) + y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
    4. Taylor expanded in y4 around inf 67.0%

      \[\leadsto \color{blue}{c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)} \]

    if -3.49999999999999994e-270 < y5 < 1.06000000000000004e-185

    1. Initial program 25.8%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 26.2%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in y around inf 58.8%

      \[\leadsto \color{blue}{y \cdot \left(b \cdot \left(-1 \cdot \left(k \cdot y4\right) + a \cdot x\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]

    if 1.06000000000000004e-185 < y5 < 3.54999999999999996e50

    1. Initial program 22.7%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 40.0%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in a around inf 45.6%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]

    if 3.54999999999999996e50 < y5

    1. Initial program 21.5%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 27.7%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in y5 around -inf 57.4%

      \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg57.4%

        \[\leadsto \color{blue}{-y5 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
    6. Simplified57.4%

      \[\leadsto \color{blue}{-y5 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
  3. Recombined 10 regimes into one program.
  4. Final simplification58.5%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -4.7 \cdot 10^{+168}:\\ \;\;\;\;j \cdot \left(y5 \cdot \left(y0 \cdot y3 - t \cdot i\right)\right)\\ \mathbf{elif}\;y5 \leq -1.4 \cdot 10^{+94}:\\ \;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\ \mathbf{elif}\;y5 \leq -3.3 \cdot 10^{+34}:\\ \;\;\;\;y2 \cdot \left(t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;y5 \leq -0.08:\\ \;\;\;\;j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\ \mathbf{elif}\;y5 \leq -1.02 \cdot 10^{-14}:\\ \;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\ \mathbf{elif}\;y5 \leq -2.25 \cdot 10^{-200}:\\ \;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\ \mathbf{elif}\;y5 \leq -3.5 \cdot 10^{-270}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;y5 \leq 1.06 \cdot 10^{-185}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right) + b \cdot \left(x \cdot a - k \cdot y4\right)\right)\\ \mathbf{elif}\;y5 \leq 3.55 \cdot 10^{+50}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) - y5 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{else}:\\ \;\;\;\;y5 \cdot \left(y0 \cdot \left(j \cdot y3 - k \cdot y2\right) - a \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 13: 29.7% accurate, 1.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \left(y2 \cdot \left(t \cdot y5 - x \cdot y1\right)\right)\\ t_2 := y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right)\\ \mathbf{if}\;y3 \leq -6.8 \cdot 10^{+187}:\\ \;\;\;\;j \cdot \left(y1 \cdot \left(y4 \cdot \left(-y3\right)\right)\right)\\ \mathbf{elif}\;y3 \leq -1.2 \cdot 10^{+49}:\\ \;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\ \mathbf{elif}\;y3 \leq -2.2 \cdot 10^{-72}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq -1.25 \cdot 10^{-216}:\\ \;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\ \mathbf{elif}\;y3 \leq 4.7 \cdot 10^{-260}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq 1.3 \cdot 10^{-95}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \mathbf{elif}\;y3 \leq 8.6 \cdot 10^{-58}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y3 \leq 2.5 \cdot 10^{+61}:\\ \;\;\;\;j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\ \mathbf{elif}\;y3 \leq 6 \cdot 10^{+190}:\\ \;\;\;\;t\_2\\ \mathbf{else}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* a (* y2 (- (* t y5) (* x y1)))))
        (t_2 (* y (* x (- (* a b) (* c i))))))
   (if (<= y3 -6.8e+187)
     (* j (* y1 (* y4 (- y3))))
     (if (<= y3 -1.2e+49)
       (* j (* y0 (- (* y3 y5) (* x b))))
       (if (<= y3 -2.2e-72)
         t_1
         (if (<= y3 -1.25e-216)
           (* k (* i (- (* y y5) (* z y1))))
           (if (<= y3 4.7e-260)
             t_1
             (if (<= y3 1.3e-95)
               (* j (* t (- (* b y4) (* i y5))))
               (if (<= y3 8.6e-58)
                 t_2
                 (if (<= y3 2.5e+61)
                   (* j (* b (- (* t y4) (* x y0))))
                   (if (<= y3 6e+190)
                     t_2
                     (* y (* y3 (- (* c y4) (* a y5)))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = a * (y2 * ((t * y5) - (x * y1)));
	double t_2 = y * (x * ((a * b) - (c * i)));
	double tmp;
	if (y3 <= -6.8e+187) {
		tmp = j * (y1 * (y4 * -y3));
	} else if (y3 <= -1.2e+49) {
		tmp = j * (y0 * ((y3 * y5) - (x * b)));
	} else if (y3 <= -2.2e-72) {
		tmp = t_1;
	} else if (y3 <= -1.25e-216) {
		tmp = k * (i * ((y * y5) - (z * y1)));
	} else if (y3 <= 4.7e-260) {
		tmp = t_1;
	} else if (y3 <= 1.3e-95) {
		tmp = j * (t * ((b * y4) - (i * y5)));
	} else if (y3 <= 8.6e-58) {
		tmp = t_2;
	} else if (y3 <= 2.5e+61) {
		tmp = j * (b * ((t * y4) - (x * y0)));
	} else if (y3 <= 6e+190) {
		tmp = t_2;
	} else {
		tmp = y * (y3 * ((c * y4) - (a * y5)));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = a * (y2 * ((t * y5) - (x * y1)))
    t_2 = y * (x * ((a * b) - (c * i)))
    if (y3 <= (-6.8d+187)) then
        tmp = j * (y1 * (y4 * -y3))
    else if (y3 <= (-1.2d+49)) then
        tmp = j * (y0 * ((y3 * y5) - (x * b)))
    else if (y3 <= (-2.2d-72)) then
        tmp = t_1
    else if (y3 <= (-1.25d-216)) then
        tmp = k * (i * ((y * y5) - (z * y1)))
    else if (y3 <= 4.7d-260) then
        tmp = t_1
    else if (y3 <= 1.3d-95) then
        tmp = j * (t * ((b * y4) - (i * y5)))
    else if (y3 <= 8.6d-58) then
        tmp = t_2
    else if (y3 <= 2.5d+61) then
        tmp = j * (b * ((t * y4) - (x * y0)))
    else if (y3 <= 6d+190) then
        tmp = t_2
    else
        tmp = y * (y3 * ((c * y4) - (a * y5)))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = a * (y2 * ((t * y5) - (x * y1)));
	double t_2 = y * (x * ((a * b) - (c * i)));
	double tmp;
	if (y3 <= -6.8e+187) {
		tmp = j * (y1 * (y4 * -y3));
	} else if (y3 <= -1.2e+49) {
		tmp = j * (y0 * ((y3 * y5) - (x * b)));
	} else if (y3 <= -2.2e-72) {
		tmp = t_1;
	} else if (y3 <= -1.25e-216) {
		tmp = k * (i * ((y * y5) - (z * y1)));
	} else if (y3 <= 4.7e-260) {
		tmp = t_1;
	} else if (y3 <= 1.3e-95) {
		tmp = j * (t * ((b * y4) - (i * y5)));
	} else if (y3 <= 8.6e-58) {
		tmp = t_2;
	} else if (y3 <= 2.5e+61) {
		tmp = j * (b * ((t * y4) - (x * y0)));
	} else if (y3 <= 6e+190) {
		tmp = t_2;
	} else {
		tmp = y * (y3 * ((c * y4) - (a * y5)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = a * (y2 * ((t * y5) - (x * y1)))
	t_2 = y * (x * ((a * b) - (c * i)))
	tmp = 0
	if y3 <= -6.8e+187:
		tmp = j * (y1 * (y4 * -y3))
	elif y3 <= -1.2e+49:
		tmp = j * (y0 * ((y3 * y5) - (x * b)))
	elif y3 <= -2.2e-72:
		tmp = t_1
	elif y3 <= -1.25e-216:
		tmp = k * (i * ((y * y5) - (z * y1)))
	elif y3 <= 4.7e-260:
		tmp = t_1
	elif y3 <= 1.3e-95:
		tmp = j * (t * ((b * y4) - (i * y5)))
	elif y3 <= 8.6e-58:
		tmp = t_2
	elif y3 <= 2.5e+61:
		tmp = j * (b * ((t * y4) - (x * y0)))
	elif y3 <= 6e+190:
		tmp = t_2
	else:
		tmp = y * (y3 * ((c * y4) - (a * y5)))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(a * Float64(y2 * Float64(Float64(t * y5) - Float64(x * y1))))
	t_2 = Float64(y * Float64(x * Float64(Float64(a * b) - Float64(c * i))))
	tmp = 0.0
	if (y3 <= -6.8e+187)
		tmp = Float64(j * Float64(y1 * Float64(y4 * Float64(-y3))));
	elseif (y3 <= -1.2e+49)
		tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b))));
	elseif (y3 <= -2.2e-72)
		tmp = t_1;
	elseif (y3 <= -1.25e-216)
		tmp = Float64(k * Float64(i * Float64(Float64(y * y5) - Float64(z * y1))));
	elseif (y3 <= 4.7e-260)
		tmp = t_1;
	elseif (y3 <= 1.3e-95)
		tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5))));
	elseif (y3 <= 8.6e-58)
		tmp = t_2;
	elseif (y3 <= 2.5e+61)
		tmp = Float64(j * Float64(b * Float64(Float64(t * y4) - Float64(x * y0))));
	elseif (y3 <= 6e+190)
		tmp = t_2;
	else
		tmp = Float64(y * Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = a * (y2 * ((t * y5) - (x * y1)));
	t_2 = y * (x * ((a * b) - (c * i)));
	tmp = 0.0;
	if (y3 <= -6.8e+187)
		tmp = j * (y1 * (y4 * -y3));
	elseif (y3 <= -1.2e+49)
		tmp = j * (y0 * ((y3 * y5) - (x * b)));
	elseif (y3 <= -2.2e-72)
		tmp = t_1;
	elseif (y3 <= -1.25e-216)
		tmp = k * (i * ((y * y5) - (z * y1)));
	elseif (y3 <= 4.7e-260)
		tmp = t_1;
	elseif (y3 <= 1.3e-95)
		tmp = j * (t * ((b * y4) - (i * y5)));
	elseif (y3 <= 8.6e-58)
		tmp = t_2;
	elseif (y3 <= 2.5e+61)
		tmp = j * (b * ((t * y4) - (x * y0)));
	elseif (y3 <= 6e+190)
		tmp = t_2;
	else
		tmp = y * (y3 * ((c * y4) - (a * y5)));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(y2 * N[(N[(t * y5), $MachinePrecision] - N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y * N[(x * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -6.8e+187], N[(j * N[(y1 * N[(y4 * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -1.2e+49], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -2.2e-72], t$95$1, If[LessEqual[y3, -1.25e-216], N[(k * N[(i * N[(N[(y * y5), $MachinePrecision] - N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 4.7e-260], t$95$1, If[LessEqual[y3, 1.3e-95], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 8.6e-58], t$95$2, If[LessEqual[y3, 2.5e+61], N[(j * N[(b * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 6e+190], t$95$2, N[(y * N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := a \cdot \left(y2 \cdot \left(t \cdot y5 - x \cdot y1\right)\right)\\
t_2 := y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\mathbf{if}\;y3 \leq -6.8 \cdot 10^{+187}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(y4 \cdot \left(-y3\right)\right)\right)\\

\mathbf{elif}\;y3 \leq -1.2 \cdot 10^{+49}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\

\mathbf{elif}\;y3 \leq -2.2 \cdot 10^{-72}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y3 \leq -1.25 \cdot 10^{-216}:\\
\;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\

\mathbf{elif}\;y3 \leq 4.7 \cdot 10^{-260}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y3 \leq 1.3 \cdot 10^{-95}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\

\mathbf{elif}\;y3 \leq 8.6 \cdot 10^{-58}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;y3 \leq 2.5 \cdot 10^{+61}:\\
\;\;\;\;j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\

\mathbf{elif}\;y3 \leq 6 \cdot 10^{+190}:\\
\;\;\;\;t\_2\\

\mathbf{else}:\\
\;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 8 regimes
  2. if y3 < -6.7999999999999999e187

    1. Initial program 8.7%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 21.7%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in y3 around -inf 65.4%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    5. Taylor expanded in y1 around inf 61.1%

      \[\leadsto -1 \cdot \color{blue}{\left(j \cdot \left(y1 \cdot \left(y3 \cdot y4\right)\right)\right)} \]
    6. Step-by-step derivation
      1. *-commutative61.1%

        \[\leadsto -1 \cdot \left(j \cdot \color{blue}{\left(\left(y3 \cdot y4\right) \cdot y1\right)}\right) \]
      2. *-commutative61.1%

        \[\leadsto -1 \cdot \left(j \cdot \left(\color{blue}{\left(y4 \cdot y3\right)} \cdot y1\right)\right) \]
    7. Simplified61.1%

      \[\leadsto -1 \cdot \color{blue}{\left(j \cdot \left(\left(y4 \cdot y3\right) \cdot y1\right)\right)} \]

    if -6.7999999999999999e187 < y3 < -1.2e49

    1. Initial program 27.7%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 39.1%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in y0 around inf 48.2%

      \[\leadsto j \cdot \color{blue}{\left(y0 \cdot \left(y3 \cdot y5 - b \cdot x\right)\right)} \]

    if -1.2e49 < y3 < -2.20000000000000002e-72 or -1.25000000000000005e-216 < y3 < 4.7e-260

    1. Initial program 27.1%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in y2 around inf 44.8%

      \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in a around -inf 47.5%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot \left(x \cdot y1 - t \cdot y5\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg47.5%

        \[\leadsto \color{blue}{-a \cdot \left(y2 \cdot \left(x \cdot y1 - t \cdot y5\right)\right)} \]
    6. Simplified47.5%

      \[\leadsto \color{blue}{-a \cdot \left(y2 \cdot \left(x \cdot y1 - t \cdot y5\right)\right)} \]

    if -2.20000000000000002e-72 < y3 < -1.25000000000000005e-216

    1. Initial program 37.4%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in k around inf 45.5%

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Taylor expanded in i around inf 45.9%

      \[\leadsto k \cdot \color{blue}{\left(i \cdot \left(y \cdot y5 - y1 \cdot z\right)\right)} \]

    if 4.7e-260 < y3 < 1.3e-95

    1. Initial program 22.2%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 50.5%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in t around inf 52.7%

      \[\leadsto j \cdot \color{blue}{\left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)} \]

    if 1.3e-95 < y3 < 8.5999999999999999e-58 or 2.50000000000000009e61 < y3 < 5.99999999999999964e190

    1. Initial program 12.7%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y around inf 52.3%

      \[\leadsto \color{blue}{y \cdot \left(\left(-1 \cdot \left(k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    4. Taylor expanded in x around inf 69.0%

      \[\leadsto y \cdot \color{blue}{\left(x \cdot \left(a \cdot b - c \cdot i\right)\right)} \]
    5. Step-by-step derivation
      1. *-commutative69.0%

        \[\leadsto y \cdot \left(x \cdot \left(a \cdot b - \color{blue}{i \cdot c}\right)\right) \]
      2. *-commutative69.0%

        \[\leadsto y \cdot \left(x \cdot \left(\color{blue}{b \cdot a} - i \cdot c\right)\right) \]
    6. Simplified69.0%

      \[\leadsto y \cdot \color{blue}{\left(x \cdot \left(b \cdot a - i \cdot c\right)\right)} \]

    if 8.5999999999999999e-58 < y3 < 2.50000000000000009e61

    1. Initial program 40.6%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 52.2%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in b around inf 56.4%

      \[\leadsto j \cdot \color{blue}{\left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)} \]

    if 5.99999999999999964e190 < y3

    1. Initial program 12.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y around inf 44.5%

      \[\leadsto \color{blue}{y \cdot \left(\left(-1 \cdot \left(k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    4. Taylor expanded in y3 around inf 72.2%

      \[\leadsto \color{blue}{y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
  3. Recombined 8 regimes into one program.
  4. Final simplification54.7%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y3 \leq -6.8 \cdot 10^{+187}:\\ \;\;\;\;j \cdot \left(y1 \cdot \left(y4 \cdot \left(-y3\right)\right)\right)\\ \mathbf{elif}\;y3 \leq -1.2 \cdot 10^{+49}:\\ \;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\ \mathbf{elif}\;y3 \leq -2.2 \cdot 10^{-72}:\\ \;\;\;\;a \cdot \left(y2 \cdot \left(t \cdot y5 - x \cdot y1\right)\right)\\ \mathbf{elif}\;y3 \leq -1.25 \cdot 10^{-216}:\\ \;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\ \mathbf{elif}\;y3 \leq 4.7 \cdot 10^{-260}:\\ \;\;\;\;a \cdot \left(y2 \cdot \left(t \cdot y5 - x \cdot y1\right)\right)\\ \mathbf{elif}\;y3 \leq 1.3 \cdot 10^{-95}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \mathbf{elif}\;y3 \leq 8.6 \cdot 10^{-58}:\\ \;\;\;\;y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right)\\ \mathbf{elif}\;y3 \leq 2.5 \cdot 10^{+61}:\\ \;\;\;\;j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\ \mathbf{elif}\;y3 \leq 6 \cdot 10^{+190}:\\ \;\;\;\;y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 14: 29.7% accurate, 1.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := t \cdot y5 - x \cdot y1\\ t_2 := y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right)\\ \mathbf{if}\;y3 \leq -1.05 \cdot 10^{+184}:\\ \;\;\;\;j \cdot \left(y1 \cdot \left(y4 \cdot \left(-y3\right)\right)\right)\\ \mathbf{elif}\;y3 \leq -1.45 \cdot 10^{+49}:\\ \;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\ \mathbf{elif}\;y3 \leq -3.4 \cdot 10^{-67}:\\ \;\;\;\;a \cdot \left(y2 \cdot t\_1\right)\\ \mathbf{elif}\;y3 \leq -3.7 \cdot 10^{-216}:\\ \;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\ \mathbf{elif}\;y3 \leq 2.75 \cdot 10^{-260}:\\ \;\;\;\;y2 \cdot \left(a \cdot t\_1\right)\\ \mathbf{elif}\;y3 \leq 1.8 \cdot 10^{-94}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \mathbf{elif}\;y3 \leq 1.15 \cdot 10^{-58}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y3 \leq 2.9 \cdot 10^{+61}:\\ \;\;\;\;j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\ \mathbf{elif}\;y3 \leq 5.3 \cdot 10^{+190}:\\ \;\;\;\;t\_2\\ \mathbf{else}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\ \end{array} \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 y5) (* x y1))) (t_2 (* y (* x (- (* a b) (* c i))))))
   (if (<= y3 -1.05e+184)
     (* j (* y1 (* y4 (- y3))))
     (if (<= y3 -1.45e+49)
       (* j (* y0 (- (* y3 y5) (* x b))))
       (if (<= y3 -3.4e-67)
         (* a (* y2 t_1))
         (if (<= y3 -3.7e-216)
           (* k (* i (- (* y y5) (* z y1))))
           (if (<= y3 2.75e-260)
             (* y2 (* a t_1))
             (if (<= y3 1.8e-94)
               (* j (* t (- (* b y4) (* i y5))))
               (if (<= y3 1.15e-58)
                 t_2
                 (if (<= y3 2.9e+61)
                   (* j (* b (- (* t y4) (* x y0))))
                   (if (<= y3 5.3e+190)
                     t_2
                     (* y (* y3 (- (* c y4) (* a y5)))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (t * y5) - (x * y1);
	double t_2 = y * (x * ((a * b) - (c * i)));
	double tmp;
	if (y3 <= -1.05e+184) {
		tmp = j * (y1 * (y4 * -y3));
	} else if (y3 <= -1.45e+49) {
		tmp = j * (y0 * ((y3 * y5) - (x * b)));
	} else if (y3 <= -3.4e-67) {
		tmp = a * (y2 * t_1);
	} else if (y3 <= -3.7e-216) {
		tmp = k * (i * ((y * y5) - (z * y1)));
	} else if (y3 <= 2.75e-260) {
		tmp = y2 * (a * t_1);
	} else if (y3 <= 1.8e-94) {
		tmp = j * (t * ((b * y4) - (i * y5)));
	} else if (y3 <= 1.15e-58) {
		tmp = t_2;
	} else if (y3 <= 2.9e+61) {
		tmp = j * (b * ((t * y4) - (x * y0)));
	} else if (y3 <= 5.3e+190) {
		tmp = t_2;
	} else {
		tmp = y * (y3 * ((c * y4) - (a * y5)));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = (t * y5) - (x * y1)
    t_2 = y * (x * ((a * b) - (c * i)))
    if (y3 <= (-1.05d+184)) then
        tmp = j * (y1 * (y4 * -y3))
    else if (y3 <= (-1.45d+49)) then
        tmp = j * (y0 * ((y3 * y5) - (x * b)))
    else if (y3 <= (-3.4d-67)) then
        tmp = a * (y2 * t_1)
    else if (y3 <= (-3.7d-216)) then
        tmp = k * (i * ((y * y5) - (z * y1)))
    else if (y3 <= 2.75d-260) then
        tmp = y2 * (a * t_1)
    else if (y3 <= 1.8d-94) then
        tmp = j * (t * ((b * y4) - (i * y5)))
    else if (y3 <= 1.15d-58) then
        tmp = t_2
    else if (y3 <= 2.9d+61) then
        tmp = j * (b * ((t * y4) - (x * y0)))
    else if (y3 <= 5.3d+190) then
        tmp = t_2
    else
        tmp = y * (y3 * ((c * y4) - (a * y5)))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (t * y5) - (x * y1);
	double t_2 = y * (x * ((a * b) - (c * i)));
	double tmp;
	if (y3 <= -1.05e+184) {
		tmp = j * (y1 * (y4 * -y3));
	} else if (y3 <= -1.45e+49) {
		tmp = j * (y0 * ((y3 * y5) - (x * b)));
	} else if (y3 <= -3.4e-67) {
		tmp = a * (y2 * t_1);
	} else if (y3 <= -3.7e-216) {
		tmp = k * (i * ((y * y5) - (z * y1)));
	} else if (y3 <= 2.75e-260) {
		tmp = y2 * (a * t_1);
	} else if (y3 <= 1.8e-94) {
		tmp = j * (t * ((b * y4) - (i * y5)));
	} else if (y3 <= 1.15e-58) {
		tmp = t_2;
	} else if (y3 <= 2.9e+61) {
		tmp = j * (b * ((t * y4) - (x * y0)));
	} else if (y3 <= 5.3e+190) {
		tmp = t_2;
	} else {
		tmp = y * (y3 * ((c * y4) - (a * y5)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = (t * y5) - (x * y1)
	t_2 = y * (x * ((a * b) - (c * i)))
	tmp = 0
	if y3 <= -1.05e+184:
		tmp = j * (y1 * (y4 * -y3))
	elif y3 <= -1.45e+49:
		tmp = j * (y0 * ((y3 * y5) - (x * b)))
	elif y3 <= -3.4e-67:
		tmp = a * (y2 * t_1)
	elif y3 <= -3.7e-216:
		tmp = k * (i * ((y * y5) - (z * y1)))
	elif y3 <= 2.75e-260:
		tmp = y2 * (a * t_1)
	elif y3 <= 1.8e-94:
		tmp = j * (t * ((b * y4) - (i * y5)))
	elif y3 <= 1.15e-58:
		tmp = t_2
	elif y3 <= 2.9e+61:
		tmp = j * (b * ((t * y4) - (x * y0)))
	elif y3 <= 5.3e+190:
		tmp = t_2
	else:
		tmp = y * (y3 * ((c * y4) - (a * y5)))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(Float64(t * y5) - Float64(x * y1))
	t_2 = Float64(y * Float64(x * Float64(Float64(a * b) - Float64(c * i))))
	tmp = 0.0
	if (y3 <= -1.05e+184)
		tmp = Float64(j * Float64(y1 * Float64(y4 * Float64(-y3))));
	elseif (y3 <= -1.45e+49)
		tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b))));
	elseif (y3 <= -3.4e-67)
		tmp = Float64(a * Float64(y2 * t_1));
	elseif (y3 <= -3.7e-216)
		tmp = Float64(k * Float64(i * Float64(Float64(y * y5) - Float64(z * y1))));
	elseif (y3 <= 2.75e-260)
		tmp = Float64(y2 * Float64(a * t_1));
	elseif (y3 <= 1.8e-94)
		tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5))));
	elseif (y3 <= 1.15e-58)
		tmp = t_2;
	elseif (y3 <= 2.9e+61)
		tmp = Float64(j * Float64(b * Float64(Float64(t * y4) - Float64(x * y0))));
	elseif (y3 <= 5.3e+190)
		tmp = t_2;
	else
		tmp = Float64(y * Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = (t * y5) - (x * y1);
	t_2 = y * (x * ((a * b) - (c * i)));
	tmp = 0.0;
	if (y3 <= -1.05e+184)
		tmp = j * (y1 * (y4 * -y3));
	elseif (y3 <= -1.45e+49)
		tmp = j * (y0 * ((y3 * y5) - (x * b)));
	elseif (y3 <= -3.4e-67)
		tmp = a * (y2 * t_1);
	elseif (y3 <= -3.7e-216)
		tmp = k * (i * ((y * y5) - (z * y1)));
	elseif (y3 <= 2.75e-260)
		tmp = y2 * (a * t_1);
	elseif (y3 <= 1.8e-94)
		tmp = j * (t * ((b * y4) - (i * y5)));
	elseif (y3 <= 1.15e-58)
		tmp = t_2;
	elseif (y3 <= 2.9e+61)
		tmp = j * (b * ((t * y4) - (x * y0)));
	elseif (y3 <= 5.3e+190)
		tmp = t_2;
	else
		tmp = y * (y3 * ((c * y4) - (a * y5)));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(t * y5), $MachinePrecision] - N[(x * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y * N[(x * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -1.05e+184], N[(j * N[(y1 * N[(y4 * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -1.45e+49], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -3.4e-67], N[(a * N[(y2 * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -3.7e-216], N[(k * N[(i * N[(N[(y * y5), $MachinePrecision] - N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 2.75e-260], N[(y2 * N[(a * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1.8e-94], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1.15e-58], t$95$2, If[LessEqual[y3, 2.9e+61], N[(j * N[(b * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 5.3e+190], t$95$2, N[(y * N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := t \cdot y5 - x \cdot y1\\
t_2 := y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\mathbf{if}\;y3 \leq -1.05 \cdot 10^{+184}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(y4 \cdot \left(-y3\right)\right)\right)\\

\mathbf{elif}\;y3 \leq -1.45 \cdot 10^{+49}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\

\mathbf{elif}\;y3 \leq -3.4 \cdot 10^{-67}:\\
\;\;\;\;a \cdot \left(y2 \cdot t\_1\right)\\

\mathbf{elif}\;y3 \leq -3.7 \cdot 10^{-216}:\\
\;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\

\mathbf{elif}\;y3 \leq 2.75 \cdot 10^{-260}:\\
\;\;\;\;y2 \cdot \left(a \cdot t\_1\right)\\

\mathbf{elif}\;y3 \leq 1.8 \cdot 10^{-94}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\

\mathbf{elif}\;y3 \leq 1.15 \cdot 10^{-58}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;y3 \leq 2.9 \cdot 10^{+61}:\\
\;\;\;\;j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\

\mathbf{elif}\;y3 \leq 5.3 \cdot 10^{+190}:\\
\;\;\;\;t\_2\\

\mathbf{else}:\\
\;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 9 regimes
  2. if y3 < -1.05e184

    1. Initial program 8.7%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 21.7%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in y3 around -inf 65.4%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    5. Taylor expanded in y1 around inf 61.1%

      \[\leadsto -1 \cdot \color{blue}{\left(j \cdot \left(y1 \cdot \left(y3 \cdot y4\right)\right)\right)} \]
    6. Step-by-step derivation
      1. *-commutative61.1%

        \[\leadsto -1 \cdot \left(j \cdot \color{blue}{\left(\left(y3 \cdot y4\right) \cdot y1\right)}\right) \]
      2. *-commutative61.1%

        \[\leadsto -1 \cdot \left(j \cdot \left(\color{blue}{\left(y4 \cdot y3\right)} \cdot y1\right)\right) \]
    7. Simplified61.1%

      \[\leadsto -1 \cdot \color{blue}{\left(j \cdot \left(\left(y4 \cdot y3\right) \cdot y1\right)\right)} \]

    if -1.05e184 < y3 < -1.45e49

    1. Initial program 27.7%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 39.1%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in y0 around inf 48.2%

      \[\leadsto j \cdot \color{blue}{\left(y0 \cdot \left(y3 \cdot y5 - b \cdot x\right)\right)} \]

    if -1.45e49 < y3 < -3.4000000000000001e-67

    1. Initial program 16.7%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y2 around inf 34.4%

      \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in a around -inf 47.4%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot \left(x \cdot y1 - t \cdot y5\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg47.4%

        \[\leadsto \color{blue}{-a \cdot \left(y2 \cdot \left(x \cdot y1 - t \cdot y5\right)\right)} \]
    6. Simplified47.4%

      \[\leadsto \color{blue}{-a \cdot \left(y2 \cdot \left(x \cdot y1 - t \cdot y5\right)\right)} \]

    if -3.4000000000000001e-67 < y3 < -3.69999999999999996e-216

    1. Initial program 37.4%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in k around inf 45.5%

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Taylor expanded in i around inf 45.9%

      \[\leadsto k \cdot \color{blue}{\left(i \cdot \left(y \cdot y5 - y1 \cdot z\right)\right)} \]

    if -3.69999999999999996e-216 < y3 < 2.75000000000000012e-260

    1. Initial program 37.5%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y2 around inf 55.1%

      \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in a around -inf 51.4%

      \[\leadsto y2 \cdot \color{blue}{\left(-1 \cdot \left(a \cdot \left(x \cdot y1 - t \cdot y5\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg51.4%

        \[\leadsto y2 \cdot \color{blue}{\left(-a \cdot \left(x \cdot y1 - t \cdot y5\right)\right)} \]
    6. Simplified51.4%

      \[\leadsto y2 \cdot \color{blue}{\left(-a \cdot \left(x \cdot y1 - t \cdot y5\right)\right)} \]

    if 2.75000000000000012e-260 < y3 < 1.8e-94

    1. Initial program 22.2%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 50.5%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in t around inf 52.7%

      \[\leadsto j \cdot \color{blue}{\left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)} \]

    if 1.8e-94 < y3 < 1.1499999999999999e-58 or 2.9000000000000001e61 < y3 < 5.30000000000000015e190

    1. Initial program 12.7%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y around inf 52.3%

      \[\leadsto \color{blue}{y \cdot \left(\left(-1 \cdot \left(k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    4. Taylor expanded in x around inf 69.0%

      \[\leadsto y \cdot \color{blue}{\left(x \cdot \left(a \cdot b - c \cdot i\right)\right)} \]
    5. Step-by-step derivation
      1. *-commutative69.0%

        \[\leadsto y \cdot \left(x \cdot \left(a \cdot b - \color{blue}{i \cdot c}\right)\right) \]
      2. *-commutative69.0%

        \[\leadsto y \cdot \left(x \cdot \left(\color{blue}{b \cdot a} - i \cdot c\right)\right) \]
    6. Simplified69.0%

      \[\leadsto y \cdot \color{blue}{\left(x \cdot \left(b \cdot a - i \cdot c\right)\right)} \]

    if 1.1499999999999999e-58 < y3 < 2.9000000000000001e61

    1. Initial program 40.6%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 52.2%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in b around inf 56.4%

      \[\leadsto j \cdot \color{blue}{\left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)} \]

    if 5.30000000000000015e190 < y3

    1. Initial program 12.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y around inf 44.5%

      \[\leadsto \color{blue}{y \cdot \left(\left(-1 \cdot \left(k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    4. Taylor expanded in y3 around inf 72.2%

      \[\leadsto \color{blue}{y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
  3. Recombined 9 regimes into one program.
  4. Final simplification55.0%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y3 \leq -1.05 \cdot 10^{+184}:\\ \;\;\;\;j \cdot \left(y1 \cdot \left(y4 \cdot \left(-y3\right)\right)\right)\\ \mathbf{elif}\;y3 \leq -1.45 \cdot 10^{+49}:\\ \;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\ \mathbf{elif}\;y3 \leq -3.4 \cdot 10^{-67}:\\ \;\;\;\;a \cdot \left(y2 \cdot \left(t \cdot y5 - x \cdot y1\right)\right)\\ \mathbf{elif}\;y3 \leq -3.7 \cdot 10^{-216}:\\ \;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\ \mathbf{elif}\;y3 \leq 2.75 \cdot 10^{-260}:\\ \;\;\;\;y2 \cdot \left(a \cdot \left(t \cdot y5 - x \cdot y1\right)\right)\\ \mathbf{elif}\;y3 \leq 1.8 \cdot 10^{-94}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \mathbf{elif}\;y3 \leq 1.15 \cdot 10^{-58}:\\ \;\;\;\;y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right)\\ \mathbf{elif}\;y3 \leq 2.9 \cdot 10^{+61}:\\ \;\;\;\;j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\ \mathbf{elif}\;y3 \leq 5.3 \cdot 10^{+190}:\\ \;\;\;\;y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 15: 31.4% accurate, 1.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ t_2 := c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{if}\;t \leq -2.4 \cdot 10^{+184}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;t \leq -3.1 \cdot 10^{+124}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq -7 \cdot 10^{-236}:\\ \;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\ \mathbf{elif}\;t \leq 2.5 \cdot 10^{-264}:\\ \;\;\;\;i \cdot \left(k \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\ \mathbf{elif}\;t \leq 2.2 \cdot 10^{-87}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{elif}\;t \leq 2.6 \cdot 10^{-19}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;t \leq 1.12 \cdot 10^{+52}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;t \leq 4.2 \cdot 10^{+146}:\\ \;\;\;\;a \cdot \left(y2 \cdot \left(t \cdot y5\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* j (* t (- (* b y4) (* i y5)))))
        (t_2 (* c (* t (- (* z i) (* y2 y4))))))
   (if (<= t -2.4e+184)
     t_2
     (if (<= t -3.1e+124)
       t_1
       (if (<= t -7e-236)
         (* j (* x (- (* i y1) (* b y0))))
         (if (<= t 2.5e-264)
           (* i (* k (- (* y y5) (* z y1))))
           (if (<= t 2.2e-87)
             (* b (* x (- (* y a) (* j y0))))
             (if (<= t 2.6e-19)
               (* c (* y0 (- (* x y2) (* z y3))))
               (if (<= t 1.12e+52)
                 t_2
                 (if (<= t 4.2e+146) (* a (* y2 (* t y5))) t_1))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = j * (t * ((b * y4) - (i * y5)));
	double t_2 = c * (t * ((z * i) - (y2 * y4)));
	double tmp;
	if (t <= -2.4e+184) {
		tmp = t_2;
	} else if (t <= -3.1e+124) {
		tmp = t_1;
	} else if (t <= -7e-236) {
		tmp = j * (x * ((i * y1) - (b * y0)));
	} else if (t <= 2.5e-264) {
		tmp = i * (k * ((y * y5) - (z * y1)));
	} else if (t <= 2.2e-87) {
		tmp = b * (x * ((y * a) - (j * y0)));
	} else if (t <= 2.6e-19) {
		tmp = c * (y0 * ((x * y2) - (z * y3)));
	} else if (t <= 1.12e+52) {
		tmp = t_2;
	} else if (t <= 4.2e+146) {
		tmp = a * (y2 * (t * y5));
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = j * (t * ((b * y4) - (i * y5)))
    t_2 = c * (t * ((z * i) - (y2 * y4)))
    if (t <= (-2.4d+184)) then
        tmp = t_2
    else if (t <= (-3.1d+124)) then
        tmp = t_1
    else if (t <= (-7d-236)) then
        tmp = j * (x * ((i * y1) - (b * y0)))
    else if (t <= 2.5d-264) then
        tmp = i * (k * ((y * y5) - (z * y1)))
    else if (t <= 2.2d-87) then
        tmp = b * (x * ((y * a) - (j * y0)))
    else if (t <= 2.6d-19) then
        tmp = c * (y0 * ((x * y2) - (z * y3)))
    else if (t <= 1.12d+52) then
        tmp = t_2
    else if (t <= 4.2d+146) then
        tmp = a * (y2 * (t * y5))
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = j * (t * ((b * y4) - (i * y5)));
	double t_2 = c * (t * ((z * i) - (y2 * y4)));
	double tmp;
	if (t <= -2.4e+184) {
		tmp = t_2;
	} else if (t <= -3.1e+124) {
		tmp = t_1;
	} else if (t <= -7e-236) {
		tmp = j * (x * ((i * y1) - (b * y0)));
	} else if (t <= 2.5e-264) {
		tmp = i * (k * ((y * y5) - (z * y1)));
	} else if (t <= 2.2e-87) {
		tmp = b * (x * ((y * a) - (j * y0)));
	} else if (t <= 2.6e-19) {
		tmp = c * (y0 * ((x * y2) - (z * y3)));
	} else if (t <= 1.12e+52) {
		tmp = t_2;
	} else if (t <= 4.2e+146) {
		tmp = a * (y2 * (t * y5));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = j * (t * ((b * y4) - (i * y5)))
	t_2 = c * (t * ((z * i) - (y2 * y4)))
	tmp = 0
	if t <= -2.4e+184:
		tmp = t_2
	elif t <= -3.1e+124:
		tmp = t_1
	elif t <= -7e-236:
		tmp = j * (x * ((i * y1) - (b * y0)))
	elif t <= 2.5e-264:
		tmp = i * (k * ((y * y5) - (z * y1)))
	elif t <= 2.2e-87:
		tmp = b * (x * ((y * a) - (j * y0)))
	elif t <= 2.6e-19:
		tmp = c * (y0 * ((x * y2) - (z * y3)))
	elif t <= 1.12e+52:
		tmp = t_2
	elif t <= 4.2e+146:
		tmp = a * (y2 * (t * y5))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5))))
	t_2 = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4))))
	tmp = 0.0
	if (t <= -2.4e+184)
		tmp = t_2;
	elseif (t <= -3.1e+124)
		tmp = t_1;
	elseif (t <= -7e-236)
		tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0))));
	elseif (t <= 2.5e-264)
		tmp = Float64(i * Float64(k * Float64(Float64(y * y5) - Float64(z * y1))));
	elseif (t <= 2.2e-87)
		tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0))));
	elseif (t <= 2.6e-19)
		tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))));
	elseif (t <= 1.12e+52)
		tmp = t_2;
	elseif (t <= 4.2e+146)
		tmp = Float64(a * Float64(y2 * Float64(t * y5)));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = j * (t * ((b * y4) - (i * y5)));
	t_2 = c * (t * ((z * i) - (y2 * y4)));
	tmp = 0.0;
	if (t <= -2.4e+184)
		tmp = t_2;
	elseif (t <= -3.1e+124)
		tmp = t_1;
	elseif (t <= -7e-236)
		tmp = j * (x * ((i * y1) - (b * y0)));
	elseif (t <= 2.5e-264)
		tmp = i * (k * ((y * y5) - (z * y1)));
	elseif (t <= 2.2e-87)
		tmp = b * (x * ((y * a) - (j * y0)));
	elseif (t <= 2.6e-19)
		tmp = c * (y0 * ((x * y2) - (z * y3)));
	elseif (t <= 1.12e+52)
		tmp = t_2;
	elseif (t <= 4.2e+146)
		tmp = a * (y2 * (t * y5));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -2.4e+184], t$95$2, If[LessEqual[t, -3.1e+124], t$95$1, If[LessEqual[t, -7e-236], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.5e-264], N[(i * N[(k * N[(N[(y * y5), $MachinePrecision] - N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.2e-87], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.6e-19], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.12e+52], t$95$2, If[LessEqual[t, 4.2e+146], N[(a * N[(y2 * N[(t * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
t_2 := c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\mathbf{if}\;t \leq -2.4 \cdot 10^{+184}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;t \leq -3.1 \cdot 10^{+124}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;t \leq -7 \cdot 10^{-236}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\

\mathbf{elif}\;t \leq 2.5 \cdot 10^{-264}:\\
\;\;\;\;i \cdot \left(k \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\

\mathbf{elif}\;t \leq 2.2 \cdot 10^{-87}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\

\mathbf{elif}\;t \leq 2.6 \cdot 10^{-19}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\

\mathbf{elif}\;t \leq 1.12 \cdot 10^{+52}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;t \leq 4.2 \cdot 10^{+146}:\\
\;\;\;\;a \cdot \left(y2 \cdot \left(t \cdot y5\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t\_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if t < -2.39999999999999997e184 or 2.60000000000000013e-19 < t < 1.12000000000000002e52

    1. Initial program 23.4%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 41.5%

      \[\leadsto \color{blue}{c \cdot \left(\left(-1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right) + y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
    4. Taylor expanded in t around inf 52.4%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot \left(i \cdot z - y2 \cdot y4\right)\right)} \]

    if -2.39999999999999997e184 < t < -3.1000000000000002e124 or 4.2000000000000001e146 < t

    1. Initial program 23.8%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 62.3%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in t around inf 65.2%

      \[\leadsto j \cdot \color{blue}{\left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)} \]

    if -3.1000000000000002e124 < t < -6.99999999999999988e-236

    1. Initial program 33.8%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 46.4%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in x around inf 38.1%

      \[\leadsto j \cdot \color{blue}{\left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)} \]

    if -6.99999999999999988e-236 < t < 2.5e-264

    1. Initial program 23.1%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in k around inf 42.7%

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Taylor expanded in i around inf 47.4%

      \[\leadsto \color{blue}{i \cdot \left(k \cdot \left(y \cdot y5 - y1 \cdot z\right)\right)} \]

    if 2.5e-264 < t < 2.19999999999999988e-87

    1. Initial program 22.6%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 42.9%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in x around inf 46.4%

      \[\leadsto \color{blue}{b \cdot \left(x \cdot \left(a \cdot y - j \cdot y0\right)\right)} \]

    if 2.19999999999999988e-87 < t < 2.60000000000000013e-19

    1. Initial program 14.3%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 64.4%

      \[\leadsto \color{blue}{c \cdot \left(\left(-1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right) + y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
    4. Taylor expanded in y0 around inf 51.8%

      \[\leadsto \color{blue}{c \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)} \]

    if 1.12000000000000002e52 < t < 4.2000000000000001e146

    1. Initial program 20.2%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y2 around inf 43.7%

      \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in a around -inf 44.1%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot \left(x \cdot y1 - t \cdot y5\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg44.1%

        \[\leadsto \color{blue}{-a \cdot \left(y2 \cdot \left(x \cdot y1 - t \cdot y5\right)\right)} \]
    6. Simplified44.1%

      \[\leadsto \color{blue}{-a \cdot \left(y2 \cdot \left(x \cdot y1 - t \cdot y5\right)\right)} \]
    7. Taylor expanded in x around 0 45.0%

      \[\leadsto -a \cdot \left(y2 \cdot \color{blue}{\left(-1 \cdot \left(t \cdot y5\right)\right)}\right) \]
    8. Step-by-step derivation
      1. mul-1-neg45.0%

        \[\leadsto -a \cdot \left(y2 \cdot \color{blue}{\left(-t \cdot y5\right)}\right) \]
      2. distribute-lft-neg-out45.0%

        \[\leadsto -a \cdot \left(y2 \cdot \color{blue}{\left(\left(-t\right) \cdot y5\right)}\right) \]
      3. *-commutative45.0%

        \[\leadsto -a \cdot \left(y2 \cdot \color{blue}{\left(y5 \cdot \left(-t\right)\right)}\right) \]
    9. Simplified45.0%

      \[\leadsto -a \cdot \left(y2 \cdot \color{blue}{\left(y5 \cdot \left(-t\right)\right)}\right) \]
  3. Recombined 7 regimes into one program.
  4. Final simplification48.5%

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -2.4 \cdot 10^{+184}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;t \leq -3.1 \cdot 10^{+124}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \mathbf{elif}\;t \leq -7 \cdot 10^{-236}:\\ \;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\ \mathbf{elif}\;t \leq 2.5 \cdot 10^{-264}:\\ \;\;\;\;i \cdot \left(k \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\ \mathbf{elif}\;t \leq 2.2 \cdot 10^{-87}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{elif}\;t \leq 2.6 \cdot 10^{-19}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;t \leq 1.12 \cdot 10^{+52}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;t \leq 4.2 \cdot 10^{+146}:\\ \;\;\;\;a \cdot \left(y2 \cdot \left(t \cdot y5\right)\right)\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 16: 29.1% accurate, 1.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right)\\ \mathbf{if}\;y3 \leq -5.1 \cdot 10^{+188}:\\ \;\;\;\;j \cdot \left(y1 \cdot \left(y4 \cdot \left(-y3\right)\right)\right)\\ \mathbf{elif}\;y3 \leq -2.25 \cdot 10^{+49}:\\ \;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\ \mathbf{elif}\;y3 \leq -2.35 \cdot 10^{-217}:\\ \;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\ \mathbf{elif}\;y3 \leq -1.05 \cdot 10^{-272}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq 8.8 \cdot 10^{-96}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \mathbf{elif}\;y3 \leq 1.25 \cdot 10^{-60}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq 1.9 \cdot 10^{+61}:\\ \;\;\;\;j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\ \mathbf{elif}\;y3 \leq 2.4 \cdot 10^{+194}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(y5 \cdot \left(y \cdot \left(-y3\right)\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* y (* x (- (* a b) (* c i))))))
   (if (<= y3 -5.1e+188)
     (* j (* y1 (* y4 (- y3))))
     (if (<= y3 -2.25e+49)
       (* j (* y0 (- (* y3 y5) (* x b))))
       (if (<= y3 -2.35e-217)
         (* k (* i (- (* y y5) (* z y1))))
         (if (<= y3 -1.05e-272)
           t_1
           (if (<= y3 8.8e-96)
             (* j (* t (- (* b y4) (* i y5))))
             (if (<= y3 1.25e-60)
               t_1
               (if (<= y3 1.9e+61)
                 (* j (* b (- (* t y4) (* x y0))))
                 (if (<= y3 2.4e+194) t_1 (* a (* y5 (* y (- y3))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = y * (x * ((a * b) - (c * i)));
	double tmp;
	if (y3 <= -5.1e+188) {
		tmp = j * (y1 * (y4 * -y3));
	} else if (y3 <= -2.25e+49) {
		tmp = j * (y0 * ((y3 * y5) - (x * b)));
	} else if (y3 <= -2.35e-217) {
		tmp = k * (i * ((y * y5) - (z * y1)));
	} else if (y3 <= -1.05e-272) {
		tmp = t_1;
	} else if (y3 <= 8.8e-96) {
		tmp = j * (t * ((b * y4) - (i * y5)));
	} else if (y3 <= 1.25e-60) {
		tmp = t_1;
	} else if (y3 <= 1.9e+61) {
		tmp = j * (b * ((t * y4) - (x * y0)));
	} else if (y3 <= 2.4e+194) {
		tmp = t_1;
	} else {
		tmp = a * (y5 * (y * -y3));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = y * (x * ((a * b) - (c * i)))
    if (y3 <= (-5.1d+188)) then
        tmp = j * (y1 * (y4 * -y3))
    else if (y3 <= (-2.25d+49)) then
        tmp = j * (y0 * ((y3 * y5) - (x * b)))
    else if (y3 <= (-2.35d-217)) then
        tmp = k * (i * ((y * y5) - (z * y1)))
    else if (y3 <= (-1.05d-272)) then
        tmp = t_1
    else if (y3 <= 8.8d-96) then
        tmp = j * (t * ((b * y4) - (i * y5)))
    else if (y3 <= 1.25d-60) then
        tmp = t_1
    else if (y3 <= 1.9d+61) then
        tmp = j * (b * ((t * y4) - (x * y0)))
    else if (y3 <= 2.4d+194) then
        tmp = t_1
    else
        tmp = a * (y5 * (y * -y3))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = y * (x * ((a * b) - (c * i)));
	double tmp;
	if (y3 <= -5.1e+188) {
		tmp = j * (y1 * (y4 * -y3));
	} else if (y3 <= -2.25e+49) {
		tmp = j * (y0 * ((y3 * y5) - (x * b)));
	} else if (y3 <= -2.35e-217) {
		tmp = k * (i * ((y * y5) - (z * y1)));
	} else if (y3 <= -1.05e-272) {
		tmp = t_1;
	} else if (y3 <= 8.8e-96) {
		tmp = j * (t * ((b * y4) - (i * y5)));
	} else if (y3 <= 1.25e-60) {
		tmp = t_1;
	} else if (y3 <= 1.9e+61) {
		tmp = j * (b * ((t * y4) - (x * y0)));
	} else if (y3 <= 2.4e+194) {
		tmp = t_1;
	} else {
		tmp = a * (y5 * (y * -y3));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = y * (x * ((a * b) - (c * i)))
	tmp = 0
	if y3 <= -5.1e+188:
		tmp = j * (y1 * (y4 * -y3))
	elif y3 <= -2.25e+49:
		tmp = j * (y0 * ((y3 * y5) - (x * b)))
	elif y3 <= -2.35e-217:
		tmp = k * (i * ((y * y5) - (z * y1)))
	elif y3 <= -1.05e-272:
		tmp = t_1
	elif y3 <= 8.8e-96:
		tmp = j * (t * ((b * y4) - (i * y5)))
	elif y3 <= 1.25e-60:
		tmp = t_1
	elif y3 <= 1.9e+61:
		tmp = j * (b * ((t * y4) - (x * y0)))
	elif y3 <= 2.4e+194:
		tmp = t_1
	else:
		tmp = a * (y5 * (y * -y3))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(y * Float64(x * Float64(Float64(a * b) - Float64(c * i))))
	tmp = 0.0
	if (y3 <= -5.1e+188)
		tmp = Float64(j * Float64(y1 * Float64(y4 * Float64(-y3))));
	elseif (y3 <= -2.25e+49)
		tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b))));
	elseif (y3 <= -2.35e-217)
		tmp = Float64(k * Float64(i * Float64(Float64(y * y5) - Float64(z * y1))));
	elseif (y3 <= -1.05e-272)
		tmp = t_1;
	elseif (y3 <= 8.8e-96)
		tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5))));
	elseif (y3 <= 1.25e-60)
		tmp = t_1;
	elseif (y3 <= 1.9e+61)
		tmp = Float64(j * Float64(b * Float64(Float64(t * y4) - Float64(x * y0))));
	elseif (y3 <= 2.4e+194)
		tmp = t_1;
	else
		tmp = Float64(a * Float64(y5 * Float64(y * 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)
	t_1 = y * (x * ((a * b) - (c * i)));
	tmp = 0.0;
	if (y3 <= -5.1e+188)
		tmp = j * (y1 * (y4 * -y3));
	elseif (y3 <= -2.25e+49)
		tmp = j * (y0 * ((y3 * y5) - (x * b)));
	elseif (y3 <= -2.35e-217)
		tmp = k * (i * ((y * y5) - (z * y1)));
	elseif (y3 <= -1.05e-272)
		tmp = t_1;
	elseif (y3 <= 8.8e-96)
		tmp = j * (t * ((b * y4) - (i * y5)));
	elseif (y3 <= 1.25e-60)
		tmp = t_1;
	elseif (y3 <= 1.9e+61)
		tmp = j * (b * ((t * y4) - (x * y0)));
	elseif (y3 <= 2.4e+194)
		tmp = t_1;
	else
		tmp = a * (y5 * (y * -y3));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y * N[(x * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -5.1e+188], N[(j * N[(y1 * N[(y4 * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -2.25e+49], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -2.35e-217], N[(k * N[(i * N[(N[(y * y5), $MachinePrecision] - N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -1.05e-272], t$95$1, If[LessEqual[y3, 8.8e-96], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1.25e-60], t$95$1, If[LessEqual[y3, 1.9e+61], N[(j * N[(b * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 2.4e+194], t$95$1, N[(a * N[(y5 * N[(y * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\mathbf{if}\;y3 \leq -5.1 \cdot 10^{+188}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(y4 \cdot \left(-y3\right)\right)\right)\\

\mathbf{elif}\;y3 \leq -2.25 \cdot 10^{+49}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\

\mathbf{elif}\;y3 \leq -2.35 \cdot 10^{-217}:\\
\;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\

\mathbf{elif}\;y3 \leq -1.05 \cdot 10^{-272}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y3 \leq 8.8 \cdot 10^{-96}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\

\mathbf{elif}\;y3 \leq 1.25 \cdot 10^{-60}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y3 \leq 1.9 \cdot 10^{+61}:\\
\;\;\;\;j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\

\mathbf{elif}\;y3 \leq 2.4 \cdot 10^{+194}:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(y \cdot \left(-y3\right)\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if y3 < -5.1000000000000002e188

    1. Initial program 8.7%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 21.7%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in y3 around -inf 65.4%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    5. Taylor expanded in y1 around inf 61.1%

      \[\leadsto -1 \cdot \color{blue}{\left(j \cdot \left(y1 \cdot \left(y3 \cdot y4\right)\right)\right)} \]
    6. Step-by-step derivation
      1. *-commutative61.1%

        \[\leadsto -1 \cdot \left(j \cdot \color{blue}{\left(\left(y3 \cdot y4\right) \cdot y1\right)}\right) \]
      2. *-commutative61.1%

        \[\leadsto -1 \cdot \left(j \cdot \left(\color{blue}{\left(y4 \cdot y3\right)} \cdot y1\right)\right) \]
    7. Simplified61.1%

      \[\leadsto -1 \cdot \color{blue}{\left(j \cdot \left(\left(y4 \cdot y3\right) \cdot y1\right)\right)} \]

    if -5.1000000000000002e188 < y3 < -2.24999999999999991e49

    1. Initial program 27.7%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 39.1%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in y0 around inf 48.2%

      \[\leadsto j \cdot \color{blue}{\left(y0 \cdot \left(y3 \cdot y5 - b \cdot x\right)\right)} \]

    if -2.24999999999999991e49 < y3 < -2.3500000000000002e-217

    1. Initial program 29.2%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in k around inf 42.1%

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Taylor expanded in i around inf 39.3%

      \[\leadsto k \cdot \color{blue}{\left(i \cdot \left(y \cdot y5 - y1 \cdot z\right)\right)} \]

    if -2.3500000000000002e-217 < y3 < -1.04999999999999993e-272 or 8.79999999999999918e-96 < y3 < 1.25e-60 or 1.89999999999999998e61 < y3 < 2.4e194

    1. Initial program 21.1%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in y around inf 59.2%

      \[\leadsto \color{blue}{y \cdot \left(\left(-1 \cdot \left(k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    4. Taylor expanded in x around inf 68.7%

      \[\leadsto y \cdot \color{blue}{\left(x \cdot \left(a \cdot b - c \cdot i\right)\right)} \]
    5. Step-by-step derivation
      1. *-commutative68.7%

        \[\leadsto y \cdot \left(x \cdot \left(a \cdot b - \color{blue}{i \cdot c}\right)\right) \]
      2. *-commutative68.7%

        \[\leadsto y \cdot \left(x \cdot \left(\color{blue}{b \cdot a} - i \cdot c\right)\right) \]
    6. Simplified68.7%

      \[\leadsto y \cdot \color{blue}{\left(x \cdot \left(b \cdot a - i \cdot c\right)\right)} \]

    if -1.04999999999999993e-272 < y3 < 8.79999999999999918e-96

    1. Initial program 26.3%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 46.2%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in t around inf 45.6%

      \[\leadsto j \cdot \color{blue}{\left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)} \]

    if 1.25e-60 < y3 < 1.89999999999999998e61

    1. Initial program 40.6%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 52.2%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in b around inf 56.4%

      \[\leadsto j \cdot \color{blue}{\left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)} \]

    if 2.4e194 < y3

    1. Initial program 12.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 36.0%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in y3 around -inf 72.0%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    5. Taylor expanded in a around inf 51.9%

      \[\leadsto -1 \cdot \color{blue}{\left(a \cdot \left(y \cdot \left(y3 \cdot y5\right)\right)\right)} \]
    6. Step-by-step derivation
      1. associate-*r*59.3%

        \[\leadsto -1 \cdot \left(a \cdot \color{blue}{\left(\left(y \cdot y3\right) \cdot y5\right)}\right) \]
    7. Simplified59.3%

      \[\leadsto -1 \cdot \color{blue}{\left(a \cdot \left(\left(y \cdot y3\right) \cdot y5\right)\right)} \]
  3. Recombined 7 regimes into one program.
  4. Final simplification51.3%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y3 \leq -5.1 \cdot 10^{+188}:\\ \;\;\;\;j \cdot \left(y1 \cdot \left(y4 \cdot \left(-y3\right)\right)\right)\\ \mathbf{elif}\;y3 \leq -2.25 \cdot 10^{+49}:\\ \;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\ \mathbf{elif}\;y3 \leq -2.35 \cdot 10^{-217}:\\ \;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\ \mathbf{elif}\;y3 \leq -1.05 \cdot 10^{-272}:\\ \;\;\;\;y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right)\\ \mathbf{elif}\;y3 \leq 8.8 \cdot 10^{-96}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \mathbf{elif}\;y3 \leq 1.25 \cdot 10^{-60}:\\ \;\;\;\;y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right)\\ \mathbf{elif}\;y3 \leq 1.9 \cdot 10^{+61}:\\ \;\;\;\;j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\ \mathbf{elif}\;y3 \leq 2.4 \cdot 10^{+194}:\\ \;\;\;\;y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(y5 \cdot \left(y \cdot \left(-y3\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 17: 30.2% accurate, 1.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right)\\ \mathbf{if}\;y3 \leq -4.3 \cdot 10^{+187}:\\ \;\;\;\;j \cdot \left(y1 \cdot \left(y4 \cdot \left(-y3\right)\right)\right)\\ \mathbf{elif}\;y3 \leq -1.15 \cdot 10^{+49}:\\ \;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\ \mathbf{elif}\;y3 \leq -2.4 \cdot 10^{-217}:\\ \;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\ \mathbf{elif}\;y3 \leq -1.5 \cdot 10^{-272}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq 4.4 \cdot 10^{-97}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \mathbf{elif}\;y3 \leq 9 \cdot 10^{-61}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq 2.25 \cdot 10^{+61}:\\ \;\;\;\;j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\ \mathbf{elif}\;y3 \leq 1.7 \cdot 10^{+192}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* y (* x (- (* a b) (* c i))))))
   (if (<= y3 -4.3e+187)
     (* j (* y1 (* y4 (- y3))))
     (if (<= y3 -1.15e+49)
       (* j (* y0 (- (* y3 y5) (* x b))))
       (if (<= y3 -2.4e-217)
         (* k (* i (- (* y y5) (* z y1))))
         (if (<= y3 -1.5e-272)
           t_1
           (if (<= y3 4.4e-97)
             (* j (* t (- (* b y4) (* i y5))))
             (if (<= y3 9e-61)
               t_1
               (if (<= y3 2.25e+61)
                 (* j (* b (- (* t y4) (* x y0))))
                 (if (<= y3 1.7e+192)
                   t_1
                   (* y (* y3 (- (* c y4) (* a y5))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = y * (x * ((a * b) - (c * i)));
	double tmp;
	if (y3 <= -4.3e+187) {
		tmp = j * (y1 * (y4 * -y3));
	} else if (y3 <= -1.15e+49) {
		tmp = j * (y0 * ((y3 * y5) - (x * b)));
	} else if (y3 <= -2.4e-217) {
		tmp = k * (i * ((y * y5) - (z * y1)));
	} else if (y3 <= -1.5e-272) {
		tmp = t_1;
	} else if (y3 <= 4.4e-97) {
		tmp = j * (t * ((b * y4) - (i * y5)));
	} else if (y3 <= 9e-61) {
		tmp = t_1;
	} else if (y3 <= 2.25e+61) {
		tmp = j * (b * ((t * y4) - (x * y0)));
	} else if (y3 <= 1.7e+192) {
		tmp = t_1;
	} else {
		tmp = y * (y3 * ((c * y4) - (a * y5)));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = y * (x * ((a * b) - (c * i)))
    if (y3 <= (-4.3d+187)) then
        tmp = j * (y1 * (y4 * -y3))
    else if (y3 <= (-1.15d+49)) then
        tmp = j * (y0 * ((y3 * y5) - (x * b)))
    else if (y3 <= (-2.4d-217)) then
        tmp = k * (i * ((y * y5) - (z * y1)))
    else if (y3 <= (-1.5d-272)) then
        tmp = t_1
    else if (y3 <= 4.4d-97) then
        tmp = j * (t * ((b * y4) - (i * y5)))
    else if (y3 <= 9d-61) then
        tmp = t_1
    else if (y3 <= 2.25d+61) then
        tmp = j * (b * ((t * y4) - (x * y0)))
    else if (y3 <= 1.7d+192) then
        tmp = t_1
    else
        tmp = y * (y3 * ((c * y4) - (a * y5)))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = y * (x * ((a * b) - (c * i)));
	double tmp;
	if (y3 <= -4.3e+187) {
		tmp = j * (y1 * (y4 * -y3));
	} else if (y3 <= -1.15e+49) {
		tmp = j * (y0 * ((y3 * y5) - (x * b)));
	} else if (y3 <= -2.4e-217) {
		tmp = k * (i * ((y * y5) - (z * y1)));
	} else if (y3 <= -1.5e-272) {
		tmp = t_1;
	} else if (y3 <= 4.4e-97) {
		tmp = j * (t * ((b * y4) - (i * y5)));
	} else if (y3 <= 9e-61) {
		tmp = t_1;
	} else if (y3 <= 2.25e+61) {
		tmp = j * (b * ((t * y4) - (x * y0)));
	} else if (y3 <= 1.7e+192) {
		tmp = t_1;
	} else {
		tmp = y * (y3 * ((c * y4) - (a * y5)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = y * (x * ((a * b) - (c * i)))
	tmp = 0
	if y3 <= -4.3e+187:
		tmp = j * (y1 * (y4 * -y3))
	elif y3 <= -1.15e+49:
		tmp = j * (y0 * ((y3 * y5) - (x * b)))
	elif y3 <= -2.4e-217:
		tmp = k * (i * ((y * y5) - (z * y1)))
	elif y3 <= -1.5e-272:
		tmp = t_1
	elif y3 <= 4.4e-97:
		tmp = j * (t * ((b * y4) - (i * y5)))
	elif y3 <= 9e-61:
		tmp = t_1
	elif y3 <= 2.25e+61:
		tmp = j * (b * ((t * y4) - (x * y0)))
	elif y3 <= 1.7e+192:
		tmp = t_1
	else:
		tmp = y * (y3 * ((c * y4) - (a * y5)))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(y * Float64(x * Float64(Float64(a * b) - Float64(c * i))))
	tmp = 0.0
	if (y3 <= -4.3e+187)
		tmp = Float64(j * Float64(y1 * Float64(y4 * Float64(-y3))));
	elseif (y3 <= -1.15e+49)
		tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b))));
	elseif (y3 <= -2.4e-217)
		tmp = Float64(k * Float64(i * Float64(Float64(y * y5) - Float64(z * y1))));
	elseif (y3 <= -1.5e-272)
		tmp = t_1;
	elseif (y3 <= 4.4e-97)
		tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5))));
	elseif (y3 <= 9e-61)
		tmp = t_1;
	elseif (y3 <= 2.25e+61)
		tmp = Float64(j * Float64(b * Float64(Float64(t * y4) - Float64(x * y0))));
	elseif (y3 <= 1.7e+192)
		tmp = t_1;
	else
		tmp = Float64(y * Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = y * (x * ((a * b) - (c * i)));
	tmp = 0.0;
	if (y3 <= -4.3e+187)
		tmp = j * (y1 * (y4 * -y3));
	elseif (y3 <= -1.15e+49)
		tmp = j * (y0 * ((y3 * y5) - (x * b)));
	elseif (y3 <= -2.4e-217)
		tmp = k * (i * ((y * y5) - (z * y1)));
	elseif (y3 <= -1.5e-272)
		tmp = t_1;
	elseif (y3 <= 4.4e-97)
		tmp = j * (t * ((b * y4) - (i * y5)));
	elseif (y3 <= 9e-61)
		tmp = t_1;
	elseif (y3 <= 2.25e+61)
		tmp = j * (b * ((t * y4) - (x * y0)));
	elseif (y3 <= 1.7e+192)
		tmp = t_1;
	else
		tmp = y * (y3 * ((c * y4) - (a * y5)));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y * N[(x * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -4.3e+187], N[(j * N[(y1 * N[(y4 * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -1.15e+49], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -2.4e-217], N[(k * N[(i * N[(N[(y * y5), $MachinePrecision] - N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -1.5e-272], t$95$1, If[LessEqual[y3, 4.4e-97], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 9e-61], t$95$1, If[LessEqual[y3, 2.25e+61], N[(j * N[(b * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1.7e+192], t$95$1, N[(y * N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\mathbf{if}\;y3 \leq -4.3 \cdot 10^{+187}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(y4 \cdot \left(-y3\right)\right)\right)\\

\mathbf{elif}\;y3 \leq -1.15 \cdot 10^{+49}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\

\mathbf{elif}\;y3 \leq -2.4 \cdot 10^{-217}:\\
\;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\

\mathbf{elif}\;y3 \leq -1.5 \cdot 10^{-272}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y3 \leq 4.4 \cdot 10^{-97}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\

\mathbf{elif}\;y3 \leq 9 \cdot 10^{-61}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y3 \leq 2.25 \cdot 10^{+61}:\\
\;\;\;\;j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\

\mathbf{elif}\;y3 \leq 1.7 \cdot 10^{+192}:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if y3 < -4.2999999999999999e187

    1. Initial program 8.7%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 21.7%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in y3 around -inf 65.4%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    5. Taylor expanded in y1 around inf 61.1%

      \[\leadsto -1 \cdot \color{blue}{\left(j \cdot \left(y1 \cdot \left(y3 \cdot y4\right)\right)\right)} \]
    6. Step-by-step derivation
      1. *-commutative61.1%

        \[\leadsto -1 \cdot \left(j \cdot \color{blue}{\left(\left(y3 \cdot y4\right) \cdot y1\right)}\right) \]
      2. *-commutative61.1%

        \[\leadsto -1 \cdot \left(j \cdot \left(\color{blue}{\left(y4 \cdot y3\right)} \cdot y1\right)\right) \]
    7. Simplified61.1%

      \[\leadsto -1 \cdot \color{blue}{\left(j \cdot \left(\left(y4 \cdot y3\right) \cdot y1\right)\right)} \]

    if -4.2999999999999999e187 < y3 < -1.15000000000000001e49

    1. Initial program 27.7%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 39.1%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in y0 around inf 48.2%

      \[\leadsto j \cdot \color{blue}{\left(y0 \cdot \left(y3 \cdot y5 - b \cdot x\right)\right)} \]

    if -1.15000000000000001e49 < y3 < -2.3999999999999999e-217

    1. Initial program 29.2%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in k around inf 42.1%

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Taylor expanded in i around inf 39.3%

      \[\leadsto k \cdot \color{blue}{\left(i \cdot \left(y \cdot y5 - y1 \cdot z\right)\right)} \]

    if -2.3999999999999999e-217 < y3 < -1.5000000000000001e-272 or 4.3999999999999998e-97 < y3 < 9e-61 or 2.25e61 < y3 < 1.69999999999999998e192

    1. Initial program 21.1%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in y around inf 59.2%

      \[\leadsto \color{blue}{y \cdot \left(\left(-1 \cdot \left(k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    4. Taylor expanded in x around inf 68.7%

      \[\leadsto y \cdot \color{blue}{\left(x \cdot \left(a \cdot b - c \cdot i\right)\right)} \]
    5. Step-by-step derivation
      1. *-commutative68.7%

        \[\leadsto y \cdot \left(x \cdot \left(a \cdot b - \color{blue}{i \cdot c}\right)\right) \]
      2. *-commutative68.7%

        \[\leadsto y \cdot \left(x \cdot \left(\color{blue}{b \cdot a} - i \cdot c\right)\right) \]
    6. Simplified68.7%

      \[\leadsto y \cdot \color{blue}{\left(x \cdot \left(b \cdot a - i \cdot c\right)\right)} \]

    if -1.5000000000000001e-272 < y3 < 4.3999999999999998e-97

    1. Initial program 26.3%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 46.2%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in t around inf 45.6%

      \[\leadsto j \cdot \color{blue}{\left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)} \]

    if 9e-61 < y3 < 2.25e61

    1. Initial program 40.6%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 52.2%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in b around inf 56.4%

      \[\leadsto j \cdot \color{blue}{\left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)} \]

    if 1.69999999999999998e192 < y3

    1. Initial program 12.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y around inf 44.5%

      \[\leadsto \color{blue}{y \cdot \left(\left(-1 \cdot \left(k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    4. Taylor expanded in y3 around inf 72.2%

      \[\leadsto \color{blue}{y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
  3. Recombined 7 regimes into one program.
  4. Final simplification52.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y3 \leq -4.3 \cdot 10^{+187}:\\ \;\;\;\;j \cdot \left(y1 \cdot \left(y4 \cdot \left(-y3\right)\right)\right)\\ \mathbf{elif}\;y3 \leq -1.15 \cdot 10^{+49}:\\ \;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\ \mathbf{elif}\;y3 \leq -2.4 \cdot 10^{-217}:\\ \;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\ \mathbf{elif}\;y3 \leq -1.5 \cdot 10^{-272}:\\ \;\;\;\;y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right)\\ \mathbf{elif}\;y3 \leq 4.4 \cdot 10^{-97}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \mathbf{elif}\;y3 \leq 9 \cdot 10^{-61}:\\ \;\;\;\;y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right)\\ \mathbf{elif}\;y3 \leq 2.25 \cdot 10^{+61}:\\ \;\;\;\;j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\ \mathbf{elif}\;y3 \leq 1.7 \cdot 10^{+192}:\\ \;\;\;\;y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 18: 32.0% accurate, 2.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \mathbf{if}\;t \leq -5 \cdot 10^{+185}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;t \leq -3 \cdot 10^{+124}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq -3 \cdot 10^{-183}:\\ \;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\ \mathbf{elif}\;t \leq 2.9 \cdot 10^{-257}:\\ \;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\ \mathbf{elif}\;t \leq 2.95 \cdot 10^{-115}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{elif}\;t \leq 3.2 \cdot 10^{+148}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* j (* t (- (* b y4) (* i y5))))))
   (if (<= t -5e+185)
     (* c (* t (- (* z i) (* y2 y4))))
     (if (<= t -3e+124)
       t_1
       (if (<= t -3e-183)
         (* j (* x (- (* i y1) (* b y0))))
         (if (<= t 2.9e-257)
           (* k (* i (- (* y y5) (* z y1))))
           (if (<= t 2.95e-115)
             (* b (* x (- (* y a) (* j y0))))
             (if (<= t 3.2e+148) (* c (* y4 (- (* y y3) (* t y2)))) t_1))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = j * (t * ((b * y4) - (i * y5)));
	double tmp;
	if (t <= -5e+185) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (t <= -3e+124) {
		tmp = t_1;
	} else if (t <= -3e-183) {
		tmp = j * (x * ((i * y1) - (b * y0)));
	} else if (t <= 2.9e-257) {
		tmp = k * (i * ((y * y5) - (z * y1)));
	} else if (t <= 2.95e-115) {
		tmp = b * (x * ((y * a) - (j * y0)));
	} else if (t <= 3.2e+148) {
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = j * (t * ((b * y4) - (i * y5)))
    if (t <= (-5d+185)) then
        tmp = c * (t * ((z * i) - (y2 * y4)))
    else if (t <= (-3d+124)) then
        tmp = t_1
    else if (t <= (-3d-183)) then
        tmp = j * (x * ((i * y1) - (b * y0)))
    else if (t <= 2.9d-257) then
        tmp = k * (i * ((y * y5) - (z * y1)))
    else if (t <= 2.95d-115) then
        tmp = b * (x * ((y * a) - (j * y0)))
    else if (t <= 3.2d+148) then
        tmp = c * (y4 * ((y * y3) - (t * y2)))
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = j * (t * ((b * y4) - (i * y5)));
	double tmp;
	if (t <= -5e+185) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (t <= -3e+124) {
		tmp = t_1;
	} else if (t <= -3e-183) {
		tmp = j * (x * ((i * y1) - (b * y0)));
	} else if (t <= 2.9e-257) {
		tmp = k * (i * ((y * y5) - (z * y1)));
	} else if (t <= 2.95e-115) {
		tmp = b * (x * ((y * a) - (j * y0)));
	} else if (t <= 3.2e+148) {
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = j * (t * ((b * y4) - (i * y5)))
	tmp = 0
	if t <= -5e+185:
		tmp = c * (t * ((z * i) - (y2 * y4)))
	elif t <= -3e+124:
		tmp = t_1
	elif t <= -3e-183:
		tmp = j * (x * ((i * y1) - (b * y0)))
	elif t <= 2.9e-257:
		tmp = k * (i * ((y * y5) - (z * y1)))
	elif t <= 2.95e-115:
		tmp = b * (x * ((y * a) - (j * y0)))
	elif t <= 3.2e+148:
		tmp = c * (y4 * ((y * y3) - (t * y2)))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5))))
	tmp = 0.0
	if (t <= -5e+185)
		tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4))));
	elseif (t <= -3e+124)
		tmp = t_1;
	elseif (t <= -3e-183)
		tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0))));
	elseif (t <= 2.9e-257)
		tmp = Float64(k * Float64(i * Float64(Float64(y * y5) - Float64(z * y1))));
	elseif (t <= 2.95e-115)
		tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0))));
	elseif (t <= 3.2e+148)
		tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2))));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = j * (t * ((b * y4) - (i * y5)));
	tmp = 0.0;
	if (t <= -5e+185)
		tmp = c * (t * ((z * i) - (y2 * y4)));
	elseif (t <= -3e+124)
		tmp = t_1;
	elseif (t <= -3e-183)
		tmp = j * (x * ((i * y1) - (b * y0)));
	elseif (t <= 2.9e-257)
		tmp = k * (i * ((y * y5) - (z * y1)));
	elseif (t <= 2.95e-115)
		tmp = b * (x * ((y * a) - (j * y0)));
	elseif (t <= 3.2e+148)
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -5e+185], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -3e+124], t$95$1, If[LessEqual[t, -3e-183], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.9e-257], N[(k * N[(i * N[(N[(y * y5), $MachinePrecision] - N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.95e-115], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 3.2e+148], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{if}\;t \leq -5 \cdot 10^{+185}:\\
\;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\

\mathbf{elif}\;t \leq -3 \cdot 10^{+124}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;t \leq -3 \cdot 10^{-183}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\

\mathbf{elif}\;t \leq 2.9 \cdot 10^{-257}:\\
\;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\

\mathbf{elif}\;t \leq 2.95 \cdot 10^{-115}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\

\mathbf{elif}\;t \leq 3.2 \cdot 10^{+148}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t\_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if t < -4.9999999999999999e185

    1. Initial program 24.6%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 36.6%

      \[\leadsto \color{blue}{c \cdot \left(\left(-1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right) + y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
    4. Taylor expanded in t around inf 49.2%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot \left(i \cdot z - y2 \cdot y4\right)\right)} \]

    if -4.9999999999999999e185 < t < -3e124 or 3.1999999999999999e148 < t

    1. Initial program 23.8%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 62.3%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in t around inf 65.2%

      \[\leadsto j \cdot \color{blue}{\left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)} \]

    if -3e124 < t < -2.9999999999999998e-183

    1. Initial program 35.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 47.6%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in x around inf 39.7%

      \[\leadsto j \cdot \color{blue}{\left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)} \]

    if -2.9999999999999998e-183 < t < 2.9000000000000002e-257

    1. Initial program 23.5%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in k around inf 47.4%

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Taylor expanded in i around inf 48.2%

      \[\leadsto k \cdot \color{blue}{\left(i \cdot \left(y \cdot y5 - y1 \cdot z\right)\right)} \]

    if 2.9000000000000002e-257 < t < 2.94999999999999997e-115

    1. Initial program 22.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 38.0%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in x around inf 45.5%

      \[\leadsto \color{blue}{b \cdot \left(x \cdot \left(a \cdot y - j \cdot y0\right)\right)} \]

    if 2.94999999999999997e-115 < t < 3.1999999999999999e148

    1. Initial program 19.8%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 50.6%

      \[\leadsto \color{blue}{c \cdot \left(\left(-1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right) + y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
    4. Taylor expanded in y4 around inf 42.2%

      \[\leadsto \color{blue}{c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)} \]
  3. Recombined 6 regimes into one program.
  4. Final simplification47.3%

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -5 \cdot 10^{+185}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;t \leq -3 \cdot 10^{+124}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \mathbf{elif}\;t \leq -3 \cdot 10^{-183}:\\ \;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\ \mathbf{elif}\;t \leq 2.9 \cdot 10^{-257}:\\ \;\;\;\;k \cdot \left(i \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\ \mathbf{elif}\;t \leq 2.95 \cdot 10^{-115}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{elif}\;t \leq 3.2 \cdot 10^{+148}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 19: 21.5% accurate, 2.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y3 \leq -1.6 \cdot 10^{+185}:\\ \;\;\;\;j \cdot \left(y1 \cdot \left(y4 \cdot \left(-y3\right)\right)\right)\\ \mathbf{elif}\;y3 \leq -1.65 \cdot 10^{+109}:\\ \;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\ \mathbf{elif}\;y3 \leq -1.7 \cdot 10^{-212}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\ \mathbf{elif}\;y3 \leq 1.8 \cdot 10^{-59}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \mathbf{elif}\;y3 \leq 5.2 \cdot 10^{+59}:\\ \;\;\;\;b \cdot \left(x \cdot \left(j \cdot \left(-y0\right)\right)\right)\\ \mathbf{elif}\;y3 \leq 2.75 \cdot 10^{+188}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(z \cdot \left(-y3\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(y5 \cdot \left(y \cdot \left(-y3\right)\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (if (<= y3 -1.6e+185)
   (* j (* y1 (* y4 (- y3))))
   (if (<= y3 -1.65e+109)
     (* j (* y0 (* y3 y5)))
     (if (<= y3 -1.7e-212)
       (* a (* t (* y2 y5)))
       (if (<= y3 1.8e-59)
         (* b (* x (* y a)))
         (if (<= y3 5.2e+59)
           (* b (* x (* j (- y0))))
           (if (<= y3 2.75e+188)
             (* c (* y0 (* z (- y3))))
             (* a (* y5 (* y (- y3)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (y3 <= -1.6e+185) {
		tmp = j * (y1 * (y4 * -y3));
	} else if (y3 <= -1.65e+109) {
		tmp = j * (y0 * (y3 * y5));
	} else if (y3 <= -1.7e-212) {
		tmp = a * (t * (y2 * y5));
	} else if (y3 <= 1.8e-59) {
		tmp = b * (x * (y * a));
	} else if (y3 <= 5.2e+59) {
		tmp = b * (x * (j * -y0));
	} else if (y3 <= 2.75e+188) {
		tmp = c * (y0 * (z * -y3));
	} else {
		tmp = a * (y5 * (y * -y3));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: tmp
    if (y3 <= (-1.6d+185)) then
        tmp = j * (y1 * (y4 * -y3))
    else if (y3 <= (-1.65d+109)) then
        tmp = j * (y0 * (y3 * y5))
    else if (y3 <= (-1.7d-212)) then
        tmp = a * (t * (y2 * y5))
    else if (y3 <= 1.8d-59) then
        tmp = b * (x * (y * a))
    else if (y3 <= 5.2d+59) then
        tmp = b * (x * (j * -y0))
    else if (y3 <= 2.75d+188) then
        tmp = c * (y0 * (z * -y3))
    else
        tmp = a * (y5 * (y * -y3))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (y3 <= -1.6e+185) {
		tmp = j * (y1 * (y4 * -y3));
	} else if (y3 <= -1.65e+109) {
		tmp = j * (y0 * (y3 * y5));
	} else if (y3 <= -1.7e-212) {
		tmp = a * (t * (y2 * y5));
	} else if (y3 <= 1.8e-59) {
		tmp = b * (x * (y * a));
	} else if (y3 <= 5.2e+59) {
		tmp = b * (x * (j * -y0));
	} else if (y3 <= 2.75e+188) {
		tmp = c * (y0 * (z * -y3));
	} else {
		tmp = a * (y5 * (y * -y3));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if y3 <= -1.6e+185:
		tmp = j * (y1 * (y4 * -y3))
	elif y3 <= -1.65e+109:
		tmp = j * (y0 * (y3 * y5))
	elif y3 <= -1.7e-212:
		tmp = a * (t * (y2 * y5))
	elif y3 <= 1.8e-59:
		tmp = b * (x * (y * a))
	elif y3 <= 5.2e+59:
		tmp = b * (x * (j * -y0))
	elif y3 <= 2.75e+188:
		tmp = c * (y0 * (z * -y3))
	else:
		tmp = a * (y5 * (y * -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 (y3 <= -1.6e+185)
		tmp = Float64(j * Float64(y1 * Float64(y4 * Float64(-y3))));
	elseif (y3 <= -1.65e+109)
		tmp = Float64(j * Float64(y0 * Float64(y3 * y5)));
	elseif (y3 <= -1.7e-212)
		tmp = Float64(a * Float64(t * Float64(y2 * y5)));
	elseif (y3 <= 1.8e-59)
		tmp = Float64(b * Float64(x * Float64(y * a)));
	elseif (y3 <= 5.2e+59)
		tmp = Float64(b * Float64(x * Float64(j * Float64(-y0))));
	elseif (y3 <= 2.75e+188)
		tmp = Float64(c * Float64(y0 * Float64(z * Float64(-y3))));
	else
		tmp = Float64(a * Float64(y5 * Float64(y * 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 (y3 <= -1.6e+185)
		tmp = j * (y1 * (y4 * -y3));
	elseif (y3 <= -1.65e+109)
		tmp = j * (y0 * (y3 * y5));
	elseif (y3 <= -1.7e-212)
		tmp = a * (t * (y2 * y5));
	elseif (y3 <= 1.8e-59)
		tmp = b * (x * (y * a));
	elseif (y3 <= 5.2e+59)
		tmp = b * (x * (j * -y0));
	elseif (y3 <= 2.75e+188)
		tmp = c * (y0 * (z * -y3));
	else
		tmp = a * (y5 * (y * -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[y3, -1.6e+185], N[(j * N[(y1 * N[(y4 * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -1.65e+109], N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -1.7e-212], N[(a * N[(t * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1.8e-59], N[(b * N[(x * N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 5.2e+59], N[(b * N[(x * N[(j * (-y0)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 2.75e+188], N[(c * N[(y0 * N[(z * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(y5 * N[(y * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;y3 \leq -1.6 \cdot 10^{+185}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(y4 \cdot \left(-y3\right)\right)\right)\\

\mathbf{elif}\;y3 \leq -1.65 \cdot 10^{+109}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\

\mathbf{elif}\;y3 \leq -1.7 \cdot 10^{-212}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\

\mathbf{elif}\;y3 \leq 1.8 \cdot 10^{-59}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\

\mathbf{elif}\;y3 \leq 5.2 \cdot 10^{+59}:\\
\;\;\;\;b \cdot \left(x \cdot \left(j \cdot \left(-y0\right)\right)\right)\\

\mathbf{elif}\;y3 \leq 2.75 \cdot 10^{+188}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(z \cdot \left(-y3\right)\right)\right)\\

\mathbf{else}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(y \cdot \left(-y3\right)\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if y3 < -1.60000000000000003e185

    1. Initial program 8.7%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 21.7%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in y3 around -inf 65.4%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    5. Taylor expanded in y1 around inf 61.1%

      \[\leadsto -1 \cdot \color{blue}{\left(j \cdot \left(y1 \cdot \left(y3 \cdot y4\right)\right)\right)} \]
    6. Step-by-step derivation
      1. *-commutative61.1%

        \[\leadsto -1 \cdot \left(j \cdot \color{blue}{\left(\left(y3 \cdot y4\right) \cdot y1\right)}\right) \]
      2. *-commutative61.1%

        \[\leadsto -1 \cdot \left(j \cdot \left(\color{blue}{\left(y4 \cdot y3\right)} \cdot y1\right)\right) \]
    7. Simplified61.1%

      \[\leadsto -1 \cdot \color{blue}{\left(j \cdot \left(\left(y4 \cdot y3\right) \cdot y1\right)\right)} \]

    if -1.60000000000000003e185 < y3 < -1.6499999999999999e109

    1. Initial program 19.9%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 30.5%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in y0 around inf 55.4%

      \[\leadsto j \cdot \color{blue}{\left(y0 \cdot \left(y3 \cdot y5 - b \cdot x\right)\right)} \]
    5. Taylor expanded in y3 around inf 50.8%

      \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]
    6. Step-by-step derivation
      1. *-commutative50.8%

        \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y5 \cdot y3\right)}\right) \]
    7. Simplified50.8%

      \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y5 \cdot y3\right)}\right) \]

    if -1.6499999999999999e109 < y3 < -1.69999999999999999e-212

    1. Initial program 32.8%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y2 around inf 36.3%

      \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in a around -inf 34.2%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot \left(x \cdot y1 - t \cdot y5\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg34.2%

        \[\leadsto \color{blue}{-a \cdot \left(y2 \cdot \left(x \cdot y1 - t \cdot y5\right)\right)} \]
    6. Simplified34.2%

      \[\leadsto \color{blue}{-a \cdot \left(y2 \cdot \left(x \cdot y1 - t \cdot y5\right)\right)} \]
    7. Taylor expanded in x around 0 25.2%

      \[\leadsto -\color{blue}{-1 \cdot \left(a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\right)} \]
    8. Step-by-step derivation
      1. associate-*r*25.2%

        \[\leadsto -\color{blue}{\left(-1 \cdot a\right) \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)} \]
      2. neg-mul-125.2%

        \[\leadsto -\color{blue}{\left(-a\right)} \cdot \left(t \cdot \left(y2 \cdot y5\right)\right) \]
      3. *-commutative25.2%

        \[\leadsto -\left(-a\right) \cdot \left(t \cdot \color{blue}{\left(y5 \cdot y2\right)}\right) \]
    9. Simplified25.2%

      \[\leadsto -\color{blue}{\left(-a\right) \cdot \left(t \cdot \left(y5 \cdot y2\right)\right)} \]

    if -1.69999999999999999e-212 < y3 < 1.8e-59

    1. Initial program 24.7%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 28.2%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in x around inf 31.3%

      \[\leadsto \color{blue}{b \cdot \left(x \cdot \left(a \cdot y - j \cdot y0\right)\right)} \]
    5. Taylor expanded in a around inf 25.7%

      \[\leadsto b \cdot \left(x \cdot \color{blue}{\left(a \cdot y\right)}\right) \]
    6. Step-by-step derivation
      1. *-commutative25.7%

        \[\leadsto b \cdot \left(x \cdot \color{blue}{\left(y \cdot a\right)}\right) \]
    7. Simplified25.7%

      \[\leadsto b \cdot \left(x \cdot \color{blue}{\left(y \cdot a\right)}\right) \]

    if 1.8e-59 < y3 < 5.19999999999999999e59

    1. Initial program 39.8%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 40.6%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in x around inf 45.4%

      \[\leadsto \color{blue}{b \cdot \left(x \cdot \left(a \cdot y - j \cdot y0\right)\right)} \]
    5. Taylor expanded in a around 0 37.5%

      \[\leadsto b \cdot \left(x \cdot \color{blue}{\left(-1 \cdot \left(j \cdot y0\right)\right)}\right) \]
    6. Step-by-step derivation
      1. neg-mul-137.5%

        \[\leadsto b \cdot \left(x \cdot \color{blue}{\left(-j \cdot y0\right)}\right) \]
      2. distribute-rgt-neg-in37.5%

        \[\leadsto b \cdot \left(x \cdot \color{blue}{\left(j \cdot \left(-y0\right)\right)}\right) \]
    7. Simplified37.5%

      \[\leadsto b \cdot \left(x \cdot \color{blue}{\left(j \cdot \left(-y0\right)\right)}\right) \]

    if 5.19999999999999999e59 < y3 < 2.75000000000000006e188

    1. Initial program 18.8%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 37.6%

      \[\leadsto \color{blue}{c \cdot \left(\left(-1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right) + y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
    4. Taylor expanded in y0 around inf 37.7%

      \[\leadsto \color{blue}{c \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)} \]
    5. Taylor expanded in x around 0 44.6%

      \[\leadsto \color{blue}{-1 \cdot \left(c \cdot \left(y0 \cdot \left(y3 \cdot z\right)\right)\right)} \]
    6. Step-by-step derivation
      1. associate-*r*44.6%

        \[\leadsto \color{blue}{\left(-1 \cdot c\right) \cdot \left(y0 \cdot \left(y3 \cdot z\right)\right)} \]
      2. mul-1-neg44.6%

        \[\leadsto \color{blue}{\left(-c\right)} \cdot \left(y0 \cdot \left(y3 \cdot z\right)\right) \]
    7. Simplified44.6%

      \[\leadsto \color{blue}{\left(-c\right) \cdot \left(y0 \cdot \left(y3 \cdot z\right)\right)} \]

    if 2.75000000000000006e188 < y3

    1. Initial program 11.5%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 34.6%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in y3 around -inf 69.2%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    5. Taylor expanded in a around inf 49.9%

      \[\leadsto -1 \cdot \color{blue}{\left(a \cdot \left(y \cdot \left(y3 \cdot y5\right)\right)\right)} \]
    6. Step-by-step derivation
      1. associate-*r*57.1%

        \[\leadsto -1 \cdot \left(a \cdot \color{blue}{\left(\left(y \cdot y3\right) \cdot y5\right)}\right) \]
    7. Simplified57.1%

      \[\leadsto -1 \cdot \color{blue}{\left(a \cdot \left(\left(y \cdot y3\right) \cdot y5\right)\right)} \]
  3. Recombined 7 regimes into one program.
  4. Final simplification36.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y3 \leq -1.6 \cdot 10^{+185}:\\ \;\;\;\;j \cdot \left(y1 \cdot \left(y4 \cdot \left(-y3\right)\right)\right)\\ \mathbf{elif}\;y3 \leq -1.65 \cdot 10^{+109}:\\ \;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\ \mathbf{elif}\;y3 \leq -1.7 \cdot 10^{-212}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\ \mathbf{elif}\;y3 \leq 1.8 \cdot 10^{-59}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \mathbf{elif}\;y3 \leq 5.2 \cdot 10^{+59}:\\ \;\;\;\;b \cdot \left(x \cdot \left(j \cdot \left(-y0\right)\right)\right)\\ \mathbf{elif}\;y3 \leq 2.75 \cdot 10^{+188}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(z \cdot \left(-y3\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(y5 \cdot \left(y \cdot \left(-y3\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 20: 25.2% accurate, 2.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{if}\;j \leq -2.6 \cdot 10^{-62}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;j \leq -4.6 \cdot 10^{-290}:\\ \;\;\;\;a \cdot \left(y2 \cdot \left(x \cdot \left(-y1\right)\right)\right)\\ \mathbf{elif}\;j \leq 4 \cdot 10^{-270}:\\ \;\;\;\;y3 \cdot \left(a \cdot \left(y \cdot \left(-y5\right)\right)\right)\\ \mathbf{elif}\;j \leq 1.25 \cdot 10^{-262}:\\ \;\;\;\;a \cdot \left(\left(y1 \cdot y2\right) \cdot \left(-x\right)\right)\\ \mathbf{elif}\;j \leq 9.5 \cdot 10^{+199}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(y1 \cdot \left(y4 \cdot \left(-y3\right)\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* b (* x (- (* y a) (* j y0))))))
   (if (<= j -2.6e-62)
     t_1
     (if (<= j -4.6e-290)
       (* a (* y2 (* x (- y1))))
       (if (<= j 4e-270)
         (* y3 (* a (* y (- y5))))
         (if (<= j 1.25e-262)
           (* a (* (* y1 y2) (- x)))
           (if (<= j 9.5e+199) t_1 (* j (* y1 (* y4 (- y3)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = b * (x * ((y * a) - (j * y0)));
	double tmp;
	if (j <= -2.6e-62) {
		tmp = t_1;
	} else if (j <= -4.6e-290) {
		tmp = a * (y2 * (x * -y1));
	} else if (j <= 4e-270) {
		tmp = y3 * (a * (y * -y5));
	} else if (j <= 1.25e-262) {
		tmp = a * ((y1 * y2) * -x);
	} else if (j <= 9.5e+199) {
		tmp = t_1;
	} else {
		tmp = j * (y1 * (y4 * -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 = b * (x * ((y * a) - (j * y0)))
    if (j <= (-2.6d-62)) then
        tmp = t_1
    else if (j <= (-4.6d-290)) then
        tmp = a * (y2 * (x * -y1))
    else if (j <= 4d-270) then
        tmp = y3 * (a * (y * -y5))
    else if (j <= 1.25d-262) then
        tmp = a * ((y1 * y2) * -x)
    else if (j <= 9.5d+199) then
        tmp = t_1
    else
        tmp = j * (y1 * (y4 * -y3))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = b * (x * ((y * a) - (j * y0)));
	double tmp;
	if (j <= -2.6e-62) {
		tmp = t_1;
	} else if (j <= -4.6e-290) {
		tmp = a * (y2 * (x * -y1));
	} else if (j <= 4e-270) {
		tmp = y3 * (a * (y * -y5));
	} else if (j <= 1.25e-262) {
		tmp = a * ((y1 * y2) * -x);
	} else if (j <= 9.5e+199) {
		tmp = t_1;
	} else {
		tmp = j * (y1 * (y4 * -y3));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = b * (x * ((y * a) - (j * y0)))
	tmp = 0
	if j <= -2.6e-62:
		tmp = t_1
	elif j <= -4.6e-290:
		tmp = a * (y2 * (x * -y1))
	elif j <= 4e-270:
		tmp = y3 * (a * (y * -y5))
	elif j <= 1.25e-262:
		tmp = a * ((y1 * y2) * -x)
	elif j <= 9.5e+199:
		tmp = t_1
	else:
		tmp = j * (y1 * (y4 * -y3))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0))))
	tmp = 0.0
	if (j <= -2.6e-62)
		tmp = t_1;
	elseif (j <= -4.6e-290)
		tmp = Float64(a * Float64(y2 * Float64(x * Float64(-y1))));
	elseif (j <= 4e-270)
		tmp = Float64(y3 * Float64(a * Float64(y * Float64(-y5))));
	elseif (j <= 1.25e-262)
		tmp = Float64(a * Float64(Float64(y1 * y2) * Float64(-x)));
	elseif (j <= 9.5e+199)
		tmp = t_1;
	else
		tmp = Float64(j * Float64(y1 * Float64(y4 * 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)
	t_1 = b * (x * ((y * a) - (j * y0)));
	tmp = 0.0;
	if (j <= -2.6e-62)
		tmp = t_1;
	elseif (j <= -4.6e-290)
		tmp = a * (y2 * (x * -y1));
	elseif (j <= 4e-270)
		tmp = y3 * (a * (y * -y5));
	elseif (j <= 1.25e-262)
		tmp = a * ((y1 * y2) * -x);
	elseif (j <= 9.5e+199)
		tmp = t_1;
	else
		tmp = j * (y1 * (y4 * -y3));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -2.6e-62], t$95$1, If[LessEqual[j, -4.6e-290], N[(a * N[(y2 * N[(x * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 4e-270], N[(y3 * N[(a * N[(y * (-y5)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.25e-262], N[(a * N[(N[(y1 * y2), $MachinePrecision] * (-x)), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 9.5e+199], t$95$1, N[(j * N[(y1 * N[(y4 * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{if}\;j \leq -2.6 \cdot 10^{-62}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;j \leq -4.6 \cdot 10^{-290}:\\
\;\;\;\;a \cdot \left(y2 \cdot \left(x \cdot \left(-y1\right)\right)\right)\\

\mathbf{elif}\;j \leq 4 \cdot 10^{-270}:\\
\;\;\;\;y3 \cdot \left(a \cdot \left(y \cdot \left(-y5\right)\right)\right)\\

\mathbf{elif}\;j \leq 1.25 \cdot 10^{-262}:\\
\;\;\;\;a \cdot \left(\left(y1 \cdot y2\right) \cdot \left(-x\right)\right)\\

\mathbf{elif}\;j \leq 9.5 \cdot 10^{+199}:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(y4 \cdot \left(-y3\right)\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if j < -2.5999999999999999e-62 or 1.24999999999999998e-262 < j < 9.49999999999999954e199

    1. Initial program 21.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 35.1%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in x around inf 37.0%

      \[\leadsto \color{blue}{b \cdot \left(x \cdot \left(a \cdot y - j \cdot y0\right)\right)} \]

    if -2.5999999999999999e-62 < j < -4.6000000000000001e-290

    1. Initial program 36.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y2 around inf 36.5%

      \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in a around -inf 43.3%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot \left(x \cdot y1 - t \cdot y5\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg43.3%

        \[\leadsto \color{blue}{-a \cdot \left(y2 \cdot \left(x \cdot y1 - t \cdot y5\right)\right)} \]
    6. Simplified43.3%

      \[\leadsto \color{blue}{-a \cdot \left(y2 \cdot \left(x \cdot y1 - t \cdot y5\right)\right)} \]
    7. Taylor expanded in x around inf 30.7%

      \[\leadsto -\color{blue}{a \cdot \left(x \cdot \left(y1 \cdot y2\right)\right)} \]
    8. Step-by-step derivation
      1. associate-*r*34.8%

        \[\leadsto -a \cdot \color{blue}{\left(\left(x \cdot y1\right) \cdot y2\right)} \]
    9. Simplified34.8%

      \[\leadsto -\color{blue}{a \cdot \left(\left(x \cdot y1\right) \cdot y2\right)} \]

    if -4.6000000000000001e-290 < j < 4.0000000000000002e-270

    1. Initial program 53.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 59.8%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in y3 around -inf 47.4%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    5. Taylor expanded in a around inf 39.2%

      \[\leadsto -1 \cdot \left(y3 \cdot \color{blue}{\left(a \cdot \left(y \cdot y5\right)\right)}\right) \]

    if 4.0000000000000002e-270 < j < 1.24999999999999998e-262

    1. Initial program 100.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y2 around inf 100.0%

      \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in a around -inf 100.0%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot \left(x \cdot y1 - t \cdot y5\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg100.0%

        \[\leadsto \color{blue}{-a \cdot \left(y2 \cdot \left(x \cdot y1 - t \cdot y5\right)\right)} \]
    6. Simplified100.0%

      \[\leadsto \color{blue}{-a \cdot \left(y2 \cdot \left(x \cdot y1 - t \cdot y5\right)\right)} \]
    7. Taylor expanded in x around inf 100.0%

      \[\leadsto -\color{blue}{a \cdot \left(x \cdot \left(y1 \cdot y2\right)\right)} \]

    if 9.49999999999999954e199 < j

    1. Initial program 14.2%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 11.0%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in y3 around -inf 53.7%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    5. Taylor expanded in y1 around inf 44.0%

      \[\leadsto -1 \cdot \color{blue}{\left(j \cdot \left(y1 \cdot \left(y3 \cdot y4\right)\right)\right)} \]
    6. Step-by-step derivation
      1. *-commutative44.0%

        \[\leadsto -1 \cdot \left(j \cdot \color{blue}{\left(\left(y3 \cdot y4\right) \cdot y1\right)}\right) \]
      2. *-commutative44.0%

        \[\leadsto -1 \cdot \left(j \cdot \left(\color{blue}{\left(y4 \cdot y3\right)} \cdot y1\right)\right) \]
    7. Simplified44.0%

      \[\leadsto -1 \cdot \color{blue}{\left(j \cdot \left(\left(y4 \cdot y3\right) \cdot y1\right)\right)} \]
  3. Recombined 5 regimes into one program.
  4. Final simplification37.7%

    \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -2.6 \cdot 10^{-62}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{elif}\;j \leq -4.6 \cdot 10^{-290}:\\ \;\;\;\;a \cdot \left(y2 \cdot \left(x \cdot \left(-y1\right)\right)\right)\\ \mathbf{elif}\;j \leq 4 \cdot 10^{-270}:\\ \;\;\;\;y3 \cdot \left(a \cdot \left(y \cdot \left(-y5\right)\right)\right)\\ \mathbf{elif}\;j \leq 1.25 \cdot 10^{-262}:\\ \;\;\;\;a \cdot \left(\left(y1 \cdot y2\right) \cdot \left(-x\right)\right)\\ \mathbf{elif}\;j \leq 9.5 \cdot 10^{+199}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(y1 \cdot \left(y4 \cdot \left(-y3\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 21: 30.7% accurate, 2.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{if}\;y0 \leq -1.95 \cdot 10^{+253}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y0 \leq -2.9 \cdot 10^{+172}:\\ \;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\ \mathbf{elif}\;y0 \leq -1.42 \cdot 10^{+54}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y0 \leq 7 \cdot 10^{-136}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq 1.6 \cdot 10^{+128}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* c (* y0 (- (* x y2) (* z y3))))))
   (if (<= y0 -1.95e+253)
     t_1
     (if (<= y0 -2.9e+172)
       (* j (* y0 (* y3 y5)))
       (if (<= y0 -1.42e+54)
         t_1
         (if (<= y0 7e-136)
           (* c (* t (- (* z i) (* y2 y4))))
           (if (<= y0 1.6e+128) (* b (* x (- (* y a) (* j y0)))) t_1)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = c * (y0 * ((x * y2) - (z * y3)));
	double tmp;
	if (y0 <= -1.95e+253) {
		tmp = t_1;
	} else if (y0 <= -2.9e+172) {
		tmp = j * (y0 * (y3 * y5));
	} else if (y0 <= -1.42e+54) {
		tmp = t_1;
	} else if (y0 <= 7e-136) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (y0 <= 1.6e+128) {
		tmp = b * (x * ((y * a) - (j * y0)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = c * (y0 * ((x * y2) - (z * y3)))
    if (y0 <= (-1.95d+253)) then
        tmp = t_1
    else if (y0 <= (-2.9d+172)) then
        tmp = j * (y0 * (y3 * y5))
    else if (y0 <= (-1.42d+54)) then
        tmp = t_1
    else if (y0 <= 7d-136) then
        tmp = c * (t * ((z * i) - (y2 * y4)))
    else if (y0 <= 1.6d+128) then
        tmp = b * (x * ((y * a) - (j * y0)))
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = c * (y0 * ((x * y2) - (z * y3)));
	double tmp;
	if (y0 <= -1.95e+253) {
		tmp = t_1;
	} else if (y0 <= -2.9e+172) {
		tmp = j * (y0 * (y3 * y5));
	} else if (y0 <= -1.42e+54) {
		tmp = t_1;
	} else if (y0 <= 7e-136) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (y0 <= 1.6e+128) {
		tmp = b * (x * ((y * a) - (j * y0)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = c * (y0 * ((x * y2) - (z * y3)))
	tmp = 0
	if y0 <= -1.95e+253:
		tmp = t_1
	elif y0 <= -2.9e+172:
		tmp = j * (y0 * (y3 * y5))
	elif y0 <= -1.42e+54:
		tmp = t_1
	elif y0 <= 7e-136:
		tmp = c * (t * ((z * i) - (y2 * y4)))
	elif y0 <= 1.6e+128:
		tmp = b * (x * ((y * a) - (j * y0)))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))))
	tmp = 0.0
	if (y0 <= -1.95e+253)
		tmp = t_1;
	elseif (y0 <= -2.9e+172)
		tmp = Float64(j * Float64(y0 * Float64(y3 * y5)));
	elseif (y0 <= -1.42e+54)
		tmp = t_1;
	elseif (y0 <= 7e-136)
		tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4))));
	elseif (y0 <= 1.6e+128)
		tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0))));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = c * (y0 * ((x * y2) - (z * y3)));
	tmp = 0.0;
	if (y0 <= -1.95e+253)
		tmp = t_1;
	elseif (y0 <= -2.9e+172)
		tmp = j * (y0 * (y3 * y5));
	elseif (y0 <= -1.42e+54)
		tmp = t_1;
	elseif (y0 <= 7e-136)
		tmp = c * (t * ((z * i) - (y2 * y4)));
	elseif (y0 <= 1.6e+128)
		tmp = b * (x * ((y * a) - (j * y0)));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -1.95e+253], t$95$1, If[LessEqual[y0, -2.9e+172], N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -1.42e+54], t$95$1, If[LessEqual[y0, 7e-136], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.6e+128], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{if}\;y0 \leq -1.95 \cdot 10^{+253}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y0 \leq -2.9 \cdot 10^{+172}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\

\mathbf{elif}\;y0 \leq -1.42 \cdot 10^{+54}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y0 \leq 7 \cdot 10^{-136}:\\
\;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\

\mathbf{elif}\;y0 \leq 1.6 \cdot 10^{+128}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t\_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if y0 < -1.9500000000000001e253 or -2.8999999999999999e172 < y0 < -1.41999999999999995e54 or 1.59999999999999993e128 < y0

    1. Initial program 22.4%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 45.4%

      \[\leadsto \color{blue}{c \cdot \left(\left(-1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right) + y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
    4. Taylor expanded in y0 around inf 53.1%

      \[\leadsto \color{blue}{c \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)} \]

    if -1.9500000000000001e253 < y0 < -2.8999999999999999e172

    1. Initial program 0.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 58.4%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in y0 around inf 67.4%

      \[\leadsto j \cdot \color{blue}{\left(y0 \cdot \left(y3 \cdot y5 - b \cdot x\right)\right)} \]
    5. Taylor expanded in y3 around inf 59.3%

      \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]
    6. Step-by-step derivation
      1. *-commutative59.3%

        \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y5 \cdot y3\right)}\right) \]
    7. Simplified59.3%

      \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y5 \cdot y3\right)}\right) \]

    if -1.41999999999999995e54 < y0 < 7.00000000000000058e-136

    1. Initial program 24.3%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 35.9%

      \[\leadsto \color{blue}{c \cdot \left(\left(-1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right) + y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
    4. Taylor expanded in t around inf 35.6%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot \left(i \cdot z - y2 \cdot y4\right)\right)} \]

    if 7.00000000000000058e-136 < y0 < 1.59999999999999993e128

    1. Initial program 36.2%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 46.0%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in x around inf 37.5%

      \[\leadsto \color{blue}{b \cdot \left(x \cdot \left(a \cdot y - j \cdot y0\right)\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification42.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -1.95 \cdot 10^{+253}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;y0 \leq -2.9 \cdot 10^{+172}:\\ \;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\ \mathbf{elif}\;y0 \leq -1.42 \cdot 10^{+54}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;y0 \leq 7 \cdot 10^{-136}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq 1.6 \cdot 10^{+128}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 22: 30.1% accurate, 2.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{if}\;y0 \leq -4 \cdot 10^{+258}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y0 \leq -2.65 \cdot 10^{+166}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;y0 \leq -3.1 \cdot 10^{+52}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y0 \leq 5.5 \cdot 10^{-136}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq 3.2 \cdot 10^{+122}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* c (* y0 (- (* x y2) (* z y3))))))
   (if (<= y0 -4e+258)
     t_1
     (if (<= y0 -2.65e+166)
       (* c (* y4 (- (* y y3) (* t y2))))
       (if (<= y0 -3.1e+52)
         t_1
         (if (<= y0 5.5e-136)
           (* c (* t (- (* z i) (* y2 y4))))
           (if (<= y0 3.2e+122) (* b (* x (- (* y a) (* j y0)))) t_1)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = c * (y0 * ((x * y2) - (z * y3)));
	double tmp;
	if (y0 <= -4e+258) {
		tmp = t_1;
	} else if (y0 <= -2.65e+166) {
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	} else if (y0 <= -3.1e+52) {
		tmp = t_1;
	} else if (y0 <= 5.5e-136) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (y0 <= 3.2e+122) {
		tmp = b * (x * ((y * a) - (j * y0)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = c * (y0 * ((x * y2) - (z * y3)))
    if (y0 <= (-4d+258)) then
        tmp = t_1
    else if (y0 <= (-2.65d+166)) then
        tmp = c * (y4 * ((y * y3) - (t * y2)))
    else if (y0 <= (-3.1d+52)) then
        tmp = t_1
    else if (y0 <= 5.5d-136) then
        tmp = c * (t * ((z * i) - (y2 * y4)))
    else if (y0 <= 3.2d+122) then
        tmp = b * (x * ((y * a) - (j * y0)))
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = c * (y0 * ((x * y2) - (z * y3)));
	double tmp;
	if (y0 <= -4e+258) {
		tmp = t_1;
	} else if (y0 <= -2.65e+166) {
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	} else if (y0 <= -3.1e+52) {
		tmp = t_1;
	} else if (y0 <= 5.5e-136) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (y0 <= 3.2e+122) {
		tmp = b * (x * ((y * a) - (j * y0)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = c * (y0 * ((x * y2) - (z * y3)))
	tmp = 0
	if y0 <= -4e+258:
		tmp = t_1
	elif y0 <= -2.65e+166:
		tmp = c * (y4 * ((y * y3) - (t * y2)))
	elif y0 <= -3.1e+52:
		tmp = t_1
	elif y0 <= 5.5e-136:
		tmp = c * (t * ((z * i) - (y2 * y4)))
	elif y0 <= 3.2e+122:
		tmp = b * (x * ((y * a) - (j * y0)))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))))
	tmp = 0.0
	if (y0 <= -4e+258)
		tmp = t_1;
	elseif (y0 <= -2.65e+166)
		tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2))));
	elseif (y0 <= -3.1e+52)
		tmp = t_1;
	elseif (y0 <= 5.5e-136)
		tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4))));
	elseif (y0 <= 3.2e+122)
		tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0))));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = c * (y0 * ((x * y2) - (z * y3)));
	tmp = 0.0;
	if (y0 <= -4e+258)
		tmp = t_1;
	elseif (y0 <= -2.65e+166)
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	elseif (y0 <= -3.1e+52)
		tmp = t_1;
	elseif (y0 <= 5.5e-136)
		tmp = c * (t * ((z * i) - (y2 * y4)));
	elseif (y0 <= 3.2e+122)
		tmp = b * (x * ((y * a) - (j * y0)));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -4e+258], t$95$1, If[LessEqual[y0, -2.65e+166], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -3.1e+52], t$95$1, If[LessEqual[y0, 5.5e-136], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 3.2e+122], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{if}\;y0 \leq -4 \cdot 10^{+258}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y0 \leq -2.65 \cdot 10^{+166}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\

\mathbf{elif}\;y0 \leq -3.1 \cdot 10^{+52}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y0 \leq 5.5 \cdot 10^{-136}:\\
\;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\

\mathbf{elif}\;y0 \leq 3.2 \cdot 10^{+122}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t\_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if y0 < -4.00000000000000023e258 or -2.65e166 < y0 < -3.1e52 or 3.20000000000000012e122 < y0

    1. Initial program 23.3%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 47.2%

      \[\leadsto \color{blue}{c \cdot \left(\left(-1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right) + y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
    4. Taylor expanded in y0 around inf 53.9%

      \[\leadsto \color{blue}{c \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)} \]

    if -4.00000000000000023e258 < y0 < -2.65e166

    1. Initial program 0.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 20.0%

      \[\leadsto \color{blue}{c \cdot \left(\left(-1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right) + y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
    4. Taylor expanded in y4 around inf 60.5%

      \[\leadsto \color{blue}{c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)} \]

    if -3.1e52 < y0 < 5.4999999999999999e-136

    1. Initial program 24.3%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 35.9%

      \[\leadsto \color{blue}{c \cdot \left(\left(-1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right) + y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
    4. Taylor expanded in t around inf 35.6%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot \left(i \cdot z - y2 \cdot y4\right)\right)} \]

    if 5.4999999999999999e-136 < y0 < 3.20000000000000012e122

    1. Initial program 36.2%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 46.0%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in x around inf 37.5%

      \[\leadsto \color{blue}{b \cdot \left(x \cdot \left(a \cdot y - j \cdot y0\right)\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification42.9%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -4 \cdot 10^{+258}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;y0 \leq -2.65 \cdot 10^{+166}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;y0 \leq -3.1 \cdot 10^{+52}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;y0 \leq 5.5 \cdot 10^{-136}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq 3.2 \cdot 10^{+122}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 23: 29.6% accurate, 2.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{if}\;y0 \leq -1.65 \cdot 10^{+259}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y0 \leq -2.65 \cdot 10^{+166}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;y0 \leq -5.5 \cdot 10^{+53}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y0 \leq 7.5 \cdot 10^{-136}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq 5.6 \cdot 10^{+219}:\\ \;\;\;\;j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* c (* y0 (- (* x y2) (* z y3))))))
   (if (<= y0 -1.65e+259)
     t_1
     (if (<= y0 -2.65e+166)
       (* c (* y4 (- (* y y3) (* t y2))))
       (if (<= y0 -5.5e+53)
         t_1
         (if (<= y0 7.5e-136)
           (* c (* t (- (* z i) (* y2 y4))))
           (if (<= y0 5.6e+219) (* j (* b (- (* t y4) (* x y0)))) t_1)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = c * (y0 * ((x * y2) - (z * y3)));
	double tmp;
	if (y0 <= -1.65e+259) {
		tmp = t_1;
	} else if (y0 <= -2.65e+166) {
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	} else if (y0 <= -5.5e+53) {
		tmp = t_1;
	} else if (y0 <= 7.5e-136) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (y0 <= 5.6e+219) {
		tmp = j * (b * ((t * y4) - (x * y0)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = c * (y0 * ((x * y2) - (z * y3)))
    if (y0 <= (-1.65d+259)) then
        tmp = t_1
    else if (y0 <= (-2.65d+166)) then
        tmp = c * (y4 * ((y * y3) - (t * y2)))
    else if (y0 <= (-5.5d+53)) then
        tmp = t_1
    else if (y0 <= 7.5d-136) then
        tmp = c * (t * ((z * i) - (y2 * y4)))
    else if (y0 <= 5.6d+219) then
        tmp = j * (b * ((t * y4) - (x * y0)))
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = c * (y0 * ((x * y2) - (z * y3)));
	double tmp;
	if (y0 <= -1.65e+259) {
		tmp = t_1;
	} else if (y0 <= -2.65e+166) {
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	} else if (y0 <= -5.5e+53) {
		tmp = t_1;
	} else if (y0 <= 7.5e-136) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (y0 <= 5.6e+219) {
		tmp = j * (b * ((t * y4) - (x * y0)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = c * (y0 * ((x * y2) - (z * y3)))
	tmp = 0
	if y0 <= -1.65e+259:
		tmp = t_1
	elif y0 <= -2.65e+166:
		tmp = c * (y4 * ((y * y3) - (t * y2)))
	elif y0 <= -5.5e+53:
		tmp = t_1
	elif y0 <= 7.5e-136:
		tmp = c * (t * ((z * i) - (y2 * y4)))
	elif y0 <= 5.6e+219:
		tmp = j * (b * ((t * y4) - (x * y0)))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))))
	tmp = 0.0
	if (y0 <= -1.65e+259)
		tmp = t_1;
	elseif (y0 <= -2.65e+166)
		tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2))));
	elseif (y0 <= -5.5e+53)
		tmp = t_1;
	elseif (y0 <= 7.5e-136)
		tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4))));
	elseif (y0 <= 5.6e+219)
		tmp = Float64(j * Float64(b * Float64(Float64(t * y4) - Float64(x * y0))));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = c * (y0 * ((x * y2) - (z * y3)));
	tmp = 0.0;
	if (y0 <= -1.65e+259)
		tmp = t_1;
	elseif (y0 <= -2.65e+166)
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	elseif (y0 <= -5.5e+53)
		tmp = t_1;
	elseif (y0 <= 7.5e-136)
		tmp = c * (t * ((z * i) - (y2 * y4)));
	elseif (y0 <= 5.6e+219)
		tmp = j * (b * ((t * y4) - (x * y0)));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -1.65e+259], t$95$1, If[LessEqual[y0, -2.65e+166], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -5.5e+53], t$95$1, If[LessEqual[y0, 7.5e-136], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 5.6e+219], N[(j * N[(b * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{if}\;y0 \leq -1.65 \cdot 10^{+259}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y0 \leq -2.65 \cdot 10^{+166}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\

\mathbf{elif}\;y0 \leq -5.5 \cdot 10^{+53}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y0 \leq 7.5 \cdot 10^{-136}:\\
\;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\

\mathbf{elif}\;y0 \leq 5.6 \cdot 10^{+219}:\\
\;\;\;\;j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t\_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if y0 < -1.65e259 or -2.65e166 < y0 < -5.49999999999999975e53 or 5.60000000000000031e219 < y0

    1. Initial program 22.4%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 45.2%

      \[\leadsto \color{blue}{c \cdot \left(\left(-1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right) + y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
    4. Taylor expanded in y0 around inf 57.5%

      \[\leadsto \color{blue}{c \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)} \]

    if -1.65e259 < y0 < -2.65e166

    1. Initial program 0.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 20.0%

      \[\leadsto \color{blue}{c \cdot \left(\left(-1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right) + y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
    4. Taylor expanded in y4 around inf 60.5%

      \[\leadsto \color{blue}{c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)} \]

    if -5.49999999999999975e53 < y0 < 7.5000000000000003e-136

    1. Initial program 24.3%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 35.9%

      \[\leadsto \color{blue}{c \cdot \left(\left(-1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right) + y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
    4. Taylor expanded in t around inf 35.6%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot \left(i \cdot z - y2 \cdot y4\right)\right)} \]

    if 7.5000000000000003e-136 < y0 < 5.60000000000000031e219

    1. Initial program 33.6%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 39.4%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in b around inf 40.1%

      \[\leadsto j \cdot \color{blue}{\left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification43.3%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -1.65 \cdot 10^{+259}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;y0 \leq -2.65 \cdot 10^{+166}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;y0 \leq -5.5 \cdot 10^{+53}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;y0 \leq 7.5 \cdot 10^{-136}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq 5.6 \cdot 10^{+219}:\\ \;\;\;\;j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 24: 29.5% accurate, 2.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{if}\;y0 \leq -2.65 \cdot 10^{+256}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y0 \leq -9 \cdot 10^{+120}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \mathbf{elif}\;y0 \leq -1.55 \cdot 10^{+52}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y0 \leq 7 \cdot 10^{-136}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq 4.5 \cdot 10^{+211}:\\ \;\;\;\;j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* c (* y0 (- (* x y2) (* z y3))))))
   (if (<= y0 -2.65e+256)
     t_1
     (if (<= y0 -9e+120)
       (* j (* t (- (* b y4) (* i y5))))
       (if (<= y0 -1.55e+52)
         t_1
         (if (<= y0 7e-136)
           (* c (* t (- (* z i) (* y2 y4))))
           (if (<= y0 4.5e+211) (* j (* b (- (* t y4) (* x y0)))) t_1)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = c * (y0 * ((x * y2) - (z * y3)));
	double tmp;
	if (y0 <= -2.65e+256) {
		tmp = t_1;
	} else if (y0 <= -9e+120) {
		tmp = j * (t * ((b * y4) - (i * y5)));
	} else if (y0 <= -1.55e+52) {
		tmp = t_1;
	} else if (y0 <= 7e-136) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (y0 <= 4.5e+211) {
		tmp = j * (b * ((t * y4) - (x * y0)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = c * (y0 * ((x * y2) - (z * y3)))
    if (y0 <= (-2.65d+256)) then
        tmp = t_1
    else if (y0 <= (-9d+120)) then
        tmp = j * (t * ((b * y4) - (i * y5)))
    else if (y0 <= (-1.55d+52)) then
        tmp = t_1
    else if (y0 <= 7d-136) then
        tmp = c * (t * ((z * i) - (y2 * y4)))
    else if (y0 <= 4.5d+211) then
        tmp = j * (b * ((t * y4) - (x * y0)))
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = c * (y0 * ((x * y2) - (z * y3)));
	double tmp;
	if (y0 <= -2.65e+256) {
		tmp = t_1;
	} else if (y0 <= -9e+120) {
		tmp = j * (t * ((b * y4) - (i * y5)));
	} else if (y0 <= -1.55e+52) {
		tmp = t_1;
	} else if (y0 <= 7e-136) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (y0 <= 4.5e+211) {
		tmp = j * (b * ((t * y4) - (x * y0)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = c * (y0 * ((x * y2) - (z * y3)))
	tmp = 0
	if y0 <= -2.65e+256:
		tmp = t_1
	elif y0 <= -9e+120:
		tmp = j * (t * ((b * y4) - (i * y5)))
	elif y0 <= -1.55e+52:
		tmp = t_1
	elif y0 <= 7e-136:
		tmp = c * (t * ((z * i) - (y2 * y4)))
	elif y0 <= 4.5e+211:
		tmp = j * (b * ((t * y4) - (x * y0)))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))))
	tmp = 0.0
	if (y0 <= -2.65e+256)
		tmp = t_1;
	elseif (y0 <= -9e+120)
		tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5))));
	elseif (y0 <= -1.55e+52)
		tmp = t_1;
	elseif (y0 <= 7e-136)
		tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4))));
	elseif (y0 <= 4.5e+211)
		tmp = Float64(j * Float64(b * Float64(Float64(t * y4) - Float64(x * y0))));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = c * (y0 * ((x * y2) - (z * y3)));
	tmp = 0.0;
	if (y0 <= -2.65e+256)
		tmp = t_1;
	elseif (y0 <= -9e+120)
		tmp = j * (t * ((b * y4) - (i * y5)));
	elseif (y0 <= -1.55e+52)
		tmp = t_1;
	elseif (y0 <= 7e-136)
		tmp = c * (t * ((z * i) - (y2 * y4)));
	elseif (y0 <= 4.5e+211)
		tmp = j * (b * ((t * y4) - (x * y0)));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -2.65e+256], t$95$1, If[LessEqual[y0, -9e+120], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -1.55e+52], t$95$1, If[LessEqual[y0, 7e-136], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 4.5e+211], N[(j * N[(b * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{if}\;y0 \leq -2.65 \cdot 10^{+256}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y0 \leq -9 \cdot 10^{+120}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\

\mathbf{elif}\;y0 \leq -1.55 \cdot 10^{+52}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y0 \leq 7 \cdot 10^{-136}:\\
\;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\

\mathbf{elif}\;y0 \leq 4.5 \cdot 10^{+211}:\\
\;\;\;\;j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t\_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if y0 < -2.65e256 or -8.99999999999999953e120 < y0 < -1.55e52 or 4.5e211 < y0

    1. Initial program 21.6%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 47.4%

      \[\leadsto \color{blue}{c \cdot \left(\left(-1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right) + y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
    4. Taylor expanded in y0 around inf 63.2%

      \[\leadsto \color{blue}{c \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)} \]

    if -2.65e256 < y0 < -8.99999999999999953e120

    1. Initial program 8.9%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 45.7%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in t around inf 50.7%

      \[\leadsto j \cdot \color{blue}{\left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)} \]

    if -1.55e52 < y0 < 7.00000000000000058e-136

    1. Initial program 24.3%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 35.9%

      \[\leadsto \color{blue}{c \cdot \left(\left(-1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right) + y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
    4. Taylor expanded in t around inf 35.6%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot \left(i \cdot z - y2 \cdot y4\right)\right)} \]

    if 7.00000000000000058e-136 < y0 < 4.5e211

    1. Initial program 33.6%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 39.4%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in b around inf 40.1%

      \[\leadsto j \cdot \color{blue}{\left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification43.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -2.65 \cdot 10^{+256}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;y0 \leq -9 \cdot 10^{+120}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \mathbf{elif}\;y0 \leq -1.55 \cdot 10^{+52}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;y0 \leq 7 \cdot 10^{-136}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq 4.5 \cdot 10^{+211}:\\ \;\;\;\;j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 25: 27.1% accurate, 3.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{if}\;j \leq -5.5 \cdot 10^{-68}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;j \leq -2.7 \cdot 10^{-292}:\\ \;\;\;\;a \cdot \left(y2 \cdot \left(x \cdot \left(-y1\right)\right)\right)\\ \mathbf{elif}\;j \leq 9 \cdot 10^{-10}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;j \leq 1.05 \cdot 10^{+200}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(y1 \cdot \left(y4 \cdot \left(-y3\right)\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* b (* x (- (* y a) (* j y0))))))
   (if (<= j -5.5e-68)
     t_1
     (if (<= j -2.7e-292)
       (* a (* y2 (* x (- y1))))
       (if (<= j 9e-10)
         (* c (* t (- (* z i) (* y2 y4))))
         (if (<= j 1.05e+200) t_1 (* j (* y1 (* y4 (- y3))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = b * (x * ((y * a) - (j * y0)));
	double tmp;
	if (j <= -5.5e-68) {
		tmp = t_1;
	} else if (j <= -2.7e-292) {
		tmp = a * (y2 * (x * -y1));
	} else if (j <= 9e-10) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (j <= 1.05e+200) {
		tmp = t_1;
	} else {
		tmp = j * (y1 * (y4 * -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 = b * (x * ((y * a) - (j * y0)))
    if (j <= (-5.5d-68)) then
        tmp = t_1
    else if (j <= (-2.7d-292)) then
        tmp = a * (y2 * (x * -y1))
    else if (j <= 9d-10) then
        tmp = c * (t * ((z * i) - (y2 * y4)))
    else if (j <= 1.05d+200) then
        tmp = t_1
    else
        tmp = j * (y1 * (y4 * -y3))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = b * (x * ((y * a) - (j * y0)));
	double tmp;
	if (j <= -5.5e-68) {
		tmp = t_1;
	} else if (j <= -2.7e-292) {
		tmp = a * (y2 * (x * -y1));
	} else if (j <= 9e-10) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (j <= 1.05e+200) {
		tmp = t_1;
	} else {
		tmp = j * (y1 * (y4 * -y3));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = b * (x * ((y * a) - (j * y0)))
	tmp = 0
	if j <= -5.5e-68:
		tmp = t_1
	elif j <= -2.7e-292:
		tmp = a * (y2 * (x * -y1))
	elif j <= 9e-10:
		tmp = c * (t * ((z * i) - (y2 * y4)))
	elif j <= 1.05e+200:
		tmp = t_1
	else:
		tmp = j * (y1 * (y4 * -y3))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0))))
	tmp = 0.0
	if (j <= -5.5e-68)
		tmp = t_1;
	elseif (j <= -2.7e-292)
		tmp = Float64(a * Float64(y2 * Float64(x * Float64(-y1))));
	elseif (j <= 9e-10)
		tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4))));
	elseif (j <= 1.05e+200)
		tmp = t_1;
	else
		tmp = Float64(j * Float64(y1 * Float64(y4 * 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)
	t_1 = b * (x * ((y * a) - (j * y0)));
	tmp = 0.0;
	if (j <= -5.5e-68)
		tmp = t_1;
	elseif (j <= -2.7e-292)
		tmp = a * (y2 * (x * -y1));
	elseif (j <= 9e-10)
		tmp = c * (t * ((z * i) - (y2 * y4)));
	elseif (j <= 1.05e+200)
		tmp = t_1;
	else
		tmp = j * (y1 * (y4 * -y3));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -5.5e-68], t$95$1, If[LessEqual[j, -2.7e-292], N[(a * N[(y2 * N[(x * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 9e-10], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.05e+200], t$95$1, N[(j * N[(y1 * N[(y4 * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{if}\;j \leq -5.5 \cdot 10^{-68}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;j \leq -2.7 \cdot 10^{-292}:\\
\;\;\;\;a \cdot \left(y2 \cdot \left(x \cdot \left(-y1\right)\right)\right)\\

\mathbf{elif}\;j \leq 9 \cdot 10^{-10}:\\
\;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\

\mathbf{elif}\;j \leq 1.05 \cdot 10^{+200}:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(y4 \cdot \left(-y3\right)\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if j < -5.5000000000000003e-68 or 8.9999999999999999e-10 < j < 1.04999999999999999e200

    1. Initial program 17.9%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 32.0%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in x around inf 41.1%

      \[\leadsto \color{blue}{b \cdot \left(x \cdot \left(a \cdot y - j \cdot y0\right)\right)} \]

    if -5.5000000000000003e-68 < j < -2.6999999999999999e-292

    1. Initial program 38.8%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y2 around inf 37.2%

      \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in a around -inf 45.7%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot \left(x \cdot y1 - t \cdot y5\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg45.7%

        \[\leadsto \color{blue}{-a \cdot \left(y2 \cdot \left(x \cdot y1 - t \cdot y5\right)\right)} \]
    6. Simplified45.7%

      \[\leadsto \color{blue}{-a \cdot \left(y2 \cdot \left(x \cdot y1 - t \cdot y5\right)\right)} \]
    7. Taylor expanded in x around inf 31.5%

      \[\leadsto -\color{blue}{a \cdot \left(x \cdot \left(y1 \cdot y2\right)\right)} \]
    8. Step-by-step derivation
      1. associate-*r*35.5%

        \[\leadsto -a \cdot \color{blue}{\left(\left(x \cdot y1\right) \cdot y2\right)} \]
    9. Simplified35.5%

      \[\leadsto -\color{blue}{a \cdot \left(\left(x \cdot y1\right) \cdot y2\right)} \]

    if -2.6999999999999999e-292 < j < 8.9999999999999999e-10

    1. Initial program 32.9%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 39.6%

      \[\leadsto \color{blue}{c \cdot \left(\left(-1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right) + y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
    4. Taylor expanded in t around inf 43.2%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot \left(i \cdot z - y2 \cdot y4\right)\right)} \]

    if 1.04999999999999999e200 < j

    1. Initial program 14.2%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 11.0%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in y3 around -inf 53.7%

      \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    5. Taylor expanded in y1 around inf 44.0%

      \[\leadsto -1 \cdot \color{blue}{\left(j \cdot \left(y1 \cdot \left(y3 \cdot y4\right)\right)\right)} \]
    6. Step-by-step derivation
      1. *-commutative44.0%

        \[\leadsto -1 \cdot \left(j \cdot \color{blue}{\left(\left(y3 \cdot y4\right) \cdot y1\right)}\right) \]
      2. *-commutative44.0%

        \[\leadsto -1 \cdot \left(j \cdot \left(\color{blue}{\left(y4 \cdot y3\right)} \cdot y1\right)\right) \]
    7. Simplified44.0%

      \[\leadsto -1 \cdot \color{blue}{\left(j \cdot \left(\left(y4 \cdot y3\right) \cdot y1\right)\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification40.9%

    \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -5.5 \cdot 10^{-68}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{elif}\;j \leq -2.7 \cdot 10^{-292}:\\ \;\;\;\;a \cdot \left(y2 \cdot \left(x \cdot \left(-y1\right)\right)\right)\\ \mathbf{elif}\;j \leq 9 \cdot 10^{-10}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;j \leq 1.05 \cdot 10^{+200}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(y1 \cdot \left(y4 \cdot \left(-y3\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 26: 21.5% accurate, 3.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\ \mathbf{if}\;y0 \leq -2.6 \cdot 10^{+258}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y0 \leq -1.18 \cdot 10^{+212}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq -1.08 \cdot 10^{-35}:\\ \;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\ \mathbf{elif}\;y0 \leq 2.8 \cdot 10^{+55}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* c (* x (* y0 y2)))))
   (if (<= y0 -2.6e+258)
     t_1
     (if (<= y0 -1.18e+212)
       (* c (* y (* y3 y4)))
       (if (<= y0 -1.08e-35)
         (* j (* y0 (* y3 y5)))
         (if (<= y0 2.8e+55) (* b (* x (* y a))) t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = c * (x * (y0 * y2));
	double tmp;
	if (y0 <= -2.6e+258) {
		tmp = t_1;
	} else if (y0 <= -1.18e+212) {
		tmp = c * (y * (y3 * y4));
	} else if (y0 <= -1.08e-35) {
		tmp = j * (y0 * (y3 * y5));
	} else if (y0 <= 2.8e+55) {
		tmp = b * (x * (y * a));
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = c * (x * (y0 * y2))
    if (y0 <= (-2.6d+258)) then
        tmp = t_1
    else if (y0 <= (-1.18d+212)) then
        tmp = c * (y * (y3 * y4))
    else if (y0 <= (-1.08d-35)) then
        tmp = j * (y0 * (y3 * y5))
    else if (y0 <= 2.8d+55) then
        tmp = b * (x * (y * a))
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = c * (x * (y0 * y2));
	double tmp;
	if (y0 <= -2.6e+258) {
		tmp = t_1;
	} else if (y0 <= -1.18e+212) {
		tmp = c * (y * (y3 * y4));
	} else if (y0 <= -1.08e-35) {
		tmp = j * (y0 * (y3 * y5));
	} else if (y0 <= 2.8e+55) {
		tmp = b * (x * (y * a));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = c * (x * (y0 * y2))
	tmp = 0
	if y0 <= -2.6e+258:
		tmp = t_1
	elif y0 <= -1.18e+212:
		tmp = c * (y * (y3 * y4))
	elif y0 <= -1.08e-35:
		tmp = j * (y0 * (y3 * y5))
	elif y0 <= 2.8e+55:
		tmp = b * (x * (y * a))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(c * Float64(x * Float64(y0 * y2)))
	tmp = 0.0
	if (y0 <= -2.6e+258)
		tmp = t_1;
	elseif (y0 <= -1.18e+212)
		tmp = Float64(c * Float64(y * Float64(y3 * y4)));
	elseif (y0 <= -1.08e-35)
		tmp = Float64(j * Float64(y0 * Float64(y3 * y5)));
	elseif (y0 <= 2.8e+55)
		tmp = Float64(b * Float64(x * Float64(y * a)));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = c * (x * (y0 * y2));
	tmp = 0.0;
	if (y0 <= -2.6e+258)
		tmp = t_1;
	elseif (y0 <= -1.18e+212)
		tmp = c * (y * (y3 * y4));
	elseif (y0 <= -1.08e-35)
		tmp = j * (y0 * (y3 * y5));
	elseif (y0 <= 2.8e+55)
		tmp = b * (x * (y * a));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -2.6e+258], t$95$1, If[LessEqual[y0, -1.18e+212], N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -1.08e-35], N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 2.8e+55], N[(b * N[(x * N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{if}\;y0 \leq -2.6 \cdot 10^{+258}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y0 \leq -1.18 \cdot 10^{+212}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\

\mathbf{elif}\;y0 \leq -1.08 \cdot 10^{-35}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\

\mathbf{elif}\;y0 \leq 2.8 \cdot 10^{+55}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t\_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if y0 < -2.60000000000000011e258 or 2.8000000000000001e55 < y0

    1. Initial program 24.8%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 49.6%

      \[\leadsto \color{blue}{c \cdot \left(\left(-1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right) + y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
    4. Taylor expanded in y0 around inf 56.1%

      \[\leadsto \color{blue}{c \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)} \]
    5. Taylor expanded in x around inf 43.9%

      \[\leadsto \color{blue}{c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)} \]

    if -2.60000000000000011e258 < y0 < -1.18000000000000003e212

    1. Initial program 0.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y around inf 44.4%

      \[\leadsto \color{blue}{y \cdot \left(\left(-1 \cdot \left(k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    4. Taylor expanded in y3 around inf 67.6%

      \[\leadsto \color{blue}{y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    5. Taylor expanded in c around inf 67.0%

      \[\leadsto \color{blue}{c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)} \]

    if -1.18000000000000003e212 < y0 < -1.08000000000000003e-35

    1. Initial program 22.1%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 29.6%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in y0 around inf 32.4%

      \[\leadsto j \cdot \color{blue}{\left(y0 \cdot \left(y3 \cdot y5 - b \cdot x\right)\right)} \]
    5. Taylor expanded in y3 around inf 26.3%

      \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]
    6. Step-by-step derivation
      1. *-commutative26.3%

        \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y5 \cdot y3\right)}\right) \]
    7. Simplified26.3%

      \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y5 \cdot y3\right)}\right) \]

    if -1.08000000000000003e-35 < y0 < 2.8000000000000001e55

    1. Initial program 27.8%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 35.6%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in x around inf 28.5%

      \[\leadsto \color{blue}{b \cdot \left(x \cdot \left(a \cdot y - j \cdot y0\right)\right)} \]
    5. Taylor expanded in a around inf 26.3%

      \[\leadsto b \cdot \left(x \cdot \color{blue}{\left(a \cdot y\right)}\right) \]
    6. Step-by-step derivation
      1. *-commutative26.3%

        \[\leadsto b \cdot \left(x \cdot \color{blue}{\left(y \cdot a\right)}\right) \]
    7. Simplified26.3%

      \[\leadsto b \cdot \left(x \cdot \color{blue}{\left(y \cdot a\right)}\right) \]
  3. Recombined 4 regimes into one program.
  4. Final simplification32.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -2.6 \cdot 10^{+258}:\\ \;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\ \mathbf{elif}\;y0 \leq -1.18 \cdot 10^{+212}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq -1.08 \cdot 10^{-35}:\\ \;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\ \mathbf{elif}\;y0 \leq 2.8 \cdot 10^{+55}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 27: 21.9% accurate, 3.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\ \mathbf{if}\;y0 \leq -2.6 \cdot 10^{+258}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y0 \leq -2.65 \cdot 10^{+211}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq -5.5 \cdot 10^{-33}:\\ \;\;\;\;j \cdot \left(y5 \cdot \left(y0 \cdot y3\right)\right)\\ \mathbf{elif}\;y0 \leq 1.85 \cdot 10^{+55}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* c (* x (* y0 y2)))))
   (if (<= y0 -2.6e+258)
     t_1
     (if (<= y0 -2.65e+211)
       (* c (* y (* y3 y4)))
       (if (<= y0 -5.5e-33)
         (* j (* y5 (* y0 y3)))
         (if (<= y0 1.85e+55) (* b (* x (* y a))) t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = c * (x * (y0 * y2));
	double tmp;
	if (y0 <= -2.6e+258) {
		tmp = t_1;
	} else if (y0 <= -2.65e+211) {
		tmp = c * (y * (y3 * y4));
	} else if (y0 <= -5.5e-33) {
		tmp = j * (y5 * (y0 * y3));
	} else if (y0 <= 1.85e+55) {
		tmp = b * (x * (y * a));
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = c * (x * (y0 * y2))
    if (y0 <= (-2.6d+258)) then
        tmp = t_1
    else if (y0 <= (-2.65d+211)) then
        tmp = c * (y * (y3 * y4))
    else if (y0 <= (-5.5d-33)) then
        tmp = j * (y5 * (y0 * y3))
    else if (y0 <= 1.85d+55) then
        tmp = b * (x * (y * a))
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = c * (x * (y0 * y2));
	double tmp;
	if (y0 <= -2.6e+258) {
		tmp = t_1;
	} else if (y0 <= -2.65e+211) {
		tmp = c * (y * (y3 * y4));
	} else if (y0 <= -5.5e-33) {
		tmp = j * (y5 * (y0 * y3));
	} else if (y0 <= 1.85e+55) {
		tmp = b * (x * (y * a));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = c * (x * (y0 * y2))
	tmp = 0
	if y0 <= -2.6e+258:
		tmp = t_1
	elif y0 <= -2.65e+211:
		tmp = c * (y * (y3 * y4))
	elif y0 <= -5.5e-33:
		tmp = j * (y5 * (y0 * y3))
	elif y0 <= 1.85e+55:
		tmp = b * (x * (y * a))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(c * Float64(x * Float64(y0 * y2)))
	tmp = 0.0
	if (y0 <= -2.6e+258)
		tmp = t_1;
	elseif (y0 <= -2.65e+211)
		tmp = Float64(c * Float64(y * Float64(y3 * y4)));
	elseif (y0 <= -5.5e-33)
		tmp = Float64(j * Float64(y5 * Float64(y0 * y3)));
	elseif (y0 <= 1.85e+55)
		tmp = Float64(b * Float64(x * Float64(y * a)));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = c * (x * (y0 * y2));
	tmp = 0.0;
	if (y0 <= -2.6e+258)
		tmp = t_1;
	elseif (y0 <= -2.65e+211)
		tmp = c * (y * (y3 * y4));
	elseif (y0 <= -5.5e-33)
		tmp = j * (y5 * (y0 * y3));
	elseif (y0 <= 1.85e+55)
		tmp = b * (x * (y * a));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -2.6e+258], t$95$1, If[LessEqual[y0, -2.65e+211], N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -5.5e-33], N[(j * N[(y5 * N[(y0 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.85e+55], N[(b * N[(x * N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{if}\;y0 \leq -2.6 \cdot 10^{+258}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y0 \leq -2.65 \cdot 10^{+211}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\

\mathbf{elif}\;y0 \leq -5.5 \cdot 10^{-33}:\\
\;\;\;\;j \cdot \left(y5 \cdot \left(y0 \cdot y3\right)\right)\\

\mathbf{elif}\;y0 \leq 1.85 \cdot 10^{+55}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t\_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if y0 < -2.60000000000000011e258 or 1.8500000000000001e55 < y0

    1. Initial program 24.8%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 49.6%

      \[\leadsto \color{blue}{c \cdot \left(\left(-1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right) + y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
    4. Taylor expanded in y0 around inf 56.1%

      \[\leadsto \color{blue}{c \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)} \]
    5. Taylor expanded in x around inf 43.9%

      \[\leadsto \color{blue}{c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)} \]

    if -2.60000000000000011e258 < y0 < -2.64999999999999987e211

    1. Initial program 0.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y around inf 44.4%

      \[\leadsto \color{blue}{y \cdot \left(\left(-1 \cdot \left(k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    4. Taylor expanded in y3 around inf 67.6%

      \[\leadsto \color{blue}{y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    5. Taylor expanded in c around inf 67.0%

      \[\leadsto \color{blue}{c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)} \]

    if -2.64999999999999987e211 < y0 < -5.5e-33

    1. Initial program 22.1%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf 29.6%

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in y0 around inf 32.4%

      \[\leadsto j \cdot \color{blue}{\left(y0 \cdot \left(y3 \cdot y5 - b \cdot x\right)\right)} \]
    5. Taylor expanded in y3 around inf 26.3%

      \[\leadsto \color{blue}{j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)} \]
    6. Step-by-step derivation
      1. associate-*r*26.3%

        \[\leadsto j \cdot \color{blue}{\left(\left(y0 \cdot y3\right) \cdot y5\right)} \]
      2. *-commutative26.3%

        \[\leadsto j \cdot \left(\color{blue}{\left(y3 \cdot y0\right)} \cdot y5\right) \]
    7. Simplified26.3%

      \[\leadsto \color{blue}{j \cdot \left(\left(y3 \cdot y0\right) \cdot y5\right)} \]

    if -5.5e-33 < y0 < 1.8500000000000001e55

    1. Initial program 27.8%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 35.6%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in x around inf 28.5%

      \[\leadsto \color{blue}{b \cdot \left(x \cdot \left(a \cdot y - j \cdot y0\right)\right)} \]
    5. Taylor expanded in a around inf 26.3%

      \[\leadsto b \cdot \left(x \cdot \color{blue}{\left(a \cdot y\right)}\right) \]
    6. Step-by-step derivation
      1. *-commutative26.3%

        \[\leadsto b \cdot \left(x \cdot \color{blue}{\left(y \cdot a\right)}\right) \]
    7. Simplified26.3%

      \[\leadsto b \cdot \left(x \cdot \color{blue}{\left(y \cdot a\right)}\right) \]
  3. Recombined 4 regimes into one program.
  4. Final simplification32.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -2.6 \cdot 10^{+258}:\\ \;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\ \mathbf{elif}\;y0 \leq -2.65 \cdot 10^{+211}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq -5.5 \cdot 10^{-33}:\\ \;\;\;\;j \cdot \left(y5 \cdot \left(y0 \cdot y3\right)\right)\\ \mathbf{elif}\;y0 \leq 1.85 \cdot 10^{+55}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 28: 22.2% accurate, 5.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y0 \leq -1.25 \cdot 10^{-60} \lor \neg \left(y0 \leq 8.5 \cdot 10^{+55}\right):\\ \;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (if (or (<= y0 -1.25e-60) (not (<= y0 8.5e+55)))
   (* c (* x (* y0 y2)))
   (* b (* x (* y a)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if ((y0 <= -1.25e-60) || !(y0 <= 8.5e+55)) {
		tmp = c * (x * (y0 * y2));
	} else {
		tmp = b * (x * (y * a));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: tmp
    if ((y0 <= (-1.25d-60)) .or. (.not. (y0 <= 8.5d+55))) then
        tmp = c * (x * (y0 * y2))
    else
        tmp = b * (x * (y * a))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if ((y0 <= -1.25e-60) || !(y0 <= 8.5e+55)) {
		tmp = c * (x * (y0 * y2));
	} else {
		tmp = b * (x * (y * a));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if (y0 <= -1.25e-60) or not (y0 <= 8.5e+55):
		tmp = c * (x * (y0 * y2))
	else:
		tmp = b * (x * (y * a))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if ((y0 <= -1.25e-60) || !(y0 <= 8.5e+55))
		tmp = Float64(c * Float64(x * Float64(y0 * y2)));
	else
		tmp = Float64(b * Float64(x * Float64(y * a)));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0;
	if ((y0 <= -1.25e-60) || ~((y0 <= 8.5e+55)))
		tmp = c * (x * (y0 * y2));
	else
		tmp = b * (x * (y * a));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[Or[LessEqual[y0, -1.25e-60], N[Not[LessEqual[y0, 8.5e+55]], $MachinePrecision]], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(x * N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;y0 \leq -1.25 \cdot 10^{-60} \lor \neg \left(y0 \leq 8.5 \cdot 10^{+55}\right):\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\

\mathbf{else}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if y0 < -1.25e-60 or 8.50000000000000002e55 < y0

    1. Initial program 22.4%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 39.2%

      \[\leadsto \color{blue}{c \cdot \left(\left(-1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right) + y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
    4. Taylor expanded in y0 around inf 44.6%

      \[\leadsto \color{blue}{c \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)} \]
    5. Taylor expanded in x around inf 32.6%

      \[\leadsto \color{blue}{c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)} \]

    if -1.25e-60 < y0 < 8.50000000000000002e55

    1. Initial program 27.5%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 35.3%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in x around inf 28.2%

      \[\leadsto \color{blue}{b \cdot \left(x \cdot \left(a \cdot y - j \cdot y0\right)\right)} \]
    5. Taylor expanded in a around inf 26.0%

      \[\leadsto b \cdot \left(x \cdot \color{blue}{\left(a \cdot y\right)}\right) \]
    6. Step-by-step derivation
      1. *-commutative26.0%

        \[\leadsto b \cdot \left(x \cdot \color{blue}{\left(y \cdot a\right)}\right) \]
    7. Simplified26.0%

      \[\leadsto b \cdot \left(x \cdot \color{blue}{\left(y \cdot a\right)}\right) \]
  3. Recombined 2 regimes into one program.
  4. Final simplification29.1%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -1.25 \cdot 10^{-60} \lor \neg \left(y0 \leq 8.5 \cdot 10^{+55}\right):\\ \;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 29: 22.4% accurate, 5.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;x \leq -3 \cdot 10^{+21} \lor \neg \left(x \leq 4.7 \cdot 10^{-64}\right):\\ \;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (if (or (<= x -3e+21) (not (<= x 4.7e-64)))
   (* a (* (* x y) b))
   (* c (* y (* y3 y4)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if ((x <= -3e+21) || !(x <= 4.7e-64)) {
		tmp = a * ((x * y) * b);
	} else {
		tmp = c * (y * (y3 * y4));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: tmp
    if ((x <= (-3d+21)) .or. (.not. (x <= 4.7d-64))) then
        tmp = a * ((x * y) * b)
    else
        tmp = c * (y * (y3 * y4))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if ((x <= -3e+21) || !(x <= 4.7e-64)) {
		tmp = a * ((x * y) * b);
	} else {
		tmp = c * (y * (y3 * y4));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if (x <= -3e+21) or not (x <= 4.7e-64):
		tmp = a * ((x * y) * b)
	else:
		tmp = c * (y * (y3 * y4))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if ((x <= -3e+21) || !(x <= 4.7e-64))
		tmp = Float64(a * Float64(Float64(x * y) * b));
	else
		tmp = Float64(c * Float64(y * Float64(y3 * y4)));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0;
	if ((x <= -3e+21) || ~((x <= 4.7e-64)))
		tmp = a * ((x * y) * b);
	else
		tmp = c * (y * (y3 * y4));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[Or[LessEqual[x, -3e+21], N[Not[LessEqual[x, 4.7e-64]], $MachinePrecision]], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;x \leq -3 \cdot 10^{+21} \lor \neg \left(x \leq 4.7 \cdot 10^{-64}\right):\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\

\mathbf{else}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if x < -3e21 or 4.6999999999999998e-64 < x

    1. Initial program 15.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 32.0%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in x around inf 37.1%

      \[\leadsto \color{blue}{b \cdot \left(x \cdot \left(a \cdot y - j \cdot y0\right)\right)} \]
    5. Taylor expanded in a around inf 34.5%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]

    if -3e21 < x < 4.6999999999999998e-64

    1. Initial program 39.2%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y around inf 34.4%

      \[\leadsto \color{blue}{y \cdot \left(\left(-1 \cdot \left(k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    4. Taylor expanded in y3 around inf 31.8%

      \[\leadsto \color{blue}{y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    5. Taylor expanded in c around inf 20.1%

      \[\leadsto \color{blue}{c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification28.5%

    \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -3 \cdot 10^{+21} \lor \neg \left(x \leq 4.7 \cdot 10^{-64}\right):\\ \;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 30: 21.1% accurate, 5.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y0 \leq -7 \cdot 10^{-88}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(z \cdot \left(-y3\right)\right)\right)\\ \mathbf{elif}\;y0 \leq 4.3 \cdot 10^{+55}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (if (<= y0 -7e-88)
   (* c (* y0 (* z (- y3))))
   (if (<= y0 4.3e+55) (* b (* x (* y a))) (* c (* x (* y0 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 (y0 <= -7e-88) {
		tmp = c * (y0 * (z * -y3));
	} else if (y0 <= 4.3e+55) {
		tmp = b * (x * (y * a));
	} else {
		tmp = c * (x * (y0 * 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 (y0 <= (-7d-88)) then
        tmp = c * (y0 * (z * -y3))
    else if (y0 <= 4.3d+55) then
        tmp = b * (x * (y * a))
    else
        tmp = c * (x * (y0 * 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 (y0 <= -7e-88) {
		tmp = c * (y0 * (z * -y3));
	} else if (y0 <= 4.3e+55) {
		tmp = b * (x * (y * a));
	} else {
		tmp = c * (x * (y0 * y2));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if y0 <= -7e-88:
		tmp = c * (y0 * (z * -y3))
	elif y0 <= 4.3e+55:
		tmp = b * (x * (y * a))
	else:
		tmp = c * (x * (y0 * 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 (y0 <= -7e-88)
		tmp = Float64(c * Float64(y0 * Float64(z * Float64(-y3))));
	elseif (y0 <= 4.3e+55)
		tmp = Float64(b * Float64(x * Float64(y * a)));
	else
		tmp = Float64(c * Float64(x * Float64(y0 * 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 (y0 <= -7e-88)
		tmp = c * (y0 * (z * -y3));
	elseif (y0 <= 4.3e+55)
		tmp = b * (x * (y * a));
	else
		tmp = c * (x * (y0 * 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[y0, -7e-88], N[(c * N[(y0 * N[(z * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 4.3e+55], N[(b * N[(x * N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;y0 \leq -7 \cdot 10^{-88}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(z \cdot \left(-y3\right)\right)\right)\\

\mathbf{elif}\;y0 \leq 4.3 \cdot 10^{+55}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\

\mathbf{else}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if y0 < -7.0000000000000002e-88

    1. Initial program 22.6%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 32.5%

      \[\leadsto \color{blue}{c \cdot \left(\left(-1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right) + y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
    4. Taylor expanded in y0 around inf 35.7%

      \[\leadsto \color{blue}{c \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)} \]
    5. Taylor expanded in x around 0 28.0%

      \[\leadsto \color{blue}{-1 \cdot \left(c \cdot \left(y0 \cdot \left(y3 \cdot z\right)\right)\right)} \]
    6. Step-by-step derivation
      1. associate-*r*28.0%

        \[\leadsto \color{blue}{\left(-1 \cdot c\right) \cdot \left(y0 \cdot \left(y3 \cdot z\right)\right)} \]
      2. mul-1-neg28.0%

        \[\leadsto \color{blue}{\left(-c\right)} \cdot \left(y0 \cdot \left(y3 \cdot z\right)\right) \]
    7. Simplified28.0%

      \[\leadsto \color{blue}{\left(-c\right) \cdot \left(y0 \cdot \left(y3 \cdot z\right)\right)} \]

    if -7.0000000000000002e-88 < y0 < 4.2999999999999999e55

    1. Initial program 27.1%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 36.9%

      \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
    4. Taylor expanded in x around inf 30.1%

      \[\leadsto \color{blue}{b \cdot \left(x \cdot \left(a \cdot y - j \cdot y0\right)\right)} \]
    5. Taylor expanded in a around inf 27.7%

      \[\leadsto b \cdot \left(x \cdot \color{blue}{\left(a \cdot y\right)}\right) \]
    6. Step-by-step derivation
      1. *-commutative27.7%

        \[\leadsto b \cdot \left(x \cdot \color{blue}{\left(y \cdot a\right)}\right) \]
    7. Simplified27.7%

      \[\leadsto b \cdot \left(x \cdot \color{blue}{\left(y \cdot a\right)}\right) \]

    if 4.2999999999999999e55 < y0

    1. Initial program 23.9%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in c around inf 47.6%

      \[\leadsto \color{blue}{c \cdot \left(\left(-1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right) + y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
    4. Taylor expanded in y0 around inf 51.6%

      \[\leadsto \color{blue}{c \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)} \]
    5. Taylor expanded in x around inf 40.8%

      \[\leadsto \color{blue}{c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification30.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -7 \cdot 10^{-88}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(z \cdot \left(-y3\right)\right)\right)\\ \mathbf{elif}\;y0 \leq 4.3 \cdot 10^{+55}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 31: 17.1% accurate, 13.6× speedup?

\[\begin{array}{l} \\ a \cdot \left(\left(x \cdot y\right) \cdot b\right) \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (* a (* (* x y) b)))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	return a * ((x * y) * b);
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    code = a * ((x * y) * b)
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	return a * ((x * y) * b);
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	return a * ((x * y) * b)
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	return Float64(a * Float64(Float64(x * y) * b))
end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = a * ((x * y) * b);
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
a \cdot \left(\left(x \cdot y\right) \cdot b\right)
\end{array}
Derivation
  1. Initial program 25.1%

    \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
  2. Add Preprocessing
  3. Taylor expanded in b around inf 33.7%

    \[\leadsto \left(\color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\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) \]
  4. Taylor expanded in x around inf 28.6%

    \[\leadsto \color{blue}{b \cdot \left(x \cdot \left(a \cdot y - j \cdot y0\right)\right)} \]
  5. Taylor expanded in a around inf 22.4%

    \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
  6. Final simplification22.4%

    \[\leadsto a \cdot \left(\left(x \cdot y\right) \cdot b\right) \]
  7. Add Preprocessing

Developer target: 28.1% accurate, 0.7× speedup?

\[\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} \]
(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}

Reproduce

?
herbie shell --seed 2024130 
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
  :name "Linear.Matrix:det44 from linear-1.19.1.3"
  :precision binary64

  :alt
  (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)))))