Linear.Matrix:det44 from linear-1.19.1.3

Percentage Accurate: 30.0% → 39.4%
Time: 1.8min
Alternatives: 34
Speedup: 3.1×

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 34 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.0% 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.4% accurate, 1.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot b - c \cdot i\\ t_2 := t \cdot j - y \cdot k\\ t_3 := x \cdot y - z \cdot t\\ t_4 := z \cdot k - x \cdot j\\ t_5 := c \cdot i - a \cdot b\\ t_6 := z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) + t \cdot t\_5\right)\right)\\ t_7 := k \cdot y2 - j \cdot y3\\ t_8 := b \cdot \left(\left(a \cdot t\_3 + y4 \cdot t\_2\right) + y0 \cdot t\_4\right)\\ t_9 := y1 \cdot y4 - y0 \cdot y5\\ \mathbf{if}\;i \leq -2.6 \cdot 10^{+172}:\\ \;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + \left(y5 \cdot \left(y \cdot k - t \cdot j\right) - c \cdot t\_3\right)\right)\\ \mathbf{elif}\;i \leq -1.16 \cdot 10^{+96}:\\ \;\;\;\;t\_8\\ \mathbf{elif}\;i \leq -1.9 \cdot 10^{+56}:\\ \;\;\;\;t \cdot \left(\left(z \cdot t\_5 + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;i \leq -7400000:\\ \;\;\;\;x \cdot \left(\left(y \cdot t\_1 + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\ \mathbf{elif}\;i \leq -3.3 \cdot 10^{-46}:\\ \;\;\;\;t\_6\\ \mathbf{elif}\;i \leq -1.35 \cdot 10^{-209}:\\ \;\;\;\;y4 \cdot \left(\left(b \cdot t\_2 + y1 \cdot t\_7\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;i \leq -1.58 \cdot 10^{-282}:\\ \;\;\;\;y2 \cdot \left(k \cdot t\_9 - c \cdot \left(t \cdot y4\right)\right)\\ \mathbf{elif}\;i \leq 4.7 \cdot 10^{-282}:\\ \;\;\;\;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 t\_4\right)\\ \mathbf{elif}\;i \leq 2.75 \cdot 10^{-163}:\\ \;\;\;\;t\_6\\ \mathbf{elif}\;i \leq 4.3 \cdot 10^{-100}:\\ \;\;\;\;y \cdot \left(\left(k \cdot \left(i \cdot y5 - b \cdot y4\right) + x \cdot t\_1\right) + y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\ \mathbf{elif}\;i \leq 3.3 \cdot 10^{-47}:\\ \;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\ \mathbf{elif}\;i \leq 5.4 \cdot 10^{-24}:\\ \;\;\;\;t\_7 \cdot t\_9 + c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{elif}\;i \leq 1.15 \cdot 10^{+126}:\\ \;\;\;\;t\_8\\ \mathbf{elif}\;i \leq 10^{+223}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(k \cdot \left(i \cdot \left(-y1\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 (- (* a b) (* c i)))
        (t_2 (- (* t j) (* y k)))
        (t_3 (- (* x y) (* z t)))
        (t_4 (- (* z k) (* x j)))
        (t_5 (- (* c i) (* a b)))
        (t_6
         (*
          z
          (+
           (* k (- (* b y0) (* i y1)))
           (+ (* y3 (- (* a y1) (* c y0))) (* t t_5)))))
        (t_7 (- (* k y2) (* j y3)))
        (t_8 (* b (+ (+ (* a t_3) (* y4 t_2)) (* y0 t_4))))
        (t_9 (- (* y1 y4) (* y0 y5))))
   (if (<= i -2.6e+172)
     (*
      i
      (+ (* y1 (- (* x j) (* z k))) (- (* y5 (- (* y k) (* t j))) (* c t_3))))
     (if (<= i -1.16e+96)
       t_8
       (if (<= i -1.9e+56)
         (*
          t
          (+
           (+ (* z t_5) (* j (- (* b y4) (* i y5))))
           (* y2 (- (* a y5) (* c y4)))))
         (if (<= i -7400000.0)
           (*
            x
            (+
             (+ (* y t_1) (* y2 (- (* c y0) (* a y1))))
             (* j (- (* i y1) (* b y0)))))
           (if (<= i -3.3e-46)
             t_6
             (if (<= i -1.35e-209)
               (* y4 (+ (+ (* b t_2) (* y1 t_7)) (* c (- (* y y3) (* t y2)))))
               (if (<= i -1.58e-282)
                 (* y2 (- (* k t_9) (* c (* t y4))))
                 (if (<= i 4.7e-282)
                   (*
                    y0
                    (+
                     (+
                      (* y5 (- (* j y3) (* k y2)))
                      (* c (- (* x y2) (* z y3))))
                     (* b t_4)))
                   (if (<= i 2.75e-163)
                     t_6
                     (if (<= i 4.3e-100)
                       (*
                        y
                        (+
                         (+ (* k (- (* i y5) (* b y4))) (* x t_1))
                         (* y3 (- (* c y4) (* a y5)))))
                       (if (<= i 3.3e-47)
                         (* b (* z (- (* k y0) (* t a))))
                         (if (<= i 5.4e-24)
                           (+ (* t_7 t_9) (* c (* y (* y3 y4))))
                           (if (<= i 1.15e+126)
                             t_8
                             (if (<= i 1e+223)
                               (* c (* t (- (* z i) (* y2 y4))))
                               (* z (* k (* i (- y1))))))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (a * b) - (c * i);
	double t_2 = (t * j) - (y * k);
	double t_3 = (x * y) - (z * t);
	double t_4 = (z * k) - (x * j);
	double t_5 = (c * i) - (a * b);
	double t_6 = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_5)));
	double t_7 = (k * y2) - (j * y3);
	double t_8 = b * (((a * t_3) + (y4 * t_2)) + (y0 * t_4));
	double t_9 = (y1 * y4) - (y0 * y5);
	double tmp;
	if (i <= -2.6e+172) {
		tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * t_3)));
	} else if (i <= -1.16e+96) {
		tmp = t_8;
	} else if (i <= -1.9e+56) {
		tmp = t * (((z * t_5) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * y4))));
	} else if (i <= -7400000.0) {
		tmp = x * (((y * t_1) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
	} else if (i <= -3.3e-46) {
		tmp = t_6;
	} else if (i <= -1.35e-209) {
		tmp = y4 * (((b * t_2) + (y1 * t_7)) + (c * ((y * y3) - (t * y2))));
	} else if (i <= -1.58e-282) {
		tmp = y2 * ((k * t_9) - (c * (t * y4)));
	} else if (i <= 4.7e-282) {
		tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * t_4));
	} else if (i <= 2.75e-163) {
		tmp = t_6;
	} else if (i <= 4.3e-100) {
		tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_1)) + (y3 * ((c * y4) - (a * y5))));
	} else if (i <= 3.3e-47) {
		tmp = b * (z * ((k * y0) - (t * a)));
	} else if (i <= 5.4e-24) {
		tmp = (t_7 * t_9) + (c * (y * (y3 * y4)));
	} else if (i <= 1.15e+126) {
		tmp = t_8;
	} else if (i <= 1e+223) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else {
		tmp = z * (k * (i * -y1));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: 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 = (a * b) - (c * i)
    t_2 = (t * j) - (y * k)
    t_3 = (x * y) - (z * t)
    t_4 = (z * k) - (x * j)
    t_5 = (c * i) - (a * b)
    t_6 = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_5)))
    t_7 = (k * y2) - (j * y3)
    t_8 = b * (((a * t_3) + (y4 * t_2)) + (y0 * t_4))
    t_9 = (y1 * y4) - (y0 * y5)
    if (i <= (-2.6d+172)) then
        tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * t_3)))
    else if (i <= (-1.16d+96)) then
        tmp = t_8
    else if (i <= (-1.9d+56)) then
        tmp = t * (((z * t_5) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * y4))))
    else if (i <= (-7400000.0d0)) then
        tmp = x * (((y * t_1) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
    else if (i <= (-3.3d-46)) then
        tmp = t_6
    else if (i <= (-1.35d-209)) then
        tmp = y4 * (((b * t_2) + (y1 * t_7)) + (c * ((y * y3) - (t * y2))))
    else if (i <= (-1.58d-282)) then
        tmp = y2 * ((k * t_9) - (c * (t * y4)))
    else if (i <= 4.7d-282) then
        tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * t_4))
    else if (i <= 2.75d-163) then
        tmp = t_6
    else if (i <= 4.3d-100) then
        tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_1)) + (y3 * ((c * y4) - (a * y5))))
    else if (i <= 3.3d-47) then
        tmp = b * (z * ((k * y0) - (t * a)))
    else if (i <= 5.4d-24) then
        tmp = (t_7 * t_9) + (c * (y * (y3 * y4)))
    else if (i <= 1.15d+126) then
        tmp = t_8
    else if (i <= 1d+223) then
        tmp = c * (t * ((z * i) - (y2 * y4)))
    else
        tmp = z * (k * (i * -y1))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (a * b) - (c * i);
	double t_2 = (t * j) - (y * k);
	double t_3 = (x * y) - (z * t);
	double t_4 = (z * k) - (x * j);
	double t_5 = (c * i) - (a * b);
	double t_6 = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_5)));
	double t_7 = (k * y2) - (j * y3);
	double t_8 = b * (((a * t_3) + (y4 * t_2)) + (y0 * t_4));
	double t_9 = (y1 * y4) - (y0 * y5);
	double tmp;
	if (i <= -2.6e+172) {
		tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * t_3)));
	} else if (i <= -1.16e+96) {
		tmp = t_8;
	} else if (i <= -1.9e+56) {
		tmp = t * (((z * t_5) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * y4))));
	} else if (i <= -7400000.0) {
		tmp = x * (((y * t_1) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
	} else if (i <= -3.3e-46) {
		tmp = t_6;
	} else if (i <= -1.35e-209) {
		tmp = y4 * (((b * t_2) + (y1 * t_7)) + (c * ((y * y3) - (t * y2))));
	} else if (i <= -1.58e-282) {
		tmp = y2 * ((k * t_9) - (c * (t * y4)));
	} else if (i <= 4.7e-282) {
		tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * t_4));
	} else if (i <= 2.75e-163) {
		tmp = t_6;
	} else if (i <= 4.3e-100) {
		tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_1)) + (y3 * ((c * y4) - (a * y5))));
	} else if (i <= 3.3e-47) {
		tmp = b * (z * ((k * y0) - (t * a)));
	} else if (i <= 5.4e-24) {
		tmp = (t_7 * t_9) + (c * (y * (y3 * y4)));
	} else if (i <= 1.15e+126) {
		tmp = t_8;
	} else if (i <= 1e+223) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else {
		tmp = z * (k * (i * -y1));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = (a * b) - (c * i)
	t_2 = (t * j) - (y * k)
	t_3 = (x * y) - (z * t)
	t_4 = (z * k) - (x * j)
	t_5 = (c * i) - (a * b)
	t_6 = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_5)))
	t_7 = (k * y2) - (j * y3)
	t_8 = b * (((a * t_3) + (y4 * t_2)) + (y0 * t_4))
	t_9 = (y1 * y4) - (y0 * y5)
	tmp = 0
	if i <= -2.6e+172:
		tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * t_3)))
	elif i <= -1.16e+96:
		tmp = t_8
	elif i <= -1.9e+56:
		tmp = t * (((z * t_5) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * y4))))
	elif i <= -7400000.0:
		tmp = x * (((y * t_1) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
	elif i <= -3.3e-46:
		tmp = t_6
	elif i <= -1.35e-209:
		tmp = y4 * (((b * t_2) + (y1 * t_7)) + (c * ((y * y3) - (t * y2))))
	elif i <= -1.58e-282:
		tmp = y2 * ((k * t_9) - (c * (t * y4)))
	elif i <= 4.7e-282:
		tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * t_4))
	elif i <= 2.75e-163:
		tmp = t_6
	elif i <= 4.3e-100:
		tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_1)) + (y3 * ((c * y4) - (a * y5))))
	elif i <= 3.3e-47:
		tmp = b * (z * ((k * y0) - (t * a)))
	elif i <= 5.4e-24:
		tmp = (t_7 * t_9) + (c * (y * (y3 * y4)))
	elif i <= 1.15e+126:
		tmp = t_8
	elif i <= 1e+223:
		tmp = c * (t * ((z * i) - (y2 * y4)))
	else:
		tmp = z * (k * (i * -y1))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(Float64(a * b) - Float64(c * i))
	t_2 = Float64(Float64(t * j) - Float64(y * k))
	t_3 = Float64(Float64(x * y) - Float64(z * t))
	t_4 = Float64(Float64(z * k) - Float64(x * j))
	t_5 = Float64(Float64(c * i) - Float64(a * b))
	t_6 = Float64(z * Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0))) + Float64(t * t_5))))
	t_7 = Float64(Float64(k * y2) - Float64(j * y3))
	t_8 = Float64(b * Float64(Float64(Float64(a * t_3) + Float64(y4 * t_2)) + Float64(y0 * t_4)))
	t_9 = Float64(Float64(y1 * y4) - Float64(y0 * y5))
	tmp = 0.0
	if (i <= -2.6e+172)
		tmp = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(y5 * Float64(Float64(y * k) - Float64(t * j))) - Float64(c * t_3))));
	elseif (i <= -1.16e+96)
		tmp = t_8;
	elseif (i <= -1.9e+56)
		tmp = Float64(t * Float64(Float64(Float64(z * t_5) + Float64(j * Float64(Float64(b * y4) - Float64(i * y5)))) + Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))));
	elseif (i <= -7400000.0)
		tmp = Float64(x * Float64(Float64(Float64(y * t_1) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0)))));
	elseif (i <= -3.3e-46)
		tmp = t_6;
	elseif (i <= -1.35e-209)
		tmp = Float64(y4 * Float64(Float64(Float64(b * t_2) + Float64(y1 * t_7)) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2)))));
	elseif (i <= -1.58e-282)
		tmp = Float64(y2 * Float64(Float64(k * t_9) - Float64(c * Float64(t * y4))));
	elseif (i <= 4.7e-282)
		tmp = Float64(y0 * Float64(Float64(Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(c * Float64(Float64(x * y2) - Float64(z * y3)))) + Float64(b * t_4)));
	elseif (i <= 2.75e-163)
		tmp = t_6;
	elseif (i <= 4.3e-100)
		tmp = Float64(y * Float64(Float64(Float64(k * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(x * t_1)) + Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5)))));
	elseif (i <= 3.3e-47)
		tmp = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a))));
	elseif (i <= 5.4e-24)
		tmp = Float64(Float64(t_7 * t_9) + Float64(c * Float64(y * Float64(y3 * y4))));
	elseif (i <= 1.15e+126)
		tmp = t_8;
	elseif (i <= 1e+223)
		tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4))));
	else
		tmp = Float64(z * Float64(k * Float64(i * Float64(-y1))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = (a * b) - (c * i);
	t_2 = (t * j) - (y * k);
	t_3 = (x * y) - (z * t);
	t_4 = (z * k) - (x * j);
	t_5 = (c * i) - (a * b);
	t_6 = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_5)));
	t_7 = (k * y2) - (j * y3);
	t_8 = b * (((a * t_3) + (y4 * t_2)) + (y0 * t_4));
	t_9 = (y1 * y4) - (y0 * y5);
	tmp = 0.0;
	if (i <= -2.6e+172)
		tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * t_3)));
	elseif (i <= -1.16e+96)
		tmp = t_8;
	elseif (i <= -1.9e+56)
		tmp = t * (((z * t_5) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * y4))));
	elseif (i <= -7400000.0)
		tmp = x * (((y * t_1) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
	elseif (i <= -3.3e-46)
		tmp = t_6;
	elseif (i <= -1.35e-209)
		tmp = y4 * (((b * t_2) + (y1 * t_7)) + (c * ((y * y3) - (t * y2))));
	elseif (i <= -1.58e-282)
		tmp = y2 * ((k * t_9) - (c * (t * y4)));
	elseif (i <= 4.7e-282)
		tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * t_4));
	elseif (i <= 2.75e-163)
		tmp = t_6;
	elseif (i <= 4.3e-100)
		tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_1)) + (y3 * ((c * y4) - (a * y5))));
	elseif (i <= 3.3e-47)
		tmp = b * (z * ((k * y0) - (t * a)));
	elseif (i <= 5.4e-24)
		tmp = (t_7 * t_9) + (c * (y * (y3 * y4)));
	elseif (i <= 1.15e+126)
		tmp = t_8;
	elseif (i <= 1e+223)
		tmp = c * (t * ((z * i) - (y2 * y4)));
	else
		tmp = z * (k * (i * -y1));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(z * N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(b * N[(N[(N[(a * t$95$3), $MachinePrecision] + N[(y4 * t$95$2), $MachinePrecision]), $MachinePrecision] + N[(y0 * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -2.6e+172], N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -1.16e+96], t$95$8, If[LessEqual[i, -1.9e+56], N[(t * N[(N[(N[(z * t$95$5), $MachinePrecision] + N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -7400000.0], N[(x * N[(N[(N[(y * t$95$1), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -3.3e-46], t$95$6, If[LessEqual[i, -1.35e-209], N[(y4 * N[(N[(N[(b * t$95$2), $MachinePrecision] + N[(y1 * t$95$7), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -1.58e-282], N[(y2 * N[(N[(k * t$95$9), $MachinePrecision] - N[(c * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 4.7e-282], N[(y0 * N[(N[(N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 2.75e-163], t$95$6, If[LessEqual[i, 4.3e-100], N[(y * N[(N[(N[(k * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 3.3e-47], N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 5.4e-24], N[(N[(t$95$7 * t$95$9), $MachinePrecision] + N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.15e+126], t$95$8, If[LessEqual[i, 1e+223], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(z * N[(k * N[(i * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;i \leq -1.16 \cdot 10^{+96}:\\
\;\;\;\;t\_8\\

\mathbf{elif}\;i \leq -1.9 \cdot 10^{+56}:\\
\;\;\;\;t \cdot \left(\left(z \cdot t\_5 + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\

\mathbf{elif}\;i \leq -7400000:\\
\;\;\;\;x \cdot \left(\left(y \cdot t\_1 + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\

\mathbf{elif}\;i \leq -3.3 \cdot 10^{-46}:\\
\;\;\;\;t\_6\\

\mathbf{elif}\;i \leq -1.35 \cdot 10^{-209}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot t\_2 + y1 \cdot t\_7\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\

\mathbf{elif}\;i \leq -1.58 \cdot 10^{-282}:\\
\;\;\;\;y2 \cdot \left(k \cdot t\_9 - c \cdot \left(t \cdot y4\right)\right)\\

\mathbf{elif}\;i \leq 4.7 \cdot 10^{-282}:\\
\;\;\;\;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 t\_4\right)\\

\mathbf{elif}\;i \leq 2.75 \cdot 10^{-163}:\\
\;\;\;\;t\_6\\

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

\mathbf{elif}\;i \leq 3.3 \cdot 10^{-47}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\

\mathbf{elif}\;i \leq 5.4 \cdot 10^{-24}:\\
\;\;\;\;t\_7 \cdot t\_9 + c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\

\mathbf{elif}\;i \leq 1.15 \cdot 10^{+126}:\\
\;\;\;\;t\_8\\

\mathbf{elif}\;i \leq 10^{+223}:\\
\;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\

\mathbf{else}:\\
\;\;\;\;z \cdot \left(k \cdot \left(i \cdot \left(-y1\right)\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 13 regimes
  2. if i < -2.6e172

    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 i around -inf 72.8%

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]

    if -2.6e172 < i < -1.16000000000000005e96 or 5.40000000000000014e-24 < i < 1.15e126

    1. Initial program 34.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 65.5%

      \[\leadsto \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)} \]

    if -1.16000000000000005e96 < i < -1.89999999999999998e56

    1. Initial program 35.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 t around inf 72.3%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]

    if -1.89999999999999998e56 < i < -7.4e6

    1. Initial program 44.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 x around inf 77.9%

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

    if -7.4e6 < i < -3.30000000000000013e-46 or 4.7e-282 < i < 2.7499999999999999e-163

    1. Initial program 41.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 z around -inf 63.1%

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

    if -3.30000000000000013e-46 < i < -1.34999999999999999e-209

    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 y4 around inf 53.5%

      \[\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.34999999999999999e-209 < i < -1.5800000000000001e-282

    1. Initial program 21.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 36.2%

      \[\leadsto \color{blue}{y4 \cdot \left(b \cdot \left(j \cdot t - k \cdot y\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    4. Taylor expanded in y2 around inf 64.6%

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

    if -1.5800000000000001e-282 < i < 4.7e-282

    1. Initial program 55.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 y0 around inf 88.9%

      \[\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 2.7499999999999999e-163 < i < 4.29999999999999998e-100

    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 y around inf 69.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)} \]

    if 4.29999999999999998e-100 < i < 3.30000000000000004e-47

    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 b around inf 44.9%

      \[\leadsto \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)} \]
    4. Taylor expanded in z around -inf 68.0%

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

        \[\leadsto b \cdot \color{blue}{\left(-z \cdot \left(a \cdot t - k \cdot y0\right)\right)} \]
    6. Simplified68.0%

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

    if 3.30000000000000004e-47 < i < 5.40000000000000014e-24

    1. Initial program 0.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 y4 around inf 63.3%

      \[\leadsto \color{blue}{y4 \cdot \left(b \cdot \left(j \cdot t - k \cdot y\right) - c \cdot \left(t \cdot y2 - y \cdot y3\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 75.8%

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

    if 1.15e126 < i < 1.00000000000000005e223

    1. Initial program 15.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 t around inf 36.9%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in c around inf 58.2%

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

    if 1.00000000000000005e223 < i

    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 z around -inf 33.5%

      \[\leadsto \color{blue}{-1 \cdot \left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Taylor expanded in k around inf 42.0%

      \[\leadsto -1 \cdot \left(z \cdot \color{blue}{\left(k \cdot \left(i \cdot y1 - b \cdot y0\right)\right)}\right) \]
    5. Taylor expanded in i around inf 59.4%

      \[\leadsto -1 \cdot \left(z \cdot \left(k \cdot \color{blue}{\left(i \cdot y1\right)}\right)\right) \]
  3. Recombined 13 regimes into one program.
  4. Final simplification65.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -2.6 \cdot 10^{+172}:\\ \;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + \left(y5 \cdot \left(y \cdot k - t \cdot j\right) - c \cdot \left(x \cdot y - z \cdot t\right)\right)\right)\\ \mathbf{elif}\;i \leq -1.16 \cdot 10^{+96}:\\ \;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;i \leq -1.9 \cdot 10^{+56}:\\ \;\;\;\;t \cdot \left(\left(z \cdot \left(c \cdot i - a \cdot b\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;i \leq -7400000:\\ \;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\ \mathbf{elif}\;i \leq -3.3 \cdot 10^{-46}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\right)\\ \mathbf{elif}\;i \leq -1.35 \cdot 10^{-209}:\\ \;\;\;\;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}\;i \leq -1.58 \cdot 10^{-282}:\\ \;\;\;\;y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - c \cdot \left(t \cdot y4\right)\right)\\ \mathbf{elif}\;i \leq 4.7 \cdot 10^{-282}:\\ \;\;\;\;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}\;i \leq 2.75 \cdot 10^{-163}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\right)\\ \mathbf{elif}\;i \leq 4.3 \cdot 10^{-100}:\\ \;\;\;\;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}\;i \leq 3.3 \cdot 10^{-47}:\\ \;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\ \mathbf{elif}\;i \leq 5.4 \cdot 10^{-24}:\\ \;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{elif}\;i \leq 1.15 \cdot 10^{+126}:\\ \;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;i \leq 10^{+223}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(k \cdot \left(i \cdot \left(-y1\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 2: 53.4% accurate, 0.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := t \cdot j - y \cdot k\\ t_2 := x \cdot y - z \cdot t\\ t_3 := \left(\left(\left(\left(\left(a \cdot b - c \cdot i\right) \cdot t\_2 + \left(x \cdot j - z \cdot k\right) \cdot \left(i \cdot y1 - b \cdot y0\right)\right) + \left(c \cdot y0 - a \cdot y1\right) \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + t\_1 \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(t \cdot y2 - y \cdot y3\right) \cdot \left(a \cdot y5 - c \cdot y4\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\\ \mathbf{if}\;t\_3 \leq \infty:\\ \;\;\;\;t\_3\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(\left(a \cdot t\_2 + y4 \cdot t\_1\right) + y0 \cdot \left(z \cdot k - x \cdot j\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 j) (* y k)))
        (t_2 (- (* x y) (* z t)))
        (t_3
         (+
          (+
           (+
            (+
             (+
              (* (- (* a b) (* c i)) t_2)
              (* (- (* x j) (* z k)) (- (* i y1) (* b y0))))
             (* (- (* c y0) (* a y1)) (- (* x y2) (* z y3))))
            (* t_1 (- (* b y4) (* i y5))))
           (* (- (* t y2) (* y y3)) (- (* a y5) (* c y4))))
          (* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5))))))
   (if (<= t_3 INFINITY)
     t_3
     (* b (+ (+ (* a t_2) (* y4 t_1)) (* y0 (- (* z k) (* x j))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (t * j) - (y * k);
	double t_2 = (x * y) - (z * t);
	double t_3 = (((((((a * b) - (c * i)) * t_2) + (((x * j) - (z * k)) * ((i * y1) - (b * y0)))) + (((c * y0) - (a * y1)) * ((x * y2) - (z * y3)))) + (t_1 * ((b * y4) - (i * y5)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)));
	double tmp;
	if (t_3 <= ((double) INFINITY)) {
		tmp = t_3;
	} else {
		tmp = b * (((a * t_2) + (y4 * t_1)) + (y0 * ((z * k) - (x * j))));
	}
	return tmp;
}
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (t * j) - (y * k);
	double t_2 = (x * y) - (z * t);
	double t_3 = (((((((a * b) - (c * i)) * t_2) + (((x * j) - (z * k)) * ((i * y1) - (b * y0)))) + (((c * y0) - (a * y1)) * ((x * y2) - (z * y3)))) + (t_1 * ((b * y4) - (i * y5)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)));
	double tmp;
	if (t_3 <= Double.POSITIVE_INFINITY) {
		tmp = t_3;
	} else {
		tmp = b * (((a * t_2) + (y4 * t_1)) + (y0 * ((z * k) - (x * j))));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = (t * j) - (y * k)
	t_2 = (x * y) - (z * t)
	t_3 = (((((((a * b) - (c * i)) * t_2) + (((x * j) - (z * k)) * ((i * y1) - (b * y0)))) + (((c * y0) - (a * y1)) * ((x * y2) - (z * y3)))) + (t_1 * ((b * y4) - (i * y5)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)))
	tmp = 0
	if t_3 <= math.inf:
		tmp = t_3
	else:
		tmp = b * (((a * t_2) + (y4 * t_1)) + (y0 * ((z * k) - (x * j))))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(Float64(t * j) - Float64(y * k))
	t_2 = Float64(Float64(x * y) - Float64(z * t))
	t_3 = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(a * b) - Float64(c * i)) * t_2) + Float64(Float64(Float64(x * j) - Float64(z * k)) * Float64(Float64(i * y1) - Float64(b * y0)))) + Float64(Float64(Float64(c * y0) - Float64(a * y1)) * Float64(Float64(x * y2) - Float64(z * y3)))) + Float64(t_1 * Float64(Float64(b * y4) - Float64(i * y5)))) + Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(a * y5) - Float64(c * y4)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5))))
	tmp = 0.0
	if (t_3 <= Inf)
		tmp = t_3;
	else
		tmp = Float64(b * Float64(Float64(Float64(a * t_2) + Float64(y4 * t_1)) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = (t * j) - (y * k);
	t_2 = (x * y) - (z * t);
	t_3 = (((((((a * b) - (c * i)) * t_2) + (((x * j) - (z * k)) * ((i * y1) - (b * y0)))) + (((c * y0) - (a * y1)) * ((x * y2) - (z * y3)))) + (t_1 * ((b * y4) - (i * y5)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)));
	tmp = 0.0;
	if (t_3 <= Inf)
		tmp = t_3;
	else
		tmp = b * (((a * t_2) + (y4 * t_1)) + (y0 * ((z * k) - (x * j))));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(N[(N[(N[(N[(N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision] * t$95$2), $MachinePrecision] + N[(N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision] * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision] * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t$95$1 * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$3, Infinity], t$95$3, N[(b * N[(N[(N[(a * t$95$2), $MachinePrecision] + N[(y4 * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}

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

\mathbf{else}:\\
\;\;\;\;b \cdot \left(\left(a \cdot t\_2 + y4 \cdot t\_1\right) + y0 \cdot \left(z \cdot k - x \cdot j\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.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

    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 39.8%

      \[\leadsto \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)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification58.3%

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

Alternative 3: 40.4% accurate, 0.8× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y4 \cdot \left(t \cdot j - y \cdot k\right)\\ t_2 := c \cdot y0 - a \cdot y1\\ t_3 := k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\\ t_4 := a \cdot y5 - c \cdot y4\\ t_5 := t \cdot \left(c \cdot i - a \cdot b\right)\\ t_6 := x \cdot y - z \cdot t\\ t_7 := y2 \cdot \left(\left(t\_3 + x \cdot t\_2\right) + t \cdot t\_4\right)\\ t_8 := a \cdot b - c \cdot i\\ \mathbf{if}\;y2 \leq -7.5 \cdot 10^{+132}:\\ \;\;\;\;t\_7\\ \mathbf{elif}\;y2 \leq -1.76 \cdot 10^{-197}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) + t\_5\right)\right)\\ \mathbf{elif}\;y2 \leq -1.45 \cdot 10^{-242}:\\ \;\;\;\;\left(a \cdot y3\right) \cdot \left(z \cdot y1 - y \cdot y5\right)\\ \mathbf{elif}\;y2 \leq -2.1 \cdot 10^{-276}:\\ \;\;\;\;y \cdot \left(\left(k \cdot \left(i \cdot y5 - b \cdot y4\right) + x \cdot t\_8\right) + y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\ \mathbf{elif}\;y2 \leq 7 \cdot 10^{-192}:\\ \;\;\;\;b \cdot \left(\left(a \cdot t\_6 + t\_1\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y2 \leq 8.5 \cdot 10^{-110}:\\ \;\;\;\;\left(b \cdot t\_1 + \left(y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + \left(t\_8 \cdot t\_6 + t\_2 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\right)\right) + \left(\left(x \cdot j - z \cdot k\right) \cdot \left(i \cdot y1 - b \cdot y0\right) + c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\right)\\ \mathbf{elif}\;y2 \leq 2.5 \cdot 10^{-8}:\\ \;\;\;\;y2 \cdot \left(t\_3 - c \cdot \left(t \cdot y4\right)\right)\\ \mathbf{elif}\;y2 \leq 2.2 \cdot 10^{+171}:\\ \;\;\;\;z \cdot \left(b \cdot \left(k \cdot y0\right) + \left(\left(y1 \cdot \left(a \cdot y3 - i \cdot k\right) + t\_5\right) - c \cdot \left(y0 \cdot y3\right)\right)\right)\\ \mathbf{elif}\;y2 \leq 7.2 \cdot 10^{+251}:\\ \;\;\;\;t\_7\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(y2 \cdot t\_4\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 (* y4 (- (* t j) (* y k))))
        (t_2 (- (* c y0) (* a y1)))
        (t_3 (* k (- (* y1 y4) (* y0 y5))))
        (t_4 (- (* a y5) (* c y4)))
        (t_5 (* t (- (* c i) (* a b))))
        (t_6 (- (* x y) (* z t)))
        (t_7 (* y2 (+ (+ t_3 (* x t_2)) (* t t_4))))
        (t_8 (- (* a b) (* c i))))
   (if (<= y2 -7.5e+132)
     t_7
     (if (<= y2 -1.76e-197)
       (*
        z
        (+ (* k (- (* b y0) (* i y1))) (+ (* y3 (- (* a y1) (* c y0))) t_5)))
       (if (<= y2 -1.45e-242)
         (* (* a y3) (- (* z y1) (* y y5)))
         (if (<= y2 -2.1e-276)
           (*
            y
            (+
             (+ (* k (- (* i y5) (* b y4))) (* x t_8))
             (* y3 (- (* c y4) (* a y5)))))
           (if (<= y2 7e-192)
             (* b (+ (+ (* a t_6) t_1) (* y0 (- (* z k) (* x j)))))
             (if (<= y2 8.5e-110)
               (+
                (+
                 (* b t_1)
                 (+
                  (* y1 (* y4 (- (* k y2) (* j y3))))
                  (+ (* t_8 t_6) (* t_2 (- (* x y2) (* z y3))))))
                (+
                 (* (- (* x j) (* z k)) (- (* i y1) (* b y0)))
                 (* c (* y4 (- (* y y3) (* t y2))))))
               (if (<= y2 2.5e-8)
                 (* y2 (- t_3 (* c (* t y4))))
                 (if (<= y2 2.2e+171)
                   (*
                    z
                    (+
                     (* b (* k y0))
                     (- (+ (* y1 (- (* a y3) (* i k))) t_5) (* c (* y0 y3)))))
                   (if (<= y2 7.2e+251) t_7 (* t (* y2 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 = y4 * ((t * j) - (y * k));
	double t_2 = (c * y0) - (a * y1);
	double t_3 = k * ((y1 * y4) - (y0 * y5));
	double t_4 = (a * y5) - (c * y4);
	double t_5 = t * ((c * i) - (a * b));
	double t_6 = (x * y) - (z * t);
	double t_7 = y2 * ((t_3 + (x * t_2)) + (t * t_4));
	double t_8 = (a * b) - (c * i);
	double tmp;
	if (y2 <= -7.5e+132) {
		tmp = t_7;
	} else if (y2 <= -1.76e-197) {
		tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + t_5));
	} else if (y2 <= -1.45e-242) {
		tmp = (a * y3) * ((z * y1) - (y * y5));
	} else if (y2 <= -2.1e-276) {
		tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_8)) + (y3 * ((c * y4) - (a * y5))));
	} else if (y2 <= 7e-192) {
		tmp = b * (((a * t_6) + t_1) + (y0 * ((z * k) - (x * j))));
	} else if (y2 <= 8.5e-110) {
		tmp = ((b * t_1) + ((y1 * (y4 * ((k * y2) - (j * y3)))) + ((t_8 * t_6) + (t_2 * ((x * y2) - (z * y3)))))) + ((((x * j) - (z * k)) * ((i * y1) - (b * y0))) + (c * (y4 * ((y * y3) - (t * y2)))));
	} else if (y2 <= 2.5e-8) {
		tmp = y2 * (t_3 - (c * (t * y4)));
	} else if (y2 <= 2.2e+171) {
		tmp = z * ((b * (k * y0)) + (((y1 * ((a * y3) - (i * k))) + t_5) - (c * (y0 * y3))));
	} else if (y2 <= 7.2e+251) {
		tmp = t_7;
	} else {
		tmp = t * (y2 * t_4);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: t_4
    real(8) :: t_5
    real(8) :: t_6
    real(8) :: t_7
    real(8) :: t_8
    real(8) :: tmp
    t_1 = y4 * ((t * j) - (y * k))
    t_2 = (c * y0) - (a * y1)
    t_3 = k * ((y1 * y4) - (y0 * y5))
    t_4 = (a * y5) - (c * y4)
    t_5 = t * ((c * i) - (a * b))
    t_6 = (x * y) - (z * t)
    t_7 = y2 * ((t_3 + (x * t_2)) + (t * t_4))
    t_8 = (a * b) - (c * i)
    if (y2 <= (-7.5d+132)) then
        tmp = t_7
    else if (y2 <= (-1.76d-197)) then
        tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + t_5))
    else if (y2 <= (-1.45d-242)) then
        tmp = (a * y3) * ((z * y1) - (y * y5))
    else if (y2 <= (-2.1d-276)) then
        tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_8)) + (y3 * ((c * y4) - (a * y5))))
    else if (y2 <= 7d-192) then
        tmp = b * (((a * t_6) + t_1) + (y0 * ((z * k) - (x * j))))
    else if (y2 <= 8.5d-110) then
        tmp = ((b * t_1) + ((y1 * (y4 * ((k * y2) - (j * y3)))) + ((t_8 * t_6) + (t_2 * ((x * y2) - (z * y3)))))) + ((((x * j) - (z * k)) * ((i * y1) - (b * y0))) + (c * (y4 * ((y * y3) - (t * y2)))))
    else if (y2 <= 2.5d-8) then
        tmp = y2 * (t_3 - (c * (t * y4)))
    else if (y2 <= 2.2d+171) then
        tmp = z * ((b * (k * y0)) + (((y1 * ((a * y3) - (i * k))) + t_5) - (c * (y0 * y3))))
    else if (y2 <= 7.2d+251) then
        tmp = t_7
    else
        tmp = t * (y2 * 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 = y4 * ((t * j) - (y * k));
	double t_2 = (c * y0) - (a * y1);
	double t_3 = k * ((y1 * y4) - (y0 * y5));
	double t_4 = (a * y5) - (c * y4);
	double t_5 = t * ((c * i) - (a * b));
	double t_6 = (x * y) - (z * t);
	double t_7 = y2 * ((t_3 + (x * t_2)) + (t * t_4));
	double t_8 = (a * b) - (c * i);
	double tmp;
	if (y2 <= -7.5e+132) {
		tmp = t_7;
	} else if (y2 <= -1.76e-197) {
		tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + t_5));
	} else if (y2 <= -1.45e-242) {
		tmp = (a * y3) * ((z * y1) - (y * y5));
	} else if (y2 <= -2.1e-276) {
		tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_8)) + (y3 * ((c * y4) - (a * y5))));
	} else if (y2 <= 7e-192) {
		tmp = b * (((a * t_6) + t_1) + (y0 * ((z * k) - (x * j))));
	} else if (y2 <= 8.5e-110) {
		tmp = ((b * t_1) + ((y1 * (y4 * ((k * y2) - (j * y3)))) + ((t_8 * t_6) + (t_2 * ((x * y2) - (z * y3)))))) + ((((x * j) - (z * k)) * ((i * y1) - (b * y0))) + (c * (y4 * ((y * y3) - (t * y2)))));
	} else if (y2 <= 2.5e-8) {
		tmp = y2 * (t_3 - (c * (t * y4)));
	} else if (y2 <= 2.2e+171) {
		tmp = z * ((b * (k * y0)) + (((y1 * ((a * y3) - (i * k))) + t_5) - (c * (y0 * y3))));
	} else if (y2 <= 7.2e+251) {
		tmp = t_7;
	} else {
		tmp = t * (y2 * t_4);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = y4 * ((t * j) - (y * k))
	t_2 = (c * y0) - (a * y1)
	t_3 = k * ((y1 * y4) - (y0 * y5))
	t_4 = (a * y5) - (c * y4)
	t_5 = t * ((c * i) - (a * b))
	t_6 = (x * y) - (z * t)
	t_7 = y2 * ((t_3 + (x * t_2)) + (t * t_4))
	t_8 = (a * b) - (c * i)
	tmp = 0
	if y2 <= -7.5e+132:
		tmp = t_7
	elif y2 <= -1.76e-197:
		tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + t_5))
	elif y2 <= -1.45e-242:
		tmp = (a * y3) * ((z * y1) - (y * y5))
	elif y2 <= -2.1e-276:
		tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_8)) + (y3 * ((c * y4) - (a * y5))))
	elif y2 <= 7e-192:
		tmp = b * (((a * t_6) + t_1) + (y0 * ((z * k) - (x * j))))
	elif y2 <= 8.5e-110:
		tmp = ((b * t_1) + ((y1 * (y4 * ((k * y2) - (j * y3)))) + ((t_8 * t_6) + (t_2 * ((x * y2) - (z * y3)))))) + ((((x * j) - (z * k)) * ((i * y1) - (b * y0))) + (c * (y4 * ((y * y3) - (t * y2)))))
	elif y2 <= 2.5e-8:
		tmp = y2 * (t_3 - (c * (t * y4)))
	elif y2 <= 2.2e+171:
		tmp = z * ((b * (k * y0)) + (((y1 * ((a * y3) - (i * k))) + t_5) - (c * (y0 * y3))))
	elif y2 <= 7.2e+251:
		tmp = t_7
	else:
		tmp = t * (y2 * 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(y4 * Float64(Float64(t * j) - Float64(y * k)))
	t_2 = Float64(Float64(c * y0) - Float64(a * y1))
	t_3 = Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5)))
	t_4 = Float64(Float64(a * y5) - Float64(c * y4))
	t_5 = Float64(t * Float64(Float64(c * i) - Float64(a * b)))
	t_6 = Float64(Float64(x * y) - Float64(z * t))
	t_7 = Float64(y2 * Float64(Float64(t_3 + Float64(x * t_2)) + Float64(t * t_4)))
	t_8 = Float64(Float64(a * b) - Float64(c * i))
	tmp = 0.0
	if (y2 <= -7.5e+132)
		tmp = t_7;
	elseif (y2 <= -1.76e-197)
		tmp = Float64(z * Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0))) + t_5)));
	elseif (y2 <= -1.45e-242)
		tmp = Float64(Float64(a * y3) * Float64(Float64(z * y1) - Float64(y * y5)));
	elseif (y2 <= -2.1e-276)
		tmp = Float64(y * Float64(Float64(Float64(k * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(x * t_8)) + Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5)))));
	elseif (y2 <= 7e-192)
		tmp = Float64(b * Float64(Float64(Float64(a * t_6) + t_1) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))));
	elseif (y2 <= 8.5e-110)
		tmp = Float64(Float64(Float64(b * t_1) + Float64(Float64(y1 * Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(Float64(t_8 * t_6) + Float64(t_2 * Float64(Float64(x * y2) - Float64(z * y3)))))) + Float64(Float64(Float64(Float64(x * j) - Float64(z * k)) * Float64(Float64(i * y1) - Float64(b * y0))) + Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2))))));
	elseif (y2 <= 2.5e-8)
		tmp = Float64(y2 * Float64(t_3 - Float64(c * Float64(t * y4))));
	elseif (y2 <= 2.2e+171)
		tmp = Float64(z * Float64(Float64(b * Float64(k * y0)) + Float64(Float64(Float64(y1 * Float64(Float64(a * y3) - Float64(i * k))) + t_5) - Float64(c * Float64(y0 * y3)))));
	elseif (y2 <= 7.2e+251)
		tmp = t_7;
	else
		tmp = Float64(t * Float64(y2 * 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 = y4 * ((t * j) - (y * k));
	t_2 = (c * y0) - (a * y1);
	t_3 = k * ((y1 * y4) - (y0 * y5));
	t_4 = (a * y5) - (c * y4);
	t_5 = t * ((c * i) - (a * b));
	t_6 = (x * y) - (z * t);
	t_7 = y2 * ((t_3 + (x * t_2)) + (t * t_4));
	t_8 = (a * b) - (c * i);
	tmp = 0.0;
	if (y2 <= -7.5e+132)
		tmp = t_7;
	elseif (y2 <= -1.76e-197)
		tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + t_5));
	elseif (y2 <= -1.45e-242)
		tmp = (a * y3) * ((z * y1) - (y * y5));
	elseif (y2 <= -2.1e-276)
		tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_8)) + (y3 * ((c * y4) - (a * y5))));
	elseif (y2 <= 7e-192)
		tmp = b * (((a * t_6) + t_1) + (y0 * ((z * k) - (x * j))));
	elseif (y2 <= 8.5e-110)
		tmp = ((b * t_1) + ((y1 * (y4 * ((k * y2) - (j * y3)))) + ((t_8 * t_6) + (t_2 * ((x * y2) - (z * y3)))))) + ((((x * j) - (z * k)) * ((i * y1) - (b * y0))) + (c * (y4 * ((y * y3) - (t * y2)))));
	elseif (y2 <= 2.5e-8)
		tmp = y2 * (t_3 - (c * (t * y4)));
	elseif (y2 <= 2.2e+171)
		tmp = z * ((b * (k * y0)) + (((y1 * ((a * y3) - (i * k))) + t_5) - (c * (y0 * y3))));
	elseif (y2 <= 7.2e+251)
		tmp = t_7;
	else
		tmp = t * (y2 * 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[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(t * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(y2 * N[(N[(t$95$3 + N[(x * t$95$2), $MachinePrecision]), $MachinePrecision] + N[(t * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -7.5e+132], t$95$7, If[LessEqual[y2, -1.76e-197], N[(z * N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -1.45e-242], N[(N[(a * y3), $MachinePrecision] * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -2.1e-276], N[(y * N[(N[(N[(k * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$8), $MachinePrecision]), $MachinePrecision] + N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 7e-192], N[(b * N[(N[(N[(a * t$95$6), $MachinePrecision] + t$95$1), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 8.5e-110], N[(N[(N[(b * t$95$1), $MachinePrecision] + N[(N[(y1 * N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(t$95$8 * t$95$6), $MachinePrecision] + N[(t$95$2 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision] * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.5e-8], N[(y2 * N[(t$95$3 - N[(c * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.2e+171], N[(z * N[(N[(b * N[(k * y0), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(y1 * N[(N[(a * y3), $MachinePrecision] - N[(i * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$5), $MachinePrecision] - N[(c * N[(y0 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 7.2e+251], t$95$7, N[(t * N[(y2 * t$95$4), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;y2 \leq -1.76 \cdot 10^{-197}:\\
\;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) + t\_5\right)\right)\\

\mathbf{elif}\;y2 \leq -1.45 \cdot 10^{-242}:\\
\;\;\;\;\left(a \cdot y3\right) \cdot \left(z \cdot y1 - y \cdot y5\right)\\

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

\mathbf{elif}\;y2 \leq 7 \cdot 10^{-192}:\\
\;\;\;\;b \cdot \left(\left(a \cdot t\_6 + t\_1\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\

\mathbf{elif}\;y2 \leq 8.5 \cdot 10^{-110}:\\
\;\;\;\;\left(b \cdot t\_1 + \left(y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + \left(t\_8 \cdot t\_6 + t\_2 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\right)\right) + \left(\left(x \cdot j - z \cdot k\right) \cdot \left(i \cdot y1 - b \cdot y0\right) + c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\right)\\

\mathbf{elif}\;y2 \leq 2.5 \cdot 10^{-8}:\\
\;\;\;\;y2 \cdot \left(t\_3 - c \cdot \left(t \cdot y4\right)\right)\\

\mathbf{elif}\;y2 \leq 2.2 \cdot 10^{+171}:\\
\;\;\;\;z \cdot \left(b \cdot \left(k \cdot y0\right) + \left(\left(y1 \cdot \left(a \cdot y3 - i \cdot k\right) + t\_5\right) - c \cdot \left(y0 \cdot y3\right)\right)\right)\\

\mathbf{elif}\;y2 \leq 7.2 \cdot 10^{+251}:\\
\;\;\;\;t\_7\\

\mathbf{else}:\\
\;\;\;\;t \cdot \left(y2 \cdot t\_4\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 9 regimes
  2. if y2 < -7.50000000000000017e132 or 2.1999999999999999e171 < y2 < 7.19999999999999994e251

    1. Initial program 28.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 y2 around inf 68.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)} \]

    if -7.50000000000000017e132 < y2 < -1.76e-197

    1. Initial program 42.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 z around -inf 54.5%

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

    if -1.76e-197 < y2 < -1.45e-242

    1. Initial program 21.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 42.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 a around inf 51.1%

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

        \[\leadsto -1 \cdot \color{blue}{\left(\left(a \cdot y3\right) \cdot \left(-1 \cdot \left(y1 \cdot z\right) - -1 \cdot \left(y \cdot y5\right)\right)\right)} \]
      2. distribute-lft-out--57.7%

        \[\leadsto -1 \cdot \left(\left(a \cdot y3\right) \cdot \color{blue}{\left(-1 \cdot \left(y1 \cdot z - y \cdot y5\right)\right)}\right) \]
    6. Simplified57.7%

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

    if -1.45e-242 < y2 < -2.1e-276

    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 y around inf 79.0%

      \[\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 -2.1e-276 < y2 < 7.00000000000000029e-192

    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 b around inf 50.3%

      \[\leadsto \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)} \]

    if 7.00000000000000029e-192 < y2 < 8.50000000000000029e-110

    1. Initial program 66.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 y5 around 0 72.0%

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

    if 8.50000000000000029e-110 < y2 < 2.4999999999999999e-8

    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 y4 around inf 54.7%

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

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

    if 2.4999999999999999e-8 < y2 < 2.1999999999999999e171

    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 z around -inf 55.8%

      \[\leadsto \color{blue}{-1 \cdot \left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Taylor expanded in y1 around 0 58.6%

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

    if 7.19999999999999994e251 < y2

    1. Initial program 9.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 t around inf 45.5%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in y2 around inf 90.9%

      \[\leadsto \color{blue}{t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)} \]
  3. Recombined 9 regimes into one program.
  4. Final simplification61.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -7.5 \cdot 10^{+132}:\\ \;\;\;\;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}\;y2 \leq -1.76 \cdot 10^{-197}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\right)\\ \mathbf{elif}\;y2 \leq -1.45 \cdot 10^{-242}:\\ \;\;\;\;\left(a \cdot y3\right) \cdot \left(z \cdot y1 - y \cdot y5\right)\\ \mathbf{elif}\;y2 \leq -2.1 \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}\;y2 \leq 7 \cdot 10^{-192}:\\ \;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y2 \leq 8.5 \cdot 10^{-110}:\\ \;\;\;\;\left(b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + \left(y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + \left(\left(a \cdot b - c \cdot i\right) \cdot \left(x \cdot y - z \cdot t\right) + \left(c \cdot y0 - a \cdot y1\right) \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\right)\right) + \left(\left(x \cdot j - z \cdot k\right) \cdot \left(i \cdot y1 - b \cdot y0\right) + c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\right)\\ \mathbf{elif}\;y2 \leq 2.5 \cdot 10^{-8}:\\ \;\;\;\;y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - c \cdot \left(t \cdot y4\right)\right)\\ \mathbf{elif}\;y2 \leq 2.2 \cdot 10^{+171}:\\ \;\;\;\;z \cdot \left(b \cdot \left(k \cdot y0\right) + \left(\left(y1 \cdot \left(a \cdot y3 - i \cdot k\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right) - c \cdot \left(y0 \cdot y3\right)\right)\right)\\ \mathbf{elif}\;y2 \leq 7.2 \cdot 10^{+251}:\\ \;\;\;\;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{else}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 4: 38.7% accurate, 1.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot i - a \cdot b\\ t_2 := z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) + t \cdot t\_1\right)\right)\\ t_3 := t \cdot j - y \cdot k\\ t_4 := x \cdot y - z \cdot t\\ t_5 := z \cdot k - x \cdot j\\ t_6 := b \cdot \left(\left(a \cdot t\_4 + y4 \cdot t\_3\right) + y0 \cdot t\_5\right)\\ \mathbf{if}\;i \leq -6.6 \cdot 10^{+174}:\\ \;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + \left(y5 \cdot \left(y \cdot k - t \cdot j\right) - c \cdot t\_4\right)\right)\\ \mathbf{elif}\;i \leq -5 \cdot 10^{+99}:\\ \;\;\;\;t\_6\\ \mathbf{elif}\;i \leq -3.8 \cdot 10^{+55}:\\ \;\;\;\;t \cdot \left(\left(z \cdot t\_1 + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;i \leq -2050000:\\ \;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\ \mathbf{elif}\;i \leq -1.25 \cdot 10^{-44}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;i \leq -2.8 \cdot 10^{-217}:\\ \;\;\;\;y4 \cdot \left(\left(b \cdot t\_3 + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;i \leq -1.65 \cdot 10^{-282}:\\ \;\;\;\;y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - c \cdot \left(t \cdot y4\right)\right)\\ \mathbf{elif}\;i \leq 8 \cdot 10^{-281}:\\ \;\;\;\;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 t\_5\right)\\ \mathbf{elif}\;i \leq 1.32 \cdot 10^{-176}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;i \leq 6.8 \cdot 10^{-38}:\\ \;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\ \mathbf{elif}\;i \leq 1.25 \cdot 10^{+123}:\\ \;\;\;\;t\_6\\ \mathbf{elif}\;i \leq 1.1 \cdot 10^{+229}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(k \cdot \left(i \cdot \left(-y1\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 (- (* c i) (* a b)))
        (t_2
         (*
          z
          (+
           (* k (- (* b y0) (* i y1)))
           (+ (* y3 (- (* a y1) (* c y0))) (* t t_1)))))
        (t_3 (- (* t j) (* y k)))
        (t_4 (- (* x y) (* z t)))
        (t_5 (- (* z k) (* x j)))
        (t_6 (* b (+ (+ (* a t_4) (* y4 t_3)) (* y0 t_5)))))
   (if (<= i -6.6e+174)
     (*
      i
      (+ (* y1 (- (* x j) (* z k))) (- (* y5 (- (* y k) (* t j))) (* c t_4))))
     (if (<= i -5e+99)
       t_6
       (if (<= i -3.8e+55)
         (*
          t
          (+
           (+ (* z t_1) (* j (- (* b y4) (* i y5))))
           (* y2 (- (* a y5) (* c y4)))))
         (if (<= i -2050000.0)
           (*
            x
            (+
             (+ (* y (- (* a b) (* c i))) (* y2 (- (* c y0) (* a y1))))
             (* j (- (* i y1) (* b y0)))))
           (if (<= i -1.25e-44)
             t_2
             (if (<= i -2.8e-217)
               (*
                y4
                (+
                 (+ (* b t_3) (* y1 (- (* k y2) (* j y3))))
                 (* c (- (* y y3) (* t y2)))))
               (if (<= i -1.65e-282)
                 (* y2 (- (* k (- (* y1 y4) (* y0 y5))) (* c (* t y4))))
                 (if (<= i 8e-281)
                   (*
                    y0
                    (+
                     (+
                      (* y5 (- (* j y3) (* k y2)))
                      (* c (- (* x y2) (* z y3))))
                     (* b t_5)))
                   (if (<= i 1.32e-176)
                     t_2
                     (if (<= i 6.8e-38)
                       (* b (* j (- (* t y4) (* x y0))))
                       (if (<= i 1.25e+123)
                         t_6
                         (if (<= i 1.1e+229)
                           (* c (* t (- (* z i) (* y2 y4))))
                           (* z (* k (* i (- y1))))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (c * i) - (a * b);
	double t_2 = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_1)));
	double t_3 = (t * j) - (y * k);
	double t_4 = (x * y) - (z * t);
	double t_5 = (z * k) - (x * j);
	double t_6 = b * (((a * t_4) + (y4 * t_3)) + (y0 * t_5));
	double tmp;
	if (i <= -6.6e+174) {
		tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * t_4)));
	} else if (i <= -5e+99) {
		tmp = t_6;
	} else if (i <= -3.8e+55) {
		tmp = t * (((z * t_1) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * y4))));
	} else if (i <= -2050000.0) {
		tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
	} else if (i <= -1.25e-44) {
		tmp = t_2;
	} else if (i <= -2.8e-217) {
		tmp = y4 * (((b * t_3) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
	} else if (i <= -1.65e-282) {
		tmp = y2 * ((k * ((y1 * y4) - (y0 * y5))) - (c * (t * y4)));
	} else if (i <= 8e-281) {
		tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * t_5));
	} else if (i <= 1.32e-176) {
		tmp = t_2;
	} else if (i <= 6.8e-38) {
		tmp = b * (j * ((t * y4) - (x * y0)));
	} else if (i <= 1.25e+123) {
		tmp = t_6;
	} else if (i <= 1.1e+229) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else {
		tmp = z * (k * (i * -y1));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: t_4
    real(8) :: t_5
    real(8) :: t_6
    real(8) :: tmp
    t_1 = (c * i) - (a * b)
    t_2 = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_1)))
    t_3 = (t * j) - (y * k)
    t_4 = (x * y) - (z * t)
    t_5 = (z * k) - (x * j)
    t_6 = b * (((a * t_4) + (y4 * t_3)) + (y0 * t_5))
    if (i <= (-6.6d+174)) then
        tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * t_4)))
    else if (i <= (-5d+99)) then
        tmp = t_6
    else if (i <= (-3.8d+55)) then
        tmp = t * (((z * t_1) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * y4))))
    else if (i <= (-2050000.0d0)) then
        tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
    else if (i <= (-1.25d-44)) then
        tmp = t_2
    else if (i <= (-2.8d-217)) then
        tmp = y4 * (((b * t_3) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
    else if (i <= (-1.65d-282)) then
        tmp = y2 * ((k * ((y1 * y4) - (y0 * y5))) - (c * (t * y4)))
    else if (i <= 8d-281) then
        tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * t_5))
    else if (i <= 1.32d-176) then
        tmp = t_2
    else if (i <= 6.8d-38) then
        tmp = b * (j * ((t * y4) - (x * y0)))
    else if (i <= 1.25d+123) then
        tmp = t_6
    else if (i <= 1.1d+229) then
        tmp = c * (t * ((z * i) - (y2 * y4)))
    else
        tmp = z * (k * (i * -y1))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (c * i) - (a * b);
	double t_2 = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_1)));
	double t_3 = (t * j) - (y * k);
	double t_4 = (x * y) - (z * t);
	double t_5 = (z * k) - (x * j);
	double t_6 = b * (((a * t_4) + (y4 * t_3)) + (y0 * t_5));
	double tmp;
	if (i <= -6.6e+174) {
		tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * t_4)));
	} else if (i <= -5e+99) {
		tmp = t_6;
	} else if (i <= -3.8e+55) {
		tmp = t * (((z * t_1) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * y4))));
	} else if (i <= -2050000.0) {
		tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
	} else if (i <= -1.25e-44) {
		tmp = t_2;
	} else if (i <= -2.8e-217) {
		tmp = y4 * (((b * t_3) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
	} else if (i <= -1.65e-282) {
		tmp = y2 * ((k * ((y1 * y4) - (y0 * y5))) - (c * (t * y4)));
	} else if (i <= 8e-281) {
		tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * t_5));
	} else if (i <= 1.32e-176) {
		tmp = t_2;
	} else if (i <= 6.8e-38) {
		tmp = b * (j * ((t * y4) - (x * y0)));
	} else if (i <= 1.25e+123) {
		tmp = t_6;
	} else if (i <= 1.1e+229) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else {
		tmp = z * (k * (i * -y1));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = (c * i) - (a * b)
	t_2 = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_1)))
	t_3 = (t * j) - (y * k)
	t_4 = (x * y) - (z * t)
	t_5 = (z * k) - (x * j)
	t_6 = b * (((a * t_4) + (y4 * t_3)) + (y0 * t_5))
	tmp = 0
	if i <= -6.6e+174:
		tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * t_4)))
	elif i <= -5e+99:
		tmp = t_6
	elif i <= -3.8e+55:
		tmp = t * (((z * t_1) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * y4))))
	elif i <= -2050000.0:
		tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
	elif i <= -1.25e-44:
		tmp = t_2
	elif i <= -2.8e-217:
		tmp = y4 * (((b * t_3) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
	elif i <= -1.65e-282:
		tmp = y2 * ((k * ((y1 * y4) - (y0 * y5))) - (c * (t * y4)))
	elif i <= 8e-281:
		tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * t_5))
	elif i <= 1.32e-176:
		tmp = t_2
	elif i <= 6.8e-38:
		tmp = b * (j * ((t * y4) - (x * y0)))
	elif i <= 1.25e+123:
		tmp = t_6
	elif i <= 1.1e+229:
		tmp = c * (t * ((z * i) - (y2 * y4)))
	else:
		tmp = z * (k * (i * -y1))
	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 * i) - Float64(a * b))
	t_2 = Float64(z * Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0))) + Float64(t * t_1))))
	t_3 = Float64(Float64(t * j) - Float64(y * k))
	t_4 = Float64(Float64(x * y) - Float64(z * t))
	t_5 = Float64(Float64(z * k) - Float64(x * j))
	t_6 = Float64(b * Float64(Float64(Float64(a * t_4) + Float64(y4 * t_3)) + Float64(y0 * t_5)))
	tmp = 0.0
	if (i <= -6.6e+174)
		tmp = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(y5 * Float64(Float64(y * k) - Float64(t * j))) - Float64(c * t_4))));
	elseif (i <= -5e+99)
		tmp = t_6;
	elseif (i <= -3.8e+55)
		tmp = Float64(t * Float64(Float64(Float64(z * t_1) + Float64(j * Float64(Float64(b * y4) - Float64(i * y5)))) + Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))));
	elseif (i <= -2050000.0)
		tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0)))));
	elseif (i <= -1.25e-44)
		tmp = t_2;
	elseif (i <= -2.8e-217)
		tmp = Float64(y4 * Float64(Float64(Float64(b * t_3) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2)))));
	elseif (i <= -1.65e-282)
		tmp = Float64(y2 * Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) - Float64(c * Float64(t * y4))));
	elseif (i <= 8e-281)
		tmp = Float64(y0 * Float64(Float64(Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(c * Float64(Float64(x * y2) - Float64(z * y3)))) + Float64(b * t_5)));
	elseif (i <= 1.32e-176)
		tmp = t_2;
	elseif (i <= 6.8e-38)
		tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0))));
	elseif (i <= 1.25e+123)
		tmp = t_6;
	elseif (i <= 1.1e+229)
		tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4))));
	else
		tmp = Float64(z * Float64(k * Float64(i * Float64(-y1))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = (c * i) - (a * b);
	t_2 = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_1)));
	t_3 = (t * j) - (y * k);
	t_4 = (x * y) - (z * t);
	t_5 = (z * k) - (x * j);
	t_6 = b * (((a * t_4) + (y4 * t_3)) + (y0 * t_5));
	tmp = 0.0;
	if (i <= -6.6e+174)
		tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * t_4)));
	elseif (i <= -5e+99)
		tmp = t_6;
	elseif (i <= -3.8e+55)
		tmp = t * (((z * t_1) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * y4))));
	elseif (i <= -2050000.0)
		tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
	elseif (i <= -1.25e-44)
		tmp = t_2;
	elseif (i <= -2.8e-217)
		tmp = y4 * (((b * t_3) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
	elseif (i <= -1.65e-282)
		tmp = y2 * ((k * ((y1 * y4) - (y0 * y5))) - (c * (t * y4)));
	elseif (i <= 8e-281)
		tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * t_5));
	elseif (i <= 1.32e-176)
		tmp = t_2;
	elseif (i <= 6.8e-38)
		tmp = b * (j * ((t * y4) - (x * y0)));
	elseif (i <= 1.25e+123)
		tmp = t_6;
	elseif (i <= 1.1e+229)
		tmp = c * (t * ((z * i) - (y2 * y4)));
	else
		tmp = z * (k * (i * -y1));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(z * N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(b * N[(N[(N[(a * t$95$4), $MachinePrecision] + N[(y4 * t$95$3), $MachinePrecision]), $MachinePrecision] + N[(y0 * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -6.6e+174], N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -5e+99], t$95$6, If[LessEqual[i, -3.8e+55], N[(t * N[(N[(N[(z * t$95$1), $MachinePrecision] + N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -2050000.0], N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -1.25e-44], t$95$2, If[LessEqual[i, -2.8e-217], N[(y4 * N[(N[(N[(b * t$95$3), $MachinePrecision] + N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -1.65e-282], N[(y2 * N[(N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 8e-281], N[(y0 * N[(N[(N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.32e-176], t$95$2, If[LessEqual[i, 6.8e-38], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.25e+123], t$95$6, If[LessEqual[i, 1.1e+229], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(z * N[(k * N[(i * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;i \leq -5 \cdot 10^{+99}:\\
\;\;\;\;t\_6\\

\mathbf{elif}\;i \leq -3.8 \cdot 10^{+55}:\\
\;\;\;\;t \cdot \left(\left(z \cdot t\_1 + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\

\mathbf{elif}\;i \leq -2050000:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\

\mathbf{elif}\;i \leq -1.25 \cdot 10^{-44}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;i \leq -2.8 \cdot 10^{-217}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot t\_3 + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\

\mathbf{elif}\;i \leq -1.65 \cdot 10^{-282}:\\
\;\;\;\;y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - c \cdot \left(t \cdot y4\right)\right)\\

\mathbf{elif}\;i \leq 8 \cdot 10^{-281}:\\
\;\;\;\;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 t\_5\right)\\

\mathbf{elif}\;i \leq 1.32 \cdot 10^{-176}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;i \leq 6.8 \cdot 10^{-38}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\

\mathbf{elif}\;i \leq 1.25 \cdot 10^{+123}:\\
\;\;\;\;t\_6\\

\mathbf{elif}\;i \leq 1.1 \cdot 10^{+229}:\\
\;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\

\mathbf{else}:\\
\;\;\;\;z \cdot \left(k \cdot \left(i \cdot \left(-y1\right)\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 11 regimes
  2. if i < -6.6000000000000001e174

    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 i around -inf 72.8%

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]

    if -6.6000000000000001e174 < i < -5.00000000000000008e99 or 6.8000000000000004e-38 < i < 1.24999999999999994e123

    1. Initial program 31.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 66.3%

      \[\leadsto \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)} \]

    if -5.00000000000000008e99 < i < -3.8e55

    1. Initial program 35.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 t around inf 72.3%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]

    if -3.8e55 < i < -2.05e6

    1. Initial program 44.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 x around inf 77.9%

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

    if -2.05e6 < i < -1.2500000000000001e-44 or 8.0000000000000001e-281 < i < 1.32e-176

    1. Initial program 42.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 z around -inf 62.7%

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

    if -1.2500000000000001e-44 < i < -2.8e-217

    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 y4 around inf 53.5%

      \[\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 -2.8e-217 < i < -1.65e-282

    1. Initial program 21.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 36.2%

      \[\leadsto \color{blue}{y4 \cdot \left(b \cdot \left(j \cdot t - k \cdot y\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    4. Taylor expanded in y2 around inf 64.6%

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

    if -1.65e-282 < i < 8.0000000000000001e-281

    1. Initial program 55.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 y0 around inf 88.9%

      \[\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 1.32e-176 < i < 6.8000000000000004e-38

    1. Initial program 20.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 34.9%

      \[\leadsto \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)} \]
    4. Taylor expanded in j around inf 49.6%

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

    if 1.24999999999999994e123 < i < 1.10000000000000002e229

    1. Initial program 15.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 t around inf 36.9%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in c around inf 58.2%

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

    if 1.10000000000000002e229 < i

    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 z around -inf 33.5%

      \[\leadsto \color{blue}{-1 \cdot \left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Taylor expanded in k around inf 42.0%

      \[\leadsto -1 \cdot \left(z \cdot \color{blue}{\left(k \cdot \left(i \cdot y1 - b \cdot y0\right)\right)}\right) \]
    5. Taylor expanded in i around inf 59.4%

      \[\leadsto -1 \cdot \left(z \cdot \left(k \cdot \color{blue}{\left(i \cdot y1\right)}\right)\right) \]
  3. Recombined 11 regimes into one program.
  4. Final simplification63.3%

    \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -6.6 \cdot 10^{+174}:\\ \;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + \left(y5 \cdot \left(y \cdot k - t \cdot j\right) - c \cdot \left(x \cdot y - z \cdot t\right)\right)\right)\\ \mathbf{elif}\;i \leq -5 \cdot 10^{+99}:\\ \;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;i \leq -3.8 \cdot 10^{+55}:\\ \;\;\;\;t \cdot \left(\left(z \cdot \left(c \cdot i - a \cdot b\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;i \leq -2050000:\\ \;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\ \mathbf{elif}\;i \leq -1.25 \cdot 10^{-44}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\right)\\ \mathbf{elif}\;i \leq -2.8 \cdot 10^{-217}:\\ \;\;\;\;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}\;i \leq -1.65 \cdot 10^{-282}:\\ \;\;\;\;y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - c \cdot \left(t \cdot y4\right)\right)\\ \mathbf{elif}\;i \leq 8 \cdot 10^{-281}:\\ \;\;\;\;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}\;i \leq 1.32 \cdot 10^{-176}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\right)\\ \mathbf{elif}\;i \leq 6.8 \cdot 10^{-38}:\\ \;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\ \mathbf{elif}\;i \leq 1.25 \cdot 10^{+123}:\\ \;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;i \leq 1.1 \cdot 10^{+229}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(k \cdot \left(i \cdot \left(-y1\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 5: 38.2% accurate, 1.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot k - t \cdot j\\ t_2 := t \cdot j - y \cdot k\\ t_3 := x \cdot y - z \cdot t\\ t_4 := y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(i \cdot t\_1 + y0 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\right)\\ t_5 := b \cdot \left(\left(a \cdot t\_3 + y4 \cdot t\_2\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{if}\;i \leq -9 \cdot 10^{+177}:\\ \;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + \left(y5 \cdot t\_1 - c \cdot t\_3\right)\right)\\ \mathbf{elif}\;i \leq -3.4 \cdot 10^{+98}:\\ \;\;\;\;t\_5\\ \mathbf{elif}\;i \leq -1.2 \cdot 10^{+57}:\\ \;\;\;\;t\_4\\ \mathbf{elif}\;i \leq -1350000:\\ \;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\ \mathbf{elif}\;i \leq -1.8 \cdot 10^{-35}:\\ \;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + \left(z \cdot \left(a \cdot y1 - c \cdot y0\right) + j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\right)\\ \mathbf{elif}\;i \leq -1.75 \cdot 10^{-203}:\\ \;\;\;\;y4 \cdot \left(\left(b \cdot t\_2 + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;i \leq 2.1 \cdot 10^{-189}:\\ \;\;\;\;t\_4\\ \mathbf{elif}\;i \leq 6.4 \cdot 10^{-38}:\\ \;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\ \mathbf{elif}\;i \leq 1.25 \cdot 10^{+123}:\\ \;\;\;\;t\_5\\ \mathbf{elif}\;i \leq 7 \cdot 10^{+231}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(k \cdot \left(i \cdot \left(-y1\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 k) (* t j)))
        (t_2 (- (* t j) (* y k)))
        (t_3 (- (* x y) (* z t)))
        (t_4
         (*
          y5
          (+
           (* a (- (* t y2) (* y y3)))
           (+ (* i t_1) (* y0 (- (* j y3) (* k y2)))))))
        (t_5 (* b (+ (+ (* a t_3) (* y4 t_2)) (* y0 (- (* z k) (* x j)))))))
   (if (<= i -9e+177)
     (* i (+ (* y1 (- (* x j) (* z k))) (- (* y5 t_1) (* c t_3))))
     (if (<= i -3.4e+98)
       t_5
       (if (<= i -1.2e+57)
         t_4
         (if (<= i -1350000.0)
           (*
            x
            (+
             (+ (* y (- (* a b) (* c i))) (* y2 (- (* c y0) (* a y1))))
             (* j (- (* i y1) (* b y0)))))
           (if (<= i -1.8e-35)
             (*
              y3
              (+
               (* y (- (* c y4) (* a y5)))
               (+ (* z (- (* a y1) (* c y0))) (* j (- (* y0 y5) (* y1 y4))))))
             (if (<= i -1.75e-203)
               (*
                y4
                (+
                 (+ (* b t_2) (* y1 (- (* k y2) (* j y3))))
                 (* c (- (* y y3) (* t y2)))))
               (if (<= i 2.1e-189)
                 t_4
                 (if (<= i 6.4e-38)
                   (* b (* j (- (* t y4) (* x y0))))
                   (if (<= i 1.25e+123)
                     t_5
                     (if (<= i 7e+231)
                       (* c (* t (- (* z i) (* y2 y4))))
                       (* z (* k (* i (- y1))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (y * k) - (t * j);
	double t_2 = (t * j) - (y * k);
	double t_3 = (x * y) - (z * t);
	double t_4 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * t_1) + (y0 * ((j * y3) - (k * y2)))));
	double t_5 = b * (((a * t_3) + (y4 * t_2)) + (y0 * ((z * k) - (x * j))));
	double tmp;
	if (i <= -9e+177) {
		tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * t_1) - (c * t_3)));
	} else if (i <= -3.4e+98) {
		tmp = t_5;
	} else if (i <= -1.2e+57) {
		tmp = t_4;
	} else if (i <= -1350000.0) {
		tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
	} else if (i <= -1.8e-35) {
		tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))));
	} else if (i <= -1.75e-203) {
		tmp = y4 * (((b * t_2) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
	} else if (i <= 2.1e-189) {
		tmp = t_4;
	} else if (i <= 6.4e-38) {
		tmp = b * (j * ((t * y4) - (x * y0)));
	} else if (i <= 1.25e+123) {
		tmp = t_5;
	} else if (i <= 7e+231) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else {
		tmp = z * (k * (i * -y1));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: t_4
    real(8) :: t_5
    real(8) :: tmp
    t_1 = (y * k) - (t * j)
    t_2 = (t * j) - (y * k)
    t_3 = (x * y) - (z * t)
    t_4 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * t_1) + (y0 * ((j * y3) - (k * y2)))))
    t_5 = b * (((a * t_3) + (y4 * t_2)) + (y0 * ((z * k) - (x * j))))
    if (i <= (-9d+177)) then
        tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * t_1) - (c * t_3)))
    else if (i <= (-3.4d+98)) then
        tmp = t_5
    else if (i <= (-1.2d+57)) then
        tmp = t_4
    else if (i <= (-1350000.0d0)) then
        tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
    else if (i <= (-1.8d-35)) then
        tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))))
    else if (i <= (-1.75d-203)) then
        tmp = y4 * (((b * t_2) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
    else if (i <= 2.1d-189) then
        tmp = t_4
    else if (i <= 6.4d-38) then
        tmp = b * (j * ((t * y4) - (x * y0)))
    else if (i <= 1.25d+123) then
        tmp = t_5
    else if (i <= 7d+231) then
        tmp = c * (t * ((z * i) - (y2 * y4)))
    else
        tmp = z * (k * (i * -y1))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (y * k) - (t * j);
	double t_2 = (t * j) - (y * k);
	double t_3 = (x * y) - (z * t);
	double t_4 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * t_1) + (y0 * ((j * y3) - (k * y2)))));
	double t_5 = b * (((a * t_3) + (y4 * t_2)) + (y0 * ((z * k) - (x * j))));
	double tmp;
	if (i <= -9e+177) {
		tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * t_1) - (c * t_3)));
	} else if (i <= -3.4e+98) {
		tmp = t_5;
	} else if (i <= -1.2e+57) {
		tmp = t_4;
	} else if (i <= -1350000.0) {
		tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
	} else if (i <= -1.8e-35) {
		tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))));
	} else if (i <= -1.75e-203) {
		tmp = y4 * (((b * t_2) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
	} else if (i <= 2.1e-189) {
		tmp = t_4;
	} else if (i <= 6.4e-38) {
		tmp = b * (j * ((t * y4) - (x * y0)));
	} else if (i <= 1.25e+123) {
		tmp = t_5;
	} else if (i <= 7e+231) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else {
		tmp = z * (k * (i * -y1));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = (y * k) - (t * j)
	t_2 = (t * j) - (y * k)
	t_3 = (x * y) - (z * t)
	t_4 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * t_1) + (y0 * ((j * y3) - (k * y2)))))
	t_5 = b * (((a * t_3) + (y4 * t_2)) + (y0 * ((z * k) - (x * j))))
	tmp = 0
	if i <= -9e+177:
		tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * t_1) - (c * t_3)))
	elif i <= -3.4e+98:
		tmp = t_5
	elif i <= -1.2e+57:
		tmp = t_4
	elif i <= -1350000.0:
		tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
	elif i <= -1.8e-35:
		tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))))
	elif i <= -1.75e-203:
		tmp = y4 * (((b * t_2) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
	elif i <= 2.1e-189:
		tmp = t_4
	elif i <= 6.4e-38:
		tmp = b * (j * ((t * y4) - (x * y0)))
	elif i <= 1.25e+123:
		tmp = t_5
	elif i <= 7e+231:
		tmp = c * (t * ((z * i) - (y2 * y4)))
	else:
		tmp = z * (k * (i * -y1))
	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 * k) - Float64(t * j))
	t_2 = Float64(Float64(t * j) - Float64(y * k))
	t_3 = Float64(Float64(x * y) - Float64(z * t))
	t_4 = Float64(y5 * Float64(Float64(a * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(Float64(i * t_1) + Float64(y0 * Float64(Float64(j * y3) - Float64(k * y2))))))
	t_5 = Float64(b * Float64(Float64(Float64(a * t_3) + Float64(y4 * t_2)) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))))
	tmp = 0.0
	if (i <= -9e+177)
		tmp = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(y5 * t_1) - Float64(c * t_3))));
	elseif (i <= -3.4e+98)
		tmp = t_5;
	elseif (i <= -1.2e+57)
		tmp = t_4;
	elseif (i <= -1350000.0)
		tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0)))));
	elseif (i <= -1.8e-35)
		tmp = Float64(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(Float64(z * Float64(Float64(a * y1) - Float64(c * y0))) + Float64(j * Float64(Float64(y0 * y5) - Float64(y1 * y4))))));
	elseif (i <= -1.75e-203)
		tmp = Float64(y4 * Float64(Float64(Float64(b * t_2) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2)))));
	elseif (i <= 2.1e-189)
		tmp = t_4;
	elseif (i <= 6.4e-38)
		tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0))));
	elseif (i <= 1.25e+123)
		tmp = t_5;
	elseif (i <= 7e+231)
		tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4))));
	else
		tmp = Float64(z * Float64(k * Float64(i * Float64(-y1))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = (y * k) - (t * j);
	t_2 = (t * j) - (y * k);
	t_3 = (x * y) - (z * t);
	t_4 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * t_1) + (y0 * ((j * y3) - (k * y2)))));
	t_5 = b * (((a * t_3) + (y4 * t_2)) + (y0 * ((z * k) - (x * j))));
	tmp = 0.0;
	if (i <= -9e+177)
		tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * t_1) - (c * t_3)));
	elseif (i <= -3.4e+98)
		tmp = t_5;
	elseif (i <= -1.2e+57)
		tmp = t_4;
	elseif (i <= -1350000.0)
		tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
	elseif (i <= -1.8e-35)
		tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))));
	elseif (i <= -1.75e-203)
		tmp = y4 * (((b * t_2) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
	elseif (i <= 2.1e-189)
		tmp = t_4;
	elseif (i <= 6.4e-38)
		tmp = b * (j * ((t * y4) - (x * y0)));
	elseif (i <= 1.25e+123)
		tmp = t_5;
	elseif (i <= 7e+231)
		tmp = c * (t * ((z * i) - (y2 * y4)));
	else
		tmp = z * (k * (i * -y1));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(y5 * N[(N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(i * t$95$1), $MachinePrecision] + N[(y0 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(b * N[(N[(N[(a * t$95$3), $MachinePrecision] + N[(y4 * t$95$2), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -9e+177], N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y5 * t$95$1), $MachinePrecision] - N[(c * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -3.4e+98], t$95$5, If[LessEqual[i, -1.2e+57], t$95$4, If[LessEqual[i, -1350000.0], N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -1.8e-35], N[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -1.75e-203], N[(y4 * N[(N[(N[(b * t$95$2), $MachinePrecision] + N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 2.1e-189], t$95$4, If[LessEqual[i, 6.4e-38], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.25e+123], t$95$5, If[LessEqual[i, 7e+231], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(z * N[(k * N[(i * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;i \leq -3.4 \cdot 10^{+98}:\\
\;\;\;\;t\_5\\

\mathbf{elif}\;i \leq -1.2 \cdot 10^{+57}:\\
\;\;\;\;t\_4\\

\mathbf{elif}\;i \leq -1350000:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\

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

\mathbf{elif}\;i \leq -1.75 \cdot 10^{-203}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot t\_2 + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\

\mathbf{elif}\;i \leq 2.1 \cdot 10^{-189}:\\
\;\;\;\;t\_4\\

\mathbf{elif}\;i \leq 6.4 \cdot 10^{-38}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\

\mathbf{elif}\;i \leq 1.25 \cdot 10^{+123}:\\
\;\;\;\;t\_5\\

\mathbf{elif}\;i \leq 7 \cdot 10^{+231}:\\
\;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\

\mathbf{else}:\\
\;\;\;\;z \cdot \left(k \cdot \left(i \cdot \left(-y1\right)\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 9 regimes
  2. if i < -8.9999999999999994e177

    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 i around -inf 72.8%

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]

    if -8.9999999999999994e177 < i < -3.39999999999999972e98 or 6.39999999999999955e-38 < i < 1.24999999999999994e123

    1. Initial program 31.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 66.3%

      \[\leadsto \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)} \]

    if -3.39999999999999972e98 < i < -1.20000000000000002e57 or -1.7500000000000001e-203 < i < 2.10000000000000016e-189

    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 y5 around -inf 54.8%

      \[\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 -1.20000000000000002e57 < i < -1.35e6

    1. Initial program 44.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 x around inf 77.9%

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

    if -1.35e6 < i < -1.80000000000000009e-35

    1. Initial program 63.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 y3 around -inf 61.2%

      \[\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 -1.80000000000000009e-35 < i < -1.7500000000000001e-203

    1. Initial program 39.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 53.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 2.10000000000000016e-189 < i < 6.39999999999999955e-38

    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 b around inf 33.7%

      \[\leadsto \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)} \]
    4. Taylor expanded in j around inf 48.0%

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

    if 1.24999999999999994e123 < i < 6.9999999999999997e231

    1. Initial program 15.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 t around inf 36.9%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in c around inf 58.2%

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

    if 6.9999999999999997e231 < i

    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 z around -inf 33.5%

      \[\leadsto \color{blue}{-1 \cdot \left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Taylor expanded in k around inf 42.0%

      \[\leadsto -1 \cdot \left(z \cdot \color{blue}{\left(k \cdot \left(i \cdot y1 - b \cdot y0\right)\right)}\right) \]
    5. Taylor expanded in i around inf 59.4%

      \[\leadsto -1 \cdot \left(z \cdot \left(k \cdot \color{blue}{\left(i \cdot y1\right)}\right)\right) \]
  3. Recombined 9 regimes into one program.
  4. Final simplification59.5%

    \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -9 \cdot 10^{+177}:\\ \;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + \left(y5 \cdot \left(y \cdot k - t \cdot j\right) - c \cdot \left(x \cdot y - z \cdot t\right)\right)\right)\\ \mathbf{elif}\;i \leq -3.4 \cdot 10^{+98}:\\ \;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;i \leq -1.2 \cdot 10^{+57}:\\ \;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(i \cdot \left(y \cdot k - t \cdot j\right) + y0 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\right)\\ \mathbf{elif}\;i \leq -1350000:\\ \;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\ \mathbf{elif}\;i \leq -1.8 \cdot 10^{-35}:\\ \;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + \left(z \cdot \left(a \cdot y1 - c \cdot y0\right) + j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\right)\\ \mathbf{elif}\;i \leq -1.75 \cdot 10^{-203}:\\ \;\;\;\;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}\;i \leq 2.1 \cdot 10^{-189}:\\ \;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(i \cdot \left(y \cdot k - t \cdot j\right) + y0 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\right)\\ \mathbf{elif}\;i \leq 6.4 \cdot 10^{-38}:\\ \;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\ \mathbf{elif}\;i \leq 1.25 \cdot 10^{+123}:\\ \;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;i \leq 7 \cdot 10^{+231}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(k \cdot \left(i \cdot \left(-y1\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 6: 38.3% accurate, 1.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot k - t \cdot j\\ t_2 := t \cdot j - y \cdot k\\ t_3 := x \cdot y - z \cdot t\\ t_4 := y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(i \cdot t\_1 + y0 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\right)\\ t_5 := b \cdot \left(\left(a \cdot t\_3 + y4 \cdot t\_2\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{if}\;i \leq -5.5 \cdot 10^{+176}:\\ \;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + \left(y5 \cdot t\_1 - c \cdot t\_3\right)\right)\\ \mathbf{elif}\;i \leq -2 \cdot 10^{+97}:\\ \;\;\;\;t\_5\\ \mathbf{elif}\;i \leq -1.15 \cdot 10^{+57}:\\ \;\;\;\;t\_4\\ \mathbf{elif}\;i \leq -6000000:\\ \;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\ \mathbf{elif}\;i \leq -1.2 \cdot 10^{-46}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\right)\\ \mathbf{elif}\;i \leq -6.5 \cdot 10^{-209}:\\ \;\;\;\;y4 \cdot \left(\left(b \cdot t\_2 + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;i \leq 2.2 \cdot 10^{-182}:\\ \;\;\;\;t\_4\\ \mathbf{elif}\;i \leq 2.3 \cdot 10^{-34}:\\ \;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\ \mathbf{elif}\;i \leq 1.75 \cdot 10^{+129}:\\ \;\;\;\;t\_5\\ \mathbf{elif}\;i \leq 1.15 \cdot 10^{+229}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(k \cdot \left(i \cdot \left(-y1\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 k) (* t j)))
        (t_2 (- (* t j) (* y k)))
        (t_3 (- (* x y) (* z t)))
        (t_4
         (*
          y5
          (+
           (* a (- (* t y2) (* y y3)))
           (+ (* i t_1) (* y0 (- (* j y3) (* k y2)))))))
        (t_5 (* b (+ (+ (* a t_3) (* y4 t_2)) (* y0 (- (* z k) (* x j)))))))
   (if (<= i -5.5e+176)
     (* i (+ (* y1 (- (* x j) (* z k))) (- (* y5 t_1) (* c t_3))))
     (if (<= i -2e+97)
       t_5
       (if (<= i -1.15e+57)
         t_4
         (if (<= i -6000000.0)
           (*
            x
            (+
             (+ (* y (- (* a b) (* c i))) (* y2 (- (* c y0) (* a y1))))
             (* j (- (* i y1) (* b y0)))))
           (if (<= i -1.2e-46)
             (*
              z
              (+
               (* k (- (* b y0) (* i y1)))
               (+ (* y3 (- (* a y1) (* c y0))) (* t (- (* c i) (* a b))))))
             (if (<= i -6.5e-209)
               (*
                y4
                (+
                 (+ (* b t_2) (* y1 (- (* k y2) (* j y3))))
                 (* c (- (* y y3) (* t y2)))))
               (if (<= i 2.2e-182)
                 t_4
                 (if (<= i 2.3e-34)
                   (* b (* j (- (* t y4) (* x y0))))
                   (if (<= i 1.75e+129)
                     t_5
                     (if (<= i 1.15e+229)
                       (* c (* t (- (* z i) (* y2 y4))))
                       (* z (* k (* i (- y1))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (y * k) - (t * j);
	double t_2 = (t * j) - (y * k);
	double t_3 = (x * y) - (z * t);
	double t_4 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * t_1) + (y0 * ((j * y3) - (k * y2)))));
	double t_5 = b * (((a * t_3) + (y4 * t_2)) + (y0 * ((z * k) - (x * j))));
	double tmp;
	if (i <= -5.5e+176) {
		tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * t_1) - (c * t_3)));
	} else if (i <= -2e+97) {
		tmp = t_5;
	} else if (i <= -1.15e+57) {
		tmp = t_4;
	} else if (i <= -6000000.0) {
		tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
	} else if (i <= -1.2e-46) {
		tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b)))));
	} else if (i <= -6.5e-209) {
		tmp = y4 * (((b * t_2) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
	} else if (i <= 2.2e-182) {
		tmp = t_4;
	} else if (i <= 2.3e-34) {
		tmp = b * (j * ((t * y4) - (x * y0)));
	} else if (i <= 1.75e+129) {
		tmp = t_5;
	} else if (i <= 1.15e+229) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else {
		tmp = z * (k * (i * -y1));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: t_4
    real(8) :: t_5
    real(8) :: tmp
    t_1 = (y * k) - (t * j)
    t_2 = (t * j) - (y * k)
    t_3 = (x * y) - (z * t)
    t_4 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * t_1) + (y0 * ((j * y3) - (k * y2)))))
    t_5 = b * (((a * t_3) + (y4 * t_2)) + (y0 * ((z * k) - (x * j))))
    if (i <= (-5.5d+176)) then
        tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * t_1) - (c * t_3)))
    else if (i <= (-2d+97)) then
        tmp = t_5
    else if (i <= (-1.15d+57)) then
        tmp = t_4
    else if (i <= (-6000000.0d0)) then
        tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
    else if (i <= (-1.2d-46)) then
        tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b)))))
    else if (i <= (-6.5d-209)) then
        tmp = y4 * (((b * t_2) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
    else if (i <= 2.2d-182) then
        tmp = t_4
    else if (i <= 2.3d-34) then
        tmp = b * (j * ((t * y4) - (x * y0)))
    else if (i <= 1.75d+129) then
        tmp = t_5
    else if (i <= 1.15d+229) then
        tmp = c * (t * ((z * i) - (y2 * y4)))
    else
        tmp = z * (k * (i * -y1))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (y * k) - (t * j);
	double t_2 = (t * j) - (y * k);
	double t_3 = (x * y) - (z * t);
	double t_4 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * t_1) + (y0 * ((j * y3) - (k * y2)))));
	double t_5 = b * (((a * t_3) + (y4 * t_2)) + (y0 * ((z * k) - (x * j))));
	double tmp;
	if (i <= -5.5e+176) {
		tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * t_1) - (c * t_3)));
	} else if (i <= -2e+97) {
		tmp = t_5;
	} else if (i <= -1.15e+57) {
		tmp = t_4;
	} else if (i <= -6000000.0) {
		tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
	} else if (i <= -1.2e-46) {
		tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b)))));
	} else if (i <= -6.5e-209) {
		tmp = y4 * (((b * t_2) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
	} else if (i <= 2.2e-182) {
		tmp = t_4;
	} else if (i <= 2.3e-34) {
		tmp = b * (j * ((t * y4) - (x * y0)));
	} else if (i <= 1.75e+129) {
		tmp = t_5;
	} else if (i <= 1.15e+229) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else {
		tmp = z * (k * (i * -y1));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = (y * k) - (t * j)
	t_2 = (t * j) - (y * k)
	t_3 = (x * y) - (z * t)
	t_4 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * t_1) + (y0 * ((j * y3) - (k * y2)))))
	t_5 = b * (((a * t_3) + (y4 * t_2)) + (y0 * ((z * k) - (x * j))))
	tmp = 0
	if i <= -5.5e+176:
		tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * t_1) - (c * t_3)))
	elif i <= -2e+97:
		tmp = t_5
	elif i <= -1.15e+57:
		tmp = t_4
	elif i <= -6000000.0:
		tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
	elif i <= -1.2e-46:
		tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b)))))
	elif i <= -6.5e-209:
		tmp = y4 * (((b * t_2) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
	elif i <= 2.2e-182:
		tmp = t_4
	elif i <= 2.3e-34:
		tmp = b * (j * ((t * y4) - (x * y0)))
	elif i <= 1.75e+129:
		tmp = t_5
	elif i <= 1.15e+229:
		tmp = c * (t * ((z * i) - (y2 * y4)))
	else:
		tmp = z * (k * (i * -y1))
	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 * k) - Float64(t * j))
	t_2 = Float64(Float64(t * j) - Float64(y * k))
	t_3 = Float64(Float64(x * y) - Float64(z * t))
	t_4 = Float64(y5 * Float64(Float64(a * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(Float64(i * t_1) + Float64(y0 * Float64(Float64(j * y3) - Float64(k * y2))))))
	t_5 = Float64(b * Float64(Float64(Float64(a * t_3) + Float64(y4 * t_2)) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))))
	tmp = 0.0
	if (i <= -5.5e+176)
		tmp = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(y5 * t_1) - Float64(c * t_3))));
	elseif (i <= -2e+97)
		tmp = t_5;
	elseif (i <= -1.15e+57)
		tmp = t_4;
	elseif (i <= -6000000.0)
		tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0)))));
	elseif (i <= -1.2e-46)
		tmp = Float64(z * Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0))) + Float64(t * Float64(Float64(c * i) - Float64(a * b))))));
	elseif (i <= -6.5e-209)
		tmp = Float64(y4 * Float64(Float64(Float64(b * t_2) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2)))));
	elseif (i <= 2.2e-182)
		tmp = t_4;
	elseif (i <= 2.3e-34)
		tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0))));
	elseif (i <= 1.75e+129)
		tmp = t_5;
	elseif (i <= 1.15e+229)
		tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4))));
	else
		tmp = Float64(z * Float64(k * Float64(i * Float64(-y1))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = (y * k) - (t * j);
	t_2 = (t * j) - (y * k);
	t_3 = (x * y) - (z * t);
	t_4 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * t_1) + (y0 * ((j * y3) - (k * y2)))));
	t_5 = b * (((a * t_3) + (y4 * t_2)) + (y0 * ((z * k) - (x * j))));
	tmp = 0.0;
	if (i <= -5.5e+176)
		tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * t_1) - (c * t_3)));
	elseif (i <= -2e+97)
		tmp = t_5;
	elseif (i <= -1.15e+57)
		tmp = t_4;
	elseif (i <= -6000000.0)
		tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
	elseif (i <= -1.2e-46)
		tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b)))));
	elseif (i <= -6.5e-209)
		tmp = y4 * (((b * t_2) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
	elseif (i <= 2.2e-182)
		tmp = t_4;
	elseif (i <= 2.3e-34)
		tmp = b * (j * ((t * y4) - (x * y0)));
	elseif (i <= 1.75e+129)
		tmp = t_5;
	elseif (i <= 1.15e+229)
		tmp = c * (t * ((z * i) - (y2 * y4)));
	else
		tmp = z * (k * (i * -y1));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(y5 * N[(N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(i * t$95$1), $MachinePrecision] + N[(y0 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(b * N[(N[(N[(a * t$95$3), $MachinePrecision] + N[(y4 * t$95$2), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -5.5e+176], N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y5 * t$95$1), $MachinePrecision] - N[(c * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -2e+97], t$95$5, If[LessEqual[i, -1.15e+57], t$95$4, If[LessEqual[i, -6000000.0], N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -1.2e-46], N[(z * N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -6.5e-209], N[(y4 * N[(N[(N[(b * t$95$2), $MachinePrecision] + N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 2.2e-182], t$95$4, If[LessEqual[i, 2.3e-34], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.75e+129], t$95$5, If[LessEqual[i, 1.15e+229], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(z * N[(k * N[(i * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;i \leq -2 \cdot 10^{+97}:\\
\;\;\;\;t\_5\\

\mathbf{elif}\;i \leq -1.15 \cdot 10^{+57}:\\
\;\;\;\;t\_4\\

\mathbf{elif}\;i \leq -6000000:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\

\mathbf{elif}\;i \leq -1.2 \cdot 10^{-46}:\\
\;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\right)\\

\mathbf{elif}\;i \leq -6.5 \cdot 10^{-209}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot t\_2 + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\

\mathbf{elif}\;i \leq 2.2 \cdot 10^{-182}:\\
\;\;\;\;t\_4\\

\mathbf{elif}\;i \leq 2.3 \cdot 10^{-34}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\

\mathbf{elif}\;i \leq 1.75 \cdot 10^{+129}:\\
\;\;\;\;t\_5\\

\mathbf{elif}\;i \leq 1.15 \cdot 10^{+229}:\\
\;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\

\mathbf{else}:\\
\;\;\;\;z \cdot \left(k \cdot \left(i \cdot \left(-y1\right)\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 9 regimes
  2. if i < -5.4999999999999995e176

    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 i around -inf 72.8%

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]

    if -5.4999999999999995e176 < i < -2.0000000000000001e97 or 2.30000000000000011e-34 < i < 1.7499999999999999e129

    1. Initial program 31.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 66.3%

      \[\leadsto \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)} \]

    if -2.0000000000000001e97 < i < -1.1499999999999999e57 or -6.50000000000000042e-209 < i < 2.2e-182

    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 y5 around -inf 54.8%

      \[\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 -1.1499999999999999e57 < i < -6e6

    1. Initial program 44.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 x around inf 77.9%

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

    if -6e6 < i < -1.20000000000000007e-46

    1. Initial program 61.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 z around -inf 74.7%

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

    if -1.20000000000000007e-46 < i < -6.50000000000000042e-209

    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 y4 around inf 53.5%

      \[\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 2.2e-182 < i < 2.30000000000000011e-34

    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 b around inf 33.7%

      \[\leadsto \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)} \]
    4. Taylor expanded in j around inf 48.0%

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

    if 1.7499999999999999e129 < i < 1.15e229

    1. Initial program 15.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 t around inf 36.9%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in c around inf 58.2%

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

    if 1.15e229 < i

    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 z around -inf 33.5%

      \[\leadsto \color{blue}{-1 \cdot \left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Taylor expanded in k around inf 42.0%

      \[\leadsto -1 \cdot \left(z \cdot \color{blue}{\left(k \cdot \left(i \cdot y1 - b \cdot y0\right)\right)}\right) \]
    5. Taylor expanded in i around inf 59.4%

      \[\leadsto -1 \cdot \left(z \cdot \left(k \cdot \color{blue}{\left(i \cdot y1\right)}\right)\right) \]
  3. Recombined 9 regimes into one program.
  4. Final simplification60.3%

    \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -5.5 \cdot 10^{+176}:\\ \;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + \left(y5 \cdot \left(y \cdot k - t \cdot j\right) - c \cdot \left(x \cdot y - z \cdot t\right)\right)\right)\\ \mathbf{elif}\;i \leq -2 \cdot 10^{+97}:\\ \;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;i \leq -1.15 \cdot 10^{+57}:\\ \;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(i \cdot \left(y \cdot k - t \cdot j\right) + y0 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\right)\\ \mathbf{elif}\;i \leq -6000000:\\ \;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\ \mathbf{elif}\;i \leq -1.2 \cdot 10^{-46}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\right)\\ \mathbf{elif}\;i \leq -6.5 \cdot 10^{-209}:\\ \;\;\;\;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}\;i \leq 2.2 \cdot 10^{-182}:\\ \;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(i \cdot \left(y \cdot k - t \cdot j\right) + y0 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\right)\\ \mathbf{elif}\;i \leq 2.3 \cdot 10^{-34}:\\ \;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\ \mathbf{elif}\;i \leq 1.75 \cdot 10^{+129}:\\ \;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;i \leq 1.15 \cdot 10^{+229}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(k \cdot \left(i \cdot \left(-y1\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 7: 38.5% accurate, 1.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := t \cdot j - y \cdot k\\ t_2 := x \cdot y - z \cdot t\\ t_3 := b \cdot \left(\left(a \cdot t\_2 + y4 \cdot t\_1\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ t_4 := y \cdot k - t \cdot j\\ t_5 := c \cdot i - a \cdot b\\ \mathbf{if}\;i \leq -8.6 \cdot 10^{+178}:\\ \;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + \left(y5 \cdot t\_4 - c \cdot t\_2\right)\right)\\ \mathbf{elif}\;i \leq -3.7 \cdot 10^{+96}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;i \leq -1.4 \cdot 10^{+55}:\\ \;\;\;\;t \cdot \left(\left(z \cdot t\_5 + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;i \leq -1550000:\\ \;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\ \mathbf{elif}\;i \leq -1.72 \cdot 10^{-46}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) + t \cdot t\_5\right)\right)\\ \mathbf{elif}\;i \leq -2.7 \cdot 10^{-213}:\\ \;\;\;\;y4 \cdot \left(\left(b \cdot t\_1 + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;i \leq 1.55 \cdot 10^{-185}:\\ \;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(i \cdot t\_4 + y0 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\right)\\ \mathbf{elif}\;i \leq 1.55 \cdot 10^{-37}:\\ \;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\ \mathbf{elif}\;i \leq 1.66 \cdot 10^{+128}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;i \leq 1.45 \cdot 10^{+221}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(k \cdot \left(i \cdot \left(-y1\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 (- (* t j) (* y k)))
        (t_2 (- (* x y) (* z t)))
        (t_3 (* b (+ (+ (* a t_2) (* y4 t_1)) (* y0 (- (* z k) (* x j))))))
        (t_4 (- (* y k) (* t j)))
        (t_5 (- (* c i) (* a b))))
   (if (<= i -8.6e+178)
     (* i (+ (* y1 (- (* x j) (* z k))) (- (* y5 t_4) (* c t_2))))
     (if (<= i -3.7e+96)
       t_3
       (if (<= i -1.4e+55)
         (*
          t
          (+
           (+ (* z t_5) (* j (- (* b y4) (* i y5))))
           (* y2 (- (* a y5) (* c y4)))))
         (if (<= i -1550000.0)
           (*
            x
            (+
             (+ (* y (- (* a b) (* c i))) (* y2 (- (* c y0) (* a y1))))
             (* j (- (* i y1) (* b y0)))))
           (if (<= i -1.72e-46)
             (*
              z
              (+
               (* k (- (* b y0) (* i y1)))
               (+ (* y3 (- (* a y1) (* c y0))) (* t t_5))))
             (if (<= i -2.7e-213)
               (*
                y4
                (+
                 (+ (* b t_1) (* y1 (- (* k y2) (* j y3))))
                 (* c (- (* y y3) (* t y2)))))
               (if (<= i 1.55e-185)
                 (*
                  y5
                  (+
                   (* a (- (* t y2) (* y y3)))
                   (+ (* i t_4) (* y0 (- (* j y3) (* k y2))))))
                 (if (<= i 1.55e-37)
                   (* b (* j (- (* t y4) (* x y0))))
                   (if (<= i 1.66e+128)
                     t_3
                     (if (<= i 1.45e+221)
                       (* c (* t (- (* z i) (* y2 y4))))
                       (* z (* k (* i (- y1))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (t * j) - (y * k);
	double t_2 = (x * y) - (z * t);
	double t_3 = b * (((a * t_2) + (y4 * t_1)) + (y0 * ((z * k) - (x * j))));
	double t_4 = (y * k) - (t * j);
	double t_5 = (c * i) - (a * b);
	double tmp;
	if (i <= -8.6e+178) {
		tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * t_4) - (c * t_2)));
	} else if (i <= -3.7e+96) {
		tmp = t_3;
	} else if (i <= -1.4e+55) {
		tmp = t * (((z * t_5) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * y4))));
	} else if (i <= -1550000.0) {
		tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
	} else if (i <= -1.72e-46) {
		tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_5)));
	} else if (i <= -2.7e-213) {
		tmp = y4 * (((b * t_1) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
	} else if (i <= 1.55e-185) {
		tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * t_4) + (y0 * ((j * y3) - (k * y2)))));
	} else if (i <= 1.55e-37) {
		tmp = b * (j * ((t * y4) - (x * y0)));
	} else if (i <= 1.66e+128) {
		tmp = t_3;
	} else if (i <= 1.45e+221) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else {
		tmp = z * (k * (i * -y1));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: t_4
    real(8) :: t_5
    real(8) :: tmp
    t_1 = (t * j) - (y * k)
    t_2 = (x * y) - (z * t)
    t_3 = b * (((a * t_2) + (y4 * t_1)) + (y0 * ((z * k) - (x * j))))
    t_4 = (y * k) - (t * j)
    t_5 = (c * i) - (a * b)
    if (i <= (-8.6d+178)) then
        tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * t_4) - (c * t_2)))
    else if (i <= (-3.7d+96)) then
        tmp = t_3
    else if (i <= (-1.4d+55)) then
        tmp = t * (((z * t_5) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * y4))))
    else if (i <= (-1550000.0d0)) then
        tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
    else if (i <= (-1.72d-46)) then
        tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_5)))
    else if (i <= (-2.7d-213)) then
        tmp = y4 * (((b * t_1) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
    else if (i <= 1.55d-185) then
        tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * t_4) + (y0 * ((j * y3) - (k * y2)))))
    else if (i <= 1.55d-37) then
        tmp = b * (j * ((t * y4) - (x * y0)))
    else if (i <= 1.66d+128) then
        tmp = t_3
    else if (i <= 1.45d+221) then
        tmp = c * (t * ((z * i) - (y2 * y4)))
    else
        tmp = z * (k * (i * -y1))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (t * j) - (y * k);
	double t_2 = (x * y) - (z * t);
	double t_3 = b * (((a * t_2) + (y4 * t_1)) + (y0 * ((z * k) - (x * j))));
	double t_4 = (y * k) - (t * j);
	double t_5 = (c * i) - (a * b);
	double tmp;
	if (i <= -8.6e+178) {
		tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * t_4) - (c * t_2)));
	} else if (i <= -3.7e+96) {
		tmp = t_3;
	} else if (i <= -1.4e+55) {
		tmp = t * (((z * t_5) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * y4))));
	} else if (i <= -1550000.0) {
		tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
	} else if (i <= -1.72e-46) {
		tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_5)));
	} else if (i <= -2.7e-213) {
		tmp = y4 * (((b * t_1) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
	} else if (i <= 1.55e-185) {
		tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * t_4) + (y0 * ((j * y3) - (k * y2)))));
	} else if (i <= 1.55e-37) {
		tmp = b * (j * ((t * y4) - (x * y0)));
	} else if (i <= 1.66e+128) {
		tmp = t_3;
	} else if (i <= 1.45e+221) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else {
		tmp = z * (k * (i * -y1));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = (t * j) - (y * k)
	t_2 = (x * y) - (z * t)
	t_3 = b * (((a * t_2) + (y4 * t_1)) + (y0 * ((z * k) - (x * j))))
	t_4 = (y * k) - (t * j)
	t_5 = (c * i) - (a * b)
	tmp = 0
	if i <= -8.6e+178:
		tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * t_4) - (c * t_2)))
	elif i <= -3.7e+96:
		tmp = t_3
	elif i <= -1.4e+55:
		tmp = t * (((z * t_5) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * y4))))
	elif i <= -1550000.0:
		tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
	elif i <= -1.72e-46:
		tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_5)))
	elif i <= -2.7e-213:
		tmp = y4 * (((b * t_1) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
	elif i <= 1.55e-185:
		tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * t_4) + (y0 * ((j * y3) - (k * y2)))))
	elif i <= 1.55e-37:
		tmp = b * (j * ((t * y4) - (x * y0)))
	elif i <= 1.66e+128:
		tmp = t_3
	elif i <= 1.45e+221:
		tmp = c * (t * ((z * i) - (y2 * y4)))
	else:
		tmp = z * (k * (i * -y1))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(Float64(t * j) - Float64(y * k))
	t_2 = Float64(Float64(x * y) - Float64(z * t))
	t_3 = Float64(b * Float64(Float64(Float64(a * t_2) + Float64(y4 * t_1)) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))))
	t_4 = Float64(Float64(y * k) - Float64(t * j))
	t_5 = Float64(Float64(c * i) - Float64(a * b))
	tmp = 0.0
	if (i <= -8.6e+178)
		tmp = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(y5 * t_4) - Float64(c * t_2))));
	elseif (i <= -3.7e+96)
		tmp = t_3;
	elseif (i <= -1.4e+55)
		tmp = Float64(t * Float64(Float64(Float64(z * t_5) + Float64(j * Float64(Float64(b * y4) - Float64(i * y5)))) + Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))));
	elseif (i <= -1550000.0)
		tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0)))));
	elseif (i <= -1.72e-46)
		tmp = Float64(z * Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0))) + Float64(t * t_5))));
	elseif (i <= -2.7e-213)
		tmp = Float64(y4 * Float64(Float64(Float64(b * t_1) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2)))));
	elseif (i <= 1.55e-185)
		tmp = Float64(y5 * Float64(Float64(a * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(Float64(i * t_4) + Float64(y0 * Float64(Float64(j * y3) - Float64(k * y2))))));
	elseif (i <= 1.55e-37)
		tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0))));
	elseif (i <= 1.66e+128)
		tmp = t_3;
	elseif (i <= 1.45e+221)
		tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4))));
	else
		tmp = Float64(z * Float64(k * Float64(i * Float64(-y1))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = (t * j) - (y * k);
	t_2 = (x * y) - (z * t);
	t_3 = b * (((a * t_2) + (y4 * t_1)) + (y0 * ((z * k) - (x * j))));
	t_4 = (y * k) - (t * j);
	t_5 = (c * i) - (a * b);
	tmp = 0.0;
	if (i <= -8.6e+178)
		tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * t_4) - (c * t_2)));
	elseif (i <= -3.7e+96)
		tmp = t_3;
	elseif (i <= -1.4e+55)
		tmp = t * (((z * t_5) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * y4))));
	elseif (i <= -1550000.0)
		tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
	elseif (i <= -1.72e-46)
		tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_5)));
	elseif (i <= -2.7e-213)
		tmp = y4 * (((b * t_1) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
	elseif (i <= 1.55e-185)
		tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * t_4) + (y0 * ((j * y3) - (k * y2)))));
	elseif (i <= 1.55e-37)
		tmp = b * (j * ((t * y4) - (x * y0)));
	elseif (i <= 1.66e+128)
		tmp = t_3;
	elseif (i <= 1.45e+221)
		tmp = c * (t * ((z * i) - (y2 * y4)));
	else
		tmp = z * (k * (i * -y1));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(b * N[(N[(N[(a * t$95$2), $MachinePrecision] + N[(y4 * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -8.6e+178], N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y5 * t$95$4), $MachinePrecision] - N[(c * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -3.7e+96], t$95$3, If[LessEqual[i, -1.4e+55], N[(t * N[(N[(N[(z * t$95$5), $MachinePrecision] + N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -1550000.0], N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -1.72e-46], N[(z * N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -2.7e-213], N[(y4 * N[(N[(N[(b * t$95$1), $MachinePrecision] + N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.55e-185], N[(y5 * N[(N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(i * t$95$4), $MachinePrecision] + N[(y0 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.55e-37], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.66e+128], t$95$3, If[LessEqual[i, 1.45e+221], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(z * N[(k * N[(i * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;i \leq -3.7 \cdot 10^{+96}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;i \leq -1.4 \cdot 10^{+55}:\\
\;\;\;\;t \cdot \left(\left(z \cdot t\_5 + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\

\mathbf{elif}\;i \leq -1550000:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\

\mathbf{elif}\;i \leq -1.72 \cdot 10^{-46}:\\
\;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) + t \cdot t\_5\right)\right)\\

\mathbf{elif}\;i \leq -2.7 \cdot 10^{-213}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot t\_1 + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\

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

\mathbf{elif}\;i \leq 1.55 \cdot 10^{-37}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\

\mathbf{elif}\;i \leq 1.66 \cdot 10^{+128}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;i \leq 1.45 \cdot 10^{+221}:\\
\;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\

\mathbf{else}:\\
\;\;\;\;z \cdot \left(k \cdot \left(i \cdot \left(-y1\right)\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 10 regimes
  2. if i < -8.6000000000000004e178

    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 i around -inf 72.8%

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]

    if -8.6000000000000004e178 < i < -3.69999999999999991e96 or 1.54999999999999997e-37 < i < 1.6599999999999999e128

    1. Initial program 31.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 66.3%

      \[\leadsto \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)} \]

    if -3.69999999999999991e96 < i < -1.4e55

    1. Initial program 35.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 t around inf 72.3%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]

    if -1.4e55 < i < -1.55e6

    1. Initial program 44.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 x around inf 77.9%

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

    if -1.55e6 < i < -1.7199999999999999e-46

    1. Initial program 61.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 z around -inf 74.7%

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

    if -1.7199999999999999e-46 < i < -2.7000000000000001e-213

    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 y4 around inf 53.5%

      \[\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 -2.7000000000000001e-213 < i < 1.5499999999999998e-185

    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 y5 around -inf 53.9%

      \[\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 1.5499999999999998e-185 < i < 1.54999999999999997e-37

    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 b around inf 33.7%

      \[\leadsto \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)} \]
    4. Taylor expanded in j around inf 48.0%

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

    if 1.6599999999999999e128 < i < 1.4499999999999999e221

    1. Initial program 15.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 t around inf 36.9%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in c around inf 58.2%

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

    if 1.4499999999999999e221 < i

    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 z around -inf 33.5%

      \[\leadsto \color{blue}{-1 \cdot \left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Taylor expanded in k around inf 42.0%

      \[\leadsto -1 \cdot \left(z \cdot \color{blue}{\left(k \cdot \left(i \cdot y1 - b \cdot y0\right)\right)}\right) \]
    5. Taylor expanded in i around inf 59.4%

      \[\leadsto -1 \cdot \left(z \cdot \left(k \cdot \color{blue}{\left(i \cdot y1\right)}\right)\right) \]
  3. Recombined 10 regimes into one program.
  4. Final simplification61.1%

    \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -8.6 \cdot 10^{+178}:\\ \;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + \left(y5 \cdot \left(y \cdot k - t \cdot j\right) - c \cdot \left(x \cdot y - z \cdot t\right)\right)\right)\\ \mathbf{elif}\;i \leq -3.7 \cdot 10^{+96}:\\ \;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;i \leq -1.4 \cdot 10^{+55}:\\ \;\;\;\;t \cdot \left(\left(z \cdot \left(c \cdot i - a \cdot b\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;i \leq -1550000:\\ \;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\ \mathbf{elif}\;i \leq -1.72 \cdot 10^{-46}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\right)\\ \mathbf{elif}\;i \leq -2.7 \cdot 10^{-213}:\\ \;\;\;\;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}\;i \leq 1.55 \cdot 10^{-185}:\\ \;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(i \cdot \left(y \cdot k - t \cdot j\right) + y0 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\right)\\ \mathbf{elif}\;i \leq 1.55 \cdot 10^{-37}:\\ \;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\ \mathbf{elif}\;i \leq 1.66 \cdot 10^{+128}:\\ \;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;i \leq 1.45 \cdot 10^{+221}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(k \cdot \left(i \cdot \left(-y1\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 8: 36.1% accurate, 1.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := t \cdot j - y \cdot k\\ t_2 := k \cdot \left(b \cdot y0 - i \cdot y1\right)\\ t_3 := k \cdot y2 - j \cdot y3\\ t_4 := x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\ \mathbf{if}\;t \leq -2.35 \cdot 10^{+154}:\\ \;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot t\_1\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;t \leq -1.8 \cdot 10^{+87}:\\ \;\;\;\;t\_3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{elif}\;t \leq -1.66 \cdot 10^{-12}:\\ \;\;\;\;z \cdot \left(t\_2 + \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\right)\\ \mathbf{elif}\;t \leq -3.2 \cdot 10^{-36}:\\ \;\;\;\;y4 \cdot \left(\left(b \cdot t\_1 + y1 \cdot t\_3\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;t \leq -9.5 \cdot 10^{-117}:\\ \;\;\;\;t\_4\\ \mathbf{elif}\;t \leq -2.2 \cdot 10^{-204}:\\ \;\;\;\;z \cdot t\_2\\ \mathbf{elif}\;t \leq 9.4 \cdot 10^{-203}:\\ \;\;\;\;t\_4\\ \mathbf{elif}\;t \leq 2.3 \cdot 10^{-92}:\\ \;\;\;\;y1 \cdot \left(\left(y4 \cdot t\_3 + a \cdot \left(z \cdot y3 - x \cdot y2\right)\right) + i \cdot \left(x \cdot j - z \cdot k\right)\right)\\ \mathbf{elif}\;t \leq 8 \cdot 10^{+154}:\\ \;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(i \cdot \left(y \cdot k - t \cdot j\right) + y0 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(a \cdot \left(z \cdot \left(-t\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 (- (* t j) (* y k)))
        (t_2 (* k (- (* b y0) (* i y1))))
        (t_3 (- (* k y2) (* j y3)))
        (t_4
         (*
          x
          (+
           (+ (* y (- (* a b) (* c i))) (* y2 (- (* c y0) (* a y1))))
           (* j (- (* i y1) (* b y0)))))))
   (if (<= t -2.35e+154)
     (*
      b
      (+ (+ (* a (- (* x y) (* z t))) (* y4 t_1)) (* y0 (- (* z k) (* x j)))))
     (if (<= t -1.8e+87)
       (+ (* t_3 (- (* y1 y4) (* y0 y5))) (* c (* y (* y3 y4))))
       (if (<= t -1.66e-12)
         (*
          z
          (+ t_2 (+ (* y3 (- (* a y1) (* c y0))) (* t (- (* c i) (* a b))))))
         (if (<= t -3.2e-36)
           (* y4 (+ (+ (* b t_1) (* y1 t_3)) (* c (- (* y y3) (* t y2)))))
           (if (<= t -9.5e-117)
             t_4
             (if (<= t -2.2e-204)
               (* z t_2)
               (if (<= t 9.4e-203)
                 t_4
                 (if (<= t 2.3e-92)
                   (*
                    y1
                    (+
                     (+ (* y4 t_3) (* a (- (* z y3) (* x y2))))
                     (* i (- (* x j) (* z k)))))
                   (if (<= t 8e+154)
                     (*
                      y5
                      (+
                       (* a (- (* t y2) (* y y3)))
                       (+
                        (* i (- (* y k) (* t j)))
                        (* y0 (- (* j y3) (* k y2))))))
                     (* b (* a (* z (- t)))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (t * j) - (y * k);
	double t_2 = k * ((b * y0) - (i * y1));
	double t_3 = (k * y2) - (j * y3);
	double t_4 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
	double tmp;
	if (t <= -2.35e+154) {
		tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_1)) + (y0 * ((z * k) - (x * j))));
	} else if (t <= -1.8e+87) {
		tmp = (t_3 * ((y1 * y4) - (y0 * y5))) + (c * (y * (y3 * y4)));
	} else if (t <= -1.66e-12) {
		tmp = z * (t_2 + ((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b)))));
	} else if (t <= -3.2e-36) {
		tmp = y4 * (((b * t_1) + (y1 * t_3)) + (c * ((y * y3) - (t * y2))));
	} else if (t <= -9.5e-117) {
		tmp = t_4;
	} else if (t <= -2.2e-204) {
		tmp = z * t_2;
	} else if (t <= 9.4e-203) {
		tmp = t_4;
	} else if (t <= 2.3e-92) {
		tmp = y1 * (((y4 * t_3) + (a * ((z * y3) - (x * y2)))) + (i * ((x * j) - (z * k))));
	} else if (t <= 8e+154) {
		tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))));
	} else {
		tmp = b * (a * (z * -t));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: t_4
    real(8) :: tmp
    t_1 = (t * j) - (y * k)
    t_2 = k * ((b * y0) - (i * y1))
    t_3 = (k * y2) - (j * y3)
    t_4 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
    if (t <= (-2.35d+154)) then
        tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_1)) + (y0 * ((z * k) - (x * j))))
    else if (t <= (-1.8d+87)) then
        tmp = (t_3 * ((y1 * y4) - (y0 * y5))) + (c * (y * (y3 * y4)))
    else if (t <= (-1.66d-12)) then
        tmp = z * (t_2 + ((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b)))))
    else if (t <= (-3.2d-36)) then
        tmp = y4 * (((b * t_1) + (y1 * t_3)) + (c * ((y * y3) - (t * y2))))
    else if (t <= (-9.5d-117)) then
        tmp = t_4
    else if (t <= (-2.2d-204)) then
        tmp = z * t_2
    else if (t <= 9.4d-203) then
        tmp = t_4
    else if (t <= 2.3d-92) then
        tmp = y1 * (((y4 * t_3) + (a * ((z * y3) - (x * y2)))) + (i * ((x * j) - (z * k))))
    else if (t <= 8d+154) then
        tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))))
    else
        tmp = b * (a * (z * -t))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (t * j) - (y * k);
	double t_2 = k * ((b * y0) - (i * y1));
	double t_3 = (k * y2) - (j * y3);
	double t_4 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
	double tmp;
	if (t <= -2.35e+154) {
		tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_1)) + (y0 * ((z * k) - (x * j))));
	} else if (t <= -1.8e+87) {
		tmp = (t_3 * ((y1 * y4) - (y0 * y5))) + (c * (y * (y3 * y4)));
	} else if (t <= -1.66e-12) {
		tmp = z * (t_2 + ((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b)))));
	} else if (t <= -3.2e-36) {
		tmp = y4 * (((b * t_1) + (y1 * t_3)) + (c * ((y * y3) - (t * y2))));
	} else if (t <= -9.5e-117) {
		tmp = t_4;
	} else if (t <= -2.2e-204) {
		tmp = z * t_2;
	} else if (t <= 9.4e-203) {
		tmp = t_4;
	} else if (t <= 2.3e-92) {
		tmp = y1 * (((y4 * t_3) + (a * ((z * y3) - (x * y2)))) + (i * ((x * j) - (z * k))));
	} else if (t <= 8e+154) {
		tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))));
	} else {
		tmp = b * (a * (z * -t));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = (t * j) - (y * k)
	t_2 = k * ((b * y0) - (i * y1))
	t_3 = (k * y2) - (j * y3)
	t_4 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
	tmp = 0
	if t <= -2.35e+154:
		tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_1)) + (y0 * ((z * k) - (x * j))))
	elif t <= -1.8e+87:
		tmp = (t_3 * ((y1 * y4) - (y0 * y5))) + (c * (y * (y3 * y4)))
	elif t <= -1.66e-12:
		tmp = z * (t_2 + ((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b)))))
	elif t <= -3.2e-36:
		tmp = y4 * (((b * t_1) + (y1 * t_3)) + (c * ((y * y3) - (t * y2))))
	elif t <= -9.5e-117:
		tmp = t_4
	elif t <= -2.2e-204:
		tmp = z * t_2
	elif t <= 9.4e-203:
		tmp = t_4
	elif t <= 2.3e-92:
		tmp = y1 * (((y4 * t_3) + (a * ((z * y3) - (x * y2)))) + (i * ((x * j) - (z * k))))
	elif t <= 8e+154:
		tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))))
	else:
		tmp = b * (a * (z * -t))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(Float64(t * j) - Float64(y * k))
	t_2 = Float64(k * Float64(Float64(b * y0) - Float64(i * y1)))
	t_3 = Float64(Float64(k * y2) - Float64(j * y3))
	t_4 = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0)))))
	tmp = 0.0
	if (t <= -2.35e+154)
		tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * t_1)) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))));
	elseif (t <= -1.8e+87)
		tmp = Float64(Float64(t_3 * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(c * Float64(y * Float64(y3 * y4))));
	elseif (t <= -1.66e-12)
		tmp = Float64(z * Float64(t_2 + Float64(Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0))) + Float64(t * Float64(Float64(c * i) - Float64(a * b))))));
	elseif (t <= -3.2e-36)
		tmp = Float64(y4 * Float64(Float64(Float64(b * t_1) + Float64(y1 * t_3)) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2)))));
	elseif (t <= -9.5e-117)
		tmp = t_4;
	elseif (t <= -2.2e-204)
		tmp = Float64(z * t_2);
	elseif (t <= 9.4e-203)
		tmp = t_4;
	elseif (t <= 2.3e-92)
		tmp = Float64(y1 * Float64(Float64(Float64(y4 * t_3) + Float64(a * Float64(Float64(z * y3) - Float64(x * y2)))) + Float64(i * Float64(Float64(x * j) - Float64(z * k)))));
	elseif (t <= 8e+154)
		tmp = Float64(y5 * Float64(Float64(a * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(Float64(i * Float64(Float64(y * k) - Float64(t * j))) + Float64(y0 * Float64(Float64(j * y3) - Float64(k * y2))))));
	else
		tmp = Float64(b * Float64(a * Float64(z * Float64(-t))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = (t * j) - (y * k);
	t_2 = k * ((b * y0) - (i * y1));
	t_3 = (k * y2) - (j * y3);
	t_4 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
	tmp = 0.0;
	if (t <= -2.35e+154)
		tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_1)) + (y0 * ((z * k) - (x * j))));
	elseif (t <= -1.8e+87)
		tmp = (t_3 * ((y1 * y4) - (y0 * y5))) + (c * (y * (y3 * y4)));
	elseif (t <= -1.66e-12)
		tmp = z * (t_2 + ((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b)))));
	elseif (t <= -3.2e-36)
		tmp = y4 * (((b * t_1) + (y1 * t_3)) + (c * ((y * y3) - (t * y2))));
	elseif (t <= -9.5e-117)
		tmp = t_4;
	elseif (t <= -2.2e-204)
		tmp = z * t_2;
	elseif (t <= 9.4e-203)
		tmp = t_4;
	elseif (t <= 2.3e-92)
		tmp = y1 * (((y4 * t_3) + (a * ((z * y3) - (x * y2)))) + (i * ((x * j) - (z * k))));
	elseif (t <= 8e+154)
		tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))));
	else
		tmp = b * (a * (z * -t));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -2.35e+154], N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.8e+87], N[(N[(t$95$3 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.66e-12], N[(z * N[(t$95$2 + N[(N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -3.2e-36], N[(y4 * N[(N[(N[(b * t$95$1), $MachinePrecision] + N[(y1 * t$95$3), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -9.5e-117], t$95$4, If[LessEqual[t, -2.2e-204], N[(z * t$95$2), $MachinePrecision], If[LessEqual[t, 9.4e-203], t$95$4, If[LessEqual[t, 2.3e-92], N[(y1 * N[(N[(N[(y4 * t$95$3), $MachinePrecision] + N[(a * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 8e+154], N[(y5 * N[(N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(i * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(a * N[(z * (-t)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;t \leq -1.8 \cdot 10^{+87}:\\
\;\;\;\;t\_3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\

\mathbf{elif}\;t \leq -1.66 \cdot 10^{-12}:\\
\;\;\;\;z \cdot \left(t\_2 + \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\right)\\

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

\mathbf{elif}\;t \leq -9.5 \cdot 10^{-117}:\\
\;\;\;\;t\_4\\

\mathbf{elif}\;t \leq -2.2 \cdot 10^{-204}:\\
\;\;\;\;z \cdot t\_2\\

\mathbf{elif}\;t \leq 9.4 \cdot 10^{-203}:\\
\;\;\;\;t\_4\\

\mathbf{elif}\;t \leq 2.3 \cdot 10^{-92}:\\
\;\;\;\;y1 \cdot \left(\left(y4 \cdot t\_3 + a \cdot \left(z \cdot y3 - x \cdot y2\right)\right) + i \cdot \left(x \cdot j - z \cdot k\right)\right)\\

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

\mathbf{else}:\\
\;\;\;\;b \cdot \left(a \cdot \left(z \cdot \left(-t\right)\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 9 regimes
  2. if t < -2.34999999999999992e154

    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 b around inf 61.8%

      \[\leadsto \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)} \]

    if -2.34999999999999992e154 < t < -1.79999999999999997e87

    1. Initial program 41.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 y4 around inf 51.0%

      \[\leadsto \color{blue}{y4 \cdot \left(b \cdot \left(j \cdot t - k \cdot y\right) - c \cdot \left(t \cdot y2 - y \cdot y3\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 75.7%

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

    if -1.79999999999999997e87 < t < -1.65999999999999999e-12

    1. Initial program 26.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 z around -inf 61.4%

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

    if -1.65999999999999999e-12 < t < -3.20000000000000021e-36

    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 87.5%

      \[\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.20000000000000021e-36 < t < -9.5000000000000004e-117 or -2.1999999999999998e-204 < t < 9.40000000000000012e-203

    1. Initial program 32.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 x around inf 58.6%

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

    if -9.5000000000000004e-117 < t < -2.1999999999999998e-204

    1. Initial program 55.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 z around -inf 67.2%

      \[\leadsto \color{blue}{-1 \cdot \left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Taylor expanded in k around inf 67.4%

      \[\leadsto -1 \cdot \left(z \cdot \color{blue}{\left(k \cdot \left(i \cdot y1 - b \cdot y0\right)\right)}\right) \]

    if 9.40000000000000012e-203 < t < 2.30000000000000016e-92

    1. Initial program 33.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 y1 around inf 78.2%

      \[\leadsto \color{blue}{y1 \cdot \left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]

    if 2.30000000000000016e-92 < t < 8.0000000000000003e154

    1. Initial program 33.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 y5 around -inf 49.1%

      \[\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 8.0000000000000003e154 < t

    1. Initial program 30.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 39.5%

      \[\leadsto \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)} \]
    4. Taylor expanded in a around inf 48.8%

      \[\leadsto b \cdot \color{blue}{\left(a \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around 0 52.2%

      \[\leadsto b \cdot \left(a \cdot \color{blue}{\left(-1 \cdot \left(t \cdot z\right)\right)}\right) \]
    6. Step-by-step derivation
      1. mul-1-neg52.2%

        \[\leadsto b \cdot \left(a \cdot \color{blue}{\left(-t \cdot z\right)}\right) \]
      2. distribute-lft-neg-out52.2%

        \[\leadsto b \cdot \left(a \cdot \color{blue}{\left(\left(-t\right) \cdot z\right)}\right) \]
      3. *-commutative52.2%

        \[\leadsto b \cdot \left(a \cdot \color{blue}{\left(z \cdot \left(-t\right)\right)}\right) \]
    7. Simplified52.2%

      \[\leadsto b \cdot \left(a \cdot \color{blue}{\left(z \cdot \left(-t\right)\right)}\right) \]
  3. Recombined 9 regimes into one program.
  4. Final simplification60.0%

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -2.35 \cdot 10^{+154}:\\ \;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;t \leq -1.8 \cdot 10^{+87}:\\ \;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{elif}\;t \leq -1.66 \cdot 10^{-12}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\right)\\ \mathbf{elif}\;t \leq -3.2 \cdot 10^{-36}:\\ \;\;\;\;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}\;t \leq -9.5 \cdot 10^{-117}:\\ \;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\ \mathbf{elif}\;t \leq -2.2 \cdot 10^{-204}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\ \mathbf{elif}\;t \leq 9.4 \cdot 10^{-203}:\\ \;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\ \mathbf{elif}\;t \leq 2.3 \cdot 10^{-92}:\\ \;\;\;\;y1 \cdot \left(\left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right) + a \cdot \left(z \cdot y3 - x \cdot y2\right)\right) + i \cdot \left(x \cdot j - z \cdot k\right)\right)\\ \mathbf{elif}\;t \leq 8 \cdot 10^{+154}:\\ \;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(i \cdot \left(y \cdot k - t \cdot j\right) + y0 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(a \cdot \left(z \cdot \left(-t\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 9: 31.2% accurate, 1.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ t_2 := z \cdot \left(\left(y1 \cdot \left(a \cdot y3 - i \cdot k\right) - c \cdot \left(y0 \cdot y3\right)\right) + b \cdot \left(k \cdot y0\right)\right)\\ \mathbf{if}\;c \leq -7.8 \cdot 10^{+198}:\\ \;\;\;\;\left(a \cdot y3\right) \cdot \left(z \cdot y1 - y \cdot y5\right)\\ \mathbf{elif}\;c \leq -2.35 \cdot 10^{+142}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;c \leq -2.35 \cdot 10^{-66}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;c \leq -7.5 \cdot 10^{-183}:\\ \;\;\;\;b \cdot \left(y \cdot \left(x \cdot a - k \cdot y4\right)\right)\\ \mathbf{elif}\;c \leq -1 \cdot 10^{-223}:\\ \;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\ \mathbf{elif}\;c \leq 5 \cdot 10^{-263}:\\ \;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\ \mathbf{elif}\;c \leq 1.4 \cdot 10^{-190}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;c \leq 3.25 \cdot 10^{-153}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - z \cdot b\right)\right)\\ \mathbf{elif}\;c \leq 1.25 \cdot 10^{-67}:\\ \;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{elif}\;c \leq 1.62 \cdot 10^{+99}:\\ \;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;c \leq 1.32 \cdot 10^{+191}:\\ \;\;\;\;y \cdot \left(y4 \cdot \left(c \cdot y3 - b \cdot k\right)\right)\\ \mathbf{elif}\;c \leq 2.1 \cdot 10^{+234}:\\ \;\;\;\;c \cdot \left(i \cdot \left(z \cdot t - x \cdot y\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 (* t (* y2 (- (* a y5) (* c y4)))))
        (t_2
         (*
          z
          (+ (- (* y1 (- (* a y3) (* i k))) (* c (* y0 y3))) (* b (* k y0))))))
   (if (<= c -7.8e+198)
     (* (* a y3) (- (* z y1) (* y y5)))
     (if (<= c -2.35e+142)
       t_1
       (if (<= c -2.35e-66)
         t_2
         (if (<= c -7.5e-183)
           (* b (* y (- (* x a) (* k y4))))
           (if (<= c -1e-223)
             (* i (* y1 (- (* x j) (* z k))))
             (if (<= c 5e-263)
               (* b (* j (- (* t y4) (* x y0))))
               (if (<= c 1.4e-190)
                 t_2
                 (if (<= c 3.25e-153)
                   (* a (* t (- (* y2 y5) (* z b))))
                   (if (<= c 1.25e-67)
                     (+
                      (* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5)))
                      (* c (* y (* y3 y4))))
                     (if (<= c 1.62e+99)
                       (* b (* a (- (* x y) (* z t))))
                       (if (<= c 1.32e+191)
                         (* y (* y4 (- (* c y3) (* b k))))
                         (if (<= c 2.1e+234)
                           (* c (* i (- (* z t) (* x y))))
                           t_1))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = t * (y2 * ((a * y5) - (c * y4)));
	double t_2 = z * (((y1 * ((a * y3) - (i * k))) - (c * (y0 * y3))) + (b * (k * y0)));
	double tmp;
	if (c <= -7.8e+198) {
		tmp = (a * y3) * ((z * y1) - (y * y5));
	} else if (c <= -2.35e+142) {
		tmp = t_1;
	} else if (c <= -2.35e-66) {
		tmp = t_2;
	} else if (c <= -7.5e-183) {
		tmp = b * (y * ((x * a) - (k * y4)));
	} else if (c <= -1e-223) {
		tmp = i * (y1 * ((x * j) - (z * k)));
	} else if (c <= 5e-263) {
		tmp = b * (j * ((t * y4) - (x * y0)));
	} else if (c <= 1.4e-190) {
		tmp = t_2;
	} else if (c <= 3.25e-153) {
		tmp = a * (t * ((y2 * y5) - (z * b)));
	} else if (c <= 1.25e-67) {
		tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (c * (y * (y3 * y4)));
	} else if (c <= 1.62e+99) {
		tmp = b * (a * ((x * y) - (z * t)));
	} else if (c <= 1.32e+191) {
		tmp = y * (y4 * ((c * y3) - (b * k)));
	} else if (c <= 2.1e+234) {
		tmp = c * (i * ((z * t) - (x * y)));
	} 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 = t * (y2 * ((a * y5) - (c * y4)))
    t_2 = z * (((y1 * ((a * y3) - (i * k))) - (c * (y0 * y3))) + (b * (k * y0)))
    if (c <= (-7.8d+198)) then
        tmp = (a * y3) * ((z * y1) - (y * y5))
    else if (c <= (-2.35d+142)) then
        tmp = t_1
    else if (c <= (-2.35d-66)) then
        tmp = t_2
    else if (c <= (-7.5d-183)) then
        tmp = b * (y * ((x * a) - (k * y4)))
    else if (c <= (-1d-223)) then
        tmp = i * (y1 * ((x * j) - (z * k)))
    else if (c <= 5d-263) then
        tmp = b * (j * ((t * y4) - (x * y0)))
    else if (c <= 1.4d-190) then
        tmp = t_2
    else if (c <= 3.25d-153) then
        tmp = a * (t * ((y2 * y5) - (z * b)))
    else if (c <= 1.25d-67) then
        tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (c * (y * (y3 * y4)))
    else if (c <= 1.62d+99) then
        tmp = b * (a * ((x * y) - (z * t)))
    else if (c <= 1.32d+191) then
        tmp = y * (y4 * ((c * y3) - (b * k)))
    else if (c <= 2.1d+234) then
        tmp = c * (i * ((z * t) - (x * y)))
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = t * (y2 * ((a * y5) - (c * y4)));
	double t_2 = z * (((y1 * ((a * y3) - (i * k))) - (c * (y0 * y3))) + (b * (k * y0)));
	double tmp;
	if (c <= -7.8e+198) {
		tmp = (a * y3) * ((z * y1) - (y * y5));
	} else if (c <= -2.35e+142) {
		tmp = t_1;
	} else if (c <= -2.35e-66) {
		tmp = t_2;
	} else if (c <= -7.5e-183) {
		tmp = b * (y * ((x * a) - (k * y4)));
	} else if (c <= -1e-223) {
		tmp = i * (y1 * ((x * j) - (z * k)));
	} else if (c <= 5e-263) {
		tmp = b * (j * ((t * y4) - (x * y0)));
	} else if (c <= 1.4e-190) {
		tmp = t_2;
	} else if (c <= 3.25e-153) {
		tmp = a * (t * ((y2 * y5) - (z * b)));
	} else if (c <= 1.25e-67) {
		tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (c * (y * (y3 * y4)));
	} else if (c <= 1.62e+99) {
		tmp = b * (a * ((x * y) - (z * t)));
	} else if (c <= 1.32e+191) {
		tmp = y * (y4 * ((c * y3) - (b * k)));
	} else if (c <= 2.1e+234) {
		tmp = c * (i * ((z * t) - (x * y)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = t * (y2 * ((a * y5) - (c * y4)))
	t_2 = z * (((y1 * ((a * y3) - (i * k))) - (c * (y0 * y3))) + (b * (k * y0)))
	tmp = 0
	if c <= -7.8e+198:
		tmp = (a * y3) * ((z * y1) - (y * y5))
	elif c <= -2.35e+142:
		tmp = t_1
	elif c <= -2.35e-66:
		tmp = t_2
	elif c <= -7.5e-183:
		tmp = b * (y * ((x * a) - (k * y4)))
	elif c <= -1e-223:
		tmp = i * (y1 * ((x * j) - (z * k)))
	elif c <= 5e-263:
		tmp = b * (j * ((t * y4) - (x * y0)))
	elif c <= 1.4e-190:
		tmp = t_2
	elif c <= 3.25e-153:
		tmp = a * (t * ((y2 * y5) - (z * b)))
	elif c <= 1.25e-67:
		tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (c * (y * (y3 * y4)))
	elif c <= 1.62e+99:
		tmp = b * (a * ((x * y) - (z * t)))
	elif c <= 1.32e+191:
		tmp = y * (y4 * ((c * y3) - (b * k)))
	elif c <= 2.1e+234:
		tmp = c * (i * ((z * t) - (x * y)))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4))))
	t_2 = Float64(z * Float64(Float64(Float64(y1 * Float64(Float64(a * y3) - Float64(i * k))) - Float64(c * Float64(y0 * y3))) + Float64(b * Float64(k * y0))))
	tmp = 0.0
	if (c <= -7.8e+198)
		tmp = Float64(Float64(a * y3) * Float64(Float64(z * y1) - Float64(y * y5)));
	elseif (c <= -2.35e+142)
		tmp = t_1;
	elseif (c <= -2.35e-66)
		tmp = t_2;
	elseif (c <= -7.5e-183)
		tmp = Float64(b * Float64(y * Float64(Float64(x * a) - Float64(k * y4))));
	elseif (c <= -1e-223)
		tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k))));
	elseif (c <= 5e-263)
		tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0))));
	elseif (c <= 1.4e-190)
		tmp = t_2;
	elseif (c <= 3.25e-153)
		tmp = Float64(a * Float64(t * Float64(Float64(y2 * y5) - Float64(z * b))));
	elseif (c <= 1.25e-67)
		tmp = Float64(Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(c * Float64(y * Float64(y3 * y4))));
	elseif (c <= 1.62e+99)
		tmp = Float64(b * Float64(a * Float64(Float64(x * y) - Float64(z * t))));
	elseif (c <= 1.32e+191)
		tmp = Float64(y * Float64(y4 * Float64(Float64(c * y3) - Float64(b * k))));
	elseif (c <= 2.1e+234)
		tmp = Float64(c * Float64(i * Float64(Float64(z * t) - Float64(x * y))));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = t * (y2 * ((a * y5) - (c * y4)));
	t_2 = z * (((y1 * ((a * y3) - (i * k))) - (c * (y0 * y3))) + (b * (k * y0)));
	tmp = 0.0;
	if (c <= -7.8e+198)
		tmp = (a * y3) * ((z * y1) - (y * y5));
	elseif (c <= -2.35e+142)
		tmp = t_1;
	elseif (c <= -2.35e-66)
		tmp = t_2;
	elseif (c <= -7.5e-183)
		tmp = b * (y * ((x * a) - (k * y4)));
	elseif (c <= -1e-223)
		tmp = i * (y1 * ((x * j) - (z * k)));
	elseif (c <= 5e-263)
		tmp = b * (j * ((t * y4) - (x * y0)));
	elseif (c <= 1.4e-190)
		tmp = t_2;
	elseif (c <= 3.25e-153)
		tmp = a * (t * ((y2 * y5) - (z * b)));
	elseif (c <= 1.25e-67)
		tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (c * (y * (y3 * y4)));
	elseif (c <= 1.62e+99)
		tmp = b * (a * ((x * y) - (z * t)));
	elseif (c <= 1.32e+191)
		tmp = y * (y4 * ((c * y3) - (b * k)));
	elseif (c <= 2.1e+234)
		tmp = c * (i * ((z * t) - (x * y)));
	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[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(z * N[(N[(N[(y1 * N[(N[(a * y3), $MachinePrecision] - N[(i * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * N[(y0 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(k * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -7.8e+198], N[(N[(a * y3), $MachinePrecision] * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -2.35e+142], t$95$1, If[LessEqual[c, -2.35e-66], t$95$2, If[LessEqual[c, -7.5e-183], N[(b * N[(y * N[(N[(x * a), $MachinePrecision] - N[(k * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -1e-223], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 5e-263], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.4e-190], t$95$2, If[LessEqual[c, 3.25e-153], N[(a * N[(t * N[(N[(y2 * y5), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.25e-67], N[(N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.62e+99], N[(b * N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.32e+191], N[(y * N[(y4 * N[(N[(c * y3), $MachinePrecision] - N[(b * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2.1e+234], N[(c * N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
t_2 := z \cdot \left(\left(y1 \cdot \left(a \cdot y3 - i \cdot k\right) - c \cdot \left(y0 \cdot y3\right)\right) + b \cdot \left(k \cdot y0\right)\right)\\
\mathbf{if}\;c \leq -7.8 \cdot 10^{+198}:\\
\;\;\;\;\left(a \cdot y3\right) \cdot \left(z \cdot y1 - y \cdot y5\right)\\

\mathbf{elif}\;c \leq -2.35 \cdot 10^{+142}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;c \leq -2.35 \cdot 10^{-66}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;c \leq -7.5 \cdot 10^{-183}:\\
\;\;\;\;b \cdot \left(y \cdot \left(x \cdot a - k \cdot y4\right)\right)\\

\mathbf{elif}\;c \leq -1 \cdot 10^{-223}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\

\mathbf{elif}\;c \leq 5 \cdot 10^{-263}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\

\mathbf{elif}\;c \leq 1.4 \cdot 10^{-190}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;c \leq 3.25 \cdot 10^{-153}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - z \cdot b\right)\right)\\

\mathbf{elif}\;c \leq 1.25 \cdot 10^{-67}:\\
\;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\

\mathbf{elif}\;c \leq 1.62 \cdot 10^{+99}:\\
\;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\

\mathbf{elif}\;c \leq 1.32 \cdot 10^{+191}:\\
\;\;\;\;y \cdot \left(y4 \cdot \left(c \cdot y3 - b \cdot k\right)\right)\\

\mathbf{elif}\;c \leq 2.1 \cdot 10^{+234}:\\
\;\;\;\;c \cdot \left(i \cdot \left(z \cdot t - x \cdot y\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 11 regimes
  2. if c < -7.8e198

    1. Initial program 21.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 y3 around -inf 52.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 a around inf 57.7%

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

        \[\leadsto -1 \cdot \color{blue}{\left(\left(a \cdot y3\right) \cdot \left(-1 \cdot \left(y1 \cdot z\right) - -1 \cdot \left(y \cdot y5\right)\right)\right)} \]
      2. distribute-lft-out--57.7%

        \[\leadsto -1 \cdot \left(\left(a \cdot y3\right) \cdot \color{blue}{\left(-1 \cdot \left(y1 \cdot z - y \cdot y5\right)\right)}\right) \]
    6. Simplified57.7%

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

    if -7.8e198 < c < -2.35e142 or 2.1e234 < c

    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 t around inf 29.0%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in y2 around inf 68.2%

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

    if -2.35e142 < c < -2.35e-66 or 5.00000000000000006e-263 < c < 1.40000000000000003e-190

    1. Initial program 38.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 z around -inf 48.8%

      \[\leadsto \color{blue}{-1 \cdot \left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Taylor expanded in y1 around 0 53.7%

      \[\leadsto -1 \cdot \left(z \cdot \color{blue}{\left(\left(c \cdot \left(y0 \cdot y3\right) + \left(t \cdot \left(a \cdot b - c \cdot i\right) + y1 \cdot \left(-1 \cdot \left(a \cdot y3\right) - -1 \cdot \left(i \cdot k\right)\right)\right)\right) - b \cdot \left(k \cdot y0\right)\right)}\right) \]
    5. Taylor expanded in t around 0 49.1%

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

    if -2.35e-66 < c < -7.5000000000000004e-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 b around inf 21.9%

      \[\leadsto \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)} \]
    4. Taylor expanded in y around inf 46.5%

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

    if -7.5000000000000004e-183 < c < -9.9999999999999997e-224

    1. Initial program 11.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 i around -inf 34.2%

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
    4. Taylor expanded in y1 around inf 78.2%

      \[\leadsto -1 \cdot \color{blue}{\left(i \cdot \left(y1 \cdot \left(k \cdot z - j \cdot x\right)\right)\right)} \]

    if -9.9999999999999997e-224 < c < 5.00000000000000006e-263

    1. Initial program 38.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 43.5%

      \[\leadsto \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)} \]
    4. Taylor expanded in j around inf 53.2%

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

    if 1.40000000000000003e-190 < c < 3.25000000000000016e-153

    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 t around inf 38.6%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in a around -inf 75.2%

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

        \[\leadsto \color{blue}{-a \cdot \left(t \cdot \left(b \cdot z - y2 \cdot y5\right)\right)} \]
    6. Simplified75.2%

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

    if 3.25000000000000016e-153 < c < 1.25e-67

    1. Initial program 39.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 64.9%

      \[\leadsto \color{blue}{y4 \cdot \left(b \cdot \left(j \cdot t - k \cdot y\right) - c \cdot \left(t \cdot y2 - y \cdot y3\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 68.8%

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

    if 1.25e-67 < c < 1.61999999999999988e99

    1. Initial program 42.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 42.5%

      \[\leadsto \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)} \]
    4. Taylor expanded in a around inf 46.0%

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

    if 1.61999999999999988e99 < c < 1.32e191

    1. Initial program 47.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 y4 around inf 43.3%

      \[\leadsto \color{blue}{y4 \cdot \left(b \cdot \left(j \cdot t - k \cdot y\right) - c \cdot \left(t \cdot y2 - y \cdot y3\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 48.7%

      \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(y4 \cdot \left(b \cdot k - c \cdot y3\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg48.7%

        \[\leadsto \color{blue}{-y \cdot \left(y4 \cdot \left(b \cdot k - c \cdot y3\right)\right)} \]
    6. Simplified48.7%

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

    if 1.32e191 < c < 2.1e234

    1. Initial program 12.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 i around -inf 62.5%

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
    4. Taylor expanded in c around inf 88.1%

      \[\leadsto -1 \cdot \color{blue}{\left(c \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right)\right)} \]
  3. Recombined 11 regimes into one program.
  4. Final simplification56.4%

    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -7.8 \cdot 10^{+198}:\\ \;\;\;\;\left(a \cdot y3\right) \cdot \left(z \cdot y1 - y \cdot y5\right)\\ \mathbf{elif}\;c \leq -2.35 \cdot 10^{+142}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;c \leq -2.35 \cdot 10^{-66}:\\ \;\;\;\;z \cdot \left(\left(y1 \cdot \left(a \cdot y3 - i \cdot k\right) - c \cdot \left(y0 \cdot y3\right)\right) + b \cdot \left(k \cdot y0\right)\right)\\ \mathbf{elif}\;c \leq -7.5 \cdot 10^{-183}:\\ \;\;\;\;b \cdot \left(y \cdot \left(x \cdot a - k \cdot y4\right)\right)\\ \mathbf{elif}\;c \leq -1 \cdot 10^{-223}:\\ \;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\ \mathbf{elif}\;c \leq 5 \cdot 10^{-263}:\\ \;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\ \mathbf{elif}\;c \leq 1.4 \cdot 10^{-190}:\\ \;\;\;\;z \cdot \left(\left(y1 \cdot \left(a \cdot y3 - i \cdot k\right) - c \cdot \left(y0 \cdot y3\right)\right) + b \cdot \left(k \cdot y0\right)\right)\\ \mathbf{elif}\;c \leq 3.25 \cdot 10^{-153}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - z \cdot b\right)\right)\\ \mathbf{elif}\;c \leq 1.25 \cdot 10^{-67}:\\ \;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{elif}\;c \leq 1.62 \cdot 10^{+99}:\\ \;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;c \leq 1.32 \cdot 10^{+191}:\\ \;\;\;\;y \cdot \left(y4 \cdot \left(c \cdot y3 - b \cdot k\right)\right)\\ \mathbf{elif}\;c \leq 2.1 \cdot 10^{+234}:\\ \;\;\;\;c \cdot \left(i \cdot \left(z \cdot t - x \cdot y\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 10: 32.3% accurate, 1.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y1 \cdot y4 - y0 \cdot y5\\ t_2 := \left(k \cdot y2 - j \cdot y3\right) \cdot t\_1 + c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{if}\;y0 \leq -4 \cdot 10^{+95}:\\ \;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y0 \leq -4.8 \cdot 10^{-20}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y0 \leq -1.5 \cdot 10^{-163}:\\ \;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b - c \cdot i\right)\\ \mathbf{elif}\;y0 \leq 3 \cdot 10^{-297}:\\ \;\;\;\;y2 \cdot \left(k \cdot t\_1 - c \cdot \left(t \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq 2.9 \cdot 10^{-212}:\\ \;\;\;\;t \cdot \left(z \cdot \left(c \cdot i - a \cdot b\right)\right)\\ \mathbf{elif}\;y0 \leq 3.6 \cdot 10^{-108}:\\ \;\;\;\;\left(a \cdot y3\right) \cdot \left(z \cdot y1 - y \cdot y5\right)\\ \mathbf{elif}\;y0 \leq 4 \cdot 10^{-73}:\\ \;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\ \mathbf{elif}\;y0 \leq 2.85 \cdot 10^{+100}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq 2.7 \cdot 10^{+167}:\\ \;\;\;\;b \cdot \left(y \cdot \left(x \cdot a - k \cdot y4\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 (- (* y1 y4) (* y0 y5)))
        (t_2 (+ (* (- (* k y2) (* j y3)) t_1) (* c (* y (* y3 y4))))))
   (if (<= y0 -4e+95)
     (* b (* y0 (- (* z k) (* x j))))
     (if (<= y0 -4.8e-20)
       t_2
       (if (<= y0 -1.5e-163)
         (* (* x y) (- (* a b) (* c i)))
         (if (<= y0 3e-297)
           (* y2 (- (* k t_1) (* c (* t y4))))
           (if (<= y0 2.9e-212)
             (* t (* z (- (* c i) (* a b))))
             (if (<= y0 3.6e-108)
               (* (* a y3) (- (* z y1) (* y y5)))
               (if (<= y0 4e-73)
                 (* b (* z (- (* k y0) (* t a))))
                 (if (<= y0 2.85e+100)
                   (* t (* y2 (- (* a y5) (* c y4))))
                   (if (<= y0 2.7e+167)
                     (* b (* y (- (* x a) (* k y4))))
                     t_2)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (y1 * y4) - (y0 * y5);
	double t_2 = (((k * y2) - (j * y3)) * t_1) + (c * (y * (y3 * y4)));
	double tmp;
	if (y0 <= -4e+95) {
		tmp = b * (y0 * ((z * k) - (x * j)));
	} else if (y0 <= -4.8e-20) {
		tmp = t_2;
	} else if (y0 <= -1.5e-163) {
		tmp = (x * y) * ((a * b) - (c * i));
	} else if (y0 <= 3e-297) {
		tmp = y2 * ((k * t_1) - (c * (t * y4)));
	} else if (y0 <= 2.9e-212) {
		tmp = t * (z * ((c * i) - (a * b)));
	} else if (y0 <= 3.6e-108) {
		tmp = (a * y3) * ((z * y1) - (y * y5));
	} else if (y0 <= 4e-73) {
		tmp = b * (z * ((k * y0) - (t * a)));
	} else if (y0 <= 2.85e+100) {
		tmp = t * (y2 * ((a * y5) - (c * y4)));
	} else if (y0 <= 2.7e+167) {
		tmp = b * (y * ((x * a) - (k * y4)));
	} else {
		tmp = t_2;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = (y1 * y4) - (y0 * y5)
    t_2 = (((k * y2) - (j * y3)) * t_1) + (c * (y * (y3 * y4)))
    if (y0 <= (-4d+95)) then
        tmp = b * (y0 * ((z * k) - (x * j)))
    else if (y0 <= (-4.8d-20)) then
        tmp = t_2
    else if (y0 <= (-1.5d-163)) then
        tmp = (x * y) * ((a * b) - (c * i))
    else if (y0 <= 3d-297) then
        tmp = y2 * ((k * t_1) - (c * (t * y4)))
    else if (y0 <= 2.9d-212) then
        tmp = t * (z * ((c * i) - (a * b)))
    else if (y0 <= 3.6d-108) then
        tmp = (a * y3) * ((z * y1) - (y * y5))
    else if (y0 <= 4d-73) then
        tmp = b * (z * ((k * y0) - (t * a)))
    else if (y0 <= 2.85d+100) then
        tmp = t * (y2 * ((a * y5) - (c * y4)))
    else if (y0 <= 2.7d+167) then
        tmp = b * (y * ((x * a) - (k * y4)))
    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 = (y1 * y4) - (y0 * y5);
	double t_2 = (((k * y2) - (j * y3)) * t_1) + (c * (y * (y3 * y4)));
	double tmp;
	if (y0 <= -4e+95) {
		tmp = b * (y0 * ((z * k) - (x * j)));
	} else if (y0 <= -4.8e-20) {
		tmp = t_2;
	} else if (y0 <= -1.5e-163) {
		tmp = (x * y) * ((a * b) - (c * i));
	} else if (y0 <= 3e-297) {
		tmp = y2 * ((k * t_1) - (c * (t * y4)));
	} else if (y0 <= 2.9e-212) {
		tmp = t * (z * ((c * i) - (a * b)));
	} else if (y0 <= 3.6e-108) {
		tmp = (a * y3) * ((z * y1) - (y * y5));
	} else if (y0 <= 4e-73) {
		tmp = b * (z * ((k * y0) - (t * a)));
	} else if (y0 <= 2.85e+100) {
		tmp = t * (y2 * ((a * y5) - (c * y4)));
	} else if (y0 <= 2.7e+167) {
		tmp = b * (y * ((x * a) - (k * y4)));
	} 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 = (y1 * y4) - (y0 * y5)
	t_2 = (((k * y2) - (j * y3)) * t_1) + (c * (y * (y3 * y4)))
	tmp = 0
	if y0 <= -4e+95:
		tmp = b * (y0 * ((z * k) - (x * j)))
	elif y0 <= -4.8e-20:
		tmp = t_2
	elif y0 <= -1.5e-163:
		tmp = (x * y) * ((a * b) - (c * i))
	elif y0 <= 3e-297:
		tmp = y2 * ((k * t_1) - (c * (t * y4)))
	elif y0 <= 2.9e-212:
		tmp = t * (z * ((c * i) - (a * b)))
	elif y0 <= 3.6e-108:
		tmp = (a * y3) * ((z * y1) - (y * y5))
	elif y0 <= 4e-73:
		tmp = b * (z * ((k * y0) - (t * a)))
	elif y0 <= 2.85e+100:
		tmp = t * (y2 * ((a * y5) - (c * y4)))
	elif y0 <= 2.7e+167:
		tmp = b * (y * ((x * a) - (k * y4)))
	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(y1 * y4) - Float64(y0 * y5))
	t_2 = Float64(Float64(Float64(Float64(k * y2) - Float64(j * y3)) * t_1) + Float64(c * Float64(y * Float64(y3 * y4))))
	tmp = 0.0
	if (y0 <= -4e+95)
		tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j))));
	elseif (y0 <= -4.8e-20)
		tmp = t_2;
	elseif (y0 <= -1.5e-163)
		tmp = Float64(Float64(x * y) * Float64(Float64(a * b) - Float64(c * i)));
	elseif (y0 <= 3e-297)
		tmp = Float64(y2 * Float64(Float64(k * t_1) - Float64(c * Float64(t * y4))));
	elseif (y0 <= 2.9e-212)
		tmp = Float64(t * Float64(z * Float64(Float64(c * i) - Float64(a * b))));
	elseif (y0 <= 3.6e-108)
		tmp = Float64(Float64(a * y3) * Float64(Float64(z * y1) - Float64(y * y5)));
	elseif (y0 <= 4e-73)
		tmp = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a))));
	elseif (y0 <= 2.85e+100)
		tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4))));
	elseif (y0 <= 2.7e+167)
		tmp = Float64(b * Float64(y * Float64(Float64(x * a) - Float64(k * y4))));
	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 = (y1 * y4) - (y0 * y5);
	t_2 = (((k * y2) - (j * y3)) * t_1) + (c * (y * (y3 * y4)));
	tmp = 0.0;
	if (y0 <= -4e+95)
		tmp = b * (y0 * ((z * k) - (x * j)));
	elseif (y0 <= -4.8e-20)
		tmp = t_2;
	elseif (y0 <= -1.5e-163)
		tmp = (x * y) * ((a * b) - (c * i));
	elseif (y0 <= 3e-297)
		tmp = y2 * ((k * t_1) - (c * (t * y4)));
	elseif (y0 <= 2.9e-212)
		tmp = t * (z * ((c * i) - (a * b)));
	elseif (y0 <= 3.6e-108)
		tmp = (a * y3) * ((z * y1) - (y * y5));
	elseif (y0 <= 4e-73)
		tmp = b * (z * ((k * y0) - (t * a)));
	elseif (y0 <= 2.85e+100)
		tmp = t * (y2 * ((a * y5) - (c * y4)));
	elseif (y0 <= 2.7e+167)
		tmp = b * (y * ((x * a) - (k * y4)));
	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[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * t$95$1), $MachinePrecision] + N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -4e+95], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -4.8e-20], t$95$2, If[LessEqual[y0, -1.5e-163], N[(N[(x * y), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 3e-297], N[(y2 * N[(N[(k * t$95$1), $MachinePrecision] - N[(c * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 2.9e-212], N[(t * N[(z * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 3.6e-108], N[(N[(a * y3), $MachinePrecision] * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 4e-73], N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 2.85e+100], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 2.7e+167], N[(b * N[(y * N[(N[(x * a), $MachinePrecision] - N[(k * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;y0 \leq -4.8 \cdot 10^{-20}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;y0 \leq -1.5 \cdot 10^{-163}:\\
\;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b - c \cdot i\right)\\

\mathbf{elif}\;y0 \leq 3 \cdot 10^{-297}:\\
\;\;\;\;y2 \cdot \left(k \cdot t\_1 - c \cdot \left(t \cdot y4\right)\right)\\

\mathbf{elif}\;y0 \leq 2.9 \cdot 10^{-212}:\\
\;\;\;\;t \cdot \left(z \cdot \left(c \cdot i - a \cdot b\right)\right)\\

\mathbf{elif}\;y0 \leq 3.6 \cdot 10^{-108}:\\
\;\;\;\;\left(a \cdot y3\right) \cdot \left(z \cdot y1 - y \cdot y5\right)\\

\mathbf{elif}\;y0 \leq 4 \cdot 10^{-73}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\

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

\mathbf{elif}\;y0 \leq 2.7 \cdot 10^{+167}:\\
\;\;\;\;b \cdot \left(y \cdot \left(x \cdot a - k \cdot y4\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 9 regimes
  2. if y0 < -4.00000000000000008e95

    1. Initial program 22.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 51.0%

      \[\leadsto \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)} \]
    4. Taylor expanded in y0 around inf 53.7%

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

    if -4.00000000000000008e95 < y0 < -4.79999999999999986e-20 or 2.70000000000000005e167 < y0

    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 y4 around inf 40.1%

      \[\leadsto \color{blue}{y4 \cdot \left(b \cdot \left(j \cdot t - k \cdot y\right) - c \cdot \left(t \cdot y2 - y \cdot y3\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 56.2%

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

    if -4.79999999999999986e-20 < y0 < -1.5000000000000001e-163

    1. Initial program 34.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 x around inf 62.6%

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in y around inf 56.7%

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

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

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

    if -1.5000000000000001e-163 < y0 < 2.99999999999999995e-297

    1. Initial program 36.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 55.4%

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

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

    if 2.99999999999999995e-297 < y0 < 2.8999999999999999e-212

    1. Initial program 43.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 t around inf 44.1%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in z around inf 63.5%

      \[\leadsto \color{blue}{-1 \cdot \left(t \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg63.5%

        \[\leadsto \color{blue}{-t \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right)} \]
    6. Simplified63.5%

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

    if 2.8999999999999999e-212 < y0 < 3.6000000000000001e-108

    1. Initial program 45.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 y3 around -inf 53.5%

      \[\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 a around inf 56.1%

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

        \[\leadsto -1 \cdot \color{blue}{\left(\left(a \cdot y3\right) \cdot \left(-1 \cdot \left(y1 \cdot z\right) - -1 \cdot \left(y \cdot y5\right)\right)\right)} \]
      2. distribute-lft-out--47.2%

        \[\leadsto -1 \cdot \left(\left(a \cdot y3\right) \cdot \color{blue}{\left(-1 \cdot \left(y1 \cdot z - y \cdot y5\right)\right)}\right) \]
    6. Simplified47.2%

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

    if 3.6000000000000001e-108 < y0 < 3.99999999999999999e-73

    1. Initial program 42.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 59.4%

      \[\leadsto \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)} \]
    4. Taylor expanded in z around -inf 59.4%

      \[\leadsto b \cdot \color{blue}{\left(-1 \cdot \left(z \cdot \left(a \cdot t - k \cdot y0\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg59.4%

        \[\leadsto b \cdot \color{blue}{\left(-z \cdot \left(a \cdot t - k \cdot y0\right)\right)} \]
    6. Simplified59.4%

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

    if 3.99999999999999999e-73 < y0 < 2.84999999999999992e100

    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 t around inf 45.2%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in y2 around inf 39.9%

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

    if 2.84999999999999992e100 < y0 < 2.70000000000000005e167

    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 58.8%

      \[\leadsto \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)} \]
    4. Taylor expanded in y around inf 58.9%

      \[\leadsto \color{blue}{b \cdot \left(y \cdot \left(-1 \cdot \left(k \cdot y4\right) + a \cdot x\right)\right)} \]
  3. Recombined 9 regimes into one program.
  4. Final simplification52.3%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -4 \cdot 10^{+95}:\\ \;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y0 \leq -4.8 \cdot 10^{-20}:\\ \;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq -1.5 \cdot 10^{-163}:\\ \;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b - c \cdot i\right)\\ \mathbf{elif}\;y0 \leq 3 \cdot 10^{-297}:\\ \;\;\;\;y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - c \cdot \left(t \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq 2.9 \cdot 10^{-212}:\\ \;\;\;\;t \cdot \left(z \cdot \left(c \cdot i - a \cdot b\right)\right)\\ \mathbf{elif}\;y0 \leq 3.6 \cdot 10^{-108}:\\ \;\;\;\;\left(a \cdot y3\right) \cdot \left(z \cdot y1 - y \cdot y5\right)\\ \mathbf{elif}\;y0 \leq 4 \cdot 10^{-73}:\\ \;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\ \mathbf{elif}\;y0 \leq 2.85 \cdot 10^{+100}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq 2.7 \cdot 10^{+167}:\\ \;\;\;\;b \cdot \left(y \cdot \left(x \cdot a - k \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 11: 31.7% accurate, 1.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ t_2 := b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ t_3 := t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ t_4 := x \cdot y - z \cdot t\\ \mathbf{if}\;y0 \leq -1.9 \cdot 10^{+85}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y0 \leq -5.6 \cdot 10^{-20}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y0 \leq -1 \cdot 10^{-150}:\\ \;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b - c \cdot i\right)\\ \mathbf{elif}\;y0 \leq 1.32 \cdot 10^{-298}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;y0 \leq 9.6 \cdot 10^{-158}:\\ \;\;\;\;t \cdot \left(z \cdot \left(c \cdot i - a \cdot b\right)\right)\\ \mathbf{elif}\;y0 \leq 1.7 \cdot 10^{-105}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;y0 \leq 1.35 \cdot 10^{+60}:\\ \;\;\;\;b \cdot \left(a \cdot t\_4\right)\\ \mathbf{elif}\;y0 \leq 3.5 \cdot 10^{+100}:\\ \;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\ \mathbf{elif}\;y0 \leq 2.9 \cdot 10^{+161}:\\ \;\;\;\;\left(a \cdot b\right) \cdot t\_4\\ \mathbf{elif}\;y0 \leq 4.7 \cdot 10^{+219}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y0 \leq 2.1 \cdot 10^{+296}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \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 (* k (* y2 (- (* y1 y4) (* y0 y5)))))
        (t_2 (* b (* y0 (- (* z k) (* x j)))))
        (t_3 (* t (* y2 (- (* a y5) (* c y4)))))
        (t_4 (- (* x y) (* z t))))
   (if (<= y0 -1.9e+85)
     t_2
     (if (<= y0 -5.6e-20)
       t_1
       (if (<= y0 -1e-150)
         (* (* x y) (- (* a b) (* c i)))
         (if (<= y0 1.32e-298)
           t_3
           (if (<= y0 9.6e-158)
             (* t (* z (- (* c i) (* a b))))
             (if (<= y0 1.7e-105)
               t_3
               (if (<= y0 1.35e+60)
                 (* b (* a t_4))
                 (if (<= y0 3.5e+100)
                   (* x (* y0 (- (* c y2) (* b j))))
                   (if (<= y0 2.9e+161)
                     (* (* a b) t_4)
                     (if (<= y0 4.7e+219)
                       t_2
                       (if (<= y0 2.1e+296)
                         t_1
                         (* j (* t (- (* b y4) (* i y5)))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	double t_2 = b * (y0 * ((z * k) - (x * j)));
	double t_3 = t * (y2 * ((a * y5) - (c * y4)));
	double t_4 = (x * y) - (z * t);
	double tmp;
	if (y0 <= -1.9e+85) {
		tmp = t_2;
	} else if (y0 <= -5.6e-20) {
		tmp = t_1;
	} else if (y0 <= -1e-150) {
		tmp = (x * y) * ((a * b) - (c * i));
	} else if (y0 <= 1.32e-298) {
		tmp = t_3;
	} else if (y0 <= 9.6e-158) {
		tmp = t * (z * ((c * i) - (a * b)));
	} else if (y0 <= 1.7e-105) {
		tmp = t_3;
	} else if (y0 <= 1.35e+60) {
		tmp = b * (a * t_4);
	} else if (y0 <= 3.5e+100) {
		tmp = x * (y0 * ((c * y2) - (b * j)));
	} else if (y0 <= 2.9e+161) {
		tmp = (a * b) * t_4;
	} else if (y0 <= 4.7e+219) {
		tmp = t_2;
	} else if (y0 <= 2.1e+296) {
		tmp = t_1;
	} else {
		tmp = j * (t * ((b * y4) - (i * y5)));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: t_4
    real(8) :: tmp
    t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)))
    t_2 = b * (y0 * ((z * k) - (x * j)))
    t_3 = t * (y2 * ((a * y5) - (c * y4)))
    t_4 = (x * y) - (z * t)
    if (y0 <= (-1.9d+85)) then
        tmp = t_2
    else if (y0 <= (-5.6d-20)) then
        tmp = t_1
    else if (y0 <= (-1d-150)) then
        tmp = (x * y) * ((a * b) - (c * i))
    else if (y0 <= 1.32d-298) then
        tmp = t_3
    else if (y0 <= 9.6d-158) then
        tmp = t * (z * ((c * i) - (a * b)))
    else if (y0 <= 1.7d-105) then
        tmp = t_3
    else if (y0 <= 1.35d+60) then
        tmp = b * (a * t_4)
    else if (y0 <= 3.5d+100) then
        tmp = x * (y0 * ((c * y2) - (b * j)))
    else if (y0 <= 2.9d+161) then
        tmp = (a * b) * t_4
    else if (y0 <= 4.7d+219) then
        tmp = t_2
    else if (y0 <= 2.1d+296) then
        tmp = t_1
    else
        tmp = j * (t * ((b * y4) - (i * y5)))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	double t_2 = b * (y0 * ((z * k) - (x * j)));
	double t_3 = t * (y2 * ((a * y5) - (c * y4)));
	double t_4 = (x * y) - (z * t);
	double tmp;
	if (y0 <= -1.9e+85) {
		tmp = t_2;
	} else if (y0 <= -5.6e-20) {
		tmp = t_1;
	} else if (y0 <= -1e-150) {
		tmp = (x * y) * ((a * b) - (c * i));
	} else if (y0 <= 1.32e-298) {
		tmp = t_3;
	} else if (y0 <= 9.6e-158) {
		tmp = t * (z * ((c * i) - (a * b)));
	} else if (y0 <= 1.7e-105) {
		tmp = t_3;
	} else if (y0 <= 1.35e+60) {
		tmp = b * (a * t_4);
	} else if (y0 <= 3.5e+100) {
		tmp = x * (y0 * ((c * y2) - (b * j)));
	} else if (y0 <= 2.9e+161) {
		tmp = (a * b) * t_4;
	} else if (y0 <= 4.7e+219) {
		tmp = t_2;
	} else if (y0 <= 2.1e+296) {
		tmp = t_1;
	} else {
		tmp = j * (t * ((b * y4) - (i * y5)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)))
	t_2 = b * (y0 * ((z * k) - (x * j)))
	t_3 = t * (y2 * ((a * y5) - (c * y4)))
	t_4 = (x * y) - (z * t)
	tmp = 0
	if y0 <= -1.9e+85:
		tmp = t_2
	elif y0 <= -5.6e-20:
		tmp = t_1
	elif y0 <= -1e-150:
		tmp = (x * y) * ((a * b) - (c * i))
	elif y0 <= 1.32e-298:
		tmp = t_3
	elif y0 <= 9.6e-158:
		tmp = t * (z * ((c * i) - (a * b)))
	elif y0 <= 1.7e-105:
		tmp = t_3
	elif y0 <= 1.35e+60:
		tmp = b * (a * t_4)
	elif y0 <= 3.5e+100:
		tmp = x * (y0 * ((c * y2) - (b * j)))
	elif y0 <= 2.9e+161:
		tmp = (a * b) * t_4
	elif y0 <= 4.7e+219:
		tmp = t_2
	elif y0 <= 2.1e+296:
		tmp = t_1
	else:
		tmp = j * (t * ((b * y4) - (i * y5)))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5))))
	t_2 = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))
	t_3 = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4))))
	t_4 = Float64(Float64(x * y) - Float64(z * t))
	tmp = 0.0
	if (y0 <= -1.9e+85)
		tmp = t_2;
	elseif (y0 <= -5.6e-20)
		tmp = t_1;
	elseif (y0 <= -1e-150)
		tmp = Float64(Float64(x * y) * Float64(Float64(a * b) - Float64(c * i)));
	elseif (y0 <= 1.32e-298)
		tmp = t_3;
	elseif (y0 <= 9.6e-158)
		tmp = Float64(t * Float64(z * Float64(Float64(c * i) - Float64(a * b))));
	elseif (y0 <= 1.7e-105)
		tmp = t_3;
	elseif (y0 <= 1.35e+60)
		tmp = Float64(b * Float64(a * t_4));
	elseif (y0 <= 3.5e+100)
		tmp = Float64(x * Float64(y0 * Float64(Float64(c * y2) - Float64(b * j))));
	elseif (y0 <= 2.9e+161)
		tmp = Float64(Float64(a * b) * t_4);
	elseif (y0 <= 4.7e+219)
		tmp = t_2;
	elseif (y0 <= 2.1e+296)
		tmp = t_1;
	else
		tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	t_2 = b * (y0 * ((z * k) - (x * j)));
	t_3 = t * (y2 * ((a * y5) - (c * y4)));
	t_4 = (x * y) - (z * t);
	tmp = 0.0;
	if (y0 <= -1.9e+85)
		tmp = t_2;
	elseif (y0 <= -5.6e-20)
		tmp = t_1;
	elseif (y0 <= -1e-150)
		tmp = (x * y) * ((a * b) - (c * i));
	elseif (y0 <= 1.32e-298)
		tmp = t_3;
	elseif (y0 <= 9.6e-158)
		tmp = t * (z * ((c * i) - (a * b)));
	elseif (y0 <= 1.7e-105)
		tmp = t_3;
	elseif (y0 <= 1.35e+60)
		tmp = b * (a * t_4);
	elseif (y0 <= 3.5e+100)
		tmp = x * (y0 * ((c * y2) - (b * j)));
	elseif (y0 <= 2.9e+161)
		tmp = (a * b) * t_4;
	elseif (y0 <= 4.7e+219)
		tmp = t_2;
	elseif (y0 <= 2.1e+296)
		tmp = t_1;
	else
		tmp = j * (t * ((b * y4) - (i * y5)));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -1.9e+85], t$95$2, If[LessEqual[y0, -5.6e-20], t$95$1, If[LessEqual[y0, -1e-150], N[(N[(x * y), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.32e-298], t$95$3, If[LessEqual[y0, 9.6e-158], N[(t * N[(z * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.7e-105], t$95$3, If[LessEqual[y0, 1.35e+60], N[(b * N[(a * t$95$4), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 3.5e+100], N[(x * N[(y0 * N[(N[(c * y2), $MachinePrecision] - N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 2.9e+161], N[(N[(a * b), $MachinePrecision] * t$95$4), $MachinePrecision], If[LessEqual[y0, 4.7e+219], t$95$2, If[LessEqual[y0, 2.1e+296], t$95$1, N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;y0 \leq -5.6 \cdot 10^{-20}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y0 \leq -1 \cdot 10^{-150}:\\
\;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b - c \cdot i\right)\\

\mathbf{elif}\;y0 \leq 1.32 \cdot 10^{-298}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;y0 \leq 9.6 \cdot 10^{-158}:\\
\;\;\;\;t \cdot \left(z \cdot \left(c \cdot i - a \cdot b\right)\right)\\

\mathbf{elif}\;y0 \leq 1.7 \cdot 10^{-105}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;y0 \leq 1.35 \cdot 10^{+60}:\\
\;\;\;\;b \cdot \left(a \cdot t\_4\right)\\

\mathbf{elif}\;y0 \leq 3.5 \cdot 10^{+100}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\

\mathbf{elif}\;y0 \leq 2.9 \cdot 10^{+161}:\\
\;\;\;\;\left(a \cdot b\right) \cdot t\_4\\

\mathbf{elif}\;y0 \leq 4.7 \cdot 10^{+219}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;y0 \leq 2.1 \cdot 10^{+296}:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 9 regimes
  2. if y0 < -1.89999999999999996e85 or 2.90000000000000016e161 < y0 < 4.70000000000000013e219

    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 b around inf 54.9%

      \[\leadsto \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)} \]
    4. Taylor expanded in y0 around inf 55.5%

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

    if -1.89999999999999996e85 < y0 < -5.6000000000000005e-20 or 4.70000000000000013e219 < y0 < 2.10000000000000005e296

    1. Initial program 34.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 y4 around inf 34.9%

      \[\leadsto \color{blue}{y4 \cdot \left(b \cdot \left(j \cdot t - k \cdot y\right) - c \cdot \left(t \cdot y2 - y \cdot y3\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 58.6%

      \[\leadsto \color{blue}{c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    5. Taylor expanded in y3 around 0 50.9%

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

    if -5.6000000000000005e-20 < y0 < -1.00000000000000001e-150

    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 x around inf 60.9%

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in y around inf 57.7%

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

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

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

    if -1.00000000000000001e-150 < y0 < 1.3200000000000001e-298 or 9.6000000000000003e-158 < y0 < 1.69999999999999996e-105

    1. Initial program 39.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 t around inf 35.0%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in y2 around inf 45.9%

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

    if 1.3200000000000001e-298 < y0 < 9.6000000000000003e-158

    1. Initial program 48.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 t around inf 34.1%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in z around inf 53.1%

      \[\leadsto \color{blue}{-1 \cdot \left(t \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg53.1%

        \[\leadsto \color{blue}{-t \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right)} \]
    6. Simplified53.1%

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

    if 1.69999999999999996e-105 < y0 < 1.35e60

    1. Initial program 27.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 38.4%

      \[\leadsto \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)} \]
    4. Taylor expanded in a around inf 38.7%

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

    if 1.35e60 < y0 < 3.49999999999999976e100

    1. Initial program 71.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 x around inf 76.1%

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in y0 around inf 76.1%

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

    if 3.49999999999999976e100 < y0 < 2.90000000000000016e161

    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 55.1%

      \[\leadsto \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)} \]
    4. Taylor expanded in a around inf 46.9%

      \[\leadsto b \cdot \color{blue}{\left(a \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in b around 0 55.5%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    6. Step-by-step derivation
      1. associate-*r*47.4%

        \[\leadsto \color{blue}{\left(a \cdot b\right) \cdot \left(x \cdot y - t \cdot z\right)} \]
      2. *-commutative47.4%

        \[\leadsto \left(a \cdot b\right) \cdot \left(x \cdot y - \color{blue}{z \cdot t}\right) \]
    7. Simplified47.4%

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

    if 2.10000000000000005e296 < y0

    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 t around inf 25.3%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in j around inf 75.4%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -1.9 \cdot 10^{+85}:\\ \;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y0 \leq -5.6 \cdot 10^{-20}:\\ \;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \mathbf{elif}\;y0 \leq -1 \cdot 10^{-150}:\\ \;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b - c \cdot i\right)\\ \mathbf{elif}\;y0 \leq 1.32 \cdot 10^{-298}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq 9.6 \cdot 10^{-158}:\\ \;\;\;\;t \cdot \left(z \cdot \left(c \cdot i - a \cdot b\right)\right)\\ \mathbf{elif}\;y0 \leq 1.7 \cdot 10^{-105}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq 1.35 \cdot 10^{+60}:\\ \;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y0 \leq 3.5 \cdot 10^{+100}:\\ \;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\ \mathbf{elif}\;y0 \leq 2.9 \cdot 10^{+161}:\\ \;\;\;\;\left(a \cdot b\right) \cdot \left(x \cdot y - z \cdot t\right)\\ \mathbf{elif}\;y0 \leq 4.7 \cdot 10^{+219}:\\ \;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y0 \leq 2.1 \cdot 10^{+296}:\\ \;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \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 12: 34.9% accurate, 1.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\ t_2 := b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\ t_3 := y1 \cdot y4 - y0 \cdot y5\\ \mathbf{if}\;y5 \leq -2.4 \cdot 10^{+234}:\\ \;\;\;\;i \cdot \left(k \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\ \mathbf{elif}\;y5 \leq -9.5 \cdot 10^{+159}:\\ \;\;\;\;z \cdot \left(\left(y1 \cdot \left(a \cdot y3 - i \cdot k\right) - c \cdot \left(y0 \cdot y3\right)\right) + b \cdot \left(k \cdot y0\right)\right)\\ \mathbf{elif}\;y5 \leq -170000:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y5 \leq -2.35 \cdot 10^{-28}:\\ \;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y5 \leq 3.9 \cdot 10^{-237}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y5 \leq 9.5 \cdot 10^{-172}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y5 \leq 3.8 \cdot 10^{-57}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y5 \leq 3.3 \cdot 10^{+97}:\\ \;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot t\_3 + c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{elif}\;y5 \leq 2.35 \cdot 10^{+209}:\\ \;\;\;\;y2 \cdot \left(k \cdot t\_3 - c \cdot \left(t \cdot y4\right)\right)\\ \mathbf{elif}\;y5 \leq 5.4 \cdot 10^{+224}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;y5 \leq 3.3 \cdot 10^{+275}:\\ \;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(y5 \cdot \left(a \cdot y2 - i \cdot j\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
         (*
          x
          (+
           (+ (* y (- (* a b) (* c i))) (* y2 (- (* c y0) (* a y1))))
           (* j (- (* i y1) (* b y0))))))
        (t_2 (* b (* z (- (* k y0) (* t a)))))
        (t_3 (- (* y1 y4) (* y0 y5))))
   (if (<= y5 -2.4e+234)
     (* i (* k (- (* y y5) (* z y1))))
     (if (<= y5 -9.5e+159)
       (* z (+ (- (* y1 (- (* a y3) (* i k))) (* c (* y0 y3))) (* b (* k y0))))
       (if (<= y5 -170000.0)
         t_2
         (if (<= y5 -2.35e-28)
           (*
            b
            (+
             (+ (* a (- (* x y) (* z t))) (* y4 (- (* t j) (* y k))))
             (* y0 (- (* z k) (* x j)))))
           (if (<= y5 3.9e-237)
             t_1
             (if (<= y5 9.5e-172)
               t_2
               (if (<= y5 3.8e-57)
                 t_1
                 (if (<= y5 3.3e+97)
                   (+ (* (- (* k y2) (* j y3)) t_3) (* c (* y (* y3 y4))))
                   (if (<= y5 2.35e+209)
                     (* y2 (- (* k t_3) (* c (* t y4))))
                     (if (<= y5 5.4e+224)
                       (* c (* y4 (- (* y y3) (* t y2))))
                       (if (<= y5 3.3e+275)
                         (* y3 (* z (- (* a y1) (* c y0))))
                         (* t (* y5 (- (* a y2) (* i j)))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
	double t_2 = b * (z * ((k * y0) - (t * a)));
	double t_3 = (y1 * y4) - (y0 * y5);
	double tmp;
	if (y5 <= -2.4e+234) {
		tmp = i * (k * ((y * y5) - (z * y1)));
	} else if (y5 <= -9.5e+159) {
		tmp = z * (((y1 * ((a * y3) - (i * k))) - (c * (y0 * y3))) + (b * (k * y0)));
	} else if (y5 <= -170000.0) {
		tmp = t_2;
	} else if (y5 <= -2.35e-28) {
		tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
	} else if (y5 <= 3.9e-237) {
		tmp = t_1;
	} else if (y5 <= 9.5e-172) {
		tmp = t_2;
	} else if (y5 <= 3.8e-57) {
		tmp = t_1;
	} else if (y5 <= 3.3e+97) {
		tmp = (((k * y2) - (j * y3)) * t_3) + (c * (y * (y3 * y4)));
	} else if (y5 <= 2.35e+209) {
		tmp = y2 * ((k * t_3) - (c * (t * y4)));
	} else if (y5 <= 5.4e+224) {
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	} else if (y5 <= 3.3e+275) {
		tmp = y3 * (z * ((a * y1) - (c * y0)));
	} else {
		tmp = t * (y5 * ((a * y2) - (i * j)));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: tmp
    t_1 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
    t_2 = b * (z * ((k * y0) - (t * a)))
    t_3 = (y1 * y4) - (y0 * y5)
    if (y5 <= (-2.4d+234)) then
        tmp = i * (k * ((y * y5) - (z * y1)))
    else if (y5 <= (-9.5d+159)) then
        tmp = z * (((y1 * ((a * y3) - (i * k))) - (c * (y0 * y3))) + (b * (k * y0)))
    else if (y5 <= (-170000.0d0)) then
        tmp = t_2
    else if (y5 <= (-2.35d-28)) then
        tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))
    else if (y5 <= 3.9d-237) then
        tmp = t_1
    else if (y5 <= 9.5d-172) then
        tmp = t_2
    else if (y5 <= 3.8d-57) then
        tmp = t_1
    else if (y5 <= 3.3d+97) then
        tmp = (((k * y2) - (j * y3)) * t_3) + (c * (y * (y3 * y4)))
    else if (y5 <= 2.35d+209) then
        tmp = y2 * ((k * t_3) - (c * (t * y4)))
    else if (y5 <= 5.4d+224) then
        tmp = c * (y4 * ((y * y3) - (t * y2)))
    else if (y5 <= 3.3d+275) then
        tmp = y3 * (z * ((a * y1) - (c * y0)))
    else
        tmp = t * (y5 * ((a * y2) - (i * j)))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
	double t_2 = b * (z * ((k * y0) - (t * a)));
	double t_3 = (y1 * y4) - (y0 * y5);
	double tmp;
	if (y5 <= -2.4e+234) {
		tmp = i * (k * ((y * y5) - (z * y1)));
	} else if (y5 <= -9.5e+159) {
		tmp = z * (((y1 * ((a * y3) - (i * k))) - (c * (y0 * y3))) + (b * (k * y0)));
	} else if (y5 <= -170000.0) {
		tmp = t_2;
	} else if (y5 <= -2.35e-28) {
		tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
	} else if (y5 <= 3.9e-237) {
		tmp = t_1;
	} else if (y5 <= 9.5e-172) {
		tmp = t_2;
	} else if (y5 <= 3.8e-57) {
		tmp = t_1;
	} else if (y5 <= 3.3e+97) {
		tmp = (((k * y2) - (j * y3)) * t_3) + (c * (y * (y3 * y4)));
	} else if (y5 <= 2.35e+209) {
		tmp = y2 * ((k * t_3) - (c * (t * y4)));
	} else if (y5 <= 5.4e+224) {
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	} else if (y5 <= 3.3e+275) {
		tmp = y3 * (z * ((a * y1) - (c * y0)));
	} else {
		tmp = t * (y5 * ((a * y2) - (i * j)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
	t_2 = b * (z * ((k * y0) - (t * a)))
	t_3 = (y1 * y4) - (y0 * y5)
	tmp = 0
	if y5 <= -2.4e+234:
		tmp = i * (k * ((y * y5) - (z * y1)))
	elif y5 <= -9.5e+159:
		tmp = z * (((y1 * ((a * y3) - (i * k))) - (c * (y0 * y3))) + (b * (k * y0)))
	elif y5 <= -170000.0:
		tmp = t_2
	elif y5 <= -2.35e-28:
		tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))
	elif y5 <= 3.9e-237:
		tmp = t_1
	elif y5 <= 9.5e-172:
		tmp = t_2
	elif y5 <= 3.8e-57:
		tmp = t_1
	elif y5 <= 3.3e+97:
		tmp = (((k * y2) - (j * y3)) * t_3) + (c * (y * (y3 * y4)))
	elif y5 <= 2.35e+209:
		tmp = y2 * ((k * t_3) - (c * (t * y4)))
	elif y5 <= 5.4e+224:
		tmp = c * (y4 * ((y * y3) - (t * y2)))
	elif y5 <= 3.3e+275:
		tmp = y3 * (z * ((a * y1) - (c * y0)))
	else:
		tmp = t * (y5 * ((a * y2) - (i * j)))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0)))))
	t_2 = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a))))
	t_3 = Float64(Float64(y1 * y4) - Float64(y0 * y5))
	tmp = 0.0
	if (y5 <= -2.4e+234)
		tmp = Float64(i * Float64(k * Float64(Float64(y * y5) - Float64(z * y1))));
	elseif (y5 <= -9.5e+159)
		tmp = Float64(z * Float64(Float64(Float64(y1 * Float64(Float64(a * y3) - Float64(i * k))) - Float64(c * Float64(y0 * y3))) + Float64(b * Float64(k * y0))));
	elseif (y5 <= -170000.0)
		tmp = t_2;
	elseif (y5 <= -2.35e-28)
		tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))));
	elseif (y5 <= 3.9e-237)
		tmp = t_1;
	elseif (y5 <= 9.5e-172)
		tmp = t_2;
	elseif (y5 <= 3.8e-57)
		tmp = t_1;
	elseif (y5 <= 3.3e+97)
		tmp = Float64(Float64(Float64(Float64(k * y2) - Float64(j * y3)) * t_3) + Float64(c * Float64(y * Float64(y3 * y4))));
	elseif (y5 <= 2.35e+209)
		tmp = Float64(y2 * Float64(Float64(k * t_3) - Float64(c * Float64(t * y4))));
	elseif (y5 <= 5.4e+224)
		tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2))));
	elseif (y5 <= 3.3e+275)
		tmp = Float64(y3 * Float64(z * Float64(Float64(a * y1) - Float64(c * y0))));
	else
		tmp = Float64(t * Float64(y5 * Float64(Float64(a * y2) - Float64(i * j))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
	t_2 = b * (z * ((k * y0) - (t * a)));
	t_3 = (y1 * y4) - (y0 * y5);
	tmp = 0.0;
	if (y5 <= -2.4e+234)
		tmp = i * (k * ((y * y5) - (z * y1)));
	elseif (y5 <= -9.5e+159)
		tmp = z * (((y1 * ((a * y3) - (i * k))) - (c * (y0 * y3))) + (b * (k * y0)));
	elseif (y5 <= -170000.0)
		tmp = t_2;
	elseif (y5 <= -2.35e-28)
		tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
	elseif (y5 <= 3.9e-237)
		tmp = t_1;
	elseif (y5 <= 9.5e-172)
		tmp = t_2;
	elseif (y5 <= 3.8e-57)
		tmp = t_1;
	elseif (y5 <= 3.3e+97)
		tmp = (((k * y2) - (j * y3)) * t_3) + (c * (y * (y3 * y4)));
	elseif (y5 <= 2.35e+209)
		tmp = y2 * ((k * t_3) - (c * (t * y4)));
	elseif (y5 <= 5.4e+224)
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	elseif (y5 <= 3.3e+275)
		tmp = y3 * (z * ((a * y1) - (c * y0)));
	else
		tmp = t * (y5 * ((a * y2) - (i * j)));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -2.4e+234], N[(i * N[(k * N[(N[(y * y5), $MachinePrecision] - N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -9.5e+159], N[(z * N[(N[(N[(y1 * N[(N[(a * y3), $MachinePrecision] - N[(i * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * N[(y0 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(k * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -170000.0], t$95$2, If[LessEqual[y5, -2.35e-28], N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 3.9e-237], t$95$1, If[LessEqual[y5, 9.5e-172], t$95$2, If[LessEqual[y5, 3.8e-57], t$95$1, If[LessEqual[y5, 3.3e+97], N[(N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * t$95$3), $MachinePrecision] + N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 2.35e+209], N[(y2 * N[(N[(k * t$95$3), $MachinePrecision] - N[(c * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 5.4e+224], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 3.3e+275], N[(y3 * N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t * N[(y5 * N[(N[(a * y2), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;y5 \leq -9.5 \cdot 10^{+159}:\\
\;\;\;\;z \cdot \left(\left(y1 \cdot \left(a \cdot y3 - i \cdot k\right) - c \cdot \left(y0 \cdot y3\right)\right) + b \cdot \left(k \cdot y0\right)\right)\\

\mathbf{elif}\;y5 \leq -170000:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;y5 \leq -2.35 \cdot 10^{-28}:\\
\;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\

\mathbf{elif}\;y5 \leq 3.9 \cdot 10^{-237}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y5 \leq 9.5 \cdot 10^{-172}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;y5 \leq 3.8 \cdot 10^{-57}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y5 \leq 3.3 \cdot 10^{+97}:\\
\;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot t\_3 + c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\

\mathbf{elif}\;y5 \leq 2.35 \cdot 10^{+209}:\\
\;\;\;\;y2 \cdot \left(k \cdot t\_3 - c \cdot \left(t \cdot y4\right)\right)\\

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

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

\mathbf{else}:\\
\;\;\;\;t \cdot \left(y5 \cdot \left(a \cdot y2 - i \cdot j\right)\right)\\


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

    1. Initial program 9.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 i around -inf 23.2%

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
    4. Taylor expanded in k around -inf 59.8%

      \[\leadsto -1 \cdot \left(i \cdot \color{blue}{\left(-1 \cdot \left(k \cdot \left(y \cdot y5 - y1 \cdot z\right)\right)\right)}\right) \]
    5. Step-by-step derivation
      1. associate-*r*59.8%

        \[\leadsto -1 \cdot \left(i \cdot \color{blue}{\left(\left(-1 \cdot k\right) \cdot \left(y \cdot y5 - y1 \cdot z\right)\right)}\right) \]
      2. neg-mul-159.8%

        \[\leadsto -1 \cdot \left(i \cdot \left(\color{blue}{\left(-k\right)} \cdot \left(y \cdot y5 - y1 \cdot z\right)\right)\right) \]
    6. Simplified59.8%

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

    if -2.40000000000000011e234 < y5 < -9.5000000000000003e159

    1. Initial program 28.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 z around -inf 43.1%

      \[\leadsto \color{blue}{-1 \cdot \left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Taylor expanded in y1 around 0 57.1%

      \[\leadsto -1 \cdot \left(z \cdot \color{blue}{\left(\left(c \cdot \left(y0 \cdot y3\right) + \left(t \cdot \left(a \cdot b - c \cdot i\right) + y1 \cdot \left(-1 \cdot \left(a \cdot y3\right) - -1 \cdot \left(i \cdot k\right)\right)\right)\right) - b \cdot \left(k \cdot y0\right)\right)}\right) \]
    5. Taylor expanded in t around 0 71.4%

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

    if -9.5000000000000003e159 < y5 < -1.7e5 or 3.8999999999999998e-237 < y5 < 9.50000000000000053e-172

    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 b around inf 43.6%

      \[\leadsto \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)} \]
    4. Taylor expanded in z around -inf 58.0%

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

        \[\leadsto b \cdot \color{blue}{\left(-z \cdot \left(a \cdot t - k \cdot y0\right)\right)} \]
    6. Simplified58.0%

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

    if -1.7e5 < y5 < -2.3499999999999998e-28

    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 b around inf 90.3%

      \[\leadsto \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)} \]

    if -2.3499999999999998e-28 < y5 < 3.8999999999999998e-237 or 9.50000000000000053e-172 < y5 < 3.7999999999999997e-57

    1. Initial program 42.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 x around inf 53.7%

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

    if 3.7999999999999997e-57 < y5 < 3.3000000000000001e97

    1. Initial program 43.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 36.4%

      \[\leadsto \color{blue}{y4 \cdot \left(b \cdot \left(j \cdot t - k \cdot y\right) - c \cdot \left(t \cdot y2 - y \cdot y3\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 48.8%

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

    if 3.3000000000000001e97 < y5 < 2.35e209

    1. Initial program 19.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 43.4%

      \[\leadsto \color{blue}{y4 \cdot \left(b \cdot \left(j \cdot t - k \cdot y\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    4. Taylor expanded in y2 around inf 67.2%

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

    if 2.35e209 < y5 < 5.3999999999999997e224

    1. Initial program 41.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 y4 around inf 61.0%

      \[\leadsto \color{blue}{y4 \cdot \left(b \cdot \left(j \cdot t - k \cdot y\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    4. Taylor expanded in c around inf 80.4%

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

    if 5.3999999999999997e224 < y5 < 3.30000000000000022e275

    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 z around -inf 51.1%

      \[\leadsto \color{blue}{-1 \cdot \left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Taylor expanded in y3 around inf 61.3%

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

    if 3.30000000000000022e275 < y5

    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 t around inf 33.3%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in y5 around -inf 83.3%

      \[\leadsto \color{blue}{-1 \cdot \left(t \cdot \left(y5 \cdot \left(i \cdot j - a \cdot y2\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg83.3%

        \[\leadsto \color{blue}{-t \cdot \left(y5 \cdot \left(i \cdot j - a \cdot y2\right)\right)} \]
    6. Simplified83.3%

      \[\leadsto \color{blue}{-t \cdot \left(y5 \cdot \left(i \cdot j - a \cdot y2\right)\right)} \]
  3. Recombined 10 regimes into one program.
  4. Final simplification59.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -2.4 \cdot 10^{+234}:\\ \;\;\;\;i \cdot \left(k \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\ \mathbf{elif}\;y5 \leq -9.5 \cdot 10^{+159}:\\ \;\;\;\;z \cdot \left(\left(y1 \cdot \left(a \cdot y3 - i \cdot k\right) - c \cdot \left(y0 \cdot y3\right)\right) + b \cdot \left(k \cdot y0\right)\right)\\ \mathbf{elif}\;y5 \leq -170000:\\ \;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\ \mathbf{elif}\;y5 \leq -2.35 \cdot 10^{-28}:\\ \;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y5 \leq 3.9 \cdot 10^{-237}:\\ \;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\ \mathbf{elif}\;y5 \leq 9.5 \cdot 10^{-172}:\\ \;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\ \mathbf{elif}\;y5 \leq 3.8 \cdot 10^{-57}:\\ \;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\ \mathbf{elif}\;y5 \leq 3.3 \cdot 10^{+97}:\\ \;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{elif}\;y5 \leq 2.35 \cdot 10^{+209}:\\ \;\;\;\;y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - c \cdot \left(t \cdot y4\right)\right)\\ \mathbf{elif}\;y5 \leq 5.4 \cdot 10^{+224}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;y5 \leq 3.3 \cdot 10^{+275}:\\ \;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(y5 \cdot \left(a \cdot y2 - i \cdot j\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 13: 31.2% accurate, 1.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ t_2 := y \cdot \left(y4 \cdot \left(c \cdot y3 - b \cdot k\right)\right)\\ t_3 := x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\ \mathbf{if}\;y \leq -5.6 \cdot 10^{+70}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y \leq -2.3 \cdot 10^{-29}:\\ \;\;\;\;t \cdot \left(z \cdot \left(c \cdot i - a \cdot b\right)\right)\\ \mathbf{elif}\;y \leq -1.18 \cdot 10^{-125}:\\ \;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\ \mathbf{elif}\;y \leq -4 \cdot 10^{-220}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;y \leq -1.65 \cdot 10^{-282}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq 1.52 \cdot 10^{-139}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;y \leq 6.8 \cdot 10^{-51}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \mathbf{elif}\;y \leq 2.6 \cdot 10^{-14}:\\ \;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\ \mathbf{elif}\;y \leq 1.15 \cdot 10^{+21}:\\ \;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\ \mathbf{elif}\;y \leq 1.9 \cdot 10^{+140}:\\ \;\;\;\;t\_1\\ \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 (* t (* y2 (- (* a y5) (* c y4)))))
        (t_2 (* y (* y4 (- (* c y3) (* b k)))))
        (t_3 (* x (* y0 (- (* c y2) (* b j))))))
   (if (<= y -5.6e+70)
     t_2
     (if (<= y -2.3e-29)
       (* t (* z (- (* c i) (* a b))))
       (if (<= y -1.18e-125)
         (* b (* z (- (* k y0) (* t a))))
         (if (<= y -4e-220)
           t_3
           (if (<= y -1.65e-282)
             t_1
             (if (<= y 1.52e-139)
               t_3
               (if (<= y 6.8e-51)
                 (* j (* t (- (* b y4) (* i y5))))
                 (if (<= y 2.6e-14)
                   (* y0 (* y5 (- (* j y3) (* k y2))))
                   (if (<= y 1.15e+21)
                     (* y3 (* z (- (* a y1) (* c y0))))
                     (if (<= y 1.9e+140) 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 = t * (y2 * ((a * y5) - (c * y4)));
	double t_2 = y * (y4 * ((c * y3) - (b * k)));
	double t_3 = x * (y0 * ((c * y2) - (b * j)));
	double tmp;
	if (y <= -5.6e+70) {
		tmp = t_2;
	} else if (y <= -2.3e-29) {
		tmp = t * (z * ((c * i) - (a * b)));
	} else if (y <= -1.18e-125) {
		tmp = b * (z * ((k * y0) - (t * a)));
	} else if (y <= -4e-220) {
		tmp = t_3;
	} else if (y <= -1.65e-282) {
		tmp = t_1;
	} else if (y <= 1.52e-139) {
		tmp = t_3;
	} else if (y <= 6.8e-51) {
		tmp = j * (t * ((b * y4) - (i * y5)));
	} else if (y <= 2.6e-14) {
		tmp = y0 * (y5 * ((j * y3) - (k * y2)));
	} else if (y <= 1.15e+21) {
		tmp = y3 * (z * ((a * y1) - (c * y0)));
	} else if (y <= 1.9e+140) {
		tmp = t_1;
	} else {
		tmp = t_2;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: tmp
    t_1 = t * (y2 * ((a * y5) - (c * y4)))
    t_2 = y * (y4 * ((c * y3) - (b * k)))
    t_3 = x * (y0 * ((c * y2) - (b * j)))
    if (y <= (-5.6d+70)) then
        tmp = t_2
    else if (y <= (-2.3d-29)) then
        tmp = t * (z * ((c * i) - (a * b)))
    else if (y <= (-1.18d-125)) then
        tmp = b * (z * ((k * y0) - (t * a)))
    else if (y <= (-4d-220)) then
        tmp = t_3
    else if (y <= (-1.65d-282)) then
        tmp = t_1
    else if (y <= 1.52d-139) then
        tmp = t_3
    else if (y <= 6.8d-51) then
        tmp = j * (t * ((b * y4) - (i * y5)))
    else if (y <= 2.6d-14) then
        tmp = y0 * (y5 * ((j * y3) - (k * y2)))
    else if (y <= 1.15d+21) then
        tmp = y3 * (z * ((a * y1) - (c * y0)))
    else if (y <= 1.9d+140) then
        tmp = t_1
    else
        tmp = t_2
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = t * (y2 * ((a * y5) - (c * y4)));
	double t_2 = y * (y4 * ((c * y3) - (b * k)));
	double t_3 = x * (y0 * ((c * y2) - (b * j)));
	double tmp;
	if (y <= -5.6e+70) {
		tmp = t_2;
	} else if (y <= -2.3e-29) {
		tmp = t * (z * ((c * i) - (a * b)));
	} else if (y <= -1.18e-125) {
		tmp = b * (z * ((k * y0) - (t * a)));
	} else if (y <= -4e-220) {
		tmp = t_3;
	} else if (y <= -1.65e-282) {
		tmp = t_1;
	} else if (y <= 1.52e-139) {
		tmp = t_3;
	} else if (y <= 6.8e-51) {
		tmp = j * (t * ((b * y4) - (i * y5)));
	} else if (y <= 2.6e-14) {
		tmp = y0 * (y5 * ((j * y3) - (k * y2)));
	} else if (y <= 1.15e+21) {
		tmp = y3 * (z * ((a * y1) - (c * y0)));
	} else if (y <= 1.9e+140) {
		tmp = t_1;
	} else {
		tmp = t_2;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = t * (y2 * ((a * y5) - (c * y4)))
	t_2 = y * (y4 * ((c * y3) - (b * k)))
	t_3 = x * (y0 * ((c * y2) - (b * j)))
	tmp = 0
	if y <= -5.6e+70:
		tmp = t_2
	elif y <= -2.3e-29:
		tmp = t * (z * ((c * i) - (a * b)))
	elif y <= -1.18e-125:
		tmp = b * (z * ((k * y0) - (t * a)))
	elif y <= -4e-220:
		tmp = t_3
	elif y <= -1.65e-282:
		tmp = t_1
	elif y <= 1.52e-139:
		tmp = t_3
	elif y <= 6.8e-51:
		tmp = j * (t * ((b * y4) - (i * y5)))
	elif y <= 2.6e-14:
		tmp = y0 * (y5 * ((j * y3) - (k * y2)))
	elif y <= 1.15e+21:
		tmp = y3 * (z * ((a * y1) - (c * y0)))
	elif y <= 1.9e+140:
		tmp = t_1
	else:
		tmp = t_2
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4))))
	t_2 = Float64(y * Float64(y4 * Float64(Float64(c * y3) - Float64(b * k))))
	t_3 = Float64(x * Float64(y0 * Float64(Float64(c * y2) - Float64(b * j))))
	tmp = 0.0
	if (y <= -5.6e+70)
		tmp = t_2;
	elseif (y <= -2.3e-29)
		tmp = Float64(t * Float64(z * Float64(Float64(c * i) - Float64(a * b))));
	elseif (y <= -1.18e-125)
		tmp = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a))));
	elseif (y <= -4e-220)
		tmp = t_3;
	elseif (y <= -1.65e-282)
		tmp = t_1;
	elseif (y <= 1.52e-139)
		tmp = t_3;
	elseif (y <= 6.8e-51)
		tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5))));
	elseif (y <= 2.6e-14)
		tmp = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))));
	elseif (y <= 1.15e+21)
		tmp = Float64(y3 * Float64(z * Float64(Float64(a * y1) - Float64(c * y0))));
	elseif (y <= 1.9e+140)
		tmp = t_1;
	else
		tmp = t_2;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = t * (y2 * ((a * y5) - (c * y4)));
	t_2 = y * (y4 * ((c * y3) - (b * k)));
	t_3 = x * (y0 * ((c * y2) - (b * j)));
	tmp = 0.0;
	if (y <= -5.6e+70)
		tmp = t_2;
	elseif (y <= -2.3e-29)
		tmp = t * (z * ((c * i) - (a * b)));
	elseif (y <= -1.18e-125)
		tmp = b * (z * ((k * y0) - (t * a)));
	elseif (y <= -4e-220)
		tmp = t_3;
	elseif (y <= -1.65e-282)
		tmp = t_1;
	elseif (y <= 1.52e-139)
		tmp = t_3;
	elseif (y <= 6.8e-51)
		tmp = j * (t * ((b * y4) - (i * y5)));
	elseif (y <= 2.6e-14)
		tmp = y0 * (y5 * ((j * y3) - (k * y2)));
	elseif (y <= 1.15e+21)
		tmp = y3 * (z * ((a * y1) - (c * y0)));
	elseif (y <= 1.9e+140)
		tmp = t_1;
	else
		tmp = t_2;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y * N[(y4 * N[(N[(c * y3), $MachinePrecision] - N[(b * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(x * N[(y0 * N[(N[(c * y2), $MachinePrecision] - N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -5.6e+70], t$95$2, If[LessEqual[y, -2.3e-29], N[(t * N[(z * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -1.18e-125], N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -4e-220], t$95$3, If[LessEqual[y, -1.65e-282], t$95$1, If[LessEqual[y, 1.52e-139], t$95$3, If[LessEqual[y, 6.8e-51], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2.6e-14], N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.15e+21], N[(y3 * N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.9e+140], t$95$1, t$95$2]]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
t_2 := y \cdot \left(y4 \cdot \left(c \cdot y3 - b \cdot k\right)\right)\\
t_3 := x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\
\mathbf{if}\;y \leq -5.6 \cdot 10^{+70}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;y \leq -2.3 \cdot 10^{-29}:\\
\;\;\;\;t \cdot \left(z \cdot \left(c \cdot i - a \cdot b\right)\right)\\

\mathbf{elif}\;y \leq -1.18 \cdot 10^{-125}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\

\mathbf{elif}\;y \leq -4 \cdot 10^{-220}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;y \leq -1.65 \cdot 10^{-282}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y \leq 1.52 \cdot 10^{-139}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;y \leq 6.8 \cdot 10^{-51}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\

\mathbf{elif}\;y \leq 2.6 \cdot 10^{-14}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\

\mathbf{elif}\;y \leq 1.15 \cdot 10^{+21}:\\
\;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\

\mathbf{elif}\;y \leq 1.9 \cdot 10^{+140}:\\
\;\;\;\;t\_1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 8 regimes
  2. if y < -5.59999999999999979e70 or 1.9e140 < y

    1. Initial program 26.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 33.9%

      \[\leadsto \color{blue}{y4 \cdot \left(b \cdot \left(j \cdot t - k \cdot y\right) - c \cdot \left(t \cdot y2 - y \cdot y3\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 48.5%

      \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(y4 \cdot \left(b \cdot k - c \cdot y3\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg48.5%

        \[\leadsto \color{blue}{-y \cdot \left(y4 \cdot \left(b \cdot k - c \cdot y3\right)\right)} \]
    6. Simplified48.5%

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

    if -5.59999999999999979e70 < y < -2.29999999999999991e-29

    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 t around inf 46.6%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in z around inf 47.1%

      \[\leadsto \color{blue}{-1 \cdot \left(t \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg47.1%

        \[\leadsto \color{blue}{-t \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right)} \]
    6. Simplified47.1%

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

    if -2.29999999999999991e-29 < y < -1.17999999999999994e-125

    1. Initial program 50.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 50.7%

      \[\leadsto \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)} \]
    4. Taylor expanded in z around -inf 56.7%

      \[\leadsto b \cdot \color{blue}{\left(-1 \cdot \left(z \cdot \left(a \cdot t - k \cdot y0\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg56.7%

        \[\leadsto b \cdot \color{blue}{\left(-z \cdot \left(a \cdot t - k \cdot y0\right)\right)} \]
    6. Simplified56.7%

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

    if -1.17999999999999994e-125 < y < -3.99999999999999997e-220 or -1.65e-282 < y < 1.51999999999999999e-139

    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 x around inf 45.8%

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in y0 around inf 47.7%

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

    if -3.99999999999999997e-220 < y < -1.65e-282 or 1.15e21 < y < 1.9e140

    1. Initial program 29.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 t around inf 35.9%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in y2 around inf 46.7%

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

    if 1.51999999999999999e-139 < y < 6.80000000000000005e-51

    1. Initial program 42.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 t around inf 63.4%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in j around inf 48.5%

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

    if 6.80000000000000005e-51 < y < 2.59999999999999997e-14

    1. Initial program 46.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 y4 around inf 82.5%

      \[\leadsto \color{blue}{y4 \cdot \left(b \cdot \left(j \cdot t - k \cdot y\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    4. Taylor expanded in y4 around 0 73.7%

      \[\leadsto \color{blue}{-1 \cdot \left(y0 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right)} \]
    5. Step-by-step derivation
      1. associate-*r*73.7%

        \[\leadsto \color{blue}{\left(-1 \cdot y0\right) \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)} \]
      2. neg-mul-173.7%

        \[\leadsto \color{blue}{\left(-y0\right)} \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) \]
    6. Simplified73.7%

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

    if 2.59999999999999997e-14 < y < 1.15e21

    1. Initial program 42.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 z around -inf 28.9%

      \[\leadsto \color{blue}{-1 \cdot \left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Taylor expanded in y3 around inf 71.8%

      \[\leadsto -1 \cdot \color{blue}{\left(y3 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right)} \]
  3. Recombined 8 regimes into one program.
  4. Final simplification50.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -5.6 \cdot 10^{+70}:\\ \;\;\;\;y \cdot \left(y4 \cdot \left(c \cdot y3 - b \cdot k\right)\right)\\ \mathbf{elif}\;y \leq -2.3 \cdot 10^{-29}:\\ \;\;\;\;t \cdot \left(z \cdot \left(c \cdot i - a \cdot b\right)\right)\\ \mathbf{elif}\;y \leq -1.18 \cdot 10^{-125}:\\ \;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\ \mathbf{elif}\;y \leq -4 \cdot 10^{-220}:\\ \;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\ \mathbf{elif}\;y \leq -1.65 \cdot 10^{-282}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;y \leq 1.52 \cdot 10^{-139}:\\ \;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\ \mathbf{elif}\;y \leq 6.8 \cdot 10^{-51}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \mathbf{elif}\;y \leq 2.6 \cdot 10^{-14}:\\ \;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\ \mathbf{elif}\;y \leq 1.15 \cdot 10^{+21}:\\ \;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\ \mathbf{elif}\;y \leq 1.9 \cdot 10^{+140}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;y \cdot \left(y4 \cdot \left(c \cdot y3 - b \cdot k\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 14: 30.5% accurate, 1.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := z \cdot \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\ \mathbf{if}\;i \leq -8.6 \cdot 10^{+201}:\\ \;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\ \mathbf{elif}\;i \leq -3.05 \cdot 10^{+153}:\\ \;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b - c \cdot i\right)\\ \mathbf{elif}\;i \leq -2.42 \cdot 10^{+101}:\\ \;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\ \mathbf{elif}\;i \leq -2.2 \cdot 10^{+70}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;i \leq -1.9 \cdot 10^{+28}:\\ \;\;\;\;t \cdot \left(z \cdot \left(c \cdot i - a \cdot b\right)\right)\\ \mathbf{elif}\;i \leq -2.15 \cdot 10^{-121}:\\ \;\;\;\;y \cdot \left(y4 \cdot \left(c \cdot y3 - b \cdot k\right)\right)\\ \mathbf{elif}\;i \leq -4 \cdot 10^{-172}:\\ \;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \mathbf{elif}\;i \leq 8.2 \cdot 10^{-204}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;i \leq 4.6 \cdot 10^{+129}:\\ \;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\ \mathbf{elif}\;i \leq 6.2 \cdot 10^{+234}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(k \cdot \left(i \cdot \left(-y1\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 (* z (* y3 (- (* a y1) (* c y0))))))
   (if (<= i -8.6e+201)
     (* i (* y1 (- (* x j) (* z k))))
     (if (<= i -3.05e+153)
       (* (* x y) (- (* a b) (* c i)))
       (if (<= i -2.42e+101)
         (* b (* z (- (* k y0) (* t a))))
         (if (<= i -2.2e+70)
           t_1
           (if (<= i -1.9e+28)
             (* t (* z (- (* c i) (* a b))))
             (if (<= i -2.15e-121)
               (* y (* y4 (- (* c y3) (* b k))))
               (if (<= i -4e-172)
                 (* k (* y2 (- (* y1 y4) (* y0 y5))))
                 (if (<= i 8.2e-204)
                   t_1
                   (if (<= i 4.6e+129)
                     (* b (* j (- (* t y4) (* x y0))))
                     (if (<= i 6.2e+234)
                       (* c (* t (- (* z i) (* y2 y4))))
                       (* z (* k (* i (- y1))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = z * (y3 * ((a * y1) - (c * y0)));
	double tmp;
	if (i <= -8.6e+201) {
		tmp = i * (y1 * ((x * j) - (z * k)));
	} else if (i <= -3.05e+153) {
		tmp = (x * y) * ((a * b) - (c * i));
	} else if (i <= -2.42e+101) {
		tmp = b * (z * ((k * y0) - (t * a)));
	} else if (i <= -2.2e+70) {
		tmp = t_1;
	} else if (i <= -1.9e+28) {
		tmp = t * (z * ((c * i) - (a * b)));
	} else if (i <= -2.15e-121) {
		tmp = y * (y4 * ((c * y3) - (b * k)));
	} else if (i <= -4e-172) {
		tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
	} else if (i <= 8.2e-204) {
		tmp = t_1;
	} else if (i <= 4.6e+129) {
		tmp = b * (j * ((t * y4) - (x * y0)));
	} else if (i <= 6.2e+234) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else {
		tmp = z * (k * (i * -y1));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = z * (y3 * ((a * y1) - (c * y0)))
    if (i <= (-8.6d+201)) then
        tmp = i * (y1 * ((x * j) - (z * k)))
    else if (i <= (-3.05d+153)) then
        tmp = (x * y) * ((a * b) - (c * i))
    else if (i <= (-2.42d+101)) then
        tmp = b * (z * ((k * y0) - (t * a)))
    else if (i <= (-2.2d+70)) then
        tmp = t_1
    else if (i <= (-1.9d+28)) then
        tmp = t * (z * ((c * i) - (a * b)))
    else if (i <= (-2.15d-121)) then
        tmp = y * (y4 * ((c * y3) - (b * k)))
    else if (i <= (-4d-172)) then
        tmp = k * (y2 * ((y1 * y4) - (y0 * y5)))
    else if (i <= 8.2d-204) then
        tmp = t_1
    else if (i <= 4.6d+129) then
        tmp = b * (j * ((t * y4) - (x * y0)))
    else if (i <= 6.2d+234) then
        tmp = c * (t * ((z * i) - (y2 * y4)))
    else
        tmp = z * (k * (i * -y1))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = z * (y3 * ((a * y1) - (c * y0)));
	double tmp;
	if (i <= -8.6e+201) {
		tmp = i * (y1 * ((x * j) - (z * k)));
	} else if (i <= -3.05e+153) {
		tmp = (x * y) * ((a * b) - (c * i));
	} else if (i <= -2.42e+101) {
		tmp = b * (z * ((k * y0) - (t * a)));
	} else if (i <= -2.2e+70) {
		tmp = t_1;
	} else if (i <= -1.9e+28) {
		tmp = t * (z * ((c * i) - (a * b)));
	} else if (i <= -2.15e-121) {
		tmp = y * (y4 * ((c * y3) - (b * k)));
	} else if (i <= -4e-172) {
		tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
	} else if (i <= 8.2e-204) {
		tmp = t_1;
	} else if (i <= 4.6e+129) {
		tmp = b * (j * ((t * y4) - (x * y0)));
	} else if (i <= 6.2e+234) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else {
		tmp = z * (k * (i * -y1));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = z * (y3 * ((a * y1) - (c * y0)))
	tmp = 0
	if i <= -8.6e+201:
		tmp = i * (y1 * ((x * j) - (z * k)))
	elif i <= -3.05e+153:
		tmp = (x * y) * ((a * b) - (c * i))
	elif i <= -2.42e+101:
		tmp = b * (z * ((k * y0) - (t * a)))
	elif i <= -2.2e+70:
		tmp = t_1
	elif i <= -1.9e+28:
		tmp = t * (z * ((c * i) - (a * b)))
	elif i <= -2.15e-121:
		tmp = y * (y4 * ((c * y3) - (b * k)))
	elif i <= -4e-172:
		tmp = k * (y2 * ((y1 * y4) - (y0 * y5)))
	elif i <= 8.2e-204:
		tmp = t_1
	elif i <= 4.6e+129:
		tmp = b * (j * ((t * y4) - (x * y0)))
	elif i <= 6.2e+234:
		tmp = c * (t * ((z * i) - (y2 * y4)))
	else:
		tmp = z * (k * (i * -y1))
	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(y3 * Float64(Float64(a * y1) - Float64(c * y0))))
	tmp = 0.0
	if (i <= -8.6e+201)
		tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k))));
	elseif (i <= -3.05e+153)
		tmp = Float64(Float64(x * y) * Float64(Float64(a * b) - Float64(c * i)));
	elseif (i <= -2.42e+101)
		tmp = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a))));
	elseif (i <= -2.2e+70)
		tmp = t_1;
	elseif (i <= -1.9e+28)
		tmp = Float64(t * Float64(z * Float64(Float64(c * i) - Float64(a * b))));
	elseif (i <= -2.15e-121)
		tmp = Float64(y * Float64(y4 * Float64(Float64(c * y3) - Float64(b * k))));
	elseif (i <= -4e-172)
		tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5))));
	elseif (i <= 8.2e-204)
		tmp = t_1;
	elseif (i <= 4.6e+129)
		tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0))));
	elseif (i <= 6.2e+234)
		tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4))));
	else
		tmp = Float64(z * Float64(k * Float64(i * Float64(-y1))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = z * (y3 * ((a * y1) - (c * y0)));
	tmp = 0.0;
	if (i <= -8.6e+201)
		tmp = i * (y1 * ((x * j) - (z * k)));
	elseif (i <= -3.05e+153)
		tmp = (x * y) * ((a * b) - (c * i));
	elseif (i <= -2.42e+101)
		tmp = b * (z * ((k * y0) - (t * a)));
	elseif (i <= -2.2e+70)
		tmp = t_1;
	elseif (i <= -1.9e+28)
		tmp = t * (z * ((c * i) - (a * b)));
	elseif (i <= -2.15e-121)
		tmp = y * (y4 * ((c * y3) - (b * k)));
	elseif (i <= -4e-172)
		tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
	elseif (i <= 8.2e-204)
		tmp = t_1;
	elseif (i <= 4.6e+129)
		tmp = b * (j * ((t * y4) - (x * y0)));
	elseif (i <= 6.2e+234)
		tmp = c * (t * ((z * i) - (y2 * y4)));
	else
		tmp = z * (k * (i * -y1));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(z * N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -8.6e+201], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -3.05e+153], N[(N[(x * y), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -2.42e+101], N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -2.2e+70], t$95$1, If[LessEqual[i, -1.9e+28], N[(t * N[(z * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -2.15e-121], N[(y * N[(y4 * N[(N[(c * y3), $MachinePrecision] - N[(b * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -4e-172], N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 8.2e-204], t$95$1, If[LessEqual[i, 4.6e+129], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 6.2e+234], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(z * N[(k * N[(i * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := z \cdot \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\
\mathbf{if}\;i \leq -8.6 \cdot 10^{+201}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\

\mathbf{elif}\;i \leq -3.05 \cdot 10^{+153}:\\
\;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b - c \cdot i\right)\\

\mathbf{elif}\;i \leq -2.42 \cdot 10^{+101}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\

\mathbf{elif}\;i \leq -2.2 \cdot 10^{+70}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;i \leq -1.9 \cdot 10^{+28}:\\
\;\;\;\;t \cdot \left(z \cdot \left(c \cdot i - a \cdot b\right)\right)\\

\mathbf{elif}\;i \leq -2.15 \cdot 10^{-121}:\\
\;\;\;\;y \cdot \left(y4 \cdot \left(c \cdot y3 - b \cdot k\right)\right)\\

\mathbf{elif}\;i \leq -4 \cdot 10^{-172}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\

\mathbf{elif}\;i \leq 8.2 \cdot 10^{-204}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;i \leq 4.6 \cdot 10^{+129}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\

\mathbf{elif}\;i \leq 6.2 \cdot 10^{+234}:\\
\;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\

\mathbf{else}:\\
\;\;\;\;z \cdot \left(k \cdot \left(i \cdot \left(-y1\right)\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 10 regimes
  2. if i < -8.59999999999999981e201

    1. Initial program 27.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 i around -inf 77.2%

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
    4. Taylor expanded in y1 around inf 64.5%

      \[\leadsto -1 \cdot \color{blue}{\left(i \cdot \left(y1 \cdot \left(k \cdot z - j \cdot x\right)\right)\right)} \]

    if -8.59999999999999981e201 < i < -3.0499999999999999e153

    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 x around inf 59.2%

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in y around inf 67.7%

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

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

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

    if -3.0499999999999999e153 < i < -2.4200000000000001e101

    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 b around inf 60.1%

      \[\leadsto \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)} \]
    4. Taylor expanded in z around -inf 60.3%

      \[\leadsto b \cdot \color{blue}{\left(-1 \cdot \left(z \cdot \left(a \cdot t - k \cdot y0\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg60.3%

        \[\leadsto b \cdot \color{blue}{\left(-z \cdot \left(a \cdot t - k \cdot y0\right)\right)} \]
    6. Simplified60.3%

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

    if -2.4200000000000001e101 < i < -2.20000000000000001e70 or -4.0000000000000002e-172 < i < 8.2000000000000002e-204

    1. Initial program 35.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 z around -inf 39.4%

      \[\leadsto \color{blue}{-1 \cdot \left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Taylor expanded in y3 around inf 46.1%

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

    if -2.20000000000000001e70 < i < -1.8999999999999999e28

    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 t around inf 67.3%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in z around inf 50.9%

      \[\leadsto \color{blue}{-1 \cdot \left(t \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg50.9%

        \[\leadsto \color{blue}{-t \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right)} \]
    6. Simplified50.9%

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

    if -1.8999999999999999e28 < i < -2.14999999999999983e-121

    1. Initial program 46.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 y4 around inf 44.9%

      \[\leadsto \color{blue}{y4 \cdot \left(b \cdot \left(j \cdot t - k \cdot y\right) - c \cdot \left(t \cdot y2 - y \cdot y3\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 44.7%

      \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(y4 \cdot \left(b \cdot k - c \cdot y3\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg44.7%

        \[\leadsto \color{blue}{-y \cdot \left(y4 \cdot \left(b \cdot k - c \cdot y3\right)\right)} \]
    6. Simplified44.7%

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

    if -2.14999999999999983e-121 < i < -4.0000000000000002e-172

    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 y4 around inf 41.3%

      \[\leadsto \color{blue}{y4 \cdot \left(b \cdot \left(j \cdot t - k \cdot y\right) - c \cdot \left(t \cdot y2 - y \cdot y3\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 50.6%

      \[\leadsto \color{blue}{c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    5. Taylor expanded in y3 around 0 60.9%

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

    if 8.2000000000000002e-204 < i < 4.59999999999999981e129

    1. Initial program 31.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 48.9%

      \[\leadsto \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)} \]
    4. Taylor expanded in j around inf 43.6%

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

    if 4.59999999999999981e129 < i < 6.19999999999999979e234

    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 t around inf 39.0%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in c around inf 61.4%

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

    if 6.19999999999999979e234 < i

    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 z around -inf 33.5%

      \[\leadsto \color{blue}{-1 \cdot \left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Taylor expanded in k around inf 42.0%

      \[\leadsto -1 \cdot \left(z \cdot \color{blue}{\left(k \cdot \left(i \cdot y1 - b \cdot y0\right)\right)}\right) \]
    5. Taylor expanded in i around inf 59.4%

      \[\leadsto -1 \cdot \left(z \cdot \left(k \cdot \color{blue}{\left(i \cdot y1\right)}\right)\right) \]
  3. Recombined 10 regimes into one program.
  4. Final simplification50.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -8.6 \cdot 10^{+201}:\\ \;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\ \mathbf{elif}\;i \leq -3.05 \cdot 10^{+153}:\\ \;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b - c \cdot i\right)\\ \mathbf{elif}\;i \leq -2.42 \cdot 10^{+101}:\\ \;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\ \mathbf{elif}\;i \leq -2.2 \cdot 10^{+70}:\\ \;\;\;\;z \cdot \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\ \mathbf{elif}\;i \leq -1.9 \cdot 10^{+28}:\\ \;\;\;\;t \cdot \left(z \cdot \left(c \cdot i - a \cdot b\right)\right)\\ \mathbf{elif}\;i \leq -2.15 \cdot 10^{-121}:\\ \;\;\;\;y \cdot \left(y4 \cdot \left(c \cdot y3 - b \cdot k\right)\right)\\ \mathbf{elif}\;i \leq -4 \cdot 10^{-172}:\\ \;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \mathbf{elif}\;i \leq 8.2 \cdot 10^{-204}:\\ \;\;\;\;z \cdot \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\ \mathbf{elif}\;i \leq 4.6 \cdot 10^{+129}:\\ \;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\ \mathbf{elif}\;i \leq 6.2 \cdot 10^{+234}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(k \cdot \left(i \cdot \left(-y1\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 15: 31.5% accurate, 1.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ t_2 := b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ t_3 := x \cdot y - z \cdot t\\ \mathbf{if}\;y0 \leq -2.1 \cdot 10^{+85}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y0 \leq -4.3 \cdot 10^{-20}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y0 \leq -4 \cdot 10^{-149}:\\ \;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b - c \cdot i\right)\\ \mathbf{elif}\;y0 \leq 4.9 \cdot 10^{-294}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq 3.5 \cdot 10^{+58}:\\ \;\;\;\;b \cdot \left(a \cdot t\_3\right)\\ \mathbf{elif}\;y0 \leq 3.1 \cdot 10^{+99}:\\ \;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\ \mathbf{elif}\;y0 \leq 4.4 \cdot 10^{+161}:\\ \;\;\;\;\left(a \cdot b\right) \cdot t\_3\\ \mathbf{elif}\;y0 \leq 6.3 \cdot 10^{+218}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y0 \leq 2.6 \cdot 10^{+296}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \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 (* k (* y2 (- (* y1 y4) (* y0 y5)))))
        (t_2 (* b (* y0 (- (* z k) (* x j)))))
        (t_3 (- (* x y) (* z t))))
   (if (<= y0 -2.1e+85)
     t_2
     (if (<= y0 -4.3e-20)
       t_1
       (if (<= y0 -4e-149)
         (* (* x y) (- (* a b) (* c i)))
         (if (<= y0 4.9e-294)
           (* t (* y2 (- (* a y5) (* c y4))))
           (if (<= y0 3.5e+58)
             (* b (* a t_3))
             (if (<= y0 3.1e+99)
               (* x (* y0 (- (* c y2) (* b j))))
               (if (<= y0 4.4e+161)
                 (* (* a b) t_3)
                 (if (<= y0 6.3e+218)
                   t_2
                   (if (<= y0 2.6e+296)
                     t_1
                     (* j (* t (- (* b y4) (* i y5)))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	double t_2 = b * (y0 * ((z * k) - (x * j)));
	double t_3 = (x * y) - (z * t);
	double tmp;
	if (y0 <= -2.1e+85) {
		tmp = t_2;
	} else if (y0 <= -4.3e-20) {
		tmp = t_1;
	} else if (y0 <= -4e-149) {
		tmp = (x * y) * ((a * b) - (c * i));
	} else if (y0 <= 4.9e-294) {
		tmp = t * (y2 * ((a * y5) - (c * y4)));
	} else if (y0 <= 3.5e+58) {
		tmp = b * (a * t_3);
	} else if (y0 <= 3.1e+99) {
		tmp = x * (y0 * ((c * y2) - (b * j)));
	} else if (y0 <= 4.4e+161) {
		tmp = (a * b) * t_3;
	} else if (y0 <= 6.3e+218) {
		tmp = t_2;
	} else if (y0 <= 2.6e+296) {
		tmp = t_1;
	} else {
		tmp = j * (t * ((b * y4) - (i * y5)));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: tmp
    t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)))
    t_2 = b * (y0 * ((z * k) - (x * j)))
    t_3 = (x * y) - (z * t)
    if (y0 <= (-2.1d+85)) then
        tmp = t_2
    else if (y0 <= (-4.3d-20)) then
        tmp = t_1
    else if (y0 <= (-4d-149)) then
        tmp = (x * y) * ((a * b) - (c * i))
    else if (y0 <= 4.9d-294) then
        tmp = t * (y2 * ((a * y5) - (c * y4)))
    else if (y0 <= 3.5d+58) then
        tmp = b * (a * t_3)
    else if (y0 <= 3.1d+99) then
        tmp = x * (y0 * ((c * y2) - (b * j)))
    else if (y0 <= 4.4d+161) then
        tmp = (a * b) * t_3
    else if (y0 <= 6.3d+218) then
        tmp = t_2
    else if (y0 <= 2.6d+296) then
        tmp = t_1
    else
        tmp = j * (t * ((b * y4) - (i * y5)))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	double t_2 = b * (y0 * ((z * k) - (x * j)));
	double t_3 = (x * y) - (z * t);
	double tmp;
	if (y0 <= -2.1e+85) {
		tmp = t_2;
	} else if (y0 <= -4.3e-20) {
		tmp = t_1;
	} else if (y0 <= -4e-149) {
		tmp = (x * y) * ((a * b) - (c * i));
	} else if (y0 <= 4.9e-294) {
		tmp = t * (y2 * ((a * y5) - (c * y4)));
	} else if (y0 <= 3.5e+58) {
		tmp = b * (a * t_3);
	} else if (y0 <= 3.1e+99) {
		tmp = x * (y0 * ((c * y2) - (b * j)));
	} else if (y0 <= 4.4e+161) {
		tmp = (a * b) * t_3;
	} else if (y0 <= 6.3e+218) {
		tmp = t_2;
	} else if (y0 <= 2.6e+296) {
		tmp = t_1;
	} else {
		tmp = j * (t * ((b * y4) - (i * y5)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)))
	t_2 = b * (y0 * ((z * k) - (x * j)))
	t_3 = (x * y) - (z * t)
	tmp = 0
	if y0 <= -2.1e+85:
		tmp = t_2
	elif y0 <= -4.3e-20:
		tmp = t_1
	elif y0 <= -4e-149:
		tmp = (x * y) * ((a * b) - (c * i))
	elif y0 <= 4.9e-294:
		tmp = t * (y2 * ((a * y5) - (c * y4)))
	elif y0 <= 3.5e+58:
		tmp = b * (a * t_3)
	elif y0 <= 3.1e+99:
		tmp = x * (y0 * ((c * y2) - (b * j)))
	elif y0 <= 4.4e+161:
		tmp = (a * b) * t_3
	elif y0 <= 6.3e+218:
		tmp = t_2
	elif y0 <= 2.6e+296:
		tmp = t_1
	else:
		tmp = j * (t * ((b * y4) - (i * y5)))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5))))
	t_2 = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))
	t_3 = Float64(Float64(x * y) - Float64(z * t))
	tmp = 0.0
	if (y0 <= -2.1e+85)
		tmp = t_2;
	elseif (y0 <= -4.3e-20)
		tmp = t_1;
	elseif (y0 <= -4e-149)
		tmp = Float64(Float64(x * y) * Float64(Float64(a * b) - Float64(c * i)));
	elseif (y0 <= 4.9e-294)
		tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4))));
	elseif (y0 <= 3.5e+58)
		tmp = Float64(b * Float64(a * t_3));
	elseif (y0 <= 3.1e+99)
		tmp = Float64(x * Float64(y0 * Float64(Float64(c * y2) - Float64(b * j))));
	elseif (y0 <= 4.4e+161)
		tmp = Float64(Float64(a * b) * t_3);
	elseif (y0 <= 6.3e+218)
		tmp = t_2;
	elseif (y0 <= 2.6e+296)
		tmp = t_1;
	else
		tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	t_2 = b * (y0 * ((z * k) - (x * j)));
	t_3 = (x * y) - (z * t);
	tmp = 0.0;
	if (y0 <= -2.1e+85)
		tmp = t_2;
	elseif (y0 <= -4.3e-20)
		tmp = t_1;
	elseif (y0 <= -4e-149)
		tmp = (x * y) * ((a * b) - (c * i));
	elseif (y0 <= 4.9e-294)
		tmp = t * (y2 * ((a * y5) - (c * y4)));
	elseif (y0 <= 3.5e+58)
		tmp = b * (a * t_3);
	elseif (y0 <= 3.1e+99)
		tmp = x * (y0 * ((c * y2) - (b * j)));
	elseif (y0 <= 4.4e+161)
		tmp = (a * b) * t_3;
	elseif (y0 <= 6.3e+218)
		tmp = t_2;
	elseif (y0 <= 2.6e+296)
		tmp = t_1;
	else
		tmp = j * (t * ((b * y4) - (i * y5)));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -2.1e+85], t$95$2, If[LessEqual[y0, -4.3e-20], t$95$1, If[LessEqual[y0, -4e-149], N[(N[(x * y), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 4.9e-294], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 3.5e+58], N[(b * N[(a * t$95$3), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 3.1e+99], N[(x * N[(y0 * N[(N[(c * y2), $MachinePrecision] - N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 4.4e+161], N[(N[(a * b), $MachinePrecision] * t$95$3), $MachinePrecision], If[LessEqual[y0, 6.3e+218], t$95$2, If[LessEqual[y0, 2.6e+296], t$95$1, N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
t_2 := b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
t_3 := x \cdot y - z \cdot t\\
\mathbf{if}\;y0 \leq -2.1 \cdot 10^{+85}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;y0 \leq -4.3 \cdot 10^{-20}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y0 \leq -4 \cdot 10^{-149}:\\
\;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b - c \cdot i\right)\\

\mathbf{elif}\;y0 \leq 4.9 \cdot 10^{-294}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\

\mathbf{elif}\;y0 \leq 3.5 \cdot 10^{+58}:\\
\;\;\;\;b \cdot \left(a \cdot t\_3\right)\\

\mathbf{elif}\;y0 \leq 3.1 \cdot 10^{+99}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\

\mathbf{elif}\;y0 \leq 4.4 \cdot 10^{+161}:\\
\;\;\;\;\left(a \cdot b\right) \cdot t\_3\\

\mathbf{elif}\;y0 \leq 6.3 \cdot 10^{+218}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;y0 \leq 2.6 \cdot 10^{+296}:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 8 regimes
  2. if y0 < -2.1000000000000001e85 or 4.4e161 < y0 < 6.2999999999999996e218

    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 b around inf 54.9%

      \[\leadsto \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)} \]
    4. Taylor expanded in y0 around inf 55.5%

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

    if -2.1000000000000001e85 < y0 < -4.30000000000000011e-20 or 6.2999999999999996e218 < y0 < 2.6000000000000001e296

    1. Initial program 34.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 y4 around inf 34.9%

      \[\leadsto \color{blue}{y4 \cdot \left(b \cdot \left(j \cdot t - k \cdot y\right) - c \cdot \left(t \cdot y2 - y \cdot y3\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 58.6%

      \[\leadsto \color{blue}{c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    5. Taylor expanded in y3 around 0 50.9%

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

    if -4.30000000000000011e-20 < y0 < -3.99999999999999992e-149

    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 x around inf 60.9%

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in y around inf 57.7%

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

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

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

    if -3.99999999999999992e-149 < y0 < 4.8999999999999998e-294

    1. Initial program 40.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 t around inf 37.5%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in y2 around inf 42.0%

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

    if 4.8999999999999998e-294 < y0 < 3.4999999999999997e58

    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 b around inf 36.8%

      \[\leadsto \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)} \]
    4. Taylor expanded in a around inf 38.7%

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

    if 3.4999999999999997e58 < y0 < 3.1000000000000001e99

    1. Initial program 71.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 x around inf 76.1%

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in y0 around inf 76.1%

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

    if 3.1000000000000001e99 < y0 < 4.4e161

    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 55.1%

      \[\leadsto \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)} \]
    4. Taylor expanded in a around inf 46.9%

      \[\leadsto b \cdot \color{blue}{\left(a \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in b around 0 55.5%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    6. Step-by-step derivation
      1. associate-*r*47.4%

        \[\leadsto \color{blue}{\left(a \cdot b\right) \cdot \left(x \cdot y - t \cdot z\right)} \]
      2. *-commutative47.4%

        \[\leadsto \left(a \cdot b\right) \cdot \left(x \cdot y - \color{blue}{z \cdot t}\right) \]
    7. Simplified47.4%

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

    if 2.6000000000000001e296 < y0

    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 t around inf 25.3%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in j around inf 75.4%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -2.1 \cdot 10^{+85}:\\ \;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y0 \leq -4.3 \cdot 10^{-20}:\\ \;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \mathbf{elif}\;y0 \leq -4 \cdot 10^{-149}:\\ \;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b - c \cdot i\right)\\ \mathbf{elif}\;y0 \leq 4.9 \cdot 10^{-294}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq 3.5 \cdot 10^{+58}:\\ \;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y0 \leq 3.1 \cdot 10^{+99}:\\ \;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\ \mathbf{elif}\;y0 \leq 4.4 \cdot 10^{+161}:\\ \;\;\;\;\left(a \cdot b\right) \cdot \left(x \cdot y - z \cdot t\right)\\ \mathbf{elif}\;y0 \leq 6.3 \cdot 10^{+218}:\\ \;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y0 \leq 2.6 \cdot 10^{+296}:\\ \;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \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: 31.8% accurate, 1.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ t_2 := b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ t_3 := t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{if}\;y0 \leq -2.25 \cdot 10^{+85}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y0 \leq -5.3 \cdot 10^{-20}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y0 \leq -9.4 \cdot 10^{-150}:\\ \;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b - c \cdot i\right)\\ \mathbf{elif}\;y0 \leq 4.8 \cdot 10^{-296}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;y0 \leq 2.8 \cdot 10^{-149}:\\ \;\;\;\;t \cdot \left(z \cdot \left(c \cdot i - a \cdot b\right)\right)\\ \mathbf{elif}\;y0 \leq 7.5 \cdot 10^{-72}:\\ \;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\ \mathbf{elif}\;y0 \leq 2.9 \cdot 10^{+106}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;y0 \leq 2.25 \cdot 10^{+219}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y0 \leq 2.7 \cdot 10^{+296}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \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 (* k (* y2 (- (* y1 y4) (* y0 y5)))))
        (t_2 (* b (* y0 (- (* z k) (* x j)))))
        (t_3 (* t (* y2 (- (* a y5) (* c y4))))))
   (if (<= y0 -2.25e+85)
     t_2
     (if (<= y0 -5.3e-20)
       t_1
       (if (<= y0 -9.4e-150)
         (* (* x y) (- (* a b) (* c i)))
         (if (<= y0 4.8e-296)
           t_3
           (if (<= y0 2.8e-149)
             (* t (* z (- (* c i) (* a b))))
             (if (<= y0 7.5e-72)
               (* b (* z (- (* k y0) (* t a))))
               (if (<= y0 2.9e+106)
                 t_3
                 (if (<= y0 2.25e+219)
                   t_2
                   (if (<= y0 2.7e+296)
                     t_1
                     (* j (* t (- (* b y4) (* i y5)))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	double t_2 = b * (y0 * ((z * k) - (x * j)));
	double t_3 = t * (y2 * ((a * y5) - (c * y4)));
	double tmp;
	if (y0 <= -2.25e+85) {
		tmp = t_2;
	} else if (y0 <= -5.3e-20) {
		tmp = t_1;
	} else if (y0 <= -9.4e-150) {
		tmp = (x * y) * ((a * b) - (c * i));
	} else if (y0 <= 4.8e-296) {
		tmp = t_3;
	} else if (y0 <= 2.8e-149) {
		tmp = t * (z * ((c * i) - (a * b)));
	} else if (y0 <= 7.5e-72) {
		tmp = b * (z * ((k * y0) - (t * a)));
	} else if (y0 <= 2.9e+106) {
		tmp = t_3;
	} else if (y0 <= 2.25e+219) {
		tmp = t_2;
	} else if (y0 <= 2.7e+296) {
		tmp = t_1;
	} else {
		tmp = j * (t * ((b * y4) - (i * y5)));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: tmp
    t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)))
    t_2 = b * (y0 * ((z * k) - (x * j)))
    t_3 = t * (y2 * ((a * y5) - (c * y4)))
    if (y0 <= (-2.25d+85)) then
        tmp = t_2
    else if (y0 <= (-5.3d-20)) then
        tmp = t_1
    else if (y0 <= (-9.4d-150)) then
        tmp = (x * y) * ((a * b) - (c * i))
    else if (y0 <= 4.8d-296) then
        tmp = t_3
    else if (y0 <= 2.8d-149) then
        tmp = t * (z * ((c * i) - (a * b)))
    else if (y0 <= 7.5d-72) then
        tmp = b * (z * ((k * y0) - (t * a)))
    else if (y0 <= 2.9d+106) then
        tmp = t_3
    else if (y0 <= 2.25d+219) then
        tmp = t_2
    else if (y0 <= 2.7d+296) then
        tmp = t_1
    else
        tmp = j * (t * ((b * y4) - (i * y5)))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	double t_2 = b * (y0 * ((z * k) - (x * j)));
	double t_3 = t * (y2 * ((a * y5) - (c * y4)));
	double tmp;
	if (y0 <= -2.25e+85) {
		tmp = t_2;
	} else if (y0 <= -5.3e-20) {
		tmp = t_1;
	} else if (y0 <= -9.4e-150) {
		tmp = (x * y) * ((a * b) - (c * i));
	} else if (y0 <= 4.8e-296) {
		tmp = t_3;
	} else if (y0 <= 2.8e-149) {
		tmp = t * (z * ((c * i) - (a * b)));
	} else if (y0 <= 7.5e-72) {
		tmp = b * (z * ((k * y0) - (t * a)));
	} else if (y0 <= 2.9e+106) {
		tmp = t_3;
	} else if (y0 <= 2.25e+219) {
		tmp = t_2;
	} else if (y0 <= 2.7e+296) {
		tmp = t_1;
	} else {
		tmp = j * (t * ((b * y4) - (i * y5)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)))
	t_2 = b * (y0 * ((z * k) - (x * j)))
	t_3 = t * (y2 * ((a * y5) - (c * y4)))
	tmp = 0
	if y0 <= -2.25e+85:
		tmp = t_2
	elif y0 <= -5.3e-20:
		tmp = t_1
	elif y0 <= -9.4e-150:
		tmp = (x * y) * ((a * b) - (c * i))
	elif y0 <= 4.8e-296:
		tmp = t_3
	elif y0 <= 2.8e-149:
		tmp = t * (z * ((c * i) - (a * b)))
	elif y0 <= 7.5e-72:
		tmp = b * (z * ((k * y0) - (t * a)))
	elif y0 <= 2.9e+106:
		tmp = t_3
	elif y0 <= 2.25e+219:
		tmp = t_2
	elif y0 <= 2.7e+296:
		tmp = t_1
	else:
		tmp = j * (t * ((b * y4) - (i * y5)))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5))))
	t_2 = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))
	t_3 = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4))))
	tmp = 0.0
	if (y0 <= -2.25e+85)
		tmp = t_2;
	elseif (y0 <= -5.3e-20)
		tmp = t_1;
	elseif (y0 <= -9.4e-150)
		tmp = Float64(Float64(x * y) * Float64(Float64(a * b) - Float64(c * i)));
	elseif (y0 <= 4.8e-296)
		tmp = t_3;
	elseif (y0 <= 2.8e-149)
		tmp = Float64(t * Float64(z * Float64(Float64(c * i) - Float64(a * b))));
	elseif (y0 <= 7.5e-72)
		tmp = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a))));
	elseif (y0 <= 2.9e+106)
		tmp = t_3;
	elseif (y0 <= 2.25e+219)
		tmp = t_2;
	elseif (y0 <= 2.7e+296)
		tmp = t_1;
	else
		tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	t_2 = b * (y0 * ((z * k) - (x * j)));
	t_3 = t * (y2 * ((a * y5) - (c * y4)));
	tmp = 0.0;
	if (y0 <= -2.25e+85)
		tmp = t_2;
	elseif (y0 <= -5.3e-20)
		tmp = t_1;
	elseif (y0 <= -9.4e-150)
		tmp = (x * y) * ((a * b) - (c * i));
	elseif (y0 <= 4.8e-296)
		tmp = t_3;
	elseif (y0 <= 2.8e-149)
		tmp = t * (z * ((c * i) - (a * b)));
	elseif (y0 <= 7.5e-72)
		tmp = b * (z * ((k * y0) - (t * a)));
	elseif (y0 <= 2.9e+106)
		tmp = t_3;
	elseif (y0 <= 2.25e+219)
		tmp = t_2;
	elseif (y0 <= 2.7e+296)
		tmp = t_1;
	else
		tmp = j * (t * ((b * y4) - (i * y5)));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -2.25e+85], t$95$2, If[LessEqual[y0, -5.3e-20], t$95$1, If[LessEqual[y0, -9.4e-150], N[(N[(x * y), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 4.8e-296], t$95$3, If[LessEqual[y0, 2.8e-149], N[(t * N[(z * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 7.5e-72], N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 2.9e+106], t$95$3, If[LessEqual[y0, 2.25e+219], t$95$2, If[LessEqual[y0, 2.7e+296], t$95$1, N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
t_2 := b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
t_3 := t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{if}\;y0 \leq -2.25 \cdot 10^{+85}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;y0 \leq -5.3 \cdot 10^{-20}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y0 \leq -9.4 \cdot 10^{-150}:\\
\;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b - c \cdot i\right)\\

\mathbf{elif}\;y0 \leq 4.8 \cdot 10^{-296}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;y0 \leq 2.8 \cdot 10^{-149}:\\
\;\;\;\;t \cdot \left(z \cdot \left(c \cdot i - a \cdot b\right)\right)\\

\mathbf{elif}\;y0 \leq 7.5 \cdot 10^{-72}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\

\mathbf{elif}\;y0 \leq 2.9 \cdot 10^{+106}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;y0 \leq 2.25 \cdot 10^{+219}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;y0 \leq 2.7 \cdot 10^{+296}:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if y0 < -2.25000000000000003e85 or 2.9000000000000002e106 < y0 < 2.25000000000000012e219

    1. Initial program 20.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 55.1%

      \[\leadsto \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)} \]
    4. Taylor expanded in y0 around inf 52.9%

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

    if -2.25000000000000003e85 < y0 < -5.3000000000000002e-20 or 2.25000000000000012e219 < y0 < 2.69999999999999986e296

    1. Initial program 34.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 y4 around inf 34.9%

      \[\leadsto \color{blue}{y4 \cdot \left(b \cdot \left(j \cdot t - k \cdot y\right) - c \cdot \left(t \cdot y2 - y \cdot y3\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 58.6%

      \[\leadsto \color{blue}{c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    5. Taylor expanded in y3 around 0 50.9%

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

    if -5.3000000000000002e-20 < y0 < -9.3999999999999998e-150

    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 x around inf 60.9%

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in y around inf 57.7%

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

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

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

    if -9.3999999999999998e-150 < y0 < 4.79999999999999992e-296 or 7.5000000000000004e-72 < y0 < 2.9000000000000002e106

    1. Initial program 34.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 t around inf 42.8%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in y2 around inf 41.7%

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

    if 4.79999999999999992e-296 < y0 < 2.7999999999999999e-149

    1. Initial program 48.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 t around inf 34.1%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in z around inf 53.1%

      \[\leadsto \color{blue}{-1 \cdot \left(t \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg53.1%

        \[\leadsto \color{blue}{-t \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right)} \]
    6. Simplified53.1%

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

    if 2.7999999999999999e-149 < y0 < 7.5000000000000004e-72

    1. Initial program 39.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 49.2%

      \[\leadsto \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)} \]
    4. Taylor expanded in z around -inf 45.0%

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

        \[\leadsto b \cdot \color{blue}{\left(-z \cdot \left(a \cdot t - k \cdot y0\right)\right)} \]
    6. Simplified45.0%

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

    if 2.69999999999999986e296 < y0

    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 t around inf 25.3%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in j around inf 75.4%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -2.25 \cdot 10^{+85}:\\ \;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y0 \leq -5.3 \cdot 10^{-20}:\\ \;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \mathbf{elif}\;y0 \leq -9.4 \cdot 10^{-150}:\\ \;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b - c \cdot i\right)\\ \mathbf{elif}\;y0 \leq 4.8 \cdot 10^{-296}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq 2.8 \cdot 10^{-149}:\\ \;\;\;\;t \cdot \left(z \cdot \left(c \cdot i - a \cdot b\right)\right)\\ \mathbf{elif}\;y0 \leq 7.5 \cdot 10^{-72}:\\ \;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\ \mathbf{elif}\;y0 \leq 2.9 \cdot 10^{+106}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq 2.25 \cdot 10^{+219}:\\ \;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y0 \leq 2.7 \cdot 10^{+296}:\\ \;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \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 17: 31.6% accurate, 1.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ t_2 := y1 \cdot y4 - y0 \cdot y5\\ \mathbf{if}\;y0 \leq -8.5 \cdot 10^{+115}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y0 \leq -2.6 \cdot 10^{-16}:\\ \;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\ \mathbf{elif}\;y0 \leq -7.5 \cdot 10^{-166}:\\ \;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b - c \cdot i\right)\\ \mathbf{elif}\;y0 \leq 2.15 \cdot 10^{-295}:\\ \;\;\;\;y2 \cdot \left(k \cdot t\_2 - c \cdot \left(t \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq 3.5 \cdot 10^{-214}:\\ \;\;\;\;t \cdot \left(z \cdot \left(c \cdot i - a \cdot b\right)\right)\\ \mathbf{elif}\;y0 \leq 4 \cdot 10^{-108}:\\ \;\;\;\;\left(a \cdot y3\right) \cdot \left(z \cdot y1 - y \cdot y5\right)\\ \mathbf{elif}\;y0 \leq 1.85 \cdot 10^{-75}:\\ \;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\ \mathbf{elif}\;y0 \leq 2.2 \cdot 10^{+105}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq 1.8 \cdot 10^{+213}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y2 \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 (* b (* y0 (- (* z k) (* x j))))) (t_2 (- (* y1 y4) (* y0 y5))))
   (if (<= y0 -8.5e+115)
     t_1
     (if (<= y0 -2.6e-16)
       (* y3 (* z (- (* a y1) (* c y0))))
       (if (<= y0 -7.5e-166)
         (* (* x y) (- (* a b) (* c i)))
         (if (<= y0 2.15e-295)
           (* y2 (- (* k t_2) (* c (* t y4))))
           (if (<= y0 3.5e-214)
             (* t (* z (- (* c i) (* a b))))
             (if (<= y0 4e-108)
               (* (* a y3) (- (* z y1) (* y y5)))
               (if (<= y0 1.85e-75)
                 (* b (* z (- (* k y0) (* t a))))
                 (if (<= y0 2.2e+105)
                   (* t (* y2 (- (* a y5) (* c y4))))
                   (if (<= y0 1.8e+213) t_1 (* k (* y2 t_2)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = b * (y0 * ((z * k) - (x * j)));
	double t_2 = (y1 * y4) - (y0 * y5);
	double tmp;
	if (y0 <= -8.5e+115) {
		tmp = t_1;
	} else if (y0 <= -2.6e-16) {
		tmp = y3 * (z * ((a * y1) - (c * y0)));
	} else if (y0 <= -7.5e-166) {
		tmp = (x * y) * ((a * b) - (c * i));
	} else if (y0 <= 2.15e-295) {
		tmp = y2 * ((k * t_2) - (c * (t * y4)));
	} else if (y0 <= 3.5e-214) {
		tmp = t * (z * ((c * i) - (a * b)));
	} else if (y0 <= 4e-108) {
		tmp = (a * y3) * ((z * y1) - (y * y5));
	} else if (y0 <= 1.85e-75) {
		tmp = b * (z * ((k * y0) - (t * a)));
	} else if (y0 <= 2.2e+105) {
		tmp = t * (y2 * ((a * y5) - (c * y4)));
	} else if (y0 <= 1.8e+213) {
		tmp = t_1;
	} else {
		tmp = k * (y2 * 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 = b * (y0 * ((z * k) - (x * j)))
    t_2 = (y1 * y4) - (y0 * y5)
    if (y0 <= (-8.5d+115)) then
        tmp = t_1
    else if (y0 <= (-2.6d-16)) then
        tmp = y3 * (z * ((a * y1) - (c * y0)))
    else if (y0 <= (-7.5d-166)) then
        tmp = (x * y) * ((a * b) - (c * i))
    else if (y0 <= 2.15d-295) then
        tmp = y2 * ((k * t_2) - (c * (t * y4)))
    else if (y0 <= 3.5d-214) then
        tmp = t * (z * ((c * i) - (a * b)))
    else if (y0 <= 4d-108) then
        tmp = (a * y3) * ((z * y1) - (y * y5))
    else if (y0 <= 1.85d-75) then
        tmp = b * (z * ((k * y0) - (t * a)))
    else if (y0 <= 2.2d+105) then
        tmp = t * (y2 * ((a * y5) - (c * y4)))
    else if (y0 <= 1.8d+213) then
        tmp = t_1
    else
        tmp = k * (y2 * 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 = b * (y0 * ((z * k) - (x * j)));
	double t_2 = (y1 * y4) - (y0 * y5);
	double tmp;
	if (y0 <= -8.5e+115) {
		tmp = t_1;
	} else if (y0 <= -2.6e-16) {
		tmp = y3 * (z * ((a * y1) - (c * y0)));
	} else if (y0 <= -7.5e-166) {
		tmp = (x * y) * ((a * b) - (c * i));
	} else if (y0 <= 2.15e-295) {
		tmp = y2 * ((k * t_2) - (c * (t * y4)));
	} else if (y0 <= 3.5e-214) {
		tmp = t * (z * ((c * i) - (a * b)));
	} else if (y0 <= 4e-108) {
		tmp = (a * y3) * ((z * y1) - (y * y5));
	} else if (y0 <= 1.85e-75) {
		tmp = b * (z * ((k * y0) - (t * a)));
	} else if (y0 <= 2.2e+105) {
		tmp = t * (y2 * ((a * y5) - (c * y4)));
	} else if (y0 <= 1.8e+213) {
		tmp = t_1;
	} else {
		tmp = k * (y2 * t_2);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = b * (y0 * ((z * k) - (x * j)))
	t_2 = (y1 * y4) - (y0 * y5)
	tmp = 0
	if y0 <= -8.5e+115:
		tmp = t_1
	elif y0 <= -2.6e-16:
		tmp = y3 * (z * ((a * y1) - (c * y0)))
	elif y0 <= -7.5e-166:
		tmp = (x * y) * ((a * b) - (c * i))
	elif y0 <= 2.15e-295:
		tmp = y2 * ((k * t_2) - (c * (t * y4)))
	elif y0 <= 3.5e-214:
		tmp = t * (z * ((c * i) - (a * b)))
	elif y0 <= 4e-108:
		tmp = (a * y3) * ((z * y1) - (y * y5))
	elif y0 <= 1.85e-75:
		tmp = b * (z * ((k * y0) - (t * a)))
	elif y0 <= 2.2e+105:
		tmp = t * (y2 * ((a * y5) - (c * y4)))
	elif y0 <= 1.8e+213:
		tmp = t_1
	else:
		tmp = k * (y2 * 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(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))
	t_2 = Float64(Float64(y1 * y4) - Float64(y0 * y5))
	tmp = 0.0
	if (y0 <= -8.5e+115)
		tmp = t_1;
	elseif (y0 <= -2.6e-16)
		tmp = Float64(y3 * Float64(z * Float64(Float64(a * y1) - Float64(c * y0))));
	elseif (y0 <= -7.5e-166)
		tmp = Float64(Float64(x * y) * Float64(Float64(a * b) - Float64(c * i)));
	elseif (y0 <= 2.15e-295)
		tmp = Float64(y2 * Float64(Float64(k * t_2) - Float64(c * Float64(t * y4))));
	elseif (y0 <= 3.5e-214)
		tmp = Float64(t * Float64(z * Float64(Float64(c * i) - Float64(a * b))));
	elseif (y0 <= 4e-108)
		tmp = Float64(Float64(a * y3) * Float64(Float64(z * y1) - Float64(y * y5)));
	elseif (y0 <= 1.85e-75)
		tmp = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a))));
	elseif (y0 <= 2.2e+105)
		tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4))));
	elseif (y0 <= 1.8e+213)
		tmp = t_1;
	else
		tmp = Float64(k * Float64(y2 * 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 = b * (y0 * ((z * k) - (x * j)));
	t_2 = (y1 * y4) - (y0 * y5);
	tmp = 0.0;
	if (y0 <= -8.5e+115)
		tmp = t_1;
	elseif (y0 <= -2.6e-16)
		tmp = y3 * (z * ((a * y1) - (c * y0)));
	elseif (y0 <= -7.5e-166)
		tmp = (x * y) * ((a * b) - (c * i));
	elseif (y0 <= 2.15e-295)
		tmp = y2 * ((k * t_2) - (c * (t * y4)));
	elseif (y0 <= 3.5e-214)
		tmp = t * (z * ((c * i) - (a * b)));
	elseif (y0 <= 4e-108)
		tmp = (a * y3) * ((z * y1) - (y * y5));
	elseif (y0 <= 1.85e-75)
		tmp = b * (z * ((k * y0) - (t * a)));
	elseif (y0 <= 2.2e+105)
		tmp = t * (y2 * ((a * y5) - (c * y4)));
	elseif (y0 <= 1.8e+213)
		tmp = t_1;
	else
		tmp = k * (y2 * 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[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -8.5e+115], t$95$1, If[LessEqual[y0, -2.6e-16], N[(y3 * N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -7.5e-166], N[(N[(x * y), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 2.15e-295], N[(y2 * N[(N[(k * t$95$2), $MachinePrecision] - N[(c * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 3.5e-214], N[(t * N[(z * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 4e-108], N[(N[(a * y3), $MachinePrecision] * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.85e-75], N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 2.2e+105], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.8e+213], t$95$1, N[(k * N[(y2 * t$95$2), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
t_2 := y1 \cdot y4 - y0 \cdot y5\\
\mathbf{if}\;y0 \leq -8.5 \cdot 10^{+115}:\\
\;\;\;\;t\_1\\

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

\mathbf{elif}\;y0 \leq -7.5 \cdot 10^{-166}:\\
\;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b - c \cdot i\right)\\

\mathbf{elif}\;y0 \leq 2.15 \cdot 10^{-295}:\\
\;\;\;\;y2 \cdot \left(k \cdot t\_2 - c \cdot \left(t \cdot y4\right)\right)\\

\mathbf{elif}\;y0 \leq 3.5 \cdot 10^{-214}:\\
\;\;\;\;t \cdot \left(z \cdot \left(c \cdot i - a \cdot b\right)\right)\\

\mathbf{elif}\;y0 \leq 4 \cdot 10^{-108}:\\
\;\;\;\;\left(a \cdot y3\right) \cdot \left(z \cdot y1 - y \cdot y5\right)\\

\mathbf{elif}\;y0 \leq 1.85 \cdot 10^{-75}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\

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

\mathbf{elif}\;y0 \leq 1.8 \cdot 10^{+213}:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;k \cdot \left(y2 \cdot t\_2\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 9 regimes
  2. if y0 < -8.50000000000000057e115 or 2.20000000000000007e105 < y0 < 1.8000000000000001e213

    1. Initial program 18.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 56.8%

      \[\leadsto \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)} \]
    4. Taylor expanded in y0 around inf 55.7%

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

    if -8.50000000000000057e115 < y0 < -2.5999999999999998e-16

    1. Initial program 41.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 z around -inf 53.0%

      \[\leadsto \color{blue}{-1 \cdot \left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Taylor expanded in y3 around inf 48.1%

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

    if -2.5999999999999998e-16 < y0 < -7.49999999999999947e-166

    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 x around inf 57.4%

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in y around inf 52.0%

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

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

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

    if -7.49999999999999947e-166 < y0 < 2.14999999999999984e-295

    1. Initial program 36.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 55.4%

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

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

    if 2.14999999999999984e-295 < y0 < 3.5e-214

    1. Initial program 43.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 t around inf 44.1%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in z around inf 63.5%

      \[\leadsto \color{blue}{-1 \cdot \left(t \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg63.5%

        \[\leadsto \color{blue}{-t \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right)} \]
    6. Simplified63.5%

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

    if 3.5e-214 < y0 < 4.00000000000000016e-108

    1. Initial program 45.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 y3 around -inf 53.5%

      \[\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 a around inf 56.1%

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

        \[\leadsto -1 \cdot \color{blue}{\left(\left(a \cdot y3\right) \cdot \left(-1 \cdot \left(y1 \cdot z\right) - -1 \cdot \left(y \cdot y5\right)\right)\right)} \]
      2. distribute-lft-out--47.2%

        \[\leadsto -1 \cdot \left(\left(a \cdot y3\right) \cdot \color{blue}{\left(-1 \cdot \left(y1 \cdot z - y \cdot y5\right)\right)}\right) \]
    6. Simplified47.2%

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

    if 4.00000000000000016e-108 < y0 < 1.85000000000000012e-75

    1. Initial program 42.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 59.4%

      \[\leadsto \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)} \]
    4. Taylor expanded in z around -inf 59.4%

      \[\leadsto b \cdot \color{blue}{\left(-1 \cdot \left(z \cdot \left(a \cdot t - k \cdot y0\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg59.4%

        \[\leadsto b \cdot \color{blue}{\left(-z \cdot \left(a \cdot t - k \cdot y0\right)\right)} \]
    6. Simplified59.4%

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

    if 1.85000000000000012e-75 < y0 < 2.20000000000000007e105

    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 t around inf 48.1%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in y2 around inf 40.5%

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

    if 1.8000000000000001e213 < y0

    1. Initial program 5.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 y4 around inf 22.7%

      \[\leadsto \color{blue}{y4 \cdot \left(b \cdot \left(j \cdot t - k \cdot y\right) - c \cdot \left(t \cdot y2 - y \cdot y3\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 50.5%

      \[\leadsto \color{blue}{c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    5. Taylor expanded in y3 around 0 55.9%

      \[\leadsto \color{blue}{k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} \]
  3. Recombined 9 regimes into one program.
  4. Final simplification50.7%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -8.5 \cdot 10^{+115}:\\ \;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y0 \leq -2.6 \cdot 10^{-16}:\\ \;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\ \mathbf{elif}\;y0 \leq -7.5 \cdot 10^{-166}:\\ \;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b - c \cdot i\right)\\ \mathbf{elif}\;y0 \leq 2.15 \cdot 10^{-295}:\\ \;\;\;\;y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - c \cdot \left(t \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq 3.5 \cdot 10^{-214}:\\ \;\;\;\;t \cdot \left(z \cdot \left(c \cdot i - a \cdot b\right)\right)\\ \mathbf{elif}\;y0 \leq 4 \cdot 10^{-108}:\\ \;\;\;\;\left(a \cdot y3\right) \cdot \left(z \cdot y1 - y \cdot y5\right)\\ \mathbf{elif}\;y0 \leq 1.85 \cdot 10^{-75}:\\ \;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\ \mathbf{elif}\;y0 \leq 2.2 \cdot 10^{+105}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq 1.8 \cdot 10^{+213}:\\ \;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 18: 30.8% accurate, 1.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ t_2 := b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{if}\;y0 \leq -2.8 \cdot 10^{+84}:\\ \;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y0 \leq -3.9 \cdot 10^{-16}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y0 \leq -1.02 \cdot 10^{-50}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{elif}\;y0 \leq -2.25 \cdot 10^{-300}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;y0 \leq 1.5 \cdot 10^{-196}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y0 \leq 10^{-184}:\\ \;\;\;\;y \cdot \left(y4 \cdot \left(c \cdot y3\right)\right)\\ \mathbf{elif}\;y0 \leq 3.2 \cdot 10^{-48}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq 6.2 \cdot 10^{+198}:\\ \;\;\;\;t\_2\\ \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 (* k (* y2 (- (* y1 y4) (* y0 y5)))))
        (t_2 (* b (* a (- (* x y) (* z t))))))
   (if (<= y0 -2.8e+84)
     (* b (* y0 (- (* z k) (* x j))))
     (if (<= y0 -3.9e-16)
       t_1
       (if (<= y0 -1.02e-50)
         (* b (* x (- (* y a) (* j y0))))
         (if (<= y0 -2.25e-300)
           (* c (* y4 (- (* y y3) (* t y2))))
           (if (<= y0 1.5e-196)
             t_2
             (if (<= y0 1e-184)
               (* y (* y4 (* c y3)))
               (if (<= y0 3.2e-48)
                 (* c (* t (- (* z i) (* y2 y4))))
                 (if (<= y0 6.2e+198) t_2 t_1))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	double t_2 = b * (a * ((x * y) - (z * t)));
	double tmp;
	if (y0 <= -2.8e+84) {
		tmp = b * (y0 * ((z * k) - (x * j)));
	} else if (y0 <= -3.9e-16) {
		tmp = t_1;
	} else if (y0 <= -1.02e-50) {
		tmp = b * (x * ((y * a) - (j * y0)));
	} else if (y0 <= -2.25e-300) {
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	} else if (y0 <= 1.5e-196) {
		tmp = t_2;
	} else if (y0 <= 1e-184) {
		tmp = y * (y4 * (c * y3));
	} else if (y0 <= 3.2e-48) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (y0 <= 6.2e+198) {
		tmp = t_2;
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)))
    t_2 = b * (a * ((x * y) - (z * t)))
    if (y0 <= (-2.8d+84)) then
        tmp = b * (y0 * ((z * k) - (x * j)))
    else if (y0 <= (-3.9d-16)) then
        tmp = t_1
    else if (y0 <= (-1.02d-50)) then
        tmp = b * (x * ((y * a) - (j * y0)))
    else if (y0 <= (-2.25d-300)) then
        tmp = c * (y4 * ((y * y3) - (t * y2)))
    else if (y0 <= 1.5d-196) then
        tmp = t_2
    else if (y0 <= 1d-184) then
        tmp = y * (y4 * (c * y3))
    else if (y0 <= 3.2d-48) then
        tmp = c * (t * ((z * i) - (y2 * y4)))
    else if (y0 <= 6.2d+198) then
        tmp = t_2
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	double t_2 = b * (a * ((x * y) - (z * t)));
	double tmp;
	if (y0 <= -2.8e+84) {
		tmp = b * (y0 * ((z * k) - (x * j)));
	} else if (y0 <= -3.9e-16) {
		tmp = t_1;
	} else if (y0 <= -1.02e-50) {
		tmp = b * (x * ((y * a) - (j * y0)));
	} else if (y0 <= -2.25e-300) {
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	} else if (y0 <= 1.5e-196) {
		tmp = t_2;
	} else if (y0 <= 1e-184) {
		tmp = y * (y4 * (c * y3));
	} else if (y0 <= 3.2e-48) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (y0 <= 6.2e+198) {
		tmp = t_2;
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)))
	t_2 = b * (a * ((x * y) - (z * t)))
	tmp = 0
	if y0 <= -2.8e+84:
		tmp = b * (y0 * ((z * k) - (x * j)))
	elif y0 <= -3.9e-16:
		tmp = t_1
	elif y0 <= -1.02e-50:
		tmp = b * (x * ((y * a) - (j * y0)))
	elif y0 <= -2.25e-300:
		tmp = c * (y4 * ((y * y3) - (t * y2)))
	elif y0 <= 1.5e-196:
		tmp = t_2
	elif y0 <= 1e-184:
		tmp = y * (y4 * (c * y3))
	elif y0 <= 3.2e-48:
		tmp = c * (t * ((z * i) - (y2 * y4)))
	elif y0 <= 6.2e+198:
		tmp = t_2
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5))))
	t_2 = Float64(b * Float64(a * Float64(Float64(x * y) - Float64(z * t))))
	tmp = 0.0
	if (y0 <= -2.8e+84)
		tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j))));
	elseif (y0 <= -3.9e-16)
		tmp = t_1;
	elseif (y0 <= -1.02e-50)
		tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0))));
	elseif (y0 <= -2.25e-300)
		tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2))));
	elseif (y0 <= 1.5e-196)
		tmp = t_2;
	elseif (y0 <= 1e-184)
		tmp = Float64(y * Float64(y4 * Float64(c * y3)));
	elseif (y0 <= 3.2e-48)
		tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4))));
	elseif (y0 <= 6.2e+198)
		tmp = t_2;
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	t_2 = b * (a * ((x * y) - (z * t)));
	tmp = 0.0;
	if (y0 <= -2.8e+84)
		tmp = b * (y0 * ((z * k) - (x * j)));
	elseif (y0 <= -3.9e-16)
		tmp = t_1;
	elseif (y0 <= -1.02e-50)
		tmp = b * (x * ((y * a) - (j * y0)));
	elseif (y0 <= -2.25e-300)
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	elseif (y0 <= 1.5e-196)
		tmp = t_2;
	elseif (y0 <= 1e-184)
		tmp = y * (y4 * (c * y3));
	elseif (y0 <= 3.2e-48)
		tmp = c * (t * ((z * i) - (y2 * y4)));
	elseif (y0 <= 6.2e+198)
		tmp = t_2;
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -2.8e+84], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -3.9e-16], t$95$1, If[LessEqual[y0, -1.02e-50], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -2.25e-300], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.5e-196], t$95$2, If[LessEqual[y0, 1e-184], N[(y * N[(y4 * N[(c * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 3.2e-48], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 6.2e+198], t$95$2, t$95$1]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
t_2 := b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{if}\;y0 \leq -2.8 \cdot 10^{+84}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\

\mathbf{elif}\;y0 \leq -3.9 \cdot 10^{-16}:\\
\;\;\;\;t\_1\\

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

\mathbf{elif}\;y0 \leq -2.25 \cdot 10^{-300}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\

\mathbf{elif}\;y0 \leq 1.5 \cdot 10^{-196}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;y0 \leq 10^{-184}:\\
\;\;\;\;y \cdot \left(y4 \cdot \left(c \cdot y3\right)\right)\\

\mathbf{elif}\;y0 \leq 3.2 \cdot 10^{-48}:\\
\;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\

\mathbf{elif}\;y0 \leq 6.2 \cdot 10^{+198}:\\
\;\;\;\;t\_2\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if y0 < -2.79999999999999982e84

    1. Initial program 26.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 b around inf 50.2%

      \[\leadsto \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)} \]
    4. Taylor expanded in y0 around inf 50.8%

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

    if -2.79999999999999982e84 < y0 < -3.89999999999999977e-16 or 6.1999999999999995e198 < y0

    1. Initial program 26.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 y4 around inf 34.1%

      \[\leadsto \color{blue}{y4 \cdot \left(b \cdot \left(j \cdot t - k \cdot y\right) - c \cdot \left(t \cdot y2 - y \cdot y3\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.5%

      \[\leadsto \color{blue}{c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    5. Taylor expanded in y3 around 0 55.4%

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

    if -3.89999999999999977e-16 < y0 < -1.0199999999999999e-50

    1. Initial program 42.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 43.3%

      \[\leadsto \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)} \]
    4. Taylor expanded in x around inf 51.2%

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

    if -1.0199999999999999e-50 < y0 < -2.25e-300

    1. Initial program 38.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 y4 around inf 36.6%

      \[\leadsto \color{blue}{y4 \cdot \left(b \cdot \left(j \cdot t - k \cdot y\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    4. Taylor expanded in c around inf 36.6%

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

    if -2.25e-300 < y0 < 1.5e-196 or 3.1999999999999998e-48 < y0 < 6.1999999999999995e198

    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 b around inf 41.2%

      \[\leadsto \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)} \]
    4. Taylor expanded in a around inf 46.2%

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

    if 1.5e-196 < y0 < 1.0000000000000001e-184

    1. Initial program 59.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 y4 around inf 43.5%

      \[\leadsto \color{blue}{y4 \cdot \left(b \cdot \left(j \cdot t - k \cdot y\right) - c \cdot \left(t \cdot y2 - y \cdot y3\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 41.4%

      \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(y4 \cdot \left(b \cdot k - c \cdot y3\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg41.4%

        \[\leadsto \color{blue}{-y \cdot \left(y4 \cdot \left(b \cdot k - c \cdot y3\right)\right)} \]
    6. Simplified41.4%

      \[\leadsto \color{blue}{-y \cdot \left(y4 \cdot \left(b \cdot k - c \cdot y3\right)\right)} \]
    7. Taylor expanded in b around 0 42.2%

      \[\leadsto -y \cdot \left(y4 \cdot \color{blue}{\left(-1 \cdot \left(c \cdot y3\right)\right)}\right) \]
    8. Step-by-step derivation
      1. neg-mul-142.2%

        \[\leadsto -y \cdot \left(y4 \cdot \color{blue}{\left(-c \cdot y3\right)}\right) \]
      2. distribute-rgt-neg-in42.2%

        \[\leadsto -y \cdot \left(y4 \cdot \color{blue}{\left(c \cdot \left(-y3\right)\right)}\right) \]
    9. Simplified42.2%

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

    if 1.0000000000000001e-184 < y0 < 3.1999999999999998e-48

    1. Initial program 35.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 t around inf 43.0%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in c around inf 37.0%

      \[\leadsto \color{blue}{c \cdot \left(t \cdot \left(i \cdot z - y2 \cdot y4\right)\right)} \]
  3. Recombined 7 regimes into one program.
  4. Final simplification46.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -2.8 \cdot 10^{+84}:\\ \;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y0 \leq -3.9 \cdot 10^{-16}:\\ \;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \mathbf{elif}\;y0 \leq -1.02 \cdot 10^{-50}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{elif}\;y0 \leq -2.25 \cdot 10^{-300}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;y0 \leq 1.5 \cdot 10^{-196}:\\ \;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y0 \leq 10^{-184}:\\ \;\;\;\;y \cdot \left(y4 \cdot \left(c \cdot y3\right)\right)\\ \mathbf{elif}\;y0 \leq 3.2 \cdot 10^{-48}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq 6.2 \cdot 10^{+198}:\\ \;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 19: 32.3% accurate, 1.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ t_2 := b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ t_3 := b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{if}\;y0 \leq -4.1 \cdot 10^{+84}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y0 \leq -5.4 \cdot 10^{-6}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y0 \leq 9.5 \cdot 10^{-295}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq 2.95 \cdot 10^{+60}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;y0 \leq 2.7 \cdot 10^{+100}:\\ \;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\ \mathbf{elif}\;y0 \leq 6 \cdot 10^{+161}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;y0 \leq 7 \cdot 10^{+218}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y0 \leq 2.1 \cdot 10^{+296}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \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 (* k (* y2 (- (* y1 y4) (* y0 y5)))))
        (t_2 (* b (* y0 (- (* z k) (* x j)))))
        (t_3 (* b (* a (- (* x y) (* z t))))))
   (if (<= y0 -4.1e+84)
     t_2
     (if (<= y0 -5.4e-6)
       t_1
       (if (<= y0 9.5e-295)
         (* t (* y2 (- (* a y5) (* c y4))))
         (if (<= y0 2.95e+60)
           t_3
           (if (<= y0 2.7e+100)
             (* x (* y0 (- (* c y2) (* b j))))
             (if (<= y0 6e+161)
               t_3
               (if (<= y0 7e+218)
                 t_2
                 (if (<= y0 2.1e+296)
                   t_1
                   (* j (* t (- (* b y4) (* i y5))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	double t_2 = b * (y0 * ((z * k) - (x * j)));
	double t_3 = b * (a * ((x * y) - (z * t)));
	double tmp;
	if (y0 <= -4.1e+84) {
		tmp = t_2;
	} else if (y0 <= -5.4e-6) {
		tmp = t_1;
	} else if (y0 <= 9.5e-295) {
		tmp = t * (y2 * ((a * y5) - (c * y4)));
	} else if (y0 <= 2.95e+60) {
		tmp = t_3;
	} else if (y0 <= 2.7e+100) {
		tmp = x * (y0 * ((c * y2) - (b * j)));
	} else if (y0 <= 6e+161) {
		tmp = t_3;
	} else if (y0 <= 7e+218) {
		tmp = t_2;
	} else if (y0 <= 2.1e+296) {
		tmp = t_1;
	} else {
		tmp = j * (t * ((b * y4) - (i * y5)));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: tmp
    t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)))
    t_2 = b * (y0 * ((z * k) - (x * j)))
    t_3 = b * (a * ((x * y) - (z * t)))
    if (y0 <= (-4.1d+84)) then
        tmp = t_2
    else if (y0 <= (-5.4d-6)) then
        tmp = t_1
    else if (y0 <= 9.5d-295) then
        tmp = t * (y2 * ((a * y5) - (c * y4)))
    else if (y0 <= 2.95d+60) then
        tmp = t_3
    else if (y0 <= 2.7d+100) then
        tmp = x * (y0 * ((c * y2) - (b * j)))
    else if (y0 <= 6d+161) then
        tmp = t_3
    else if (y0 <= 7d+218) then
        tmp = t_2
    else if (y0 <= 2.1d+296) then
        tmp = t_1
    else
        tmp = j * (t * ((b * y4) - (i * y5)))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	double t_2 = b * (y0 * ((z * k) - (x * j)));
	double t_3 = b * (a * ((x * y) - (z * t)));
	double tmp;
	if (y0 <= -4.1e+84) {
		tmp = t_2;
	} else if (y0 <= -5.4e-6) {
		tmp = t_1;
	} else if (y0 <= 9.5e-295) {
		tmp = t * (y2 * ((a * y5) - (c * y4)));
	} else if (y0 <= 2.95e+60) {
		tmp = t_3;
	} else if (y0 <= 2.7e+100) {
		tmp = x * (y0 * ((c * y2) - (b * j)));
	} else if (y0 <= 6e+161) {
		tmp = t_3;
	} else if (y0 <= 7e+218) {
		tmp = t_2;
	} else if (y0 <= 2.1e+296) {
		tmp = t_1;
	} else {
		tmp = j * (t * ((b * y4) - (i * y5)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)))
	t_2 = b * (y0 * ((z * k) - (x * j)))
	t_3 = b * (a * ((x * y) - (z * t)))
	tmp = 0
	if y0 <= -4.1e+84:
		tmp = t_2
	elif y0 <= -5.4e-6:
		tmp = t_1
	elif y0 <= 9.5e-295:
		tmp = t * (y2 * ((a * y5) - (c * y4)))
	elif y0 <= 2.95e+60:
		tmp = t_3
	elif y0 <= 2.7e+100:
		tmp = x * (y0 * ((c * y2) - (b * j)))
	elif y0 <= 6e+161:
		tmp = t_3
	elif y0 <= 7e+218:
		tmp = t_2
	elif y0 <= 2.1e+296:
		tmp = t_1
	else:
		tmp = j * (t * ((b * y4) - (i * y5)))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5))))
	t_2 = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))
	t_3 = Float64(b * Float64(a * Float64(Float64(x * y) - Float64(z * t))))
	tmp = 0.0
	if (y0 <= -4.1e+84)
		tmp = t_2;
	elseif (y0 <= -5.4e-6)
		tmp = t_1;
	elseif (y0 <= 9.5e-295)
		tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4))));
	elseif (y0 <= 2.95e+60)
		tmp = t_3;
	elseif (y0 <= 2.7e+100)
		tmp = Float64(x * Float64(y0 * Float64(Float64(c * y2) - Float64(b * j))));
	elseif (y0 <= 6e+161)
		tmp = t_3;
	elseif (y0 <= 7e+218)
		tmp = t_2;
	elseif (y0 <= 2.1e+296)
		tmp = t_1;
	else
		tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	t_2 = b * (y0 * ((z * k) - (x * j)));
	t_3 = b * (a * ((x * y) - (z * t)));
	tmp = 0.0;
	if (y0 <= -4.1e+84)
		tmp = t_2;
	elseif (y0 <= -5.4e-6)
		tmp = t_1;
	elseif (y0 <= 9.5e-295)
		tmp = t * (y2 * ((a * y5) - (c * y4)));
	elseif (y0 <= 2.95e+60)
		tmp = t_3;
	elseif (y0 <= 2.7e+100)
		tmp = x * (y0 * ((c * y2) - (b * j)));
	elseif (y0 <= 6e+161)
		tmp = t_3;
	elseif (y0 <= 7e+218)
		tmp = t_2;
	elseif (y0 <= 2.1e+296)
		tmp = t_1;
	else
		tmp = j * (t * ((b * y4) - (i * y5)));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(b * N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -4.1e+84], t$95$2, If[LessEqual[y0, -5.4e-6], t$95$1, If[LessEqual[y0, 9.5e-295], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 2.95e+60], t$95$3, If[LessEqual[y0, 2.7e+100], N[(x * N[(y0 * N[(N[(c * y2), $MachinePrecision] - N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 6e+161], t$95$3, If[LessEqual[y0, 7e+218], t$95$2, If[LessEqual[y0, 2.1e+296], t$95$1, N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
t_2 := b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
t_3 := b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{if}\;y0 \leq -4.1 \cdot 10^{+84}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;y0 \leq -5.4 \cdot 10^{-6}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y0 \leq 9.5 \cdot 10^{-295}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\

\mathbf{elif}\;y0 \leq 2.95 \cdot 10^{+60}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;y0 \leq 2.7 \cdot 10^{+100}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\

\mathbf{elif}\;y0 \leq 6 \cdot 10^{+161}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;y0 \leq 7 \cdot 10^{+218}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;y0 \leq 2.1 \cdot 10^{+296}:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if y0 < -4.1000000000000003e84 or 6.00000000000000023e161 < y0 < 7.00000000000000038e218

    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 b around inf 54.9%

      \[\leadsto \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)} \]
    4. Taylor expanded in y0 around inf 55.5%

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

    if -4.1000000000000003e84 < y0 < -5.39999999999999997e-6 or 7.00000000000000038e218 < y0 < 2.10000000000000005e296

    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 y4 around inf 34.2%

      \[\leadsto \color{blue}{y4 \cdot \left(b \cdot \left(j \cdot t - k \cdot y\right) - c \cdot \left(t \cdot y2 - y \cdot y3\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 63.9%

      \[\leadsto \color{blue}{c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    5. Taylor expanded in y3 around 0 57.5%

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

    if -5.39999999999999997e-6 < y0 < 9.5e-295

    1. Initial program 38.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 t around inf 37.1%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in y2 around inf 37.5%

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

    if 9.5e-295 < y0 < 2.9500000000000001e60 or 2.69999999999999998e100 < y0 < 6.00000000000000023e161

    1. Initial program 31.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 39.1%

      \[\leadsto \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)} \]
    4. Taylor expanded in a around inf 39.7%

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

    if 2.9500000000000001e60 < y0 < 2.69999999999999998e100

    1. Initial program 71.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 x around inf 76.1%

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in y0 around inf 76.1%

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

    if 2.10000000000000005e296 < y0

    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 t around inf 25.3%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in j around inf 75.4%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -4.1 \cdot 10^{+84}:\\ \;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y0 \leq -5.4 \cdot 10^{-6}:\\ \;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \mathbf{elif}\;y0 \leq 9.5 \cdot 10^{-295}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq 2.95 \cdot 10^{+60}:\\ \;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y0 \leq 2.7 \cdot 10^{+100}:\\ \;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\ \mathbf{elif}\;y0 \leq 6 \cdot 10^{+161}:\\ \;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y0 \leq 7 \cdot 10^{+218}:\\ \;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y0 \leq 2.1 \cdot 10^{+296}:\\ \;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \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 20: 32.2% accurate, 1.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ t_2 := b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ t_3 := x \cdot y - z \cdot t\\ \mathbf{if}\;y0 \leq -3.2 \cdot 10^{+84}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y0 \leq -1.3 \cdot 10^{-5}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y0 \leq 7.8 \cdot 10^{-294}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq 5.5 \cdot 10^{+59}:\\ \;\;\;\;b \cdot \left(a \cdot t\_3\right)\\ \mathbf{elif}\;y0 \leq 6.6 \cdot 10^{+99}:\\ \;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\ \mathbf{elif}\;y0 \leq 7.8 \cdot 10^{+161}:\\ \;\;\;\;\left(a \cdot b\right) \cdot t\_3\\ \mathbf{elif}\;y0 \leq 4.3 \cdot 10^{+219}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y0 \leq 1.52 \cdot 10^{+296}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \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 (* k (* y2 (- (* y1 y4) (* y0 y5)))))
        (t_2 (* b (* y0 (- (* z k) (* x j)))))
        (t_3 (- (* x y) (* z t))))
   (if (<= y0 -3.2e+84)
     t_2
     (if (<= y0 -1.3e-5)
       t_1
       (if (<= y0 7.8e-294)
         (* t (* y2 (- (* a y5) (* c y4))))
         (if (<= y0 5.5e+59)
           (* b (* a t_3))
           (if (<= y0 6.6e+99)
             (* x (* y0 (- (* c y2) (* b j))))
             (if (<= y0 7.8e+161)
               (* (* a b) t_3)
               (if (<= y0 4.3e+219)
                 t_2
                 (if (<= y0 1.52e+296)
                   t_1
                   (* j (* t (- (* b y4) (* i y5))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	double t_2 = b * (y0 * ((z * k) - (x * j)));
	double t_3 = (x * y) - (z * t);
	double tmp;
	if (y0 <= -3.2e+84) {
		tmp = t_2;
	} else if (y0 <= -1.3e-5) {
		tmp = t_1;
	} else if (y0 <= 7.8e-294) {
		tmp = t * (y2 * ((a * y5) - (c * y4)));
	} else if (y0 <= 5.5e+59) {
		tmp = b * (a * t_3);
	} else if (y0 <= 6.6e+99) {
		tmp = x * (y0 * ((c * y2) - (b * j)));
	} else if (y0 <= 7.8e+161) {
		tmp = (a * b) * t_3;
	} else if (y0 <= 4.3e+219) {
		tmp = t_2;
	} else if (y0 <= 1.52e+296) {
		tmp = t_1;
	} else {
		tmp = j * (t * ((b * y4) - (i * y5)));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: tmp
    t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)))
    t_2 = b * (y0 * ((z * k) - (x * j)))
    t_3 = (x * y) - (z * t)
    if (y0 <= (-3.2d+84)) then
        tmp = t_2
    else if (y0 <= (-1.3d-5)) then
        tmp = t_1
    else if (y0 <= 7.8d-294) then
        tmp = t * (y2 * ((a * y5) - (c * y4)))
    else if (y0 <= 5.5d+59) then
        tmp = b * (a * t_3)
    else if (y0 <= 6.6d+99) then
        tmp = x * (y0 * ((c * y2) - (b * j)))
    else if (y0 <= 7.8d+161) then
        tmp = (a * b) * t_3
    else if (y0 <= 4.3d+219) then
        tmp = t_2
    else if (y0 <= 1.52d+296) then
        tmp = t_1
    else
        tmp = j * (t * ((b * y4) - (i * y5)))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	double t_2 = b * (y0 * ((z * k) - (x * j)));
	double t_3 = (x * y) - (z * t);
	double tmp;
	if (y0 <= -3.2e+84) {
		tmp = t_2;
	} else if (y0 <= -1.3e-5) {
		tmp = t_1;
	} else if (y0 <= 7.8e-294) {
		tmp = t * (y2 * ((a * y5) - (c * y4)));
	} else if (y0 <= 5.5e+59) {
		tmp = b * (a * t_3);
	} else if (y0 <= 6.6e+99) {
		tmp = x * (y0 * ((c * y2) - (b * j)));
	} else if (y0 <= 7.8e+161) {
		tmp = (a * b) * t_3;
	} else if (y0 <= 4.3e+219) {
		tmp = t_2;
	} else if (y0 <= 1.52e+296) {
		tmp = t_1;
	} else {
		tmp = j * (t * ((b * y4) - (i * y5)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)))
	t_2 = b * (y0 * ((z * k) - (x * j)))
	t_3 = (x * y) - (z * t)
	tmp = 0
	if y0 <= -3.2e+84:
		tmp = t_2
	elif y0 <= -1.3e-5:
		tmp = t_1
	elif y0 <= 7.8e-294:
		tmp = t * (y2 * ((a * y5) - (c * y4)))
	elif y0 <= 5.5e+59:
		tmp = b * (a * t_3)
	elif y0 <= 6.6e+99:
		tmp = x * (y0 * ((c * y2) - (b * j)))
	elif y0 <= 7.8e+161:
		tmp = (a * b) * t_3
	elif y0 <= 4.3e+219:
		tmp = t_2
	elif y0 <= 1.52e+296:
		tmp = t_1
	else:
		tmp = j * (t * ((b * y4) - (i * y5)))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5))))
	t_2 = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))
	t_3 = Float64(Float64(x * y) - Float64(z * t))
	tmp = 0.0
	if (y0 <= -3.2e+84)
		tmp = t_2;
	elseif (y0 <= -1.3e-5)
		tmp = t_1;
	elseif (y0 <= 7.8e-294)
		tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4))));
	elseif (y0 <= 5.5e+59)
		tmp = Float64(b * Float64(a * t_3));
	elseif (y0 <= 6.6e+99)
		tmp = Float64(x * Float64(y0 * Float64(Float64(c * y2) - Float64(b * j))));
	elseif (y0 <= 7.8e+161)
		tmp = Float64(Float64(a * b) * t_3);
	elseif (y0 <= 4.3e+219)
		tmp = t_2;
	elseif (y0 <= 1.52e+296)
		tmp = t_1;
	else
		tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	t_2 = b * (y0 * ((z * k) - (x * j)));
	t_3 = (x * y) - (z * t);
	tmp = 0.0;
	if (y0 <= -3.2e+84)
		tmp = t_2;
	elseif (y0 <= -1.3e-5)
		tmp = t_1;
	elseif (y0 <= 7.8e-294)
		tmp = t * (y2 * ((a * y5) - (c * y4)));
	elseif (y0 <= 5.5e+59)
		tmp = b * (a * t_3);
	elseif (y0 <= 6.6e+99)
		tmp = x * (y0 * ((c * y2) - (b * j)));
	elseif (y0 <= 7.8e+161)
		tmp = (a * b) * t_3;
	elseif (y0 <= 4.3e+219)
		tmp = t_2;
	elseif (y0 <= 1.52e+296)
		tmp = t_1;
	else
		tmp = j * (t * ((b * y4) - (i * y5)));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -3.2e+84], t$95$2, If[LessEqual[y0, -1.3e-5], t$95$1, If[LessEqual[y0, 7.8e-294], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 5.5e+59], N[(b * N[(a * t$95$3), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 6.6e+99], N[(x * N[(y0 * N[(N[(c * y2), $MachinePrecision] - N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 7.8e+161], N[(N[(a * b), $MachinePrecision] * t$95$3), $MachinePrecision], If[LessEqual[y0, 4.3e+219], t$95$2, If[LessEqual[y0, 1.52e+296], t$95$1, N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
t_2 := b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
t_3 := x \cdot y - z \cdot t\\
\mathbf{if}\;y0 \leq -3.2 \cdot 10^{+84}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;y0 \leq -1.3 \cdot 10^{-5}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y0 \leq 7.8 \cdot 10^{-294}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\

\mathbf{elif}\;y0 \leq 5.5 \cdot 10^{+59}:\\
\;\;\;\;b \cdot \left(a \cdot t\_3\right)\\

\mathbf{elif}\;y0 \leq 6.6 \cdot 10^{+99}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\

\mathbf{elif}\;y0 \leq 7.8 \cdot 10^{+161}:\\
\;\;\;\;\left(a \cdot b\right) \cdot t\_3\\

\mathbf{elif}\;y0 \leq 4.3 \cdot 10^{+219}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;y0 \leq 1.52 \cdot 10^{+296}:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if y0 < -3.2000000000000001e84 or 7.8000000000000004e161 < y0 < 4.2999999999999997e219

    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 b around inf 54.9%

      \[\leadsto \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)} \]
    4. Taylor expanded in y0 around inf 55.5%

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

    if -3.2000000000000001e84 < y0 < -1.29999999999999992e-5 or 4.2999999999999997e219 < y0 < 1.52e296

    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 y4 around inf 34.2%

      \[\leadsto \color{blue}{y4 \cdot \left(b \cdot \left(j \cdot t - k \cdot y\right) - c \cdot \left(t \cdot y2 - y \cdot y3\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 63.9%

      \[\leadsto \color{blue}{c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    5. Taylor expanded in y3 around 0 57.5%

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

    if -1.29999999999999992e-5 < y0 < 7.8000000000000005e-294

    1. Initial program 38.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 t around inf 37.1%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in y2 around inf 37.5%

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

    if 7.8000000000000005e-294 < y0 < 5.4999999999999999e59

    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 b around inf 36.8%

      \[\leadsto \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)} \]
    4. Taylor expanded in a around inf 38.7%

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

    if 5.4999999999999999e59 < y0 < 6.5999999999999998e99

    1. Initial program 71.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 x around inf 76.1%

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in y0 around inf 76.1%

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

    if 6.5999999999999998e99 < y0 < 7.8000000000000004e161

    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 55.1%

      \[\leadsto \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)} \]
    4. Taylor expanded in a around inf 46.9%

      \[\leadsto b \cdot \color{blue}{\left(a \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in b around 0 55.5%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    6. Step-by-step derivation
      1. associate-*r*47.4%

        \[\leadsto \color{blue}{\left(a \cdot b\right) \cdot \left(x \cdot y - t \cdot z\right)} \]
      2. *-commutative47.4%

        \[\leadsto \left(a \cdot b\right) \cdot \left(x \cdot y - \color{blue}{z \cdot t}\right) \]
    7. Simplified47.4%

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

    if 1.52e296 < y0

    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 t around inf 25.3%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in j around inf 75.4%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -3.2 \cdot 10^{+84}:\\ \;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y0 \leq -1.3 \cdot 10^{-5}:\\ \;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \mathbf{elif}\;y0 \leq 7.8 \cdot 10^{-294}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq 5.5 \cdot 10^{+59}:\\ \;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y0 \leq 6.6 \cdot 10^{+99}:\\ \;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\ \mathbf{elif}\;y0 \leq 7.8 \cdot 10^{+161}:\\ \;\;\;\;\left(a \cdot b\right) \cdot \left(x \cdot y - z \cdot t\right)\\ \mathbf{elif}\;y0 \leq 4.3 \cdot 10^{+219}:\\ \;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y0 \leq 1.52 \cdot 10^{+296}:\\ \;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \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 21: 29.9% accurate, 2.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := z \cdot \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\ \mathbf{if}\;b \leq -2.4 \cdot 10^{+143}:\\ \;\;\;\;\left(a \cdot b\right) \cdot \left(x \cdot y - z \cdot t\right)\\ \mathbf{elif}\;b \leq -1 \cdot 10^{+112}:\\ \;\;\;\;\left(y \cdot y3\right) \cdot \left(c \cdot y4 - a \cdot y5\right)\\ \mathbf{elif}\;b \leq -3.8 \cdot 10^{-29}:\\ \;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\ \mathbf{elif}\;b \leq -4 \cdot 10^{-171}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq 4.5 \cdot 10^{-238}:\\ \;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \mathbf{elif}\;b \leq 2.7 \cdot 10^{-115}:\\ \;\;\;\;c \cdot \left(i \cdot \left(z \cdot t - x \cdot y\right)\right)\\ \mathbf{elif}\;b \leq 78:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\left(x \cdot j\right) \cdot \left(i \cdot y1 - b \cdot y0\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 (* z (* y3 (- (* a y1) (* c y0))))))
   (if (<= b -2.4e+143)
     (* (* a b) (- (* x y) (* z t)))
     (if (<= b -1e+112)
       (* (* y y3) (- (* c y4) (* a y5)))
       (if (<= b -3.8e-29)
         (* b (* z (- (* k y0) (* t a))))
         (if (<= b -4e-171)
           t_1
           (if (<= b 4.5e-238)
             (* k (* y2 (- (* y1 y4) (* y0 y5))))
             (if (<= b 2.7e-115)
               (* c (* i (- (* z t) (* x y))))
               (if (<= b 78.0) t_1 (* (* x j) (- (* i y1) (* b y0))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = z * (y3 * ((a * y1) - (c * y0)));
	double tmp;
	if (b <= -2.4e+143) {
		tmp = (a * b) * ((x * y) - (z * t));
	} else if (b <= -1e+112) {
		tmp = (y * y3) * ((c * y4) - (a * y5));
	} else if (b <= -3.8e-29) {
		tmp = b * (z * ((k * y0) - (t * a)));
	} else if (b <= -4e-171) {
		tmp = t_1;
	} else if (b <= 4.5e-238) {
		tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
	} else if (b <= 2.7e-115) {
		tmp = c * (i * ((z * t) - (x * y)));
	} else if (b <= 78.0) {
		tmp = t_1;
	} else {
		tmp = (x * j) * ((i * y1) - (b * y0));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = z * (y3 * ((a * y1) - (c * y0)))
    if (b <= (-2.4d+143)) then
        tmp = (a * b) * ((x * y) - (z * t))
    else if (b <= (-1d+112)) then
        tmp = (y * y3) * ((c * y4) - (a * y5))
    else if (b <= (-3.8d-29)) then
        tmp = b * (z * ((k * y0) - (t * a)))
    else if (b <= (-4d-171)) then
        tmp = t_1
    else if (b <= 4.5d-238) then
        tmp = k * (y2 * ((y1 * y4) - (y0 * y5)))
    else if (b <= 2.7d-115) then
        tmp = c * (i * ((z * t) - (x * y)))
    else if (b <= 78.0d0) then
        tmp = t_1
    else
        tmp = (x * j) * ((i * y1) - (b * y0))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = z * (y3 * ((a * y1) - (c * y0)));
	double tmp;
	if (b <= -2.4e+143) {
		tmp = (a * b) * ((x * y) - (z * t));
	} else if (b <= -1e+112) {
		tmp = (y * y3) * ((c * y4) - (a * y5));
	} else if (b <= -3.8e-29) {
		tmp = b * (z * ((k * y0) - (t * a)));
	} else if (b <= -4e-171) {
		tmp = t_1;
	} else if (b <= 4.5e-238) {
		tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
	} else if (b <= 2.7e-115) {
		tmp = c * (i * ((z * t) - (x * y)));
	} else if (b <= 78.0) {
		tmp = t_1;
	} else {
		tmp = (x * j) * ((i * y1) - (b * y0));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = z * (y3 * ((a * y1) - (c * y0)))
	tmp = 0
	if b <= -2.4e+143:
		tmp = (a * b) * ((x * y) - (z * t))
	elif b <= -1e+112:
		tmp = (y * y3) * ((c * y4) - (a * y5))
	elif b <= -3.8e-29:
		tmp = b * (z * ((k * y0) - (t * a)))
	elif b <= -4e-171:
		tmp = t_1
	elif b <= 4.5e-238:
		tmp = k * (y2 * ((y1 * y4) - (y0 * y5)))
	elif b <= 2.7e-115:
		tmp = c * (i * ((z * t) - (x * y)))
	elif b <= 78.0:
		tmp = t_1
	else:
		tmp = (x * j) * ((i * y1) - (b * y0))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(z * Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0))))
	tmp = 0.0
	if (b <= -2.4e+143)
		tmp = Float64(Float64(a * b) * Float64(Float64(x * y) - Float64(z * t)));
	elseif (b <= -1e+112)
		tmp = Float64(Float64(y * y3) * Float64(Float64(c * y4) - Float64(a * y5)));
	elseif (b <= -3.8e-29)
		tmp = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a))));
	elseif (b <= -4e-171)
		tmp = t_1;
	elseif (b <= 4.5e-238)
		tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5))));
	elseif (b <= 2.7e-115)
		tmp = Float64(c * Float64(i * Float64(Float64(z * t) - Float64(x * y))));
	elseif (b <= 78.0)
		tmp = t_1;
	else
		tmp = Float64(Float64(x * j) * Float64(Float64(i * y1) - Float64(b * y0)));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = z * (y3 * ((a * y1) - (c * y0)));
	tmp = 0.0;
	if (b <= -2.4e+143)
		tmp = (a * b) * ((x * y) - (z * t));
	elseif (b <= -1e+112)
		tmp = (y * y3) * ((c * y4) - (a * y5));
	elseif (b <= -3.8e-29)
		tmp = b * (z * ((k * y0) - (t * a)));
	elseif (b <= -4e-171)
		tmp = t_1;
	elseif (b <= 4.5e-238)
		tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
	elseif (b <= 2.7e-115)
		tmp = c * (i * ((z * t) - (x * y)));
	elseif (b <= 78.0)
		tmp = t_1;
	else
		tmp = (x * j) * ((i * y1) - (b * y0));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(z * N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -2.4e+143], N[(N[(a * b), $MachinePrecision] * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -1e+112], N[(N[(y * y3), $MachinePrecision] * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -3.8e-29], N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -4e-171], t$95$1, If[LessEqual[b, 4.5e-238], N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 2.7e-115], N[(c * N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 78.0], t$95$1, N[(N[(x * j), $MachinePrecision] * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := z \cdot \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\
\mathbf{if}\;b \leq -2.4 \cdot 10^{+143}:\\
\;\;\;\;\left(a \cdot b\right) \cdot \left(x \cdot y - z \cdot t\right)\\

\mathbf{elif}\;b \leq -1 \cdot 10^{+112}:\\
\;\;\;\;\left(y \cdot y3\right) \cdot \left(c \cdot y4 - a \cdot y5\right)\\

\mathbf{elif}\;b \leq -3.8 \cdot 10^{-29}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\

\mathbf{elif}\;b \leq -4 \cdot 10^{-171}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;b \leq 4.5 \cdot 10^{-238}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\

\mathbf{elif}\;b \leq 2.7 \cdot 10^{-115}:\\
\;\;\;\;c \cdot \left(i \cdot \left(z \cdot t - x \cdot y\right)\right)\\

\mathbf{elif}\;b \leq 78:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;\left(x \cdot j\right) \cdot \left(i \cdot y1 - b \cdot y0\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if b < -2.3999999999999998e143

    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 b around inf 55.9%

      \[\leadsto \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)} \]
    4. Taylor expanded in a around inf 51.4%

      \[\leadsto b \cdot \color{blue}{\left(a \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in b around 0 59.2%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    6. Step-by-step derivation
      1. associate-*r*53.8%

        \[\leadsto \color{blue}{\left(a \cdot b\right) \cdot \left(x \cdot y - t \cdot z\right)} \]
      2. *-commutative53.8%

        \[\leadsto \left(a \cdot b\right) \cdot \left(x \cdot y - \color{blue}{z \cdot t}\right) \]
    7. Simplified53.8%

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

    if -2.3999999999999998e143 < b < -9.9999999999999993e111

    1. Initial program 61.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 69.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)} \]
    4. Taylor expanded in y around inf 69.7%

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

        \[\leadsto -1 \cdot \color{blue}{\left(\left(y \cdot y3\right) \cdot \left(a \cdot y5 - c \cdot y4\right)\right)} \]
    6. Simplified69.7%

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

    if -9.9999999999999993e111 < b < -3.79999999999999976e-29

    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 64.1%

      \[\leadsto \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)} \]
    4. Taylor expanded in z around -inf 54.8%

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

        \[\leadsto b \cdot \color{blue}{\left(-z \cdot \left(a \cdot t - k \cdot y0\right)\right)} \]
    6. Simplified54.8%

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

    if -3.79999999999999976e-29 < b < -3.9999999999999999e-171 or 2.7e-115 < b < 78

    1. Initial program 47.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 z around -inf 56.2%

      \[\leadsto \color{blue}{-1 \cdot \left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Taylor expanded in y3 around inf 49.4%

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

    if -3.9999999999999999e-171 < b < 4.49999999999999996e-238

    1. Initial program 29.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 y4 around inf 47.2%

      \[\leadsto \color{blue}{y4 \cdot \left(b \cdot \left(j \cdot t - k \cdot y\right) - c \cdot \left(t \cdot y2 - y \cdot y3\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 49.3%

      \[\leadsto \color{blue}{c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    5. Taylor expanded in y3 around 0 45.0%

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

    if 4.49999999999999996e-238 < b < 2.7e-115

    1. Initial program 38.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 i around -inf 42.7%

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
    4. Taylor expanded in c around inf 42.8%

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

    if 78 < b

    1. Initial program 20.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 x around inf 36.3%

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Taylor expanded in j around inf 38.9%

      \[\leadsto \color{blue}{j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)} \]
    5. Step-by-step derivation
      1. associate-*r*36.8%

        \[\leadsto \color{blue}{\left(j \cdot x\right) \cdot \left(i \cdot y1 - b \cdot y0\right)} \]
      2. *-commutative36.8%

        \[\leadsto \left(j \cdot x\right) \cdot \left(\color{blue}{y1 \cdot i} - b \cdot y0\right) \]
      3. *-commutative36.8%

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

      \[\leadsto \color{blue}{\left(j \cdot x\right) \cdot \left(y1 \cdot i - y0 \cdot b\right)} \]
  3. Recombined 7 regimes into one program.
  4. Final simplification47.8%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -2.4 \cdot 10^{+143}:\\ \;\;\;\;\left(a \cdot b\right) \cdot \left(x \cdot y - z \cdot t\right)\\ \mathbf{elif}\;b \leq -1 \cdot 10^{+112}:\\ \;\;\;\;\left(y \cdot y3\right) \cdot \left(c \cdot y4 - a \cdot y5\right)\\ \mathbf{elif}\;b \leq -3.8 \cdot 10^{-29}:\\ \;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\ \mathbf{elif}\;b \leq -4 \cdot 10^{-171}:\\ \;\;\;\;z \cdot \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\ \mathbf{elif}\;b \leq 4.5 \cdot 10^{-238}:\\ \;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \mathbf{elif}\;b \leq 2.7 \cdot 10^{-115}:\\ \;\;\;\;c \cdot \left(i \cdot \left(z \cdot t - x \cdot y\right)\right)\\ \mathbf{elif}\;b \leq 78:\\ \;\;\;\;z \cdot \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(x \cdot j\right) \cdot \left(i \cdot y1 - b \cdot y0\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 22: 25.7% accurate, 2.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := z \cdot \left(k \cdot \left(i \cdot \left(-y1\right)\right)\right)\\ \mathbf{if}\;y0 \leq -1.8 \cdot 10^{+228}:\\ \;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0\right)\right)\\ \mathbf{elif}\;y0 \leq -2.9 \cdot 10^{+81}:\\ \;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\ \mathbf{elif}\;y0 \leq -8.6 \cdot 10^{-104}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y0 \leq -3.9 \cdot 10^{-163}:\\ \;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b\right)\\ \mathbf{elif}\;y0 \leq -2.05 \cdot 10^{-215}:\\ \;\;\;\;y \cdot \left(b \cdot \left(y4 \cdot \left(-k\right)\right)\right)\\ \mathbf{elif}\;y0 \leq -1.45 \cdot 10^{-263}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\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 (* z (* k (* i (- y1))))))
   (if (<= y0 -1.8e+228)
     (* b (* z (* k y0)))
     (if (<= y0 -2.9e+81)
       (* b (* j (- (* t y4) (* x y0))))
       (if (<= y0 -8.6e-104)
         t_1
         (if (<= y0 -3.9e-163)
           (* (* x y) (* a b))
           (if (<= y0 -2.05e-215)
             (* y (* b (* y4 (- k))))
             (if (<= y0 -1.45e-263) t_1 (* b (* a (- (* x y) (* z t))))))))))))
double code(double x, double y, double z, double t, double 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 * (k * (i * -y1));
	double tmp;
	if (y0 <= -1.8e+228) {
		tmp = b * (z * (k * y0));
	} else if (y0 <= -2.9e+81) {
		tmp = b * (j * ((t * y4) - (x * y0)));
	} else if (y0 <= -8.6e-104) {
		tmp = t_1;
	} else if (y0 <= -3.9e-163) {
		tmp = (x * y) * (a * b);
	} else if (y0 <= -2.05e-215) {
		tmp = y * (b * (y4 * -k));
	} else if (y0 <= -1.45e-263) {
		tmp = t_1;
	} else {
		tmp = b * (a * ((x * y) - (z * t)));
	}
	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 = z * (k * (i * -y1))
    if (y0 <= (-1.8d+228)) then
        tmp = b * (z * (k * y0))
    else if (y0 <= (-2.9d+81)) then
        tmp = b * (j * ((t * y4) - (x * y0)))
    else if (y0 <= (-8.6d-104)) then
        tmp = t_1
    else if (y0 <= (-3.9d-163)) then
        tmp = (x * y) * (a * b)
    else if (y0 <= (-2.05d-215)) then
        tmp = y * (b * (y4 * -k))
    else if (y0 <= (-1.45d-263)) then
        tmp = t_1
    else
        tmp = b * (a * ((x * y) - (z * t)))
    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 * (k * (i * -y1));
	double tmp;
	if (y0 <= -1.8e+228) {
		tmp = b * (z * (k * y0));
	} else if (y0 <= -2.9e+81) {
		tmp = b * (j * ((t * y4) - (x * y0)));
	} else if (y0 <= -8.6e-104) {
		tmp = t_1;
	} else if (y0 <= -3.9e-163) {
		tmp = (x * y) * (a * b);
	} else if (y0 <= -2.05e-215) {
		tmp = y * (b * (y4 * -k));
	} else if (y0 <= -1.45e-263) {
		tmp = t_1;
	} else {
		tmp = b * (a * ((x * y) - (z * t)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = z * (k * (i * -y1))
	tmp = 0
	if y0 <= -1.8e+228:
		tmp = b * (z * (k * y0))
	elif y0 <= -2.9e+81:
		tmp = b * (j * ((t * y4) - (x * y0)))
	elif y0 <= -8.6e-104:
		tmp = t_1
	elif y0 <= -3.9e-163:
		tmp = (x * y) * (a * b)
	elif y0 <= -2.05e-215:
		tmp = y * (b * (y4 * -k))
	elif y0 <= -1.45e-263:
		tmp = t_1
	else:
		tmp = b * (a * ((x * y) - (z * t)))
	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(k * Float64(i * Float64(-y1))))
	tmp = 0.0
	if (y0 <= -1.8e+228)
		tmp = Float64(b * Float64(z * Float64(k * y0)));
	elseif (y0 <= -2.9e+81)
		tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0))));
	elseif (y0 <= -8.6e-104)
		tmp = t_1;
	elseif (y0 <= -3.9e-163)
		tmp = Float64(Float64(x * y) * Float64(a * b));
	elseif (y0 <= -2.05e-215)
		tmp = Float64(y * Float64(b * Float64(y4 * Float64(-k))));
	elseif (y0 <= -1.45e-263)
		tmp = t_1;
	else
		tmp = Float64(b * Float64(a * Float64(Float64(x * y) - Float64(z * t))));
	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 * (k * (i * -y1));
	tmp = 0.0;
	if (y0 <= -1.8e+228)
		tmp = b * (z * (k * y0));
	elseif (y0 <= -2.9e+81)
		tmp = b * (j * ((t * y4) - (x * y0)));
	elseif (y0 <= -8.6e-104)
		tmp = t_1;
	elseif (y0 <= -3.9e-163)
		tmp = (x * y) * (a * b);
	elseif (y0 <= -2.05e-215)
		tmp = y * (b * (y4 * -k));
	elseif (y0 <= -1.45e-263)
		tmp = t_1;
	else
		tmp = b * (a * ((x * y) - (z * t)));
	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[(k * N[(i * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -1.8e+228], N[(b * N[(z * N[(k * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -2.9e+81], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -8.6e-104], t$95$1, If[LessEqual[y0, -3.9e-163], N[(N[(x * y), $MachinePrecision] * N[(a * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -2.05e-215], N[(y * N[(b * N[(y4 * (-k)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -1.45e-263], t$95$1, N[(b * N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := z \cdot \left(k \cdot \left(i \cdot \left(-y1\right)\right)\right)\\
\mathbf{if}\;y0 \leq -1.8 \cdot 10^{+228}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0\right)\right)\\

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

\mathbf{elif}\;y0 \leq -8.6 \cdot 10^{-104}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y0 \leq -3.9 \cdot 10^{-163}:\\
\;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b\right)\\

\mathbf{elif}\;y0 \leq -2.05 \cdot 10^{-215}:\\
\;\;\;\;y \cdot \left(b \cdot \left(y4 \cdot \left(-k\right)\right)\right)\\

\mathbf{elif}\;y0 \leq -1.45 \cdot 10^{-263}:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if y0 < -1.8e228

    1. Initial program 18.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 z around -inf 50.3%

      \[\leadsto \color{blue}{-1 \cdot \left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Taylor expanded in k around inf 46.5%

      \[\leadsto -1 \cdot \left(z \cdot \color{blue}{\left(k \cdot \left(i \cdot y1 - b \cdot y0\right)\right)}\right) \]
    5. Taylor expanded in i around 0 50.6%

      \[\leadsto -1 \cdot \color{blue}{\left(-1 \cdot \left(b \cdot \left(k \cdot \left(y0 \cdot z\right)\right)\right)\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg50.6%

        \[\leadsto -1 \cdot \color{blue}{\left(-b \cdot \left(k \cdot \left(y0 \cdot z\right)\right)\right)} \]
      2. distribute-rgt-neg-in50.6%

        \[\leadsto -1 \cdot \color{blue}{\left(b \cdot \left(-k \cdot \left(y0 \cdot z\right)\right)\right)} \]
      3. associate-*r*63.7%

        \[\leadsto -1 \cdot \left(b \cdot \left(-\color{blue}{\left(k \cdot y0\right) \cdot z}\right)\right) \]
      4. distribute-rgt-neg-in63.7%

        \[\leadsto -1 \cdot \left(b \cdot \color{blue}{\left(\left(k \cdot y0\right) \cdot \left(-z\right)\right)}\right) \]
    7. Simplified63.7%

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

    if -1.8e228 < y0 < -2.9e81

    1. Initial program 35.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 48.9%

      \[\leadsto \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)} \]
    4. Taylor expanded in j around inf 49.6%

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

    if -2.9e81 < y0 < -8.6000000000000002e-104 or -2.04999999999999992e-215 < y0 < -1.45000000000000002e-263

    1. Initial program 39.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 z around -inf 44.0%

      \[\leadsto \color{blue}{-1 \cdot \left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Taylor expanded in k around inf 38.4%

      \[\leadsto -1 \cdot \left(z \cdot \color{blue}{\left(k \cdot \left(i \cdot y1 - b \cdot y0\right)\right)}\right) \]
    5. Taylor expanded in i around inf 36.5%

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

    if -8.6000000000000002e-104 < y0 < -3.9000000000000002e-163

    1. Initial program 36.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 b around inf 29.6%

      \[\leadsto \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)} \]
    4. Taylor expanded in a around inf 20.5%

      \[\leadsto b \cdot \color{blue}{\left(a \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around inf 29.4%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
    6. Step-by-step derivation
      1. pow129.4%

        \[\leadsto \color{blue}{{\left(a \cdot \left(b \cdot \left(x \cdot y\right)\right)\right)}^{1}} \]
      2. associate-*r*46.3%

        \[\leadsto {\color{blue}{\left(\left(a \cdot b\right) \cdot \left(x \cdot y\right)\right)}}^{1} \]
    7. Applied egg-rr46.3%

      \[\leadsto \color{blue}{{\left(\left(a \cdot b\right) \cdot \left(x \cdot y\right)\right)}^{1}} \]
    8. Step-by-step derivation
      1. unpow146.3%

        \[\leadsto \color{blue}{\left(a \cdot b\right) \cdot \left(x \cdot y\right)} \]
    9. Simplified46.3%

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

    if -3.9000000000000002e-163 < y0 < -2.04999999999999992e-215

    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 y4 around inf 56.0%

      \[\leadsto \color{blue}{y4 \cdot \left(b \cdot \left(j \cdot t - k \cdot y\right) - c \cdot \left(t \cdot y2 - y \cdot y3\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 46.0%

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

        \[\leadsto \color{blue}{-y \cdot \left(y4 \cdot \left(b \cdot k - c \cdot y3\right)\right)} \]
    6. Simplified46.0%

      \[\leadsto \color{blue}{-y \cdot \left(y4 \cdot \left(b \cdot k - c \cdot y3\right)\right)} \]
    7. Taylor expanded in b around inf 46.2%

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

    if -1.45000000000000002e-263 < y0

    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 b around inf 37.9%

      \[\leadsto \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)} \]
    4. Taylor expanded in a around inf 35.5%

      \[\leadsto b \cdot \color{blue}{\left(a \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
  3. Recombined 6 regimes into one program.
  4. Final simplification40.8%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -1.8 \cdot 10^{+228}:\\ \;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0\right)\right)\\ \mathbf{elif}\;y0 \leq -2.9 \cdot 10^{+81}:\\ \;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\ \mathbf{elif}\;y0 \leq -8.6 \cdot 10^{-104}:\\ \;\;\;\;z \cdot \left(k \cdot \left(i \cdot \left(-y1\right)\right)\right)\\ \mathbf{elif}\;y0 \leq -3.9 \cdot 10^{-163}:\\ \;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b\right)\\ \mathbf{elif}\;y0 \leq -2.05 \cdot 10^{-215}:\\ \;\;\;\;y \cdot \left(b \cdot \left(y4 \cdot \left(-k\right)\right)\right)\\ \mathbf{elif}\;y0 \leq -1.45 \cdot 10^{-263}:\\ \;\;\;\;z \cdot \left(k \cdot \left(i \cdot \left(-y1\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 23: 28.5% accurate, 2.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{if}\;y0 \leq -4.5 \cdot 10^{+72}:\\ \;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y0 \leq -4.1 \cdot 10^{-78}:\\ \;\;\;\;z \cdot \left(k \cdot \left(i \cdot \left(-y1\right)\right)\right)\\ \mathbf{elif}\;y0 \leq -9.8 \cdot 10^{-298}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;y0 \leq 8.5 \cdot 10^{-199}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y0 \leq 6.2 \cdot 10^{-187}:\\ \;\;\;\;y \cdot \left(y4 \cdot \left(c \cdot y3\right)\right)\\ \mathbf{elif}\;y0 \leq 1.16 \cdot 10^{-50}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\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 (* b (* a (- (* x y) (* z t))))))
   (if (<= y0 -4.5e+72)
     (* b (* y0 (- (* z k) (* x j))))
     (if (<= y0 -4.1e-78)
       (* z (* k (* i (- y1))))
       (if (<= y0 -9.8e-298)
         (* c (* y4 (- (* y y3) (* t y2))))
         (if (<= y0 8.5e-199)
           t_1
           (if (<= y0 6.2e-187)
             (* y (* y4 (* c y3)))
             (if (<= y0 1.16e-50) (* c (* t (- (* z i) (* y2 y4)))) t_1))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = b * (a * ((x * y) - (z * t)));
	double tmp;
	if (y0 <= -4.5e+72) {
		tmp = b * (y0 * ((z * k) - (x * j)));
	} else if (y0 <= -4.1e-78) {
		tmp = z * (k * (i * -y1));
	} else if (y0 <= -9.8e-298) {
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	} else if (y0 <= 8.5e-199) {
		tmp = t_1;
	} else if (y0 <= 6.2e-187) {
		tmp = y * (y4 * (c * y3));
	} else if (y0 <= 1.16e-50) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} 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 = b * (a * ((x * y) - (z * t)))
    if (y0 <= (-4.5d+72)) then
        tmp = b * (y0 * ((z * k) - (x * j)))
    else if (y0 <= (-4.1d-78)) then
        tmp = z * (k * (i * -y1))
    else if (y0 <= (-9.8d-298)) then
        tmp = c * (y4 * ((y * y3) - (t * y2)))
    else if (y0 <= 8.5d-199) then
        tmp = t_1
    else if (y0 <= 6.2d-187) then
        tmp = y * (y4 * (c * y3))
    else if (y0 <= 1.16d-50) then
        tmp = c * (t * ((z * i) - (y2 * y4)))
    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 = b * (a * ((x * y) - (z * t)));
	double tmp;
	if (y0 <= -4.5e+72) {
		tmp = b * (y0 * ((z * k) - (x * j)));
	} else if (y0 <= -4.1e-78) {
		tmp = z * (k * (i * -y1));
	} else if (y0 <= -9.8e-298) {
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	} else if (y0 <= 8.5e-199) {
		tmp = t_1;
	} else if (y0 <= 6.2e-187) {
		tmp = y * (y4 * (c * y3));
	} else if (y0 <= 1.16e-50) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} 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 = b * (a * ((x * y) - (z * t)))
	tmp = 0
	if y0 <= -4.5e+72:
		tmp = b * (y0 * ((z * k) - (x * j)))
	elif y0 <= -4.1e-78:
		tmp = z * (k * (i * -y1))
	elif y0 <= -9.8e-298:
		tmp = c * (y4 * ((y * y3) - (t * y2)))
	elif y0 <= 8.5e-199:
		tmp = t_1
	elif y0 <= 6.2e-187:
		tmp = y * (y4 * (c * y3))
	elif y0 <= 1.16e-50:
		tmp = c * (t * ((z * i) - (y2 * y4)))
	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(b * Float64(a * Float64(Float64(x * y) - Float64(z * t))))
	tmp = 0.0
	if (y0 <= -4.5e+72)
		tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j))));
	elseif (y0 <= -4.1e-78)
		tmp = Float64(z * Float64(k * Float64(i * Float64(-y1))));
	elseif (y0 <= -9.8e-298)
		tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2))));
	elseif (y0 <= 8.5e-199)
		tmp = t_1;
	elseif (y0 <= 6.2e-187)
		tmp = Float64(y * Float64(y4 * Float64(c * y3)));
	elseif (y0 <= 1.16e-50)
		tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4))));
	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 = b * (a * ((x * y) - (z * t)));
	tmp = 0.0;
	if (y0 <= -4.5e+72)
		tmp = b * (y0 * ((z * k) - (x * j)));
	elseif (y0 <= -4.1e-78)
		tmp = z * (k * (i * -y1));
	elseif (y0 <= -9.8e-298)
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	elseif (y0 <= 8.5e-199)
		tmp = t_1;
	elseif (y0 <= 6.2e-187)
		tmp = y * (y4 * (c * y3));
	elseif (y0 <= 1.16e-50)
		tmp = c * (t * ((z * i) - (y2 * y4)));
	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[(b * N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -4.5e+72], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -4.1e-78], N[(z * N[(k * N[(i * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -9.8e-298], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 8.5e-199], t$95$1, If[LessEqual[y0, 6.2e-187], N[(y * N[(y4 * N[(c * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.16e-50], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{if}\;y0 \leq -4.5 \cdot 10^{+72}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\

\mathbf{elif}\;y0 \leq -4.1 \cdot 10^{-78}:\\
\;\;\;\;z \cdot \left(k \cdot \left(i \cdot \left(-y1\right)\right)\right)\\

\mathbf{elif}\;y0 \leq -9.8 \cdot 10^{-298}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\

\mathbf{elif}\;y0 \leq 8.5 \cdot 10^{-199}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y0 \leq 6.2 \cdot 10^{-187}:\\
\;\;\;\;y \cdot \left(y4 \cdot \left(c \cdot y3\right)\right)\\

\mathbf{elif}\;y0 \leq 1.16 \cdot 10^{-50}:\\
\;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if y0 < -4.4999999999999998e72

    1. Initial program 29.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 45.9%

      \[\leadsto \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)} \]
    4. Taylor expanded in y0 around inf 49.9%

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

    if -4.4999999999999998e72 < y0 < -4.0999999999999998e-78

    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 z around -inf 47.4%

      \[\leadsto \color{blue}{-1 \cdot \left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Taylor expanded in k around inf 37.1%

      \[\leadsto -1 \cdot \left(z \cdot \color{blue}{\left(k \cdot \left(i \cdot y1 - b \cdot y0\right)\right)}\right) \]
    5. Taylor expanded in i around inf 34.5%

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

    if -4.0999999999999998e-78 < y0 < -9.7999999999999999e-298

    1. Initial program 40.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 41.4%

      \[\leadsto \color{blue}{y4 \cdot \left(b \cdot \left(j \cdot t - k \cdot y\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    4. Taylor expanded in c around inf 38.8%

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

    if -9.7999999999999999e-298 < y0 < 8.4999999999999994e-199 or 1.15999999999999989e-50 < y0

    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 37.6%

      \[\leadsto \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)} \]
    4. Taylor expanded in a around inf 41.6%

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

    if 8.4999999999999994e-199 < y0 < 6.20000000000000039e-187

    1. Initial program 59.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 y4 around inf 43.5%

      \[\leadsto \color{blue}{y4 \cdot \left(b \cdot \left(j \cdot t - k \cdot y\right) - c \cdot \left(t \cdot y2 - y \cdot y3\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 41.4%

      \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(y4 \cdot \left(b \cdot k - c \cdot y3\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg41.4%

        \[\leadsto \color{blue}{-y \cdot \left(y4 \cdot \left(b \cdot k - c \cdot y3\right)\right)} \]
    6. Simplified41.4%

      \[\leadsto \color{blue}{-y \cdot \left(y4 \cdot \left(b \cdot k - c \cdot y3\right)\right)} \]
    7. Taylor expanded in b around 0 42.2%

      \[\leadsto -y \cdot \left(y4 \cdot \color{blue}{\left(-1 \cdot \left(c \cdot y3\right)\right)}\right) \]
    8. Step-by-step derivation
      1. neg-mul-142.2%

        \[\leadsto -y \cdot \left(y4 \cdot \color{blue}{\left(-c \cdot y3\right)}\right) \]
      2. distribute-rgt-neg-in42.2%

        \[\leadsto -y \cdot \left(y4 \cdot \color{blue}{\left(c \cdot \left(-y3\right)\right)}\right) \]
    9. Simplified42.2%

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

    if 6.20000000000000039e-187 < y0 < 1.15999999999999989e-50

    1. Initial program 35.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 t around inf 43.0%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in c around inf 37.0%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -4.5 \cdot 10^{+72}:\\ \;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y0 \leq -4.1 \cdot 10^{-78}:\\ \;\;\;\;z \cdot \left(k \cdot \left(i \cdot \left(-y1\right)\right)\right)\\ \mathbf{elif}\;y0 \leq -9.8 \cdot 10^{-298}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;y0 \leq 8.5 \cdot 10^{-199}:\\ \;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y0 \leq 6.2 \cdot 10^{-187}:\\ \;\;\;\;y \cdot \left(y4 \cdot \left(c \cdot y3\right)\right)\\ \mathbf{elif}\;y0 \leq 1.16 \cdot 10^{-50}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 24: 37.2% accurate, 2.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \left(x \cdot y - z \cdot t\right)\\ \mathbf{if}\;y3 \leq -68000000:\\ \;\;\;\;z \cdot \left(\left(y1 \cdot \left(a \cdot y3 - i \cdot k\right) - c \cdot \left(y0 \cdot y3\right)\right) + b \cdot \left(k \cdot y0\right)\right)\\ \mathbf{elif}\;y3 \leq 8.6 \cdot 10^{-18}:\\ \;\;\;\;b \cdot \left(\left(t\_1 + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y3 \leq 1.25 \cdot 10^{+39}:\\ \;\;\;\;i \cdot \left(k \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\ \mathbf{elif}\;y3 \leq 1.45 \cdot 10^{+115}:\\ \;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\ \mathbf{elif}\;y3 \leq 2.85 \cdot 10^{+194}:\\ \;\;\;\;b \cdot t\_1\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\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 (- (* x y) (* z t)))))
   (if (<= y3 -68000000.0)
     (* z (+ (- (* y1 (- (* a y3) (* i k))) (* c (* y0 y3))) (* b (* k y0))))
     (if (<= y3 8.6e-18)
       (* b (+ (+ t_1 (* y4 (- (* t j) (* y k)))) (* y0 (- (* z k) (* x j)))))
       (if (<= y3 1.25e+39)
         (* i (* k (- (* y y5) (* z y1))))
         (if (<= y3 1.45e+115)
           (* b (* z (- (* k y0) (* t a))))
           (if (<= y3 2.85e+194)
             (* b t_1)
             (* z (* y3 (- (* a y1) (* c y0)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = a * ((x * y) - (z * t));
	double tmp;
	if (y3 <= -68000000.0) {
		tmp = z * (((y1 * ((a * y3) - (i * k))) - (c * (y0 * y3))) + (b * (k * y0)));
	} else if (y3 <= 8.6e-18) {
		tmp = b * ((t_1 + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
	} else if (y3 <= 1.25e+39) {
		tmp = i * (k * ((y * y5) - (z * y1)));
	} else if (y3 <= 1.45e+115) {
		tmp = b * (z * ((k * y0) - (t * a)));
	} else if (y3 <= 2.85e+194) {
		tmp = b * t_1;
	} else {
		tmp = z * (y3 * ((a * y1) - (c * y0)));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = a * ((x * y) - (z * t))
    if (y3 <= (-68000000.0d0)) then
        tmp = z * (((y1 * ((a * y3) - (i * k))) - (c * (y0 * y3))) + (b * (k * y0)))
    else if (y3 <= 8.6d-18) then
        tmp = b * ((t_1 + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))
    else if (y3 <= 1.25d+39) then
        tmp = i * (k * ((y * y5) - (z * y1)))
    else if (y3 <= 1.45d+115) then
        tmp = b * (z * ((k * y0) - (t * a)))
    else if (y3 <= 2.85d+194) then
        tmp = b * t_1
    else
        tmp = z * (y3 * ((a * y1) - (c * y0)))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = a * ((x * y) - (z * t));
	double tmp;
	if (y3 <= -68000000.0) {
		tmp = z * (((y1 * ((a * y3) - (i * k))) - (c * (y0 * y3))) + (b * (k * y0)));
	} else if (y3 <= 8.6e-18) {
		tmp = b * ((t_1 + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
	} else if (y3 <= 1.25e+39) {
		tmp = i * (k * ((y * y5) - (z * y1)));
	} else if (y3 <= 1.45e+115) {
		tmp = b * (z * ((k * y0) - (t * a)));
	} else if (y3 <= 2.85e+194) {
		tmp = b * t_1;
	} else {
		tmp = z * (y3 * ((a * y1) - (c * y0)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = a * ((x * y) - (z * t))
	tmp = 0
	if y3 <= -68000000.0:
		tmp = z * (((y1 * ((a * y3) - (i * k))) - (c * (y0 * y3))) + (b * (k * y0)))
	elif y3 <= 8.6e-18:
		tmp = b * ((t_1 + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))
	elif y3 <= 1.25e+39:
		tmp = i * (k * ((y * y5) - (z * y1)))
	elif y3 <= 1.45e+115:
		tmp = b * (z * ((k * y0) - (t * a)))
	elif y3 <= 2.85e+194:
		tmp = b * t_1
	else:
		tmp = z * (y3 * ((a * y1) - (c * y0)))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(a * Float64(Float64(x * y) - Float64(z * t)))
	tmp = 0.0
	if (y3 <= -68000000.0)
		tmp = Float64(z * Float64(Float64(Float64(y1 * Float64(Float64(a * y3) - Float64(i * k))) - Float64(c * Float64(y0 * y3))) + Float64(b * Float64(k * y0))));
	elseif (y3 <= 8.6e-18)
		tmp = Float64(b * Float64(Float64(t_1 + Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))));
	elseif (y3 <= 1.25e+39)
		tmp = Float64(i * Float64(k * Float64(Float64(y * y5) - Float64(z * y1))));
	elseif (y3 <= 1.45e+115)
		tmp = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a))));
	elseif (y3 <= 2.85e+194)
		tmp = Float64(b * t_1);
	else
		tmp = Float64(z * Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = a * ((x * y) - (z * t));
	tmp = 0.0;
	if (y3 <= -68000000.0)
		tmp = z * (((y1 * ((a * y3) - (i * k))) - (c * (y0 * y3))) + (b * (k * y0)));
	elseif (y3 <= 8.6e-18)
		tmp = b * ((t_1 + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
	elseif (y3 <= 1.25e+39)
		tmp = i * (k * ((y * y5) - (z * y1)));
	elseif (y3 <= 1.45e+115)
		tmp = b * (z * ((k * y0) - (t * a)));
	elseif (y3 <= 2.85e+194)
		tmp = b * t_1;
	else
		tmp = z * (y3 * ((a * y1) - (c * y0)));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -68000000.0], N[(z * N[(N[(N[(y1 * N[(N[(a * y3), $MachinePrecision] - N[(i * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * N[(y0 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(k * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 8.6e-18], N[(b * N[(N[(t$95$1 + N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1.25e+39], N[(i * N[(k * N[(N[(y * y5), $MachinePrecision] - N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1.45e+115], N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 2.85e+194], N[(b * t$95$1), $MachinePrecision], N[(z * N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := a \cdot \left(x \cdot y - z \cdot t\right)\\
\mathbf{if}\;y3 \leq -68000000:\\
\;\;\;\;z \cdot \left(\left(y1 \cdot \left(a \cdot y3 - i \cdot k\right) - c \cdot \left(y0 \cdot y3\right)\right) + b \cdot \left(k \cdot y0\right)\right)\\

\mathbf{elif}\;y3 \leq 8.6 \cdot 10^{-18}:\\
\;\;\;\;b \cdot \left(\left(t\_1 + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\

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

\mathbf{elif}\;y3 \leq 1.45 \cdot 10^{+115}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\

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

\mathbf{else}:\\
\;\;\;\;z \cdot \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if y3 < -6.8e7

    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 z around -inf 41.0%

      \[\leadsto \color{blue}{-1 \cdot \left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Taylor expanded in y1 around 0 40.9%

      \[\leadsto -1 \cdot \left(z \cdot \color{blue}{\left(\left(c \cdot \left(y0 \cdot y3\right) + \left(t \cdot \left(a \cdot b - c \cdot i\right) + y1 \cdot \left(-1 \cdot \left(a \cdot y3\right) - -1 \cdot \left(i \cdot k\right)\right)\right)\right) - b \cdot \left(k \cdot y0\right)\right)}\right) \]
    5. Taylor expanded in t around 0 48.6%

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

    if -6.8e7 < y3 < 8.6000000000000005e-18

    1. Initial program 29.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 46.9%

      \[\leadsto \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)} \]

    if 8.6000000000000005e-18 < y3 < 1.25000000000000004e39

    1. Initial program 30.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 i around -inf 61.5%

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(\left(c \cdot \left(x \cdot y - t \cdot z\right) + y5 \cdot \left(j \cdot t - k \cdot y\right)\right) - y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
    4. Taylor expanded in k around -inf 69.4%

      \[\leadsto -1 \cdot \left(i \cdot \color{blue}{\left(-1 \cdot \left(k \cdot \left(y \cdot y5 - y1 \cdot z\right)\right)\right)}\right) \]
    5. Step-by-step derivation
      1. associate-*r*69.4%

        \[\leadsto -1 \cdot \left(i \cdot \color{blue}{\left(\left(-1 \cdot k\right) \cdot \left(y \cdot y5 - y1 \cdot z\right)\right)}\right) \]
      2. neg-mul-169.4%

        \[\leadsto -1 \cdot \left(i \cdot \left(\color{blue}{\left(-k\right)} \cdot \left(y \cdot y5 - y1 \cdot z\right)\right)\right) \]
    6. Simplified69.4%

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

    if 1.25000000000000004e39 < y3 < 1.45000000000000002e115

    1. Initial program 41.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 48.5%

      \[\leadsto \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)} \]
    4. Taylor expanded in z around -inf 48.7%

      \[\leadsto b \cdot \color{blue}{\left(-1 \cdot \left(z \cdot \left(a \cdot t - k \cdot y0\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg48.7%

        \[\leadsto b \cdot \color{blue}{\left(-z \cdot \left(a \cdot t - k \cdot y0\right)\right)} \]
    6. Simplified48.7%

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

    if 1.45000000000000002e115 < y3 < 2.84999999999999992e194

    1. Initial program 29.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 b around inf 35.7%

      \[\leadsto \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)} \]
    4. Taylor expanded in a around inf 65.3%

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

    if 2.84999999999999992e194 < y3

    1. Initial program 32.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 z around -inf 42.3%

      \[\leadsto \color{blue}{-1 \cdot \left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Taylor expanded in y3 around inf 55.4%

      \[\leadsto -1 \cdot \left(z \cdot \color{blue}{\left(y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)}\right) \]
  3. Recombined 6 regimes into one program.
  4. Final simplification50.8%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y3 \leq -68000000:\\ \;\;\;\;z \cdot \left(\left(y1 \cdot \left(a \cdot y3 - i \cdot k\right) - c \cdot \left(y0 \cdot y3\right)\right) + b \cdot \left(k \cdot y0\right)\right)\\ \mathbf{elif}\;y3 \leq 8.6 \cdot 10^{-18}:\\ \;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y3 \leq 1.25 \cdot 10^{+39}:\\ \;\;\;\;i \cdot \left(k \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\ \mathbf{elif}\;y3 \leq 1.45 \cdot 10^{+115}:\\ \;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\ \mathbf{elif}\;y3 \leq 2.85 \cdot 10^{+194}:\\ \;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 25: 24.6% accurate, 2.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{if}\;y0 \leq -4.05 \cdot 10^{+211}:\\ \;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0\right)\right)\\ \mathbf{elif}\;y0 \leq -2.35 \cdot 10^{+84}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y0 \leq -1.36 \cdot 10^{-110}:\\ \;\;\;\;z \cdot \left(k \cdot \left(i \cdot \left(-y1\right)\right)\right)\\ \mathbf{elif}\;y0 \leq -1.9 \cdot 10^{-163}:\\ \;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b\right)\\ \mathbf{elif}\;y0 \leq -1.05 \cdot 10^{-297}:\\ \;\;\;\;b \cdot \left(\left(-k\right) \cdot \left(y \cdot y4\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 (* b (* a (- (* x y) (* z t))))))
   (if (<= y0 -4.05e+211)
     (* b (* z (* k y0)))
     (if (<= y0 -2.35e+84)
       t_1
       (if (<= y0 -1.36e-110)
         (* z (* k (* i (- y1))))
         (if (<= y0 -1.9e-163)
           (* (* x y) (* a b))
           (if (<= y0 -1.05e-297) (* b (* (- k) (* y y4))) t_1)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = b * (a * ((x * y) - (z * t)));
	double tmp;
	if (y0 <= -4.05e+211) {
		tmp = b * (z * (k * y0));
	} else if (y0 <= -2.35e+84) {
		tmp = t_1;
	} else if (y0 <= -1.36e-110) {
		tmp = z * (k * (i * -y1));
	} else if (y0 <= -1.9e-163) {
		tmp = (x * y) * (a * b);
	} else if (y0 <= -1.05e-297) {
		tmp = b * (-k * (y * y4));
	} 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 = b * (a * ((x * y) - (z * t)))
    if (y0 <= (-4.05d+211)) then
        tmp = b * (z * (k * y0))
    else if (y0 <= (-2.35d+84)) then
        tmp = t_1
    else if (y0 <= (-1.36d-110)) then
        tmp = z * (k * (i * -y1))
    else if (y0 <= (-1.9d-163)) then
        tmp = (x * y) * (a * b)
    else if (y0 <= (-1.05d-297)) then
        tmp = b * (-k * (y * y4))
    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 = b * (a * ((x * y) - (z * t)));
	double tmp;
	if (y0 <= -4.05e+211) {
		tmp = b * (z * (k * y0));
	} else if (y0 <= -2.35e+84) {
		tmp = t_1;
	} else if (y0 <= -1.36e-110) {
		tmp = z * (k * (i * -y1));
	} else if (y0 <= -1.9e-163) {
		tmp = (x * y) * (a * b);
	} else if (y0 <= -1.05e-297) {
		tmp = b * (-k * (y * y4));
	} 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 = b * (a * ((x * y) - (z * t)))
	tmp = 0
	if y0 <= -4.05e+211:
		tmp = b * (z * (k * y0))
	elif y0 <= -2.35e+84:
		tmp = t_1
	elif y0 <= -1.36e-110:
		tmp = z * (k * (i * -y1))
	elif y0 <= -1.9e-163:
		tmp = (x * y) * (a * b)
	elif y0 <= -1.05e-297:
		tmp = b * (-k * (y * y4))
	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(b * Float64(a * Float64(Float64(x * y) - Float64(z * t))))
	tmp = 0.0
	if (y0 <= -4.05e+211)
		tmp = Float64(b * Float64(z * Float64(k * y0)));
	elseif (y0 <= -2.35e+84)
		tmp = t_1;
	elseif (y0 <= -1.36e-110)
		tmp = Float64(z * Float64(k * Float64(i * Float64(-y1))));
	elseif (y0 <= -1.9e-163)
		tmp = Float64(Float64(x * y) * Float64(a * b));
	elseif (y0 <= -1.05e-297)
		tmp = Float64(b * Float64(Float64(-k) * Float64(y * y4)));
	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 = b * (a * ((x * y) - (z * t)));
	tmp = 0.0;
	if (y0 <= -4.05e+211)
		tmp = b * (z * (k * y0));
	elseif (y0 <= -2.35e+84)
		tmp = t_1;
	elseif (y0 <= -1.36e-110)
		tmp = z * (k * (i * -y1));
	elseif (y0 <= -1.9e-163)
		tmp = (x * y) * (a * b);
	elseif (y0 <= -1.05e-297)
		tmp = b * (-k * (y * y4));
	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[(b * N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -4.05e+211], N[(b * N[(z * N[(k * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -2.35e+84], t$95$1, If[LessEqual[y0, -1.36e-110], N[(z * N[(k * N[(i * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -1.9e-163], N[(N[(x * y), $MachinePrecision] * N[(a * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -1.05e-297], N[(b * N[((-k) * N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{if}\;y0 \leq -4.05 \cdot 10^{+211}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0\right)\right)\\

\mathbf{elif}\;y0 \leq -2.35 \cdot 10^{+84}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y0 \leq -1.36 \cdot 10^{-110}:\\
\;\;\;\;z \cdot \left(k \cdot \left(i \cdot \left(-y1\right)\right)\right)\\

\mathbf{elif}\;y0 \leq -1.9 \cdot 10^{-163}:\\
\;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b\right)\\

\mathbf{elif}\;y0 \leq -1.05 \cdot 10^{-297}:\\
\;\;\;\;b \cdot \left(\left(-k\right) \cdot \left(y \cdot y4\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if y0 < -4.04999999999999986e211

    1. Initial program 26.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 z around -inf 50.3%

      \[\leadsto \color{blue}{-1 \cdot \left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Taylor expanded in k around inf 43.6%

      \[\leadsto -1 \cdot \left(z \cdot \color{blue}{\left(k \cdot \left(i \cdot y1 - b \cdot y0\right)\right)}\right) \]
    5. Taylor expanded in i around 0 50.7%

      \[\leadsto -1 \cdot \color{blue}{\left(-1 \cdot \left(b \cdot \left(k \cdot \left(y0 \cdot z\right)\right)\right)\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg50.7%

        \[\leadsto -1 \cdot \color{blue}{\left(-b \cdot \left(k \cdot \left(y0 \cdot z\right)\right)\right)} \]
      2. distribute-rgt-neg-in50.7%

        \[\leadsto -1 \cdot \color{blue}{\left(b \cdot \left(-k \cdot \left(y0 \cdot z\right)\right)\right)} \]
      3. associate-*r*61.8%

        \[\leadsto -1 \cdot \left(b \cdot \left(-\color{blue}{\left(k \cdot y0\right) \cdot z}\right)\right) \]
      4. distribute-rgt-neg-in61.8%

        \[\leadsto -1 \cdot \left(b \cdot \color{blue}{\left(\left(k \cdot y0\right) \cdot \left(-z\right)\right)}\right) \]
    7. Simplified61.8%

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

    if -4.04999999999999986e211 < y0 < -2.3499999999999999e84 or -1.05000000000000007e-297 < y0

    1. Initial program 28.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 b around inf 41.8%

      \[\leadsto \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)} \]
    4. Taylor expanded in a around inf 36.9%

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

    if -2.3499999999999999e84 < y0 < -1.35999999999999999e-110

    1. Initial program 41.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 z around -inf 45.8%

      \[\leadsto \color{blue}{-1 \cdot \left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Taylor expanded in k around inf 37.9%

      \[\leadsto -1 \cdot \left(z \cdot \color{blue}{\left(k \cdot \left(i \cdot y1 - b \cdot y0\right)\right)}\right) \]
    5. Taylor expanded in i around inf 35.8%

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

    if -1.35999999999999999e-110 < y0 < -1.9e-163

    1. Initial program 36.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 b around inf 29.6%

      \[\leadsto \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)} \]
    4. Taylor expanded in a around inf 20.5%

      \[\leadsto b \cdot \color{blue}{\left(a \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around inf 29.4%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
    6. Step-by-step derivation
      1. pow129.4%

        \[\leadsto \color{blue}{{\left(a \cdot \left(b \cdot \left(x \cdot y\right)\right)\right)}^{1}} \]
      2. associate-*r*46.3%

        \[\leadsto {\color{blue}{\left(\left(a \cdot b\right) \cdot \left(x \cdot y\right)\right)}}^{1} \]
    7. Applied egg-rr46.3%

      \[\leadsto \color{blue}{{\left(\left(a \cdot b\right) \cdot \left(x \cdot y\right)\right)}^{1}} \]
    8. Step-by-step derivation
      1. unpow146.3%

        \[\leadsto \color{blue}{\left(a \cdot b\right) \cdot \left(x \cdot y\right)} \]
    9. Simplified46.3%

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

    if -1.9e-163 < y0 < -1.05000000000000007e-297

    1. Initial program 42.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 53.4%

      \[\leadsto \color{blue}{y4 \cdot \left(b \cdot \left(j \cdot t - k \cdot y\right) - c \cdot \left(t \cdot y2 - y \cdot y3\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 34.6%

      \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(y4 \cdot \left(b \cdot k - c \cdot y3\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg34.6%

        \[\leadsto \color{blue}{-y \cdot \left(y4 \cdot \left(b \cdot k - c \cdot y3\right)\right)} \]
    6. Simplified34.6%

      \[\leadsto \color{blue}{-y \cdot \left(y4 \cdot \left(b \cdot k - c \cdot y3\right)\right)} \]
    7. Taylor expanded in b around inf 30.2%

      \[\leadsto -\color{blue}{b \cdot \left(k \cdot \left(y \cdot y4\right)\right)} \]
  3. Recombined 5 regimes into one program.
  4. Final simplification39.1%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -4.05 \cdot 10^{+211}:\\ \;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0\right)\right)\\ \mathbf{elif}\;y0 \leq -2.35 \cdot 10^{+84}:\\ \;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y0 \leq -1.36 \cdot 10^{-110}:\\ \;\;\;\;z \cdot \left(k \cdot \left(i \cdot \left(-y1\right)\right)\right)\\ \mathbf{elif}\;y0 \leq -1.9 \cdot 10^{-163}:\\ \;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b\right)\\ \mathbf{elif}\;y0 \leq -1.05 \cdot 10^{-297}:\\ \;\;\;\;b \cdot \left(\left(-k\right) \cdot \left(y \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 26: 31.7% accurate, 3.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \mathbf{if}\;y0 \leq -2.2 \cdot 10^{+85}:\\ \;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y0 \leq -4.2 \cdot 10^{-6}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y0 \leq 1.16 \cdot 10^{-294}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq 5.4 \cdot 10^{+194}:\\ \;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\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 (* k (* y2 (- (* y1 y4) (* y0 y5))))))
   (if (<= y0 -2.2e+85)
     (* b (* y0 (- (* z k) (* x j))))
     (if (<= y0 -4.2e-6)
       t_1
       (if (<= y0 1.16e-294)
         (* t (* y2 (- (* a y5) (* c y4))))
         (if (<= y0 5.4e+194) (* b (* a (- (* x y) (* z t)))) t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	double tmp;
	if (y0 <= -2.2e+85) {
		tmp = b * (y0 * ((z * k) - (x * j)));
	} else if (y0 <= -4.2e-6) {
		tmp = t_1;
	} else if (y0 <= 1.16e-294) {
		tmp = t * (y2 * ((a * y5) - (c * y4)));
	} else if (y0 <= 5.4e+194) {
		tmp = b * (a * ((x * y) - (z * t)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)))
    if (y0 <= (-2.2d+85)) then
        tmp = b * (y0 * ((z * k) - (x * j)))
    else if (y0 <= (-4.2d-6)) then
        tmp = t_1
    else if (y0 <= 1.16d-294) then
        tmp = t * (y2 * ((a * y5) - (c * y4)))
    else if (y0 <= 5.4d+194) then
        tmp = b * (a * ((x * y) - (z * t)))
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	double tmp;
	if (y0 <= -2.2e+85) {
		tmp = b * (y0 * ((z * k) - (x * j)));
	} else if (y0 <= -4.2e-6) {
		tmp = t_1;
	} else if (y0 <= 1.16e-294) {
		tmp = t * (y2 * ((a * y5) - (c * y4)));
	} else if (y0 <= 5.4e+194) {
		tmp = b * (a * ((x * y) - (z * t)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)))
	tmp = 0
	if y0 <= -2.2e+85:
		tmp = b * (y0 * ((z * k) - (x * j)))
	elif y0 <= -4.2e-6:
		tmp = t_1
	elif y0 <= 1.16e-294:
		tmp = t * (y2 * ((a * y5) - (c * y4)))
	elif y0 <= 5.4e+194:
		tmp = b * (a * ((x * y) - (z * t)))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5))))
	tmp = 0.0
	if (y0 <= -2.2e+85)
		tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j))));
	elseif (y0 <= -4.2e-6)
		tmp = t_1;
	elseif (y0 <= 1.16e-294)
		tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4))));
	elseif (y0 <= 5.4e+194)
		tmp = Float64(b * Float64(a * Float64(Float64(x * y) - Float64(z * t))));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	tmp = 0.0;
	if (y0 <= -2.2e+85)
		tmp = b * (y0 * ((z * k) - (x * j)));
	elseif (y0 <= -4.2e-6)
		tmp = t_1;
	elseif (y0 <= 1.16e-294)
		tmp = t * (y2 * ((a * y5) - (c * y4)));
	elseif (y0 <= 5.4e+194)
		tmp = b * (a * ((x * y) - (z * t)));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -2.2e+85], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -4.2e-6], t$95$1, If[LessEqual[y0, 1.16e-294], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 5.4e+194], N[(b * N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{if}\;y0 \leq -2.2 \cdot 10^{+85}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\

\mathbf{elif}\;y0 \leq -4.2 \cdot 10^{-6}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y0 \leq 1.16 \cdot 10^{-294}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\

\mathbf{elif}\;y0 \leq 5.4 \cdot 10^{+194}:\\
\;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if y0 < -2.2000000000000002e85

    1. Initial program 26.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 b around inf 50.2%

      \[\leadsto \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)} \]
    4. Taylor expanded in y0 around inf 50.8%

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

    if -2.2000000000000002e85 < y0 < -4.1999999999999996e-6 or 5.4000000000000003e194 < y0

    1. Initial program 26.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 y4 around inf 35.1%

      \[\leadsto \color{blue}{y4 \cdot \left(b \cdot \left(j \cdot t - k \cdot y\right) - c \cdot \left(t \cdot y2 - y \cdot y3\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 58.6%

      \[\leadsto \color{blue}{c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    5. Taylor expanded in y3 around 0 55.9%

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

    if -4.1999999999999996e-6 < y0 < 1.16000000000000006e-294

    1. Initial program 38.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 t around inf 37.1%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in y2 around inf 37.5%

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

    if 1.16000000000000006e-294 < y0 < 5.4000000000000003e194

    1. Initial program 33.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 b around inf 42.0%

      \[\leadsto \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)} \]
    4. Taylor expanded in a around inf 38.7%

      \[\leadsto b \cdot \color{blue}{\left(a \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification43.5%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -2.2 \cdot 10^{+85}:\\ \;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y0 \leq -4.2 \cdot 10^{-6}:\\ \;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \mathbf{elif}\;y0 \leq 1.16 \cdot 10^{-294}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;y0 \leq 5.4 \cdot 10^{+194}:\\ \;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 27: 22.0% accurate, 3.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := z \cdot \left(k \cdot \left(i \cdot \left(-y1\right)\right)\right)\\ \mathbf{if}\;i \leq -2.35 \cdot 10^{+101}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;i \leq -1.7 \cdot 10^{-17}:\\ \;\;\;\;b \cdot \left(a \cdot \left(z \cdot \left(-t\right)\right)\right)\\ \mathbf{elif}\;i \leq -4.8 \cdot 10^{-176}:\\ \;\;\;\;y \cdot \left(y4 \cdot \left(b \cdot \left(-k\right)\right)\right)\\ \mathbf{elif}\;i \leq 8.2 \cdot 10^{+66}:\\ \;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\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 (* z (* k (* i (- y1))))))
   (if (<= i -2.35e+101)
     t_1
     (if (<= i -1.7e-17)
       (* b (* a (* z (- t))))
       (if (<= i -4.8e-176)
         (* y (* y4 (* b (- k))))
         (if (<= i 8.2e+66) (* a (* (* x y) b)) t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = z * (k * (i * -y1));
	double tmp;
	if (i <= -2.35e+101) {
		tmp = t_1;
	} else if (i <= -1.7e-17) {
		tmp = b * (a * (z * -t));
	} else if (i <= -4.8e-176) {
		tmp = y * (y4 * (b * -k));
	} else if (i <= 8.2e+66) {
		tmp = a * ((x * y) * b);
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = z * (k * (i * -y1))
    if (i <= (-2.35d+101)) then
        tmp = t_1
    else if (i <= (-1.7d-17)) then
        tmp = b * (a * (z * -t))
    else if (i <= (-4.8d-176)) then
        tmp = y * (y4 * (b * -k))
    else if (i <= 8.2d+66) then
        tmp = a * ((x * y) * b)
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = z * (k * (i * -y1));
	double tmp;
	if (i <= -2.35e+101) {
		tmp = t_1;
	} else if (i <= -1.7e-17) {
		tmp = b * (a * (z * -t));
	} else if (i <= -4.8e-176) {
		tmp = y * (y4 * (b * -k));
	} else if (i <= 8.2e+66) {
		tmp = a * ((x * y) * b);
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = z * (k * (i * -y1))
	tmp = 0
	if i <= -2.35e+101:
		tmp = t_1
	elif i <= -1.7e-17:
		tmp = b * (a * (z * -t))
	elif i <= -4.8e-176:
		tmp = y * (y4 * (b * -k))
	elif i <= 8.2e+66:
		tmp = a * ((x * y) * b)
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(z * Float64(k * Float64(i * Float64(-y1))))
	tmp = 0.0
	if (i <= -2.35e+101)
		tmp = t_1;
	elseif (i <= -1.7e-17)
		tmp = Float64(b * Float64(a * Float64(z * Float64(-t))));
	elseif (i <= -4.8e-176)
		tmp = Float64(y * Float64(y4 * Float64(b * Float64(-k))));
	elseif (i <= 8.2e+66)
		tmp = Float64(a * Float64(Float64(x * y) * b));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = z * (k * (i * -y1));
	tmp = 0.0;
	if (i <= -2.35e+101)
		tmp = t_1;
	elseif (i <= -1.7e-17)
		tmp = b * (a * (z * -t));
	elseif (i <= -4.8e-176)
		tmp = y * (y4 * (b * -k));
	elseif (i <= 8.2e+66)
		tmp = a * ((x * y) * b);
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(z * N[(k * N[(i * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -2.35e+101], t$95$1, If[LessEqual[i, -1.7e-17], N[(b * N[(a * N[(z * (-t)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -4.8e-176], N[(y * N[(y4 * N[(b * (-k)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 8.2e+66], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := z \cdot \left(k \cdot \left(i \cdot \left(-y1\right)\right)\right)\\
\mathbf{if}\;i \leq -2.35 \cdot 10^{+101}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;i \leq -1.7 \cdot 10^{-17}:\\
\;\;\;\;b \cdot \left(a \cdot \left(z \cdot \left(-t\right)\right)\right)\\

\mathbf{elif}\;i \leq -4.8 \cdot 10^{-176}:\\
\;\;\;\;y \cdot \left(y4 \cdot \left(b \cdot \left(-k\right)\right)\right)\\

\mathbf{elif}\;i \leq 8.2 \cdot 10^{+66}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if i < -2.34999999999999985e101 or 8.19999999999999989e66 < i

    1. Initial program 26.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 z around -inf 42.0%

      \[\leadsto \color{blue}{-1 \cdot \left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Taylor expanded in k around inf 42.6%

      \[\leadsto -1 \cdot \left(z \cdot \color{blue}{\left(k \cdot \left(i \cdot y1 - b \cdot y0\right)\right)}\right) \]
    5. Taylor expanded in i around inf 42.9%

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

    if -2.34999999999999985e101 < i < -1.6999999999999999e-17

    1. Initial program 42.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 37.5%

      \[\leadsto \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)} \]
    4. Taylor expanded in a around inf 31.7%

      \[\leadsto b \cdot \color{blue}{\left(a \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around 0 31.5%

      \[\leadsto b \cdot \left(a \cdot \color{blue}{\left(-1 \cdot \left(t \cdot z\right)\right)}\right) \]
    6. Step-by-step derivation
      1. mul-1-neg31.5%

        \[\leadsto b \cdot \left(a \cdot \color{blue}{\left(-t \cdot z\right)}\right) \]
      2. distribute-lft-neg-out31.5%

        \[\leadsto b \cdot \left(a \cdot \color{blue}{\left(\left(-t\right) \cdot z\right)}\right) \]
      3. *-commutative31.5%

        \[\leadsto b \cdot \left(a \cdot \color{blue}{\left(z \cdot \left(-t\right)\right)}\right) \]
    7. Simplified31.5%

      \[\leadsto b \cdot \left(a \cdot \color{blue}{\left(z \cdot \left(-t\right)\right)}\right) \]

    if -1.6999999999999999e-17 < i < -4.80000000000000012e-176

    1. Initial program 38.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 y4 around inf 42.8%

      \[\leadsto \color{blue}{y4 \cdot \left(b \cdot \left(j \cdot t - k \cdot y\right) - c \cdot \left(t \cdot y2 - y \cdot y3\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 42.7%

      \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(y4 \cdot \left(b \cdot k - c \cdot y3\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg42.7%

        \[\leadsto \color{blue}{-y \cdot \left(y4 \cdot \left(b \cdot k - c \cdot y3\right)\right)} \]
    6. Simplified42.7%

      \[\leadsto \color{blue}{-y \cdot \left(y4 \cdot \left(b \cdot k - c \cdot y3\right)\right)} \]
    7. Taylor expanded in b around inf 36.7%

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

    if -4.80000000000000012e-176 < i < 8.19999999999999989e66

    1. Initial program 31.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 37.4%

      \[\leadsto \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)} \]
    4. Taylor expanded in a around inf 29.5%

      \[\leadsto b \cdot \color{blue}{\left(a \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around inf 25.8%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification33.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -2.35 \cdot 10^{+101}:\\ \;\;\;\;z \cdot \left(k \cdot \left(i \cdot \left(-y1\right)\right)\right)\\ \mathbf{elif}\;i \leq -1.7 \cdot 10^{-17}:\\ \;\;\;\;b \cdot \left(a \cdot \left(z \cdot \left(-t\right)\right)\right)\\ \mathbf{elif}\;i \leq -4.8 \cdot 10^{-176}:\\ \;\;\;\;y \cdot \left(y4 \cdot \left(b \cdot \left(-k\right)\right)\right)\\ \mathbf{elif}\;i \leq 8.2 \cdot 10^{+66}:\\ \;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(k \cdot \left(i \cdot \left(-y1\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 28: 28.2% accurate, 3.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y0 \leq -80000:\\ \;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y0 \leq -2.05 \cdot 10^{-163}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{elif}\;y0 \leq -9.5 \cdot 10^{-298}:\\ \;\;\;\;b \cdot \left(\left(-k\right) \cdot \left(y \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\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 -80000.0)
   (* b (* y0 (- (* z k) (* x j))))
   (if (<= y0 -2.05e-163)
     (* b (* x (- (* y a) (* j y0))))
     (if (<= y0 -9.5e-298)
       (* b (* (- k) (* y y4)))
       (* b (* a (- (* x y) (* z t))))))))
double code(double x, double y, double z, double t, double 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 <= -80000.0) {
		tmp = b * (y0 * ((z * k) - (x * j)));
	} else if (y0 <= -2.05e-163) {
		tmp = b * (x * ((y * a) - (j * y0)));
	} else if (y0 <= -9.5e-298) {
		tmp = b * (-k * (y * y4));
	} else {
		tmp = b * (a * ((x * y) - (z * t)));
	}
	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 <= (-80000.0d0)) then
        tmp = b * (y0 * ((z * k) - (x * j)))
    else if (y0 <= (-2.05d-163)) then
        tmp = b * (x * ((y * a) - (j * y0)))
    else if (y0 <= (-9.5d-298)) then
        tmp = b * (-k * (y * y4))
    else
        tmp = b * (a * ((x * y) - (z * t)))
    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 <= -80000.0) {
		tmp = b * (y0 * ((z * k) - (x * j)));
	} else if (y0 <= -2.05e-163) {
		tmp = b * (x * ((y * a) - (j * y0)));
	} else if (y0 <= -9.5e-298) {
		tmp = b * (-k * (y * y4));
	} else {
		tmp = b * (a * ((x * y) - (z * t)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if y0 <= -80000.0:
		tmp = b * (y0 * ((z * k) - (x * j)))
	elif y0 <= -2.05e-163:
		tmp = b * (x * ((y * a) - (j * y0)))
	elif y0 <= -9.5e-298:
		tmp = b * (-k * (y * y4))
	else:
		tmp = b * (a * ((x * y) - (z * t)))
	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 <= -80000.0)
		tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j))));
	elseif (y0 <= -2.05e-163)
		tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0))));
	elseif (y0 <= -9.5e-298)
		tmp = Float64(b * Float64(Float64(-k) * Float64(y * y4)));
	else
		tmp = Float64(b * Float64(a * Float64(Float64(x * y) - Float64(z * t))));
	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 <= -80000.0)
		tmp = b * (y0 * ((z * k) - (x * j)));
	elseif (y0 <= -2.05e-163)
		tmp = b * (x * ((y * a) - (j * y0)));
	elseif (y0 <= -9.5e-298)
		tmp = b * (-k * (y * y4));
	else
		tmp = b * (a * ((x * y) - (z * t)));
	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, -80000.0], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -2.05e-163], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -9.5e-298], N[(b * N[((-k) * N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;y0 \leq -80000:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\

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

\mathbf{elif}\;y0 \leq -9.5 \cdot 10^{-298}:\\
\;\;\;\;b \cdot \left(\left(-k\right) \cdot \left(y \cdot y4\right)\right)\\

\mathbf{else}:\\
\;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if y0 < -8e4

    1. Initial program 31.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 42.0%

      \[\leadsto \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)} \]
    4. Taylor expanded in y0 around inf 47.1%

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

    if -8e4 < y0 < -2.04999999999999991e-163

    1. Initial program 36.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 37.3%

      \[\leadsto \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)} \]
    4. Taylor expanded in x around inf 33.1%

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

    if -2.04999999999999991e-163 < y0 < -9.50000000000000012e-298

    1. Initial program 42.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 53.4%

      \[\leadsto \color{blue}{y4 \cdot \left(b \cdot \left(j \cdot t - k \cdot y\right) - c \cdot \left(t \cdot y2 - y \cdot y3\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 34.6%

      \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(y4 \cdot \left(b \cdot k - c \cdot y3\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg34.6%

        \[\leadsto \color{blue}{-y \cdot \left(y4 \cdot \left(b \cdot k - c \cdot y3\right)\right)} \]
    6. Simplified34.6%

      \[\leadsto \color{blue}{-y \cdot \left(y4 \cdot \left(b \cdot k - c \cdot y3\right)\right)} \]
    7. Taylor expanded in b around inf 30.2%

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

    if -9.50000000000000012e-298 < y0

    1. Initial program 28.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 38.4%

      \[\leadsto \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)} \]
    4. Taylor expanded in a around inf 36.6%

      \[\leadsto b \cdot \color{blue}{\left(a \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification38.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -80000:\\ \;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y0 \leq -2.05 \cdot 10^{-163}:\\ \;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\ \mathbf{elif}\;y0 \leq -9.5 \cdot 10^{-298}:\\ \;\;\;\;b \cdot \left(\left(-k\right) \cdot \left(y \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 29: 22.5% accurate, 5.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y \leq -7.8 \cdot 10^{+70}:\\ \;\;\;\;c \cdot \left(y3 \cdot \left(y \cdot y4\right)\right)\\ \mathbf{elif}\;y \leq 6 \cdot 10^{+17}:\\ \;\;\;\;a \cdot \left(t \cdot \left(b \cdot \left(-z\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\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 (<= y -7.8e+70)
   (* c (* y3 (* y y4)))
   (if (<= y 6e+17) (* a (* t (* b (- z)))) (* 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) {
	double tmp;
	if (y <= -7.8e+70) {
		tmp = c * (y3 * (y * y4));
	} else if (y <= 6e+17) {
		tmp = a * (t * (b * -z));
	} else {
		tmp = a * ((x * y) * b);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: tmp
    if (y <= (-7.8d+70)) then
        tmp = c * (y3 * (y * y4))
    else if (y <= 6d+17) then
        tmp = a * (t * (b * -z))
    else
        tmp = a * ((x * y) * b)
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (y <= -7.8e+70) {
		tmp = c * (y3 * (y * y4));
	} else if (y <= 6e+17) {
		tmp = a * (t * (b * -z));
	} else {
		tmp = a * ((x * y) * b);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if y <= -7.8e+70:
		tmp = c * (y3 * (y * y4))
	elif y <= 6e+17:
		tmp = a * (t * (b * -z))
	else:
		tmp = a * ((x * y) * b)
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (y <= -7.8e+70)
		tmp = Float64(c * Float64(y3 * Float64(y * y4)));
	elseif (y <= 6e+17)
		tmp = Float64(a * Float64(t * Float64(b * Float64(-z))));
	else
		tmp = Float64(a * Float64(Float64(x * y) * b));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0;
	if (y <= -7.8e+70)
		tmp = c * (y3 * (y * y4));
	elseif (y <= 6e+17)
		tmp = a * (t * (b * -z));
	else
		tmp = a * ((x * y) * b);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -7.8e+70], N[(c * N[(y3 * N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 6e+17], N[(a * N[(t * N[(b * (-z)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;y \leq -7.8 \cdot 10^{+70}:\\
\;\;\;\;c \cdot \left(y3 \cdot \left(y \cdot y4\right)\right)\\

\mathbf{elif}\;y \leq 6 \cdot 10^{+17}:\\
\;\;\;\;a \cdot \left(t \cdot \left(b \cdot \left(-z\right)\right)\right)\\

\mathbf{else}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if y < -7.79999999999999949e70

    1. Initial program 31.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 y4 around inf 38.6%

      \[\leadsto \color{blue}{y4 \cdot \left(b \cdot \left(j \cdot t - k \cdot y\right) - c \cdot \left(t \cdot y2 - y \cdot y3\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 34.3%

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

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

        \[\leadsto c \cdot \left(y \cdot \color{blue}{\left(y4 \cdot y3\right)}\right) \]
      2. associate-*r*49.8%

        \[\leadsto c \cdot \color{blue}{\left(\left(y \cdot y4\right) \cdot y3\right)} \]
    7. Simplified49.8%

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

    if -7.79999999999999949e70 < y < 6e17

    1. Initial program 35.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 t around inf 37.2%

      \[\leadsto \color{blue}{t \cdot \left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Taylor expanded in a around -inf 29.3%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(t \cdot \left(b \cdot z - y2 \cdot y5\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg29.3%

        \[\leadsto \color{blue}{-a \cdot \left(t \cdot \left(b \cdot z - y2 \cdot y5\right)\right)} \]
    6. Simplified29.3%

      \[\leadsto \color{blue}{-a \cdot \left(t \cdot \left(b \cdot z - y2 \cdot y5\right)\right)} \]
    7. Taylor expanded in b around inf 23.7%

      \[\leadsto -a \cdot \left(t \cdot \color{blue}{\left(b \cdot z\right)}\right) \]
    8. Step-by-step derivation
      1. *-commutative23.7%

        \[\leadsto -a \cdot \left(t \cdot \color{blue}{\left(z \cdot b\right)}\right) \]
    9. Simplified23.7%

      \[\leadsto -a \cdot \left(t \cdot \color{blue}{\left(z \cdot b\right)}\right) \]

    if 6e17 < y

    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 b around inf 31.5%

      \[\leadsto \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)} \]
    4. Taylor expanded in a around inf 33.7%

      \[\leadsto b \cdot \color{blue}{\left(a \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around inf 28.7%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification29.5%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -7.8 \cdot 10^{+70}:\\ \;\;\;\;c \cdot \left(y3 \cdot \left(y \cdot y4\right)\right)\\ \mathbf{elif}\;y \leq 6 \cdot 10^{+17}:\\ \;\;\;\;a \cdot \left(t \cdot \left(b \cdot \left(-z\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 30: 22.7% accurate, 5.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y \leq -9 \cdot 10^{+83}:\\ \;\;\;\;c \cdot \left(y3 \cdot \left(y \cdot y4\right)\right)\\ \mathbf{elif}\;y \leq 3.4 \cdot 10^{+17}:\\ \;\;\;\;a \cdot \left(b \cdot \left(z \cdot \left(-t\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\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 (<= y -9e+83)
   (* c (* y3 (* y y4)))
   (if (<= y 3.4e+17) (* a (* b (* z (- t)))) (* 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) {
	double tmp;
	if (y <= -9e+83) {
		tmp = c * (y3 * (y * y4));
	} else if (y <= 3.4e+17) {
		tmp = a * (b * (z * -t));
	} else {
		tmp = a * ((x * y) * b);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: tmp
    if (y <= (-9d+83)) then
        tmp = c * (y3 * (y * y4))
    else if (y <= 3.4d+17) then
        tmp = a * (b * (z * -t))
    else
        tmp = a * ((x * y) * b)
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (y <= -9e+83) {
		tmp = c * (y3 * (y * y4));
	} else if (y <= 3.4e+17) {
		tmp = a * (b * (z * -t));
	} else {
		tmp = a * ((x * y) * b);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if y <= -9e+83:
		tmp = c * (y3 * (y * y4))
	elif y <= 3.4e+17:
		tmp = a * (b * (z * -t))
	else:
		tmp = a * ((x * y) * b)
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (y <= -9e+83)
		tmp = Float64(c * Float64(y3 * Float64(y * y4)));
	elseif (y <= 3.4e+17)
		tmp = Float64(a * Float64(b * Float64(z * Float64(-t))));
	else
		tmp = Float64(a * Float64(Float64(x * y) * b));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0;
	if (y <= -9e+83)
		tmp = c * (y3 * (y * y4));
	elseif (y <= 3.4e+17)
		tmp = a * (b * (z * -t));
	else
		tmp = a * ((x * y) * b);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -9e+83], N[(c * N[(y3 * N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 3.4e+17], N[(a * N[(b * N[(z * (-t)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;y \leq -9 \cdot 10^{+83}:\\
\;\;\;\;c \cdot \left(y3 \cdot \left(y \cdot y4\right)\right)\\

\mathbf{elif}\;y \leq 3.4 \cdot 10^{+17}:\\
\;\;\;\;a \cdot \left(b \cdot \left(z \cdot \left(-t\right)\right)\right)\\

\mathbf{else}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if y < -8.9999999999999999e83

    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 y4 around inf 38.9%

      \[\leadsto \color{blue}{y4 \cdot \left(b \cdot \left(j \cdot t - k \cdot y\right) - c \cdot \left(t \cdot y2 - y \cdot y3\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 34.2%

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

      \[\leadsto \color{blue}{c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)} \]
    6. Step-by-step derivation
      1. *-commutative41.7%

        \[\leadsto c \cdot \left(y \cdot \color{blue}{\left(y4 \cdot y3\right)}\right) \]
      2. associate-*r*50.9%

        \[\leadsto c \cdot \color{blue}{\left(\left(y \cdot y4\right) \cdot y3\right)} \]
    7. Simplified50.9%

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

    if -8.9999999999999999e83 < y < 3.4e17

    1. Initial program 35.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 37.7%

      \[\leadsto \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)} \]
    4. Taylor expanded in a around inf 27.2%

      \[\leadsto b \cdot \color{blue}{\left(a \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around 0 25.2%

      \[\leadsto \color{blue}{-1 \cdot \left(a \cdot \left(b \cdot \left(t \cdot z\right)\right)\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg25.2%

        \[\leadsto \color{blue}{-a \cdot \left(b \cdot \left(t \cdot z\right)\right)} \]
      2. distribute-rgt-neg-in25.2%

        \[\leadsto \color{blue}{a \cdot \left(-b \cdot \left(t \cdot z\right)\right)} \]
      3. *-commutative25.2%

        \[\leadsto a \cdot \left(-b \cdot \color{blue}{\left(z \cdot t\right)}\right) \]
      4. distribute-rgt-neg-out25.2%

        \[\leadsto a \cdot \color{blue}{\left(b \cdot \left(-z \cdot t\right)\right)} \]
      5. distribute-rgt-neg-in25.2%

        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(z \cdot \left(-t\right)\right)}\right) \]
    7. Simplified25.2%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(z \cdot \left(-t\right)\right)\right)} \]

    if 3.4e17 < y

    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 b around inf 31.5%

      \[\leadsto \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)} \]
    4. Taylor expanded in a around inf 33.7%

      \[\leadsto b \cdot \color{blue}{\left(a \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around inf 28.7%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification30.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -9 \cdot 10^{+83}:\\ \;\;\;\;c \cdot \left(y3 \cdot \left(y \cdot y4\right)\right)\\ \mathbf{elif}\;y \leq 3.4 \cdot 10^{+17}:\\ \;\;\;\;a \cdot \left(b \cdot \left(z \cdot \left(-t\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 31: 22.8% accurate, 5.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y4 \leq -1.76 \cdot 10^{+49} \lor \neg \left(y4 \leq 1.3 \cdot 10^{+107}\right):\\ \;\;\;\;c \cdot \left(y3 \cdot \left(y \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(y \cdot \left(x \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 (<= y4 -1.76e+49) (not (<= y4 1.3e+107)))
   (* c (* y3 (* y y4)))
   (* b (* y (* x a)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if ((y4 <= -1.76e+49) || !(y4 <= 1.3e+107)) {
		tmp = c * (y3 * (y * y4));
	} else {
		tmp = b * (y * (x * a));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: tmp
    if ((y4 <= (-1.76d+49)) .or. (.not. (y4 <= 1.3d+107))) then
        tmp = c * (y3 * (y * y4))
    else
        tmp = b * (y * (x * a))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if ((y4 <= -1.76e+49) || !(y4 <= 1.3e+107)) {
		tmp = c * (y3 * (y * y4));
	} else {
		tmp = b * (y * (x * a));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if (y4 <= -1.76e+49) or not (y4 <= 1.3e+107):
		tmp = c * (y3 * (y * y4))
	else:
		tmp = b * (y * (x * a))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if ((y4 <= -1.76e+49) || !(y4 <= 1.3e+107))
		tmp = Float64(c * Float64(y3 * Float64(y * y4)));
	else
		tmp = Float64(b * Float64(y * Float64(x * a)));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0;
	if ((y4 <= -1.76e+49) || ~((y4 <= 1.3e+107)))
		tmp = c * (y3 * (y * y4));
	else
		tmp = b * (y * (x * a));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[Or[LessEqual[y4, -1.76e+49], N[Not[LessEqual[y4, 1.3e+107]], $MachinePrecision]], N[(c * N[(y3 * N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(y * N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;y4 \leq -1.76 \cdot 10^{+49} \lor \neg \left(y4 \leq 1.3 \cdot 10^{+107}\right):\\
\;\;\;\;c \cdot \left(y3 \cdot \left(y \cdot y4\right)\right)\\

\mathbf{else}:\\
\;\;\;\;b \cdot \left(y \cdot \left(x \cdot a\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if y4 < -1.7599999999999999e49 or 1.3000000000000001e107 < y4

    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 y4 around inf 41.1%

      \[\leadsto \color{blue}{y4 \cdot \left(b \cdot \left(j \cdot t - k \cdot y\right) - c \cdot \left(t \cdot y2 - y \cdot y3\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 44.9%

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

      \[\leadsto \color{blue}{c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)} \]
    6. Step-by-step derivation
      1. *-commutative38.2%

        \[\leadsto c \cdot \left(y \cdot \color{blue}{\left(y4 \cdot y3\right)}\right) \]
      2. associate-*r*41.6%

        \[\leadsto c \cdot \color{blue}{\left(\left(y \cdot y4\right) \cdot y3\right)} \]
    7. Simplified41.6%

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

    if -1.7599999999999999e49 < y4 < 1.3000000000000001e107

    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 35.6%

      \[\leadsto \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)} \]
    4. Taylor expanded in a around inf 31.3%

      \[\leadsto b \cdot \color{blue}{\left(a \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around inf 20.2%

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

        \[\leadsto b \cdot \color{blue}{\left(\left(a \cdot x\right) \cdot y\right)} \]
    7. Simplified21.4%

      \[\leadsto b \cdot \color{blue}{\left(\left(a \cdot x\right) \cdot y\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification28.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y4 \leq -1.76 \cdot 10^{+49} \lor \neg \left(y4 \leq 1.3 \cdot 10^{+107}\right):\\ \;\;\;\;c \cdot \left(y3 \cdot \left(y \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(y \cdot \left(x \cdot a\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 32: 22.9% accurate, 5.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;x \leq -3.4 \cdot 10^{-44}:\\ \;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\ \mathbf{elif}\;x \leq 5.4 \cdot 10^{+27}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(y \cdot \left(x \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 (<= x -3.4e-44)
   (* a (* (* x y) b))
   (if (<= x 5.4e+27) (* c (* y (* y3 y4))) (* b (* y (* x 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 (x <= -3.4e-44) {
		tmp = a * ((x * y) * b);
	} else if (x <= 5.4e+27) {
		tmp = c * (y * (y3 * y4));
	} else {
		tmp = b * (y * (x * 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 (x <= (-3.4d-44)) then
        tmp = a * ((x * y) * b)
    else if (x <= 5.4d+27) then
        tmp = c * (y * (y3 * y4))
    else
        tmp = b * (y * (x * 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 (x <= -3.4e-44) {
		tmp = a * ((x * y) * b);
	} else if (x <= 5.4e+27) {
		tmp = c * (y * (y3 * y4));
	} else {
		tmp = b * (y * (x * a));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if x <= -3.4e-44:
		tmp = a * ((x * y) * b)
	elif x <= 5.4e+27:
		tmp = c * (y * (y3 * y4))
	else:
		tmp = b * (y * (x * 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 (x <= -3.4e-44)
		tmp = Float64(a * Float64(Float64(x * y) * b));
	elseif (x <= 5.4e+27)
		tmp = Float64(c * Float64(y * Float64(y3 * y4)));
	else
		tmp = Float64(b * Float64(y * Float64(x * 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 (x <= -3.4e-44)
		tmp = a * ((x * y) * b);
	elseif (x <= 5.4e+27)
		tmp = c * (y * (y3 * y4));
	else
		tmp = b * (y * (x * a));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[x, -3.4e-44], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 5.4e+27], N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(y * N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;x \leq -3.4 \cdot 10^{-44}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\

\mathbf{elif}\;x \leq 5.4 \cdot 10^{+27}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\

\mathbf{else}:\\
\;\;\;\;b \cdot \left(y \cdot \left(x \cdot a\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if x < -3.40000000000000016e-44

    1. Initial program 23.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.3%

      \[\leadsto \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)} \]
    4. Taylor expanded in a around inf 40.0%

      \[\leadsto b \cdot \color{blue}{\left(a \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around inf 32.1%

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

    if -3.40000000000000016e-44 < x < 5.3999999999999995e27

    1. Initial program 41.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 y4 around inf 38.9%

      \[\leadsto \color{blue}{y4 \cdot \left(b \cdot \left(j \cdot t - k \cdot y\right) - c \cdot \left(t \cdot y2 - y \cdot y3\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 35.9%

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

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

    if 5.3999999999999995e27 < x

    1. Initial program 20.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 45.7%

      \[\leadsto \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)} \]
    4. Taylor expanded in a around inf 44.5%

      \[\leadsto b \cdot \color{blue}{\left(a \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around inf 39.0%

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

        \[\leadsto b \cdot \color{blue}{\left(\left(a \cdot x\right) \cdot y\right)} \]
    7. Simplified44.4%

      \[\leadsto b \cdot \color{blue}{\left(\left(a \cdot x\right) \cdot y\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification28.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -3.4 \cdot 10^{-44}:\\ \;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\ \mathbf{elif}\;x \leq 5.4 \cdot 10^{+27}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(y \cdot \left(x \cdot a\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 33: 18.3% accurate, 7.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;a \leq 2 \cdot 10^{+71}:\\ \;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(y \cdot \left(x \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 (<= a 2e+71) (* a (* (* x y) b)) (* b (* y (* x 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 (a <= 2e+71) {
		tmp = a * ((x * y) * b);
	} else {
		tmp = b * (y * (x * 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 (a <= 2d+71) then
        tmp = a * ((x * y) * b)
    else
        tmp = b * (y * (x * 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 (a <= 2e+71) {
		tmp = a * ((x * y) * b);
	} else {
		tmp = b * (y * (x * a));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if a <= 2e+71:
		tmp = a * ((x * y) * b)
	else:
		tmp = b * (y * (x * 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 (a <= 2e+71)
		tmp = Float64(a * Float64(Float64(x * y) * b));
	else
		tmp = Float64(b * Float64(y * Float64(x * 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 (a <= 2e+71)
		tmp = a * ((x * y) * b);
	else
		tmp = b * (y * (x * a));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[a, 2e+71], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], N[(b * N[(y * N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;a \leq 2 \cdot 10^{+71}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\

\mathbf{else}:\\
\;\;\;\;b \cdot \left(y \cdot \left(x \cdot a\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if a < 2.0000000000000001e71

    1. Initial program 34.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 37.5%

      \[\leadsto \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)} \]
    4. Taylor expanded in a around inf 27.6%

      \[\leadsto b \cdot \color{blue}{\left(a \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around inf 17.7%

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

    if 2.0000000000000001e71 < a

    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 b around inf 43.9%

      \[\leadsto \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)} \]
    4. Taylor expanded in a around inf 44.2%

      \[\leadsto b \cdot \color{blue}{\left(a \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around inf 37.1%

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

        \[\leadsto b \cdot \color{blue}{\left(\left(a \cdot x\right) \cdot y\right)} \]
    7. Simplified44.4%

      \[\leadsto b \cdot \color{blue}{\left(\left(a \cdot x\right) \cdot y\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification23.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq 2 \cdot 10^{+71}:\\ \;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(y \cdot \left(x \cdot a\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 34: 16.9% 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 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 b around inf 38.8%

    \[\leadsto \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)} \]
  4. Taylor expanded in a around inf 31.0%

    \[\leadsto b \cdot \color{blue}{\left(a \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
  5. Taylor expanded in x around inf 20.6%

    \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
  6. Final simplification20.6%

    \[\leadsto a \cdot \left(\left(x \cdot y\right) \cdot b\right) \]
  7. Add Preprocessing

Developer target: 27.8% 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 2024059 
(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)))))