Linear.Matrix:det44 from linear-1.19.1.3

Percentage Accurate: 30.3% → 40.7%
Time: 1.1min
Alternatives: 44
Speedup: 3.1×

Specification

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

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

Sampling outcomes in binary64 precision:

Local Percentage Accuracy vs ?

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

Accuracy vs Speed?

Herbie found 44 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.3% 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: 40.7% accurate, 1.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y1 \cdot y4 - y0 \cdot y5\\ t_2 := y2 \cdot t\_1\\ t_3 := t \cdot y2 - y3 \cdot y\\ t_4 := b \cdot y4 - i \cdot y5\\ t_5 := k \cdot y2 - y3 \cdot j\\ t_6 := b \cdot y0 - i \cdot y1\\ t_7 := a \cdot b - c \cdot i\\ t_8 := c \cdot y0 - a \cdot y1\\ t_9 := 0 - z \cdot \left(t \cdot t\_7 + \left(y3 \cdot t\_8 - k \cdot t\_6\right)\right)\\ t_10 := t \cdot j - k \cdot y\\ t_11 := c \cdot y4 - a \cdot y5\\ \mathbf{if}\;y5 \leq -7 \cdot 10^{+202}:\\ \;\;\;\;y5 \cdot \left(-\left(i \cdot t\_10 + \left(y0 \cdot t\_5 - a \cdot t\_3\right)\right)\right)\\ \mathbf{elif}\;y5 \leq -2.65 \cdot 10^{+162}:\\ \;\;\;\;k \cdot t\_2\\ \mathbf{elif}\;y5 \leq -3.3 \cdot 10^{+64}:\\ \;\;\;\;t \cdot \left(\left(t\_4 \cdot j - z \cdot t\_7\right) - t\_11 \cdot y2\right)\\ \mathbf{elif}\;y5 \leq -1.05 \cdot 10^{-47}:\\ \;\;\;\;y2 \cdot \left(k \cdot t\_1 + \left(t\_8 \cdot x - t \cdot t\_11\right)\right)\\ \mathbf{elif}\;y5 \leq -1.9 \cdot 10^{-55}:\\ \;\;\;\;y0 \cdot \left(\left(c \cdot \left(y2 \cdot x - z \cdot y3\right) - y5 \cdot t\_5\right) - b \cdot \left(j \cdot x - z \cdot k\right)\right)\\ \mathbf{elif}\;y5 \leq -8.5 \cdot 10^{-96}:\\ \;\;\;\;t\_9\\ \mathbf{elif}\;y5 \leq -5.7 \cdot 10^{-182}:\\ \;\;\;\;k \cdot \left(\left(t\_2 - t\_4 \cdot y\right) + z \cdot t\_6\right)\\ \mathbf{elif}\;y5 \leq -6.4 \cdot 10^{-298}:\\ \;\;\;\;t\_9\\ \mathbf{elif}\;y5 \leq 9.5 \cdot 10^{-91}:\\ \;\;\;\;y4 \cdot \left(b \cdot t\_10 + \left(y1 \cdot t\_5 - c \cdot t\_3\right)\right)\\ \mathbf{elif}\;y5 \leq 7.5 \cdot 10^{+82}:\\ \;\;\;\;y \cdot \left(\left(t\_7 \cdot x - t\_4 \cdot k\right) + y3 \cdot t\_11\right)\\ \mathbf{else}:\\ \;\;\;\;-i \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right) + c \cdot \left(x \cdot y\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) (* y0 y5)))
        (t_2 (* y2 t_1))
        (t_3 (- (* t y2) (* y3 y)))
        (t_4 (- (* b y4) (* i y5)))
        (t_5 (- (* k y2) (* y3 j)))
        (t_6 (- (* b y0) (* i y1)))
        (t_7 (- (* a b) (* c i)))
        (t_8 (- (* c y0) (* a y1)))
        (t_9 (- 0.0 (* z (+ (* t t_7) (- (* y3 t_8) (* k t_6))))))
        (t_10 (- (* t j) (* k y)))
        (t_11 (- (* c y4) (* a y5))))
   (if (<= y5 -7e+202)
     (* y5 (- (+ (* i t_10) (- (* y0 t_5) (* a t_3)))))
     (if (<= y5 -2.65e+162)
       (* k t_2)
       (if (<= y5 -3.3e+64)
         (* t (- (- (* t_4 j) (* z t_7)) (* t_11 y2)))
         (if (<= y5 -1.05e-47)
           (* y2 (+ (* k t_1) (- (* t_8 x) (* t t_11))))
           (if (<= y5 -1.9e-55)
             (*
              y0
              (-
               (- (* c (- (* y2 x) (* z y3))) (* y5 t_5))
               (* b (- (* j x) (* z k)))))
             (if (<= y5 -8.5e-96)
               t_9
               (if (<= y5 -5.7e-182)
                 (* k (+ (- t_2 (* t_4 y)) (* z t_6)))
                 (if (<= y5 -6.4e-298)
                   t_9
                   (if (<= y5 9.5e-91)
                     (* y4 (+ (* b t_10) (- (* y1 t_5) (* c t_3))))
                     (if (<= y5 7.5e+82)
                       (* y (+ (- (* t_7 x) (* t_4 k)) (* y3 t_11)))
                       (-
                        (*
                         i
                         (+
                          (* y5 (- (* j t) (* k y)))
                          (* c (* x y)))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (y1 * y4) - (y0 * y5);
	double t_2 = y2 * t_1;
	double t_3 = (t * y2) - (y3 * y);
	double t_4 = (b * y4) - (i * y5);
	double t_5 = (k * y2) - (y3 * j);
	double t_6 = (b * y0) - (i * y1);
	double t_7 = (a * b) - (c * i);
	double t_8 = (c * y0) - (a * y1);
	double t_9 = 0.0 - (z * ((t * t_7) + ((y3 * t_8) - (k * t_6))));
	double t_10 = (t * j) - (k * y);
	double t_11 = (c * y4) - (a * y5);
	double tmp;
	if (y5 <= -7e+202) {
		tmp = y5 * -((i * t_10) + ((y0 * t_5) - (a * t_3)));
	} else if (y5 <= -2.65e+162) {
		tmp = k * t_2;
	} else if (y5 <= -3.3e+64) {
		tmp = t * (((t_4 * j) - (z * t_7)) - (t_11 * y2));
	} else if (y5 <= -1.05e-47) {
		tmp = y2 * ((k * t_1) + ((t_8 * x) - (t * t_11)));
	} else if (y5 <= -1.9e-55) {
		tmp = y0 * (((c * ((y2 * x) - (z * y3))) - (y5 * t_5)) - (b * ((j * x) - (z * k))));
	} else if (y5 <= -8.5e-96) {
		tmp = t_9;
	} else if (y5 <= -5.7e-182) {
		tmp = k * ((t_2 - (t_4 * y)) + (z * t_6));
	} else if (y5 <= -6.4e-298) {
		tmp = t_9;
	} else if (y5 <= 9.5e-91) {
		tmp = y4 * ((b * t_10) + ((y1 * t_5) - (c * t_3)));
	} else if (y5 <= 7.5e+82) {
		tmp = y * (((t_7 * x) - (t_4 * k)) + (y3 * t_11));
	} else {
		tmp = -(i * ((y5 * ((j * t) - (k * y))) + (c * (x * y))));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_10
    real(8) :: t_11
    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 = (y1 * y4) - (y0 * y5)
    t_2 = y2 * t_1
    t_3 = (t * y2) - (y3 * y)
    t_4 = (b * y4) - (i * y5)
    t_5 = (k * y2) - (y3 * j)
    t_6 = (b * y0) - (i * y1)
    t_7 = (a * b) - (c * i)
    t_8 = (c * y0) - (a * y1)
    t_9 = 0.0d0 - (z * ((t * t_7) + ((y3 * t_8) - (k * t_6))))
    t_10 = (t * j) - (k * y)
    t_11 = (c * y4) - (a * y5)
    if (y5 <= (-7d+202)) then
        tmp = y5 * -((i * t_10) + ((y0 * t_5) - (a * t_3)))
    else if (y5 <= (-2.65d+162)) then
        tmp = k * t_2
    else if (y5 <= (-3.3d+64)) then
        tmp = t * (((t_4 * j) - (z * t_7)) - (t_11 * y2))
    else if (y5 <= (-1.05d-47)) then
        tmp = y2 * ((k * t_1) + ((t_8 * x) - (t * t_11)))
    else if (y5 <= (-1.9d-55)) then
        tmp = y0 * (((c * ((y2 * x) - (z * y3))) - (y5 * t_5)) - (b * ((j * x) - (z * k))))
    else if (y5 <= (-8.5d-96)) then
        tmp = t_9
    else if (y5 <= (-5.7d-182)) then
        tmp = k * ((t_2 - (t_4 * y)) + (z * t_6))
    else if (y5 <= (-6.4d-298)) then
        tmp = t_9
    else if (y5 <= 9.5d-91) then
        tmp = y4 * ((b * t_10) + ((y1 * t_5) - (c * t_3)))
    else if (y5 <= 7.5d+82) then
        tmp = y * (((t_7 * x) - (t_4 * k)) + (y3 * t_11))
    else
        tmp = -(i * ((y5 * ((j * t) - (k * y))) + (c * (x * y))))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (y1 * y4) - (y0 * y5);
	double t_2 = y2 * t_1;
	double t_3 = (t * y2) - (y3 * y);
	double t_4 = (b * y4) - (i * y5);
	double t_5 = (k * y2) - (y3 * j);
	double t_6 = (b * y0) - (i * y1);
	double t_7 = (a * b) - (c * i);
	double t_8 = (c * y0) - (a * y1);
	double t_9 = 0.0 - (z * ((t * t_7) + ((y3 * t_8) - (k * t_6))));
	double t_10 = (t * j) - (k * y);
	double t_11 = (c * y4) - (a * y5);
	double tmp;
	if (y5 <= -7e+202) {
		tmp = y5 * -((i * t_10) + ((y0 * t_5) - (a * t_3)));
	} else if (y5 <= -2.65e+162) {
		tmp = k * t_2;
	} else if (y5 <= -3.3e+64) {
		tmp = t * (((t_4 * j) - (z * t_7)) - (t_11 * y2));
	} else if (y5 <= -1.05e-47) {
		tmp = y2 * ((k * t_1) + ((t_8 * x) - (t * t_11)));
	} else if (y5 <= -1.9e-55) {
		tmp = y0 * (((c * ((y2 * x) - (z * y3))) - (y5 * t_5)) - (b * ((j * x) - (z * k))));
	} else if (y5 <= -8.5e-96) {
		tmp = t_9;
	} else if (y5 <= -5.7e-182) {
		tmp = k * ((t_2 - (t_4 * y)) + (z * t_6));
	} else if (y5 <= -6.4e-298) {
		tmp = t_9;
	} else if (y5 <= 9.5e-91) {
		tmp = y4 * ((b * t_10) + ((y1 * t_5) - (c * t_3)));
	} else if (y5 <= 7.5e+82) {
		tmp = y * (((t_7 * x) - (t_4 * k)) + (y3 * t_11));
	} else {
		tmp = -(i * ((y5 * ((j * t) - (k * y))) + (c * (x * y))));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = (y1 * y4) - (y0 * y5)
	t_2 = y2 * t_1
	t_3 = (t * y2) - (y3 * y)
	t_4 = (b * y4) - (i * y5)
	t_5 = (k * y2) - (y3 * j)
	t_6 = (b * y0) - (i * y1)
	t_7 = (a * b) - (c * i)
	t_8 = (c * y0) - (a * y1)
	t_9 = 0.0 - (z * ((t * t_7) + ((y3 * t_8) - (k * t_6))))
	t_10 = (t * j) - (k * y)
	t_11 = (c * y4) - (a * y5)
	tmp = 0
	if y5 <= -7e+202:
		tmp = y5 * -((i * t_10) + ((y0 * t_5) - (a * t_3)))
	elif y5 <= -2.65e+162:
		tmp = k * t_2
	elif y5 <= -3.3e+64:
		tmp = t * (((t_4 * j) - (z * t_7)) - (t_11 * y2))
	elif y5 <= -1.05e-47:
		tmp = y2 * ((k * t_1) + ((t_8 * x) - (t * t_11)))
	elif y5 <= -1.9e-55:
		tmp = y0 * (((c * ((y2 * x) - (z * y3))) - (y5 * t_5)) - (b * ((j * x) - (z * k))))
	elif y5 <= -8.5e-96:
		tmp = t_9
	elif y5 <= -5.7e-182:
		tmp = k * ((t_2 - (t_4 * y)) + (z * t_6))
	elif y5 <= -6.4e-298:
		tmp = t_9
	elif y5 <= 9.5e-91:
		tmp = y4 * ((b * t_10) + ((y1 * t_5) - (c * t_3)))
	elif y5 <= 7.5e+82:
		tmp = y * (((t_7 * x) - (t_4 * k)) + (y3 * t_11))
	else:
		tmp = -(i * ((y5 * ((j * t) - (k * y))) + (c * (x * y))))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(Float64(y1 * y4) - Float64(y0 * y5))
	t_2 = Float64(y2 * t_1)
	t_3 = Float64(Float64(t * y2) - Float64(y3 * y))
	t_4 = Float64(Float64(b * y4) - Float64(i * y5))
	t_5 = Float64(Float64(k * y2) - Float64(y3 * j))
	t_6 = Float64(Float64(b * y0) - Float64(i * y1))
	t_7 = Float64(Float64(a * b) - Float64(c * i))
	t_8 = Float64(Float64(c * y0) - Float64(a * y1))
	t_9 = Float64(0.0 - Float64(z * Float64(Float64(t * t_7) + Float64(Float64(y3 * t_8) - Float64(k * t_6)))))
	t_10 = Float64(Float64(t * j) - Float64(k * y))
	t_11 = Float64(Float64(c * y4) - Float64(a * y5))
	tmp = 0.0
	if (y5 <= -7e+202)
		tmp = Float64(y5 * Float64(-Float64(Float64(i * t_10) + Float64(Float64(y0 * t_5) - Float64(a * t_3)))));
	elseif (y5 <= -2.65e+162)
		tmp = Float64(k * t_2);
	elseif (y5 <= -3.3e+64)
		tmp = Float64(t * Float64(Float64(Float64(t_4 * j) - Float64(z * t_7)) - Float64(t_11 * y2)));
	elseif (y5 <= -1.05e-47)
		tmp = Float64(y2 * Float64(Float64(k * t_1) + Float64(Float64(t_8 * x) - Float64(t * t_11))));
	elseif (y5 <= -1.9e-55)
		tmp = Float64(y0 * Float64(Float64(Float64(c * Float64(Float64(y2 * x) - Float64(z * y3))) - Float64(y5 * t_5)) - Float64(b * Float64(Float64(j * x) - Float64(z * k)))));
	elseif (y5 <= -8.5e-96)
		tmp = t_9;
	elseif (y5 <= -5.7e-182)
		tmp = Float64(k * Float64(Float64(t_2 - Float64(t_4 * y)) + Float64(z * t_6)));
	elseif (y5 <= -6.4e-298)
		tmp = t_9;
	elseif (y5 <= 9.5e-91)
		tmp = Float64(y4 * Float64(Float64(b * t_10) + Float64(Float64(y1 * t_5) - Float64(c * t_3))));
	elseif (y5 <= 7.5e+82)
		tmp = Float64(y * Float64(Float64(Float64(t_7 * x) - Float64(t_4 * k)) + Float64(y3 * t_11)));
	else
		tmp = Float64(-Float64(i * Float64(Float64(y5 * Float64(Float64(j * t) - Float64(k * y))) + Float64(c * Float64(x * y)))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = (y1 * y4) - (y0 * y5);
	t_2 = y2 * t_1;
	t_3 = (t * y2) - (y3 * y);
	t_4 = (b * y4) - (i * y5);
	t_5 = (k * y2) - (y3 * j);
	t_6 = (b * y0) - (i * y1);
	t_7 = (a * b) - (c * i);
	t_8 = (c * y0) - (a * y1);
	t_9 = 0.0 - (z * ((t * t_7) + ((y3 * t_8) - (k * t_6))));
	t_10 = (t * j) - (k * y);
	t_11 = (c * y4) - (a * y5);
	tmp = 0.0;
	if (y5 <= -7e+202)
		tmp = y5 * -((i * t_10) + ((y0 * t_5) - (a * t_3)));
	elseif (y5 <= -2.65e+162)
		tmp = k * t_2;
	elseif (y5 <= -3.3e+64)
		tmp = t * (((t_4 * j) - (z * t_7)) - (t_11 * y2));
	elseif (y5 <= -1.05e-47)
		tmp = y2 * ((k * t_1) + ((t_8 * x) - (t * t_11)));
	elseif (y5 <= -1.9e-55)
		tmp = y0 * (((c * ((y2 * x) - (z * y3))) - (y5 * t_5)) - (b * ((j * x) - (z * k))));
	elseif (y5 <= -8.5e-96)
		tmp = t_9;
	elseif (y5 <= -5.7e-182)
		tmp = k * ((t_2 - (t_4 * y)) + (z * t_6));
	elseif (y5 <= -6.4e-298)
		tmp = t_9;
	elseif (y5 <= 9.5e-91)
		tmp = y4 * ((b * t_10) + ((y1 * t_5) - (c * t_3)));
	elseif (y5 <= 7.5e+82)
		tmp = y * (((t_7 * x) - (t_4 * k)) + (y3 * t_11));
	else
		tmp = -(i * ((y5 * ((j * t) - (k * y))) + (c * (x * y))));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y2 * t$95$1), $MachinePrecision]}, Block[{t$95$3 = N[(N[(t * y2), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(k * y2), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(0.0 - N[(z * N[(N[(t * t$95$7), $MachinePrecision] + N[(N[(y3 * t$95$8), $MachinePrecision] - N[(k * t$95$6), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$10 = N[(N[(t * j), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$11 = N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -7e+202], N[(y5 * (-N[(N[(i * t$95$10), $MachinePrecision] + N[(N[(y0 * t$95$5), $MachinePrecision] - N[(a * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision])), $MachinePrecision], If[LessEqual[y5, -2.65e+162], N[(k * t$95$2), $MachinePrecision], If[LessEqual[y5, -3.3e+64], N[(t * N[(N[(N[(t$95$4 * j), $MachinePrecision] - N[(z * t$95$7), $MachinePrecision]), $MachinePrecision] - N[(t$95$11 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -1.05e-47], N[(y2 * N[(N[(k * t$95$1), $MachinePrecision] + N[(N[(t$95$8 * x), $MachinePrecision] - N[(t * t$95$11), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -1.9e-55], N[(y0 * N[(N[(N[(c * N[(N[(y2 * x), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y5 * t$95$5), $MachinePrecision]), $MachinePrecision] - N[(b * N[(N[(j * x), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -8.5e-96], t$95$9, If[LessEqual[y5, -5.7e-182], N[(k * N[(N[(t$95$2 - N[(t$95$4 * y), $MachinePrecision]), $MachinePrecision] + N[(z * t$95$6), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -6.4e-298], t$95$9, If[LessEqual[y5, 9.5e-91], N[(y4 * N[(N[(b * t$95$10), $MachinePrecision] + N[(N[(y1 * t$95$5), $MachinePrecision] - N[(c * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 7.5e+82], N[(y * N[(N[(N[(t$95$7 * x), $MachinePrecision] - N[(t$95$4 * k), $MachinePrecision]), $MachinePrecision] + N[(y3 * t$95$11), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], (-N[(i * N[(N[(y5 * N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision])]]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := y1 \cdot y4 - y0 \cdot y5\\
t_2 := y2 \cdot t\_1\\
t_3 := t \cdot y2 - y3 \cdot y\\
t_4 := b \cdot y4 - i \cdot y5\\
t_5 := k \cdot y2 - y3 \cdot j\\
t_6 := b \cdot y0 - i \cdot y1\\
t_7 := a \cdot b - c \cdot i\\
t_8 := c \cdot y0 - a \cdot y1\\
t_9 := 0 - z \cdot \left(t \cdot t\_7 + \left(y3 \cdot t\_8 - k \cdot t\_6\right)\right)\\
t_10 := t \cdot j - k \cdot y\\
t_11 := c \cdot y4 - a \cdot y5\\
\mathbf{if}\;y5 \leq -7 \cdot 10^{+202}:\\
\;\;\;\;y5 \cdot \left(-\left(i \cdot t\_10 + \left(y0 \cdot t\_5 - a \cdot t\_3\right)\right)\right)\\

\mathbf{elif}\;y5 \leq -2.65 \cdot 10^{+162}:\\
\;\;\;\;k \cdot t\_2\\

\mathbf{elif}\;y5 \leq -3.3 \cdot 10^{+64}:\\
\;\;\;\;t \cdot \left(\left(t\_4 \cdot j - z \cdot t\_7\right) - t\_11 \cdot y2\right)\\

\mathbf{elif}\;y5 \leq -1.05 \cdot 10^{-47}:\\
\;\;\;\;y2 \cdot \left(k \cdot t\_1 + \left(t\_8 \cdot x - t \cdot t\_11\right)\right)\\

\mathbf{elif}\;y5 \leq -1.9 \cdot 10^{-55}:\\
\;\;\;\;y0 \cdot \left(\left(c \cdot \left(y2 \cdot x - z \cdot y3\right) - y5 \cdot t\_5\right) - b \cdot \left(j \cdot x - z \cdot k\right)\right)\\

\mathbf{elif}\;y5 \leq -8.5 \cdot 10^{-96}:\\
\;\;\;\;t\_9\\

\mathbf{elif}\;y5 \leq -5.7 \cdot 10^{-182}:\\
\;\;\;\;k \cdot \left(\left(t\_2 - t\_4 \cdot y\right) + z \cdot t\_6\right)\\

\mathbf{elif}\;y5 \leq -6.4 \cdot 10^{-298}:\\
\;\;\;\;t\_9\\

\mathbf{elif}\;y5 \leq 9.5 \cdot 10^{-91}:\\
\;\;\;\;y4 \cdot \left(b \cdot t\_10 + \left(y1 \cdot t\_5 - c \cdot t\_3\right)\right)\\

\mathbf{elif}\;y5 \leq 7.5 \cdot 10^{+82}:\\
\;\;\;\;y \cdot \left(\left(t\_7 \cdot x - t\_4 \cdot k\right) + y3 \cdot t\_11\right)\\

\mathbf{else}:\\
\;\;\;\;-i \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right) + c \cdot \left(x \cdot y\right)\right)\\


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

    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 y5 around -inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if -6.99999999999999975e202 < y5 < -2.6500000000000001e162

    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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -2.6500000000000001e162 < y5 < -3.29999999999999988e64

    1. Initial program 32.3%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if -3.29999999999999988e64 < y5 < -1.05e-47

    1. Initial program 47.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 y2 around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if -1.05e-47 < y5 < -1.8999999999999998e-55

    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 y0 around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if -1.8999999999999998e-55 < y5 < -8.49999999999999983e-96 or -5.6999999999999998e-182 < y5 < -6.39999999999999995e-298

    1. Initial program 40.5%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if -8.49999999999999983e-96 < y5 < -5.6999999999999998e-182

    1. Initial program 39.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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if -6.39999999999999995e-298 < y5 < 9.5e-91

    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 y4 around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if 9.5e-91 < y5 < 7.4999999999999999e82

    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 y around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if 7.4999999999999999e82 < y5

    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 i around -inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around 0 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in z around 0 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]
  3. Recombined 10 regimes into one program.
  4. Add Preprocessing

Alternative 2: 55.5% accurate, 0.5× speedup?

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

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

\mathbf{else}:\\
\;\;\;\;y3 \cdot \left(y0 \cdot \left(\left(j \cdot y5 - c \cdot z\right) + \frac{\left(c \cdot \left(x \cdot y2\right) - k \cdot \left(y2 \cdot y5\right)\right) - b \cdot t\_1}{y3}\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if (+.f64 (-.f64 (+.f64 (+.f64 (-.f64 (*.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (-.f64 (*.f64 a b) (*.f64 c i))) (*.f64 (-.f64 (*.f64 x j) (*.f64 z k)) (-.f64 (*.f64 y0 b) (*.f64 y1 i)))) (*.f64 (-.f64 (*.f64 x y2) (*.f64 z y3)) (-.f64 (*.f64 y0 c) (*.f64 y1 a)))) (*.f64 (-.f64 (*.f64 t j) (*.f64 y k)) (-.f64 (*.f64 y4 b) (*.f64 y5 i)))) (*.f64 (-.f64 (*.f64 t y2) (*.f64 y y3)) (-.f64 (*.f64 y4 c) (*.f64 y5 a)))) (*.f64 (-.f64 (*.f64 k y2) (*.f64 j y3)) (-.f64 (*.f64 y4 y1) (*.f64 y5 y0)))) < +inf.0

    1. Initial program 93.4%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing

    if +inf.0 < (+.f64 (-.f64 (+.f64 (+.f64 (-.f64 (*.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (-.f64 (*.f64 a b) (*.f64 c i))) (*.f64 (-.f64 (*.f64 x j) (*.f64 z k)) (-.f64 (*.f64 y0 b) (*.f64 y1 i)))) (*.f64 (-.f64 (*.f64 x y2) (*.f64 z y3)) (-.f64 (*.f64 y0 c) (*.f64 y1 a)))) (*.f64 (-.f64 (*.f64 t j) (*.f64 y k)) (-.f64 (*.f64 y4 b) (*.f64 y5 i)))) (*.f64 (-.f64 (*.f64 t y2) (*.f64 y y3)) (-.f64 (*.f64 y4 c) (*.f64 y5 a)))) (*.f64 (-.f64 (*.f64 k y2) (*.f64 j y3)) (-.f64 (*.f64 y4 y1) (*.f64 y5 y0))))

    1. Initial program 0.0%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y3 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
  3. Recombined 2 regimes into one program.
  4. Add Preprocessing

Alternative 3: 40.9% accurate, 1.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot y4 - i \cdot y5\\ t_2 := y2 \cdot x - z \cdot y3\\ t_3 := y \cdot x - t \cdot z\\ t_4 := y1 \cdot y4 - y0 \cdot y5\\ t_5 := b \cdot y0 - i \cdot y1\\ t_6 := k \cdot \left(\left(y2 \cdot t\_4 - t\_1 \cdot y\right) + z \cdot t\_5\right)\\ t_7 := t \cdot y2 - y3 \cdot y\\ t_8 := c \cdot \left(\left(y0 \cdot t\_2 - i \cdot t\_3\right) - y4 \cdot t\_7\right)\\ t_9 := a \cdot \left(\left(b \cdot t\_3 - y1 \cdot t\_2\right) + y5 \cdot t\_7\right)\\ t_10 := b \cdot \left(\left(a \cdot t\_3 + y4 \cdot \left(t \cdot j - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - z \cdot k\right)\right)\\ \mathbf{if}\;k \leq -1.12 \cdot 10^{+107}:\\ \;\;\;\;t\_6\\ \mathbf{elif}\;k \leq -3.9 \cdot 10^{+83}:\\ \;\;\;\;t\_9\\ \mathbf{elif}\;k \leq -5 \cdot 10^{+33}:\\ \;\;\;\;t\_6\\ \mathbf{elif}\;k \leq -1.45 \cdot 10^{-54}:\\ \;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\ \mathbf{elif}\;k \leq -1.05 \cdot 10^{-128}:\\ \;\;\;\;t\_10\\ \mathbf{elif}\;k \leq -4.2 \cdot 10^{-158}:\\ \;\;\;\;-\left(\left(c \cdot i\right) \cdot y\right) \cdot x\\ \mathbf{elif}\;k \leq 3.4 \cdot 10^{-251}:\\ \;\;\;\;t\_8\\ \mathbf{elif}\;k \leq 2.6 \cdot 10^{-145}:\\ \;\;\;\;t\_10\\ \mathbf{elif}\;k \leq 2.5 \cdot 10^{-86}:\\ \;\;\;\;j \cdot \left(\left(t \cdot t\_1 - y3 \cdot t\_4\right) - t\_5 \cdot x\right)\\ \mathbf{elif}\;k \leq 1.36 \cdot 10^{-8}:\\ \;\;\;\;t \cdot \left(\left(t\_1 \cdot j - z \cdot \left(a \cdot b - c \cdot i\right)\right) - \left(c \cdot y4 - a \cdot y5\right) \cdot y2\right)\\ \mathbf{elif}\;k \leq 2.65 \cdot 10^{+64}:\\ \;\;\;\;t\_8\\ \mathbf{elif}\;k \leq 6.5 \cdot 10^{+137}:\\ \;\;\;\;t\_9\\ \mathbf{else}:\\ \;\;\;\;t\_6\\ \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 (- (* y2 x) (* z y3)))
        (t_3 (- (* y x) (* t z)))
        (t_4 (- (* y1 y4) (* y0 y5)))
        (t_5 (- (* b y0) (* i y1)))
        (t_6 (* k (+ (- (* y2 t_4) (* t_1 y)) (* z t_5))))
        (t_7 (- (* t y2) (* y3 y)))
        (t_8 (* c (- (- (* y0 t_2) (* i t_3)) (* y4 t_7))))
        (t_9 (* a (+ (- (* b t_3) (* y1 t_2)) (* y5 t_7))))
        (t_10
         (*
          b
          (-
           (+ (* a t_3) (* y4 (- (* t j) (* k y))))
           (* y0 (- (* j x) (* z k)))))))
   (if (<= k -1.12e+107)
     t_6
     (if (<= k -3.9e+83)
       t_9
       (if (<= k -5e+33)
         t_6
         (if (<= k -1.45e-54)
           (* a (* y5 (- (* t y2) (* y y3))))
           (if (<= k -1.05e-128)
             t_10
             (if (<= k -4.2e-158)
               (- (* (* (* c i) y) x))
               (if (<= k 3.4e-251)
                 t_8
                 (if (<= k 2.6e-145)
                   t_10
                   (if (<= k 2.5e-86)
                     (* j (- (- (* t t_1) (* y3 t_4)) (* t_5 x)))
                     (if (<= k 1.36e-8)
                       (*
                        t
                        (-
                         (- (* t_1 j) (* z (- (* a b) (* c i))))
                         (* (- (* c y4) (* a y5)) y2)))
                       (if (<= k 2.65e+64)
                         t_8
                         (if (<= k 6.5e+137) t_9 t_6))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (b * y4) - (i * y5);
	double t_2 = (y2 * x) - (z * y3);
	double t_3 = (y * x) - (t * z);
	double t_4 = (y1 * y4) - (y0 * y5);
	double t_5 = (b * y0) - (i * y1);
	double t_6 = k * (((y2 * t_4) - (t_1 * y)) + (z * t_5));
	double t_7 = (t * y2) - (y3 * y);
	double t_8 = c * (((y0 * t_2) - (i * t_3)) - (y4 * t_7));
	double t_9 = a * (((b * t_3) - (y1 * t_2)) + (y5 * t_7));
	double t_10 = b * (((a * t_3) + (y4 * ((t * j) - (k * y)))) - (y0 * ((j * x) - (z * k))));
	double tmp;
	if (k <= -1.12e+107) {
		tmp = t_6;
	} else if (k <= -3.9e+83) {
		tmp = t_9;
	} else if (k <= -5e+33) {
		tmp = t_6;
	} else if (k <= -1.45e-54) {
		tmp = a * (y5 * ((t * y2) - (y * y3)));
	} else if (k <= -1.05e-128) {
		tmp = t_10;
	} else if (k <= -4.2e-158) {
		tmp = -(((c * i) * y) * x);
	} else if (k <= 3.4e-251) {
		tmp = t_8;
	} else if (k <= 2.6e-145) {
		tmp = t_10;
	} else if (k <= 2.5e-86) {
		tmp = j * (((t * t_1) - (y3 * t_4)) - (t_5 * x));
	} else if (k <= 1.36e-8) {
		tmp = t * (((t_1 * j) - (z * ((a * b) - (c * i)))) - (((c * y4) - (a * y5)) * y2));
	} else if (k <= 2.65e+64) {
		tmp = t_8;
	} else if (k <= 6.5e+137) {
		tmp = t_9;
	} else {
		tmp = t_6;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_10
    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 = (b * y4) - (i * y5)
    t_2 = (y2 * x) - (z * y3)
    t_3 = (y * x) - (t * z)
    t_4 = (y1 * y4) - (y0 * y5)
    t_5 = (b * y0) - (i * y1)
    t_6 = k * (((y2 * t_4) - (t_1 * y)) + (z * t_5))
    t_7 = (t * y2) - (y3 * y)
    t_8 = c * (((y0 * t_2) - (i * t_3)) - (y4 * t_7))
    t_9 = a * (((b * t_3) - (y1 * t_2)) + (y5 * t_7))
    t_10 = b * (((a * t_3) + (y4 * ((t * j) - (k * y)))) - (y0 * ((j * x) - (z * k))))
    if (k <= (-1.12d+107)) then
        tmp = t_6
    else if (k <= (-3.9d+83)) then
        tmp = t_9
    else if (k <= (-5d+33)) then
        tmp = t_6
    else if (k <= (-1.45d-54)) then
        tmp = a * (y5 * ((t * y2) - (y * y3)))
    else if (k <= (-1.05d-128)) then
        tmp = t_10
    else if (k <= (-4.2d-158)) then
        tmp = -(((c * i) * y) * x)
    else if (k <= 3.4d-251) then
        tmp = t_8
    else if (k <= 2.6d-145) then
        tmp = t_10
    else if (k <= 2.5d-86) then
        tmp = j * (((t * t_1) - (y3 * t_4)) - (t_5 * x))
    else if (k <= 1.36d-8) then
        tmp = t * (((t_1 * j) - (z * ((a * b) - (c * i)))) - (((c * y4) - (a * y5)) * y2))
    else if (k <= 2.65d+64) then
        tmp = t_8
    else if (k <= 6.5d+137) then
        tmp = t_9
    else
        tmp = t_6
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (b * y4) - (i * y5);
	double t_2 = (y2 * x) - (z * y3);
	double t_3 = (y * x) - (t * z);
	double t_4 = (y1 * y4) - (y0 * y5);
	double t_5 = (b * y0) - (i * y1);
	double t_6 = k * (((y2 * t_4) - (t_1 * y)) + (z * t_5));
	double t_7 = (t * y2) - (y3 * y);
	double t_8 = c * (((y0 * t_2) - (i * t_3)) - (y4 * t_7));
	double t_9 = a * (((b * t_3) - (y1 * t_2)) + (y5 * t_7));
	double t_10 = b * (((a * t_3) + (y4 * ((t * j) - (k * y)))) - (y0 * ((j * x) - (z * k))));
	double tmp;
	if (k <= -1.12e+107) {
		tmp = t_6;
	} else if (k <= -3.9e+83) {
		tmp = t_9;
	} else if (k <= -5e+33) {
		tmp = t_6;
	} else if (k <= -1.45e-54) {
		tmp = a * (y5 * ((t * y2) - (y * y3)));
	} else if (k <= -1.05e-128) {
		tmp = t_10;
	} else if (k <= -4.2e-158) {
		tmp = -(((c * i) * y) * x);
	} else if (k <= 3.4e-251) {
		tmp = t_8;
	} else if (k <= 2.6e-145) {
		tmp = t_10;
	} else if (k <= 2.5e-86) {
		tmp = j * (((t * t_1) - (y3 * t_4)) - (t_5 * x));
	} else if (k <= 1.36e-8) {
		tmp = t * (((t_1 * j) - (z * ((a * b) - (c * i)))) - (((c * y4) - (a * y5)) * y2));
	} else if (k <= 2.65e+64) {
		tmp = t_8;
	} else if (k <= 6.5e+137) {
		tmp = t_9;
	} else {
		tmp = t_6;
	}
	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 = (y2 * x) - (z * y3)
	t_3 = (y * x) - (t * z)
	t_4 = (y1 * y4) - (y0 * y5)
	t_5 = (b * y0) - (i * y1)
	t_6 = k * (((y2 * t_4) - (t_1 * y)) + (z * t_5))
	t_7 = (t * y2) - (y3 * y)
	t_8 = c * (((y0 * t_2) - (i * t_3)) - (y4 * t_7))
	t_9 = a * (((b * t_3) - (y1 * t_2)) + (y5 * t_7))
	t_10 = b * (((a * t_3) + (y4 * ((t * j) - (k * y)))) - (y0 * ((j * x) - (z * k))))
	tmp = 0
	if k <= -1.12e+107:
		tmp = t_6
	elif k <= -3.9e+83:
		tmp = t_9
	elif k <= -5e+33:
		tmp = t_6
	elif k <= -1.45e-54:
		tmp = a * (y5 * ((t * y2) - (y * y3)))
	elif k <= -1.05e-128:
		tmp = t_10
	elif k <= -4.2e-158:
		tmp = -(((c * i) * y) * x)
	elif k <= 3.4e-251:
		tmp = t_8
	elif k <= 2.6e-145:
		tmp = t_10
	elif k <= 2.5e-86:
		tmp = j * (((t * t_1) - (y3 * t_4)) - (t_5 * x))
	elif k <= 1.36e-8:
		tmp = t * (((t_1 * j) - (z * ((a * b) - (c * i)))) - (((c * y4) - (a * y5)) * y2))
	elif k <= 2.65e+64:
		tmp = t_8
	elif k <= 6.5e+137:
		tmp = t_9
	else:
		tmp = t_6
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(Float64(b * y4) - Float64(i * y5))
	t_2 = Float64(Float64(y2 * x) - Float64(z * y3))
	t_3 = Float64(Float64(y * x) - Float64(t * z))
	t_4 = Float64(Float64(y1 * y4) - Float64(y0 * y5))
	t_5 = Float64(Float64(b * y0) - Float64(i * y1))
	t_6 = Float64(k * Float64(Float64(Float64(y2 * t_4) - Float64(t_1 * y)) + Float64(z * t_5)))
	t_7 = Float64(Float64(t * y2) - Float64(y3 * y))
	t_8 = Float64(c * Float64(Float64(Float64(y0 * t_2) - Float64(i * t_3)) - Float64(y4 * t_7)))
	t_9 = Float64(a * Float64(Float64(Float64(b * t_3) - Float64(y1 * t_2)) + Float64(y5 * t_7)))
	t_10 = Float64(b * Float64(Float64(Float64(a * t_3) + Float64(y4 * Float64(Float64(t * j) - Float64(k * y)))) - Float64(y0 * Float64(Float64(j * x) - Float64(z * k)))))
	tmp = 0.0
	if (k <= -1.12e+107)
		tmp = t_6;
	elseif (k <= -3.9e+83)
		tmp = t_9;
	elseif (k <= -5e+33)
		tmp = t_6;
	elseif (k <= -1.45e-54)
		tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))));
	elseif (k <= -1.05e-128)
		tmp = t_10;
	elseif (k <= -4.2e-158)
		tmp = Float64(-Float64(Float64(Float64(c * i) * y) * x));
	elseif (k <= 3.4e-251)
		tmp = t_8;
	elseif (k <= 2.6e-145)
		tmp = t_10;
	elseif (k <= 2.5e-86)
		tmp = Float64(j * Float64(Float64(Float64(t * t_1) - Float64(y3 * t_4)) - Float64(t_5 * x)));
	elseif (k <= 1.36e-8)
		tmp = Float64(t * Float64(Float64(Float64(t_1 * j) - Float64(z * Float64(Float64(a * b) - Float64(c * i)))) - Float64(Float64(Float64(c * y4) - Float64(a * y5)) * y2)));
	elseif (k <= 2.65e+64)
		tmp = t_8;
	elseif (k <= 6.5e+137)
		tmp = t_9;
	else
		tmp = t_6;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = (b * y4) - (i * y5);
	t_2 = (y2 * x) - (z * y3);
	t_3 = (y * x) - (t * z);
	t_4 = (y1 * y4) - (y0 * y5);
	t_5 = (b * y0) - (i * y1);
	t_6 = k * (((y2 * t_4) - (t_1 * y)) + (z * t_5));
	t_7 = (t * y2) - (y3 * y);
	t_8 = c * (((y0 * t_2) - (i * t_3)) - (y4 * t_7));
	t_9 = a * (((b * t_3) - (y1 * t_2)) + (y5 * t_7));
	t_10 = b * (((a * t_3) + (y4 * ((t * j) - (k * y)))) - (y0 * ((j * x) - (z * k))));
	tmp = 0.0;
	if (k <= -1.12e+107)
		tmp = t_6;
	elseif (k <= -3.9e+83)
		tmp = t_9;
	elseif (k <= -5e+33)
		tmp = t_6;
	elseif (k <= -1.45e-54)
		tmp = a * (y5 * ((t * y2) - (y * y3)));
	elseif (k <= -1.05e-128)
		tmp = t_10;
	elseif (k <= -4.2e-158)
		tmp = -(((c * i) * y) * x);
	elseif (k <= 3.4e-251)
		tmp = t_8;
	elseif (k <= 2.6e-145)
		tmp = t_10;
	elseif (k <= 2.5e-86)
		tmp = j * (((t * t_1) - (y3 * t_4)) - (t_5 * x));
	elseif (k <= 1.36e-8)
		tmp = t * (((t_1 * j) - (z * ((a * b) - (c * i)))) - (((c * y4) - (a * y5)) * y2));
	elseif (k <= 2.65e+64)
		tmp = t_8;
	elseif (k <= 6.5e+137)
		tmp = t_9;
	else
		tmp = t_6;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y2 * x), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(k * N[(N[(N[(y2 * t$95$4), $MachinePrecision] - N[(t$95$1 * y), $MachinePrecision]), $MachinePrecision] + N[(z * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(N[(t * y2), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(c * N[(N[(N[(y0 * t$95$2), $MachinePrecision] - N[(i * t$95$3), $MachinePrecision]), $MachinePrecision] - N[(y4 * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(a * N[(N[(N[(b * t$95$3), $MachinePrecision] - N[(y1 * t$95$2), $MachinePrecision]), $MachinePrecision] + N[(y5 * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$10 = N[(b * N[(N[(N[(a * t$95$3), $MachinePrecision] + N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y0 * N[(N[(j * x), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[k, -1.12e+107], t$95$6, If[LessEqual[k, -3.9e+83], t$95$9, If[LessEqual[k, -5e+33], t$95$6, If[LessEqual[k, -1.45e-54], N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -1.05e-128], t$95$10, If[LessEqual[k, -4.2e-158], (-N[(N[(N[(c * i), $MachinePrecision] * y), $MachinePrecision] * x), $MachinePrecision]), If[LessEqual[k, 3.4e-251], t$95$8, If[LessEqual[k, 2.6e-145], t$95$10, If[LessEqual[k, 2.5e-86], N[(j * N[(N[(N[(t * t$95$1), $MachinePrecision] - N[(y3 * t$95$4), $MachinePrecision]), $MachinePrecision] - N[(t$95$5 * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 1.36e-8], N[(t * N[(N[(N[(t$95$1 * j), $MachinePrecision] - N[(z * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 2.65e+64], t$95$8, If[LessEqual[k, 6.5e+137], t$95$9, t$95$6]]]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;k \leq -3.9 \cdot 10^{+83}:\\
\;\;\;\;t\_9\\

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

\mathbf{elif}\;k \leq -1.45 \cdot 10^{-54}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\

\mathbf{elif}\;k \leq -1.05 \cdot 10^{-128}:\\
\;\;\;\;t\_10\\

\mathbf{elif}\;k \leq -4.2 \cdot 10^{-158}:\\
\;\;\;\;-\left(\left(c \cdot i\right) \cdot y\right) \cdot x\\

\mathbf{elif}\;k \leq 3.4 \cdot 10^{-251}:\\
\;\;\;\;t\_8\\

\mathbf{elif}\;k \leq 2.6 \cdot 10^{-145}:\\
\;\;\;\;t\_10\\

\mathbf{elif}\;k \leq 2.5 \cdot 10^{-86}:\\
\;\;\;\;j \cdot \left(\left(t \cdot t\_1 - y3 \cdot t\_4\right) - t\_5 \cdot x\right)\\

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

\mathbf{elif}\;k \leq 2.65 \cdot 10^{+64}:\\
\;\;\;\;t\_8\\

\mathbf{elif}\;k \leq 6.5 \cdot 10^{+137}:\\
\;\;\;\;t\_9\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 8 regimes
  2. if k < -1.11999999999999997e107 or -3.9000000000000002e83 < k < -4.99999999999999973e33 or 6.5000000000000002e137 < k

    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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if -1.11999999999999997e107 < k < -3.9000000000000002e83 or 2.6500000000000001e64 < k < 6.5000000000000002e137

    1. Initial program 45.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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if -4.99999999999999973e33 < k < -1.45000000000000007e-54

    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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y5 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -1.45000000000000007e-54 < k < -1.0500000000000001e-128 or 3.40000000000000017e-251 < k < 2.6e-145

    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 b around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if -1.0500000000000001e-128 < k < -4.19999999999999983e-158

    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 i around -inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around 0 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in x around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]
    9. Applied egg-rr0

      \[\leadsto expr\]

    if -4.19999999999999983e-158 < k < 3.40000000000000017e-251 or 1.3599999999999999e-8 < k < 2.6500000000000001e64

    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 c around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if 2.6e-145 < k < 2.4999999999999999e-86

    1. Initial program 54.4%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if 2.4999999999999999e-86 < k < 1.3599999999999999e-8

    1. Initial program 58.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 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
  3. Recombined 8 regimes into one program.
  4. Add Preprocessing

Alternative 4: 33.0% accurate, 1.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \mathbf{if}\;y2 \leq -3.3 \cdot 10^{+181}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y2 \leq -1.45 \cdot 10^{+116}:\\ \;\;\;\;\left(\left(y2 \cdot y5 - z \cdot b\right) \cdot a\right) \cdot t\\ \mathbf{elif}\;y2 \leq -1.3 \cdot 10^{+25}:\\ \;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\ \mathbf{elif}\;y2 \leq -5.8 \cdot 10^{-182}:\\ \;\;\;\;-i \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right) + c \cdot \left(x \cdot y - t \cdot z\right)\right)\\ \mathbf{elif}\;y2 \leq 9.8 \cdot 10^{-253}:\\ \;\;\;\;-y \cdot \left(y4 \cdot \left(b \cdot k - c \cdot y3\right)\right)\\ \mathbf{elif}\;y2 \leq 2.9 \cdot 10^{-148}:\\ \;\;\;\;\left(j \cdot y0\right) \cdot \left(y3 \cdot y5 - x \cdot b\right)\\ \mathbf{elif}\;y2 \leq 2.7 \cdot 10^{-133}:\\ \;\;\;\;k \cdot \left(y \cdot \left(b \cdot \left(0 - y4\right)\right)\right)\\ \mathbf{elif}\;y2 \leq 3.2 \cdot 10^{-26}:\\ \;\;\;\;a \cdot \left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)\\ \mathbf{elif}\;y2 \leq 5.8 \cdot 10^{+43}:\\ \;\;\;\;\left(i \cdot z\right) \cdot \left(c \cdot t - k \cdot y1\right)\\ \mathbf{elif}\;y2 \leq 5.4 \cdot 10^{+150}:\\ \;\;\;\;y3 \cdot \left(y0 \cdot \left(j \cdot y5 - c \cdot z\right)\right)\\ \mathbf{elif}\;y2 \leq 4.3 \cdot 10^{+153}:\\ \;\;\;\;a \cdot \left(t \cdot \frac{1}{\frac{y2 \cdot y5 + z \cdot b}{y2 \cdot \left(y5 \cdot \left(y2 \cdot y5\right)\right) - \left(z \cdot b\right) \cdot \left(z \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 (* k (* y2 (- (* y1 y4) (* y0 y5))))))
   (if (<= y2 -3.3e+181)
     t_1
     (if (<= y2 -1.45e+116)
       (* (* (- (* y2 y5) (* z b)) a) t)
       (if (<= y2 -1.3e+25)
         (* y4 (* y1 (- (* k y2) (* j y3))))
         (if (<= y2 -5.8e-182)
           (- (* i (+ (* y5 (- (* j t) (* k y))) (* c (- (* x y) (* t z))))))
           (if (<= y2 9.8e-253)
             (- (* y (* y4 (- (* b k) (* c y3)))))
             (if (<= y2 2.9e-148)
               (* (* j y0) (- (* y3 y5) (* x b)))
               (if (<= y2 2.7e-133)
                 (* k (* y (* b (- 0.0 y4))))
                 (if (<= y2 3.2e-26)
                   (* a (* y (- (* b x) (* y3 y5))))
                   (if (<= y2 5.8e+43)
                     (* (* i z) (- (* c t) (* k y1)))
                     (if (<= y2 5.4e+150)
                       (* y3 (* y0 (- (* j y5) (* c z))))
                       (if (<= y2 4.3e+153)
                         (*
                          a
                          (*
                           t
                           (/
                            1.0
                            (/
                             (+ (* y2 y5) (* z b))
                             (-
                              (* y2 (* y5 (* y2 y5)))
                              (* (* z b) (* z 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 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	double tmp;
	if (y2 <= -3.3e+181) {
		tmp = t_1;
	} else if (y2 <= -1.45e+116) {
		tmp = (((y2 * y5) - (z * b)) * a) * t;
	} else if (y2 <= -1.3e+25) {
		tmp = y4 * (y1 * ((k * y2) - (j * y3)));
	} else if (y2 <= -5.8e-182) {
		tmp = -(i * ((y5 * ((j * t) - (k * y))) + (c * ((x * y) - (t * z)))));
	} else if (y2 <= 9.8e-253) {
		tmp = -(y * (y4 * ((b * k) - (c * y3))));
	} else if (y2 <= 2.9e-148) {
		tmp = (j * y0) * ((y3 * y5) - (x * b));
	} else if (y2 <= 2.7e-133) {
		tmp = k * (y * (b * (0.0 - y4)));
	} else if (y2 <= 3.2e-26) {
		tmp = a * (y * ((b * x) - (y3 * y5)));
	} else if (y2 <= 5.8e+43) {
		tmp = (i * z) * ((c * t) - (k * y1));
	} else if (y2 <= 5.4e+150) {
		tmp = y3 * (y0 * ((j * y5) - (c * z)));
	} else if (y2 <= 4.3e+153) {
		tmp = a * (t * (1.0 / (((y2 * y5) + (z * b)) / ((y2 * (y5 * (y2 * y5))) - ((z * b) * (z * 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 = k * (y2 * ((y1 * y4) - (y0 * y5)))
    if (y2 <= (-3.3d+181)) then
        tmp = t_1
    else if (y2 <= (-1.45d+116)) then
        tmp = (((y2 * y5) - (z * b)) * a) * t
    else if (y2 <= (-1.3d+25)) then
        tmp = y4 * (y1 * ((k * y2) - (j * y3)))
    else if (y2 <= (-5.8d-182)) then
        tmp = -(i * ((y5 * ((j * t) - (k * y))) + (c * ((x * y) - (t * z)))))
    else if (y2 <= 9.8d-253) then
        tmp = -(y * (y4 * ((b * k) - (c * y3))))
    else if (y2 <= 2.9d-148) then
        tmp = (j * y0) * ((y3 * y5) - (x * b))
    else if (y2 <= 2.7d-133) then
        tmp = k * (y * (b * (0.0d0 - y4)))
    else if (y2 <= 3.2d-26) then
        tmp = a * (y * ((b * x) - (y3 * y5)))
    else if (y2 <= 5.8d+43) then
        tmp = (i * z) * ((c * t) - (k * y1))
    else if (y2 <= 5.4d+150) then
        tmp = y3 * (y0 * ((j * y5) - (c * z)))
    else if (y2 <= 4.3d+153) then
        tmp = a * (t * (1.0d0 / (((y2 * y5) + (z * b)) / ((y2 * (y5 * (y2 * y5))) - ((z * b) * (z * 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 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	double tmp;
	if (y2 <= -3.3e+181) {
		tmp = t_1;
	} else if (y2 <= -1.45e+116) {
		tmp = (((y2 * y5) - (z * b)) * a) * t;
	} else if (y2 <= -1.3e+25) {
		tmp = y4 * (y1 * ((k * y2) - (j * y3)));
	} else if (y2 <= -5.8e-182) {
		tmp = -(i * ((y5 * ((j * t) - (k * y))) + (c * ((x * y) - (t * z)))));
	} else if (y2 <= 9.8e-253) {
		tmp = -(y * (y4 * ((b * k) - (c * y3))));
	} else if (y2 <= 2.9e-148) {
		tmp = (j * y0) * ((y3 * y5) - (x * b));
	} else if (y2 <= 2.7e-133) {
		tmp = k * (y * (b * (0.0 - y4)));
	} else if (y2 <= 3.2e-26) {
		tmp = a * (y * ((b * x) - (y3 * y5)));
	} else if (y2 <= 5.8e+43) {
		tmp = (i * z) * ((c * t) - (k * y1));
	} else if (y2 <= 5.4e+150) {
		tmp = y3 * (y0 * ((j * y5) - (c * z)));
	} else if (y2 <= 4.3e+153) {
		tmp = a * (t * (1.0 / (((y2 * y5) + (z * b)) / ((y2 * (y5 * (y2 * y5))) - ((z * b) * (z * 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 = k * (y2 * ((y1 * y4) - (y0 * y5)))
	tmp = 0
	if y2 <= -3.3e+181:
		tmp = t_1
	elif y2 <= -1.45e+116:
		tmp = (((y2 * y5) - (z * b)) * a) * t
	elif y2 <= -1.3e+25:
		tmp = y4 * (y1 * ((k * y2) - (j * y3)))
	elif y2 <= -5.8e-182:
		tmp = -(i * ((y5 * ((j * t) - (k * y))) + (c * ((x * y) - (t * z)))))
	elif y2 <= 9.8e-253:
		tmp = -(y * (y4 * ((b * k) - (c * y3))))
	elif y2 <= 2.9e-148:
		tmp = (j * y0) * ((y3 * y5) - (x * b))
	elif y2 <= 2.7e-133:
		tmp = k * (y * (b * (0.0 - y4)))
	elif y2 <= 3.2e-26:
		tmp = a * (y * ((b * x) - (y3 * y5)))
	elif y2 <= 5.8e+43:
		tmp = (i * z) * ((c * t) - (k * y1))
	elif y2 <= 5.4e+150:
		tmp = y3 * (y0 * ((j * y5) - (c * z)))
	elif y2 <= 4.3e+153:
		tmp = a * (t * (1.0 / (((y2 * y5) + (z * b)) / ((y2 * (y5 * (y2 * y5))) - ((z * b) * (z * 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(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5))))
	tmp = 0.0
	if (y2 <= -3.3e+181)
		tmp = t_1;
	elseif (y2 <= -1.45e+116)
		tmp = Float64(Float64(Float64(Float64(y2 * y5) - Float64(z * b)) * a) * t);
	elseif (y2 <= -1.3e+25)
		tmp = Float64(y4 * Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3))));
	elseif (y2 <= -5.8e-182)
		tmp = Float64(-Float64(i * Float64(Float64(y5 * Float64(Float64(j * t) - Float64(k * y))) + Float64(c * Float64(Float64(x * y) - Float64(t * z))))));
	elseif (y2 <= 9.8e-253)
		tmp = Float64(-Float64(y * Float64(y4 * Float64(Float64(b * k) - Float64(c * y3)))));
	elseif (y2 <= 2.9e-148)
		tmp = Float64(Float64(j * y0) * Float64(Float64(y3 * y5) - Float64(x * b)));
	elseif (y2 <= 2.7e-133)
		tmp = Float64(k * Float64(y * Float64(b * Float64(0.0 - y4))));
	elseif (y2 <= 3.2e-26)
		tmp = Float64(a * Float64(y * Float64(Float64(b * x) - Float64(y3 * y5))));
	elseif (y2 <= 5.8e+43)
		tmp = Float64(Float64(i * z) * Float64(Float64(c * t) - Float64(k * y1)));
	elseif (y2 <= 5.4e+150)
		tmp = Float64(y3 * Float64(y0 * Float64(Float64(j * y5) - Float64(c * z))));
	elseif (y2 <= 4.3e+153)
		tmp = Float64(a * Float64(t * Float64(1.0 / Float64(Float64(Float64(y2 * y5) + Float64(z * b)) / Float64(Float64(y2 * Float64(y5 * Float64(y2 * y5))) - Float64(Float64(z * b) * Float64(z * 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 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	tmp = 0.0;
	if (y2 <= -3.3e+181)
		tmp = t_1;
	elseif (y2 <= -1.45e+116)
		tmp = (((y2 * y5) - (z * b)) * a) * t;
	elseif (y2 <= -1.3e+25)
		tmp = y4 * (y1 * ((k * y2) - (j * y3)));
	elseif (y2 <= -5.8e-182)
		tmp = -(i * ((y5 * ((j * t) - (k * y))) + (c * ((x * y) - (t * z)))));
	elseif (y2 <= 9.8e-253)
		tmp = -(y * (y4 * ((b * k) - (c * y3))));
	elseif (y2 <= 2.9e-148)
		tmp = (j * y0) * ((y3 * y5) - (x * b));
	elseif (y2 <= 2.7e-133)
		tmp = k * (y * (b * (0.0 - y4)));
	elseif (y2 <= 3.2e-26)
		tmp = a * (y * ((b * x) - (y3 * y5)));
	elseif (y2 <= 5.8e+43)
		tmp = (i * z) * ((c * t) - (k * y1));
	elseif (y2 <= 5.4e+150)
		tmp = y3 * (y0 * ((j * y5) - (c * z)));
	elseif (y2 <= 4.3e+153)
		tmp = a * (t * (1.0 / (((y2 * y5) + (z * b)) / ((y2 * (y5 * (y2 * y5))) - ((z * b) * (z * 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[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -3.3e+181], t$95$1, If[LessEqual[y2, -1.45e+116], N[(N[(N[(N[(y2 * y5), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision] * t), $MachinePrecision], If[LessEqual[y2, -1.3e+25], N[(y4 * N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -5.8e-182], (-N[(i * N[(N[(y5 * N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(x * y), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), If[LessEqual[y2, 9.8e-253], (-N[(y * N[(y4 * N[(N[(b * k), $MachinePrecision] - N[(c * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), If[LessEqual[y2, 2.9e-148], N[(N[(j * y0), $MachinePrecision] * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.7e-133], N[(k * N[(y * N[(b * N[(0.0 - y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3.2e-26], N[(a * N[(y * N[(N[(b * x), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 5.8e+43], N[(N[(i * z), $MachinePrecision] * N[(N[(c * t), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 5.4e+150], N[(y3 * N[(y0 * N[(N[(j * y5), $MachinePrecision] - N[(c * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 4.3e+153], N[(a * N[(t * N[(1.0 / N[(N[(N[(y2 * y5), $MachinePrecision] + N[(z * b), $MachinePrecision]), $MachinePrecision] / N[(N[(y2 * N[(y5 * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(z * b), $MachinePrecision] * N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{if}\;y2 \leq -3.3 \cdot 10^{+181}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y2 \leq -1.45 \cdot 10^{+116}:\\
\;\;\;\;\left(\left(y2 \cdot y5 - z \cdot b\right) \cdot a\right) \cdot t\\

\mathbf{elif}\;y2 \leq -1.3 \cdot 10^{+25}:\\
\;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\

\mathbf{elif}\;y2 \leq -5.8 \cdot 10^{-182}:\\
\;\;\;\;-i \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right) + c \cdot \left(x \cdot y - t \cdot z\right)\right)\\

\mathbf{elif}\;y2 \leq 9.8 \cdot 10^{-253}:\\
\;\;\;\;-y \cdot \left(y4 \cdot \left(b \cdot k - c \cdot y3\right)\right)\\

\mathbf{elif}\;y2 \leq 2.9 \cdot 10^{-148}:\\
\;\;\;\;\left(j \cdot y0\right) \cdot \left(y3 \cdot y5 - x \cdot b\right)\\

\mathbf{elif}\;y2 \leq 2.7 \cdot 10^{-133}:\\
\;\;\;\;k \cdot \left(y \cdot \left(b \cdot \left(0 - y4\right)\right)\right)\\

\mathbf{elif}\;y2 \leq 3.2 \cdot 10^{-26}:\\
\;\;\;\;a \cdot \left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)\\

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

\mathbf{elif}\;y2 \leq 5.4 \cdot 10^{+150}:\\
\;\;\;\;y3 \cdot \left(y0 \cdot \left(j \cdot y5 - c \cdot z\right)\right)\\

\mathbf{elif}\;y2 \leq 4.3 \cdot 10^{+153}:\\
\;\;\;\;a \cdot \left(t \cdot \frac{1}{\frac{y2 \cdot y5 + z \cdot b}{y2 \cdot \left(y5 \cdot \left(y2 \cdot y5\right)\right) - \left(z \cdot b\right) \cdot \left(z \cdot b\right)}}\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 11 regimes
  2. if y2 < -3.30000000000000017e181 or 4.2999999999999998e153 < y2

    1. Initial program 21.1%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -3.30000000000000017e181 < y2 < -1.4500000000000001e116

    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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in t around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Applied egg-rr0

      \[\leadsto expr\]

    if -1.4500000000000001e116 < y2 < -1.2999999999999999e25

    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 y4 around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -1.2999999999999999e25 < y2 < -5.79999999999999974e-182

    1. Initial program 45.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 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around 0 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -5.79999999999999974e-182 < y2 < 9.7999999999999999e-253

    1. Initial program 44.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 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around -inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 9.7999999999999999e-253 < y2 < 2.8999999999999998e-148

    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 y0 around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in j around -inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 2.8999999999999998e-148 < y2 < 2.6999999999999999e-133

    1. Initial program 60.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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in i around 0 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if 2.6999999999999999e-133 < y2 < 3.2000000000000001e-26

    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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 3.2000000000000001e-26 < y2 < 5.8000000000000004e43

    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 i around -inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in z around -inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 5.8000000000000004e43 < y2 < 5.40000000000000015e150

    1. Initial program 44.4%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y3 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y3 around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if 5.40000000000000015e150 < y2 < 4.2999999999999998e153

    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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in t around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Applied egg-rr0

      \[\leadsto expr\]
  3. Recombined 11 regimes into one program.
  4. Add Preprocessing

Alternative 5: 36.7% accurate, 1.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\\ t_2 := k \cdot t\_1\\ t_3 := y \cdot x - t \cdot z\\ t_4 := k \cdot \left(\left(t\_1 - \left(b \cdot y4 - i \cdot y5\right) \cdot y\right) + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\ t_5 := c \cdot \left(\left(y0 \cdot \left(y2 \cdot x - z \cdot y3\right) - i \cdot t\_3\right) - y4 \cdot \left(t \cdot y2 - y3 \cdot y\right)\right)\\ \mathbf{if}\;y2 \leq -9.5 \cdot 10^{+181}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y2 \leq -1.15 \cdot 10^{+116}:\\ \;\;\;\;\left(\left(y2 \cdot y5 - z \cdot b\right) \cdot a\right) \cdot t\\ \mathbf{elif}\;y2 \leq -1.35 \cdot 10^{-61}:\\ \;\;\;\;t\_4\\ \mathbf{elif}\;y2 \leq -4.9 \cdot 10^{-173}:\\ \;\;\;\;t\_5\\ \mathbf{elif}\;y2 \leq -3.6 \cdot 10^{-296}:\\ \;\;\;\;b \cdot \left(\left(a \cdot t\_3 + y4 \cdot \left(t \cdot j - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - z \cdot k\right)\right)\\ \mathbf{elif}\;y2 \leq 3.4 \cdot 10^{-138}:\\ \;\;\;\;t\_5\\ \mathbf{elif}\;y2 \leq 1.45 \cdot 10^{-24}:\\ \;\;\;\;a \cdot \left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)\\ \mathbf{elif}\;y2 \leq 1.35 \cdot 10^{+52}:\\ \;\;\;\;\left(i \cdot z\right) \cdot \left(c \cdot t - k \cdot y1\right)\\ \mathbf{elif}\;y2 \leq 1.75 \cdot 10^{+150}:\\ \;\;\;\;y3 \cdot \left(y0 \cdot \left(j \cdot y5 - c \cdot z\right)\right)\\ \mathbf{elif}\;y2 \leq 3.3 \cdot 10^{+159}:\\ \;\;\;\;t\_4\\ \mathbf{else}:\\ \;\;\;\;t\_2\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* y2 (- (* y1 y4) (* y0 y5))))
        (t_2 (* k t_1))
        (t_3 (- (* y x) (* t z)))
        (t_4
         (*
          k
          (+ (- t_1 (* (- (* b y4) (* i y5)) y)) (* z (- (* b y0) (* i y1))))))
        (t_5
         (*
          c
          (-
           (- (* y0 (- (* y2 x) (* z y3))) (* i t_3))
           (* y4 (- (* t y2) (* y3 y)))))))
   (if (<= y2 -9.5e+181)
     t_2
     (if (<= y2 -1.15e+116)
       (* (* (- (* y2 y5) (* z b)) a) t)
       (if (<= y2 -1.35e-61)
         t_4
         (if (<= y2 -4.9e-173)
           t_5
           (if (<= y2 -3.6e-296)
             (*
              b
              (-
               (+ (* a t_3) (* y4 (- (* t j) (* k y))))
               (* y0 (- (* j x) (* z k)))))
             (if (<= y2 3.4e-138)
               t_5
               (if (<= y2 1.45e-24)
                 (* a (* y (- (* b x) (* y3 y5))))
                 (if (<= y2 1.35e+52)
                   (* (* i z) (- (* c t) (* k y1)))
                   (if (<= y2 1.75e+150)
                     (* y3 (* y0 (- (* j y5) (* c z))))
                     (if (<= y2 3.3e+159) t_4 t_2))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = y2 * ((y1 * y4) - (y0 * y5));
	double t_2 = k * t_1;
	double t_3 = (y * x) - (t * z);
	double t_4 = k * ((t_1 - (((b * y4) - (i * y5)) * y)) + (z * ((b * y0) - (i * y1))));
	double t_5 = c * (((y0 * ((y2 * x) - (z * y3))) - (i * t_3)) - (y4 * ((t * y2) - (y3 * y))));
	double tmp;
	if (y2 <= -9.5e+181) {
		tmp = t_2;
	} else if (y2 <= -1.15e+116) {
		tmp = (((y2 * y5) - (z * b)) * a) * t;
	} else if (y2 <= -1.35e-61) {
		tmp = t_4;
	} else if (y2 <= -4.9e-173) {
		tmp = t_5;
	} else if (y2 <= -3.6e-296) {
		tmp = b * (((a * t_3) + (y4 * ((t * j) - (k * y)))) - (y0 * ((j * x) - (z * k))));
	} else if (y2 <= 3.4e-138) {
		tmp = t_5;
	} else if (y2 <= 1.45e-24) {
		tmp = a * (y * ((b * x) - (y3 * y5)));
	} else if (y2 <= 1.35e+52) {
		tmp = (i * z) * ((c * t) - (k * y1));
	} else if (y2 <= 1.75e+150) {
		tmp = y3 * (y0 * ((j * y5) - (c * z)));
	} else if (y2 <= 3.3e+159) {
		tmp = t_4;
	} else {
		tmp = t_2;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: t_4
    real(8) :: t_5
    real(8) :: tmp
    t_1 = y2 * ((y1 * y4) - (y0 * y5))
    t_2 = k * t_1
    t_3 = (y * x) - (t * z)
    t_4 = k * ((t_1 - (((b * y4) - (i * y5)) * y)) + (z * ((b * y0) - (i * y1))))
    t_5 = c * (((y0 * ((y2 * x) - (z * y3))) - (i * t_3)) - (y4 * ((t * y2) - (y3 * y))))
    if (y2 <= (-9.5d+181)) then
        tmp = t_2
    else if (y2 <= (-1.15d+116)) then
        tmp = (((y2 * y5) - (z * b)) * a) * t
    else if (y2 <= (-1.35d-61)) then
        tmp = t_4
    else if (y2 <= (-4.9d-173)) then
        tmp = t_5
    else if (y2 <= (-3.6d-296)) then
        tmp = b * (((a * t_3) + (y4 * ((t * j) - (k * y)))) - (y0 * ((j * x) - (z * k))))
    else if (y2 <= 3.4d-138) then
        tmp = t_5
    else if (y2 <= 1.45d-24) then
        tmp = a * (y * ((b * x) - (y3 * y5)))
    else if (y2 <= 1.35d+52) then
        tmp = (i * z) * ((c * t) - (k * y1))
    else if (y2 <= 1.75d+150) then
        tmp = y3 * (y0 * ((j * y5) - (c * z)))
    else if (y2 <= 3.3d+159) then
        tmp = t_4
    else
        tmp = t_2
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = y2 * ((y1 * y4) - (y0 * y5));
	double t_2 = k * t_1;
	double t_3 = (y * x) - (t * z);
	double t_4 = k * ((t_1 - (((b * y4) - (i * y5)) * y)) + (z * ((b * y0) - (i * y1))));
	double t_5 = c * (((y0 * ((y2 * x) - (z * y3))) - (i * t_3)) - (y4 * ((t * y2) - (y3 * y))));
	double tmp;
	if (y2 <= -9.5e+181) {
		tmp = t_2;
	} else if (y2 <= -1.15e+116) {
		tmp = (((y2 * y5) - (z * b)) * a) * t;
	} else if (y2 <= -1.35e-61) {
		tmp = t_4;
	} else if (y2 <= -4.9e-173) {
		tmp = t_5;
	} else if (y2 <= -3.6e-296) {
		tmp = b * (((a * t_3) + (y4 * ((t * j) - (k * y)))) - (y0 * ((j * x) - (z * k))));
	} else if (y2 <= 3.4e-138) {
		tmp = t_5;
	} else if (y2 <= 1.45e-24) {
		tmp = a * (y * ((b * x) - (y3 * y5)));
	} else if (y2 <= 1.35e+52) {
		tmp = (i * z) * ((c * t) - (k * y1));
	} else if (y2 <= 1.75e+150) {
		tmp = y3 * (y0 * ((j * y5) - (c * z)));
	} else if (y2 <= 3.3e+159) {
		tmp = t_4;
	} else {
		tmp = t_2;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = y2 * ((y1 * y4) - (y0 * y5))
	t_2 = k * t_1
	t_3 = (y * x) - (t * z)
	t_4 = k * ((t_1 - (((b * y4) - (i * y5)) * y)) + (z * ((b * y0) - (i * y1))))
	t_5 = c * (((y0 * ((y2 * x) - (z * y3))) - (i * t_3)) - (y4 * ((t * y2) - (y3 * y))))
	tmp = 0
	if y2 <= -9.5e+181:
		tmp = t_2
	elif y2 <= -1.15e+116:
		tmp = (((y2 * y5) - (z * b)) * a) * t
	elif y2 <= -1.35e-61:
		tmp = t_4
	elif y2 <= -4.9e-173:
		tmp = t_5
	elif y2 <= -3.6e-296:
		tmp = b * (((a * t_3) + (y4 * ((t * j) - (k * y)))) - (y0 * ((j * x) - (z * k))))
	elif y2 <= 3.4e-138:
		tmp = t_5
	elif y2 <= 1.45e-24:
		tmp = a * (y * ((b * x) - (y3 * y5)))
	elif y2 <= 1.35e+52:
		tmp = (i * z) * ((c * t) - (k * y1))
	elif y2 <= 1.75e+150:
		tmp = y3 * (y0 * ((j * y5) - (c * z)))
	elif y2 <= 3.3e+159:
		tmp = t_4
	else:
		tmp = t_2
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))
	t_2 = Float64(k * t_1)
	t_3 = Float64(Float64(y * x) - Float64(t * z))
	t_4 = Float64(k * Float64(Float64(t_1 - Float64(Float64(Float64(b * y4) - Float64(i * y5)) * y)) + Float64(z * Float64(Float64(b * y0) - Float64(i * y1)))))
	t_5 = Float64(c * Float64(Float64(Float64(y0 * Float64(Float64(y2 * x) - Float64(z * y3))) - Float64(i * t_3)) - Float64(y4 * Float64(Float64(t * y2) - Float64(y3 * y)))))
	tmp = 0.0
	if (y2 <= -9.5e+181)
		tmp = t_2;
	elseif (y2 <= -1.15e+116)
		tmp = Float64(Float64(Float64(Float64(y2 * y5) - Float64(z * b)) * a) * t);
	elseif (y2 <= -1.35e-61)
		tmp = t_4;
	elseif (y2 <= -4.9e-173)
		tmp = t_5;
	elseif (y2 <= -3.6e-296)
		tmp = Float64(b * Float64(Float64(Float64(a * t_3) + Float64(y4 * Float64(Float64(t * j) - Float64(k * y)))) - Float64(y0 * Float64(Float64(j * x) - Float64(z * k)))));
	elseif (y2 <= 3.4e-138)
		tmp = t_5;
	elseif (y2 <= 1.45e-24)
		tmp = Float64(a * Float64(y * Float64(Float64(b * x) - Float64(y3 * y5))));
	elseif (y2 <= 1.35e+52)
		tmp = Float64(Float64(i * z) * Float64(Float64(c * t) - Float64(k * y1)));
	elseif (y2 <= 1.75e+150)
		tmp = Float64(y3 * Float64(y0 * Float64(Float64(j * y5) - Float64(c * z))));
	elseif (y2 <= 3.3e+159)
		tmp = t_4;
	else
		tmp = t_2;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = y2 * ((y1 * y4) - (y0 * y5));
	t_2 = k * t_1;
	t_3 = (y * x) - (t * z);
	t_4 = k * ((t_1 - (((b * y4) - (i * y5)) * y)) + (z * ((b * y0) - (i * y1))));
	t_5 = c * (((y0 * ((y2 * x) - (z * y3))) - (i * t_3)) - (y4 * ((t * y2) - (y3 * y))));
	tmp = 0.0;
	if (y2 <= -9.5e+181)
		tmp = t_2;
	elseif (y2 <= -1.15e+116)
		tmp = (((y2 * y5) - (z * b)) * a) * t;
	elseif (y2 <= -1.35e-61)
		tmp = t_4;
	elseif (y2 <= -4.9e-173)
		tmp = t_5;
	elseif (y2 <= -3.6e-296)
		tmp = b * (((a * t_3) + (y4 * ((t * j) - (k * y)))) - (y0 * ((j * x) - (z * k))));
	elseif (y2 <= 3.4e-138)
		tmp = t_5;
	elseif (y2 <= 1.45e-24)
		tmp = a * (y * ((b * x) - (y3 * y5)));
	elseif (y2 <= 1.35e+52)
		tmp = (i * z) * ((c * t) - (k * y1));
	elseif (y2 <= 1.75e+150)
		tmp = y3 * (y0 * ((j * y5) - (c * z)));
	elseif (y2 <= 3.3e+159)
		tmp = t_4;
	else
		tmp = t_2;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(k * t$95$1), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(k * N[(N[(t$95$1 - N[(N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] + N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(c * N[(N[(N[(y0 * N[(N[(y2 * x), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(i * t$95$3), $MachinePrecision]), $MachinePrecision] - N[(y4 * N[(N[(t * y2), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -9.5e+181], t$95$2, If[LessEqual[y2, -1.15e+116], N[(N[(N[(N[(y2 * y5), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision] * t), $MachinePrecision], If[LessEqual[y2, -1.35e-61], t$95$4, If[LessEqual[y2, -4.9e-173], t$95$5, If[LessEqual[y2, -3.6e-296], N[(b * N[(N[(N[(a * t$95$3), $MachinePrecision] + N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y0 * N[(N[(j * x), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3.4e-138], t$95$5, If[LessEqual[y2, 1.45e-24], N[(a * N[(y * N[(N[(b * x), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.35e+52], N[(N[(i * z), $MachinePrecision] * N[(N[(c * t), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.75e+150], N[(y3 * N[(y0 * N[(N[(j * y5), $MachinePrecision] - N[(c * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3.3e+159], t$95$4, t$95$2]]]]]]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;y2 \leq -1.15 \cdot 10^{+116}:\\
\;\;\;\;\left(\left(y2 \cdot y5 - z \cdot b\right) \cdot a\right) \cdot t\\

\mathbf{elif}\;y2 \leq -1.35 \cdot 10^{-61}:\\
\;\;\;\;t\_4\\

\mathbf{elif}\;y2 \leq -4.9 \cdot 10^{-173}:\\
\;\;\;\;t\_5\\

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

\mathbf{elif}\;y2 \leq 3.4 \cdot 10^{-138}:\\
\;\;\;\;t\_5\\

\mathbf{elif}\;y2 \leq 1.45 \cdot 10^{-24}:\\
\;\;\;\;a \cdot \left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)\\

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

\mathbf{elif}\;y2 \leq 1.75 \cdot 10^{+150}:\\
\;\;\;\;y3 \cdot \left(y0 \cdot \left(j \cdot y5 - c \cdot z\right)\right)\\

\mathbf{elif}\;y2 \leq 3.3 \cdot 10^{+159}:\\
\;\;\;\;t\_4\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 8 regimes
  2. if y2 < -9.50000000000000032e181 or 3.2999999999999999e159 < y2

    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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -9.50000000000000032e181 < y2 < -1.14999999999999997e116

    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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in t around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Applied egg-rr0

      \[\leadsto expr\]

    if -1.14999999999999997e116 < y2 < -1.34999999999999997e-61 or 1.74999999999999992e150 < y2 < 3.2999999999999999e159

    1. Initial program 47.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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if -1.34999999999999997e-61 < y2 < -4.89999999999999991e-173 or -3.5999999999999998e-296 < y2 < 3.4000000000000001e-138

    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 c around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if -4.89999999999999991e-173 < y2 < -3.5999999999999998e-296

    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 b around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if 3.4000000000000001e-138 < y2 < 1.4499999999999999e-24

    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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 1.4499999999999999e-24 < y2 < 1.35e52

    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 i around -inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in z around -inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 1.35e52 < y2 < 1.74999999999999992e150

    1. Initial program 44.4%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y3 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y3 around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]
  3. Recombined 8 regimes into one program.
  4. Add Preprocessing

Alternative 6: 41.1% accurate, 1.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y2 \cdot x - z \cdot y3\\ t_2 := y1 \cdot y4 - y0 \cdot y5\\ t_3 := k \cdot y2 - y3 \cdot j\\ t_4 := c \cdot y0 - a \cdot y1\\ t_5 := j \cdot x - z \cdot k\\ t_6 := y1 \cdot \left(\left(y4 \cdot t\_3 - a \cdot t\_1\right) + i \cdot t\_5\right)\\ t_7 := c \cdot y4 - a \cdot y5\\ t_8 := y \cdot x - t \cdot z\\ t_9 := t \cdot y2 - y3 \cdot y\\ \mathbf{if}\;a \leq -5 \cdot 10^{+109}:\\ \;\;\;\;a \cdot \left(\left(b \cdot t\_8 - y1 \cdot t\_1\right) + y5 \cdot t\_9\right)\\ \mathbf{elif}\;a \leq -1.2 \cdot 10^{-37}:\\ \;\;\;\;y4 \cdot \left(b \cdot \left(t \cdot j - k \cdot y\right) + \left(y1 \cdot t\_3 - c \cdot t\_9\right)\right)\\ \mathbf{elif}\;a \leq -1.2 \cdot 10^{-92}:\\ \;\;\;\;\left(j \cdot t\_2 + \left(z \cdot t\_4 - y \cdot t\_7\right)\right) \cdot \left(-y3\right)\\ \mathbf{elif}\;a \leq -1 \cdot 10^{-128}:\\ \;\;\;\;t\_6\\ \mathbf{elif}\;a \leq 4.2 \cdot 10^{-284}:\\ \;\;\;\;y0 \cdot \left(\left(c \cdot t\_1 - y5 \cdot t\_3\right) - b \cdot t\_5\right)\\ \mathbf{elif}\;a \leq 1.18 \cdot 10^{-235}:\\ \;\;\;\;c \cdot \left(\left(y0 \cdot t\_1 - i \cdot t\_8\right) - y4 \cdot t\_9\right)\\ \mathbf{elif}\;a \leq 1.1 \cdot 10^{-65}:\\ \;\;\;\;y2 \cdot \left(k \cdot t\_2 + \left(t\_4 \cdot x - t \cdot t\_7\right)\right)\\ \mathbf{elif}\;a \leq 4.3 \cdot 10^{+76}:\\ \;\;\;\;y3 \cdot \left(y0 \cdot \left(\left(j \cdot y5 - c \cdot z\right) + \frac{\left(c \cdot \left(x \cdot y2\right) - k \cdot \left(y2 \cdot y5\right)\right) - b \cdot \left(x \cdot j - z \cdot k\right)}{y3}\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_6\\ \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 (- (* y2 x) (* z y3)))
        (t_2 (- (* y1 y4) (* y0 y5)))
        (t_3 (- (* k y2) (* y3 j)))
        (t_4 (- (* c y0) (* a y1)))
        (t_5 (- (* j x) (* z k)))
        (t_6 (* y1 (+ (- (* y4 t_3) (* a t_1)) (* i t_5))))
        (t_7 (- (* c y4) (* a y5)))
        (t_8 (- (* y x) (* t z)))
        (t_9 (- (* t y2) (* y3 y))))
   (if (<= a -5e+109)
     (* a (+ (- (* b t_8) (* y1 t_1)) (* y5 t_9)))
     (if (<= a -1.2e-37)
       (* y4 (+ (* b (- (* t j) (* k y))) (- (* y1 t_3) (* c t_9))))
       (if (<= a -1.2e-92)
         (* (+ (* j t_2) (- (* z t_4) (* y t_7))) (- y3))
         (if (<= a -1e-128)
           t_6
           (if (<= a 4.2e-284)
             (* y0 (- (- (* c t_1) (* y5 t_3)) (* b t_5)))
             (if (<= a 1.18e-235)
               (* c (- (- (* y0 t_1) (* i t_8)) (* y4 t_9)))
               (if (<= a 1.1e-65)
                 (* y2 (+ (* k t_2) (- (* t_4 x) (* t t_7))))
                 (if (<= a 4.3e+76)
                   (*
                    y3
                    (*
                     y0
                     (+
                      (- (* j y5) (* c z))
                      (/
                       (-
                        (- (* c (* x y2)) (* k (* y2 y5)))
                        (* b (- (* x j) (* z k))))
                       y3))))
                   t_6))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (y2 * x) - (z * y3);
	double t_2 = (y1 * y4) - (y0 * y5);
	double t_3 = (k * y2) - (y3 * j);
	double t_4 = (c * y0) - (a * y1);
	double t_5 = (j * x) - (z * k);
	double t_6 = y1 * (((y4 * t_3) - (a * t_1)) + (i * t_5));
	double t_7 = (c * y4) - (a * y5);
	double t_8 = (y * x) - (t * z);
	double t_9 = (t * y2) - (y3 * y);
	double tmp;
	if (a <= -5e+109) {
		tmp = a * (((b * t_8) - (y1 * t_1)) + (y5 * t_9));
	} else if (a <= -1.2e-37) {
		tmp = y4 * ((b * ((t * j) - (k * y))) + ((y1 * t_3) - (c * t_9)));
	} else if (a <= -1.2e-92) {
		tmp = ((j * t_2) + ((z * t_4) - (y * t_7))) * -y3;
	} else if (a <= -1e-128) {
		tmp = t_6;
	} else if (a <= 4.2e-284) {
		tmp = y0 * (((c * t_1) - (y5 * t_3)) - (b * t_5));
	} else if (a <= 1.18e-235) {
		tmp = c * (((y0 * t_1) - (i * t_8)) - (y4 * t_9));
	} else if (a <= 1.1e-65) {
		tmp = y2 * ((k * t_2) + ((t_4 * x) - (t * t_7)));
	} else if (a <= 4.3e+76) {
		tmp = y3 * (y0 * (((j * y5) - (c * z)) + ((((c * (x * y2)) - (k * (y2 * y5))) - (b * ((x * j) - (z * k)))) / y3)));
	} else {
		tmp = t_6;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: t_4
    real(8) :: t_5
    real(8) :: t_6
    real(8) :: t_7
    real(8) :: t_8
    real(8) :: t_9
    real(8) :: tmp
    t_1 = (y2 * x) - (z * y3)
    t_2 = (y1 * y4) - (y0 * y5)
    t_3 = (k * y2) - (y3 * j)
    t_4 = (c * y0) - (a * y1)
    t_5 = (j * x) - (z * k)
    t_6 = y1 * (((y4 * t_3) - (a * t_1)) + (i * t_5))
    t_7 = (c * y4) - (a * y5)
    t_8 = (y * x) - (t * z)
    t_9 = (t * y2) - (y3 * y)
    if (a <= (-5d+109)) then
        tmp = a * (((b * t_8) - (y1 * t_1)) + (y5 * t_9))
    else if (a <= (-1.2d-37)) then
        tmp = y4 * ((b * ((t * j) - (k * y))) + ((y1 * t_3) - (c * t_9)))
    else if (a <= (-1.2d-92)) then
        tmp = ((j * t_2) + ((z * t_4) - (y * t_7))) * -y3
    else if (a <= (-1d-128)) then
        tmp = t_6
    else if (a <= 4.2d-284) then
        tmp = y0 * (((c * t_1) - (y5 * t_3)) - (b * t_5))
    else if (a <= 1.18d-235) then
        tmp = c * (((y0 * t_1) - (i * t_8)) - (y4 * t_9))
    else if (a <= 1.1d-65) then
        tmp = y2 * ((k * t_2) + ((t_4 * x) - (t * t_7)))
    else if (a <= 4.3d+76) then
        tmp = y3 * (y0 * (((j * y5) - (c * z)) + ((((c * (x * y2)) - (k * (y2 * y5))) - (b * ((x * j) - (z * k)))) / y3)))
    else
        tmp = t_6
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (y2 * x) - (z * y3);
	double t_2 = (y1 * y4) - (y0 * y5);
	double t_3 = (k * y2) - (y3 * j);
	double t_4 = (c * y0) - (a * y1);
	double t_5 = (j * x) - (z * k);
	double t_6 = y1 * (((y4 * t_3) - (a * t_1)) + (i * t_5));
	double t_7 = (c * y4) - (a * y5);
	double t_8 = (y * x) - (t * z);
	double t_9 = (t * y2) - (y3 * y);
	double tmp;
	if (a <= -5e+109) {
		tmp = a * (((b * t_8) - (y1 * t_1)) + (y5 * t_9));
	} else if (a <= -1.2e-37) {
		tmp = y4 * ((b * ((t * j) - (k * y))) + ((y1 * t_3) - (c * t_9)));
	} else if (a <= -1.2e-92) {
		tmp = ((j * t_2) + ((z * t_4) - (y * t_7))) * -y3;
	} else if (a <= -1e-128) {
		tmp = t_6;
	} else if (a <= 4.2e-284) {
		tmp = y0 * (((c * t_1) - (y5 * t_3)) - (b * t_5));
	} else if (a <= 1.18e-235) {
		tmp = c * (((y0 * t_1) - (i * t_8)) - (y4 * t_9));
	} else if (a <= 1.1e-65) {
		tmp = y2 * ((k * t_2) + ((t_4 * x) - (t * t_7)));
	} else if (a <= 4.3e+76) {
		tmp = y3 * (y0 * (((j * y5) - (c * z)) + ((((c * (x * y2)) - (k * (y2 * y5))) - (b * ((x * j) - (z * k)))) / y3)));
	} else {
		tmp = t_6;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = (y2 * x) - (z * y3)
	t_2 = (y1 * y4) - (y0 * y5)
	t_3 = (k * y2) - (y3 * j)
	t_4 = (c * y0) - (a * y1)
	t_5 = (j * x) - (z * k)
	t_6 = y1 * (((y4 * t_3) - (a * t_1)) + (i * t_5))
	t_7 = (c * y4) - (a * y5)
	t_8 = (y * x) - (t * z)
	t_9 = (t * y2) - (y3 * y)
	tmp = 0
	if a <= -5e+109:
		tmp = a * (((b * t_8) - (y1 * t_1)) + (y5 * t_9))
	elif a <= -1.2e-37:
		tmp = y4 * ((b * ((t * j) - (k * y))) + ((y1 * t_3) - (c * t_9)))
	elif a <= -1.2e-92:
		tmp = ((j * t_2) + ((z * t_4) - (y * t_7))) * -y3
	elif a <= -1e-128:
		tmp = t_6
	elif a <= 4.2e-284:
		tmp = y0 * (((c * t_1) - (y5 * t_3)) - (b * t_5))
	elif a <= 1.18e-235:
		tmp = c * (((y0 * t_1) - (i * t_8)) - (y4 * t_9))
	elif a <= 1.1e-65:
		tmp = y2 * ((k * t_2) + ((t_4 * x) - (t * t_7)))
	elif a <= 4.3e+76:
		tmp = y3 * (y0 * (((j * y5) - (c * z)) + ((((c * (x * y2)) - (k * (y2 * y5))) - (b * ((x * j) - (z * k)))) / y3)))
	else:
		tmp = t_6
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(Float64(y2 * x) - Float64(z * y3))
	t_2 = Float64(Float64(y1 * y4) - Float64(y0 * y5))
	t_3 = Float64(Float64(k * y2) - Float64(y3 * j))
	t_4 = Float64(Float64(c * y0) - Float64(a * y1))
	t_5 = Float64(Float64(j * x) - Float64(z * k))
	t_6 = Float64(y1 * Float64(Float64(Float64(y4 * t_3) - Float64(a * t_1)) + Float64(i * t_5)))
	t_7 = Float64(Float64(c * y4) - Float64(a * y5))
	t_8 = Float64(Float64(y * x) - Float64(t * z))
	t_9 = Float64(Float64(t * y2) - Float64(y3 * y))
	tmp = 0.0
	if (a <= -5e+109)
		tmp = Float64(a * Float64(Float64(Float64(b * t_8) - Float64(y1 * t_1)) + Float64(y5 * t_9)));
	elseif (a <= -1.2e-37)
		tmp = Float64(y4 * Float64(Float64(b * Float64(Float64(t * j) - Float64(k * y))) + Float64(Float64(y1 * t_3) - Float64(c * t_9))));
	elseif (a <= -1.2e-92)
		tmp = Float64(Float64(Float64(j * t_2) + Float64(Float64(z * t_4) - Float64(y * t_7))) * Float64(-y3));
	elseif (a <= -1e-128)
		tmp = t_6;
	elseif (a <= 4.2e-284)
		tmp = Float64(y0 * Float64(Float64(Float64(c * t_1) - Float64(y5 * t_3)) - Float64(b * t_5)));
	elseif (a <= 1.18e-235)
		tmp = Float64(c * Float64(Float64(Float64(y0 * t_1) - Float64(i * t_8)) - Float64(y4 * t_9)));
	elseif (a <= 1.1e-65)
		tmp = Float64(y2 * Float64(Float64(k * t_2) + Float64(Float64(t_4 * x) - Float64(t * t_7))));
	elseif (a <= 4.3e+76)
		tmp = Float64(y3 * Float64(y0 * Float64(Float64(Float64(j * y5) - Float64(c * z)) + Float64(Float64(Float64(Float64(c * Float64(x * y2)) - Float64(k * Float64(y2 * y5))) - Float64(b * Float64(Float64(x * j) - Float64(z * k)))) / y3))));
	else
		tmp = t_6;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = (y2 * x) - (z * y3);
	t_2 = (y1 * y4) - (y0 * y5);
	t_3 = (k * y2) - (y3 * j);
	t_4 = (c * y0) - (a * y1);
	t_5 = (j * x) - (z * k);
	t_6 = y1 * (((y4 * t_3) - (a * t_1)) + (i * t_5));
	t_7 = (c * y4) - (a * y5);
	t_8 = (y * x) - (t * z);
	t_9 = (t * y2) - (y3 * y);
	tmp = 0.0;
	if (a <= -5e+109)
		tmp = a * (((b * t_8) - (y1 * t_1)) + (y5 * t_9));
	elseif (a <= -1.2e-37)
		tmp = y4 * ((b * ((t * j) - (k * y))) + ((y1 * t_3) - (c * t_9)));
	elseif (a <= -1.2e-92)
		tmp = ((j * t_2) + ((z * t_4) - (y * t_7))) * -y3;
	elseif (a <= -1e-128)
		tmp = t_6;
	elseif (a <= 4.2e-284)
		tmp = y0 * (((c * t_1) - (y5 * t_3)) - (b * t_5));
	elseif (a <= 1.18e-235)
		tmp = c * (((y0 * t_1) - (i * t_8)) - (y4 * t_9));
	elseif (a <= 1.1e-65)
		tmp = y2 * ((k * t_2) + ((t_4 * x) - (t * t_7)));
	elseif (a <= 4.3e+76)
		tmp = y3 * (y0 * (((j * y5) - (c * z)) + ((((c * (x * y2)) - (k * (y2 * y5))) - (b * ((x * j) - (z * k)))) / y3)));
	else
		tmp = t_6;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y2 * x), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(k * y2), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(j * x), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(y1 * N[(N[(N[(y4 * t$95$3), $MachinePrecision] - N[(a * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(i * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(N[(t * y2), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -5e+109], N[(a * N[(N[(N[(b * t$95$8), $MachinePrecision] - N[(y1 * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(y5 * t$95$9), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.2e-37], N[(y4 * N[(N[(b * N[(N[(t * j), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y1 * t$95$3), $MachinePrecision] - N[(c * t$95$9), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.2e-92], N[(N[(N[(j * t$95$2), $MachinePrecision] + N[(N[(z * t$95$4), $MachinePrecision] - N[(y * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * (-y3)), $MachinePrecision], If[LessEqual[a, -1e-128], t$95$6, If[LessEqual[a, 4.2e-284], N[(y0 * N[(N[(N[(c * t$95$1), $MachinePrecision] - N[(y5 * t$95$3), $MachinePrecision]), $MachinePrecision] - N[(b * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.18e-235], N[(c * N[(N[(N[(y0 * t$95$1), $MachinePrecision] - N[(i * t$95$8), $MachinePrecision]), $MachinePrecision] - N[(y4 * t$95$9), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.1e-65], N[(y2 * N[(N[(k * t$95$2), $MachinePrecision] + N[(N[(t$95$4 * x), $MachinePrecision] - N[(t * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 4.3e+76], N[(y3 * N[(y0 * N[(N[(N[(j * y5), $MachinePrecision] - N[(c * z), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(N[(c * N[(x * y2), $MachinePrecision]), $MachinePrecision] - N[(k * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$6]]]]]]]]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;a \leq -1.2 \cdot 10^{-37}:\\
\;\;\;\;y4 \cdot \left(b \cdot \left(t \cdot j - k \cdot y\right) + \left(y1 \cdot t\_3 - c \cdot t\_9\right)\right)\\

\mathbf{elif}\;a \leq -1.2 \cdot 10^{-92}:\\
\;\;\;\;\left(j \cdot t\_2 + \left(z \cdot t\_4 - y \cdot t\_7\right)\right) \cdot \left(-y3\right)\\

\mathbf{elif}\;a \leq -1 \cdot 10^{-128}:\\
\;\;\;\;t\_6\\

\mathbf{elif}\;a \leq 4.2 \cdot 10^{-284}:\\
\;\;\;\;y0 \cdot \left(\left(c \cdot t\_1 - y5 \cdot t\_3\right) - b \cdot t\_5\right)\\

\mathbf{elif}\;a \leq 1.18 \cdot 10^{-235}:\\
\;\;\;\;c \cdot \left(\left(y0 \cdot t\_1 - i \cdot t\_8\right) - y4 \cdot t\_9\right)\\

\mathbf{elif}\;a \leq 1.1 \cdot 10^{-65}:\\
\;\;\;\;y2 \cdot \left(k \cdot t\_2 + \left(t\_4 \cdot x - t \cdot t\_7\right)\right)\\

\mathbf{elif}\;a \leq 4.3 \cdot 10^{+76}:\\
\;\;\;\;y3 \cdot \left(y0 \cdot \left(\left(j \cdot y5 - c \cdot z\right) + \frac{\left(c \cdot \left(x \cdot y2\right) - k \cdot \left(y2 \cdot y5\right)\right) - b \cdot \left(x \cdot j - z \cdot k\right)}{y3}\right)\right)\\

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


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

    1. Initial program 19.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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if -5.0000000000000001e109 < a < -1.19999999999999995e-37

    1. Initial program 42.0%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if -1.19999999999999995e-37 < a < -1.2000000000000001e-92

    1. Initial program 33.3%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if -1.2000000000000001e-92 < a < -1.00000000000000005e-128 or 4.29999999999999978e76 < a

    1. Initial program 23.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 y1 around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if -1.00000000000000005e-128 < a < 4.19999999999999982e-284

    1. Initial program 38.3%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if 4.19999999999999982e-284 < a < 1.18000000000000003e-235

    1. Initial program 35.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 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if 1.18000000000000003e-235 < a < 1.10000000000000011e-65

    1. Initial program 46.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 y2 around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if 1.10000000000000011e-65 < a < 4.29999999999999978e76

    1. Initial program 29.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 y0 around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y3 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
  3. Recombined 8 regimes into one program.
  4. Add Preprocessing

Alternative 7: 41.1% accurate, 1.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y2 \cdot x - z \cdot y3\\ t_2 := y1 \cdot y4 - y0 \cdot y5\\ t_3 := k \cdot y2 - y3 \cdot j\\ t_4 := c \cdot y0 - a \cdot y1\\ t_5 := j \cdot x - z \cdot k\\ t_6 := y0 \cdot \left(\left(c \cdot t\_1 - y5 \cdot t\_3\right) - b \cdot t\_5\right)\\ t_7 := y1 \cdot \left(\left(y4 \cdot t\_3 - a \cdot t\_1\right) + i \cdot t\_5\right)\\ t_8 := c \cdot y4 - a \cdot y5\\ t_9 := y \cdot x - t \cdot z\\ t_10 := t \cdot y2 - y3 \cdot y\\ \mathbf{if}\;a \leq -1.9 \cdot 10^{+105}:\\ \;\;\;\;a \cdot \left(\left(b \cdot t\_9 - y1 \cdot t\_1\right) + y5 \cdot t\_10\right)\\ \mathbf{elif}\;a \leq -2.25 \cdot 10^{-35}:\\ \;\;\;\;y4 \cdot \left(b \cdot \left(t \cdot j - k \cdot y\right) + \left(y1 \cdot t\_3 - c \cdot t\_10\right)\right)\\ \mathbf{elif}\;a \leq -7.5 \cdot 10^{-93}:\\ \;\;\;\;\left(j \cdot t\_2 + \left(z \cdot t\_4 - y \cdot t\_8\right)\right) \cdot \left(-y3\right)\\ \mathbf{elif}\;a \leq -1.25 \cdot 10^{-133}:\\ \;\;\;\;t\_7\\ \mathbf{elif}\;a \leq 2.8 \cdot 10^{-289}:\\ \;\;\;\;t\_6\\ \mathbf{elif}\;a \leq 2.7 \cdot 10^{-235}:\\ \;\;\;\;c \cdot \left(\left(y0 \cdot t\_1 - i \cdot t\_9\right) - y4 \cdot t\_10\right)\\ \mathbf{elif}\;a \leq 1.02 \cdot 10^{-67}:\\ \;\;\;\;y2 \cdot \left(k \cdot t\_2 + \left(t\_4 \cdot x - t \cdot t\_8\right)\right)\\ \mathbf{elif}\;a \leq 3.6 \cdot 10^{+73}:\\ \;\;\;\;t\_6\\ \mathbf{else}:\\ \;\;\;\;t\_7\\ \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 (- (* y2 x) (* z y3)))
        (t_2 (- (* y1 y4) (* y0 y5)))
        (t_3 (- (* k y2) (* y3 j)))
        (t_4 (- (* c y0) (* a y1)))
        (t_5 (- (* j x) (* z k)))
        (t_6 (* y0 (- (- (* c t_1) (* y5 t_3)) (* b t_5))))
        (t_7 (* y1 (+ (- (* y4 t_3) (* a t_1)) (* i t_5))))
        (t_8 (- (* c y4) (* a y5)))
        (t_9 (- (* y x) (* t z)))
        (t_10 (- (* t y2) (* y3 y))))
   (if (<= a -1.9e+105)
     (* a (+ (- (* b t_9) (* y1 t_1)) (* y5 t_10)))
     (if (<= a -2.25e-35)
       (* y4 (+ (* b (- (* t j) (* k y))) (- (* y1 t_3) (* c t_10))))
       (if (<= a -7.5e-93)
         (* (+ (* j t_2) (- (* z t_4) (* y t_8))) (- y3))
         (if (<= a -1.25e-133)
           t_7
           (if (<= a 2.8e-289)
             t_6
             (if (<= a 2.7e-235)
               (* c (- (- (* y0 t_1) (* i t_9)) (* y4 t_10)))
               (if (<= a 1.02e-67)
                 (* y2 (+ (* k t_2) (- (* t_4 x) (* t t_8))))
                 (if (<= a 3.6e+73) t_6 t_7))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (y2 * x) - (z * y3);
	double t_2 = (y1 * y4) - (y0 * y5);
	double t_3 = (k * y2) - (y3 * j);
	double t_4 = (c * y0) - (a * y1);
	double t_5 = (j * x) - (z * k);
	double t_6 = y0 * (((c * t_1) - (y5 * t_3)) - (b * t_5));
	double t_7 = y1 * (((y4 * t_3) - (a * t_1)) + (i * t_5));
	double t_8 = (c * y4) - (a * y5);
	double t_9 = (y * x) - (t * z);
	double t_10 = (t * y2) - (y3 * y);
	double tmp;
	if (a <= -1.9e+105) {
		tmp = a * (((b * t_9) - (y1 * t_1)) + (y5 * t_10));
	} else if (a <= -2.25e-35) {
		tmp = y4 * ((b * ((t * j) - (k * y))) + ((y1 * t_3) - (c * t_10)));
	} else if (a <= -7.5e-93) {
		tmp = ((j * t_2) + ((z * t_4) - (y * t_8))) * -y3;
	} else if (a <= -1.25e-133) {
		tmp = t_7;
	} else if (a <= 2.8e-289) {
		tmp = t_6;
	} else if (a <= 2.7e-235) {
		tmp = c * (((y0 * t_1) - (i * t_9)) - (y4 * t_10));
	} else if (a <= 1.02e-67) {
		tmp = y2 * ((k * t_2) + ((t_4 * x) - (t * t_8)));
	} else if (a <= 3.6e+73) {
		tmp = t_6;
	} else {
		tmp = t_7;
	}
	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_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 = (y2 * x) - (z * y3)
    t_2 = (y1 * y4) - (y0 * y5)
    t_3 = (k * y2) - (y3 * j)
    t_4 = (c * y0) - (a * y1)
    t_5 = (j * x) - (z * k)
    t_6 = y0 * (((c * t_1) - (y5 * t_3)) - (b * t_5))
    t_7 = y1 * (((y4 * t_3) - (a * t_1)) + (i * t_5))
    t_8 = (c * y4) - (a * y5)
    t_9 = (y * x) - (t * z)
    t_10 = (t * y2) - (y3 * y)
    if (a <= (-1.9d+105)) then
        tmp = a * (((b * t_9) - (y1 * t_1)) + (y5 * t_10))
    else if (a <= (-2.25d-35)) then
        tmp = y4 * ((b * ((t * j) - (k * y))) + ((y1 * t_3) - (c * t_10)))
    else if (a <= (-7.5d-93)) then
        tmp = ((j * t_2) + ((z * t_4) - (y * t_8))) * -y3
    else if (a <= (-1.25d-133)) then
        tmp = t_7
    else if (a <= 2.8d-289) then
        tmp = t_6
    else if (a <= 2.7d-235) then
        tmp = c * (((y0 * t_1) - (i * t_9)) - (y4 * t_10))
    else if (a <= 1.02d-67) then
        tmp = y2 * ((k * t_2) + ((t_4 * x) - (t * t_8)))
    else if (a <= 3.6d+73) then
        tmp = t_6
    else
        tmp = t_7
    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 = (y2 * x) - (z * y3);
	double t_2 = (y1 * y4) - (y0 * y5);
	double t_3 = (k * y2) - (y3 * j);
	double t_4 = (c * y0) - (a * y1);
	double t_5 = (j * x) - (z * k);
	double t_6 = y0 * (((c * t_1) - (y5 * t_3)) - (b * t_5));
	double t_7 = y1 * (((y4 * t_3) - (a * t_1)) + (i * t_5));
	double t_8 = (c * y4) - (a * y5);
	double t_9 = (y * x) - (t * z);
	double t_10 = (t * y2) - (y3 * y);
	double tmp;
	if (a <= -1.9e+105) {
		tmp = a * (((b * t_9) - (y1 * t_1)) + (y5 * t_10));
	} else if (a <= -2.25e-35) {
		tmp = y4 * ((b * ((t * j) - (k * y))) + ((y1 * t_3) - (c * t_10)));
	} else if (a <= -7.5e-93) {
		tmp = ((j * t_2) + ((z * t_4) - (y * t_8))) * -y3;
	} else if (a <= -1.25e-133) {
		tmp = t_7;
	} else if (a <= 2.8e-289) {
		tmp = t_6;
	} else if (a <= 2.7e-235) {
		tmp = c * (((y0 * t_1) - (i * t_9)) - (y4 * t_10));
	} else if (a <= 1.02e-67) {
		tmp = y2 * ((k * t_2) + ((t_4 * x) - (t * t_8)));
	} else if (a <= 3.6e+73) {
		tmp = t_6;
	} else {
		tmp = t_7;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = (y2 * x) - (z * y3)
	t_2 = (y1 * y4) - (y0 * y5)
	t_3 = (k * y2) - (y3 * j)
	t_4 = (c * y0) - (a * y1)
	t_5 = (j * x) - (z * k)
	t_6 = y0 * (((c * t_1) - (y5 * t_3)) - (b * t_5))
	t_7 = y1 * (((y4 * t_3) - (a * t_1)) + (i * t_5))
	t_8 = (c * y4) - (a * y5)
	t_9 = (y * x) - (t * z)
	t_10 = (t * y2) - (y3 * y)
	tmp = 0
	if a <= -1.9e+105:
		tmp = a * (((b * t_9) - (y1 * t_1)) + (y5 * t_10))
	elif a <= -2.25e-35:
		tmp = y4 * ((b * ((t * j) - (k * y))) + ((y1 * t_3) - (c * t_10)))
	elif a <= -7.5e-93:
		tmp = ((j * t_2) + ((z * t_4) - (y * t_8))) * -y3
	elif a <= -1.25e-133:
		tmp = t_7
	elif a <= 2.8e-289:
		tmp = t_6
	elif a <= 2.7e-235:
		tmp = c * (((y0 * t_1) - (i * t_9)) - (y4 * t_10))
	elif a <= 1.02e-67:
		tmp = y2 * ((k * t_2) + ((t_4 * x) - (t * t_8)))
	elif a <= 3.6e+73:
		tmp = t_6
	else:
		tmp = t_7
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(Float64(y2 * x) - Float64(z * y3))
	t_2 = Float64(Float64(y1 * y4) - Float64(y0 * y5))
	t_3 = Float64(Float64(k * y2) - Float64(y3 * j))
	t_4 = Float64(Float64(c * y0) - Float64(a * y1))
	t_5 = Float64(Float64(j * x) - Float64(z * k))
	t_6 = Float64(y0 * Float64(Float64(Float64(c * t_1) - Float64(y5 * t_3)) - Float64(b * t_5)))
	t_7 = Float64(y1 * Float64(Float64(Float64(y4 * t_3) - Float64(a * t_1)) + Float64(i * t_5)))
	t_8 = Float64(Float64(c * y4) - Float64(a * y5))
	t_9 = Float64(Float64(y * x) - Float64(t * z))
	t_10 = Float64(Float64(t * y2) - Float64(y3 * y))
	tmp = 0.0
	if (a <= -1.9e+105)
		tmp = Float64(a * Float64(Float64(Float64(b * t_9) - Float64(y1 * t_1)) + Float64(y5 * t_10)));
	elseif (a <= -2.25e-35)
		tmp = Float64(y4 * Float64(Float64(b * Float64(Float64(t * j) - Float64(k * y))) + Float64(Float64(y1 * t_3) - Float64(c * t_10))));
	elseif (a <= -7.5e-93)
		tmp = Float64(Float64(Float64(j * t_2) + Float64(Float64(z * t_4) - Float64(y * t_8))) * Float64(-y3));
	elseif (a <= -1.25e-133)
		tmp = t_7;
	elseif (a <= 2.8e-289)
		tmp = t_6;
	elseif (a <= 2.7e-235)
		tmp = Float64(c * Float64(Float64(Float64(y0 * t_1) - Float64(i * t_9)) - Float64(y4 * t_10)));
	elseif (a <= 1.02e-67)
		tmp = Float64(y2 * Float64(Float64(k * t_2) + Float64(Float64(t_4 * x) - Float64(t * t_8))));
	elseif (a <= 3.6e+73)
		tmp = t_6;
	else
		tmp = t_7;
	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 = (y2 * x) - (z * y3);
	t_2 = (y1 * y4) - (y0 * y5);
	t_3 = (k * y2) - (y3 * j);
	t_4 = (c * y0) - (a * y1);
	t_5 = (j * x) - (z * k);
	t_6 = y0 * (((c * t_1) - (y5 * t_3)) - (b * t_5));
	t_7 = y1 * (((y4 * t_3) - (a * t_1)) + (i * t_5));
	t_8 = (c * y4) - (a * y5);
	t_9 = (y * x) - (t * z);
	t_10 = (t * y2) - (y3 * y);
	tmp = 0.0;
	if (a <= -1.9e+105)
		tmp = a * (((b * t_9) - (y1 * t_1)) + (y5 * t_10));
	elseif (a <= -2.25e-35)
		tmp = y4 * ((b * ((t * j) - (k * y))) + ((y1 * t_3) - (c * t_10)));
	elseif (a <= -7.5e-93)
		tmp = ((j * t_2) + ((z * t_4) - (y * t_8))) * -y3;
	elseif (a <= -1.25e-133)
		tmp = t_7;
	elseif (a <= 2.8e-289)
		tmp = t_6;
	elseif (a <= 2.7e-235)
		tmp = c * (((y0 * t_1) - (i * t_9)) - (y4 * t_10));
	elseif (a <= 1.02e-67)
		tmp = y2 * ((k * t_2) + ((t_4 * x) - (t * t_8)));
	elseif (a <= 3.6e+73)
		tmp = t_6;
	else
		tmp = t_7;
	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[(y2 * x), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(k * y2), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(j * x), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(y0 * N[(N[(N[(c * t$95$1), $MachinePrecision] - N[(y5 * t$95$3), $MachinePrecision]), $MachinePrecision] - N[(b * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(y1 * N[(N[(N[(y4 * t$95$3), $MachinePrecision] - N[(a * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(i * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$10 = N[(N[(t * y2), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -1.9e+105], N[(a * N[(N[(N[(b * t$95$9), $MachinePrecision] - N[(y1 * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(y5 * t$95$10), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -2.25e-35], N[(y4 * N[(N[(b * N[(N[(t * j), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y1 * t$95$3), $MachinePrecision] - N[(c * t$95$10), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -7.5e-93], N[(N[(N[(j * t$95$2), $MachinePrecision] + N[(N[(z * t$95$4), $MachinePrecision] - N[(y * t$95$8), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * (-y3)), $MachinePrecision], If[LessEqual[a, -1.25e-133], t$95$7, If[LessEqual[a, 2.8e-289], t$95$6, If[LessEqual[a, 2.7e-235], N[(c * N[(N[(N[(y0 * t$95$1), $MachinePrecision] - N[(i * t$95$9), $MachinePrecision]), $MachinePrecision] - N[(y4 * t$95$10), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.02e-67], N[(y2 * N[(N[(k * t$95$2), $MachinePrecision] + N[(N[(t$95$4 * x), $MachinePrecision] - N[(t * t$95$8), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 3.6e+73], t$95$6, t$95$7]]]]]]]]]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;a \leq -2.25 \cdot 10^{-35}:\\
\;\;\;\;y4 \cdot \left(b \cdot \left(t \cdot j - k \cdot y\right) + \left(y1 \cdot t\_3 - c \cdot t\_10\right)\right)\\

\mathbf{elif}\;a \leq -7.5 \cdot 10^{-93}:\\
\;\;\;\;\left(j \cdot t\_2 + \left(z \cdot t\_4 - y \cdot t\_8\right)\right) \cdot \left(-y3\right)\\

\mathbf{elif}\;a \leq -1.25 \cdot 10^{-133}:\\
\;\;\;\;t\_7\\

\mathbf{elif}\;a \leq 2.8 \cdot 10^{-289}:\\
\;\;\;\;t\_6\\

\mathbf{elif}\;a \leq 2.7 \cdot 10^{-235}:\\
\;\;\;\;c \cdot \left(\left(y0 \cdot t\_1 - i \cdot t\_9\right) - y4 \cdot t\_10\right)\\

\mathbf{elif}\;a \leq 1.02 \cdot 10^{-67}:\\
\;\;\;\;y2 \cdot \left(k \cdot t\_2 + \left(t\_4 \cdot x - t \cdot t\_8\right)\right)\\

\mathbf{elif}\;a \leq 3.6 \cdot 10^{+73}:\\
\;\;\;\;t\_6\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if a < -1.9e105

    1. Initial program 19.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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if -1.9e105 < a < -2.25000000000000005e-35

    1. Initial program 42.0%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if -2.25000000000000005e-35 < a < -7.50000000000000034e-93

    1. Initial program 33.3%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if -7.50000000000000034e-93 < a < -1.25e-133 or 3.5999999999999999e73 < a

    1. Initial program 23.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 y1 around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if -1.25e-133 < a < 2.79999999999999985e-289 or 1.01999999999999993e-67 < a < 3.5999999999999999e73

    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 y0 around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if 2.79999999999999985e-289 < a < 2.7000000000000002e-235

    1. Initial program 35.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 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if 2.7000000000000002e-235 < a < 1.01999999999999993e-67

    1. Initial program 46.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 y2 around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
  3. Recombined 7 regimes into one program.
  4. Add Preprocessing

Alternative 8: 41.4% accurate, 1.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := t \cdot j - k \cdot y\\ t_2 := k \cdot y2 - y3 \cdot j\\ t_3 := y2 \cdot x - z \cdot y3\\ t_4 := y \cdot x - t \cdot z\\ t_5 := t \cdot y2 - y3 \cdot y\\ t_6 := j \cdot x - z \cdot k\\ t_7 := y0 \cdot \left(\left(c \cdot t\_3 - y5 \cdot t\_2\right) - b \cdot t\_6\right)\\ \mathbf{if}\;a \leq -1.85 \cdot 10^{+107}:\\ \;\;\;\;a \cdot \left(\left(b \cdot t\_4 - y1 \cdot t\_3\right) + y5 \cdot t\_5\right)\\ \mathbf{elif}\;a \leq -2.05 \cdot 10^{-112}:\\ \;\;\;\;y4 \cdot \left(b \cdot t\_1 + \left(y1 \cdot t\_2 - c \cdot t\_5\right)\right)\\ \mathbf{elif}\;a \leq 2.2 \cdot 10^{-280}:\\ \;\;\;\;t\_7\\ \mathbf{elif}\;a \leq 1.9 \cdot 10^{-235}:\\ \;\;\;\;c \cdot \left(\left(y0 \cdot t\_3 - i \cdot t\_4\right) - y4 \cdot t\_5\right)\\ \mathbf{elif}\;a \leq 1.55 \cdot 10^{-64}:\\ \;\;\;\;y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + \left(\left(c \cdot y0 - a \cdot y1\right) \cdot x - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)\\ \mathbf{elif}\;a \leq 1.85 \cdot 10^{+71}:\\ \;\;\;\;t\_7\\ \mathbf{elif}\;a \leq 1.55 \cdot 10^{+109}:\\ \;\;\;\;-i \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right) + c \cdot \left(x \cdot y\right)\right)\\ \mathbf{elif}\;a \leq 2.6 \cdot 10^{+200}:\\ \;\;\;\;b \cdot \left(\left(a \cdot t\_4 + y4 \cdot t\_1\right) - y0 \cdot t\_6\right)\\ \mathbf{else}:\\ \;\;\;\;y1 \cdot \left(a \cdot \left(y3 \cdot z - x \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 (- (* t j) (* k y)))
        (t_2 (- (* k y2) (* y3 j)))
        (t_3 (- (* y2 x) (* z y3)))
        (t_4 (- (* y x) (* t z)))
        (t_5 (- (* t y2) (* y3 y)))
        (t_6 (- (* j x) (* z k)))
        (t_7 (* y0 (- (- (* c t_3) (* y5 t_2)) (* b t_6)))))
   (if (<= a -1.85e+107)
     (* a (+ (- (* b t_4) (* y1 t_3)) (* y5 t_5)))
     (if (<= a -2.05e-112)
       (* y4 (+ (* b t_1) (- (* y1 t_2) (* c t_5))))
       (if (<= a 2.2e-280)
         t_7
         (if (<= a 1.9e-235)
           (* c (- (- (* y0 t_3) (* i t_4)) (* y4 t_5)))
           (if (<= a 1.55e-64)
             (*
              y2
              (+
               (* k (- (* y1 y4) (* y0 y5)))
               (- (* (- (* c y0) (* a y1)) x) (* t (- (* c y4) (* a y5))))))
             (if (<= a 1.85e+71)
               t_7
               (if (<= a 1.55e+109)
                 (- (* i (+ (* y5 (- (* j t) (* k y))) (* c (* x y)))))
                 (if (<= a 2.6e+200)
                   (* b (- (+ (* a t_4) (* y4 t_1)) (* y0 t_6)))
                   (* y1 (* a (- (* y3 z) (* x y2))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (t * j) - (k * y);
	double t_2 = (k * y2) - (y3 * j);
	double t_3 = (y2 * x) - (z * y3);
	double t_4 = (y * x) - (t * z);
	double t_5 = (t * y2) - (y3 * y);
	double t_6 = (j * x) - (z * k);
	double t_7 = y0 * (((c * t_3) - (y5 * t_2)) - (b * t_6));
	double tmp;
	if (a <= -1.85e+107) {
		tmp = a * (((b * t_4) - (y1 * t_3)) + (y5 * t_5));
	} else if (a <= -2.05e-112) {
		tmp = y4 * ((b * t_1) + ((y1 * t_2) - (c * t_5)));
	} else if (a <= 2.2e-280) {
		tmp = t_7;
	} else if (a <= 1.9e-235) {
		tmp = c * (((y0 * t_3) - (i * t_4)) - (y4 * t_5));
	} else if (a <= 1.55e-64) {
		tmp = y2 * ((k * ((y1 * y4) - (y0 * y5))) + ((((c * y0) - (a * y1)) * x) - (t * ((c * y4) - (a * y5)))));
	} else if (a <= 1.85e+71) {
		tmp = t_7;
	} else if (a <= 1.55e+109) {
		tmp = -(i * ((y5 * ((j * t) - (k * y))) + (c * (x * y))));
	} else if (a <= 2.6e+200) {
		tmp = b * (((a * t_4) + (y4 * t_1)) - (y0 * t_6));
	} else {
		tmp = y1 * (a * ((y3 * z) - (x * y2)));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: t_4
    real(8) :: t_5
    real(8) :: t_6
    real(8) :: t_7
    real(8) :: tmp
    t_1 = (t * j) - (k * y)
    t_2 = (k * y2) - (y3 * j)
    t_3 = (y2 * x) - (z * y3)
    t_4 = (y * x) - (t * z)
    t_5 = (t * y2) - (y3 * y)
    t_6 = (j * x) - (z * k)
    t_7 = y0 * (((c * t_3) - (y5 * t_2)) - (b * t_6))
    if (a <= (-1.85d+107)) then
        tmp = a * (((b * t_4) - (y1 * t_3)) + (y5 * t_5))
    else if (a <= (-2.05d-112)) then
        tmp = y4 * ((b * t_1) + ((y1 * t_2) - (c * t_5)))
    else if (a <= 2.2d-280) then
        tmp = t_7
    else if (a <= 1.9d-235) then
        tmp = c * (((y0 * t_3) - (i * t_4)) - (y4 * t_5))
    else if (a <= 1.55d-64) then
        tmp = y2 * ((k * ((y1 * y4) - (y0 * y5))) + ((((c * y0) - (a * y1)) * x) - (t * ((c * y4) - (a * y5)))))
    else if (a <= 1.85d+71) then
        tmp = t_7
    else if (a <= 1.55d+109) then
        tmp = -(i * ((y5 * ((j * t) - (k * y))) + (c * (x * y))))
    else if (a <= 2.6d+200) then
        tmp = b * (((a * t_4) + (y4 * t_1)) - (y0 * t_6))
    else
        tmp = y1 * (a * ((y3 * z) - (x * y2)))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (t * j) - (k * y);
	double t_2 = (k * y2) - (y3 * j);
	double t_3 = (y2 * x) - (z * y3);
	double t_4 = (y * x) - (t * z);
	double t_5 = (t * y2) - (y3 * y);
	double t_6 = (j * x) - (z * k);
	double t_7 = y0 * (((c * t_3) - (y5 * t_2)) - (b * t_6));
	double tmp;
	if (a <= -1.85e+107) {
		tmp = a * (((b * t_4) - (y1 * t_3)) + (y5 * t_5));
	} else if (a <= -2.05e-112) {
		tmp = y4 * ((b * t_1) + ((y1 * t_2) - (c * t_5)));
	} else if (a <= 2.2e-280) {
		tmp = t_7;
	} else if (a <= 1.9e-235) {
		tmp = c * (((y0 * t_3) - (i * t_4)) - (y4 * t_5));
	} else if (a <= 1.55e-64) {
		tmp = y2 * ((k * ((y1 * y4) - (y0 * y5))) + ((((c * y0) - (a * y1)) * x) - (t * ((c * y4) - (a * y5)))));
	} else if (a <= 1.85e+71) {
		tmp = t_7;
	} else if (a <= 1.55e+109) {
		tmp = -(i * ((y5 * ((j * t) - (k * y))) + (c * (x * y))));
	} else if (a <= 2.6e+200) {
		tmp = b * (((a * t_4) + (y4 * t_1)) - (y0 * t_6));
	} else {
		tmp = y1 * (a * ((y3 * z) - (x * y2)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = (t * j) - (k * y)
	t_2 = (k * y2) - (y3 * j)
	t_3 = (y2 * x) - (z * y3)
	t_4 = (y * x) - (t * z)
	t_5 = (t * y2) - (y3 * y)
	t_6 = (j * x) - (z * k)
	t_7 = y0 * (((c * t_3) - (y5 * t_2)) - (b * t_6))
	tmp = 0
	if a <= -1.85e+107:
		tmp = a * (((b * t_4) - (y1 * t_3)) + (y5 * t_5))
	elif a <= -2.05e-112:
		tmp = y4 * ((b * t_1) + ((y1 * t_2) - (c * t_5)))
	elif a <= 2.2e-280:
		tmp = t_7
	elif a <= 1.9e-235:
		tmp = c * (((y0 * t_3) - (i * t_4)) - (y4 * t_5))
	elif a <= 1.55e-64:
		tmp = y2 * ((k * ((y1 * y4) - (y0 * y5))) + ((((c * y0) - (a * y1)) * x) - (t * ((c * y4) - (a * y5)))))
	elif a <= 1.85e+71:
		tmp = t_7
	elif a <= 1.55e+109:
		tmp = -(i * ((y5 * ((j * t) - (k * y))) + (c * (x * y))))
	elif a <= 2.6e+200:
		tmp = b * (((a * t_4) + (y4 * t_1)) - (y0 * t_6))
	else:
		tmp = y1 * (a * ((y3 * z) - (x * y2)))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(Float64(t * j) - Float64(k * y))
	t_2 = Float64(Float64(k * y2) - Float64(y3 * j))
	t_3 = Float64(Float64(y2 * x) - Float64(z * y3))
	t_4 = Float64(Float64(y * x) - Float64(t * z))
	t_5 = Float64(Float64(t * y2) - Float64(y3 * y))
	t_6 = Float64(Float64(j * x) - Float64(z * k))
	t_7 = Float64(y0 * Float64(Float64(Float64(c * t_3) - Float64(y5 * t_2)) - Float64(b * t_6)))
	tmp = 0.0
	if (a <= -1.85e+107)
		tmp = Float64(a * Float64(Float64(Float64(b * t_4) - Float64(y1 * t_3)) + Float64(y5 * t_5)));
	elseif (a <= -2.05e-112)
		tmp = Float64(y4 * Float64(Float64(b * t_1) + Float64(Float64(y1 * t_2) - Float64(c * t_5))));
	elseif (a <= 2.2e-280)
		tmp = t_7;
	elseif (a <= 1.9e-235)
		tmp = Float64(c * Float64(Float64(Float64(y0 * t_3) - Float64(i * t_4)) - Float64(y4 * t_5)));
	elseif (a <= 1.55e-64)
		tmp = Float64(y2 * Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(Float64(Float64(Float64(c * y0) - Float64(a * y1)) * x) - Float64(t * Float64(Float64(c * y4) - Float64(a * y5))))));
	elseif (a <= 1.85e+71)
		tmp = t_7;
	elseif (a <= 1.55e+109)
		tmp = Float64(-Float64(i * Float64(Float64(y5 * Float64(Float64(j * t) - Float64(k * y))) + Float64(c * Float64(x * y)))));
	elseif (a <= 2.6e+200)
		tmp = Float64(b * Float64(Float64(Float64(a * t_4) + Float64(y4 * t_1)) - Float64(y0 * t_6)));
	else
		tmp = Float64(y1 * Float64(a * Float64(Float64(y3 * z) - Float64(x * y2))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = (t * j) - (k * y);
	t_2 = (k * y2) - (y3 * j);
	t_3 = (y2 * x) - (z * y3);
	t_4 = (y * x) - (t * z);
	t_5 = (t * y2) - (y3 * y);
	t_6 = (j * x) - (z * k);
	t_7 = y0 * (((c * t_3) - (y5 * t_2)) - (b * t_6));
	tmp = 0.0;
	if (a <= -1.85e+107)
		tmp = a * (((b * t_4) - (y1 * t_3)) + (y5 * t_5));
	elseif (a <= -2.05e-112)
		tmp = y4 * ((b * t_1) + ((y1 * t_2) - (c * t_5)));
	elseif (a <= 2.2e-280)
		tmp = t_7;
	elseif (a <= 1.9e-235)
		tmp = c * (((y0 * t_3) - (i * t_4)) - (y4 * t_5));
	elseif (a <= 1.55e-64)
		tmp = y2 * ((k * ((y1 * y4) - (y0 * y5))) + ((((c * y0) - (a * y1)) * x) - (t * ((c * y4) - (a * y5)))));
	elseif (a <= 1.85e+71)
		tmp = t_7;
	elseif (a <= 1.55e+109)
		tmp = -(i * ((y5 * ((j * t) - (k * y))) + (c * (x * y))));
	elseif (a <= 2.6e+200)
		tmp = b * (((a * t_4) + (y4 * t_1)) - (y0 * t_6));
	else
		tmp = y1 * (a * ((y3 * z) - (x * y2)));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(t * j), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(k * y2), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y2 * x), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(t * y2), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(j * x), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(y0 * N[(N[(N[(c * t$95$3), $MachinePrecision] - N[(y5 * t$95$2), $MachinePrecision]), $MachinePrecision] - N[(b * t$95$6), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -1.85e+107], N[(a * N[(N[(N[(b * t$95$4), $MachinePrecision] - N[(y1 * t$95$3), $MachinePrecision]), $MachinePrecision] + N[(y5 * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -2.05e-112], N[(y4 * N[(N[(b * t$95$1), $MachinePrecision] + N[(N[(y1 * t$95$2), $MachinePrecision] - N[(c * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2.2e-280], t$95$7, If[LessEqual[a, 1.9e-235], N[(c * N[(N[(N[(y0 * t$95$3), $MachinePrecision] - N[(i * t$95$4), $MachinePrecision]), $MachinePrecision] - N[(y4 * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.55e-64], N[(y2 * N[(N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision] - N[(t * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.85e+71], t$95$7, If[LessEqual[a, 1.55e+109], (-N[(i * N[(N[(y5 * N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), If[LessEqual[a, 2.6e+200], N[(b * N[(N[(N[(a * t$95$4), $MachinePrecision] + N[(y4 * t$95$1), $MachinePrecision]), $MachinePrecision] - N[(y0 * t$95$6), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y1 * N[(a * N[(N[(y3 * z), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;a \leq -2.05 \cdot 10^{-112}:\\
\;\;\;\;y4 \cdot \left(b \cdot t\_1 + \left(y1 \cdot t\_2 - c \cdot t\_5\right)\right)\\

\mathbf{elif}\;a \leq 2.2 \cdot 10^{-280}:\\
\;\;\;\;t\_7\\

\mathbf{elif}\;a \leq 1.9 \cdot 10^{-235}:\\
\;\;\;\;c \cdot \left(\left(y0 \cdot t\_3 - i \cdot t\_4\right) - y4 \cdot t\_5\right)\\

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

\mathbf{elif}\;a \leq 1.85 \cdot 10^{+71}:\\
\;\;\;\;t\_7\\

\mathbf{elif}\;a \leq 1.55 \cdot 10^{+109}:\\
\;\;\;\;-i \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right) + c \cdot \left(x \cdot y\right)\right)\\

\mathbf{elif}\;a \leq 2.6 \cdot 10^{+200}:\\
\;\;\;\;b \cdot \left(\left(a \cdot t\_4 + y4 \cdot t\_1\right) - y0 \cdot t\_6\right)\\

\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(a \cdot \left(y3 \cdot z - x \cdot y2\right)\right)\\


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

    1. Initial program 19.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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if -1.85e107 < a < -2.04999999999999998e-112

    1. Initial program 37.1%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if -2.04999999999999998e-112 < a < 2.2000000000000001e-280 or 1.55000000000000012e-64 < a < 1.85e71

    1. Initial program 36.6%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if 2.2000000000000001e-280 < a < 1.90000000000000013e-235

    1. Initial program 35.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 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if 1.90000000000000013e-235 < a < 1.55000000000000012e-64

    1. Initial program 46.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 y2 around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if 1.85e71 < a < 1.54999999999999996e109

    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 i around -inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around 0 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in z around 0 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if 1.54999999999999996e109 < a < 2.6000000000000001e200

    1. Initial program 35.2%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if 2.6000000000000001e200 < a

    1. Initial program 12.0%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in a around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
  3. Recombined 8 regimes into one program.
  4. Add Preprocessing

Alternative 9: 35.0% accurate, 1.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ t_2 := y \cdot x - t \cdot z\\ \mathbf{if}\;y2 \leq -6.4 \cdot 10^{+181}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y2 \leq -8.5 \cdot 10^{+115}:\\ \;\;\;\;\left(\left(y2 \cdot y5 - z \cdot b\right) \cdot a\right) \cdot t\\ \mathbf{elif}\;y2 \leq -1.6 \cdot 10^{+25}:\\ \;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\ \mathbf{elif}\;y2 \leq -1.8 \cdot 10^{-173}:\\ \;\;\;\;-i \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right) + c \cdot \left(x \cdot y - t \cdot z\right)\right)\\ \mathbf{elif}\;y2 \leq -1.55 \cdot 10^{-298}:\\ \;\;\;\;b \cdot \left(\left(a \cdot t\_2 + y4 \cdot \left(t \cdot j - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - z \cdot k\right)\right)\\ \mathbf{elif}\;y2 \leq 1.25 \cdot 10^{-141}:\\ \;\;\;\;c \cdot \left(\left(y0 \cdot \left(y2 \cdot x - z \cdot y3\right) - i \cdot t\_2\right) - y4 \cdot \left(t \cdot y2 - y3 \cdot y\right)\right)\\ \mathbf{elif}\;y2 \leq 2.8 \cdot 10^{-26}:\\ \;\;\;\;a \cdot \left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)\\ \mathbf{elif}\;y2 \leq 2.6 \cdot 10^{+153}:\\ \;\;\;\;a \cdot \left(t \cdot \frac{1}{\frac{y2 \cdot y5 + z \cdot b}{y2 \cdot \left(y5 \cdot \left(y2 \cdot y5\right)\right) - \left(z \cdot b\right) \cdot \left(z \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 (* k (* y2 (- (* y1 y4) (* y0 y5))))) (t_2 (- (* y x) (* t z))))
   (if (<= y2 -6.4e+181)
     t_1
     (if (<= y2 -8.5e+115)
       (* (* (- (* y2 y5) (* z b)) a) t)
       (if (<= y2 -1.6e+25)
         (* y4 (* y1 (- (* k y2) (* j y3))))
         (if (<= y2 -1.8e-173)
           (- (* i (+ (* y5 (- (* j t) (* k y))) (* c (- (* x y) (* t z))))))
           (if (<= y2 -1.55e-298)
             (*
              b
              (-
               (+ (* a t_2) (* y4 (- (* t j) (* k y))))
               (* y0 (- (* j x) (* z k)))))
             (if (<= y2 1.25e-141)
               (*
                c
                (-
                 (- (* y0 (- (* y2 x) (* z y3))) (* i t_2))
                 (* y4 (- (* t y2) (* y3 y)))))
               (if (<= y2 2.8e-26)
                 (* a (* y (- (* b x) (* y3 y5))))
                 (if (<= y2 2.6e+153)
                   (*
                    a
                    (*
                     t
                     (/
                      1.0
                      (/
                       (+ (* y2 y5) (* z b))
                       (- (* y2 (* y5 (* y2 y5))) (* (* z b) (* z 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 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	double t_2 = (y * x) - (t * z);
	double tmp;
	if (y2 <= -6.4e+181) {
		tmp = t_1;
	} else if (y2 <= -8.5e+115) {
		tmp = (((y2 * y5) - (z * b)) * a) * t;
	} else if (y2 <= -1.6e+25) {
		tmp = y4 * (y1 * ((k * y2) - (j * y3)));
	} else if (y2 <= -1.8e-173) {
		tmp = -(i * ((y5 * ((j * t) - (k * y))) + (c * ((x * y) - (t * z)))));
	} else if (y2 <= -1.55e-298) {
		tmp = b * (((a * t_2) + (y4 * ((t * j) - (k * y)))) - (y0 * ((j * x) - (z * k))));
	} else if (y2 <= 1.25e-141) {
		tmp = c * (((y0 * ((y2 * x) - (z * y3))) - (i * t_2)) - (y4 * ((t * y2) - (y3 * y))));
	} else if (y2 <= 2.8e-26) {
		tmp = a * (y * ((b * x) - (y3 * y5)));
	} else if (y2 <= 2.6e+153) {
		tmp = a * (t * (1.0 / (((y2 * y5) + (z * b)) / ((y2 * (y5 * (y2 * y5))) - ((z * b) * (z * b))))));
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)))
    t_2 = (y * x) - (t * z)
    if (y2 <= (-6.4d+181)) then
        tmp = t_1
    else if (y2 <= (-8.5d+115)) then
        tmp = (((y2 * y5) - (z * b)) * a) * t
    else if (y2 <= (-1.6d+25)) then
        tmp = y4 * (y1 * ((k * y2) - (j * y3)))
    else if (y2 <= (-1.8d-173)) then
        tmp = -(i * ((y5 * ((j * t) - (k * y))) + (c * ((x * y) - (t * z)))))
    else if (y2 <= (-1.55d-298)) then
        tmp = b * (((a * t_2) + (y4 * ((t * j) - (k * y)))) - (y0 * ((j * x) - (z * k))))
    else if (y2 <= 1.25d-141) then
        tmp = c * (((y0 * ((y2 * x) - (z * y3))) - (i * t_2)) - (y4 * ((t * y2) - (y3 * y))))
    else if (y2 <= 2.8d-26) then
        tmp = a * (y * ((b * x) - (y3 * y5)))
    else if (y2 <= 2.6d+153) then
        tmp = a * (t * (1.0d0 / (((y2 * y5) + (z * b)) / ((y2 * (y5 * (y2 * y5))) - ((z * b) * (z * 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 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	double t_2 = (y * x) - (t * z);
	double tmp;
	if (y2 <= -6.4e+181) {
		tmp = t_1;
	} else if (y2 <= -8.5e+115) {
		tmp = (((y2 * y5) - (z * b)) * a) * t;
	} else if (y2 <= -1.6e+25) {
		tmp = y4 * (y1 * ((k * y2) - (j * y3)));
	} else if (y2 <= -1.8e-173) {
		tmp = -(i * ((y5 * ((j * t) - (k * y))) + (c * ((x * y) - (t * z)))));
	} else if (y2 <= -1.55e-298) {
		tmp = b * (((a * t_2) + (y4 * ((t * j) - (k * y)))) - (y0 * ((j * x) - (z * k))));
	} else if (y2 <= 1.25e-141) {
		tmp = c * (((y0 * ((y2 * x) - (z * y3))) - (i * t_2)) - (y4 * ((t * y2) - (y3 * y))));
	} else if (y2 <= 2.8e-26) {
		tmp = a * (y * ((b * x) - (y3 * y5)));
	} else if (y2 <= 2.6e+153) {
		tmp = a * (t * (1.0 / (((y2 * y5) + (z * b)) / ((y2 * (y5 * (y2 * y5))) - ((z * b) * (z * 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 = k * (y2 * ((y1 * y4) - (y0 * y5)))
	t_2 = (y * x) - (t * z)
	tmp = 0
	if y2 <= -6.4e+181:
		tmp = t_1
	elif y2 <= -8.5e+115:
		tmp = (((y2 * y5) - (z * b)) * a) * t
	elif y2 <= -1.6e+25:
		tmp = y4 * (y1 * ((k * y2) - (j * y3)))
	elif y2 <= -1.8e-173:
		tmp = -(i * ((y5 * ((j * t) - (k * y))) + (c * ((x * y) - (t * z)))))
	elif y2 <= -1.55e-298:
		tmp = b * (((a * t_2) + (y4 * ((t * j) - (k * y)))) - (y0 * ((j * x) - (z * k))))
	elif y2 <= 1.25e-141:
		tmp = c * (((y0 * ((y2 * x) - (z * y3))) - (i * t_2)) - (y4 * ((t * y2) - (y3 * y))))
	elif y2 <= 2.8e-26:
		tmp = a * (y * ((b * x) - (y3 * y5)))
	elif y2 <= 2.6e+153:
		tmp = a * (t * (1.0 / (((y2 * y5) + (z * b)) / ((y2 * (y5 * (y2 * y5))) - ((z * b) * (z * 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(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5))))
	t_2 = Float64(Float64(y * x) - Float64(t * z))
	tmp = 0.0
	if (y2 <= -6.4e+181)
		tmp = t_1;
	elseif (y2 <= -8.5e+115)
		tmp = Float64(Float64(Float64(Float64(y2 * y5) - Float64(z * b)) * a) * t);
	elseif (y2 <= -1.6e+25)
		tmp = Float64(y4 * Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3))));
	elseif (y2 <= -1.8e-173)
		tmp = Float64(-Float64(i * Float64(Float64(y5 * Float64(Float64(j * t) - Float64(k * y))) + Float64(c * Float64(Float64(x * y) - Float64(t * z))))));
	elseif (y2 <= -1.55e-298)
		tmp = Float64(b * Float64(Float64(Float64(a * t_2) + Float64(y4 * Float64(Float64(t * j) - Float64(k * y)))) - Float64(y0 * Float64(Float64(j * x) - Float64(z * k)))));
	elseif (y2 <= 1.25e-141)
		tmp = Float64(c * Float64(Float64(Float64(y0 * Float64(Float64(y2 * x) - Float64(z * y3))) - Float64(i * t_2)) - Float64(y4 * Float64(Float64(t * y2) - Float64(y3 * y)))));
	elseif (y2 <= 2.8e-26)
		tmp = Float64(a * Float64(y * Float64(Float64(b * x) - Float64(y3 * y5))));
	elseif (y2 <= 2.6e+153)
		tmp = Float64(a * Float64(t * Float64(1.0 / Float64(Float64(Float64(y2 * y5) + Float64(z * b)) / Float64(Float64(y2 * Float64(y5 * Float64(y2 * y5))) - Float64(Float64(z * b) * Float64(z * 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 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	t_2 = (y * x) - (t * z);
	tmp = 0.0;
	if (y2 <= -6.4e+181)
		tmp = t_1;
	elseif (y2 <= -8.5e+115)
		tmp = (((y2 * y5) - (z * b)) * a) * t;
	elseif (y2 <= -1.6e+25)
		tmp = y4 * (y1 * ((k * y2) - (j * y3)));
	elseif (y2 <= -1.8e-173)
		tmp = -(i * ((y5 * ((j * t) - (k * y))) + (c * ((x * y) - (t * z)))));
	elseif (y2 <= -1.55e-298)
		tmp = b * (((a * t_2) + (y4 * ((t * j) - (k * y)))) - (y0 * ((j * x) - (z * k))));
	elseif (y2 <= 1.25e-141)
		tmp = c * (((y0 * ((y2 * x) - (z * y3))) - (i * t_2)) - (y4 * ((t * y2) - (y3 * y))));
	elseif (y2 <= 2.8e-26)
		tmp = a * (y * ((b * x) - (y3 * y5)));
	elseif (y2 <= 2.6e+153)
		tmp = a * (t * (1.0 / (((y2 * y5) + (z * b)) / ((y2 * (y5 * (y2 * y5))) - ((z * b) * (z * 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[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -6.4e+181], t$95$1, If[LessEqual[y2, -8.5e+115], N[(N[(N[(N[(y2 * y5), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision] * t), $MachinePrecision], If[LessEqual[y2, -1.6e+25], N[(y4 * N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -1.8e-173], (-N[(i * N[(N[(y5 * N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(x * y), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), If[LessEqual[y2, -1.55e-298], N[(b * N[(N[(N[(a * t$95$2), $MachinePrecision] + N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y0 * N[(N[(j * x), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.25e-141], N[(c * N[(N[(N[(y0 * N[(N[(y2 * x), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(i * t$95$2), $MachinePrecision]), $MachinePrecision] - N[(y4 * N[(N[(t * y2), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.8e-26], N[(a * N[(y * N[(N[(b * x), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.6e+153], N[(a * N[(t * N[(1.0 / N[(N[(N[(y2 * y5), $MachinePrecision] + N[(z * b), $MachinePrecision]), $MachinePrecision] / N[(N[(y2 * N[(y5 * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(z * b), $MachinePrecision] * N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;y2 \leq -8.5 \cdot 10^{+115}:\\
\;\;\;\;\left(\left(y2 \cdot y5 - z \cdot b\right) \cdot a\right) \cdot t\\

\mathbf{elif}\;y2 \leq -1.6 \cdot 10^{+25}:\\
\;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\

\mathbf{elif}\;y2 \leq -1.8 \cdot 10^{-173}:\\
\;\;\;\;-i \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right) + c \cdot \left(x \cdot y - t \cdot z\right)\right)\\

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

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

\mathbf{elif}\;y2 \leq 2.8 \cdot 10^{-26}:\\
\;\;\;\;a \cdot \left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)\\

\mathbf{elif}\;y2 \leq 2.6 \cdot 10^{+153}:\\
\;\;\;\;a \cdot \left(t \cdot \frac{1}{\frac{y2 \cdot y5 + z \cdot b}{y2 \cdot \left(y5 \cdot \left(y2 \cdot y5\right)\right) - \left(z \cdot b\right) \cdot \left(z \cdot b\right)}}\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 8 regimes
  2. if y2 < -6.4000000000000001e181 or 2.5999999999999999e153 < y2

    1. Initial program 21.1%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -6.4000000000000001e181 < y2 < -8.50000000000000057e115

    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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in t around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Applied egg-rr0

      \[\leadsto expr\]

    if -8.50000000000000057e115 < y2 < -1.6e25

    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 y4 around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -1.6e25 < y2 < -1.79999999999999986e-173

    1. Initial program 44.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 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around 0 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -1.79999999999999986e-173 < y2 < -1.5500000000000001e-298

    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 b around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if -1.5500000000000001e-298 < y2 < 1.25e-141

    1. Initial program 38.1%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if 1.25e-141 < y2 < 2.8000000000000001e-26

    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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 2.8000000000000001e-26 < y2 < 2.5999999999999999e153

    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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in t around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Applied egg-rr0

      \[\leadsto expr\]
  3. Recombined 8 regimes into one program.
  4. Add Preprocessing

Alternative 10: 33.1% accurate, 1.6× speedup?

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

\\
\begin{array}{l}
t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{if}\;y2 \leq -7.8 \cdot 10^{+182}:\\
\;\;\;\;t\_1\\

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

\mathbf{elif}\;y2 \leq -3.2 \cdot 10^{+26}:\\
\;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\

\mathbf{elif}\;y2 \leq -5 \cdot 10^{-182}:\\
\;\;\;\;-i \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right) + c \cdot \left(x \cdot y - t \cdot z\right)\right)\\

\mathbf{elif}\;y2 \leq 7.2 \cdot 10^{-254}:\\
\;\;\;\;-y \cdot \left(y4 \cdot \left(b \cdot k - c \cdot y3\right)\right)\\

\mathbf{elif}\;y2 \leq 4.8 \cdot 10^{-148}:\\
\;\;\;\;\left(j \cdot y0\right) \cdot \left(y3 \cdot y5 - x \cdot b\right)\\

\mathbf{elif}\;y2 \leq 3 \cdot 10^{-131}:\\
\;\;\;\;k \cdot \left(y \cdot \left(b \cdot \left(0 - y4\right)\right)\right)\\

\mathbf{elif}\;y2 \leq 2.45 \cdot 10^{-26}:\\
\;\;\;\;a \cdot \left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)\\

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

\mathbf{elif}\;y2 \leq 3.7 \cdot 10^{+147}:\\
\;\;\;\;y3 \cdot \left(y0 \cdot \left(j \cdot y5 - c \cdot z\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 10 regimes
  2. if y2 < -7.7999999999999998e182 or 3.7e147 < y2

    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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -7.7999999999999998e182 < y2 < -4.4000000000000001e115

    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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in t around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Applied egg-rr0

      \[\leadsto expr\]

    if -4.4000000000000001e115 < y2 < -3.20000000000000029e26

    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 y4 around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -3.20000000000000029e26 < y2 < -5.00000000000000024e-182

    1. Initial program 45.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 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around 0 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -5.00000000000000024e-182 < y2 < 7.19999999999999967e-254

    1. Initial program 44.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 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around -inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 7.19999999999999967e-254 < y2 < 4.8000000000000002e-148

    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 y0 around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in j around -inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 4.8000000000000002e-148 < y2 < 2.99999999999999996e-131

    1. Initial program 60.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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in i around 0 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if 2.99999999999999996e-131 < y2 < 2.45e-26

    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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 2.45e-26 < y2 < 2.05e52

    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 i around -inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in z around -inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 2.05e52 < y2 < 3.7e147

    1. Initial program 44.4%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y3 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y3 around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]
  3. Recombined 10 regimes into one program.
  4. Add Preprocessing

Alternative 11: 32.6% accurate, 1.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \mathbf{if}\;y2 \leq -3.1 \cdot 10^{+181}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y2 \leq -6.5 \cdot 10^{+115}:\\ \;\;\;\;\left(\left(y2 \cdot y5 - z \cdot b\right) \cdot a\right) \cdot t\\ \mathbf{elif}\;y2 \leq -8.2 \cdot 10^{+27}:\\ \;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\ \mathbf{elif}\;y2 \leq -5 \cdot 10^{-182}:\\ \;\;\;\;-i \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right) + c \cdot \left(x \cdot y\right)\right)\\ \mathbf{elif}\;y2 \leq 1.15 \cdot 10^{-251}:\\ \;\;\;\;-y \cdot \left(y4 \cdot \left(b \cdot k - c \cdot y3\right)\right)\\ \mathbf{elif}\;y2 \leq 5.3 \cdot 10^{-148}:\\ \;\;\;\;\left(j \cdot y0\right) \cdot \left(y3 \cdot y5 - x \cdot b\right)\\ \mathbf{elif}\;y2 \leq 1.45 \cdot 10^{-133}:\\ \;\;\;\;k \cdot \left(y \cdot \left(b \cdot \left(0 - y4\right)\right)\right)\\ \mathbf{elif}\;y2 \leq 2.65 \cdot 10^{-27}:\\ \;\;\;\;a \cdot \left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)\\ \mathbf{elif}\;y2 \leq 3.7 \cdot 10^{+50}:\\ \;\;\;\;\left(i \cdot z\right) \cdot \left(c \cdot t - k \cdot y1\right)\\ \mathbf{elif}\;y2 \leq 4 \cdot 10^{+147}:\\ \;\;\;\;y3 \cdot \left(y0 \cdot \left(j \cdot y5 - c \cdot z\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* k (* y2 (- (* y1 y4) (* y0 y5))))))
   (if (<= y2 -3.1e+181)
     t_1
     (if (<= y2 -6.5e+115)
       (* (* (- (* y2 y5) (* z b)) a) t)
       (if (<= y2 -8.2e+27)
         (* y4 (* y1 (- (* k y2) (* j y3))))
         (if (<= y2 -5e-182)
           (- (* i (+ (* y5 (- (* j t) (* k y))) (* c (* x y)))))
           (if (<= y2 1.15e-251)
             (- (* y (* y4 (- (* b k) (* c y3)))))
             (if (<= y2 5.3e-148)
               (* (* j y0) (- (* y3 y5) (* x b)))
               (if (<= y2 1.45e-133)
                 (* k (* y (* b (- 0.0 y4))))
                 (if (<= y2 2.65e-27)
                   (* a (* y (- (* b x) (* y3 y5))))
                   (if (<= y2 3.7e+50)
                     (* (* i z) (- (* c t) (* k y1)))
                     (if (<= y2 4e+147)
                       (* y3 (* y0 (- (* j y5) (* c z))))
                       t_1))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	double tmp;
	if (y2 <= -3.1e+181) {
		tmp = t_1;
	} else if (y2 <= -6.5e+115) {
		tmp = (((y2 * y5) - (z * b)) * a) * t;
	} else if (y2 <= -8.2e+27) {
		tmp = y4 * (y1 * ((k * y2) - (j * y3)));
	} else if (y2 <= -5e-182) {
		tmp = -(i * ((y5 * ((j * t) - (k * y))) + (c * (x * y))));
	} else if (y2 <= 1.15e-251) {
		tmp = -(y * (y4 * ((b * k) - (c * y3))));
	} else if (y2 <= 5.3e-148) {
		tmp = (j * y0) * ((y3 * y5) - (x * b));
	} else if (y2 <= 1.45e-133) {
		tmp = k * (y * (b * (0.0 - y4)));
	} else if (y2 <= 2.65e-27) {
		tmp = a * (y * ((b * x) - (y3 * y5)));
	} else if (y2 <= 3.7e+50) {
		tmp = (i * z) * ((c * t) - (k * y1));
	} else if (y2 <= 4e+147) {
		tmp = y3 * (y0 * ((j * y5) - (c * z)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)))
    if (y2 <= (-3.1d+181)) then
        tmp = t_1
    else if (y2 <= (-6.5d+115)) then
        tmp = (((y2 * y5) - (z * b)) * a) * t
    else if (y2 <= (-8.2d+27)) then
        tmp = y4 * (y1 * ((k * y2) - (j * y3)))
    else if (y2 <= (-5d-182)) then
        tmp = -(i * ((y5 * ((j * t) - (k * y))) + (c * (x * y))))
    else if (y2 <= 1.15d-251) then
        tmp = -(y * (y4 * ((b * k) - (c * y3))))
    else if (y2 <= 5.3d-148) then
        tmp = (j * y0) * ((y3 * y5) - (x * b))
    else if (y2 <= 1.45d-133) then
        tmp = k * (y * (b * (0.0d0 - y4)))
    else if (y2 <= 2.65d-27) then
        tmp = a * (y * ((b * x) - (y3 * y5)))
    else if (y2 <= 3.7d+50) then
        tmp = (i * z) * ((c * t) - (k * y1))
    else if (y2 <= 4d+147) then
        tmp = y3 * (y0 * ((j * y5) - (c * z)))
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	double tmp;
	if (y2 <= -3.1e+181) {
		tmp = t_1;
	} else if (y2 <= -6.5e+115) {
		tmp = (((y2 * y5) - (z * b)) * a) * t;
	} else if (y2 <= -8.2e+27) {
		tmp = y4 * (y1 * ((k * y2) - (j * y3)));
	} else if (y2 <= -5e-182) {
		tmp = -(i * ((y5 * ((j * t) - (k * y))) + (c * (x * y))));
	} else if (y2 <= 1.15e-251) {
		tmp = -(y * (y4 * ((b * k) - (c * y3))));
	} else if (y2 <= 5.3e-148) {
		tmp = (j * y0) * ((y3 * y5) - (x * b));
	} else if (y2 <= 1.45e-133) {
		tmp = k * (y * (b * (0.0 - y4)));
	} else if (y2 <= 2.65e-27) {
		tmp = a * (y * ((b * x) - (y3 * y5)));
	} else if (y2 <= 3.7e+50) {
		tmp = (i * z) * ((c * t) - (k * y1));
	} else if (y2 <= 4e+147) {
		tmp = y3 * (y0 * ((j * y5) - (c * z)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)))
	tmp = 0
	if y2 <= -3.1e+181:
		tmp = t_1
	elif y2 <= -6.5e+115:
		tmp = (((y2 * y5) - (z * b)) * a) * t
	elif y2 <= -8.2e+27:
		tmp = y4 * (y1 * ((k * y2) - (j * y3)))
	elif y2 <= -5e-182:
		tmp = -(i * ((y5 * ((j * t) - (k * y))) + (c * (x * y))))
	elif y2 <= 1.15e-251:
		tmp = -(y * (y4 * ((b * k) - (c * y3))))
	elif y2 <= 5.3e-148:
		tmp = (j * y0) * ((y3 * y5) - (x * b))
	elif y2 <= 1.45e-133:
		tmp = k * (y * (b * (0.0 - y4)))
	elif y2 <= 2.65e-27:
		tmp = a * (y * ((b * x) - (y3 * y5)))
	elif y2 <= 3.7e+50:
		tmp = (i * z) * ((c * t) - (k * y1))
	elif y2 <= 4e+147:
		tmp = y3 * (y0 * ((j * y5) - (c * z)))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5))))
	tmp = 0.0
	if (y2 <= -3.1e+181)
		tmp = t_1;
	elseif (y2 <= -6.5e+115)
		tmp = Float64(Float64(Float64(Float64(y2 * y5) - Float64(z * b)) * a) * t);
	elseif (y2 <= -8.2e+27)
		tmp = Float64(y4 * Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3))));
	elseif (y2 <= -5e-182)
		tmp = Float64(-Float64(i * Float64(Float64(y5 * Float64(Float64(j * t) - Float64(k * y))) + Float64(c * Float64(x * y)))));
	elseif (y2 <= 1.15e-251)
		tmp = Float64(-Float64(y * Float64(y4 * Float64(Float64(b * k) - Float64(c * y3)))));
	elseif (y2 <= 5.3e-148)
		tmp = Float64(Float64(j * y0) * Float64(Float64(y3 * y5) - Float64(x * b)));
	elseif (y2 <= 1.45e-133)
		tmp = Float64(k * Float64(y * Float64(b * Float64(0.0 - y4))));
	elseif (y2 <= 2.65e-27)
		tmp = Float64(a * Float64(y * Float64(Float64(b * x) - Float64(y3 * y5))));
	elseif (y2 <= 3.7e+50)
		tmp = Float64(Float64(i * z) * Float64(Float64(c * t) - Float64(k * y1)));
	elseif (y2 <= 4e+147)
		tmp = Float64(y3 * Float64(y0 * Float64(Float64(j * y5) - Float64(c * z))));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	tmp = 0.0;
	if (y2 <= -3.1e+181)
		tmp = t_1;
	elseif (y2 <= -6.5e+115)
		tmp = (((y2 * y5) - (z * b)) * a) * t;
	elseif (y2 <= -8.2e+27)
		tmp = y4 * (y1 * ((k * y2) - (j * y3)));
	elseif (y2 <= -5e-182)
		tmp = -(i * ((y5 * ((j * t) - (k * y))) + (c * (x * y))));
	elseif (y2 <= 1.15e-251)
		tmp = -(y * (y4 * ((b * k) - (c * y3))));
	elseif (y2 <= 5.3e-148)
		tmp = (j * y0) * ((y3 * y5) - (x * b));
	elseif (y2 <= 1.45e-133)
		tmp = k * (y * (b * (0.0 - y4)));
	elseif (y2 <= 2.65e-27)
		tmp = a * (y * ((b * x) - (y3 * y5)));
	elseif (y2 <= 3.7e+50)
		tmp = (i * z) * ((c * t) - (k * y1));
	elseif (y2 <= 4e+147)
		tmp = y3 * (y0 * ((j * y5) - (c * z)));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -3.1e+181], t$95$1, If[LessEqual[y2, -6.5e+115], N[(N[(N[(N[(y2 * y5), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision] * t), $MachinePrecision], If[LessEqual[y2, -8.2e+27], N[(y4 * N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -5e-182], (-N[(i * N[(N[(y5 * N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), If[LessEqual[y2, 1.15e-251], (-N[(y * N[(y4 * N[(N[(b * k), $MachinePrecision] - N[(c * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), If[LessEqual[y2, 5.3e-148], N[(N[(j * y0), $MachinePrecision] * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.45e-133], N[(k * N[(y * N[(b * N[(0.0 - y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.65e-27], N[(a * N[(y * N[(N[(b * x), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3.7e+50], N[(N[(i * z), $MachinePrecision] * N[(N[(c * t), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 4e+147], N[(y3 * N[(y0 * N[(N[(j * y5), $MachinePrecision] - N[(c * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{if}\;y2 \leq -3.1 \cdot 10^{+181}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y2 \leq -6.5 \cdot 10^{+115}:\\
\;\;\;\;\left(\left(y2 \cdot y5 - z \cdot b\right) \cdot a\right) \cdot t\\

\mathbf{elif}\;y2 \leq -8.2 \cdot 10^{+27}:\\
\;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\

\mathbf{elif}\;y2 \leq -5 \cdot 10^{-182}:\\
\;\;\;\;-i \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right) + c \cdot \left(x \cdot y\right)\right)\\

\mathbf{elif}\;y2 \leq 1.15 \cdot 10^{-251}:\\
\;\;\;\;-y \cdot \left(y4 \cdot \left(b \cdot k - c \cdot y3\right)\right)\\

\mathbf{elif}\;y2 \leq 5.3 \cdot 10^{-148}:\\
\;\;\;\;\left(j \cdot y0\right) \cdot \left(y3 \cdot y5 - x \cdot b\right)\\

\mathbf{elif}\;y2 \leq 1.45 \cdot 10^{-133}:\\
\;\;\;\;k \cdot \left(y \cdot \left(b \cdot \left(0 - y4\right)\right)\right)\\

\mathbf{elif}\;y2 \leq 2.65 \cdot 10^{-27}:\\
\;\;\;\;a \cdot \left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)\\

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

\mathbf{elif}\;y2 \leq 4 \cdot 10^{+147}:\\
\;\;\;\;y3 \cdot \left(y0 \cdot \left(j \cdot y5 - c \cdot z\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 10 regimes
  2. if y2 < -3.09999999999999989e181 or 3.9999999999999999e147 < y2

    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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -3.09999999999999989e181 < y2 < -6.49999999999999966e115

    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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in t around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Applied egg-rr0

      \[\leadsto expr\]

    if -6.49999999999999966e115 < y2 < -8.2000000000000005e27

    1. Initial program 35.7%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -8.2000000000000005e27 < y2 < -5.00000000000000024e-182

    1. Initial program 44.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 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around 0 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in z around 0 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if -5.00000000000000024e-182 < y2 < 1.15000000000000009e-251

    1. Initial program 44.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 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around -inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 1.15000000000000009e-251 < y2 < 5.29999999999999995e-148

    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 y0 around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in j around -inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 5.29999999999999995e-148 < y2 < 1.4499999999999999e-133

    1. Initial program 60.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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in i around 0 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if 1.4499999999999999e-133 < y2 < 2.65000000000000003e-27

    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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 2.65000000000000003e-27 < y2 < 3.7000000000000001e50

    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 i around -inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in z around -inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 3.7000000000000001e50 < y2 < 3.9999999999999999e147

    1. Initial program 44.4%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y3 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y3 around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]
  3. Recombined 10 regimes into one program.
  4. Add Preprocessing

Alternative 12: 31.6% accurate, 1.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \mathbf{if}\;y2 \leq -5.5 \cdot 10^{+184}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y2 \leq -2 \cdot 10^{+116}:\\ \;\;\;\;\left(\left(y2 \cdot y5 - z \cdot b\right) \cdot a\right) \cdot t\\ \mathbf{elif}\;y2 \leq -3 \cdot 10^{+25}:\\ \;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\ \mathbf{elif}\;y2 \leq -1.05 \cdot 10^{-181}:\\ \;\;\;\;i \cdot \left(t \cdot \left(c \cdot z - j \cdot y5\right)\right)\\ \mathbf{elif}\;y2 \leq 4.5 \cdot 10^{-253}:\\ \;\;\;\;-y \cdot \left(y4 \cdot \left(b \cdot k - c \cdot y3\right)\right)\\ \mathbf{elif}\;y2 \leq 5.3 \cdot 10^{-148}:\\ \;\;\;\;\left(j \cdot y0\right) \cdot \left(y3 \cdot y5 - x \cdot b\right)\\ \mathbf{elif}\;y2 \leq 1.26 \cdot 10^{-132}:\\ \;\;\;\;k \cdot \left(y \cdot \left(b \cdot \left(0 - y4\right)\right)\right)\\ \mathbf{elif}\;y2 \leq 5.5 \cdot 10^{-27}:\\ \;\;\;\;a \cdot \left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)\\ \mathbf{elif}\;y2 \leq 2.1 \cdot 10^{+50}:\\ \;\;\;\;\left(i \cdot z\right) \cdot \left(c \cdot t - k \cdot y1\right)\\ \mathbf{elif}\;y2 \leq 3.7 \cdot 10^{+147}:\\ \;\;\;\;y3 \cdot \left(y0 \cdot \left(j \cdot y5 - c \cdot z\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* k (* y2 (- (* y1 y4) (* y0 y5))))))
   (if (<= y2 -5.5e+184)
     t_1
     (if (<= y2 -2e+116)
       (* (* (- (* y2 y5) (* z b)) a) t)
       (if (<= y2 -3e+25)
         (* y4 (* y1 (- (* k y2) (* j y3))))
         (if (<= y2 -1.05e-181)
           (* i (* t (- (* c z) (* j y5))))
           (if (<= y2 4.5e-253)
             (- (* y (* y4 (- (* b k) (* c y3)))))
             (if (<= y2 5.3e-148)
               (* (* j y0) (- (* y3 y5) (* x b)))
               (if (<= y2 1.26e-132)
                 (* k (* y (* b (- 0.0 y4))))
                 (if (<= y2 5.5e-27)
                   (* a (* y (- (* b x) (* y3 y5))))
                   (if (<= y2 2.1e+50)
                     (* (* i z) (- (* c t) (* k y1)))
                     (if (<= y2 3.7e+147)
                       (* y3 (* y0 (- (* j y5) (* c z))))
                       t_1))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	double tmp;
	if (y2 <= -5.5e+184) {
		tmp = t_1;
	} else if (y2 <= -2e+116) {
		tmp = (((y2 * y5) - (z * b)) * a) * t;
	} else if (y2 <= -3e+25) {
		tmp = y4 * (y1 * ((k * y2) - (j * y3)));
	} else if (y2 <= -1.05e-181) {
		tmp = i * (t * ((c * z) - (j * y5)));
	} else if (y2 <= 4.5e-253) {
		tmp = -(y * (y4 * ((b * k) - (c * y3))));
	} else if (y2 <= 5.3e-148) {
		tmp = (j * y0) * ((y3 * y5) - (x * b));
	} else if (y2 <= 1.26e-132) {
		tmp = k * (y * (b * (0.0 - y4)));
	} else if (y2 <= 5.5e-27) {
		tmp = a * (y * ((b * x) - (y3 * y5)));
	} else if (y2 <= 2.1e+50) {
		tmp = (i * z) * ((c * t) - (k * y1));
	} else if (y2 <= 3.7e+147) {
		tmp = y3 * (y0 * ((j * y5) - (c * z)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)))
    if (y2 <= (-5.5d+184)) then
        tmp = t_1
    else if (y2 <= (-2d+116)) then
        tmp = (((y2 * y5) - (z * b)) * a) * t
    else if (y2 <= (-3d+25)) then
        tmp = y4 * (y1 * ((k * y2) - (j * y3)))
    else if (y2 <= (-1.05d-181)) then
        tmp = i * (t * ((c * z) - (j * y5)))
    else if (y2 <= 4.5d-253) then
        tmp = -(y * (y4 * ((b * k) - (c * y3))))
    else if (y2 <= 5.3d-148) then
        tmp = (j * y0) * ((y3 * y5) - (x * b))
    else if (y2 <= 1.26d-132) then
        tmp = k * (y * (b * (0.0d0 - y4)))
    else if (y2 <= 5.5d-27) then
        tmp = a * (y * ((b * x) - (y3 * y5)))
    else if (y2 <= 2.1d+50) then
        tmp = (i * z) * ((c * t) - (k * y1))
    else if (y2 <= 3.7d+147) then
        tmp = y3 * (y0 * ((j * y5) - (c * z)))
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	double tmp;
	if (y2 <= -5.5e+184) {
		tmp = t_1;
	} else if (y2 <= -2e+116) {
		tmp = (((y2 * y5) - (z * b)) * a) * t;
	} else if (y2 <= -3e+25) {
		tmp = y4 * (y1 * ((k * y2) - (j * y3)));
	} else if (y2 <= -1.05e-181) {
		tmp = i * (t * ((c * z) - (j * y5)));
	} else if (y2 <= 4.5e-253) {
		tmp = -(y * (y4 * ((b * k) - (c * y3))));
	} else if (y2 <= 5.3e-148) {
		tmp = (j * y0) * ((y3 * y5) - (x * b));
	} else if (y2 <= 1.26e-132) {
		tmp = k * (y * (b * (0.0 - y4)));
	} else if (y2 <= 5.5e-27) {
		tmp = a * (y * ((b * x) - (y3 * y5)));
	} else if (y2 <= 2.1e+50) {
		tmp = (i * z) * ((c * t) - (k * y1));
	} else if (y2 <= 3.7e+147) {
		tmp = y3 * (y0 * ((j * y5) - (c * z)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)))
	tmp = 0
	if y2 <= -5.5e+184:
		tmp = t_1
	elif y2 <= -2e+116:
		tmp = (((y2 * y5) - (z * b)) * a) * t
	elif y2 <= -3e+25:
		tmp = y4 * (y1 * ((k * y2) - (j * y3)))
	elif y2 <= -1.05e-181:
		tmp = i * (t * ((c * z) - (j * y5)))
	elif y2 <= 4.5e-253:
		tmp = -(y * (y4 * ((b * k) - (c * y3))))
	elif y2 <= 5.3e-148:
		tmp = (j * y0) * ((y3 * y5) - (x * b))
	elif y2 <= 1.26e-132:
		tmp = k * (y * (b * (0.0 - y4)))
	elif y2 <= 5.5e-27:
		tmp = a * (y * ((b * x) - (y3 * y5)))
	elif y2 <= 2.1e+50:
		tmp = (i * z) * ((c * t) - (k * y1))
	elif y2 <= 3.7e+147:
		tmp = y3 * (y0 * ((j * y5) - (c * z)))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5))))
	tmp = 0.0
	if (y2 <= -5.5e+184)
		tmp = t_1;
	elseif (y2 <= -2e+116)
		tmp = Float64(Float64(Float64(Float64(y2 * y5) - Float64(z * b)) * a) * t);
	elseif (y2 <= -3e+25)
		tmp = Float64(y4 * Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3))));
	elseif (y2 <= -1.05e-181)
		tmp = Float64(i * Float64(t * Float64(Float64(c * z) - Float64(j * y5))));
	elseif (y2 <= 4.5e-253)
		tmp = Float64(-Float64(y * Float64(y4 * Float64(Float64(b * k) - Float64(c * y3)))));
	elseif (y2 <= 5.3e-148)
		tmp = Float64(Float64(j * y0) * Float64(Float64(y3 * y5) - Float64(x * b)));
	elseif (y2 <= 1.26e-132)
		tmp = Float64(k * Float64(y * Float64(b * Float64(0.0 - y4))));
	elseif (y2 <= 5.5e-27)
		tmp = Float64(a * Float64(y * Float64(Float64(b * x) - Float64(y3 * y5))));
	elseif (y2 <= 2.1e+50)
		tmp = Float64(Float64(i * z) * Float64(Float64(c * t) - Float64(k * y1)));
	elseif (y2 <= 3.7e+147)
		tmp = Float64(y3 * Float64(y0 * Float64(Float64(j * y5) - Float64(c * z))));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	tmp = 0.0;
	if (y2 <= -5.5e+184)
		tmp = t_1;
	elseif (y2 <= -2e+116)
		tmp = (((y2 * y5) - (z * b)) * a) * t;
	elseif (y2 <= -3e+25)
		tmp = y4 * (y1 * ((k * y2) - (j * y3)));
	elseif (y2 <= -1.05e-181)
		tmp = i * (t * ((c * z) - (j * y5)));
	elseif (y2 <= 4.5e-253)
		tmp = -(y * (y4 * ((b * k) - (c * y3))));
	elseif (y2 <= 5.3e-148)
		tmp = (j * y0) * ((y3 * y5) - (x * b));
	elseif (y2 <= 1.26e-132)
		tmp = k * (y * (b * (0.0 - y4)));
	elseif (y2 <= 5.5e-27)
		tmp = a * (y * ((b * x) - (y3 * y5)));
	elseif (y2 <= 2.1e+50)
		tmp = (i * z) * ((c * t) - (k * y1));
	elseif (y2 <= 3.7e+147)
		tmp = y3 * (y0 * ((j * y5) - (c * z)));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -5.5e+184], t$95$1, If[LessEqual[y2, -2e+116], N[(N[(N[(N[(y2 * y5), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision] * t), $MachinePrecision], If[LessEqual[y2, -3e+25], N[(y4 * N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -1.05e-181], N[(i * N[(t * N[(N[(c * z), $MachinePrecision] - N[(j * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 4.5e-253], (-N[(y * N[(y4 * N[(N[(b * k), $MachinePrecision] - N[(c * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), If[LessEqual[y2, 5.3e-148], N[(N[(j * y0), $MachinePrecision] * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.26e-132], N[(k * N[(y * N[(b * N[(0.0 - y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 5.5e-27], N[(a * N[(y * N[(N[(b * x), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.1e+50], N[(N[(i * z), $MachinePrecision] * N[(N[(c * t), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3.7e+147], N[(y3 * N[(y0 * N[(N[(j * y5), $MachinePrecision] - N[(c * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{if}\;y2 \leq -5.5 \cdot 10^{+184}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y2 \leq -2 \cdot 10^{+116}:\\
\;\;\;\;\left(\left(y2 \cdot y5 - z \cdot b\right) \cdot a\right) \cdot t\\

\mathbf{elif}\;y2 \leq -3 \cdot 10^{+25}:\\
\;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\

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

\mathbf{elif}\;y2 \leq 4.5 \cdot 10^{-253}:\\
\;\;\;\;-y \cdot \left(y4 \cdot \left(b \cdot k - c \cdot y3\right)\right)\\

\mathbf{elif}\;y2 \leq 5.3 \cdot 10^{-148}:\\
\;\;\;\;\left(j \cdot y0\right) \cdot \left(y3 \cdot y5 - x \cdot b\right)\\

\mathbf{elif}\;y2 \leq 1.26 \cdot 10^{-132}:\\
\;\;\;\;k \cdot \left(y \cdot \left(b \cdot \left(0 - y4\right)\right)\right)\\

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

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

\mathbf{elif}\;y2 \leq 3.7 \cdot 10^{+147}:\\
\;\;\;\;y3 \cdot \left(y0 \cdot \left(j \cdot y5 - c \cdot z\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 10 regimes
  2. if y2 < -5.5000000000000002e184 or 3.7e147 < y2

    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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -5.5000000000000002e184 < y2 < -2.00000000000000003e116

    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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in t around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Applied egg-rr0

      \[\leadsto expr\]

    if -2.00000000000000003e116 < y2 < -3.00000000000000006e25

    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 y4 around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -3.00000000000000006e25 < y2 < -1.05000000000000002e-181

    1. Initial program 45.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 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in t around -inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -1.05000000000000002e-181 < y2 < 4.50000000000000029e-253

    1. Initial program 44.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 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around -inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 4.50000000000000029e-253 < y2 < 5.29999999999999995e-148

    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 y0 around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in j around -inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 5.29999999999999995e-148 < y2 < 1.2600000000000001e-132

    1. Initial program 60.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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in i around 0 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if 1.2600000000000001e-132 < y2 < 5.5000000000000002e-27

    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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 5.5000000000000002e-27 < y2 < 2.1e50

    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 i around -inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in z around -inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 2.1e50 < y2 < 3.7e147

    1. Initial program 44.4%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y3 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y3 around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]
  3. Recombined 10 regimes into one program.
  4. Add Preprocessing

Alternative 13: 37.4% accurate, 1.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ t_2 := y \cdot x - t \cdot z\\ \mathbf{if}\;y2 \leq -2.3 \cdot 10^{+182}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y2 \leq -2.1 \cdot 10^{+116}:\\ \;\;\;\;\left(\left(y2 \cdot y5 - z \cdot b\right) \cdot a\right) \cdot t\\ \mathbf{elif}\;y2 \leq -1.9 \cdot 10^{+26}:\\ \;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\ \mathbf{elif}\;y2 \leq -5.5 \cdot 10^{-173}:\\ \;\;\;\;-i \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right) + c \cdot \left(x \cdot y - t \cdot z\right)\right)\\ \mathbf{elif}\;y2 \leq -2.5 \cdot 10^{-299}:\\ \;\;\;\;b \cdot \left(\left(a \cdot t\_2 + y4 \cdot \left(t \cdot j - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - z \cdot k\right)\right)\\ \mathbf{elif}\;y2 \leq 16:\\ \;\;\;\;a \cdot \left(\left(b \cdot t\_2 - y1 \cdot \left(y2 \cdot x - z \cdot y3\right)\right) + y5 \cdot \left(t \cdot y2 - y3 \cdot y\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* k (* y2 (- (* y1 y4) (* y0 y5))))) (t_2 (- (* y x) (* t z))))
   (if (<= y2 -2.3e+182)
     t_1
     (if (<= y2 -2.1e+116)
       (* (* (- (* y2 y5) (* z b)) a) t)
       (if (<= y2 -1.9e+26)
         (* y4 (* y1 (- (* k y2) (* j y3))))
         (if (<= y2 -5.5e-173)
           (- (* i (+ (* y5 (- (* j t) (* k y))) (* c (- (* x y) (* t z))))))
           (if (<= y2 -2.5e-299)
             (*
              b
              (-
               (+ (* a t_2) (* y4 (- (* t j) (* k y))))
               (* y0 (- (* j x) (* z k)))))
             (if (<= y2 16.0)
               (*
                a
                (+
                 (- (* b t_2) (* y1 (- (* y2 x) (* z y3))))
                 (* y5 (- (* t y2) (* y3 y)))))
               t_1))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	double t_2 = (y * x) - (t * z);
	double tmp;
	if (y2 <= -2.3e+182) {
		tmp = t_1;
	} else if (y2 <= -2.1e+116) {
		tmp = (((y2 * y5) - (z * b)) * a) * t;
	} else if (y2 <= -1.9e+26) {
		tmp = y4 * (y1 * ((k * y2) - (j * y3)));
	} else if (y2 <= -5.5e-173) {
		tmp = -(i * ((y5 * ((j * t) - (k * y))) + (c * ((x * y) - (t * z)))));
	} else if (y2 <= -2.5e-299) {
		tmp = b * (((a * t_2) + (y4 * ((t * j) - (k * y)))) - (y0 * ((j * x) - (z * k))));
	} else if (y2 <= 16.0) {
		tmp = a * (((b * t_2) - (y1 * ((y2 * x) - (z * y3)))) + (y5 * ((t * y2) - (y3 * y))));
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)))
    t_2 = (y * x) - (t * z)
    if (y2 <= (-2.3d+182)) then
        tmp = t_1
    else if (y2 <= (-2.1d+116)) then
        tmp = (((y2 * y5) - (z * b)) * a) * t
    else if (y2 <= (-1.9d+26)) then
        tmp = y4 * (y1 * ((k * y2) - (j * y3)))
    else if (y2 <= (-5.5d-173)) then
        tmp = -(i * ((y5 * ((j * t) - (k * y))) + (c * ((x * y) - (t * z)))))
    else if (y2 <= (-2.5d-299)) then
        tmp = b * (((a * t_2) + (y4 * ((t * j) - (k * y)))) - (y0 * ((j * x) - (z * k))))
    else if (y2 <= 16.0d0) then
        tmp = a * (((b * t_2) - (y1 * ((y2 * x) - (z * y3)))) + (y5 * ((t * y2) - (y3 * y))))
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	double t_2 = (y * x) - (t * z);
	double tmp;
	if (y2 <= -2.3e+182) {
		tmp = t_1;
	} else if (y2 <= -2.1e+116) {
		tmp = (((y2 * y5) - (z * b)) * a) * t;
	} else if (y2 <= -1.9e+26) {
		tmp = y4 * (y1 * ((k * y2) - (j * y3)));
	} else if (y2 <= -5.5e-173) {
		tmp = -(i * ((y5 * ((j * t) - (k * y))) + (c * ((x * y) - (t * z)))));
	} else if (y2 <= -2.5e-299) {
		tmp = b * (((a * t_2) + (y4 * ((t * j) - (k * y)))) - (y0 * ((j * x) - (z * k))));
	} else if (y2 <= 16.0) {
		tmp = a * (((b * t_2) - (y1 * ((y2 * x) - (z * y3)))) + (y5 * ((t * y2) - (y3 * y))));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)))
	t_2 = (y * x) - (t * z)
	tmp = 0
	if y2 <= -2.3e+182:
		tmp = t_1
	elif y2 <= -2.1e+116:
		tmp = (((y2 * y5) - (z * b)) * a) * t
	elif y2 <= -1.9e+26:
		tmp = y4 * (y1 * ((k * y2) - (j * y3)))
	elif y2 <= -5.5e-173:
		tmp = -(i * ((y5 * ((j * t) - (k * y))) + (c * ((x * y) - (t * z)))))
	elif y2 <= -2.5e-299:
		tmp = b * (((a * t_2) + (y4 * ((t * j) - (k * y)))) - (y0 * ((j * x) - (z * k))))
	elif y2 <= 16.0:
		tmp = a * (((b * t_2) - (y1 * ((y2 * x) - (z * y3)))) + (y5 * ((t * y2) - (y3 * y))))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5))))
	t_2 = Float64(Float64(y * x) - Float64(t * z))
	tmp = 0.0
	if (y2 <= -2.3e+182)
		tmp = t_1;
	elseif (y2 <= -2.1e+116)
		tmp = Float64(Float64(Float64(Float64(y2 * y5) - Float64(z * b)) * a) * t);
	elseif (y2 <= -1.9e+26)
		tmp = Float64(y4 * Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3))));
	elseif (y2 <= -5.5e-173)
		tmp = Float64(-Float64(i * Float64(Float64(y5 * Float64(Float64(j * t) - Float64(k * y))) + Float64(c * Float64(Float64(x * y) - Float64(t * z))))));
	elseif (y2 <= -2.5e-299)
		tmp = Float64(b * Float64(Float64(Float64(a * t_2) + Float64(y4 * Float64(Float64(t * j) - Float64(k * y)))) - Float64(y0 * Float64(Float64(j * x) - Float64(z * k)))));
	elseif (y2 <= 16.0)
		tmp = Float64(a * Float64(Float64(Float64(b * t_2) - Float64(y1 * Float64(Float64(y2 * x) - Float64(z * y3)))) + Float64(y5 * Float64(Float64(t * y2) - Float64(y3 * y)))));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	t_2 = (y * x) - (t * z);
	tmp = 0.0;
	if (y2 <= -2.3e+182)
		tmp = t_1;
	elseif (y2 <= -2.1e+116)
		tmp = (((y2 * y5) - (z * b)) * a) * t;
	elseif (y2 <= -1.9e+26)
		tmp = y4 * (y1 * ((k * y2) - (j * y3)));
	elseif (y2 <= -5.5e-173)
		tmp = -(i * ((y5 * ((j * t) - (k * y))) + (c * ((x * y) - (t * z)))));
	elseif (y2 <= -2.5e-299)
		tmp = b * (((a * t_2) + (y4 * ((t * j) - (k * y)))) - (y0 * ((j * x) - (z * k))));
	elseif (y2 <= 16.0)
		tmp = a * (((b * t_2) - (y1 * ((y2 * x) - (z * y3)))) + (y5 * ((t * y2) - (y3 * y))));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -2.3e+182], t$95$1, If[LessEqual[y2, -2.1e+116], N[(N[(N[(N[(y2 * y5), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision] * t), $MachinePrecision], If[LessEqual[y2, -1.9e+26], N[(y4 * N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -5.5e-173], (-N[(i * N[(N[(y5 * N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(x * y), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), If[LessEqual[y2, -2.5e-299], N[(b * N[(N[(N[(a * t$95$2), $MachinePrecision] + N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y0 * N[(N[(j * x), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 16.0], N[(a * N[(N[(N[(b * t$95$2), $MachinePrecision] - N[(y1 * N[(N[(y2 * x), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;y2 \leq -2.1 \cdot 10^{+116}:\\
\;\;\;\;\left(\left(y2 \cdot y5 - z \cdot b\right) \cdot a\right) \cdot t\\

\mathbf{elif}\;y2 \leq -1.9 \cdot 10^{+26}:\\
\;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\

\mathbf{elif}\;y2 \leq -5.5 \cdot 10^{-173}:\\
\;\;\;\;-i \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right) + c \cdot \left(x \cdot y - t \cdot z\right)\right)\\

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

\mathbf{elif}\;y2 \leq 16:\\
\;\;\;\;a \cdot \left(\left(b \cdot t\_2 - y1 \cdot \left(y2 \cdot x - z \cdot y3\right)\right) + y5 \cdot \left(t \cdot y2 - y3 \cdot y\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if y2 < -2.3e182 or 16 < y2

    1. Initial program 23.5%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -2.3e182 < y2 < -2.1000000000000001e116

    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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in t around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Applied egg-rr0

      \[\leadsto expr\]

    if -2.1000000000000001e116 < y2 < -1.9000000000000001e26

    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 y4 around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -1.9000000000000001e26 < y2 < -5.50000000000000022e-173

    1. Initial program 44.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 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around 0 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -5.50000000000000022e-173 < y2 < -2.49999999999999978e-299

    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 b around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]

    if -2.49999999999999978e-299 < y2 < 16

    1. Initial program 32.0%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
  3. Recombined 6 regimes into one program.
  4. Add Preprocessing

Alternative 14: 31.7% accurate, 1.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \mathbf{if}\;y2 \leq -5.4 \cdot 10^{+181}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y2 \leq -5.1 \cdot 10^{+115}:\\ \;\;\;\;\left(\left(y2 \cdot y5 - z \cdot b\right) \cdot a\right) \cdot t\\ \mathbf{elif}\;y2 \leq -4 \cdot 10^{+26}:\\ \;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\ \mathbf{elif}\;y2 \leq -6 \cdot 10^{-182}:\\ \;\;\;\;i \cdot \left(t \cdot \left(c \cdot z - j \cdot y5\right)\right)\\ \mathbf{elif}\;y2 \leq 7 \cdot 10^{-294}:\\ \;\;\;\;k \cdot \left(b \cdot \left(y0 \cdot z - y \cdot y4\right)\right)\\ \mathbf{elif}\;y2 \leq 3.9 \cdot 10^{-149}:\\ \;\;\;\;\left(j \cdot y0\right) \cdot \left(y3 \cdot y5 - x \cdot b\right)\\ \mathbf{elif}\;y2 \leq 2.15 \cdot 10^{-25}:\\ \;\;\;\;a \cdot \left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)\\ \mathbf{elif}\;y2 \leq 1.1 \cdot 10^{+44}:\\ \;\;\;\;\left(i \cdot z\right) \cdot \left(c \cdot t - k \cdot y1\right)\\ \mathbf{elif}\;y2 \leq 3.7 \cdot 10^{+147}:\\ \;\;\;\;y3 \cdot \left(y0 \cdot \left(j \cdot y5 - c \cdot z\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* k (* y2 (- (* y1 y4) (* y0 y5))))))
   (if (<= y2 -5.4e+181)
     t_1
     (if (<= y2 -5.1e+115)
       (* (* (- (* y2 y5) (* z b)) a) t)
       (if (<= y2 -4e+26)
         (* y4 (* y1 (- (* k y2) (* j y3))))
         (if (<= y2 -6e-182)
           (* i (* t (- (* c z) (* j y5))))
           (if (<= y2 7e-294)
             (* k (* b (- (* y0 z) (* y y4))))
             (if (<= y2 3.9e-149)
               (* (* j y0) (- (* y3 y5) (* x b)))
               (if (<= y2 2.15e-25)
                 (* a (* y (- (* b x) (* y3 y5))))
                 (if (<= y2 1.1e+44)
                   (* (* i z) (- (* c t) (* k y1)))
                   (if (<= y2 3.7e+147)
                     (* y3 (* y0 (- (* j y5) (* c z))))
                     t_1)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	double tmp;
	if (y2 <= -5.4e+181) {
		tmp = t_1;
	} else if (y2 <= -5.1e+115) {
		tmp = (((y2 * y5) - (z * b)) * a) * t;
	} else if (y2 <= -4e+26) {
		tmp = y4 * (y1 * ((k * y2) - (j * y3)));
	} else if (y2 <= -6e-182) {
		tmp = i * (t * ((c * z) - (j * y5)));
	} else if (y2 <= 7e-294) {
		tmp = k * (b * ((y0 * z) - (y * y4)));
	} else if (y2 <= 3.9e-149) {
		tmp = (j * y0) * ((y3 * y5) - (x * b));
	} else if (y2 <= 2.15e-25) {
		tmp = a * (y * ((b * x) - (y3 * y5)));
	} else if (y2 <= 1.1e+44) {
		tmp = (i * z) * ((c * t) - (k * y1));
	} else if (y2 <= 3.7e+147) {
		tmp = y3 * (y0 * ((j * y5) - (c * z)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)))
    if (y2 <= (-5.4d+181)) then
        tmp = t_1
    else if (y2 <= (-5.1d+115)) then
        tmp = (((y2 * y5) - (z * b)) * a) * t
    else if (y2 <= (-4d+26)) then
        tmp = y4 * (y1 * ((k * y2) - (j * y3)))
    else if (y2 <= (-6d-182)) then
        tmp = i * (t * ((c * z) - (j * y5)))
    else if (y2 <= 7d-294) then
        tmp = k * (b * ((y0 * z) - (y * y4)))
    else if (y2 <= 3.9d-149) then
        tmp = (j * y0) * ((y3 * y5) - (x * b))
    else if (y2 <= 2.15d-25) then
        tmp = a * (y * ((b * x) - (y3 * y5)))
    else if (y2 <= 1.1d+44) then
        tmp = (i * z) * ((c * t) - (k * y1))
    else if (y2 <= 3.7d+147) then
        tmp = y3 * (y0 * ((j * y5) - (c * z)))
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	double tmp;
	if (y2 <= -5.4e+181) {
		tmp = t_1;
	} else if (y2 <= -5.1e+115) {
		tmp = (((y2 * y5) - (z * b)) * a) * t;
	} else if (y2 <= -4e+26) {
		tmp = y4 * (y1 * ((k * y2) - (j * y3)));
	} else if (y2 <= -6e-182) {
		tmp = i * (t * ((c * z) - (j * y5)));
	} else if (y2 <= 7e-294) {
		tmp = k * (b * ((y0 * z) - (y * y4)));
	} else if (y2 <= 3.9e-149) {
		tmp = (j * y0) * ((y3 * y5) - (x * b));
	} else if (y2 <= 2.15e-25) {
		tmp = a * (y * ((b * x) - (y3 * y5)));
	} else if (y2 <= 1.1e+44) {
		tmp = (i * z) * ((c * t) - (k * y1));
	} else if (y2 <= 3.7e+147) {
		tmp = y3 * (y0 * ((j * y5) - (c * z)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)))
	tmp = 0
	if y2 <= -5.4e+181:
		tmp = t_1
	elif y2 <= -5.1e+115:
		tmp = (((y2 * y5) - (z * b)) * a) * t
	elif y2 <= -4e+26:
		tmp = y4 * (y1 * ((k * y2) - (j * y3)))
	elif y2 <= -6e-182:
		tmp = i * (t * ((c * z) - (j * y5)))
	elif y2 <= 7e-294:
		tmp = k * (b * ((y0 * z) - (y * y4)))
	elif y2 <= 3.9e-149:
		tmp = (j * y0) * ((y3 * y5) - (x * b))
	elif y2 <= 2.15e-25:
		tmp = a * (y * ((b * x) - (y3 * y5)))
	elif y2 <= 1.1e+44:
		tmp = (i * z) * ((c * t) - (k * y1))
	elif y2 <= 3.7e+147:
		tmp = y3 * (y0 * ((j * y5) - (c * z)))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5))))
	tmp = 0.0
	if (y2 <= -5.4e+181)
		tmp = t_1;
	elseif (y2 <= -5.1e+115)
		tmp = Float64(Float64(Float64(Float64(y2 * y5) - Float64(z * b)) * a) * t);
	elseif (y2 <= -4e+26)
		tmp = Float64(y4 * Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3))));
	elseif (y2 <= -6e-182)
		tmp = Float64(i * Float64(t * Float64(Float64(c * z) - Float64(j * y5))));
	elseif (y2 <= 7e-294)
		tmp = Float64(k * Float64(b * Float64(Float64(y0 * z) - Float64(y * y4))));
	elseif (y2 <= 3.9e-149)
		tmp = Float64(Float64(j * y0) * Float64(Float64(y3 * y5) - Float64(x * b)));
	elseif (y2 <= 2.15e-25)
		tmp = Float64(a * Float64(y * Float64(Float64(b * x) - Float64(y3 * y5))));
	elseif (y2 <= 1.1e+44)
		tmp = Float64(Float64(i * z) * Float64(Float64(c * t) - Float64(k * y1)));
	elseif (y2 <= 3.7e+147)
		tmp = Float64(y3 * Float64(y0 * Float64(Float64(j * y5) - Float64(c * z))));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	tmp = 0.0;
	if (y2 <= -5.4e+181)
		tmp = t_1;
	elseif (y2 <= -5.1e+115)
		tmp = (((y2 * y5) - (z * b)) * a) * t;
	elseif (y2 <= -4e+26)
		tmp = y4 * (y1 * ((k * y2) - (j * y3)));
	elseif (y2 <= -6e-182)
		tmp = i * (t * ((c * z) - (j * y5)));
	elseif (y2 <= 7e-294)
		tmp = k * (b * ((y0 * z) - (y * y4)));
	elseif (y2 <= 3.9e-149)
		tmp = (j * y0) * ((y3 * y5) - (x * b));
	elseif (y2 <= 2.15e-25)
		tmp = a * (y * ((b * x) - (y3 * y5)));
	elseif (y2 <= 1.1e+44)
		tmp = (i * z) * ((c * t) - (k * y1));
	elseif (y2 <= 3.7e+147)
		tmp = y3 * (y0 * ((j * y5) - (c * z)));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -5.4e+181], t$95$1, If[LessEqual[y2, -5.1e+115], N[(N[(N[(N[(y2 * y5), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision] * t), $MachinePrecision], If[LessEqual[y2, -4e+26], N[(y4 * N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -6e-182], N[(i * N[(t * N[(N[(c * z), $MachinePrecision] - N[(j * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 7e-294], N[(k * N[(b * N[(N[(y0 * z), $MachinePrecision] - N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3.9e-149], N[(N[(j * y0), $MachinePrecision] * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.15e-25], N[(a * N[(y * N[(N[(b * x), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.1e+44], N[(N[(i * z), $MachinePrecision] * N[(N[(c * t), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3.7e+147], N[(y3 * N[(y0 * N[(N[(j * y5), $MachinePrecision] - N[(c * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{if}\;y2 \leq -5.4 \cdot 10^{+181}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y2 \leq -5.1 \cdot 10^{+115}:\\
\;\;\;\;\left(\left(y2 \cdot y5 - z \cdot b\right) \cdot a\right) \cdot t\\

\mathbf{elif}\;y2 \leq -4 \cdot 10^{+26}:\\
\;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\

\mathbf{elif}\;y2 \leq -6 \cdot 10^{-182}:\\
\;\;\;\;i \cdot \left(t \cdot \left(c \cdot z - j \cdot y5\right)\right)\\

\mathbf{elif}\;y2 \leq 7 \cdot 10^{-294}:\\
\;\;\;\;k \cdot \left(b \cdot \left(y0 \cdot z - y \cdot y4\right)\right)\\

\mathbf{elif}\;y2 \leq 3.9 \cdot 10^{-149}:\\
\;\;\;\;\left(j \cdot y0\right) \cdot \left(y3 \cdot y5 - x \cdot b\right)\\

\mathbf{elif}\;y2 \leq 2.15 \cdot 10^{-25}:\\
\;\;\;\;a \cdot \left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)\\

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

\mathbf{elif}\;y2 \leq 3.7 \cdot 10^{+147}:\\
\;\;\;\;y3 \cdot \left(y0 \cdot \left(j \cdot y5 - c \cdot z\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 9 regimes
  2. if y2 < -5.40000000000000014e181 or 3.7e147 < y2

    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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -5.40000000000000014e181 < y2 < -5.0999999999999996e115

    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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in t around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Applied egg-rr0

      \[\leadsto expr\]

    if -5.0999999999999996e115 < y2 < -4.00000000000000019e26

    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 y4 around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -4.00000000000000019e26 < y2 < -6.0000000000000003e-182

    1. Initial program 45.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 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in t around -inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -6.0000000000000003e-182 < y2 < 7.00000000000000064e-294

    1. Initial program 48.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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in b around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 7.00000000000000064e-294 < y2 < 3.9000000000000002e-149

    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 y0 around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in j around -inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 3.9000000000000002e-149 < y2 < 2.14999999999999988e-25

    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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 2.14999999999999988e-25 < y2 < 1.09999999999999998e44

    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 i around -inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in z around -inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 1.09999999999999998e44 < y2 < 3.7e147

    1. Initial program 44.4%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y3 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y3 around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]
  3. Recombined 9 regimes into one program.
  4. Add Preprocessing

Alternative 15: 37.2% accurate, 1.7× speedup?

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

\\
\begin{array}{l}
t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{if}\;y2 \leq -1.45 \cdot 10^{+182}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y2 \leq -1.1 \cdot 10^{+116}:\\
\;\;\;\;\left(\left(y2 \cdot y5 - z \cdot b\right) \cdot a\right) \cdot t\\

\mathbf{elif}\;y2 \leq -2.2 \cdot 10^{+25}:\\
\;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\

\mathbf{elif}\;y2 \leq -2.15 \cdot 10^{-182}:\\
\;\;\;\;-i \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right) + c \cdot \left(x \cdot y - t \cdot z\right)\right)\\

\mathbf{elif}\;y2 \leq 28.5:\\
\;\;\;\;a \cdot \left(\left(b \cdot \left(y \cdot x - t \cdot z\right) - y1 \cdot \left(y2 \cdot x - z \cdot y3\right)\right) + y5 \cdot \left(t \cdot y2 - y3 \cdot y\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if y2 < -1.4499999999999999e182 or 28.5 < y2

    1. Initial program 23.5%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -1.4499999999999999e182 < y2 < -1.1e116

    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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in t around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Applied egg-rr0

      \[\leadsto expr\]

    if -1.1e116 < y2 < -2.2000000000000001e25

    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 y4 around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -2.2000000000000001e25 < y2 < -2.15e-182

    1. Initial program 44.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 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around 0 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -2.15e-182 < y2 < 28.5

    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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
  3. Recombined 5 regimes into one program.
  4. Add Preprocessing

Alternative 16: 32.8% accurate, 1.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := i \cdot \left(y \cdot \left(k \cdot y5 - c \cdot x\right)\right)\\ t_2 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \mathbf{if}\;a \leq -2.15 \cdot 10^{+93}:\\ \;\;\;\;\left(a \cdot t\right) \cdot \left(y2 \cdot y5 - b \cdot z\right)\\ \mathbf{elif}\;a \leq -1.36 \cdot 10^{+54}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;a \leq -4.8 \cdot 10^{-8}:\\ \;\;\;\;y3 \cdot \left(y0 \cdot \left(j \cdot y5 - c \cdot z\right)\right)\\ \mathbf{elif}\;a \leq -6.6 \cdot 10^{-141}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - b \cdot y\right)\right)\\ \mathbf{elif}\;a \leq -4 \cdot 10^{-268}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;a \leq 1.65 \cdot 10^{-226}:\\ \;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\ \mathbf{elif}\;a \leq 1.08 \cdot 10^{-38}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;a \leq 3.4 \cdot 10^{+114}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;y1 \cdot \left(a \cdot \left(y3 \cdot z - x \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 (* i (* y (- (* k y5) (* c x)))))
        (t_2 (* k (* y2 (- (* y1 y4) (* y0 y5))))))
   (if (<= a -2.15e+93)
     (* (* a t) (- (* y2 y5) (* b z)))
     (if (<= a -1.36e+54)
       t_1
       (if (<= a -4.8e-8)
         (* y3 (* y0 (- (* j y5) (* c z))))
         (if (<= a -6.6e-141)
           (* k (* y4 (- (* y1 y2) (* b y))))
           (if (<= a -4e-268)
             t_2
             (if (<= a 1.65e-226)
               (* k (* y (- (* i y5) (* b y4))))
               (if (<= a 1.08e-38)
                 t_2
                 (if (<= a 3.4e+114)
                   t_1
                   (* y1 (* a (- (* y3 z) (* x y2))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = i * (y * ((k * y5) - (c * x)));
	double t_2 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	double tmp;
	if (a <= -2.15e+93) {
		tmp = (a * t) * ((y2 * y5) - (b * z));
	} else if (a <= -1.36e+54) {
		tmp = t_1;
	} else if (a <= -4.8e-8) {
		tmp = y3 * (y0 * ((j * y5) - (c * z)));
	} else if (a <= -6.6e-141) {
		tmp = k * (y4 * ((y1 * y2) - (b * y)));
	} else if (a <= -4e-268) {
		tmp = t_2;
	} else if (a <= 1.65e-226) {
		tmp = k * (y * ((i * y5) - (b * y4)));
	} else if (a <= 1.08e-38) {
		tmp = t_2;
	} else if (a <= 3.4e+114) {
		tmp = t_1;
	} else {
		tmp = y1 * (a * ((y3 * z) - (x * y2)));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = i * (y * ((k * y5) - (c * x)))
    t_2 = k * (y2 * ((y1 * y4) - (y0 * y5)))
    if (a <= (-2.15d+93)) then
        tmp = (a * t) * ((y2 * y5) - (b * z))
    else if (a <= (-1.36d+54)) then
        tmp = t_1
    else if (a <= (-4.8d-8)) then
        tmp = y3 * (y0 * ((j * y5) - (c * z)))
    else if (a <= (-6.6d-141)) then
        tmp = k * (y4 * ((y1 * y2) - (b * y)))
    else if (a <= (-4d-268)) then
        tmp = t_2
    else if (a <= 1.65d-226) then
        tmp = k * (y * ((i * y5) - (b * y4)))
    else if (a <= 1.08d-38) then
        tmp = t_2
    else if (a <= 3.4d+114) then
        tmp = t_1
    else
        tmp = y1 * (a * ((y3 * z) - (x * y2)))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = i * (y * ((k * y5) - (c * x)));
	double t_2 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	double tmp;
	if (a <= -2.15e+93) {
		tmp = (a * t) * ((y2 * y5) - (b * z));
	} else if (a <= -1.36e+54) {
		tmp = t_1;
	} else if (a <= -4.8e-8) {
		tmp = y3 * (y0 * ((j * y5) - (c * z)));
	} else if (a <= -6.6e-141) {
		tmp = k * (y4 * ((y1 * y2) - (b * y)));
	} else if (a <= -4e-268) {
		tmp = t_2;
	} else if (a <= 1.65e-226) {
		tmp = k * (y * ((i * y5) - (b * y4)));
	} else if (a <= 1.08e-38) {
		tmp = t_2;
	} else if (a <= 3.4e+114) {
		tmp = t_1;
	} else {
		tmp = y1 * (a * ((y3 * z) - (x * y2)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = i * (y * ((k * y5) - (c * x)))
	t_2 = k * (y2 * ((y1 * y4) - (y0 * y5)))
	tmp = 0
	if a <= -2.15e+93:
		tmp = (a * t) * ((y2 * y5) - (b * z))
	elif a <= -1.36e+54:
		tmp = t_1
	elif a <= -4.8e-8:
		tmp = y3 * (y0 * ((j * y5) - (c * z)))
	elif a <= -6.6e-141:
		tmp = k * (y4 * ((y1 * y2) - (b * y)))
	elif a <= -4e-268:
		tmp = t_2
	elif a <= 1.65e-226:
		tmp = k * (y * ((i * y5) - (b * y4)))
	elif a <= 1.08e-38:
		tmp = t_2
	elif a <= 3.4e+114:
		tmp = t_1
	else:
		tmp = y1 * (a * ((y3 * z) - (x * y2)))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(i * Float64(y * Float64(Float64(k * y5) - Float64(c * x))))
	t_2 = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5))))
	tmp = 0.0
	if (a <= -2.15e+93)
		tmp = Float64(Float64(a * t) * Float64(Float64(y2 * y5) - Float64(b * z)));
	elseif (a <= -1.36e+54)
		tmp = t_1;
	elseif (a <= -4.8e-8)
		tmp = Float64(y3 * Float64(y0 * Float64(Float64(j * y5) - Float64(c * z))));
	elseif (a <= -6.6e-141)
		tmp = Float64(k * Float64(y4 * Float64(Float64(y1 * y2) - Float64(b * y))));
	elseif (a <= -4e-268)
		tmp = t_2;
	elseif (a <= 1.65e-226)
		tmp = Float64(k * Float64(y * Float64(Float64(i * y5) - Float64(b * y4))));
	elseif (a <= 1.08e-38)
		tmp = t_2;
	elseif (a <= 3.4e+114)
		tmp = t_1;
	else
		tmp = Float64(y1 * Float64(a * Float64(Float64(y3 * z) - Float64(x * y2))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = i * (y * ((k * y5) - (c * x)));
	t_2 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	tmp = 0.0;
	if (a <= -2.15e+93)
		tmp = (a * t) * ((y2 * y5) - (b * z));
	elseif (a <= -1.36e+54)
		tmp = t_1;
	elseif (a <= -4.8e-8)
		tmp = y3 * (y0 * ((j * y5) - (c * z)));
	elseif (a <= -6.6e-141)
		tmp = k * (y4 * ((y1 * y2) - (b * y)));
	elseif (a <= -4e-268)
		tmp = t_2;
	elseif (a <= 1.65e-226)
		tmp = k * (y * ((i * y5) - (b * y4)));
	elseif (a <= 1.08e-38)
		tmp = t_2;
	elseif (a <= 3.4e+114)
		tmp = t_1;
	else
		tmp = y1 * (a * ((y3 * z) - (x * y2)));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(i * N[(y * N[(N[(k * y5), $MachinePrecision] - N[(c * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -2.15e+93], N[(N[(a * t), $MachinePrecision] * N[(N[(y2 * y5), $MachinePrecision] - N[(b * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.36e+54], t$95$1, If[LessEqual[a, -4.8e-8], N[(y3 * N[(y0 * N[(N[(j * y5), $MachinePrecision] - N[(c * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -6.6e-141], N[(k * N[(y4 * N[(N[(y1 * y2), $MachinePrecision] - N[(b * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -4e-268], t$95$2, If[LessEqual[a, 1.65e-226], N[(k * N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.08e-38], t$95$2, If[LessEqual[a, 3.4e+114], t$95$1, N[(y1 * N[(a * N[(N[(y3 * z), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;a \leq -1.36 \cdot 10^{+54}:\\
\;\;\;\;t\_1\\

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

\mathbf{elif}\;a \leq -6.6 \cdot 10^{-141}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - b \cdot y\right)\right)\\

\mathbf{elif}\;a \leq -4 \cdot 10^{-268}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;a \leq 1.65 \cdot 10^{-226}:\\
\;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\

\mathbf{elif}\;a \leq 1.08 \cdot 10^{-38}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;a \leq 3.4 \cdot 10^{+114}:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(a \cdot \left(y3 \cdot z - x \cdot y2\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if a < -2.15e93

    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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in t around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -2.15e93 < a < -1.35999999999999999e54 or 1.08e-38 < a < 3.4000000000000001e114

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around -inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -1.35999999999999999e54 < a < -4.79999999999999997e-8

    1. Initial program 61.5%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y3 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y3 around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if -4.79999999999999997e-8 < a < -6.59999999999999998e-141

    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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y4 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -6.59999999999999998e-141 < a < -3.99999999999999983e-268 or 1.65e-226 < a < 1.08e-38

    1. Initial program 44.5%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -3.99999999999999983e-268 < a < 1.65e-226

    1. Initial program 32.1%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 3.4000000000000001e114 < a

    1. Initial program 21.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 y1 around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in a around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
  3. Recombined 7 regimes into one program.
  4. Add Preprocessing

Alternative 17: 29.1% accurate, 1.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \mathbf{if}\;b \leq -1.25 \cdot 10^{+205}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - b \cdot y\right)\right)\\ \mathbf{elif}\;b \leq -6 \cdot 10^{+100}:\\ \;\;\;\;i \cdot \left(y \cdot \left(k \cdot y5 - c \cdot x\right)\right)\\ \mathbf{elif}\;b \leq -9.4 \cdot 10^{-147}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq -3.4 \cdot 10^{-234}:\\ \;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\ \mathbf{elif}\;b \leq 2.45 \cdot 10^{-176}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq 15000000000000:\\ \;\;\;\;y1 \cdot \left(j \cdot \left(i \cdot x - y3 \cdot y4\right)\right)\\ \mathbf{elif}\;b \leq 2.29 \cdot 10^{+54}:\\ \;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\ \mathbf{elif}\;b \leq 1.7 \cdot 10^{+174}:\\ \;\;\;\;i \cdot \left(t \cdot \left(c \cdot z - j \cdot y5\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - b \cdot z\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* k (* y2 (- (* y1 y4) (* y0 y5))))))
   (if (<= b -1.25e+205)
     (* k (* y4 (- (* y1 y2) (* b y))))
     (if (<= b -6e+100)
       (* i (* y (- (* k y5) (* c x))))
       (if (<= b -9.4e-147)
         t_1
         (if (<= b -3.4e-234)
           (* y4 (* y1 (- (* k y2) (* j y3))))
           (if (<= b 2.45e-176)
             t_1
             (if (<= b 15000000000000.0)
               (* y1 (* j (- (* i x) (* y3 y4))))
               (if (<= b 2.29e+54)
                 (* k (* y (- (* i y5) (* b y4))))
                 (if (<= b 1.7e+174)
                   (* i (* t (- (* c z) (* j y5))))
                   (* a (* t (- (* y2 y5) (* b z))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	double tmp;
	if (b <= -1.25e+205) {
		tmp = k * (y4 * ((y1 * y2) - (b * y)));
	} else if (b <= -6e+100) {
		tmp = i * (y * ((k * y5) - (c * x)));
	} else if (b <= -9.4e-147) {
		tmp = t_1;
	} else if (b <= -3.4e-234) {
		tmp = y4 * (y1 * ((k * y2) - (j * y3)));
	} else if (b <= 2.45e-176) {
		tmp = t_1;
	} else if (b <= 15000000000000.0) {
		tmp = y1 * (j * ((i * x) - (y3 * y4)));
	} else if (b <= 2.29e+54) {
		tmp = k * (y * ((i * y5) - (b * y4)));
	} else if (b <= 1.7e+174) {
		tmp = i * (t * ((c * z) - (j * y5)));
	} else {
		tmp = a * (t * ((y2 * y5) - (b * z)));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)))
    if (b <= (-1.25d+205)) then
        tmp = k * (y4 * ((y1 * y2) - (b * y)))
    else if (b <= (-6d+100)) then
        tmp = i * (y * ((k * y5) - (c * x)))
    else if (b <= (-9.4d-147)) then
        tmp = t_1
    else if (b <= (-3.4d-234)) then
        tmp = y4 * (y1 * ((k * y2) - (j * y3)))
    else if (b <= 2.45d-176) then
        tmp = t_1
    else if (b <= 15000000000000.0d0) then
        tmp = y1 * (j * ((i * x) - (y3 * y4)))
    else if (b <= 2.29d+54) then
        tmp = k * (y * ((i * y5) - (b * y4)))
    else if (b <= 1.7d+174) then
        tmp = i * (t * ((c * z) - (j * y5)))
    else
        tmp = a * (t * ((y2 * y5) - (b * z)))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	double tmp;
	if (b <= -1.25e+205) {
		tmp = k * (y4 * ((y1 * y2) - (b * y)));
	} else if (b <= -6e+100) {
		tmp = i * (y * ((k * y5) - (c * x)));
	} else if (b <= -9.4e-147) {
		tmp = t_1;
	} else if (b <= -3.4e-234) {
		tmp = y4 * (y1 * ((k * y2) - (j * y3)));
	} else if (b <= 2.45e-176) {
		tmp = t_1;
	} else if (b <= 15000000000000.0) {
		tmp = y1 * (j * ((i * x) - (y3 * y4)));
	} else if (b <= 2.29e+54) {
		tmp = k * (y * ((i * y5) - (b * y4)));
	} else if (b <= 1.7e+174) {
		tmp = i * (t * ((c * z) - (j * y5)));
	} else {
		tmp = a * (t * ((y2 * y5) - (b * z)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)))
	tmp = 0
	if b <= -1.25e+205:
		tmp = k * (y4 * ((y1 * y2) - (b * y)))
	elif b <= -6e+100:
		tmp = i * (y * ((k * y5) - (c * x)))
	elif b <= -9.4e-147:
		tmp = t_1
	elif b <= -3.4e-234:
		tmp = y4 * (y1 * ((k * y2) - (j * y3)))
	elif b <= 2.45e-176:
		tmp = t_1
	elif b <= 15000000000000.0:
		tmp = y1 * (j * ((i * x) - (y3 * y4)))
	elif b <= 2.29e+54:
		tmp = k * (y * ((i * y5) - (b * y4)))
	elif b <= 1.7e+174:
		tmp = i * (t * ((c * z) - (j * y5)))
	else:
		tmp = a * (t * ((y2 * y5) - (b * z)))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5))))
	tmp = 0.0
	if (b <= -1.25e+205)
		tmp = Float64(k * Float64(y4 * Float64(Float64(y1 * y2) - Float64(b * y))));
	elseif (b <= -6e+100)
		tmp = Float64(i * Float64(y * Float64(Float64(k * y5) - Float64(c * x))));
	elseif (b <= -9.4e-147)
		tmp = t_1;
	elseif (b <= -3.4e-234)
		tmp = Float64(y4 * Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3))));
	elseif (b <= 2.45e-176)
		tmp = t_1;
	elseif (b <= 15000000000000.0)
		tmp = Float64(y1 * Float64(j * Float64(Float64(i * x) - Float64(y3 * y4))));
	elseif (b <= 2.29e+54)
		tmp = Float64(k * Float64(y * Float64(Float64(i * y5) - Float64(b * y4))));
	elseif (b <= 1.7e+174)
		tmp = Float64(i * Float64(t * Float64(Float64(c * z) - Float64(j * y5))));
	else
		tmp = Float64(a * Float64(t * Float64(Float64(y2 * y5) - Float64(b * z))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	tmp = 0.0;
	if (b <= -1.25e+205)
		tmp = k * (y4 * ((y1 * y2) - (b * y)));
	elseif (b <= -6e+100)
		tmp = i * (y * ((k * y5) - (c * x)));
	elseif (b <= -9.4e-147)
		tmp = t_1;
	elseif (b <= -3.4e-234)
		tmp = y4 * (y1 * ((k * y2) - (j * y3)));
	elseif (b <= 2.45e-176)
		tmp = t_1;
	elseif (b <= 15000000000000.0)
		tmp = y1 * (j * ((i * x) - (y3 * y4)));
	elseif (b <= 2.29e+54)
		tmp = k * (y * ((i * y5) - (b * y4)));
	elseif (b <= 1.7e+174)
		tmp = i * (t * ((c * z) - (j * y5)));
	else
		tmp = a * (t * ((y2 * y5) - (b * z)));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -1.25e+205], N[(k * N[(y4 * N[(N[(y1 * y2), $MachinePrecision] - N[(b * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -6e+100], N[(i * N[(y * N[(N[(k * y5), $MachinePrecision] - N[(c * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -9.4e-147], t$95$1, If[LessEqual[b, -3.4e-234], N[(y4 * N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 2.45e-176], t$95$1, If[LessEqual[b, 15000000000000.0], N[(y1 * N[(j * N[(N[(i * x), $MachinePrecision] - N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 2.29e+54], N[(k * N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.7e+174], N[(i * N[(t * N[(N[(c * z), $MachinePrecision] - N[(j * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(t * N[(N[(y2 * y5), $MachinePrecision] - N[(b * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{if}\;b \leq -1.25 \cdot 10^{+205}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - b \cdot y\right)\right)\\

\mathbf{elif}\;b \leq -6 \cdot 10^{+100}:\\
\;\;\;\;i \cdot \left(y \cdot \left(k \cdot y5 - c \cdot x\right)\right)\\

\mathbf{elif}\;b \leq -9.4 \cdot 10^{-147}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;b \leq -3.4 \cdot 10^{-234}:\\
\;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\

\mathbf{elif}\;b \leq 2.45 \cdot 10^{-176}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;b \leq 15000000000000:\\
\;\;\;\;y1 \cdot \left(j \cdot \left(i \cdot x - y3 \cdot y4\right)\right)\\

\mathbf{elif}\;b \leq 2.29 \cdot 10^{+54}:\\
\;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 8 regimes
  2. if b < -1.25e205

    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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y4 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -1.25e205 < b < -5.99999999999999971e100

    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 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around -inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -5.99999999999999971e100 < b < -9.39999999999999978e-147 or -3.39999999999999986e-234 < b < 2.4499999999999998e-176

    1. Initial program 37.4%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -9.39999999999999978e-147 < b < -3.39999999999999986e-234

    1. Initial program 38.9%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 2.4499999999999998e-176 < b < 1.5e13

    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 y1 around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in j around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 1.5e13 < b < 2.29e54

    1. Initial program 49.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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 2.29e54 < b < 1.7000000000000001e174

    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 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in t around -inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 1.7000000000000001e174 < b

    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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in t around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
  3. Recombined 8 regimes into one program.
  4. Add Preprocessing

Alternative 18: 31.5% accurate, 2.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \mathbf{if}\;y2 \leq -0.28:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y2 \leq -2.35 \cdot 10^{-181}:\\ \;\;\;\;i \cdot \left(y \cdot \left(k \cdot y5 - c \cdot x\right)\right)\\ \mathbf{elif}\;y2 \leq 3.5 \cdot 10^{-294}:\\ \;\;\;\;k \cdot \left(b \cdot \left(y0 \cdot z - y \cdot y4\right)\right)\\ \mathbf{elif}\;y2 \leq 4.5 \cdot 10^{-149}:\\ \;\;\;\;\left(j \cdot y0\right) \cdot \left(y3 \cdot y5 - x \cdot b\right)\\ \mathbf{elif}\;y2 \leq 5.4 \cdot 10^{-27}:\\ \;\;\;\;a \cdot \left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)\\ \mathbf{elif}\;y2 \leq 5.5 \cdot 10^{+48}:\\ \;\;\;\;\left(i \cdot z\right) \cdot \left(c \cdot t - k \cdot y1\right)\\ \mathbf{elif}\;y2 \leq 3.8 \cdot 10^{+147}:\\ \;\;\;\;y3 \cdot \left(y0 \cdot \left(j \cdot y5 - c \cdot z\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (* k (* y2 (- (* y1 y4) (* y0 y5))))))
   (if (<= y2 -0.28)
     t_1
     (if (<= y2 -2.35e-181)
       (* i (* y (- (* k y5) (* c x))))
       (if (<= y2 3.5e-294)
         (* k (* b (- (* y0 z) (* y y4))))
         (if (<= y2 4.5e-149)
           (* (* j y0) (- (* y3 y5) (* x b)))
           (if (<= y2 5.4e-27)
             (* a (* y (- (* b x) (* y3 y5))))
             (if (<= y2 5.5e+48)
               (* (* i z) (- (* c t) (* k y1)))
               (if (<= y2 3.8e+147)
                 (* y3 (* y0 (- (* j y5) (* c z))))
                 t_1)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	double tmp;
	if (y2 <= -0.28) {
		tmp = t_1;
	} else if (y2 <= -2.35e-181) {
		tmp = i * (y * ((k * y5) - (c * x)));
	} else if (y2 <= 3.5e-294) {
		tmp = k * (b * ((y0 * z) - (y * y4)));
	} else if (y2 <= 4.5e-149) {
		tmp = (j * y0) * ((y3 * y5) - (x * b));
	} else if (y2 <= 5.4e-27) {
		tmp = a * (y * ((b * x) - (y3 * y5)));
	} else if (y2 <= 5.5e+48) {
		tmp = (i * z) * ((c * t) - (k * y1));
	} else if (y2 <= 3.8e+147) {
		tmp = y3 * (y0 * ((j * y5) - (c * z)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)))
    if (y2 <= (-0.28d0)) then
        tmp = t_1
    else if (y2 <= (-2.35d-181)) then
        tmp = i * (y * ((k * y5) - (c * x)))
    else if (y2 <= 3.5d-294) then
        tmp = k * (b * ((y0 * z) - (y * y4)))
    else if (y2 <= 4.5d-149) then
        tmp = (j * y0) * ((y3 * y5) - (x * b))
    else if (y2 <= 5.4d-27) then
        tmp = a * (y * ((b * x) - (y3 * y5)))
    else if (y2 <= 5.5d+48) then
        tmp = (i * z) * ((c * t) - (k * y1))
    else if (y2 <= 3.8d+147) then
        tmp = y3 * (y0 * ((j * y5) - (c * z)))
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	double tmp;
	if (y2 <= -0.28) {
		tmp = t_1;
	} else if (y2 <= -2.35e-181) {
		tmp = i * (y * ((k * y5) - (c * x)));
	} else if (y2 <= 3.5e-294) {
		tmp = k * (b * ((y0 * z) - (y * y4)));
	} else if (y2 <= 4.5e-149) {
		tmp = (j * y0) * ((y3 * y5) - (x * b));
	} else if (y2 <= 5.4e-27) {
		tmp = a * (y * ((b * x) - (y3 * y5)));
	} else if (y2 <= 5.5e+48) {
		tmp = (i * z) * ((c * t) - (k * y1));
	} else if (y2 <= 3.8e+147) {
		tmp = y3 * (y0 * ((j * y5) - (c * z)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)))
	tmp = 0
	if y2 <= -0.28:
		tmp = t_1
	elif y2 <= -2.35e-181:
		tmp = i * (y * ((k * y5) - (c * x)))
	elif y2 <= 3.5e-294:
		tmp = k * (b * ((y0 * z) - (y * y4)))
	elif y2 <= 4.5e-149:
		tmp = (j * y0) * ((y3 * y5) - (x * b))
	elif y2 <= 5.4e-27:
		tmp = a * (y * ((b * x) - (y3 * y5)))
	elif y2 <= 5.5e+48:
		tmp = (i * z) * ((c * t) - (k * y1))
	elif y2 <= 3.8e+147:
		tmp = y3 * (y0 * ((j * y5) - (c * z)))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5))))
	tmp = 0.0
	if (y2 <= -0.28)
		tmp = t_1;
	elseif (y2 <= -2.35e-181)
		tmp = Float64(i * Float64(y * Float64(Float64(k * y5) - Float64(c * x))));
	elseif (y2 <= 3.5e-294)
		tmp = Float64(k * Float64(b * Float64(Float64(y0 * z) - Float64(y * y4))));
	elseif (y2 <= 4.5e-149)
		tmp = Float64(Float64(j * y0) * Float64(Float64(y3 * y5) - Float64(x * b)));
	elseif (y2 <= 5.4e-27)
		tmp = Float64(a * Float64(y * Float64(Float64(b * x) - Float64(y3 * y5))));
	elseif (y2 <= 5.5e+48)
		tmp = Float64(Float64(i * z) * Float64(Float64(c * t) - Float64(k * y1)));
	elseif (y2 <= 3.8e+147)
		tmp = Float64(y3 * Float64(y0 * Float64(Float64(j * y5) - Float64(c * z))));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
	tmp = 0.0;
	if (y2 <= -0.28)
		tmp = t_1;
	elseif (y2 <= -2.35e-181)
		tmp = i * (y * ((k * y5) - (c * x)));
	elseif (y2 <= 3.5e-294)
		tmp = k * (b * ((y0 * z) - (y * y4)));
	elseif (y2 <= 4.5e-149)
		tmp = (j * y0) * ((y3 * y5) - (x * b));
	elseif (y2 <= 5.4e-27)
		tmp = a * (y * ((b * x) - (y3 * y5)));
	elseif (y2 <= 5.5e+48)
		tmp = (i * z) * ((c * t) - (k * y1));
	elseif (y2 <= 3.8e+147)
		tmp = y3 * (y0 * ((j * y5) - (c * z)));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -0.28], t$95$1, If[LessEqual[y2, -2.35e-181], N[(i * N[(y * N[(N[(k * y5), $MachinePrecision] - N[(c * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3.5e-294], N[(k * N[(b * N[(N[(y0 * z), $MachinePrecision] - N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 4.5e-149], N[(N[(j * y0), $MachinePrecision] * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 5.4e-27], N[(a * N[(y * N[(N[(b * x), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 5.5e+48], N[(N[(i * z), $MachinePrecision] * N[(N[(c * t), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3.8e+147], N[(y3 * N[(y0 * N[(N[(j * y5), $MachinePrecision] - N[(c * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{if}\;y2 \leq -0.28:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y2 \leq -2.35 \cdot 10^{-181}:\\
\;\;\;\;i \cdot \left(y \cdot \left(k \cdot y5 - c \cdot x\right)\right)\\

\mathbf{elif}\;y2 \leq 3.5 \cdot 10^{-294}:\\
\;\;\;\;k \cdot \left(b \cdot \left(y0 \cdot z - y \cdot y4\right)\right)\\

\mathbf{elif}\;y2 \leq 4.5 \cdot 10^{-149}:\\
\;\;\;\;\left(j \cdot y0\right) \cdot \left(y3 \cdot y5 - x \cdot b\right)\\

\mathbf{elif}\;y2 \leq 5.4 \cdot 10^{-27}:\\
\;\;\;\;a \cdot \left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)\\

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

\mathbf{elif}\;y2 \leq 3.8 \cdot 10^{+147}:\\
\;\;\;\;y3 \cdot \left(y0 \cdot \left(j \cdot y5 - c \cdot z\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if y2 < -0.28000000000000003 or 3.7999999999999997e147 < y2

    1. Initial program 25.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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -0.28000000000000003 < y2 < -2.3499999999999999e-181

    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 i around -inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around -inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -2.3499999999999999e-181 < y2 < 3.50000000000000032e-294

    1. Initial program 49.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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in b around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 3.50000000000000032e-294 < y2 < 4.4999999999999998e-149

    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 y0 around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in j around -inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 4.4999999999999998e-149 < y2 < 5.39999999999999978e-27

    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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 5.39999999999999978e-27 < y2 < 5.5000000000000002e48

    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 i around -inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in z around -inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 5.5000000000000002e48 < y2 < 3.7999999999999997e147

    1. Initial program 44.4%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y3 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y3 around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]
  3. Recombined 7 regimes into one program.
  4. Add Preprocessing

Alternative 19: 30.9% accurate, 2.3× speedup?

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

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

\mathbf{elif}\;t \leq -3.6 \cdot 10^{-69}:\\
\;\;\;\;\left(k \cdot y1\right) \cdot \left(y2 \cdot y4\right)\\

\mathbf{elif}\;t \leq -1.9 \cdot 10^{-233}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;t \leq 2.6 \cdot 10^{-252}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;t \leq 2.8 \cdot 10^{-73}:\\
\;\;\;\;t\_2\\

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if t < -2.1999999999999999e90

    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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in t around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -2.1999999999999999e90 < t < -3.60000000000000018e-69

    1. Initial program 29.3%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y1 around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if -3.60000000000000018e-69 < t < -1.9e-233 or 2.5999999999999999e-252 < t < 2.80000000000000012e-73

    1. Initial program 35.7%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in c around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -1.9e-233 < t < 2.5999999999999999e-252 or 2.80000000000000012e-73 < t < 3.00000000000000022e37

    1. Initial program 30.3%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 3.00000000000000022e37 < t

    1. Initial program 38.3%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in t around -inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
  3. Recombined 5 regimes into one program.
  4. Add Preprocessing

Alternative 20: 30.1% accurate, 2.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\\ t_2 := a \cdot \left(t \cdot \left(y2 \cdot y5 - b \cdot z\right)\right)\\ \mathbf{if}\;y5 \leq -2.9 \cdot 10^{+237}:\\ \;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\ \mathbf{elif}\;y5 \leq -3.9 \cdot 10^{+174}:\\ \;\;\;\;k \cdot \left(y2 \cdot \left(y5 \cdot \left(0 - y0\right)\right)\right)\\ \mathbf{elif}\;y5 \leq -9.2 \cdot 10^{-48}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y5 \leq -1.92 \cdot 10^{-90}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y5 \leq -1 \cdot 10^{-193}:\\ \;\;\;\;k \cdot \left(y \cdot \left(b \cdot \left(0 - y4\right)\right)\right)\\ \mathbf{elif}\;y5 \leq 4.5 \cdot 10^{-14}:\\ \;\;\;\;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) (* y3 z)))))
        (t_2 (* a (* t (- (* y2 y5) (* b z))))))
   (if (<= y5 -2.9e+237)
     (* a (* y5 (- (* t y2) (* y y3))))
     (if (<= y5 -3.9e+174)
       (* k (* y2 (* y5 (- 0.0 y0))))
       (if (<= y5 -9.2e-48)
         t_2
         (if (<= y5 -1.92e-90)
           t_1
           (if (<= y5 -1e-193)
             (* k (* y (* b (- 0.0 y4))))
             (if (<= y5 4.5e-14) 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) - (y3 * z)));
	double t_2 = a * (t * ((y2 * y5) - (b * z)));
	double tmp;
	if (y5 <= -2.9e+237) {
		tmp = a * (y5 * ((t * y2) - (y * y3)));
	} else if (y5 <= -3.9e+174) {
		tmp = k * (y2 * (y5 * (0.0 - y0)));
	} else if (y5 <= -9.2e-48) {
		tmp = t_2;
	} else if (y5 <= -1.92e-90) {
		tmp = t_1;
	} else if (y5 <= -1e-193) {
		tmp = k * (y * (b * (0.0 - y4)));
	} else if (y5 <= 4.5e-14) {
		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) - (y3 * z)))
    t_2 = a * (t * ((y2 * y5) - (b * z)))
    if (y5 <= (-2.9d+237)) then
        tmp = a * (y5 * ((t * y2) - (y * y3)))
    else if (y5 <= (-3.9d+174)) then
        tmp = k * (y2 * (y5 * (0.0d0 - y0)))
    else if (y5 <= (-9.2d-48)) then
        tmp = t_2
    else if (y5 <= (-1.92d-90)) then
        tmp = t_1
    else if (y5 <= (-1d-193)) then
        tmp = k * (y * (b * (0.0d0 - y4)))
    else if (y5 <= 4.5d-14) 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) - (y3 * z)));
	double t_2 = a * (t * ((y2 * y5) - (b * z)));
	double tmp;
	if (y5 <= -2.9e+237) {
		tmp = a * (y5 * ((t * y2) - (y * y3)));
	} else if (y5 <= -3.9e+174) {
		tmp = k * (y2 * (y5 * (0.0 - y0)));
	} else if (y5 <= -9.2e-48) {
		tmp = t_2;
	} else if (y5 <= -1.92e-90) {
		tmp = t_1;
	} else if (y5 <= -1e-193) {
		tmp = k * (y * (b * (0.0 - y4)));
	} else if (y5 <= 4.5e-14) {
		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) - (y3 * z)))
	t_2 = a * (t * ((y2 * y5) - (b * z)))
	tmp = 0
	if y5 <= -2.9e+237:
		tmp = a * (y5 * ((t * y2) - (y * y3)))
	elif y5 <= -3.9e+174:
		tmp = k * (y2 * (y5 * (0.0 - y0)))
	elif y5 <= -9.2e-48:
		tmp = t_2
	elif y5 <= -1.92e-90:
		tmp = t_1
	elif y5 <= -1e-193:
		tmp = k * (y * (b * (0.0 - y4)))
	elif y5 <= 4.5e-14:
		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(y3 * z))))
	t_2 = Float64(a * Float64(t * Float64(Float64(y2 * y5) - Float64(b * z))))
	tmp = 0.0
	if (y5 <= -2.9e+237)
		tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))));
	elseif (y5 <= -3.9e+174)
		tmp = Float64(k * Float64(y2 * Float64(y5 * Float64(0.0 - y0))));
	elseif (y5 <= -9.2e-48)
		tmp = t_2;
	elseif (y5 <= -1.92e-90)
		tmp = t_1;
	elseif (y5 <= -1e-193)
		tmp = Float64(k * Float64(y * Float64(b * Float64(0.0 - y4))));
	elseif (y5 <= 4.5e-14)
		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) - (y3 * z)));
	t_2 = a * (t * ((y2 * y5) - (b * z)));
	tmp = 0.0;
	if (y5 <= -2.9e+237)
		tmp = a * (y5 * ((t * y2) - (y * y3)));
	elseif (y5 <= -3.9e+174)
		tmp = k * (y2 * (y5 * (0.0 - y0)));
	elseif (y5 <= -9.2e-48)
		tmp = t_2;
	elseif (y5 <= -1.92e-90)
		tmp = t_1;
	elseif (y5 <= -1e-193)
		tmp = k * (y * (b * (0.0 - y4)));
	elseif (y5 <= 4.5e-14)
		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[(y3 * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a * N[(t * N[(N[(y2 * y5), $MachinePrecision] - N[(b * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -2.9e+237], N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -3.9e+174], N[(k * N[(y2 * N[(y5 * N[(0.0 - y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -9.2e-48], t$95$2, If[LessEqual[y5, -1.92e-90], t$95$1, If[LessEqual[y5, -1e-193], N[(k * N[(y * N[(b * N[(0.0 - y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 4.5e-14], t$95$1, t$95$2]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;y5 \leq -3.9 \cdot 10^{+174}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y5 \cdot \left(0 - y0\right)\right)\right)\\

\mathbf{elif}\;y5 \leq -9.2 \cdot 10^{-48}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;y5 \leq -1.92 \cdot 10^{-90}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y5 \leq -1 \cdot 10^{-193}:\\
\;\;\;\;k \cdot \left(y \cdot \left(b \cdot \left(0 - y4\right)\right)\right)\\

\mathbf{elif}\;y5 \leq 4.5 \cdot 10^{-14}:\\
\;\;\;\;t\_1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if y5 < -2.9000000000000001e237

    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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y5 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -2.9000000000000001e237 < y5 < -3.89999999999999981e174

    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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y1 around 0 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if -3.89999999999999981e174 < y5 < -9.2000000000000003e-48 or 4.4999999999999998e-14 < y5

    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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in t around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -9.2000000000000003e-48 < y5 < -1.92000000000000009e-90 or -1e-193 < y5 < 4.4999999999999998e-14

    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 y0 around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in c around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -1.92000000000000009e-90 < y5 < -1e-193

    1. Initial program 39.9%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in i around 0 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]
  3. Recombined 5 regimes into one program.
  4. Add Preprocessing

Alternative 21: 26.6% accurate, 2.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \left(t \cdot \left(y2 \cdot y5 - b \cdot z\right)\right)\\ \mathbf{if}\;k \leq -3.4 \cdot 10^{+252}:\\ \;\;\;\;\left(k \cdot y0\right) \cdot \left(y5 \cdot \left(0 - y2\right)\right)\\ \mathbf{elif}\;k \leq -1.3 \cdot 10^{+83}:\\ \;\;\;\;\left(b \cdot k\right) \cdot \left(y \cdot \left(0 - y4\right)\right)\\ \mathbf{elif}\;k \leq -6.4 \cdot 10^{+66}:\\ \;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\ \mathbf{elif}\;k \leq -1.4 \cdot 10^{-128}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;k \leq -1.25 \cdot 10^{-269}:\\ \;\;\;\;\left(x \cdot \left(c \cdot i\right)\right) \cdot \left(-y\right)\\ \mathbf{elif}\;k \leq 1.8 \cdot 10^{+130}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\left(k \cdot y1\right) \cdot \left(y2 \cdot y4\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 (* t (- (* y2 y5) (* b z))))))
   (if (<= k -3.4e+252)
     (* (* k y0) (* y5 (- 0.0 y2)))
     (if (<= k -1.3e+83)
       (* (* b k) (* y (- 0.0 y4)))
       (if (<= k -6.4e+66)
         (* k (* y1 (* y2 y4)))
         (if (<= k -1.4e-128)
           t_1
           (if (<= k -1.25e-269)
             (* (* x (* c i)) (- y))
             (if (<= k 1.8e+130) t_1 (* (* k y1) (* y2 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 = a * (t * ((y2 * y5) - (b * z)));
	double tmp;
	if (k <= -3.4e+252) {
		tmp = (k * y0) * (y5 * (0.0 - y2));
	} else if (k <= -1.3e+83) {
		tmp = (b * k) * (y * (0.0 - y4));
	} else if (k <= -6.4e+66) {
		tmp = k * (y1 * (y2 * y4));
	} else if (k <= -1.4e-128) {
		tmp = t_1;
	} else if (k <= -1.25e-269) {
		tmp = (x * (c * i)) * -y;
	} else if (k <= 1.8e+130) {
		tmp = t_1;
	} else {
		tmp = (k * y1) * (y2 * 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 = a * (t * ((y2 * y5) - (b * z)))
    if (k <= (-3.4d+252)) then
        tmp = (k * y0) * (y5 * (0.0d0 - y2))
    else if (k <= (-1.3d+83)) then
        tmp = (b * k) * (y * (0.0d0 - y4))
    else if (k <= (-6.4d+66)) then
        tmp = k * (y1 * (y2 * y4))
    else if (k <= (-1.4d-128)) then
        tmp = t_1
    else if (k <= (-1.25d-269)) then
        tmp = (x * (c * i)) * -y
    else if (k <= 1.8d+130) then
        tmp = t_1
    else
        tmp = (k * y1) * (y2 * 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 = a * (t * ((y2 * y5) - (b * z)));
	double tmp;
	if (k <= -3.4e+252) {
		tmp = (k * y0) * (y5 * (0.0 - y2));
	} else if (k <= -1.3e+83) {
		tmp = (b * k) * (y * (0.0 - y4));
	} else if (k <= -6.4e+66) {
		tmp = k * (y1 * (y2 * y4));
	} else if (k <= -1.4e-128) {
		tmp = t_1;
	} else if (k <= -1.25e-269) {
		tmp = (x * (c * i)) * -y;
	} else if (k <= 1.8e+130) {
		tmp = t_1;
	} else {
		tmp = (k * y1) * (y2 * y4);
	}
	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) - (b * z)))
	tmp = 0
	if k <= -3.4e+252:
		tmp = (k * y0) * (y5 * (0.0 - y2))
	elif k <= -1.3e+83:
		tmp = (b * k) * (y * (0.0 - y4))
	elif k <= -6.4e+66:
		tmp = k * (y1 * (y2 * y4))
	elif k <= -1.4e-128:
		tmp = t_1
	elif k <= -1.25e-269:
		tmp = (x * (c * i)) * -y
	elif k <= 1.8e+130:
		tmp = t_1
	else:
		tmp = (k * y1) * (y2 * y4)
	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(Float64(y2 * y5) - Float64(b * z))))
	tmp = 0.0
	if (k <= -3.4e+252)
		tmp = Float64(Float64(k * y0) * Float64(y5 * Float64(0.0 - y2)));
	elseif (k <= -1.3e+83)
		tmp = Float64(Float64(b * k) * Float64(y * Float64(0.0 - y4)));
	elseif (k <= -6.4e+66)
		tmp = Float64(k * Float64(y1 * Float64(y2 * y4)));
	elseif (k <= -1.4e-128)
		tmp = t_1;
	elseif (k <= -1.25e-269)
		tmp = Float64(Float64(x * Float64(c * i)) * Float64(-y));
	elseif (k <= 1.8e+130)
		tmp = t_1;
	else
		tmp = Float64(Float64(k * y1) * Float64(y2 * 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 = a * (t * ((y2 * y5) - (b * z)));
	tmp = 0.0;
	if (k <= -3.4e+252)
		tmp = (k * y0) * (y5 * (0.0 - y2));
	elseif (k <= -1.3e+83)
		tmp = (b * k) * (y * (0.0 - y4));
	elseif (k <= -6.4e+66)
		tmp = k * (y1 * (y2 * y4));
	elseif (k <= -1.4e-128)
		tmp = t_1;
	elseif (k <= -1.25e-269)
		tmp = (x * (c * i)) * -y;
	elseif (k <= 1.8e+130)
		tmp = t_1;
	else
		tmp = (k * y1) * (y2 * 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[(a * N[(t * N[(N[(y2 * y5), $MachinePrecision] - N[(b * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[k, -3.4e+252], N[(N[(k * y0), $MachinePrecision] * N[(y5 * N[(0.0 - y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -1.3e+83], N[(N[(b * k), $MachinePrecision] * N[(y * N[(0.0 - y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -6.4e+66], N[(k * N[(y1 * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -1.4e-128], t$95$1, If[LessEqual[k, -1.25e-269], N[(N[(x * N[(c * i), $MachinePrecision]), $MachinePrecision] * (-y)), $MachinePrecision], If[LessEqual[k, 1.8e+130], t$95$1, N[(N[(k * y1), $MachinePrecision] * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := a \cdot \left(t \cdot \left(y2 \cdot y5 - b \cdot z\right)\right)\\
\mathbf{if}\;k \leq -3.4 \cdot 10^{+252}:\\
\;\;\;\;\left(k \cdot y0\right) \cdot \left(y5 \cdot \left(0 - y2\right)\right)\\

\mathbf{elif}\;k \leq -1.3 \cdot 10^{+83}:\\
\;\;\;\;\left(b \cdot k\right) \cdot \left(y \cdot \left(0 - y4\right)\right)\\

\mathbf{elif}\;k \leq -6.4 \cdot 10^{+66}:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\

\mathbf{elif}\;k \leq -1.4 \cdot 10^{-128}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;k \leq -1.25 \cdot 10^{-269}:\\
\;\;\;\;\left(x \cdot \left(c \cdot i\right)\right) \cdot \left(-y\right)\\

\mathbf{elif}\;k \leq 1.8 \cdot 10^{+130}:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;\left(k \cdot y1\right) \cdot \left(y2 \cdot y4\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if k < -3.4e252

    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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y1 around 0 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if -3.4e252 < k < -1.3000000000000001e83

    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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in i around 0 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if -1.3000000000000001e83 < k < -6.3999999999999999e66

    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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y1 around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if -6.3999999999999999e66 < k < -1.3999999999999999e-128 or -1.24999999999999995e-269 < k < 1.8000000000000001e130

    1. Initial program 38.4%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in t around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -1.3999999999999999e-128 < k < -1.24999999999999995e-269

    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 i around -inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around 0 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in x around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]
    9. Applied egg-rr0

      \[\leadsto expr\]

    if 1.8000000000000001e130 < k

    1. Initial program 28.2%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y1 around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]
  3. Recombined 6 regimes into one program.
  4. Add Preprocessing

Alternative 22: 29.2% accurate, 2.6× speedup?

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

\\
\begin{array}{l}
t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{if}\;y1 \leq -8.8 \cdot 10^{+126}:\\
\;\;\;\;t\_1\\

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

\mathbf{elif}\;y1 \leq -2.6 \cdot 10^{-148}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y1 \leq -3.5 \cdot 10^{-282}:\\
\;\;\;\;k \cdot \left(b \cdot \left(y0 \cdot z - y \cdot y4\right)\right)\\

\mathbf{elif}\;y1 \leq 5.1 \cdot 10^{-72}:\\
\;\;\;\;y3 \cdot \left(y0 \cdot \left(j \cdot y5 - c \cdot z\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if y1 < -8.79999999999999994e126 or -1.2e15 < y1 < -2.60000000000000008e-148

    1. Initial program 31.5%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -8.79999999999999994e126 < y1 < -1.2e15

    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 y1 around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in j around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -2.60000000000000008e-148 < y1 < -3.50000000000000006e-282

    1. Initial program 39.9%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in b around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -3.50000000000000006e-282 < y1 < 5.1000000000000003e-72

    1. Initial program 36.0%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y3 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y3 around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if 5.1000000000000003e-72 < y1

    1. Initial program 22.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 y1 around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in k around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
  3. Recombined 5 regimes into one program.
  4. Add Preprocessing

Alternative 23: 28.9% accurate, 2.6× speedup?

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

\\
\begin{array}{l}
t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{if}\;y1 \leq -1.35 \cdot 10^{+119}:\\
\;\;\;\;t\_1\\

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

\mathbf{elif}\;y1 \leq -3.1 \cdot 10^{-148}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y1 \leq 6 \cdot 10^{-280}:\\
\;\;\;\;k \cdot \left(b \cdot \left(y0 \cdot z - y \cdot y4\right)\right)\\

\mathbf{elif}\;y1 \leq 7.2 \cdot 10^{-80}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if y1 < -1.3499999999999999e119 or -2.7e15 < y1 < -3.1000000000000001e-148

    1. Initial program 31.5%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -1.3499999999999999e119 < y1 < -2.7e15

    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 y1 around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in j around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -3.1000000000000001e-148 < y1 < 5.99999999999999974e-280

    1. Initial program 33.2%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in b around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 5.99999999999999974e-280 < y1 < 7.2e-80

    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 y0 around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in c around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 7.2e-80 < y1

    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 y1 around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in k around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
  3. Recombined 5 regimes into one program.
  4. Add Preprocessing

Alternative 24: 29.6% accurate, 2.6× speedup?

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

\\
\begin{array}{l}
t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{if}\;y1 \leq -1.2 \cdot 10^{+127}:\\
\;\;\;\;t\_1\\

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

\mathbf{elif}\;y1 \leq -2.4 \cdot 10^{-149}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y1 \leq 3.6 \cdot 10^{-279}:\\
\;\;\;\;k \cdot \left(b \cdot \left(y0 \cdot z - y \cdot y4\right)\right)\\

\mathbf{elif}\;y1 \leq 1.4 \cdot 10^{-131}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\\

\mathbf{else}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - b \cdot y\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if y1 < -1.2000000000000001e127 or -9e15 < y1 < -2.4000000000000001e-149

    1. Initial program 31.5%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -1.2000000000000001e127 < y1 < -9e15

    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 y1 around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in j around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -2.4000000000000001e-149 < y1 < 3.5999999999999997e-279

    1. Initial program 33.2%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in b around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 3.5999999999999997e-279 < y1 < 1.4e-131

    1. Initial program 37.7%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in c around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 1.4e-131 < y1

    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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y4 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
  3. Recombined 5 regimes into one program.
  4. Add Preprocessing

Alternative 25: 29.0% accurate, 2.6× speedup?

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

\\
\begin{array}{l}
t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{if}\;y1 \leq -1.35 \cdot 10^{-148}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y1 \leq 3.5 \cdot 10^{-278}:\\
\;\;\;\;k \cdot \left(b \cdot \left(y0 \cdot z - y \cdot y4\right)\right)\\

\mathbf{elif}\;y1 \leq 1.6 \cdot 10^{-131}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\\

\mathbf{elif}\;y1 \leq 3.3 \cdot 10^{-27}:\\
\;\;\;\;\left(b \cdot k\right) \cdot \left(y \cdot \left(0 - y4\right)\right)\\

\mathbf{elif}\;y1 \leq 1.35 \cdot 10^{+118}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - b \cdot z\right)\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if y1 < -1.34999999999999994e-148 or 1.35e118 < y1

    1. Initial program 32.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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -1.34999999999999994e-148 < y1 < 3.4999999999999997e-278

    1. Initial program 33.2%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in b around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 3.4999999999999997e-278 < y1 < 1.6e-131

    1. Initial program 37.7%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in c around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 1.6e-131 < y1 < 3.29999999999999998e-27

    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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in i around 0 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if 3.29999999999999998e-27 < y1 < 1.35e118

    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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in t around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
  3. Recombined 5 regimes into one program.
  4. Add Preprocessing

Alternative 26: 26.4% accurate, 2.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \left(t \cdot \left(y2 \cdot y5 - b \cdot z\right)\right)\\ \mathbf{if}\;y5 \leq -2.6 \cdot 10^{+237}:\\ \;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\ \mathbf{elif}\;y5 \leq -7.6 \cdot 10^{+175}:\\ \;\;\;\;k \cdot \left(y2 \cdot \left(y5 \cdot \left(0 - y0\right)\right)\right)\\ \mathbf{elif}\;y5 \leq -9.5 \cdot 10^{-58}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y5 \leq 9.5 \cdot 10^{-102}:\\ \;\;\;\;k \cdot \left(y \cdot \left(b \cdot \left(0 - y4\right)\right)\right)\\ \mathbf{elif}\;y5 \leq 5.8 \cdot 10^{-24}:\\ \;\;\;\;\left(x \cdot \left(c \cdot i\right)\right) \cdot \left(-y\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) (* b z))))))
   (if (<= y5 -2.6e+237)
     (* a (* y5 (- (* t y2) (* y y3))))
     (if (<= y5 -7.6e+175)
       (* k (* y2 (* y5 (- 0.0 y0))))
       (if (<= y5 -9.5e-58)
         t_1
         (if (<= y5 9.5e-102)
           (* k (* y (* b (- 0.0 y4))))
           (if (<= y5 5.8e-24) (* (* x (* c i)) (- y)) t_1)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = a * (t * ((y2 * y5) - (b * z)));
	double tmp;
	if (y5 <= -2.6e+237) {
		tmp = a * (y5 * ((t * y2) - (y * y3)));
	} else if (y5 <= -7.6e+175) {
		tmp = k * (y2 * (y5 * (0.0 - y0)));
	} else if (y5 <= -9.5e-58) {
		tmp = t_1;
	} else if (y5 <= 9.5e-102) {
		tmp = k * (y * (b * (0.0 - y4)));
	} else if (y5 <= 5.8e-24) {
		tmp = (x * (c * i)) * -y;
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = a * (t * ((y2 * y5) - (b * z)))
    if (y5 <= (-2.6d+237)) then
        tmp = a * (y5 * ((t * y2) - (y * y3)))
    else if (y5 <= (-7.6d+175)) then
        tmp = k * (y2 * (y5 * (0.0d0 - y0)))
    else if (y5 <= (-9.5d-58)) then
        tmp = t_1
    else if (y5 <= 9.5d-102) then
        tmp = k * (y * (b * (0.0d0 - y4)))
    else if (y5 <= 5.8d-24) then
        tmp = (x * (c * i)) * -y
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = a * (t * ((y2 * y5) - (b * z)));
	double tmp;
	if (y5 <= -2.6e+237) {
		tmp = a * (y5 * ((t * y2) - (y * y3)));
	} else if (y5 <= -7.6e+175) {
		tmp = k * (y2 * (y5 * (0.0 - y0)));
	} else if (y5 <= -9.5e-58) {
		tmp = t_1;
	} else if (y5 <= 9.5e-102) {
		tmp = k * (y * (b * (0.0 - y4)));
	} else if (y5 <= 5.8e-24) {
		tmp = (x * (c * i)) * -y;
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = a * (t * ((y2 * y5) - (b * z)))
	tmp = 0
	if y5 <= -2.6e+237:
		tmp = a * (y5 * ((t * y2) - (y * y3)))
	elif y5 <= -7.6e+175:
		tmp = k * (y2 * (y5 * (0.0 - y0)))
	elif y5 <= -9.5e-58:
		tmp = t_1
	elif y5 <= 9.5e-102:
		tmp = k * (y * (b * (0.0 - y4)))
	elif y5 <= 5.8e-24:
		tmp = (x * (c * i)) * -y
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(a * Float64(t * Float64(Float64(y2 * y5) - Float64(b * z))))
	tmp = 0.0
	if (y5 <= -2.6e+237)
		tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))));
	elseif (y5 <= -7.6e+175)
		tmp = Float64(k * Float64(y2 * Float64(y5 * Float64(0.0 - y0))));
	elseif (y5 <= -9.5e-58)
		tmp = t_1;
	elseif (y5 <= 9.5e-102)
		tmp = Float64(k * Float64(y * Float64(b * Float64(0.0 - y4))));
	elseif (y5 <= 5.8e-24)
		tmp = Float64(Float64(x * Float64(c * i)) * Float64(-y));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = a * (t * ((y2 * y5) - (b * z)));
	tmp = 0.0;
	if (y5 <= -2.6e+237)
		tmp = a * (y5 * ((t * y2) - (y * y3)));
	elseif (y5 <= -7.6e+175)
		tmp = k * (y2 * (y5 * (0.0 - y0)));
	elseif (y5 <= -9.5e-58)
		tmp = t_1;
	elseif (y5 <= 9.5e-102)
		tmp = k * (y * (b * (0.0 - y4)));
	elseif (y5 <= 5.8e-24)
		tmp = (x * (c * i)) * -y;
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(t * N[(N[(y2 * y5), $MachinePrecision] - N[(b * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -2.6e+237], N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -7.6e+175], N[(k * N[(y2 * N[(y5 * N[(0.0 - y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -9.5e-58], t$95$1, If[LessEqual[y5, 9.5e-102], N[(k * N[(y * N[(b * N[(0.0 - y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 5.8e-24], N[(N[(x * N[(c * i), $MachinePrecision]), $MachinePrecision] * (-y)), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := a \cdot \left(t \cdot \left(y2 \cdot y5 - b \cdot z\right)\right)\\
\mathbf{if}\;y5 \leq -2.6 \cdot 10^{+237}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\

\mathbf{elif}\;y5 \leq -7.6 \cdot 10^{+175}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y5 \cdot \left(0 - y0\right)\right)\right)\\

\mathbf{elif}\;y5 \leq -9.5 \cdot 10^{-58}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y5 \leq 9.5 \cdot 10^{-102}:\\
\;\;\;\;k \cdot \left(y \cdot \left(b \cdot \left(0 - y4\right)\right)\right)\\

\mathbf{elif}\;y5 \leq 5.8 \cdot 10^{-24}:\\
\;\;\;\;\left(x \cdot \left(c \cdot i\right)\right) \cdot \left(-y\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if y5 < -2.60000000000000003e237

    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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y5 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -2.60000000000000003e237 < y5 < -7.5999999999999994e175

    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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y1 around 0 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if -7.5999999999999994e175 < y5 < -9.4999999999999994e-58 or 5.7999999999999997e-24 < y5

    1. Initial program 31.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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in t around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -9.4999999999999994e-58 < y5 < 9.50000000000000025e-102

    1. Initial program 36.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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in i around 0 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if 9.50000000000000025e-102 < y5 < 5.7999999999999997e-24

    1. Initial program 37.4%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around 0 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in x around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]
    9. Applied egg-rr0

      \[\leadsto expr\]
  3. Recombined 5 regimes into one program.
  4. Add Preprocessing

Alternative 27: 20.4% accurate, 2.8× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq -8.4 \cdot 10^{+222}:\\ \;\;\;\;-i \cdot \left(0 - \left(c \cdot t\right) \cdot z\right)\\ \mathbf{elif}\;t \leq -7.5 \cdot 10^{-65}:\\ \;\;\;\;\left(k \cdot y1\right) \cdot \left(y2 \cdot y4\right)\\ \mathbf{elif}\;t \leq -1.95 \cdot 10^{-202}:\\ \;\;\;\;k \cdot \left(y \cdot \left(b \cdot \left(0 - y4\right)\right)\right)\\ \mathbf{elif}\;t \leq 2.4 \cdot 10^{-124}:\\ \;\;\;\;k \cdot \left(y2 \cdot \left(y5 \cdot \left(0 - y0\right)\right)\right)\\ \mathbf{elif}\;t \leq 1.9 \cdot 10^{+32}:\\ \;\;\;\;\left(b \cdot k\right) \cdot \left(y \cdot \left(0 - y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(\left(t \cdot i\right) \cdot z\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 (<= t -8.4e+222)
   (- (* i (- 0.0 (* (* c t) z))))
   (if (<= t -7.5e-65)
     (* (* k y1) (* y2 y4))
     (if (<= t -1.95e-202)
       (* k (* y (* b (- 0.0 y4))))
       (if (<= t 2.4e-124)
         (* k (* y2 (* y5 (- 0.0 y0))))
         (if (<= t 1.9e+32)
           (* (* b k) (* y (- 0.0 y4)))
           (* c (* (* t i) z))))))))
double code(double x, double y, double z, double t, double 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 (t <= -8.4e+222) {
		tmp = -(i * (0.0 - ((c * t) * z)));
	} else if (t <= -7.5e-65) {
		tmp = (k * y1) * (y2 * y4);
	} else if (t <= -1.95e-202) {
		tmp = k * (y * (b * (0.0 - y4)));
	} else if (t <= 2.4e-124) {
		tmp = k * (y2 * (y5 * (0.0 - y0)));
	} else if (t <= 1.9e+32) {
		tmp = (b * k) * (y * (0.0 - y4));
	} else {
		tmp = c * ((t * i) * z);
	}
	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 (t <= (-8.4d+222)) then
        tmp = -(i * (0.0d0 - ((c * t) * z)))
    else if (t <= (-7.5d-65)) then
        tmp = (k * y1) * (y2 * y4)
    else if (t <= (-1.95d-202)) then
        tmp = k * (y * (b * (0.0d0 - y4)))
    else if (t <= 2.4d-124) then
        tmp = k * (y2 * (y5 * (0.0d0 - y0)))
    else if (t <= 1.9d+32) then
        tmp = (b * k) * (y * (0.0d0 - y4))
    else
        tmp = c * ((t * i) * z)
    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 (t <= -8.4e+222) {
		tmp = -(i * (0.0 - ((c * t) * z)));
	} else if (t <= -7.5e-65) {
		tmp = (k * y1) * (y2 * y4);
	} else if (t <= -1.95e-202) {
		tmp = k * (y * (b * (0.0 - y4)));
	} else if (t <= 2.4e-124) {
		tmp = k * (y2 * (y5 * (0.0 - y0)));
	} else if (t <= 1.9e+32) {
		tmp = (b * k) * (y * (0.0 - y4));
	} else {
		tmp = c * ((t * i) * z);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if t <= -8.4e+222:
		tmp = -(i * (0.0 - ((c * t) * z)))
	elif t <= -7.5e-65:
		tmp = (k * y1) * (y2 * y4)
	elif t <= -1.95e-202:
		tmp = k * (y * (b * (0.0 - y4)))
	elif t <= 2.4e-124:
		tmp = k * (y2 * (y5 * (0.0 - y0)))
	elif t <= 1.9e+32:
		tmp = (b * k) * (y * (0.0 - y4))
	else:
		tmp = c * ((t * i) * z)
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (t <= -8.4e+222)
		tmp = Float64(-Float64(i * Float64(0.0 - Float64(Float64(c * t) * z))));
	elseif (t <= -7.5e-65)
		tmp = Float64(Float64(k * y1) * Float64(y2 * y4));
	elseif (t <= -1.95e-202)
		tmp = Float64(k * Float64(y * Float64(b * Float64(0.0 - y4))));
	elseif (t <= 2.4e-124)
		tmp = Float64(k * Float64(y2 * Float64(y5 * Float64(0.0 - y0))));
	elseif (t <= 1.9e+32)
		tmp = Float64(Float64(b * k) * Float64(y * Float64(0.0 - y4)));
	else
		tmp = Float64(c * Float64(Float64(t * i) * z));
	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 (t <= -8.4e+222)
		tmp = -(i * (0.0 - ((c * t) * z)));
	elseif (t <= -7.5e-65)
		tmp = (k * y1) * (y2 * y4);
	elseif (t <= -1.95e-202)
		tmp = k * (y * (b * (0.0 - y4)));
	elseif (t <= 2.4e-124)
		tmp = k * (y2 * (y5 * (0.0 - y0)));
	elseif (t <= 1.9e+32)
		tmp = (b * k) * (y * (0.0 - y4));
	else
		tmp = c * ((t * i) * z);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[t, -8.4e+222], (-N[(i * N[(0.0 - N[(N[(c * t), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), If[LessEqual[t, -7.5e-65], N[(N[(k * y1), $MachinePrecision] * N[(y2 * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.95e-202], N[(k * N[(y * N[(b * N[(0.0 - y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.4e-124], N[(k * N[(y2 * N[(y5 * N[(0.0 - y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.9e+32], N[(N[(b * k), $MachinePrecision] * N[(y * N[(0.0 - y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(N[(t * i), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;t \leq -8.4 \cdot 10^{+222}:\\
\;\;\;\;-i \cdot \left(0 - \left(c \cdot t\right) \cdot z\right)\\

\mathbf{elif}\;t \leq -7.5 \cdot 10^{-65}:\\
\;\;\;\;\left(k \cdot y1\right) \cdot \left(y2 \cdot y4\right)\\

\mathbf{elif}\;t \leq -1.95 \cdot 10^{-202}:\\
\;\;\;\;k \cdot \left(y \cdot \left(b \cdot \left(0 - y4\right)\right)\right)\\

\mathbf{elif}\;t \leq 2.4 \cdot 10^{-124}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y5 \cdot \left(0 - y0\right)\right)\right)\\

\mathbf{elif}\;t \leq 1.9 \cdot 10^{+32}:\\
\;\;\;\;\left(b \cdot k\right) \cdot \left(y \cdot \left(0 - y4\right)\right)\\

\mathbf{else}:\\
\;\;\;\;c \cdot \left(\left(t \cdot i\right) \cdot z\right)\\


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

    1. Initial program 23.0%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around 0 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in z around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if -8.40000000000000039e222 < t < -7.5000000000000002e-65

    1. Initial program 26.5%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y1 around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if -7.5000000000000002e-65 < t < -1.95e-202

    1. Initial program 40.6%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in i around 0 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if -1.95e-202 < t < 2.39999999999999992e-124

    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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y1 around 0 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if 2.39999999999999992e-124 < t < 1.9000000000000002e32

    1. Initial program 31.5%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in i around 0 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if 1.9000000000000002e32 < t

    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 i around -inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around 0 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in z around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]
  3. Recombined 6 regimes into one program.
  4. Add Preprocessing

Alternative 28: 20.3% accurate, 2.8× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq -5.5 \cdot 10^{+221}:\\ \;\;\;\;-i \cdot \left(j \cdot \left(y5 \cdot t\right)\right)\\ \mathbf{elif}\;t \leq -2 \cdot 10^{-58}:\\ \;\;\;\;\left(k \cdot y1\right) \cdot \left(y2 \cdot y4\right)\\ \mathbf{elif}\;t \leq -1.2 \cdot 10^{-202}:\\ \;\;\;\;k \cdot \left(y \cdot \left(b \cdot \left(0 - y4\right)\right)\right)\\ \mathbf{elif}\;t \leq 1.25 \cdot 10^{-123}:\\ \;\;\;\;k \cdot \left(y2 \cdot \left(y5 \cdot \left(0 - y0\right)\right)\right)\\ \mathbf{elif}\;t \leq 1.75 \cdot 10^{+32}:\\ \;\;\;\;\left(b \cdot k\right) \cdot \left(y \cdot \left(0 - y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(\left(t \cdot i\right) \cdot z\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 (<= t -5.5e+221)
   (- (* i (* j (* y5 t))))
   (if (<= t -2e-58)
     (* (* k y1) (* y2 y4))
     (if (<= t -1.2e-202)
       (* k (* y (* b (- 0.0 y4))))
       (if (<= t 1.25e-123)
         (* k (* y2 (* y5 (- 0.0 y0))))
         (if (<= t 1.75e+32)
           (* (* b k) (* y (- 0.0 y4)))
           (* c (* (* t i) z))))))))
double code(double x, double y, double z, double t, double 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 (t <= -5.5e+221) {
		tmp = -(i * (j * (y5 * t)));
	} else if (t <= -2e-58) {
		tmp = (k * y1) * (y2 * y4);
	} else if (t <= -1.2e-202) {
		tmp = k * (y * (b * (0.0 - y4)));
	} else if (t <= 1.25e-123) {
		tmp = k * (y2 * (y5 * (0.0 - y0)));
	} else if (t <= 1.75e+32) {
		tmp = (b * k) * (y * (0.0 - y4));
	} else {
		tmp = c * ((t * i) * z);
	}
	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 (t <= (-5.5d+221)) then
        tmp = -(i * (j * (y5 * t)))
    else if (t <= (-2d-58)) then
        tmp = (k * y1) * (y2 * y4)
    else if (t <= (-1.2d-202)) then
        tmp = k * (y * (b * (0.0d0 - y4)))
    else if (t <= 1.25d-123) then
        tmp = k * (y2 * (y5 * (0.0d0 - y0)))
    else if (t <= 1.75d+32) then
        tmp = (b * k) * (y * (0.0d0 - y4))
    else
        tmp = c * ((t * i) * z)
    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 (t <= -5.5e+221) {
		tmp = -(i * (j * (y5 * t)));
	} else if (t <= -2e-58) {
		tmp = (k * y1) * (y2 * y4);
	} else if (t <= -1.2e-202) {
		tmp = k * (y * (b * (0.0 - y4)));
	} else if (t <= 1.25e-123) {
		tmp = k * (y2 * (y5 * (0.0 - y0)));
	} else if (t <= 1.75e+32) {
		tmp = (b * k) * (y * (0.0 - y4));
	} else {
		tmp = c * ((t * i) * z);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if t <= -5.5e+221:
		tmp = -(i * (j * (y5 * t)))
	elif t <= -2e-58:
		tmp = (k * y1) * (y2 * y4)
	elif t <= -1.2e-202:
		tmp = k * (y * (b * (0.0 - y4)))
	elif t <= 1.25e-123:
		tmp = k * (y2 * (y5 * (0.0 - y0)))
	elif t <= 1.75e+32:
		tmp = (b * k) * (y * (0.0 - y4))
	else:
		tmp = c * ((t * i) * z)
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (t <= -5.5e+221)
		tmp = Float64(-Float64(i * Float64(j * Float64(y5 * t))));
	elseif (t <= -2e-58)
		tmp = Float64(Float64(k * y1) * Float64(y2 * y4));
	elseif (t <= -1.2e-202)
		tmp = Float64(k * Float64(y * Float64(b * Float64(0.0 - y4))));
	elseif (t <= 1.25e-123)
		tmp = Float64(k * Float64(y2 * Float64(y5 * Float64(0.0 - y0))));
	elseif (t <= 1.75e+32)
		tmp = Float64(Float64(b * k) * Float64(y * Float64(0.0 - y4)));
	else
		tmp = Float64(c * Float64(Float64(t * i) * z));
	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 (t <= -5.5e+221)
		tmp = -(i * (j * (y5 * t)));
	elseif (t <= -2e-58)
		tmp = (k * y1) * (y2 * y4);
	elseif (t <= -1.2e-202)
		tmp = k * (y * (b * (0.0 - y4)));
	elseif (t <= 1.25e-123)
		tmp = k * (y2 * (y5 * (0.0 - y0)));
	elseif (t <= 1.75e+32)
		tmp = (b * k) * (y * (0.0 - y4));
	else
		tmp = c * ((t * i) * z);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[t, -5.5e+221], (-N[(i * N[(j * N[(y5 * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), If[LessEqual[t, -2e-58], N[(N[(k * y1), $MachinePrecision] * N[(y2 * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.2e-202], N[(k * N[(y * N[(b * N[(0.0 - y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.25e-123], N[(k * N[(y2 * N[(y5 * N[(0.0 - y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.75e+32], N[(N[(b * k), $MachinePrecision] * N[(y * N[(0.0 - y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(N[(t * i), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;t \leq -5.5 \cdot 10^{+221}:\\
\;\;\;\;-i \cdot \left(j \cdot \left(y5 \cdot t\right)\right)\\

\mathbf{elif}\;t \leq -2 \cdot 10^{-58}:\\
\;\;\;\;\left(k \cdot y1\right) \cdot \left(y2 \cdot y4\right)\\

\mathbf{elif}\;t \leq -1.2 \cdot 10^{-202}:\\
\;\;\;\;k \cdot \left(y \cdot \left(b \cdot \left(0 - y4\right)\right)\right)\\

\mathbf{elif}\;t \leq 1.25 \cdot 10^{-123}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y5 \cdot \left(0 - y0\right)\right)\right)\\

\mathbf{elif}\;t \leq 1.75 \cdot 10^{+32}:\\
\;\;\;\;\left(b \cdot k\right) \cdot \left(y \cdot \left(0 - y4\right)\right)\\

\mathbf{else}:\\
\;\;\;\;c \cdot \left(\left(t \cdot i\right) \cdot z\right)\\


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

    1. Initial program 23.0%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around 0 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in j around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if -5.5000000000000003e221 < t < -2.0000000000000001e-58

    1. Initial program 26.5%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y1 around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if -2.0000000000000001e-58 < t < -1.2e-202

    1. Initial program 40.6%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in i around 0 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if -1.2e-202 < t < 1.25000000000000007e-123

    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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y1 around 0 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if 1.25000000000000007e-123 < t < 1.75e32

    1. Initial program 31.5%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in i around 0 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if 1.75e32 < t

    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 i around -inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around 0 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in z around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]
  3. Recombined 6 regimes into one program.
  4. Add Preprocessing

Alternative 29: 20.6% accurate, 2.8× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := k \cdot \left(y \cdot \left(b \cdot \left(0 - y4\right)\right)\right)\\ \mathbf{if}\;t \leq -2.25 \cdot 10^{+221}:\\ \;\;\;\;-i \cdot \left(j \cdot \left(y5 \cdot t\right)\right)\\ \mathbf{elif}\;t \leq -5.8 \cdot 10^{-59}:\\ \;\;\;\;\left(k \cdot y1\right) \cdot \left(y2 \cdot y4\right)\\ \mathbf{elif}\;t \leq -1.82 \cdot 10^{-202}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq 5.2 \cdot 10^{-124}:\\ \;\;\;\;k \cdot \left(y2 \cdot \left(y5 \cdot \left(0 - y0\right)\right)\right)\\ \mathbf{elif}\;t \leq 6 \cdot 10^{+31}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(\left(t \cdot i\right) \cdot z\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 (* y (* b (- 0.0 y4))))))
   (if (<= t -2.25e+221)
     (- (* i (* j (* y5 t))))
     (if (<= t -5.8e-59)
       (* (* k y1) (* y2 y4))
       (if (<= t -1.82e-202)
         t_1
         (if (<= t 5.2e-124)
           (* k (* y2 (* y5 (- 0.0 y0))))
           (if (<= t 6e+31) t_1 (* c (* (* t i) z)))))))))
double code(double x, double y, double z, double t, double a, double 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 * (y * (b * (0.0 - y4)));
	double tmp;
	if (t <= -2.25e+221) {
		tmp = -(i * (j * (y5 * t)));
	} else if (t <= -5.8e-59) {
		tmp = (k * y1) * (y2 * y4);
	} else if (t <= -1.82e-202) {
		tmp = t_1;
	} else if (t <= 5.2e-124) {
		tmp = k * (y2 * (y5 * (0.0 - y0)));
	} else if (t <= 6e+31) {
		tmp = t_1;
	} else {
		tmp = c * ((t * i) * z);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = k * (y * (b * (0.0d0 - y4)))
    if (t <= (-2.25d+221)) then
        tmp = -(i * (j * (y5 * t)))
    else if (t <= (-5.8d-59)) then
        tmp = (k * y1) * (y2 * y4)
    else if (t <= (-1.82d-202)) then
        tmp = t_1
    else if (t <= 5.2d-124) then
        tmp = k * (y2 * (y5 * (0.0d0 - y0)))
    else if (t <= 6d+31) then
        tmp = t_1
    else
        tmp = c * ((t * i) * z)
    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 * (y * (b * (0.0 - y4)));
	double tmp;
	if (t <= -2.25e+221) {
		tmp = -(i * (j * (y5 * t)));
	} else if (t <= -5.8e-59) {
		tmp = (k * y1) * (y2 * y4);
	} else if (t <= -1.82e-202) {
		tmp = t_1;
	} else if (t <= 5.2e-124) {
		tmp = k * (y2 * (y5 * (0.0 - y0)));
	} else if (t <= 6e+31) {
		tmp = t_1;
	} else {
		tmp = c * ((t * i) * z);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = k * (y * (b * (0.0 - y4)))
	tmp = 0
	if t <= -2.25e+221:
		tmp = -(i * (j * (y5 * t)))
	elif t <= -5.8e-59:
		tmp = (k * y1) * (y2 * y4)
	elif t <= -1.82e-202:
		tmp = t_1
	elif t <= 5.2e-124:
		tmp = k * (y2 * (y5 * (0.0 - y0)))
	elif t <= 6e+31:
		tmp = t_1
	else:
		tmp = c * ((t * i) * z)
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(k * Float64(y * Float64(b * Float64(0.0 - y4))))
	tmp = 0.0
	if (t <= -2.25e+221)
		tmp = Float64(-Float64(i * Float64(j * Float64(y5 * t))));
	elseif (t <= -5.8e-59)
		tmp = Float64(Float64(k * y1) * Float64(y2 * y4));
	elseif (t <= -1.82e-202)
		tmp = t_1;
	elseif (t <= 5.2e-124)
		tmp = Float64(k * Float64(y2 * Float64(y5 * Float64(0.0 - y0))));
	elseif (t <= 6e+31)
		tmp = t_1;
	else
		tmp = Float64(c * Float64(Float64(t * i) * z));
	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 * (y * (b * (0.0 - y4)));
	tmp = 0.0;
	if (t <= -2.25e+221)
		tmp = -(i * (j * (y5 * t)));
	elseif (t <= -5.8e-59)
		tmp = (k * y1) * (y2 * y4);
	elseif (t <= -1.82e-202)
		tmp = t_1;
	elseif (t <= 5.2e-124)
		tmp = k * (y2 * (y5 * (0.0 - y0)));
	elseif (t <= 6e+31)
		tmp = t_1;
	else
		tmp = c * ((t * i) * z);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(k * N[(y * N[(b * N[(0.0 - y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -2.25e+221], (-N[(i * N[(j * N[(y5 * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), If[LessEqual[t, -5.8e-59], N[(N[(k * y1), $MachinePrecision] * N[(y2 * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.82e-202], t$95$1, If[LessEqual[t, 5.2e-124], N[(k * N[(y2 * N[(y5 * N[(0.0 - y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 6e+31], t$95$1, N[(c * N[(N[(t * i), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := k \cdot \left(y \cdot \left(b \cdot \left(0 - y4\right)\right)\right)\\
\mathbf{if}\;t \leq -2.25 \cdot 10^{+221}:\\
\;\;\;\;-i \cdot \left(j \cdot \left(y5 \cdot t\right)\right)\\

\mathbf{elif}\;t \leq -5.8 \cdot 10^{-59}:\\
\;\;\;\;\left(k \cdot y1\right) \cdot \left(y2 \cdot y4\right)\\

\mathbf{elif}\;t \leq -1.82 \cdot 10^{-202}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;t \leq 5.2 \cdot 10^{-124}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y5 \cdot \left(0 - y0\right)\right)\right)\\

\mathbf{elif}\;t \leq 6 \cdot 10^{+31}:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;c \cdot \left(\left(t \cdot i\right) \cdot z\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if t < -2.2500000000000001e221

    1. Initial program 23.0%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around 0 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in j around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if -2.2500000000000001e221 < t < -5.80000000000000033e-59

    1. Initial program 26.5%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y1 around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if -5.80000000000000033e-59 < t < -1.8200000000000001e-202 or 5.1999999999999999e-124 < t < 5.99999999999999978e31

    1. Initial program 35.3%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in i around 0 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if -1.8200000000000001e-202 < t < 5.1999999999999999e-124

    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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y1 around 0 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if 5.99999999999999978e31 < t

    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 i around -inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around 0 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in z around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]
  3. Recombined 5 regimes into one program.
  4. Add Preprocessing

Alternative 30: 20.5% accurate, 2.8× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := k \cdot \left(y \cdot \left(b \cdot \left(0 - y4\right)\right)\right)\\ \mathbf{if}\;t \leq -2.4 \cdot 10^{+221}:\\ \;\;\;\;-i \cdot \left(j \cdot \left(y5 \cdot t\right)\right)\\ \mathbf{elif}\;t \leq -1 \cdot 10^{-68}:\\ \;\;\;\;\left(k \cdot y1\right) \cdot \left(y2 \cdot y4\right)\\ \mathbf{elif}\;t \leq -8.6 \cdot 10^{-206}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq 6.6 \cdot 10^{-124}:\\ \;\;\;\;\left(a \cdot b\right) \cdot \left(x \cdot y\right)\\ \mathbf{elif}\;t \leq 10^{+32}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(\left(t \cdot i\right) \cdot z\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 (* y (* b (- 0.0 y4))))))
   (if (<= t -2.4e+221)
     (- (* i (* j (* y5 t))))
     (if (<= t -1e-68)
       (* (* k y1) (* y2 y4))
       (if (<= t -8.6e-206)
         t_1
         (if (<= t 6.6e-124)
           (* (* a b) (* x y))
           (if (<= t 1e+32) t_1 (* c (* (* t i) z)))))))))
double code(double x, double y, double z, double t, double a, double 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 * (y * (b * (0.0 - y4)));
	double tmp;
	if (t <= -2.4e+221) {
		tmp = -(i * (j * (y5 * t)));
	} else if (t <= -1e-68) {
		tmp = (k * y1) * (y2 * y4);
	} else if (t <= -8.6e-206) {
		tmp = t_1;
	} else if (t <= 6.6e-124) {
		tmp = (a * b) * (x * y);
	} else if (t <= 1e+32) {
		tmp = t_1;
	} else {
		tmp = c * ((t * i) * z);
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = k * (y * (b * (0.0d0 - y4)))
    if (t <= (-2.4d+221)) then
        tmp = -(i * (j * (y5 * t)))
    else if (t <= (-1d-68)) then
        tmp = (k * y1) * (y2 * y4)
    else if (t <= (-8.6d-206)) then
        tmp = t_1
    else if (t <= 6.6d-124) then
        tmp = (a * b) * (x * y)
    else if (t <= 1d+32) then
        tmp = t_1
    else
        tmp = c * ((t * i) * z)
    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 * (y * (b * (0.0 - y4)));
	double tmp;
	if (t <= -2.4e+221) {
		tmp = -(i * (j * (y5 * t)));
	} else if (t <= -1e-68) {
		tmp = (k * y1) * (y2 * y4);
	} else if (t <= -8.6e-206) {
		tmp = t_1;
	} else if (t <= 6.6e-124) {
		tmp = (a * b) * (x * y);
	} else if (t <= 1e+32) {
		tmp = t_1;
	} else {
		tmp = c * ((t * i) * z);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = k * (y * (b * (0.0 - y4)))
	tmp = 0
	if t <= -2.4e+221:
		tmp = -(i * (j * (y5 * t)))
	elif t <= -1e-68:
		tmp = (k * y1) * (y2 * y4)
	elif t <= -8.6e-206:
		tmp = t_1
	elif t <= 6.6e-124:
		tmp = (a * b) * (x * y)
	elif t <= 1e+32:
		tmp = t_1
	else:
		tmp = c * ((t * i) * z)
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(k * Float64(y * Float64(b * Float64(0.0 - y4))))
	tmp = 0.0
	if (t <= -2.4e+221)
		tmp = Float64(-Float64(i * Float64(j * Float64(y5 * t))));
	elseif (t <= -1e-68)
		tmp = Float64(Float64(k * y1) * Float64(y2 * y4));
	elseif (t <= -8.6e-206)
		tmp = t_1;
	elseif (t <= 6.6e-124)
		tmp = Float64(Float64(a * b) * Float64(x * y));
	elseif (t <= 1e+32)
		tmp = t_1;
	else
		tmp = Float64(c * Float64(Float64(t * i) * z));
	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 * (y * (b * (0.0 - y4)));
	tmp = 0.0;
	if (t <= -2.4e+221)
		tmp = -(i * (j * (y5 * t)));
	elseif (t <= -1e-68)
		tmp = (k * y1) * (y2 * y4);
	elseif (t <= -8.6e-206)
		tmp = t_1;
	elseif (t <= 6.6e-124)
		tmp = (a * b) * (x * y);
	elseif (t <= 1e+32)
		tmp = t_1;
	else
		tmp = c * ((t * i) * z);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(k * N[(y * N[(b * N[(0.0 - y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -2.4e+221], (-N[(i * N[(j * N[(y5 * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), If[LessEqual[t, -1e-68], N[(N[(k * y1), $MachinePrecision] * N[(y2 * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -8.6e-206], t$95$1, If[LessEqual[t, 6.6e-124], N[(N[(a * b), $MachinePrecision] * N[(x * y), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1e+32], t$95$1, N[(c * N[(N[(t * i), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := k \cdot \left(y \cdot \left(b \cdot \left(0 - y4\right)\right)\right)\\
\mathbf{if}\;t \leq -2.4 \cdot 10^{+221}:\\
\;\;\;\;-i \cdot \left(j \cdot \left(y5 \cdot t\right)\right)\\

\mathbf{elif}\;t \leq -1 \cdot 10^{-68}:\\
\;\;\;\;\left(k \cdot y1\right) \cdot \left(y2 \cdot y4\right)\\

\mathbf{elif}\;t \leq -8.6 \cdot 10^{-206}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;t \leq 6.6 \cdot 10^{-124}:\\
\;\;\;\;\left(a \cdot b\right) \cdot \left(x \cdot y\right)\\

\mathbf{elif}\;t \leq 10^{+32}:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;c \cdot \left(\left(t \cdot i\right) \cdot z\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if t < -2.40000000000000019e221

    1. Initial program 23.0%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around 0 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in j around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if -2.40000000000000019e221 < t < -1.00000000000000007e-68

    1. Initial program 26.5%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y1 around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if -1.00000000000000007e-68 < t < -8.6000000000000005e-206 or 6.59999999999999969e-124 < t < 1.00000000000000005e32

    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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in i around 0 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if -8.6000000000000005e-206 < t < 6.59999999999999969e-124

    1. Initial program 30.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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around -inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y3 around 0 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if 1.00000000000000005e32 < t

    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 i around -inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around 0 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in z around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]
  3. Recombined 5 regimes into one program.
  4. Add Preprocessing

Alternative 31: 29.9% accurate, 3.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := i \cdot \left(t \cdot \left(c \cdot z - j \cdot y5\right)\right)\\ \mathbf{if}\;j \leq -8.6 \cdot 10^{+21}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;j \leq -2.4 \cdot 10^{-256}:\\ \;\;\;\;k \cdot \left(b \cdot \left(y0 \cdot z - y \cdot y4\right)\right)\\ \mathbf{elif}\;j \leq 3.1 \cdot 10^{-271}:\\ \;\;\;\;i \cdot \left(y \cdot \left(k \cdot y5 - c \cdot x\right)\right)\\ \mathbf{elif}\;j \leq 1.35 \cdot 10^{+60}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - b \cdot z\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 (* i (* t (- (* c z) (* j y5))))))
   (if (<= j -8.6e+21)
     t_1
     (if (<= j -2.4e-256)
       (* k (* b (- (* y0 z) (* y y4))))
       (if (<= j 3.1e-271)
         (* i (* y (- (* k y5) (* c x))))
         (if (<= j 1.35e+60) (* a (* t (- (* y2 y5) (* b z)))) t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = i * (t * ((c * z) - (j * y5)));
	double tmp;
	if (j <= -8.6e+21) {
		tmp = t_1;
	} else if (j <= -2.4e-256) {
		tmp = k * (b * ((y0 * z) - (y * y4)));
	} else if (j <= 3.1e-271) {
		tmp = i * (y * ((k * y5) - (c * x)));
	} else if (j <= 1.35e+60) {
		tmp = a * (t * ((y2 * y5) - (b * z)));
	} 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 = i * (t * ((c * z) - (j * y5)))
    if (j <= (-8.6d+21)) then
        tmp = t_1
    else if (j <= (-2.4d-256)) then
        tmp = k * (b * ((y0 * z) - (y * y4)))
    else if (j <= 3.1d-271) then
        tmp = i * (y * ((k * y5) - (c * x)))
    else if (j <= 1.35d+60) then
        tmp = a * (t * ((y2 * y5) - (b * z)))
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = i * (t * ((c * z) - (j * y5)));
	double tmp;
	if (j <= -8.6e+21) {
		tmp = t_1;
	} else if (j <= -2.4e-256) {
		tmp = k * (b * ((y0 * z) - (y * y4)));
	} else if (j <= 3.1e-271) {
		tmp = i * (y * ((k * y5) - (c * x)));
	} else if (j <= 1.35e+60) {
		tmp = a * (t * ((y2 * y5) - (b * z)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = i * (t * ((c * z) - (j * y5)))
	tmp = 0
	if j <= -8.6e+21:
		tmp = t_1
	elif j <= -2.4e-256:
		tmp = k * (b * ((y0 * z) - (y * y4)))
	elif j <= 3.1e-271:
		tmp = i * (y * ((k * y5) - (c * x)))
	elif j <= 1.35e+60:
		tmp = a * (t * ((y2 * y5) - (b * z)))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(i * Float64(t * Float64(Float64(c * z) - Float64(j * y5))))
	tmp = 0.0
	if (j <= -8.6e+21)
		tmp = t_1;
	elseif (j <= -2.4e-256)
		tmp = Float64(k * Float64(b * Float64(Float64(y0 * z) - Float64(y * y4))));
	elseif (j <= 3.1e-271)
		tmp = Float64(i * Float64(y * Float64(Float64(k * y5) - Float64(c * x))));
	elseif (j <= 1.35e+60)
		tmp = Float64(a * Float64(t * Float64(Float64(y2 * y5) - Float64(b * z))));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = i * (t * ((c * z) - (j * y5)));
	tmp = 0.0;
	if (j <= -8.6e+21)
		tmp = t_1;
	elseif (j <= -2.4e-256)
		tmp = k * (b * ((y0 * z) - (y * y4)));
	elseif (j <= 3.1e-271)
		tmp = i * (y * ((k * y5) - (c * x)));
	elseif (j <= 1.35e+60)
		tmp = a * (t * ((y2 * y5) - (b * z)));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(i * N[(t * N[(N[(c * z), $MachinePrecision] - N[(j * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -8.6e+21], t$95$1, If[LessEqual[j, -2.4e-256], N[(k * N[(b * N[(N[(y0 * z), $MachinePrecision] - N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3.1e-271], N[(i * N[(y * N[(N[(k * y5), $MachinePrecision] - N[(c * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.35e+60], N[(a * N[(t * N[(N[(y2 * y5), $MachinePrecision] - N[(b * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := i \cdot \left(t \cdot \left(c \cdot z - j \cdot y5\right)\right)\\
\mathbf{if}\;j \leq -8.6 \cdot 10^{+21}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;j \leq -2.4 \cdot 10^{-256}:\\
\;\;\;\;k \cdot \left(b \cdot \left(y0 \cdot z - y \cdot y4\right)\right)\\

\mathbf{elif}\;j \leq 3.1 \cdot 10^{-271}:\\
\;\;\;\;i \cdot \left(y \cdot \left(k \cdot y5 - c \cdot x\right)\right)\\

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if j < -8.6e21 or 1.35e60 < j

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in t around -inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -8.6e21 < j < -2.3999999999999999e-256

    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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in b around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -2.3999999999999999e-256 < j < 3.0999999999999999e-271

    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 i around -inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around -inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 3.0999999999999999e-271 < j < 1.35e60

    1. Initial program 44.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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in t around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
  3. Recombined 4 regimes into one program.
  4. Add Preprocessing

Alternative 32: 29.9% accurate, 3.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \left(t \cdot \left(y2 \cdot y5 - b \cdot z\right)\right)\\ t_2 := i \cdot \left(t \cdot \left(c \cdot z - j \cdot y5\right)\right)\\ \mathbf{if}\;j \leq -1.6 \cdot 10^{+16}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;j \leq -4.8 \cdot 10^{-306}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;j \leq 2 \cdot 10^{-272}:\\ \;\;\;\;i \cdot \left(y \cdot \left(k \cdot y5 - c \cdot x\right)\right)\\ \mathbf{elif}\;j \leq 1.25 \cdot 10^{+60}:\\ \;\;\;\;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 (* t (- (* y2 y5) (* b z)))))
        (t_2 (* i (* t (- (* c z) (* j y5))))))
   (if (<= j -1.6e+16)
     t_2
     (if (<= j -4.8e-306)
       t_1
       (if (<= j 2e-272)
         (* i (* y (- (* k y5) (* c x))))
         (if (<= j 1.25e+60) 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 * (t * ((y2 * y5) - (b * z)));
	double t_2 = i * (t * ((c * z) - (j * y5)));
	double tmp;
	if (j <= -1.6e+16) {
		tmp = t_2;
	} else if (j <= -4.8e-306) {
		tmp = t_1;
	} else if (j <= 2e-272) {
		tmp = i * (y * ((k * y5) - (c * x)));
	} else if (j <= 1.25e+60) {
		tmp = t_1;
	} else {
		tmp = t_2;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = a * (t * ((y2 * y5) - (b * z)))
    t_2 = i * (t * ((c * z) - (j * y5)))
    if (j <= (-1.6d+16)) then
        tmp = t_2
    else if (j <= (-4.8d-306)) then
        tmp = t_1
    else if (j <= 2d-272) then
        tmp = i * (y * ((k * y5) - (c * x)))
    else if (j <= 1.25d+60) 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 * (t * ((y2 * y5) - (b * z)));
	double t_2 = i * (t * ((c * z) - (j * y5)));
	double tmp;
	if (j <= -1.6e+16) {
		tmp = t_2;
	} else if (j <= -4.8e-306) {
		tmp = t_1;
	} else if (j <= 2e-272) {
		tmp = i * (y * ((k * y5) - (c * x)));
	} else if (j <= 1.25e+60) {
		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 * (t * ((y2 * y5) - (b * z)))
	t_2 = i * (t * ((c * z) - (j * y5)))
	tmp = 0
	if j <= -1.6e+16:
		tmp = t_2
	elif j <= -4.8e-306:
		tmp = t_1
	elif j <= 2e-272:
		tmp = i * (y * ((k * y5) - (c * x)))
	elif j <= 1.25e+60:
		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(t * Float64(Float64(y2 * y5) - Float64(b * z))))
	t_2 = Float64(i * Float64(t * Float64(Float64(c * z) - Float64(j * y5))))
	tmp = 0.0
	if (j <= -1.6e+16)
		tmp = t_2;
	elseif (j <= -4.8e-306)
		tmp = t_1;
	elseif (j <= 2e-272)
		tmp = Float64(i * Float64(y * Float64(Float64(k * y5) - Float64(c * x))));
	elseif (j <= 1.25e+60)
		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 * (t * ((y2 * y5) - (b * z)));
	t_2 = i * (t * ((c * z) - (j * y5)));
	tmp = 0.0;
	if (j <= -1.6e+16)
		tmp = t_2;
	elseif (j <= -4.8e-306)
		tmp = t_1;
	elseif (j <= 2e-272)
		tmp = i * (y * ((k * y5) - (c * x)));
	elseif (j <= 1.25e+60)
		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[(t * N[(N[(y2 * y5), $MachinePrecision] - N[(b * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(i * N[(t * N[(N[(c * z), $MachinePrecision] - N[(j * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -1.6e+16], t$95$2, If[LessEqual[j, -4.8e-306], t$95$1, If[LessEqual[j, 2e-272], N[(i * N[(y * N[(N[(k * y5), $MachinePrecision] - N[(c * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.25e+60], t$95$1, t$95$2]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;j \leq -4.8 \cdot 10^{-306}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;j \leq 2 \cdot 10^{-272}:\\
\;\;\;\;i \cdot \left(y \cdot \left(k \cdot y5 - c \cdot x\right)\right)\\

\mathbf{elif}\;j \leq 1.25 \cdot 10^{+60}:\\
\;\;\;\;t\_1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if j < -1.6e16 or 1.24999999999999994e60 < j

    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 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in t around -inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -1.6e16 < j < -4.7999999999999999e-306 or 1.99999999999999986e-272 < j < 1.24999999999999994e60

    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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in t around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -4.7999999999999999e-306 < j < 1.99999999999999986e-272

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around -inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
  3. Recombined 3 regimes into one program.
  4. Add Preprocessing

Alternative 33: 30.5% accurate, 3.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \left(t \cdot \left(y2 \cdot y5 - b \cdot z\right)\right)\\ \mathbf{if}\;t \leq -3.4 \cdot 10^{+90}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq -4.7 \cdot 10^{-67}:\\ \;\;\;\;\left(k \cdot y1\right) \cdot \left(y2 \cdot y4\right)\\ \mathbf{elif}\;t \leq -4.1 \cdot 10^{-204}:\\ \;\;\;\;k \cdot \left(y \cdot \left(b \cdot \left(0 - y4\right)\right)\right)\\ \mathbf{elif}\;t \leq 6 \cdot 10^{+130}:\\ \;\;\;\;a \cdot \left(y \cdot \left(b \cdot x - y3 \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 (* a (* t (- (* y2 y5) (* b z))))))
   (if (<= t -3.4e+90)
     t_1
     (if (<= t -4.7e-67)
       (* (* k y1) (* y2 y4))
       (if (<= t -4.1e-204)
         (* k (* y (* b (- 0.0 y4))))
         (if (<= t 6e+130) (* a (* y (- (* b x) (* y3 y5)))) t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = a * (t * ((y2 * y5) - (b * z)));
	double tmp;
	if (t <= -3.4e+90) {
		tmp = t_1;
	} else if (t <= -4.7e-67) {
		tmp = (k * y1) * (y2 * y4);
	} else if (t <= -4.1e-204) {
		tmp = k * (y * (b * (0.0 - y4)));
	} else if (t <= 6e+130) {
		tmp = a * (y * ((b * x) - (y3 * y5)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: tmp
    t_1 = a * (t * ((y2 * y5) - (b * z)))
    if (t <= (-3.4d+90)) then
        tmp = t_1
    else if (t <= (-4.7d-67)) then
        tmp = (k * y1) * (y2 * y4)
    else if (t <= (-4.1d-204)) then
        tmp = k * (y * (b * (0.0d0 - y4)))
    else if (t <= 6d+130) then
        tmp = a * (y * ((b * x) - (y3 * y5)))
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = a * (t * ((y2 * y5) - (b * z)));
	double tmp;
	if (t <= -3.4e+90) {
		tmp = t_1;
	} else if (t <= -4.7e-67) {
		tmp = (k * y1) * (y2 * y4);
	} else if (t <= -4.1e-204) {
		tmp = k * (y * (b * (0.0 - y4)));
	} else if (t <= 6e+130) {
		tmp = a * (y * ((b * x) - (y3 * y5)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = a * (t * ((y2 * y5) - (b * z)))
	tmp = 0
	if t <= -3.4e+90:
		tmp = t_1
	elif t <= -4.7e-67:
		tmp = (k * y1) * (y2 * y4)
	elif t <= -4.1e-204:
		tmp = k * (y * (b * (0.0 - y4)))
	elif t <= 6e+130:
		tmp = a * (y * ((b * x) - (y3 * y5)))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(a * Float64(t * Float64(Float64(y2 * y5) - Float64(b * z))))
	tmp = 0.0
	if (t <= -3.4e+90)
		tmp = t_1;
	elseif (t <= -4.7e-67)
		tmp = Float64(Float64(k * y1) * Float64(y2 * y4));
	elseif (t <= -4.1e-204)
		tmp = Float64(k * Float64(y * Float64(b * Float64(0.0 - y4))));
	elseif (t <= 6e+130)
		tmp = Float64(a * Float64(y * Float64(Float64(b * x) - Float64(y3 * y5))));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = a * (t * ((y2 * y5) - (b * z)));
	tmp = 0.0;
	if (t <= -3.4e+90)
		tmp = t_1;
	elseif (t <= -4.7e-67)
		tmp = (k * y1) * (y2 * y4);
	elseif (t <= -4.1e-204)
		tmp = k * (y * (b * (0.0 - y4)));
	elseif (t <= 6e+130)
		tmp = a * (y * ((b * x) - (y3 * y5)));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(t * N[(N[(y2 * y5), $MachinePrecision] - N[(b * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -3.4e+90], t$95$1, If[LessEqual[t, -4.7e-67], N[(N[(k * y1), $MachinePrecision] * N[(y2 * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -4.1e-204], N[(k * N[(y * N[(b * N[(0.0 - y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 6e+130], N[(a * N[(y * N[(N[(b * x), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := a \cdot \left(t \cdot \left(y2 \cdot y5 - b \cdot z\right)\right)\\
\mathbf{if}\;t \leq -3.4 \cdot 10^{+90}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;t \leq -4.7 \cdot 10^{-67}:\\
\;\;\;\;\left(k \cdot y1\right) \cdot \left(y2 \cdot y4\right)\\

\mathbf{elif}\;t \leq -4.1 \cdot 10^{-204}:\\
\;\;\;\;k \cdot \left(y \cdot \left(b \cdot \left(0 - y4\right)\right)\right)\\

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if t < -3.40000000000000018e90 or 5.9999999999999999e130 < t

    1. Initial program 33.4%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in t around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -3.40000000000000018e90 < t < -4.70000000000000004e-67

    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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y1 around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if -4.70000000000000004e-67 < t < -4.1000000000000001e-204

    1. Initial program 42.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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in i around 0 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if -4.1000000000000001e-204 < t < 5.9999999999999999e130

    1. Initial program 29.2%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
  3. Recombined 4 regimes into one program.
  4. Add Preprocessing

Alternative 34: 30.0% accurate, 3.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y1 \leq -1.05 \cdot 10^{-148}:\\ \;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\ \mathbf{elif}\;y1 \leq 7.4 \cdot 10^{-277}:\\ \;\;\;\;k \cdot \left(b \cdot \left(y0 \cdot z - y \cdot y4\right)\right)\\ \mathbf{elif}\;y1 \leq 1.95 \cdot 10^{-131}:\\ \;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - b \cdot y\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 (<= y1 -1.05e-148)
   (* k (* y2 (- (* y1 y4) (* y0 y5))))
   (if (<= y1 7.4e-277)
     (* k (* b (- (* y0 z) (* y y4))))
     (if (<= y1 1.95e-131)
       (* c (* y0 (- (* x y2) (* y3 z))))
       (* k (* y4 (- (* y1 y2) (* b y))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (y1 <= -1.05e-148) {
		tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
	} else if (y1 <= 7.4e-277) {
		tmp = k * (b * ((y0 * z) - (y * y4)));
	} else if (y1 <= 1.95e-131) {
		tmp = c * (y0 * ((x * y2) - (y3 * z)));
	} else {
		tmp = k * (y4 * ((y1 * y2) - (b * y)));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: tmp
    if (y1 <= (-1.05d-148)) then
        tmp = k * (y2 * ((y1 * y4) - (y0 * y5)))
    else if (y1 <= 7.4d-277) then
        tmp = k * (b * ((y0 * z) - (y * y4)))
    else if (y1 <= 1.95d-131) then
        tmp = c * (y0 * ((x * y2) - (y3 * z)))
    else
        tmp = k * (y4 * ((y1 * y2) - (b * y)))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (y1 <= -1.05e-148) {
		tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
	} else if (y1 <= 7.4e-277) {
		tmp = k * (b * ((y0 * z) - (y * y4)));
	} else if (y1 <= 1.95e-131) {
		tmp = c * (y0 * ((x * y2) - (y3 * z)));
	} else {
		tmp = k * (y4 * ((y1 * y2) - (b * y)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if y1 <= -1.05e-148:
		tmp = k * (y2 * ((y1 * y4) - (y0 * y5)))
	elif y1 <= 7.4e-277:
		tmp = k * (b * ((y0 * z) - (y * y4)))
	elif y1 <= 1.95e-131:
		tmp = c * (y0 * ((x * y2) - (y3 * z)))
	else:
		tmp = k * (y4 * ((y1 * y2) - (b * y)))
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (y1 <= -1.05e-148)
		tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5))));
	elseif (y1 <= 7.4e-277)
		tmp = Float64(k * Float64(b * Float64(Float64(y0 * z) - Float64(y * y4))));
	elseif (y1 <= 1.95e-131)
		tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(y3 * z))));
	else
		tmp = Float64(k * Float64(y4 * Float64(Float64(y1 * y2) - Float64(b * y))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0;
	if (y1 <= -1.05e-148)
		tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
	elseif (y1 <= 7.4e-277)
		tmp = k * (b * ((y0 * z) - (y * y4)));
	elseif (y1 <= 1.95e-131)
		tmp = c * (y0 * ((x * y2) - (y3 * z)));
	else
		tmp = k * (y4 * ((y1 * y2) - (b * y)));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y1, -1.05e-148], N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 7.4e-277], N[(k * N[(b * N[(N[(y0 * z), $MachinePrecision] - N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.95e-131], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(y3 * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(k * N[(y4 * N[(N[(y1 * y2), $MachinePrecision] - N[(b * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;y1 \leq -1.05 \cdot 10^{-148}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\

\mathbf{elif}\;y1 \leq 7.4 \cdot 10^{-277}:\\
\;\;\;\;k \cdot \left(b \cdot \left(y0 \cdot z - y \cdot y4\right)\right)\\

\mathbf{elif}\;y1 \leq 1.95 \cdot 10^{-131}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\\

\mathbf{else}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - b \cdot y\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if y1 < -1.05e-148

    1. Initial program 35.8%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if -1.05e-148 < y1 < 7.3999999999999997e-277

    1. Initial program 33.2%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in b around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 7.3999999999999997e-277 < y1 < 1.9500000000000001e-131

    1. Initial program 37.7%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in c around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]

    if 1.9500000000000001e-131 < y1

    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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y4 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
  3. Recombined 4 regimes into one program.
  4. Add Preprocessing

Alternative 35: 20.2% accurate, 4.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(a \cdot b\right) \cdot \left(x \cdot y\right)\\ \mathbf{if}\;b \leq -6.4 \cdot 10^{+93}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq 2.1 \cdot 10^{+17}:\\ \;\;\;\;\left(k \cdot y1\right) \cdot \left(y2 \cdot y4\right)\\ \mathbf{elif}\;b \leq 2.35 \cdot 10^{+182}:\\ \;\;\;\;-\left(\left(c \cdot i\right) \cdot y\right) \cdot x\\ \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) (* x y))))
   (if (<= b -6.4e+93)
     t_1
     (if (<= b 2.1e+17)
       (* (* k y1) (* y2 y4))
       (if (<= b 2.35e+182) (- (* (* (* c i) y) x)) 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) * (x * y);
	double tmp;
	if (b <= -6.4e+93) {
		tmp = t_1;
	} else if (b <= 2.1e+17) {
		tmp = (k * y1) * (y2 * y4);
	} else if (b <= 2.35e+182) {
		tmp = -(((c * i) * y) * x);
	} 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 * b) * (x * y)
    if (b <= (-6.4d+93)) then
        tmp = t_1
    else if (b <= 2.1d+17) then
        tmp = (k * y1) * (y2 * y4)
    else if (b <= 2.35d+182) then
        tmp = -(((c * i) * y) * x)
    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) * (x * y);
	double tmp;
	if (b <= -6.4e+93) {
		tmp = t_1;
	} else if (b <= 2.1e+17) {
		tmp = (k * y1) * (y2 * y4);
	} else if (b <= 2.35e+182) {
		tmp = -(((c * i) * y) * x);
	} 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) * (x * y)
	tmp = 0
	if b <= -6.4e+93:
		tmp = t_1
	elif b <= 2.1e+17:
		tmp = (k * y1) * (y2 * y4)
	elif b <= 2.35e+182:
		tmp = -(((c * i) * y) * x)
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(Float64(a * b) * Float64(x * y))
	tmp = 0.0
	if (b <= -6.4e+93)
		tmp = t_1;
	elseif (b <= 2.1e+17)
		tmp = Float64(Float64(k * y1) * Float64(y2 * y4));
	elseif (b <= 2.35e+182)
		tmp = Float64(-Float64(Float64(Float64(c * i) * y) * x));
	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) * (x * y);
	tmp = 0.0;
	if (b <= -6.4e+93)
		tmp = t_1;
	elseif (b <= 2.1e+17)
		tmp = (k * y1) * (y2 * y4);
	elseif (b <= 2.35e+182)
		tmp = -(((c * i) * y) * x);
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(a * b), $MachinePrecision] * N[(x * y), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -6.4e+93], t$95$1, If[LessEqual[b, 2.1e+17], N[(N[(k * y1), $MachinePrecision] * N[(y2 * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 2.35e+182], (-N[(N[(N[(c * i), $MachinePrecision] * y), $MachinePrecision] * x), $MachinePrecision]), t$95$1]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := \left(a \cdot b\right) \cdot \left(x \cdot y\right)\\
\mathbf{if}\;b \leq -6.4 \cdot 10^{+93}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;b \leq 2.1 \cdot 10^{+17}:\\
\;\;\;\;\left(k \cdot y1\right) \cdot \left(y2 \cdot y4\right)\\

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if b < -6.4000000000000003e93 or 2.34999999999999992e182 < b

    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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around -inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y3 around 0 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if -6.4000000000000003e93 < b < 2.1e17

    1. Initial program 36.0%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y1 around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if 2.1e17 < b < 2.34999999999999992e182

    1. Initial program 37.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 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around 0 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in x around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]
    9. Applied egg-rr0

      \[\leadsto expr\]
  3. Recombined 3 regimes into one program.
  4. Add Preprocessing

Alternative 36: 20.2% accurate, 4.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(a \cdot b\right) \cdot \left(x \cdot y\right)\\ \mathbf{if}\;b \leq -9 \cdot 10^{+93}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq 10^{+65}:\\ \;\;\;\;\left(k \cdot y1\right) \cdot \left(y2 \cdot y4\right)\\ \mathbf{elif}\;b \leq 1.08 \cdot 10^{+182}:\\ \;\;\;\;c \cdot \left(\left(t \cdot i\right) \cdot z\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 b) (* x y))))
   (if (<= b -9e+93)
     t_1
     (if (<= b 1e+65)
       (* (* k y1) (* y2 y4))
       (if (<= b 1.08e+182) (* c (* (* t i) z)) 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) * (x * y);
	double tmp;
	if (b <= -9e+93) {
		tmp = t_1;
	} else if (b <= 1e+65) {
		tmp = (k * y1) * (y2 * y4);
	} else if (b <= 1.08e+182) {
		tmp = c * ((t * i) * z);
	} 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 * b) * (x * y)
    if (b <= (-9d+93)) then
        tmp = t_1
    else if (b <= 1d+65) then
        tmp = (k * y1) * (y2 * y4)
    else if (b <= 1.08d+182) then
        tmp = c * ((t * i) * z)
    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) * (x * y);
	double tmp;
	if (b <= -9e+93) {
		tmp = t_1;
	} else if (b <= 1e+65) {
		tmp = (k * y1) * (y2 * y4);
	} else if (b <= 1.08e+182) {
		tmp = c * ((t * i) * z);
	} 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) * (x * y)
	tmp = 0
	if b <= -9e+93:
		tmp = t_1
	elif b <= 1e+65:
		tmp = (k * y1) * (y2 * y4)
	elif b <= 1.08e+182:
		tmp = c * ((t * i) * z)
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(Float64(a * b) * Float64(x * y))
	tmp = 0.0
	if (b <= -9e+93)
		tmp = t_1;
	elseif (b <= 1e+65)
		tmp = Float64(Float64(k * y1) * Float64(y2 * y4));
	elseif (b <= 1.08e+182)
		tmp = Float64(c * Float64(Float64(t * i) * z));
	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) * (x * y);
	tmp = 0.0;
	if (b <= -9e+93)
		tmp = t_1;
	elseif (b <= 1e+65)
		tmp = (k * y1) * (y2 * y4);
	elseif (b <= 1.08e+182)
		tmp = c * ((t * i) * z);
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(a * b), $MachinePrecision] * N[(x * y), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -9e+93], t$95$1, If[LessEqual[b, 1e+65], N[(N[(k * y1), $MachinePrecision] * N[(y2 * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.08e+182], N[(c * N[(N[(t * i), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := \left(a \cdot b\right) \cdot \left(x \cdot y\right)\\
\mathbf{if}\;b \leq -9 \cdot 10^{+93}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;b \leq 10^{+65}:\\
\;\;\;\;\left(k \cdot y1\right) \cdot \left(y2 \cdot y4\right)\\

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if b < -8.99999999999999981e93 or 1.08000000000000003e182 < b

    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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around -inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y3 around 0 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if -8.99999999999999981e93 < b < 9.9999999999999999e64

    1. Initial program 37.1%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y1 around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if 9.9999999999999999e64 < b < 1.08000000000000003e182

    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 i around -inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around 0 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in z around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]
  3. Recombined 3 regimes into one program.
  4. Add Preprocessing

Alternative 37: 18.7% accurate, 4.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq -2.5 \cdot 10^{-143}:\\ \;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4\right)\right)\\ \mathbf{elif}\;t \leq 1.5 \cdot 10^{-127}:\\ \;\;\;\;\left(a \cdot b\right) \cdot \left(x \cdot y\right)\\ \mathbf{elif}\;t \leq 310:\\ \;\;\;\;i \cdot \left(k \cdot \left(y5 \cdot y\right)\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(\left(t \cdot i\right) \cdot z\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 (<= t -2.5e-143)
   (* k (* y2 (* y1 y4)))
   (if (<= t 1.5e-127)
     (* (* a b) (* x y))
     (if (<= t 310.0) (* i (* k (* y5 y))) (* c (* (* t i) z))))))
double code(double x, double y, double z, double t, double 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 (t <= -2.5e-143) {
		tmp = k * (y2 * (y1 * y4));
	} else if (t <= 1.5e-127) {
		tmp = (a * b) * (x * y);
	} else if (t <= 310.0) {
		tmp = i * (k * (y5 * y));
	} else {
		tmp = c * ((t * i) * z);
	}
	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 (t <= (-2.5d-143)) then
        tmp = k * (y2 * (y1 * y4))
    else if (t <= 1.5d-127) then
        tmp = (a * b) * (x * y)
    else if (t <= 310.0d0) then
        tmp = i * (k * (y5 * y))
    else
        tmp = c * ((t * i) * z)
    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 (t <= -2.5e-143) {
		tmp = k * (y2 * (y1 * y4));
	} else if (t <= 1.5e-127) {
		tmp = (a * b) * (x * y);
	} else if (t <= 310.0) {
		tmp = i * (k * (y5 * y));
	} else {
		tmp = c * ((t * i) * z);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if t <= -2.5e-143:
		tmp = k * (y2 * (y1 * y4))
	elif t <= 1.5e-127:
		tmp = (a * b) * (x * y)
	elif t <= 310.0:
		tmp = i * (k * (y5 * y))
	else:
		tmp = c * ((t * i) * z)
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (t <= -2.5e-143)
		tmp = Float64(k * Float64(y2 * Float64(y1 * y4)));
	elseif (t <= 1.5e-127)
		tmp = Float64(Float64(a * b) * Float64(x * y));
	elseif (t <= 310.0)
		tmp = Float64(i * Float64(k * Float64(y5 * y)));
	else
		tmp = Float64(c * Float64(Float64(t * i) * z));
	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 (t <= -2.5e-143)
		tmp = k * (y2 * (y1 * y4));
	elseif (t <= 1.5e-127)
		tmp = (a * b) * (x * y);
	elseif (t <= 310.0)
		tmp = i * (k * (y5 * y));
	else
		tmp = c * ((t * i) * z);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[t, -2.5e-143], N[(k * N[(y2 * N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.5e-127], N[(N[(a * b), $MachinePrecision] * N[(x * y), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 310.0], N[(i * N[(k * N[(y5 * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(N[(t * i), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;t \leq -2.5 \cdot 10^{-143}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4\right)\right)\\

\mathbf{elif}\;t \leq 1.5 \cdot 10^{-127}:\\
\;\;\;\;\left(a \cdot b\right) \cdot \left(x \cdot y\right)\\

\mathbf{elif}\;t \leq 310:\\
\;\;\;\;i \cdot \left(k \cdot \left(y5 \cdot y\right)\right)\\

\mathbf{else}:\\
\;\;\;\;c \cdot \left(\left(t \cdot i\right) \cdot z\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if t < -2.5000000000000001e-143

    1. Initial program 28.2%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y1 around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if -2.5000000000000001e-143 < t < 1.50000000000000004e-127

    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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around -inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y3 around 0 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if 1.50000000000000004e-127 < t < 310

    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 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around 0 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in k around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if 310 < t

    1. Initial program 35.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 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around 0 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in z around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]
  3. Recombined 4 regimes into one program.
  4. Add Preprocessing

Alternative 38: 19.0% accurate, 4.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq 1.22 \cdot 10^{-281}:\\ \;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4\right)\right)\\ \mathbf{elif}\;t \leq 2.05 \cdot 10^{-30}:\\ \;\;\;\;k \cdot \left(y \cdot \left(y5 \cdot i\right)\right)\\ \mathbf{elif}\;t \leq 4.2 \cdot 10^{+30}:\\ \;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(\left(t \cdot i\right) \cdot z\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 (<= t 1.22e-281)
   (* k (* y2 (* y1 y4)))
   (if (<= t 2.05e-30)
     (* k (* y (* y5 i)))
     (if (<= t 4.2e+30) (* k (* y1 (* y2 y4))) (* c (* (* t i) z))))))
double code(double x, double y, double z, double t, double 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 (t <= 1.22e-281) {
		tmp = k * (y2 * (y1 * y4));
	} else if (t <= 2.05e-30) {
		tmp = k * (y * (y5 * i));
	} else if (t <= 4.2e+30) {
		tmp = k * (y1 * (y2 * y4));
	} else {
		tmp = c * ((t * i) * z);
	}
	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 (t <= 1.22d-281) then
        tmp = k * (y2 * (y1 * y4))
    else if (t <= 2.05d-30) then
        tmp = k * (y * (y5 * i))
    else if (t <= 4.2d+30) then
        tmp = k * (y1 * (y2 * y4))
    else
        tmp = c * ((t * i) * z)
    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 (t <= 1.22e-281) {
		tmp = k * (y2 * (y1 * y4));
	} else if (t <= 2.05e-30) {
		tmp = k * (y * (y5 * i));
	} else if (t <= 4.2e+30) {
		tmp = k * (y1 * (y2 * y4));
	} else {
		tmp = c * ((t * i) * z);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if t <= 1.22e-281:
		tmp = k * (y2 * (y1 * y4))
	elif t <= 2.05e-30:
		tmp = k * (y * (y5 * i))
	elif t <= 4.2e+30:
		tmp = k * (y1 * (y2 * y4))
	else:
		tmp = c * ((t * i) * z)
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (t <= 1.22e-281)
		tmp = Float64(k * Float64(y2 * Float64(y1 * y4)));
	elseif (t <= 2.05e-30)
		tmp = Float64(k * Float64(y * Float64(y5 * i)));
	elseif (t <= 4.2e+30)
		tmp = Float64(k * Float64(y1 * Float64(y2 * y4)));
	else
		tmp = Float64(c * Float64(Float64(t * i) * z));
	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 (t <= 1.22e-281)
		tmp = k * (y2 * (y1 * y4));
	elseif (t <= 2.05e-30)
		tmp = k * (y * (y5 * i));
	elseif (t <= 4.2e+30)
		tmp = k * (y1 * (y2 * y4));
	else
		tmp = c * ((t * i) * z);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[t, 1.22e-281], N[(k * N[(y2 * N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.05e-30], N[(k * N[(y * N[(y5 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 4.2e+30], N[(k * N[(y1 * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(N[(t * i), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;t \leq 1.22 \cdot 10^{-281}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4\right)\right)\\

\mathbf{elif}\;t \leq 2.05 \cdot 10^{-30}:\\
\;\;\;\;k \cdot \left(y \cdot \left(y5 \cdot i\right)\right)\\

\mathbf{elif}\;t \leq 4.2 \cdot 10^{+30}:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\

\mathbf{else}:\\
\;\;\;\;c \cdot \left(\left(t \cdot i\right) \cdot z\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if t < 1.21999999999999996e-281

    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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y1 around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if 1.21999999999999996e-281 < t < 2.0500000000000002e-30

    1. Initial program 29.3%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in i around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if 2.0500000000000002e-30 < t < 4.2e30

    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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y1 around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if 4.2e30 < t

    1. Initial program 35.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 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around 0 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in z around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]
  3. Recombined 4 regimes into one program.
  4. Add Preprocessing

Alternative 39: 18.9% accurate, 4.3× speedup?

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

\\
\begin{array}{l}
t_1 := k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\
\mathbf{if}\;t \leq -9 \cdot 10^{-141}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;t \leq 2.2 \cdot 10^{-30}:\\
\;\;\;\;k \cdot \left(y \cdot \left(y5 \cdot i\right)\right)\\

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

\mathbf{else}:\\
\;\;\;\;c \cdot \left(\left(t \cdot i\right) \cdot z\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if t < -9.0000000000000001e-141 or 2.19999999999999983e-30 < t < 1.89999999999999985e29

    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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y1 around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if -9.0000000000000001e-141 < t < 2.19999999999999983e-30

    1. Initial program 34.1%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in i around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if 1.89999999999999985e29 < t

    1. Initial program 35.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 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around 0 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in z around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]
  3. Recombined 3 regimes into one program.
  4. Add Preprocessing

Alternative 40: 20.8% accurate, 5.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -1.65 \cdot 10^{+94}:\\ \;\;\;\;\left(a \cdot b\right) \cdot \left(x \cdot y\right)\\ \mathbf{elif}\;b \leq 2.6 \cdot 10^{+19}:\\ \;\;\;\;\left(k \cdot y1\right) \cdot \left(y2 \cdot y4\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(t \cdot \left(0 - z \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 (<= b -1.65e+94)
   (* (* a b) (* x y))
   (if (<= b 2.6e+19) (* (* k y1) (* y2 y4)) (* a (* t (- 0.0 (* z 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 (b <= -1.65e+94) {
		tmp = (a * b) * (x * y);
	} else if (b <= 2.6e+19) {
		tmp = (k * y1) * (y2 * y4);
	} else {
		tmp = a * (t * (0.0 - (z * 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 (b <= (-1.65d+94)) then
        tmp = (a * b) * (x * y)
    else if (b <= 2.6d+19) then
        tmp = (k * y1) * (y2 * y4)
    else
        tmp = a * (t * (0.0d0 - (z * 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 (b <= -1.65e+94) {
		tmp = (a * b) * (x * y);
	} else if (b <= 2.6e+19) {
		tmp = (k * y1) * (y2 * y4);
	} else {
		tmp = a * (t * (0.0 - (z * b)));
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if b <= -1.65e+94:
		tmp = (a * b) * (x * y)
	elif b <= 2.6e+19:
		tmp = (k * y1) * (y2 * y4)
	else:
		tmp = a * (t * (0.0 - (z * 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 (b <= -1.65e+94)
		tmp = Float64(Float64(a * b) * Float64(x * y));
	elseif (b <= 2.6e+19)
		tmp = Float64(Float64(k * y1) * Float64(y2 * y4));
	else
		tmp = Float64(a * Float64(t * Float64(0.0 - Float64(z * 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 (b <= -1.65e+94)
		tmp = (a * b) * (x * y);
	elseif (b <= 2.6e+19)
		tmp = (k * y1) * (y2 * y4);
	else
		tmp = a * (t * (0.0 - (z * 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[b, -1.65e+94], N[(N[(a * b), $MachinePrecision] * N[(x * y), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 2.6e+19], N[(N[(k * y1), $MachinePrecision] * N[(y2 * y4), $MachinePrecision]), $MachinePrecision], N[(a * N[(t * N[(0.0 - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;b \leq -1.65 \cdot 10^{+94}:\\
\;\;\;\;\left(a \cdot b\right) \cdot \left(x \cdot y\right)\\

\mathbf{elif}\;b \leq 2.6 \cdot 10^{+19}:\\
\;\;\;\;\left(k \cdot y1\right) \cdot \left(y2 \cdot y4\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if b < -1.65e94

    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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around -inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y3 around 0 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if -1.65e94 < b < 2.6e19

    1. Initial program 36.0%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y1 around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if 2.6e19 < b

    1. Initial program 33.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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in t around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y2 around 0 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]
  3. Recombined 3 regimes into one program.
  4. Add Preprocessing

Alternative 41: 21.2% accurate, 5.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq -5.4 \cdot 10^{+90}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\ \mathbf{elif}\;t \leq 1.45 \cdot 10^{-30}:\\ \;\;\;\;k \cdot \left(y \cdot \left(y5 \cdot i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(\left(t \cdot i\right) \cdot z\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 (<= t -5.4e+90)
   (* a (* t (* y2 y5)))
   (if (<= t 1.45e-30) (* k (* y (* y5 i))) (* c (* (* t i) z)))))
double code(double x, double y, double z, double t, double 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 (t <= -5.4e+90) {
		tmp = a * (t * (y2 * y5));
	} else if (t <= 1.45e-30) {
		tmp = k * (y * (y5 * i));
	} else {
		tmp = c * ((t * i) * z);
	}
	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 (t <= (-5.4d+90)) then
        tmp = a * (t * (y2 * y5))
    else if (t <= 1.45d-30) then
        tmp = k * (y * (y5 * i))
    else
        tmp = c * ((t * i) * z)
    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 (t <= -5.4e+90) {
		tmp = a * (t * (y2 * y5));
	} else if (t <= 1.45e-30) {
		tmp = k * (y * (y5 * i));
	} else {
		tmp = c * ((t * i) * z);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if t <= -5.4e+90:
		tmp = a * (t * (y2 * y5))
	elif t <= 1.45e-30:
		tmp = k * (y * (y5 * i))
	else:
		tmp = c * ((t * i) * z)
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (t <= -5.4e+90)
		tmp = Float64(a * Float64(t * Float64(y2 * y5)));
	elseif (t <= 1.45e-30)
		tmp = Float64(k * Float64(y * Float64(y5 * i)));
	else
		tmp = Float64(c * Float64(Float64(t * i) * z));
	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 (t <= -5.4e+90)
		tmp = a * (t * (y2 * y5));
	elseif (t <= 1.45e-30)
		tmp = k * (y * (y5 * i));
	else
		tmp = c * ((t * i) * z);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[t, -5.4e+90], N[(a * N[(t * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.45e-30], N[(k * N[(y * N[(y5 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(N[(t * i), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;t \leq -5.4 \cdot 10^{+90}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\

\mathbf{elif}\;t \leq 1.45 \cdot 10^{-30}:\\
\;\;\;\;k \cdot \left(y \cdot \left(y5 \cdot i\right)\right)\\

\mathbf{else}:\\
\;\;\;\;c \cdot \left(\left(t \cdot i\right) \cdot z\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if t < -5.4e90

    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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in t around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if -5.4e90 < t < 1.44999999999999995e-30

    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 k around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in i around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if 1.44999999999999995e-30 < t

    1. Initial program 35.3%

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around 0 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in z around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]
  3. Recombined 3 regimes into one program.
  4. Add Preprocessing

Alternative 42: 21.2% accurate, 5.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq -6.8 \cdot 10^{+90}:\\ \;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\ \mathbf{elif}\;t \leq 3.4 \cdot 10^{+20}:\\ \;\;\;\;i \cdot \left(k \cdot \left(y5 \cdot y\right)\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(\left(t \cdot i\right) \cdot z\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 (<= t -6.8e+90)
   (* a (* t (* y2 y5)))
   (if (<= t 3.4e+20) (* i (* k (* y5 y))) (* c (* (* t i) z)))))
double code(double x, double y, double z, double t, double 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 (t <= -6.8e+90) {
		tmp = a * (t * (y2 * y5));
	} else if (t <= 3.4e+20) {
		tmp = i * (k * (y5 * y));
	} else {
		tmp = c * ((t * i) * z);
	}
	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 (t <= (-6.8d+90)) then
        tmp = a * (t * (y2 * y5))
    else if (t <= 3.4d+20) then
        tmp = i * (k * (y5 * y))
    else
        tmp = c * ((t * i) * z)
    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 (t <= -6.8e+90) {
		tmp = a * (t * (y2 * y5));
	} else if (t <= 3.4e+20) {
		tmp = i * (k * (y5 * y));
	} else {
		tmp = c * ((t * i) * z);
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	tmp = 0
	if t <= -6.8e+90:
		tmp = a * (t * (y2 * y5))
	elif t <= 3.4e+20:
		tmp = i * (k * (y5 * y))
	else:
		tmp = c * ((t * i) * z)
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (t <= -6.8e+90)
		tmp = Float64(a * Float64(t * Float64(y2 * y5)));
	elseif (t <= 3.4e+20)
		tmp = Float64(i * Float64(k * Float64(y5 * y)));
	else
		tmp = Float64(c * Float64(Float64(t * i) * z));
	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 (t <= -6.8e+90)
		tmp = a * (t * (y2 * y5));
	elseif (t <= 3.4e+20)
		tmp = i * (k * (y5 * y));
	else
		tmp = c * ((t * i) * z);
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[t, -6.8e+90], N[(a * N[(t * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 3.4e+20], N[(i * N[(k * N[(y5 * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(N[(t * i), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;t \leq -6.8 \cdot 10^{+90}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\

\mathbf{elif}\;t \leq 3.4 \cdot 10^{+20}:\\
\;\;\;\;i \cdot \left(k \cdot \left(y5 \cdot y\right)\right)\\

\mathbf{else}:\\
\;\;\;\;c \cdot \left(\left(t \cdot i\right) \cdot z\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if t < -6.80000000000000036e90

    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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in t around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if -6.80000000000000036e90 < t < 3.4e20

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

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around 0 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in k around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if 3.4e20 < t

    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 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around 0 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in z around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]
  3. Recombined 3 regimes into one program.
  4. Add Preprocessing

Alternative 43: 20.3% accurate, 5.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(\left(t \cdot i\right) \cdot z\right)\\ \mathbf{if}\;z \leq -6.3 \cdot 10^{-68}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq 6 \cdot 10^{+70}:\\ \;\;\;\;a \cdot \left(t \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 (* (* t i) z))))
   (if (<= z -6.3e-68) t_1 (if (<= z 6e+70) (* a (* t (* 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 * ((t * i) * z);
	double tmp;
	if (z <= -6.3e-68) {
		tmp = t_1;
	} else if (z <= 6e+70) {
		tmp = a * (t * (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 * ((t * i) * z)
    if (z <= (-6.3d-68)) then
        tmp = t_1
    else if (z <= 6d+70) then
        tmp = a * (t * (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 * ((t * i) * z);
	double tmp;
	if (z <= -6.3e-68) {
		tmp = t_1;
	} else if (z <= 6e+70) {
		tmp = a * (t * (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 * ((t * i) * z)
	tmp = 0
	if z <= -6.3e-68:
		tmp = t_1
	elif z <= 6e+70:
		tmp = a * (t * (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(t * i) * z))
	tmp = 0.0
	if (z <= -6.3e-68)
		tmp = t_1;
	elseif (z <= 6e+70)
		tmp = Float64(a * Float64(t * 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 * ((t * i) * z);
	tmp = 0.0;
	if (z <= -6.3e-68)
		tmp = t_1;
	elseif (z <= 6e+70)
		tmp = a * (t * (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[(t * i), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -6.3e-68], t$95$1, If[LessEqual[z, 6e+70], N[(a * N[(t * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := c \cdot \left(\left(t \cdot i\right) \cdot z\right)\\
\mathbf{if}\;z \leq -6.3 \cdot 10^{-68}:\\
\;\;\;\;t\_1\\

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if z < -6.2999999999999998e-68 or 5.99999999999999952e70 < z

    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 i around -inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in y1 around 0 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in z around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]

    if -6.2999999999999998e-68 < z < 5.99999999999999952e70

    1. Initial program 38.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 a around inf 0

      \[\leadsto expr\]
    4. Simplified0

      \[\leadsto expr\]
    5. Taylor expanded in t around inf 0

      \[\leadsto expr\]
    6. Simplified0

      \[\leadsto expr\]
    7. Taylor expanded in y2 around inf 0

      \[\leadsto expr\]
    8. Simplified0

      \[\leadsto expr\]
  3. Recombined 2 regimes into one program.
  4. Add Preprocessing

Alternative 44: 17.2% accurate, 13.6× speedup?

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

\\
a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)
\end{array}
Derivation
  1. Initial program 32.1%

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

    \[\leadsto expr\]
  4. Simplified0

    \[\leadsto expr\]
  5. Taylor expanded in t around inf 0

    \[\leadsto expr\]
  6. Simplified0

    \[\leadsto expr\]
  7. Taylor expanded in y2 around inf 0

    \[\leadsto expr\]
  8. Simplified0

    \[\leadsto expr\]
  9. Add Preprocessing

Developer target: 28.1% accurate, 0.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y4 \cdot c - y5 \cdot a\\ t_2 := x \cdot y2 - z \cdot y3\\ t_3 := y2 \cdot t - y3 \cdot y\\ t_4 := k \cdot y2 - j \cdot y3\\ t_5 := y4 \cdot b - y5 \cdot i\\ t_6 := \left(j \cdot t - k \cdot y\right) \cdot t\_5\\ t_7 := b \cdot a - i \cdot c\\ t_8 := t\_7 \cdot \left(y \cdot x - t \cdot z\right)\\ t_9 := j \cdot x - k \cdot z\\ t_10 := \left(b \cdot y0 - i \cdot y1\right) \cdot t\_9\\ t_11 := t\_9 \cdot \left(y0 \cdot b - i \cdot y1\right)\\ t_12 := y4 \cdot y1 - y5 \cdot y0\\ t_13 := t\_4 \cdot t\_12\\ t_14 := \left(y2 \cdot k - y3 \cdot j\right) \cdot t\_12\\ t_15 := \left(\left(\left(\left(k \cdot y\right) \cdot \left(y5 \cdot i\right) - \left(y \cdot b\right) \cdot \left(y4 \cdot k\right)\right) - \left(y5 \cdot t\right) \cdot \left(i \cdot j\right)\right) - \left(t\_3 \cdot t\_1 - t\_14\right)\right) + \left(t\_8 - \left(t\_11 - \left(y2 \cdot x - y3 \cdot z\right) \cdot \left(c \cdot y0 - y1 \cdot a\right)\right)\right)\\ t_16 := \left(\left(t\_6 - \left(y3 \cdot y\right) \cdot \left(y5 \cdot a - y4 \cdot c\right)\right) + \left(\left(y5 \cdot a\right) \cdot \left(t \cdot y2\right) + t\_13\right)\right) + \left(t\_2 \cdot \left(c \cdot y0 - a \cdot y1\right) - \left(t\_10 - \left(y \cdot x - z \cdot t\right) \cdot t\_7\right)\right)\\ t_17 := t \cdot y2 - y \cdot y3\\ \mathbf{if}\;y4 < -7.206256231996481 \cdot 10^{+60}:\\ \;\;\;\;\left(t\_8 - \left(t\_11 - t\_6\right)\right) - \left(\frac{t\_3}{\frac{1}{t\_1}} - t\_14\right)\\ \mathbf{elif}\;y4 < -3.364603505246317 \cdot 10^{-66}:\\ \;\;\;\;\left(\left(\left(\left(t \cdot c\right) \cdot \left(i \cdot z\right) - \left(a \cdot t\right) \cdot \left(b \cdot z\right)\right) - \left(y \cdot c\right) \cdot \left(i \cdot x\right)\right) - t\_10\right) + \left(\left(y0 \cdot c - a \cdot y1\right) \cdot t\_2 - \left(t\_17 \cdot \left(y4 \cdot c - a \cdot y5\right) - \left(y1 \cdot y4 - y5 \cdot y0\right) \cdot t\_4\right)\right)\\ \mathbf{elif}\;y4 < -1.2000065055686116 \cdot 10^{-105}:\\ \;\;\;\;t\_16\\ \mathbf{elif}\;y4 < 6.718963124057495 \cdot 10^{-279}:\\ \;\;\;\;t\_15\\ \mathbf{elif}\;y4 < 4.77962681403792 \cdot 10^{-222}:\\ \;\;\;\;t\_16\\ \mathbf{elif}\;y4 < 2.2852241541266835 \cdot 10^{-175}:\\ \;\;\;\;t\_15\\ \mathbf{else}:\\ \;\;\;\;\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(k \cdot \left(i \cdot \left(z \cdot y1\right)\right) - \left(j \cdot \left(i \cdot \left(x \cdot y1\right)\right) + y0 \cdot \left(k \cdot \left(z \cdot b\right)\right)\right)\right)\right) + \left(z \cdot \left(y3 \cdot \left(a \cdot y1\right)\right) - \left(y2 \cdot \left(x \cdot \left(a \cdot y1\right)\right) + y0 \cdot \left(z \cdot \left(c \cdot y3\right)\right)\right)\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot t\_5\right) - t\_17 \cdot t\_1\right) + t\_13\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (- (* y4 c) (* y5 a)))
        (t_2 (- (* x y2) (* z y3)))
        (t_3 (- (* y2 t) (* y3 y)))
        (t_4 (- (* k y2) (* j y3)))
        (t_5 (- (* y4 b) (* y5 i)))
        (t_6 (* (- (* j t) (* k y)) t_5))
        (t_7 (- (* b a) (* i c)))
        (t_8 (* t_7 (- (* y x) (* t z))))
        (t_9 (- (* j x) (* k z)))
        (t_10 (* (- (* b y0) (* i y1)) t_9))
        (t_11 (* t_9 (- (* y0 b) (* i y1))))
        (t_12 (- (* y4 y1) (* y5 y0)))
        (t_13 (* t_4 t_12))
        (t_14 (* (- (* y2 k) (* y3 j)) t_12))
        (t_15
         (+
          (-
           (-
            (- (* (* k y) (* y5 i)) (* (* y b) (* y4 k)))
            (* (* y5 t) (* i j)))
           (- (* t_3 t_1) t_14))
          (- t_8 (- t_11 (* (- (* y2 x) (* y3 z)) (- (* c y0) (* y1 a)))))))
        (t_16
         (+
          (+
           (- t_6 (* (* y3 y) (- (* y5 a) (* y4 c))))
           (+ (* (* y5 a) (* t y2)) t_13))
          (-
           (* t_2 (- (* c y0) (* a y1)))
           (- t_10 (* (- (* y x) (* z t)) t_7)))))
        (t_17 (- (* t y2) (* y y3))))
   (if (< y4 -7.206256231996481e+60)
     (- (- t_8 (- t_11 t_6)) (- (/ t_3 (/ 1.0 t_1)) t_14))
     (if (< y4 -3.364603505246317e-66)
       (+
        (-
         (- (- (* (* t c) (* i z)) (* (* a t) (* b z))) (* (* y c) (* i x)))
         t_10)
        (-
         (* (- (* y0 c) (* a y1)) t_2)
         (- (* t_17 (- (* y4 c) (* a y5))) (* (- (* y1 y4) (* y5 y0)) t_4))))
       (if (< y4 -1.2000065055686116e-105)
         t_16
         (if (< y4 6.718963124057495e-279)
           t_15
           (if (< y4 4.77962681403792e-222)
             t_16
             (if (< y4 2.2852241541266835e-175)
               t_15
               (+
                (-
                 (+
                  (+
                   (-
                    (* (- (* x y) (* z t)) (- (* a b) (* c i)))
                    (-
                     (* k (* i (* z y1)))
                     (+ (* j (* i (* x y1))) (* y0 (* k (* z b))))))
                   (-
                    (* z (* y3 (* a y1)))
                    (+ (* y2 (* x (* a y1))) (* y0 (* z (* c y3))))))
                  (* (- (* t j) (* y k)) t_5))
                 (* t_17 t_1))
                t_13)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (y4 * c) - (y5 * a);
	double t_2 = (x * y2) - (z * y3);
	double t_3 = (y2 * t) - (y3 * y);
	double t_4 = (k * y2) - (j * y3);
	double t_5 = (y4 * b) - (y5 * i);
	double t_6 = ((j * t) - (k * y)) * t_5;
	double t_7 = (b * a) - (i * c);
	double t_8 = t_7 * ((y * x) - (t * z));
	double t_9 = (j * x) - (k * z);
	double t_10 = ((b * y0) - (i * y1)) * t_9;
	double t_11 = t_9 * ((y0 * b) - (i * y1));
	double t_12 = (y4 * y1) - (y5 * y0);
	double t_13 = t_4 * t_12;
	double t_14 = ((y2 * k) - (y3 * j)) * t_12;
	double t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))));
	double t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)));
	double t_17 = (t * y2) - (y * y3);
	double tmp;
	if (y4 < -7.206256231996481e+60) {
		tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14);
	} else if (y4 < -3.364603505246317e-66) {
		tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)));
	} else if (y4 < -1.2000065055686116e-105) {
		tmp = t_16;
	} else if (y4 < 6.718963124057495e-279) {
		tmp = t_15;
	} else if (y4 < 4.77962681403792e-222) {
		tmp = t_16;
	} else if (y4 < 2.2852241541266835e-175) {
		tmp = t_15;
	} else {
		tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    real(8), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    real(8) :: t_1
    real(8) :: t_10
    real(8) :: t_11
    real(8) :: t_12
    real(8) :: t_13
    real(8) :: t_14
    real(8) :: t_15
    real(8) :: t_16
    real(8) :: t_17
    real(8) :: t_2
    real(8) :: t_3
    real(8) :: t_4
    real(8) :: t_5
    real(8) :: t_6
    real(8) :: t_7
    real(8) :: t_8
    real(8) :: t_9
    real(8) :: tmp
    t_1 = (y4 * c) - (y5 * a)
    t_2 = (x * y2) - (z * y3)
    t_3 = (y2 * t) - (y3 * y)
    t_4 = (k * y2) - (j * y3)
    t_5 = (y4 * b) - (y5 * i)
    t_6 = ((j * t) - (k * y)) * t_5
    t_7 = (b * a) - (i * c)
    t_8 = t_7 * ((y * x) - (t * z))
    t_9 = (j * x) - (k * z)
    t_10 = ((b * y0) - (i * y1)) * t_9
    t_11 = t_9 * ((y0 * b) - (i * y1))
    t_12 = (y4 * y1) - (y5 * y0)
    t_13 = t_4 * t_12
    t_14 = ((y2 * k) - (y3 * j)) * t_12
    t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))))
    t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)))
    t_17 = (t * y2) - (y * y3)
    if (y4 < (-7.206256231996481d+60)) then
        tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0d0 / t_1)) - t_14)
    else if (y4 < (-3.364603505246317d-66)) then
        tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)))
    else if (y4 < (-1.2000065055686116d-105)) then
        tmp = t_16
    else if (y4 < 6.718963124057495d-279) then
        tmp = t_15
    else if (y4 < 4.77962681403792d-222) then
        tmp = t_16
    else if (y4 < 2.2852241541266835d-175) then
        tmp = t_15
    else
        tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (y4 * c) - (y5 * a);
	double t_2 = (x * y2) - (z * y3);
	double t_3 = (y2 * t) - (y3 * y);
	double t_4 = (k * y2) - (j * y3);
	double t_5 = (y4 * b) - (y5 * i);
	double t_6 = ((j * t) - (k * y)) * t_5;
	double t_7 = (b * a) - (i * c);
	double t_8 = t_7 * ((y * x) - (t * z));
	double t_9 = (j * x) - (k * z);
	double t_10 = ((b * y0) - (i * y1)) * t_9;
	double t_11 = t_9 * ((y0 * b) - (i * y1));
	double t_12 = (y4 * y1) - (y5 * y0);
	double t_13 = t_4 * t_12;
	double t_14 = ((y2 * k) - (y3 * j)) * t_12;
	double t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))));
	double t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)));
	double t_17 = (t * y2) - (y * y3);
	double tmp;
	if (y4 < -7.206256231996481e+60) {
		tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14);
	} else if (y4 < -3.364603505246317e-66) {
		tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)));
	} else if (y4 < -1.2000065055686116e-105) {
		tmp = t_16;
	} else if (y4 < 6.718963124057495e-279) {
		tmp = t_15;
	} else if (y4 < 4.77962681403792e-222) {
		tmp = t_16;
	} else if (y4 < 2.2852241541266835e-175) {
		tmp = t_15;
	} else {
		tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	t_1 = (y4 * c) - (y5 * a)
	t_2 = (x * y2) - (z * y3)
	t_3 = (y2 * t) - (y3 * y)
	t_4 = (k * y2) - (j * y3)
	t_5 = (y4 * b) - (y5 * i)
	t_6 = ((j * t) - (k * y)) * t_5
	t_7 = (b * a) - (i * c)
	t_8 = t_7 * ((y * x) - (t * z))
	t_9 = (j * x) - (k * z)
	t_10 = ((b * y0) - (i * y1)) * t_9
	t_11 = t_9 * ((y0 * b) - (i * y1))
	t_12 = (y4 * y1) - (y5 * y0)
	t_13 = t_4 * t_12
	t_14 = ((y2 * k) - (y3 * j)) * t_12
	t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))))
	t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)))
	t_17 = (t * y2) - (y * y3)
	tmp = 0
	if y4 < -7.206256231996481e+60:
		tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14)
	elif y4 < -3.364603505246317e-66:
		tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)))
	elif y4 < -1.2000065055686116e-105:
		tmp = t_16
	elif y4 < 6.718963124057495e-279:
		tmp = t_15
	elif y4 < 4.77962681403792e-222:
		tmp = t_16
	elif y4 < 2.2852241541266835e-175:
		tmp = t_15
	else:
		tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13
	return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(Float64(y4 * c) - Float64(y5 * a))
	t_2 = Float64(Float64(x * y2) - Float64(z * y3))
	t_3 = Float64(Float64(y2 * t) - Float64(y3 * y))
	t_4 = Float64(Float64(k * y2) - Float64(j * y3))
	t_5 = Float64(Float64(y4 * b) - Float64(y5 * i))
	t_6 = Float64(Float64(Float64(j * t) - Float64(k * y)) * t_5)
	t_7 = Float64(Float64(b * a) - Float64(i * c))
	t_8 = Float64(t_7 * Float64(Float64(y * x) - Float64(t * z)))
	t_9 = Float64(Float64(j * x) - Float64(k * z))
	t_10 = Float64(Float64(Float64(b * y0) - Float64(i * y1)) * t_9)
	t_11 = Float64(t_9 * Float64(Float64(y0 * b) - Float64(i * y1)))
	t_12 = Float64(Float64(y4 * y1) - Float64(y5 * y0))
	t_13 = Float64(t_4 * t_12)
	t_14 = Float64(Float64(Float64(y2 * k) - Float64(y3 * j)) * t_12)
	t_15 = Float64(Float64(Float64(Float64(Float64(Float64(k * y) * Float64(y5 * i)) - Float64(Float64(y * b) * Float64(y4 * k))) - Float64(Float64(y5 * t) * Float64(i * j))) - Float64(Float64(t_3 * t_1) - t_14)) + Float64(t_8 - Float64(t_11 - Float64(Float64(Float64(y2 * x) - Float64(y3 * z)) * Float64(Float64(c * y0) - Float64(y1 * a))))))
	t_16 = Float64(Float64(Float64(t_6 - Float64(Float64(y3 * y) * Float64(Float64(y5 * a) - Float64(y4 * c)))) + Float64(Float64(Float64(y5 * a) * Float64(t * y2)) + t_13)) + Float64(Float64(t_2 * Float64(Float64(c * y0) - Float64(a * y1))) - Float64(t_10 - Float64(Float64(Float64(y * x) - Float64(z * t)) * t_7))))
	t_17 = Float64(Float64(t * y2) - Float64(y * y3))
	tmp = 0.0
	if (y4 < -7.206256231996481e+60)
		tmp = Float64(Float64(t_8 - Float64(t_11 - t_6)) - Float64(Float64(t_3 / Float64(1.0 / t_1)) - t_14));
	elseif (y4 < -3.364603505246317e-66)
		tmp = Float64(Float64(Float64(Float64(Float64(Float64(t * c) * Float64(i * z)) - Float64(Float64(a * t) * Float64(b * z))) - Float64(Float64(y * c) * Float64(i * x))) - t_10) + Float64(Float64(Float64(Float64(y0 * c) - Float64(a * y1)) * t_2) - Float64(Float64(t_17 * Float64(Float64(y4 * c) - Float64(a * y5))) - Float64(Float64(Float64(y1 * y4) - Float64(y5 * y0)) * t_4))));
	elseif (y4 < -1.2000065055686116e-105)
		tmp = t_16;
	elseif (y4 < 6.718963124057495e-279)
		tmp = t_15;
	elseif (y4 < 4.77962681403792e-222)
		tmp = t_16;
	elseif (y4 < 2.2852241541266835e-175)
		tmp = t_15;
	else
		tmp = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) - Float64(z * t)) * Float64(Float64(a * b) - Float64(c * i))) - Float64(Float64(k * Float64(i * Float64(z * y1))) - Float64(Float64(j * Float64(i * Float64(x * y1))) + Float64(y0 * Float64(k * Float64(z * b)))))) + Float64(Float64(z * Float64(y3 * Float64(a * y1))) - Float64(Float64(y2 * Float64(x * Float64(a * y1))) + Float64(y0 * Float64(z * Float64(c * y3)))))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * t_5)) - Float64(t_17 * t_1)) + t_13);
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = (y4 * c) - (y5 * a);
	t_2 = (x * y2) - (z * y3);
	t_3 = (y2 * t) - (y3 * y);
	t_4 = (k * y2) - (j * y3);
	t_5 = (y4 * b) - (y5 * i);
	t_6 = ((j * t) - (k * y)) * t_5;
	t_7 = (b * a) - (i * c);
	t_8 = t_7 * ((y * x) - (t * z));
	t_9 = (j * x) - (k * z);
	t_10 = ((b * y0) - (i * y1)) * t_9;
	t_11 = t_9 * ((y0 * b) - (i * y1));
	t_12 = (y4 * y1) - (y5 * y0);
	t_13 = t_4 * t_12;
	t_14 = ((y2 * k) - (y3 * j)) * t_12;
	t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))));
	t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)));
	t_17 = (t * y2) - (y * y3);
	tmp = 0.0;
	if (y4 < -7.206256231996481e+60)
		tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14);
	elseif (y4 < -3.364603505246317e-66)
		tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)));
	elseif (y4 < -1.2000065055686116e-105)
		tmp = t_16;
	elseif (y4 < 6.718963124057495e-279)
		tmp = t_15;
	elseif (y4 < 4.77962681403792e-222)
		tmp = t_16;
	elseif (y4 < 2.2852241541266835e-175)
		tmp = t_15;
	else
		tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y2 * t), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] * t$95$5), $MachinePrecision]}, Block[{t$95$7 = N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(t$95$7 * N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$10 = N[(N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision] * t$95$9), $MachinePrecision]}, Block[{t$95$11 = N[(t$95$9 * N[(N[(y0 * b), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$12 = N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$13 = N[(t$95$4 * t$95$12), $MachinePrecision]}, Block[{t$95$14 = N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * t$95$12), $MachinePrecision]}, Block[{t$95$15 = N[(N[(N[(N[(N[(N[(k * y), $MachinePrecision] * N[(y5 * i), $MachinePrecision]), $MachinePrecision] - N[(N[(y * b), $MachinePrecision] * N[(y4 * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y5 * t), $MachinePrecision] * N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(t$95$3 * t$95$1), $MachinePrecision] - t$95$14), $MachinePrecision]), $MachinePrecision] + N[(t$95$8 - N[(t$95$11 - N[(N[(N[(y2 * x), $MachinePrecision] - N[(y3 * z), $MachinePrecision]), $MachinePrecision] * N[(N[(c * y0), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$16 = N[(N[(N[(t$95$6 - N[(N[(y3 * y), $MachinePrecision] * N[(N[(y5 * a), $MachinePrecision] - N[(y4 * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(y5 * a), $MachinePrecision] * N[(t * y2), $MachinePrecision]), $MachinePrecision] + t$95$13), $MachinePrecision]), $MachinePrecision] + N[(N[(t$95$2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(t$95$10 - N[(N[(N[(y * x), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$17 = N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, If[Less[y4, -7.206256231996481e+60], N[(N[(t$95$8 - N[(t$95$11 - t$95$6), $MachinePrecision]), $MachinePrecision] - N[(N[(t$95$3 / N[(1.0 / t$95$1), $MachinePrecision]), $MachinePrecision] - t$95$14), $MachinePrecision]), $MachinePrecision], If[Less[y4, -3.364603505246317e-66], N[(N[(N[(N[(N[(N[(t * c), $MachinePrecision] * N[(i * z), $MachinePrecision]), $MachinePrecision] - N[(N[(a * t), $MachinePrecision] * N[(b * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y * c), $MachinePrecision] * N[(i * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - t$95$10), $MachinePrecision] + N[(N[(N[(N[(y0 * c), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision] * t$95$2), $MachinePrecision] - N[(N[(t$95$17 * N[(N[(y4 * c), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(y1 * y4), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision] * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Less[y4, -1.2000065055686116e-105], t$95$16, If[Less[y4, 6.718963124057495e-279], t$95$15, If[Less[y4, 4.77962681403792e-222], t$95$16, If[Less[y4, 2.2852241541266835e-175], t$95$15, N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(k * N[(i * N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(j * N[(i * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(k * N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(z * N[(y3 * N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y2 * N[(x * N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(z * N[(c * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * t$95$5), $MachinePrecision]), $MachinePrecision] - N[(t$95$17 * t$95$1), $MachinePrecision]), $MachinePrecision] + t$95$13), $MachinePrecision]]]]]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := y4 \cdot c - y5 \cdot a\\
t_2 := x \cdot y2 - z \cdot y3\\
t_3 := y2 \cdot t - y3 \cdot y\\
t_4 := k \cdot y2 - j \cdot y3\\
t_5 := y4 \cdot b - y5 \cdot i\\
t_6 := \left(j \cdot t - k \cdot y\right) \cdot t\_5\\
t_7 := b \cdot a - i \cdot c\\
t_8 := t\_7 \cdot \left(y \cdot x - t \cdot z\right)\\
t_9 := j \cdot x - k \cdot z\\
t_10 := \left(b \cdot y0 - i \cdot y1\right) \cdot t\_9\\
t_11 := t\_9 \cdot \left(y0 \cdot b - i \cdot y1\right)\\
t_12 := y4 \cdot y1 - y5 \cdot y0\\
t_13 := t\_4 \cdot t\_12\\
t_14 := \left(y2 \cdot k - y3 \cdot j\right) \cdot t\_12\\
t_15 := \left(\left(\left(\left(k \cdot y\right) \cdot \left(y5 \cdot i\right) - \left(y \cdot b\right) \cdot \left(y4 \cdot k\right)\right) - \left(y5 \cdot t\right) \cdot \left(i \cdot j\right)\right) - \left(t\_3 \cdot t\_1 - t\_14\right)\right) + \left(t\_8 - \left(t\_11 - \left(y2 \cdot x - y3 \cdot z\right) \cdot \left(c \cdot y0 - y1 \cdot a\right)\right)\right)\\
t_16 := \left(\left(t\_6 - \left(y3 \cdot y\right) \cdot \left(y5 \cdot a - y4 \cdot c\right)\right) + \left(\left(y5 \cdot a\right) \cdot \left(t \cdot y2\right) + t\_13\right)\right) + \left(t\_2 \cdot \left(c \cdot y0 - a \cdot y1\right) - \left(t\_10 - \left(y \cdot x - z \cdot t\right) \cdot t\_7\right)\right)\\
t_17 := t \cdot y2 - y \cdot y3\\
\mathbf{if}\;y4 < -7.206256231996481 \cdot 10^{+60}:\\
\;\;\;\;\left(t\_8 - \left(t\_11 - t\_6\right)\right) - \left(\frac{t\_3}{\frac{1}{t\_1}} - t\_14\right)\\

\mathbf{elif}\;y4 < -3.364603505246317 \cdot 10^{-66}:\\
\;\;\;\;\left(\left(\left(\left(t \cdot c\right) \cdot \left(i \cdot z\right) - \left(a \cdot t\right) \cdot \left(b \cdot z\right)\right) - \left(y \cdot c\right) \cdot \left(i \cdot x\right)\right) - t\_10\right) + \left(\left(y0 \cdot c - a \cdot y1\right) \cdot t\_2 - \left(t\_17 \cdot \left(y4 \cdot c - a \cdot y5\right) - \left(y1 \cdot y4 - y5 \cdot y0\right) \cdot t\_4\right)\right)\\

\mathbf{elif}\;y4 < -1.2000065055686116 \cdot 10^{-105}:\\
\;\;\;\;t\_16\\

\mathbf{elif}\;y4 < 6.718963124057495 \cdot 10^{-279}:\\
\;\;\;\;t\_15\\

\mathbf{elif}\;y4 < 4.77962681403792 \cdot 10^{-222}:\\
\;\;\;\;t\_16\\

\mathbf{elif}\;y4 < 2.2852241541266835 \cdot 10^{-175}:\\
\;\;\;\;t\_15\\

\mathbf{else}:\\
\;\;\;\;\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(k \cdot \left(i \cdot \left(z \cdot y1\right)\right) - \left(j \cdot \left(i \cdot \left(x \cdot y1\right)\right) + y0 \cdot \left(k \cdot \left(z \cdot b\right)\right)\right)\right)\right) + \left(z \cdot \left(y3 \cdot \left(a \cdot y1\right)\right) - \left(y2 \cdot \left(x \cdot \left(a \cdot y1\right)\right) + y0 \cdot \left(z \cdot \left(c \cdot y3\right)\right)\right)\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot t\_5\right) - t\_17 \cdot t\_1\right) + t\_13\\


\end{array}
\end{array}

Reproduce

?
herbie shell --seed 2024110 
(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)))))