Linear.Matrix:det44 from linear-1.19.1.3

Percentage Accurate: 30.6% → 39.1%
Time: 2.0min
Alternatives: 50
Speedup: 2.6×

Specification

?
\[\begin{array}{l} \\ \left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (+
  (-
   (+
    (+
     (-
      (* (- (* x y) (* z t)) (- (* a b) (* c i)))
      (* (- (* x j) (* z k)) (- (* y0 b) (* y1 i))))
     (* (- (* x y2) (* z y3)) (- (* y0 c) (* y1 a))))
    (* (- (* t j) (* y k)) (- (* y4 b) (* y5 i))))
   (* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a))))
  (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    code = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	return Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) - Float64(z * t)) * Float64(Float64(a * b) - Float64(c * i))) - Float64(Float64(Float64(x * j) - Float64(z * k)) * Float64(Float64(y0 * b) - Float64(y1 * i)))) + Float64(Float64(Float64(x * y2) - Float64(z * y3)) * Float64(Float64(y0 * c) - Float64(y1 * a)))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * Float64(Float64(y4 * b) - Float64(y5 * i)))) - Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(y4 * c) - Float64(y5 * a)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y4 * y1) - Float64(y5 * y0))))
end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)
\end{array}

Sampling outcomes in binary64 precision:

Local Percentage Accuracy vs ?

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

Accuracy vs Speed?

Herbie found 50 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.6% 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.1% accurate, 1.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right) + \frac{\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}{y}\right)\\ t_2 := y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\\ t_3 := a \cdot b - c \cdot i\\ t_4 := y5 \cdot \left(t \cdot \left(a \cdot y2 - i \cdot j\right) - \frac{t \cdot \left(c \cdot \left(y2 \cdot y4\right) + \left(z \cdot t\_3 - b \cdot \left(j \cdot y4\right)\right)\right)}{y5}\right)\\ t_5 := c \cdot i - a \cdot b\\ \mathbf{if}\;z \leq -9.8 \cdot 10^{+227}:\\ \;\;\;\;c \cdot \left(y3 \cdot \left(y \cdot y4 - z \cdot y0\right)\right)\\ \mathbf{elif}\;z \leq -1.16 \cdot 10^{+88}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq -1.02 \cdot 10^{+19}:\\ \;\;\;\;t\_4\\ \mathbf{elif}\;z \leq -1 \cdot 10^{-10}:\\ \;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(y0 \cdot \left(j \cdot y3 - k \cdot y2\right) - i \cdot \left(t \cdot j - y \cdot k\right)\right)\right)\\ \mathbf{elif}\;z \leq -4.2 \cdot 10^{-50}:\\ \;\;\;\;a \cdot \left(b \cdot \left(t \cdot \left(x \cdot \frac{y}{t} - z\right)\right)\right)\\ \mathbf{elif}\;z \leq -5.4 \cdot 10^{-156}:\\ \;\;\;\;t\_4\\ \mathbf{elif}\;z \leq -2 \cdot 10^{-244}:\\ \;\;\;\;x \cdot \left(\left(y \cdot t\_3 + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\ \mathbf{elif}\;z \leq 6 \cdot 10^{-221}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq 1.05 \cdot 10^{-19}:\\ \;\;\;\;c \cdot \left(\left(i \cdot \left(z \cdot t - x \cdot y\right) + t\_2\right) + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;z \leq 7.6 \cdot 10^{+81}:\\ \;\;\;\;t \cdot \left(\left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + z \cdot t\_5\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;z \leq 3.7 \cdot 10^{+90}:\\ \;\;\;\;c \cdot t\_2\\ \mathbf{elif}\;z \leq 7.2 \cdot 10^{+219}:\\ \;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(t \cdot t\_5 + y3 \cdot \left(a \cdot y1 - c \cdot y0\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
          (+
           (* y3 (- (* c y4) (* a y5)))
           (/ (* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5))) y))))
        (t_2 (* y0 (- (* x y2) (* z y3))))
        (t_3 (- (* a b) (* c i)))
        (t_4
         (*
          y5
          (-
           (* t (- (* a y2) (* i j)))
           (/ (* t (+ (* c (* y2 y4)) (- (* z t_3) (* b (* j y4))))) y5))))
        (t_5 (- (* c i) (* a b))))
   (if (<= z -9.8e+227)
     (* c (* y3 (- (* y y4) (* z y0))))
     (if (<= z -1.16e+88)
       t_1
       (if (<= z -1.02e+19)
         t_4
         (if (<= z -1e-10)
           (*
            y5
            (+
             (* a (- (* t y2) (* y y3)))
             (- (* y0 (- (* j y3) (* k y2))) (* i (- (* t j) (* y k))))))
           (if (<= z -4.2e-50)
             (* a (* b (* t (- (* x (/ y t)) z))))
             (if (<= z -5.4e-156)
               t_4
               (if (<= z -2e-244)
                 (*
                  x
                  (+
                   (+ (* y t_3) (* y2 (- (* c y0) (* a y1))))
                   (* j (- (* i y1) (* b y0)))))
                 (if (<= z 6e-221)
                   t_1
                   (if (<= z 1.05e-19)
                     (*
                      c
                      (+
                       (+ (* i (- (* z t) (* x y))) t_2)
                       (* y4 (- (* y y3) (* t y2)))))
                     (if (<= z 7.6e+81)
                       (*
                        t
                        (+
                         (+ (* j (- (* b y4) (* i y5))) (* z t_5))
                         (* y2 (- (* a y5) (* c y4)))))
                       (if (<= z 3.7e+90)
                         (* c t_2)
                         (if (<= z 7.2e+219)
                           (* i (* z (- (* t c) (* k y1))))
                           (*
                            z
                            (+
                             (* k (- (* b y0) (* i y1)))
                             (+
                              (* t t_5)
                              (* 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 = y * ((y3 * ((c * y4) - (a * y5))) + ((((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) / y));
	double t_2 = y0 * ((x * y2) - (z * y3));
	double t_3 = (a * b) - (c * i);
	double t_4 = y5 * ((t * ((a * y2) - (i * j))) - ((t * ((c * (y2 * y4)) + ((z * t_3) - (b * (j * y4))))) / y5));
	double t_5 = (c * i) - (a * b);
	double tmp;
	if (z <= -9.8e+227) {
		tmp = c * (y3 * ((y * y4) - (z * y0)));
	} else if (z <= -1.16e+88) {
		tmp = t_1;
	} else if (z <= -1.02e+19) {
		tmp = t_4;
	} else if (z <= -1e-10) {
		tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * ((j * y3) - (k * y2))) - (i * ((t * j) - (y * k)))));
	} else if (z <= -4.2e-50) {
		tmp = a * (b * (t * ((x * (y / t)) - z)));
	} else if (z <= -5.4e-156) {
		tmp = t_4;
	} else if (z <= -2e-244) {
		tmp = x * (((y * t_3) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
	} else if (z <= 6e-221) {
		tmp = t_1;
	} else if (z <= 1.05e-19) {
		tmp = c * (((i * ((z * t) - (x * y))) + t_2) + (y4 * ((y * y3) - (t * y2))));
	} else if (z <= 7.6e+81) {
		tmp = t * (((j * ((b * y4) - (i * y5))) + (z * t_5)) + (y2 * ((a * y5) - (c * y4))));
	} else if (z <= 3.7e+90) {
		tmp = c * t_2;
	} else if (z <= 7.2e+219) {
		tmp = i * (z * ((t * c) - (k * y1)));
	} else {
		tmp = z * ((k * ((b * y0) - (i * y1))) + ((t * t_5) + (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) :: t_2
    real(8) :: t_3
    real(8) :: t_4
    real(8) :: t_5
    real(8) :: tmp
    t_1 = y * ((y3 * ((c * y4) - (a * y5))) + ((((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) / y))
    t_2 = y0 * ((x * y2) - (z * y3))
    t_3 = (a * b) - (c * i)
    t_4 = y5 * ((t * ((a * y2) - (i * j))) - ((t * ((c * (y2 * y4)) + ((z * t_3) - (b * (j * y4))))) / y5))
    t_5 = (c * i) - (a * b)
    if (z <= (-9.8d+227)) then
        tmp = c * (y3 * ((y * y4) - (z * y0)))
    else if (z <= (-1.16d+88)) then
        tmp = t_1
    else if (z <= (-1.02d+19)) then
        tmp = t_4
    else if (z <= (-1d-10)) then
        tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * ((j * y3) - (k * y2))) - (i * ((t * j) - (y * k)))))
    else if (z <= (-4.2d-50)) then
        tmp = a * (b * (t * ((x * (y / t)) - z)))
    else if (z <= (-5.4d-156)) then
        tmp = t_4
    else if (z <= (-2d-244)) then
        tmp = x * (((y * t_3) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
    else if (z <= 6d-221) then
        tmp = t_1
    else if (z <= 1.05d-19) then
        tmp = c * (((i * ((z * t) - (x * y))) + t_2) + (y4 * ((y * y3) - (t * y2))))
    else if (z <= 7.6d+81) then
        tmp = t * (((j * ((b * y4) - (i * y5))) + (z * t_5)) + (y2 * ((a * y5) - (c * y4))))
    else if (z <= 3.7d+90) then
        tmp = c * t_2
    else if (z <= 7.2d+219) then
        tmp = i * (z * ((t * c) - (k * y1)))
    else
        tmp = z * ((k * ((b * y0) - (i * y1))) + ((t * t_5) + (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 = y * ((y3 * ((c * y4) - (a * y5))) + ((((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) / y));
	double t_2 = y0 * ((x * y2) - (z * y3));
	double t_3 = (a * b) - (c * i);
	double t_4 = y5 * ((t * ((a * y2) - (i * j))) - ((t * ((c * (y2 * y4)) + ((z * t_3) - (b * (j * y4))))) / y5));
	double t_5 = (c * i) - (a * b);
	double tmp;
	if (z <= -9.8e+227) {
		tmp = c * (y3 * ((y * y4) - (z * y0)));
	} else if (z <= -1.16e+88) {
		tmp = t_1;
	} else if (z <= -1.02e+19) {
		tmp = t_4;
	} else if (z <= -1e-10) {
		tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * ((j * y3) - (k * y2))) - (i * ((t * j) - (y * k)))));
	} else if (z <= -4.2e-50) {
		tmp = a * (b * (t * ((x * (y / t)) - z)));
	} else if (z <= -5.4e-156) {
		tmp = t_4;
	} else if (z <= -2e-244) {
		tmp = x * (((y * t_3) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
	} else if (z <= 6e-221) {
		tmp = t_1;
	} else if (z <= 1.05e-19) {
		tmp = c * (((i * ((z * t) - (x * y))) + t_2) + (y4 * ((y * y3) - (t * y2))));
	} else if (z <= 7.6e+81) {
		tmp = t * (((j * ((b * y4) - (i * y5))) + (z * t_5)) + (y2 * ((a * y5) - (c * y4))));
	} else if (z <= 3.7e+90) {
		tmp = c * t_2;
	} else if (z <= 7.2e+219) {
		tmp = i * (z * ((t * c) - (k * y1)));
	} else {
		tmp = z * ((k * ((b * y0) - (i * y1))) + ((t * t_5) + (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 = y * ((y3 * ((c * y4) - (a * y5))) + ((((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) / y))
	t_2 = y0 * ((x * y2) - (z * y3))
	t_3 = (a * b) - (c * i)
	t_4 = y5 * ((t * ((a * y2) - (i * j))) - ((t * ((c * (y2 * y4)) + ((z * t_3) - (b * (j * y4))))) / y5))
	t_5 = (c * i) - (a * b)
	tmp = 0
	if z <= -9.8e+227:
		tmp = c * (y3 * ((y * y4) - (z * y0)))
	elif z <= -1.16e+88:
		tmp = t_1
	elif z <= -1.02e+19:
		tmp = t_4
	elif z <= -1e-10:
		tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * ((j * y3) - (k * y2))) - (i * ((t * j) - (y * k)))))
	elif z <= -4.2e-50:
		tmp = a * (b * (t * ((x * (y / t)) - z)))
	elif z <= -5.4e-156:
		tmp = t_4
	elif z <= -2e-244:
		tmp = x * (((y * t_3) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
	elif z <= 6e-221:
		tmp = t_1
	elif z <= 1.05e-19:
		tmp = c * (((i * ((z * t) - (x * y))) + t_2) + (y4 * ((y * y3) - (t * y2))))
	elif z <= 7.6e+81:
		tmp = t * (((j * ((b * y4) - (i * y5))) + (z * t_5)) + (y2 * ((a * y5) - (c * y4))))
	elif z <= 3.7e+90:
		tmp = c * t_2
	elif z <= 7.2e+219:
		tmp = i * (z * ((t * c) - (k * y1)))
	else:
		tmp = z * ((k * ((b * y0) - (i * y1))) + ((t * t_5) + (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(y * Float64(Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5))) / y)))
	t_2 = Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))
	t_3 = Float64(Float64(a * b) - Float64(c * i))
	t_4 = Float64(y5 * Float64(Float64(t * Float64(Float64(a * y2) - Float64(i * j))) - Float64(Float64(t * Float64(Float64(c * Float64(y2 * y4)) + Float64(Float64(z * t_3) - Float64(b * Float64(j * y4))))) / y5)))
	t_5 = Float64(Float64(c * i) - Float64(a * b))
	tmp = 0.0
	if (z <= -9.8e+227)
		tmp = Float64(c * Float64(y3 * Float64(Float64(y * y4) - Float64(z * y0))));
	elseif (z <= -1.16e+88)
		tmp = t_1;
	elseif (z <= -1.02e+19)
		tmp = t_4;
	elseif (z <= -1e-10)
		tmp = Float64(y5 * Float64(Float64(a * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(Float64(y0 * Float64(Float64(j * y3) - Float64(k * y2))) - Float64(i * Float64(Float64(t * j) - Float64(y * k))))));
	elseif (z <= -4.2e-50)
		tmp = Float64(a * Float64(b * Float64(t * Float64(Float64(x * Float64(y / t)) - z))));
	elseif (z <= -5.4e-156)
		tmp = t_4;
	elseif (z <= -2e-244)
		tmp = Float64(x * Float64(Float64(Float64(y * t_3) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0)))));
	elseif (z <= 6e-221)
		tmp = t_1;
	elseif (z <= 1.05e-19)
		tmp = Float64(c * Float64(Float64(Float64(i * Float64(Float64(z * t) - Float64(x * y))) + t_2) + Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))));
	elseif (z <= 7.6e+81)
		tmp = Float64(t * Float64(Float64(Float64(j * Float64(Float64(b * y4) - Float64(i * y5))) + Float64(z * t_5)) + Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))));
	elseif (z <= 3.7e+90)
		tmp = Float64(c * t_2);
	elseif (z <= 7.2e+219)
		tmp = Float64(i * Float64(z * Float64(Float64(t * c) - Float64(k * y1))));
	else
		tmp = Float64(z * Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(Float64(t * t_5) + 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 = y * ((y3 * ((c * y4) - (a * y5))) + ((((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) / y));
	t_2 = y0 * ((x * y2) - (z * y3));
	t_3 = (a * b) - (c * i);
	t_4 = y5 * ((t * ((a * y2) - (i * j))) - ((t * ((c * (y2 * y4)) + ((z * t_3) - (b * (j * y4))))) / y5));
	t_5 = (c * i) - (a * b);
	tmp = 0.0;
	if (z <= -9.8e+227)
		tmp = c * (y3 * ((y * y4) - (z * y0)));
	elseif (z <= -1.16e+88)
		tmp = t_1;
	elseif (z <= -1.02e+19)
		tmp = t_4;
	elseif (z <= -1e-10)
		tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * ((j * y3) - (k * y2))) - (i * ((t * j) - (y * k)))));
	elseif (z <= -4.2e-50)
		tmp = a * (b * (t * ((x * (y / t)) - z)));
	elseif (z <= -5.4e-156)
		tmp = t_4;
	elseif (z <= -2e-244)
		tmp = x * (((y * t_3) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
	elseif (z <= 6e-221)
		tmp = t_1;
	elseif (z <= 1.05e-19)
		tmp = c * (((i * ((z * t) - (x * y))) + t_2) + (y4 * ((y * y3) - (t * y2))));
	elseif (z <= 7.6e+81)
		tmp = t * (((j * ((b * y4) - (i * y5))) + (z * t_5)) + (y2 * ((a * y5) - (c * y4))));
	elseif (z <= 3.7e+90)
		tmp = c * t_2;
	elseif (z <= 7.2e+219)
		tmp = i * (z * ((t * c) - (k * y1)));
	else
		tmp = z * ((k * ((b * y0) - (i * y1))) + ((t * t_5) + (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[(y * N[(N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(y5 * N[(N[(t * N[(N[(a * y2), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(t * N[(N[(c * N[(y2 * y4), $MachinePrecision]), $MachinePrecision] + N[(N[(z * t$95$3), $MachinePrecision] - N[(b * N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -9.8e+227], N[(c * N[(y3 * N[(N[(y * y4), $MachinePrecision] - N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.16e+88], t$95$1, If[LessEqual[z, -1.02e+19], t$95$4, If[LessEqual[z, -1e-10], N[(y5 * N[(N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y0 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(i * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -4.2e-50], N[(a * N[(b * N[(t * N[(N[(x * N[(y / t), $MachinePrecision]), $MachinePrecision] - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -5.4e-156], t$95$4, If[LessEqual[z, -2e-244], N[(x * N[(N[(N[(y * t$95$3), $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[z, 6e-221], t$95$1, If[LessEqual[z, 1.05e-19], N[(c * N[(N[(N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$2), $MachinePrecision] + N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 7.6e+81], N[(t * N[(N[(N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(z * t$95$5), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.7e+90], N[(c * t$95$2), $MachinePrecision], If[LessEqual[z, 7.2e+219], N[(i * N[(z * N[(N[(t * c), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(z * N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(t * t$95$5), $MachinePrecision] + N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;z \leq -1.16 \cdot 10^{+88}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;z \leq -1.02 \cdot 10^{+19}:\\
\;\;\;\;t\_4\\

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

\mathbf{elif}\;z \leq -4.2 \cdot 10^{-50}:\\
\;\;\;\;a \cdot \left(b \cdot \left(t \cdot \left(x \cdot \frac{y}{t} - z\right)\right)\right)\\

\mathbf{elif}\;z \leq -5.4 \cdot 10^{-156}:\\
\;\;\;\;t\_4\\

\mathbf{elif}\;z \leq -2 \cdot 10^{-244}:\\
\;\;\;\;x \cdot \left(\left(y \cdot t\_3 + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\

\mathbf{elif}\;z \leq 6 \cdot 10^{-221}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;z \leq 1.05 \cdot 10^{-19}:\\
\;\;\;\;c \cdot \left(\left(i \cdot \left(z \cdot t - x \cdot y\right) + t\_2\right) + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\

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

\mathbf{elif}\;z \leq 3.7 \cdot 10^{+90}:\\
\;\;\;\;c \cdot t\_2\\

\mathbf{elif}\;z \leq 7.2 \cdot 10^{+219}:\\
\;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\

\mathbf{else}:\\
\;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(t \cdot t\_5 + y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 11 regimes
  2. if z < -9.80000000000000007e227

    1. Initial program 27.3%

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

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

      \[\leadsto c \cdot \color{blue}{\left(-1 \cdot \left(y3 \cdot \left(y0 \cdot z - y \cdot y4\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg81.8%

        \[\leadsto c \cdot \color{blue}{\left(-y3 \cdot \left(y0 \cdot z - y \cdot y4\right)\right)} \]
    6. Simplified81.8%

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

    if -9.80000000000000007e227 < z < -1.1599999999999999e88 or -1.9999999999999999e-244 < z < 6.0000000000000003e-221

    1. Initial program 16.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 y around inf 27.4%

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

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

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

    if -1.1599999999999999e88 < z < -1.02e19 or -4.2000000000000002e-50 < z < -5.40000000000000024e-156

    1. Initial program 29.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 61.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 y5 around inf 71.8%

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

    if -1.02e19 < z < -1.00000000000000004e-10

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

      \[\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.00000000000000004e-10 < z < -4.2000000000000002e-50

    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 b around inf 63.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 55.7%

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

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

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

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

    if -5.40000000000000024e-156 < z < -1.9999999999999999e-244

    1. Initial program 40.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 67.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)} \]

    if 6.0000000000000003e-221 < z < 1.0499999999999999e-19

    1. Initial program 28.7%

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

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

    if 1.0499999999999999e-19 < z < 7.599999999999999e81

    1. Initial program 13.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 65.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)} \]

    if 7.599999999999999e81 < z < 3.7e90

    1. Initial program 0.0%

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

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

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

    if 3.7e90 < z < 7.20000000000000012e219

    1. Initial program 32.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 62.4%

      \[\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 z around -inf 77.2%

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

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

        \[\leadsto -1 \cdot \left(\color{blue}{\left(-i\right)} \cdot \left(z \cdot \left(c \cdot t - k \cdot y1\right)\right)\right) \]
    6. Simplified77.2%

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

    if 7.20000000000000012e219 < z

    1. Initial program 37.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 93.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)} \]
  3. Recombined 11 regimes into one program.
  4. Final simplification69.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -9.8 \cdot 10^{+227}:\\ \;\;\;\;c \cdot \left(y3 \cdot \left(y \cdot y4 - z \cdot y0\right)\right)\\ \mathbf{elif}\;z \leq -1.16 \cdot 10^{+88}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right) + \frac{\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}{y}\right)\\ \mathbf{elif}\;z \leq -1.02 \cdot 10^{+19}:\\ \;\;\;\;y5 \cdot \left(t \cdot \left(a \cdot y2 - i \cdot j\right) - \frac{t \cdot \left(c \cdot \left(y2 \cdot y4\right) + \left(z \cdot \left(a \cdot b - c \cdot i\right) - b \cdot \left(j \cdot y4\right)\right)\right)}{y5}\right)\\ \mathbf{elif}\;z \leq -1 \cdot 10^{-10}:\\ \;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(y0 \cdot \left(j \cdot y3 - k \cdot y2\right) - i \cdot \left(t \cdot j - y \cdot k\right)\right)\right)\\ \mathbf{elif}\;z \leq -4.2 \cdot 10^{-50}:\\ \;\;\;\;a \cdot \left(b \cdot \left(t \cdot \left(x \cdot \frac{y}{t} - z\right)\right)\right)\\ \mathbf{elif}\;z \leq -5.4 \cdot 10^{-156}:\\ \;\;\;\;y5 \cdot \left(t \cdot \left(a \cdot y2 - i \cdot j\right) - \frac{t \cdot \left(c \cdot \left(y2 \cdot y4\right) + \left(z \cdot \left(a \cdot b - c \cdot i\right) - b \cdot \left(j \cdot y4\right)\right)\right)}{y5}\right)\\ \mathbf{elif}\;z \leq -2 \cdot 10^{-244}:\\ \;\;\;\;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}\;z \leq 6 \cdot 10^{-221}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right) + \frac{\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}{y}\right)\\ \mathbf{elif}\;z \leq 1.05 \cdot 10^{-19}:\\ \;\;\;\;c \cdot \left(\left(i \cdot \left(z \cdot t - x \cdot y\right) + y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;z \leq 7.6 \cdot 10^{+81}:\\ \;\;\;\;t \cdot \left(\left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + z \cdot \left(c \cdot i - a \cdot b\right)\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;z \leq 3.7 \cdot 10^{+90}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;z \leq 7.2 \cdot 10^{+219}:\\ \;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(t \cdot \left(c \cdot i - a \cdot b\right) + y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 2: 53.8% accurate, 0.5× speedup?

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

\\
\begin{array}{l}
t_1 := a \cdot y5 - c \cdot y4\\
t_2 := b \cdot y4 - i \cdot y5\\
t_3 := \left(\left(\left(\left(\left(a \cdot b - c \cdot i\right) \cdot \left(x \cdot y - z \cdot t\right) + \left(b \cdot y0 - i \cdot y1\right) \cdot \left(z \cdot k - x \cdot j\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + t\_2 \cdot \left(t \cdot j - y \cdot k\right)\right) + \left(t \cdot y2 - y \cdot y3\right) \cdot t\_1\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}:\\
\;\;\;\;t \cdot \left(j \cdot t\_2 + y2 \cdot t\_1\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 91.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

    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 t around inf 42.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 0 43.7%

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

    \[\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(b \cdot y0 - i \cdot y1\right) \cdot \left(z \cdot k - x \cdot j\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + \left(b \cdot y4 - i \cdot y5\right) \cdot \left(t \cdot j - y \cdot k\right)\right) + \left(t \cdot y2 - y \cdot y3\right) \cdot \left(a \cdot y5 - c \cdot y4\right)\right) + \left(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(b \cdot y0 - i \cdot y1\right) \cdot \left(z \cdot k - x \cdot j\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + \left(b \cdot y4 - i \cdot y5\right) \cdot \left(t \cdot j - y \cdot k\right)\right) + \left(t \cdot y2 - y \cdot y3\right) \cdot \left(a \cdot y5 - c \cdot y4\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 3: 36.1% accurate, 1.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := j \cdot \left(b \cdot y4 - i \cdot y5\right)\\ t_2 := z \cdot \left(c \cdot i - a \cdot b\right)\\ t_3 := 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(z \cdot t - x \cdot y\right)\right)\right)\\ t_4 := y \cdot \left(i \cdot y5 - b \cdot y4\right)\\ t_5 := y5 \cdot \left(a \cdot y2\right)\\ t_6 := y1 \cdot y4 - y0 \cdot y5\\ \mathbf{if}\;t \leq -8.5 \cdot 10^{+119}:\\ \;\;\;\;t \cdot \left(\left(t\_2 + b \cdot \left(j \cdot y4\right)\right) + t\_5\right)\\ \mathbf{elif}\;t \leq -1.45 \cdot 10^{+44}:\\ \;\;\;\;k \cdot \left(t\_4 + y2 \cdot t\_6\right)\\ \mathbf{elif}\;t \leq -3.8 \cdot 10^{-122}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;t \leq -1.55 \cdot 10^{-245}:\\ \;\;\;\;t \cdot \left(t\_1 + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;t \leq 5.2 \cdot 10^{-204}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;t \leq 2.9 \cdot 10^{-115}:\\ \;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\ \mathbf{elif}\;t \leq 1.6 \cdot 10^{-87}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;t \leq 2.2 \cdot 10^{-61}:\\ \;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot t\_6 + k \cdot t\_4\\ \mathbf{elif}\;t \leq 470:\\ \;\;\;\;i \cdot \left(t \cdot \left(z \cdot c - j \cdot y5\right)\right)\\ \mathbf{elif}\;t \leq 5 \cdot 10^{+24}:\\ \;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) + z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\ \mathbf{elif}\;t \leq 5.6 \cdot 10^{+91}:\\ \;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(y0 \cdot \left(j \cdot y3 - k \cdot y2\right) - i \cdot \left(t \cdot j - y \cdot k\right)\right)\right)\\ \mathbf{elif}\;t \leq 2.75 \cdot 10^{+256}:\\ \;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(\left(t\_1 + t\_2\right) + t\_5\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 (* j (- (* b y4) (* i y5))))
        (t_2 (* z (- (* c i) (* a b))))
        (t_3
         (*
          i
          (+
           (* y1 (- (* x j) (* z k)))
           (+ (* y5 (- (* y k) (* t j))) (* c (- (* z t) (* x y)))))))
        (t_4 (* y (- (* i y5) (* b y4))))
        (t_5 (* y5 (* a y2)))
        (t_6 (- (* y1 y4) (* y0 y5))))
   (if (<= t -8.5e+119)
     (* t (+ (+ t_2 (* b (* j y4))) t_5))
     (if (<= t -1.45e+44)
       (* k (+ t_4 (* y2 t_6)))
       (if (<= t -3.8e-122)
         t_3
         (if (<= t -1.55e-245)
           (* t (+ t_1 (* y2 (- (* a y5) (* c y4)))))
           (if (<= t 5.2e-204)
             t_3
             (if (<= t 2.9e-115)
               (* b (* k (- (* z y0) (* y y4))))
               (if (<= t 1.6e-87)
                 (* c (* t (- (* z i) (* y2 y4))))
                 (if (<= t 2.2e-61)
                   (+ (* (- (* k y2) (* j y3)) t_6) (* k t_4))
                   (if (<= t 470.0)
                     (* i (* t (- (* z c) (* j y5))))
                     (if (<= t 5e+24)
                       (*
                        y3
                        (+
                         (* y (- (* c y4) (* a y5)))
                         (+
                          (* j (- (* y0 y5) (* y1 y4)))
                          (* z (- (* a y1) (* c y0))))))
                       (if (<= t 5.6e+91)
                         (*
                          y5
                          (+
                           (* a (- (* t y2) (* y y3)))
                           (-
                            (* y0 (- (* j y3) (* k y2)))
                            (* i (- (* t j) (* y k))))))
                         (if (<= t 2.75e+256)
                           (* i (* z (- (* t c) (* k y1))))
                           (* t (+ (+ t_1 t_2) t_5))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = j * ((b * y4) - (i * y5));
	double t_2 = z * ((c * i) - (a * b));
	double t_3 = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) + (c * ((z * t) - (x * y)))));
	double t_4 = y * ((i * y5) - (b * y4));
	double t_5 = y5 * (a * y2);
	double t_6 = (y1 * y4) - (y0 * y5);
	double tmp;
	if (t <= -8.5e+119) {
		tmp = t * ((t_2 + (b * (j * y4))) + t_5);
	} else if (t <= -1.45e+44) {
		tmp = k * (t_4 + (y2 * t_6));
	} else if (t <= -3.8e-122) {
		tmp = t_3;
	} else if (t <= -1.55e-245) {
		tmp = t * (t_1 + (y2 * ((a * y5) - (c * y4))));
	} else if (t <= 5.2e-204) {
		tmp = t_3;
	} else if (t <= 2.9e-115) {
		tmp = b * (k * ((z * y0) - (y * y4)));
	} else if (t <= 1.6e-87) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (t <= 2.2e-61) {
		tmp = (((k * y2) - (j * y3)) * t_6) + (k * t_4);
	} else if (t <= 470.0) {
		tmp = i * (t * ((z * c) - (j * y5)));
	} else if (t <= 5e+24) {
		tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0)))));
	} else if (t <= 5.6e+91) {
		tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * ((j * y3) - (k * y2))) - (i * ((t * j) - (y * k)))));
	} else if (t <= 2.75e+256) {
		tmp = i * (z * ((t * c) - (k * y1)));
	} else {
		tmp = t * ((t_1 + t_2) + t_5);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: t_4
    real(8) :: t_5
    real(8) :: t_6
    real(8) :: tmp
    t_1 = j * ((b * y4) - (i * y5))
    t_2 = z * ((c * i) - (a * b))
    t_3 = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) + (c * ((z * t) - (x * y)))))
    t_4 = y * ((i * y5) - (b * y4))
    t_5 = y5 * (a * y2)
    t_6 = (y1 * y4) - (y0 * y5)
    if (t <= (-8.5d+119)) then
        tmp = t * ((t_2 + (b * (j * y4))) + t_5)
    else if (t <= (-1.45d+44)) then
        tmp = k * (t_4 + (y2 * t_6))
    else if (t <= (-3.8d-122)) then
        tmp = t_3
    else if (t <= (-1.55d-245)) then
        tmp = t * (t_1 + (y2 * ((a * y5) - (c * y4))))
    else if (t <= 5.2d-204) then
        tmp = t_3
    else if (t <= 2.9d-115) then
        tmp = b * (k * ((z * y0) - (y * y4)))
    else if (t <= 1.6d-87) then
        tmp = c * (t * ((z * i) - (y2 * y4)))
    else if (t <= 2.2d-61) then
        tmp = (((k * y2) - (j * y3)) * t_6) + (k * t_4)
    else if (t <= 470.0d0) then
        tmp = i * (t * ((z * c) - (j * y5)))
    else if (t <= 5d+24) then
        tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0)))))
    else if (t <= 5.6d+91) then
        tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * ((j * y3) - (k * y2))) - (i * ((t * j) - (y * k)))))
    else if (t <= 2.75d+256) then
        tmp = i * (z * ((t * c) - (k * y1)))
    else
        tmp = t * ((t_1 + t_2) + t_5)
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = j * ((b * y4) - (i * y5));
	double t_2 = z * ((c * i) - (a * b));
	double t_3 = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) + (c * ((z * t) - (x * y)))));
	double t_4 = y * ((i * y5) - (b * y4));
	double t_5 = y5 * (a * y2);
	double t_6 = (y1 * y4) - (y0 * y5);
	double tmp;
	if (t <= -8.5e+119) {
		tmp = t * ((t_2 + (b * (j * y4))) + t_5);
	} else if (t <= -1.45e+44) {
		tmp = k * (t_4 + (y2 * t_6));
	} else if (t <= -3.8e-122) {
		tmp = t_3;
	} else if (t <= -1.55e-245) {
		tmp = t * (t_1 + (y2 * ((a * y5) - (c * y4))));
	} else if (t <= 5.2e-204) {
		tmp = t_3;
	} else if (t <= 2.9e-115) {
		tmp = b * (k * ((z * y0) - (y * y4)));
	} else if (t <= 1.6e-87) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (t <= 2.2e-61) {
		tmp = (((k * y2) - (j * y3)) * t_6) + (k * t_4);
	} else if (t <= 470.0) {
		tmp = i * (t * ((z * c) - (j * y5)));
	} else if (t <= 5e+24) {
		tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0)))));
	} else if (t <= 5.6e+91) {
		tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * ((j * y3) - (k * y2))) - (i * ((t * j) - (y * k)))));
	} else if (t <= 2.75e+256) {
		tmp = i * (z * ((t * c) - (k * y1)));
	} else {
		tmp = t * ((t_1 + t_2) + t_5);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = j * ((b * y4) - (i * y5))
	t_2 = z * ((c * i) - (a * b))
	t_3 = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) + (c * ((z * t) - (x * y)))))
	t_4 = y * ((i * y5) - (b * y4))
	t_5 = y5 * (a * y2)
	t_6 = (y1 * y4) - (y0 * y5)
	tmp = 0
	if t <= -8.5e+119:
		tmp = t * ((t_2 + (b * (j * y4))) + t_5)
	elif t <= -1.45e+44:
		tmp = k * (t_4 + (y2 * t_6))
	elif t <= -3.8e-122:
		tmp = t_3
	elif t <= -1.55e-245:
		tmp = t * (t_1 + (y2 * ((a * y5) - (c * y4))))
	elif t <= 5.2e-204:
		tmp = t_3
	elif t <= 2.9e-115:
		tmp = b * (k * ((z * y0) - (y * y4)))
	elif t <= 1.6e-87:
		tmp = c * (t * ((z * i) - (y2 * y4)))
	elif t <= 2.2e-61:
		tmp = (((k * y2) - (j * y3)) * t_6) + (k * t_4)
	elif t <= 470.0:
		tmp = i * (t * ((z * c) - (j * y5)))
	elif t <= 5e+24:
		tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0)))))
	elif t <= 5.6e+91:
		tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * ((j * y3) - (k * y2))) - (i * ((t * j) - (y * k)))))
	elif t <= 2.75e+256:
		tmp = i * (z * ((t * c) - (k * y1)))
	else:
		tmp = t * ((t_1 + t_2) + t_5)
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(j * Float64(Float64(b * y4) - Float64(i * y5)))
	t_2 = Float64(z * Float64(Float64(c * i) - Float64(a * b)))
	t_3 = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(y5 * Float64(Float64(y * k) - Float64(t * j))) + Float64(c * Float64(Float64(z * t) - Float64(x * y))))))
	t_4 = Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))
	t_5 = Float64(y5 * Float64(a * y2))
	t_6 = Float64(Float64(y1 * y4) - Float64(y0 * y5))
	tmp = 0.0
	if (t <= -8.5e+119)
		tmp = Float64(t * Float64(Float64(t_2 + Float64(b * Float64(j * y4))) + t_5));
	elseif (t <= -1.45e+44)
		tmp = Float64(k * Float64(t_4 + Float64(y2 * t_6)));
	elseif (t <= -3.8e-122)
		tmp = t_3;
	elseif (t <= -1.55e-245)
		tmp = Float64(t * Float64(t_1 + Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))));
	elseif (t <= 5.2e-204)
		tmp = t_3;
	elseif (t <= 2.9e-115)
		tmp = Float64(b * Float64(k * Float64(Float64(z * y0) - Float64(y * y4))));
	elseif (t <= 1.6e-87)
		tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4))));
	elseif (t <= 2.2e-61)
		tmp = Float64(Float64(Float64(Float64(k * y2) - Float64(j * y3)) * t_6) + Float64(k * t_4));
	elseif (t <= 470.0)
		tmp = Float64(i * Float64(t * Float64(Float64(z * c) - Float64(j * y5))));
	elseif (t <= 5e+24)
		tmp = Float64(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(Float64(j * Float64(Float64(y0 * y5) - Float64(y1 * y4))) + Float64(z * Float64(Float64(a * y1) - Float64(c * y0))))));
	elseif (t <= 5.6e+91)
		tmp = Float64(y5 * Float64(Float64(a * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(Float64(y0 * Float64(Float64(j * y3) - Float64(k * y2))) - Float64(i * Float64(Float64(t * j) - Float64(y * k))))));
	elseif (t <= 2.75e+256)
		tmp = Float64(i * Float64(z * Float64(Float64(t * c) - Float64(k * y1))));
	else
		tmp = Float64(t * Float64(Float64(t_1 + t_2) + t_5));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = j * ((b * y4) - (i * y5));
	t_2 = z * ((c * i) - (a * b));
	t_3 = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) + (c * ((z * t) - (x * y)))));
	t_4 = y * ((i * y5) - (b * y4));
	t_5 = y5 * (a * y2);
	t_6 = (y1 * y4) - (y0 * y5);
	tmp = 0.0;
	if (t <= -8.5e+119)
		tmp = t * ((t_2 + (b * (j * y4))) + t_5);
	elseif (t <= -1.45e+44)
		tmp = k * (t_4 + (y2 * t_6));
	elseif (t <= -3.8e-122)
		tmp = t_3;
	elseif (t <= -1.55e-245)
		tmp = t * (t_1 + (y2 * ((a * y5) - (c * y4))));
	elseif (t <= 5.2e-204)
		tmp = t_3;
	elseif (t <= 2.9e-115)
		tmp = b * (k * ((z * y0) - (y * y4)));
	elseif (t <= 1.6e-87)
		tmp = c * (t * ((z * i) - (y2 * y4)));
	elseif (t <= 2.2e-61)
		tmp = (((k * y2) - (j * y3)) * t_6) + (k * t_4);
	elseif (t <= 470.0)
		tmp = i * (t * ((z * c) - (j * y5)));
	elseif (t <= 5e+24)
		tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0)))));
	elseif (t <= 5.6e+91)
		tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * ((j * y3) - (k * y2))) - (i * ((t * j) - (y * k)))));
	elseif (t <= 2.75e+256)
		tmp = i * (z * ((t * c) - (k * y1)));
	else
		tmp = t * ((t_1 + t_2) + t_5);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(z * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = 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 * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(y5 * N[(a * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -8.5e+119], N[(t * N[(N[(t$95$2 + N[(b * N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$5), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.45e+44], N[(k * N[(t$95$4 + N[(y2 * t$95$6), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -3.8e-122], t$95$3, If[LessEqual[t, -1.55e-245], N[(t * N[(t$95$1 + N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 5.2e-204], t$95$3, If[LessEqual[t, 2.9e-115], N[(b * N[(k * N[(N[(z * y0), $MachinePrecision] - N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.6e-87], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.2e-61], N[(N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * t$95$6), $MachinePrecision] + N[(k * t$95$4), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 470.0], N[(i * N[(t * N[(N[(z * c), $MachinePrecision] - N[(j * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 5e+24], N[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(j * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 5.6e+91], N[(y5 * N[(N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y0 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(i * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.75e+256], N[(i * N[(z * N[(N[(t * c), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t * N[(N[(t$95$1 + t$95$2), $MachinePrecision] + t$95$5), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;t \leq -1.45 \cdot 10^{+44}:\\
\;\;\;\;k \cdot \left(t\_4 + y2 \cdot t\_6\right)\\

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

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

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

\mathbf{elif}\;t \leq 2.9 \cdot 10^{-115}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\

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

\mathbf{elif}\;t \leq 2.2 \cdot 10^{-61}:\\
\;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot t\_6 + k \cdot t\_4\\

\mathbf{elif}\;t \leq 470:\\
\;\;\;\;i \cdot \left(t \cdot \left(z \cdot c - j \cdot y5\right)\right)\\

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

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

\mathbf{elif}\;t \leq 2.75 \cdot 10^{+256}:\\
\;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t \cdot \left(\left(t\_1 + t\_2\right) + t\_5\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 12 regimes
  2. if t < -8.49999999999999997e119

    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 79.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 c around 0 74.5%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg74.5%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*74.5%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified74.5%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in b around inf 77.1%

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

    if -8.49999999999999997e119 < t < -1.4500000000000001e44

    1. Initial program 5.7%

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

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

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

    if -1.4500000000000001e44 < t < -3.8000000000000001e-122 or -1.55000000000000001e-245 < t < 5.19999999999999965e-204

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

      \[\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 -3.8000000000000001e-122 < t < -1.55000000000000001e-245

    1. Initial program 17.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 t around inf 52.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 z around 0 60.4%

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

    if 5.19999999999999965e-204 < t < 2.8999999999999998e-115

    1. Initial program 22.5%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 34.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 k around -inf 50.8%

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

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

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

    if 2.8999999999999998e-115 < t < 1.59999999999999989e-87

    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 t around inf 57.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 71.9%

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

    if 1.59999999999999989e-87 < t < 2.20000000000000009e-61

    1. Initial program 33.1%

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

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

      \[\leadsto \color{blue}{-1 \cdot \left(k \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    5. Step-by-step derivation
      1. mul-1-neg99.7%

        \[\leadsto \color{blue}{\left(-k \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    6. Simplified99.7%

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

    if 2.20000000000000009e-61 < t < 470

    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 21.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 c around 0 21.8%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg21.8%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*21.8%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified21.8%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in i around -inf 51.2%

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(t \cdot \left(-1 \cdot \left(c \cdot z\right) + j \cdot y5\right)\right)\right)} \]
    8. Step-by-step derivation
      1. mul-1-neg51.2%

        \[\leadsto \color{blue}{-i \cdot \left(t \cdot \left(-1 \cdot \left(c \cdot z\right) + j \cdot y5\right)\right)} \]
      2. *-commutative51.2%

        \[\leadsto -\color{blue}{\left(t \cdot \left(-1 \cdot \left(c \cdot z\right) + j \cdot y5\right)\right) \cdot i} \]
      3. distribute-rgt-neg-in51.2%

        \[\leadsto \color{blue}{\left(t \cdot \left(-1 \cdot \left(c \cdot z\right) + j \cdot y5\right)\right) \cdot \left(-i\right)} \]
      4. +-commutative51.2%

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

        \[\leadsto \left(t \cdot \left(j \cdot y5 + \color{blue}{\left(-c \cdot z\right)}\right)\right) \cdot \left(-i\right) \]
      6. unsub-neg51.2%

        \[\leadsto \left(t \cdot \color{blue}{\left(j \cdot y5 - c \cdot z\right)}\right) \cdot \left(-i\right) \]
      7. *-commutative51.2%

        \[\leadsto \left(t \cdot \left(\color{blue}{y5 \cdot j} - c \cdot z\right)\right) \cdot \left(-i\right) \]
      8. *-commutative51.2%

        \[\leadsto \left(t \cdot \left(y5 \cdot j - \color{blue}{z \cdot c}\right)\right) \cdot \left(-i\right) \]
    9. Simplified51.2%

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

    if 470 < t < 5.00000000000000045e24

    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 y3 around -inf 86.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 5.00000000000000045e24 < t < 5.5999999999999997e91

    1. Initial program 8.3%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in y5 around -inf 66.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 5.5999999999999997e91 < t < 2.7499999999999999e256

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

      \[\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 z around -inf 73.7%

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

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

        \[\leadsto -1 \cdot \left(\color{blue}{\left(-i\right)} \cdot \left(z \cdot \left(c \cdot t - k \cdot y1\right)\right)\right) \]
    6. Simplified73.7%

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

    if 2.7499999999999999e256 < t

    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 t around inf 100.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 0 100.0%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg100.0%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*100.0%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified100.0%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
  3. Recombined 12 regimes into one program.
  4. Final simplification66.1%

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -8.5 \cdot 10^{+119}:\\ \;\;\;\;t \cdot \left(\left(z \cdot \left(c \cdot i - a \cdot b\right) + b \cdot \left(j \cdot y4\right)\right) + y5 \cdot \left(a \cdot y2\right)\right)\\ \mathbf{elif}\;t \leq -1.45 \cdot 10^{+44}:\\ \;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \mathbf{elif}\;t \leq -3.8 \cdot 10^{-122}:\\ \;\;\;\;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(z \cdot t - x \cdot y\right)\right)\right)\\ \mathbf{elif}\;t \leq -1.55 \cdot 10^{-245}:\\ \;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;t \leq 5.2 \cdot 10^{-204}:\\ \;\;\;\;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(z \cdot t - x \cdot y\right)\right)\right)\\ \mathbf{elif}\;t \leq 2.9 \cdot 10^{-115}:\\ \;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\ \mathbf{elif}\;t \leq 1.6 \cdot 10^{-87}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;t \leq 2.2 \cdot 10^{-61}:\\ \;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\ \mathbf{elif}\;t \leq 470:\\ \;\;\;\;i \cdot \left(t \cdot \left(z \cdot c - j \cdot y5\right)\right)\\ \mathbf{elif}\;t \leq 5 \cdot 10^{+24}:\\ \;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) + z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\ \mathbf{elif}\;t \leq 5.6 \cdot 10^{+91}:\\ \;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(y0 \cdot \left(j \cdot y3 - k \cdot y2\right) - i \cdot \left(t \cdot j - y \cdot k\right)\right)\right)\\ \mathbf{elif}\;t \leq 2.75 \cdot 10^{+256}:\\ \;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(\left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + z \cdot \left(c \cdot i - a \cdot b\right)\right) + y5 \cdot \left(a \cdot y2\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 4: 38.2% accurate, 1.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot y5 - c \cdot y4\\ t_2 := y5 \cdot \left(a \cdot y2\right)\\ t_3 := c \cdot i - a \cdot b\\ t_4 := j \cdot \left(b \cdot y4 - i \cdot y5\right)\\ t_5 := y1 \cdot y4 - y0 \cdot y5\\ t_6 := y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right) + \frac{\left(k \cdot y2 - j \cdot y3\right) \cdot t\_5}{y}\right)\\ \mathbf{if}\;z \leq -1.25 \cdot 10^{+223}:\\ \;\;\;\;c \cdot \left(y3 \cdot \left(y \cdot y4 - z \cdot y0\right)\right)\\ \mathbf{elif}\;z \leq -8 \cdot 10^{+88}:\\ \;\;\;\;t\_6\\ \mathbf{elif}\;z \leq -1.95 \cdot 10^{-5}:\\ \;\;\;\;t \cdot \left(\left(z \cdot t\_3 + b \cdot \left(j \cdot y4\right)\right) + t\_2\right)\\ \mathbf{elif}\;z \leq -4.45 \cdot 10^{-116}:\\ \;\;\;\;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(z \cdot t - x \cdot y\right)\right)\right)\\ \mathbf{elif}\;z \leq -7 \cdot 10^{-228}:\\ \;\;\;\;t \cdot \left(t\_4 + y2 \cdot t\_1\right)\\ \mathbf{elif}\;z \leq 3.5 \cdot 10^{-222}:\\ \;\;\;\;t\_6\\ \mathbf{elif}\;z \leq 1.16 \cdot 10^{-169}:\\ \;\;\;\;t \cdot \left(t\_4 + t\_2\right)\\ \mathbf{elif}\;z \leq 8.5 \cdot 10^{-147}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;z \leq 1.36 \cdot 10^{+18}:\\ \;\;\;\;y2 \cdot \left(\left(k \cdot t\_5 + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + t \cdot t\_1\right)\\ \mathbf{elif}\;z \leq 1.05 \cdot 10^{+97}:\\ \;\;\;\;i \cdot \left(t \cdot \left(z \cdot c - j \cdot y5\right)\right)\\ \mathbf{elif}\;z \leq 8.6 \cdot 10^{+219}:\\ \;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(t \cdot t\_3 + y3 \cdot \left(a \cdot y1 - c \cdot y0\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 y5) (* c y4)))
        (t_2 (* y5 (* a y2)))
        (t_3 (- (* c i) (* a b)))
        (t_4 (* j (- (* b y4) (* i y5))))
        (t_5 (- (* y1 y4) (* y0 y5)))
        (t_6
         (*
          y
          (+
           (* y3 (- (* c y4) (* a y5)))
           (/ (* (- (* k y2) (* j y3)) t_5) y)))))
   (if (<= z -1.25e+223)
     (* c (* y3 (- (* y y4) (* z y0))))
     (if (<= z -8e+88)
       t_6
       (if (<= z -1.95e-5)
         (* t (+ (+ (* z t_3) (* b (* j y4))) t_2))
         (if (<= z -4.45e-116)
           (*
            i
            (+
             (* y1 (- (* x j) (* z k)))
             (+ (* y5 (- (* y k) (* t j))) (* c (- (* z t) (* x y))))))
           (if (<= z -7e-228)
             (* t (+ t_4 (* y2 t_1)))
             (if (<= z 3.5e-222)
               t_6
               (if (<= z 1.16e-169)
                 (* t (+ t_4 t_2))
                 (if (<= z 8.5e-147)
                   (* c (* y4 (- (* y y3) (* t y2))))
                   (if (<= z 1.36e+18)
                     (*
                      y2
                      (+ (+ (* k t_5) (* x (- (* c y0) (* a y1)))) (* t t_1)))
                     (if (<= z 1.05e+97)
                       (* i (* t (- (* z c) (* j y5))))
                       (if (<= z 8.6e+219)
                         (* i (* z (- (* t c) (* k y1))))
                         (*
                          z
                          (+
                           (* k (- (* b y0) (* i y1)))
                           (+
                            (* t t_3)
                            (* 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 * y5) - (c * y4);
	double t_2 = y5 * (a * y2);
	double t_3 = (c * i) - (a * b);
	double t_4 = j * ((b * y4) - (i * y5));
	double t_5 = (y1 * y4) - (y0 * y5);
	double t_6 = y * ((y3 * ((c * y4) - (a * y5))) + ((((k * y2) - (j * y3)) * t_5) / y));
	double tmp;
	if (z <= -1.25e+223) {
		tmp = c * (y3 * ((y * y4) - (z * y0)));
	} else if (z <= -8e+88) {
		tmp = t_6;
	} else if (z <= -1.95e-5) {
		tmp = t * (((z * t_3) + (b * (j * y4))) + t_2);
	} else if (z <= -4.45e-116) {
		tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) + (c * ((z * t) - (x * y)))));
	} else if (z <= -7e-228) {
		tmp = t * (t_4 + (y2 * t_1));
	} else if (z <= 3.5e-222) {
		tmp = t_6;
	} else if (z <= 1.16e-169) {
		tmp = t * (t_4 + t_2);
	} else if (z <= 8.5e-147) {
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	} else if (z <= 1.36e+18) {
		tmp = y2 * (((k * t_5) + (x * ((c * y0) - (a * y1)))) + (t * t_1));
	} else if (z <= 1.05e+97) {
		tmp = i * (t * ((z * c) - (j * y5)));
	} else if (z <= 8.6e+219) {
		tmp = i * (z * ((t * c) - (k * y1)));
	} else {
		tmp = z * ((k * ((b * y0) - (i * y1))) + ((t * t_3) + (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) :: t_2
    real(8) :: t_3
    real(8) :: t_4
    real(8) :: t_5
    real(8) :: t_6
    real(8) :: tmp
    t_1 = (a * y5) - (c * y4)
    t_2 = y5 * (a * y2)
    t_3 = (c * i) - (a * b)
    t_4 = j * ((b * y4) - (i * y5))
    t_5 = (y1 * y4) - (y0 * y5)
    t_6 = y * ((y3 * ((c * y4) - (a * y5))) + ((((k * y2) - (j * y3)) * t_5) / y))
    if (z <= (-1.25d+223)) then
        tmp = c * (y3 * ((y * y4) - (z * y0)))
    else if (z <= (-8d+88)) then
        tmp = t_6
    else if (z <= (-1.95d-5)) then
        tmp = t * (((z * t_3) + (b * (j * y4))) + t_2)
    else if (z <= (-4.45d-116)) then
        tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) + (c * ((z * t) - (x * y)))))
    else if (z <= (-7d-228)) then
        tmp = t * (t_4 + (y2 * t_1))
    else if (z <= 3.5d-222) then
        tmp = t_6
    else if (z <= 1.16d-169) then
        tmp = t * (t_4 + t_2)
    else if (z <= 8.5d-147) then
        tmp = c * (y4 * ((y * y3) - (t * y2)))
    else if (z <= 1.36d+18) then
        tmp = y2 * (((k * t_5) + (x * ((c * y0) - (a * y1)))) + (t * t_1))
    else if (z <= 1.05d+97) then
        tmp = i * (t * ((z * c) - (j * y5)))
    else if (z <= 8.6d+219) then
        tmp = i * (z * ((t * c) - (k * y1)))
    else
        tmp = z * ((k * ((b * y0) - (i * y1))) + ((t * t_3) + (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 * y5) - (c * y4);
	double t_2 = y5 * (a * y2);
	double t_3 = (c * i) - (a * b);
	double t_4 = j * ((b * y4) - (i * y5));
	double t_5 = (y1 * y4) - (y0 * y5);
	double t_6 = y * ((y3 * ((c * y4) - (a * y5))) + ((((k * y2) - (j * y3)) * t_5) / y));
	double tmp;
	if (z <= -1.25e+223) {
		tmp = c * (y3 * ((y * y4) - (z * y0)));
	} else if (z <= -8e+88) {
		tmp = t_6;
	} else if (z <= -1.95e-5) {
		tmp = t * (((z * t_3) + (b * (j * y4))) + t_2);
	} else if (z <= -4.45e-116) {
		tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) + (c * ((z * t) - (x * y)))));
	} else if (z <= -7e-228) {
		tmp = t * (t_4 + (y2 * t_1));
	} else if (z <= 3.5e-222) {
		tmp = t_6;
	} else if (z <= 1.16e-169) {
		tmp = t * (t_4 + t_2);
	} else if (z <= 8.5e-147) {
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	} else if (z <= 1.36e+18) {
		tmp = y2 * (((k * t_5) + (x * ((c * y0) - (a * y1)))) + (t * t_1));
	} else if (z <= 1.05e+97) {
		tmp = i * (t * ((z * c) - (j * y5)));
	} else if (z <= 8.6e+219) {
		tmp = i * (z * ((t * c) - (k * y1)));
	} else {
		tmp = z * ((k * ((b * y0) - (i * y1))) + ((t * t_3) + (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 * y5) - (c * y4)
	t_2 = y5 * (a * y2)
	t_3 = (c * i) - (a * b)
	t_4 = j * ((b * y4) - (i * y5))
	t_5 = (y1 * y4) - (y0 * y5)
	t_6 = y * ((y3 * ((c * y4) - (a * y5))) + ((((k * y2) - (j * y3)) * t_5) / y))
	tmp = 0
	if z <= -1.25e+223:
		tmp = c * (y3 * ((y * y4) - (z * y0)))
	elif z <= -8e+88:
		tmp = t_6
	elif z <= -1.95e-5:
		tmp = t * (((z * t_3) + (b * (j * y4))) + t_2)
	elif z <= -4.45e-116:
		tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) + (c * ((z * t) - (x * y)))))
	elif z <= -7e-228:
		tmp = t * (t_4 + (y2 * t_1))
	elif z <= 3.5e-222:
		tmp = t_6
	elif z <= 1.16e-169:
		tmp = t * (t_4 + t_2)
	elif z <= 8.5e-147:
		tmp = c * (y4 * ((y * y3) - (t * y2)))
	elif z <= 1.36e+18:
		tmp = y2 * (((k * t_5) + (x * ((c * y0) - (a * y1)))) + (t * t_1))
	elif z <= 1.05e+97:
		tmp = i * (t * ((z * c) - (j * y5)))
	elif z <= 8.6e+219:
		tmp = i * (z * ((t * c) - (k * y1)))
	else:
		tmp = z * ((k * ((b * y0) - (i * y1))) + ((t * t_3) + (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(Float64(a * y5) - Float64(c * y4))
	t_2 = Float64(y5 * Float64(a * y2))
	t_3 = Float64(Float64(c * i) - Float64(a * b))
	t_4 = Float64(j * Float64(Float64(b * y4) - Float64(i * y5)))
	t_5 = Float64(Float64(y1 * y4) - Float64(y0 * y5))
	t_6 = Float64(y * Float64(Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(Float64(Float64(Float64(k * y2) - Float64(j * y3)) * t_5) / y)))
	tmp = 0.0
	if (z <= -1.25e+223)
		tmp = Float64(c * Float64(y3 * Float64(Float64(y * y4) - Float64(z * y0))));
	elseif (z <= -8e+88)
		tmp = t_6;
	elseif (z <= -1.95e-5)
		tmp = Float64(t * Float64(Float64(Float64(z * t_3) + Float64(b * Float64(j * y4))) + t_2));
	elseif (z <= -4.45e-116)
		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 * Float64(Float64(z * t) - Float64(x * y))))));
	elseif (z <= -7e-228)
		tmp = Float64(t * Float64(t_4 + Float64(y2 * t_1)));
	elseif (z <= 3.5e-222)
		tmp = t_6;
	elseif (z <= 1.16e-169)
		tmp = Float64(t * Float64(t_4 + t_2));
	elseif (z <= 8.5e-147)
		tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2))));
	elseif (z <= 1.36e+18)
		tmp = Float64(y2 * Float64(Float64(Float64(k * t_5) + Float64(x * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(t * t_1)));
	elseif (z <= 1.05e+97)
		tmp = Float64(i * Float64(t * Float64(Float64(z * c) - Float64(j * y5))));
	elseif (z <= 8.6e+219)
		tmp = Float64(i * Float64(z * Float64(Float64(t * c) - Float64(k * y1))));
	else
		tmp = Float64(z * Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(Float64(t * t_3) + 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 * y5) - (c * y4);
	t_2 = y5 * (a * y2);
	t_3 = (c * i) - (a * b);
	t_4 = j * ((b * y4) - (i * y5));
	t_5 = (y1 * y4) - (y0 * y5);
	t_6 = y * ((y3 * ((c * y4) - (a * y5))) + ((((k * y2) - (j * y3)) * t_5) / y));
	tmp = 0.0;
	if (z <= -1.25e+223)
		tmp = c * (y3 * ((y * y4) - (z * y0)));
	elseif (z <= -8e+88)
		tmp = t_6;
	elseif (z <= -1.95e-5)
		tmp = t * (((z * t_3) + (b * (j * y4))) + t_2);
	elseif (z <= -4.45e-116)
		tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) + (c * ((z * t) - (x * y)))));
	elseif (z <= -7e-228)
		tmp = t * (t_4 + (y2 * t_1));
	elseif (z <= 3.5e-222)
		tmp = t_6;
	elseif (z <= 1.16e-169)
		tmp = t * (t_4 + t_2);
	elseif (z <= 8.5e-147)
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	elseif (z <= 1.36e+18)
		tmp = y2 * (((k * t_5) + (x * ((c * y0) - (a * y1)))) + (t * t_1));
	elseif (z <= 1.05e+97)
		tmp = i * (t * ((z * c) - (j * y5)));
	elseif (z <= 8.6e+219)
		tmp = i * (z * ((t * c) - (k * y1)));
	else
		tmp = z * ((k * ((b * y0) - (i * y1))) + ((t * t_3) + (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[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y5 * N[(a * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(y * N[(N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * t$95$5), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -1.25e+223], N[(c * N[(y3 * N[(N[(y * y4), $MachinePrecision] - N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -8e+88], t$95$6, If[LessEqual[z, -1.95e-5], N[(t * N[(N[(N[(z * t$95$3), $MachinePrecision] + N[(b * N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$2), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -4.45e-116], 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 * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -7e-228], N[(t * N[(t$95$4 + N[(y2 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.5e-222], t$95$6, If[LessEqual[z, 1.16e-169], N[(t * N[(t$95$4 + t$95$2), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 8.5e-147], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.36e+18], N[(y2 * N[(N[(N[(k * t$95$5), $MachinePrecision] + N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.05e+97], N[(i * N[(t * N[(N[(z * c), $MachinePrecision] - N[(j * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 8.6e+219], N[(i * N[(z * N[(N[(t * c), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(z * N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(t * t$95$3), $MachinePrecision] + N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;z \leq -8 \cdot 10^{+88}:\\
\;\;\;\;t\_6\\

\mathbf{elif}\;z \leq -1.95 \cdot 10^{-5}:\\
\;\;\;\;t \cdot \left(\left(z \cdot t\_3 + b \cdot \left(j \cdot y4\right)\right) + t\_2\right)\\

\mathbf{elif}\;z \leq -4.45 \cdot 10^{-116}:\\
\;\;\;\;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(z \cdot t - x \cdot y\right)\right)\right)\\

\mathbf{elif}\;z \leq -7 \cdot 10^{-228}:\\
\;\;\;\;t \cdot \left(t\_4 + y2 \cdot t\_1\right)\\

\mathbf{elif}\;z \leq 3.5 \cdot 10^{-222}:\\
\;\;\;\;t\_6\\

\mathbf{elif}\;z \leq 1.16 \cdot 10^{-169}:\\
\;\;\;\;t \cdot \left(t\_4 + t\_2\right)\\

\mathbf{elif}\;z \leq 8.5 \cdot 10^{-147}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\

\mathbf{elif}\;z \leq 1.36 \cdot 10^{+18}:\\
\;\;\;\;y2 \cdot \left(\left(k \cdot t\_5 + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + t \cdot t\_1\right)\\

\mathbf{elif}\;z \leq 1.05 \cdot 10^{+97}:\\
\;\;\;\;i \cdot \left(t \cdot \left(z \cdot c - j \cdot y5\right)\right)\\

\mathbf{elif}\;z \leq 8.6 \cdot 10^{+219}:\\
\;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\

\mathbf{else}:\\
\;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(t \cdot t\_3 + y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 11 regimes
  2. if z < -1.24999999999999996e223

    1. Initial program 27.3%

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

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

      \[\leadsto c \cdot \color{blue}{\left(-1 \cdot \left(y3 \cdot \left(y0 \cdot z - y \cdot y4\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg81.8%

        \[\leadsto c \cdot \color{blue}{\left(-y3 \cdot \left(y0 \cdot z - y \cdot y4\right)\right)} \]
    6. Simplified81.8%

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

    if -1.24999999999999996e223 < z < -7.99999999999999968e88 or -6.9999999999999995e-228 < z < 3.50000000000000024e-222

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

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

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

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

    if -7.99999999999999968e88 < z < -1.95e-5

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

      \[\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 0 66.7%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg66.7%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*75.0%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified75.0%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in b around inf 75.1%

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

    if -1.95e-5 < z < -4.45000000000000016e-116

    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 i around -inf 61.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)} \]

    if -4.45000000000000016e-116 < z < -6.9999999999999995e-228

    1. Initial program 31.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 48.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 z around 0 54.2%

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

    if 3.50000000000000024e-222 < z < 1.16e-169

    1. Initial program 45.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 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 z around 0 46.1%

      \[\leadsto \color{blue}{t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    5. Taylor expanded in c around 0 64.3%

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

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*55.1%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    7. Simplified64.3%

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

    if 1.16e-169 < z < 8.5000000000000002e-147

    1. Initial program 0.0%

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

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

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

    if 8.5000000000000002e-147 < z < 1.36e18

    1. Initial program 25.2%

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

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

    if 1.36e18 < z < 1.05000000000000006e97

    1. Initial program 10.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 48.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 c around 0 39.4%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg39.4%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*44.1%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified44.1%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in i around -inf 57.6%

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(t \cdot \left(-1 \cdot \left(c \cdot z\right) + j \cdot y5\right)\right)\right)} \]
    8. Step-by-step derivation
      1. mul-1-neg57.6%

        \[\leadsto \color{blue}{-i \cdot \left(t \cdot \left(-1 \cdot \left(c \cdot z\right) + j \cdot y5\right)\right)} \]
      2. *-commutative57.6%

        \[\leadsto -\color{blue}{\left(t \cdot \left(-1 \cdot \left(c \cdot z\right) + j \cdot y5\right)\right) \cdot i} \]
      3. distribute-rgt-neg-in57.6%

        \[\leadsto \color{blue}{\left(t \cdot \left(-1 \cdot \left(c \cdot z\right) + j \cdot y5\right)\right) \cdot \left(-i\right)} \]
      4. +-commutative57.6%

        \[\leadsto \left(t \cdot \color{blue}{\left(j \cdot y5 + -1 \cdot \left(c \cdot z\right)\right)}\right) \cdot \left(-i\right) \]
      5. mul-1-neg57.6%

        \[\leadsto \left(t \cdot \left(j \cdot y5 + \color{blue}{\left(-c \cdot z\right)}\right)\right) \cdot \left(-i\right) \]
      6. unsub-neg57.6%

        \[\leadsto \left(t \cdot \color{blue}{\left(j \cdot y5 - c \cdot z\right)}\right) \cdot \left(-i\right) \]
      7. *-commutative57.6%

        \[\leadsto \left(t \cdot \left(\color{blue}{y5 \cdot j} - c \cdot z\right)\right) \cdot \left(-i\right) \]
      8. *-commutative57.6%

        \[\leadsto \left(t \cdot \left(y5 \cdot j - \color{blue}{z \cdot c}\right)\right) \cdot \left(-i\right) \]
    9. Simplified57.6%

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

    if 1.05000000000000006e97 < z < 8.5999999999999994e219

    1. Initial program 32.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 62.4%

      \[\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 z around -inf 77.2%

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

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

        \[\leadsto -1 \cdot \left(\color{blue}{\left(-i\right)} \cdot \left(z \cdot \left(c \cdot t - k \cdot y1\right)\right)\right) \]
    6. Simplified77.2%

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

    if 8.5999999999999994e219 < z

    1. Initial program 37.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 93.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)} \]
  3. Recombined 11 regimes into one program.
  4. Final simplification65.3%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -1.25 \cdot 10^{+223}:\\ \;\;\;\;c \cdot \left(y3 \cdot \left(y \cdot y4 - z \cdot y0\right)\right)\\ \mathbf{elif}\;z \leq -8 \cdot 10^{+88}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right) + \frac{\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}{y}\right)\\ \mathbf{elif}\;z \leq -1.95 \cdot 10^{-5}:\\ \;\;\;\;t \cdot \left(\left(z \cdot \left(c \cdot i - a \cdot b\right) + b \cdot \left(j \cdot y4\right)\right) + y5 \cdot \left(a \cdot y2\right)\right)\\ \mathbf{elif}\;z \leq -4.45 \cdot 10^{-116}:\\ \;\;\;\;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(z \cdot t - x \cdot y\right)\right)\right)\\ \mathbf{elif}\;z \leq -7 \cdot 10^{-228}:\\ \;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;z \leq 3.5 \cdot 10^{-222}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right) + \frac{\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}{y}\right)\\ \mathbf{elif}\;z \leq 1.16 \cdot 10^{-169}:\\ \;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + y5 \cdot \left(a \cdot y2\right)\right)\\ \mathbf{elif}\;z \leq 8.5 \cdot 10^{-147}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;z \leq 1.36 \cdot 10^{+18}:\\ \;\;\;\;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}\;z \leq 1.05 \cdot 10^{+97}:\\ \;\;\;\;i \cdot \left(t \cdot \left(z \cdot c - j \cdot y5\right)\right)\\ \mathbf{elif}\;z \leq 8.6 \cdot 10^{+219}:\\ \;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(t \cdot \left(c \cdot i - a \cdot b\right) + y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 5: 39.1% accurate, 1.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right) + \frac{\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}{y}\right)\\ t_2 := y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\\ t_3 := z \cdot t - x \cdot y\\ t_4 := c \cdot i - a \cdot b\\ t_5 := z \cdot t\_4\\ t_6 := j \cdot \left(b \cdot y4 - i \cdot y5\right)\\ t_7 := y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\\ \mathbf{if}\;z \leq -3.3 \cdot 10^{+228}:\\ \;\;\;\;c \cdot \left(y3 \cdot \left(y \cdot y4 - z \cdot y0\right)\right)\\ \mathbf{elif}\;z \leq -2.9 \cdot 10^{+90}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq -0.00038:\\ \;\;\;\;t \cdot \left(\left(t\_5 + b \cdot \left(j \cdot y4\right)\right) + y5 \cdot \left(a \cdot y2\right)\right)\\ \mathbf{elif}\;z \leq -1.75 \cdot 10^{-116}:\\ \;\;\;\;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}\;z \leq -1.3 \cdot 10^{-232}:\\ \;\;\;\;t \cdot \left(t\_6 + t\_2\right)\\ \mathbf{elif}\;z \leq 1.25 \cdot 10^{-222}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq 1.55 \cdot 10^{-18}:\\ \;\;\;\;c \cdot \left(\left(i \cdot t\_3 + t\_7\right) + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;z \leq 3 \cdot 10^{+77}:\\ \;\;\;\;t \cdot \left(\left(t\_6 + t\_5\right) + t\_2\right)\\ \mathbf{elif}\;z \leq 3.5 \cdot 10^{+91}:\\ \;\;\;\;c \cdot t\_7\\ \mathbf{elif}\;z \leq 1.02 \cdot 10^{+220}:\\ \;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(t \cdot t\_4 + y3 \cdot \left(a \cdot y1 - c \cdot y0\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
          (+
           (* y3 (- (* c y4) (* a y5)))
           (/ (* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5))) y))))
        (t_2 (* y2 (- (* a y5) (* c y4))))
        (t_3 (- (* z t) (* x y)))
        (t_4 (- (* c i) (* a b)))
        (t_5 (* z t_4))
        (t_6 (* j (- (* b y4) (* i y5))))
        (t_7 (* y0 (- (* x y2) (* z y3)))))
   (if (<= z -3.3e+228)
     (* c (* y3 (- (* y y4) (* z y0))))
     (if (<= z -2.9e+90)
       t_1
       (if (<= z -0.00038)
         (* t (+ (+ t_5 (* b (* j y4))) (* y5 (* a y2))))
         (if (<= z -1.75e-116)
           (*
            i
            (+
             (* y1 (- (* x j) (* z k)))
             (+ (* y5 (- (* y k) (* t j))) (* c t_3))))
           (if (<= z -1.3e-232)
             (* t (+ t_6 t_2))
             (if (<= z 1.25e-222)
               t_1
               (if (<= z 1.55e-18)
                 (* c (+ (+ (* i t_3) t_7) (* y4 (- (* y y3) (* t y2)))))
                 (if (<= z 3e+77)
                   (* t (+ (+ t_6 t_5) t_2))
                   (if (<= z 3.5e+91)
                     (* c t_7)
                     (if (<= z 1.02e+220)
                       (* i (* z (- (* t c) (* k y1))))
                       (*
                        z
                        (+
                         (* k (- (* b y0) (* i y1)))
                         (+
                          (* t t_4)
                          (* 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 = y * ((y3 * ((c * y4) - (a * y5))) + ((((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) / y));
	double t_2 = y2 * ((a * y5) - (c * y4));
	double t_3 = (z * t) - (x * y);
	double t_4 = (c * i) - (a * b);
	double t_5 = z * t_4;
	double t_6 = j * ((b * y4) - (i * y5));
	double t_7 = y0 * ((x * y2) - (z * y3));
	double tmp;
	if (z <= -3.3e+228) {
		tmp = c * (y3 * ((y * y4) - (z * y0)));
	} else if (z <= -2.9e+90) {
		tmp = t_1;
	} else if (z <= -0.00038) {
		tmp = t * ((t_5 + (b * (j * y4))) + (y5 * (a * y2)));
	} else if (z <= -1.75e-116) {
		tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) + (c * t_3)));
	} else if (z <= -1.3e-232) {
		tmp = t * (t_6 + t_2);
	} else if (z <= 1.25e-222) {
		tmp = t_1;
	} else if (z <= 1.55e-18) {
		tmp = c * (((i * t_3) + t_7) + (y4 * ((y * y3) - (t * y2))));
	} else if (z <= 3e+77) {
		tmp = t * ((t_6 + t_5) + t_2);
	} else if (z <= 3.5e+91) {
		tmp = c * t_7;
	} else if (z <= 1.02e+220) {
		tmp = i * (z * ((t * c) - (k * y1)));
	} else {
		tmp = z * ((k * ((b * y0) - (i * y1))) + ((t * t_4) + (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) :: t_2
    real(8) :: t_3
    real(8) :: t_4
    real(8) :: t_5
    real(8) :: t_6
    real(8) :: t_7
    real(8) :: tmp
    t_1 = y * ((y3 * ((c * y4) - (a * y5))) + ((((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) / y))
    t_2 = y2 * ((a * y5) - (c * y4))
    t_3 = (z * t) - (x * y)
    t_4 = (c * i) - (a * b)
    t_5 = z * t_4
    t_6 = j * ((b * y4) - (i * y5))
    t_7 = y0 * ((x * y2) - (z * y3))
    if (z <= (-3.3d+228)) then
        tmp = c * (y3 * ((y * y4) - (z * y0)))
    else if (z <= (-2.9d+90)) then
        tmp = t_1
    else if (z <= (-0.00038d0)) then
        tmp = t * ((t_5 + (b * (j * y4))) + (y5 * (a * y2)))
    else if (z <= (-1.75d-116)) then
        tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) + (c * t_3)))
    else if (z <= (-1.3d-232)) then
        tmp = t * (t_6 + t_2)
    else if (z <= 1.25d-222) then
        tmp = t_1
    else if (z <= 1.55d-18) then
        tmp = c * (((i * t_3) + t_7) + (y4 * ((y * y3) - (t * y2))))
    else if (z <= 3d+77) then
        tmp = t * ((t_6 + t_5) + t_2)
    else if (z <= 3.5d+91) then
        tmp = c * t_7
    else if (z <= 1.02d+220) then
        tmp = i * (z * ((t * c) - (k * y1)))
    else
        tmp = z * ((k * ((b * y0) - (i * y1))) + ((t * t_4) + (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 = y * ((y3 * ((c * y4) - (a * y5))) + ((((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) / y));
	double t_2 = y2 * ((a * y5) - (c * y4));
	double t_3 = (z * t) - (x * y);
	double t_4 = (c * i) - (a * b);
	double t_5 = z * t_4;
	double t_6 = j * ((b * y4) - (i * y5));
	double t_7 = y0 * ((x * y2) - (z * y3));
	double tmp;
	if (z <= -3.3e+228) {
		tmp = c * (y3 * ((y * y4) - (z * y0)));
	} else if (z <= -2.9e+90) {
		tmp = t_1;
	} else if (z <= -0.00038) {
		tmp = t * ((t_5 + (b * (j * y4))) + (y5 * (a * y2)));
	} else if (z <= -1.75e-116) {
		tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) + (c * t_3)));
	} else if (z <= -1.3e-232) {
		tmp = t * (t_6 + t_2);
	} else if (z <= 1.25e-222) {
		tmp = t_1;
	} else if (z <= 1.55e-18) {
		tmp = c * (((i * t_3) + t_7) + (y4 * ((y * y3) - (t * y2))));
	} else if (z <= 3e+77) {
		tmp = t * ((t_6 + t_5) + t_2);
	} else if (z <= 3.5e+91) {
		tmp = c * t_7;
	} else if (z <= 1.02e+220) {
		tmp = i * (z * ((t * c) - (k * y1)));
	} else {
		tmp = z * ((k * ((b * y0) - (i * y1))) + ((t * t_4) + (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 = y * ((y3 * ((c * y4) - (a * y5))) + ((((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) / y))
	t_2 = y2 * ((a * y5) - (c * y4))
	t_3 = (z * t) - (x * y)
	t_4 = (c * i) - (a * b)
	t_5 = z * t_4
	t_6 = j * ((b * y4) - (i * y5))
	t_7 = y0 * ((x * y2) - (z * y3))
	tmp = 0
	if z <= -3.3e+228:
		tmp = c * (y3 * ((y * y4) - (z * y0)))
	elif z <= -2.9e+90:
		tmp = t_1
	elif z <= -0.00038:
		tmp = t * ((t_5 + (b * (j * y4))) + (y5 * (a * y2)))
	elif z <= -1.75e-116:
		tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) + (c * t_3)))
	elif z <= -1.3e-232:
		tmp = t * (t_6 + t_2)
	elif z <= 1.25e-222:
		tmp = t_1
	elif z <= 1.55e-18:
		tmp = c * (((i * t_3) + t_7) + (y4 * ((y * y3) - (t * y2))))
	elif z <= 3e+77:
		tmp = t * ((t_6 + t_5) + t_2)
	elif z <= 3.5e+91:
		tmp = c * t_7
	elif z <= 1.02e+220:
		tmp = i * (z * ((t * c) - (k * y1)))
	else:
		tmp = z * ((k * ((b * y0) - (i * y1))) + ((t * t_4) + (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(y * Float64(Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5))) / y)))
	t_2 = Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))
	t_3 = Float64(Float64(z * t) - Float64(x * y))
	t_4 = Float64(Float64(c * i) - Float64(a * b))
	t_5 = Float64(z * t_4)
	t_6 = Float64(j * Float64(Float64(b * y4) - Float64(i * y5)))
	t_7 = Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))
	tmp = 0.0
	if (z <= -3.3e+228)
		tmp = Float64(c * Float64(y3 * Float64(Float64(y * y4) - Float64(z * y0))));
	elseif (z <= -2.9e+90)
		tmp = t_1;
	elseif (z <= -0.00038)
		tmp = Float64(t * Float64(Float64(t_5 + Float64(b * Float64(j * y4))) + Float64(y5 * Float64(a * y2))));
	elseif (z <= -1.75e-116)
		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 (z <= -1.3e-232)
		tmp = Float64(t * Float64(t_6 + t_2));
	elseif (z <= 1.25e-222)
		tmp = t_1;
	elseif (z <= 1.55e-18)
		tmp = Float64(c * Float64(Float64(Float64(i * t_3) + t_7) + Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))));
	elseif (z <= 3e+77)
		tmp = Float64(t * Float64(Float64(t_6 + t_5) + t_2));
	elseif (z <= 3.5e+91)
		tmp = Float64(c * t_7);
	elseif (z <= 1.02e+220)
		tmp = Float64(i * Float64(z * Float64(Float64(t * c) - Float64(k * y1))));
	else
		tmp = Float64(z * Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(Float64(t * t_4) + 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 = y * ((y3 * ((c * y4) - (a * y5))) + ((((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) / y));
	t_2 = y2 * ((a * y5) - (c * y4));
	t_3 = (z * t) - (x * y);
	t_4 = (c * i) - (a * b);
	t_5 = z * t_4;
	t_6 = j * ((b * y4) - (i * y5));
	t_7 = y0 * ((x * y2) - (z * y3));
	tmp = 0.0;
	if (z <= -3.3e+228)
		tmp = c * (y3 * ((y * y4) - (z * y0)));
	elseif (z <= -2.9e+90)
		tmp = t_1;
	elseif (z <= -0.00038)
		tmp = t * ((t_5 + (b * (j * y4))) + (y5 * (a * y2)));
	elseif (z <= -1.75e-116)
		tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) + (c * t_3)));
	elseif (z <= -1.3e-232)
		tmp = t * (t_6 + t_2);
	elseif (z <= 1.25e-222)
		tmp = t_1;
	elseif (z <= 1.55e-18)
		tmp = c * (((i * t_3) + t_7) + (y4 * ((y * y3) - (t * y2))));
	elseif (z <= 3e+77)
		tmp = t * ((t_6 + t_5) + t_2);
	elseif (z <= 3.5e+91)
		tmp = c * t_7;
	elseif (z <= 1.02e+220)
		tmp = i * (z * ((t * c) - (k * y1)));
	else
		tmp = z * ((k * ((b * y0) - (i * y1))) + ((t * t_4) + (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[(y * N[(N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(z * t$95$4), $MachinePrecision]}, Block[{t$95$6 = N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -3.3e+228], N[(c * N[(y3 * N[(N[(y * y4), $MachinePrecision] - N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -2.9e+90], t$95$1, If[LessEqual[z, -0.00038], N[(t * N[(N[(t$95$5 + N[(b * N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * N[(a * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.75e-116], 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[z, -1.3e-232], N[(t * N[(t$95$6 + t$95$2), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.25e-222], t$95$1, If[LessEqual[z, 1.55e-18], N[(c * N[(N[(N[(i * t$95$3), $MachinePrecision] + t$95$7), $MachinePrecision] + N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3e+77], N[(t * N[(N[(t$95$6 + t$95$5), $MachinePrecision] + t$95$2), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.5e+91], N[(c * t$95$7), $MachinePrecision], If[LessEqual[z, 1.02e+220], N[(i * N[(z * N[(N[(t * c), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(z * N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(t * t$95$4), $MachinePrecision] + N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;z \leq -2.9 \cdot 10^{+90}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;z \leq -0.00038:\\
\;\;\;\;t \cdot \left(\left(t\_5 + b \cdot \left(j \cdot y4\right)\right) + y5 \cdot \left(a \cdot y2\right)\right)\\

\mathbf{elif}\;z \leq -1.75 \cdot 10^{-116}:\\
\;\;\;\;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}\;z \leq -1.3 \cdot 10^{-232}:\\
\;\;\;\;t \cdot \left(t\_6 + t\_2\right)\\

\mathbf{elif}\;z \leq 1.25 \cdot 10^{-222}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;z \leq 1.55 \cdot 10^{-18}:\\
\;\;\;\;c \cdot \left(\left(i \cdot t\_3 + t\_7\right) + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\

\mathbf{elif}\;z \leq 3 \cdot 10^{+77}:\\
\;\;\;\;t \cdot \left(\left(t\_6 + t\_5\right) + t\_2\right)\\

\mathbf{elif}\;z \leq 3.5 \cdot 10^{+91}:\\
\;\;\;\;c \cdot t\_7\\

\mathbf{elif}\;z \leq 1.02 \cdot 10^{+220}:\\
\;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\

\mathbf{else}:\\
\;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(t \cdot t\_4 + y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 10 regimes
  2. if z < -3.30000000000000005e228

    1. Initial program 27.3%

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

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

      \[\leadsto c \cdot \color{blue}{\left(-1 \cdot \left(y3 \cdot \left(y0 \cdot z - y \cdot y4\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg81.8%

        \[\leadsto c \cdot \color{blue}{\left(-y3 \cdot \left(y0 \cdot z - y \cdot y4\right)\right)} \]
    6. Simplified81.8%

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

    if -3.30000000000000005e228 < z < -2.9000000000000001e90 or -1.29999999999999998e-232 < z < 1.25000000000000002e-222

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

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

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

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

    if -2.9000000000000001e90 < z < -3.8000000000000002e-4

    1. Initial program 25.0%

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

      \[\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 0 66.7%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg66.7%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*75.0%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified75.0%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in b around inf 75.1%

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

    if -3.8000000000000002e-4 < z < -1.74999999999999992e-116

    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 i around -inf 61.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)} \]

    if -1.74999999999999992e-116 < z < -1.29999999999999998e-232

    1. Initial program 31.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 48.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 z around 0 54.2%

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

    if 1.25000000000000002e-222 < z < 1.55000000000000003e-18

    1. Initial program 28.7%

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

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

    if 1.55000000000000003e-18 < z < 2.9999999999999998e77

    1. Initial program 13.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 65.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)} \]

    if 2.9999999999999998e77 < z < 3.50000000000000001e91

    1. Initial program 0.0%

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

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

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

    if 3.50000000000000001e91 < z < 1.01999999999999999e220

    1. Initial program 32.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 62.4%

      \[\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 z around -inf 77.2%

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

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

        \[\leadsto -1 \cdot \left(\color{blue}{\left(-i\right)} \cdot \left(z \cdot \left(c \cdot t - k \cdot y1\right)\right)\right) \]
    6. Simplified77.2%

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

    if 1.01999999999999999e220 < z

    1. Initial program 37.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 93.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)} \]
  3. Recombined 10 regimes into one program.
  4. Final simplification66.9%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -3.3 \cdot 10^{+228}:\\ \;\;\;\;c \cdot \left(y3 \cdot \left(y \cdot y4 - z \cdot y0\right)\right)\\ \mathbf{elif}\;z \leq -2.9 \cdot 10^{+90}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right) + \frac{\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}{y}\right)\\ \mathbf{elif}\;z \leq -0.00038:\\ \;\;\;\;t \cdot \left(\left(z \cdot \left(c \cdot i - a \cdot b\right) + b \cdot \left(j \cdot y4\right)\right) + y5 \cdot \left(a \cdot y2\right)\right)\\ \mathbf{elif}\;z \leq -1.75 \cdot 10^{-116}:\\ \;\;\;\;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(z \cdot t - x \cdot y\right)\right)\right)\\ \mathbf{elif}\;z \leq -1.3 \cdot 10^{-232}:\\ \;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;z \leq 1.25 \cdot 10^{-222}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right) + \frac{\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}{y}\right)\\ \mathbf{elif}\;z \leq 1.55 \cdot 10^{-18}:\\ \;\;\;\;c \cdot \left(\left(i \cdot \left(z \cdot t - x \cdot y\right) + y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;z \leq 3 \cdot 10^{+77}:\\ \;\;\;\;t \cdot \left(\left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + z \cdot \left(c \cdot i - a \cdot b\right)\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;z \leq 3.5 \cdot 10^{+91}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;z \leq 1.02 \cdot 10^{+220}:\\ \;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(t \cdot \left(c \cdot i - a \cdot b\right) + y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 6: 33.0% accurate, 1.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := j \cdot \left(b \cdot y4 - i \cdot y5\right)\\ t_2 := y1 \cdot y4 - y0 \cdot y5\\ t_3 := a \cdot y5 - c \cdot y4\\ t_4 := t \cdot \left(t\_1 + y2 \cdot t\_3\right)\\ \mathbf{if}\;t \leq -1.16 \cdot 10^{+225}:\\ \;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\ \mathbf{elif}\;t \leq -1.2 \cdot 10^{+119}:\\ \;\;\;\;t\_4\\ \mathbf{elif}\;t \leq -1.25 \cdot 10^{+23}:\\ \;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right) + y2 \cdot t\_2\right)\\ \mathbf{elif}\;t \leq -9 \cdot 10^{-5}:\\ \;\;\;\;c \cdot \left(y2 \cdot \left(x \cdot y0 - t \cdot y4\right)\right)\\ \mathbf{elif}\;t \leq -5.5 \cdot 10^{-35}:\\ \;\;\;\;y2 \cdot \left(k \cdot t\_2 + t \cdot t\_3\right)\\ \mathbf{elif}\;t \leq -1.05 \cdot 10^{-119}:\\ \;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{elif}\;t \leq -8 \cdot 10^{-309}:\\ \;\;\;\;t\_4\\ \mathbf{elif}\;t \leq 4.2 \cdot 10^{+15}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4 - x \cdot i\right)\right)\\ \mathbf{elif}\;t \leq 1.8 \cdot 10^{+79}:\\ \;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b + y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\ \mathbf{elif}\;t \leq 1.02 \cdot 10^{+105}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;t \leq 2.7 \cdot 10^{+199}:\\ \;\;\;\;t\_4\\ \mathbf{elif}\;t \leq 2.5 \cdot 10^{+225}:\\ \;\;\;\;c \cdot \left(i \cdot \left(z \cdot t\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(t\_1 + y5 \cdot \left(a \cdot y2\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* j (- (* b y4) (* i y5))))
        (t_2 (- (* y1 y4) (* y0 y5)))
        (t_3 (- (* a y5) (* c y4)))
        (t_4 (* t (+ t_1 (* y2 t_3)))))
   (if (<= t -1.16e+225)
     (* b (* z (- (* k y0) (* t a))))
     (if (<= t -1.2e+119)
       t_4
       (if (<= t -1.25e+23)
         (* k (+ (* y (- (* i y5) (* b y4))) (* y2 t_2)))
         (if (<= t -9e-5)
           (* c (* y2 (- (* x y0) (* t y4))))
           (if (<= t -5.5e-35)
             (* y2 (+ (* k t_2) (* t t_3)))
             (if (<= t -1.05e-119)
               (* i (* z (- (* t c) (* k y1))))
               (if (<= t -8e-309)
                 t_4
                 (if (<= t 4.2e+15)
                   (* c (* y (- (* y3 y4) (* x i))))
                   (if (<= t 1.8e+79)
                     (* a (+ (* (* x y) b) (* y5 (- (* t y2) (* y y3)))))
                     (if (<= t 1.02e+105)
                       (* c (* y4 (- (* y y3) (* t y2))))
                       (if (<= t 2.7e+199)
                         t_4
                         (if (<= t 2.5e+225)
                           (* c (* i (* z t)))
                           (* t (+ t_1 (* y5 (* a y2))))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = j * ((b * y4) - (i * y5));
	double t_2 = (y1 * y4) - (y0 * y5);
	double t_3 = (a * y5) - (c * y4);
	double t_4 = t * (t_1 + (y2 * t_3));
	double tmp;
	if (t <= -1.16e+225) {
		tmp = b * (z * ((k * y0) - (t * a)));
	} else if (t <= -1.2e+119) {
		tmp = t_4;
	} else if (t <= -1.25e+23) {
		tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * t_2));
	} else if (t <= -9e-5) {
		tmp = c * (y2 * ((x * y0) - (t * y4)));
	} else if (t <= -5.5e-35) {
		tmp = y2 * ((k * t_2) + (t * t_3));
	} else if (t <= -1.05e-119) {
		tmp = i * (z * ((t * c) - (k * y1)));
	} else if (t <= -8e-309) {
		tmp = t_4;
	} else if (t <= 4.2e+15) {
		tmp = c * (y * ((y3 * y4) - (x * i)));
	} else if (t <= 1.8e+79) {
		tmp = a * (((x * y) * b) + (y5 * ((t * y2) - (y * y3))));
	} else if (t <= 1.02e+105) {
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	} else if (t <= 2.7e+199) {
		tmp = t_4;
	} else if (t <= 2.5e+225) {
		tmp = c * (i * (z * t));
	} else {
		tmp = t * (t_1 + (y5 * (a * y2)));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: t_4
    real(8) :: tmp
    t_1 = j * ((b * y4) - (i * y5))
    t_2 = (y1 * y4) - (y0 * y5)
    t_3 = (a * y5) - (c * y4)
    t_4 = t * (t_1 + (y2 * t_3))
    if (t <= (-1.16d+225)) then
        tmp = b * (z * ((k * y0) - (t * a)))
    else if (t <= (-1.2d+119)) then
        tmp = t_4
    else if (t <= (-1.25d+23)) then
        tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * t_2))
    else if (t <= (-9d-5)) then
        tmp = c * (y2 * ((x * y0) - (t * y4)))
    else if (t <= (-5.5d-35)) then
        tmp = y2 * ((k * t_2) + (t * t_3))
    else if (t <= (-1.05d-119)) then
        tmp = i * (z * ((t * c) - (k * y1)))
    else if (t <= (-8d-309)) then
        tmp = t_4
    else if (t <= 4.2d+15) then
        tmp = c * (y * ((y3 * y4) - (x * i)))
    else if (t <= 1.8d+79) then
        tmp = a * (((x * y) * b) + (y5 * ((t * y2) - (y * y3))))
    else if (t <= 1.02d+105) then
        tmp = c * (y4 * ((y * y3) - (t * y2)))
    else if (t <= 2.7d+199) then
        tmp = t_4
    else if (t <= 2.5d+225) then
        tmp = c * (i * (z * t))
    else
        tmp = t * (t_1 + (y5 * (a * y2)))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = j * ((b * y4) - (i * y5));
	double t_2 = (y1 * y4) - (y0 * y5);
	double t_3 = (a * y5) - (c * y4);
	double t_4 = t * (t_1 + (y2 * t_3));
	double tmp;
	if (t <= -1.16e+225) {
		tmp = b * (z * ((k * y0) - (t * a)));
	} else if (t <= -1.2e+119) {
		tmp = t_4;
	} else if (t <= -1.25e+23) {
		tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * t_2));
	} else if (t <= -9e-5) {
		tmp = c * (y2 * ((x * y0) - (t * y4)));
	} else if (t <= -5.5e-35) {
		tmp = y2 * ((k * t_2) + (t * t_3));
	} else if (t <= -1.05e-119) {
		tmp = i * (z * ((t * c) - (k * y1)));
	} else if (t <= -8e-309) {
		tmp = t_4;
	} else if (t <= 4.2e+15) {
		tmp = c * (y * ((y3 * y4) - (x * i)));
	} else if (t <= 1.8e+79) {
		tmp = a * (((x * y) * b) + (y5 * ((t * y2) - (y * y3))));
	} else if (t <= 1.02e+105) {
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	} else if (t <= 2.7e+199) {
		tmp = t_4;
	} else if (t <= 2.5e+225) {
		tmp = c * (i * (z * t));
	} else {
		tmp = t * (t_1 + (y5 * (a * y2)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = j * ((b * y4) - (i * y5))
	t_2 = (y1 * y4) - (y0 * y5)
	t_3 = (a * y5) - (c * y4)
	t_4 = t * (t_1 + (y2 * t_3))
	tmp = 0
	if t <= -1.16e+225:
		tmp = b * (z * ((k * y0) - (t * a)))
	elif t <= -1.2e+119:
		tmp = t_4
	elif t <= -1.25e+23:
		tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * t_2))
	elif t <= -9e-5:
		tmp = c * (y2 * ((x * y0) - (t * y4)))
	elif t <= -5.5e-35:
		tmp = y2 * ((k * t_2) + (t * t_3))
	elif t <= -1.05e-119:
		tmp = i * (z * ((t * c) - (k * y1)))
	elif t <= -8e-309:
		tmp = t_4
	elif t <= 4.2e+15:
		tmp = c * (y * ((y3 * y4) - (x * i)))
	elif t <= 1.8e+79:
		tmp = a * (((x * y) * b) + (y5 * ((t * y2) - (y * y3))))
	elif t <= 1.02e+105:
		tmp = c * (y4 * ((y * y3) - (t * y2)))
	elif t <= 2.7e+199:
		tmp = t_4
	elif t <= 2.5e+225:
		tmp = c * (i * (z * t))
	else:
		tmp = t * (t_1 + (y5 * (a * y2)))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(j * Float64(Float64(b * y4) - Float64(i * y5)))
	t_2 = Float64(Float64(y1 * y4) - Float64(y0 * y5))
	t_3 = Float64(Float64(a * y5) - Float64(c * y4))
	t_4 = Float64(t * Float64(t_1 + Float64(y2 * t_3)))
	tmp = 0.0
	if (t <= -1.16e+225)
		tmp = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a))));
	elseif (t <= -1.2e+119)
		tmp = t_4;
	elseif (t <= -1.25e+23)
		tmp = Float64(k * Float64(Float64(y * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(y2 * t_2)));
	elseif (t <= -9e-5)
		tmp = Float64(c * Float64(y2 * Float64(Float64(x * y0) - Float64(t * y4))));
	elseif (t <= -5.5e-35)
		tmp = Float64(y2 * Float64(Float64(k * t_2) + Float64(t * t_3)));
	elseif (t <= -1.05e-119)
		tmp = Float64(i * Float64(z * Float64(Float64(t * c) - Float64(k * y1))));
	elseif (t <= -8e-309)
		tmp = t_4;
	elseif (t <= 4.2e+15)
		tmp = Float64(c * Float64(y * Float64(Float64(y3 * y4) - Float64(x * i))));
	elseif (t <= 1.8e+79)
		tmp = Float64(a * Float64(Float64(Float64(x * y) * b) + Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))));
	elseif (t <= 1.02e+105)
		tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2))));
	elseif (t <= 2.7e+199)
		tmp = t_4;
	elseif (t <= 2.5e+225)
		tmp = Float64(c * Float64(i * Float64(z * t)));
	else
		tmp = Float64(t * Float64(t_1 + Float64(y5 * Float64(a * y2))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = j * ((b * y4) - (i * y5));
	t_2 = (y1 * y4) - (y0 * y5);
	t_3 = (a * y5) - (c * y4);
	t_4 = t * (t_1 + (y2 * t_3));
	tmp = 0.0;
	if (t <= -1.16e+225)
		tmp = b * (z * ((k * y0) - (t * a)));
	elseif (t <= -1.2e+119)
		tmp = t_4;
	elseif (t <= -1.25e+23)
		tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * t_2));
	elseif (t <= -9e-5)
		tmp = c * (y2 * ((x * y0) - (t * y4)));
	elseif (t <= -5.5e-35)
		tmp = y2 * ((k * t_2) + (t * t_3));
	elseif (t <= -1.05e-119)
		tmp = i * (z * ((t * c) - (k * y1)));
	elseif (t <= -8e-309)
		tmp = t_4;
	elseif (t <= 4.2e+15)
		tmp = c * (y * ((y3 * y4) - (x * i)));
	elseif (t <= 1.8e+79)
		tmp = a * (((x * y) * b) + (y5 * ((t * y2) - (y * y3))));
	elseif (t <= 1.02e+105)
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	elseif (t <= 2.7e+199)
		tmp = t_4;
	elseif (t <= 2.5e+225)
		tmp = c * (i * (z * t));
	else
		tmp = t * (t_1 + (y5 * (a * y2)));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(t * N[(t$95$1 + N[(y2 * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1.16e+225], N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.2e+119], t$95$4, If[LessEqual[t, -1.25e+23], N[(k * N[(N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -9e-5], N[(c * N[(y2 * N[(N[(x * y0), $MachinePrecision] - N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -5.5e-35], N[(y2 * N[(N[(k * t$95$2), $MachinePrecision] + N[(t * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.05e-119], N[(i * N[(z * N[(N[(t * c), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -8e-309], t$95$4, If[LessEqual[t, 4.2e+15], N[(c * N[(y * N[(N[(y3 * y4), $MachinePrecision] - N[(x * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.8e+79], N[(a * N[(N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision] + N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.02e+105], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.7e+199], t$95$4, If[LessEqual[t, 2.5e+225], N[(c * N[(i * N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t * N[(t$95$1 + N[(y5 * N[(a * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]
\begin{array}{l}

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

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

\mathbf{elif}\;t \leq -1.25 \cdot 10^{+23}:\\
\;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right) + y2 \cdot t\_2\right)\\

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

\mathbf{elif}\;t \leq -5.5 \cdot 10^{-35}:\\
\;\;\;\;y2 \cdot \left(k \cdot t\_2 + t \cdot t\_3\right)\\

\mathbf{elif}\;t \leq -1.05 \cdot 10^{-119}:\\
\;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\

\mathbf{elif}\;t \leq -8 \cdot 10^{-309}:\\
\;\;\;\;t\_4\\

\mathbf{elif}\;t \leq 4.2 \cdot 10^{+15}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4 - x \cdot i\right)\right)\\

\mathbf{elif}\;t \leq 1.8 \cdot 10^{+79}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b + y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\

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

\mathbf{elif}\;t \leq 2.7 \cdot 10^{+199}:\\
\;\;\;\;t\_4\\

\mathbf{elif}\;t \leq 2.5 \cdot 10^{+225}:\\
\;\;\;\;c \cdot \left(i \cdot \left(z \cdot t\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t \cdot \left(t\_1 + y5 \cdot \left(a \cdot y2\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 11 regimes
  2. if t < -1.15999999999999996e225

    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 b around inf 57.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 78.7%

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

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

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

    if -1.15999999999999996e225 < t < -1.2e119 or -1.05e-119 < t < -8.0000000000000003e-309 or 1.02e105 < t < 2.6999999999999999e199

    1. Initial program 25.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 64.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 0 64.2%

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

    if -1.2e119 < t < -1.25e23

    1. Initial program 10.5%

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

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

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

    if -1.25e23 < t < -9.00000000000000057e-5

    1. Initial program 0.0%

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

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

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

    if -9.00000000000000057e-5 < t < -5.4999999999999997e-35

    1. Initial program 57.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 57.1%

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

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

    if -5.4999999999999997e-35 < t < -1.05e-119

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

      \[\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 z around -inf 67.8%

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

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

        \[\leadsto -1 \cdot \left(\color{blue}{\left(-i\right)} \cdot \left(z \cdot \left(c \cdot t - k \cdot y1\right)\right)\right) \]
    6. Simplified67.8%

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

    if -8.0000000000000003e-309 < t < 4.2e15

    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 c around inf 42.9%

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

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

        \[\leadsto c \cdot \color{blue}{\left(\left(-1 \cdot y\right) \cdot \left(i \cdot x - y3 \cdot y4\right)\right)} \]
      2. neg-mul-140.1%

        \[\leadsto c \cdot \left(\color{blue}{\left(-y\right)} \cdot \left(i \cdot x - y3 \cdot y4\right)\right) \]
    6. Simplified40.1%

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

    if 4.2e15 < t < 1.8e79

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

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

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
    5. Step-by-step derivation
      1. associate-*r*67.1%

        \[\leadsto a \cdot \left(b \cdot \left(x \cdot y\right) - \color{blue}{\left(-1 \cdot y5\right) \cdot \left(t \cdot y2 - y \cdot y3\right)}\right) \]
      2. neg-mul-167.1%

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

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

    if 1.8e79 < t < 1.02e105

    1. Initial program 16.7%

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

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

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

    if 2.6999999999999999e199 < t < 2.4999999999999999e225

    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.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 c around 0 45.4%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg45.4%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*45.4%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified45.4%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in c around inf 100.0%

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

    if 2.4999999999999999e225 < t

    1. Initial program 7.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 84.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 0 77.6%

      \[\leadsto \color{blue}{t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    5. Taylor expanded in c around 0 77.6%

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

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*84.6%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    7. Simplified77.8%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -1.16 \cdot 10^{+225}:\\ \;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\ \mathbf{elif}\;t \leq -1.2 \cdot 10^{+119}:\\ \;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;t \leq -1.25 \cdot 10^{+23}:\\ \;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \mathbf{elif}\;t \leq -9 \cdot 10^{-5}:\\ \;\;\;\;c \cdot \left(y2 \cdot \left(x \cdot y0 - t \cdot y4\right)\right)\\ \mathbf{elif}\;t \leq -5.5 \cdot 10^{-35}:\\ \;\;\;\;y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;t \leq -1.05 \cdot 10^{-119}:\\ \;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{elif}\;t \leq -8 \cdot 10^{-309}:\\ \;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;t \leq 4.2 \cdot 10^{+15}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4 - x \cdot i\right)\right)\\ \mathbf{elif}\;t \leq 1.8 \cdot 10^{+79}:\\ \;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b + y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\ \mathbf{elif}\;t \leq 1.02 \cdot 10^{+105}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;t \leq 2.7 \cdot 10^{+199}:\\ \;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;t \leq 2.5 \cdot 10^{+225}:\\ \;\;\;\;c \cdot \left(i \cdot \left(z \cdot t\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + y5 \cdot \left(a \cdot y2\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 7: 35.2% accurate, 1.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot \left(i \cdot y5 - b \cdot y4\right)\\ t_2 := y1 \cdot y4 - y0 \cdot y5\\ t_3 := \left(k \cdot y2 - j \cdot y3\right) \cdot t\_2\\ t_4 := y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right) + \frac{t\_3}{y}\right)\\ \mathbf{if}\;y \leq -5.3 \cdot 10^{+157}:\\ \;\;\;\;i \cdot \left(y5 \cdot \left(y \cdot k - t \cdot j\right)\right)\\ \mathbf{elif}\;y \leq -4.5 \cdot 10^{+27}:\\ \;\;\;\;t\_4\\ \mathbf{elif}\;y \leq -4.8 \cdot 10^{-67}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;y \leq -7 \cdot 10^{-218}:\\ \;\;\;\;t\_4\\ \mathbf{elif}\;y \leq 2.85 \cdot 10^{-276}:\\ \;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{elif}\;y \leq 1.95 \cdot 10^{-165}:\\ \;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;y \leq 1.05 \cdot 10^{-121}:\\ \;\;\;\;t\_3 + k \cdot t\_1\\ \mathbf{elif}\;y \leq 1.02 \cdot 10^{-27}:\\ \;\;\;\;t \cdot \left(\left(z \cdot \left(c \cdot i - a \cdot b\right) + b \cdot \left(j \cdot y4\right)\right) + y5 \cdot \left(a \cdot y2\right)\right)\\ \mathbf{elif}\;y \leq 4.4 \cdot 10^{+16}:\\ \;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\ \mathbf{elif}\;y \leq 6.6 \cdot 10^{+72}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(c \cdot \left(a \cdot \frac{y5}{c} - y4\right)\right)\right)\\ \mathbf{elif}\;y \leq 9.2 \cdot 10^{+170}:\\ \;\;\;\;k \cdot \left(t\_1 + y2 \cdot t\_2\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4 - x \cdot i\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 (- (* i y5) (* b y4))))
        (t_2 (- (* y1 y4) (* y0 y5)))
        (t_3 (* (- (* k y2) (* j y3)) t_2))
        (t_4 (* y (+ (* y3 (- (* c y4) (* a y5))) (/ t_3 y)))))
   (if (<= y -5.3e+157)
     (* i (* y5 (- (* y k) (* t j))))
     (if (<= y -4.5e+27)
       t_4
       (if (<= y -4.8e-67)
         (* c (* t (- (* z i) (* y2 y4))))
         (if (<= y -7e-218)
           t_4
           (if (<= y 2.85e-276)
             (* i (* z (- (* t c) (* k y1))))
             (if (<= y 1.95e-165)
               (*
                t
                (+ (* j (- (* b y4) (* i y5))) (* y2 (- (* a y5) (* c y4)))))
               (if (<= y 1.05e-121)
                 (+ t_3 (* k t_1))
                 (if (<= y 1.02e-27)
                   (*
                    t
                    (+
                     (+ (* z (- (* c i) (* a b))) (* b (* j y4)))
                     (* y5 (* a y2))))
                   (if (<= y 4.4e+16)
                     (* y0 (* y5 (- (* j y3) (* k y2))))
                     (if (<= y 6.6e+72)
                       (* t (* y2 (* c (- (* a (/ y5 c)) y4))))
                       (if (<= y 9.2e+170)
                         (* k (+ t_1 (* y2 t_2)))
                         (* c (* y (- (* y3 y4) (* x i)))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = y * ((i * y5) - (b * y4));
	double t_2 = (y1 * y4) - (y0 * y5);
	double t_3 = ((k * y2) - (j * y3)) * t_2;
	double t_4 = y * ((y3 * ((c * y4) - (a * y5))) + (t_3 / y));
	double tmp;
	if (y <= -5.3e+157) {
		tmp = i * (y5 * ((y * k) - (t * j)));
	} else if (y <= -4.5e+27) {
		tmp = t_4;
	} else if (y <= -4.8e-67) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (y <= -7e-218) {
		tmp = t_4;
	} else if (y <= 2.85e-276) {
		tmp = i * (z * ((t * c) - (k * y1)));
	} else if (y <= 1.95e-165) {
		tmp = t * ((j * ((b * y4) - (i * y5))) + (y2 * ((a * y5) - (c * y4))));
	} else if (y <= 1.05e-121) {
		tmp = t_3 + (k * t_1);
	} else if (y <= 1.02e-27) {
		tmp = t * (((z * ((c * i) - (a * b))) + (b * (j * y4))) + (y5 * (a * y2)));
	} else if (y <= 4.4e+16) {
		tmp = y0 * (y5 * ((j * y3) - (k * y2)));
	} else if (y <= 6.6e+72) {
		tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)));
	} else if (y <= 9.2e+170) {
		tmp = k * (t_1 + (y2 * t_2));
	} else {
		tmp = c * (y * ((y3 * y4) - (x * i)));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: t_4
    real(8) :: tmp
    t_1 = y * ((i * y5) - (b * y4))
    t_2 = (y1 * y4) - (y0 * y5)
    t_3 = ((k * y2) - (j * y3)) * t_2
    t_4 = y * ((y3 * ((c * y4) - (a * y5))) + (t_3 / y))
    if (y <= (-5.3d+157)) then
        tmp = i * (y5 * ((y * k) - (t * j)))
    else if (y <= (-4.5d+27)) then
        tmp = t_4
    else if (y <= (-4.8d-67)) then
        tmp = c * (t * ((z * i) - (y2 * y4)))
    else if (y <= (-7d-218)) then
        tmp = t_4
    else if (y <= 2.85d-276) then
        tmp = i * (z * ((t * c) - (k * y1)))
    else if (y <= 1.95d-165) then
        tmp = t * ((j * ((b * y4) - (i * y5))) + (y2 * ((a * y5) - (c * y4))))
    else if (y <= 1.05d-121) then
        tmp = t_3 + (k * t_1)
    else if (y <= 1.02d-27) then
        tmp = t * (((z * ((c * i) - (a * b))) + (b * (j * y4))) + (y5 * (a * y2)))
    else if (y <= 4.4d+16) then
        tmp = y0 * (y5 * ((j * y3) - (k * y2)))
    else if (y <= 6.6d+72) then
        tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)))
    else if (y <= 9.2d+170) then
        tmp = k * (t_1 + (y2 * t_2))
    else
        tmp = c * (y * ((y3 * y4) - (x * i)))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = y * ((i * y5) - (b * y4));
	double t_2 = (y1 * y4) - (y0 * y5);
	double t_3 = ((k * y2) - (j * y3)) * t_2;
	double t_4 = y * ((y3 * ((c * y4) - (a * y5))) + (t_3 / y));
	double tmp;
	if (y <= -5.3e+157) {
		tmp = i * (y5 * ((y * k) - (t * j)));
	} else if (y <= -4.5e+27) {
		tmp = t_4;
	} else if (y <= -4.8e-67) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (y <= -7e-218) {
		tmp = t_4;
	} else if (y <= 2.85e-276) {
		tmp = i * (z * ((t * c) - (k * y1)));
	} else if (y <= 1.95e-165) {
		tmp = t * ((j * ((b * y4) - (i * y5))) + (y2 * ((a * y5) - (c * y4))));
	} else if (y <= 1.05e-121) {
		tmp = t_3 + (k * t_1);
	} else if (y <= 1.02e-27) {
		tmp = t * (((z * ((c * i) - (a * b))) + (b * (j * y4))) + (y5 * (a * y2)));
	} else if (y <= 4.4e+16) {
		tmp = y0 * (y5 * ((j * y3) - (k * y2)));
	} else if (y <= 6.6e+72) {
		tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)));
	} else if (y <= 9.2e+170) {
		tmp = k * (t_1 + (y2 * t_2));
	} else {
		tmp = c * (y * ((y3 * y4) - (x * i)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = y * ((i * y5) - (b * y4))
	t_2 = (y1 * y4) - (y0 * y5)
	t_3 = ((k * y2) - (j * y3)) * t_2
	t_4 = y * ((y3 * ((c * y4) - (a * y5))) + (t_3 / y))
	tmp = 0
	if y <= -5.3e+157:
		tmp = i * (y5 * ((y * k) - (t * j)))
	elif y <= -4.5e+27:
		tmp = t_4
	elif y <= -4.8e-67:
		tmp = c * (t * ((z * i) - (y2 * y4)))
	elif y <= -7e-218:
		tmp = t_4
	elif y <= 2.85e-276:
		tmp = i * (z * ((t * c) - (k * y1)))
	elif y <= 1.95e-165:
		tmp = t * ((j * ((b * y4) - (i * y5))) + (y2 * ((a * y5) - (c * y4))))
	elif y <= 1.05e-121:
		tmp = t_3 + (k * t_1)
	elif y <= 1.02e-27:
		tmp = t * (((z * ((c * i) - (a * b))) + (b * (j * y4))) + (y5 * (a * y2)))
	elif y <= 4.4e+16:
		tmp = y0 * (y5 * ((j * y3) - (k * y2)))
	elif y <= 6.6e+72:
		tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)))
	elif y <= 9.2e+170:
		tmp = k * (t_1 + (y2 * t_2))
	else:
		tmp = c * (y * ((y3 * y4) - (x * i)))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))
	t_2 = Float64(Float64(y1 * y4) - Float64(y0 * y5))
	t_3 = Float64(Float64(Float64(k * y2) - Float64(j * y3)) * t_2)
	t_4 = Float64(y * Float64(Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(t_3 / y)))
	tmp = 0.0
	if (y <= -5.3e+157)
		tmp = Float64(i * Float64(y5 * Float64(Float64(y * k) - Float64(t * j))));
	elseif (y <= -4.5e+27)
		tmp = t_4;
	elseif (y <= -4.8e-67)
		tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4))));
	elseif (y <= -7e-218)
		tmp = t_4;
	elseif (y <= 2.85e-276)
		tmp = Float64(i * Float64(z * Float64(Float64(t * c) - Float64(k * y1))));
	elseif (y <= 1.95e-165)
		tmp = Float64(t * Float64(Float64(j * Float64(Float64(b * y4) - Float64(i * y5))) + Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))));
	elseif (y <= 1.05e-121)
		tmp = Float64(t_3 + Float64(k * t_1));
	elseif (y <= 1.02e-27)
		tmp = Float64(t * Float64(Float64(Float64(z * Float64(Float64(c * i) - Float64(a * b))) + Float64(b * Float64(j * y4))) + Float64(y5 * Float64(a * y2))));
	elseif (y <= 4.4e+16)
		tmp = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))));
	elseif (y <= 6.6e+72)
		tmp = Float64(t * Float64(y2 * Float64(c * Float64(Float64(a * Float64(y5 / c)) - y4))));
	elseif (y <= 9.2e+170)
		tmp = Float64(k * Float64(t_1 + Float64(y2 * t_2)));
	else
		tmp = Float64(c * Float64(y * Float64(Float64(y3 * y4) - Float64(x * i))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = y * ((i * y5) - (b * y4));
	t_2 = (y1 * y4) - (y0 * y5);
	t_3 = ((k * y2) - (j * y3)) * t_2;
	t_4 = y * ((y3 * ((c * y4) - (a * y5))) + (t_3 / y));
	tmp = 0.0;
	if (y <= -5.3e+157)
		tmp = i * (y5 * ((y * k) - (t * j)));
	elseif (y <= -4.5e+27)
		tmp = t_4;
	elseif (y <= -4.8e-67)
		tmp = c * (t * ((z * i) - (y2 * y4)));
	elseif (y <= -7e-218)
		tmp = t_4;
	elseif (y <= 2.85e-276)
		tmp = i * (z * ((t * c) - (k * y1)));
	elseif (y <= 1.95e-165)
		tmp = t * ((j * ((b * y4) - (i * y5))) + (y2 * ((a * y5) - (c * y4))));
	elseif (y <= 1.05e-121)
		tmp = t_3 + (k * t_1);
	elseif (y <= 1.02e-27)
		tmp = t * (((z * ((c * i) - (a * b))) + (b * (j * y4))) + (y5 * (a * y2)));
	elseif (y <= 4.4e+16)
		tmp = y0 * (y5 * ((j * y3) - (k * y2)));
	elseif (y <= 6.6e+72)
		tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)));
	elseif (y <= 9.2e+170)
		tmp = k * (t_1 + (y2 * t_2));
	else
		tmp = c * (y * ((y3 * y4) - (x * i)));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * t$95$2), $MachinePrecision]}, Block[{t$95$4 = N[(y * N[(N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t$95$3 / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -5.3e+157], N[(i * N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -4.5e+27], t$95$4, If[LessEqual[y, -4.8e-67], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -7e-218], t$95$4, If[LessEqual[y, 2.85e-276], N[(i * N[(z * N[(N[(t * c), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.95e-165], N[(t * N[(N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.05e-121], N[(t$95$3 + N[(k * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.02e-27], N[(t * N[(N[(N[(z * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * N[(a * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 4.4e+16], N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 6.6e+72], N[(t * N[(y2 * N[(c * N[(N[(a * N[(y5 / c), $MachinePrecision]), $MachinePrecision] - y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 9.2e+170], N[(k * N[(t$95$1 + N[(y2 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(y * N[(N[(y3 * y4), $MachinePrecision] - N[(x * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;y \leq -4.5 \cdot 10^{+27}:\\
\;\;\;\;t\_4\\

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

\mathbf{elif}\;y \leq -7 \cdot 10^{-218}:\\
\;\;\;\;t\_4\\

\mathbf{elif}\;y \leq 2.85 \cdot 10^{-276}:\\
\;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\

\mathbf{elif}\;y \leq 1.95 \cdot 10^{-165}:\\
\;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\

\mathbf{elif}\;y \leq 1.05 \cdot 10^{-121}:\\
\;\;\;\;t\_3 + k \cdot t\_1\\

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

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

\mathbf{elif}\;y \leq 6.6 \cdot 10^{+72}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(c \cdot \left(a \cdot \frac{y5}{c} - y4\right)\right)\right)\\

\mathbf{elif}\;y \leq 9.2 \cdot 10^{+170}:\\
\;\;\;\;k \cdot \left(t\_1 + y2 \cdot t\_2\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 11 regimes
  2. if y < -5.2999999999999998e157

    1. Initial program 16.0%

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

      \[\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 y5 around inf 68.5%

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

    if -5.2999999999999998e157 < y < -4.4999999999999999e27 or -4.8e-67 < y < -7e-218

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

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

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

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

    if -4.4999999999999999e27 < y < -4.8e-67

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

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

    if -7e-218 < y < 2.84999999999999987e-276

    1. Initial program 27.3%

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

      \[\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 z around -inf 60.4%

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

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

        \[\leadsto -1 \cdot \left(\color{blue}{\left(-i\right)} \cdot \left(z \cdot \left(c \cdot t - k \cdot y1\right)\right)\right) \]
    6. Simplified60.4%

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

    if 2.84999999999999987e-276 < y < 1.9499999999999999e-165

    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 t around inf 64.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 z around 0 64.6%

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

    if 1.9499999999999999e-165 < y < 1.0499999999999999e-121

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

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

      \[\leadsto \color{blue}{-1 \cdot \left(k \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    5. Step-by-step derivation
      1. mul-1-neg86.8%

        \[\leadsto \color{blue}{\left(-k \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    6. Simplified86.8%

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

    if 1.0499999999999999e-121 < y < 1.02000000000000002e-27

    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 t around inf 74.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 c around 0 74.8%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg74.8%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*70.3%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified70.3%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in b around inf 70.8%

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

    if 1.02000000000000002e-27 < y < 4.4e16

    1. Initial program 18.8%

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

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

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

    if 4.4e16 < y < 6.6e72

    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 t around inf 39.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 54.8%

      \[\leadsto \color{blue}{t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)} \]
    5. Taylor expanded in c around inf 62.3%

      \[\leadsto t \cdot \left(y2 \cdot \color{blue}{\left(c \cdot \left(\frac{a \cdot y5}{c} - y4\right)\right)}\right) \]
    6. Step-by-step derivation
      1. associate-/l*69.9%

        \[\leadsto t \cdot \left(y2 \cdot \left(c \cdot \left(\color{blue}{a \cdot \frac{y5}{c}} - y4\right)\right)\right) \]
    7. Simplified69.9%

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

    if 6.6e72 < y < 9.2000000000000003e170

    1. Initial program 18.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 y around inf 36.6%

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

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

    if 9.2000000000000003e170 < y

    1. Initial program 19.4%

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

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

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

        \[\leadsto c \cdot \color{blue}{\left(\left(-1 \cdot y\right) \cdot \left(i \cdot x - y3 \cdot y4\right)\right)} \]
      2. neg-mul-156.3%

        \[\leadsto c \cdot \left(\color{blue}{\left(-y\right)} \cdot \left(i \cdot x - y3 \cdot y4\right)\right) \]
    6. Simplified56.3%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -5.3 \cdot 10^{+157}:\\ \;\;\;\;i \cdot \left(y5 \cdot \left(y \cdot k - t \cdot j\right)\right)\\ \mathbf{elif}\;y \leq -4.5 \cdot 10^{+27}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right) + \frac{\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}{y}\right)\\ \mathbf{elif}\;y \leq -4.8 \cdot 10^{-67}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;y \leq -7 \cdot 10^{-218}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right) + \frac{\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}{y}\right)\\ \mathbf{elif}\;y \leq 2.85 \cdot 10^{-276}:\\ \;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{elif}\;y \leq 1.95 \cdot 10^{-165}:\\ \;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;y \leq 1.05 \cdot 10^{-121}:\\ \;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\ \mathbf{elif}\;y \leq 1.02 \cdot 10^{-27}:\\ \;\;\;\;t \cdot \left(\left(z \cdot \left(c \cdot i - a \cdot b\right) + b \cdot \left(j \cdot y4\right)\right) + y5 \cdot \left(a \cdot y2\right)\right)\\ \mathbf{elif}\;y \leq 4.4 \cdot 10^{+16}:\\ \;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\ \mathbf{elif}\;y \leq 6.6 \cdot 10^{+72}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(c \cdot \left(a \cdot \frac{y5}{c} - y4\right)\right)\right)\\ \mathbf{elif}\;y \leq 9.2 \cdot 10^{+170}:\\ \;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4 - x \cdot i\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 8: 33.2% accurate, 1.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot y4 - i \cdot y5\\ t_2 := j \cdot t\_1\\ t_3 := t \cdot \left(t\_2 + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{if}\;t \leq -1.1 \cdot 10^{+225}:\\ \;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\ \mathbf{elif}\;t \leq -3.3 \cdot 10^{+106}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;t \leq -7.6 \cdot 10^{+23}:\\ \;\;\;\;j \cdot \left(t \cdot t\_1\right)\\ \mathbf{elif}\;t \leq -4.8 \cdot 10^{-8}:\\ \;\;\;\;c \cdot \left(y2 \cdot \left(x \cdot y0 - t \cdot y4\right)\right)\\ \mathbf{elif}\;t \leq -1.75 \cdot 10^{-98}:\\ \;\;\;\;\left(i \cdot y1\right) \cdot \left(z \cdot \left(x \cdot \frac{j}{z} - k\right)\right)\\ \mathbf{elif}\;t \leq -4.5 \cdot 10^{-309}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;t \leq 2.7 \cdot 10^{+16}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4 - x \cdot i\right)\right)\\ \mathbf{elif}\;t \leq 1.5 \cdot 10^{+76}:\\ \;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b + y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\ \mathbf{elif}\;t \leq 9.5 \cdot 10^{+104}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;t \leq 3.4 \cdot 10^{+199}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;t \leq 5.2 \cdot 10^{+222}:\\ \;\;\;\;c \cdot \left(i \cdot \left(z \cdot t\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(t\_2 + y5 \cdot \left(a \cdot y2\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (- (* b y4) (* i y5)))
        (t_2 (* j t_1))
        (t_3 (* t (+ t_2 (* y2 (- (* a y5) (* c y4)))))))
   (if (<= t -1.1e+225)
     (* b (* z (- (* k y0) (* t a))))
     (if (<= t -3.3e+106)
       t_3
       (if (<= t -7.6e+23)
         (* j (* t t_1))
         (if (<= t -4.8e-8)
           (* c (* y2 (- (* x y0) (* t y4))))
           (if (<= t -1.75e-98)
             (* (* i y1) (* z (- (* x (/ j z)) k)))
             (if (<= t -4.5e-309)
               t_3
               (if (<= t 2.7e+16)
                 (* c (* y (- (* y3 y4) (* x i))))
                 (if (<= t 1.5e+76)
                   (* a (+ (* (* x y) b) (* y5 (- (* t y2) (* y y3)))))
                   (if (<= t 9.5e+104)
                     (* c (* y4 (- (* y y3) (* t y2))))
                     (if (<= t 3.4e+199)
                       t_3
                       (if (<= t 5.2e+222)
                         (* c (* i (* z t)))
                         (* t (+ t_2 (* y5 (* a y2)))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (b * y4) - (i * y5);
	double t_2 = j * t_1;
	double t_3 = t * (t_2 + (y2 * ((a * y5) - (c * y4))));
	double tmp;
	if (t <= -1.1e+225) {
		tmp = b * (z * ((k * y0) - (t * a)));
	} else if (t <= -3.3e+106) {
		tmp = t_3;
	} else if (t <= -7.6e+23) {
		tmp = j * (t * t_1);
	} else if (t <= -4.8e-8) {
		tmp = c * (y2 * ((x * y0) - (t * y4)));
	} else if (t <= -1.75e-98) {
		tmp = (i * y1) * (z * ((x * (j / z)) - k));
	} else if (t <= -4.5e-309) {
		tmp = t_3;
	} else if (t <= 2.7e+16) {
		tmp = c * (y * ((y3 * y4) - (x * i)));
	} else if (t <= 1.5e+76) {
		tmp = a * (((x * y) * b) + (y5 * ((t * y2) - (y * y3))));
	} else if (t <= 9.5e+104) {
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	} else if (t <= 3.4e+199) {
		tmp = t_3;
	} else if (t <= 5.2e+222) {
		tmp = c * (i * (z * t));
	} else {
		tmp = t * (t_2 + (y5 * (a * y2)));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: tmp
    t_1 = (b * y4) - (i * y5)
    t_2 = j * t_1
    t_3 = t * (t_2 + (y2 * ((a * y5) - (c * y4))))
    if (t <= (-1.1d+225)) then
        tmp = b * (z * ((k * y0) - (t * a)))
    else if (t <= (-3.3d+106)) then
        tmp = t_3
    else if (t <= (-7.6d+23)) then
        tmp = j * (t * t_1)
    else if (t <= (-4.8d-8)) then
        tmp = c * (y2 * ((x * y0) - (t * y4)))
    else if (t <= (-1.75d-98)) then
        tmp = (i * y1) * (z * ((x * (j / z)) - k))
    else if (t <= (-4.5d-309)) then
        tmp = t_3
    else if (t <= 2.7d+16) then
        tmp = c * (y * ((y3 * y4) - (x * i)))
    else if (t <= 1.5d+76) then
        tmp = a * (((x * y) * b) + (y5 * ((t * y2) - (y * y3))))
    else if (t <= 9.5d+104) then
        tmp = c * (y4 * ((y * y3) - (t * y2)))
    else if (t <= 3.4d+199) then
        tmp = t_3
    else if (t <= 5.2d+222) then
        tmp = c * (i * (z * t))
    else
        tmp = t * (t_2 + (y5 * (a * y2)))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (b * y4) - (i * y5);
	double t_2 = j * t_1;
	double t_3 = t * (t_2 + (y2 * ((a * y5) - (c * y4))));
	double tmp;
	if (t <= -1.1e+225) {
		tmp = b * (z * ((k * y0) - (t * a)));
	} else if (t <= -3.3e+106) {
		tmp = t_3;
	} else if (t <= -7.6e+23) {
		tmp = j * (t * t_1);
	} else if (t <= -4.8e-8) {
		tmp = c * (y2 * ((x * y0) - (t * y4)));
	} else if (t <= -1.75e-98) {
		tmp = (i * y1) * (z * ((x * (j / z)) - k));
	} else if (t <= -4.5e-309) {
		tmp = t_3;
	} else if (t <= 2.7e+16) {
		tmp = c * (y * ((y3 * y4) - (x * i)));
	} else if (t <= 1.5e+76) {
		tmp = a * (((x * y) * b) + (y5 * ((t * y2) - (y * y3))));
	} else if (t <= 9.5e+104) {
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	} else if (t <= 3.4e+199) {
		tmp = t_3;
	} else if (t <= 5.2e+222) {
		tmp = c * (i * (z * t));
	} else {
		tmp = t * (t_2 + (y5 * (a * y2)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = (b * y4) - (i * y5)
	t_2 = j * t_1
	t_3 = t * (t_2 + (y2 * ((a * y5) - (c * y4))))
	tmp = 0
	if t <= -1.1e+225:
		tmp = b * (z * ((k * y0) - (t * a)))
	elif t <= -3.3e+106:
		tmp = t_3
	elif t <= -7.6e+23:
		tmp = j * (t * t_1)
	elif t <= -4.8e-8:
		tmp = c * (y2 * ((x * y0) - (t * y4)))
	elif t <= -1.75e-98:
		tmp = (i * y1) * (z * ((x * (j / z)) - k))
	elif t <= -4.5e-309:
		tmp = t_3
	elif t <= 2.7e+16:
		tmp = c * (y * ((y3 * y4) - (x * i)))
	elif t <= 1.5e+76:
		tmp = a * (((x * y) * b) + (y5 * ((t * y2) - (y * y3))))
	elif t <= 9.5e+104:
		tmp = c * (y4 * ((y * y3) - (t * y2)))
	elif t <= 3.4e+199:
		tmp = t_3
	elif t <= 5.2e+222:
		tmp = c * (i * (z * t))
	else:
		tmp = t * (t_2 + (y5 * (a * y2)))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(Float64(b * y4) - Float64(i * y5))
	t_2 = Float64(j * t_1)
	t_3 = Float64(t * Float64(t_2 + Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))))
	tmp = 0.0
	if (t <= -1.1e+225)
		tmp = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a))));
	elseif (t <= -3.3e+106)
		tmp = t_3;
	elseif (t <= -7.6e+23)
		tmp = Float64(j * Float64(t * t_1));
	elseif (t <= -4.8e-8)
		tmp = Float64(c * Float64(y2 * Float64(Float64(x * y0) - Float64(t * y4))));
	elseif (t <= -1.75e-98)
		tmp = Float64(Float64(i * y1) * Float64(z * Float64(Float64(x * Float64(j / z)) - k)));
	elseif (t <= -4.5e-309)
		tmp = t_3;
	elseif (t <= 2.7e+16)
		tmp = Float64(c * Float64(y * Float64(Float64(y3 * y4) - Float64(x * i))));
	elseif (t <= 1.5e+76)
		tmp = Float64(a * Float64(Float64(Float64(x * y) * b) + Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))));
	elseif (t <= 9.5e+104)
		tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2))));
	elseif (t <= 3.4e+199)
		tmp = t_3;
	elseif (t <= 5.2e+222)
		tmp = Float64(c * Float64(i * Float64(z * t)));
	else
		tmp = Float64(t * Float64(t_2 + Float64(y5 * Float64(a * y2))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = (b * y4) - (i * y5);
	t_2 = j * t_1;
	t_3 = t * (t_2 + (y2 * ((a * y5) - (c * y4))));
	tmp = 0.0;
	if (t <= -1.1e+225)
		tmp = b * (z * ((k * y0) - (t * a)));
	elseif (t <= -3.3e+106)
		tmp = t_3;
	elseif (t <= -7.6e+23)
		tmp = j * (t * t_1);
	elseif (t <= -4.8e-8)
		tmp = c * (y2 * ((x * y0) - (t * y4)));
	elseif (t <= -1.75e-98)
		tmp = (i * y1) * (z * ((x * (j / z)) - k));
	elseif (t <= -4.5e-309)
		tmp = t_3;
	elseif (t <= 2.7e+16)
		tmp = c * (y * ((y3 * y4) - (x * i)));
	elseif (t <= 1.5e+76)
		tmp = a * (((x * y) * b) + (y5 * ((t * y2) - (y * y3))));
	elseif (t <= 9.5e+104)
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	elseif (t <= 3.4e+199)
		tmp = t_3;
	elseif (t <= 5.2e+222)
		tmp = c * (i * (z * t));
	else
		tmp = t * (t_2 + (y5 * (a * y2)));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(j * t$95$1), $MachinePrecision]}, Block[{t$95$3 = N[(t * N[(t$95$2 + N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1.1e+225], N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -3.3e+106], t$95$3, If[LessEqual[t, -7.6e+23], N[(j * N[(t * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -4.8e-8], N[(c * N[(y2 * N[(N[(x * y0), $MachinePrecision] - N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.75e-98], N[(N[(i * y1), $MachinePrecision] * N[(z * N[(N[(x * N[(j / z), $MachinePrecision]), $MachinePrecision] - k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -4.5e-309], t$95$3, If[LessEqual[t, 2.7e+16], N[(c * N[(y * N[(N[(y3 * y4), $MachinePrecision] - N[(x * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.5e+76], N[(a * N[(N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision] + N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 9.5e+104], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 3.4e+199], t$95$3, If[LessEqual[t, 5.2e+222], N[(c * N[(i * N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t * N[(t$95$2 + N[(y5 * N[(a * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;t \leq -3.3 \cdot 10^{+106}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;t \leq -7.6 \cdot 10^{+23}:\\
\;\;\;\;j \cdot \left(t \cdot t\_1\right)\\

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

\mathbf{elif}\;t \leq -1.75 \cdot 10^{-98}:\\
\;\;\;\;\left(i \cdot y1\right) \cdot \left(z \cdot \left(x \cdot \frac{j}{z} - k\right)\right)\\

\mathbf{elif}\;t \leq -4.5 \cdot 10^{-309}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;t \leq 2.7 \cdot 10^{+16}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4 - x \cdot i\right)\right)\\

\mathbf{elif}\;t \leq 1.5 \cdot 10^{+76}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b + y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\

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

\mathbf{elif}\;t \leq 3.4 \cdot 10^{+199}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;t \leq 5.2 \cdot 10^{+222}:\\
\;\;\;\;c \cdot \left(i \cdot \left(z \cdot t\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t \cdot \left(t\_2 + y5 \cdot \left(a \cdot y2\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 10 regimes
  2. if t < -1.10000000000000007e225

    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 b around inf 57.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 78.7%

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

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

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

    if -1.10000000000000007e225 < t < -3.30000000000000008e106 or -1.7500000000000001e-98 < t < -4.5000000000000011e-309 or 9.5e104 < t < 3.4e199

    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 t around inf 63.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 0 63.0%

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

    if -3.30000000000000008e106 < t < -7.5999999999999995e23

    1. Initial program 13.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 31.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 j around inf 63.2%

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

    if -7.5999999999999995e23 < t < -4.79999999999999997e-8

    1. Initial program 0.0%

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

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

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

    if -4.79999999999999997e-8 < t < -1.7500000000000001e-98

    1. Initial program 50.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 i around -inf 51.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 45.3%

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

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

      \[\leadsto -1 \cdot \color{blue}{\left(\left(i \cdot y1\right) \cdot \left(k \cdot z - j \cdot x\right)\right)} \]
    7. Taylor expanded in z around inf 51.4%

      \[\leadsto -1 \cdot \left(\left(i \cdot y1\right) \cdot \color{blue}{\left(z \cdot \left(k + -1 \cdot \frac{j \cdot x}{z}\right)\right)}\right) \]
    8. Step-by-step derivation
      1. mul-1-neg51.4%

        \[\leadsto -1 \cdot \left(\left(i \cdot y1\right) \cdot \left(z \cdot \left(k + \color{blue}{\left(-\frac{j \cdot x}{z}\right)}\right)\right)\right) \]
      2. unsub-neg51.4%

        \[\leadsto -1 \cdot \left(\left(i \cdot y1\right) \cdot \left(z \cdot \color{blue}{\left(k - \frac{j \cdot x}{z}\right)}\right)\right) \]
      3. *-commutative51.4%

        \[\leadsto -1 \cdot \left(\left(i \cdot y1\right) \cdot \left(z \cdot \left(k - \frac{\color{blue}{x \cdot j}}{z}\right)\right)\right) \]
      4. associate-/l*51.8%

        \[\leadsto -1 \cdot \left(\left(i \cdot y1\right) \cdot \left(z \cdot \left(k - \color{blue}{x \cdot \frac{j}{z}}\right)\right)\right) \]
    9. Simplified51.8%

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

    if -4.5000000000000011e-309 < t < 2.7e16

    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 c around inf 42.9%

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

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

        \[\leadsto c \cdot \color{blue}{\left(\left(-1 \cdot y\right) \cdot \left(i \cdot x - y3 \cdot y4\right)\right)} \]
      2. neg-mul-140.1%

        \[\leadsto c \cdot \left(\color{blue}{\left(-y\right)} \cdot \left(i \cdot x - y3 \cdot y4\right)\right) \]
    6. Simplified40.1%

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

    if 2.7e16 < t < 1.4999999999999999e76

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

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

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
    5. Step-by-step derivation
      1. associate-*r*67.1%

        \[\leadsto a \cdot \left(b \cdot \left(x \cdot y\right) - \color{blue}{\left(-1 \cdot y5\right) \cdot \left(t \cdot y2 - y \cdot y3\right)}\right) \]
      2. neg-mul-167.1%

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

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

    if 1.4999999999999999e76 < t < 9.5e104

    1. Initial program 16.7%

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

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

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

    if 3.4e199 < t < 5.2000000000000002e222

    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.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 c around 0 45.4%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg45.4%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*45.4%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified45.4%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in c around inf 100.0%

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

    if 5.2000000000000002e222 < t

    1. Initial program 7.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 84.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 0 77.6%

      \[\leadsto \color{blue}{t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    5. Taylor expanded in c around 0 77.6%

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

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*84.6%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    7. Simplified77.8%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -1.1 \cdot 10^{+225}:\\ \;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\ \mathbf{elif}\;t \leq -3.3 \cdot 10^{+106}:\\ \;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;t \leq -7.6 \cdot 10^{+23}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \mathbf{elif}\;t \leq -4.8 \cdot 10^{-8}:\\ \;\;\;\;c \cdot \left(y2 \cdot \left(x \cdot y0 - t \cdot y4\right)\right)\\ \mathbf{elif}\;t \leq -1.75 \cdot 10^{-98}:\\ \;\;\;\;\left(i \cdot y1\right) \cdot \left(z \cdot \left(x \cdot \frac{j}{z} - k\right)\right)\\ \mathbf{elif}\;t \leq -4.5 \cdot 10^{-309}:\\ \;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;t \leq 2.7 \cdot 10^{+16}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4 - x \cdot i\right)\right)\\ \mathbf{elif}\;t \leq 1.5 \cdot 10^{+76}:\\ \;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b + y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\ \mathbf{elif}\;t \leq 9.5 \cdot 10^{+104}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;t \leq 3.4 \cdot 10^{+199}:\\ \;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;t \leq 5.2 \cdot 10^{+222}:\\ \;\;\;\;c \cdot \left(i \cdot \left(z \cdot t\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + y5 \cdot \left(a \cdot y2\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 9: 39.8% accurate, 1.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := k \cdot y2 - j \cdot y3\\ t_2 := t \cdot j - y \cdot k\\ t_3 := y5 \cdot \left(a \cdot y2\right)\\ t_4 := y1 \cdot y4 - y0 \cdot y5\\ t_5 := t\_1 \cdot t\_4\\ t_6 := j \cdot \left(b \cdot y4 - i \cdot y5\right)\\ \mathbf{if}\;y4 \leq -4.8 \cdot 10^{+20}:\\ \;\;\;\;y4 \cdot \left(\left(b \cdot t\_2 + y1 \cdot t\_1\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;y4 \leq -1.1 \cdot 10^{-232}:\\ \;\;\;\;y2 \cdot \left(\left(k \cdot t\_4 + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;y4 \leq 4 \cdot 10^{-278}:\\ \;\;\;\;\left(i \cdot y1\right) \cdot \left(z \cdot \left(x \cdot \frac{j}{z} - k\right)\right)\\ \mathbf{elif}\;y4 \leq 2.05 \cdot 10^{-196}:\\ \;\;\;\;t \cdot \left(\left(t\_6 + z \cdot \left(c \cdot i - a \cdot b\right)\right) + t\_3\right)\\ \mathbf{elif}\;y4 \leq 3.5 \cdot 10^{-60}:\\ \;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot t\_2\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y4 \leq 1400000:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;y4 \leq 1.8 \cdot 10^{+162}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right) + \frac{t\_5}{y}\right)\\ \mathbf{elif}\;y4 \leq 5.8 \cdot 10^{+212}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(c \cdot \left(a \cdot \frac{y5}{c} - y4\right)\right)\right)\\ \mathbf{elif}\;y4 \leq 2 \cdot 10^{+236}:\\ \;\;\;\;t\_5 + k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(t\_6 + t\_3\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) (* j y3)))
        (t_2 (- (* t j) (* y k)))
        (t_3 (* y5 (* a y2)))
        (t_4 (- (* y1 y4) (* y0 y5)))
        (t_5 (* t_1 t_4))
        (t_6 (* j (- (* b y4) (* i y5)))))
   (if (<= y4 -4.8e+20)
     (* y4 (+ (+ (* b t_2) (* y1 t_1)) (* c (- (* y y3) (* t y2)))))
     (if (<= y4 -1.1e-232)
       (*
        y2
        (+
         (+ (* k t_4) (* x (- (* c y0) (* a y1))))
         (* t (- (* a y5) (* c y4)))))
       (if (<= y4 4e-278)
         (* (* i y1) (* z (- (* x (/ j z)) k)))
         (if (<= y4 2.05e-196)
           (* t (+ (+ t_6 (* z (- (* c i) (* a b)))) t_3))
           (if (<= y4 3.5e-60)
             (*
              b
              (+
               (+ (* a (- (* x y) (* z t))) (* y4 t_2))
               (* y0 (- (* z k) (* x j)))))
             (if (<= y4 1400000.0)
               (* c (* y0 (- (* x y2) (* z y3))))
               (if (<= y4 1.8e+162)
                 (* y (+ (* y3 (- (* c y4) (* a y5))) (/ t_5 y)))
                 (if (<= y4 5.8e+212)
                   (* t (* y2 (* c (- (* a (/ y5 c)) y4))))
                   (if (<= y4 2e+236)
                     (+ t_5 (* k (* y (- (* i y5) (* b y4)))))
                     (* t (+ t_6 t_3)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (k * y2) - (j * y3);
	double t_2 = (t * j) - (y * k);
	double t_3 = y5 * (a * y2);
	double t_4 = (y1 * y4) - (y0 * y5);
	double t_5 = t_1 * t_4;
	double t_6 = j * ((b * y4) - (i * y5));
	double tmp;
	if (y4 <= -4.8e+20) {
		tmp = y4 * (((b * t_2) + (y1 * t_1)) + (c * ((y * y3) - (t * y2))));
	} else if (y4 <= -1.1e-232) {
		tmp = y2 * (((k * t_4) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
	} else if (y4 <= 4e-278) {
		tmp = (i * y1) * (z * ((x * (j / z)) - k));
	} else if (y4 <= 2.05e-196) {
		tmp = t * ((t_6 + (z * ((c * i) - (a * b)))) + t_3);
	} else if (y4 <= 3.5e-60) {
		tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_2)) + (y0 * ((z * k) - (x * j))));
	} else if (y4 <= 1400000.0) {
		tmp = c * (y0 * ((x * y2) - (z * y3)));
	} else if (y4 <= 1.8e+162) {
		tmp = y * ((y3 * ((c * y4) - (a * y5))) + (t_5 / y));
	} else if (y4 <= 5.8e+212) {
		tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)));
	} else if (y4 <= 2e+236) {
		tmp = t_5 + (k * (y * ((i * y5) - (b * y4))));
	} else {
		tmp = t * (t_6 + t_3);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: t_4
    real(8) :: t_5
    real(8) :: t_6
    real(8) :: tmp
    t_1 = (k * y2) - (j * y3)
    t_2 = (t * j) - (y * k)
    t_3 = y5 * (a * y2)
    t_4 = (y1 * y4) - (y0 * y5)
    t_5 = t_1 * t_4
    t_6 = j * ((b * y4) - (i * y5))
    if (y4 <= (-4.8d+20)) then
        tmp = y4 * (((b * t_2) + (y1 * t_1)) + (c * ((y * y3) - (t * y2))))
    else if (y4 <= (-1.1d-232)) then
        tmp = y2 * (((k * t_4) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))))
    else if (y4 <= 4d-278) then
        tmp = (i * y1) * (z * ((x * (j / z)) - k))
    else if (y4 <= 2.05d-196) then
        tmp = t * ((t_6 + (z * ((c * i) - (a * b)))) + t_3)
    else if (y4 <= 3.5d-60) then
        tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_2)) + (y0 * ((z * k) - (x * j))))
    else if (y4 <= 1400000.0d0) then
        tmp = c * (y0 * ((x * y2) - (z * y3)))
    else if (y4 <= 1.8d+162) then
        tmp = y * ((y3 * ((c * y4) - (a * y5))) + (t_5 / y))
    else if (y4 <= 5.8d+212) then
        tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)))
    else if (y4 <= 2d+236) then
        tmp = t_5 + (k * (y * ((i * y5) - (b * y4))))
    else
        tmp = t * (t_6 + t_3)
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (k * y2) - (j * y3);
	double t_2 = (t * j) - (y * k);
	double t_3 = y5 * (a * y2);
	double t_4 = (y1 * y4) - (y0 * y5);
	double t_5 = t_1 * t_4;
	double t_6 = j * ((b * y4) - (i * y5));
	double tmp;
	if (y4 <= -4.8e+20) {
		tmp = y4 * (((b * t_2) + (y1 * t_1)) + (c * ((y * y3) - (t * y2))));
	} else if (y4 <= -1.1e-232) {
		tmp = y2 * (((k * t_4) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
	} else if (y4 <= 4e-278) {
		tmp = (i * y1) * (z * ((x * (j / z)) - k));
	} else if (y4 <= 2.05e-196) {
		tmp = t * ((t_6 + (z * ((c * i) - (a * b)))) + t_3);
	} else if (y4 <= 3.5e-60) {
		tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_2)) + (y0 * ((z * k) - (x * j))));
	} else if (y4 <= 1400000.0) {
		tmp = c * (y0 * ((x * y2) - (z * y3)));
	} else if (y4 <= 1.8e+162) {
		tmp = y * ((y3 * ((c * y4) - (a * y5))) + (t_5 / y));
	} else if (y4 <= 5.8e+212) {
		tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)));
	} else if (y4 <= 2e+236) {
		tmp = t_5 + (k * (y * ((i * y5) - (b * y4))));
	} else {
		tmp = t * (t_6 + t_3);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = (k * y2) - (j * y3)
	t_2 = (t * j) - (y * k)
	t_3 = y5 * (a * y2)
	t_4 = (y1 * y4) - (y0 * y5)
	t_5 = t_1 * t_4
	t_6 = j * ((b * y4) - (i * y5))
	tmp = 0
	if y4 <= -4.8e+20:
		tmp = y4 * (((b * t_2) + (y1 * t_1)) + (c * ((y * y3) - (t * y2))))
	elif y4 <= -1.1e-232:
		tmp = y2 * (((k * t_4) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))))
	elif y4 <= 4e-278:
		tmp = (i * y1) * (z * ((x * (j / z)) - k))
	elif y4 <= 2.05e-196:
		tmp = t * ((t_6 + (z * ((c * i) - (a * b)))) + t_3)
	elif y4 <= 3.5e-60:
		tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_2)) + (y0 * ((z * k) - (x * j))))
	elif y4 <= 1400000.0:
		tmp = c * (y0 * ((x * y2) - (z * y3)))
	elif y4 <= 1.8e+162:
		tmp = y * ((y3 * ((c * y4) - (a * y5))) + (t_5 / y))
	elif y4 <= 5.8e+212:
		tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)))
	elif y4 <= 2e+236:
		tmp = t_5 + (k * (y * ((i * y5) - (b * y4))))
	else:
		tmp = t * (t_6 + t_3)
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(Float64(k * y2) - Float64(j * y3))
	t_2 = Float64(Float64(t * j) - Float64(y * k))
	t_3 = Float64(y5 * Float64(a * y2))
	t_4 = Float64(Float64(y1 * y4) - Float64(y0 * y5))
	t_5 = Float64(t_1 * t_4)
	t_6 = Float64(j * Float64(Float64(b * y4) - Float64(i * y5)))
	tmp = 0.0
	if (y4 <= -4.8e+20)
		tmp = Float64(y4 * Float64(Float64(Float64(b * t_2) + Float64(y1 * t_1)) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2)))));
	elseif (y4 <= -1.1e-232)
		tmp = Float64(y2 * Float64(Float64(Float64(k * t_4) + Float64(x * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4)))));
	elseif (y4 <= 4e-278)
		tmp = Float64(Float64(i * y1) * Float64(z * Float64(Float64(x * Float64(j / z)) - k)));
	elseif (y4 <= 2.05e-196)
		tmp = Float64(t * Float64(Float64(t_6 + Float64(z * Float64(Float64(c * i) - Float64(a * b)))) + t_3));
	elseif (y4 <= 3.5e-60)
		tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * t_2)) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))));
	elseif (y4 <= 1400000.0)
		tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))));
	elseif (y4 <= 1.8e+162)
		tmp = Float64(y * Float64(Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(t_5 / y)));
	elseif (y4 <= 5.8e+212)
		tmp = Float64(t * Float64(y2 * Float64(c * Float64(Float64(a * Float64(y5 / c)) - y4))));
	elseif (y4 <= 2e+236)
		tmp = Float64(t_5 + Float64(k * Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))));
	else
		tmp = Float64(t * Float64(t_6 + t_3));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = (k * y2) - (j * y3);
	t_2 = (t * j) - (y * k);
	t_3 = y5 * (a * y2);
	t_4 = (y1 * y4) - (y0 * y5);
	t_5 = t_1 * t_4;
	t_6 = j * ((b * y4) - (i * y5));
	tmp = 0.0;
	if (y4 <= -4.8e+20)
		tmp = y4 * (((b * t_2) + (y1 * t_1)) + (c * ((y * y3) - (t * y2))));
	elseif (y4 <= -1.1e-232)
		tmp = y2 * (((k * t_4) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
	elseif (y4 <= 4e-278)
		tmp = (i * y1) * (z * ((x * (j / z)) - k));
	elseif (y4 <= 2.05e-196)
		tmp = t * ((t_6 + (z * ((c * i) - (a * b)))) + t_3);
	elseif (y4 <= 3.5e-60)
		tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_2)) + (y0 * ((z * k) - (x * j))));
	elseif (y4 <= 1400000.0)
		tmp = c * (y0 * ((x * y2) - (z * y3)));
	elseif (y4 <= 1.8e+162)
		tmp = y * ((y3 * ((c * y4) - (a * y5))) + (t_5 / y));
	elseif (y4 <= 5.8e+212)
		tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)));
	elseif (y4 <= 2e+236)
		tmp = t_5 + (k * (y * ((i * y5) - (b * y4))));
	else
		tmp = t * (t_6 + t_3);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y5 * N[(a * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(t$95$1 * t$95$4), $MachinePrecision]}, Block[{t$95$6 = N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -4.8e+20], N[(y4 * N[(N[(N[(b * t$95$2), $MachinePrecision] + N[(y1 * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -1.1e-232], N[(y2 * N[(N[(N[(k * t$95$4), $MachinePrecision] + N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 4e-278], N[(N[(i * y1), $MachinePrecision] * N[(z * N[(N[(x * N[(j / z), $MachinePrecision]), $MachinePrecision] - k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 2.05e-196], N[(t * N[(N[(t$95$6 + N[(z * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$3), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 3.5e-60], N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $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[y4, 1400000.0], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 1.8e+162], N[(y * N[(N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t$95$5 / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 5.8e+212], N[(t * N[(y2 * N[(c * N[(N[(a * N[(y5 / c), $MachinePrecision]), $MachinePrecision] - y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 2e+236], N[(t$95$5 + N[(k * N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t * N[(t$95$6 + t$95$3), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]
\begin{array}{l}

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

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

\mathbf{elif}\;y4 \leq 4 \cdot 10^{-278}:\\
\;\;\;\;\left(i \cdot y1\right) \cdot \left(z \cdot \left(x \cdot \frac{j}{z} - k\right)\right)\\

\mathbf{elif}\;y4 \leq 2.05 \cdot 10^{-196}:\\
\;\;\;\;t \cdot \left(\left(t\_6 + z \cdot \left(c \cdot i - a \cdot b\right)\right) + t\_3\right)\\

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

\mathbf{elif}\;y4 \leq 1400000:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\

\mathbf{elif}\;y4 \leq 1.8 \cdot 10^{+162}:\\
\;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right) + \frac{t\_5}{y}\right)\\

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

\mathbf{elif}\;y4 \leq 2 \cdot 10^{+236}:\\
\;\;\;\;t\_5 + k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t \cdot \left(t\_6 + t\_3\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 10 regimes
  2. if y4 < -4.8e20

    1. Initial program 15.6%

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

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

    if -4.8e20 < y4 < -1.10000000000000001e-232

    1. Initial program 23.2%

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

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

    if -1.10000000000000001e-232 < y4 < 3.99999999999999975e-278

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

      \[\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 41.8%

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

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

      \[\leadsto -1 \cdot \color{blue}{\left(\left(i \cdot y1\right) \cdot \left(k \cdot z - j \cdot x\right)\right)} \]
    7. Taylor expanded in z around inf 50.0%

      \[\leadsto -1 \cdot \left(\left(i \cdot y1\right) \cdot \color{blue}{\left(z \cdot \left(k + -1 \cdot \frac{j \cdot x}{z}\right)\right)}\right) \]
    8. Step-by-step derivation
      1. mul-1-neg50.0%

        \[\leadsto -1 \cdot \left(\left(i \cdot y1\right) \cdot \left(z \cdot \left(k + \color{blue}{\left(-\frac{j \cdot x}{z}\right)}\right)\right)\right) \]
      2. unsub-neg50.0%

        \[\leadsto -1 \cdot \left(\left(i \cdot y1\right) \cdot \left(z \cdot \color{blue}{\left(k - \frac{j \cdot x}{z}\right)}\right)\right) \]
      3. *-commutative50.0%

        \[\leadsto -1 \cdot \left(\left(i \cdot y1\right) \cdot \left(z \cdot \left(k - \frac{\color{blue}{x \cdot j}}{z}\right)\right)\right) \]
      4. associate-/l*50.0%

        \[\leadsto -1 \cdot \left(\left(i \cdot y1\right) \cdot \left(z \cdot \left(k - \color{blue}{x \cdot \frac{j}{z}}\right)\right)\right) \]
    9. Simplified50.0%

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

    if 3.99999999999999975e-278 < y4 < 2.05000000000000011e-196

    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 t around inf 82.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 c around 0 82.5%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg82.5%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*82.5%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified82.5%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]

    if 2.05000000000000011e-196 < y4 < 3.49999999999999976e-60

    1. Initial program 37.5%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 58.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)} \]

    if 3.49999999999999976e-60 < y4 < 1.4e6

    1. Initial program 36.7%

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

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

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

    if 1.4e6 < y4 < 1.79999999999999997e162

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

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

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

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

    if 1.79999999999999997e162 < y4 < 5.7999999999999997e212

    1. Initial program 13.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 60.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 53.9%

      \[\leadsto \color{blue}{t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)} \]
    5. Taylor expanded in c around inf 60.3%

      \[\leadsto t \cdot \left(y2 \cdot \color{blue}{\left(c \cdot \left(\frac{a \cdot y5}{c} - y4\right)\right)}\right) \]
    6. Step-by-step derivation
      1. associate-/l*67.0%

        \[\leadsto t \cdot \left(y2 \cdot \left(c \cdot \left(\color{blue}{a \cdot \frac{y5}{c}} - y4\right)\right)\right) \]
    7. Simplified67.0%

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

    if 5.7999999999999997e212 < y4 < 2.00000000000000011e236

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

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

      \[\leadsto \color{blue}{-1 \cdot \left(k \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    5. Step-by-step derivation
      1. mul-1-neg83.4%

        \[\leadsto \color{blue}{\left(-k \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    6. Simplified83.4%

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

    if 2.00000000000000011e236 < y4

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

      \[\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 0 66.7%

      \[\leadsto \color{blue}{t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    5. Taylor expanded in c around 0 77.8%

      \[\leadsto t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    6. Step-by-step derivation
      1. mul-1-neg77.8%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*77.8%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    7. Simplified77.8%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y4 \leq -4.8 \cdot 10^{+20}:\\ \;\;\;\;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}\;y4 \leq -1.1 \cdot 10^{-232}:\\ \;\;\;\;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}\;y4 \leq 4 \cdot 10^{-278}:\\ \;\;\;\;\left(i \cdot y1\right) \cdot \left(z \cdot \left(x \cdot \frac{j}{z} - k\right)\right)\\ \mathbf{elif}\;y4 \leq 2.05 \cdot 10^{-196}:\\ \;\;\;\;t \cdot \left(\left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + z \cdot \left(c \cdot i - a \cdot b\right)\right) + y5 \cdot \left(a \cdot y2\right)\right)\\ \mathbf{elif}\;y4 \leq 3.5 \cdot 10^{-60}:\\ \;\;\;\;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}\;y4 \leq 1400000:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;y4 \leq 1.8 \cdot 10^{+162}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right) + \frac{\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}{y}\right)\\ \mathbf{elif}\;y4 \leq 5.8 \cdot 10^{+212}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(c \cdot \left(a \cdot \frac{y5}{c} - y4\right)\right)\right)\\ \mathbf{elif}\;y4 \leq 2 \cdot 10^{+236}:\\ \;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + y5 \cdot \left(a \cdot y2\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 10: 39.2% accurate, 1.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right) + \frac{\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}{y}\right)\\ t_2 := z \cdot t - x \cdot y\\ t_3 := c \cdot i - a \cdot b\\ \mathbf{if}\;z \leq -3.3 \cdot 10^{+227}:\\ \;\;\;\;c \cdot \left(y3 \cdot \left(y \cdot y4 - z \cdot y0\right)\right)\\ \mathbf{elif}\;z \leq -9.5 \cdot 10^{+86}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq -1.4 \cdot 10^{-5}:\\ \;\;\;\;t \cdot \left(\left(z \cdot t\_3 + b \cdot \left(j \cdot y4\right)\right) + y5 \cdot \left(a \cdot y2\right)\right)\\ \mathbf{elif}\;z \leq -4.5 \cdot 10^{-116}:\\ \;\;\;\;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\_2\right)\right)\\ \mathbf{elif}\;z \leq -4.4 \cdot 10^{-231}:\\ \;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;z \leq 5.2 \cdot 10^{-222}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq 2.7 \cdot 10^{+112}:\\ \;\;\;\;c \cdot \left(\left(i \cdot t\_2 + y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;z \leq 1.08 \cdot 10^{+220}:\\ \;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(t \cdot t\_3 + y3 \cdot \left(a \cdot y1 - c \cdot y0\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
          (+
           (* y3 (- (* c y4) (* a y5)))
           (/ (* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5))) y))))
        (t_2 (- (* z t) (* x y)))
        (t_3 (- (* c i) (* a b))))
   (if (<= z -3.3e+227)
     (* c (* y3 (- (* y y4) (* z y0))))
     (if (<= z -9.5e+86)
       t_1
       (if (<= z -1.4e-5)
         (* t (+ (+ (* z t_3) (* b (* j y4))) (* y5 (* a y2))))
         (if (<= z -4.5e-116)
           (*
            i
            (+
             (* y1 (- (* x j) (* z k)))
             (+ (* y5 (- (* y k) (* t j))) (* c t_2))))
           (if (<= z -4.4e-231)
             (* t (+ (* j (- (* b y4) (* i y5))) (* y2 (- (* a y5) (* c y4)))))
             (if (<= z 5.2e-222)
               t_1
               (if (<= z 2.7e+112)
                 (*
                  c
                  (+
                   (+ (* i t_2) (* y0 (- (* x y2) (* z y3))))
                   (* y4 (- (* y y3) (* t y2)))))
                 (if (<= z 1.08e+220)
                   (* i (* z (- (* t c) (* k y1))))
                   (*
                    z
                    (+
                     (* k (- (* b y0) (* i y1)))
                     (+ (* t t_3) (* 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 = y * ((y3 * ((c * y4) - (a * y5))) + ((((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) / y));
	double t_2 = (z * t) - (x * y);
	double t_3 = (c * i) - (a * b);
	double tmp;
	if (z <= -3.3e+227) {
		tmp = c * (y3 * ((y * y4) - (z * y0)));
	} else if (z <= -9.5e+86) {
		tmp = t_1;
	} else if (z <= -1.4e-5) {
		tmp = t * (((z * t_3) + (b * (j * y4))) + (y5 * (a * y2)));
	} else if (z <= -4.5e-116) {
		tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) + (c * t_2)));
	} else if (z <= -4.4e-231) {
		tmp = t * ((j * ((b * y4) - (i * y5))) + (y2 * ((a * y5) - (c * y4))));
	} else if (z <= 5.2e-222) {
		tmp = t_1;
	} else if (z <= 2.7e+112) {
		tmp = c * (((i * t_2) + (y0 * ((x * y2) - (z * y3)))) + (y4 * ((y * y3) - (t * y2))));
	} else if (z <= 1.08e+220) {
		tmp = i * (z * ((t * c) - (k * y1)));
	} else {
		tmp = z * ((k * ((b * y0) - (i * y1))) + ((t * t_3) + (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) :: t_2
    real(8) :: t_3
    real(8) :: tmp
    t_1 = y * ((y3 * ((c * y4) - (a * y5))) + ((((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) / y))
    t_2 = (z * t) - (x * y)
    t_3 = (c * i) - (a * b)
    if (z <= (-3.3d+227)) then
        tmp = c * (y3 * ((y * y4) - (z * y0)))
    else if (z <= (-9.5d+86)) then
        tmp = t_1
    else if (z <= (-1.4d-5)) then
        tmp = t * (((z * t_3) + (b * (j * y4))) + (y5 * (a * y2)))
    else if (z <= (-4.5d-116)) then
        tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) + (c * t_2)))
    else if (z <= (-4.4d-231)) then
        tmp = t * ((j * ((b * y4) - (i * y5))) + (y2 * ((a * y5) - (c * y4))))
    else if (z <= 5.2d-222) then
        tmp = t_1
    else if (z <= 2.7d+112) then
        tmp = c * (((i * t_2) + (y0 * ((x * y2) - (z * y3)))) + (y4 * ((y * y3) - (t * y2))))
    else if (z <= 1.08d+220) then
        tmp = i * (z * ((t * c) - (k * y1)))
    else
        tmp = z * ((k * ((b * y0) - (i * y1))) + ((t * t_3) + (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 = y * ((y3 * ((c * y4) - (a * y5))) + ((((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) / y));
	double t_2 = (z * t) - (x * y);
	double t_3 = (c * i) - (a * b);
	double tmp;
	if (z <= -3.3e+227) {
		tmp = c * (y3 * ((y * y4) - (z * y0)));
	} else if (z <= -9.5e+86) {
		tmp = t_1;
	} else if (z <= -1.4e-5) {
		tmp = t * (((z * t_3) + (b * (j * y4))) + (y5 * (a * y2)));
	} else if (z <= -4.5e-116) {
		tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) + (c * t_2)));
	} else if (z <= -4.4e-231) {
		tmp = t * ((j * ((b * y4) - (i * y5))) + (y2 * ((a * y5) - (c * y4))));
	} else if (z <= 5.2e-222) {
		tmp = t_1;
	} else if (z <= 2.7e+112) {
		tmp = c * (((i * t_2) + (y0 * ((x * y2) - (z * y3)))) + (y4 * ((y * y3) - (t * y2))));
	} else if (z <= 1.08e+220) {
		tmp = i * (z * ((t * c) - (k * y1)));
	} else {
		tmp = z * ((k * ((b * y0) - (i * y1))) + ((t * t_3) + (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 = y * ((y3 * ((c * y4) - (a * y5))) + ((((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) / y))
	t_2 = (z * t) - (x * y)
	t_3 = (c * i) - (a * b)
	tmp = 0
	if z <= -3.3e+227:
		tmp = c * (y3 * ((y * y4) - (z * y0)))
	elif z <= -9.5e+86:
		tmp = t_1
	elif z <= -1.4e-5:
		tmp = t * (((z * t_3) + (b * (j * y4))) + (y5 * (a * y2)))
	elif z <= -4.5e-116:
		tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) + (c * t_2)))
	elif z <= -4.4e-231:
		tmp = t * ((j * ((b * y4) - (i * y5))) + (y2 * ((a * y5) - (c * y4))))
	elif z <= 5.2e-222:
		tmp = t_1
	elif z <= 2.7e+112:
		tmp = c * (((i * t_2) + (y0 * ((x * y2) - (z * y3)))) + (y4 * ((y * y3) - (t * y2))))
	elif z <= 1.08e+220:
		tmp = i * (z * ((t * c) - (k * y1)))
	else:
		tmp = z * ((k * ((b * y0) - (i * y1))) + ((t * t_3) + (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(y * Float64(Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5))) / y)))
	t_2 = Float64(Float64(z * t) - Float64(x * y))
	t_3 = Float64(Float64(c * i) - Float64(a * b))
	tmp = 0.0
	if (z <= -3.3e+227)
		tmp = Float64(c * Float64(y3 * Float64(Float64(y * y4) - Float64(z * y0))));
	elseif (z <= -9.5e+86)
		tmp = t_1;
	elseif (z <= -1.4e-5)
		tmp = Float64(t * Float64(Float64(Float64(z * t_3) + Float64(b * Float64(j * y4))) + Float64(y5 * Float64(a * y2))));
	elseif (z <= -4.5e-116)
		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_2))));
	elseif (z <= -4.4e-231)
		tmp = Float64(t * Float64(Float64(j * Float64(Float64(b * y4) - Float64(i * y5))) + Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))));
	elseif (z <= 5.2e-222)
		tmp = t_1;
	elseif (z <= 2.7e+112)
		tmp = Float64(c * Float64(Float64(Float64(i * t_2) + Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))) + Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))));
	elseif (z <= 1.08e+220)
		tmp = Float64(i * Float64(z * Float64(Float64(t * c) - Float64(k * y1))));
	else
		tmp = Float64(z * Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(Float64(t * t_3) + 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 = y * ((y3 * ((c * y4) - (a * y5))) + ((((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) / y));
	t_2 = (z * t) - (x * y);
	t_3 = (c * i) - (a * b);
	tmp = 0.0;
	if (z <= -3.3e+227)
		tmp = c * (y3 * ((y * y4) - (z * y0)));
	elseif (z <= -9.5e+86)
		tmp = t_1;
	elseif (z <= -1.4e-5)
		tmp = t * (((z * t_3) + (b * (j * y4))) + (y5 * (a * y2)));
	elseif (z <= -4.5e-116)
		tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) + (c * t_2)));
	elseif (z <= -4.4e-231)
		tmp = t * ((j * ((b * y4) - (i * y5))) + (y2 * ((a * y5) - (c * y4))));
	elseif (z <= 5.2e-222)
		tmp = t_1;
	elseif (z <= 2.7e+112)
		tmp = c * (((i * t_2) + (y0 * ((x * y2) - (z * y3)))) + (y4 * ((y * y3) - (t * y2))));
	elseif (z <= 1.08e+220)
		tmp = i * (z * ((t * c) - (k * y1)));
	else
		tmp = z * ((k * ((b * y0) - (i * y1))) + ((t * t_3) + (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[(y * N[(N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -3.3e+227], N[(c * N[(y3 * N[(N[(y * y4), $MachinePrecision] - N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -9.5e+86], t$95$1, If[LessEqual[z, -1.4e-5], N[(t * N[(N[(N[(z * t$95$3), $MachinePrecision] + N[(b * N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * N[(a * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -4.5e-116], 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$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -4.4e-231], N[(t * N[(N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 5.2e-222], t$95$1, If[LessEqual[z, 2.7e+112], N[(c * N[(N[(N[(i * t$95$2), $MachinePrecision] + N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.08e+220], N[(i * N[(z * N[(N[(t * c), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(z * N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(t * t$95$3), $MachinePrecision] + N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;z \leq -9.5 \cdot 10^{+86}:\\
\;\;\;\;t\_1\\

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

\mathbf{elif}\;z \leq -4.5 \cdot 10^{-116}:\\
\;\;\;\;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\_2\right)\right)\\

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

\mathbf{elif}\;z \leq 5.2 \cdot 10^{-222}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;z \leq 2.7 \cdot 10^{+112}:\\
\;\;\;\;c \cdot \left(\left(i \cdot t\_2 + y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\

\mathbf{elif}\;z \leq 1.08 \cdot 10^{+220}:\\
\;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\

\mathbf{else}:\\
\;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(t \cdot t\_3 + y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 8 regimes
  2. if z < -3.2999999999999999e227

    1. Initial program 27.3%

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

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

      \[\leadsto c \cdot \color{blue}{\left(-1 \cdot \left(y3 \cdot \left(y0 \cdot z - y \cdot y4\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg81.8%

        \[\leadsto c \cdot \color{blue}{\left(-y3 \cdot \left(y0 \cdot z - y \cdot y4\right)\right)} \]
    6. Simplified81.8%

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

    if -3.2999999999999999e227 < z < -9.50000000000000028e86 or -4.40000000000000018e-231 < z < 5.1999999999999997e-222

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

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

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

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

    if -9.50000000000000028e86 < z < -1.39999999999999998e-5

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

      \[\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 0 66.7%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg66.7%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*75.0%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified75.0%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in b around inf 75.1%

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

    if -1.39999999999999998e-5 < z < -4.50000000000000012e-116

    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 i around -inf 61.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)} \]

    if -4.50000000000000012e-116 < z < -4.40000000000000018e-231

    1. Initial program 31.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 48.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 z around 0 54.2%

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

    if 5.1999999999999997e-222 < z < 2.7000000000000001e112

    1. Initial program 24.0%

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

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

    if 2.7000000000000001e112 < z < 1.08e220

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

      \[\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 z around -inf 79.3%

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

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

        \[\leadsto -1 \cdot \left(\color{blue}{\left(-i\right)} \cdot \left(z \cdot \left(c \cdot t - k \cdot y1\right)\right)\right) \]
    6. Simplified79.3%

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

    if 1.08e220 < z

    1. Initial program 37.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 93.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)} \]
  3. Recombined 8 regimes into one program.
  4. Final simplification64.9%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -3.3 \cdot 10^{+227}:\\ \;\;\;\;c \cdot \left(y3 \cdot \left(y \cdot y4 - z \cdot y0\right)\right)\\ \mathbf{elif}\;z \leq -9.5 \cdot 10^{+86}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right) + \frac{\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}{y}\right)\\ \mathbf{elif}\;z \leq -1.4 \cdot 10^{-5}:\\ \;\;\;\;t \cdot \left(\left(z \cdot \left(c \cdot i - a \cdot b\right) + b \cdot \left(j \cdot y4\right)\right) + y5 \cdot \left(a \cdot y2\right)\right)\\ \mathbf{elif}\;z \leq -4.5 \cdot 10^{-116}:\\ \;\;\;\;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(z \cdot t - x \cdot y\right)\right)\right)\\ \mathbf{elif}\;z \leq -4.4 \cdot 10^{-231}:\\ \;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;z \leq 5.2 \cdot 10^{-222}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right) + \frac{\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}{y}\right)\\ \mathbf{elif}\;z \leq 2.7 \cdot 10^{+112}:\\ \;\;\;\;c \cdot \left(\left(i \cdot \left(z \cdot t - x \cdot y\right) + y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;z \leq 1.08 \cdot 10^{+220}:\\ \;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(t \cdot \left(c \cdot i - a \cdot b\right) + y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 11: 40.9% accurate, 1.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := k \cdot y2 - j \cdot y3\\ t_2 := j \cdot \left(b \cdot y4 - i \cdot y5\right)\\ t_3 := t \cdot j - y \cdot k\\ t_4 := y4 \cdot \left(\left(b \cdot t\_3 + y1 \cdot t\_1\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ t_5 := y5 \cdot \left(a \cdot y2\right)\\ \mathbf{if}\;y4 \leq -4.3 \cdot 10^{+15}:\\ \;\;\;\;t\_4\\ \mathbf{elif}\;y4 \leq 1.45 \cdot 10^{-279}:\\ \;\;\;\;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(z \cdot t - x \cdot y\right)\right)\right)\\ \mathbf{elif}\;y4 \leq 7.2 \cdot 10^{-196}:\\ \;\;\;\;t \cdot \left(\left(t\_2 + z \cdot \left(c \cdot i - a \cdot b\right)\right) + t\_5\right)\\ \mathbf{elif}\;y4 \leq 8.5 \cdot 10^{-60}:\\ \;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot t\_3\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;y4 \leq 1.32 \cdot 10^{+38}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;y4 \leq 10^{+162}:\\ \;\;\;\;t\_4\\ \mathbf{elif}\;y4 \leq 3.1 \cdot 10^{+211}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(c \cdot \left(a \cdot \frac{y5}{c} - y4\right)\right)\right)\\ \mathbf{elif}\;y4 \leq 3.1 \cdot 10^{+236}:\\ \;\;\;\;t\_1 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(t\_2 + t\_5\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) (* j y3)))
        (t_2 (* j (- (* b y4) (* i y5))))
        (t_3 (- (* t j) (* y k)))
        (t_4 (* y4 (+ (+ (* b t_3) (* y1 t_1)) (* c (- (* y y3) (* t y2))))))
        (t_5 (* y5 (* a y2))))
   (if (<= y4 -4.3e+15)
     t_4
     (if (<= y4 1.45e-279)
       (*
        i
        (+
         (* y1 (- (* x j) (* z k)))
         (+ (* y5 (- (* y k) (* t j))) (* c (- (* z t) (* x y))))))
       (if (<= y4 7.2e-196)
         (* t (+ (+ t_2 (* z (- (* c i) (* a b)))) t_5))
         (if (<= y4 8.5e-60)
           (*
            b
            (+
             (+ (* a (- (* x y) (* z t))) (* y4 t_3))
             (* y0 (- (* z k) (* x j)))))
           (if (<= y4 1.32e+38)
             (* c (* y0 (- (* x y2) (* z y3))))
             (if (<= y4 1e+162)
               t_4
               (if (<= y4 3.1e+211)
                 (* t (* y2 (* c (- (* a (/ y5 c)) y4))))
                 (if (<= y4 3.1e+236)
                   (+
                    (* t_1 (- (* y1 y4) (* y0 y5)))
                    (* k (* y (- (* i y5) (* b y4)))))
                   (* t (+ t_2 t_5))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (k * y2) - (j * y3);
	double t_2 = j * ((b * y4) - (i * y5));
	double t_3 = (t * j) - (y * k);
	double t_4 = y4 * (((b * t_3) + (y1 * t_1)) + (c * ((y * y3) - (t * y2))));
	double t_5 = y5 * (a * y2);
	double tmp;
	if (y4 <= -4.3e+15) {
		tmp = t_4;
	} else if (y4 <= 1.45e-279) {
		tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) + (c * ((z * t) - (x * y)))));
	} else if (y4 <= 7.2e-196) {
		tmp = t * ((t_2 + (z * ((c * i) - (a * b)))) + t_5);
	} else if (y4 <= 8.5e-60) {
		tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_3)) + (y0 * ((z * k) - (x * j))));
	} else if (y4 <= 1.32e+38) {
		tmp = c * (y0 * ((x * y2) - (z * y3)));
	} else if (y4 <= 1e+162) {
		tmp = t_4;
	} else if (y4 <= 3.1e+211) {
		tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)));
	} else if (y4 <= 3.1e+236) {
		tmp = (t_1 * ((y1 * y4) - (y0 * y5))) + (k * (y * ((i * y5) - (b * y4))));
	} else {
		tmp = t * (t_2 + t_5);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: t_4
    real(8) :: t_5
    real(8) :: tmp
    t_1 = (k * y2) - (j * y3)
    t_2 = j * ((b * y4) - (i * y5))
    t_3 = (t * j) - (y * k)
    t_4 = y4 * (((b * t_3) + (y1 * t_1)) + (c * ((y * y3) - (t * y2))))
    t_5 = y5 * (a * y2)
    if (y4 <= (-4.3d+15)) then
        tmp = t_4
    else if (y4 <= 1.45d-279) then
        tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) + (c * ((z * t) - (x * y)))))
    else if (y4 <= 7.2d-196) then
        tmp = t * ((t_2 + (z * ((c * i) - (a * b)))) + t_5)
    else if (y4 <= 8.5d-60) then
        tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_3)) + (y0 * ((z * k) - (x * j))))
    else if (y4 <= 1.32d+38) then
        tmp = c * (y0 * ((x * y2) - (z * y3)))
    else if (y4 <= 1d+162) then
        tmp = t_4
    else if (y4 <= 3.1d+211) then
        tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)))
    else if (y4 <= 3.1d+236) then
        tmp = (t_1 * ((y1 * y4) - (y0 * y5))) + (k * (y * ((i * y5) - (b * y4))))
    else
        tmp = t * (t_2 + t_5)
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (k * y2) - (j * y3);
	double t_2 = j * ((b * y4) - (i * y5));
	double t_3 = (t * j) - (y * k);
	double t_4 = y4 * (((b * t_3) + (y1 * t_1)) + (c * ((y * y3) - (t * y2))));
	double t_5 = y5 * (a * y2);
	double tmp;
	if (y4 <= -4.3e+15) {
		tmp = t_4;
	} else if (y4 <= 1.45e-279) {
		tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) + (c * ((z * t) - (x * y)))));
	} else if (y4 <= 7.2e-196) {
		tmp = t * ((t_2 + (z * ((c * i) - (a * b)))) + t_5);
	} else if (y4 <= 8.5e-60) {
		tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_3)) + (y0 * ((z * k) - (x * j))));
	} else if (y4 <= 1.32e+38) {
		tmp = c * (y0 * ((x * y2) - (z * y3)));
	} else if (y4 <= 1e+162) {
		tmp = t_4;
	} else if (y4 <= 3.1e+211) {
		tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)));
	} else if (y4 <= 3.1e+236) {
		tmp = (t_1 * ((y1 * y4) - (y0 * y5))) + (k * (y * ((i * y5) - (b * y4))));
	} else {
		tmp = t * (t_2 + t_5);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = (k * y2) - (j * y3)
	t_2 = j * ((b * y4) - (i * y5))
	t_3 = (t * j) - (y * k)
	t_4 = y4 * (((b * t_3) + (y1 * t_1)) + (c * ((y * y3) - (t * y2))))
	t_5 = y5 * (a * y2)
	tmp = 0
	if y4 <= -4.3e+15:
		tmp = t_4
	elif y4 <= 1.45e-279:
		tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) + (c * ((z * t) - (x * y)))))
	elif y4 <= 7.2e-196:
		tmp = t * ((t_2 + (z * ((c * i) - (a * b)))) + t_5)
	elif y4 <= 8.5e-60:
		tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_3)) + (y0 * ((z * k) - (x * j))))
	elif y4 <= 1.32e+38:
		tmp = c * (y0 * ((x * y2) - (z * y3)))
	elif y4 <= 1e+162:
		tmp = t_4
	elif y4 <= 3.1e+211:
		tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)))
	elif y4 <= 3.1e+236:
		tmp = (t_1 * ((y1 * y4) - (y0 * y5))) + (k * (y * ((i * y5) - (b * y4))))
	else:
		tmp = t * (t_2 + t_5)
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(Float64(k * y2) - Float64(j * y3))
	t_2 = Float64(j * Float64(Float64(b * y4) - Float64(i * y5)))
	t_3 = Float64(Float64(t * j) - Float64(y * k))
	t_4 = Float64(y4 * Float64(Float64(Float64(b * t_3) + Float64(y1 * t_1)) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2)))))
	t_5 = Float64(y5 * Float64(a * y2))
	tmp = 0.0
	if (y4 <= -4.3e+15)
		tmp = t_4;
	elseif (y4 <= 1.45e-279)
		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 * Float64(Float64(z * t) - Float64(x * y))))));
	elseif (y4 <= 7.2e-196)
		tmp = Float64(t * Float64(Float64(t_2 + Float64(z * Float64(Float64(c * i) - Float64(a * b)))) + t_5));
	elseif (y4 <= 8.5e-60)
		tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * t_3)) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))));
	elseif (y4 <= 1.32e+38)
		tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))));
	elseif (y4 <= 1e+162)
		tmp = t_4;
	elseif (y4 <= 3.1e+211)
		tmp = Float64(t * Float64(y2 * Float64(c * Float64(Float64(a * Float64(y5 / c)) - y4))));
	elseif (y4 <= 3.1e+236)
		tmp = Float64(Float64(t_1 * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(k * Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))));
	else
		tmp = Float64(t * Float64(t_2 + t_5));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = (k * y2) - (j * y3);
	t_2 = j * ((b * y4) - (i * y5));
	t_3 = (t * j) - (y * k);
	t_4 = y4 * (((b * t_3) + (y1 * t_1)) + (c * ((y * y3) - (t * y2))));
	t_5 = y5 * (a * y2);
	tmp = 0.0;
	if (y4 <= -4.3e+15)
		tmp = t_4;
	elseif (y4 <= 1.45e-279)
		tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) + (c * ((z * t) - (x * y)))));
	elseif (y4 <= 7.2e-196)
		tmp = t * ((t_2 + (z * ((c * i) - (a * b)))) + t_5);
	elseif (y4 <= 8.5e-60)
		tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_3)) + (y0 * ((z * k) - (x * j))));
	elseif (y4 <= 1.32e+38)
		tmp = c * (y0 * ((x * y2) - (z * y3)));
	elseif (y4 <= 1e+162)
		tmp = t_4;
	elseif (y4 <= 3.1e+211)
		tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)));
	elseif (y4 <= 3.1e+236)
		tmp = (t_1 * ((y1 * y4) - (y0 * y5))) + (k * (y * ((i * y5) - (b * y4))));
	else
		tmp = t * (t_2 + t_5);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(y4 * N[(N[(N[(b * t$95$3), $MachinePrecision] + N[(y1 * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(y5 * N[(a * y2), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -4.3e+15], t$95$4, If[LessEqual[y4, 1.45e-279], 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 * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 7.2e-196], N[(t * N[(N[(t$95$2 + N[(z * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$5), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 8.5e-60], N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * t$95$3), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 1.32e+38], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 1e+162], t$95$4, If[LessEqual[y4, 3.1e+211], N[(t * N[(y2 * N[(c * N[(N[(a * N[(y5 / c), $MachinePrecision]), $MachinePrecision] - y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 3.1e+236], N[(N[(t$95$1 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(k * N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t * N[(t$95$2 + t$95$5), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;y4 \leq 1.45 \cdot 10^{-279}:\\
\;\;\;\;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(z \cdot t - x \cdot y\right)\right)\right)\\

\mathbf{elif}\;y4 \leq 7.2 \cdot 10^{-196}:\\
\;\;\;\;t \cdot \left(\left(t\_2 + z \cdot \left(c \cdot i - a \cdot b\right)\right) + t\_5\right)\\

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

\mathbf{elif}\;y4 \leq 1.32 \cdot 10^{+38}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\

\mathbf{elif}\;y4 \leq 10^{+162}:\\
\;\;\;\;t\_4\\

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

\mathbf{elif}\;y4 \leq 3.1 \cdot 10^{+236}:\\
\;\;\;\;t\_1 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t \cdot \left(t\_2 + t\_5\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 8 regimes
  2. if y4 < -4.3e15 or 1.32e38 < y4 < 9.9999999999999994e161

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

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

    if -4.3e15 < y4 < 1.45e-279

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

      \[\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 1.45e-279 < y4 < 7.2000000000000001e-196

    1. Initial program 28.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 77.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 0 77.9%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg77.9%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*77.9%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified77.9%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]

    if 7.2000000000000001e-196 < y4 < 8.50000000000000044e-60

    1. Initial program 37.5%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 58.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)} \]

    if 8.50000000000000044e-60 < y4 < 1.32e38

    1. Initial program 28.8%

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

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

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

    if 9.9999999999999994e161 < y4 < 3.1000000000000002e211

    1. Initial program 13.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 60.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 53.9%

      \[\leadsto \color{blue}{t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)} \]
    5. Taylor expanded in c around inf 60.3%

      \[\leadsto t \cdot \left(y2 \cdot \color{blue}{\left(c \cdot \left(\frac{a \cdot y5}{c} - y4\right)\right)}\right) \]
    6. Step-by-step derivation
      1. associate-/l*67.0%

        \[\leadsto t \cdot \left(y2 \cdot \left(c \cdot \left(\color{blue}{a \cdot \frac{y5}{c}} - y4\right)\right)\right) \]
    7. Simplified67.0%

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

    if 3.1000000000000002e211 < y4 < 3.1e236

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

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

      \[\leadsto \color{blue}{-1 \cdot \left(k \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    5. Step-by-step derivation
      1. mul-1-neg83.4%

        \[\leadsto \color{blue}{\left(-k \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    6. Simplified83.4%

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

    if 3.1e236 < y4

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

      \[\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 0 66.7%

      \[\leadsto \color{blue}{t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    5. Taylor expanded in c around 0 77.8%

      \[\leadsto t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    6. Step-by-step derivation
      1. mul-1-neg77.8%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*77.8%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    7. Simplified77.8%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y4 \leq -4.3 \cdot 10^{+15}:\\ \;\;\;\;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}\;y4 \leq 1.45 \cdot 10^{-279}:\\ \;\;\;\;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(z \cdot t - x \cdot y\right)\right)\right)\\ \mathbf{elif}\;y4 \leq 7.2 \cdot 10^{-196}:\\ \;\;\;\;t \cdot \left(\left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + z \cdot \left(c \cdot i - a \cdot b\right)\right) + y5 \cdot \left(a \cdot y2\right)\right)\\ \mathbf{elif}\;y4 \leq 8.5 \cdot 10^{-60}:\\ \;\;\;\;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}\;y4 \leq 1.32 \cdot 10^{+38}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;y4 \leq 10^{+162}:\\ \;\;\;\;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}\;y4 \leq 3.1 \cdot 10^{+211}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(c \cdot \left(a \cdot \frac{y5}{c} - y4\right)\right)\right)\\ \mathbf{elif}\;y4 \leq 3.1 \cdot 10^{+236}:\\ \;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + y5 \cdot \left(a \cdot y2\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 12: 33.6% accurate, 1.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := j \cdot \left(b \cdot y4 - i \cdot y5\right)\\ t_2 := y5 \cdot \left(a \cdot y2\right)\\ t_3 := t \cdot \left(t\_1 + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{if}\;t \leq -7 \cdot 10^{+118}:\\ \;\;\;\;t \cdot \left(\left(z \cdot \left(c \cdot i - a \cdot b\right) + b \cdot \left(j \cdot y4\right)\right) + t\_2\right)\\ \mathbf{elif}\;t \leq -2.8 \cdot 10^{+24}:\\ \;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \mathbf{elif}\;t \leq -2.4 \cdot 10^{-119}:\\ \;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{elif}\;t \leq -5 \cdot 10^{-310}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;t \leq 2.2 \cdot 10^{+17}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4 - x \cdot i\right)\right)\\ \mathbf{elif}\;t \leq 5.5 \cdot 10^{+74}:\\ \;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b + y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\ \mathbf{elif}\;t \leq 1.02 \cdot 10^{+105}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;t \leq 6 \cdot 10^{+199}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;t \leq 7.6 \cdot 10^{+223}:\\ \;\;\;\;c \cdot \left(i \cdot \left(z \cdot t\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(t\_1 + 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 (* j (- (* b y4) (* i y5))))
        (t_2 (* y5 (* a y2)))
        (t_3 (* t (+ t_1 (* y2 (- (* a y5) (* c y4)))))))
   (if (<= t -7e+118)
     (* t (+ (+ (* z (- (* c i) (* a b))) (* b (* j y4))) t_2))
     (if (<= t -2.8e+24)
       (* k (+ (* y (- (* i y5) (* b y4))) (* y2 (- (* y1 y4) (* y0 y5)))))
       (if (<= t -2.4e-119)
         (* i (* z (- (* t c) (* k y1))))
         (if (<= t -5e-310)
           t_3
           (if (<= t 2.2e+17)
             (* c (* y (- (* y3 y4) (* x i))))
             (if (<= t 5.5e+74)
               (* a (+ (* (* x y) b) (* y5 (- (* t y2) (* y y3)))))
               (if (<= t 1.02e+105)
                 (* c (* y4 (- (* y y3) (* t y2))))
                 (if (<= t 6e+199)
                   t_3
                   (if (<= t 7.6e+223)
                     (* c (* i (* z t)))
                     (* t (+ 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 = j * ((b * y4) - (i * y5));
	double t_2 = y5 * (a * y2);
	double t_3 = t * (t_1 + (y2 * ((a * y5) - (c * y4))));
	double tmp;
	if (t <= -7e+118) {
		tmp = t * (((z * ((c * i) - (a * b))) + (b * (j * y4))) + t_2);
	} else if (t <= -2.8e+24) {
		tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * ((y1 * y4) - (y0 * y5))));
	} else if (t <= -2.4e-119) {
		tmp = i * (z * ((t * c) - (k * y1)));
	} else if (t <= -5e-310) {
		tmp = t_3;
	} else if (t <= 2.2e+17) {
		tmp = c * (y * ((y3 * y4) - (x * i)));
	} else if (t <= 5.5e+74) {
		tmp = a * (((x * y) * b) + (y5 * ((t * y2) - (y * y3))));
	} else if (t <= 1.02e+105) {
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	} else if (t <= 6e+199) {
		tmp = t_3;
	} else if (t <= 7.6e+223) {
		tmp = c * (i * (z * t));
	} else {
		tmp = t * (t_1 + 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 = j * ((b * y4) - (i * y5))
    t_2 = y5 * (a * y2)
    t_3 = t * (t_1 + (y2 * ((a * y5) - (c * y4))))
    if (t <= (-7d+118)) then
        tmp = t * (((z * ((c * i) - (a * b))) + (b * (j * y4))) + t_2)
    else if (t <= (-2.8d+24)) then
        tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * ((y1 * y4) - (y0 * y5))))
    else if (t <= (-2.4d-119)) then
        tmp = i * (z * ((t * c) - (k * y1)))
    else if (t <= (-5d-310)) then
        tmp = t_3
    else if (t <= 2.2d+17) then
        tmp = c * (y * ((y3 * y4) - (x * i)))
    else if (t <= 5.5d+74) then
        tmp = a * (((x * y) * b) + (y5 * ((t * y2) - (y * y3))))
    else if (t <= 1.02d+105) then
        tmp = c * (y4 * ((y * y3) - (t * y2)))
    else if (t <= 6d+199) then
        tmp = t_3
    else if (t <= 7.6d+223) then
        tmp = c * (i * (z * t))
    else
        tmp = t * (t_1 + t_2)
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = j * ((b * y4) - (i * y5));
	double t_2 = y5 * (a * y2);
	double t_3 = t * (t_1 + (y2 * ((a * y5) - (c * y4))));
	double tmp;
	if (t <= -7e+118) {
		tmp = t * (((z * ((c * i) - (a * b))) + (b * (j * y4))) + t_2);
	} else if (t <= -2.8e+24) {
		tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * ((y1 * y4) - (y0 * y5))));
	} else if (t <= -2.4e-119) {
		tmp = i * (z * ((t * c) - (k * y1)));
	} else if (t <= -5e-310) {
		tmp = t_3;
	} else if (t <= 2.2e+17) {
		tmp = c * (y * ((y3 * y4) - (x * i)));
	} else if (t <= 5.5e+74) {
		tmp = a * (((x * y) * b) + (y5 * ((t * y2) - (y * y3))));
	} else if (t <= 1.02e+105) {
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	} else if (t <= 6e+199) {
		tmp = t_3;
	} else if (t <= 7.6e+223) {
		tmp = c * (i * (z * t));
	} else {
		tmp = t * (t_1 + t_2);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = j * ((b * y4) - (i * y5))
	t_2 = y5 * (a * y2)
	t_3 = t * (t_1 + (y2 * ((a * y5) - (c * y4))))
	tmp = 0
	if t <= -7e+118:
		tmp = t * (((z * ((c * i) - (a * b))) + (b * (j * y4))) + t_2)
	elif t <= -2.8e+24:
		tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * ((y1 * y4) - (y0 * y5))))
	elif t <= -2.4e-119:
		tmp = i * (z * ((t * c) - (k * y1)))
	elif t <= -5e-310:
		tmp = t_3
	elif t <= 2.2e+17:
		tmp = c * (y * ((y3 * y4) - (x * i)))
	elif t <= 5.5e+74:
		tmp = a * (((x * y) * b) + (y5 * ((t * y2) - (y * y3))))
	elif t <= 1.02e+105:
		tmp = c * (y4 * ((y * y3) - (t * y2)))
	elif t <= 6e+199:
		tmp = t_3
	elif t <= 7.6e+223:
		tmp = c * (i * (z * t))
	else:
		tmp = t * (t_1 + t_2)
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(j * Float64(Float64(b * y4) - Float64(i * y5)))
	t_2 = Float64(y5 * Float64(a * y2))
	t_3 = Float64(t * Float64(t_1 + Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))))
	tmp = 0.0
	if (t <= -7e+118)
		tmp = Float64(t * Float64(Float64(Float64(z * Float64(Float64(c * i) - Float64(a * b))) + Float64(b * Float64(j * y4))) + t_2));
	elseif (t <= -2.8e+24)
		tmp = Float64(k * Float64(Float64(y * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))));
	elseif (t <= -2.4e-119)
		tmp = Float64(i * Float64(z * Float64(Float64(t * c) - Float64(k * y1))));
	elseif (t <= -5e-310)
		tmp = t_3;
	elseif (t <= 2.2e+17)
		tmp = Float64(c * Float64(y * Float64(Float64(y3 * y4) - Float64(x * i))));
	elseif (t <= 5.5e+74)
		tmp = Float64(a * Float64(Float64(Float64(x * y) * b) + Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))));
	elseif (t <= 1.02e+105)
		tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2))));
	elseif (t <= 6e+199)
		tmp = t_3;
	elseif (t <= 7.6e+223)
		tmp = Float64(c * Float64(i * Float64(z * t)));
	else
		tmp = Float64(t * Float64(t_1 + t_2));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = j * ((b * y4) - (i * y5));
	t_2 = y5 * (a * y2);
	t_3 = t * (t_1 + (y2 * ((a * y5) - (c * y4))));
	tmp = 0.0;
	if (t <= -7e+118)
		tmp = t * (((z * ((c * i) - (a * b))) + (b * (j * y4))) + t_2);
	elseif (t <= -2.8e+24)
		tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * ((y1 * y4) - (y0 * y5))));
	elseif (t <= -2.4e-119)
		tmp = i * (z * ((t * c) - (k * y1)));
	elseif (t <= -5e-310)
		tmp = t_3;
	elseif (t <= 2.2e+17)
		tmp = c * (y * ((y3 * y4) - (x * i)));
	elseif (t <= 5.5e+74)
		tmp = a * (((x * y) * b) + (y5 * ((t * y2) - (y * y3))));
	elseif (t <= 1.02e+105)
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	elseif (t <= 6e+199)
		tmp = t_3;
	elseif (t <= 7.6e+223)
		tmp = c * (i * (z * t));
	else
		tmp = t * (t_1 + t_2);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y5 * N[(a * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(t * N[(t$95$1 + N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -7e+118], N[(t * N[(N[(N[(z * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$2), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -2.8e+24], N[(k * N[(N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -2.4e-119], N[(i * N[(z * N[(N[(t * c), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -5e-310], t$95$3, If[LessEqual[t, 2.2e+17], N[(c * N[(y * N[(N[(y3 * y4), $MachinePrecision] - N[(x * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 5.5e+74], N[(a * N[(N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision] + N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.02e+105], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 6e+199], t$95$3, If[LessEqual[t, 7.6e+223], N[(c * N[(i * N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t * N[(t$95$1 + t$95$2), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;t \leq -2.8 \cdot 10^{+24}:\\
\;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\

\mathbf{elif}\;t \leq -2.4 \cdot 10^{-119}:\\
\;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\

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

\mathbf{elif}\;t \leq 2.2 \cdot 10^{+17}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4 - x \cdot i\right)\right)\\

\mathbf{elif}\;t \leq 5.5 \cdot 10^{+74}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b + y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\

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

\mathbf{elif}\;t \leq 6 \cdot 10^{+199}:\\
\;\;\;\;t\_3\\

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

\mathbf{else}:\\
\;\;\;\;t \cdot \left(t\_1 + t\_2\right)\\


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

    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 79.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 c around 0 74.5%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg74.5%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*74.5%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified74.5%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in b around inf 77.1%

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

    if -7.00000000000000033e118 < t < -2.8000000000000002e24

    1. Initial program 10.5%

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

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

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

    if -2.8000000000000002e24 < t < -2.40000000000000009e-119

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

      \[\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 z around -inf 47.2%

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

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

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

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

    if -2.40000000000000009e-119 < t < -4.999999999999985e-310 or 1.02e105 < t < 6.0000000000000002e199

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

      \[\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 0 59.7%

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

    if -4.999999999999985e-310 < t < 2.2e17

    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 c around inf 42.9%

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

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

        \[\leadsto c \cdot \color{blue}{\left(\left(-1 \cdot y\right) \cdot \left(i \cdot x - y3 \cdot y4\right)\right)} \]
      2. neg-mul-140.1%

        \[\leadsto c \cdot \left(\color{blue}{\left(-y\right)} \cdot \left(i \cdot x - y3 \cdot y4\right)\right) \]
    6. Simplified40.1%

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

    if 2.2e17 < t < 5.5000000000000003e74

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

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

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
    5. Step-by-step derivation
      1. associate-*r*67.1%

        \[\leadsto a \cdot \left(b \cdot \left(x \cdot y\right) - \color{blue}{\left(-1 \cdot y5\right) \cdot \left(t \cdot y2 - y \cdot y3\right)}\right) \]
      2. neg-mul-167.1%

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

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

    if 5.5000000000000003e74 < t < 1.02e105

    1. Initial program 16.7%

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

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

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

    if 6.0000000000000002e199 < t < 7.6000000000000001e223

    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.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 c around 0 45.4%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg45.4%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*45.4%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified45.4%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in c around inf 100.0%

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

    if 7.6000000000000001e223 < t

    1. Initial program 7.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 84.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 0 77.6%

      \[\leadsto \color{blue}{t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    5. Taylor expanded in c around 0 77.6%

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

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*84.6%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    7. Simplified77.8%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -7 \cdot 10^{+118}:\\ \;\;\;\;t \cdot \left(\left(z \cdot \left(c \cdot i - a \cdot b\right) + b \cdot \left(j \cdot y4\right)\right) + y5 \cdot \left(a \cdot y2\right)\right)\\ \mathbf{elif}\;t \leq -2.8 \cdot 10^{+24}:\\ \;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \mathbf{elif}\;t \leq -2.4 \cdot 10^{-119}:\\ \;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{elif}\;t \leq -5 \cdot 10^{-310}:\\ \;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;t \leq 2.2 \cdot 10^{+17}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4 - x \cdot i\right)\right)\\ \mathbf{elif}\;t \leq 5.5 \cdot 10^{+74}:\\ \;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b + y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\ \mathbf{elif}\;t \leq 1.02 \cdot 10^{+105}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;t \leq 6 \cdot 10^{+199}:\\ \;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;t \leq 7.6 \cdot 10^{+223}:\\ \;\;\;\;c \cdot \left(i \cdot \left(z \cdot t\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + y5 \cdot \left(a \cdot y2\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 13: 34.3% accurate, 1.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot y5 - c \cdot y4\\ t_2 := j \cdot \left(b \cdot y4 - i \cdot y5\right)\\ t_3 := i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{if}\;j \leq -8.5 \cdot 10^{+49}:\\ \;\;\;\;t \cdot \left(t\_2 + y5 \cdot \left(a \cdot y2\right)\right)\\ \mathbf{elif}\;j \leq -6.6 \cdot 10^{-168}:\\ \;\;\;\;y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + t \cdot t\_1\right)\\ \mathbf{elif}\;j \leq -1.45 \cdot 10^{-282}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;j \leq 2.35 \cdot 10^{-150}:\\ \;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\ \mathbf{elif}\;j \leq 3.1 \cdot 10^{-64}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;j \leq 3.9 \cdot 10^{-56}:\\ \;\;\;\;c \cdot \left(y3 \cdot \left(y \cdot y4 - z \cdot y0\right)\right)\\ \mathbf{elif}\;j \leq 9.5 \cdot 10^{-35}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;j \leq 2100000000:\\ \;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right) + c \cdot \left(y \cdot y3\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(t\_2 + y2 \cdot t\_1\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (- (* a y5) (* c y4)))
        (t_2 (* j (- (* b y4) (* i y5))))
        (t_3 (* i (* z (- (* t c) (* k y1))))))
   (if (<= j -8.5e+49)
     (* t (+ t_2 (* y5 (* a y2))))
     (if (<= j -6.6e-168)
       (* y2 (+ (* k (- (* y1 y4) (* y0 y5))) (* t t_1)))
       (if (<= j -1.45e-282)
         t_3
         (if (<= j 2.35e-150)
           (* c (* x (- (* y0 y2) (* y i))))
           (if (<= j 3.1e-64)
             (* c (* y4 (- (* y y3) (* t y2))))
             (if (<= j 3.9e-56)
               (* c (* y3 (- (* y y4) (* z y0))))
               (if (<= j 9.5e-35)
                 t_3
                 (if (<= j 2100000000.0)
                   (* y4 (+ (* y1 (- (* k y2) (* j y3))) (* c (* y y3))))
                   (* t (+ t_2 (* y2 t_1)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (a * y5) - (c * y4);
	double t_2 = j * ((b * y4) - (i * y5));
	double t_3 = i * (z * ((t * c) - (k * y1)));
	double tmp;
	if (j <= -8.5e+49) {
		tmp = t * (t_2 + (y5 * (a * y2)));
	} else if (j <= -6.6e-168) {
		tmp = y2 * ((k * ((y1 * y4) - (y0 * y5))) + (t * t_1));
	} else if (j <= -1.45e-282) {
		tmp = t_3;
	} else if (j <= 2.35e-150) {
		tmp = c * (x * ((y0 * y2) - (y * i)));
	} else if (j <= 3.1e-64) {
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	} else if (j <= 3.9e-56) {
		tmp = c * (y3 * ((y * y4) - (z * y0)));
	} else if (j <= 9.5e-35) {
		tmp = t_3;
	} else if (j <= 2100000000.0) {
		tmp = y4 * ((y1 * ((k * y2) - (j * y3))) + (c * (y * y3)));
	} else {
		tmp = t * (t_2 + (y2 * t_1));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: tmp
    t_1 = (a * y5) - (c * y4)
    t_2 = j * ((b * y4) - (i * y5))
    t_3 = i * (z * ((t * c) - (k * y1)))
    if (j <= (-8.5d+49)) then
        tmp = t * (t_2 + (y5 * (a * y2)))
    else if (j <= (-6.6d-168)) then
        tmp = y2 * ((k * ((y1 * y4) - (y0 * y5))) + (t * t_1))
    else if (j <= (-1.45d-282)) then
        tmp = t_3
    else if (j <= 2.35d-150) then
        tmp = c * (x * ((y0 * y2) - (y * i)))
    else if (j <= 3.1d-64) then
        tmp = c * (y4 * ((y * y3) - (t * y2)))
    else if (j <= 3.9d-56) then
        tmp = c * (y3 * ((y * y4) - (z * y0)))
    else if (j <= 9.5d-35) then
        tmp = t_3
    else if (j <= 2100000000.0d0) then
        tmp = y4 * ((y1 * ((k * y2) - (j * y3))) + (c * (y * y3)))
    else
        tmp = t * (t_2 + (y2 * t_1))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (a * y5) - (c * y4);
	double t_2 = j * ((b * y4) - (i * y5));
	double t_3 = i * (z * ((t * c) - (k * y1)));
	double tmp;
	if (j <= -8.5e+49) {
		tmp = t * (t_2 + (y5 * (a * y2)));
	} else if (j <= -6.6e-168) {
		tmp = y2 * ((k * ((y1 * y4) - (y0 * y5))) + (t * t_1));
	} else if (j <= -1.45e-282) {
		tmp = t_3;
	} else if (j <= 2.35e-150) {
		tmp = c * (x * ((y0 * y2) - (y * i)));
	} else if (j <= 3.1e-64) {
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	} else if (j <= 3.9e-56) {
		tmp = c * (y3 * ((y * y4) - (z * y0)));
	} else if (j <= 9.5e-35) {
		tmp = t_3;
	} else if (j <= 2100000000.0) {
		tmp = y4 * ((y1 * ((k * y2) - (j * y3))) + (c * (y * y3)));
	} else {
		tmp = t * (t_2 + (y2 * t_1));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = (a * y5) - (c * y4)
	t_2 = j * ((b * y4) - (i * y5))
	t_3 = i * (z * ((t * c) - (k * y1)))
	tmp = 0
	if j <= -8.5e+49:
		tmp = t * (t_2 + (y5 * (a * y2)))
	elif j <= -6.6e-168:
		tmp = y2 * ((k * ((y1 * y4) - (y0 * y5))) + (t * t_1))
	elif j <= -1.45e-282:
		tmp = t_3
	elif j <= 2.35e-150:
		tmp = c * (x * ((y0 * y2) - (y * i)))
	elif j <= 3.1e-64:
		tmp = c * (y4 * ((y * y3) - (t * y2)))
	elif j <= 3.9e-56:
		tmp = c * (y3 * ((y * y4) - (z * y0)))
	elif j <= 9.5e-35:
		tmp = t_3
	elif j <= 2100000000.0:
		tmp = y4 * ((y1 * ((k * y2) - (j * y3))) + (c * (y * y3)))
	else:
		tmp = t * (t_2 + (y2 * t_1))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(Float64(a * y5) - Float64(c * y4))
	t_2 = Float64(j * Float64(Float64(b * y4) - Float64(i * y5)))
	t_3 = Float64(i * Float64(z * Float64(Float64(t * c) - Float64(k * y1))))
	tmp = 0.0
	if (j <= -8.5e+49)
		tmp = Float64(t * Float64(t_2 + Float64(y5 * Float64(a * y2))));
	elseif (j <= -6.6e-168)
		tmp = Float64(y2 * Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(t * t_1)));
	elseif (j <= -1.45e-282)
		tmp = t_3;
	elseif (j <= 2.35e-150)
		tmp = Float64(c * Float64(x * Float64(Float64(y0 * y2) - Float64(y * i))));
	elseif (j <= 3.1e-64)
		tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2))));
	elseif (j <= 3.9e-56)
		tmp = Float64(c * Float64(y3 * Float64(Float64(y * y4) - Float64(z * y0))));
	elseif (j <= 9.5e-35)
		tmp = t_3;
	elseif (j <= 2100000000.0)
		tmp = Float64(y4 * Float64(Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3))) + Float64(c * Float64(y * y3))));
	else
		tmp = Float64(t * Float64(t_2 + Float64(y2 * t_1)));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = (a * y5) - (c * y4);
	t_2 = j * ((b * y4) - (i * y5));
	t_3 = i * (z * ((t * c) - (k * y1)));
	tmp = 0.0;
	if (j <= -8.5e+49)
		tmp = t * (t_2 + (y5 * (a * y2)));
	elseif (j <= -6.6e-168)
		tmp = y2 * ((k * ((y1 * y4) - (y0 * y5))) + (t * t_1));
	elseif (j <= -1.45e-282)
		tmp = t_3;
	elseif (j <= 2.35e-150)
		tmp = c * (x * ((y0 * y2) - (y * i)));
	elseif (j <= 3.1e-64)
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	elseif (j <= 3.9e-56)
		tmp = c * (y3 * ((y * y4) - (z * y0)));
	elseif (j <= 9.5e-35)
		tmp = t_3;
	elseif (j <= 2100000000.0)
		tmp = y4 * ((y1 * ((k * y2) - (j * y3))) + (c * (y * y3)));
	else
		tmp = t * (t_2 + (y2 * t_1));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(i * N[(z * N[(N[(t * c), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -8.5e+49], N[(t * N[(t$95$2 + N[(y5 * N[(a * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -6.6e-168], N[(y2 * N[(N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -1.45e-282], t$95$3, If[LessEqual[j, 2.35e-150], N[(c * N[(x * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3.1e-64], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3.9e-56], N[(c * N[(y3 * N[(N[(y * y4), $MachinePrecision] - N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 9.5e-35], t$95$3, If[LessEqual[j, 2100000000.0], N[(y4 * N[(N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t * N[(t$95$2 + N[(y2 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;j \leq -6.6 \cdot 10^{-168}:\\
\;\;\;\;y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + t \cdot t\_1\right)\\

\mathbf{elif}\;j \leq -1.45 \cdot 10^{-282}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;j \leq 2.35 \cdot 10^{-150}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\

\mathbf{elif}\;j \leq 3.1 \cdot 10^{-64}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\

\mathbf{elif}\;j \leq 3.9 \cdot 10^{-56}:\\
\;\;\;\;c \cdot \left(y3 \cdot \left(y \cdot y4 - z \cdot y0\right)\right)\\

\mathbf{elif}\;j \leq 9.5 \cdot 10^{-35}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;j \leq 2100000000:\\
\;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right) + c \cdot \left(y \cdot y3\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 8 regimes
  2. if j < -8.4999999999999996e49

    1. Initial program 19.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 47.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 z around 0 49.4%

      \[\leadsto \color{blue}{t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    5. Taylor expanded in c around 0 61.3%

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

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*59.1%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    7. Simplified61.3%

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

    if -8.4999999999999996e49 < j < -6.6000000000000003e-168

    1. Initial program 29.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 34.5%

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

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

    if -6.6000000000000003e-168 < j < -1.44999999999999999e-282 or 3.9e-56 < j < 9.5000000000000003e-35

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

      \[\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 z around -inf 66.6%

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

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

        \[\leadsto -1 \cdot \left(\color{blue}{\left(-i\right)} \cdot \left(z \cdot \left(c \cdot t - k \cdot y1\right)\right)\right) \]
    6. Simplified66.6%

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

    if -1.44999999999999999e-282 < j < 2.3499999999999999e-150

    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 c around inf 60.0%

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

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

    if 2.3499999999999999e-150 < j < 3.10000000000000025e-64

    1. Initial program 22.0%

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

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

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

    if 3.10000000000000025e-64 < j < 3.9e-56

    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 c around inf 25.0%

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

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

        \[\leadsto c \cdot \color{blue}{\left(-y3 \cdot \left(y0 \cdot z - y \cdot y4\right)\right)} \]
    6. Simplified76.1%

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

    if 9.5000000000000003e-35 < j < 2.1e9

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

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

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

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

    if 2.1e9 < j

    1. Initial program 16.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 51.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 0 56.6%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -8.5 \cdot 10^{+49}:\\ \;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + y5 \cdot \left(a \cdot y2\right)\right)\\ \mathbf{elif}\;j \leq -6.6 \cdot 10^{-168}:\\ \;\;\;\;y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;j \leq -1.45 \cdot 10^{-282}:\\ \;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{elif}\;j \leq 2.35 \cdot 10^{-150}:\\ \;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\ \mathbf{elif}\;j \leq 3.1 \cdot 10^{-64}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;j \leq 3.9 \cdot 10^{-56}:\\ \;\;\;\;c \cdot \left(y3 \cdot \left(y \cdot y4 - z \cdot y0\right)\right)\\ \mathbf{elif}\;j \leq 9.5 \cdot 10^{-35}:\\ \;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{elif}\;j \leq 2100000000:\\ \;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right) + c \cdot \left(y \cdot y3\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 14: 34.5% accurate, 1.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot y4 - i \cdot y5\\ t_2 := j \cdot t\_1\\ \mathbf{if}\;j \leq -8 \cdot 10^{+140}:\\ \;\;\;\;t\_1 \cdot \left(t \cdot j\right)\\ \mathbf{elif}\;j \leq -2050000000:\\ \;\;\;\;t \cdot \left(\left(t\_2 + z \cdot \left(c \cdot i - a \cdot b\right)\right) + y5 \cdot \left(a \cdot y2\right)\right)\\ \mathbf{elif}\;j \leq -1.2 \cdot 10^{-155}:\\ \;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \mathbf{elif}\;j \leq -1.9 \cdot 10^{-203}:\\ \;\;\;\;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}\;j \leq -8.8 \cdot 10^{-240}:\\ \;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)\\ \mathbf{elif}\;j \leq -1.2 \cdot 10^{-283}:\\ \;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{elif}\;j \leq 3.4 \cdot 10^{-186}:\\ \;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\ \mathbf{elif}\;j \leq 680000:\\ \;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right) + c \cdot \left(y \cdot y3\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(t\_2 + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (- (* b y4) (* i y5))) (t_2 (* j t_1)))
   (if (<= j -8e+140)
     (* t_1 (* t j))
     (if (<= j -2050000000.0)
       (* t (+ (+ t_2 (* z (- (* c i) (* a b)))) (* y5 (* a y2))))
       (if (<= j -1.2e-155)
         (* k (+ (* y (- (* i y5) (* b y4))) (* y2 (- (* y1 y4) (* y0 y5)))))
         (if (<= j -1.9e-203)
           (*
            b
            (+
             (+ (* a (- (* x y) (* z t))) (* y4 (- (* t j) (* y k))))
             (* y0 (- (* z k) (* x j)))))
           (if (<= j -8.8e-240)
             (* x (* y (- (* a b) (* c i))))
             (if (<= j -1.2e-283)
               (* i (* z (- (* t c) (* k y1))))
               (if (<= j 3.4e-186)
                 (* c (* x (- (* y0 y2) (* y i))))
                 (if (<= j 680000.0)
                   (* y4 (+ (* y1 (- (* k y2) (* j y3))) (* c (* y y3))))
                   (* t (+ t_2 (* y2 (- (* a y5) (* c y4)))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (b * y4) - (i * y5);
	double t_2 = j * t_1;
	double tmp;
	if (j <= -8e+140) {
		tmp = t_1 * (t * j);
	} else if (j <= -2050000000.0) {
		tmp = t * ((t_2 + (z * ((c * i) - (a * b)))) + (y5 * (a * y2)));
	} else if (j <= -1.2e-155) {
		tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * ((y1 * y4) - (y0 * y5))));
	} else if (j <= -1.9e-203) {
		tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
	} else if (j <= -8.8e-240) {
		tmp = x * (y * ((a * b) - (c * i)));
	} else if (j <= -1.2e-283) {
		tmp = i * (z * ((t * c) - (k * y1)));
	} else if (j <= 3.4e-186) {
		tmp = c * (x * ((y0 * y2) - (y * i)));
	} else if (j <= 680000.0) {
		tmp = y4 * ((y1 * ((k * y2) - (j * y3))) + (c * (y * y3)));
	} else {
		tmp = t * (t_2 + (y2 * ((a * y5) - (c * y4))));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = (b * y4) - (i * y5)
    t_2 = j * t_1
    if (j <= (-8d+140)) then
        tmp = t_1 * (t * j)
    else if (j <= (-2050000000.0d0)) then
        tmp = t * ((t_2 + (z * ((c * i) - (a * b)))) + (y5 * (a * y2)))
    else if (j <= (-1.2d-155)) then
        tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * ((y1 * y4) - (y0 * y5))))
    else if (j <= (-1.9d-203)) then
        tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))
    else if (j <= (-8.8d-240)) then
        tmp = x * (y * ((a * b) - (c * i)))
    else if (j <= (-1.2d-283)) then
        tmp = i * (z * ((t * c) - (k * y1)))
    else if (j <= 3.4d-186) then
        tmp = c * (x * ((y0 * y2) - (y * i)))
    else if (j <= 680000.0d0) then
        tmp = y4 * ((y1 * ((k * y2) - (j * y3))) + (c * (y * y3)))
    else
        tmp = t * (t_2 + (y2 * ((a * y5) - (c * y4))))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (b * y4) - (i * y5);
	double t_2 = j * t_1;
	double tmp;
	if (j <= -8e+140) {
		tmp = t_1 * (t * j);
	} else if (j <= -2050000000.0) {
		tmp = t * ((t_2 + (z * ((c * i) - (a * b)))) + (y5 * (a * y2)));
	} else if (j <= -1.2e-155) {
		tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * ((y1 * y4) - (y0 * y5))));
	} else if (j <= -1.9e-203) {
		tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
	} else if (j <= -8.8e-240) {
		tmp = x * (y * ((a * b) - (c * i)));
	} else if (j <= -1.2e-283) {
		tmp = i * (z * ((t * c) - (k * y1)));
	} else if (j <= 3.4e-186) {
		tmp = c * (x * ((y0 * y2) - (y * i)));
	} else if (j <= 680000.0) {
		tmp = y4 * ((y1 * ((k * y2) - (j * y3))) + (c * (y * y3)));
	} else {
		tmp = t * (t_2 + (y2 * ((a * y5) - (c * y4))));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = (b * y4) - (i * y5)
	t_2 = j * t_1
	tmp = 0
	if j <= -8e+140:
		tmp = t_1 * (t * j)
	elif j <= -2050000000.0:
		tmp = t * ((t_2 + (z * ((c * i) - (a * b)))) + (y5 * (a * y2)))
	elif j <= -1.2e-155:
		tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * ((y1 * y4) - (y0 * y5))))
	elif j <= -1.9e-203:
		tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))
	elif j <= -8.8e-240:
		tmp = x * (y * ((a * b) - (c * i)))
	elif j <= -1.2e-283:
		tmp = i * (z * ((t * c) - (k * y1)))
	elif j <= 3.4e-186:
		tmp = c * (x * ((y0 * y2) - (y * i)))
	elif j <= 680000.0:
		tmp = y4 * ((y1 * ((k * y2) - (j * y3))) + (c * (y * y3)))
	else:
		tmp = t * (t_2 + (y2 * ((a * y5) - (c * y4))))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(Float64(b * y4) - Float64(i * y5))
	t_2 = Float64(j * t_1)
	tmp = 0.0
	if (j <= -8e+140)
		tmp = Float64(t_1 * Float64(t * j));
	elseif (j <= -2050000000.0)
		tmp = Float64(t * Float64(Float64(t_2 + Float64(z * Float64(Float64(c * i) - Float64(a * b)))) + Float64(y5 * Float64(a * y2))));
	elseif (j <= -1.2e-155)
		tmp = Float64(k * Float64(Float64(y * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))));
	elseif (j <= -1.9e-203)
		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 (j <= -8.8e-240)
		tmp = Float64(x * Float64(y * Float64(Float64(a * b) - Float64(c * i))));
	elseif (j <= -1.2e-283)
		tmp = Float64(i * Float64(z * Float64(Float64(t * c) - Float64(k * y1))));
	elseif (j <= 3.4e-186)
		tmp = Float64(c * Float64(x * Float64(Float64(y0 * y2) - Float64(y * i))));
	elseif (j <= 680000.0)
		tmp = Float64(y4 * Float64(Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3))) + Float64(c * Float64(y * y3))));
	else
		tmp = Float64(t * Float64(t_2 + Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = (b * y4) - (i * y5);
	t_2 = j * t_1;
	tmp = 0.0;
	if (j <= -8e+140)
		tmp = t_1 * (t * j);
	elseif (j <= -2050000000.0)
		tmp = t * ((t_2 + (z * ((c * i) - (a * b)))) + (y5 * (a * y2)));
	elseif (j <= -1.2e-155)
		tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * ((y1 * y4) - (y0 * y5))));
	elseif (j <= -1.9e-203)
		tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
	elseif (j <= -8.8e-240)
		tmp = x * (y * ((a * b) - (c * i)));
	elseif (j <= -1.2e-283)
		tmp = i * (z * ((t * c) - (k * y1)));
	elseif (j <= 3.4e-186)
		tmp = c * (x * ((y0 * y2) - (y * i)));
	elseif (j <= 680000.0)
		tmp = y4 * ((y1 * ((k * y2) - (j * y3))) + (c * (y * y3)));
	else
		tmp = t * (t_2 + (y2 * ((a * y5) - (c * y4))));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(j * t$95$1), $MachinePrecision]}, If[LessEqual[j, -8e+140], N[(t$95$1 * N[(t * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -2050000000.0], N[(t * N[(N[(t$95$2 + N[(z * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * N[(a * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -1.2e-155], N[(k * N[(N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -1.9e-203], 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[j, -8.8e-240], N[(x * N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -1.2e-283], N[(i * N[(z * N[(N[(t * c), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3.4e-186], N[(c * N[(x * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 680000.0], N[(y4 * N[(N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t * N[(t$95$2 + N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := b \cdot y4 - i \cdot y5\\
t_2 := j \cdot t\_1\\
\mathbf{if}\;j \leq -8 \cdot 10^{+140}:\\
\;\;\;\;t\_1 \cdot \left(t \cdot j\right)\\

\mathbf{elif}\;j \leq -2050000000:\\
\;\;\;\;t \cdot \left(\left(t\_2 + z \cdot \left(c \cdot i - a \cdot b\right)\right) + y5 \cdot \left(a \cdot y2\right)\right)\\

\mathbf{elif}\;j \leq -1.2 \cdot 10^{-155}:\\
\;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\

\mathbf{elif}\;j \leq -1.9 \cdot 10^{-203}:\\
\;\;\;\;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}\;j \leq -8.8 \cdot 10^{-240}:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)\\

\mathbf{elif}\;j \leq -1.2 \cdot 10^{-283}:\\
\;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\

\mathbf{elif}\;j \leq 3.4 \cdot 10^{-186}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\

\mathbf{elif}\;j \leq 680000:\\
\;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right) + c \cdot \left(y \cdot y3\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t \cdot \left(t\_2 + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 9 regimes
  2. if j < -8.00000000000000047e140

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

      \[\leadsto \color{blue}{j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)} \]
    5. Step-by-step derivation
      1. associate-*r*60.9%

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

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

    if -8.00000000000000047e140 < j < -2.05e9

    1. Initial program 37.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 76.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 c around 0 83.2%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg83.2%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*83.2%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified83.2%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]

    if -2.05e9 < j < -1.2e-155

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

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

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

    if -1.2e-155 < j < -1.90000000000000013e-203

    1. Initial program 28.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 71.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 -1.90000000000000013e-203 < j < -8.7999999999999997e-240

    1. Initial program 36.2%

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

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

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

    if -8.7999999999999997e-240 < j < -1.2e-283

    1. Initial program 40.9%

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

      \[\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 z around -inf 80.0%

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

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

        \[\leadsto -1 \cdot \left(\color{blue}{\left(-i\right)} \cdot \left(z \cdot \left(c \cdot t - k \cdot y1\right)\right)\right) \]
    6. Simplified80.0%

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

    if -1.2e-283 < j < 3.3999999999999999e-186

    1. Initial program 24.4%

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

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

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

    if 3.3999999999999999e-186 < j < 6.8e5

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

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

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

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

    if 6.8e5 < j

    1. Initial program 16.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 51.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 0 56.6%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -8 \cdot 10^{+140}:\\ \;\;\;\;\left(b \cdot y4 - i \cdot y5\right) \cdot \left(t \cdot j\right)\\ \mathbf{elif}\;j \leq -2050000000:\\ \;\;\;\;t \cdot \left(\left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + z \cdot \left(c \cdot i - a \cdot b\right)\right) + y5 \cdot \left(a \cdot y2\right)\right)\\ \mathbf{elif}\;j \leq -1.2 \cdot 10^{-155}:\\ \;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \mathbf{elif}\;j \leq -1.9 \cdot 10^{-203}:\\ \;\;\;\;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}\;j \leq -8.8 \cdot 10^{-240}:\\ \;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)\\ \mathbf{elif}\;j \leq -1.2 \cdot 10^{-283}:\\ \;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{elif}\;j \leq 3.4 \cdot 10^{-186}:\\ \;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\ \mathbf{elif}\;j \leq 680000:\\ \;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right) + c \cdot \left(y \cdot y3\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 15: 33.8% accurate, 1.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \left(b \cdot \left(t \cdot \left(x \cdot \frac{y}{t} - z\right)\right)\right)\\ t_2 := i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ t_3 := c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{if}\;z \leq -6.5 \cdot 10^{+68}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;z \leq -2 \cdot 10^{-58}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq -1.02 \cdot 10^{-255}:\\ \;\;\;\;t \cdot \left(b \cdot \left(j \cdot y4\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;z \leq 2.2 \cdot 10^{-212}:\\ \;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\ \mathbf{elif}\;z \leq 9 \cdot 10^{-208}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;z \leq 1.9 \cdot 10^{-149}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;z \leq 6.2 \cdot 10^{-125}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;z \leq 8 \cdot 10^{+73}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(c \cdot \left(a \cdot \frac{y5}{c} - y4\right)\right)\right)\\ \mathbf{elif}\;z \leq 1.75 \cdot 10^{+220}:\\ \;\;\;\;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 (* a (* b (* t (- (* x (/ y t)) z)))))
        (t_2 (* i (* z (- (* t c) (* k y1)))))
        (t_3 (* c (* y0 (- (* x y2) (* z y3))))))
   (if (<= z -6.5e+68)
     t_2
     (if (<= z -2e-58)
       t_1
       (if (<= z -1.02e-255)
         (* t (+ (* b (* j y4)) (* y2 (- (* a y5) (* c y4)))))
         (if (<= z 2.2e-212)
           (* y0 (* y5 (- (* j y3) (* k y2))))
           (if (<= z 9e-208)
             t_3
             (if (<= z 1.9e-149)
               (* b (* y4 (- (* t j) (* y k))))
               (if (<= z 6.2e-125)
                 t_3
                 (if (<= z 8e+73)
                   (* t (* y2 (* c (- (* a (/ y5 c)) y4))))
                   (if (<= z 1.75e+220) t_2 t_1)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = a * (b * (t * ((x * (y / t)) - z)));
	double t_2 = i * (z * ((t * c) - (k * y1)));
	double t_3 = c * (y0 * ((x * y2) - (z * y3)));
	double tmp;
	if (z <= -6.5e+68) {
		tmp = t_2;
	} else if (z <= -2e-58) {
		tmp = t_1;
	} else if (z <= -1.02e-255) {
		tmp = t * ((b * (j * y4)) + (y2 * ((a * y5) - (c * y4))));
	} else if (z <= 2.2e-212) {
		tmp = y0 * (y5 * ((j * y3) - (k * y2)));
	} else if (z <= 9e-208) {
		tmp = t_3;
	} else if (z <= 1.9e-149) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} else if (z <= 6.2e-125) {
		tmp = t_3;
	} else if (z <= 8e+73) {
		tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)));
	} else if (z <= 1.75e+220) {
		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) :: t_3
    real(8) :: tmp
    t_1 = a * (b * (t * ((x * (y / t)) - z)))
    t_2 = i * (z * ((t * c) - (k * y1)))
    t_3 = c * (y0 * ((x * y2) - (z * y3)))
    if (z <= (-6.5d+68)) then
        tmp = t_2
    else if (z <= (-2d-58)) then
        tmp = t_1
    else if (z <= (-1.02d-255)) then
        tmp = t * ((b * (j * y4)) + (y2 * ((a * y5) - (c * y4))))
    else if (z <= 2.2d-212) then
        tmp = y0 * (y5 * ((j * y3) - (k * y2)))
    else if (z <= 9d-208) then
        tmp = t_3
    else if (z <= 1.9d-149) then
        tmp = b * (y4 * ((t * j) - (y * k)))
    else if (z <= 6.2d-125) then
        tmp = t_3
    else if (z <= 8d+73) then
        tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)))
    else if (z <= 1.75d+220) 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 = a * (b * (t * ((x * (y / t)) - z)));
	double t_2 = i * (z * ((t * c) - (k * y1)));
	double t_3 = c * (y0 * ((x * y2) - (z * y3)));
	double tmp;
	if (z <= -6.5e+68) {
		tmp = t_2;
	} else if (z <= -2e-58) {
		tmp = t_1;
	} else if (z <= -1.02e-255) {
		tmp = t * ((b * (j * y4)) + (y2 * ((a * y5) - (c * y4))));
	} else if (z <= 2.2e-212) {
		tmp = y0 * (y5 * ((j * y3) - (k * y2)));
	} else if (z <= 9e-208) {
		tmp = t_3;
	} else if (z <= 1.9e-149) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} else if (z <= 6.2e-125) {
		tmp = t_3;
	} else if (z <= 8e+73) {
		tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)));
	} else if (z <= 1.75e+220) {
		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 = a * (b * (t * ((x * (y / t)) - z)))
	t_2 = i * (z * ((t * c) - (k * y1)))
	t_3 = c * (y0 * ((x * y2) - (z * y3)))
	tmp = 0
	if z <= -6.5e+68:
		tmp = t_2
	elif z <= -2e-58:
		tmp = t_1
	elif z <= -1.02e-255:
		tmp = t * ((b * (j * y4)) + (y2 * ((a * y5) - (c * y4))))
	elif z <= 2.2e-212:
		tmp = y0 * (y5 * ((j * y3) - (k * y2)))
	elif z <= 9e-208:
		tmp = t_3
	elif z <= 1.9e-149:
		tmp = b * (y4 * ((t * j) - (y * k)))
	elif z <= 6.2e-125:
		tmp = t_3
	elif z <= 8e+73:
		tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)))
	elif z <= 1.75e+220:
		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(a * Float64(b * Float64(t * Float64(Float64(x * Float64(y / t)) - z))))
	t_2 = Float64(i * Float64(z * Float64(Float64(t * c) - Float64(k * y1))))
	t_3 = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))))
	tmp = 0.0
	if (z <= -6.5e+68)
		tmp = t_2;
	elseif (z <= -2e-58)
		tmp = t_1;
	elseif (z <= -1.02e-255)
		tmp = Float64(t * Float64(Float64(b * Float64(j * y4)) + Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))));
	elseif (z <= 2.2e-212)
		tmp = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))));
	elseif (z <= 9e-208)
		tmp = t_3;
	elseif (z <= 1.9e-149)
		tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k))));
	elseif (z <= 6.2e-125)
		tmp = t_3;
	elseif (z <= 8e+73)
		tmp = Float64(t * Float64(y2 * Float64(c * Float64(Float64(a * Float64(y5 / c)) - y4))));
	elseif (z <= 1.75e+220)
		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 = a * (b * (t * ((x * (y / t)) - z)));
	t_2 = i * (z * ((t * c) - (k * y1)));
	t_3 = c * (y0 * ((x * y2) - (z * y3)));
	tmp = 0.0;
	if (z <= -6.5e+68)
		tmp = t_2;
	elseif (z <= -2e-58)
		tmp = t_1;
	elseif (z <= -1.02e-255)
		tmp = t * ((b * (j * y4)) + (y2 * ((a * y5) - (c * y4))));
	elseif (z <= 2.2e-212)
		tmp = y0 * (y5 * ((j * y3) - (k * y2)));
	elseif (z <= 9e-208)
		tmp = t_3;
	elseif (z <= 1.9e-149)
		tmp = b * (y4 * ((t * j) - (y * k)));
	elseif (z <= 6.2e-125)
		tmp = t_3;
	elseif (z <= 8e+73)
		tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)));
	elseif (z <= 1.75e+220)
		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[(a * N[(b * N[(t * N[(N[(x * N[(y / t), $MachinePrecision]), $MachinePrecision] - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(i * N[(z * N[(N[(t * c), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -6.5e+68], t$95$2, If[LessEqual[z, -2e-58], t$95$1, If[LessEqual[z, -1.02e-255], N[(t * N[(N[(b * N[(j * y4), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.2e-212], N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 9e-208], t$95$3, If[LessEqual[z, 1.9e-149], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 6.2e-125], t$95$3, If[LessEqual[z, 8e+73], N[(t * N[(y2 * N[(c * N[(N[(a * N[(y5 / c), $MachinePrecision]), $MachinePrecision] - y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.75e+220], t$95$2, t$95$1]]]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;z \leq -2 \cdot 10^{-58}:\\
\;\;\;\;t\_1\\

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

\mathbf{elif}\;z \leq 2.2 \cdot 10^{-212}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\

\mathbf{elif}\;z \leq 9 \cdot 10^{-208}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;z \leq 1.9 \cdot 10^{-149}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\

\mathbf{elif}\;z \leq 6.2 \cdot 10^{-125}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;z \leq 8 \cdot 10^{+73}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(c \cdot \left(a \cdot \frac{y5}{c} - y4\right)\right)\right)\\

\mathbf{elif}\;z \leq 1.75 \cdot 10^{+220}:\\
\;\;\;\;t\_2\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if z < -6.5000000000000005e68 or 7.99999999999999986e73 < z < 1.74999999999999993e220

    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 i around -inf 45.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 z around -inf 61.9%

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

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

        \[\leadsto -1 \cdot \left(\color{blue}{\left(-i\right)} \cdot \left(z \cdot \left(c \cdot t - k \cdot y1\right)\right)\right) \]
    6. Simplified61.9%

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

    if -6.5000000000000005e68 < z < -2.0000000000000001e-58 or 1.74999999999999993e220 < z

    1. Initial program 23.9%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 55.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 51.1%

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

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

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

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

    if -2.0000000000000001e-58 < z < -1.02000000000000002e-255

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

      \[\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 0 51.1%

      \[\leadsto \color{blue}{t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    5. Taylor expanded in i around 0 43.5%

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

    if -1.02000000000000002e-255 < z < 2.20000000000000003e-212

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

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

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

    if 2.20000000000000003e-212 < z < 8.9999999999999992e-208 or 1.90000000000000003e-149 < z < 6.20000000000000026e-125

    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 c around inf 66.9%

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

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

    if 8.9999999999999992e-208 < z < 1.90000000000000003e-149

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

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

    if 6.20000000000000026e-125 < z < 7.99999999999999986e73

    1. Initial program 18.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 58.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 y2 around inf 41.0%

      \[\leadsto \color{blue}{t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)} \]
    5. Taylor expanded in c around inf 45.3%

      \[\leadsto t \cdot \left(y2 \cdot \color{blue}{\left(c \cdot \left(\frac{a \cdot y5}{c} - y4\right)\right)}\right) \]
    6. Step-by-step derivation
      1. associate-/l*49.8%

        \[\leadsto t \cdot \left(y2 \cdot \left(c \cdot \left(\color{blue}{a \cdot \frac{y5}{c}} - y4\right)\right)\right) \]
    7. Simplified49.8%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -6.5 \cdot 10^{+68}:\\ \;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{elif}\;z \leq -2 \cdot 10^{-58}:\\ \;\;\;\;a \cdot \left(b \cdot \left(t \cdot \left(x \cdot \frac{y}{t} - z\right)\right)\right)\\ \mathbf{elif}\;z \leq -1.02 \cdot 10^{-255}:\\ \;\;\;\;t \cdot \left(b \cdot \left(j \cdot y4\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;z \leq 2.2 \cdot 10^{-212}:\\ \;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\ \mathbf{elif}\;z \leq 9 \cdot 10^{-208}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;z \leq 1.9 \cdot 10^{-149}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;z \leq 6.2 \cdot 10^{-125}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;z \leq 8 \cdot 10^{+73}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(c \cdot \left(a \cdot \frac{y5}{c} - y4\right)\right)\right)\\ \mathbf{elif}\;z \leq 1.75 \cdot 10^{+220}:\\ \;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(b \cdot \left(t \cdot \left(x \cdot \frac{y}{t} - z\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 16: 34.1% accurate, 1.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ t_2 := t \cdot \left(\left(z \cdot \left(c \cdot i - a \cdot b\right) + b \cdot \left(j \cdot y4\right)\right) + y5 \cdot \left(a \cdot y2\right)\right)\\ \mathbf{if}\;a \leq -1 \cdot 10^{-98}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;a \leq -1.15 \cdot 10^{-143}:\\ \;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{elif}\;a \leq -1 \cdot 10^{-216}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;a \leq 1.4 \cdot 10^{-181}:\\ \;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\ \mathbf{elif}\;a \leq 6.6 \cdot 10^{-127}:\\ \;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\ \mathbf{elif}\;a \leq 6.5 \cdot 10^{-105}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\ \mathbf{elif}\;a \leq 1.4 \cdot 10^{+30}:\\ \;\;\;\;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 (+ (* j (- (* b y4) (* i y5))) (* y2 (- (* a y5) (* c y4))))))
        (t_2
         (*
          t
          (+ (+ (* z (- (* c i) (* a b))) (* b (* j y4))) (* y5 (* a y2))))))
   (if (<= a -1e-98)
     t_1
     (if (<= a -1.15e-143)
       (* i (* z (- (* t c) (* k y1))))
       (if (<= a -1e-216)
         t_2
         (if (<= a 1.4e-181)
           (+
            (* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5)))
            (* y (* y3 (- (* c y4) (* a y5)))))
           (if (<= a 6.6e-127)
             (* b (* k (- (* z y0) (* y y4))))
             (if (<= a 6.5e-105)
               (* a (* y (* x b)))
               (if (<= a 1.4e+30) 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 * ((j * ((b * y4) - (i * y5))) + (y2 * ((a * y5) - (c * y4))));
	double t_2 = t * (((z * ((c * i) - (a * b))) + (b * (j * y4))) + (y5 * (a * y2)));
	double tmp;
	if (a <= -1e-98) {
		tmp = t_1;
	} else if (a <= -1.15e-143) {
		tmp = i * (z * ((t * c) - (k * y1)));
	} else if (a <= -1e-216) {
		tmp = t_2;
	} else if (a <= 1.4e-181) {
		tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (y * (y3 * ((c * y4) - (a * y5))));
	} else if (a <= 6.6e-127) {
		tmp = b * (k * ((z * y0) - (y * y4)));
	} else if (a <= 6.5e-105) {
		tmp = a * (y * (x * b));
	} else if (a <= 1.4e+30) {
		tmp = t_1;
	} else {
		tmp = t_2;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = t * ((j * ((b * y4) - (i * y5))) + (y2 * ((a * y5) - (c * y4))))
    t_2 = t * (((z * ((c * i) - (a * b))) + (b * (j * y4))) + (y5 * (a * y2)))
    if (a <= (-1d-98)) then
        tmp = t_1
    else if (a <= (-1.15d-143)) then
        tmp = i * (z * ((t * c) - (k * y1)))
    else if (a <= (-1d-216)) then
        tmp = t_2
    else if (a <= 1.4d-181) then
        tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (y * (y3 * ((c * y4) - (a * y5))))
    else if (a <= 6.6d-127) then
        tmp = b * (k * ((z * y0) - (y * y4)))
    else if (a <= 6.5d-105) then
        tmp = a * (y * (x * b))
    else if (a <= 1.4d+30) 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 * ((j * ((b * y4) - (i * y5))) + (y2 * ((a * y5) - (c * y4))));
	double t_2 = t * (((z * ((c * i) - (a * b))) + (b * (j * y4))) + (y5 * (a * y2)));
	double tmp;
	if (a <= -1e-98) {
		tmp = t_1;
	} else if (a <= -1.15e-143) {
		tmp = i * (z * ((t * c) - (k * y1)));
	} else if (a <= -1e-216) {
		tmp = t_2;
	} else if (a <= 1.4e-181) {
		tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (y * (y3 * ((c * y4) - (a * y5))));
	} else if (a <= 6.6e-127) {
		tmp = b * (k * ((z * y0) - (y * y4)));
	} else if (a <= 6.5e-105) {
		tmp = a * (y * (x * b));
	} else if (a <= 1.4e+30) {
		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 * ((j * ((b * y4) - (i * y5))) + (y2 * ((a * y5) - (c * y4))))
	t_2 = t * (((z * ((c * i) - (a * b))) + (b * (j * y4))) + (y5 * (a * y2)))
	tmp = 0
	if a <= -1e-98:
		tmp = t_1
	elif a <= -1.15e-143:
		tmp = i * (z * ((t * c) - (k * y1)))
	elif a <= -1e-216:
		tmp = t_2
	elif a <= 1.4e-181:
		tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (y * (y3 * ((c * y4) - (a * y5))))
	elif a <= 6.6e-127:
		tmp = b * (k * ((z * y0) - (y * y4)))
	elif a <= 6.5e-105:
		tmp = a * (y * (x * b))
	elif a <= 1.4e+30:
		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(Float64(j * Float64(Float64(b * y4) - Float64(i * y5))) + Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))))
	t_2 = Float64(t * Float64(Float64(Float64(z * Float64(Float64(c * i) - Float64(a * b))) + Float64(b * Float64(j * y4))) + Float64(y5 * Float64(a * y2))))
	tmp = 0.0
	if (a <= -1e-98)
		tmp = t_1;
	elseif (a <= -1.15e-143)
		tmp = Float64(i * Float64(z * Float64(Float64(t * c) - Float64(k * y1))));
	elseif (a <= -1e-216)
		tmp = t_2;
	elseif (a <= 1.4e-181)
		tmp = Float64(Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(y * Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5)))));
	elseif (a <= 6.6e-127)
		tmp = Float64(b * Float64(k * Float64(Float64(z * y0) - Float64(y * y4))));
	elseif (a <= 6.5e-105)
		tmp = Float64(a * Float64(y * Float64(x * b)));
	elseif (a <= 1.4e+30)
		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 * ((j * ((b * y4) - (i * y5))) + (y2 * ((a * y5) - (c * y4))));
	t_2 = t * (((z * ((c * i) - (a * b))) + (b * (j * y4))) + (y5 * (a * y2)));
	tmp = 0.0;
	if (a <= -1e-98)
		tmp = t_1;
	elseif (a <= -1.15e-143)
		tmp = i * (z * ((t * c) - (k * y1)));
	elseif (a <= -1e-216)
		tmp = t_2;
	elseif (a <= 1.4e-181)
		tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (y * (y3 * ((c * y4) - (a * y5))));
	elseif (a <= 6.6e-127)
		tmp = b * (k * ((z * y0) - (y * y4)));
	elseif (a <= 6.5e-105)
		tmp = a * (y * (x * b));
	elseif (a <= 1.4e+30)
		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[(N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(t * N[(N[(N[(z * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * N[(a * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -1e-98], t$95$1, If[LessEqual[a, -1.15e-143], N[(i * N[(z * N[(N[(t * c), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1e-216], t$95$2, If[LessEqual[a, 1.4e-181], N[(N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y * N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 6.6e-127], N[(b * N[(k * N[(N[(z * y0), $MachinePrecision] - N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 6.5e-105], N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.4e+30], t$95$1, t$95$2]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;a \leq -1.15 \cdot 10^{-143}:\\
\;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\

\mathbf{elif}\;a \leq -1 \cdot 10^{-216}:\\
\;\;\;\;t\_2\\

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

\mathbf{elif}\;a \leq 6.6 \cdot 10^{-127}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\

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

\mathbf{elif}\;a \leq 1.4 \cdot 10^{+30}:\\
\;\;\;\;t\_1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if a < -9.99999999999999939e-99 or 6.50000000000000006e-105 < a < 1.39999999999999992e30

    1. Initial program 25.8%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in t around inf 53.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 z around 0 53.0%

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

    if -9.99999999999999939e-99 < a < -1.15000000000000006e-143

    1. Initial program 17.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 41.9%

      \[\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 z around -inf 59.4%

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

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

        \[\leadsto -1 \cdot \left(\color{blue}{\left(-i\right)} \cdot \left(z \cdot \left(c \cdot t - k \cdot y1\right)\right)\right) \]
    6. Simplified59.4%

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

    if -1.15000000000000006e-143 < a < -1e-216 or 1.39999999999999992e30 < a

    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 t around inf 50.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 c around 0 59.9%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg59.9%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*59.9%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified59.9%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in b around inf 59.9%

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

    if -1e-216 < a < 1.39999999999999993e-181

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

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

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

    if 1.39999999999999993e-181 < a < 6.59999999999999961e-127

    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 b around inf 57.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 k around -inf 71.5%

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

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

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

    if 6.59999999999999961e-127 < a < 6.50000000000000006e-105

    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 1.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 41.9%

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

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

        \[\leadsto a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)} \]
    7. Simplified60.7%

      \[\leadsto \color{blue}{a \cdot \left(\left(b \cdot x\right) \cdot y\right)} \]
  3. Recombined 6 regimes into one program.
  4. Final simplification55.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -1 \cdot 10^{-98}:\\ \;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;a \leq -1.15 \cdot 10^{-143}:\\ \;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{elif}\;a \leq -1 \cdot 10^{-216}:\\ \;\;\;\;t \cdot \left(\left(z \cdot \left(c \cdot i - a \cdot b\right) + b \cdot \left(j \cdot y4\right)\right) + y5 \cdot \left(a \cdot y2\right)\right)\\ \mathbf{elif}\;a \leq 1.4 \cdot 10^{-181}:\\ \;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\ \mathbf{elif}\;a \leq 6.6 \cdot 10^{-127}:\\ \;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\ \mathbf{elif}\;a \leq 6.5 \cdot 10^{-105}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\ \mathbf{elif}\;a \leq 1.4 \cdot 10^{+30}:\\ \;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(\left(z \cdot \left(c \cdot i - a \cdot b\right) + b \cdot \left(j \cdot y4\right)\right) + y5 \cdot \left(a \cdot y2\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 17: 34.5% accurate, 1.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := j \cdot \left(b \cdot y4 - i \cdot y5\right)\\ t_2 := z \cdot \left(c \cdot i - a \cdot b\right)\\ t_3 := y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\\ t_4 := \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\\ t_5 := y5 \cdot \left(a \cdot y2\right)\\ \mathbf{if}\;a \leq -3.4 \cdot 10^{-97}:\\ \;\;\;\;t \cdot \left(t\_1 + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;a \leq -1.6 \cdot 10^{-132}:\\ \;\;\;\;y \cdot \left(t\_3 + \frac{t\_4}{y}\right)\\ \mathbf{elif}\;a \leq -3.8 \cdot 10^{-143}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;a \leq -4.8 \cdot 10^{-215}:\\ \;\;\;\;t \cdot \left(\left(t\_2 + b \cdot \left(j \cdot y4\right)\right) + t\_5\right)\\ \mathbf{elif}\;a \leq 1.9 \cdot 10^{-181}:\\ \;\;\;\;t\_4 + y \cdot t\_3\\ \mathbf{elif}\;a \leq 4.2 \cdot 10^{-109}:\\ \;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(\left(t\_1 + t\_2\right) + t\_5\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 (* j (- (* b y4) (* i y5))))
        (t_2 (* z (- (* c i) (* a b))))
        (t_3 (* y3 (- (* c y4) (* a y5))))
        (t_4 (* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5))))
        (t_5 (* y5 (* a y2))))
   (if (<= a -3.4e-97)
     (* t (+ t_1 (* y2 (- (* a y5) (* c y4)))))
     (if (<= a -1.6e-132)
       (* y (+ t_3 (/ t_4 y)))
       (if (<= a -3.8e-143)
         (* c (* y0 (- (* x y2) (* z y3))))
         (if (<= a -4.8e-215)
           (* t (+ (+ t_2 (* b (* j y4))) t_5))
           (if (<= a 1.9e-181)
             (+ t_4 (* y t_3))
             (if (<= a 4.2e-109)
               (* b (* k (- (* z y0) (* y y4))))
               (* t (+ (+ t_1 t_2) t_5))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = j * ((b * y4) - (i * y5));
	double t_2 = z * ((c * i) - (a * b));
	double t_3 = y3 * ((c * y4) - (a * y5));
	double t_4 = ((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5));
	double t_5 = y5 * (a * y2);
	double tmp;
	if (a <= -3.4e-97) {
		tmp = t * (t_1 + (y2 * ((a * y5) - (c * y4))));
	} else if (a <= -1.6e-132) {
		tmp = y * (t_3 + (t_4 / y));
	} else if (a <= -3.8e-143) {
		tmp = c * (y0 * ((x * y2) - (z * y3)));
	} else if (a <= -4.8e-215) {
		tmp = t * ((t_2 + (b * (j * y4))) + t_5);
	} else if (a <= 1.9e-181) {
		tmp = t_4 + (y * t_3);
	} else if (a <= 4.2e-109) {
		tmp = b * (k * ((z * y0) - (y * y4)));
	} else {
		tmp = t * ((t_1 + t_2) + t_5);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: t_4
    real(8) :: t_5
    real(8) :: tmp
    t_1 = j * ((b * y4) - (i * y5))
    t_2 = z * ((c * i) - (a * b))
    t_3 = y3 * ((c * y4) - (a * y5))
    t_4 = ((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))
    t_5 = y5 * (a * y2)
    if (a <= (-3.4d-97)) then
        tmp = t * (t_1 + (y2 * ((a * y5) - (c * y4))))
    else if (a <= (-1.6d-132)) then
        tmp = y * (t_3 + (t_4 / y))
    else if (a <= (-3.8d-143)) then
        tmp = c * (y0 * ((x * y2) - (z * y3)))
    else if (a <= (-4.8d-215)) then
        tmp = t * ((t_2 + (b * (j * y4))) + t_5)
    else if (a <= 1.9d-181) then
        tmp = t_4 + (y * t_3)
    else if (a <= 4.2d-109) then
        tmp = b * (k * ((z * y0) - (y * y4)))
    else
        tmp = t * ((t_1 + t_2) + t_5)
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = j * ((b * y4) - (i * y5));
	double t_2 = z * ((c * i) - (a * b));
	double t_3 = y3 * ((c * y4) - (a * y5));
	double t_4 = ((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5));
	double t_5 = y5 * (a * y2);
	double tmp;
	if (a <= -3.4e-97) {
		tmp = t * (t_1 + (y2 * ((a * y5) - (c * y4))));
	} else if (a <= -1.6e-132) {
		tmp = y * (t_3 + (t_4 / y));
	} else if (a <= -3.8e-143) {
		tmp = c * (y0 * ((x * y2) - (z * y3)));
	} else if (a <= -4.8e-215) {
		tmp = t * ((t_2 + (b * (j * y4))) + t_5);
	} else if (a <= 1.9e-181) {
		tmp = t_4 + (y * t_3);
	} else if (a <= 4.2e-109) {
		tmp = b * (k * ((z * y0) - (y * y4)));
	} else {
		tmp = t * ((t_1 + t_2) + t_5);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = j * ((b * y4) - (i * y5))
	t_2 = z * ((c * i) - (a * b))
	t_3 = y3 * ((c * y4) - (a * y5))
	t_4 = ((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))
	t_5 = y5 * (a * y2)
	tmp = 0
	if a <= -3.4e-97:
		tmp = t * (t_1 + (y2 * ((a * y5) - (c * y4))))
	elif a <= -1.6e-132:
		tmp = y * (t_3 + (t_4 / y))
	elif a <= -3.8e-143:
		tmp = c * (y0 * ((x * y2) - (z * y3)))
	elif a <= -4.8e-215:
		tmp = t * ((t_2 + (b * (j * y4))) + t_5)
	elif a <= 1.9e-181:
		tmp = t_4 + (y * t_3)
	elif a <= 4.2e-109:
		tmp = b * (k * ((z * y0) - (y * y4)))
	else:
		tmp = t * ((t_1 + t_2) + t_5)
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(j * Float64(Float64(b * y4) - Float64(i * y5)))
	t_2 = Float64(z * Float64(Float64(c * i) - Float64(a * b)))
	t_3 = Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5)))
	t_4 = Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5)))
	t_5 = Float64(y5 * Float64(a * y2))
	tmp = 0.0
	if (a <= -3.4e-97)
		tmp = Float64(t * Float64(t_1 + Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))));
	elseif (a <= -1.6e-132)
		tmp = Float64(y * Float64(t_3 + Float64(t_4 / y)));
	elseif (a <= -3.8e-143)
		tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))));
	elseif (a <= -4.8e-215)
		tmp = Float64(t * Float64(Float64(t_2 + Float64(b * Float64(j * y4))) + t_5));
	elseif (a <= 1.9e-181)
		tmp = Float64(t_4 + Float64(y * t_3));
	elseif (a <= 4.2e-109)
		tmp = Float64(b * Float64(k * Float64(Float64(z * y0) - Float64(y * y4))));
	else
		tmp = Float64(t * Float64(Float64(t_1 + t_2) + t_5));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = j * ((b * y4) - (i * y5));
	t_2 = z * ((c * i) - (a * b));
	t_3 = y3 * ((c * y4) - (a * y5));
	t_4 = ((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5));
	t_5 = y5 * (a * y2);
	tmp = 0.0;
	if (a <= -3.4e-97)
		tmp = t * (t_1 + (y2 * ((a * y5) - (c * y4))));
	elseif (a <= -1.6e-132)
		tmp = y * (t_3 + (t_4 / y));
	elseif (a <= -3.8e-143)
		tmp = c * (y0 * ((x * y2) - (z * y3)));
	elseif (a <= -4.8e-215)
		tmp = t * ((t_2 + (b * (j * y4))) + t_5);
	elseif (a <= 1.9e-181)
		tmp = t_4 + (y * t_3);
	elseif (a <= 4.2e-109)
		tmp = b * (k * ((z * y0) - (y * y4)));
	else
		tmp = t * ((t_1 + t_2) + t_5);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(z * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(y5 * N[(a * y2), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -3.4e-97], N[(t * N[(t$95$1 + N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.6e-132], N[(y * N[(t$95$3 + N[(t$95$4 / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -3.8e-143], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -4.8e-215], N[(t * N[(N[(t$95$2 + N[(b * N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$5), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.9e-181], N[(t$95$4 + N[(y * t$95$3), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 4.2e-109], N[(b * N[(k * N[(N[(z * y0), $MachinePrecision] - N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t * N[(N[(t$95$1 + t$95$2), $MachinePrecision] + t$95$5), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;a \leq -1.6 \cdot 10^{-132}:\\
\;\;\;\;y \cdot \left(t\_3 + \frac{t\_4}{y}\right)\\

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

\mathbf{elif}\;a \leq -4.8 \cdot 10^{-215}:\\
\;\;\;\;t \cdot \left(\left(t\_2 + b \cdot \left(j \cdot y4\right)\right) + t\_5\right)\\

\mathbf{elif}\;a \leq 1.9 \cdot 10^{-181}:\\
\;\;\;\;t\_4 + y \cdot t\_3\\

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

\mathbf{else}:\\
\;\;\;\;t \cdot \left(\left(t\_1 + t\_2\right) + t\_5\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if a < -3.3999999999999999e-97

    1. Initial program 27.5%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in t around inf 52.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 z around 0 53.0%

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

    if -3.3999999999999999e-97 < a < -1.6000000000000001e-132

    1. Initial program 11.7%

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

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

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

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

    if -1.6000000000000001e-132 < a < -3.79999999999999981e-143

    1. Initial program 50.0%

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

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

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

    if -3.79999999999999981e-143 < a < -4.8000000000000002e-215

    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 t around inf 49.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 c around 0 43.5%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg43.5%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*49.9%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified49.9%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in b around inf 56.6%

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

    if -4.8000000000000002e-215 < a < 1.8999999999999999e-181

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

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

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

    if 1.8999999999999999e-181 < a < 4.19999999999999992e-109

    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 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 k around -inf 61.3%

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

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

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

    if 4.19999999999999992e-109 < a

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

      \[\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 0 58.5%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg58.5%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*58.5%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified58.5%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
  3. Recombined 7 regimes into one program.
  4. Final simplification55.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -3.4 \cdot 10^{-97}:\\ \;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;a \leq -1.6 \cdot 10^{-132}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right) + \frac{\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)}{y}\right)\\ \mathbf{elif}\;a \leq -3.8 \cdot 10^{-143}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;a \leq -4.8 \cdot 10^{-215}:\\ \;\;\;\;t \cdot \left(\left(z \cdot \left(c \cdot i - a \cdot b\right) + b \cdot \left(j \cdot y4\right)\right) + y5 \cdot \left(a \cdot y2\right)\right)\\ \mathbf{elif}\;a \leq 1.9 \cdot 10^{-181}:\\ \;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\ \mathbf{elif}\;a \leq 4.2 \cdot 10^{-109}:\\ \;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(\left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + z \cdot \left(c \cdot i - a \cdot b\right)\right) + y5 \cdot \left(a \cdot y2\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 18: 34.0% accurate, 1.8× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \left(b \cdot \left(t \cdot \left(x \cdot \frac{y}{t} - z\right)\right)\right)\\ t_2 := i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{if}\;z \leq -9.2 \cdot 10^{+69}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;z \leq -2.5 \cdot 10^{-52}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq -9.5 \cdot 10^{-253}:\\ \;\;\;\;t \cdot \left(b \cdot \left(j \cdot y4\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;z \leq 9 \cdot 10^{-213}:\\ \;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\ \mathbf{elif}\;z \leq 1.22 \cdot 10^{-163}:\\ \;\;\;\;t \cdot \left(y5 \cdot \left(a \cdot y2 - i \cdot j\right)\right)\\ \mathbf{elif}\;z \leq 4.5 \cdot 10^{-131}:\\ \;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right) + c \cdot \left(y \cdot y3\right)\right)\\ \mathbf{elif}\;z \leq 4.5 \cdot 10^{+75}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(c \cdot \left(a \cdot \frac{y5}{c} - y4\right)\right)\right)\\ \mathbf{elif}\;z \leq 1.7 \cdot 10^{+220}:\\ \;\;\;\;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 (* a (* b (* t (- (* x (/ y t)) z)))))
        (t_2 (* i (* z (- (* t c) (* k y1))))))
   (if (<= z -9.2e+69)
     t_2
     (if (<= z -2.5e-52)
       t_1
       (if (<= z -9.5e-253)
         (* t (+ (* b (* j y4)) (* y2 (- (* a y5) (* c y4)))))
         (if (<= z 9e-213)
           (* y0 (* y5 (- (* j y3) (* k y2))))
           (if (<= z 1.22e-163)
             (* t (* y5 (- (* a y2) (* i j))))
             (if (<= z 4.5e-131)
               (* y4 (+ (* y1 (- (* k y2) (* j y3))) (* c (* y y3))))
               (if (<= z 4.5e+75)
                 (* t (* y2 (* c (- (* a (/ y5 c)) y4))))
                 (if (<= z 1.7e+220) t_2 t_1))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = a * (b * (t * ((x * (y / t)) - z)));
	double t_2 = i * (z * ((t * c) - (k * y1)));
	double tmp;
	if (z <= -9.2e+69) {
		tmp = t_2;
	} else if (z <= -2.5e-52) {
		tmp = t_1;
	} else if (z <= -9.5e-253) {
		tmp = t * ((b * (j * y4)) + (y2 * ((a * y5) - (c * y4))));
	} else if (z <= 9e-213) {
		tmp = y0 * (y5 * ((j * y3) - (k * y2)));
	} else if (z <= 1.22e-163) {
		tmp = t * (y5 * ((a * y2) - (i * j)));
	} else if (z <= 4.5e-131) {
		tmp = y4 * ((y1 * ((k * y2) - (j * y3))) + (c * (y * y3)));
	} else if (z <= 4.5e+75) {
		tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)));
	} else if (z <= 1.7e+220) {
		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 = a * (b * (t * ((x * (y / t)) - z)))
    t_2 = i * (z * ((t * c) - (k * y1)))
    if (z <= (-9.2d+69)) then
        tmp = t_2
    else if (z <= (-2.5d-52)) then
        tmp = t_1
    else if (z <= (-9.5d-253)) then
        tmp = t * ((b * (j * y4)) + (y2 * ((a * y5) - (c * y4))))
    else if (z <= 9d-213) then
        tmp = y0 * (y5 * ((j * y3) - (k * y2)))
    else if (z <= 1.22d-163) then
        tmp = t * (y5 * ((a * y2) - (i * j)))
    else if (z <= 4.5d-131) then
        tmp = y4 * ((y1 * ((k * y2) - (j * y3))) + (c * (y * y3)))
    else if (z <= 4.5d+75) then
        tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)))
    else if (z <= 1.7d+220) 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 = a * (b * (t * ((x * (y / t)) - z)));
	double t_2 = i * (z * ((t * c) - (k * y1)));
	double tmp;
	if (z <= -9.2e+69) {
		tmp = t_2;
	} else if (z <= -2.5e-52) {
		tmp = t_1;
	} else if (z <= -9.5e-253) {
		tmp = t * ((b * (j * y4)) + (y2 * ((a * y5) - (c * y4))));
	} else if (z <= 9e-213) {
		tmp = y0 * (y5 * ((j * y3) - (k * y2)));
	} else if (z <= 1.22e-163) {
		tmp = t * (y5 * ((a * y2) - (i * j)));
	} else if (z <= 4.5e-131) {
		tmp = y4 * ((y1 * ((k * y2) - (j * y3))) + (c * (y * y3)));
	} else if (z <= 4.5e+75) {
		tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)));
	} else if (z <= 1.7e+220) {
		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 = a * (b * (t * ((x * (y / t)) - z)))
	t_2 = i * (z * ((t * c) - (k * y1)))
	tmp = 0
	if z <= -9.2e+69:
		tmp = t_2
	elif z <= -2.5e-52:
		tmp = t_1
	elif z <= -9.5e-253:
		tmp = t * ((b * (j * y4)) + (y2 * ((a * y5) - (c * y4))))
	elif z <= 9e-213:
		tmp = y0 * (y5 * ((j * y3) - (k * y2)))
	elif z <= 1.22e-163:
		tmp = t * (y5 * ((a * y2) - (i * j)))
	elif z <= 4.5e-131:
		tmp = y4 * ((y1 * ((k * y2) - (j * y3))) + (c * (y * y3)))
	elif z <= 4.5e+75:
		tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)))
	elif z <= 1.7e+220:
		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(a * Float64(b * Float64(t * Float64(Float64(x * Float64(y / t)) - z))))
	t_2 = Float64(i * Float64(z * Float64(Float64(t * c) - Float64(k * y1))))
	tmp = 0.0
	if (z <= -9.2e+69)
		tmp = t_2;
	elseif (z <= -2.5e-52)
		tmp = t_1;
	elseif (z <= -9.5e-253)
		tmp = Float64(t * Float64(Float64(b * Float64(j * y4)) + Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))));
	elseif (z <= 9e-213)
		tmp = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))));
	elseif (z <= 1.22e-163)
		tmp = Float64(t * Float64(y5 * Float64(Float64(a * y2) - Float64(i * j))));
	elseif (z <= 4.5e-131)
		tmp = Float64(y4 * Float64(Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3))) + Float64(c * Float64(y * y3))));
	elseif (z <= 4.5e+75)
		tmp = Float64(t * Float64(y2 * Float64(c * Float64(Float64(a * Float64(y5 / c)) - y4))));
	elseif (z <= 1.7e+220)
		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 = a * (b * (t * ((x * (y / t)) - z)));
	t_2 = i * (z * ((t * c) - (k * y1)));
	tmp = 0.0;
	if (z <= -9.2e+69)
		tmp = t_2;
	elseif (z <= -2.5e-52)
		tmp = t_1;
	elseif (z <= -9.5e-253)
		tmp = t * ((b * (j * y4)) + (y2 * ((a * y5) - (c * y4))));
	elseif (z <= 9e-213)
		tmp = y0 * (y5 * ((j * y3) - (k * y2)));
	elseif (z <= 1.22e-163)
		tmp = t * (y5 * ((a * y2) - (i * j)));
	elseif (z <= 4.5e-131)
		tmp = y4 * ((y1 * ((k * y2) - (j * y3))) + (c * (y * y3)));
	elseif (z <= 4.5e+75)
		tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)));
	elseif (z <= 1.7e+220)
		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[(a * N[(b * N[(t * N[(N[(x * N[(y / t), $MachinePrecision]), $MachinePrecision] - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(i * N[(z * N[(N[(t * c), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -9.2e+69], t$95$2, If[LessEqual[z, -2.5e-52], t$95$1, If[LessEqual[z, -9.5e-253], N[(t * N[(N[(b * N[(j * y4), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 9e-213], N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.22e-163], N[(t * N[(y5 * N[(N[(a * y2), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 4.5e-131], N[(y4 * N[(N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 4.5e+75], N[(t * N[(y2 * N[(c * N[(N[(a * N[(y5 / c), $MachinePrecision]), $MachinePrecision] - y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.7e+220], t$95$2, t$95$1]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := a \cdot \left(b \cdot \left(t \cdot \left(x \cdot \frac{y}{t} - z\right)\right)\right)\\
t_2 := i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\
\mathbf{if}\;z \leq -9.2 \cdot 10^{+69}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;z \leq -2.5 \cdot 10^{-52}:\\
\;\;\;\;t\_1\\

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

\mathbf{elif}\;z \leq 9 \cdot 10^{-213}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\

\mathbf{elif}\;z \leq 1.22 \cdot 10^{-163}:\\
\;\;\;\;t \cdot \left(y5 \cdot \left(a \cdot y2 - i \cdot j\right)\right)\\

\mathbf{elif}\;z \leq 4.5 \cdot 10^{-131}:\\
\;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right) + c \cdot \left(y \cdot y3\right)\right)\\

\mathbf{elif}\;z \leq 4.5 \cdot 10^{+75}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(c \cdot \left(a \cdot \frac{y5}{c} - y4\right)\right)\right)\\

\mathbf{elif}\;z \leq 1.7 \cdot 10^{+220}:\\
\;\;\;\;t\_2\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if z < -9.20000000000000067e69 or 4.5000000000000004e75 < z < 1.7e220

    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 i around -inf 45.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 z around -inf 61.9%

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

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

        \[\leadsto -1 \cdot \left(\color{blue}{\left(-i\right)} \cdot \left(z \cdot \left(c \cdot t - k \cdot y1\right)\right)\right) \]
    6. Simplified61.9%

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

    if -9.20000000000000067e69 < z < -2.5e-52 or 1.7e220 < z

    1. Initial program 23.9%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 55.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 51.1%

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

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

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

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

    if -2.5e-52 < z < -9.5e-253

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

      \[\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 0 51.1%

      \[\leadsto \color{blue}{t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    5. Taylor expanded in i around 0 43.5%

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

    if -9.5e-253 < z < 9.0000000000000002e-213

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

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

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

    if 9.0000000000000002e-213 < z < 1.22000000000000003e-163

    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 44.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 y5 around -inf 56.1%

      \[\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-neg56.1%

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

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

    if 1.22000000000000003e-163 < z < 4.5000000000000002e-131

    1. Initial program 36.2%

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

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

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

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

    if 4.5000000000000002e-131 < z < 4.5000000000000004e75

    1. Initial program 17.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 57.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 41.4%

      \[\leadsto \color{blue}{t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)} \]
    5. Taylor expanded in c around inf 45.5%

      \[\leadsto t \cdot \left(y2 \cdot \color{blue}{\left(c \cdot \left(\frac{a \cdot y5}{c} - y4\right)\right)}\right) \]
    6. Step-by-step derivation
      1. associate-/l*49.8%

        \[\leadsto t \cdot \left(y2 \cdot \left(c \cdot \left(\color{blue}{a \cdot \frac{y5}{c}} - y4\right)\right)\right) \]
    7. Simplified49.8%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -9.2 \cdot 10^{+69}:\\ \;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{elif}\;z \leq -2.5 \cdot 10^{-52}:\\ \;\;\;\;a \cdot \left(b \cdot \left(t \cdot \left(x \cdot \frac{y}{t} - z\right)\right)\right)\\ \mathbf{elif}\;z \leq -9.5 \cdot 10^{-253}:\\ \;\;\;\;t \cdot \left(b \cdot \left(j \cdot y4\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{elif}\;z \leq 9 \cdot 10^{-213}:\\ \;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\ \mathbf{elif}\;z \leq 1.22 \cdot 10^{-163}:\\ \;\;\;\;t \cdot \left(y5 \cdot \left(a \cdot y2 - i \cdot j\right)\right)\\ \mathbf{elif}\;z \leq 4.5 \cdot 10^{-131}:\\ \;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right) + c \cdot \left(y \cdot y3\right)\right)\\ \mathbf{elif}\;z \leq 4.5 \cdot 10^{+75}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(c \cdot \left(a \cdot \frac{y5}{c} - y4\right)\right)\right)\\ \mathbf{elif}\;z \leq 1.7 \cdot 10^{+220}:\\ \;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(b \cdot \left(t \cdot \left(x \cdot \frac{y}{t} - z\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 19: 34.0% accurate, 1.8× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \left(b \cdot \left(t \cdot \left(x \cdot \frac{y}{t} - z\right)\right)\right)\\ t_2 := i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ t_3 := t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + y5 \cdot \left(a \cdot y2\right)\right)\\ \mathbf{if}\;z \leq -6.5 \cdot 10^{+68}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;z \leq -3.4 \cdot 10^{-51}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq -1.65 \cdot 10^{-232}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;z \leq 1.25 \cdot 10^{-219}:\\ \;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\ \mathbf{elif}\;z \leq 6.4 \cdot 10^{-152}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;z \leq 8 \cdot 10^{-129}:\\ \;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right) + c \cdot \left(y \cdot y3\right)\right)\\ \mathbf{elif}\;z \leq 2 \cdot 10^{+74}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(c \cdot \left(a \cdot \frac{y5}{c} - y4\right)\right)\right)\\ \mathbf{elif}\;z \leq 9.8 \cdot 10^{+219}:\\ \;\;\;\;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 (* a (* b (* t (- (* x (/ y t)) z)))))
        (t_2 (* i (* z (- (* t c) (* k y1)))))
        (t_3 (* t (+ (* j (- (* b y4) (* i y5))) (* y5 (* a y2))))))
   (if (<= z -6.5e+68)
     t_2
     (if (<= z -3.4e-51)
       t_1
       (if (<= z -1.65e-232)
         t_3
         (if (<= z 1.25e-219)
           (* y0 (* y5 (- (* j y3) (* k y2))))
           (if (<= z 6.4e-152)
             t_3
             (if (<= z 8e-129)
               (* y4 (+ (* y1 (- (* k y2) (* j y3))) (* c (* y y3))))
               (if (<= z 2e+74)
                 (* t (* y2 (* c (- (* a (/ y5 c)) y4))))
                 (if (<= z 9.8e+219) t_2 t_1))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = a * (b * (t * ((x * (y / t)) - z)));
	double t_2 = i * (z * ((t * c) - (k * y1)));
	double t_3 = t * ((j * ((b * y4) - (i * y5))) + (y5 * (a * y2)));
	double tmp;
	if (z <= -6.5e+68) {
		tmp = t_2;
	} else if (z <= -3.4e-51) {
		tmp = t_1;
	} else if (z <= -1.65e-232) {
		tmp = t_3;
	} else if (z <= 1.25e-219) {
		tmp = y0 * (y5 * ((j * y3) - (k * y2)));
	} else if (z <= 6.4e-152) {
		tmp = t_3;
	} else if (z <= 8e-129) {
		tmp = y4 * ((y1 * ((k * y2) - (j * y3))) + (c * (y * y3)));
	} else if (z <= 2e+74) {
		tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)));
	} else if (z <= 9.8e+219) {
		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) :: t_3
    real(8) :: tmp
    t_1 = a * (b * (t * ((x * (y / t)) - z)))
    t_2 = i * (z * ((t * c) - (k * y1)))
    t_3 = t * ((j * ((b * y4) - (i * y5))) + (y5 * (a * y2)))
    if (z <= (-6.5d+68)) then
        tmp = t_2
    else if (z <= (-3.4d-51)) then
        tmp = t_1
    else if (z <= (-1.65d-232)) then
        tmp = t_3
    else if (z <= 1.25d-219) then
        tmp = y0 * (y5 * ((j * y3) - (k * y2)))
    else if (z <= 6.4d-152) then
        tmp = t_3
    else if (z <= 8d-129) then
        tmp = y4 * ((y1 * ((k * y2) - (j * y3))) + (c * (y * y3)))
    else if (z <= 2d+74) then
        tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)))
    else if (z <= 9.8d+219) 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 = a * (b * (t * ((x * (y / t)) - z)));
	double t_2 = i * (z * ((t * c) - (k * y1)));
	double t_3 = t * ((j * ((b * y4) - (i * y5))) + (y5 * (a * y2)));
	double tmp;
	if (z <= -6.5e+68) {
		tmp = t_2;
	} else if (z <= -3.4e-51) {
		tmp = t_1;
	} else if (z <= -1.65e-232) {
		tmp = t_3;
	} else if (z <= 1.25e-219) {
		tmp = y0 * (y5 * ((j * y3) - (k * y2)));
	} else if (z <= 6.4e-152) {
		tmp = t_3;
	} else if (z <= 8e-129) {
		tmp = y4 * ((y1 * ((k * y2) - (j * y3))) + (c * (y * y3)));
	} else if (z <= 2e+74) {
		tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)));
	} else if (z <= 9.8e+219) {
		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 = a * (b * (t * ((x * (y / t)) - z)))
	t_2 = i * (z * ((t * c) - (k * y1)))
	t_3 = t * ((j * ((b * y4) - (i * y5))) + (y5 * (a * y2)))
	tmp = 0
	if z <= -6.5e+68:
		tmp = t_2
	elif z <= -3.4e-51:
		tmp = t_1
	elif z <= -1.65e-232:
		tmp = t_3
	elif z <= 1.25e-219:
		tmp = y0 * (y5 * ((j * y3) - (k * y2)))
	elif z <= 6.4e-152:
		tmp = t_3
	elif z <= 8e-129:
		tmp = y4 * ((y1 * ((k * y2) - (j * y3))) + (c * (y * y3)))
	elif z <= 2e+74:
		tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)))
	elif z <= 9.8e+219:
		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(a * Float64(b * Float64(t * Float64(Float64(x * Float64(y / t)) - z))))
	t_2 = Float64(i * Float64(z * Float64(Float64(t * c) - Float64(k * y1))))
	t_3 = Float64(t * Float64(Float64(j * Float64(Float64(b * y4) - Float64(i * y5))) + Float64(y5 * Float64(a * y2))))
	tmp = 0.0
	if (z <= -6.5e+68)
		tmp = t_2;
	elseif (z <= -3.4e-51)
		tmp = t_1;
	elseif (z <= -1.65e-232)
		tmp = t_3;
	elseif (z <= 1.25e-219)
		tmp = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))));
	elseif (z <= 6.4e-152)
		tmp = t_3;
	elseif (z <= 8e-129)
		tmp = Float64(y4 * Float64(Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3))) + Float64(c * Float64(y * y3))));
	elseif (z <= 2e+74)
		tmp = Float64(t * Float64(y2 * Float64(c * Float64(Float64(a * Float64(y5 / c)) - y4))));
	elseif (z <= 9.8e+219)
		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 = a * (b * (t * ((x * (y / t)) - z)));
	t_2 = i * (z * ((t * c) - (k * y1)));
	t_3 = t * ((j * ((b * y4) - (i * y5))) + (y5 * (a * y2)));
	tmp = 0.0;
	if (z <= -6.5e+68)
		tmp = t_2;
	elseif (z <= -3.4e-51)
		tmp = t_1;
	elseif (z <= -1.65e-232)
		tmp = t_3;
	elseif (z <= 1.25e-219)
		tmp = y0 * (y5 * ((j * y3) - (k * y2)));
	elseif (z <= 6.4e-152)
		tmp = t_3;
	elseif (z <= 8e-129)
		tmp = y4 * ((y1 * ((k * y2) - (j * y3))) + (c * (y * y3)));
	elseif (z <= 2e+74)
		tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)));
	elseif (z <= 9.8e+219)
		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[(a * N[(b * N[(t * N[(N[(x * N[(y / t), $MachinePrecision]), $MachinePrecision] - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(i * N[(z * N[(N[(t * c), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(t * N[(N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * N[(a * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -6.5e+68], t$95$2, If[LessEqual[z, -3.4e-51], t$95$1, If[LessEqual[z, -1.65e-232], t$95$3, If[LessEqual[z, 1.25e-219], N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 6.4e-152], t$95$3, If[LessEqual[z, 8e-129], N[(y4 * N[(N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2e+74], N[(t * N[(y2 * N[(c * N[(N[(a * N[(y5 / c), $MachinePrecision]), $MachinePrecision] - y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 9.8e+219], t$95$2, t$95$1]]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;z \leq -3.4 \cdot 10^{-51}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;z \leq -1.65 \cdot 10^{-232}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;z \leq 1.25 \cdot 10^{-219}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\

\mathbf{elif}\;z \leq 6.4 \cdot 10^{-152}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;z \leq 8 \cdot 10^{-129}:\\
\;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right) + c \cdot \left(y \cdot y3\right)\right)\\

\mathbf{elif}\;z \leq 2 \cdot 10^{+74}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(c \cdot \left(a \cdot \frac{y5}{c} - y4\right)\right)\right)\\

\mathbf{elif}\;z \leq 9.8 \cdot 10^{+219}:\\
\;\;\;\;t\_2\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if z < -6.5000000000000005e68 or 1.9999999999999999e74 < z < 9.80000000000000007e219

    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 i around -inf 45.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 z around -inf 61.9%

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

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

        \[\leadsto -1 \cdot \left(\color{blue}{\left(-i\right)} \cdot \left(z \cdot \left(c \cdot t - k \cdot y1\right)\right)\right) \]
    6. Simplified61.9%

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

    if -6.5000000000000005e68 < z < -3.40000000000000003e-51 or 9.80000000000000007e219 < z

    1. Initial program 23.9%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 55.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 51.1%

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

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

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

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

    if -3.40000000000000003e-51 < z < -1.64999999999999993e-232 or 1.25e-219 < z < 6.40000000000000025e-152

    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 t around inf 46.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 z around 0 50.9%

      \[\leadsto \color{blue}{t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    5. Taylor expanded in c around 0 55.2%

      \[\leadsto t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    6. Step-by-step derivation
      1. mul-1-neg49.0%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*49.0%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    7. Simplified55.2%

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

    if -1.64999999999999993e-232 < z < 1.25e-219

    1. Initial program 19.2%

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

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

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

    if 6.40000000000000025e-152 < z < 7.9999999999999994e-129

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

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

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

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

    if 7.9999999999999994e-129 < z < 1.9999999999999999e74

    1. Initial program 17.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 57.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 41.4%

      \[\leadsto \color{blue}{t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)} \]
    5. Taylor expanded in c around inf 45.5%

      \[\leadsto t \cdot \left(y2 \cdot \color{blue}{\left(c \cdot \left(\frac{a \cdot y5}{c} - y4\right)\right)}\right) \]
    6. Step-by-step derivation
      1. associate-/l*49.8%

        \[\leadsto t \cdot \left(y2 \cdot \left(c \cdot \left(\color{blue}{a \cdot \frac{y5}{c}} - y4\right)\right)\right) \]
    7. Simplified49.8%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -6.5 \cdot 10^{+68}:\\ \;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{elif}\;z \leq -3.4 \cdot 10^{-51}:\\ \;\;\;\;a \cdot \left(b \cdot \left(t \cdot \left(x \cdot \frac{y}{t} - z\right)\right)\right)\\ \mathbf{elif}\;z \leq -1.65 \cdot 10^{-232}:\\ \;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + y5 \cdot \left(a \cdot y2\right)\right)\\ \mathbf{elif}\;z \leq 1.25 \cdot 10^{-219}:\\ \;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\ \mathbf{elif}\;z \leq 6.4 \cdot 10^{-152}:\\ \;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + y5 \cdot \left(a \cdot y2\right)\right)\\ \mathbf{elif}\;z \leq 8 \cdot 10^{-129}:\\ \;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right) + c \cdot \left(y \cdot y3\right)\right)\\ \mathbf{elif}\;z \leq 2 \cdot 10^{+74}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(c \cdot \left(a \cdot \frac{y5}{c} - y4\right)\right)\right)\\ \mathbf{elif}\;z \leq 9.8 \cdot 10^{+219}:\\ \;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(b \cdot \left(t \cdot \left(x \cdot \frac{y}{t} - z\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 20: 31.3% accurate, 1.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\ t_2 := b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{if}\;y \leq -1.25 \cdot 10^{+152}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y \leq -4.4 \cdot 10^{+27}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq -1.25 \cdot 10^{-219}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;y \leq 4.7 \cdot 10^{-191}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;y \leq 6.8 \cdot 10^{-106}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq 8 \cdot 10^{-28}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y \leq 1.25 \cdot 10^{-14}:\\ \;\;\;\;c \cdot \left(y2 \cdot \left(x \cdot y0 - t \cdot y4\right)\right)\\ \mathbf{elif}\;y \leq 1.96 \cdot 10^{+74}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\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 (* y1 (* y4 (- (* k y2) (* j y3)))))
        (t_2 (* b (* y4 (- (* t j) (* y k))))))
   (if (<= y -1.25e+152)
     t_2
     (if (<= y -4.4e+27)
       t_1
       (if (<= y -1.25e-219)
         (* c (* t (- (* z i) (* y2 y4))))
         (if (<= y 4.7e-191)
           (* c (* y0 (- (* x y2) (* z y3))))
           (if (<= y 6.8e-106)
             t_1
             (if (<= y 8e-28)
               t_2
               (if (<= y 1.25e-14)
                 (* c (* y2 (- (* x y0) (* t y4))))
                 (if (<= y 1.96e+74)
                   (* t (* y2 (- (* a y5) (* c y4))))
                   (* x (* y (- (* a b) (* c i))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = y1 * (y4 * ((k * y2) - (j * y3)));
	double t_2 = b * (y4 * ((t * j) - (y * k)));
	double tmp;
	if (y <= -1.25e+152) {
		tmp = t_2;
	} else if (y <= -4.4e+27) {
		tmp = t_1;
	} else if (y <= -1.25e-219) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (y <= 4.7e-191) {
		tmp = c * (y0 * ((x * y2) - (z * y3)));
	} else if (y <= 6.8e-106) {
		tmp = t_1;
	} else if (y <= 8e-28) {
		tmp = t_2;
	} else if (y <= 1.25e-14) {
		tmp = c * (y2 * ((x * y0) - (t * y4)));
	} else if (y <= 1.96e+74) {
		tmp = t * (y2 * ((a * y5) - (c * y4)));
	} else {
		tmp = x * (y * ((a * b) - (c * i)));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = y1 * (y4 * ((k * y2) - (j * y3)))
    t_2 = b * (y4 * ((t * j) - (y * k)))
    if (y <= (-1.25d+152)) then
        tmp = t_2
    else if (y <= (-4.4d+27)) then
        tmp = t_1
    else if (y <= (-1.25d-219)) then
        tmp = c * (t * ((z * i) - (y2 * y4)))
    else if (y <= 4.7d-191) then
        tmp = c * (y0 * ((x * y2) - (z * y3)))
    else if (y <= 6.8d-106) then
        tmp = t_1
    else if (y <= 8d-28) then
        tmp = t_2
    else if (y <= 1.25d-14) then
        tmp = c * (y2 * ((x * y0) - (t * y4)))
    else if (y <= 1.96d+74) then
        tmp = t * (y2 * ((a * y5) - (c * y4)))
    else
        tmp = x * (y * ((a * b) - (c * i)))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = y1 * (y4 * ((k * y2) - (j * y3)));
	double t_2 = b * (y4 * ((t * j) - (y * k)));
	double tmp;
	if (y <= -1.25e+152) {
		tmp = t_2;
	} else if (y <= -4.4e+27) {
		tmp = t_1;
	} else if (y <= -1.25e-219) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (y <= 4.7e-191) {
		tmp = c * (y0 * ((x * y2) - (z * y3)));
	} else if (y <= 6.8e-106) {
		tmp = t_1;
	} else if (y <= 8e-28) {
		tmp = t_2;
	} else if (y <= 1.25e-14) {
		tmp = c * (y2 * ((x * y0) - (t * y4)));
	} else if (y <= 1.96e+74) {
		tmp = t * (y2 * ((a * y5) - (c * y4)));
	} else {
		tmp = x * (y * ((a * b) - (c * i)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = y1 * (y4 * ((k * y2) - (j * y3)))
	t_2 = b * (y4 * ((t * j) - (y * k)))
	tmp = 0
	if y <= -1.25e+152:
		tmp = t_2
	elif y <= -4.4e+27:
		tmp = t_1
	elif y <= -1.25e-219:
		tmp = c * (t * ((z * i) - (y2 * y4)))
	elif y <= 4.7e-191:
		tmp = c * (y0 * ((x * y2) - (z * y3)))
	elif y <= 6.8e-106:
		tmp = t_1
	elif y <= 8e-28:
		tmp = t_2
	elif y <= 1.25e-14:
		tmp = c * (y2 * ((x * y0) - (t * y4)))
	elif y <= 1.96e+74:
		tmp = t * (y2 * ((a * y5) - (c * y4)))
	else:
		tmp = x * (y * ((a * b) - (c * i)))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(y1 * Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3))))
	t_2 = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k))))
	tmp = 0.0
	if (y <= -1.25e+152)
		tmp = t_2;
	elseif (y <= -4.4e+27)
		tmp = t_1;
	elseif (y <= -1.25e-219)
		tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4))));
	elseif (y <= 4.7e-191)
		tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))));
	elseif (y <= 6.8e-106)
		tmp = t_1;
	elseif (y <= 8e-28)
		tmp = t_2;
	elseif (y <= 1.25e-14)
		tmp = Float64(c * Float64(y2 * Float64(Float64(x * y0) - Float64(t * y4))));
	elseif (y <= 1.96e+74)
		tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4))));
	else
		tmp = Float64(x * Float64(y * Float64(Float64(a * b) - Float64(c * i))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = y1 * (y4 * ((k * y2) - (j * y3)));
	t_2 = b * (y4 * ((t * j) - (y * k)));
	tmp = 0.0;
	if (y <= -1.25e+152)
		tmp = t_2;
	elseif (y <= -4.4e+27)
		tmp = t_1;
	elseif (y <= -1.25e-219)
		tmp = c * (t * ((z * i) - (y2 * y4)));
	elseif (y <= 4.7e-191)
		tmp = c * (y0 * ((x * y2) - (z * y3)));
	elseif (y <= 6.8e-106)
		tmp = t_1;
	elseif (y <= 8e-28)
		tmp = t_2;
	elseif (y <= 1.25e-14)
		tmp = c * (y2 * ((x * y0) - (t * y4)));
	elseif (y <= 1.96e+74)
		tmp = t * (y2 * ((a * y5) - (c * y4)));
	else
		tmp = x * (y * ((a * b) - (c * i)));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y1 * N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -1.25e+152], t$95$2, If[LessEqual[y, -4.4e+27], t$95$1, If[LessEqual[y, -1.25e-219], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 4.7e-191], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 6.8e-106], t$95$1, If[LessEqual[y, 8e-28], t$95$2, If[LessEqual[y, 1.25e-14], N[(c * N[(y2 * N[(N[(x * y0), $MachinePrecision] - N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.96e+74], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
t_2 := b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{if}\;y \leq -1.25 \cdot 10^{+152}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;y \leq -4.4 \cdot 10^{+27}:\\
\;\;\;\;t\_1\\

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

\mathbf{elif}\;y \leq 4.7 \cdot 10^{-191}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\

\mathbf{elif}\;y \leq 6.8 \cdot 10^{-106}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y \leq 8 \cdot 10^{-28}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;y \leq 1.25 \cdot 10^{-14}:\\
\;\;\;\;c \cdot \left(y2 \cdot \left(x \cdot y0 - t \cdot y4\right)\right)\\

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

\mathbf{else}:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if y < -1.25e152 or 6.79999999999999965e-106 < y < 7.99999999999999977e-28

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

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

    if -1.25e152 < y < -4.3999999999999997e27 or 4.6999999999999997e-191 < y < 6.79999999999999965e-106

    1. Initial program 20.7%

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

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

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

    if -4.3999999999999997e27 < y < -1.25e-219

    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 t around inf 44.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 c around inf 48.5%

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

    if -1.25e-219 < y < 4.6999999999999997e-191

    1. Initial program 30.1%

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

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

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

    if 7.99999999999999977e-28 < y < 1.25e-14

    1. Initial program 16.7%

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

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

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

    if 1.25e-14 < y < 1.96e74

    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 t around inf 39.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 53.1%

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

    if 1.96e74 < y

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -1.25 \cdot 10^{+152}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;y \leq -4.4 \cdot 10^{+27}:\\ \;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\ \mathbf{elif}\;y \leq -1.25 \cdot 10^{-219}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;y \leq 4.7 \cdot 10^{-191}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;y \leq 6.8 \cdot 10^{-106}:\\ \;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\ \mathbf{elif}\;y \leq 8 \cdot 10^{-28}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;y \leq 1.25 \cdot 10^{-14}:\\ \;\;\;\;c \cdot \left(y2 \cdot \left(x \cdot y0 - t \cdot y4\right)\right)\\ \mathbf{elif}\;y \leq 1.96 \cdot 10^{+74}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 21: 26.6% accurate, 2.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ t_2 := t \cdot \left(b \cdot \left(j \cdot y4\right)\right)\\ t_3 := c \cdot \left(\left(x \cdot y\right) \cdot \left(-i\right)\right)\\ \mathbf{if}\;j \leq -3.5 \cdot 10^{+149}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;j \leq -4.85 \cdot 10^{+70}:\\ \;\;\;\;t \cdot \left(i \cdot \left(j \cdot \left(-y5\right)\right)\right)\\ \mathbf{elif}\;j \leq -1.75 \cdot 10^{+51}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;j \leq -2 \cdot 10^{-239}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;j \leq 5.6 \cdot 10^{-260}:\\ \;\;\;\;z \cdot \left(\left(i \cdot k\right) \cdot \left(-y1\right)\right)\\ \mathbf{elif}\;j \leq 2.95 \cdot 10^{-92}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;j \leq 1.7 \cdot 10^{+156}:\\ \;\;\;\;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 (* a (* b (- (* x y) (* z t)))))
        (t_2 (* t (* b (* j y4))))
        (t_3 (* c (* (* x y) (- i)))))
   (if (<= j -3.5e+149)
     t_2
     (if (<= j -4.85e+70)
       (* t (* i (* j (- y5))))
       (if (<= j -1.75e+51)
         t_3
         (if (<= j -2e-239)
           t_1
           (if (<= j 5.6e-260)
             (* z (* (* i k) (- y1)))
             (if (<= j 2.95e-92) t_3 (if (<= j 1.7e+156) t_1 t_2)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = a * (b * ((x * y) - (z * t)));
	double t_2 = t * (b * (j * y4));
	double t_3 = c * ((x * y) * -i);
	double tmp;
	if (j <= -3.5e+149) {
		tmp = t_2;
	} else if (j <= -4.85e+70) {
		tmp = t * (i * (j * -y5));
	} else if (j <= -1.75e+51) {
		tmp = t_3;
	} else if (j <= -2e-239) {
		tmp = t_1;
	} else if (j <= 5.6e-260) {
		tmp = z * ((i * k) * -y1);
	} else if (j <= 2.95e-92) {
		tmp = t_3;
	} else if (j <= 1.7e+156) {
		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 = a * (b * ((x * y) - (z * t)))
    t_2 = t * (b * (j * y4))
    t_3 = c * ((x * y) * -i)
    if (j <= (-3.5d+149)) then
        tmp = t_2
    else if (j <= (-4.85d+70)) then
        tmp = t * (i * (j * -y5))
    else if (j <= (-1.75d+51)) then
        tmp = t_3
    else if (j <= (-2d-239)) then
        tmp = t_1
    else if (j <= 5.6d-260) then
        tmp = z * ((i * k) * -y1)
    else if (j <= 2.95d-92) then
        tmp = t_3
    else if (j <= 1.7d+156) then
        tmp = t_1
    else
        tmp = t_2
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = a * (b * ((x * y) - (z * t)));
	double t_2 = t * (b * (j * y4));
	double t_3 = c * ((x * y) * -i);
	double tmp;
	if (j <= -3.5e+149) {
		tmp = t_2;
	} else if (j <= -4.85e+70) {
		tmp = t * (i * (j * -y5));
	} else if (j <= -1.75e+51) {
		tmp = t_3;
	} else if (j <= -2e-239) {
		tmp = t_1;
	} else if (j <= 5.6e-260) {
		tmp = z * ((i * k) * -y1);
	} else if (j <= 2.95e-92) {
		tmp = t_3;
	} else if (j <= 1.7e+156) {
		tmp = t_1;
	} else {
		tmp = t_2;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = a * (b * ((x * y) - (z * t)))
	t_2 = t * (b * (j * y4))
	t_3 = c * ((x * y) * -i)
	tmp = 0
	if j <= -3.5e+149:
		tmp = t_2
	elif j <= -4.85e+70:
		tmp = t * (i * (j * -y5))
	elif j <= -1.75e+51:
		tmp = t_3
	elif j <= -2e-239:
		tmp = t_1
	elif j <= 5.6e-260:
		tmp = z * ((i * k) * -y1)
	elif j <= 2.95e-92:
		tmp = t_3
	elif j <= 1.7e+156:
		tmp = t_1
	else:
		tmp = t_2
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t))))
	t_2 = Float64(t * Float64(b * Float64(j * y4)))
	t_3 = Float64(c * Float64(Float64(x * y) * Float64(-i)))
	tmp = 0.0
	if (j <= -3.5e+149)
		tmp = t_2;
	elseif (j <= -4.85e+70)
		tmp = Float64(t * Float64(i * Float64(j * Float64(-y5))));
	elseif (j <= -1.75e+51)
		tmp = t_3;
	elseif (j <= -2e-239)
		tmp = t_1;
	elseif (j <= 5.6e-260)
		tmp = Float64(z * Float64(Float64(i * k) * Float64(-y1)));
	elseif (j <= 2.95e-92)
		tmp = t_3;
	elseif (j <= 1.7e+156)
		tmp = t_1;
	else
		tmp = t_2;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = a * (b * ((x * y) - (z * t)));
	t_2 = t * (b * (j * y4));
	t_3 = c * ((x * y) * -i);
	tmp = 0.0;
	if (j <= -3.5e+149)
		tmp = t_2;
	elseif (j <= -4.85e+70)
		tmp = t * (i * (j * -y5));
	elseif (j <= -1.75e+51)
		tmp = t_3;
	elseif (j <= -2e-239)
		tmp = t_1;
	elseif (j <= 5.6e-260)
		tmp = z * ((i * k) * -y1);
	elseif (j <= 2.95e-92)
		tmp = t_3;
	elseif (j <= 1.7e+156)
		tmp = t_1;
	else
		tmp = t_2;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(t * N[(b * N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(c * N[(N[(x * y), $MachinePrecision] * (-i)), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -3.5e+149], t$95$2, If[LessEqual[j, -4.85e+70], N[(t * N[(i * N[(j * (-y5)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -1.75e+51], t$95$3, If[LessEqual[j, -2e-239], t$95$1, If[LessEqual[j, 5.6e-260], N[(z * N[(N[(i * k), $MachinePrecision] * (-y1)), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 2.95e-92], t$95$3, If[LessEqual[j, 1.7e+156], t$95$1, t$95$2]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
t_2 := t \cdot \left(b \cdot \left(j \cdot y4\right)\right)\\
t_3 := c \cdot \left(\left(x \cdot y\right) \cdot \left(-i\right)\right)\\
\mathbf{if}\;j \leq -3.5 \cdot 10^{+149}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;j \leq -4.85 \cdot 10^{+70}:\\
\;\;\;\;t \cdot \left(i \cdot \left(j \cdot \left(-y5\right)\right)\right)\\

\mathbf{elif}\;j \leq -1.75 \cdot 10^{+51}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;j \leq -2 \cdot 10^{-239}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;j \leq 5.6 \cdot 10^{-260}:\\
\;\;\;\;z \cdot \left(\left(i \cdot k\right) \cdot \left(-y1\right)\right)\\

\mathbf{elif}\;j \leq 2.95 \cdot 10^{-92}:\\
\;\;\;\;t\_3\\

\mathbf{elif}\;j \leq 1.7 \cdot 10^{+156}:\\
\;\;\;\;t\_1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if j < -3.50000000000000011e149 or 1.7e156 < j

    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 t around inf 50.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 0 56.6%

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

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

        \[\leadsto t \cdot \left(b \cdot \color{blue}{\left(y4 \cdot j\right)}\right) \]
    7. Simplified50.6%

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

    if -3.50000000000000011e149 < j < -4.85000000000000001e70

    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 50.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 0 44.7%

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

      \[\leadsto t \cdot \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y5\right)\right)\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg45.1%

        \[\leadsto t \cdot \color{blue}{\left(-i \cdot \left(j \cdot y5\right)\right)} \]
      2. *-commutative45.1%

        \[\leadsto t \cdot \left(-\color{blue}{\left(j \cdot y5\right) \cdot i}\right) \]
      3. distribute-rgt-neg-in45.1%

        \[\leadsto t \cdot \color{blue}{\left(\left(j \cdot y5\right) \cdot \left(-i\right)\right)} \]
      4. *-commutative45.1%

        \[\leadsto t \cdot \left(\color{blue}{\left(y5 \cdot j\right)} \cdot \left(-i\right)\right) \]
    7. Simplified45.1%

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

    if -4.85000000000000001e70 < j < -1.75e51 or 5.5999999999999996e-260 < j < 2.95e-92

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

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

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

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

        \[\leadsto \color{blue}{\left(-1 \cdot c\right) \cdot \left(i \cdot \left(x \cdot y\right)\right)} \]
      2. neg-mul-138.2%

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

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

    if -1.75e51 < j < -2.0000000000000002e-239 or 2.95e-92 < j < 1.7e156

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

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

    if -2.0000000000000002e-239 < j < 5.5999999999999996e-260

    1. Initial program 35.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 56.0%

      \[\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 31.7%

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

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

      \[\leadsto -1 \cdot \color{blue}{\left(\left(i \cdot y1\right) \cdot \left(k \cdot z - j \cdot x\right)\right)} \]
    7. Taylor expanded in k around inf 31.5%

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

        \[\leadsto -1 \cdot \color{blue}{\left(\left(i \cdot k\right) \cdot \left(y1 \cdot z\right)\right)} \]
      2. associate-*r*51.1%

        \[\leadsto -1 \cdot \color{blue}{\left(\left(\left(i \cdot k\right) \cdot y1\right) \cdot z\right)} \]
    9. Simplified51.1%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -3.5 \cdot 10^{+149}:\\ \;\;\;\;t \cdot \left(b \cdot \left(j \cdot y4\right)\right)\\ \mathbf{elif}\;j \leq -4.85 \cdot 10^{+70}:\\ \;\;\;\;t \cdot \left(i \cdot \left(j \cdot \left(-y5\right)\right)\right)\\ \mathbf{elif}\;j \leq -1.75 \cdot 10^{+51}:\\ \;\;\;\;c \cdot \left(\left(x \cdot y\right) \cdot \left(-i\right)\right)\\ \mathbf{elif}\;j \leq -2 \cdot 10^{-239}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;j \leq 5.6 \cdot 10^{-260}:\\ \;\;\;\;z \cdot \left(\left(i \cdot k\right) \cdot \left(-y1\right)\right)\\ \mathbf{elif}\;j \leq 2.95 \cdot 10^{-92}:\\ \;\;\;\;c \cdot \left(\left(x \cdot y\right) \cdot \left(-i\right)\right)\\ \mathbf{elif}\;j \leq 1.7 \cdot 10^{+156}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(b \cdot \left(j \cdot y4\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 22: 30.3% accurate, 2.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{if}\;b \leq -3.1 \cdot 10^{+159}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;b \leq -600:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;b \leq 3.4 \cdot 10^{-237}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq 1.8 \cdot 10^{-95}:\\ \;\;\;\;z \cdot \left(\left(i \cdot k\right) \cdot \left(-y1\right)\right)\\ \mathbf{elif}\;b \leq 2 \cdot 10^{-15}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq 4.2 \cdot 10^{+254}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;b \leq 1.7 \cdot 10^{+292}:\\ \;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* c (* t (- (* z i) (* y2 y4))))))
   (if (<= b -3.1e+159)
     (* a (* b (- (* x y) (* z t))))
     (if (<= b -600.0)
       (* c (* y0 (- (* x y2) (* z y3))))
       (if (<= b 3.4e-237)
         t_1
         (if (<= b 1.8e-95)
           (* z (* (* i k) (- y1)))
           (if (<= b 2e-15)
             t_1
             (if (<= b 4.2e+254)
               (* b (* y4 (- (* t j) (* y k))))
               (if (<= b 1.7e+292)
                 (* b (* y0 (- (* z k) (* x j))))
                 (* b (* j (* t y4))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = c * (t * ((z * i) - (y2 * y4)));
	double tmp;
	if (b <= -3.1e+159) {
		tmp = a * (b * ((x * y) - (z * t)));
	} else if (b <= -600.0) {
		tmp = c * (y0 * ((x * y2) - (z * y3)));
	} else if (b <= 3.4e-237) {
		tmp = t_1;
	} else if (b <= 1.8e-95) {
		tmp = z * ((i * k) * -y1);
	} else if (b <= 2e-15) {
		tmp = t_1;
	} else if (b <= 4.2e+254) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} else if (b <= 1.7e+292) {
		tmp = b * (y0 * ((z * k) - (x * j)));
	} else {
		tmp = b * (j * (t * y4));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = c * (t * ((z * i) - (y2 * y4)))
    if (b <= (-3.1d+159)) then
        tmp = a * (b * ((x * y) - (z * t)))
    else if (b <= (-600.0d0)) then
        tmp = c * (y0 * ((x * y2) - (z * y3)))
    else if (b <= 3.4d-237) then
        tmp = t_1
    else if (b <= 1.8d-95) then
        tmp = z * ((i * k) * -y1)
    else if (b <= 2d-15) then
        tmp = t_1
    else if (b <= 4.2d+254) then
        tmp = b * (y4 * ((t * j) - (y * k)))
    else if (b <= 1.7d+292) then
        tmp = b * (y0 * ((z * k) - (x * j)))
    else
        tmp = b * (j * (t * y4))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = c * (t * ((z * i) - (y2 * y4)));
	double tmp;
	if (b <= -3.1e+159) {
		tmp = a * (b * ((x * y) - (z * t)));
	} else if (b <= -600.0) {
		tmp = c * (y0 * ((x * y2) - (z * y3)));
	} else if (b <= 3.4e-237) {
		tmp = t_1;
	} else if (b <= 1.8e-95) {
		tmp = z * ((i * k) * -y1);
	} else if (b <= 2e-15) {
		tmp = t_1;
	} else if (b <= 4.2e+254) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} else if (b <= 1.7e+292) {
		tmp = b * (y0 * ((z * k) - (x * j)));
	} else {
		tmp = b * (j * (t * y4));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = c * (t * ((z * i) - (y2 * y4)))
	tmp = 0
	if b <= -3.1e+159:
		tmp = a * (b * ((x * y) - (z * t)))
	elif b <= -600.0:
		tmp = c * (y0 * ((x * y2) - (z * y3)))
	elif b <= 3.4e-237:
		tmp = t_1
	elif b <= 1.8e-95:
		tmp = z * ((i * k) * -y1)
	elif b <= 2e-15:
		tmp = t_1
	elif b <= 4.2e+254:
		tmp = b * (y4 * ((t * j) - (y * k)))
	elif b <= 1.7e+292:
		tmp = b * (y0 * ((z * k) - (x * j)))
	else:
		tmp = b * (j * (t * y4))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4))))
	tmp = 0.0
	if (b <= -3.1e+159)
		tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t))));
	elseif (b <= -600.0)
		tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))));
	elseif (b <= 3.4e-237)
		tmp = t_1;
	elseif (b <= 1.8e-95)
		tmp = Float64(z * Float64(Float64(i * k) * Float64(-y1)));
	elseif (b <= 2e-15)
		tmp = t_1;
	elseif (b <= 4.2e+254)
		tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k))));
	elseif (b <= 1.7e+292)
		tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j))));
	else
		tmp = Float64(b * Float64(j * Float64(t * y4)));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = c * (t * ((z * i) - (y2 * y4)));
	tmp = 0.0;
	if (b <= -3.1e+159)
		tmp = a * (b * ((x * y) - (z * t)));
	elseif (b <= -600.0)
		tmp = c * (y0 * ((x * y2) - (z * y3)));
	elseif (b <= 3.4e-237)
		tmp = t_1;
	elseif (b <= 1.8e-95)
		tmp = z * ((i * k) * -y1);
	elseif (b <= 2e-15)
		tmp = t_1;
	elseif (b <= 4.2e+254)
		tmp = b * (y4 * ((t * j) - (y * k)));
	elseif (b <= 1.7e+292)
		tmp = b * (y0 * ((z * k) - (x * j)));
	else
		tmp = b * (j * (t * y4));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -3.1e+159], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -600.0], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 3.4e-237], t$95$1, If[LessEqual[b, 1.8e-95], N[(z * N[(N[(i * k), $MachinePrecision] * (-y1)), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 2e-15], t$95$1, If[LessEqual[b, 4.2e+254], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.7e+292], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(j * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\mathbf{if}\;b \leq -3.1 \cdot 10^{+159}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\

\mathbf{elif}\;b \leq -600:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\

\mathbf{elif}\;b \leq 3.4 \cdot 10^{-237}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;b \leq 1.8 \cdot 10^{-95}:\\
\;\;\;\;z \cdot \left(\left(i \cdot k\right) \cdot \left(-y1\right)\right)\\

\mathbf{elif}\;b \leq 2 \cdot 10^{-15}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;b \leq 4.2 \cdot 10^{+254}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\

\mathbf{elif}\;b \leq 1.7 \cdot 10^{+292}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if b < -3.0999999999999998e159

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

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

    if -3.0999999999999998e159 < b < -600

    1. Initial program 21.7%

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

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

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

    if -600 < b < 3.4000000000000002e-237 or 1.8e-95 < b < 2.0000000000000002e-15

    1. Initial program 29.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 44.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 c around inf 42.1%

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

    if 3.4000000000000002e-237 < b < 1.8e-95

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

      \[\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 34.3%

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

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

      \[\leadsto -1 \cdot \color{blue}{\left(\left(i \cdot y1\right) \cdot \left(k \cdot z - j \cdot x\right)\right)} \]
    7. Taylor expanded in k around inf 29.8%

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

        \[\leadsto -1 \cdot \color{blue}{\left(\left(i \cdot k\right) \cdot \left(y1 \cdot z\right)\right)} \]
      2. associate-*r*34.9%

        \[\leadsto -1 \cdot \color{blue}{\left(\left(\left(i \cdot k\right) \cdot y1\right) \cdot z\right)} \]
    9. Simplified34.9%

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

    if 2.0000000000000002e-15 < b < 4.2e254

    1. Initial program 20.6%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 45.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 y4 around inf 47.5%

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

    if 4.2e254 < b < 1.7000000000000001e292

    1. Initial program 58.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 75.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 y0 around inf 59.6%

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

    if 1.7000000000000001e292 < b

    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 75.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 0 100.0%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg100.0%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*100.0%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified100.0%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in y4 around inf 75.4%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -3.1 \cdot 10^{+159}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;b \leq -600:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;b \leq 3.4 \cdot 10^{-237}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;b \leq 1.8 \cdot 10^{-95}:\\ \;\;\;\;z \cdot \left(\left(i \cdot k\right) \cdot \left(-y1\right)\right)\\ \mathbf{elif}\;b \leq 2 \cdot 10^{-15}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;b \leq 4.2 \cdot 10^{+254}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;b \leq 1.7 \cdot 10^{+292}:\\ \;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 23: 31.5% accurate, 2.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ t_2 := c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{if}\;y4 \leq -7.5 \cdot 10^{+38}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y4 \leq -3.3 \cdot 10^{-161}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y4 \leq -1.6 \cdot 10^{-232}:\\ \;\;\;\;t \cdot \left(i \cdot \left(j \cdot \left(-y5\right)\right)\right)\\ \mathbf{elif}\;y4 \leq 7 \cdot 10^{-279}:\\ \;\;\;\;\left(z \cdot k\right) \cdot \left(i \cdot \left(-y1\right)\right)\\ \mathbf{elif}\;y4 \leq 8.6 \cdot 10^{-188}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;y4 \leq 2.6 \cdot 10^{-60}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y4 \leq 10^{+38}:\\ \;\;\;\;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 (* c (* y0 (- (* x y2) (* z y3)))))
        (t_2 (* c (* y4 (- (* y y3) (* t y2))))))
   (if (<= y4 -7.5e+38)
     t_2
     (if (<= y4 -3.3e-161)
       t_1
       (if (<= y4 -1.6e-232)
         (* t (* i (* j (- y5))))
         (if (<= y4 7e-279)
           (* (* z k) (* i (- y1)))
           (if (<= y4 8.6e-188)
             (* c (* t (- (* z i) (* y2 y4))))
             (if (<= y4 2.6e-60)
               (* a (* b (- (* x y) (* z t))))
               (if (<= y4 1e+38) 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 = c * (y0 * ((x * y2) - (z * y3)));
	double t_2 = c * (y4 * ((y * y3) - (t * y2)));
	double tmp;
	if (y4 <= -7.5e+38) {
		tmp = t_2;
	} else if (y4 <= -3.3e-161) {
		tmp = t_1;
	} else if (y4 <= -1.6e-232) {
		tmp = t * (i * (j * -y5));
	} else if (y4 <= 7e-279) {
		tmp = (z * k) * (i * -y1);
	} else if (y4 <= 8.6e-188) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (y4 <= 2.6e-60) {
		tmp = a * (b * ((x * y) - (z * t)));
	} else if (y4 <= 1e+38) {
		tmp = t_1;
	} else {
		tmp = t_2;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = c * (y0 * ((x * y2) - (z * y3)))
    t_2 = c * (y4 * ((y * y3) - (t * y2)))
    if (y4 <= (-7.5d+38)) then
        tmp = t_2
    else if (y4 <= (-3.3d-161)) then
        tmp = t_1
    else if (y4 <= (-1.6d-232)) then
        tmp = t * (i * (j * -y5))
    else if (y4 <= 7d-279) then
        tmp = (z * k) * (i * -y1)
    else if (y4 <= 8.6d-188) then
        tmp = c * (t * ((z * i) - (y2 * y4)))
    else if (y4 <= 2.6d-60) then
        tmp = a * (b * ((x * y) - (z * t)))
    else if (y4 <= 1d+38) 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 = c * (y0 * ((x * y2) - (z * y3)));
	double t_2 = c * (y4 * ((y * y3) - (t * y2)));
	double tmp;
	if (y4 <= -7.5e+38) {
		tmp = t_2;
	} else if (y4 <= -3.3e-161) {
		tmp = t_1;
	} else if (y4 <= -1.6e-232) {
		tmp = t * (i * (j * -y5));
	} else if (y4 <= 7e-279) {
		tmp = (z * k) * (i * -y1);
	} else if (y4 <= 8.6e-188) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (y4 <= 2.6e-60) {
		tmp = a * (b * ((x * y) - (z * t)));
	} else if (y4 <= 1e+38) {
		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 = c * (y0 * ((x * y2) - (z * y3)))
	t_2 = c * (y4 * ((y * y3) - (t * y2)))
	tmp = 0
	if y4 <= -7.5e+38:
		tmp = t_2
	elif y4 <= -3.3e-161:
		tmp = t_1
	elif y4 <= -1.6e-232:
		tmp = t * (i * (j * -y5))
	elif y4 <= 7e-279:
		tmp = (z * k) * (i * -y1)
	elif y4 <= 8.6e-188:
		tmp = c * (t * ((z * i) - (y2 * y4)))
	elif y4 <= 2.6e-60:
		tmp = a * (b * ((x * y) - (z * t)))
	elif y4 <= 1e+38:
		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(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))))
	t_2 = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2))))
	tmp = 0.0
	if (y4 <= -7.5e+38)
		tmp = t_2;
	elseif (y4 <= -3.3e-161)
		tmp = t_1;
	elseif (y4 <= -1.6e-232)
		tmp = Float64(t * Float64(i * Float64(j * Float64(-y5))));
	elseif (y4 <= 7e-279)
		tmp = Float64(Float64(z * k) * Float64(i * Float64(-y1)));
	elseif (y4 <= 8.6e-188)
		tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4))));
	elseif (y4 <= 2.6e-60)
		tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t))));
	elseif (y4 <= 1e+38)
		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 = c * (y0 * ((x * y2) - (z * y3)));
	t_2 = c * (y4 * ((y * y3) - (t * y2)));
	tmp = 0.0;
	if (y4 <= -7.5e+38)
		tmp = t_2;
	elseif (y4 <= -3.3e-161)
		tmp = t_1;
	elseif (y4 <= -1.6e-232)
		tmp = t * (i * (j * -y5));
	elseif (y4 <= 7e-279)
		tmp = (z * k) * (i * -y1);
	elseif (y4 <= 8.6e-188)
		tmp = c * (t * ((z * i) - (y2 * y4)));
	elseif (y4 <= 2.6e-60)
		tmp = a * (b * ((x * y) - (z * t)));
	elseif (y4 <= 1e+38)
		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[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -7.5e+38], t$95$2, If[LessEqual[y4, -3.3e-161], t$95$1, If[LessEqual[y4, -1.6e-232], N[(t * N[(i * N[(j * (-y5)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 7e-279], N[(N[(z * k), $MachinePrecision] * N[(i * (-y1)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 8.6e-188], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 2.6e-60], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 1e+38], t$95$1, t$95$2]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
t_2 := c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{if}\;y4 \leq -7.5 \cdot 10^{+38}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;y4 \leq -3.3 \cdot 10^{-161}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y4 \leq -1.6 \cdot 10^{-232}:\\
\;\;\;\;t \cdot \left(i \cdot \left(j \cdot \left(-y5\right)\right)\right)\\

\mathbf{elif}\;y4 \leq 7 \cdot 10^{-279}:\\
\;\;\;\;\left(z \cdot k\right) \cdot \left(i \cdot \left(-y1\right)\right)\\

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

\mathbf{elif}\;y4 \leq 2.6 \cdot 10^{-60}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\

\mathbf{elif}\;y4 \leq 10^{+38}:\\
\;\;\;\;t\_1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if y4 < -7.4999999999999999e38 or 9.99999999999999977e37 < y4

    1. Initial program 18.0%

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

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

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

    if -7.4999999999999999e38 < y4 < -3.2999999999999998e-161 or 2.5999999999999998e-60 < y4 < 9.99999999999999977e37

    1. Initial program 24.4%

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

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

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

    if -3.2999999999999998e-161 < y4 < -1.59999999999999993e-232

    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 50.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 0 44.8%

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

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

        \[\leadsto t \cdot \color{blue}{\left(-i \cdot \left(j \cdot y5\right)\right)} \]
      2. *-commutative45.0%

        \[\leadsto t \cdot \left(-\color{blue}{\left(j \cdot y5\right) \cdot i}\right) \]
      3. distribute-rgt-neg-in45.0%

        \[\leadsto t \cdot \color{blue}{\left(\left(j \cdot y5\right) \cdot \left(-i\right)\right)} \]
      4. *-commutative45.0%

        \[\leadsto t \cdot \left(\color{blue}{\left(y5 \cdot j\right)} \cdot \left(-i\right)\right) \]
    7. Simplified45.0%

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

    if -1.59999999999999993e-232 < y4 < 7.00000000000000019e-279

    1. Initial program 33.6%

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

      \[\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 40.7%

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

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

      \[\leadsto -1 \cdot \color{blue}{\left(\left(i \cdot y1\right) \cdot \left(k \cdot z - j \cdot x\right)\right)} \]
    7. Taylor expanded in k around inf 35.0%

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

    if 7.00000000000000019e-279 < y4 < 8.59999999999999975e-188

    1. Initial program 28.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 77.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 45.3%

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

    if 8.59999999999999975e-188 < y4 < 2.5999999999999998e-60

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y4 \leq -7.5 \cdot 10^{+38}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;y4 \leq -3.3 \cdot 10^{-161}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;y4 \leq -1.6 \cdot 10^{-232}:\\ \;\;\;\;t \cdot \left(i \cdot \left(j \cdot \left(-y5\right)\right)\right)\\ \mathbf{elif}\;y4 \leq 7 \cdot 10^{-279}:\\ \;\;\;\;\left(z \cdot k\right) \cdot \left(i \cdot \left(-y1\right)\right)\\ \mathbf{elif}\;y4 \leq 8.6 \cdot 10^{-188}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;y4 \leq 2.6 \cdot 10^{-60}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;y4 \leq 10^{+38}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 24: 31.1% accurate, 2.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(y \cdot \left(y3 \cdot y4 - x \cdot i\right)\right)\\ \mathbf{if}\;y \leq -2.9 \cdot 10^{+158}:\\ \;\;\;\;i \cdot \left(y5 \cdot \left(y \cdot k - t \cdot j\right)\right)\\ \mathbf{elif}\;y \leq -3.7 \cdot 10^{+142}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\ \mathbf{elif}\;y \leq -8.8 \cdot 10^{+73}:\\ \;\;\;\;t \cdot \left(y5 \cdot \left(a \cdot y2 - i \cdot j\right)\right)\\ \mathbf{elif}\;y \leq -6 \cdot 10^{+27}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq -1 \cdot 10^{-221}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;y \leq -1.5 \cdot 10^{-277}:\\ \;\;\;\;\left(t \cdot b\right) \cdot \left(j \cdot y4 - z \cdot a\right)\\ \mathbf{elif}\;y \leq 4 \cdot 10^{+74}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \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 (* c (* y (- (* y3 y4) (* x i))))))
   (if (<= y -2.9e+158)
     (* i (* y5 (- (* y k) (* t j))))
     (if (<= y -3.7e+142)
       (* y (* y3 (- (* c y4) (* a y5))))
       (if (<= y -8.8e+73)
         (* t (* y5 (- (* a y2) (* i j))))
         (if (<= y -6e+27)
           t_1
           (if (<= y -1e-221)
             (* c (* t (- (* z i) (* y2 y4))))
             (if (<= y -1.5e-277)
               (* (* t b) (- (* j y4) (* z a)))
               (if (<= y 4e+74) (* t (* y2 (- (* a y5) (* c 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 = c * (y * ((y3 * y4) - (x * i)));
	double tmp;
	if (y <= -2.9e+158) {
		tmp = i * (y5 * ((y * k) - (t * j)));
	} else if (y <= -3.7e+142) {
		tmp = y * (y3 * ((c * y4) - (a * y5)));
	} else if (y <= -8.8e+73) {
		tmp = t * (y5 * ((a * y2) - (i * j)));
	} else if (y <= -6e+27) {
		tmp = t_1;
	} else if (y <= -1e-221) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (y <= -1.5e-277) {
		tmp = (t * b) * ((j * y4) - (z * a));
	} else if (y <= 4e+74) {
		tmp = t * (y2 * ((a * y5) - (c * 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 = c * (y * ((y3 * y4) - (x * i)))
    if (y <= (-2.9d+158)) then
        tmp = i * (y5 * ((y * k) - (t * j)))
    else if (y <= (-3.7d+142)) then
        tmp = y * (y3 * ((c * y4) - (a * y5)))
    else if (y <= (-8.8d+73)) then
        tmp = t * (y5 * ((a * y2) - (i * j)))
    else if (y <= (-6d+27)) then
        tmp = t_1
    else if (y <= (-1d-221)) then
        tmp = c * (t * ((z * i) - (y2 * y4)))
    else if (y <= (-1.5d-277)) then
        tmp = (t * b) * ((j * y4) - (z * a))
    else if (y <= 4d+74) then
        tmp = t * (y2 * ((a * y5) - (c * 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 = c * (y * ((y3 * y4) - (x * i)));
	double tmp;
	if (y <= -2.9e+158) {
		tmp = i * (y5 * ((y * k) - (t * j)));
	} else if (y <= -3.7e+142) {
		tmp = y * (y3 * ((c * y4) - (a * y5)));
	} else if (y <= -8.8e+73) {
		tmp = t * (y5 * ((a * y2) - (i * j)));
	} else if (y <= -6e+27) {
		tmp = t_1;
	} else if (y <= -1e-221) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (y <= -1.5e-277) {
		tmp = (t * b) * ((j * y4) - (z * a));
	} else if (y <= 4e+74) {
		tmp = t * (y2 * ((a * y5) - (c * 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 = c * (y * ((y3 * y4) - (x * i)))
	tmp = 0
	if y <= -2.9e+158:
		tmp = i * (y5 * ((y * k) - (t * j)))
	elif y <= -3.7e+142:
		tmp = y * (y3 * ((c * y4) - (a * y5)))
	elif y <= -8.8e+73:
		tmp = t * (y5 * ((a * y2) - (i * j)))
	elif y <= -6e+27:
		tmp = t_1
	elif y <= -1e-221:
		tmp = c * (t * ((z * i) - (y2 * y4)))
	elif y <= -1.5e-277:
		tmp = (t * b) * ((j * y4) - (z * a))
	elif y <= 4e+74:
		tmp = t * (y2 * ((a * y5) - (c * 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(c * Float64(y * Float64(Float64(y3 * y4) - Float64(x * i))))
	tmp = 0.0
	if (y <= -2.9e+158)
		tmp = Float64(i * Float64(y5 * Float64(Float64(y * k) - Float64(t * j))));
	elseif (y <= -3.7e+142)
		tmp = Float64(y * Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5))));
	elseif (y <= -8.8e+73)
		tmp = Float64(t * Float64(y5 * Float64(Float64(a * y2) - Float64(i * j))));
	elseif (y <= -6e+27)
		tmp = t_1;
	elseif (y <= -1e-221)
		tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4))));
	elseif (y <= -1.5e-277)
		tmp = Float64(Float64(t * b) * Float64(Float64(j * y4) - Float64(z * a)));
	elseif (y <= 4e+74)
		tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * 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 = c * (y * ((y3 * y4) - (x * i)));
	tmp = 0.0;
	if (y <= -2.9e+158)
		tmp = i * (y5 * ((y * k) - (t * j)));
	elseif (y <= -3.7e+142)
		tmp = y * (y3 * ((c * y4) - (a * y5)));
	elseif (y <= -8.8e+73)
		tmp = t * (y5 * ((a * y2) - (i * j)));
	elseif (y <= -6e+27)
		tmp = t_1;
	elseif (y <= -1e-221)
		tmp = c * (t * ((z * i) - (y2 * y4)));
	elseif (y <= -1.5e-277)
		tmp = (t * b) * ((j * y4) - (z * a));
	elseif (y <= 4e+74)
		tmp = t * (y2 * ((a * y5) - (c * 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[(c * N[(y * N[(N[(y3 * y4), $MachinePrecision] - N[(x * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -2.9e+158], N[(i * N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -3.7e+142], N[(y * N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -8.8e+73], N[(t * N[(y5 * N[(N[(a * y2), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -6e+27], t$95$1, If[LessEqual[y, -1e-221], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -1.5e-277], N[(N[(t * b), $MachinePrecision] * N[(N[(j * y4), $MachinePrecision] - N[(z * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 4e+74], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := c \cdot \left(y \cdot \left(y3 \cdot y4 - x \cdot i\right)\right)\\
\mathbf{if}\;y \leq -2.9 \cdot 10^{+158}:\\
\;\;\;\;i \cdot \left(y5 \cdot \left(y \cdot k - t \cdot j\right)\right)\\

\mathbf{elif}\;y \leq -3.7 \cdot 10^{+142}:\\
\;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\

\mathbf{elif}\;y \leq -8.8 \cdot 10^{+73}:\\
\;\;\;\;t \cdot \left(y5 \cdot \left(a \cdot y2 - i \cdot j\right)\right)\\

\mathbf{elif}\;y \leq -6 \cdot 10^{+27}:\\
\;\;\;\;t\_1\\

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

\mathbf{elif}\;y \leq -1.5 \cdot 10^{-277}:\\
\;\;\;\;\left(t \cdot b\right) \cdot \left(j \cdot y4 - z \cdot a\right)\\

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if y < -2.90000000000000024e158

    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 i around -inf 58.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 y5 around inf 67.2%

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

    if -2.90000000000000024e158 < y < -3.6999999999999997e142

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

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

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

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

    if -3.6999999999999997e142 < y < -8.8e73

    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 57.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 50.8%

      \[\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-neg50.8%

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

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

    if -8.8e73 < y < -5.99999999999999953e27 or 3.99999999999999981e74 < y

    1. Initial program 20.7%

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

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

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

        \[\leadsto c \cdot \color{blue}{\left(\left(-1 \cdot y\right) \cdot \left(i \cdot x - y3 \cdot y4\right)\right)} \]
      2. neg-mul-156.5%

        \[\leadsto c \cdot \left(\color{blue}{\left(-y\right)} \cdot \left(i \cdot x - y3 \cdot y4\right)\right) \]
    6. Simplified56.5%

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

    if -5.99999999999999953e27 < y < -1.00000000000000002e-221

    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 t around inf 44.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 c around inf 48.5%

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

    if -1.00000000000000002e-221 < y < -1.49999999999999989e-277

    1. Initial program 27.1%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in t around inf 64.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 c around 0 55.6%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg55.6%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*64.4%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified64.4%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in b around inf 56.3%

      \[\leadsto \color{blue}{b \cdot \left(t \cdot \left(-1 \cdot \left(a \cdot z\right) + j \cdot y4\right)\right)} \]
    8. Step-by-step derivation
      1. associate-*r*56.3%

        \[\leadsto \color{blue}{\left(b \cdot t\right) \cdot \left(-1 \cdot \left(a \cdot z\right) + j \cdot y4\right)} \]
      2. *-commutative56.3%

        \[\leadsto \color{blue}{\left(t \cdot b\right)} \cdot \left(-1 \cdot \left(a \cdot z\right) + j \cdot y4\right) \]
      3. +-commutative56.3%

        \[\leadsto \left(t \cdot b\right) \cdot \color{blue}{\left(j \cdot y4 + -1 \cdot \left(a \cdot z\right)\right)} \]
      4. mul-1-neg56.3%

        \[\leadsto \left(t \cdot b\right) \cdot \left(j \cdot y4 + \color{blue}{\left(-a \cdot z\right)}\right) \]
      5. unsub-neg56.3%

        \[\leadsto \left(t \cdot b\right) \cdot \color{blue}{\left(j \cdot y4 - a \cdot z\right)} \]
      6. *-commutative56.3%

        \[\leadsto \left(t \cdot b\right) \cdot \left(j \cdot y4 - \color{blue}{z \cdot a}\right) \]
    9. Simplified56.3%

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

    if -1.49999999999999989e-277 < y < 3.99999999999999981e74

    1. Initial program 28.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 47.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 y2 around inf 42.9%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -2.9 \cdot 10^{+158}:\\ \;\;\;\;i \cdot \left(y5 \cdot \left(y \cdot k - t \cdot j\right)\right)\\ \mathbf{elif}\;y \leq -3.7 \cdot 10^{+142}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\ \mathbf{elif}\;y \leq -8.8 \cdot 10^{+73}:\\ \;\;\;\;t \cdot \left(y5 \cdot \left(a \cdot y2 - i \cdot j\right)\right)\\ \mathbf{elif}\;y \leq -6 \cdot 10^{+27}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4 - x \cdot i\right)\right)\\ \mathbf{elif}\;y \leq -1 \cdot 10^{-221}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;y \leq -1.5 \cdot 10^{-277}:\\ \;\;\;\;\left(t \cdot b\right) \cdot \left(j \cdot y4 - z \cdot a\right)\\ \mathbf{elif}\;y \leq 4 \cdot 10^{+74}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4 - x \cdot i\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 25: 30.5% accurate, 2.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -2.7 \cdot 10^{-51}:\\ \;\;\;\;a \cdot \left(b \cdot \left(t \cdot \left(x \cdot \frac{y}{t} - z\right)\right)\right)\\ \mathbf{elif}\;z \leq -3.7 \cdot 10^{-246}:\\ \;\;\;\;\left(b \cdot y4 - i \cdot y5\right) \cdot \left(t \cdot j\right)\\ \mathbf{elif}\;z \leq 3.25 \cdot 10^{-140}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;z \leq 1.8 \cdot 10^{-49}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;z \leq 5.3 \cdot 10^{+19}:\\ \;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)\\ \mathbf{elif}\;z \leq 1.12 \cdot 10^{+100}:\\ \;\;\;\;i \cdot \left(t \cdot \left(z \cdot c - j \cdot y5\right)\right)\\ \mathbf{elif}\;z \leq 7 \cdot 10^{+210}:\\ \;\;\;\;i \cdot \left(k \cdot \left(z \cdot \left(-y1\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(y3 \cdot \left(y \cdot y4 - z \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
 (if (<= z -2.7e-51)
   (* a (* b (* t (- (* x (/ y t)) z))))
   (if (<= z -3.7e-246)
     (* (- (* b y4) (* i y5)) (* t j))
     (if (<= z 3.25e-140)
       (* c (* y4 (- (* y y3) (* t y2))))
       (if (<= z 1.8e-49)
         (* c (* y0 (- (* x y2) (* z y3))))
         (if (<= z 5.3e+19)
           (* x (* y (- (* a b) (* c i))))
           (if (<= z 1.12e+100)
             (* i (* t (- (* z c) (* j y5))))
             (if (<= z 7e+210)
               (* i (* k (* z (- y1))))
               (* c (* y3 (- (* y y4) (* z y0))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (z <= -2.7e-51) {
		tmp = a * (b * (t * ((x * (y / t)) - z)));
	} else if (z <= -3.7e-246) {
		tmp = ((b * y4) - (i * y5)) * (t * j);
	} else if (z <= 3.25e-140) {
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	} else if (z <= 1.8e-49) {
		tmp = c * (y0 * ((x * y2) - (z * y3)));
	} else if (z <= 5.3e+19) {
		tmp = x * (y * ((a * b) - (c * i)));
	} else if (z <= 1.12e+100) {
		tmp = i * (t * ((z * c) - (j * y5)));
	} else if (z <= 7e+210) {
		tmp = i * (k * (z * -y1));
	} else {
		tmp = c * (y3 * ((y * y4) - (z * y0)));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: tmp
    if (z <= (-2.7d-51)) then
        tmp = a * (b * (t * ((x * (y / t)) - z)))
    else if (z <= (-3.7d-246)) then
        tmp = ((b * y4) - (i * y5)) * (t * j)
    else if (z <= 3.25d-140) then
        tmp = c * (y4 * ((y * y3) - (t * y2)))
    else if (z <= 1.8d-49) then
        tmp = c * (y0 * ((x * y2) - (z * y3)))
    else if (z <= 5.3d+19) then
        tmp = x * (y * ((a * b) - (c * i)))
    else if (z <= 1.12d+100) then
        tmp = i * (t * ((z * c) - (j * y5)))
    else if (z <= 7d+210) then
        tmp = i * (k * (z * -y1))
    else
        tmp = c * (y3 * ((y * y4) - (z * y0)))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (z <= -2.7e-51) {
		tmp = a * (b * (t * ((x * (y / t)) - z)));
	} else if (z <= -3.7e-246) {
		tmp = ((b * y4) - (i * y5)) * (t * j);
	} else if (z <= 3.25e-140) {
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	} else if (z <= 1.8e-49) {
		tmp = c * (y0 * ((x * y2) - (z * y3)));
	} else if (z <= 5.3e+19) {
		tmp = x * (y * ((a * b) - (c * i)));
	} else if (z <= 1.12e+100) {
		tmp = i * (t * ((z * c) - (j * y5)));
	} else if (z <= 7e+210) {
		tmp = i * (k * (z * -y1));
	} else {
		tmp = c * (y3 * ((y * y4) - (z * y0)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if z <= -2.7e-51:
		tmp = a * (b * (t * ((x * (y / t)) - z)))
	elif z <= -3.7e-246:
		tmp = ((b * y4) - (i * y5)) * (t * j)
	elif z <= 3.25e-140:
		tmp = c * (y4 * ((y * y3) - (t * y2)))
	elif z <= 1.8e-49:
		tmp = c * (y0 * ((x * y2) - (z * y3)))
	elif z <= 5.3e+19:
		tmp = x * (y * ((a * b) - (c * i)))
	elif z <= 1.12e+100:
		tmp = i * (t * ((z * c) - (j * y5)))
	elif z <= 7e+210:
		tmp = i * (k * (z * -y1))
	else:
		tmp = c * (y3 * ((y * y4) - (z * y0)))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (z <= -2.7e-51)
		tmp = Float64(a * Float64(b * Float64(t * Float64(Float64(x * Float64(y / t)) - z))));
	elseif (z <= -3.7e-246)
		tmp = Float64(Float64(Float64(b * y4) - Float64(i * y5)) * Float64(t * j));
	elseif (z <= 3.25e-140)
		tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2))));
	elseif (z <= 1.8e-49)
		tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))));
	elseif (z <= 5.3e+19)
		tmp = Float64(x * Float64(y * Float64(Float64(a * b) - Float64(c * i))));
	elseif (z <= 1.12e+100)
		tmp = Float64(i * Float64(t * Float64(Float64(z * c) - Float64(j * y5))));
	elseif (z <= 7e+210)
		tmp = Float64(i * Float64(k * Float64(z * Float64(-y1))));
	else
		tmp = Float64(c * Float64(y3 * Float64(Float64(y * y4) - Float64(z * y0))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0;
	if (z <= -2.7e-51)
		tmp = a * (b * (t * ((x * (y / t)) - z)));
	elseif (z <= -3.7e-246)
		tmp = ((b * y4) - (i * y5)) * (t * j);
	elseif (z <= 3.25e-140)
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	elseif (z <= 1.8e-49)
		tmp = c * (y0 * ((x * y2) - (z * y3)));
	elseif (z <= 5.3e+19)
		tmp = x * (y * ((a * b) - (c * i)));
	elseif (z <= 1.12e+100)
		tmp = i * (t * ((z * c) - (j * y5)));
	elseif (z <= 7e+210)
		tmp = i * (k * (z * -y1));
	else
		tmp = c * (y3 * ((y * y4) - (z * y0)));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[z, -2.7e-51], N[(a * N[(b * N[(t * N[(N[(x * N[(y / t), $MachinePrecision]), $MachinePrecision] - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -3.7e-246], N[(N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision] * N[(t * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.25e-140], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.8e-49], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 5.3e+19], N[(x * N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.12e+100], N[(i * N[(t * N[(N[(z * c), $MachinePrecision] - N[(j * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 7e+210], N[(i * N[(k * N[(z * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(y3 * N[(N[(y * y4), $MachinePrecision] - N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;z \leq -2.7 \cdot 10^{-51}:\\
\;\;\;\;a \cdot \left(b \cdot \left(t \cdot \left(x \cdot \frac{y}{t} - z\right)\right)\right)\\

\mathbf{elif}\;z \leq -3.7 \cdot 10^{-246}:\\
\;\;\;\;\left(b \cdot y4 - i \cdot y5\right) \cdot \left(t \cdot j\right)\\

\mathbf{elif}\;z \leq 3.25 \cdot 10^{-140}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\

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

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

\mathbf{elif}\;z \leq 1.12 \cdot 10^{+100}:\\
\;\;\;\;i \cdot \left(t \cdot \left(z \cdot c - j \cdot y5\right)\right)\\

\mathbf{elif}\;z \leq 7 \cdot 10^{+210}:\\
\;\;\;\;i \cdot \left(k \cdot \left(z \cdot \left(-y1\right)\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 8 regimes
  2. if z < -2.6999999999999997e-51

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

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

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

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

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

    if -2.6999999999999997e-51 < z < -3.7e-246

    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 t around inf 52.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 44.6%

      \[\leadsto \color{blue}{j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)} \]
    5. Step-by-step derivation
      1. associate-*r*44.6%

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

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

    if -3.7e-246 < z < 3.2499999999999998e-140

    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 c around inf 50.7%

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

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

    if 3.2499999999999998e-140 < z < 1.79999999999999985e-49

    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 c around inf 56.3%

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

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

    if 1.79999999999999985e-49 < z < 5.3e19

    1. Initial program 7.7%

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

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

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

    if 5.3e19 < z < 1.12e100

    1. Initial program 14.2%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in t around inf 51.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 c around 0 42.4%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg42.4%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*46.9%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified46.9%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in i around -inf 59.6%

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(t \cdot \left(-1 \cdot \left(c \cdot z\right) + j \cdot y5\right)\right)\right)} \]
    8. Step-by-step derivation
      1. mul-1-neg59.6%

        \[\leadsto \color{blue}{-i \cdot \left(t \cdot \left(-1 \cdot \left(c \cdot z\right) + j \cdot y5\right)\right)} \]
      2. *-commutative59.6%

        \[\leadsto -\color{blue}{\left(t \cdot \left(-1 \cdot \left(c \cdot z\right) + j \cdot y5\right)\right) \cdot i} \]
      3. distribute-rgt-neg-in59.6%

        \[\leadsto \color{blue}{\left(t \cdot \left(-1 \cdot \left(c \cdot z\right) + j \cdot y5\right)\right) \cdot \left(-i\right)} \]
      4. +-commutative59.6%

        \[\leadsto \left(t \cdot \color{blue}{\left(j \cdot y5 + -1 \cdot \left(c \cdot z\right)\right)}\right) \cdot \left(-i\right) \]
      5. mul-1-neg59.6%

        \[\leadsto \left(t \cdot \left(j \cdot y5 + \color{blue}{\left(-c \cdot z\right)}\right)\right) \cdot \left(-i\right) \]
      6. unsub-neg59.6%

        \[\leadsto \left(t \cdot \color{blue}{\left(j \cdot y5 - c \cdot z\right)}\right) \cdot \left(-i\right) \]
      7. *-commutative59.6%

        \[\leadsto \left(t \cdot \left(\color{blue}{y5 \cdot j} - c \cdot z\right)\right) \cdot \left(-i\right) \]
      8. *-commutative59.6%

        \[\leadsto \left(t \cdot \left(y5 \cdot j - \color{blue}{z \cdot c}\right)\right) \cdot \left(-i\right) \]
    9. Simplified59.6%

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

    if 1.12e100 < z < 6.9999999999999999e210

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

      \[\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 66.4%

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

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

      \[\leadsto -1 \cdot \color{blue}{\left(\left(i \cdot y1\right) \cdot \left(k \cdot z - j \cdot x\right)\right)} \]
    7. Taylor expanded in k around inf 66.4%

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

    if 6.9999999999999999e210 < z

    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 c around inf 37.3%

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

      \[\leadsto c \cdot \color{blue}{\left(-1 \cdot \left(y3 \cdot \left(y0 \cdot z - y \cdot y4\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg58.6%

        \[\leadsto c \cdot \color{blue}{\left(-y3 \cdot \left(y0 \cdot z - y \cdot y4\right)\right)} \]
    6. Simplified58.6%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -2.7 \cdot 10^{-51}:\\ \;\;\;\;a \cdot \left(b \cdot \left(t \cdot \left(x \cdot \frac{y}{t} - z\right)\right)\right)\\ \mathbf{elif}\;z \leq -3.7 \cdot 10^{-246}:\\ \;\;\;\;\left(b \cdot y4 - i \cdot y5\right) \cdot \left(t \cdot j\right)\\ \mathbf{elif}\;z \leq 3.25 \cdot 10^{-140}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;z \leq 1.8 \cdot 10^{-49}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;z \leq 5.3 \cdot 10^{+19}:\\ \;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)\\ \mathbf{elif}\;z \leq 1.12 \cdot 10^{+100}:\\ \;\;\;\;i \cdot \left(t \cdot \left(z \cdot c - j \cdot y5\right)\right)\\ \mathbf{elif}\;z \leq 7 \cdot 10^{+210}:\\ \;\;\;\;i \cdot \left(k \cdot \left(z \cdot \left(-y1\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(y3 \cdot \left(y \cdot y4 - z \cdot y0\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 26: 22.3% accurate, 2.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(i \cdot \left(z \cdot t\right)\right)\\ t_2 := c \cdot \left(y4 \cdot \left(t \cdot \left(-y2\right)\right)\right)\\ \mathbf{if}\;z \leq -4.5 \cdot 10^{+125}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq -1.85 \cdot 10^{-28}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\ \mathbf{elif}\;z \leq 6.4 \cdot 10^{-258}:\\ \;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j\right)\right)\\ \mathbf{elif}\;z \leq 8.8 \cdot 10^{-219}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;z \leq 1.15 \cdot 10^{-140}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{elif}\;z \leq 1.22 \cdot 10^{+72}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;z \leq 2.2 \cdot 10^{+140}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(b \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 (* c (* i (* z t)))) (t_2 (* c (* y4 (* t (- y2))))))
   (if (<= z -4.5e+125)
     t_1
     (if (<= z -1.85e-28)
       (* a (* y (* x b)))
       (if (<= z 6.4e-258)
         (* t (* y4 (* b j)))
         (if (<= z 8.8e-219)
           t_2
           (if (<= z 1.15e-140)
             (* c (* y (* y3 y4)))
             (if (<= z 1.22e+72)
               t_2
               (if (<= z 2.2e+140) t_1 (* a (* b (* 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 = c * (i * (z * t));
	double t_2 = c * (y4 * (t * -y2));
	double tmp;
	if (z <= -4.5e+125) {
		tmp = t_1;
	} else if (z <= -1.85e-28) {
		tmp = a * (y * (x * b));
	} else if (z <= 6.4e-258) {
		tmp = t * (y4 * (b * j));
	} else if (z <= 8.8e-219) {
		tmp = t_2;
	} else if (z <= 1.15e-140) {
		tmp = c * (y * (y3 * y4));
	} else if (z <= 1.22e+72) {
		tmp = t_2;
	} else if (z <= 2.2e+140) {
		tmp = t_1;
	} else {
		tmp = a * (b * (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) :: tmp
    t_1 = c * (i * (z * t))
    t_2 = c * (y4 * (t * -y2))
    if (z <= (-4.5d+125)) then
        tmp = t_1
    else if (z <= (-1.85d-28)) then
        tmp = a * (y * (x * b))
    else if (z <= 6.4d-258) then
        tmp = t * (y4 * (b * j))
    else if (z <= 8.8d-219) then
        tmp = t_2
    else if (z <= 1.15d-140) then
        tmp = c * (y * (y3 * y4))
    else if (z <= 1.22d+72) then
        tmp = t_2
    else if (z <= 2.2d+140) then
        tmp = t_1
    else
        tmp = a * (b * (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 = c * (i * (z * t));
	double t_2 = c * (y4 * (t * -y2));
	double tmp;
	if (z <= -4.5e+125) {
		tmp = t_1;
	} else if (z <= -1.85e-28) {
		tmp = a * (y * (x * b));
	} else if (z <= 6.4e-258) {
		tmp = t * (y4 * (b * j));
	} else if (z <= 8.8e-219) {
		tmp = t_2;
	} else if (z <= 1.15e-140) {
		tmp = c * (y * (y3 * y4));
	} else if (z <= 1.22e+72) {
		tmp = t_2;
	} else if (z <= 2.2e+140) {
		tmp = t_1;
	} else {
		tmp = a * (b * (z * -t));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = c * (i * (z * t))
	t_2 = c * (y4 * (t * -y2))
	tmp = 0
	if z <= -4.5e+125:
		tmp = t_1
	elif z <= -1.85e-28:
		tmp = a * (y * (x * b))
	elif z <= 6.4e-258:
		tmp = t * (y4 * (b * j))
	elif z <= 8.8e-219:
		tmp = t_2
	elif z <= 1.15e-140:
		tmp = c * (y * (y3 * y4))
	elif z <= 1.22e+72:
		tmp = t_2
	elif z <= 2.2e+140:
		tmp = t_1
	else:
		tmp = a * (b * (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(c * Float64(i * Float64(z * t)))
	t_2 = Float64(c * Float64(y4 * Float64(t * Float64(-y2))))
	tmp = 0.0
	if (z <= -4.5e+125)
		tmp = t_1;
	elseif (z <= -1.85e-28)
		tmp = Float64(a * Float64(y * Float64(x * b)));
	elseif (z <= 6.4e-258)
		tmp = Float64(t * Float64(y4 * Float64(b * j)));
	elseif (z <= 8.8e-219)
		tmp = t_2;
	elseif (z <= 1.15e-140)
		tmp = Float64(c * Float64(y * Float64(y3 * y4)));
	elseif (z <= 1.22e+72)
		tmp = t_2;
	elseif (z <= 2.2e+140)
		tmp = t_1;
	else
		tmp = Float64(a * Float64(b * 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 = c * (i * (z * t));
	t_2 = c * (y4 * (t * -y2));
	tmp = 0.0;
	if (z <= -4.5e+125)
		tmp = t_1;
	elseif (z <= -1.85e-28)
		tmp = a * (y * (x * b));
	elseif (z <= 6.4e-258)
		tmp = t * (y4 * (b * j));
	elseif (z <= 8.8e-219)
		tmp = t_2;
	elseif (z <= 1.15e-140)
		tmp = c * (y * (y3 * y4));
	elseif (z <= 1.22e+72)
		tmp = t_2;
	elseif (z <= 2.2e+140)
		tmp = t_1;
	else
		tmp = a * (b * (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[(c * N[(i * N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(c * N[(y4 * N[(t * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -4.5e+125], t$95$1, If[LessEqual[z, -1.85e-28], N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 6.4e-258], N[(t * N[(y4 * N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 8.8e-219], t$95$2, If[LessEqual[z, 1.15e-140], N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.22e+72], t$95$2, If[LessEqual[z, 2.2e+140], t$95$1, N[(a * N[(b * N[(z * (-t)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := c \cdot \left(i \cdot \left(z \cdot t\right)\right)\\
t_2 := c \cdot \left(y4 \cdot \left(t \cdot \left(-y2\right)\right)\right)\\
\mathbf{if}\;z \leq -4.5 \cdot 10^{+125}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;z \leq -1.85 \cdot 10^{-28}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\

\mathbf{elif}\;z \leq 6.4 \cdot 10^{-258}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j\right)\right)\\

\mathbf{elif}\;z \leq 8.8 \cdot 10^{-219}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;z \leq 1.15 \cdot 10^{-140}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\

\mathbf{elif}\;z \leq 1.22 \cdot 10^{+72}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;z \leq 2.2 \cdot 10^{+140}:\\
\;\;\;\;t\_1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if z < -4.5e125 or 1.2200000000000001e72 < z < 2.1999999999999998e140

    1. Initial program 24.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 42.7%

      \[\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 0 46.4%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg46.4%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*44.6%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified44.6%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in c around inf 43.3%

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

    if -4.5e125 < z < -1.8500000000000001e-28

    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 b around inf 47.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 43.8%

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

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

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

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

    if -1.8500000000000001e-28 < z < 6.4000000000000004e-258

    1. Initial program 25.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 45.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 z around 0 42.5%

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

      \[\leadsto t \cdot \color{blue}{\left(b \cdot \left(j \cdot y4\right)\right)} \]
    6. Step-by-step derivation
      1. associate-*r*35.9%

        \[\leadsto t \cdot \color{blue}{\left(\left(b \cdot j\right) \cdot y4\right)} \]
      2. *-commutative35.9%

        \[\leadsto t \cdot \left(\color{blue}{\left(j \cdot b\right)} \cdot y4\right) \]
    7. Simplified35.9%

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

    if 6.4000000000000004e-258 < z < 8.7999999999999998e-219 or 1.1500000000000001e-140 < z < 1.2200000000000001e72

    1. Initial program 16.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 47.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 z around 0 44.3%

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

      \[\leadsto \color{blue}{-1 \cdot \left(c \cdot \left(t \cdot \left(y2 \cdot y4\right)\right)\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg28.7%

        \[\leadsto \color{blue}{-c \cdot \left(t \cdot \left(y2 \cdot y4\right)\right)} \]
      2. distribute-rgt-neg-in28.7%

        \[\leadsto \color{blue}{c \cdot \left(-t \cdot \left(y2 \cdot y4\right)\right)} \]
      3. associate-*r*30.5%

        \[\leadsto c \cdot \left(-\color{blue}{\left(t \cdot y2\right) \cdot y4}\right) \]
      4. distribute-rgt-neg-in30.5%

        \[\leadsto c \cdot \color{blue}{\left(\left(t \cdot y2\right) \cdot \left(-y4\right)\right)} \]
    7. Simplified30.5%

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

    if 8.7999999999999998e-219 < z < 1.1500000000000001e-140

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

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

      \[\leadsto \color{blue}{y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\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.0%

      \[\leadsto \color{blue}{c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)} \]
    6. Step-by-step derivation
      1. *-commutative41.0%

        \[\leadsto c \cdot \left(y \cdot \color{blue}{\left(y4 \cdot y3\right)}\right) \]
    7. Simplified41.0%

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

    if 2.1999999999999998e140 < z

    1. Initial program 31.7%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 40.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 48.5%

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -4.5 \cdot 10^{+125}:\\ \;\;\;\;c \cdot \left(i \cdot \left(z \cdot t\right)\right)\\ \mathbf{elif}\;z \leq -1.85 \cdot 10^{-28}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\ \mathbf{elif}\;z \leq 6.4 \cdot 10^{-258}:\\ \;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j\right)\right)\\ \mathbf{elif}\;z \leq 8.8 \cdot 10^{-219}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(t \cdot \left(-y2\right)\right)\right)\\ \mathbf{elif}\;z \leq 1.15 \cdot 10^{-140}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{elif}\;z \leq 1.22 \cdot 10^{+72}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(t \cdot \left(-y2\right)\right)\right)\\ \mathbf{elif}\;z \leq 2.2 \cdot 10^{+140}:\\ \;\;\;\;c \cdot \left(i \cdot \left(z \cdot t\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(b \cdot \left(z \cdot \left(-t\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 27: 19.5% accurate, 2.2× speedup?

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

\\
\begin{array}{l}
t_1 := c \cdot \left(\left(x \cdot y\right) \cdot \left(-i\right)\right)\\
\mathbf{if}\;y \leq -3 \cdot 10^{+109}:\\
\;\;\;\;i \cdot \left(j \cdot \left(t \cdot \left(-y5\right)\right)\right)\\

\mathbf{elif}\;y \leq -2.7 \cdot 10^{+38}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y \leq -4 \cdot 10^{-17}:\\
\;\;\;\;t \cdot \left(b \cdot \left(j \cdot y4\right)\right)\\

\mathbf{elif}\;y \leq -1.78 \cdot 10^{-130}:\\
\;\;\;\;\left(c \cdot i\right) \cdot \left(z \cdot t\right)\\

\mathbf{elif}\;y \leq 3.1 \cdot 10^{-276}:\\
\;\;\;\;a \cdot \left(b \cdot \left(z \cdot \left(-t\right)\right)\right)\\

\mathbf{elif}\;y \leq 5.7 \cdot 10^{-230}:\\
\;\;\;\;\left(c \cdot \left(y2 \cdot y4\right)\right) \cdot \left(-t\right)\\

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if y < -3.00000000000000015e109

    1. Initial program 18.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.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 z around 0 43.5%

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

      \[\leadsto \color{blue}{-1 \cdot \left(i \cdot \left(j \cdot \left(t \cdot y5\right)\right)\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg39.4%

        \[\leadsto \color{blue}{-i \cdot \left(j \cdot \left(t \cdot y5\right)\right)} \]
      2. distribute-rgt-neg-in39.4%

        \[\leadsto \color{blue}{i \cdot \left(-j \cdot \left(t \cdot y5\right)\right)} \]
      3. *-commutative39.4%

        \[\leadsto i \cdot \left(-\color{blue}{\left(t \cdot y5\right) \cdot j}\right) \]
      4. distribute-rgt-neg-in39.4%

        \[\leadsto i \cdot \color{blue}{\left(\left(t \cdot y5\right) \cdot \left(-j\right)\right)} \]
    7. Simplified39.4%

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

    if -3.00000000000000015e109 < y < -2.69999999999999996e38 or 3.3e72 < y

    1. Initial program 18.7%

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

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

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

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

        \[\leadsto \color{blue}{\left(-1 \cdot c\right) \cdot \left(i \cdot \left(x \cdot y\right)\right)} \]
      2. neg-mul-143.8%

        \[\leadsto \color{blue}{\left(-c\right)} \cdot \left(i \cdot \left(x \cdot y\right)\right) \]
    7. Simplified43.8%

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

    if -2.69999999999999996e38 < y < -4.00000000000000029e-17

    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 t around inf 73.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 0 64.2%

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

      \[\leadsto t \cdot \color{blue}{\left(b \cdot \left(j \cdot y4\right)\right)} \]
    6. Step-by-step derivation
      1. *-commutative64.0%

        \[\leadsto t \cdot \left(b \cdot \color{blue}{\left(y4 \cdot j\right)}\right) \]
    7. Simplified64.0%

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

    if -4.00000000000000029e-17 < y < -1.78e-130

    1. Initial program 34.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 32.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 c around 0 27.9%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg27.9%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*27.9%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified27.9%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in c around inf 27.9%

      \[\leadsto \color{blue}{c \cdot \left(i \cdot \left(t \cdot z\right)\right)} \]
    8. Step-by-step derivation
      1. associate-*r*28.1%

        \[\leadsto \color{blue}{\left(c \cdot i\right) \cdot \left(t \cdot z\right)} \]
    9. Simplified28.1%

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

    if -1.78e-130 < y < 3.09999999999999989e-276

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

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

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

        \[\leadsto \color{blue}{\left(-1 \cdot a\right) \cdot \left(b \cdot \left(t \cdot z\right)\right)} \]
      2. mul-1-neg32.4%

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

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

    if 3.09999999999999989e-276 < y < 5.69999999999999968e-230

    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 t around inf 61.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 0 69.8%

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

      \[\leadsto t \cdot \color{blue}{\left(-1 \cdot \left(c \cdot \left(y2 \cdot y4\right)\right)\right)} \]
    6. Step-by-step derivation
      1. associate-*r*54.9%

        \[\leadsto t \cdot \color{blue}{\left(\left(-1 \cdot c\right) \cdot \left(y2 \cdot y4\right)\right)} \]
      2. neg-mul-154.9%

        \[\leadsto t \cdot \left(\color{blue}{\left(-c\right)} \cdot \left(y2 \cdot y4\right)\right) \]
    7. Simplified54.9%

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

    if 5.69999999999999968e-230 < y < 3.3e72

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -3 \cdot 10^{+109}:\\ \;\;\;\;i \cdot \left(j \cdot \left(t \cdot \left(-y5\right)\right)\right)\\ \mathbf{elif}\;y \leq -2.7 \cdot 10^{+38}:\\ \;\;\;\;c \cdot \left(\left(x \cdot y\right) \cdot \left(-i\right)\right)\\ \mathbf{elif}\;y \leq -4 \cdot 10^{-17}:\\ \;\;\;\;t \cdot \left(b \cdot \left(j \cdot y4\right)\right)\\ \mathbf{elif}\;y \leq -1.78 \cdot 10^{-130}:\\ \;\;\;\;\left(c \cdot i\right) \cdot \left(z \cdot t\right)\\ \mathbf{elif}\;y \leq 3.1 \cdot 10^{-276}:\\ \;\;\;\;a \cdot \left(b \cdot \left(z \cdot \left(-t\right)\right)\right)\\ \mathbf{elif}\;y \leq 5.7 \cdot 10^{-230}:\\ \;\;\;\;\left(c \cdot \left(y2 \cdot y4\right)\right) \cdot \left(-t\right)\\ \mathbf{elif}\;y \leq 3.3 \cdot 10^{+72}:\\ \;\;\;\;t \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(\left(x \cdot y\right) \cdot \left(-i\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 28: 32.7% accurate, 2.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \left(b \cdot \left(t \cdot \left(x \cdot \frac{y}{t} - z\right)\right)\right)\\ t_2 := i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{if}\;z \leq -7.5 \cdot 10^{+67}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;z \leq -1.1 \cdot 10^{-56}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq -6.8 \cdot 10^{-249}:\\ \;\;\;\;\left(b \cdot y4 - i \cdot y5\right) \cdot \left(t \cdot j\right)\\ \mathbf{elif}\;z \leq 1.2 \cdot 10^{-128}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;z \leq 7.5 \cdot 10^{+74}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(c \cdot \left(a \cdot \frac{y5}{c} - y4\right)\right)\right)\\ \mathbf{elif}\;z \leq 1.5 \cdot 10^{+220}:\\ \;\;\;\;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 (* a (* b (* t (- (* x (/ y t)) z)))))
        (t_2 (* i (* z (- (* t c) (* k y1))))))
   (if (<= z -7.5e+67)
     t_2
     (if (<= z -1.1e-56)
       t_1
       (if (<= z -6.8e-249)
         (* (- (* b y4) (* i y5)) (* t j))
         (if (<= z 1.2e-128)
           (* c (* y4 (- (* y y3) (* t y2))))
           (if (<= z 7.5e+74)
             (* t (* y2 (* c (- (* a (/ y5 c)) y4))))
             (if (<= z 1.5e+220) t_2 t_1))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = a * (b * (t * ((x * (y / t)) - z)));
	double t_2 = i * (z * ((t * c) - (k * y1)));
	double tmp;
	if (z <= -7.5e+67) {
		tmp = t_2;
	} else if (z <= -1.1e-56) {
		tmp = t_1;
	} else if (z <= -6.8e-249) {
		tmp = ((b * y4) - (i * y5)) * (t * j);
	} else if (z <= 1.2e-128) {
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	} else if (z <= 7.5e+74) {
		tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)));
	} else if (z <= 1.5e+220) {
		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 = a * (b * (t * ((x * (y / t)) - z)))
    t_2 = i * (z * ((t * c) - (k * y1)))
    if (z <= (-7.5d+67)) then
        tmp = t_2
    else if (z <= (-1.1d-56)) then
        tmp = t_1
    else if (z <= (-6.8d-249)) then
        tmp = ((b * y4) - (i * y5)) * (t * j)
    else if (z <= 1.2d-128) then
        tmp = c * (y4 * ((y * y3) - (t * y2)))
    else if (z <= 7.5d+74) then
        tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)))
    else if (z <= 1.5d+220) 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 = a * (b * (t * ((x * (y / t)) - z)));
	double t_2 = i * (z * ((t * c) - (k * y1)));
	double tmp;
	if (z <= -7.5e+67) {
		tmp = t_2;
	} else if (z <= -1.1e-56) {
		tmp = t_1;
	} else if (z <= -6.8e-249) {
		tmp = ((b * y4) - (i * y5)) * (t * j);
	} else if (z <= 1.2e-128) {
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	} else if (z <= 7.5e+74) {
		tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)));
	} else if (z <= 1.5e+220) {
		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 = a * (b * (t * ((x * (y / t)) - z)))
	t_2 = i * (z * ((t * c) - (k * y1)))
	tmp = 0
	if z <= -7.5e+67:
		tmp = t_2
	elif z <= -1.1e-56:
		tmp = t_1
	elif z <= -6.8e-249:
		tmp = ((b * y4) - (i * y5)) * (t * j)
	elif z <= 1.2e-128:
		tmp = c * (y4 * ((y * y3) - (t * y2)))
	elif z <= 7.5e+74:
		tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)))
	elif z <= 1.5e+220:
		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(a * Float64(b * Float64(t * Float64(Float64(x * Float64(y / t)) - z))))
	t_2 = Float64(i * Float64(z * Float64(Float64(t * c) - Float64(k * y1))))
	tmp = 0.0
	if (z <= -7.5e+67)
		tmp = t_2;
	elseif (z <= -1.1e-56)
		tmp = t_1;
	elseif (z <= -6.8e-249)
		tmp = Float64(Float64(Float64(b * y4) - Float64(i * y5)) * Float64(t * j));
	elseif (z <= 1.2e-128)
		tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2))));
	elseif (z <= 7.5e+74)
		tmp = Float64(t * Float64(y2 * Float64(c * Float64(Float64(a * Float64(y5 / c)) - y4))));
	elseif (z <= 1.5e+220)
		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 = a * (b * (t * ((x * (y / t)) - z)));
	t_2 = i * (z * ((t * c) - (k * y1)));
	tmp = 0.0;
	if (z <= -7.5e+67)
		tmp = t_2;
	elseif (z <= -1.1e-56)
		tmp = t_1;
	elseif (z <= -6.8e-249)
		tmp = ((b * y4) - (i * y5)) * (t * j);
	elseif (z <= 1.2e-128)
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	elseif (z <= 7.5e+74)
		tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)));
	elseif (z <= 1.5e+220)
		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[(a * N[(b * N[(t * N[(N[(x * N[(y / t), $MachinePrecision]), $MachinePrecision] - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(i * N[(z * N[(N[(t * c), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -7.5e+67], t$95$2, If[LessEqual[z, -1.1e-56], t$95$1, If[LessEqual[z, -6.8e-249], N[(N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision] * N[(t * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.2e-128], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 7.5e+74], N[(t * N[(y2 * N[(c * N[(N[(a * N[(y5 / c), $MachinePrecision]), $MachinePrecision] - y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.5e+220], t$95$2, t$95$1]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := a \cdot \left(b \cdot \left(t \cdot \left(x \cdot \frac{y}{t} - z\right)\right)\right)\\
t_2 := i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\
\mathbf{if}\;z \leq -7.5 \cdot 10^{+67}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;z \leq -1.1 \cdot 10^{-56}:\\
\;\;\;\;t\_1\\

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

\mathbf{elif}\;z \leq 1.2 \cdot 10^{-128}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\

\mathbf{elif}\;z \leq 7.5 \cdot 10^{+74}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(c \cdot \left(a \cdot \frac{y5}{c} - y4\right)\right)\right)\\

\mathbf{elif}\;z \leq 1.5 \cdot 10^{+220}:\\
\;\;\;\;t\_2\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if z < -7.5000000000000005e67 or 7.5e74 < z < 1.50000000000000012e220

    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 i around -inf 45.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 z around -inf 61.9%

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

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

        \[\leadsto -1 \cdot \left(\color{blue}{\left(-i\right)} \cdot \left(z \cdot \left(c \cdot t - k \cdot y1\right)\right)\right) \]
    6. Simplified61.9%

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

    if -7.5000000000000005e67 < z < -1.10000000000000002e-56 or 1.50000000000000012e220 < z

    1. Initial program 23.9%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 55.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 51.1%

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

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

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

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

    if -1.10000000000000002e-56 < z < -6.7999999999999996e-249

    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 t around inf 52.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 44.6%

      \[\leadsto \color{blue}{j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)} \]
    5. Step-by-step derivation
      1. associate-*r*44.6%

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

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

    if -6.7999999999999996e-249 < z < 1.1999999999999999e-128

    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 c around inf 50.7%

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

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

    if 1.1999999999999999e-128 < z < 7.5e74

    1. Initial program 17.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 57.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 41.4%

      \[\leadsto \color{blue}{t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)} \]
    5. Taylor expanded in c around inf 45.5%

      \[\leadsto t \cdot \left(y2 \cdot \color{blue}{\left(c \cdot \left(\frac{a \cdot y5}{c} - y4\right)\right)}\right) \]
    6. Step-by-step derivation
      1. associate-/l*49.8%

        \[\leadsto t \cdot \left(y2 \cdot \left(c \cdot \left(\color{blue}{a \cdot \frac{y5}{c}} - y4\right)\right)\right) \]
    7. Simplified49.8%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -7.5 \cdot 10^{+67}:\\ \;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{elif}\;z \leq -1.1 \cdot 10^{-56}:\\ \;\;\;\;a \cdot \left(b \cdot \left(t \cdot \left(x \cdot \frac{y}{t} - z\right)\right)\right)\\ \mathbf{elif}\;z \leq -6.8 \cdot 10^{-249}:\\ \;\;\;\;\left(b \cdot y4 - i \cdot y5\right) \cdot \left(t \cdot j\right)\\ \mathbf{elif}\;z \leq 1.2 \cdot 10^{-128}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;z \leq 7.5 \cdot 10^{+74}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(c \cdot \left(a \cdot \frac{y5}{c} - y4\right)\right)\right)\\ \mathbf{elif}\;z \leq 1.5 \cdot 10^{+220}:\\ \;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(b \cdot \left(t \cdot \left(x \cdot \frac{y}{t} - z\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 29: 30.2% accurate, 2.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -2.3 \cdot 10^{+159}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;b \leq -98:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;b \leq -9 \cdot 10^{-261}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;b \leq 1.35 \cdot 10^{-90}:\\ \;\;\;\;c \cdot \left(y2 \cdot \left(x \cdot y0 - t \cdot y4\right)\right)\\ \mathbf{elif}\;b \leq 4.8 \cdot 10^{-10}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{elif}\;b \leq 5.5 \cdot 10^{+98}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;b \leq 4.1 \cdot 10^{+118}:\\ \;\;\;\;\left(x \cdot b\right) \cdot \left(y \cdot a\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(y4 \cdot \left(b \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
 (if (<= b -2.3e+159)
   (* a (* b (- (* x y) (* z t))))
   (if (<= b -98.0)
     (* c (* y0 (- (* x y2) (* z y3))))
     (if (<= b -9e-261)
       (* c (* t (- (* z i) (* y2 y4))))
       (if (<= b 1.35e-90)
         (* c (* y2 (- (* x y0) (* t y4))))
         (if (<= b 4.8e-10)
           (* c (* y (* y3 y4)))
           (if (<= b 5.5e+98)
             (* b (* y4 (- (* t j) (* y k))))
             (if (<= b 4.1e+118)
               (* (* x b) (* y a))
               (* t (* y4 (* b j)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (b <= -2.3e+159) {
		tmp = a * (b * ((x * y) - (z * t)));
	} else if (b <= -98.0) {
		tmp = c * (y0 * ((x * y2) - (z * y3)));
	} else if (b <= -9e-261) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (b <= 1.35e-90) {
		tmp = c * (y2 * ((x * y0) - (t * y4)));
	} else if (b <= 4.8e-10) {
		tmp = c * (y * (y3 * y4));
	} else if (b <= 5.5e+98) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} else if (b <= 4.1e+118) {
		tmp = (x * b) * (y * a);
	} else {
		tmp = t * (y4 * (b * j));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: tmp
    if (b <= (-2.3d+159)) then
        tmp = a * (b * ((x * y) - (z * t)))
    else if (b <= (-98.0d0)) then
        tmp = c * (y0 * ((x * y2) - (z * y3)))
    else if (b <= (-9d-261)) then
        tmp = c * (t * ((z * i) - (y2 * y4)))
    else if (b <= 1.35d-90) then
        tmp = c * (y2 * ((x * y0) - (t * y4)))
    else if (b <= 4.8d-10) then
        tmp = c * (y * (y3 * y4))
    else if (b <= 5.5d+98) then
        tmp = b * (y4 * ((t * j) - (y * k)))
    else if (b <= 4.1d+118) then
        tmp = (x * b) * (y * a)
    else
        tmp = t * (y4 * (b * j))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (b <= -2.3e+159) {
		tmp = a * (b * ((x * y) - (z * t)));
	} else if (b <= -98.0) {
		tmp = c * (y0 * ((x * y2) - (z * y3)));
	} else if (b <= -9e-261) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (b <= 1.35e-90) {
		tmp = c * (y2 * ((x * y0) - (t * y4)));
	} else if (b <= 4.8e-10) {
		tmp = c * (y * (y3 * y4));
	} else if (b <= 5.5e+98) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} else if (b <= 4.1e+118) {
		tmp = (x * b) * (y * a);
	} else {
		tmp = t * (y4 * (b * j));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if b <= -2.3e+159:
		tmp = a * (b * ((x * y) - (z * t)))
	elif b <= -98.0:
		tmp = c * (y0 * ((x * y2) - (z * y3)))
	elif b <= -9e-261:
		tmp = c * (t * ((z * i) - (y2 * y4)))
	elif b <= 1.35e-90:
		tmp = c * (y2 * ((x * y0) - (t * y4)))
	elif b <= 4.8e-10:
		tmp = c * (y * (y3 * y4))
	elif b <= 5.5e+98:
		tmp = b * (y4 * ((t * j) - (y * k)))
	elif b <= 4.1e+118:
		tmp = (x * b) * (y * a)
	else:
		tmp = t * (y4 * (b * j))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (b <= -2.3e+159)
		tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t))));
	elseif (b <= -98.0)
		tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))));
	elseif (b <= -9e-261)
		tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4))));
	elseif (b <= 1.35e-90)
		tmp = Float64(c * Float64(y2 * Float64(Float64(x * y0) - Float64(t * y4))));
	elseif (b <= 4.8e-10)
		tmp = Float64(c * Float64(y * Float64(y3 * y4)));
	elseif (b <= 5.5e+98)
		tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k))));
	elseif (b <= 4.1e+118)
		tmp = Float64(Float64(x * b) * Float64(y * a));
	else
		tmp = Float64(t * Float64(y4 * Float64(b * j)));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0;
	if (b <= -2.3e+159)
		tmp = a * (b * ((x * y) - (z * t)));
	elseif (b <= -98.0)
		tmp = c * (y0 * ((x * y2) - (z * y3)));
	elseif (b <= -9e-261)
		tmp = c * (t * ((z * i) - (y2 * y4)));
	elseif (b <= 1.35e-90)
		tmp = c * (y2 * ((x * y0) - (t * y4)));
	elseif (b <= 4.8e-10)
		tmp = c * (y * (y3 * y4));
	elseif (b <= 5.5e+98)
		tmp = b * (y4 * ((t * j) - (y * k)));
	elseif (b <= 4.1e+118)
		tmp = (x * b) * (y * a);
	else
		tmp = t * (y4 * (b * j));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[b, -2.3e+159], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -98.0], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -9e-261], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.35e-90], N[(c * N[(y2 * N[(N[(x * y0), $MachinePrecision] - N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 4.8e-10], N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 5.5e+98], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 4.1e+118], N[(N[(x * b), $MachinePrecision] * N[(y * a), $MachinePrecision]), $MachinePrecision], N[(t * N[(y4 * N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;b \leq -2.3 \cdot 10^{+159}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\

\mathbf{elif}\;b \leq -98:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\

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

\mathbf{elif}\;b \leq 1.35 \cdot 10^{-90}:\\
\;\;\;\;c \cdot \left(y2 \cdot \left(x \cdot y0 - t \cdot y4\right)\right)\\

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

\mathbf{elif}\;b \leq 5.5 \cdot 10^{+98}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\

\mathbf{elif}\;b \leq 4.1 \cdot 10^{+118}:\\
\;\;\;\;\left(x \cdot b\right) \cdot \left(y \cdot a\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 8 regimes
  2. if b < -2.29999999999999995e159

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

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

    if -2.29999999999999995e159 < b < -98

    1. Initial program 21.7%

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

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

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

    if -98 < b < -9.0000000000000002e-261

    1. Initial program 32.8%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in t around inf 41.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 41.5%

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

    if -9.0000000000000002e-261 < b < 1.34999999999999998e-90

    1. Initial program 19.1%

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

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

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

    if 1.34999999999999998e-90 < b < 4.8e-10

    1. Initial program 25.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 y around inf 31.5%

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

      \[\leadsto \color{blue}{y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\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 57.0%

      \[\leadsto \color{blue}{c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)} \]
    6. Step-by-step derivation
      1. *-commutative57.0%

        \[\leadsto c \cdot \left(y \cdot \color{blue}{\left(y4 \cdot y3\right)}\right) \]
    7. Simplified57.0%

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

    if 4.8e-10 < b < 5.49999999999999946e98

    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 b around inf 45.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 y4 around inf 49.8%

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

    if 5.49999999999999946e98 < b < 4.0999999999999997e118

    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 b around inf 33.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 67.0%

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

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
    6. Step-by-step derivation
      1. pow167.0%

        \[\leadsto \color{blue}{{\left(a \cdot \left(b \cdot \left(x \cdot y\right)\right)\right)}^{1}} \]
      2. associate-*r*67.0%

        \[\leadsto {\left(a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)}\right)}^{1} \]
    7. Applied egg-rr67.0%

      \[\leadsto \color{blue}{{\left(a \cdot \left(\left(b \cdot x\right) \cdot y\right)\right)}^{1}} \]
    8. Step-by-step derivation
      1. unpow167.0%

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

        \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x\right)\right)} \]
      3. associate-*r*67.1%

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

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

    if 4.0999999999999997e118 < b

    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 t around inf 55.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 0 52.8%

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

      \[\leadsto t \cdot \color{blue}{\left(b \cdot \left(j \cdot y4\right)\right)} \]
    6. Step-by-step derivation
      1. associate-*r*50.9%

        \[\leadsto t \cdot \color{blue}{\left(\left(b \cdot j\right) \cdot y4\right)} \]
      2. *-commutative50.9%

        \[\leadsto t \cdot \left(\color{blue}{\left(j \cdot b\right)} \cdot y4\right) \]
    7. Simplified50.9%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -2.3 \cdot 10^{+159}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;b \leq -98:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;b \leq -9 \cdot 10^{-261}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;b \leq 1.35 \cdot 10^{-90}:\\ \;\;\;\;c \cdot \left(y2 \cdot \left(x \cdot y0 - t \cdot y4\right)\right)\\ \mathbf{elif}\;b \leq 4.8 \cdot 10^{-10}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{elif}\;b \leq 5.5 \cdot 10^{+98}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;b \leq 4.1 \cdot 10^{+118}:\\ \;\;\;\;\left(x \cdot b\right) \cdot \left(y \cdot a\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 30: 30.5% accurate, 2.3× speedup?

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

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

\mathbf{elif}\;b \leq 1.12 \cdot 10^{-237}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;b \leq 4 \cdot 10^{-96}:\\
\;\;\;\;z \cdot \left(\left(i \cdot k\right) \cdot \left(-y1\right)\right)\\

\mathbf{elif}\;b \leq 6.4 \cdot 10^{-15}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;b \leq 5.5 \cdot 10^{+254}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\

\mathbf{elif}\;b \leq 2.4 \cdot 10^{+292}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if b < -5.00000000000000003e159

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

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

    if -5.00000000000000003e159 < b < 1.12000000000000002e-237 or 3.9999999999999996e-96 < b < 6.3999999999999999e-15

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

      \[\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 38.0%

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

    if 1.12000000000000002e-237 < b < 3.9999999999999996e-96

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

      \[\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 34.3%

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

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

      \[\leadsto -1 \cdot \color{blue}{\left(\left(i \cdot y1\right) \cdot \left(k \cdot z - j \cdot x\right)\right)} \]
    7. Taylor expanded in k around inf 29.8%

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

        \[\leadsto -1 \cdot \color{blue}{\left(\left(i \cdot k\right) \cdot \left(y1 \cdot z\right)\right)} \]
      2. associate-*r*34.9%

        \[\leadsto -1 \cdot \color{blue}{\left(\left(\left(i \cdot k\right) \cdot y1\right) \cdot z\right)} \]
    9. Simplified34.9%

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

    if 6.3999999999999999e-15 < b < 5.50000000000000004e254

    1. Initial program 20.6%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 45.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 y4 around inf 47.5%

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

    if 5.50000000000000004e254 < b < 2.40000000000000012e292

    1. Initial program 58.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 75.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 y0 around inf 59.6%

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

    if 2.40000000000000012e292 < b

    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 75.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 0 100.0%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg100.0%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*100.0%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified100.0%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in y4 around inf 75.4%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -5 \cdot 10^{+159}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;b \leq 1.12 \cdot 10^{-237}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;b \leq 4 \cdot 10^{-96}:\\ \;\;\;\;z \cdot \left(\left(i \cdot k\right) \cdot \left(-y1\right)\right)\\ \mathbf{elif}\;b \leq 6.4 \cdot 10^{-15}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;b \leq 5.5 \cdot 10^{+254}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;b \leq 2.4 \cdot 10^{+292}:\\ \;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 31: 30.7% accurate, 2.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -2.6 \cdot 10^{+159}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;b \leq -122:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;b \leq -2.1 \cdot 10^{-261}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;b \leq 1.6 \cdot 10^{-88}:\\ \;\;\;\;c \cdot \left(y2 \cdot \left(x \cdot y0 - t \cdot y4\right)\right)\\ \mathbf{elif}\;b \leq 8.5 \cdot 10^{-9}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{elif}\;b \leq 7 \cdot 10^{+76}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \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
 (if (<= b -2.6e+159)
   (* a (* b (- (* x y) (* z t))))
   (if (<= b -122.0)
     (* c (* y0 (- (* x y2) (* z y3))))
     (if (<= b -2.1e-261)
       (* c (* t (- (* z i) (* y2 y4))))
       (if (<= b 1.6e-88)
         (* c (* y2 (- (* x y0) (* t y4))))
         (if (<= b 8.5e-9)
           (* c (* y (* y3 y4)))
           (if (<= b 7e+76)
             (* b (* y4 (- (* t j) (* y k))))
             (* 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 tmp;
	if (b <= -2.6e+159) {
		tmp = a * (b * ((x * y) - (z * t)));
	} else if (b <= -122.0) {
		tmp = c * (y0 * ((x * y2) - (z * y3)));
	} else if (b <= -2.1e-261) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (b <= 1.6e-88) {
		tmp = c * (y2 * ((x * y0) - (t * y4)));
	} else if (b <= 8.5e-9) {
		tmp = c * (y * (y3 * y4));
	} else if (b <= 7e+76) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} 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) :: tmp
    if (b <= (-2.6d+159)) then
        tmp = a * (b * ((x * y) - (z * t)))
    else if (b <= (-122.0d0)) then
        tmp = c * (y0 * ((x * y2) - (z * y3)))
    else if (b <= (-2.1d-261)) then
        tmp = c * (t * ((z * i) - (y2 * y4)))
    else if (b <= 1.6d-88) then
        tmp = c * (y2 * ((x * y0) - (t * y4)))
    else if (b <= 8.5d-9) then
        tmp = c * (y * (y3 * y4))
    else if (b <= 7d+76) then
        tmp = b * (y4 * ((t * j) - (y * k)))
    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 tmp;
	if (b <= -2.6e+159) {
		tmp = a * (b * ((x * y) - (z * t)));
	} else if (b <= -122.0) {
		tmp = c * (y0 * ((x * y2) - (z * y3)));
	} else if (b <= -2.1e-261) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (b <= 1.6e-88) {
		tmp = c * (y2 * ((x * y0) - (t * y4)));
	} else if (b <= 8.5e-9) {
		tmp = c * (y * (y3 * y4));
	} else if (b <= 7e+76) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} 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):
	tmp = 0
	if b <= -2.6e+159:
		tmp = a * (b * ((x * y) - (z * t)))
	elif b <= -122.0:
		tmp = c * (y0 * ((x * y2) - (z * y3)))
	elif b <= -2.1e-261:
		tmp = c * (t * ((z * i) - (y2 * y4)))
	elif b <= 1.6e-88:
		tmp = c * (y2 * ((x * y0) - (t * y4)))
	elif b <= 8.5e-9:
		tmp = c * (y * (y3 * y4))
	elif b <= 7e+76:
		tmp = b * (y4 * ((t * j) - (y * k)))
	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)
	tmp = 0.0
	if (b <= -2.6e+159)
		tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t))));
	elseif (b <= -122.0)
		tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))));
	elseif (b <= -2.1e-261)
		tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4))));
	elseif (b <= 1.6e-88)
		tmp = Float64(c * Float64(y2 * Float64(Float64(x * y0) - Float64(t * y4))));
	elseif (b <= 8.5e-9)
		tmp = Float64(c * Float64(y * Float64(y3 * y4)));
	elseif (b <= 7e+76)
		tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k))));
	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)
	tmp = 0.0;
	if (b <= -2.6e+159)
		tmp = a * (b * ((x * y) - (z * t)));
	elseif (b <= -122.0)
		tmp = c * (y0 * ((x * y2) - (z * y3)));
	elseif (b <= -2.1e-261)
		tmp = c * (t * ((z * i) - (y2 * y4)));
	elseif (b <= 1.6e-88)
		tmp = c * (y2 * ((x * y0) - (t * y4)));
	elseif (b <= 8.5e-9)
		tmp = c * (y * (y3 * y4));
	elseif (b <= 7e+76)
		tmp = b * (y4 * ((t * j) - (y * k)));
	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_] := If[LessEqual[b, -2.6e+159], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -122.0], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -2.1e-261], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.6e-88], N[(c * N[(y2 * N[(N[(x * y0), $MachinePrecision] - N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 8.5e-9], N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 7e+76], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;b \leq -2.6 \cdot 10^{+159}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\

\mathbf{elif}\;b \leq -122:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\

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

\mathbf{elif}\;b \leq 1.6 \cdot 10^{-88}:\\
\;\;\;\;c \cdot \left(y2 \cdot \left(x \cdot y0 - t \cdot y4\right)\right)\\

\mathbf{elif}\;b \leq 8.5 \cdot 10^{-9}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\

\mathbf{elif}\;b \leq 7 \cdot 10^{+76}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\

\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 b < -2.6e159

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

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

    if -2.6e159 < b < -122

    1. Initial program 21.7%

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

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

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

    if -122 < b < -2.09999999999999996e-261

    1. Initial program 32.8%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in t around inf 41.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 41.5%

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

    if -2.09999999999999996e-261 < b < 1.60000000000000006e-88

    1. Initial program 19.1%

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

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

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

    if 1.60000000000000006e-88 < b < 8.5e-9

    1. Initial program 25.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 y around inf 31.5%

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

      \[\leadsto \color{blue}{y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\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 57.0%

      \[\leadsto \color{blue}{c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)} \]
    6. Step-by-step derivation
      1. *-commutative57.0%

        \[\leadsto c \cdot \left(y \cdot \color{blue}{\left(y4 \cdot y3\right)}\right) \]
    7. Simplified57.0%

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

    if 8.5e-9 < b < 7.00000000000000001e76

    1. Initial program 27.7%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 46.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 y4 around inf 46.8%

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

    if 7.00000000000000001e76 < b

    1. Initial program 27.7%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in t around inf 57.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 j around inf 51.5%

      \[\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.0%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -2.6 \cdot 10^{+159}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\ \mathbf{elif}\;b \leq -122:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\ \mathbf{elif}\;b \leq -2.1 \cdot 10^{-261}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;b \leq 1.6 \cdot 10^{-88}:\\ \;\;\;\;c \cdot \left(y2 \cdot \left(x \cdot y0 - t \cdot y4\right)\right)\\ \mathbf{elif}\;b \leq 8.5 \cdot 10^{-9}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{elif}\;b \leq 7 \cdot 10^{+76}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 32: 29.9% accurate, 2.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y \leq -1 \cdot 10^{+102}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;y \leq -6.2 \cdot 10^{+27}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\ \mathbf{elif}\;y \leq -6.4 \cdot 10^{-239}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;y \leq 10^{-248}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \mathbf{elif}\;y \leq 2.3 \cdot 10^{-133}:\\ \;\;\;\;y0 \cdot \left(k \cdot \left(y5 \cdot \left(-y2\right)\right)\right)\\ \mathbf{elif}\;y \leq 5.7 \cdot 10^{+72}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\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 (<= y -1e+102)
   (* b (* y4 (- (* t j) (* y k))))
   (if (<= y -6.2e+27)
     (* y (* y3 (- (* c y4) (* a y5))))
     (if (<= y -6.4e-239)
       (* c (* t (- (* z i) (* y2 y4))))
       (if (<= y 1e-248)
         (* j (* t (- (* b y4) (* i y5))))
         (if (<= y 2.3e-133)
           (* y0 (* k (* y5 (- y2))))
           (if (<= y 5.7e+72)
             (* t (* y2 (- (* a y5) (* c y4))))
             (* x (* y (- (* a b) (* c i)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (y <= -1e+102) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} else if (y <= -6.2e+27) {
		tmp = y * (y3 * ((c * y4) - (a * y5)));
	} else if (y <= -6.4e-239) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (y <= 1e-248) {
		tmp = j * (t * ((b * y4) - (i * y5)));
	} else if (y <= 2.3e-133) {
		tmp = y0 * (k * (y5 * -y2));
	} else if (y <= 5.7e+72) {
		tmp = t * (y2 * ((a * y5) - (c * y4)));
	} else {
		tmp = x * (y * ((a * b) - (c * i)));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: tmp
    if (y <= (-1d+102)) then
        tmp = b * (y4 * ((t * j) - (y * k)))
    else if (y <= (-6.2d+27)) then
        tmp = y * (y3 * ((c * y4) - (a * y5)))
    else if (y <= (-6.4d-239)) then
        tmp = c * (t * ((z * i) - (y2 * y4)))
    else if (y <= 1d-248) then
        tmp = j * (t * ((b * y4) - (i * y5)))
    else if (y <= 2.3d-133) then
        tmp = y0 * (k * (y5 * -y2))
    else if (y <= 5.7d+72) then
        tmp = t * (y2 * ((a * y5) - (c * y4)))
    else
        tmp = x * (y * ((a * b) - (c * i)))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (y <= -1e+102) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} else if (y <= -6.2e+27) {
		tmp = y * (y3 * ((c * y4) - (a * y5)));
	} else if (y <= -6.4e-239) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (y <= 1e-248) {
		tmp = j * (t * ((b * y4) - (i * y5)));
	} else if (y <= 2.3e-133) {
		tmp = y0 * (k * (y5 * -y2));
	} else if (y <= 5.7e+72) {
		tmp = t * (y2 * ((a * y5) - (c * y4)));
	} else {
		tmp = x * (y * ((a * b) - (c * i)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if y <= -1e+102:
		tmp = b * (y4 * ((t * j) - (y * k)))
	elif y <= -6.2e+27:
		tmp = y * (y3 * ((c * y4) - (a * y5)))
	elif y <= -6.4e-239:
		tmp = c * (t * ((z * i) - (y2 * y4)))
	elif y <= 1e-248:
		tmp = j * (t * ((b * y4) - (i * y5)))
	elif y <= 2.3e-133:
		tmp = y0 * (k * (y5 * -y2))
	elif y <= 5.7e+72:
		tmp = t * (y2 * ((a * y5) - (c * y4)))
	else:
		tmp = x * (y * ((a * b) - (c * i)))
	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 <= -1e+102)
		tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k))));
	elseif (y <= -6.2e+27)
		tmp = Float64(y * Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5))));
	elseif (y <= -6.4e-239)
		tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4))));
	elseif (y <= 1e-248)
		tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5))));
	elseif (y <= 2.3e-133)
		tmp = Float64(y0 * Float64(k * Float64(y5 * Float64(-y2))));
	elseif (y <= 5.7e+72)
		tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4))));
	else
		tmp = Float64(x * Float64(y * Float64(Float64(a * b) - Float64(c * i))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0;
	if (y <= -1e+102)
		tmp = b * (y4 * ((t * j) - (y * k)));
	elseif (y <= -6.2e+27)
		tmp = y * (y3 * ((c * y4) - (a * y5)));
	elseif (y <= -6.4e-239)
		tmp = c * (t * ((z * i) - (y2 * y4)));
	elseif (y <= 1e-248)
		tmp = j * (t * ((b * y4) - (i * y5)));
	elseif (y <= 2.3e-133)
		tmp = y0 * (k * (y5 * -y2));
	elseif (y <= 5.7e+72)
		tmp = t * (y2 * ((a * y5) - (c * y4)));
	else
		tmp = x * (y * ((a * b) - (c * i)));
	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, -1e+102], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -6.2e+27], N[(y * N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -6.4e-239], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1e-248], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2.3e-133], N[(y0 * N[(k * N[(y5 * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 5.7e+72], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;y \leq -1 \cdot 10^{+102}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\

\mathbf{elif}\;y \leq -6.2 \cdot 10^{+27}:\\
\;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\

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

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

\mathbf{elif}\;y \leq 2.3 \cdot 10^{-133}:\\
\;\;\;\;y0 \cdot \left(k \cdot \left(y5 \cdot \left(-y2\right)\right)\right)\\

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

\mathbf{else}:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if y < -9.99999999999999977e101

    1. Initial program 17.9%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 46.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 y4 around inf 56.9%

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

    if -9.99999999999999977e101 < y < -6.19999999999999992e27

    1. Initial program 18.8%

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

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

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

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

    if -6.19999999999999992e27 < y < -6.3999999999999998e-239

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

      \[\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 47.5%

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

    if -6.3999999999999998e-239 < y < 9.9999999999999998e-249

    1. Initial program 23.1%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in t around inf 50.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 j around inf 47.5%

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

    if 9.9999999999999998e-249 < y < 2.3e-133

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

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

      \[\leadsto \color{blue}{-1 \cdot \left(y0 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right)} \]
    5. Taylor expanded in k around inf 44.6%

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

    if 2.3e-133 < y < 5.6999999999999997e72

    1. Initial program 25.1%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in t around inf 49.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 y2 around inf 45.2%

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

    if 5.6999999999999997e72 < y

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -1 \cdot 10^{+102}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;y \leq -6.2 \cdot 10^{+27}:\\ \;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\ \mathbf{elif}\;y \leq -6.4 \cdot 10^{-239}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;y \leq 10^{-248}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \mathbf{elif}\;y \leq 2.3 \cdot 10^{-133}:\\ \;\;\;\;y0 \cdot \left(k \cdot \left(y5 \cdot \left(-y2\right)\right)\right)\\ \mathbf{elif}\;y \leq 5.7 \cdot 10^{+72}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 33: 22.4% accurate, 2.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(i \cdot \left(z \cdot t\right)\right)\\ t_2 := c \cdot \left(y4 \cdot \left(t \cdot \left(-y2\right)\right)\right)\\ \mathbf{if}\;z \leq -4.5 \cdot 10^{+125}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq -1.85 \cdot 10^{-28}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\ \mathbf{elif}\;z \leq 7.8 \cdot 10^{-267}:\\ \;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j\right)\right)\\ \mathbf{elif}\;z \leq 7 \cdot 10^{-222}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;z \leq 6 \cdot 10^{-141}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{elif}\;z \leq 2.5 \cdot 10^{+72}:\\ \;\;\;\;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 (* c (* i (* z t)))) (t_2 (* c (* y4 (* t (- y2))))))
   (if (<= z -4.5e+125)
     t_1
     (if (<= z -1.85e-28)
       (* a (* y (* x b)))
       (if (<= z 7.8e-267)
         (* t (* y4 (* b j)))
         (if (<= z 7e-222)
           t_2
           (if (<= z 6e-141)
             (* c (* y (* y3 y4)))
             (if (<= z 2.5e+72) t_2 t_1))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = c * (i * (z * t));
	double t_2 = c * (y4 * (t * -y2));
	double tmp;
	if (z <= -4.5e+125) {
		tmp = t_1;
	} else if (z <= -1.85e-28) {
		tmp = a * (y * (x * b));
	} else if (z <= 7.8e-267) {
		tmp = t * (y4 * (b * j));
	} else if (z <= 7e-222) {
		tmp = t_2;
	} else if (z <= 6e-141) {
		tmp = c * (y * (y3 * y4));
	} else if (z <= 2.5e+72) {
		tmp = t_2;
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = c * (i * (z * t))
    t_2 = c * (y4 * (t * -y2))
    if (z <= (-4.5d+125)) then
        tmp = t_1
    else if (z <= (-1.85d-28)) then
        tmp = a * (y * (x * b))
    else if (z <= 7.8d-267) then
        tmp = t * (y4 * (b * j))
    else if (z <= 7d-222) then
        tmp = t_2
    else if (z <= 6d-141) then
        tmp = c * (y * (y3 * y4))
    else if (z <= 2.5d+72) then
        tmp = t_2
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = c * (i * (z * t));
	double t_2 = c * (y4 * (t * -y2));
	double tmp;
	if (z <= -4.5e+125) {
		tmp = t_1;
	} else if (z <= -1.85e-28) {
		tmp = a * (y * (x * b));
	} else if (z <= 7.8e-267) {
		tmp = t * (y4 * (b * j));
	} else if (z <= 7e-222) {
		tmp = t_2;
	} else if (z <= 6e-141) {
		tmp = c * (y * (y3 * y4));
	} else if (z <= 2.5e+72) {
		tmp = t_2;
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = c * (i * (z * t))
	t_2 = c * (y4 * (t * -y2))
	tmp = 0
	if z <= -4.5e+125:
		tmp = t_1
	elif z <= -1.85e-28:
		tmp = a * (y * (x * b))
	elif z <= 7.8e-267:
		tmp = t * (y4 * (b * j))
	elif z <= 7e-222:
		tmp = t_2
	elif z <= 6e-141:
		tmp = c * (y * (y3 * y4))
	elif z <= 2.5e+72:
		tmp = t_2
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(c * Float64(i * Float64(z * t)))
	t_2 = Float64(c * Float64(y4 * Float64(t * Float64(-y2))))
	tmp = 0.0
	if (z <= -4.5e+125)
		tmp = t_1;
	elseif (z <= -1.85e-28)
		tmp = Float64(a * Float64(y * Float64(x * b)));
	elseif (z <= 7.8e-267)
		tmp = Float64(t * Float64(y4 * Float64(b * j)));
	elseif (z <= 7e-222)
		tmp = t_2;
	elseif (z <= 6e-141)
		tmp = Float64(c * Float64(y * Float64(y3 * y4)));
	elseif (z <= 2.5e+72)
		tmp = t_2;
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = c * (i * (z * t));
	t_2 = c * (y4 * (t * -y2));
	tmp = 0.0;
	if (z <= -4.5e+125)
		tmp = t_1;
	elseif (z <= -1.85e-28)
		tmp = a * (y * (x * b));
	elseif (z <= 7.8e-267)
		tmp = t * (y4 * (b * j));
	elseif (z <= 7e-222)
		tmp = t_2;
	elseif (z <= 6e-141)
		tmp = c * (y * (y3 * y4));
	elseif (z <= 2.5e+72)
		tmp = t_2;
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(c * N[(i * N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(c * N[(y4 * N[(t * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -4.5e+125], t$95$1, If[LessEqual[z, -1.85e-28], N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 7.8e-267], N[(t * N[(y4 * N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 7e-222], t$95$2, If[LessEqual[z, 6e-141], N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.5e+72], t$95$2, t$95$1]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := c \cdot \left(i \cdot \left(z \cdot t\right)\right)\\
t_2 := c \cdot \left(y4 \cdot \left(t \cdot \left(-y2\right)\right)\right)\\
\mathbf{if}\;z \leq -4.5 \cdot 10^{+125}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;z \leq -1.85 \cdot 10^{-28}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\

\mathbf{elif}\;z \leq 7.8 \cdot 10^{-267}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j\right)\right)\\

\mathbf{elif}\;z \leq 7 \cdot 10^{-222}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;z \leq 6 \cdot 10^{-141}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\

\mathbf{elif}\;z \leq 2.5 \cdot 10^{+72}:\\
\;\;\;\;t\_2\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if z < -4.5e125 or 2.49999999999999996e72 < z

    1. Initial program 27.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 44.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 c around 0 45.4%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg45.4%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*44.4%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified44.4%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in c around inf 38.0%

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

    if -4.5e125 < z < -1.8500000000000001e-28

    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 b around inf 47.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 43.8%

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

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

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

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

    if -1.8500000000000001e-28 < z < 7.79999999999999954e-267

    1. Initial program 25.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 45.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 z around 0 42.5%

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

      \[\leadsto t \cdot \color{blue}{\left(b \cdot \left(j \cdot y4\right)\right)} \]
    6. Step-by-step derivation
      1. associate-*r*35.9%

        \[\leadsto t \cdot \color{blue}{\left(\left(b \cdot j\right) \cdot y4\right)} \]
      2. *-commutative35.9%

        \[\leadsto t \cdot \left(\color{blue}{\left(j \cdot b\right)} \cdot y4\right) \]
    7. Simplified35.9%

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

    if 7.79999999999999954e-267 < z < 7.00000000000000049e-222 or 5.99999999999999967e-141 < z < 2.49999999999999996e72

    1. Initial program 16.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 47.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 z around 0 44.3%

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

      \[\leadsto \color{blue}{-1 \cdot \left(c \cdot \left(t \cdot \left(y2 \cdot y4\right)\right)\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg28.7%

        \[\leadsto \color{blue}{-c \cdot \left(t \cdot \left(y2 \cdot y4\right)\right)} \]
      2. distribute-rgt-neg-in28.7%

        \[\leadsto \color{blue}{c \cdot \left(-t \cdot \left(y2 \cdot y4\right)\right)} \]
      3. associate-*r*30.5%

        \[\leadsto c \cdot \left(-\color{blue}{\left(t \cdot y2\right) \cdot y4}\right) \]
      4. distribute-rgt-neg-in30.5%

        \[\leadsto c \cdot \color{blue}{\left(\left(t \cdot y2\right) \cdot \left(-y4\right)\right)} \]
    7. Simplified30.5%

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

    if 7.00000000000000049e-222 < z < 5.99999999999999967e-141

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

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

      \[\leadsto \color{blue}{y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\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.0%

      \[\leadsto \color{blue}{c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)} \]
    6. Step-by-step derivation
      1. *-commutative41.0%

        \[\leadsto c \cdot \left(y \cdot \color{blue}{\left(y4 \cdot y3\right)}\right) \]
    7. Simplified41.0%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -4.5 \cdot 10^{+125}:\\ \;\;\;\;c \cdot \left(i \cdot \left(z \cdot t\right)\right)\\ \mathbf{elif}\;z \leq -1.85 \cdot 10^{-28}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\ \mathbf{elif}\;z \leq 7.8 \cdot 10^{-267}:\\ \;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j\right)\right)\\ \mathbf{elif}\;z \leq 7 \cdot 10^{-222}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(t \cdot \left(-y2\right)\right)\right)\\ \mathbf{elif}\;z \leq 6 \cdot 10^{-141}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{elif}\;z \leq 2.5 \cdot 10^{+72}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(t \cdot \left(-y2\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(i \cdot \left(z \cdot t\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 34: 22.9% accurate, 2.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -7 \cdot 10^{+125}:\\ \;\;\;\;c \cdot \left(i \cdot \left(z \cdot t\right)\right)\\ \mathbf{elif}\;z \leq -1.85 \cdot 10^{-28}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\ \mathbf{elif}\;z \leq 8.8 \cdot 10^{-253}:\\ \;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j\right)\right)\\ \mathbf{elif}\;z \leq 8.5 \cdot 10^{-221}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(t \cdot \left(-y2\right)\right)\right)\\ \mathbf{elif}\;z \leq 3.4 \cdot 10^{-145}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{elif}\;z \leq 3.6 \cdot 10^{-6}:\\ \;\;\;\;x \cdot \left(y \cdot \left(c \cdot \left(-i\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;i \cdot \left(k \cdot \left(z \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
 (if (<= z -7e+125)
   (* c (* i (* z t)))
   (if (<= z -1.85e-28)
     (* a (* y (* x b)))
     (if (<= z 8.8e-253)
       (* t (* y4 (* b j)))
       (if (<= z 8.5e-221)
         (* c (* y4 (* t (- y2))))
         (if (<= z 3.4e-145)
           (* c (* y (* y3 y4)))
           (if (<= z 3.6e-6)
             (* x (* y (* c (- i))))
             (* i (* k (* z (- y1)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (z <= -7e+125) {
		tmp = c * (i * (z * t));
	} else if (z <= -1.85e-28) {
		tmp = a * (y * (x * b));
	} else if (z <= 8.8e-253) {
		tmp = t * (y4 * (b * j));
	} else if (z <= 8.5e-221) {
		tmp = c * (y4 * (t * -y2));
	} else if (z <= 3.4e-145) {
		tmp = c * (y * (y3 * y4));
	} else if (z <= 3.6e-6) {
		tmp = x * (y * (c * -i));
	} else {
		tmp = i * (k * (z * -y1));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: tmp
    if (z <= (-7d+125)) then
        tmp = c * (i * (z * t))
    else if (z <= (-1.85d-28)) then
        tmp = a * (y * (x * b))
    else if (z <= 8.8d-253) then
        tmp = t * (y4 * (b * j))
    else if (z <= 8.5d-221) then
        tmp = c * (y4 * (t * -y2))
    else if (z <= 3.4d-145) then
        tmp = c * (y * (y3 * y4))
    else if (z <= 3.6d-6) then
        tmp = x * (y * (c * -i))
    else
        tmp = i * (k * (z * -y1))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (z <= -7e+125) {
		tmp = c * (i * (z * t));
	} else if (z <= -1.85e-28) {
		tmp = a * (y * (x * b));
	} else if (z <= 8.8e-253) {
		tmp = t * (y4 * (b * j));
	} else if (z <= 8.5e-221) {
		tmp = c * (y4 * (t * -y2));
	} else if (z <= 3.4e-145) {
		tmp = c * (y * (y3 * y4));
	} else if (z <= 3.6e-6) {
		tmp = x * (y * (c * -i));
	} else {
		tmp = i * (k * (z * -y1));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if z <= -7e+125:
		tmp = c * (i * (z * t))
	elif z <= -1.85e-28:
		tmp = a * (y * (x * b))
	elif z <= 8.8e-253:
		tmp = t * (y4 * (b * j))
	elif z <= 8.5e-221:
		tmp = c * (y4 * (t * -y2))
	elif z <= 3.4e-145:
		tmp = c * (y * (y3 * y4))
	elif z <= 3.6e-6:
		tmp = x * (y * (c * -i))
	else:
		tmp = i * (k * (z * -y1))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (z <= -7e+125)
		tmp = Float64(c * Float64(i * Float64(z * t)));
	elseif (z <= -1.85e-28)
		tmp = Float64(a * Float64(y * Float64(x * b)));
	elseif (z <= 8.8e-253)
		tmp = Float64(t * Float64(y4 * Float64(b * j)));
	elseif (z <= 8.5e-221)
		tmp = Float64(c * Float64(y4 * Float64(t * Float64(-y2))));
	elseif (z <= 3.4e-145)
		tmp = Float64(c * Float64(y * Float64(y3 * y4)));
	elseif (z <= 3.6e-6)
		tmp = Float64(x * Float64(y * Float64(c * Float64(-i))));
	else
		tmp = Float64(i * Float64(k * Float64(z * 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)
	tmp = 0.0;
	if (z <= -7e+125)
		tmp = c * (i * (z * t));
	elseif (z <= -1.85e-28)
		tmp = a * (y * (x * b));
	elseif (z <= 8.8e-253)
		tmp = t * (y4 * (b * j));
	elseif (z <= 8.5e-221)
		tmp = c * (y4 * (t * -y2));
	elseif (z <= 3.4e-145)
		tmp = c * (y * (y3 * y4));
	elseif (z <= 3.6e-6)
		tmp = x * (y * (c * -i));
	else
		tmp = i * (k * (z * -y1));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[z, -7e+125], N[(c * N[(i * N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.85e-28], N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 8.8e-253], N[(t * N[(y4 * N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 8.5e-221], N[(c * N[(y4 * N[(t * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.4e-145], N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.6e-6], N[(x * N[(y * N[(c * (-i)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(k * N[(z * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;z \leq -7 \cdot 10^{+125}:\\
\;\;\;\;c \cdot \left(i \cdot \left(z \cdot t\right)\right)\\

\mathbf{elif}\;z \leq -1.85 \cdot 10^{-28}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\

\mathbf{elif}\;z \leq 8.8 \cdot 10^{-253}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j\right)\right)\\

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

\mathbf{elif}\;z \leq 3.4 \cdot 10^{-145}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\

\mathbf{elif}\;z \leq 3.6 \cdot 10^{-6}:\\
\;\;\;\;x \cdot \left(y \cdot \left(c \cdot \left(-i\right)\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if z < -7.00000000000000023e125

    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 t around inf 43.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 c around 0 51.9%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg51.9%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*48.9%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified48.9%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in c around inf 46.8%

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

    if -7.00000000000000023e125 < z < -1.8500000000000001e-28

    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 b around inf 47.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 43.8%

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

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

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

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

    if -1.8500000000000001e-28 < z < 8.79999999999999983e-253

    1. Initial program 25.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 45.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 z around 0 42.5%

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

      \[\leadsto t \cdot \color{blue}{\left(b \cdot \left(j \cdot y4\right)\right)} \]
    6. Step-by-step derivation
      1. associate-*r*35.9%

        \[\leadsto t \cdot \color{blue}{\left(\left(b \cdot j\right) \cdot y4\right)} \]
      2. *-commutative35.9%

        \[\leadsto t \cdot \left(\color{blue}{\left(j \cdot b\right)} \cdot y4\right) \]
    7. Simplified35.9%

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

    if 8.79999999999999983e-253 < z < 8.49999999999999984e-221

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

      \[\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 0 42.9%

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

      \[\leadsto \color{blue}{-1 \cdot \left(c \cdot \left(t \cdot \left(y2 \cdot y4\right)\right)\right)} \]
    6. Step-by-step derivation
      1. mul-1-neg58.3%

        \[\leadsto \color{blue}{-c \cdot \left(t \cdot \left(y2 \cdot y4\right)\right)} \]
      2. distribute-rgt-neg-in58.3%

        \[\leadsto \color{blue}{c \cdot \left(-t \cdot \left(y2 \cdot y4\right)\right)} \]
      3. associate-*r*58.3%

        \[\leadsto c \cdot \left(-\color{blue}{\left(t \cdot y2\right) \cdot y4}\right) \]
      4. distribute-rgt-neg-in58.3%

        \[\leadsto c \cdot \color{blue}{\left(\left(t \cdot y2\right) \cdot \left(-y4\right)\right)} \]
    7. Simplified58.3%

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

    if 8.49999999999999984e-221 < z < 3.3999999999999999e-145

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

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

      \[\leadsto \color{blue}{y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\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 42.0%

      \[\leadsto \color{blue}{c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)} \]
    6. Step-by-step derivation
      1. *-commutative42.0%

        \[\leadsto c \cdot \left(y \cdot \color{blue}{\left(y4 \cdot y3\right)}\right) \]
    7. Simplified42.0%

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

    if 3.3999999999999999e-145 < z < 3.59999999999999984e-6

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

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

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

      \[\leadsto x \cdot \left(y \cdot \color{blue}{\left(-1 \cdot \left(c \cdot i\right)\right)}\right) \]
    6. Step-by-step derivation
      1. neg-mul-128.3%

        \[\leadsto x \cdot \left(y \cdot \color{blue}{\left(-c \cdot i\right)}\right) \]
      2. distribute-lft-neg-in28.3%

        \[\leadsto x \cdot \left(y \cdot \color{blue}{\left(\left(-c\right) \cdot i\right)}\right) \]
      3. *-commutative28.3%

        \[\leadsto x \cdot \left(y \cdot \color{blue}{\left(i \cdot \left(-c\right)\right)}\right) \]
    7. Simplified28.3%

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

    if 3.59999999999999984e-6 < z

    1. Initial program 25.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 47.9%

      \[\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 41.7%

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

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

      \[\leadsto -1 \cdot \color{blue}{\left(\left(i \cdot y1\right) \cdot \left(k \cdot z - j \cdot x\right)\right)} \]
    7. Taylor expanded in k around inf 43.3%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -7 \cdot 10^{+125}:\\ \;\;\;\;c \cdot \left(i \cdot \left(z \cdot t\right)\right)\\ \mathbf{elif}\;z \leq -1.85 \cdot 10^{-28}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\ \mathbf{elif}\;z \leq 8.8 \cdot 10^{-253}:\\ \;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j\right)\right)\\ \mathbf{elif}\;z \leq 8.5 \cdot 10^{-221}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(t \cdot \left(-y2\right)\right)\right)\\ \mathbf{elif}\;z \leq 3.4 \cdot 10^{-145}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{elif}\;z \leq 3.6 \cdot 10^{-6}:\\ \;\;\;\;x \cdot \left(y \cdot \left(c \cdot \left(-i\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;i \cdot \left(k \cdot \left(z \cdot \left(-y1\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 35: 22.4% accurate, 2.6× speedup?

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

\\
\begin{array}{l}
t_1 := c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\
\mathbf{if}\;y4 \leq -2.2 \cdot 10^{+86}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y4 \leq -2.35 \cdot 10^{-203}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5\right)\right)\\

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

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

\mathbf{elif}\;y4 \leq 2.4 \cdot 10^{+171}:\\
\;\;\;\;t \cdot \left(b \cdot \left(j \cdot y4\right)\right)\\

\mathbf{elif}\;y4 \leq 4.2 \cdot 10^{+237}:\\
\;\;\;\;t\_1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if y4 < -2.20000000000000003e86 or 2.39999999999999998e171 < y4 < 4.20000000000000029e237

    1. Initial program 13.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 29.3%

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

      \[\leadsto \color{blue}{y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\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.3%

      \[\leadsto \color{blue}{c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)} \]
    6. Step-by-step derivation
      1. *-commutative39.3%

        \[\leadsto c \cdot \left(y \cdot \color{blue}{\left(y4 \cdot y3\right)}\right) \]
    7. Simplified39.3%

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

    if -2.20000000000000003e86 < y4 < -2.35000000000000003e-203

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

      \[\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 29.7%

      \[\leadsto \color{blue}{t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)} \]
    5. Taylor expanded in a around inf 24.0%

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

    if -2.35000000000000003e-203 < y4 < 3.00000000000000018e-140

    1. Initial program 31.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 45.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 c around 0 44.4%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg44.4%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*44.4%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified44.4%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in c around inf 29.8%

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

    if 3.00000000000000018e-140 < y4 < 1.10000000000000003e38

    1. Initial program 40.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 36.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 c around 0 32.9%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg32.9%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*28.8%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified28.8%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in y2 around inf 29.4%

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

    if 1.10000000000000003e38 < y4 < 2.39999999999999998e171

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

      \[\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 0 53.3%

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

      \[\leadsto t \cdot \color{blue}{\left(b \cdot \left(j \cdot y4\right)\right)} \]
    6. Step-by-step derivation
      1. *-commutative48.4%

        \[\leadsto t \cdot \left(b \cdot \color{blue}{\left(y4 \cdot j\right)}\right) \]
    7. Simplified48.4%

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

    if 4.20000000000000029e237 < y4

    1. Initial program 11.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 64.7%

      \[\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 0 76.5%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg76.5%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*76.5%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified76.5%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in y4 around inf 70.7%

      \[\leadsto \color{blue}{b \cdot \left(j \cdot \left(t \cdot y4\right)\right)} \]
  3. Recombined 6 regimes into one program.
  4. Final simplification36.1%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y4 \leq -2.2 \cdot 10^{+86}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{elif}\;y4 \leq -2.35 \cdot 10^{-203}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5\right)\right)\\ \mathbf{elif}\;y4 \leq 3 \cdot 10^{-140}:\\ \;\;\;\;c \cdot \left(i \cdot \left(z \cdot t\right)\right)\\ \mathbf{elif}\;y4 \leq 1.1 \cdot 10^{+38}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\ \mathbf{elif}\;y4 \leq 2.4 \cdot 10^{+171}:\\ \;\;\;\;t \cdot \left(b \cdot \left(j \cdot y4\right)\right)\\ \mathbf{elif}\;y4 \leq 4.2 \cdot 10^{+237}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 36: 28.0% accurate, 2.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y \leq -9 \cdot 10^{+105}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;y \leq -2.75 \cdot 10^{-233}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;y \leq 1.05 \cdot 10^{-248}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \mathbf{elif}\;y \leq 5.2 \cdot 10^{-132}:\\ \;\;\;\;y0 \cdot \left(k \cdot \left(y5 \cdot \left(-y2\right)\right)\right)\\ \mathbf{elif}\;y \leq 2.4 \cdot 10^{+74}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(\left(x \cdot y\right) \cdot \left(-i\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 (<= y -9e+105)
   (* b (* y4 (- (* t j) (* y k))))
   (if (<= y -2.75e-233)
     (* c (* t (- (* z i) (* y2 y4))))
     (if (<= y 1.05e-248)
       (* j (* t (- (* b y4) (* i y5))))
       (if (<= y 5.2e-132)
         (* y0 (* k (* y5 (- y2))))
         (if (<= y 2.4e+74)
           (* t (* y2 (- (* a y5) (* c y4))))
           (* c (* (* x y) (- i)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (y <= -9e+105) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} else if (y <= -2.75e-233) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (y <= 1.05e-248) {
		tmp = j * (t * ((b * y4) - (i * y5)));
	} else if (y <= 5.2e-132) {
		tmp = y0 * (k * (y5 * -y2));
	} else if (y <= 2.4e+74) {
		tmp = t * (y2 * ((a * y5) - (c * y4)));
	} else {
		tmp = c * ((x * y) * -i);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: tmp
    if (y <= (-9d+105)) then
        tmp = b * (y4 * ((t * j) - (y * k)))
    else if (y <= (-2.75d-233)) then
        tmp = c * (t * ((z * i) - (y2 * y4)))
    else if (y <= 1.05d-248) then
        tmp = j * (t * ((b * y4) - (i * y5)))
    else if (y <= 5.2d-132) then
        tmp = y0 * (k * (y5 * -y2))
    else if (y <= 2.4d+74) then
        tmp = t * (y2 * ((a * y5) - (c * y4)))
    else
        tmp = c * ((x * y) * -i)
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (y <= -9e+105) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} else if (y <= -2.75e-233) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (y <= 1.05e-248) {
		tmp = j * (t * ((b * y4) - (i * y5)));
	} else if (y <= 5.2e-132) {
		tmp = y0 * (k * (y5 * -y2));
	} else if (y <= 2.4e+74) {
		tmp = t * (y2 * ((a * y5) - (c * y4)));
	} else {
		tmp = c * ((x * y) * -i);
	}
	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+105:
		tmp = b * (y4 * ((t * j) - (y * k)))
	elif y <= -2.75e-233:
		tmp = c * (t * ((z * i) - (y2 * y4)))
	elif y <= 1.05e-248:
		tmp = j * (t * ((b * y4) - (i * y5)))
	elif y <= 5.2e-132:
		tmp = y0 * (k * (y5 * -y2))
	elif y <= 2.4e+74:
		tmp = t * (y2 * ((a * y5) - (c * y4)))
	else:
		tmp = c * ((x * y) * -i)
	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+105)
		tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k))));
	elseif (y <= -2.75e-233)
		tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4))));
	elseif (y <= 1.05e-248)
		tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5))));
	elseif (y <= 5.2e-132)
		tmp = Float64(y0 * Float64(k * Float64(y5 * Float64(-y2))));
	elseif (y <= 2.4e+74)
		tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4))));
	else
		tmp = Float64(c * Float64(Float64(x * y) * Float64(-i)));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0;
	if (y <= -9e+105)
		tmp = b * (y4 * ((t * j) - (y * k)));
	elseif (y <= -2.75e-233)
		tmp = c * (t * ((z * i) - (y2 * y4)));
	elseif (y <= 1.05e-248)
		tmp = j * (t * ((b * y4) - (i * y5)));
	elseif (y <= 5.2e-132)
		tmp = y0 * (k * (y5 * -y2));
	elseif (y <= 2.4e+74)
		tmp = t * (y2 * ((a * y5) - (c * y4)));
	else
		tmp = c * ((x * y) * -i);
	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+105], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -2.75e-233], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.05e-248], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 5.2e-132], N[(y0 * N[(k * N[(y5 * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2.4e+74], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(N[(x * y), $MachinePrecision] * (-i)), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;y \leq -9 \cdot 10^{+105}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\

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

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

\mathbf{elif}\;y \leq 5.2 \cdot 10^{-132}:\\
\;\;\;\;y0 \cdot \left(k \cdot \left(y5 \cdot \left(-y2\right)\right)\right)\\

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

\mathbf{else}:\\
\;\;\;\;c \cdot \left(\left(x \cdot y\right) \cdot \left(-i\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if y < -9.0000000000000002e105

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

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

    if -9.0000000000000002e105 < y < -2.75000000000000002e-233

    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 t around inf 46.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 c around inf 41.6%

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

    if -2.75000000000000002e-233 < y < 1.05e-248

    1. Initial program 23.1%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in t around inf 50.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 j around inf 47.5%

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

    if 1.05e-248 < y < 5.2000000000000002e-132

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

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

      \[\leadsto \color{blue}{-1 \cdot \left(y0 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right)} \]
    5. Taylor expanded in k around inf 44.6%

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

    if 5.2000000000000002e-132 < y < 2.40000000000000008e74

    1. Initial program 25.1%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in t around inf 49.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 y2 around inf 45.2%

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

    if 2.40000000000000008e74 < y

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

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

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

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

        \[\leadsto \color{blue}{\left(-1 \cdot c\right) \cdot \left(i \cdot \left(x \cdot y\right)\right)} \]
      2. neg-mul-142.6%

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -9 \cdot 10^{+105}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;y \leq -2.75 \cdot 10^{-233}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;y \leq 1.05 \cdot 10^{-248}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \mathbf{elif}\;y \leq 5.2 \cdot 10^{-132}:\\ \;\;\;\;y0 \cdot \left(k \cdot \left(y5 \cdot \left(-y2\right)\right)\right)\\ \mathbf{elif}\;y \leq 2.4 \cdot 10^{+74}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(\left(x \cdot y\right) \cdot \left(-i\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 37: 30.2% accurate, 2.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y \leq -1.1 \cdot 10^{+106}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;y \leq -1.65 \cdot 10^{-237}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;y \leq 9.8 \cdot 10^{-249}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \mathbf{elif}\;y \leq 2.2 \cdot 10^{-133}:\\ \;\;\;\;y0 \cdot \left(k \cdot \left(y5 \cdot \left(-y2\right)\right)\right)\\ \mathbf{elif}\;y \leq 4.4 \cdot 10^{+75}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\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 (<= y -1.1e+106)
   (* b (* y4 (- (* t j) (* y k))))
   (if (<= y -1.65e-237)
     (* c (* t (- (* z i) (* y2 y4))))
     (if (<= y 9.8e-249)
       (* j (* t (- (* b y4) (* i y5))))
       (if (<= y 2.2e-133)
         (* y0 (* k (* y5 (- y2))))
         (if (<= y 4.4e+75)
           (* t (* y2 (- (* a y5) (* c y4))))
           (* x (* y (- (* a b) (* c i))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (y <= -1.1e+106) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} else if (y <= -1.65e-237) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (y <= 9.8e-249) {
		tmp = j * (t * ((b * y4) - (i * y5)));
	} else if (y <= 2.2e-133) {
		tmp = y0 * (k * (y5 * -y2));
	} else if (y <= 4.4e+75) {
		tmp = t * (y2 * ((a * y5) - (c * y4)));
	} else {
		tmp = x * (y * ((a * b) - (c * i)));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: tmp
    if (y <= (-1.1d+106)) then
        tmp = b * (y4 * ((t * j) - (y * k)))
    else if (y <= (-1.65d-237)) then
        tmp = c * (t * ((z * i) - (y2 * y4)))
    else if (y <= 9.8d-249) then
        tmp = j * (t * ((b * y4) - (i * y5)))
    else if (y <= 2.2d-133) then
        tmp = y0 * (k * (y5 * -y2))
    else if (y <= 4.4d+75) then
        tmp = t * (y2 * ((a * y5) - (c * y4)))
    else
        tmp = x * (y * ((a * b) - (c * i)))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (y <= -1.1e+106) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} else if (y <= -1.65e-237) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (y <= 9.8e-249) {
		tmp = j * (t * ((b * y4) - (i * y5)));
	} else if (y <= 2.2e-133) {
		tmp = y0 * (k * (y5 * -y2));
	} else if (y <= 4.4e+75) {
		tmp = t * (y2 * ((a * y5) - (c * y4)));
	} else {
		tmp = x * (y * ((a * b) - (c * i)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if y <= -1.1e+106:
		tmp = b * (y4 * ((t * j) - (y * k)))
	elif y <= -1.65e-237:
		tmp = c * (t * ((z * i) - (y2 * y4)))
	elif y <= 9.8e-249:
		tmp = j * (t * ((b * y4) - (i * y5)))
	elif y <= 2.2e-133:
		tmp = y0 * (k * (y5 * -y2))
	elif y <= 4.4e+75:
		tmp = t * (y2 * ((a * y5) - (c * y4)))
	else:
		tmp = x * (y * ((a * b) - (c * i)))
	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 <= -1.1e+106)
		tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k))));
	elseif (y <= -1.65e-237)
		tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4))));
	elseif (y <= 9.8e-249)
		tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5))));
	elseif (y <= 2.2e-133)
		tmp = Float64(y0 * Float64(k * Float64(y5 * Float64(-y2))));
	elseif (y <= 4.4e+75)
		tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4))));
	else
		tmp = Float64(x * Float64(y * Float64(Float64(a * b) - Float64(c * i))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0;
	if (y <= -1.1e+106)
		tmp = b * (y4 * ((t * j) - (y * k)));
	elseif (y <= -1.65e-237)
		tmp = c * (t * ((z * i) - (y2 * y4)));
	elseif (y <= 9.8e-249)
		tmp = j * (t * ((b * y4) - (i * y5)));
	elseif (y <= 2.2e-133)
		tmp = y0 * (k * (y5 * -y2));
	elseif (y <= 4.4e+75)
		tmp = t * (y2 * ((a * y5) - (c * y4)));
	else
		tmp = x * (y * ((a * b) - (c * i)));
	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, -1.1e+106], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -1.65e-237], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 9.8e-249], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2.2e-133], N[(y0 * N[(k * N[(y5 * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 4.4e+75], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.1 \cdot 10^{+106}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\

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

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

\mathbf{elif}\;y \leq 2.2 \cdot 10^{-133}:\\
\;\;\;\;y0 \cdot \left(k \cdot \left(y5 \cdot \left(-y2\right)\right)\right)\\

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

\mathbf{else}:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if y < -1.09999999999999996e106

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

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

    if -1.09999999999999996e106 < y < -1.6500000000000001e-237

    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 t around inf 46.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 c around inf 41.6%

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

    if -1.6500000000000001e-237 < y < 9.8000000000000002e-249

    1. Initial program 23.1%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in t around inf 50.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 j around inf 47.5%

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

    if 9.8000000000000002e-249 < y < 2.2000000000000001e-133

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

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

      \[\leadsto \color{blue}{-1 \cdot \left(y0 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right)} \]
    5. Taylor expanded in k around inf 44.6%

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

    if 2.2000000000000001e-133 < y < 4.40000000000000024e75

    1. Initial program 25.1%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in t around inf 49.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 y2 around inf 45.2%

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

    if 4.40000000000000024e75 < y

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -1.1 \cdot 10^{+106}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;y \leq -1.65 \cdot 10^{-237}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;y \leq 9.8 \cdot 10^{-249}:\\ \;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\ \mathbf{elif}\;y \leq 2.2 \cdot 10^{-133}:\\ \;\;\;\;y0 \cdot \left(k \cdot \left(y5 \cdot \left(-y2\right)\right)\right)\\ \mathbf{elif}\;y \leq 4.4 \cdot 10^{+75}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 38: 30.9% accurate, 2.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y \leq -1.5 \cdot 10^{+152}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;y \leq -5 \cdot 10^{+27}:\\ \;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\ \mathbf{elif}\;y \leq -1.7 \cdot 10^{-223}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;y \leq -6.8 \cdot 10^{-277}:\\ \;\;\;\;\left(t \cdot b\right) \cdot \left(j \cdot y4 - z \cdot a\right)\\ \mathbf{elif}\;y \leq 1.55 \cdot 10^{+73}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\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 (<= y -1.5e+152)
   (* b (* y4 (- (* t j) (* y k))))
   (if (<= y -5e+27)
     (* y1 (* y4 (- (* k y2) (* j y3))))
     (if (<= y -1.7e-223)
       (* c (* t (- (* z i) (* y2 y4))))
       (if (<= y -6.8e-277)
         (* (* t b) (- (* j y4) (* z a)))
         (if (<= y 1.55e+73)
           (* t (* y2 (- (* a y5) (* c y4))))
           (* x (* y (- (* a b) (* c i))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (y <= -1.5e+152) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} else if (y <= -5e+27) {
		tmp = y1 * (y4 * ((k * y2) - (j * y3)));
	} else if (y <= -1.7e-223) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (y <= -6.8e-277) {
		tmp = (t * b) * ((j * y4) - (z * a));
	} else if (y <= 1.55e+73) {
		tmp = t * (y2 * ((a * y5) - (c * y4)));
	} else {
		tmp = x * (y * ((a * b) - (c * i)));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: tmp
    if (y <= (-1.5d+152)) then
        tmp = b * (y4 * ((t * j) - (y * k)))
    else if (y <= (-5d+27)) then
        tmp = y1 * (y4 * ((k * y2) - (j * y3)))
    else if (y <= (-1.7d-223)) then
        tmp = c * (t * ((z * i) - (y2 * y4)))
    else if (y <= (-6.8d-277)) then
        tmp = (t * b) * ((j * y4) - (z * a))
    else if (y <= 1.55d+73) then
        tmp = t * (y2 * ((a * y5) - (c * y4)))
    else
        tmp = x * (y * ((a * b) - (c * i)))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (y <= -1.5e+152) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} else if (y <= -5e+27) {
		tmp = y1 * (y4 * ((k * y2) - (j * y3)));
	} else if (y <= -1.7e-223) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (y <= -6.8e-277) {
		tmp = (t * b) * ((j * y4) - (z * a));
	} else if (y <= 1.55e+73) {
		tmp = t * (y2 * ((a * y5) - (c * y4)));
	} else {
		tmp = x * (y * ((a * b) - (c * i)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if y <= -1.5e+152:
		tmp = b * (y4 * ((t * j) - (y * k)))
	elif y <= -5e+27:
		tmp = y1 * (y4 * ((k * y2) - (j * y3)))
	elif y <= -1.7e-223:
		tmp = c * (t * ((z * i) - (y2 * y4)))
	elif y <= -6.8e-277:
		tmp = (t * b) * ((j * y4) - (z * a))
	elif y <= 1.55e+73:
		tmp = t * (y2 * ((a * y5) - (c * y4)))
	else:
		tmp = x * (y * ((a * b) - (c * i)))
	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 <= -1.5e+152)
		tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k))));
	elseif (y <= -5e+27)
		tmp = Float64(y1 * Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3))));
	elseif (y <= -1.7e-223)
		tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4))));
	elseif (y <= -6.8e-277)
		tmp = Float64(Float64(t * b) * Float64(Float64(j * y4) - Float64(z * a)));
	elseif (y <= 1.55e+73)
		tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4))));
	else
		tmp = Float64(x * Float64(y * Float64(Float64(a * b) - Float64(c * i))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0;
	if (y <= -1.5e+152)
		tmp = b * (y4 * ((t * j) - (y * k)));
	elseif (y <= -5e+27)
		tmp = y1 * (y4 * ((k * y2) - (j * y3)));
	elseif (y <= -1.7e-223)
		tmp = c * (t * ((z * i) - (y2 * y4)));
	elseif (y <= -6.8e-277)
		tmp = (t * b) * ((j * y4) - (z * a));
	elseif (y <= 1.55e+73)
		tmp = t * (y2 * ((a * y5) - (c * y4)));
	else
		tmp = x * (y * ((a * b) - (c * i)));
	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, -1.5e+152], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -5e+27], N[(y1 * N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -1.7e-223], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -6.8e-277], N[(N[(t * b), $MachinePrecision] * N[(N[(j * y4), $MachinePrecision] - N[(z * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.55e+73], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.5 \cdot 10^{+152}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\

\mathbf{elif}\;y \leq -5 \cdot 10^{+27}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\

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

\mathbf{elif}\;y \leq -6.8 \cdot 10^{-277}:\\
\;\;\;\;\left(t \cdot b\right) \cdot \left(j \cdot y4 - z \cdot a\right)\\

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

\mathbf{else}:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if y < -1.49999999999999995e152

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

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

    if -1.49999999999999995e152 < y < -4.99999999999999979e27

    1. Initial program 17.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 32.3%

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

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

    if -4.99999999999999979e27 < y < -1.6999999999999999e-223

    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 t around inf 44.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 c around inf 48.5%

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

    if -1.6999999999999999e-223 < y < -6.79999999999999964e-277

    1. Initial program 27.1%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in t around inf 64.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 c around 0 55.6%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg55.6%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*64.4%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified64.4%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in b around inf 56.3%

      \[\leadsto \color{blue}{b \cdot \left(t \cdot \left(-1 \cdot \left(a \cdot z\right) + j \cdot y4\right)\right)} \]
    8. Step-by-step derivation
      1. associate-*r*56.3%

        \[\leadsto \color{blue}{\left(b \cdot t\right) \cdot \left(-1 \cdot \left(a \cdot z\right) + j \cdot y4\right)} \]
      2. *-commutative56.3%

        \[\leadsto \color{blue}{\left(t \cdot b\right)} \cdot \left(-1 \cdot \left(a \cdot z\right) + j \cdot y4\right) \]
      3. +-commutative56.3%

        \[\leadsto \left(t \cdot b\right) \cdot \color{blue}{\left(j \cdot y4 + -1 \cdot \left(a \cdot z\right)\right)} \]
      4. mul-1-neg56.3%

        \[\leadsto \left(t \cdot b\right) \cdot \left(j \cdot y4 + \color{blue}{\left(-a \cdot z\right)}\right) \]
      5. unsub-neg56.3%

        \[\leadsto \left(t \cdot b\right) \cdot \color{blue}{\left(j \cdot y4 - a \cdot z\right)} \]
      6. *-commutative56.3%

        \[\leadsto \left(t \cdot b\right) \cdot \left(j \cdot y4 - \color{blue}{z \cdot a}\right) \]
    9. Simplified56.3%

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

    if -6.79999999999999964e-277 < y < 1.55e73

    1. Initial program 28.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 47.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 y2 around inf 42.9%

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

    if 1.55e73 < y

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -1.5 \cdot 10^{+152}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;y \leq -5 \cdot 10^{+27}:\\ \;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\ \mathbf{elif}\;y \leq -1.7 \cdot 10^{-223}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;y \leq -6.8 \cdot 10^{-277}:\\ \;\;\;\;\left(t \cdot b\right) \cdot \left(j \cdot y4 - z \cdot a\right)\\ \mathbf{elif}\;y \leq 1.55 \cdot 10^{+73}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 39: 31.4% accurate, 2.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(y \cdot \left(y3 \cdot y4 - x \cdot i\right)\right)\\ \mathbf{if}\;y \leq -2.2 \cdot 10^{+105}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;y \leq -6.6 \cdot 10^{+27}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq -2.05 \cdot 10^{-227}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;y \leq -6.2 \cdot 10^{-278}:\\ \;\;\;\;\left(t \cdot b\right) \cdot \left(j \cdot y4 - z \cdot a\right)\\ \mathbf{elif}\;y \leq 7.4 \cdot 10^{+75}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \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 (* c (* y (- (* y3 y4) (* x i))))))
   (if (<= y -2.2e+105)
     (* b (* y4 (- (* t j) (* y k))))
     (if (<= y -6.6e+27)
       t_1
       (if (<= y -2.05e-227)
         (* c (* t (- (* z i) (* y2 y4))))
         (if (<= y -6.2e-278)
           (* (* t b) (- (* j y4) (* z a)))
           (if (<= y 7.4e+75) (* t (* y2 (- (* a y5) (* c 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 = c * (y * ((y3 * y4) - (x * i)));
	double tmp;
	if (y <= -2.2e+105) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} else if (y <= -6.6e+27) {
		tmp = t_1;
	} else if (y <= -2.05e-227) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (y <= -6.2e-278) {
		tmp = (t * b) * ((j * y4) - (z * a));
	} else if (y <= 7.4e+75) {
		tmp = t * (y2 * ((a * y5) - (c * 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 = c * (y * ((y3 * y4) - (x * i)))
    if (y <= (-2.2d+105)) then
        tmp = b * (y4 * ((t * j) - (y * k)))
    else if (y <= (-6.6d+27)) then
        tmp = t_1
    else if (y <= (-2.05d-227)) then
        tmp = c * (t * ((z * i) - (y2 * y4)))
    else if (y <= (-6.2d-278)) then
        tmp = (t * b) * ((j * y4) - (z * a))
    else if (y <= 7.4d+75) then
        tmp = t * (y2 * ((a * y5) - (c * 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 = c * (y * ((y3 * y4) - (x * i)));
	double tmp;
	if (y <= -2.2e+105) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} else if (y <= -6.6e+27) {
		tmp = t_1;
	} else if (y <= -2.05e-227) {
		tmp = c * (t * ((z * i) - (y2 * y4)));
	} else if (y <= -6.2e-278) {
		tmp = (t * b) * ((j * y4) - (z * a));
	} else if (y <= 7.4e+75) {
		tmp = t * (y2 * ((a * y5) - (c * 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 = c * (y * ((y3 * y4) - (x * i)))
	tmp = 0
	if y <= -2.2e+105:
		tmp = b * (y4 * ((t * j) - (y * k)))
	elif y <= -6.6e+27:
		tmp = t_1
	elif y <= -2.05e-227:
		tmp = c * (t * ((z * i) - (y2 * y4)))
	elif y <= -6.2e-278:
		tmp = (t * b) * ((j * y4) - (z * a))
	elif y <= 7.4e+75:
		tmp = t * (y2 * ((a * y5) - (c * 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(c * Float64(y * Float64(Float64(y3 * y4) - Float64(x * i))))
	tmp = 0.0
	if (y <= -2.2e+105)
		tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k))));
	elseif (y <= -6.6e+27)
		tmp = t_1;
	elseif (y <= -2.05e-227)
		tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4))));
	elseif (y <= -6.2e-278)
		tmp = Float64(Float64(t * b) * Float64(Float64(j * y4) - Float64(z * a)));
	elseif (y <= 7.4e+75)
		tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * 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 = c * (y * ((y3 * y4) - (x * i)));
	tmp = 0.0;
	if (y <= -2.2e+105)
		tmp = b * (y4 * ((t * j) - (y * k)));
	elseif (y <= -6.6e+27)
		tmp = t_1;
	elseif (y <= -2.05e-227)
		tmp = c * (t * ((z * i) - (y2 * y4)));
	elseif (y <= -6.2e-278)
		tmp = (t * b) * ((j * y4) - (z * a));
	elseif (y <= 7.4e+75)
		tmp = t * (y2 * ((a * y5) - (c * 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[(c * N[(y * N[(N[(y3 * y4), $MachinePrecision] - N[(x * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -2.2e+105], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -6.6e+27], t$95$1, If[LessEqual[y, -2.05e-227], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -6.2e-278], N[(N[(t * b), $MachinePrecision] * N[(N[(j * y4), $MachinePrecision] - N[(z * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 7.4e+75], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := c \cdot \left(y \cdot \left(y3 \cdot y4 - x \cdot i\right)\right)\\
\mathbf{if}\;y \leq -2.2 \cdot 10^{+105}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\

\mathbf{elif}\;y \leq -6.6 \cdot 10^{+27}:\\
\;\;\;\;t\_1\\

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

\mathbf{elif}\;y \leq -6.2 \cdot 10^{-278}:\\
\;\;\;\;\left(t \cdot b\right) \cdot \left(j \cdot y4 - z \cdot a\right)\\

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if y < -2.20000000000000007e105

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

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

    if -2.20000000000000007e105 < y < -6.5999999999999996e27 or 7.40000000000000022e75 < y

    1. Initial program 18.7%

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

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

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

        \[\leadsto c \cdot \color{blue}{\left(\left(-1 \cdot y\right) \cdot \left(i \cdot x - y3 \cdot y4\right)\right)} \]
      2. neg-mul-153.7%

        \[\leadsto c \cdot \left(\color{blue}{\left(-y\right)} \cdot \left(i \cdot x - y3 \cdot y4\right)\right) \]
    6. Simplified53.7%

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

    if -6.5999999999999996e27 < y < -2.05000000000000005e-227

    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 t around inf 44.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 c around inf 48.5%

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

    if -2.05000000000000005e-227 < y < -6.19999999999999983e-278

    1. Initial program 27.1%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in t around inf 64.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 c around 0 55.6%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg55.6%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*64.4%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified64.4%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in b around inf 56.3%

      \[\leadsto \color{blue}{b \cdot \left(t \cdot \left(-1 \cdot \left(a \cdot z\right) + j \cdot y4\right)\right)} \]
    8. Step-by-step derivation
      1. associate-*r*56.3%

        \[\leadsto \color{blue}{\left(b \cdot t\right) \cdot \left(-1 \cdot \left(a \cdot z\right) + j \cdot y4\right)} \]
      2. *-commutative56.3%

        \[\leadsto \color{blue}{\left(t \cdot b\right)} \cdot \left(-1 \cdot \left(a \cdot z\right) + j \cdot y4\right) \]
      3. +-commutative56.3%

        \[\leadsto \left(t \cdot b\right) \cdot \color{blue}{\left(j \cdot y4 + -1 \cdot \left(a \cdot z\right)\right)} \]
      4. mul-1-neg56.3%

        \[\leadsto \left(t \cdot b\right) \cdot \left(j \cdot y4 + \color{blue}{\left(-a \cdot z\right)}\right) \]
      5. unsub-neg56.3%

        \[\leadsto \left(t \cdot b\right) \cdot \color{blue}{\left(j \cdot y4 - a \cdot z\right)} \]
      6. *-commutative56.3%

        \[\leadsto \left(t \cdot b\right) \cdot \left(j \cdot y4 - \color{blue}{z \cdot a}\right) \]
    9. Simplified56.3%

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

    if -6.19999999999999983e-278 < y < 7.40000000000000022e75

    1. Initial program 28.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 47.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 y2 around inf 42.9%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -2.2 \cdot 10^{+105}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;y \leq -6.6 \cdot 10^{+27}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4 - x \cdot i\right)\right)\\ \mathbf{elif}\;y \leq -2.05 \cdot 10^{-227}:\\ \;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\ \mathbf{elif}\;y \leq -6.2 \cdot 10^{-278}:\\ \;\;\;\;\left(t \cdot b\right) \cdot \left(j \cdot y4 - z \cdot a\right)\\ \mathbf{elif}\;y \leq 7.4 \cdot 10^{+75}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4 - x \cdot i\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 40: 31.1% accurate, 2.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -6.5 \cdot 10^{-52}:\\ \;\;\;\;a \cdot \left(b \cdot \left(t \cdot \left(x \cdot \frac{y}{t} - z\right)\right)\right)\\ \mathbf{elif}\;z \leq -7 \cdot 10^{-248}:\\ \;\;\;\;\left(b \cdot y4 - i \cdot y5\right) \cdot \left(t \cdot j\right)\\ \mathbf{elif}\;z \leq 8 \cdot 10^{-130}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;z \leq 6.3 \cdot 10^{+75}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(c \cdot \left(a \cdot \frac{y5}{c} - y4\right)\right)\right)\\ \mathbf{elif}\;z \leq 1.8 \cdot 10^{+211}:\\ \;\;\;\;i \cdot \left(k \cdot \left(z \cdot \left(-y1\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(y3 \cdot \left(y \cdot y4 - z \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
 (if (<= z -6.5e-52)
   (* a (* b (* t (- (* x (/ y t)) z))))
   (if (<= z -7e-248)
     (* (- (* b y4) (* i y5)) (* t j))
     (if (<= z 8e-130)
       (* c (* y4 (- (* y y3) (* t y2))))
       (if (<= z 6.3e+75)
         (* t (* y2 (* c (- (* a (/ y5 c)) y4))))
         (if (<= z 1.8e+211)
           (* i (* k (* z (- y1))))
           (* c (* y3 (- (* y y4) (* z y0))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (z <= -6.5e-52) {
		tmp = a * (b * (t * ((x * (y / t)) - z)));
	} else if (z <= -7e-248) {
		tmp = ((b * y4) - (i * y5)) * (t * j);
	} else if (z <= 8e-130) {
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	} else if (z <= 6.3e+75) {
		tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)));
	} else if (z <= 1.8e+211) {
		tmp = i * (k * (z * -y1));
	} else {
		tmp = c * (y3 * ((y * y4) - (z * y0)));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: tmp
    if (z <= (-6.5d-52)) then
        tmp = a * (b * (t * ((x * (y / t)) - z)))
    else if (z <= (-7d-248)) then
        tmp = ((b * y4) - (i * y5)) * (t * j)
    else if (z <= 8d-130) then
        tmp = c * (y4 * ((y * y3) - (t * y2)))
    else if (z <= 6.3d+75) then
        tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)))
    else if (z <= 1.8d+211) then
        tmp = i * (k * (z * -y1))
    else
        tmp = c * (y3 * ((y * y4) - (z * y0)))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (z <= -6.5e-52) {
		tmp = a * (b * (t * ((x * (y / t)) - z)));
	} else if (z <= -7e-248) {
		tmp = ((b * y4) - (i * y5)) * (t * j);
	} else if (z <= 8e-130) {
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	} else if (z <= 6.3e+75) {
		tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)));
	} else if (z <= 1.8e+211) {
		tmp = i * (k * (z * -y1));
	} else {
		tmp = c * (y3 * ((y * y4) - (z * y0)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if z <= -6.5e-52:
		tmp = a * (b * (t * ((x * (y / t)) - z)))
	elif z <= -7e-248:
		tmp = ((b * y4) - (i * y5)) * (t * j)
	elif z <= 8e-130:
		tmp = c * (y4 * ((y * y3) - (t * y2)))
	elif z <= 6.3e+75:
		tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)))
	elif z <= 1.8e+211:
		tmp = i * (k * (z * -y1))
	else:
		tmp = c * (y3 * ((y * y4) - (z * y0)))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (z <= -6.5e-52)
		tmp = Float64(a * Float64(b * Float64(t * Float64(Float64(x * Float64(y / t)) - z))));
	elseif (z <= -7e-248)
		tmp = Float64(Float64(Float64(b * y4) - Float64(i * y5)) * Float64(t * j));
	elseif (z <= 8e-130)
		tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2))));
	elseif (z <= 6.3e+75)
		tmp = Float64(t * Float64(y2 * Float64(c * Float64(Float64(a * Float64(y5 / c)) - y4))));
	elseif (z <= 1.8e+211)
		tmp = Float64(i * Float64(k * Float64(z * Float64(-y1))));
	else
		tmp = Float64(c * Float64(y3 * Float64(Float64(y * y4) - Float64(z * y0))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0;
	if (z <= -6.5e-52)
		tmp = a * (b * (t * ((x * (y / t)) - z)));
	elseif (z <= -7e-248)
		tmp = ((b * y4) - (i * y5)) * (t * j);
	elseif (z <= 8e-130)
		tmp = c * (y4 * ((y * y3) - (t * y2)));
	elseif (z <= 6.3e+75)
		tmp = t * (y2 * (c * ((a * (y5 / c)) - y4)));
	elseif (z <= 1.8e+211)
		tmp = i * (k * (z * -y1));
	else
		tmp = c * (y3 * ((y * y4) - (z * y0)));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[z, -6.5e-52], N[(a * N[(b * N[(t * N[(N[(x * N[(y / t), $MachinePrecision]), $MachinePrecision] - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -7e-248], N[(N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision] * N[(t * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 8e-130], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 6.3e+75], N[(t * N[(y2 * N[(c * N[(N[(a * N[(y5 / c), $MachinePrecision]), $MachinePrecision] - y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.8e+211], N[(i * N[(k * N[(z * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(y3 * N[(N[(y * y4), $MachinePrecision] - N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;z \leq -6.5 \cdot 10^{-52}:\\
\;\;\;\;a \cdot \left(b \cdot \left(t \cdot \left(x \cdot \frac{y}{t} - z\right)\right)\right)\\

\mathbf{elif}\;z \leq -7 \cdot 10^{-248}:\\
\;\;\;\;\left(b \cdot y4 - i \cdot y5\right) \cdot \left(t \cdot j\right)\\

\mathbf{elif}\;z \leq 8 \cdot 10^{-130}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\

\mathbf{elif}\;z \leq 6.3 \cdot 10^{+75}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(c \cdot \left(a \cdot \frac{y5}{c} - y4\right)\right)\right)\\

\mathbf{elif}\;z \leq 1.8 \cdot 10^{+211}:\\
\;\;\;\;i \cdot \left(k \cdot \left(z \cdot \left(-y1\right)\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if z < -6.5e-52

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

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

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

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

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

    if -6.5e-52 < z < -6.99999999999999966e-248

    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 t around inf 52.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 44.6%

      \[\leadsto \color{blue}{j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)} \]
    5. Step-by-step derivation
      1. associate-*r*44.6%

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

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

    if -6.99999999999999966e-248 < z < 8.0000000000000007e-130

    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 c around inf 50.7%

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

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

    if 8.0000000000000007e-130 < z < 6.30000000000000036e75

    1. Initial program 17.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 57.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 41.4%

      \[\leadsto \color{blue}{t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)} \]
    5. Taylor expanded in c around inf 45.5%

      \[\leadsto t \cdot \left(y2 \cdot \color{blue}{\left(c \cdot \left(\frac{a \cdot y5}{c} - y4\right)\right)}\right) \]
    6. Step-by-step derivation
      1. associate-/l*49.8%

        \[\leadsto t \cdot \left(y2 \cdot \left(c \cdot \left(\color{blue}{a \cdot \frac{y5}{c}} - y4\right)\right)\right) \]
    7. Simplified49.8%

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

    if 6.30000000000000036e75 < z < 1.80000000000000001e211

    1. Initial program 28.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 i around -inf 53.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 58.7%

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

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

      \[\leadsto -1 \cdot \color{blue}{\left(\left(i \cdot y1\right) \cdot \left(k \cdot z - j \cdot x\right)\right)} \]
    7. Taylor expanded in k around inf 58.8%

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

    if 1.80000000000000001e211 < z

    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 c around inf 37.3%

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

      \[\leadsto c \cdot \color{blue}{\left(-1 \cdot \left(y3 \cdot \left(y0 \cdot z - y \cdot y4\right)\right)\right)} \]
    5. Step-by-step derivation
      1. mul-1-neg58.6%

        \[\leadsto c \cdot \color{blue}{\left(-y3 \cdot \left(y0 \cdot z - y \cdot y4\right)\right)} \]
    6. Simplified58.6%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -6.5 \cdot 10^{-52}:\\ \;\;\;\;a \cdot \left(b \cdot \left(t \cdot \left(x \cdot \frac{y}{t} - z\right)\right)\right)\\ \mathbf{elif}\;z \leq -7 \cdot 10^{-248}:\\ \;\;\;\;\left(b \cdot y4 - i \cdot y5\right) \cdot \left(t \cdot j\right)\\ \mathbf{elif}\;z \leq 8 \cdot 10^{-130}:\\ \;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\ \mathbf{elif}\;z \leq 6.3 \cdot 10^{+75}:\\ \;\;\;\;t \cdot \left(y2 \cdot \left(c \cdot \left(a \cdot \frac{y5}{c} - y4\right)\right)\right)\\ \mathbf{elif}\;z \leq 1.8 \cdot 10^{+211}:\\ \;\;\;\;i \cdot \left(k \cdot \left(z \cdot \left(-y1\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(y3 \cdot \left(y \cdot y4 - z \cdot y0\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 41: 21.3% accurate, 3.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := t \cdot \left(y4 \cdot \left(b \cdot j\right)\right)\\ t_2 := c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{if}\;b \leq -2.5 \cdot 10^{+162}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq -28500000:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;b \leq -3.8 \cdot 10^{-26}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\ \mathbf{elif}\;b \leq 5.8 \cdot 10^{-276}:\\ \;\;\;\;c \cdot \left(i \cdot \left(z \cdot t\right)\right)\\ \mathbf{elif}\;b \leq 3.6 \cdot 10^{-9}:\\ \;\;\;\;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 (* t (* y4 (* b j)))) (t_2 (* c (* y (* y3 y4)))))
   (if (<= b -2.5e+162)
     t_1
     (if (<= b -28500000.0)
       t_2
       (if (<= b -3.8e-26)
         (* a (* t (* y2 y5)))
         (if (<= b 5.8e-276)
           (* c (* i (* z t)))
           (if (<= b 3.6e-9) 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 = t * (y4 * (b * j));
	double t_2 = c * (y * (y3 * y4));
	double tmp;
	if (b <= -2.5e+162) {
		tmp = t_1;
	} else if (b <= -28500000.0) {
		tmp = t_2;
	} else if (b <= -3.8e-26) {
		tmp = a * (t * (y2 * y5));
	} else if (b <= 5.8e-276) {
		tmp = c * (i * (z * t));
	} else if (b <= 3.6e-9) {
		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 = t * (y4 * (b * j))
    t_2 = c * (y * (y3 * y4))
    if (b <= (-2.5d+162)) then
        tmp = t_1
    else if (b <= (-28500000.0d0)) then
        tmp = t_2
    else if (b <= (-3.8d-26)) then
        tmp = a * (t * (y2 * y5))
    else if (b <= 5.8d-276) then
        tmp = c * (i * (z * t))
    else if (b <= 3.6d-9) 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 = t * (y4 * (b * j));
	double t_2 = c * (y * (y3 * y4));
	double tmp;
	if (b <= -2.5e+162) {
		tmp = t_1;
	} else if (b <= -28500000.0) {
		tmp = t_2;
	} else if (b <= -3.8e-26) {
		tmp = a * (t * (y2 * y5));
	} else if (b <= 5.8e-276) {
		tmp = c * (i * (z * t));
	} else if (b <= 3.6e-9) {
		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 = t * (y4 * (b * j))
	t_2 = c * (y * (y3 * y4))
	tmp = 0
	if b <= -2.5e+162:
		tmp = t_1
	elif b <= -28500000.0:
		tmp = t_2
	elif b <= -3.8e-26:
		tmp = a * (t * (y2 * y5))
	elif b <= 5.8e-276:
		tmp = c * (i * (z * t))
	elif b <= 3.6e-9:
		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(t * Float64(y4 * Float64(b * j)))
	t_2 = Float64(c * Float64(y * Float64(y3 * y4)))
	tmp = 0.0
	if (b <= -2.5e+162)
		tmp = t_1;
	elseif (b <= -28500000.0)
		tmp = t_2;
	elseif (b <= -3.8e-26)
		tmp = Float64(a * Float64(t * Float64(y2 * y5)));
	elseif (b <= 5.8e-276)
		tmp = Float64(c * Float64(i * Float64(z * t)));
	elseif (b <= 3.6e-9)
		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 = t * (y4 * (b * j));
	t_2 = c * (y * (y3 * y4));
	tmp = 0.0;
	if (b <= -2.5e+162)
		tmp = t_1;
	elseif (b <= -28500000.0)
		tmp = t_2;
	elseif (b <= -3.8e-26)
		tmp = a * (t * (y2 * y5));
	elseif (b <= 5.8e-276)
		tmp = c * (i * (z * t));
	elseif (b <= 3.6e-9)
		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[(t * N[(y4 * N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -2.5e+162], t$95$1, If[LessEqual[b, -28500000.0], t$95$2, If[LessEqual[b, -3.8e-26], N[(a * N[(t * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 5.8e-276], N[(c * N[(i * N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 3.6e-9], t$95$2, t$95$1]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := t \cdot \left(y4 \cdot \left(b \cdot j\right)\right)\\
t_2 := c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\
\mathbf{if}\;b \leq -2.5 \cdot 10^{+162}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;b \leq -28500000:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;b \leq -3.8 \cdot 10^{-26}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\

\mathbf{elif}\;b \leq 5.8 \cdot 10^{-276}:\\
\;\;\;\;c \cdot \left(i \cdot \left(z \cdot t\right)\right)\\

\mathbf{elif}\;b \leq 3.6 \cdot 10^{-9}:\\
\;\;\;\;t\_2\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if b < -2.4999999999999998e162 or 3.6e-9 < b

    1. Initial program 23.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 53.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 z around 0 49.6%

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

      \[\leadsto t \cdot \color{blue}{\left(b \cdot \left(j \cdot y4\right)\right)} \]
    6. Step-by-step derivation
      1. associate-*r*44.5%

        \[\leadsto t \cdot \color{blue}{\left(\left(b \cdot j\right) \cdot y4\right)} \]
      2. *-commutative44.5%

        \[\leadsto t \cdot \left(\color{blue}{\left(j \cdot b\right)} \cdot y4\right) \]
    7. Simplified44.5%

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

    if -2.4999999999999998e162 < b < -2.85e7 or 5.79999999999999975e-276 < b < 3.6e-9

    1. Initial program 22.7%

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

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

      \[\leadsto \color{blue}{y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\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 27.6%

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

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

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

    if -2.85e7 < b < -3.80000000000000015e-26

    1. Initial program 11.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 67.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 c around 0 78.5%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg78.5%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*67.4%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified67.4%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in y2 around inf 45.4%

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

    if -3.80000000000000015e-26 < b < 5.79999999999999975e-276

    1. Initial program 30.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 44.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 c around 0 42.9%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg42.9%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*42.9%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified42.9%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in c around inf 27.9%

      \[\leadsto \color{blue}{c \cdot \left(i \cdot \left(t \cdot z\right)\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification35.0%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -2.5 \cdot 10^{+162}:\\ \;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j\right)\right)\\ \mathbf{elif}\;b \leq -28500000:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{elif}\;b \leq -3.8 \cdot 10^{-26}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\ \mathbf{elif}\;b \leq 5.8 \cdot 10^{-276}:\\ \;\;\;\;c \cdot \left(i \cdot \left(z \cdot t\right)\right)\\ \mathbf{elif}\;b \leq 3.6 \cdot 10^{-9}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 42: 21.4% accurate, 3.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := t \cdot \left(y4 \cdot \left(b \cdot j\right)\right)\\ t_2 := c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{if}\;b \leq -2.9 \cdot 10^{+162}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq -33000000:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;b \leq -3.2 \cdot 10^{-28}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\ \mathbf{elif}\;b \leq 5.4 \cdot 10^{-276}:\\ \;\;\;\;\left(c \cdot i\right) \cdot \left(z \cdot t\right)\\ \mathbf{elif}\;b \leq 1.8 \cdot 10^{-10}:\\ \;\;\;\;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 (* t (* y4 (* b j)))) (t_2 (* c (* y (* y3 y4)))))
   (if (<= b -2.9e+162)
     t_1
     (if (<= b -33000000.0)
       t_2
       (if (<= b -3.2e-28)
         (* a (* t (* y2 y5)))
         (if (<= b 5.4e-276)
           (* (* c i) (* z t))
           (if (<= b 1.8e-10) 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 = t * (y4 * (b * j));
	double t_2 = c * (y * (y3 * y4));
	double tmp;
	if (b <= -2.9e+162) {
		tmp = t_1;
	} else if (b <= -33000000.0) {
		tmp = t_2;
	} else if (b <= -3.2e-28) {
		tmp = a * (t * (y2 * y5));
	} else if (b <= 5.4e-276) {
		tmp = (c * i) * (z * t);
	} else if (b <= 1.8e-10) {
		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 = t * (y4 * (b * j))
    t_2 = c * (y * (y3 * y4))
    if (b <= (-2.9d+162)) then
        tmp = t_1
    else if (b <= (-33000000.0d0)) then
        tmp = t_2
    else if (b <= (-3.2d-28)) then
        tmp = a * (t * (y2 * y5))
    else if (b <= 5.4d-276) then
        tmp = (c * i) * (z * t)
    else if (b <= 1.8d-10) 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 = t * (y4 * (b * j));
	double t_2 = c * (y * (y3 * y4));
	double tmp;
	if (b <= -2.9e+162) {
		tmp = t_1;
	} else if (b <= -33000000.0) {
		tmp = t_2;
	} else if (b <= -3.2e-28) {
		tmp = a * (t * (y2 * y5));
	} else if (b <= 5.4e-276) {
		tmp = (c * i) * (z * t);
	} else if (b <= 1.8e-10) {
		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 = t * (y4 * (b * j))
	t_2 = c * (y * (y3 * y4))
	tmp = 0
	if b <= -2.9e+162:
		tmp = t_1
	elif b <= -33000000.0:
		tmp = t_2
	elif b <= -3.2e-28:
		tmp = a * (t * (y2 * y5))
	elif b <= 5.4e-276:
		tmp = (c * i) * (z * t)
	elif b <= 1.8e-10:
		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(t * Float64(y4 * Float64(b * j)))
	t_2 = Float64(c * Float64(y * Float64(y3 * y4)))
	tmp = 0.0
	if (b <= -2.9e+162)
		tmp = t_1;
	elseif (b <= -33000000.0)
		tmp = t_2;
	elseif (b <= -3.2e-28)
		tmp = Float64(a * Float64(t * Float64(y2 * y5)));
	elseif (b <= 5.4e-276)
		tmp = Float64(Float64(c * i) * Float64(z * t));
	elseif (b <= 1.8e-10)
		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 = t * (y4 * (b * j));
	t_2 = c * (y * (y3 * y4));
	tmp = 0.0;
	if (b <= -2.9e+162)
		tmp = t_1;
	elseif (b <= -33000000.0)
		tmp = t_2;
	elseif (b <= -3.2e-28)
		tmp = a * (t * (y2 * y5));
	elseif (b <= 5.4e-276)
		tmp = (c * i) * (z * t);
	elseif (b <= 1.8e-10)
		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[(t * N[(y4 * N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -2.9e+162], t$95$1, If[LessEqual[b, -33000000.0], t$95$2, If[LessEqual[b, -3.2e-28], N[(a * N[(t * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 5.4e-276], N[(N[(c * i), $MachinePrecision] * N[(z * t), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.8e-10], t$95$2, t$95$1]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := t \cdot \left(y4 \cdot \left(b \cdot j\right)\right)\\
t_2 := c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\
\mathbf{if}\;b \leq -2.9 \cdot 10^{+162}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;b \leq -33000000:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;b \leq -3.2 \cdot 10^{-28}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\

\mathbf{elif}\;b \leq 5.4 \cdot 10^{-276}:\\
\;\;\;\;\left(c \cdot i\right) \cdot \left(z \cdot t\right)\\

\mathbf{elif}\;b \leq 1.8 \cdot 10^{-10}:\\
\;\;\;\;t\_2\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if b < -2.90000000000000006e162 or 1.8e-10 < b

    1. Initial program 23.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 53.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 z around 0 49.6%

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

      \[\leadsto t \cdot \color{blue}{\left(b \cdot \left(j \cdot y4\right)\right)} \]
    6. Step-by-step derivation
      1. associate-*r*44.5%

        \[\leadsto t \cdot \color{blue}{\left(\left(b \cdot j\right) \cdot y4\right)} \]
      2. *-commutative44.5%

        \[\leadsto t \cdot \left(\color{blue}{\left(j \cdot b\right)} \cdot y4\right) \]
    7. Simplified44.5%

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

    if -2.90000000000000006e162 < b < -3.3e7 or 5.39999999999999971e-276 < b < 1.8e-10

    1. Initial program 22.7%

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

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

      \[\leadsto \color{blue}{y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\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 27.6%

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

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

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

    if -3.3e7 < b < -3.19999999999999982e-28

    1. Initial program 10.3%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in t around inf 60.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 c around 0 70.7%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg70.7%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*60.7%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified60.7%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in y2 around inf 40.9%

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

    if -3.19999999999999982e-28 < b < 5.39999999999999971e-276

    1. Initial program 31.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 t around inf 45.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 0 43.5%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg43.5%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*43.6%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified43.6%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in c around inf 28.3%

      \[\leadsto \color{blue}{c \cdot \left(i \cdot \left(t \cdot z\right)\right)} \]
    8. Step-by-step derivation
      1. associate-*r*28.3%

        \[\leadsto \color{blue}{\left(c \cdot i\right) \cdot \left(t \cdot z\right)} \]
    9. Simplified28.3%

      \[\leadsto \color{blue}{\left(c \cdot i\right) \cdot \left(t \cdot z\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification35.0%

    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -2.9 \cdot 10^{+162}:\\ \;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j\right)\right)\\ \mathbf{elif}\;b \leq -33000000:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{elif}\;b \leq -3.2 \cdot 10^{-28}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\ \mathbf{elif}\;b \leq 5.4 \cdot 10^{-276}:\\ \;\;\;\;\left(c \cdot i\right) \cdot \left(z \cdot t\right)\\ \mathbf{elif}\;b \leq 1.8 \cdot 10^{-10}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 43: 25.6% accurate, 3.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;i \leq -2 \cdot 10^{+78}:\\ \;\;\;\;c \cdot \left(i \cdot \left(z \cdot t\right)\right)\\ \mathbf{elif}\;i \leq 1.38 \cdot 10^{-151}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;i \leq 8.6 \cdot 10^{-21}:\\ \;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;i \leq 1.1 \cdot 10^{+150}:\\ \;\;\;\;t \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(\left(i \cdot k\right) \cdot \left(-y1\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 (<= i -2e+78)
   (* c (* i (* z t)))
   (if (<= i 1.38e-151)
     (* b (* y4 (- (* t j) (* y k))))
     (if (<= i 8.6e-21)
       (* b (* y0 (- (* z k) (* x j))))
       (if (<= i 1.1e+150) (* t (* a (* y2 y5))) (* z (* (* i k) (- 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 tmp;
	if (i <= -2e+78) {
		tmp = c * (i * (z * t));
	} else if (i <= 1.38e-151) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} else if (i <= 8.6e-21) {
		tmp = b * (y0 * ((z * k) - (x * j)));
	} else if (i <= 1.1e+150) {
		tmp = t * (a * (y2 * y5));
	} else {
		tmp = z * ((i * k) * -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) :: tmp
    if (i <= (-2d+78)) then
        tmp = c * (i * (z * t))
    else if (i <= 1.38d-151) then
        tmp = b * (y4 * ((t * j) - (y * k)))
    else if (i <= 8.6d-21) then
        tmp = b * (y0 * ((z * k) - (x * j)))
    else if (i <= 1.1d+150) then
        tmp = t * (a * (y2 * y5))
    else
        tmp = z * ((i * k) * -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 tmp;
	if (i <= -2e+78) {
		tmp = c * (i * (z * t));
	} else if (i <= 1.38e-151) {
		tmp = b * (y4 * ((t * j) - (y * k)));
	} else if (i <= 8.6e-21) {
		tmp = b * (y0 * ((z * k) - (x * j)));
	} else if (i <= 1.1e+150) {
		tmp = t * (a * (y2 * y5));
	} else {
		tmp = z * ((i * k) * -y1);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if i <= -2e+78:
		tmp = c * (i * (z * t))
	elif i <= 1.38e-151:
		tmp = b * (y4 * ((t * j) - (y * k)))
	elif i <= 8.6e-21:
		tmp = b * (y0 * ((z * k) - (x * j)))
	elif i <= 1.1e+150:
		tmp = t * (a * (y2 * y5))
	else:
		tmp = z * ((i * k) * -y1)
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (i <= -2e+78)
		tmp = Float64(c * Float64(i * Float64(z * t)));
	elseif (i <= 1.38e-151)
		tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k))));
	elseif (i <= 8.6e-21)
		tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j))));
	elseif (i <= 1.1e+150)
		tmp = Float64(t * Float64(a * Float64(y2 * y5)));
	else
		tmp = Float64(z * Float64(Float64(i * k) * 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)
	tmp = 0.0;
	if (i <= -2e+78)
		tmp = c * (i * (z * t));
	elseif (i <= 1.38e-151)
		tmp = b * (y4 * ((t * j) - (y * k)));
	elseif (i <= 8.6e-21)
		tmp = b * (y0 * ((z * k) - (x * j)));
	elseif (i <= 1.1e+150)
		tmp = t * (a * (y2 * y5));
	else
		tmp = z * ((i * k) * -y1);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[i, -2e+78], N[(c * N[(i * N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.38e-151], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 8.6e-21], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.1e+150], N[(t * N[(a * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(z * N[(N[(i * k), $MachinePrecision] * (-y1)), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;i \leq -2 \cdot 10^{+78}:\\
\;\;\;\;c \cdot \left(i \cdot \left(z \cdot t\right)\right)\\

\mathbf{elif}\;i \leq 1.38 \cdot 10^{-151}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\

\mathbf{elif}\;i \leq 8.6 \cdot 10^{-21}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if i < -2.00000000000000002e78

    1. Initial program 17.9%

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

      \[\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 0 39.7%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg39.7%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*39.7%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified39.7%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in c around inf 36.5%

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

    if -2.00000000000000002e78 < i < 1.38000000000000008e-151

    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 44.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 y4 around inf 41.0%

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

    if 1.38000000000000008e-151 < i < 8.5999999999999996e-21

    1. Initial program 19.9%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in 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)} \]
    4. Taylor expanded in y0 around inf 46.2%

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

    if 8.5999999999999996e-21 < i < 1.1e150

    1. Initial program 34.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 56.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 z around 0 51.0%

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

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

    if 1.1e150 < i

    1. Initial program 22.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 i around -inf 60.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 y1 around inf 38.3%

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

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

      \[\leadsto -1 \cdot \color{blue}{\left(\left(i \cdot y1\right) \cdot \left(k \cdot z - j \cdot x\right)\right)} \]
    7. Taylor expanded in k around inf 32.4%

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

        \[\leadsto -1 \cdot \color{blue}{\left(\left(i \cdot k\right) \cdot \left(y1 \cdot z\right)\right)} \]
      2. associate-*r*43.5%

        \[\leadsto -1 \cdot \color{blue}{\left(\left(\left(i \cdot k\right) \cdot y1\right) \cdot z\right)} \]
    9. Simplified43.5%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -2 \cdot 10^{+78}:\\ \;\;\;\;c \cdot \left(i \cdot \left(z \cdot t\right)\right)\\ \mathbf{elif}\;i \leq 1.38 \cdot 10^{-151}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\ \mathbf{elif}\;i \leq 8.6 \cdot 10^{-21}:\\ \;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\ \mathbf{elif}\;i \leq 1.1 \cdot 10^{+150}:\\ \;\;\;\;t \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)\\ \mathbf{else}:\\ \;\;\;\;z \cdot \left(\left(i \cdot k\right) \cdot \left(-y1\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 44: 22.1% accurate, 3.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\ t_2 := b \cdot \left(y4 \cdot \left(t \cdot j\right)\right)\\ \mathbf{if}\;y2 \leq -2.25 \cdot 10^{+70}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y2 \leq 1.25 \cdot 10^{-95}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y2 \leq 2.2 \cdot 10^{+16}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\ \mathbf{elif}\;y2 \leq 3.9 \cdot 10^{+59}:\\ \;\;\;\;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 (* a (* t (* y2 y5)))) (t_2 (* b (* y4 (* t j)))))
   (if (<= y2 -2.25e+70)
     t_1
     (if (<= y2 1.25e-95)
       t_2
       (if (<= y2 2.2e+16)
         (* a (* y (* x b)))
         (if (<= y2 3.9e+59) t_2 t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = a * (t * (y2 * y5));
	double t_2 = b * (y4 * (t * j));
	double tmp;
	if (y2 <= -2.25e+70) {
		tmp = t_1;
	} else if (y2 <= 1.25e-95) {
		tmp = t_2;
	} else if (y2 <= 2.2e+16) {
		tmp = a * (y * (x * b));
	} else if (y2 <= 3.9e+59) {
		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 = a * (t * (y2 * y5))
    t_2 = b * (y4 * (t * j))
    if (y2 <= (-2.25d+70)) then
        tmp = t_1
    else if (y2 <= 1.25d-95) then
        tmp = t_2
    else if (y2 <= 2.2d+16) then
        tmp = a * (y * (x * b))
    else if (y2 <= 3.9d+59) 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 = a * (t * (y2 * y5));
	double t_2 = b * (y4 * (t * j));
	double tmp;
	if (y2 <= -2.25e+70) {
		tmp = t_1;
	} else if (y2 <= 1.25e-95) {
		tmp = t_2;
	} else if (y2 <= 2.2e+16) {
		tmp = a * (y * (x * b));
	} else if (y2 <= 3.9e+59) {
		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 = a * (t * (y2 * y5))
	t_2 = b * (y4 * (t * j))
	tmp = 0
	if y2 <= -2.25e+70:
		tmp = t_1
	elif y2 <= 1.25e-95:
		tmp = t_2
	elif y2 <= 2.2e+16:
		tmp = a * (y * (x * b))
	elif y2 <= 3.9e+59:
		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(a * Float64(t * Float64(y2 * y5)))
	t_2 = Float64(b * Float64(y4 * Float64(t * j)))
	tmp = 0.0
	if (y2 <= -2.25e+70)
		tmp = t_1;
	elseif (y2 <= 1.25e-95)
		tmp = t_2;
	elseif (y2 <= 2.2e+16)
		tmp = Float64(a * Float64(y * Float64(x * b)));
	elseif (y2 <= 3.9e+59)
		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 = a * (t * (y2 * y5));
	t_2 = b * (y4 * (t * j));
	tmp = 0.0;
	if (y2 <= -2.25e+70)
		tmp = t_1;
	elseif (y2 <= 1.25e-95)
		tmp = t_2;
	elseif (y2 <= 2.2e+16)
		tmp = a * (y * (x * b));
	elseif (y2 <= 3.9e+59)
		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[(a * N[(t * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(y4 * N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -2.25e+70], t$95$1, If[LessEqual[y2, 1.25e-95], t$95$2, If[LessEqual[y2, 2.2e+16], N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3.9e+59], t$95$2, t$95$1]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\
t_2 := b \cdot \left(y4 \cdot \left(t \cdot j\right)\right)\\
\mathbf{if}\;y2 \leq -2.25 \cdot 10^{+70}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y2 \leq 1.25 \cdot 10^{-95}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;y2 \leq 2.2 \cdot 10^{+16}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\

\mathbf{elif}\;y2 \leq 3.9 \cdot 10^{+59}:\\
\;\;\;\;t\_2\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if y2 < -2.25e70 or 3.90000000000000021e59 < y2

    1. Initial program 19.8%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in t around inf 48.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 c around 0 43.3%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg43.3%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*43.2%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified43.2%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in y2 around inf 35.1%

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

    if -2.25e70 < y2 < 1.2499999999999999e-95 or 2.2e16 < y2 < 3.90000000000000021e59

    1. Initial program 27.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 41.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 0 37.0%

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

      \[\leadsto \color{blue}{b \cdot \left(j \cdot \left(t \cdot y4\right)\right)} \]
    6. Step-by-step derivation
      1. associate-*r*26.3%

        \[\leadsto b \cdot \color{blue}{\left(\left(j \cdot t\right) \cdot y4\right)} \]
    7. Simplified26.3%

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

    if 1.2499999999999999e-95 < y2 < 2.2e16

    1. Initial program 32.2%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf 32.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 32.9%

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

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

        \[\leadsto a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)} \]
    7. Simplified33.1%

      \[\leadsto \color{blue}{a \cdot \left(\left(b \cdot x\right) \cdot y\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification30.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -2.25 \cdot 10^{+70}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\ \mathbf{elif}\;y2 \leq 1.25 \cdot 10^{-95}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j\right)\right)\\ \mathbf{elif}\;y2 \leq 2.2 \cdot 10^{+16}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\ \mathbf{elif}\;y2 \leq 3.9 \cdot 10^{+59}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 45: 22.5% accurate, 3.5× speedup?

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

\\
\begin{array}{l}
t_1 := c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\
\mathbf{if}\;y4 \leq -3.7 \cdot 10^{+86}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y4 \leq 3.9 \cdot 10^{+38}:\\
\;\;\;\;t \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)\\

\mathbf{elif}\;y4 \leq 3.3 \cdot 10^{+171}:\\
\;\;\;\;t \cdot \left(b \cdot \left(j \cdot y4\right)\right)\\

\mathbf{elif}\;y4 \leq 1.5 \cdot 10^{+239}:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if y4 < -3.69999999999999992e86 or 3.29999999999999991e171 < y4 < 1.4999999999999999e239

    1. Initial program 13.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 29.3%

      \[\leadsto \left(\left(\color{blue}{x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)} + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    4. Taylor expanded in y3 around inf 38.8%

      \[\leadsto \color{blue}{y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\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.3%

      \[\leadsto \color{blue}{c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)} \]
    6. Step-by-step derivation
      1. *-commutative39.3%

        \[\leadsto c \cdot \left(y \cdot \color{blue}{\left(y4 \cdot y3\right)}\right) \]
    7. Simplified39.3%

      \[\leadsto \color{blue}{c \cdot \left(y \cdot \left(y4 \cdot y3\right)\right)} \]

    if -3.69999999999999992e86 < y4 < 3.90000000000000023e38

    1. Initial program 30.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 43.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 z around 0 36.8%

      \[\leadsto \color{blue}{t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    5. Taylor expanded in a around inf 22.6%

      \[\leadsto t \cdot \color{blue}{\left(a \cdot \left(y2 \cdot y5\right)\right)} \]

    if 3.90000000000000023e38 < y4 < 3.29999999999999991e171

    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 47.7%

      \[\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 0 53.3%

      \[\leadsto \color{blue}{t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    5. Taylor expanded in b around inf 48.4%

      \[\leadsto t \cdot \color{blue}{\left(b \cdot \left(j \cdot y4\right)\right)} \]
    6. Step-by-step derivation
      1. *-commutative48.4%

        \[\leadsto t \cdot \left(b \cdot \color{blue}{\left(y4 \cdot j\right)}\right) \]
    7. Simplified48.4%

      \[\leadsto t \cdot \color{blue}{\left(b \cdot \left(y4 \cdot j\right)\right)} \]

    if 1.4999999999999999e239 < y4

    1. Initial program 11.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 64.7%

      \[\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 0 76.5%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg76.5%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*76.5%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified76.5%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in y4 around inf 70.7%

      \[\leadsto \color{blue}{b \cdot \left(j \cdot \left(t \cdot y4\right)\right)} \]
  3. Recombined 4 regimes into one program.
  4. Final simplification33.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y4 \leq -3.7 \cdot 10^{+86}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{elif}\;y4 \leq 3.9 \cdot 10^{+38}:\\ \;\;\;\;t \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)\\ \mathbf{elif}\;y4 \leq 3.3 \cdot 10^{+171}:\\ \;\;\;\;t \cdot \left(b \cdot \left(j \cdot y4\right)\right)\\ \mathbf{elif}\;y4 \leq 1.5 \cdot 10^{+239}:\\ \;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 46: 21.8% accurate, 4.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\ \mathbf{if}\;y2 \leq -8 \cdot 10^{+70}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y2 \leq 6.4 \cdot 10^{-90}:\\ \;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4\right)\right)\\ \mathbf{elif}\;y2 \leq 6.6 \cdot 10^{+83}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\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 (* a (* t (* y2 y5)))))
   (if (<= y2 -8e+70)
     t_1
     (if (<= y2 6.4e-90)
       (* b (* j (* t y4)))
       (if (<= y2 6.6e+83) (* a (* y (* x b))) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = a * (t * (y2 * y5));
	double tmp;
	if (y2 <= -8e+70) {
		tmp = t_1;
	} else if (y2 <= 6.4e-90) {
		tmp = b * (j * (t * y4));
	} else if (y2 <= 6.6e+83) {
		tmp = a * (y * (x * b));
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = a * (t * (y2 * y5))
    if (y2 <= (-8d+70)) then
        tmp = t_1
    else if (y2 <= 6.4d-90) then
        tmp = b * (j * (t * y4))
    else if (y2 <= 6.6d+83) then
        tmp = a * (y * (x * b))
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = a * (t * (y2 * y5));
	double tmp;
	if (y2 <= -8e+70) {
		tmp = t_1;
	} else if (y2 <= 6.4e-90) {
		tmp = b * (j * (t * y4));
	} else if (y2 <= 6.6e+83) {
		tmp = a * (y * (x * b));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = a * (t * (y2 * y5))
	tmp = 0
	if y2 <= -8e+70:
		tmp = t_1
	elif y2 <= 6.4e-90:
		tmp = b * (j * (t * y4))
	elif y2 <= 6.6e+83:
		tmp = a * (y * (x * b))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(a * Float64(t * Float64(y2 * y5)))
	tmp = 0.0
	if (y2 <= -8e+70)
		tmp = t_1;
	elseif (y2 <= 6.4e-90)
		tmp = Float64(b * Float64(j * Float64(t * y4)));
	elseif (y2 <= 6.6e+83)
		tmp = Float64(a * Float64(y * Float64(x * b)));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = a * (t * (y2 * y5));
	tmp = 0.0;
	if (y2 <= -8e+70)
		tmp = t_1;
	elseif (y2 <= 6.4e-90)
		tmp = b * (j * (t * y4));
	elseif (y2 <= 6.6e+83)
		tmp = a * (y * (x * b));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(t * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -8e+70], t$95$1, If[LessEqual[y2, 6.4e-90], N[(b * N[(j * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 6.6e+83], N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\
\mathbf{if}\;y2 \leq -8 \cdot 10^{+70}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y2 \leq 6.4 \cdot 10^{-90}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4\right)\right)\\

\mathbf{elif}\;y2 \leq 6.6 \cdot 10^{+83}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t\_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if y2 < -8.00000000000000058e70 or 6.59999999999999969e83 < y2

    1. Initial program 20.6%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in t around inf 49.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 c around 0 43.0%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg43.0%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*43.9%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified43.9%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in y2 around inf 35.4%

      \[\leadsto \color{blue}{a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)} \]

    if -8.00000000000000058e70 < y2 < 6.40000000000000014e-90

    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 t around inf 42.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 c around 0 47.3%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg47.3%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*47.3%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified47.3%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in y4 around inf 24.1%

      \[\leadsto \color{blue}{b \cdot \left(j \cdot \left(t \cdot y4\right)\right)} \]

    if 6.40000000000000014e-90 < y2 < 6.59999999999999969e83

    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 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 27.4%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around inf 27.5%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
    6. Step-by-step derivation
      1. associate-*r*30.1%

        \[\leadsto a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)} \]
    7. Simplified30.1%

      \[\leadsto \color{blue}{a \cdot \left(\left(b \cdot x\right) \cdot y\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification29.5%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -8 \cdot 10^{+70}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\ \mathbf{elif}\;y2 \leq 6.4 \cdot 10^{-90}:\\ \;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4\right)\right)\\ \mathbf{elif}\;y2 \leq 6.6 \cdot 10^{+83}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 47: 21.9% accurate, 4.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(i \cdot \left(z \cdot t\right)\right)\\ \mathbf{if}\;z \leq -4.5 \cdot 10^{+125}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq -8.5 \cdot 10^{-29}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\ \mathbf{elif}\;z \leq 3 \cdot 10^{-94}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* c (* i (* z t)))))
   (if (<= z -4.5e+125)
     t_1
     (if (<= z -8.5e-29)
       (* a (* y (* x b)))
       (if (<= z 3e-94) (* b (* y4 (* t j))) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = c * (i * (z * t));
	double tmp;
	if (z <= -4.5e+125) {
		tmp = t_1;
	} else if (z <= -8.5e-29) {
		tmp = a * (y * (x * b));
	} else if (z <= 3e-94) {
		tmp = b * (y4 * (t * j));
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = c * (i * (z * t))
    if (z <= (-4.5d+125)) then
        tmp = t_1
    else if (z <= (-8.5d-29)) then
        tmp = a * (y * (x * b))
    else if (z <= 3d-94) then
        tmp = b * (y4 * (t * j))
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = c * (i * (z * t));
	double tmp;
	if (z <= -4.5e+125) {
		tmp = t_1;
	} else if (z <= -8.5e-29) {
		tmp = a * (y * (x * b));
	} else if (z <= 3e-94) {
		tmp = b * (y4 * (t * j));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = c * (i * (z * t))
	tmp = 0
	if z <= -4.5e+125:
		tmp = t_1
	elif z <= -8.5e-29:
		tmp = a * (y * (x * b))
	elif z <= 3e-94:
		tmp = b * (y4 * (t * j))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(c * Float64(i * Float64(z * t)))
	tmp = 0.0
	if (z <= -4.5e+125)
		tmp = t_1;
	elseif (z <= -8.5e-29)
		tmp = Float64(a * Float64(y * Float64(x * b)));
	elseif (z <= 3e-94)
		tmp = Float64(b * Float64(y4 * Float64(t * j)));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = c * (i * (z * t));
	tmp = 0.0;
	if (z <= -4.5e+125)
		tmp = t_1;
	elseif (z <= -8.5e-29)
		tmp = a * (y * (x * b));
	elseif (z <= 3e-94)
		tmp = b * (y4 * (t * j));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(c * N[(i * N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -4.5e+125], t$95$1, If[LessEqual[z, -8.5e-29], N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3e-94], N[(b * N[(y4 * N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := c \cdot \left(i \cdot \left(z \cdot t\right)\right)\\
\mathbf{if}\;z \leq -4.5 \cdot 10^{+125}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;z \leq -8.5 \cdot 10^{-29}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\

\mathbf{elif}\;z \leq 3 \cdot 10^{-94}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t\_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if z < -4.5e125 or 3.0000000000000001e-94 < z

    1. Initial program 24.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 t around inf 47.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 c around 0 46.1%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg46.1%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*46.1%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified46.1%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in c around inf 34.5%

      \[\leadsto \color{blue}{c \cdot \left(i \cdot \left(t \cdot z\right)\right)} \]

    if -4.5e125 < z < -8.5000000000000001e-29

    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 b around inf 47.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 43.8%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around inf 33.2%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
    6. Step-by-step derivation
      1. associate-*r*36.6%

        \[\leadsto a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)} \]
    7. Simplified36.6%

      \[\leadsto \color{blue}{a \cdot \left(\left(b \cdot x\right) \cdot y\right)} \]

    if -8.5000000000000001e-29 < z < 3.0000000000000001e-94

    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 t around inf 39.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 0 40.4%

      \[\leadsto \color{blue}{t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    5. Taylor expanded in b around inf 21.8%

      \[\leadsto \color{blue}{b \cdot \left(j \cdot \left(t \cdot y4\right)\right)} \]
    6. Step-by-step derivation
      1. associate-*r*23.7%

        \[\leadsto b \cdot \color{blue}{\left(\left(j \cdot t\right) \cdot y4\right)} \]
    7. Simplified23.7%

      \[\leadsto \color{blue}{b \cdot \left(\left(j \cdot t\right) \cdot y4\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification30.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -4.5 \cdot 10^{+125}:\\ \;\;\;\;c \cdot \left(i \cdot \left(z \cdot t\right)\right)\\ \mathbf{elif}\;z \leq -8.5 \cdot 10^{-29}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\ \mathbf{elif}\;z \leq 3 \cdot 10^{-94}:\\ \;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j\right)\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(i \cdot \left(z \cdot t\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 48: 22.5% accurate, 5.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y2 \leq -1.8 \cdot 10^{+70} \lor \neg \left(y2 \leq 9.5 \cdot 10^{+77}\right):\\ \;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\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 (<= y2 -1.8e+70) (not (<= y2 9.5e+77)))
   (* a (* t (* y2 y5)))
   (* a (* y (* x b)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if ((y2 <= -1.8e+70) || !(y2 <= 9.5e+77)) {
		tmp = a * (t * (y2 * y5));
	} else {
		tmp = a * (y * (x * b));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: tmp
    if ((y2 <= (-1.8d+70)) .or. (.not. (y2 <= 9.5d+77))) then
        tmp = a * (t * (y2 * y5))
    else
        tmp = a * (y * (x * b))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if ((y2 <= -1.8e+70) || !(y2 <= 9.5e+77)) {
		tmp = a * (t * (y2 * y5));
	} else {
		tmp = a * (y * (x * b));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if (y2 <= -1.8e+70) or not (y2 <= 9.5e+77):
		tmp = a * (t * (y2 * y5))
	else:
		tmp = a * (y * (x * b))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if ((y2 <= -1.8e+70) || !(y2 <= 9.5e+77))
		tmp = Float64(a * Float64(t * Float64(y2 * y5)));
	else
		tmp = Float64(a * Float64(y * Float64(x * b)));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0;
	if ((y2 <= -1.8e+70) || ~((y2 <= 9.5e+77)))
		tmp = a * (t * (y2 * y5));
	else
		tmp = a * (y * (x * b));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[Or[LessEqual[y2, -1.8e+70], N[Not[LessEqual[y2, 9.5e+77]], $MachinePrecision]], N[(a * N[(t * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -1.8 \cdot 10^{+70} \lor \neg \left(y2 \leq 9.5 \cdot 10^{+77}\right):\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\

\mathbf{else}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if y2 < -1.8e70 or 9.4999999999999998e77 < y2

    1. Initial program 20.6%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in t around inf 49.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 c around 0 43.0%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg43.0%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*43.9%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified43.9%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in y2 around inf 35.4%

      \[\leadsto \color{blue}{a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)} \]

    if -1.8e70 < y2 < 9.4999999999999998e77

    1. Initial program 27.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 36.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.7%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around inf 16.3%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
    6. Step-by-step derivation
      1. associate-*r*17.0%

        \[\leadsto a \cdot \color{blue}{\left(\left(b \cdot x\right) \cdot y\right)} \]
    7. Simplified17.0%

      \[\leadsto \color{blue}{a \cdot \left(\left(b \cdot x\right) \cdot y\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification24.3%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -1.8 \cdot 10^{+70} \lor \neg \left(y2 \leq 9.5 \cdot 10^{+77}\right):\\ \;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 49: 19.6% accurate, 7.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y \leq 8.8 \cdot 10^{+71}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\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 8.8e+71) (* a (* t (* y2 y5))) (* 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 <= 8.8e+71) {
		tmp = a * (t * (y2 * y5));
	} 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 <= 8.8d+71) then
        tmp = a * (t * (y2 * y5))
    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 <= 8.8e+71) {
		tmp = a * (t * (y2 * y5));
	} 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 <= 8.8e+71:
		tmp = a * (t * (y2 * y5))
	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 <= 8.8e+71)
		tmp = Float64(a * Float64(t * Float64(y2 * y5)));
	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 <= 8.8e+71)
		tmp = a * (t * (y2 * y5));
	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, 8.8e+71], N[(a * N[(t * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;y \leq 8.8 \cdot 10^{+71}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\

\mathbf{else}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if y < 8.79999999999999978e71

    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 t around inf 47.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 c around 0 45.3%

      \[\leadsto 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) - \color{blue}{-1 \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
    5. Step-by-step derivation
      1. mul-1-neg45.3%

        \[\leadsto 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) - \color{blue}{\left(-a \cdot \left(y2 \cdot y5\right)\right)}\right) \]
      2. associate-*r*45.8%

        \[\leadsto 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) - \left(-\color{blue}{\left(a \cdot y2\right) \cdot y5}\right)\right) \]
    6. Simplified45.8%

      \[\leadsto 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) - \color{blue}{\left(-\left(a \cdot y2\right) \cdot y5\right)}\right) \]
    7. Taylor expanded in y2 around inf 19.6%

      \[\leadsto \color{blue}{a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)} \]

    if 8.79999999999999978e71 < y

    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 b around inf 38.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 33.0%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
    5. Taylor expanded in x around inf 33.1%

      \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification22.4%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq 8.8 \cdot 10^{+71}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 50: 17.5% 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 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.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 27.0%

    \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right)\right)} \]
  5. Taylor expanded in x around inf 13.9%

    \[\leadsto \color{blue}{a \cdot \left(b \cdot \left(x \cdot y\right)\right)} \]
  6. Final simplification13.9%

    \[\leadsto a \cdot \left(\left(x \cdot y\right) \cdot b\right) \]
  7. Add Preprocessing

Developer target: 28.0% 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 2024054 
(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)))))