Linear.Matrix:det44 from linear-1.19.1.3

Percentage Accurate: 30.7% → 43.4%
Time: 28.9s
Alternatives: 27
Speedup: 4.2×

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 27 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.7% 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: 43.4% accurate, 2.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y4 \cdot c - y5 \cdot a\\ t_2 := j \cdot x - k \cdot z\\ t_3 := y0 \cdot c - y1 \cdot a\\ t_4 := \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(t\_3, x, \left(-t\right) \cdot t\_1\right)\right) \cdot y2\\ \mathbf{if}\;y2 \leq -225:\\ \;\;\;\;t\_4\\ \mathbf{elif}\;y2 \leq -6 \cdot 10^{-184}:\\ \;\;\;\;\mathsf{fma}\left(\left(-y2\right) \cdot x + y3 \cdot z, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, t\_2 \cdot i\right)\right) \cdot y1\\ \mathbf{elif}\;y2 \leq -8.6 \cdot 10^{-293}:\\ \;\;\;\;\mathsf{fma}\left(\left(-y4\right) \cdot y1 + y5 \cdot y0, j, \mathsf{fma}\left(-z, t\_3, t\_1 \cdot y\right)\right) \cdot y3\\ \mathbf{elif}\;y2 \leq 4.4 \cdot 10^{+104}:\\ \;\;\;\;\mathsf{fma}\left(\left(-y4\right) \cdot b + y5 \cdot i, k, \mathsf{fma}\left(b \cdot a - i \cdot c, x, t\_1 \cdot y3\right)\right) \cdot y\\ \mathbf{elif}\;y2 \leq 1.45 \cdot 10^{+232}:\\ \;\;\;\;\mathsf{fma}\left(\left(-y\right) \cdot x + t \cdot z, c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, t\_2 \cdot y1\right)\right) \cdot i\\ \mathbf{else}:\\ \;\;\;\;t\_4\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (- (* y4 c) (* y5 a)))
        (t_2 (- (* j x) (* k z)))
        (t_3 (- (* y0 c) (* y1 a)))
        (t_4 (* (fma (- (* y4 y1) (* y5 y0)) k (fma t_3 x (* (- t) t_1))) y2)))
   (if (<= y2 -225.0)
     t_4
     (if (<= y2 -6e-184)
       (*
        (fma
         (+ (* (- y2) x) (* y3 z))
         a
         (fma (- (* y2 k) (* y3 j)) y4 (* t_2 i)))
        y1)
       (if (<= y2 -8.6e-293)
         (* (fma (+ (* (- y4) y1) (* y5 y0)) j (fma (- z) t_3 (* t_1 y))) y3)
         (if (<= y2 4.4e+104)
           (*
            (fma
             (+ (* (- y4) b) (* y5 i))
             k
             (fma (- (* b a) (* i c)) x (* t_1 y3)))
            y)
           (if (<= y2 1.45e+232)
             (*
              (fma
               (+ (* (- y) x) (* t z))
               c
               (fma (- y5) (- (* j t) (* k y)) (* t_2 y1)))
              i)
             t_4)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (y4 * c) - (y5 * a);
	double t_2 = (j * x) - (k * z);
	double t_3 = (y0 * c) - (y1 * a);
	double t_4 = fma(((y4 * y1) - (y5 * y0)), k, fma(t_3, x, (-t * t_1))) * y2;
	double tmp;
	if (y2 <= -225.0) {
		tmp = t_4;
	} else if (y2 <= -6e-184) {
		tmp = fma(((-y2 * x) + (y3 * z)), a, fma(((y2 * k) - (y3 * j)), y4, (t_2 * i))) * y1;
	} else if (y2 <= -8.6e-293) {
		tmp = fma(((-y4 * y1) + (y5 * y0)), j, fma(-z, t_3, (t_1 * y))) * y3;
	} else if (y2 <= 4.4e+104) {
		tmp = fma(((-y4 * b) + (y5 * i)), k, fma(((b * a) - (i * c)), x, (t_1 * y3))) * y;
	} else if (y2 <= 1.45e+232) {
		tmp = fma(((-y * x) + (t * z)), c, fma(-y5, ((j * t) - (k * y)), (t_2 * y1))) * i;
	} else {
		tmp = t_4;
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(Float64(y4 * c) - Float64(y5 * a))
	t_2 = Float64(Float64(j * x) - Float64(k * z))
	t_3 = Float64(Float64(y0 * c) - Float64(y1 * a))
	t_4 = Float64(fma(Float64(Float64(y4 * y1) - Float64(y5 * y0)), k, fma(t_3, x, Float64(Float64(-t) * t_1))) * y2)
	tmp = 0.0
	if (y2 <= -225.0)
		tmp = t_4;
	elseif (y2 <= -6e-184)
		tmp = Float64(fma(Float64(Float64(Float64(-y2) * x) + Float64(y3 * z)), a, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y4, Float64(t_2 * i))) * y1);
	elseif (y2 <= -8.6e-293)
		tmp = Float64(fma(Float64(Float64(Float64(-y4) * y1) + Float64(y5 * y0)), j, fma(Float64(-z), t_3, Float64(t_1 * y))) * y3);
	elseif (y2 <= 4.4e+104)
		tmp = Float64(fma(Float64(Float64(Float64(-y4) * b) + Float64(y5 * i)), k, fma(Float64(Float64(b * a) - Float64(i * c)), x, Float64(t_1 * y3))) * y);
	elseif (y2 <= 1.45e+232)
		tmp = Float64(fma(Float64(Float64(Float64(-y) * x) + Float64(t * z)), c, fma(Float64(-y5), Float64(Float64(j * t) - Float64(k * y)), Float64(t_2 * y1))) * i);
	else
		tmp = t_4;
	end
	return 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[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision] * k + N[(t$95$3 * x + N[((-t) * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision]}, If[LessEqual[y2, -225.0], t$95$4, If[LessEqual[y2, -6e-184], N[(N[(N[(N[((-y2) * x), $MachinePrecision] + N[(y3 * z), $MachinePrecision]), $MachinePrecision] * a + N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * y4 + N[(t$95$2 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[y2, -8.6e-293], N[(N[(N[(N[((-y4) * y1), $MachinePrecision] + N[(y5 * y0), $MachinePrecision]), $MachinePrecision] * j + N[((-z) * t$95$3 + N[(t$95$1 * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision], If[LessEqual[y2, 4.4e+104], N[(N[(N[(N[((-y4) * b), $MachinePrecision] + N[(y5 * i), $MachinePrecision]), $MachinePrecision] * k + N[(N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision] * x + N[(t$95$1 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[y2, 1.45e+232], N[(N[(N[(N[((-y) * x), $MachinePrecision] + N[(t * z), $MachinePrecision]), $MachinePrecision] * c + N[((-y5) * N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] + N[(t$95$2 * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision], t$95$4]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := y4 \cdot c - y5 \cdot a\\
t_2 := j \cdot x - k \cdot z\\
t_3 := y0 \cdot c - y1 \cdot a\\
t_4 := \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(t\_3, x, \left(-t\right) \cdot t\_1\right)\right) \cdot y2\\
\mathbf{if}\;y2 \leq -225:\\
\;\;\;\;t\_4\\

\mathbf{elif}\;y2 \leq -6 \cdot 10^{-184}:\\
\;\;\;\;\mathsf{fma}\left(\left(-y2\right) \cdot x + y3 \cdot z, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, t\_2 \cdot i\right)\right) \cdot y1\\

\mathbf{elif}\;y2 \leq -8.6 \cdot 10^{-293}:\\
\;\;\;\;\mathsf{fma}\left(\left(-y4\right) \cdot y1 + y5 \cdot y0, j, \mathsf{fma}\left(-z, t\_3, t\_1 \cdot y\right)\right) \cdot y3\\

\mathbf{elif}\;y2 \leq 4.4 \cdot 10^{+104}:\\
\;\;\;\;\mathsf{fma}\left(\left(-y4\right) \cdot b + y5 \cdot i, k, \mathsf{fma}\left(b \cdot a - i \cdot c, x, t\_1 \cdot y3\right)\right) \cdot y\\

\mathbf{elif}\;y2 \leq 1.45 \cdot 10^{+232}:\\
\;\;\;\;\mathsf{fma}\left(\left(-y\right) \cdot x + t \cdot z, c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, t\_2 \cdot y1\right)\right) \cdot i\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if y2 < -225 or 1.45000000000000012e232 < y2

    1. Initial program 19.2%

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

      \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
      2. lower-*.f64N/A

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

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

    if -225 < y2 < -5.99999999999999982e-184

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

      \[\leadsto \color{blue}{y1 \cdot \left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
    4. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
      2. lower-*.f64N/A

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

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

    if -5.99999999999999982e-184 < y2 < -8.5999999999999996e-293

    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 y3 around inf

      \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    4. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
      2. lower-*.f64N/A

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

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

    if -8.5999999999999996e-293 < y2 < 4.40000000000000001e104

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

      \[\leadsto \color{blue}{y \cdot \left(\left(-1 \cdot \left(k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    4. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y} \]
      2. lower-*.f64N/A

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

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

    if 4.40000000000000001e104 < y2 < 1.45000000000000012e232

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

      \[\leadsto \color{blue}{i \cdot \left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
    4. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot i} \]
      2. lower-*.f64N/A

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y \cdot x - t \cdot z\right), c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i} \]
  3. Recombined 5 regimes into one program.
  4. Final simplification59.5%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -225:\\ \;\;\;\;\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, \left(-t\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right)\right) \cdot y2\\ \mathbf{elif}\;y2 \leq -6 \cdot 10^{-184}:\\ \;\;\;\;\mathsf{fma}\left(\left(-y2\right) \cdot x + y3 \cdot z, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\ \mathbf{elif}\;y2 \leq -8.6 \cdot 10^{-293}:\\ \;\;\;\;\mathsf{fma}\left(\left(-y4\right) \cdot y1 + y5 \cdot y0, j, \mathsf{fma}\left(-z, y0 \cdot c - y1 \cdot a, \left(y4 \cdot c - y5 \cdot a\right) \cdot y\right)\right) \cdot y3\\ \mathbf{elif}\;y2 \leq 4.4 \cdot 10^{+104}:\\ \;\;\;\;\mathsf{fma}\left(\left(-y4\right) \cdot b + y5 \cdot i, k, \mathsf{fma}\left(b \cdot a - i \cdot c, x, \left(y4 \cdot c - y5 \cdot a\right) \cdot y3\right)\right) \cdot y\\ \mathbf{elif}\;y2 \leq 1.45 \cdot 10^{+232}:\\ \;\;\;\;\mathsf{fma}\left(\left(-y\right) \cdot x + t \cdot z, c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, \left(-t\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right)\right) \cdot y2\\ \end{array} \]
  5. Add Preprocessing

Alternative 2: 55.2% accurate, 0.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_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)\\ \mathbf{if}\;t\_1 \leq \infty:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(\left(-y\right) \cdot x + t \cdot z, c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1
         (+
          (-
           (+
            (+
             (-
              (* (- (* x y) (* 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))))))
   (if (<= t_1 INFINITY)
     t_1
     (*
      (fma
       (+ (* (- y) x) (* t z))
       c
       (fma (- y5) (- (* j t) (* k y)) (* (- (* j x) (* k z)) y1)))
      i))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (((((((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 tmp;
	if (t_1 <= ((double) INFINITY)) {
		tmp = t_1;
	} else {
		tmp = fma(((-y * x) + (t * z)), c, fma(-y5, ((j * t) - (k * y)), (((j * x) - (k * z)) * y1))) * i;
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = 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))))
	tmp = 0.0
	if (t_1 <= Inf)
		tmp = t_1;
	else
		tmp = Float64(fma(Float64(Float64(Float64(-y) * x) + Float64(t * z)), c, fma(Float64(-y5), Float64(Float64(j * t) - Float64(k * y)), Float64(Float64(Float64(j * x) - Float64(k * z)) * y1))) * i);
	end
	return 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[(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]}, If[LessEqual[t$95$1, Infinity], t$95$1, N[(N[(N[(N[((-y) * x), $MachinePrecision] + N[(t * z), $MachinePrecision]), $MachinePrecision] * c + N[((-y5) * N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
t_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)\\
\mathbf{if}\;t\_1 \leq \infty:\\
\;\;\;\;t\_1\\

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


\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.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

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

      \[\leadsto \color{blue}{i \cdot \left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
    4. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot i} \]
      2. lower-*.f64N/A

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y \cdot x - t \cdot z\right), c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification55.0%

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

Alternative 3: 44.4% accurate, 2.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot a - i \cdot c\\ t_2 := y2 \cdot k - y3 \cdot j\\ t_3 := y4 \cdot c - y5 \cdot a\\ t_4 := y0 \cdot c - y1 \cdot a\\ t_5 := \mathsf{fma}\left(\left(-y4\right) \cdot b + y5 \cdot i, k, \mathsf{fma}\left(t\_1, x, t\_3 \cdot y3\right)\right) \cdot y\\ \mathbf{if}\;y \leq -3.3 \cdot 10^{+226}:\\ \;\;\;\;\mathsf{fma}\left(t\_1, y, \mathsf{fma}\left(t\_4, y2, \left(-j\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right)\right) \cdot x\\ \mathbf{elif}\;y \leq -3 \cdot 10^{+79}:\\ \;\;\;\;t\_5\\ \mathbf{elif}\;y \leq -9.5 \cdot 10^{-76}:\\ \;\;\;\;\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(t\_2, y1, \left(-c\right) \cdot \left(y2 \cdot t - y3 \cdot y\right)\right)\right) \cdot y4\\ \mathbf{elif}\;y \leq 3.5 \cdot 10^{-33}:\\ \;\;\;\;\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(t\_4, x, \left(-t\right) \cdot t\_3\right)\right) \cdot y2\\ \mathbf{elif}\;y \leq 2.25 \cdot 10^{+55}:\\ \;\;\;\;\mathsf{fma}\left(\left(-y2\right) \cdot x + y3 \cdot z, a, \mathsf{fma}\left(t\_2, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\ \mathbf{else}:\\ \;\;\;\;t\_5\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (- (* b a) (* i c)))
        (t_2 (- (* y2 k) (* y3 j)))
        (t_3 (- (* y4 c) (* y5 a)))
        (t_4 (- (* y0 c) (* y1 a)))
        (t_5 (* (fma (+ (* (- y4) b) (* y5 i)) k (fma t_1 x (* t_3 y3))) y)))
   (if (<= y -3.3e+226)
     (* (fma t_1 y (fma t_4 y2 (* (- j) (- (* y0 b) (* y1 i))))) x)
     (if (<= y -3e+79)
       t_5
       (if (<= y -9.5e-76)
         (*
          (fma
           (- (* j t) (* k y))
           b
           (fma t_2 y1 (* (- c) (- (* y2 t) (* y3 y)))))
          y4)
         (if (<= y 3.5e-33)
           (* (fma (- (* y4 y1) (* y5 y0)) k (fma t_4 x (* (- t) t_3))) y2)
           (if (<= y 2.25e+55)
             (*
              (fma
               (+ (* (- y2) x) (* y3 z))
               a
               (fma t_2 y4 (* (- (* j x) (* k z)) i)))
              y1)
             t_5)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = (b * a) - (i * c);
	double t_2 = (y2 * k) - (y3 * j);
	double t_3 = (y4 * c) - (y5 * a);
	double t_4 = (y0 * c) - (y1 * a);
	double t_5 = fma(((-y4 * b) + (y5 * i)), k, fma(t_1, x, (t_3 * y3))) * y;
	double tmp;
	if (y <= -3.3e+226) {
		tmp = fma(t_1, y, fma(t_4, y2, (-j * ((y0 * b) - (y1 * i))))) * x;
	} else if (y <= -3e+79) {
		tmp = t_5;
	} else if (y <= -9.5e-76) {
		tmp = fma(((j * t) - (k * y)), b, fma(t_2, y1, (-c * ((y2 * t) - (y3 * y))))) * y4;
	} else if (y <= 3.5e-33) {
		tmp = fma(((y4 * y1) - (y5 * y0)), k, fma(t_4, x, (-t * t_3))) * y2;
	} else if (y <= 2.25e+55) {
		tmp = fma(((-y2 * x) + (y3 * z)), a, fma(t_2, y4, (((j * x) - (k * z)) * i))) * y1;
	} else {
		tmp = t_5;
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(Float64(b * a) - Float64(i * c))
	t_2 = Float64(Float64(y2 * k) - Float64(y3 * j))
	t_3 = Float64(Float64(y4 * c) - Float64(y5 * a))
	t_4 = Float64(Float64(y0 * c) - Float64(y1 * a))
	t_5 = Float64(fma(Float64(Float64(Float64(-y4) * b) + Float64(y5 * i)), k, fma(t_1, x, Float64(t_3 * y3))) * y)
	tmp = 0.0
	if (y <= -3.3e+226)
		tmp = Float64(fma(t_1, y, fma(t_4, y2, Float64(Float64(-j) * Float64(Float64(y0 * b) - Float64(y1 * i))))) * x);
	elseif (y <= -3e+79)
		tmp = t_5;
	elseif (y <= -9.5e-76)
		tmp = Float64(fma(Float64(Float64(j * t) - Float64(k * y)), b, fma(t_2, y1, Float64(Float64(-c) * Float64(Float64(y2 * t) - Float64(y3 * y))))) * y4);
	elseif (y <= 3.5e-33)
		tmp = Float64(fma(Float64(Float64(y4 * y1) - Float64(y5 * y0)), k, fma(t_4, x, Float64(Float64(-t) * t_3))) * y2);
	elseif (y <= 2.25e+55)
		tmp = Float64(fma(Float64(Float64(Float64(-y2) * x) + Float64(y3 * z)), a, fma(t_2, y4, Float64(Float64(Float64(j * x) - Float64(k * z)) * i))) * y1);
	else
		tmp = t_5;
	end
	return 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 * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(N[(N[((-y4) * b), $MachinePrecision] + N[(y5 * i), $MachinePrecision]), $MachinePrecision] * k + N[(t$95$1 * x + N[(t$95$3 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]}, If[LessEqual[y, -3.3e+226], N[(N[(t$95$1 * y + N[(t$95$4 * y2 + N[((-j) * N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[y, -3e+79], t$95$5, If[LessEqual[y, -9.5e-76], N[(N[(N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] * b + N[(t$95$2 * y1 + N[((-c) * N[(N[(y2 * t), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision], If[LessEqual[y, 3.5e-33], N[(N[(N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision] * k + N[(t$95$4 * x + N[((-t) * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[y, 2.25e+55], N[(N[(N[(N[((-y2) * x), $MachinePrecision] + N[(y3 * z), $MachinePrecision]), $MachinePrecision] * a + N[(t$95$2 * y4 + N[(N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], t$95$5]]]]]]]]]]
\begin{array}{l}

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

\mathbf{elif}\;y \leq -3 \cdot 10^{+79}:\\
\;\;\;\;t\_5\\

\mathbf{elif}\;y \leq -9.5 \cdot 10^{-76}:\\
\;\;\;\;\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(t\_2, y1, \left(-c\right) \cdot \left(y2 \cdot t - y3 \cdot y\right)\right)\right) \cdot y4\\

\mathbf{elif}\;y \leq 3.5 \cdot 10^{-33}:\\
\;\;\;\;\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(t\_4, x, \left(-t\right) \cdot t\_3\right)\right) \cdot y2\\

\mathbf{elif}\;y \leq 2.25 \cdot 10^{+55}:\\
\;\;\;\;\mathsf{fma}\left(\left(-y2\right) \cdot x + y3 \cdot z, a, \mathsf{fma}\left(t\_2, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if y < -3.29999999999999978e226

    1. Initial program 24.3%

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

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto \color{blue}{\left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot x} \]
      2. lower-*.f64N/A

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

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

    if -3.29999999999999978e226 < y < -2.99999999999999974e79 or 2.24999999999999999e55 < y

    1. Initial program 19.4%

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

      \[\leadsto \color{blue}{y \cdot \left(\left(-1 \cdot \left(k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    4. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y} \]
      2. lower-*.f64N/A

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

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

    if -2.99999999999999974e79 < y < -9.49999999999999984e-76

    1. Initial program 23.4%

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

      \[\leadsto \color{blue}{y4 \cdot \left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
    4. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
      2. lower-*.f64N/A

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

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

    if -9.49999999999999984e-76 < y < 3.4999999999999999e-33

    1. Initial program 31.8%

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

      \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
      2. lower-*.f64N/A

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

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

    if 3.4999999999999999e-33 < y < 2.24999999999999999e55

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

      \[\leadsto \color{blue}{y1 \cdot \left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
    4. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
      2. lower-*.f64N/A

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1} \]
  3. Recombined 5 regimes into one program.
  4. Final simplification58.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -3.3 \cdot 10^{+226}:\\ \;\;\;\;\mathsf{fma}\left(b \cdot a - i \cdot c, y, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, y2, \left(-j\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right)\right) \cdot x\\ \mathbf{elif}\;y \leq -3 \cdot 10^{+79}:\\ \;\;\;\;\mathsf{fma}\left(\left(-y4\right) \cdot b + y5 \cdot i, k, \mathsf{fma}\left(b \cdot a - i \cdot c, x, \left(y4 \cdot c - y5 \cdot a\right) \cdot y3\right)\right) \cdot y\\ \mathbf{elif}\;y \leq -9.5 \cdot 10^{-76}:\\ \;\;\;\;\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(-c\right) \cdot \left(y2 \cdot t - y3 \cdot y\right)\right)\right) \cdot y4\\ \mathbf{elif}\;y \leq 3.5 \cdot 10^{-33}:\\ \;\;\;\;\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, \left(-t\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right)\right) \cdot y2\\ \mathbf{elif}\;y \leq 2.25 \cdot 10^{+55}:\\ \;\;\;\;\mathsf{fma}\left(\left(-y2\right) \cdot x + y3 \cdot z, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(\left(-y4\right) \cdot b + y5 \cdot i, k, \mathsf{fma}\left(b \cdot a - i \cdot c, x, \left(y4 \cdot c - y5 \cdot a\right) \cdot y3\right)\right) \cdot y\\ \end{array} \]
  5. Add Preprocessing

Alternative 4: 41.5% accurate, 2.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;a \leq -1.4 \cdot 10^{+221}:\\ \;\;\;\;\left(a \cdot \mathsf{fma}\left(t, y5, \left(-x\right) \cdot y1\right)\right) \cdot y2\\ \mathbf{elif}\;a \leq -2.4 \cdot 10^{+21}:\\ \;\;\;\;\left(a \cdot \mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right)\right) \cdot b\\ \mathbf{elif}\;a \leq -5.2 \cdot 10^{-15}:\\ \;\;\;\;\left(b \cdot \mathsf{fma}\left(-y, y4, y0 \cdot z\right)\right) \cdot k\\ \mathbf{elif}\;a \leq 1.75 \cdot 10^{-130}:\\ \;\;\;\;\mathsf{fma}\left(b \cdot a - i \cdot c, y, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, y2, \left(-j\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right)\right) \cdot x\\ \mathbf{elif}\;a \leq 9.8 \cdot 10^{+45}:\\ \;\;\;\;\mathsf{fma}\left(j, \mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right), y \cdot \mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)\right) \cdot y3\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(\left(-y2\right) \cdot x + y3 \cdot z, y1, \mathsf{fma}\left(y \cdot x - t \cdot z, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (if (<= a -1.4e+221)
   (* (* a (fma t y5 (* (- x) y1))) y2)
   (if (<= a -2.4e+21)
     (* (* a (fma x y (* (- t) z))) b)
     (if (<= a -5.2e-15)
       (* (* b (fma (- y) y4 (* y0 z))) k)
       (if (<= a 1.75e-130)
         (*
          (fma
           (- (* b a) (* i c))
           y
           (fma (- (* y0 c) (* y1 a)) y2 (* (- j) (- (* y0 b) (* y1 i)))))
          x)
         (if (<= a 9.8e+45)
           (*
            (fma j (fma y0 y5 (* (- y1) y4)) (* y (fma c y4 (* (- a) y5))))
            y3)
           (*
            (fma
             (+ (* (- y2) x) (* y3 z))
             y1
             (fma (- (* y x) (* t z)) b (* (- (* y2 t) (* y3 y)) y5)))
            a)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double tmp;
	if (a <= -1.4e+221) {
		tmp = (a * fma(t, y5, (-x * y1))) * y2;
	} else if (a <= -2.4e+21) {
		tmp = (a * fma(x, y, (-t * z))) * b;
	} else if (a <= -5.2e-15) {
		tmp = (b * fma(-y, y4, (y0 * z))) * k;
	} else if (a <= 1.75e-130) {
		tmp = fma(((b * a) - (i * c)), y, fma(((y0 * c) - (y1 * a)), y2, (-j * ((y0 * b) - (y1 * i))))) * x;
	} else if (a <= 9.8e+45) {
		tmp = fma(j, fma(y0, y5, (-y1 * y4)), (y * fma(c, y4, (-a * y5)))) * y3;
	} else {
		tmp = fma(((-y2 * x) + (y3 * z)), y1, fma(((y * x) - (t * z)), b, (((y2 * t) - (y3 * y)) * y5))) * a;
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = 0.0
	if (a <= -1.4e+221)
		tmp = Float64(Float64(a * fma(t, y5, Float64(Float64(-x) * y1))) * y2);
	elseif (a <= -2.4e+21)
		tmp = Float64(Float64(a * fma(x, y, Float64(Float64(-t) * z))) * b);
	elseif (a <= -5.2e-15)
		tmp = Float64(Float64(b * fma(Float64(-y), y4, Float64(y0 * z))) * k);
	elseif (a <= 1.75e-130)
		tmp = Float64(fma(Float64(Float64(b * a) - Float64(i * c)), y, fma(Float64(Float64(y0 * c) - Float64(y1 * a)), y2, Float64(Float64(-j) * Float64(Float64(y0 * b) - Float64(y1 * i))))) * x);
	elseif (a <= 9.8e+45)
		tmp = Float64(fma(j, fma(y0, y5, Float64(Float64(-y1) * y4)), Float64(y * fma(c, y4, Float64(Float64(-a) * y5)))) * y3);
	else
		tmp = Float64(fma(Float64(Float64(Float64(-y2) * x) + Float64(y3 * z)), y1, fma(Float64(Float64(y * x) - Float64(t * z)), b, Float64(Float64(Float64(y2 * t) - Float64(y3 * y)) * y5))) * a);
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[a, -1.4e+221], N[(N[(a * N[(t * y5 + N[((-x) * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[a, -2.4e+21], N[(N[(a * N[(x * y + N[((-t) * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[a, -5.2e-15], N[(N[(b * N[((-y) * y4 + N[(y0 * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision], If[LessEqual[a, 1.75e-130], N[(N[(N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision] * y + N[(N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision] * y2 + N[((-j) * N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[a, 9.8e+45], N[(N[(j * N[(y0 * y5 + N[((-y1) * y4), $MachinePrecision]), $MachinePrecision] + N[(y * N[(c * y4 + N[((-a) * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision], N[(N[(N[(N[((-y2) * x), $MachinePrecision] + N[(y3 * z), $MachinePrecision]), $MachinePrecision] * y1 + N[(N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision] * b + N[(N[(N[(y2 * t), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;a \leq -1.4 \cdot 10^{+221}:\\
\;\;\;\;\left(a \cdot \mathsf{fma}\left(t, y5, \left(-x\right) \cdot y1\right)\right) \cdot y2\\

\mathbf{elif}\;a \leq -2.4 \cdot 10^{+21}:\\
\;\;\;\;\left(a \cdot \mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right)\right) \cdot b\\

\mathbf{elif}\;a \leq -5.2 \cdot 10^{-15}:\\
\;\;\;\;\left(b \cdot \mathsf{fma}\left(-y, y4, y0 \cdot z\right)\right) \cdot k\\

\mathbf{elif}\;a \leq 1.75 \cdot 10^{-130}:\\
\;\;\;\;\mathsf{fma}\left(b \cdot a - i \cdot c, y, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, y2, \left(-j\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right)\right) \cdot x\\

\mathbf{elif}\;a \leq 9.8 \cdot 10^{+45}:\\
\;\;\;\;\mathsf{fma}\left(j, \mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right), y \cdot \mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)\right) \cdot y3\\

\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(\left(-y2\right) \cdot x + y3 \cdot z, y1, \mathsf{fma}\left(y \cdot x - t \cdot z, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a\\


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

    1. Initial program 30.0%

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

      \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
      2. lower-*.f64N/A

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, \left(-t\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right)\right) \cdot y2} \]
    6. Taylor expanded in a around inf

      \[\leadsto \left(a \cdot \left(-1 \cdot \left(x \cdot y1\right) + t \cdot y5\right)\right) \cdot y2 \]
    7. Step-by-step derivation
      1. Applied rewrites80.4%

        \[\leadsto \left(a \cdot \mathsf{fma}\left(t, y5, -x \cdot y1\right)\right) \cdot y2 \]

      if -1.39999999999999994e221 < a < -2.4e21

      1. Initial program 22.5%

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

        \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
      4. Step-by-step derivation
        1. *-commutativeN/A

          \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
        2. lower-*.f64N/A

          \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
      5. Applied rewrites50.2%

        \[\leadsto \color{blue}{\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(-y0\right) \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot b} \]
      6. Taylor expanded in a around inf

        \[\leadsto \left(a \cdot \left(x \cdot y - t \cdot z\right)\right) \cdot b \]
      7. Step-by-step derivation
        1. Applied rewrites58.1%

          \[\leadsto \left(a \cdot \mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right)\right) \cdot b \]

        if -2.4e21 < a < -5.20000000000000009e-15

        1. Initial program 16.7%

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

          \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
        4. Step-by-step derivation
          1. *-commutativeN/A

            \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot k} \]
          2. lower-*.f64N/A

            \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot k} \]
        5. Applied rewrites66.7%

          \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), y, \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, y2, \left(y0 \cdot b - y1 \cdot i\right) \cdot z\right)\right) \cdot k} \]
        6. Taylor expanded in b around inf

          \[\leadsto \left(b \cdot \left(-1 \cdot \left(y \cdot y4\right) + y0 \cdot z\right)\right) \cdot k \]
        7. Step-by-step derivation
          1. Applied rewrites100.0%

            \[\leadsto \left(b \cdot \mathsf{fma}\left(-y, y4, y0 \cdot z\right)\right) \cdot k \]

          if -5.20000000000000009e-15 < a < 1.75e-130

          1. Initial program 31.0%

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

            \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
          4. Step-by-step derivation
            1. *-commutativeN/A

              \[\leadsto \color{blue}{\left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot x} \]
            2. lower-*.f64N/A

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

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

          if 1.75e-130 < a < 9.8000000000000004e45

          1. Initial program 17.5%

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

            \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
          4. Step-by-step derivation
            1. *-commutativeN/A

              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
            2. lower-*.f64N/A

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

            \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot y1 - y5 \cdot y0\right), j, \mathsf{fma}\left(-z, y0 \cdot c - y1 \cdot a, \left(y4 \cdot c - y5 \cdot a\right) \cdot y\right)\right) \cdot y3} \]
          6. Taylor expanded in z around 0

            \[\leadsto \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) + y \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y3 \]
          7. Step-by-step derivation
            1. Applied rewrites58.1%

              \[\leadsto \mathsf{fma}\left(j, \mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right), y \cdot \mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)\right) \cdot y3 \]

            if 9.8000000000000004e45 < a

            1. Initial program 23.2%

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

              \[\leadsto \color{blue}{a \cdot \left(\left(-1 \cdot \left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + b \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
            4. Step-by-step derivation
              1. *-commutativeN/A

                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + b \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot a} \]
              2. lower-*.f64N/A

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

              \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), y1, \mathsf{fma}\left(y \cdot x - t \cdot z, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a} \]
          8. Recombined 6 regimes into one program.
          9. Final simplification58.3%

            \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -1.4 \cdot 10^{+221}:\\ \;\;\;\;\left(a \cdot \mathsf{fma}\left(t, y5, \left(-x\right) \cdot y1\right)\right) \cdot y2\\ \mathbf{elif}\;a \leq -2.4 \cdot 10^{+21}:\\ \;\;\;\;\left(a \cdot \mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right)\right) \cdot b\\ \mathbf{elif}\;a \leq -5.2 \cdot 10^{-15}:\\ \;\;\;\;\left(b \cdot \mathsf{fma}\left(-y, y4, y0 \cdot z\right)\right) \cdot k\\ \mathbf{elif}\;a \leq 1.75 \cdot 10^{-130}:\\ \;\;\;\;\mathsf{fma}\left(b \cdot a - i \cdot c, y, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, y2, \left(-j\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right)\right) \cdot x\\ \mathbf{elif}\;a \leq 9.8 \cdot 10^{+45}:\\ \;\;\;\;\mathsf{fma}\left(j, \mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right), y \cdot \mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)\right) \cdot y3\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(\left(-y2\right) \cdot x + y3 \cdot z, y1, \mathsf{fma}\left(y \cdot x - t \cdot z, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a\\ \end{array} \]
          10. Add Preprocessing

          Alternative 5: 44.2% accurate, 2.2× speedup?

          \[\begin{array}{l} \\ \begin{array}{l} t_1 := y0 \cdot c - y1 \cdot a\\ t_2 := y \cdot x - t \cdot z\\ \mathbf{if}\;a \leq -7.6 \cdot 10^{+257}:\\ \;\;\;\;\left(a \cdot \mathsf{fma}\left(t, y5, \left(-x\right) \cdot y1\right)\right) \cdot y2\\ \mathbf{elif}\;a \leq -2.75 \cdot 10^{-33}:\\ \;\;\;\;\mathsf{fma}\left(t\_2, a, t \cdot \mathsf{fma}\left(j, y4, \frac{-\mathsf{fma}\left(k \cdot y, y4, y0 \cdot \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right)\right)}{t}\right)\right) \cdot b\\ \mathbf{elif}\;a \leq 1.2 \cdot 10^{-130}:\\ \;\;\;\;\mathsf{fma}\left(b \cdot a - i \cdot c, y, \mathsf{fma}\left(t\_1, y2, \left(-j\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right)\right) \cdot x\\ \mathbf{elif}\;a \leq 1.42 \cdot 10^{+35}:\\ \;\;\;\;\mathsf{fma}\left(\left(-y4\right) \cdot y1 + y5 \cdot y0, j, \mathsf{fma}\left(-z, t\_1, \left(y4 \cdot c - y5 \cdot a\right) \cdot y\right)\right) \cdot y3\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(\left(-y2\right) \cdot x + y3 \cdot z, y1, \mathsf{fma}\left(t\_2, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a\\ \end{array} \end{array} \]
          (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
           :precision binary64
           (let* ((t_1 (- (* y0 c) (* y1 a))) (t_2 (- (* y x) (* t z))))
             (if (<= a -7.6e+257)
               (* (* a (fma t y5 (* (- x) y1))) y2)
               (if (<= a -2.75e-33)
                 (*
                  (fma
                   t_2
                   a
                   (*
                    t
                    (fma j y4 (/ (- (fma (* k y) y4 (* y0 (fma j x (* (- k) z))))) t))))
                  b)
                 (if (<= a 1.2e-130)
                   (*
                    (fma
                     (- (* b a) (* i c))
                     y
                     (fma t_1 y2 (* (- j) (- (* y0 b) (* y1 i)))))
                    x)
                   (if (<= a 1.42e+35)
                     (*
                      (fma
                       (+ (* (- y4) y1) (* y5 y0))
                       j
                       (fma (- z) t_1 (* (- (* y4 c) (* y5 a)) y)))
                      y3)
                     (*
                      (fma
                       (+ (* (- y2) x) (* y3 z))
                       y1
                       (fma t_2 b (* (- (* y2 t) (* y3 y)) y5)))
                      a)))))))
          double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
          	double t_1 = (y0 * c) - (y1 * a);
          	double t_2 = (y * x) - (t * z);
          	double tmp;
          	if (a <= -7.6e+257) {
          		tmp = (a * fma(t, y5, (-x * y1))) * y2;
          	} else if (a <= -2.75e-33) {
          		tmp = fma(t_2, a, (t * fma(j, y4, (-fma((k * y), y4, (y0 * fma(j, x, (-k * z)))) / t)))) * b;
          	} else if (a <= 1.2e-130) {
          		tmp = fma(((b * a) - (i * c)), y, fma(t_1, y2, (-j * ((y0 * b) - (y1 * i))))) * x;
          	} else if (a <= 1.42e+35) {
          		tmp = fma(((-y4 * y1) + (y5 * y0)), j, fma(-z, t_1, (((y4 * c) - (y5 * a)) * y))) * y3;
          	} else {
          		tmp = fma(((-y2 * x) + (y3 * z)), y1, fma(t_2, b, (((y2 * t) - (y3 * y)) * y5))) * a;
          	}
          	return tmp;
          }
          
          function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
          	t_1 = Float64(Float64(y0 * c) - Float64(y1 * a))
          	t_2 = Float64(Float64(y * x) - Float64(t * z))
          	tmp = 0.0
          	if (a <= -7.6e+257)
          		tmp = Float64(Float64(a * fma(t, y5, Float64(Float64(-x) * y1))) * y2);
          	elseif (a <= -2.75e-33)
          		tmp = Float64(fma(t_2, a, Float64(t * fma(j, y4, Float64(Float64(-fma(Float64(k * y), y4, Float64(y0 * fma(j, x, Float64(Float64(-k) * z))))) / t)))) * b);
          	elseif (a <= 1.2e-130)
          		tmp = Float64(fma(Float64(Float64(b * a) - Float64(i * c)), y, fma(t_1, y2, Float64(Float64(-j) * Float64(Float64(y0 * b) - Float64(y1 * i))))) * x);
          	elseif (a <= 1.42e+35)
          		tmp = Float64(fma(Float64(Float64(Float64(-y4) * y1) + Float64(y5 * y0)), j, fma(Float64(-z), t_1, Float64(Float64(Float64(y4 * c) - Float64(y5 * a)) * y))) * y3);
          	else
          		tmp = Float64(fma(Float64(Float64(Float64(-y2) * x) + Float64(y3 * z)), y1, fma(t_2, b, Float64(Float64(Float64(y2 * t) - Float64(y3 * y)) * y5))) * a);
          	end
          	return tmp
          end
          
          code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -7.6e+257], N[(N[(a * N[(t * y5 + N[((-x) * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[a, -2.75e-33], N[(N[(t$95$2 * a + N[(t * N[(j * y4 + N[((-N[(N[(k * y), $MachinePrecision] * y4 + N[(y0 * N[(j * x + N[((-k) * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]) / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[a, 1.2e-130], N[(N[(N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision] * y + N[(t$95$1 * y2 + N[((-j) * N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[a, 1.42e+35], N[(N[(N[(N[((-y4) * y1), $MachinePrecision] + N[(y5 * y0), $MachinePrecision]), $MachinePrecision] * j + N[((-z) * t$95$1 + N[(N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision], N[(N[(N[(N[((-y2) * x), $MachinePrecision] + N[(y3 * z), $MachinePrecision]), $MachinePrecision] * y1 + N[(t$95$2 * b + N[(N[(N[(y2 * t), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]]]]]]]
          
          \begin{array}{l}
          
          \\
          \begin{array}{l}
          t_1 := y0 \cdot c - y1 \cdot a\\
          t_2 := y \cdot x - t \cdot z\\
          \mathbf{if}\;a \leq -7.6 \cdot 10^{+257}:\\
          \;\;\;\;\left(a \cdot \mathsf{fma}\left(t, y5, \left(-x\right) \cdot y1\right)\right) \cdot y2\\
          
          \mathbf{elif}\;a \leq -2.75 \cdot 10^{-33}:\\
          \;\;\;\;\mathsf{fma}\left(t\_2, a, t \cdot \mathsf{fma}\left(j, y4, \frac{-\mathsf{fma}\left(k \cdot y, y4, y0 \cdot \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right)\right)}{t}\right)\right) \cdot b\\
          
          \mathbf{elif}\;a \leq 1.2 \cdot 10^{-130}:\\
          \;\;\;\;\mathsf{fma}\left(b \cdot a - i \cdot c, y, \mathsf{fma}\left(t\_1, y2, \left(-j\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right)\right) \cdot x\\
          
          \mathbf{elif}\;a \leq 1.42 \cdot 10^{+35}:\\
          \;\;\;\;\mathsf{fma}\left(\left(-y4\right) \cdot y1 + y5 \cdot y0, j, \mathsf{fma}\left(-z, t\_1, \left(y4 \cdot c - y5 \cdot a\right) \cdot y\right)\right) \cdot y3\\
          
          \mathbf{else}:\\
          \;\;\;\;\mathsf{fma}\left(\left(-y2\right) \cdot x + y3 \cdot z, y1, \mathsf{fma}\left(t\_2, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a\\
          
          
          \end{array}
          \end{array}
          
          Derivation
          1. Split input into 5 regimes
          2. if a < -7.59999999999999996e257

            1. Initial program 41.7%

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

              \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
            4. Step-by-step derivation
              1. *-commutativeN/A

                \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
              2. lower-*.f64N/A

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

              \[\leadsto \color{blue}{\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, \left(-t\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right)\right) \cdot y2} \]
            6. Taylor expanded in a around inf

              \[\leadsto \left(a \cdot \left(-1 \cdot \left(x \cdot y1\right) + t \cdot y5\right)\right) \cdot y2 \]
            7. Step-by-step derivation
              1. Applied rewrites92.4%

                \[\leadsto \left(a \cdot \mathsf{fma}\left(t, y5, -x \cdot y1\right)\right) \cdot y2 \]

              if -7.59999999999999996e257 < a < -2.75e-33

              1. Initial program 19.7%

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

                \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
              4. Step-by-step derivation
                1. *-commutativeN/A

                  \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                2. lower-*.f64N/A

                  \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
              5. Applied rewrites52.7%

                \[\leadsto \color{blue}{\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(-y0\right) \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot b} \]
              6. Taylor expanded in t around -inf

                \[\leadsto \mathsf{fma}\left(y \cdot x - t \cdot z, a, -1 \cdot \left(t \cdot \left(-1 \cdot \left(j \cdot y4\right) + -1 \cdot \frac{-1 \cdot \left(k \cdot \left(y \cdot y4\right)\right) + -1 \cdot \left(y0 \cdot \left(j \cdot x - k \cdot z\right)\right)}{t}\right)\right)\right) \cdot b \]
              7. Step-by-step derivation
                1. Applied rewrites60.8%

                  \[\leadsto \mathsf{fma}\left(y \cdot x - t \cdot z, a, \left(-t\right) \cdot \left(-1 \cdot \mathsf{fma}\left(j, y4, \frac{-1 \cdot \mathsf{fma}\left(k \cdot y, y4, y0 \cdot \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right)\right)}{t}\right)\right)\right) \cdot b \]

                if -2.75e-33 < a < 1.19999999999999998e-130

                1. Initial program 32.4%

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

                  \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                4. Step-by-step derivation
                  1. *-commutativeN/A

                    \[\leadsto \color{blue}{\left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot x} \]
                  2. lower-*.f64N/A

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

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

                if 1.19999999999999998e-130 < a < 1.41999999999999991e35

                1. Initial program 15.8%

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

                  \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                4. Step-by-step derivation
                  1. *-commutativeN/A

                    \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                  2. lower-*.f64N/A

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

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

                if 1.41999999999999991e35 < a

                1. Initial program 24.1%

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

                  \[\leadsto \color{blue}{a \cdot \left(\left(-1 \cdot \left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + b \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                4. Step-by-step derivation
                  1. *-commutativeN/A

                    \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + b \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot a} \]
                  2. lower-*.f64N/A

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

                  \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), y1, \mathsf{fma}\left(y \cdot x - t \cdot z, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a} \]
              8. Recombined 5 regimes into one program.
              9. Final simplification58.6%

                \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -7.6 \cdot 10^{+257}:\\ \;\;\;\;\left(a \cdot \mathsf{fma}\left(t, y5, \left(-x\right) \cdot y1\right)\right) \cdot y2\\ \mathbf{elif}\;a \leq -2.75 \cdot 10^{-33}:\\ \;\;\;\;\mathsf{fma}\left(y \cdot x - t \cdot z, a, t \cdot \mathsf{fma}\left(j, y4, \frac{-\mathsf{fma}\left(k \cdot y, y4, y0 \cdot \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right)\right)}{t}\right)\right) \cdot b\\ \mathbf{elif}\;a \leq 1.2 \cdot 10^{-130}:\\ \;\;\;\;\mathsf{fma}\left(b \cdot a - i \cdot c, y, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, y2, \left(-j\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right)\right) \cdot x\\ \mathbf{elif}\;a \leq 1.42 \cdot 10^{+35}:\\ \;\;\;\;\mathsf{fma}\left(\left(-y4\right) \cdot y1 + y5 \cdot y0, j, \mathsf{fma}\left(-z, y0 \cdot c - y1 \cdot a, \left(y4 \cdot c - y5 \cdot a\right) \cdot y\right)\right) \cdot y3\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(\left(-y2\right) \cdot x + y3 \cdot z, y1, \mathsf{fma}\left(y \cdot x - t \cdot z, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a\\ \end{array} \]
              10. Add Preprocessing

              Alternative 6: 40.1% accurate, 2.3× speedup?

              \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(\left(-y2\right) \cdot x + y3 \cdot z, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\ \mathbf{if}\;y1 \leq -2.9 \cdot 10^{+114}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y1 \leq -3.5 \cdot 10^{-28}:\\ \;\;\;\;\left(x \cdot \mathsf{fma}\left(-j, y0, a \cdot y\right)\right) \cdot b\\ \mathbf{elif}\;y1 \leq 2.5 \cdot 10^{-117}:\\ \;\;\;\;\mathsf{fma}\left(j, \mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right), y \cdot \mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)\right) \cdot y3\\ \mathbf{elif}\;y1 \leq 2.05 \cdot 10^{+229}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\left(i \cdot \mathsf{fma}\left(-y1, z, y \cdot y5\right)\right) \cdot k\\ \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
                       (*
                        (fma
                         (+ (* (- y2) x) (* y3 z))
                         a
                         (fma (- (* y2 k) (* y3 j)) y4 (* (- (* j x) (* k z)) i)))
                        y1)))
                 (if (<= y1 -2.9e+114)
                   t_1
                   (if (<= y1 -3.5e-28)
                     (* (* x (fma (- j) y0 (* a y))) b)
                     (if (<= y1 2.5e-117)
                       (* (fma j (fma y0 y5 (* (- y1) y4)) (* y (fma c y4 (* (- a) y5)))) y3)
                       (if (<= y1 2.05e+229) t_1 (* (* i (fma (- y1) z (* y y5))) k)))))))
              double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
              	double t_1 = fma(((-y2 * x) + (y3 * z)), a, fma(((y2 * k) - (y3 * j)), y4, (((j * x) - (k * z)) * i))) * y1;
              	double tmp;
              	if (y1 <= -2.9e+114) {
              		tmp = t_1;
              	} else if (y1 <= -3.5e-28) {
              		tmp = (x * fma(-j, y0, (a * y))) * b;
              	} else if (y1 <= 2.5e-117) {
              		tmp = fma(j, fma(y0, y5, (-y1 * y4)), (y * fma(c, y4, (-a * y5)))) * y3;
              	} else if (y1 <= 2.05e+229) {
              		tmp = t_1;
              	} else {
              		tmp = (i * fma(-y1, z, (y * y5))) * k;
              	}
              	return tmp;
              }
              
              function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
              	t_1 = Float64(fma(Float64(Float64(Float64(-y2) * x) + Float64(y3 * z)), a, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y4, Float64(Float64(Float64(j * x) - Float64(k * z)) * i))) * y1)
              	tmp = 0.0
              	if (y1 <= -2.9e+114)
              		tmp = t_1;
              	elseif (y1 <= -3.5e-28)
              		tmp = Float64(Float64(x * fma(Float64(-j), y0, Float64(a * y))) * b);
              	elseif (y1 <= 2.5e-117)
              		tmp = Float64(fma(j, fma(y0, y5, Float64(Float64(-y1) * y4)), Float64(y * fma(c, y4, Float64(Float64(-a) * y5)))) * y3);
              	elseif (y1 <= 2.05e+229)
              		tmp = t_1;
              	else
              		tmp = Float64(Float64(i * fma(Float64(-y1), z, Float64(y * y5))) * k);
              	end
              	return 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[(N[(N[((-y2) * x), $MachinePrecision] + N[(y3 * z), $MachinePrecision]), $MachinePrecision] * a + N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * y4 + N[(N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision]}, If[LessEqual[y1, -2.9e+114], t$95$1, If[LessEqual[y1, -3.5e-28], N[(N[(x * N[((-j) * y0 + N[(a * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[y1, 2.5e-117], N[(N[(j * N[(y0 * y5 + N[((-y1) * y4), $MachinePrecision]), $MachinePrecision] + N[(y * N[(c * y4 + N[((-a) * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision], If[LessEqual[y1, 2.05e+229], t$95$1, N[(N[(i * N[((-y1) * z + N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision]]]]]]
              
              \begin{array}{l}
              
              \\
              \begin{array}{l}
              t_1 := \mathsf{fma}\left(\left(-y2\right) \cdot x + y3 \cdot z, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\
              \mathbf{if}\;y1 \leq -2.9 \cdot 10^{+114}:\\
              \;\;\;\;t\_1\\
              
              \mathbf{elif}\;y1 \leq -3.5 \cdot 10^{-28}:\\
              \;\;\;\;\left(x \cdot \mathsf{fma}\left(-j, y0, a \cdot y\right)\right) \cdot b\\
              
              \mathbf{elif}\;y1 \leq 2.5 \cdot 10^{-117}:\\
              \;\;\;\;\mathsf{fma}\left(j, \mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right), y \cdot \mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)\right) \cdot y3\\
              
              \mathbf{elif}\;y1 \leq 2.05 \cdot 10^{+229}:\\
              \;\;\;\;t\_1\\
              
              \mathbf{else}:\\
              \;\;\;\;\left(i \cdot \mathsf{fma}\left(-y1, z, y \cdot y5\right)\right) \cdot k\\
              
              
              \end{array}
              \end{array}
              
              Derivation
              1. Split input into 4 regimes
              2. if y1 < -2.9e114 or 2.5e-117 < y1 < 2.0500000000000001e229

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

                  \[\leadsto \color{blue}{y1 \cdot \left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
                4. Step-by-step derivation
                  1. *-commutativeN/A

                    \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                  2. lower-*.f64N/A

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

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

                if -2.9e114 < y1 < -3.5e-28

                1. Initial program 33.3%

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

                  \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
                4. Step-by-step derivation
                  1. *-commutativeN/A

                    \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                  2. lower-*.f64N/A

                    \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                5. Applied rewrites50.5%

                  \[\leadsto \color{blue}{\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(-y0\right) \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot b} \]
                6. Taylor expanded in z around inf

                  \[\leadsto \left(z \cdot \left(-1 \cdot \left(a \cdot t\right) + k \cdot y0\right)\right) \cdot b \]
                7. Step-by-step derivation
                  1. Applied rewrites37.5%

                    \[\leadsto \left(z \cdot \mathsf{fma}\left(-1, a \cdot t, k \cdot y0\right)\right) \cdot b \]
                  2. Taylor expanded in x around inf

                    \[\leadsto \left(x \cdot \left(-1 \cdot \left(j \cdot y0\right) + a \cdot y\right)\right) \cdot b \]
                  3. Step-by-step derivation
                    1. Applied rewrites54.0%

                      \[\leadsto \left(x \cdot \mathsf{fma}\left(-j, y0, a \cdot y\right)\right) \cdot b \]

                    if -3.5e-28 < y1 < 2.5e-117

                    1. Initial program 23.2%

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

                      \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                    4. Step-by-step derivation
                      1. *-commutativeN/A

                        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                      2. lower-*.f64N/A

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

                      \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot y1 - y5 \cdot y0\right), j, \mathsf{fma}\left(-z, y0 \cdot c - y1 \cdot a, \left(y4 \cdot c - y5 \cdot a\right) \cdot y\right)\right) \cdot y3} \]
                    6. Taylor expanded in z around 0

                      \[\leadsto \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) + y \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y3 \]
                    7. Step-by-step derivation
                      1. Applied rewrites53.3%

                        \[\leadsto \mathsf{fma}\left(j, \mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right), y \cdot \mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)\right) \cdot y3 \]

                      if 2.0500000000000001e229 < y1

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

                        \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                      4. Step-by-step derivation
                        1. *-commutativeN/A

                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot k} \]
                        2. lower-*.f64N/A

                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot k} \]
                      5. Applied rewrites27.4%

                        \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), y, \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, y2, \left(y0 \cdot b - y1 \cdot i\right) \cdot z\right)\right) \cdot k} \]
                      6. Taylor expanded in i around inf

                        \[\leadsto \left(i \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right)\right) \cdot k \]
                      7. Step-by-step derivation
                        1. Applied rewrites60.8%

                          \[\leadsto \left(i \cdot \mathsf{fma}\left(-y1, z, y \cdot y5\right)\right) \cdot k \]
                      8. Recombined 4 regimes into one program.
                      9. Final simplification54.5%

                        \[\leadsto \begin{array}{l} \mathbf{if}\;y1 \leq -2.9 \cdot 10^{+114}:\\ \;\;\;\;\mathsf{fma}\left(\left(-y2\right) \cdot x + y3 \cdot z, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\ \mathbf{elif}\;y1 \leq -3.5 \cdot 10^{-28}:\\ \;\;\;\;\left(x \cdot \mathsf{fma}\left(-j, y0, a \cdot y\right)\right) \cdot b\\ \mathbf{elif}\;y1 \leq 2.5 \cdot 10^{-117}:\\ \;\;\;\;\mathsf{fma}\left(j, \mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right), y \cdot \mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)\right) \cdot y3\\ \mathbf{elif}\;y1 \leq 2.05 \cdot 10^{+229}:\\ \;\;\;\;\mathsf{fma}\left(\left(-y2\right) \cdot x + y3 \cdot z, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\ \mathbf{else}:\\ \;\;\;\;\left(i \cdot \mathsf{fma}\left(-y1, z, y \cdot y5\right)\right) \cdot k\\ \end{array} \]
                      10. Add Preprocessing

                      Alternative 7: 36.7% accurate, 3.3× speedup?

                      \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;a \leq -1.4 \cdot 10^{+221}:\\ \;\;\;\;\left(a \cdot \mathsf{fma}\left(t, y5, \left(-x\right) \cdot y1\right)\right) \cdot y2\\ \mathbf{elif}\;a \leq -4.8 \cdot 10^{+35}:\\ \;\;\;\;\left(a \cdot \mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right)\right) \cdot b\\ \mathbf{elif}\;a \leq 4 \cdot 10^{+172}:\\ \;\;\;\;\mathsf{fma}\left(j, \mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right), y \cdot \mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)\right) \cdot y3\\ \mathbf{else}:\\ \;\;\;\;\left(z \cdot \mathsf{fma}\left(-i, k, a \cdot y3\right)\right) \cdot y1\\ \end{array} \end{array} \]
                      (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                       :precision binary64
                       (if (<= a -1.4e+221)
                         (* (* a (fma t y5 (* (- x) y1))) y2)
                         (if (<= a -4.8e+35)
                           (* (* a (fma x y (* (- t) z))) b)
                           (if (<= a 4e+172)
                             (* (fma j (fma y0 y5 (* (- y1) y4)) (* y (fma c y4 (* (- a) y5)))) y3)
                             (* (* z (fma (- i) k (* a y3))) y1)))))
                      double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                      	double tmp;
                      	if (a <= -1.4e+221) {
                      		tmp = (a * fma(t, y5, (-x * y1))) * y2;
                      	} else if (a <= -4.8e+35) {
                      		tmp = (a * fma(x, y, (-t * z))) * b;
                      	} else if (a <= 4e+172) {
                      		tmp = fma(j, fma(y0, y5, (-y1 * y4)), (y * fma(c, y4, (-a * y5)))) * y3;
                      	} else {
                      		tmp = (z * fma(-i, k, (a * y3))) * y1;
                      	}
                      	return tmp;
                      }
                      
                      function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                      	tmp = 0.0
                      	if (a <= -1.4e+221)
                      		tmp = Float64(Float64(a * fma(t, y5, Float64(Float64(-x) * y1))) * y2);
                      	elseif (a <= -4.8e+35)
                      		tmp = Float64(Float64(a * fma(x, y, Float64(Float64(-t) * z))) * b);
                      	elseif (a <= 4e+172)
                      		tmp = Float64(fma(j, fma(y0, y5, Float64(Float64(-y1) * y4)), Float64(y * fma(c, y4, Float64(Float64(-a) * y5)))) * y3);
                      	else
                      		tmp = Float64(Float64(z * fma(Float64(-i), k, Float64(a * y3))) * y1);
                      	end
                      	return tmp
                      end
                      
                      code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[a, -1.4e+221], N[(N[(a * N[(t * y5 + N[((-x) * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[a, -4.8e+35], N[(N[(a * N[(x * y + N[((-t) * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[a, 4e+172], N[(N[(j * N[(y0 * y5 + N[((-y1) * y4), $MachinePrecision]), $MachinePrecision] + N[(y * N[(c * y4 + N[((-a) * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision], N[(N[(z * N[((-i) * k + N[(a * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision]]]]
                      
                      \begin{array}{l}
                      
                      \\
                      \begin{array}{l}
                      \mathbf{if}\;a \leq -1.4 \cdot 10^{+221}:\\
                      \;\;\;\;\left(a \cdot \mathsf{fma}\left(t, y5, \left(-x\right) \cdot y1\right)\right) \cdot y2\\
                      
                      \mathbf{elif}\;a \leq -4.8 \cdot 10^{+35}:\\
                      \;\;\;\;\left(a \cdot \mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right)\right) \cdot b\\
                      
                      \mathbf{elif}\;a \leq 4 \cdot 10^{+172}:\\
                      \;\;\;\;\mathsf{fma}\left(j, \mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right), y \cdot \mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)\right) \cdot y3\\
                      
                      \mathbf{else}:\\
                      \;\;\;\;\left(z \cdot \mathsf{fma}\left(-i, k, a \cdot y3\right)\right) \cdot y1\\
                      
                      
                      \end{array}
                      \end{array}
                      
                      Derivation
                      1. Split input into 4 regimes
                      2. if a < -1.39999999999999994e221

                        1. Initial program 30.0%

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

                          \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                        4. Step-by-step derivation
                          1. *-commutativeN/A

                            \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                          2. lower-*.f64N/A

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

                          \[\leadsto \color{blue}{\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, \left(-t\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right)\right) \cdot y2} \]
                        6. Taylor expanded in a around inf

                          \[\leadsto \left(a \cdot \left(-1 \cdot \left(x \cdot y1\right) + t \cdot y5\right)\right) \cdot y2 \]
                        7. Step-by-step derivation
                          1. Applied rewrites80.4%

                            \[\leadsto \left(a \cdot \mathsf{fma}\left(t, y5, -x \cdot y1\right)\right) \cdot y2 \]

                          if -1.39999999999999994e221 < a < -4.80000000000000029e35

                          1. Initial program 20.5%

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

                            \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
                          4. Step-by-step derivation
                            1. *-commutativeN/A

                              \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                            2. lower-*.f64N/A

                              \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                          5. Applied rewrites51.4%

                            \[\leadsto \color{blue}{\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(-y0\right) \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot b} \]
                          6. Taylor expanded in a around inf

                            \[\leadsto \left(a \cdot \left(x \cdot y - t \cdot z\right)\right) \cdot b \]
                          7. Step-by-step derivation
                            1. Applied rewrites59.5%

                              \[\leadsto \left(a \cdot \mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right)\right) \cdot b \]

                            if -4.80000000000000029e35 < a < 4.0000000000000003e172

                            1. Initial program 28.8%

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

                              \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                            4. Step-by-step derivation
                              1. *-commutativeN/A

                                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                              2. lower-*.f64N/A

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

                              \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot y1 - y5 \cdot y0\right), j, \mathsf{fma}\left(-z, y0 \cdot c - y1 \cdot a, \left(y4 \cdot c - y5 \cdot a\right) \cdot y\right)\right) \cdot y3} \]
                            6. Taylor expanded in z around 0

                              \[\leadsto \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) + y \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y3 \]
                            7. Step-by-step derivation
                              1. Applied rewrites43.4%

                                \[\leadsto \mathsf{fma}\left(j, \mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right), y \cdot \mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)\right) \cdot y3 \]

                              if 4.0000000000000003e172 < a

                              1. Initial program 10.0%

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

                                \[\leadsto \color{blue}{y1 \cdot \left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
                              4. Step-by-step derivation
                                1. *-commutativeN/A

                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                2. lower-*.f64N/A

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

                                \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1} \]
                              6. Taylor expanded in z around inf

                                \[\leadsto \left(z \cdot \left(-1 \cdot \left(i \cdot k\right) + a \cdot y3\right)\right) \cdot y1 \]
                              7. Step-by-step derivation
                                1. Applied rewrites60.5%

                                  \[\leadsto \left(z \cdot \mathsf{fma}\left(-i, k, a \cdot y3\right)\right) \cdot y1 \]
                              8. Recombined 4 regimes into one program.
                              9. Final simplification50.8%

                                \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -1.4 \cdot 10^{+221}:\\ \;\;\;\;\left(a \cdot \mathsf{fma}\left(t, y5, \left(-x\right) \cdot y1\right)\right) \cdot y2\\ \mathbf{elif}\;a \leq -4.8 \cdot 10^{+35}:\\ \;\;\;\;\left(a \cdot \mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right)\right) \cdot b\\ \mathbf{elif}\;a \leq 4 \cdot 10^{+172}:\\ \;\;\;\;\mathsf{fma}\left(j, \mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right), y \cdot \mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)\right) \cdot y3\\ \mathbf{else}:\\ \;\;\;\;\left(z \cdot \mathsf{fma}\left(-i, k, a \cdot y3\right)\right) \cdot y1\\ \end{array} \]
                              10. Add Preprocessing

                              Alternative 8: 31.1% accurate, 3.4× speedup?

                              \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;a \leq -1.4 \cdot 10^{+221}:\\ \;\;\;\;\left(a \cdot \mathsf{fma}\left(t, y5, \left(-x\right) \cdot y1\right)\right) \cdot y2\\ \mathbf{elif}\;a \leq -13500:\\ \;\;\;\;\left(a \cdot \mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right)\right) \cdot b\\ \mathbf{elif}\;a \leq 3.9 \cdot 10^{-171}:\\ \;\;\;\;\left(c \cdot \mathsf{fma}\left(x, y0, \left(-t\right) \cdot y4\right)\right) \cdot y2\\ \mathbf{elif}\;a \leq 9.5 \cdot 10^{-130}:\\ \;\;\;\;\left(i \cdot x\right) \cdot \mathsf{fma}\left(-c, y, j \cdot y1\right)\\ \mathbf{elif}\;a \leq 2.15 \cdot 10^{-52}:\\ \;\;\;\;\left(c \cdot \mathsf{fma}\left(-y0, z, y \cdot y4\right)\right) \cdot y3\\ \mathbf{elif}\;a \leq 5.5 \cdot 10^{+168}:\\ \;\;\;\;\left(j \cdot \mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right)\right) \cdot y3\\ \mathbf{else}:\\ \;\;\;\;\left(z \cdot \mathsf{fma}\left(-i, k, a \cdot y3\right)\right) \cdot y1\\ \end{array} \end{array} \]
                              (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                               :precision binary64
                               (if (<= a -1.4e+221)
                                 (* (* a (fma t y5 (* (- x) y1))) y2)
                                 (if (<= a -13500.0)
                                   (* (* a (fma x y (* (- t) z))) b)
                                   (if (<= a 3.9e-171)
                                     (* (* c (fma x y0 (* (- t) y4))) y2)
                                     (if (<= a 9.5e-130)
                                       (* (* i x) (fma (- c) y (* j y1)))
                                       (if (<= a 2.15e-52)
                                         (* (* c (fma (- y0) z (* y y4))) y3)
                                         (if (<= a 5.5e+168)
                                           (* (* j (fma y0 y5 (* (- y1) y4))) y3)
                                           (* (* z (fma (- i) k (* a y3))) y1))))))))
                              double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                              	double tmp;
                              	if (a <= -1.4e+221) {
                              		tmp = (a * fma(t, y5, (-x * y1))) * y2;
                              	} else if (a <= -13500.0) {
                              		tmp = (a * fma(x, y, (-t * z))) * b;
                              	} else if (a <= 3.9e-171) {
                              		tmp = (c * fma(x, y0, (-t * y4))) * y2;
                              	} else if (a <= 9.5e-130) {
                              		tmp = (i * x) * fma(-c, y, (j * y1));
                              	} else if (a <= 2.15e-52) {
                              		tmp = (c * fma(-y0, z, (y * y4))) * y3;
                              	} else if (a <= 5.5e+168) {
                              		tmp = (j * fma(y0, y5, (-y1 * y4))) * y3;
                              	} else {
                              		tmp = (z * fma(-i, k, (a * y3))) * y1;
                              	}
                              	return tmp;
                              }
                              
                              function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                              	tmp = 0.0
                              	if (a <= -1.4e+221)
                              		tmp = Float64(Float64(a * fma(t, y5, Float64(Float64(-x) * y1))) * y2);
                              	elseif (a <= -13500.0)
                              		tmp = Float64(Float64(a * fma(x, y, Float64(Float64(-t) * z))) * b);
                              	elseif (a <= 3.9e-171)
                              		tmp = Float64(Float64(c * fma(x, y0, Float64(Float64(-t) * y4))) * y2);
                              	elseif (a <= 9.5e-130)
                              		tmp = Float64(Float64(i * x) * fma(Float64(-c), y, Float64(j * y1)));
                              	elseif (a <= 2.15e-52)
                              		tmp = Float64(Float64(c * fma(Float64(-y0), z, Float64(y * y4))) * y3);
                              	elseif (a <= 5.5e+168)
                              		tmp = Float64(Float64(j * fma(y0, y5, Float64(Float64(-y1) * y4))) * y3);
                              	else
                              		tmp = Float64(Float64(z * fma(Float64(-i), k, Float64(a * y3))) * y1);
                              	end
                              	return tmp
                              end
                              
                              code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[a, -1.4e+221], N[(N[(a * N[(t * y5 + N[((-x) * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[a, -13500.0], N[(N[(a * N[(x * y + N[((-t) * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[a, 3.9e-171], N[(N[(c * N[(x * y0 + N[((-t) * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[a, 9.5e-130], N[(N[(i * x), $MachinePrecision] * N[((-c) * y + N[(j * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2.15e-52], N[(N[(c * N[((-y0) * z + N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision], If[LessEqual[a, 5.5e+168], N[(N[(j * N[(y0 * y5 + N[((-y1) * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision], N[(N[(z * N[((-i) * k + N[(a * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision]]]]]]]
                              
                              \begin{array}{l}
                              
                              \\
                              \begin{array}{l}
                              \mathbf{if}\;a \leq -1.4 \cdot 10^{+221}:\\
                              \;\;\;\;\left(a \cdot \mathsf{fma}\left(t, y5, \left(-x\right) \cdot y1\right)\right) \cdot y2\\
                              
                              \mathbf{elif}\;a \leq -13500:\\
                              \;\;\;\;\left(a \cdot \mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right)\right) \cdot b\\
                              
                              \mathbf{elif}\;a \leq 3.9 \cdot 10^{-171}:\\
                              \;\;\;\;\left(c \cdot \mathsf{fma}\left(x, y0, \left(-t\right) \cdot y4\right)\right) \cdot y2\\
                              
                              \mathbf{elif}\;a \leq 9.5 \cdot 10^{-130}:\\
                              \;\;\;\;\left(i \cdot x\right) \cdot \mathsf{fma}\left(-c, y, j \cdot y1\right)\\
                              
                              \mathbf{elif}\;a \leq 2.15 \cdot 10^{-52}:\\
                              \;\;\;\;\left(c \cdot \mathsf{fma}\left(-y0, z, y \cdot y4\right)\right) \cdot y3\\
                              
                              \mathbf{elif}\;a \leq 5.5 \cdot 10^{+168}:\\
                              \;\;\;\;\left(j \cdot \mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right)\right) \cdot y3\\
                              
                              \mathbf{else}:\\
                              \;\;\;\;\left(z \cdot \mathsf{fma}\left(-i, k, a \cdot y3\right)\right) \cdot y1\\
                              
                              
                              \end{array}
                              \end{array}
                              
                              Derivation
                              1. Split input into 7 regimes
                              2. if a < -1.39999999999999994e221

                                1. Initial program 30.0%

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

                                  \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                4. Step-by-step derivation
                                  1. *-commutativeN/A

                                    \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                  2. lower-*.f64N/A

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

                                  \[\leadsto \color{blue}{\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, \left(-t\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right)\right) \cdot y2} \]
                                6. Taylor expanded in a around inf

                                  \[\leadsto \left(a \cdot \left(-1 \cdot \left(x \cdot y1\right) + t \cdot y5\right)\right) \cdot y2 \]
                                7. Step-by-step derivation
                                  1. Applied rewrites80.4%

                                    \[\leadsto \left(a \cdot \mathsf{fma}\left(t, y5, -x \cdot y1\right)\right) \cdot y2 \]

                                  if -1.39999999999999994e221 < a < -13500

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

                                    \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
                                  4. Step-by-step derivation
                                    1. *-commutativeN/A

                                      \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                    2. lower-*.f64N/A

                                      \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                  5. Applied rewrites51.4%

                                    \[\leadsto \color{blue}{\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(-y0\right) \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot b} \]
                                  6. Taylor expanded in a around inf

                                    \[\leadsto \left(a \cdot \left(x \cdot y - t \cdot z\right)\right) \cdot b \]
                                  7. Step-by-step derivation
                                    1. Applied rewrites56.8%

                                      \[\leadsto \left(a \cdot \mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right)\right) \cdot b \]

                                    if -13500 < a < 3.8999999999999998e-171

                                    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 y2 around inf

                                      \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                    4. Step-by-step derivation
                                      1. *-commutativeN/A

                                        \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                      2. lower-*.f64N/A

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

                                      \[\leadsto \color{blue}{\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, \left(-t\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right)\right) \cdot y2} \]
                                    6. Taylor expanded in c around inf

                                      \[\leadsto \left(c \cdot \left(-1 \cdot \left(t \cdot y4\right) + x \cdot y0\right)\right) \cdot y2 \]
                                    7. Step-by-step derivation
                                      1. Applied rewrites42.6%

                                        \[\leadsto \left(c \cdot \mathsf{fma}\left(x, y0, -t \cdot y4\right)\right) \cdot y2 \]

                                      if 3.8999999999999998e-171 < a < 9.49999999999999962e-130

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

                                        \[\leadsto \color{blue}{i \cdot \left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
                                      4. Step-by-step derivation
                                        1. *-commutativeN/A

                                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot i} \]
                                        2. lower-*.f64N/A

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

                                        \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y \cdot x - t \cdot z\right), c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i} \]
                                      6. Taylor expanded in j around inf

                                        \[\leadsto i \cdot \color{blue}{\left(j \cdot \left(-1 \cdot \left(t \cdot y5\right) + x \cdot y1\right)\right)} \]
                                      7. Step-by-step derivation
                                        1. Applied rewrites32.0%

                                          \[\leadsto i \cdot \color{blue}{\left(j \cdot \mathsf{fma}\left(-t, y5, x \cdot y1\right)\right)} \]
                                        2. Taylor expanded in x around inf

                                          \[\leadsto i \cdot \color{blue}{\left(x \cdot \left(-1 \cdot \left(c \cdot y\right) + j \cdot y1\right)\right)} \]
                                        3. Step-by-step derivation
                                          1. Applied rewrites60.7%

                                            \[\leadsto \left(i \cdot x\right) \cdot \color{blue}{\mathsf{fma}\left(-c, y, j \cdot y1\right)} \]

                                          if 9.49999999999999962e-130 < a < 2.1500000000000002e-52

                                          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 y3 around inf

                                            \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                          4. Step-by-step derivation
                                            1. *-commutativeN/A

                                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                            2. lower-*.f64N/A

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

                                            \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot y1 - y5 \cdot y0\right), j, \mathsf{fma}\left(-z, y0 \cdot c - y1 \cdot a, \left(y4 \cdot c - y5 \cdot a\right) \cdot y\right)\right) \cdot y3} \]
                                          6. Taylor expanded in j around inf

                                            \[\leadsto \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) \cdot y3 \]
                                          7. Step-by-step derivation
                                            1. Applied rewrites31.9%

                                              \[\leadsto \left(j \cdot \mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right)\right) \cdot y3 \]
                                            2. Taylor expanded in c around inf

                                              \[\leadsto \left(c \cdot \left(-1 \cdot \left(y0 \cdot z\right) + y \cdot y4\right)\right) \cdot y3 \]
                                            3. Step-by-step derivation
                                              1. Applied rewrites69.0%

                                                \[\leadsto \left(c \cdot \mathsf{fma}\left(-y0, z, y \cdot y4\right)\right) \cdot y3 \]

                                              if 2.1500000000000002e-52 < a < 5.5000000000000001e168

                                              1. Initial program 30.0%

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

                                                \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                              4. Step-by-step derivation
                                                1. *-commutativeN/A

                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                2. lower-*.f64N/A

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

                                                \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot y1 - y5 \cdot y0\right), j, \mathsf{fma}\left(-z, y0 \cdot c - y1 \cdot a, \left(y4 \cdot c - y5 \cdot a\right) \cdot y\right)\right) \cdot y3} \]
                                              6. Taylor expanded in j around inf

                                                \[\leadsto \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) \cdot y3 \]
                                              7. Step-by-step derivation
                                                1. Applied rewrites46.8%

                                                  \[\leadsto \left(j \cdot \mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right)\right) \cdot y3 \]

                                                if 5.5000000000000001e168 < a

                                                1. Initial program 10.0%

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

                                                  \[\leadsto \color{blue}{y1 \cdot \left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
                                                4. Step-by-step derivation
                                                  1. *-commutativeN/A

                                                    \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                                  2. lower-*.f64N/A

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

                                                  \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1} \]
                                                6. Taylor expanded in z around inf

                                                  \[\leadsto \left(z \cdot \left(-1 \cdot \left(i \cdot k\right) + a \cdot y3\right)\right) \cdot y1 \]
                                                7. Step-by-step derivation
                                                  1. Applied rewrites60.5%

                                                    \[\leadsto \left(z \cdot \mathsf{fma}\left(-i, k, a \cdot y3\right)\right) \cdot y1 \]
                                                8. Recombined 7 regimes into one program.
                                                9. Final simplification53.1%

                                                  \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -1.4 \cdot 10^{+221}:\\ \;\;\;\;\left(a \cdot \mathsf{fma}\left(t, y5, \left(-x\right) \cdot y1\right)\right) \cdot y2\\ \mathbf{elif}\;a \leq -13500:\\ \;\;\;\;\left(a \cdot \mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right)\right) \cdot b\\ \mathbf{elif}\;a \leq 3.9 \cdot 10^{-171}:\\ \;\;\;\;\left(c \cdot \mathsf{fma}\left(x, y0, \left(-t\right) \cdot y4\right)\right) \cdot y2\\ \mathbf{elif}\;a \leq 9.5 \cdot 10^{-130}:\\ \;\;\;\;\left(i \cdot x\right) \cdot \mathsf{fma}\left(-c, y, j \cdot y1\right)\\ \mathbf{elif}\;a \leq 2.15 \cdot 10^{-52}:\\ \;\;\;\;\left(c \cdot \mathsf{fma}\left(-y0, z, y \cdot y4\right)\right) \cdot y3\\ \mathbf{elif}\;a \leq 5.5 \cdot 10^{+168}:\\ \;\;\;\;\left(j \cdot \mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right)\right) \cdot y3\\ \mathbf{else}:\\ \;\;\;\;\left(z \cdot \mathsf{fma}\left(-i, k, a \cdot y3\right)\right) \cdot y1\\ \end{array} \]
                                                10. Add Preprocessing

                                                Alternative 9: 28.6% accurate, 3.4× speedup?

                                                \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(b \cdot z\right) \cdot \mathsf{fma}\left(-a, t, k \cdot y0\right)\\ \mathbf{if}\;b \leq -180000000000:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq -1.18 \cdot 10^{-256}:\\ \;\;\;\;\left(a \cdot \mathsf{fma}\left(y3, z, \left(-x\right) \cdot y2\right)\right) \cdot y1\\ \mathbf{elif}\;b \leq 2.15 \cdot 10^{-111}:\\ \;\;\;\;a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, y1 \cdot z\right)\right)\\ \mathbf{elif}\;b \leq 7 \cdot 10^{+55}:\\ \;\;\;\;\left(c \cdot i\right) \cdot \mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right)\\ \mathbf{elif}\;b \leq 1.5 \cdot 10^{+149}:\\ \;\;\;\;\left(i \cdot \mathsf{fma}\left(-y1, z, y \cdot y5\right)\right) \cdot k\\ \mathbf{elif}\;b \leq 1.1 \cdot 10^{+280}:\\ \;\;\;\;\left(\left(j \cdot y0\right) \cdot y5\right) \cdot y3\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                 :precision binary64
                                                 (let* ((t_1 (* (* b z) (fma (- a) t (* k y0)))))
                                                   (if (<= b -180000000000.0)
                                                     t_1
                                                     (if (<= b -1.18e-256)
                                                       (* (* a (fma y3 z (* (- x) y2))) y1)
                                                       (if (<= b 2.15e-111)
                                                         (* a (* y3 (fma (- y) y5 (* y1 z))))
                                                         (if (<= b 7e+55)
                                                           (* (* c i) (fma t z (* (- x) y)))
                                                           (if (<= b 1.5e+149)
                                                             (* (* i (fma (- y1) z (* y y5))) k)
                                                             (if (<= b 1.1e+280) (* (* (* j y0) y5) y3) t_1))))))))
                                                double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                	double t_1 = (b * z) * fma(-a, t, (k * y0));
                                                	double tmp;
                                                	if (b <= -180000000000.0) {
                                                		tmp = t_1;
                                                	} else if (b <= -1.18e-256) {
                                                		tmp = (a * fma(y3, z, (-x * y2))) * y1;
                                                	} else if (b <= 2.15e-111) {
                                                		tmp = a * (y3 * fma(-y, y5, (y1 * z)));
                                                	} else if (b <= 7e+55) {
                                                		tmp = (c * i) * fma(t, z, (-x * y));
                                                	} else if (b <= 1.5e+149) {
                                                		tmp = (i * fma(-y1, z, (y * y5))) * k;
                                                	} else if (b <= 1.1e+280) {
                                                		tmp = ((j * y0) * y5) * y3;
                                                	} 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(b * z) * fma(Float64(-a), t, Float64(k * y0)))
                                                	tmp = 0.0
                                                	if (b <= -180000000000.0)
                                                		tmp = t_1;
                                                	elseif (b <= -1.18e-256)
                                                		tmp = Float64(Float64(a * fma(y3, z, Float64(Float64(-x) * y2))) * y1);
                                                	elseif (b <= 2.15e-111)
                                                		tmp = Float64(a * Float64(y3 * fma(Float64(-y), y5, Float64(y1 * z))));
                                                	elseif (b <= 7e+55)
                                                		tmp = Float64(Float64(c * i) * fma(t, z, Float64(Float64(-x) * y)));
                                                	elseif (b <= 1.5e+149)
                                                		tmp = Float64(Float64(i * fma(Float64(-y1), z, Float64(y * y5))) * k);
                                                	elseif (b <= 1.1e+280)
                                                		tmp = Float64(Float64(Float64(j * y0) * y5) * y3);
                                                	else
                                                		tmp = t_1;
                                                	end
                                                	return 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 * z), $MachinePrecision] * N[((-a) * t + N[(k * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -180000000000.0], t$95$1, If[LessEqual[b, -1.18e-256], N[(N[(a * N[(y3 * z + N[((-x) * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[b, 2.15e-111], N[(a * N[(y3 * N[((-y) * y5 + N[(y1 * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 7e+55], N[(N[(c * i), $MachinePrecision] * N[(t * z + N[((-x) * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.5e+149], N[(N[(i * N[((-y1) * z + N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision], If[LessEqual[b, 1.1e+280], N[(N[(N[(j * y0), $MachinePrecision] * y5), $MachinePrecision] * y3), $MachinePrecision], t$95$1]]]]]]]
                                                
                                                \begin{array}{l}
                                                
                                                \\
                                                \begin{array}{l}
                                                t_1 := \left(b \cdot z\right) \cdot \mathsf{fma}\left(-a, t, k \cdot y0\right)\\
                                                \mathbf{if}\;b \leq -180000000000:\\
                                                \;\;\;\;t\_1\\
                                                
                                                \mathbf{elif}\;b \leq -1.18 \cdot 10^{-256}:\\
                                                \;\;\;\;\left(a \cdot \mathsf{fma}\left(y3, z, \left(-x\right) \cdot y2\right)\right) \cdot y1\\
                                                
                                                \mathbf{elif}\;b \leq 2.15 \cdot 10^{-111}:\\
                                                \;\;\;\;a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, y1 \cdot z\right)\right)\\
                                                
                                                \mathbf{elif}\;b \leq 7 \cdot 10^{+55}:\\
                                                \;\;\;\;\left(c \cdot i\right) \cdot \mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right)\\
                                                
                                                \mathbf{elif}\;b \leq 1.5 \cdot 10^{+149}:\\
                                                \;\;\;\;\left(i \cdot \mathsf{fma}\left(-y1, z, y \cdot y5\right)\right) \cdot k\\
                                                
                                                \mathbf{elif}\;b \leq 1.1 \cdot 10^{+280}:\\
                                                \;\;\;\;\left(\left(j \cdot y0\right) \cdot y5\right) \cdot y3\\
                                                
                                                \mathbf{else}:\\
                                                \;\;\;\;t\_1\\
                                                
                                                
                                                \end{array}
                                                \end{array}
                                                
                                                Derivation
                                                1. Split input into 6 regimes
                                                2. if b < -1.8e11 or 1.10000000000000008e280 < b

                                                  1. Initial program 15.4%

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

                                                    \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
                                                  4. Step-by-step derivation
                                                    1. *-commutativeN/A

                                                      \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                    2. lower-*.f64N/A

                                                      \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                  5. Applied rewrites52.5%

                                                    \[\leadsto \color{blue}{\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(-y0\right) \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot b} \]
                                                  6. Taylor expanded in z around inf

                                                    \[\leadsto \left(z \cdot \left(-1 \cdot \left(a \cdot t\right) + k \cdot y0\right)\right) \cdot b \]
                                                  7. Step-by-step derivation
                                                    1. Applied rewrites44.4%

                                                      \[\leadsto \left(z \cdot \mathsf{fma}\left(-1, a \cdot t, k \cdot y0\right)\right) \cdot b \]
                                                    2. Taylor expanded in z around inf

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

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

                                                      if -1.8e11 < b < -1.18e-256

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

                                                        \[\leadsto \color{blue}{y1 \cdot \left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
                                                      4. Step-by-step derivation
                                                        1. *-commutativeN/A

                                                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                                        2. lower-*.f64N/A

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

                                                        \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1} \]
                                                      6. Taylor expanded in a around inf

                                                        \[\leadsto \left(a \cdot \left(y3 \cdot z - x \cdot y2\right)\right) \cdot y1 \]
                                                      7. Step-by-step derivation
                                                        1. Applied rewrites43.2%

                                                          \[\leadsto \left(a \cdot \mathsf{fma}\left(y3, z, \left(-x\right) \cdot y2\right)\right) \cdot y1 \]

                                                        if -1.18e-256 < b < 2.1499999999999999e-111

                                                        1. Initial program 27.5%

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

                                                          \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                        4. Step-by-step derivation
                                                          1. *-commutativeN/A

                                                            \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                          2. lower-*.f64N/A

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

                                                          \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot y1 - y5 \cdot y0\right), j, \mathsf{fma}\left(-z, y0 \cdot c - y1 \cdot a, \left(y4 \cdot c - y5 \cdot a\right) \cdot y\right)\right) \cdot y3} \]
                                                        6. Taylor expanded in a around inf

                                                          \[\leadsto a \cdot \color{blue}{\left(y3 \cdot \left(-1 \cdot \left(y \cdot y5\right) + y1 \cdot z\right)\right)} \]
                                                        7. Step-by-step derivation
                                                          1. Applied rewrites48.2%

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

                                                          if 2.1499999999999999e-111 < b < 7.00000000000000021e55

                                                          1. Initial program 22.9%

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

                                                            \[\leadsto \color{blue}{i \cdot \left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
                                                          4. Step-by-step derivation
                                                            1. *-commutativeN/A

                                                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot i} \]
                                                            2. lower-*.f64N/A

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

                                                            \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y \cdot x - t \cdot z\right), c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i} \]
                                                          6. Taylor expanded in c around inf

                                                            \[\leadsto c \cdot \color{blue}{\left(i \cdot \left(t \cdot z - x \cdot y\right)\right)} \]
                                                          7. Step-by-step derivation
                                                            1. Applied rewrites43.2%

                                                              \[\leadsto \left(c \cdot i\right) \cdot \color{blue}{\mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right)} \]

                                                            if 7.00000000000000021e55 < b < 1.50000000000000002e149

                                                            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

                                                              \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                            4. Step-by-step derivation
                                                              1. *-commutativeN/A

                                                                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot k} \]
                                                              2. lower-*.f64N/A

                                                                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot k} \]
                                                            5. Applied rewrites55.6%

                                                              \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), y, \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, y2, \left(y0 \cdot b - y1 \cdot i\right) \cdot z\right)\right) \cdot k} \]
                                                            6. Taylor expanded in i around inf

                                                              \[\leadsto \left(i \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right)\right) \cdot k \]
                                                            7. Step-by-step derivation
                                                              1. Applied rewrites64.8%

                                                                \[\leadsto \left(i \cdot \mathsf{fma}\left(-y1, z, y \cdot y5\right)\right) \cdot k \]

                                                              if 1.50000000000000002e149 < b < 1.10000000000000008e280

                                                              1. Initial program 22.2%

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

                                                                \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                              4. Step-by-step derivation
                                                                1. *-commutativeN/A

                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                2. lower-*.f64N/A

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

                                                                \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot y1 - y5 \cdot y0\right), j, \mathsf{fma}\left(-z, y0 \cdot c - y1 \cdot a, \left(y4 \cdot c - y5 \cdot a\right) \cdot y\right)\right) \cdot y3} \]
                                                              6. Taylor expanded in j around inf

                                                                \[\leadsto \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) \cdot y3 \]
                                                              7. Step-by-step derivation
                                                                1. Applied rewrites45.2%

                                                                  \[\leadsto \left(j \cdot \mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right)\right) \cdot y3 \]
                                                                2. Taylor expanded in y0 around inf

                                                                  \[\leadsto \left(j \cdot \left(y0 \cdot y5\right)\right) \cdot y3 \]
                                                                3. Step-by-step derivation
                                                                  1. Applied rewrites52.6%

                                                                    \[\leadsto \left(\left(j \cdot y0\right) \cdot y5\right) \cdot y3 \]
                                                                4. Recombined 6 regimes into one program.
                                                                5. Add Preprocessing

                                                                Alternative 10: 28.3% accurate, 3.4× speedup?

                                                                \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(b \cdot z\right) \cdot \mathsf{fma}\left(-a, t, k \cdot y0\right)\\ \mathbf{if}\;b \leq -180000000000:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq -1.18 \cdot 10^{-256}:\\ \;\;\;\;\left(a \cdot \mathsf{fma}\left(y3, z, \left(-x\right) \cdot y2\right)\right) \cdot y1\\ \mathbf{elif}\;b \leq 2.15 \cdot 10^{-111}:\\ \;\;\;\;a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, y1 \cdot z\right)\right)\\ \mathbf{elif}\;b \leq 2.9 \cdot 10^{+31}:\\ \;\;\;\;\left(c \cdot i\right) \cdot \mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right)\\ \mathbf{elif}\;b \leq 3.5 \cdot 10^{+150}:\\ \;\;\;\;\left(k \cdot y5\right) \cdot \mathsf{fma}\left(-y0, y2, i \cdot y\right)\\ \mathbf{elif}\;b \leq 1.1 \cdot 10^{+280}:\\ \;\;\;\;\left(\left(j \cdot y0\right) \cdot y5\right) \cdot y3\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                                (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                 :precision binary64
                                                                 (let* ((t_1 (* (* b z) (fma (- a) t (* k y0)))))
                                                                   (if (<= b -180000000000.0)
                                                                     t_1
                                                                     (if (<= b -1.18e-256)
                                                                       (* (* a (fma y3 z (* (- x) y2))) y1)
                                                                       (if (<= b 2.15e-111)
                                                                         (* a (* y3 (fma (- y) y5 (* y1 z))))
                                                                         (if (<= b 2.9e+31)
                                                                           (* (* c i) (fma t z (* (- x) y)))
                                                                           (if (<= b 3.5e+150)
                                                                             (* (* k y5) (fma (- y0) y2 (* i y)))
                                                                             (if (<= b 1.1e+280) (* (* (* j y0) y5) y3) t_1))))))))
                                                                double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                	double t_1 = (b * z) * fma(-a, t, (k * y0));
                                                                	double tmp;
                                                                	if (b <= -180000000000.0) {
                                                                		tmp = t_1;
                                                                	} else if (b <= -1.18e-256) {
                                                                		tmp = (a * fma(y3, z, (-x * y2))) * y1;
                                                                	} else if (b <= 2.15e-111) {
                                                                		tmp = a * (y3 * fma(-y, y5, (y1 * z)));
                                                                	} else if (b <= 2.9e+31) {
                                                                		tmp = (c * i) * fma(t, z, (-x * y));
                                                                	} else if (b <= 3.5e+150) {
                                                                		tmp = (k * y5) * fma(-y0, y2, (i * y));
                                                                	} else if (b <= 1.1e+280) {
                                                                		tmp = ((j * y0) * y5) * y3;
                                                                	} 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(b * z) * fma(Float64(-a), t, Float64(k * y0)))
                                                                	tmp = 0.0
                                                                	if (b <= -180000000000.0)
                                                                		tmp = t_1;
                                                                	elseif (b <= -1.18e-256)
                                                                		tmp = Float64(Float64(a * fma(y3, z, Float64(Float64(-x) * y2))) * y1);
                                                                	elseif (b <= 2.15e-111)
                                                                		tmp = Float64(a * Float64(y3 * fma(Float64(-y), y5, Float64(y1 * z))));
                                                                	elseif (b <= 2.9e+31)
                                                                		tmp = Float64(Float64(c * i) * fma(t, z, Float64(Float64(-x) * y)));
                                                                	elseif (b <= 3.5e+150)
                                                                		tmp = Float64(Float64(k * y5) * fma(Float64(-y0), y2, Float64(i * y)));
                                                                	elseif (b <= 1.1e+280)
                                                                		tmp = Float64(Float64(Float64(j * y0) * y5) * y3);
                                                                	else
                                                                		tmp = t_1;
                                                                	end
                                                                	return 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 * z), $MachinePrecision] * N[((-a) * t + N[(k * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -180000000000.0], t$95$1, If[LessEqual[b, -1.18e-256], N[(N[(a * N[(y3 * z + N[((-x) * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[b, 2.15e-111], N[(a * N[(y3 * N[((-y) * y5 + N[(y1 * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 2.9e+31], N[(N[(c * i), $MachinePrecision] * N[(t * z + N[((-x) * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 3.5e+150], N[(N[(k * y5), $MachinePrecision] * N[((-y0) * y2 + N[(i * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.1e+280], N[(N[(N[(j * y0), $MachinePrecision] * y5), $MachinePrecision] * y3), $MachinePrecision], t$95$1]]]]]]]
                                                                
                                                                \begin{array}{l}
                                                                
                                                                \\
                                                                \begin{array}{l}
                                                                t_1 := \left(b \cdot z\right) \cdot \mathsf{fma}\left(-a, t, k \cdot y0\right)\\
                                                                \mathbf{if}\;b \leq -180000000000:\\
                                                                \;\;\;\;t\_1\\
                                                                
                                                                \mathbf{elif}\;b \leq -1.18 \cdot 10^{-256}:\\
                                                                \;\;\;\;\left(a \cdot \mathsf{fma}\left(y3, z, \left(-x\right) \cdot y2\right)\right) \cdot y1\\
                                                                
                                                                \mathbf{elif}\;b \leq 2.15 \cdot 10^{-111}:\\
                                                                \;\;\;\;a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, y1 \cdot z\right)\right)\\
                                                                
                                                                \mathbf{elif}\;b \leq 2.9 \cdot 10^{+31}:\\
                                                                \;\;\;\;\left(c \cdot i\right) \cdot \mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right)\\
                                                                
                                                                \mathbf{elif}\;b \leq 3.5 \cdot 10^{+150}:\\
                                                                \;\;\;\;\left(k \cdot y5\right) \cdot \mathsf{fma}\left(-y0, y2, i \cdot y\right)\\
                                                                
                                                                \mathbf{elif}\;b \leq 1.1 \cdot 10^{+280}:\\
                                                                \;\;\;\;\left(\left(j \cdot y0\right) \cdot y5\right) \cdot y3\\
                                                                
                                                                \mathbf{else}:\\
                                                                \;\;\;\;t\_1\\
                                                                
                                                                
                                                                \end{array}
                                                                \end{array}
                                                                
                                                                Derivation
                                                                1. Split input into 6 regimes
                                                                2. if b < -1.8e11 or 1.10000000000000008e280 < b

                                                                  1. Initial program 15.4%

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

                                                                    \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
                                                                  4. Step-by-step derivation
                                                                    1. *-commutativeN/A

                                                                      \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                    2. lower-*.f64N/A

                                                                      \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                  5. Applied rewrites52.5%

                                                                    \[\leadsto \color{blue}{\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(-y0\right) \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot b} \]
                                                                  6. Taylor expanded in z around inf

                                                                    \[\leadsto \left(z \cdot \left(-1 \cdot \left(a \cdot t\right) + k \cdot y0\right)\right) \cdot b \]
                                                                  7. Step-by-step derivation
                                                                    1. Applied rewrites44.4%

                                                                      \[\leadsto \left(z \cdot \mathsf{fma}\left(-1, a \cdot t, k \cdot y0\right)\right) \cdot b \]
                                                                    2. Taylor expanded in z around inf

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

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

                                                                      if -1.8e11 < b < -1.18e-256

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

                                                                        \[\leadsto \color{blue}{y1 \cdot \left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
                                                                      4. Step-by-step derivation
                                                                        1. *-commutativeN/A

                                                                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                                                        2. lower-*.f64N/A

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

                                                                        \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1} \]
                                                                      6. Taylor expanded in a around inf

                                                                        \[\leadsto \left(a \cdot \left(y3 \cdot z - x \cdot y2\right)\right) \cdot y1 \]
                                                                      7. Step-by-step derivation
                                                                        1. Applied rewrites43.2%

                                                                          \[\leadsto \left(a \cdot \mathsf{fma}\left(y3, z, \left(-x\right) \cdot y2\right)\right) \cdot y1 \]

                                                                        if -1.18e-256 < b < 2.1499999999999999e-111

                                                                        1. Initial program 27.5%

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

                                                                          \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                        4. Step-by-step derivation
                                                                          1. *-commutativeN/A

                                                                            \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                          2. lower-*.f64N/A

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

                                                                          \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot y1 - y5 \cdot y0\right), j, \mathsf{fma}\left(-z, y0 \cdot c - y1 \cdot a, \left(y4 \cdot c - y5 \cdot a\right) \cdot y\right)\right) \cdot y3} \]
                                                                        6. Taylor expanded in a around inf

                                                                          \[\leadsto a \cdot \color{blue}{\left(y3 \cdot \left(-1 \cdot \left(y \cdot y5\right) + y1 \cdot z\right)\right)} \]
                                                                        7. Step-by-step derivation
                                                                          1. Applied rewrites48.2%

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

                                                                          if 2.1499999999999999e-111 < b < 2.9e31

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

                                                                            \[\leadsto \color{blue}{i \cdot \left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
                                                                          4. Step-by-step derivation
                                                                            1. *-commutativeN/A

                                                                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot i} \]
                                                                            2. lower-*.f64N/A

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

                                                                            \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y \cdot x - t \cdot z\right), c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i} \]
                                                                          6. Taylor expanded in c around inf

                                                                            \[\leadsto c \cdot \color{blue}{\left(i \cdot \left(t \cdot z - x \cdot y\right)\right)} \]
                                                                          7. Step-by-step derivation
                                                                            1. Applied rewrites49.3%

                                                                              \[\leadsto \left(c \cdot i\right) \cdot \color{blue}{\mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right)} \]

                                                                            if 2.9e31 < b < 3.49999999999999984e150

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

                                                                              \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                            4. Step-by-step derivation
                                                                              1. *-commutativeN/A

                                                                                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot k} \]
                                                                              2. lower-*.f64N/A

                                                                                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot k} \]
                                                                            5. Applied rewrites51.3%

                                                                              \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), y, \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, y2, \left(y0 \cdot b - y1 \cdot i\right) \cdot z\right)\right) \cdot k} \]
                                                                            6. Taylor expanded in y5 around inf

                                                                              \[\leadsto k \cdot \color{blue}{\left(y5 \cdot \left(-1 \cdot \left(y0 \cdot y2\right) + i \cdot y\right)\right)} \]
                                                                            7. Step-by-step derivation
                                                                              1. Applied rewrites49.7%

                                                                                \[\leadsto \left(k \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(-y0, y2, i \cdot y\right)} \]

                                                                              if 3.49999999999999984e150 < b < 1.10000000000000008e280

                                                                              1. Initial program 22.2%

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

                                                                                \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                              4. Step-by-step derivation
                                                                                1. *-commutativeN/A

                                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                2. lower-*.f64N/A

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

                                                                                \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot y1 - y5 \cdot y0\right), j, \mathsf{fma}\left(-z, y0 \cdot c - y1 \cdot a, \left(y4 \cdot c - y5 \cdot a\right) \cdot y\right)\right) \cdot y3} \]
                                                                              6. Taylor expanded in j around inf

                                                                                \[\leadsto \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) \cdot y3 \]
                                                                              7. Step-by-step derivation
                                                                                1. Applied rewrites45.2%

                                                                                  \[\leadsto \left(j \cdot \mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right)\right) \cdot y3 \]
                                                                                2. Taylor expanded in y0 around inf

                                                                                  \[\leadsto \left(j \cdot \left(y0 \cdot y5\right)\right) \cdot y3 \]
                                                                                3. Step-by-step derivation
                                                                                  1. Applied rewrites52.6%

                                                                                    \[\leadsto \left(\left(j \cdot y0\right) \cdot y5\right) \cdot y3 \]
                                                                                4. Recombined 6 regimes into one program.
                                                                                5. Add Preprocessing

                                                                                Alternative 11: 31.2% accurate, 3.7× speedup?

                                                                                \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -130000000000:\\ \;\;\;\;\left(x \cdot \mathsf{fma}\left(-j, y0, a \cdot y\right)\right) \cdot b\\ \mathbf{elif}\;b \leq -1.18 \cdot 10^{-256}:\\ \;\;\;\;\left(a \cdot \mathsf{fma}\left(y3, z, \left(-x\right) \cdot y2\right)\right) \cdot y1\\ \mathbf{elif}\;b \leq 2.15 \cdot 10^{-111}:\\ \;\;\;\;a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, y1 \cdot z\right)\right)\\ \mathbf{elif}\;b \leq 7 \cdot 10^{+55}:\\ \;\;\;\;\left(c \cdot i\right) \cdot \mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right)\\ \mathbf{elif}\;b \leq 3.1 \cdot 10^{+149}:\\ \;\;\;\;\left(i \cdot \mathsf{fma}\left(-y1, z, y \cdot y5\right)\right) \cdot k\\ \mathbf{else}:\\ \;\;\;\;\left(j \cdot \mathsf{fma}\left(-x, y0, t \cdot y4\right)\right) \cdot b\\ \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 -130000000000.0)
                                                                                   (* (* x (fma (- j) y0 (* a y))) b)
                                                                                   (if (<= b -1.18e-256)
                                                                                     (* (* a (fma y3 z (* (- x) y2))) y1)
                                                                                     (if (<= b 2.15e-111)
                                                                                       (* a (* y3 (fma (- y) y5 (* y1 z))))
                                                                                       (if (<= b 7e+55)
                                                                                         (* (* c i) (fma t z (* (- x) y)))
                                                                                         (if (<= b 3.1e+149)
                                                                                           (* (* i (fma (- y1) z (* y y5))) k)
                                                                                           (* (* j (fma (- x) y0 (* t y4))) 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 <= -130000000000.0) {
                                                                                		tmp = (x * fma(-j, y0, (a * y))) * b;
                                                                                	} else if (b <= -1.18e-256) {
                                                                                		tmp = (a * fma(y3, z, (-x * y2))) * y1;
                                                                                	} else if (b <= 2.15e-111) {
                                                                                		tmp = a * (y3 * fma(-y, y5, (y1 * z)));
                                                                                	} else if (b <= 7e+55) {
                                                                                		tmp = (c * i) * fma(t, z, (-x * y));
                                                                                	} else if (b <= 3.1e+149) {
                                                                                		tmp = (i * fma(-y1, z, (y * y5))) * k;
                                                                                	} else {
                                                                                		tmp = (j * fma(-x, y0, (t * y4))) * 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 <= -130000000000.0)
                                                                                		tmp = Float64(Float64(x * fma(Float64(-j), y0, Float64(a * y))) * b);
                                                                                	elseif (b <= -1.18e-256)
                                                                                		tmp = Float64(Float64(a * fma(y3, z, Float64(Float64(-x) * y2))) * y1);
                                                                                	elseif (b <= 2.15e-111)
                                                                                		tmp = Float64(a * Float64(y3 * fma(Float64(-y), y5, Float64(y1 * z))));
                                                                                	elseif (b <= 7e+55)
                                                                                		tmp = Float64(Float64(c * i) * fma(t, z, Float64(Float64(-x) * y)));
                                                                                	elseif (b <= 3.1e+149)
                                                                                		tmp = Float64(Float64(i * fma(Float64(-y1), z, Float64(y * y5))) * k);
                                                                                	else
                                                                                		tmp = Float64(Float64(j * fma(Float64(-x), y0, Float64(t * y4))) * b);
                                                                                	end
                                                                                	return tmp
                                                                                end
                                                                                
                                                                                code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[b, -130000000000.0], N[(N[(x * N[((-j) * y0 + N[(a * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[b, -1.18e-256], N[(N[(a * N[(y3 * z + N[((-x) * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[b, 2.15e-111], N[(a * N[(y3 * N[((-y) * y5 + N[(y1 * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 7e+55], N[(N[(c * i), $MachinePrecision] * N[(t * z + N[((-x) * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 3.1e+149], N[(N[(i * N[((-y1) * z + N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision], N[(N[(j * N[((-x) * y0 + N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision]]]]]]
                                                                                
                                                                                \begin{array}{l}
                                                                                
                                                                                \\
                                                                                \begin{array}{l}
                                                                                \mathbf{if}\;b \leq -130000000000:\\
                                                                                \;\;\;\;\left(x \cdot \mathsf{fma}\left(-j, y0, a \cdot y\right)\right) \cdot b\\
                                                                                
                                                                                \mathbf{elif}\;b \leq -1.18 \cdot 10^{-256}:\\
                                                                                \;\;\;\;\left(a \cdot \mathsf{fma}\left(y3, z, \left(-x\right) \cdot y2\right)\right) \cdot y1\\
                                                                                
                                                                                \mathbf{elif}\;b \leq 2.15 \cdot 10^{-111}:\\
                                                                                \;\;\;\;a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, y1 \cdot z\right)\right)\\
                                                                                
                                                                                \mathbf{elif}\;b \leq 7 \cdot 10^{+55}:\\
                                                                                \;\;\;\;\left(c \cdot i\right) \cdot \mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right)\\
                                                                                
                                                                                \mathbf{elif}\;b \leq 3.1 \cdot 10^{+149}:\\
                                                                                \;\;\;\;\left(i \cdot \mathsf{fma}\left(-y1, z, y \cdot y5\right)\right) \cdot k\\
                                                                                
                                                                                \mathbf{else}:\\
                                                                                \;\;\;\;\left(j \cdot \mathsf{fma}\left(-x, y0, t \cdot y4\right)\right) \cdot b\\
                                                                                
                                                                                
                                                                                \end{array}
                                                                                \end{array}
                                                                                
                                                                                Derivation
                                                                                1. Split input into 6 regimes
                                                                                2. if b < -1.3e11

                                                                                  1. Initial program 19.0%

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

                                                                                    \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
                                                                                  4. Step-by-step derivation
                                                                                    1. *-commutativeN/A

                                                                                      \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                                    2. lower-*.f64N/A

                                                                                      \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                                  5. Applied rewrites55.4%

                                                                                    \[\leadsto \color{blue}{\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(-y0\right) \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot b} \]
                                                                                  6. Taylor expanded in z around inf

                                                                                    \[\leadsto \left(z \cdot \left(-1 \cdot \left(a \cdot t\right) + k \cdot y0\right)\right) \cdot b \]
                                                                                  7. Step-by-step derivation
                                                                                    1. Applied rewrites42.8%

                                                                                      \[\leadsto \left(z \cdot \mathsf{fma}\left(-1, a \cdot t, k \cdot y0\right)\right) \cdot b \]
                                                                                    2. Taylor expanded in x around inf

                                                                                      \[\leadsto \left(x \cdot \left(-1 \cdot \left(j \cdot y0\right) + a \cdot y\right)\right) \cdot b \]
                                                                                    3. Step-by-step derivation
                                                                                      1. Applied rewrites59.5%

                                                                                        \[\leadsto \left(x \cdot \mathsf{fma}\left(-j, y0, a \cdot y\right)\right) \cdot b \]

                                                                                      if -1.3e11 < b < -1.18e-256

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

                                                                                        \[\leadsto \color{blue}{y1 \cdot \left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
                                                                                      4. Step-by-step derivation
                                                                                        1. *-commutativeN/A

                                                                                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                                                                        2. lower-*.f64N/A

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

                                                                                        \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1} \]
                                                                                      6. Taylor expanded in a around inf

                                                                                        \[\leadsto \left(a \cdot \left(y3 \cdot z - x \cdot y2\right)\right) \cdot y1 \]
                                                                                      7. Step-by-step derivation
                                                                                        1. Applied rewrites43.9%

                                                                                          \[\leadsto \left(a \cdot \mathsf{fma}\left(y3, z, \left(-x\right) \cdot y2\right)\right) \cdot y1 \]

                                                                                        if -1.18e-256 < b < 2.1499999999999999e-111

                                                                                        1. Initial program 27.5%

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

                                                                                          \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                        4. Step-by-step derivation
                                                                                          1. *-commutativeN/A

                                                                                            \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                          2. lower-*.f64N/A

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

                                                                                          \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot y1 - y5 \cdot y0\right), j, \mathsf{fma}\left(-z, y0 \cdot c - y1 \cdot a, \left(y4 \cdot c - y5 \cdot a\right) \cdot y\right)\right) \cdot y3} \]
                                                                                        6. Taylor expanded in a around inf

                                                                                          \[\leadsto a \cdot \color{blue}{\left(y3 \cdot \left(-1 \cdot \left(y \cdot y5\right) + y1 \cdot z\right)\right)} \]
                                                                                        7. Step-by-step derivation
                                                                                          1. Applied rewrites48.2%

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

                                                                                          if 2.1499999999999999e-111 < b < 7.00000000000000021e55

                                                                                          1. Initial program 22.9%

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

                                                                                            \[\leadsto \color{blue}{i \cdot \left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
                                                                                          4. Step-by-step derivation
                                                                                            1. *-commutativeN/A

                                                                                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot i} \]
                                                                                            2. lower-*.f64N/A

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

                                                                                            \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y \cdot x - t \cdot z\right), c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i} \]
                                                                                          6. Taylor expanded in c around inf

                                                                                            \[\leadsto c \cdot \color{blue}{\left(i \cdot \left(t \cdot z - x \cdot y\right)\right)} \]
                                                                                          7. Step-by-step derivation
                                                                                            1. Applied rewrites43.2%

                                                                                              \[\leadsto \left(c \cdot i\right) \cdot \color{blue}{\mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right)} \]

                                                                                            if 7.00000000000000021e55 < b < 3.09999999999999987e149

                                                                                            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

                                                                                              \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                            4. Step-by-step derivation
                                                                                              1. *-commutativeN/A

                                                                                                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot k} \]
                                                                                              2. lower-*.f64N/A

                                                                                                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot k} \]
                                                                                            5. Applied rewrites55.6%

                                                                                              \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), y, \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, y2, \left(y0 \cdot b - y1 \cdot i\right) \cdot z\right)\right) \cdot k} \]
                                                                                            6. Taylor expanded in i around inf

                                                                                              \[\leadsto \left(i \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right)\right) \cdot k \]
                                                                                            7. Step-by-step derivation
                                                                                              1. Applied rewrites64.8%

                                                                                                \[\leadsto \left(i \cdot \mathsf{fma}\left(-y1, z, y \cdot y5\right)\right) \cdot k \]

                                                                                              if 3.09999999999999987e149 < b

                                                                                              1. Initial program 17.1%

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

                                                                                                \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
                                                                                              4. Step-by-step derivation
                                                                                                1. *-commutativeN/A

                                                                                                  \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                                                2. lower-*.f64N/A

                                                                                                  \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                                              5. Applied rewrites51.4%

                                                                                                \[\leadsto \color{blue}{\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(-y0\right) \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot b} \]
                                                                                              6. Taylor expanded in j around inf

                                                                                                \[\leadsto \left(j \cdot \left(-1 \cdot \left(x \cdot y0\right) + t \cdot y4\right)\right) \cdot b \]
                                                                                              7. Step-by-step derivation
                                                                                                1. Applied rewrites46.0%

                                                                                                  \[\leadsto \left(j \cdot \mathsf{fma}\left(-x, y0, t \cdot y4\right)\right) \cdot b \]
                                                                                              8. Recombined 6 regimes into one program.
                                                                                              9. Add Preprocessing

                                                                                              Alternative 12: 32.2% accurate, 3.7× speedup?

                                                                                              \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;k \leq -3.1 \cdot 10^{+67}:\\ \;\;\;\;\left(k \cdot \mathsf{fma}\left(-i, z, y2 \cdot y4\right)\right) \cdot y1\\ \mathbf{elif}\;k \leq -2.2 \cdot 10^{-29}:\\ \;\;\;\;i \cdot \left(j \cdot \mathsf{fma}\left(-t, y5, x \cdot y1\right)\right)\\ \mathbf{elif}\;k \leq -2.4 \cdot 10^{-258}:\\ \;\;\;\;\left(j \cdot \mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right)\right) \cdot y3\\ \mathbf{elif}\;k \leq 1.58 \cdot 10^{-18}:\\ \;\;\;\;\left(\mathsf{fma}\left(-a, y5, c \cdot y4\right) \cdot y3\right) \cdot y\\ \mathbf{elif}\;k \leq 6 \cdot 10^{+91}:\\ \;\;\;\;\left(j \cdot \mathsf{fma}\left(-x, y0, t \cdot y4\right)\right) \cdot b\\ \mathbf{else}:\\ \;\;\;\;\left(i \cdot \mathsf{fma}\left(-y1, z, y \cdot y5\right)\right) \cdot k\\ \end{array} \end{array} \]
                                                                                              (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                               :precision binary64
                                                                                               (if (<= k -3.1e+67)
                                                                                                 (* (* k (fma (- i) z (* y2 y4))) y1)
                                                                                                 (if (<= k -2.2e-29)
                                                                                                   (* i (* j (fma (- t) y5 (* x y1))))
                                                                                                   (if (<= k -2.4e-258)
                                                                                                     (* (* j (fma y0 y5 (* (- y1) y4))) y3)
                                                                                                     (if (<= k 1.58e-18)
                                                                                                       (* (* (fma (- a) y5 (* c y4)) y3) y)
                                                                                                       (if (<= k 6e+91)
                                                                                                         (* (* j (fma (- x) y0 (* t y4))) b)
                                                                                                         (* (* i (fma (- y1) z (* y y5))) k)))))))
                                                                                              double code(double x, double y, double z, double t, double 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 (k <= -3.1e+67) {
                                                                                              		tmp = (k * fma(-i, z, (y2 * y4))) * y1;
                                                                                              	} else if (k <= -2.2e-29) {
                                                                                              		tmp = i * (j * fma(-t, y5, (x * y1)));
                                                                                              	} else if (k <= -2.4e-258) {
                                                                                              		tmp = (j * fma(y0, y5, (-y1 * y4))) * y3;
                                                                                              	} else if (k <= 1.58e-18) {
                                                                                              		tmp = (fma(-a, y5, (c * y4)) * y3) * y;
                                                                                              	} else if (k <= 6e+91) {
                                                                                              		tmp = (j * fma(-x, y0, (t * y4))) * b;
                                                                                              	} else {
                                                                                              		tmp = (i * fma(-y1, z, (y * y5))) * k;
                                                                                              	}
                                                                                              	return tmp;
                                                                                              }
                                                                                              
                                                                                              function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                              	tmp = 0.0
                                                                                              	if (k <= -3.1e+67)
                                                                                              		tmp = Float64(Float64(k * fma(Float64(-i), z, Float64(y2 * y4))) * y1);
                                                                                              	elseif (k <= -2.2e-29)
                                                                                              		tmp = Float64(i * Float64(j * fma(Float64(-t), y5, Float64(x * y1))));
                                                                                              	elseif (k <= -2.4e-258)
                                                                                              		tmp = Float64(Float64(j * fma(y0, y5, Float64(Float64(-y1) * y4))) * y3);
                                                                                              	elseif (k <= 1.58e-18)
                                                                                              		tmp = Float64(Float64(fma(Float64(-a), y5, Float64(c * y4)) * y3) * y);
                                                                                              	elseif (k <= 6e+91)
                                                                                              		tmp = Float64(Float64(j * fma(Float64(-x), y0, Float64(t * y4))) * b);
                                                                                              	else
                                                                                              		tmp = Float64(Float64(i * fma(Float64(-y1), z, Float64(y * y5))) * k);
                                                                                              	end
                                                                                              	return tmp
                                                                                              end
                                                                                              
                                                                                              code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[k, -3.1e+67], N[(N[(k * N[((-i) * z + N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[k, -2.2e-29], N[(i * N[(j * N[((-t) * y5 + N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -2.4e-258], N[(N[(j * N[(y0 * y5 + N[((-y1) * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision], If[LessEqual[k, 1.58e-18], N[(N[(N[((-a) * y5 + N[(c * y4), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[k, 6e+91], N[(N[(j * N[((-x) * y0 + N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision], N[(N[(i * N[((-y1) * z + N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision]]]]]]
                                                                                              
                                                                                              \begin{array}{l}
                                                                                              
                                                                                              \\
                                                                                              \begin{array}{l}
                                                                                              \mathbf{if}\;k \leq -3.1 \cdot 10^{+67}:\\
                                                                                              \;\;\;\;\left(k \cdot \mathsf{fma}\left(-i, z, y2 \cdot y4\right)\right) \cdot y1\\
                                                                                              
                                                                                              \mathbf{elif}\;k \leq -2.2 \cdot 10^{-29}:\\
                                                                                              \;\;\;\;i \cdot \left(j \cdot \mathsf{fma}\left(-t, y5, x \cdot y1\right)\right)\\
                                                                                              
                                                                                              \mathbf{elif}\;k \leq -2.4 \cdot 10^{-258}:\\
                                                                                              \;\;\;\;\left(j \cdot \mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right)\right) \cdot y3\\
                                                                                              
                                                                                              \mathbf{elif}\;k \leq 1.58 \cdot 10^{-18}:\\
                                                                                              \;\;\;\;\left(\mathsf{fma}\left(-a, y5, c \cdot y4\right) \cdot y3\right) \cdot y\\
                                                                                              
                                                                                              \mathbf{elif}\;k \leq 6 \cdot 10^{+91}:\\
                                                                                              \;\;\;\;\left(j \cdot \mathsf{fma}\left(-x, y0, t \cdot y4\right)\right) \cdot b\\
                                                                                              
                                                                                              \mathbf{else}:\\
                                                                                              \;\;\;\;\left(i \cdot \mathsf{fma}\left(-y1, z, y \cdot y5\right)\right) \cdot k\\
                                                                                              
                                                                                              
                                                                                              \end{array}
                                                                                              \end{array}
                                                                                              
                                                                                              Derivation
                                                                                              1. Split input into 6 regimes
                                                                                              2. if k < -3.09999999999999996e67

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

                                                                                                  \[\leadsto \color{blue}{y1 \cdot \left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
                                                                                                4. Step-by-step derivation
                                                                                                  1. *-commutativeN/A

                                                                                                    \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                                                                                  2. lower-*.f64N/A

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

                                                                                                  \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1} \]
                                                                                                6. Taylor expanded in k around inf

                                                                                                  \[\leadsto \left(k \cdot \left(-1 \cdot \left(i \cdot z\right) + y2 \cdot y4\right)\right) \cdot y1 \]
                                                                                                7. Step-by-step derivation
                                                                                                  1. Applied rewrites52.1%

                                                                                                    \[\leadsto \left(k \cdot \mathsf{fma}\left(-i, z, y2 \cdot y4\right)\right) \cdot y1 \]

                                                                                                  if -3.09999999999999996e67 < k < -2.1999999999999999e-29

                                                                                                  1. Initial program 27.1%

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

                                                                                                    \[\leadsto \color{blue}{i \cdot \left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
                                                                                                  4. Step-by-step derivation
                                                                                                    1. *-commutativeN/A

                                                                                                      \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot i} \]
                                                                                                    2. lower-*.f64N/A

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

                                                                                                    \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y \cdot x - t \cdot z\right), c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i} \]
                                                                                                  6. Taylor expanded in j around inf

                                                                                                    \[\leadsto i \cdot \color{blue}{\left(j \cdot \left(-1 \cdot \left(t \cdot y5\right) + x \cdot y1\right)\right)} \]
                                                                                                  7. Step-by-step derivation
                                                                                                    1. Applied rewrites50.9%

                                                                                                      \[\leadsto i \cdot \color{blue}{\left(j \cdot \mathsf{fma}\left(-t, y5, x \cdot y1\right)\right)} \]

                                                                                                    if -2.1999999999999999e-29 < k < -2.4000000000000002e-258

                                                                                                    1. Initial program 33.1%

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

                                                                                                      \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                    4. Step-by-step derivation
                                                                                                      1. *-commutativeN/A

                                                                                                        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                      2. lower-*.f64N/A

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

                                                                                                      \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot y1 - y5 \cdot y0\right), j, \mathsf{fma}\left(-z, y0 \cdot c - y1 \cdot a, \left(y4 \cdot c - y5 \cdot a\right) \cdot y\right)\right) \cdot y3} \]
                                                                                                    6. Taylor expanded in j around inf

                                                                                                      \[\leadsto \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) \cdot y3 \]
                                                                                                    7. Step-by-step derivation
                                                                                                      1. Applied rewrites47.4%

                                                                                                        \[\leadsto \left(j \cdot \mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right)\right) \cdot y3 \]

                                                                                                      if -2.4000000000000002e-258 < k < 1.5800000000000001e-18

                                                                                                      1. Initial program 31.2%

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

                                                                                                        \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                      4. Step-by-step derivation
                                                                                                        1. *-commutativeN/A

                                                                                                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                        2. lower-*.f64N/A

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

                                                                                                        \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot y1 - y5 \cdot y0\right), j, \mathsf{fma}\left(-z, y0 \cdot c - y1 \cdot a, \left(y4 \cdot c - y5 \cdot a\right) \cdot y\right)\right) \cdot y3} \]
                                                                                                      6. Taylor expanded in y around inf

                                                                                                        \[\leadsto y \cdot \color{blue}{\left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                      7. Step-by-step derivation
                                                                                                        1. Applied rewrites35.4%

                                                                                                          \[\leadsto \left(y \cdot y3\right) \cdot \color{blue}{\mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)} \]
                                                                                                        2. Step-by-step derivation
                                                                                                          1. Applied rewrites43.0%

                                                                                                            \[\leadsto \left(\mathsf{fma}\left(-a, y5, c \cdot y4\right) \cdot y3\right) \cdot y \]

                                                                                                          if 1.5800000000000001e-18 < k < 6.00000000000000012e91

                                                                                                          1. Initial program 20.0%

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

                                                                                                            \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
                                                                                                          4. Step-by-step derivation
                                                                                                            1. *-commutativeN/A

                                                                                                              \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                                                            2. lower-*.f64N/A

                                                                                                              \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                                                          5. Applied rewrites64.1%

                                                                                                            \[\leadsto \color{blue}{\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(-y0\right) \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot b} \]
                                                                                                          6. Taylor expanded in j around inf

                                                                                                            \[\leadsto \left(j \cdot \left(-1 \cdot \left(x \cdot y0\right) + t \cdot y4\right)\right) \cdot b \]
                                                                                                          7. Step-by-step derivation
                                                                                                            1. Applied rewrites52.2%

                                                                                                              \[\leadsto \left(j \cdot \mathsf{fma}\left(-x, y0, t \cdot y4\right)\right) \cdot b \]

                                                                                                            if 6.00000000000000012e91 < k

                                                                                                            1. Initial program 16.7%

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

                                                                                                              \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                            4. Step-by-step derivation
                                                                                                              1. *-commutativeN/A

                                                                                                                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot k} \]
                                                                                                              2. lower-*.f64N/A

                                                                                                                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot k} \]
                                                                                                            5. Applied rewrites54.3%

                                                                                                              \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), y, \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, y2, \left(y0 \cdot b - y1 \cdot i\right) \cdot z\right)\right) \cdot k} \]
                                                                                                            6. Taylor expanded in i around inf

                                                                                                              \[\leadsto \left(i \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right)\right) \cdot k \]
                                                                                                            7. Step-by-step derivation
                                                                                                              1. Applied rewrites48.7%

                                                                                                                \[\leadsto \left(i \cdot \mathsf{fma}\left(-y1, z, y \cdot y5\right)\right) \cdot k \]
                                                                                                            8. Recombined 6 regimes into one program.
                                                                                                            9. Add Preprocessing

                                                                                                            Alternative 13: 30.7% accurate, 3.7× speedup?

                                                                                                            \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;a \leq -58000000:\\ \;\;\;\;\left(a \cdot \mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right)\right) \cdot b\\ \mathbf{elif}\;a \leq -2 \cdot 10^{-50}:\\ \;\;\;\;\left(\mathsf{fma}\left(-a, y5, c \cdot y4\right) \cdot y3\right) \cdot y\\ \mathbf{elif}\;a \leq 1.05 \cdot 10^{-275}:\\ \;\;\;\;\left(i \cdot \mathsf{fma}\left(-y1, z, y \cdot y5\right)\right) \cdot k\\ \mathbf{elif}\;a \leq 2.15 \cdot 10^{-52}:\\ \;\;\;\;\left(c \cdot \mathsf{fma}\left(-y0, z, y \cdot y4\right)\right) \cdot y3\\ \mathbf{elif}\;a \leq 5.5 \cdot 10^{+168}:\\ \;\;\;\;\left(j \cdot \mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right)\right) \cdot y3\\ \mathbf{else}:\\ \;\;\;\;\left(z \cdot \mathsf{fma}\left(-i, k, a \cdot y3\right)\right) \cdot y1\\ \end{array} \end{array} \]
                                                                                                            (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                             :precision binary64
                                                                                                             (if (<= a -58000000.0)
                                                                                                               (* (* a (fma x y (* (- t) z))) b)
                                                                                                               (if (<= a -2e-50)
                                                                                                                 (* (* (fma (- a) y5 (* c y4)) y3) y)
                                                                                                                 (if (<= a 1.05e-275)
                                                                                                                   (* (* i (fma (- y1) z (* y y5))) k)
                                                                                                                   (if (<= a 2.15e-52)
                                                                                                                     (* (* c (fma (- y0) z (* y y4))) y3)
                                                                                                                     (if (<= a 5.5e+168)
                                                                                                                       (* (* j (fma y0 y5 (* (- y1) y4))) y3)
                                                                                                                       (* (* z (fma (- i) k (* a y3))) y1)))))))
                                                                                                            double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                            	double tmp;
                                                                                                            	if (a <= -58000000.0) {
                                                                                                            		tmp = (a * fma(x, y, (-t * z))) * b;
                                                                                                            	} else if (a <= -2e-50) {
                                                                                                            		tmp = (fma(-a, y5, (c * y4)) * y3) * y;
                                                                                                            	} else if (a <= 1.05e-275) {
                                                                                                            		tmp = (i * fma(-y1, z, (y * y5))) * k;
                                                                                                            	} else if (a <= 2.15e-52) {
                                                                                                            		tmp = (c * fma(-y0, z, (y * y4))) * y3;
                                                                                                            	} else if (a <= 5.5e+168) {
                                                                                                            		tmp = (j * fma(y0, y5, (-y1 * y4))) * y3;
                                                                                                            	} else {
                                                                                                            		tmp = (z * fma(-i, k, (a * y3))) * y1;
                                                                                                            	}
                                                                                                            	return tmp;
                                                                                                            }
                                                                                                            
                                                                                                            function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                            	tmp = 0.0
                                                                                                            	if (a <= -58000000.0)
                                                                                                            		tmp = Float64(Float64(a * fma(x, y, Float64(Float64(-t) * z))) * b);
                                                                                                            	elseif (a <= -2e-50)
                                                                                                            		tmp = Float64(Float64(fma(Float64(-a), y5, Float64(c * y4)) * y3) * y);
                                                                                                            	elseif (a <= 1.05e-275)
                                                                                                            		tmp = Float64(Float64(i * fma(Float64(-y1), z, Float64(y * y5))) * k);
                                                                                                            	elseif (a <= 2.15e-52)
                                                                                                            		tmp = Float64(Float64(c * fma(Float64(-y0), z, Float64(y * y4))) * y3);
                                                                                                            	elseif (a <= 5.5e+168)
                                                                                                            		tmp = Float64(Float64(j * fma(y0, y5, Float64(Float64(-y1) * y4))) * y3);
                                                                                                            	else
                                                                                                            		tmp = Float64(Float64(z * fma(Float64(-i), k, Float64(a * y3))) * y1);
                                                                                                            	end
                                                                                                            	return tmp
                                                                                                            end
                                                                                                            
                                                                                                            code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[a, -58000000.0], N[(N[(a * N[(x * y + N[((-t) * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[a, -2e-50], N[(N[(N[((-a) * y5 + N[(c * y4), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[a, 1.05e-275], N[(N[(i * N[((-y1) * z + N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision], If[LessEqual[a, 2.15e-52], N[(N[(c * N[((-y0) * z + N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision], If[LessEqual[a, 5.5e+168], N[(N[(j * N[(y0 * y5 + N[((-y1) * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision], N[(N[(z * N[((-i) * k + N[(a * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision]]]]]]
                                                                                                            
                                                                                                            \begin{array}{l}
                                                                                                            
                                                                                                            \\
                                                                                                            \begin{array}{l}
                                                                                                            \mathbf{if}\;a \leq -58000000:\\
                                                                                                            \;\;\;\;\left(a \cdot \mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right)\right) \cdot b\\
                                                                                                            
                                                                                                            \mathbf{elif}\;a \leq -2 \cdot 10^{-50}:\\
                                                                                                            \;\;\;\;\left(\mathsf{fma}\left(-a, y5, c \cdot y4\right) \cdot y3\right) \cdot y\\
                                                                                                            
                                                                                                            \mathbf{elif}\;a \leq 1.05 \cdot 10^{-275}:\\
                                                                                                            \;\;\;\;\left(i \cdot \mathsf{fma}\left(-y1, z, y \cdot y5\right)\right) \cdot k\\
                                                                                                            
                                                                                                            \mathbf{elif}\;a \leq 2.15 \cdot 10^{-52}:\\
                                                                                                            \;\;\;\;\left(c \cdot \mathsf{fma}\left(-y0, z, y \cdot y4\right)\right) \cdot y3\\
                                                                                                            
                                                                                                            \mathbf{elif}\;a \leq 5.5 \cdot 10^{+168}:\\
                                                                                                            \;\;\;\;\left(j \cdot \mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right)\right) \cdot y3\\
                                                                                                            
                                                                                                            \mathbf{else}:\\
                                                                                                            \;\;\;\;\left(z \cdot \mathsf{fma}\left(-i, k, a \cdot y3\right)\right) \cdot y1\\
                                                                                                            
                                                                                                            
                                                                                                            \end{array}
                                                                                                            \end{array}
                                                                                                            
                                                                                                            Derivation
                                                                                                            1. Split input into 6 regimes
                                                                                                            2. if a < -5.8e7

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

                                                                                                                \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
                                                                                                              4. Step-by-step derivation
                                                                                                                1. *-commutativeN/A

                                                                                                                  \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                                                                2. lower-*.f64N/A

                                                                                                                  \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                                                              5. Applied rewrites47.9%

                                                                                                                \[\leadsto \color{blue}{\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(-y0\right) \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot b} \]
                                                                                                              6. Taylor expanded in a around inf

                                                                                                                \[\leadsto \left(a \cdot \left(x \cdot y - t \cdot z\right)\right) \cdot b \]
                                                                                                              7. Step-by-step derivation
                                                                                                                1. Applied rewrites49.9%

                                                                                                                  \[\leadsto \left(a \cdot \mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right)\right) \cdot b \]

                                                                                                                if -5.8e7 < a < -2.00000000000000002e-50

                                                                                                                1. Initial program 21.4%

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

                                                                                                                  \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                4. Step-by-step derivation
                                                                                                                  1. *-commutativeN/A

                                                                                                                    \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                  2. lower-*.f64N/A

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

                                                                                                                  \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot y1 - y5 \cdot y0\right), j, \mathsf{fma}\left(-z, y0 \cdot c - y1 \cdot a, \left(y4 \cdot c - y5 \cdot a\right) \cdot y\right)\right) \cdot y3} \]
                                                                                                                6. Taylor expanded in y around inf

                                                                                                                  \[\leadsto y \cdot \color{blue}{\left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                7. Step-by-step derivation
                                                                                                                  1. Applied rewrites51.6%

                                                                                                                    \[\leadsto \left(y \cdot y3\right) \cdot \color{blue}{\mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)} \]
                                                                                                                  2. Step-by-step derivation
                                                                                                                    1. Applied rewrites65.3%

                                                                                                                      \[\leadsto \left(\mathsf{fma}\left(-a, y5, c \cdot y4\right) \cdot y3\right) \cdot y \]

                                                                                                                    if -2.00000000000000002e-50 < a < 1.04999999999999994e-275

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

                                                                                                                      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                    4. Step-by-step derivation
                                                                                                                      1. *-commutativeN/A

                                                                                                                        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot k} \]
                                                                                                                      2. lower-*.f64N/A

                                                                                                                        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot k} \]
                                                                                                                    5. Applied rewrites43.0%

                                                                                                                      \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), y, \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, y2, \left(y0 \cdot b - y1 \cdot i\right) \cdot z\right)\right) \cdot k} \]
                                                                                                                    6. Taylor expanded in i around inf

                                                                                                                      \[\leadsto \left(i \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right)\right) \cdot k \]
                                                                                                                    7. Step-by-step derivation
                                                                                                                      1. Applied rewrites41.5%

                                                                                                                        \[\leadsto \left(i \cdot \mathsf{fma}\left(-y1, z, y \cdot y5\right)\right) \cdot k \]

                                                                                                                      if 1.04999999999999994e-275 < a < 2.1500000000000002e-52

                                                                                                                      1. Initial program 21.6%

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

                                                                                                                        \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                      4. Step-by-step derivation
                                                                                                                        1. *-commutativeN/A

                                                                                                                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                        2. lower-*.f64N/A

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

                                                                                                                        \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot y1 - y5 \cdot y0\right), j, \mathsf{fma}\left(-z, y0 \cdot c - y1 \cdot a, \left(y4 \cdot c - y5 \cdot a\right) \cdot y\right)\right) \cdot y3} \]
                                                                                                                      6. Taylor expanded in j around inf

                                                                                                                        \[\leadsto \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) \cdot y3 \]
                                                                                                                      7. Step-by-step derivation
                                                                                                                        1. Applied rewrites28.8%

                                                                                                                          \[\leadsto \left(j \cdot \mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right)\right) \cdot y3 \]
                                                                                                                        2. Taylor expanded in c around inf

                                                                                                                          \[\leadsto \left(c \cdot \left(-1 \cdot \left(y0 \cdot z\right) + y \cdot y4\right)\right) \cdot y3 \]
                                                                                                                        3. Step-by-step derivation
                                                                                                                          1. Applied rewrites41.4%

                                                                                                                            \[\leadsto \left(c \cdot \mathsf{fma}\left(-y0, z, y \cdot y4\right)\right) \cdot y3 \]

                                                                                                                          if 2.1500000000000002e-52 < a < 5.5000000000000001e168

                                                                                                                          1. Initial program 30.0%

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

                                                                                                                            \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                          4. Step-by-step derivation
                                                                                                                            1. *-commutativeN/A

                                                                                                                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                            2. lower-*.f64N/A

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

                                                                                                                            \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot y1 - y5 \cdot y0\right), j, \mathsf{fma}\left(-z, y0 \cdot c - y1 \cdot a, \left(y4 \cdot c - y5 \cdot a\right) \cdot y\right)\right) \cdot y3} \]
                                                                                                                          6. Taylor expanded in j around inf

                                                                                                                            \[\leadsto \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) \cdot y3 \]
                                                                                                                          7. Step-by-step derivation
                                                                                                                            1. Applied rewrites46.8%

                                                                                                                              \[\leadsto \left(j \cdot \mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right)\right) \cdot y3 \]

                                                                                                                            if 5.5000000000000001e168 < a

                                                                                                                            1. Initial program 10.0%

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

                                                                                                                              \[\leadsto \color{blue}{y1 \cdot \left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
                                                                                                                            4. Step-by-step derivation
                                                                                                                              1. *-commutativeN/A

                                                                                                                                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                                                                                                              2. lower-*.f64N/A

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

                                                                                                                              \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1} \]
                                                                                                                            6. Taylor expanded in z around inf

                                                                                                                              \[\leadsto \left(z \cdot \left(-1 \cdot \left(i \cdot k\right) + a \cdot y3\right)\right) \cdot y1 \]
                                                                                                                            7. Step-by-step derivation
                                                                                                                              1. Applied rewrites60.5%

                                                                                                                                \[\leadsto \left(z \cdot \mathsf{fma}\left(-i, k, a \cdot y3\right)\right) \cdot y1 \]
                                                                                                                            8. Recombined 6 regimes into one program.
                                                                                                                            9. Add Preprocessing

                                                                                                                            Alternative 14: 31.5% accurate, 4.2× speedup?

                                                                                                                            \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\mathsf{fma}\left(-a, y5, c \cdot y4\right) \cdot y3\right) \cdot y\\ \mathbf{if}\;y3 \leq -6.2 \cdot 10^{+197}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq -3.3 \cdot 10^{+14}:\\ \;\;\;\;\left(k \cdot y2\right) \cdot \mathsf{fma}\left(y1, y4, \left(-y0\right) \cdot y5\right)\\ \mathbf{elif}\;y3 \leq 3.6 \cdot 10^{-307}:\\ \;\;\;\;i \cdot \left(j \cdot \mathsf{fma}\left(-t, y5, x \cdot y1\right)\right)\\ \mathbf{elif}\;y3 \leq 4 \cdot 10^{+26}:\\ \;\;\;\;\left(i \cdot z\right) \cdot \mathsf{fma}\left(-k, y1, c \cdot t\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 (* (* (fma (- a) y5 (* c y4)) y3) y)))
                                                                                                                               (if (<= y3 -6.2e+197)
                                                                                                                                 t_1
                                                                                                                                 (if (<= y3 -3.3e+14)
                                                                                                                                   (* (* k y2) (fma y1 y4 (* (- y0) y5)))
                                                                                                                                   (if (<= y3 3.6e-307)
                                                                                                                                     (* i (* j (fma (- t) y5 (* x y1))))
                                                                                                                                     (if (<= y3 4e+26) (* (* i z) (fma (- k) y1 (* c t))) t_1))))))
                                                                                                                            double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                            	double t_1 = (fma(-a, y5, (c * y4)) * y3) * y;
                                                                                                                            	double tmp;
                                                                                                                            	if (y3 <= -6.2e+197) {
                                                                                                                            		tmp = t_1;
                                                                                                                            	} else if (y3 <= -3.3e+14) {
                                                                                                                            		tmp = (k * y2) * fma(y1, y4, (-y0 * y5));
                                                                                                                            	} else if (y3 <= 3.6e-307) {
                                                                                                                            		tmp = i * (j * fma(-t, y5, (x * y1)));
                                                                                                                            	} else if (y3 <= 4e+26) {
                                                                                                                            		tmp = (i * z) * fma(-k, y1, (c * t));
                                                                                                                            	} else {
                                                                                                                            		tmp = t_1;
                                                                                                                            	}
                                                                                                                            	return tmp;
                                                                                                                            }
                                                                                                                            
                                                                                                                            function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                            	t_1 = Float64(Float64(fma(Float64(-a), y5, Float64(c * y4)) * y3) * y)
                                                                                                                            	tmp = 0.0
                                                                                                                            	if (y3 <= -6.2e+197)
                                                                                                                            		tmp = t_1;
                                                                                                                            	elseif (y3 <= -3.3e+14)
                                                                                                                            		tmp = Float64(Float64(k * y2) * fma(y1, y4, Float64(Float64(-y0) * y5)));
                                                                                                                            	elseif (y3 <= 3.6e-307)
                                                                                                                            		tmp = Float64(i * Float64(j * fma(Float64(-t), y5, Float64(x * y1))));
                                                                                                                            	elseif (y3 <= 4e+26)
                                                                                                                            		tmp = Float64(Float64(i * z) * fma(Float64(-k), y1, Float64(c * t)));
                                                                                                                            	else
                                                                                                                            		tmp = t_1;
                                                                                                                            	end
                                                                                                                            	return 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[(N[((-a) * y5 + N[(c * y4), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision] * y), $MachinePrecision]}, If[LessEqual[y3, -6.2e+197], t$95$1, If[LessEqual[y3, -3.3e+14], N[(N[(k * y2), $MachinePrecision] * N[(y1 * y4 + N[((-y0) * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 3.6e-307], N[(i * N[(j * N[((-t) * y5 + N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 4e+26], N[(N[(i * z), $MachinePrecision] * N[((-k) * y1 + N[(c * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
                                                                                                                            
                                                                                                                            \begin{array}{l}
                                                                                                                            
                                                                                                                            \\
                                                                                                                            \begin{array}{l}
                                                                                                                            t_1 := \left(\mathsf{fma}\left(-a, y5, c \cdot y4\right) \cdot y3\right) \cdot y\\
                                                                                                                            \mathbf{if}\;y3 \leq -6.2 \cdot 10^{+197}:\\
                                                                                                                            \;\;\;\;t\_1\\
                                                                                                                            
                                                                                                                            \mathbf{elif}\;y3 \leq -3.3 \cdot 10^{+14}:\\
                                                                                                                            \;\;\;\;\left(k \cdot y2\right) \cdot \mathsf{fma}\left(y1, y4, \left(-y0\right) \cdot y5\right)\\
                                                                                                                            
                                                                                                                            \mathbf{elif}\;y3 \leq 3.6 \cdot 10^{-307}:\\
                                                                                                                            \;\;\;\;i \cdot \left(j \cdot \mathsf{fma}\left(-t, y5, x \cdot y1\right)\right)\\
                                                                                                                            
                                                                                                                            \mathbf{elif}\;y3 \leq 4 \cdot 10^{+26}:\\
                                                                                                                            \;\;\;\;\left(i \cdot z\right) \cdot \mathsf{fma}\left(-k, y1, c \cdot t\right)\\
                                                                                                                            
                                                                                                                            \mathbf{else}:\\
                                                                                                                            \;\;\;\;t\_1\\
                                                                                                                            
                                                                                                                            
                                                                                                                            \end{array}
                                                                                                                            \end{array}
                                                                                                                            
                                                                                                                            Derivation
                                                                                                                            1. Split input into 4 regimes
                                                                                                                            2. if y3 < -6.2e197 or 4.00000000000000019e26 < y3

                                                                                                                              1. Initial program 15.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 y3 around inf

                                                                                                                                \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                              4. Step-by-step derivation
                                                                                                                                1. *-commutativeN/A

                                                                                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                2. lower-*.f64N/A

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

                                                                                                                                \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot y1 - y5 \cdot y0\right), j, \mathsf{fma}\left(-z, y0 \cdot c - y1 \cdot a, \left(y4 \cdot c - y5 \cdot a\right) \cdot y\right)\right) \cdot y3} \]
                                                                                                                              6. Taylor expanded in y around inf

                                                                                                                                \[\leadsto y \cdot \color{blue}{\left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                              7. Step-by-step derivation
                                                                                                                                1. Applied rewrites43.9%

                                                                                                                                  \[\leadsto \left(y \cdot y3\right) \cdot \color{blue}{\mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)} \]
                                                                                                                                2. Step-by-step derivation
                                                                                                                                  1. Applied rewrites47.2%

                                                                                                                                    \[\leadsto \left(\mathsf{fma}\left(-a, y5, c \cdot y4\right) \cdot y3\right) \cdot y \]

                                                                                                                                  if -6.2e197 < y3 < -3.3e14

                                                                                                                                  1. Initial program 30.0%

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

                                                                                                                                    \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                  4. Step-by-step derivation
                                                                                                                                    1. *-commutativeN/A

                                                                                                                                      \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot k} \]
                                                                                                                                    2. lower-*.f64N/A

                                                                                                                                      \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot k} \]
                                                                                                                                  5. Applied rewrites52.6%

                                                                                                                                    \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), y, \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, y2, \left(y0 \cdot b - y1 \cdot i\right) \cdot z\right)\right) \cdot k} \]
                                                                                                                                  6. Taylor expanded in y2 around inf

                                                                                                                                    \[\leadsto k \cdot \color{blue}{\left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} \]
                                                                                                                                  7. Step-by-step derivation
                                                                                                                                    1. Applied rewrites48.5%

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

                                                                                                                                    if -3.3e14 < y3 < 3.60000000000000007e-307

                                                                                                                                    1. Initial program 39.8%

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

                                                                                                                                      \[\leadsto \color{blue}{i \cdot \left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
                                                                                                                                    4. Step-by-step derivation
                                                                                                                                      1. *-commutativeN/A

                                                                                                                                        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot i} \]
                                                                                                                                      2. lower-*.f64N/A

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

                                                                                                                                      \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y \cdot x - t \cdot z\right), c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i} \]
                                                                                                                                    6. Taylor expanded in j around inf

                                                                                                                                      \[\leadsto i \cdot \color{blue}{\left(j \cdot \left(-1 \cdot \left(t \cdot y5\right) + x \cdot y1\right)\right)} \]
                                                                                                                                    7. Step-by-step derivation
                                                                                                                                      1. Applied rewrites41.2%

                                                                                                                                        \[\leadsto i \cdot \color{blue}{\left(j \cdot \mathsf{fma}\left(-t, y5, x \cdot y1\right)\right)} \]

                                                                                                                                      if 3.60000000000000007e-307 < y3 < 4.00000000000000019e26

                                                                                                                                      1. Initial program 22.5%

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

                                                                                                                                        \[\leadsto \color{blue}{i \cdot \left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
                                                                                                                                      4. Step-by-step derivation
                                                                                                                                        1. *-commutativeN/A

                                                                                                                                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot i} \]
                                                                                                                                        2. lower-*.f64N/A

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

                                                                                                                                        \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y \cdot x - t \cdot z\right), c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i} \]
                                                                                                                                      6. Taylor expanded in j around inf

                                                                                                                                        \[\leadsto i \cdot \color{blue}{\left(j \cdot \left(-1 \cdot \left(t \cdot y5\right) + x \cdot y1\right)\right)} \]
                                                                                                                                      7. Step-by-step derivation
                                                                                                                                        1. Applied rewrites25.0%

                                                                                                                                          \[\leadsto i \cdot \color{blue}{\left(j \cdot \mathsf{fma}\left(-t, y5, x \cdot y1\right)\right)} \]
                                                                                                                                        2. Taylor expanded in z around inf

                                                                                                                                          \[\leadsto i \cdot \color{blue}{\left(z \cdot \left(-1 \cdot \left(k \cdot y1\right) + c \cdot t\right)\right)} \]
                                                                                                                                        3. Step-by-step derivation
                                                                                                                                          1. Applied rewrites35.2%

                                                                                                                                            \[\leadsto \left(i \cdot z\right) \cdot \color{blue}{\mathsf{fma}\left(-k, y1, c \cdot t\right)} \]
                                                                                                                                        4. Recombined 4 regimes into one program.
                                                                                                                                        5. Add Preprocessing

                                                                                                                                        Alternative 15: 28.1% accurate, 4.2× speedup?

                                                                                                                                        \[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(\left(y \cdot y3\right) \cdot y4\right)\\ \mathbf{if}\;y3 \leq -1.36 \cdot 10^{+202}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq -3.3 \cdot 10^{+14}:\\ \;\;\;\;\left(k \cdot y2\right) \cdot \mathsf{fma}\left(y1, y4, \left(-y0\right) \cdot y5\right)\\ \mathbf{elif}\;y3 \leq 3.6 \cdot 10^{-307}:\\ \;\;\;\;i \cdot \left(j \cdot \mathsf{fma}\left(-t, y5, x \cdot y1\right)\right)\\ \mathbf{elif}\;y3 \leq 2.6 \cdot 10^{+195}:\\ \;\;\;\;\left(i \cdot z\right) \cdot \mathsf{fma}\left(-k, y1, c \cdot t\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                                                                                                        (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                         :precision binary64
                                                                                                                                         (let* ((t_1 (* c (* (* y y3) y4))))
                                                                                                                                           (if (<= y3 -1.36e+202)
                                                                                                                                             t_1
                                                                                                                                             (if (<= y3 -3.3e+14)
                                                                                                                                               (* (* k y2) (fma y1 y4 (* (- y0) y5)))
                                                                                                                                               (if (<= y3 3.6e-307)
                                                                                                                                                 (* i (* j (fma (- t) y5 (* x y1))))
                                                                                                                                                 (if (<= y3 2.6e+195) (* (* i z) (fma (- k) y1 (* c t))) t_1))))))
                                                                                                                                        double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                        	double t_1 = c * ((y * y3) * y4);
                                                                                                                                        	double tmp;
                                                                                                                                        	if (y3 <= -1.36e+202) {
                                                                                                                                        		tmp = t_1;
                                                                                                                                        	} else if (y3 <= -3.3e+14) {
                                                                                                                                        		tmp = (k * y2) * fma(y1, y4, (-y0 * y5));
                                                                                                                                        	} else if (y3 <= 3.6e-307) {
                                                                                                                                        		tmp = i * (j * fma(-t, y5, (x * y1)));
                                                                                                                                        	} else if (y3 <= 2.6e+195) {
                                                                                                                                        		tmp = (i * z) * fma(-k, y1, (c * t));
                                                                                                                                        	} else {
                                                                                                                                        		tmp = t_1;
                                                                                                                                        	}
                                                                                                                                        	return tmp;
                                                                                                                                        }
                                                                                                                                        
                                                                                                                                        function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                        	t_1 = Float64(c * Float64(Float64(y * y3) * y4))
                                                                                                                                        	tmp = 0.0
                                                                                                                                        	if (y3 <= -1.36e+202)
                                                                                                                                        		tmp = t_1;
                                                                                                                                        	elseif (y3 <= -3.3e+14)
                                                                                                                                        		tmp = Float64(Float64(k * y2) * fma(y1, y4, Float64(Float64(-y0) * y5)));
                                                                                                                                        	elseif (y3 <= 3.6e-307)
                                                                                                                                        		tmp = Float64(i * Float64(j * fma(Float64(-t), y5, Float64(x * y1))));
                                                                                                                                        	elseif (y3 <= 2.6e+195)
                                                                                                                                        		tmp = Float64(Float64(i * z) * fma(Float64(-k), y1, Float64(c * t)));
                                                                                                                                        	else
                                                                                                                                        		tmp = t_1;
                                                                                                                                        	end
                                                                                                                                        	return 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[(y * y3), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -1.36e+202], t$95$1, If[LessEqual[y3, -3.3e+14], N[(N[(k * y2), $MachinePrecision] * N[(y1 * y4 + N[((-y0) * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 3.6e-307], N[(i * N[(j * N[((-t) * y5 + N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 2.6e+195], N[(N[(i * z), $MachinePrecision] * N[((-k) * y1 + N[(c * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
                                                                                                                                        
                                                                                                                                        \begin{array}{l}
                                                                                                                                        
                                                                                                                                        \\
                                                                                                                                        \begin{array}{l}
                                                                                                                                        t_1 := c \cdot \left(\left(y \cdot y3\right) \cdot y4\right)\\
                                                                                                                                        \mathbf{if}\;y3 \leq -1.36 \cdot 10^{+202}:\\
                                                                                                                                        \;\;\;\;t\_1\\
                                                                                                                                        
                                                                                                                                        \mathbf{elif}\;y3 \leq -3.3 \cdot 10^{+14}:\\
                                                                                                                                        \;\;\;\;\left(k \cdot y2\right) \cdot \mathsf{fma}\left(y1, y4, \left(-y0\right) \cdot y5\right)\\
                                                                                                                                        
                                                                                                                                        \mathbf{elif}\;y3 \leq 3.6 \cdot 10^{-307}:\\
                                                                                                                                        \;\;\;\;i \cdot \left(j \cdot \mathsf{fma}\left(-t, y5, x \cdot y1\right)\right)\\
                                                                                                                                        
                                                                                                                                        \mathbf{elif}\;y3 \leq 2.6 \cdot 10^{+195}:\\
                                                                                                                                        \;\;\;\;\left(i \cdot z\right) \cdot \mathsf{fma}\left(-k, y1, c \cdot t\right)\\
                                                                                                                                        
                                                                                                                                        \mathbf{else}:\\
                                                                                                                                        \;\;\;\;t\_1\\
                                                                                                                                        
                                                                                                                                        
                                                                                                                                        \end{array}
                                                                                                                                        \end{array}
                                                                                                                                        
                                                                                                                                        Derivation
                                                                                                                                        1. Split input into 4 regimes
                                                                                                                                        2. if y3 < -1.36e202 or 2.60000000000000002e195 < y3

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

                                                                                                                                            \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                          4. Step-by-step derivation
                                                                                                                                            1. *-commutativeN/A

                                                                                                                                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                            2. lower-*.f64N/A

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

                                                                                                                                            \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot y1 - y5 \cdot y0\right), j, \mathsf{fma}\left(-z, y0 \cdot c - y1 \cdot a, \left(y4 \cdot c - y5 \cdot a\right) \cdot y\right)\right) \cdot y3} \]
                                                                                                                                          6. Taylor expanded in y around inf

                                                                                                                                            \[\leadsto y \cdot \color{blue}{\left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                          7. Step-by-step derivation
                                                                                                                                            1. Applied rewrites48.8%

                                                                                                                                              \[\leadsto \left(y \cdot y3\right) \cdot \color{blue}{\mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)} \]
                                                                                                                                            2. Taylor expanded in a around 0

                                                                                                                                              \[\leadsto c \cdot \left(y \cdot \color{blue}{\left(y3 \cdot y4\right)}\right) \]
                                                                                                                                            3. Step-by-step derivation
                                                                                                                                              1. Applied rewrites50.7%

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

                                                                                                                                              if -1.36e202 < y3 < -3.3e14

                                                                                                                                              1. Initial program 30.0%

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

                                                                                                                                                \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                              4. Step-by-step derivation
                                                                                                                                                1. *-commutativeN/A

                                                                                                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot k} \]
                                                                                                                                                2. lower-*.f64N/A

                                                                                                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot k} \]
                                                                                                                                              5. Applied rewrites52.6%

                                                                                                                                                \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), y, \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, y2, \left(y0 \cdot b - y1 \cdot i\right) \cdot z\right)\right) \cdot k} \]
                                                                                                                                              6. Taylor expanded in y2 around inf

                                                                                                                                                \[\leadsto k \cdot \color{blue}{\left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)} \]
                                                                                                                                              7. Step-by-step derivation
                                                                                                                                                1. Applied rewrites48.5%

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

                                                                                                                                                if -3.3e14 < y3 < 3.60000000000000007e-307

                                                                                                                                                1. Initial program 39.8%

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

                                                                                                                                                  \[\leadsto \color{blue}{i \cdot \left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
                                                                                                                                                4. Step-by-step derivation
                                                                                                                                                  1. *-commutativeN/A

                                                                                                                                                    \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot i} \]
                                                                                                                                                  2. lower-*.f64N/A

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

                                                                                                                                                  \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y \cdot x - t \cdot z\right), c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i} \]
                                                                                                                                                6. Taylor expanded in j around inf

                                                                                                                                                  \[\leadsto i \cdot \color{blue}{\left(j \cdot \left(-1 \cdot \left(t \cdot y5\right) + x \cdot y1\right)\right)} \]
                                                                                                                                                7. Step-by-step derivation
                                                                                                                                                  1. Applied rewrites41.2%

                                                                                                                                                    \[\leadsto i \cdot \color{blue}{\left(j \cdot \mathsf{fma}\left(-t, y5, x \cdot y1\right)\right)} \]

                                                                                                                                                  if 3.60000000000000007e-307 < y3 < 2.60000000000000002e195

                                                                                                                                                  1. Initial program 23.3%

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

                                                                                                                                                    \[\leadsto \color{blue}{i \cdot \left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
                                                                                                                                                  4. Step-by-step derivation
                                                                                                                                                    1. *-commutativeN/A

                                                                                                                                                      \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot i} \]
                                                                                                                                                    2. lower-*.f64N/A

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

                                                                                                                                                    \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y \cdot x - t \cdot z\right), c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i} \]
                                                                                                                                                  6. Taylor expanded in j around inf

                                                                                                                                                    \[\leadsto i \cdot \color{blue}{\left(j \cdot \left(-1 \cdot \left(t \cdot y5\right) + x \cdot y1\right)\right)} \]
                                                                                                                                                  7. Step-by-step derivation
                                                                                                                                                    1. Applied rewrites23.4%

                                                                                                                                                      \[\leadsto i \cdot \color{blue}{\left(j \cdot \mathsf{fma}\left(-t, y5, x \cdot y1\right)\right)} \]
                                                                                                                                                    2. Taylor expanded in z around inf

                                                                                                                                                      \[\leadsto i \cdot \color{blue}{\left(z \cdot \left(-1 \cdot \left(k \cdot y1\right) + c \cdot t\right)\right)} \]
                                                                                                                                                    3. Step-by-step derivation
                                                                                                                                                      1. Applied rewrites33.2%

                                                                                                                                                        \[\leadsto \left(i \cdot z\right) \cdot \color{blue}{\mathsf{fma}\left(-k, y1, c \cdot t\right)} \]
                                                                                                                                                    4. Recombined 4 regimes into one program.
                                                                                                                                                    5. Add Preprocessing

                                                                                                                                                    Alternative 16: 21.6% accurate, 4.8× speedup?

                                                                                                                                                    \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y4 \leq -6.5 \cdot 10^{+123}:\\ \;\;\;\;\left(\left(c \cdot y\right) \cdot y4\right) \cdot y3\\ \mathbf{elif}\;y4 \leq -6 \cdot 10^{+39}:\\ \;\;\;\;\left(\left(j \cdot y0\right) \cdot y5\right) \cdot y3\\ \mathbf{elif}\;y4 \leq 4.4 \cdot 10^{-295}:\\ \;\;\;\;i \cdot \left(\left(k \cdot y\right) \cdot y5\right)\\ \mathbf{elif}\;y4 \leq 5.5 \cdot 10^{+30}:\\ \;\;\;\;\left(z \cdot \left(k \cdot y0\right)\right) \cdot b\\ \mathbf{else}:\\ \;\;\;\;\left(j \cdot \left(\left(-y1\right) \cdot y4\right)\right) \cdot y3\\ \end{array} \end{array} \]
                                                                                                                                                    (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                     :precision binary64
                                                                                                                                                     (if (<= y4 -6.5e+123)
                                                                                                                                                       (* (* (* c y) y4) y3)
                                                                                                                                                       (if (<= y4 -6e+39)
                                                                                                                                                         (* (* (* j y0) y5) y3)
                                                                                                                                                         (if (<= y4 4.4e-295)
                                                                                                                                                           (* i (* (* k y) y5))
                                                                                                                                                           (if (<= y4 5.5e+30) (* (* z (* k y0)) b) (* (* j (* (- y1) y4)) y3))))))
                                                                                                                                                    double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                    	double tmp;
                                                                                                                                                    	if (y4 <= -6.5e+123) {
                                                                                                                                                    		tmp = ((c * y) * y4) * y3;
                                                                                                                                                    	} else if (y4 <= -6e+39) {
                                                                                                                                                    		tmp = ((j * y0) * y5) * y3;
                                                                                                                                                    	} else if (y4 <= 4.4e-295) {
                                                                                                                                                    		tmp = i * ((k * y) * y5);
                                                                                                                                                    	} else if (y4 <= 5.5e+30) {
                                                                                                                                                    		tmp = (z * (k * y0)) * b;
                                                                                                                                                    	} else {
                                                                                                                                                    		tmp = (j * (-y1 * y4)) * y3;
                                                                                                                                                    	}
                                                                                                                                                    	return tmp;
                                                                                                                                                    }
                                                                                                                                                    
                                                                                                                                                    real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                        real(8), intent (in) :: x
                                                                                                                                                        real(8), intent (in) :: y
                                                                                                                                                        real(8), intent (in) :: z
                                                                                                                                                        real(8), intent (in) :: t
                                                                                                                                                        real(8), intent (in) :: a
                                                                                                                                                        real(8), intent (in) :: b
                                                                                                                                                        real(8), intent (in) :: c
                                                                                                                                                        real(8), intent (in) :: i
                                                                                                                                                        real(8), intent (in) :: j
                                                                                                                                                        real(8), intent (in) :: k
                                                                                                                                                        real(8), intent (in) :: y0
                                                                                                                                                        real(8), intent (in) :: y1
                                                                                                                                                        real(8), intent (in) :: y2
                                                                                                                                                        real(8), intent (in) :: y3
                                                                                                                                                        real(8), intent (in) :: y4
                                                                                                                                                        real(8), intent (in) :: y5
                                                                                                                                                        real(8) :: tmp
                                                                                                                                                        if (y4 <= (-6.5d+123)) then
                                                                                                                                                            tmp = ((c * y) * y4) * y3
                                                                                                                                                        else if (y4 <= (-6d+39)) then
                                                                                                                                                            tmp = ((j * y0) * y5) * y3
                                                                                                                                                        else if (y4 <= 4.4d-295) then
                                                                                                                                                            tmp = i * ((k * y) * y5)
                                                                                                                                                        else if (y4 <= 5.5d+30) then
                                                                                                                                                            tmp = (z * (k * y0)) * b
                                                                                                                                                        else
                                                                                                                                                            tmp = (j * (-y1 * y4)) * y3
                                                                                                                                                        end if
                                                                                                                                                        code = tmp
                                                                                                                                                    end function
                                                                                                                                                    
                                                                                                                                                    public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                    	double tmp;
                                                                                                                                                    	if (y4 <= -6.5e+123) {
                                                                                                                                                    		tmp = ((c * y) * y4) * y3;
                                                                                                                                                    	} else if (y4 <= -6e+39) {
                                                                                                                                                    		tmp = ((j * y0) * y5) * y3;
                                                                                                                                                    	} else if (y4 <= 4.4e-295) {
                                                                                                                                                    		tmp = i * ((k * y) * y5);
                                                                                                                                                    	} else if (y4 <= 5.5e+30) {
                                                                                                                                                    		tmp = (z * (k * y0)) * b;
                                                                                                                                                    	} else {
                                                                                                                                                    		tmp = (j * (-y1 * y4)) * y3;
                                                                                                                                                    	}
                                                                                                                                                    	return tmp;
                                                                                                                                                    }
                                                                                                                                                    
                                                                                                                                                    def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                    	tmp = 0
                                                                                                                                                    	if y4 <= -6.5e+123:
                                                                                                                                                    		tmp = ((c * y) * y4) * y3
                                                                                                                                                    	elif y4 <= -6e+39:
                                                                                                                                                    		tmp = ((j * y0) * y5) * y3
                                                                                                                                                    	elif y4 <= 4.4e-295:
                                                                                                                                                    		tmp = i * ((k * y) * y5)
                                                                                                                                                    	elif y4 <= 5.5e+30:
                                                                                                                                                    		tmp = (z * (k * y0)) * b
                                                                                                                                                    	else:
                                                                                                                                                    		tmp = (j * (-y1 * y4)) * y3
                                                                                                                                                    	return tmp
                                                                                                                                                    
                                                                                                                                                    function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                    	tmp = 0.0
                                                                                                                                                    	if (y4 <= -6.5e+123)
                                                                                                                                                    		tmp = Float64(Float64(Float64(c * y) * y4) * y3);
                                                                                                                                                    	elseif (y4 <= -6e+39)
                                                                                                                                                    		tmp = Float64(Float64(Float64(j * y0) * y5) * y3);
                                                                                                                                                    	elseif (y4 <= 4.4e-295)
                                                                                                                                                    		tmp = Float64(i * Float64(Float64(k * y) * y5));
                                                                                                                                                    	elseif (y4 <= 5.5e+30)
                                                                                                                                                    		tmp = Float64(Float64(z * Float64(k * y0)) * b);
                                                                                                                                                    	else
                                                                                                                                                    		tmp = Float64(Float64(j * Float64(Float64(-y1) * y4)) * y3);
                                                                                                                                                    	end
                                                                                                                                                    	return tmp
                                                                                                                                                    end
                                                                                                                                                    
                                                                                                                                                    function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                    	tmp = 0.0;
                                                                                                                                                    	if (y4 <= -6.5e+123)
                                                                                                                                                    		tmp = ((c * y) * y4) * y3;
                                                                                                                                                    	elseif (y4 <= -6e+39)
                                                                                                                                                    		tmp = ((j * y0) * y5) * y3;
                                                                                                                                                    	elseif (y4 <= 4.4e-295)
                                                                                                                                                    		tmp = i * ((k * y) * y5);
                                                                                                                                                    	elseif (y4 <= 5.5e+30)
                                                                                                                                                    		tmp = (z * (k * y0)) * b;
                                                                                                                                                    	else
                                                                                                                                                    		tmp = (j * (-y1 * y4)) * y3;
                                                                                                                                                    	end
                                                                                                                                                    	tmp_2 = tmp;
                                                                                                                                                    end
                                                                                                                                                    
                                                                                                                                                    code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y4, -6.5e+123], N[(N[(N[(c * y), $MachinePrecision] * y4), $MachinePrecision] * y3), $MachinePrecision], If[LessEqual[y4, -6e+39], N[(N[(N[(j * y0), $MachinePrecision] * y5), $MachinePrecision] * y3), $MachinePrecision], If[LessEqual[y4, 4.4e-295], N[(i * N[(N[(k * y), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 5.5e+30], N[(N[(z * N[(k * y0), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision], N[(N[(j * N[((-y1) * y4), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision]]]]]
                                                                                                                                                    
                                                                                                                                                    \begin{array}{l}
                                                                                                                                                    
                                                                                                                                                    \\
                                                                                                                                                    \begin{array}{l}
                                                                                                                                                    \mathbf{if}\;y4 \leq -6.5 \cdot 10^{+123}:\\
                                                                                                                                                    \;\;\;\;\left(\left(c \cdot y\right) \cdot y4\right) \cdot y3\\
                                                                                                                                                    
                                                                                                                                                    \mathbf{elif}\;y4 \leq -6 \cdot 10^{+39}:\\
                                                                                                                                                    \;\;\;\;\left(\left(j \cdot y0\right) \cdot y5\right) \cdot y3\\
                                                                                                                                                    
                                                                                                                                                    \mathbf{elif}\;y4 \leq 4.4 \cdot 10^{-295}:\\
                                                                                                                                                    \;\;\;\;i \cdot \left(\left(k \cdot y\right) \cdot y5\right)\\
                                                                                                                                                    
                                                                                                                                                    \mathbf{elif}\;y4 \leq 5.5 \cdot 10^{+30}:\\
                                                                                                                                                    \;\;\;\;\left(z \cdot \left(k \cdot y0\right)\right) \cdot b\\
                                                                                                                                                    
                                                                                                                                                    \mathbf{else}:\\
                                                                                                                                                    \;\;\;\;\left(j \cdot \left(\left(-y1\right) \cdot y4\right)\right) \cdot y3\\
                                                                                                                                                    
                                                                                                                                                    
                                                                                                                                                    \end{array}
                                                                                                                                                    \end{array}
                                                                                                                                                    
                                                                                                                                                    Derivation
                                                                                                                                                    1. Split input into 5 regimes
                                                                                                                                                    2. if y4 < -6.5000000000000001e123

                                                                                                                                                      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 y3 around inf

                                                                                                                                                        \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                      4. Step-by-step derivation
                                                                                                                                                        1. *-commutativeN/A

                                                                                                                                                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                        2. lower-*.f64N/A

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

                                                                                                                                                        \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot y1 - y5 \cdot y0\right), j, \mathsf{fma}\left(-z, y0 \cdot c - y1 \cdot a, \left(y4 \cdot c - y5 \cdot a\right) \cdot y\right)\right) \cdot y3} \]
                                                                                                                                                      6. Taylor expanded in j around inf

                                                                                                                                                        \[\leadsto \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) \cdot y3 \]
                                                                                                                                                      7. Step-by-step derivation
                                                                                                                                                        1. Applied rewrites42.6%

                                                                                                                                                          \[\leadsto \left(j \cdot \mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right)\right) \cdot y3 \]
                                                                                                                                                        2. Taylor expanded in c around inf

                                                                                                                                                          \[\leadsto \left(c \cdot \left(-1 \cdot \left(y0 \cdot z\right) + y \cdot y4\right)\right) \cdot y3 \]
                                                                                                                                                        3. Step-by-step derivation
                                                                                                                                                          1. Applied rewrites58.4%

                                                                                                                                                            \[\leadsto \left(c \cdot \mathsf{fma}\left(-y0, z, y \cdot y4\right)\right) \cdot y3 \]
                                                                                                                                                          2. Taylor expanded in y around inf

                                                                                                                                                            \[\leadsto \left(c \cdot \left(y \cdot y4\right)\right) \cdot y3 \]
                                                                                                                                                          3. Step-by-step derivation
                                                                                                                                                            1. Applied rewrites49.0%

                                                                                                                                                              \[\leadsto \left(\left(c \cdot y\right) \cdot y4\right) \cdot y3 \]

                                                                                                                                                            if -6.5000000000000001e123 < y4 < -5.9999999999999999e39

                                                                                                                                                            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 y3 around inf

                                                                                                                                                              \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                            4. Step-by-step derivation
                                                                                                                                                              1. *-commutativeN/A

                                                                                                                                                                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                              2. lower-*.f64N/A

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

                                                                                                                                                              \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot y1 - y5 \cdot y0\right), j, \mathsf{fma}\left(-z, y0 \cdot c - y1 \cdot a, \left(y4 \cdot c - y5 \cdot a\right) \cdot y\right)\right) \cdot y3} \]
                                                                                                                                                            6. Taylor expanded in j around inf

                                                                                                                                                              \[\leadsto \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) \cdot y3 \]
                                                                                                                                                            7. Step-by-step derivation
                                                                                                                                                              1. Applied rewrites57.7%

                                                                                                                                                                \[\leadsto \left(j \cdot \mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right)\right) \cdot y3 \]
                                                                                                                                                              2. Taylor expanded in y0 around inf

                                                                                                                                                                \[\leadsto \left(j \cdot \left(y0 \cdot y5\right)\right) \cdot y3 \]
                                                                                                                                                              3. Step-by-step derivation
                                                                                                                                                                1. Applied rewrites71.8%

                                                                                                                                                                  \[\leadsto \left(\left(j \cdot y0\right) \cdot y5\right) \cdot y3 \]

                                                                                                                                                                if -5.9999999999999999e39 < y4 < 4.4000000000000004e-295

                                                                                                                                                                1. Initial program 28.9%

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

                                                                                                                                                                  \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                                                4. Step-by-step derivation
                                                                                                                                                                  1. *-commutativeN/A

                                                                                                                                                                    \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot k} \]
                                                                                                                                                                  2. lower-*.f64N/A

                                                                                                                                                                    \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot k} \]
                                                                                                                                                                5. Applied rewrites35.4%

                                                                                                                                                                  \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), y, \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, y2, \left(y0 \cdot b - y1 \cdot i\right) \cdot z\right)\right) \cdot k} \]
                                                                                                                                                                6. Taylor expanded in y5 around inf

                                                                                                                                                                  \[\leadsto k \cdot \color{blue}{\left(y5 \cdot \left(-1 \cdot \left(y0 \cdot y2\right) + i \cdot y\right)\right)} \]
                                                                                                                                                                7. Step-by-step derivation
                                                                                                                                                                  1. Applied rewrites32.2%

                                                                                                                                                                    \[\leadsto \left(k \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(-y0, y2, i \cdot y\right)} \]
                                                                                                                                                                  2. Taylor expanded in y around inf

                                                                                                                                                                    \[\leadsto i \cdot \left(k \cdot \color{blue}{\left(y \cdot y5\right)}\right) \]
                                                                                                                                                                  3. Step-by-step derivation
                                                                                                                                                                    1. Applied rewrites28.8%

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

                                                                                                                                                                    if 4.4000000000000004e-295 < y4 < 5.50000000000000025e30

                                                                                                                                                                    1. Initial program 30.3%

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

                                                                                                                                                                      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
                                                                                                                                                                    4. Step-by-step derivation
                                                                                                                                                                      1. *-commutativeN/A

                                                                                                                                                                        \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                                                                                                                      2. lower-*.f64N/A

                                                                                                                                                                        \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                                                                                                                    5. Applied rewrites41.9%

                                                                                                                                                                      \[\leadsto \color{blue}{\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(-y0\right) \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot b} \]
                                                                                                                                                                    6. Taylor expanded in z around inf

                                                                                                                                                                      \[\leadsto \left(z \cdot \left(-1 \cdot \left(a \cdot t\right) + k \cdot y0\right)\right) \cdot b \]
                                                                                                                                                                    7. Step-by-step derivation
                                                                                                                                                                      1. Applied rewrites39.5%

                                                                                                                                                                        \[\leadsto \left(z \cdot \mathsf{fma}\left(-1, a \cdot t, k \cdot y0\right)\right) \cdot b \]
                                                                                                                                                                      2. Taylor expanded in t around 0

                                                                                                                                                                        \[\leadsto \left(z \cdot \left(k \cdot y0\right)\right) \cdot b \]
                                                                                                                                                                      3. Step-by-step derivation
                                                                                                                                                                        1. Applied rewrites27.3%

                                                                                                                                                                          \[\leadsto \left(z \cdot \left(k \cdot y0\right)\right) \cdot b \]

                                                                                                                                                                        if 5.50000000000000025e30 < y4

                                                                                                                                                                        1. Initial program 24.6%

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

                                                                                                                                                                          \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                        4. Step-by-step derivation
                                                                                                                                                                          1. *-commutativeN/A

                                                                                                                                                                            \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                                          2. lower-*.f64N/A

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

                                                                                                                                                                          \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot y1 - y5 \cdot y0\right), j, \mathsf{fma}\left(-z, y0 \cdot c - y1 \cdot a, \left(y4 \cdot c - y5 \cdot a\right) \cdot y\right)\right) \cdot y3} \]
                                                                                                                                                                        6. Taylor expanded in j around inf

                                                                                                                                                                          \[\leadsto \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) \cdot y3 \]
                                                                                                                                                                        7. Step-by-step derivation
                                                                                                                                                                          1. Applied rewrites40.1%

                                                                                                                                                                            \[\leadsto \left(j \cdot \mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right)\right) \cdot y3 \]
                                                                                                                                                                          2. Taylor expanded in y0 around 0

                                                                                                                                                                            \[\leadsto \left(-1 \cdot \left(j \cdot \left(y1 \cdot y4\right)\right)\right) \cdot y3 \]
                                                                                                                                                                          3. Step-by-step derivation
                                                                                                                                                                            1. Applied rewrites35.9%

                                                                                                                                                                              \[\leadsto \left(\left(-j\right) \cdot \left(y1 \cdot y4\right)\right) \cdot y3 \]
                                                                                                                                                                          4. Recombined 5 regimes into one program.
                                                                                                                                                                          5. Final simplification35.1%

                                                                                                                                                                            \[\leadsto \begin{array}{l} \mathbf{if}\;y4 \leq -6.5 \cdot 10^{+123}:\\ \;\;\;\;\left(\left(c \cdot y\right) \cdot y4\right) \cdot y3\\ \mathbf{elif}\;y4 \leq -6 \cdot 10^{+39}:\\ \;\;\;\;\left(\left(j \cdot y0\right) \cdot y5\right) \cdot y3\\ \mathbf{elif}\;y4 \leq 4.4 \cdot 10^{-295}:\\ \;\;\;\;i \cdot \left(\left(k \cdot y\right) \cdot y5\right)\\ \mathbf{elif}\;y4 \leq 5.5 \cdot 10^{+30}:\\ \;\;\;\;\left(z \cdot \left(k \cdot y0\right)\right) \cdot b\\ \mathbf{else}:\\ \;\;\;\;\left(j \cdot \left(\left(-y1\right) \cdot y4\right)\right) \cdot y3\\ \end{array} \]
                                                                                                                                                                          6. Add Preprocessing

                                                                                                                                                                          Alternative 17: 29.5% accurate, 4.8× speedup?

                                                                                                                                                                          \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y5 \leq -128000000000:\\ \;\;\;\;i \cdot \left(j \cdot \mathsf{fma}\left(-t, y5, x \cdot y1\right)\right)\\ \mathbf{elif}\;y5 \leq 1.7 \cdot 10^{-253}:\\ \;\;\;\;\left(c \cdot i\right) \cdot \mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right)\\ \mathbf{elif}\;y5 \leq 8.4 \cdot 10^{-93}:\\ \;\;\;\;\left(b \cdot z\right) \cdot \mathsf{fma}\left(-a, t, k \cdot y0\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-a, y5, c \cdot y4\right) \cdot y3\right) \cdot y\\ \end{array} \end{array} \]
                                                                                                                                                                          (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                           :precision binary64
                                                                                                                                                                           (if (<= y5 -128000000000.0)
                                                                                                                                                                             (* i (* j (fma (- t) y5 (* x y1))))
                                                                                                                                                                             (if (<= y5 1.7e-253)
                                                                                                                                                                               (* (* c i) (fma t z (* (- x) y)))
                                                                                                                                                                               (if (<= y5 8.4e-93)
                                                                                                                                                                                 (* (* b z) (fma (- a) t (* k y0)))
                                                                                                                                                                                 (* (* (fma (- a) y5 (* c y4)) y3) 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 (y5 <= -128000000000.0) {
                                                                                                                                                                          		tmp = i * (j * fma(-t, y5, (x * y1)));
                                                                                                                                                                          	} else if (y5 <= 1.7e-253) {
                                                                                                                                                                          		tmp = (c * i) * fma(t, z, (-x * y));
                                                                                                                                                                          	} else if (y5 <= 8.4e-93) {
                                                                                                                                                                          		tmp = (b * z) * fma(-a, t, (k * y0));
                                                                                                                                                                          	} else {
                                                                                                                                                                          		tmp = (fma(-a, y5, (c * y4)) * y3) * 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 (y5 <= -128000000000.0)
                                                                                                                                                                          		tmp = Float64(i * Float64(j * fma(Float64(-t), y5, Float64(x * y1))));
                                                                                                                                                                          	elseif (y5 <= 1.7e-253)
                                                                                                                                                                          		tmp = Float64(Float64(c * i) * fma(t, z, Float64(Float64(-x) * y)));
                                                                                                                                                                          	elseif (y5 <= 8.4e-93)
                                                                                                                                                                          		tmp = Float64(Float64(b * z) * fma(Float64(-a), t, Float64(k * y0)));
                                                                                                                                                                          	else
                                                                                                                                                                          		tmp = Float64(Float64(fma(Float64(-a), y5, Float64(c * y4)) * y3) * y);
                                                                                                                                                                          	end
                                                                                                                                                                          	return tmp
                                                                                                                                                                          end
                                                                                                                                                                          
                                                                                                                                                                          code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y5, -128000000000.0], N[(i * N[(j * N[((-t) * y5 + N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 1.7e-253], N[(N[(c * i), $MachinePrecision] * N[(t * z + N[((-x) * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 8.4e-93], N[(N[(b * z), $MachinePrecision] * N[((-a) * t + N[(k * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(N[((-a) * y5 + N[(c * y4), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision] * y), $MachinePrecision]]]]
                                                                                                                                                                          
                                                                                                                                                                          \begin{array}{l}
                                                                                                                                                                          
                                                                                                                                                                          \\
                                                                                                                                                                          \begin{array}{l}
                                                                                                                                                                          \mathbf{if}\;y5 \leq -128000000000:\\
                                                                                                                                                                          \;\;\;\;i \cdot \left(j \cdot \mathsf{fma}\left(-t, y5, x \cdot y1\right)\right)\\
                                                                                                                                                                          
                                                                                                                                                                          \mathbf{elif}\;y5 \leq 1.7 \cdot 10^{-253}:\\
                                                                                                                                                                          \;\;\;\;\left(c \cdot i\right) \cdot \mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right)\\
                                                                                                                                                                          
                                                                                                                                                                          \mathbf{elif}\;y5 \leq 8.4 \cdot 10^{-93}:\\
                                                                                                                                                                          \;\;\;\;\left(b \cdot z\right) \cdot \mathsf{fma}\left(-a, t, k \cdot y0\right)\\
                                                                                                                                                                          
                                                                                                                                                                          \mathbf{else}:\\
                                                                                                                                                                          \;\;\;\;\left(\mathsf{fma}\left(-a, y5, c \cdot y4\right) \cdot y3\right) \cdot y\\
                                                                                                                                                                          
                                                                                                                                                                          
                                                                                                                                                                          \end{array}
                                                                                                                                                                          \end{array}
                                                                                                                                                                          
                                                                                                                                                                          Derivation
                                                                                                                                                                          1. Split input into 4 regimes
                                                                                                                                                                          2. if y5 < -1.28e11

                                                                                                                                                                            1. Initial program 23.2%

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

                                                                                                                                                                              \[\leadsto \color{blue}{i \cdot \left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
                                                                                                                                                                            4. Step-by-step derivation
                                                                                                                                                                              1. *-commutativeN/A

                                                                                                                                                                                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot i} \]
                                                                                                                                                                              2. lower-*.f64N/A

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

                                                                                                                                                                              \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y \cdot x - t \cdot z\right), c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i} \]
                                                                                                                                                                            6. Taylor expanded in j around inf

                                                                                                                                                                              \[\leadsto i \cdot \color{blue}{\left(j \cdot \left(-1 \cdot \left(t \cdot y5\right) + x \cdot y1\right)\right)} \]
                                                                                                                                                                            7. Step-by-step derivation
                                                                                                                                                                              1. Applied rewrites47.6%

                                                                                                                                                                                \[\leadsto i \cdot \color{blue}{\left(j \cdot \mathsf{fma}\left(-t, y5, x \cdot y1\right)\right)} \]

                                                                                                                                                                              if -1.28e11 < y5 < 1.69999999999999993e-253

                                                                                                                                                                              1. Initial program 31.1%

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

                                                                                                                                                                                \[\leadsto \color{blue}{i \cdot \left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
                                                                                                                                                                              4. Step-by-step derivation
                                                                                                                                                                                1. *-commutativeN/A

                                                                                                                                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot i} \]
                                                                                                                                                                                2. lower-*.f64N/A

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

                                                                                                                                                                                \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y \cdot x - t \cdot z\right), c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i} \]
                                                                                                                                                                              6. Taylor expanded in c around inf

                                                                                                                                                                                \[\leadsto c \cdot \color{blue}{\left(i \cdot \left(t \cdot z - x \cdot y\right)\right)} \]
                                                                                                                                                                              7. Step-by-step derivation
                                                                                                                                                                                1. Applied rewrites39.8%

                                                                                                                                                                                  \[\leadsto \left(c \cdot i\right) \cdot \color{blue}{\mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right)} \]

                                                                                                                                                                                if 1.69999999999999993e-253 < y5 < 8.4000000000000004e-93

                                                                                                                                                                                1. Initial program 21.6%

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

                                                                                                                                                                                  \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
                                                                                                                                                                                4. Step-by-step derivation
                                                                                                                                                                                  1. *-commutativeN/A

                                                                                                                                                                                    \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                                                                                                                                  2. lower-*.f64N/A

                                                                                                                                                                                    \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                                                                                                                                5. Applied rewrites46.3%

                                                                                                                                                                                  \[\leadsto \color{blue}{\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(-y0\right) \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot b} \]
                                                                                                                                                                                6. Taylor expanded in z around inf

                                                                                                                                                                                  \[\leadsto \left(z \cdot \left(-1 \cdot \left(a \cdot t\right) + k \cdot y0\right)\right) \cdot b \]
                                                                                                                                                                                7. Step-by-step derivation
                                                                                                                                                                                  1. Applied rewrites49.6%

                                                                                                                                                                                    \[\leadsto \left(z \cdot \mathsf{fma}\left(-1, a \cdot t, k \cdot y0\right)\right) \cdot b \]
                                                                                                                                                                                  2. Taylor expanded in z around inf

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

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

                                                                                                                                                                                    if 8.4000000000000004e-93 < y5

                                                                                                                                                                                    1. Initial program 24.0%

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

                                                                                                                                                                                      \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                    4. Step-by-step derivation
                                                                                                                                                                                      1. *-commutativeN/A

                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                                                      2. lower-*.f64N/A

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

                                                                                                                                                                                      \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot y1 - y5 \cdot y0\right), j, \mathsf{fma}\left(-z, y0 \cdot c - y1 \cdot a, \left(y4 \cdot c - y5 \cdot a\right) \cdot y\right)\right) \cdot y3} \]
                                                                                                                                                                                    6. Taylor expanded in y around inf

                                                                                                                                                                                      \[\leadsto y \cdot \color{blue}{\left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                    7. Step-by-step derivation
                                                                                                                                                                                      1. Applied rewrites30.6%

                                                                                                                                                                                        \[\leadsto \left(y \cdot y3\right) \cdot \color{blue}{\mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)} \]
                                                                                                                                                                                      2. Step-by-step derivation
                                                                                                                                                                                        1. Applied rewrites38.0%

                                                                                                                                                                                          \[\leadsto \left(\mathsf{fma}\left(-a, y5, c \cdot y4\right) \cdot y3\right) \cdot y \]
                                                                                                                                                                                      3. Recombined 4 regimes into one program.
                                                                                                                                                                                      4. Add Preprocessing

                                                                                                                                                                                      Alternative 18: 30.2% accurate, 4.8× speedup?

                                                                                                                                                                                      \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y5 \leq -128000000000:\\ \;\;\;\;i \cdot \left(j \cdot \mathsf{fma}\left(-t, y5, x \cdot y1\right)\right)\\ \mathbf{elif}\;y5 \leq 1.5 \cdot 10^{-254}:\\ \;\;\;\;\left(c \cdot i\right) \cdot \mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right)\\ \mathbf{elif}\;y5 \leq 1.04 \cdot 10^{-19}:\\ \;\;\;\;j \cdot \left(y1 \cdot \mathsf{fma}\left(-y3, y4, i \cdot x\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, y1 \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
                                                                                                                                                                                       (if (<= y5 -128000000000.0)
                                                                                                                                                                                         (* i (* j (fma (- t) y5 (* x y1))))
                                                                                                                                                                                         (if (<= y5 1.5e-254)
                                                                                                                                                                                           (* (* c i) (fma t z (* (- x) y)))
                                                                                                                                                                                           (if (<= y5 1.04e-19)
                                                                                                                                                                                             (* j (* y1 (fma (- y3) y4 (* i x))))
                                                                                                                                                                                             (* a (* y3 (fma (- y) y5 (* y1 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 (y5 <= -128000000000.0) {
                                                                                                                                                                                      		tmp = i * (j * fma(-t, y5, (x * y1)));
                                                                                                                                                                                      	} else if (y5 <= 1.5e-254) {
                                                                                                                                                                                      		tmp = (c * i) * fma(t, z, (-x * y));
                                                                                                                                                                                      	} else if (y5 <= 1.04e-19) {
                                                                                                                                                                                      		tmp = j * (y1 * fma(-y3, y4, (i * x)));
                                                                                                                                                                                      	} else {
                                                                                                                                                                                      		tmp = a * (y3 * fma(-y, y5, (y1 * 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 (y5 <= -128000000000.0)
                                                                                                                                                                                      		tmp = Float64(i * Float64(j * fma(Float64(-t), y5, Float64(x * y1))));
                                                                                                                                                                                      	elseif (y5 <= 1.5e-254)
                                                                                                                                                                                      		tmp = Float64(Float64(c * i) * fma(t, z, Float64(Float64(-x) * y)));
                                                                                                                                                                                      	elseif (y5 <= 1.04e-19)
                                                                                                                                                                                      		tmp = Float64(j * Float64(y1 * fma(Float64(-y3), y4, Float64(i * x))));
                                                                                                                                                                                      	else
                                                                                                                                                                                      		tmp = Float64(a * Float64(y3 * fma(Float64(-y), y5, Float64(y1 * z))));
                                                                                                                                                                                      	end
                                                                                                                                                                                      	return tmp
                                                                                                                                                                                      end
                                                                                                                                                                                      
                                                                                                                                                                                      code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y5, -128000000000.0], N[(i * N[(j * N[((-t) * y5 + N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 1.5e-254], N[(N[(c * i), $MachinePrecision] * N[(t * z + N[((-x) * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 1.04e-19], N[(j * N[(y1 * N[((-y3) * y4 + N[(i * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(y3 * N[((-y) * y5 + N[(y1 * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
                                                                                                                                                                                      
                                                                                                                                                                                      \begin{array}{l}
                                                                                                                                                                                      
                                                                                                                                                                                      \\
                                                                                                                                                                                      \begin{array}{l}
                                                                                                                                                                                      \mathbf{if}\;y5 \leq -128000000000:\\
                                                                                                                                                                                      \;\;\;\;i \cdot \left(j \cdot \mathsf{fma}\left(-t, y5, x \cdot y1\right)\right)\\
                                                                                                                                                                                      
                                                                                                                                                                                      \mathbf{elif}\;y5 \leq 1.5 \cdot 10^{-254}:\\
                                                                                                                                                                                      \;\;\;\;\left(c \cdot i\right) \cdot \mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right)\\
                                                                                                                                                                                      
                                                                                                                                                                                      \mathbf{elif}\;y5 \leq 1.04 \cdot 10^{-19}:\\
                                                                                                                                                                                      \;\;\;\;j \cdot \left(y1 \cdot \mathsf{fma}\left(-y3, y4, i \cdot x\right)\right)\\
                                                                                                                                                                                      
                                                                                                                                                                                      \mathbf{else}:\\
                                                                                                                                                                                      \;\;\;\;a \cdot \left(y3 \cdot \mathsf{fma}\left(-y, y5, y1 \cdot z\right)\right)\\
                                                                                                                                                                                      
                                                                                                                                                                                      
                                                                                                                                                                                      \end{array}
                                                                                                                                                                                      \end{array}
                                                                                                                                                                                      
                                                                                                                                                                                      Derivation
                                                                                                                                                                                      1. Split input into 4 regimes
                                                                                                                                                                                      2. if y5 < -1.28e11

                                                                                                                                                                                        1. Initial program 23.2%

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

                                                                                                                                                                                          \[\leadsto \color{blue}{i \cdot \left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
                                                                                                                                                                                        4. Step-by-step derivation
                                                                                                                                                                                          1. *-commutativeN/A

                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot i} \]
                                                                                                                                                                                          2. lower-*.f64N/A

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

                                                                                                                                                                                          \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y \cdot x - t \cdot z\right), c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i} \]
                                                                                                                                                                                        6. Taylor expanded in j around inf

                                                                                                                                                                                          \[\leadsto i \cdot \color{blue}{\left(j \cdot \left(-1 \cdot \left(t \cdot y5\right) + x \cdot y1\right)\right)} \]
                                                                                                                                                                                        7. Step-by-step derivation
                                                                                                                                                                                          1. Applied rewrites47.6%

                                                                                                                                                                                            \[\leadsto i \cdot \color{blue}{\left(j \cdot \mathsf{fma}\left(-t, y5, x \cdot y1\right)\right)} \]

                                                                                                                                                                                          if -1.28e11 < y5 < 1.50000000000000006e-254

                                                                                                                                                                                          1. Initial program 31.1%

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

                                                                                                                                                                                            \[\leadsto \color{blue}{i \cdot \left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
                                                                                                                                                                                          4. Step-by-step derivation
                                                                                                                                                                                            1. *-commutativeN/A

                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot i} \]
                                                                                                                                                                                            2. lower-*.f64N/A

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

                                                                                                                                                                                            \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y \cdot x - t \cdot z\right), c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i} \]
                                                                                                                                                                                          6. Taylor expanded in c around inf

                                                                                                                                                                                            \[\leadsto c \cdot \color{blue}{\left(i \cdot \left(t \cdot z - x \cdot y\right)\right)} \]
                                                                                                                                                                                          7. Step-by-step derivation
                                                                                                                                                                                            1. Applied rewrites39.8%

                                                                                                                                                                                              \[\leadsto \left(c \cdot i\right) \cdot \color{blue}{\mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right)} \]

                                                                                                                                                                                            if 1.50000000000000006e-254 < y5 < 1.03999999999999998e-19

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

                                                                                                                                                                                              \[\leadsto \color{blue}{y1 \cdot \left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
                                                                                                                                                                                            4. Step-by-step derivation
                                                                                                                                                                                              1. *-commutativeN/A

                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                                                                                                                                                                              2. lower-*.f64N/A

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

                                                                                                                                                                                              \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1} \]
                                                                                                                                                                                            6. Taylor expanded in j around inf

                                                                                                                                                                                              \[\leadsto j \cdot \color{blue}{\left(y1 \cdot \left(-1 \cdot \left(y3 \cdot y4\right) + i \cdot x\right)\right)} \]
                                                                                                                                                                                            7. Step-by-step derivation
                                                                                                                                                                                              1. Applied rewrites35.6%

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

                                                                                                                                                                                              if 1.03999999999999998e-19 < y5

                                                                                                                                                                                              1. Initial program 22.2%

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

                                                                                                                                                                                                \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                              4. Step-by-step derivation
                                                                                                                                                                                                1. *-commutativeN/A

                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                                                                2. lower-*.f64N/A

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

                                                                                                                                                                                                \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot y1 - y5 \cdot y0\right), j, \mathsf{fma}\left(-z, y0 \cdot c - y1 \cdot a, \left(y4 \cdot c - y5 \cdot a\right) \cdot y\right)\right) \cdot y3} \]
                                                                                                                                                                                              6. Taylor expanded in a around inf

                                                                                                                                                                                                \[\leadsto a \cdot \color{blue}{\left(y3 \cdot \left(-1 \cdot \left(y \cdot y5\right) + y1 \cdot z\right)\right)} \]
                                                                                                                                                                                              7. Step-by-step derivation
                                                                                                                                                                                                1. Applied rewrites40.9%

                                                                                                                                                                                                  \[\leadsto a \cdot \color{blue}{\left(y3 \cdot \mathsf{fma}\left(-y, y5, y1 \cdot z\right)\right)} \]
                                                                                                                                                                                              8. Recombined 4 regimes into one program.
                                                                                                                                                                                              9. Add Preprocessing

                                                                                                                                                                                              Alternative 19: 28.5% accurate, 5.6× speedup?

                                                                                                                                                                                              \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -8.5 \cdot 10^{+15}:\\ \;\;\;\;\left(c \cdot i\right) \cdot \mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right)\\ \mathbf{elif}\;z \leq 5.5 \cdot 10^{+83}:\\ \;\;\;\;i \cdot \left(j \cdot \mathsf{fma}\left(-t, y5, x \cdot y1\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(a \cdot \left(\left(-t\right) \cdot z\right)\right) \cdot b\\ \end{array} \end{array} \]
                                                                                                                                                                                              (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                               :precision binary64
                                                                                                                                                                                               (if (<= z -8.5e+15)
                                                                                                                                                                                                 (* (* c i) (fma t z (* (- x) y)))
                                                                                                                                                                                                 (if (<= z 5.5e+83)
                                                                                                                                                                                                   (* i (* j (fma (- t) y5 (* x y1))))
                                                                                                                                                                                                   (* (* a (* (- t) 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 (z <= -8.5e+15) {
                                                                                                                                                                                              		tmp = (c * i) * fma(t, z, (-x * y));
                                                                                                                                                                                              	} else if (z <= 5.5e+83) {
                                                                                                                                                                                              		tmp = i * (j * fma(-t, y5, (x * y1)));
                                                                                                                                                                                              	} else {
                                                                                                                                                                                              		tmp = (a * (-t * 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 (z <= -8.5e+15)
                                                                                                                                                                                              		tmp = Float64(Float64(c * i) * fma(t, z, Float64(Float64(-x) * y)));
                                                                                                                                                                                              	elseif (z <= 5.5e+83)
                                                                                                                                                                                              		tmp = Float64(i * Float64(j * fma(Float64(-t), y5, Float64(x * y1))));
                                                                                                                                                                                              	else
                                                                                                                                                                                              		tmp = Float64(Float64(a * Float64(Float64(-t) * z)) * b);
                                                                                                                                                                                              	end
                                                                                                                                                                                              	return tmp
                                                                                                                                                                                              end
                                                                                                                                                                                              
                                                                                                                                                                                              code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[z, -8.5e+15], N[(N[(c * i), $MachinePrecision] * N[(t * z + N[((-x) * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 5.5e+83], N[(i * N[(j * N[((-t) * y5 + N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(a * N[((-t) * z), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision]]]
                                                                                                                                                                                              
                                                                                                                                                                                              \begin{array}{l}
                                                                                                                                                                                              
                                                                                                                                                                                              \\
                                                                                                                                                                                              \begin{array}{l}
                                                                                                                                                                                              \mathbf{if}\;z \leq -8.5 \cdot 10^{+15}:\\
                                                                                                                                                                                              \;\;\;\;\left(c \cdot i\right) \cdot \mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right)\\
                                                                                                                                                                                              
                                                                                                                                                                                              \mathbf{elif}\;z \leq 5.5 \cdot 10^{+83}:\\
                                                                                                                                                                                              \;\;\;\;i \cdot \left(j \cdot \mathsf{fma}\left(-t, y5, x \cdot y1\right)\right)\\
                                                                                                                                                                                              
                                                                                                                                                                                              \mathbf{else}:\\
                                                                                                                                                                                              \;\;\;\;\left(a \cdot \left(\left(-t\right) \cdot z\right)\right) \cdot b\\
                                                                                                                                                                                              
                                                                                                                                                                                              
                                                                                                                                                                                              \end{array}
                                                                                                                                                                                              \end{array}
                                                                                                                                                                                              
                                                                                                                                                                                              Derivation
                                                                                                                                                                                              1. Split input into 3 regimes
                                                                                                                                                                                              2. if z < -8.5e15

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

                                                                                                                                                                                                  \[\leadsto \color{blue}{i \cdot \left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
                                                                                                                                                                                                4. Step-by-step derivation
                                                                                                                                                                                                  1. *-commutativeN/A

                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot i} \]
                                                                                                                                                                                                  2. lower-*.f64N/A

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

                                                                                                                                                                                                  \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y \cdot x - t \cdot z\right), c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i} \]
                                                                                                                                                                                                6. Taylor expanded in c around inf

                                                                                                                                                                                                  \[\leadsto c \cdot \color{blue}{\left(i \cdot \left(t \cdot z - x \cdot y\right)\right)} \]
                                                                                                                                                                                                7. Step-by-step derivation
                                                                                                                                                                                                  1. Applied rewrites50.8%

                                                                                                                                                                                                    \[\leadsto \left(c \cdot i\right) \cdot \color{blue}{\mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right)} \]

                                                                                                                                                                                                  if -8.5e15 < z < 5.4999999999999996e83

                                                                                                                                                                                                  1. Initial program 26.7%

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

                                                                                                                                                                                                    \[\leadsto \color{blue}{i \cdot \left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
                                                                                                                                                                                                  4. Step-by-step derivation
                                                                                                                                                                                                    1. *-commutativeN/A

                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot i} \]
                                                                                                                                                                                                    2. lower-*.f64N/A

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

                                                                                                                                                                                                    \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y \cdot x - t \cdot z\right), c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i} \]
                                                                                                                                                                                                  6. Taylor expanded in j around inf

                                                                                                                                                                                                    \[\leadsto i \cdot \color{blue}{\left(j \cdot \left(-1 \cdot \left(t \cdot y5\right) + x \cdot y1\right)\right)} \]
                                                                                                                                                                                                  7. Step-by-step derivation
                                                                                                                                                                                                    1. Applied rewrites31.7%

                                                                                                                                                                                                      \[\leadsto i \cdot \color{blue}{\left(j \cdot \mathsf{fma}\left(-t, y5, x \cdot y1\right)\right)} \]

                                                                                                                                                                                                    if 5.4999999999999996e83 < z

                                                                                                                                                                                                    1. Initial program 25.0%

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

                                                                                                                                                                                                      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
                                                                                                                                                                                                    4. Step-by-step derivation
                                                                                                                                                                                                      1. *-commutativeN/A

                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                                                                                                                                                      2. lower-*.f64N/A

                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                                                                                                                                                    5. Applied rewrites46.0%

                                                                                                                                                                                                      \[\leadsto \color{blue}{\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(-y0\right) \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot b} \]
                                                                                                                                                                                                    6. Taylor expanded in z around inf

                                                                                                                                                                                                      \[\leadsto \left(z \cdot \left(-1 \cdot \left(a \cdot t\right) + k \cdot y0\right)\right) \cdot b \]
                                                                                                                                                                                                    7. Step-by-step derivation
                                                                                                                                                                                                      1. Applied rewrites50.6%

                                                                                                                                                                                                        \[\leadsto \left(z \cdot \mathsf{fma}\left(-1, a \cdot t, k \cdot y0\right)\right) \cdot b \]
                                                                                                                                                                                                      2. Taylor expanded in t around inf

                                                                                                                                                                                                        \[\leadsto \left(-1 \cdot \left(a \cdot \left(t \cdot z\right)\right)\right) \cdot b \]
                                                                                                                                                                                                      3. Step-by-step derivation
                                                                                                                                                                                                        1. Applied rewrites42.6%

                                                                                                                                                                                                          \[\leadsto \left(\left(-a\right) \cdot \left(t \cdot z\right)\right) \cdot b \]
                                                                                                                                                                                                      4. Recombined 3 regimes into one program.
                                                                                                                                                                                                      5. Final simplification37.5%

                                                                                                                                                                                                        \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -8.5 \cdot 10^{+15}:\\ \;\;\;\;\left(c \cdot i\right) \cdot \mathsf{fma}\left(t, z, \left(-x\right) \cdot y\right)\\ \mathbf{elif}\;z \leq 5.5 \cdot 10^{+83}:\\ \;\;\;\;i \cdot \left(j \cdot \mathsf{fma}\left(-t, y5, x \cdot y1\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(a \cdot \left(\left(-t\right) \cdot z\right)\right) \cdot b\\ \end{array} \]
                                                                                                                                                                                                      6. Add Preprocessing

                                                                                                                                                                                                      Alternative 20: 27.6% accurate, 6.7× speedup?

                                                                                                                                                                                                      \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq 5.5 \cdot 10^{+83}:\\ \;\;\;\;i \cdot \left(j \cdot \mathsf{fma}\left(-t, y5, x \cdot y1\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(a \cdot \left(\left(-t\right) \cdot z\right)\right) \cdot b\\ \end{array} \end{array} \]
                                                                                                                                                                                                      (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                       :precision binary64
                                                                                                                                                                                                       (if (<= z 5.5e+83)
                                                                                                                                                                                                         (* i (* j (fma (- t) y5 (* x y1))))
                                                                                                                                                                                                         (* (* a (* (- t) 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 (z <= 5.5e+83) {
                                                                                                                                                                                                      		tmp = i * (j * fma(-t, y5, (x * y1)));
                                                                                                                                                                                                      	} else {
                                                                                                                                                                                                      		tmp = (a * (-t * 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 (z <= 5.5e+83)
                                                                                                                                                                                                      		tmp = Float64(i * Float64(j * fma(Float64(-t), y5, Float64(x * y1))));
                                                                                                                                                                                                      	else
                                                                                                                                                                                                      		tmp = Float64(Float64(a * Float64(Float64(-t) * z)) * b);
                                                                                                                                                                                                      	end
                                                                                                                                                                                                      	return tmp
                                                                                                                                                                                                      end
                                                                                                                                                                                                      
                                                                                                                                                                                                      code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[z, 5.5e+83], N[(i * N[(j * N[((-t) * y5 + N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(a * N[((-t) * z), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision]]
                                                                                                                                                                                                      
                                                                                                                                                                                                      \begin{array}{l}
                                                                                                                                                                                                      
                                                                                                                                                                                                      \\
                                                                                                                                                                                                      \begin{array}{l}
                                                                                                                                                                                                      \mathbf{if}\;z \leq 5.5 \cdot 10^{+83}:\\
                                                                                                                                                                                                      \;\;\;\;i \cdot \left(j \cdot \mathsf{fma}\left(-t, y5, x \cdot y1\right)\right)\\
                                                                                                                                                                                                      
                                                                                                                                                                                                      \mathbf{else}:\\
                                                                                                                                                                                                      \;\;\;\;\left(a \cdot \left(\left(-t\right) \cdot z\right)\right) \cdot b\\
                                                                                                                                                                                                      
                                                                                                                                                                                                      
                                                                                                                                                                                                      \end{array}
                                                                                                                                                                                                      \end{array}
                                                                                                                                                                                                      
                                                                                                                                                                                                      Derivation
                                                                                                                                                                                                      1. Split input into 2 regimes
                                                                                                                                                                                                      2. if z < 5.4999999999999996e83

                                                                                                                                                                                                        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

                                                                                                                                                                                                          \[\leadsto \color{blue}{i \cdot \left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
                                                                                                                                                                                                        4. Step-by-step derivation
                                                                                                                                                                                                          1. *-commutativeN/A

                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot i} \]
                                                                                                                                                                                                          2. lower-*.f64N/A

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

                                                                                                                                                                                                          \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y \cdot x - t \cdot z\right), c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i} \]
                                                                                                                                                                                                        6. Taylor expanded in j around inf

                                                                                                                                                                                                          \[\leadsto i \cdot \color{blue}{\left(j \cdot \left(-1 \cdot \left(t \cdot y5\right) + x \cdot y1\right)\right)} \]
                                                                                                                                                                                                        7. Step-by-step derivation
                                                                                                                                                                                                          1. Applied rewrites31.6%

                                                                                                                                                                                                            \[\leadsto i \cdot \color{blue}{\left(j \cdot \mathsf{fma}\left(-t, y5, x \cdot y1\right)\right)} \]

                                                                                                                                                                                                          if 5.4999999999999996e83 < z

                                                                                                                                                                                                          1. Initial program 25.0%

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

                                                                                                                                                                                                            \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
                                                                                                                                                                                                          4. Step-by-step derivation
                                                                                                                                                                                                            1. *-commutativeN/A

                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                                                                                                                                                            2. lower-*.f64N/A

                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                                                                                                                                                          5. Applied rewrites46.0%

                                                                                                                                                                                                            \[\leadsto \color{blue}{\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(-y0\right) \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot b} \]
                                                                                                                                                                                                          6. Taylor expanded in z around inf

                                                                                                                                                                                                            \[\leadsto \left(z \cdot \left(-1 \cdot \left(a \cdot t\right) + k \cdot y0\right)\right) \cdot b \]
                                                                                                                                                                                                          7. Step-by-step derivation
                                                                                                                                                                                                            1. Applied rewrites50.6%

                                                                                                                                                                                                              \[\leadsto \left(z \cdot \mathsf{fma}\left(-1, a \cdot t, k \cdot y0\right)\right) \cdot b \]
                                                                                                                                                                                                            2. Taylor expanded in t around inf

                                                                                                                                                                                                              \[\leadsto \left(-1 \cdot \left(a \cdot \left(t \cdot z\right)\right)\right) \cdot b \]
                                                                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                                                                              1. Applied rewrites42.6%

                                                                                                                                                                                                                \[\leadsto \left(\left(-a\right) \cdot \left(t \cdot z\right)\right) \cdot b \]
                                                                                                                                                                                                            4. Recombined 2 regimes into one program.
                                                                                                                                                                                                            5. Final simplification33.6%

                                                                                                                                                                                                              \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq 5.5 \cdot 10^{+83}:\\ \;\;\;\;i \cdot \left(j \cdot \mathsf{fma}\left(-t, y5, x \cdot y1\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(a \cdot \left(\left(-t\right) \cdot z\right)\right) \cdot b\\ \end{array} \]
                                                                                                                                                                                                            6. Add Preprocessing

                                                                                                                                                                                                            Alternative 21: 22.2% accurate, 7.2× speedup?

                                                                                                                                                                                                            \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y \leq -1.38 \cdot 10^{+57} \lor \neg \left(y \leq 9.2 \cdot 10^{+81}\right):\\ \;\;\;\;\left(\left(c \cdot y\right) \cdot y4\right) \cdot y3\\ \mathbf{else}:\\ \;\;\;\;\left(\left(j \cdot y0\right) \cdot y5\right) \cdot y3\\ \end{array} \end{array} \]
                                                                                                                                                                                                            (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                             :precision binary64
                                                                                                                                                                                                             (if (or (<= y -1.38e+57) (not (<= y 9.2e+81)))
                                                                                                                                                                                                               (* (* (* c y) y4) y3)
                                                                                                                                                                                                               (* (* (* j y0) y5) y3)))
                                                                                                                                                                                                            double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                            	double tmp;
                                                                                                                                                                                                            	if ((y <= -1.38e+57) || !(y <= 9.2e+81)) {
                                                                                                                                                                                                            		tmp = ((c * y) * y4) * y3;
                                                                                                                                                                                                            	} else {
                                                                                                                                                                                                            		tmp = ((j * y0) * y5) * y3;
                                                                                                                                                                                                            	}
                                                                                                                                                                                                            	return tmp;
                                                                                                                                                                                                            }
                                                                                                                                                                                                            
                                                                                                                                                                                                            real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                real(8), intent (in) :: x
                                                                                                                                                                                                                real(8), intent (in) :: y
                                                                                                                                                                                                                real(8), intent (in) :: z
                                                                                                                                                                                                                real(8), intent (in) :: t
                                                                                                                                                                                                                real(8), intent (in) :: a
                                                                                                                                                                                                                real(8), intent (in) :: b
                                                                                                                                                                                                                real(8), intent (in) :: c
                                                                                                                                                                                                                real(8), intent (in) :: i
                                                                                                                                                                                                                real(8), intent (in) :: j
                                                                                                                                                                                                                real(8), intent (in) :: k
                                                                                                                                                                                                                real(8), intent (in) :: y0
                                                                                                                                                                                                                real(8), intent (in) :: y1
                                                                                                                                                                                                                real(8), intent (in) :: y2
                                                                                                                                                                                                                real(8), intent (in) :: y3
                                                                                                                                                                                                                real(8), intent (in) :: y4
                                                                                                                                                                                                                real(8), intent (in) :: y5
                                                                                                                                                                                                                real(8) :: tmp
                                                                                                                                                                                                                if ((y <= (-1.38d+57)) .or. (.not. (y <= 9.2d+81))) then
                                                                                                                                                                                                                    tmp = ((c * y) * y4) * y3
                                                                                                                                                                                                                else
                                                                                                                                                                                                                    tmp = ((j * y0) * y5) * y3
                                                                                                                                                                                                                end if
                                                                                                                                                                                                                code = tmp
                                                                                                                                                                                                            end function
                                                                                                                                                                                                            
                                                                                                                                                                                                            public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                            	double tmp;
                                                                                                                                                                                                            	if ((y <= -1.38e+57) || !(y <= 9.2e+81)) {
                                                                                                                                                                                                            		tmp = ((c * y) * y4) * y3;
                                                                                                                                                                                                            	} else {
                                                                                                                                                                                                            		tmp = ((j * y0) * y5) * y3;
                                                                                                                                                                                                            	}
                                                                                                                                                                                                            	return tmp;
                                                                                                                                                                                                            }
                                                                                                                                                                                                            
                                                                                                                                                                                                            def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                            	tmp = 0
                                                                                                                                                                                                            	if (y <= -1.38e+57) or not (y <= 9.2e+81):
                                                                                                                                                                                                            		tmp = ((c * y) * y4) * y3
                                                                                                                                                                                                            	else:
                                                                                                                                                                                                            		tmp = ((j * y0) * y5) * y3
                                                                                                                                                                                                            	return tmp
                                                                                                                                                                                                            
                                                                                                                                                                                                            function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                            	tmp = 0.0
                                                                                                                                                                                                            	if ((y <= -1.38e+57) || !(y <= 9.2e+81))
                                                                                                                                                                                                            		tmp = Float64(Float64(Float64(c * y) * y4) * y3);
                                                                                                                                                                                                            	else
                                                                                                                                                                                                            		tmp = Float64(Float64(Float64(j * y0) * y5) * y3);
                                                                                                                                                                                                            	end
                                                                                                                                                                                                            	return tmp
                                                                                                                                                                                                            end
                                                                                                                                                                                                            
                                                                                                                                                                                                            function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                            	tmp = 0.0;
                                                                                                                                                                                                            	if ((y <= -1.38e+57) || ~((y <= 9.2e+81)))
                                                                                                                                                                                                            		tmp = ((c * y) * y4) * y3;
                                                                                                                                                                                                            	else
                                                                                                                                                                                                            		tmp = ((j * y0) * y5) * y3;
                                                                                                                                                                                                            	end
                                                                                                                                                                                                            	tmp_2 = tmp;
                                                                                                                                                                                                            end
                                                                                                                                                                                                            
                                                                                                                                                                                                            code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[Or[LessEqual[y, -1.38e+57], N[Not[LessEqual[y, 9.2e+81]], $MachinePrecision]], N[(N[(N[(c * y), $MachinePrecision] * y4), $MachinePrecision] * y3), $MachinePrecision], N[(N[(N[(j * y0), $MachinePrecision] * y5), $MachinePrecision] * y3), $MachinePrecision]]
                                                                                                                                                                                                            
                                                                                                                                                                                                            \begin{array}{l}
                                                                                                                                                                                                            
                                                                                                                                                                                                            \\
                                                                                                                                                                                                            \begin{array}{l}
                                                                                                                                                                                                            \mathbf{if}\;y \leq -1.38 \cdot 10^{+57} \lor \neg \left(y \leq 9.2 \cdot 10^{+81}\right):\\
                                                                                                                                                                                                            \;\;\;\;\left(\left(c \cdot y\right) \cdot y4\right) \cdot y3\\
                                                                                                                                                                                                            
                                                                                                                                                                                                            \mathbf{else}:\\
                                                                                                                                                                                                            \;\;\;\;\left(\left(j \cdot y0\right) \cdot y5\right) \cdot y3\\
                                                                                                                                                                                                            
                                                                                                                                                                                                            
                                                                                                                                                                                                            \end{array}
                                                                                                                                                                                                            \end{array}
                                                                                                                                                                                                            
                                                                                                                                                                                                            Derivation
                                                                                                                                                                                                            1. Split input into 2 regimes
                                                                                                                                                                                                            2. if y < -1.38e57 or 9.1999999999999995e81 < y

                                                                                                                                                                                                              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 y3 around inf

                                                                                                                                                                                                                \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                              4. Step-by-step derivation
                                                                                                                                                                                                                1. *-commutativeN/A

                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                                                                                2. lower-*.f64N/A

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

                                                                                                                                                                                                                \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot y1 - y5 \cdot y0\right), j, \mathsf{fma}\left(-z, y0 \cdot c - y1 \cdot a, \left(y4 \cdot c - y5 \cdot a\right) \cdot y\right)\right) \cdot y3} \]
                                                                                                                                                                                                              6. Taylor expanded in j around inf

                                                                                                                                                                                                                \[\leadsto \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) \cdot y3 \]
                                                                                                                                                                                                              7. Step-by-step derivation
                                                                                                                                                                                                                1. Applied rewrites26.6%

                                                                                                                                                                                                                  \[\leadsto \left(j \cdot \mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right)\right) \cdot y3 \]
                                                                                                                                                                                                                2. Taylor expanded in c around inf

                                                                                                                                                                                                                  \[\leadsto \left(c \cdot \left(-1 \cdot \left(y0 \cdot z\right) + y \cdot y4\right)\right) \cdot y3 \]
                                                                                                                                                                                                                3. Step-by-step derivation
                                                                                                                                                                                                                  1. Applied rewrites41.7%

                                                                                                                                                                                                                    \[\leadsto \left(c \cdot \mathsf{fma}\left(-y0, z, y \cdot y4\right)\right) \cdot y3 \]
                                                                                                                                                                                                                  2. Taylor expanded in y around inf

                                                                                                                                                                                                                    \[\leadsto \left(c \cdot \left(y \cdot y4\right)\right) \cdot y3 \]
                                                                                                                                                                                                                  3. Step-by-step derivation
                                                                                                                                                                                                                    1. Applied rewrites40.0%

                                                                                                                                                                                                                      \[\leadsto \left(\left(c \cdot y\right) \cdot y4\right) \cdot y3 \]

                                                                                                                                                                                                                    if -1.38e57 < y < 9.1999999999999995e81

                                                                                                                                                                                                                    1. Initial program 28.8%

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

                                                                                                                                                                                                                      \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                    4. Step-by-step derivation
                                                                                                                                                                                                                      1. *-commutativeN/A

                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                                                                                      2. lower-*.f64N/A

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

                                                                                                                                                                                                                      \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot y1 - y5 \cdot y0\right), j, \mathsf{fma}\left(-z, y0 \cdot c - y1 \cdot a, \left(y4 \cdot c - y5 \cdot a\right) \cdot y\right)\right) \cdot y3} \]
                                                                                                                                                                                                                    6. Taylor expanded in j around inf

                                                                                                                                                                                                                      \[\leadsto \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) \cdot y3 \]
                                                                                                                                                                                                                    7. Step-by-step derivation
                                                                                                                                                                                                                      1. Applied rewrites33.3%

                                                                                                                                                                                                                        \[\leadsto \left(j \cdot \mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right)\right) \cdot y3 \]
                                                                                                                                                                                                                      2. Taylor expanded in y0 around inf

                                                                                                                                                                                                                        \[\leadsto \left(j \cdot \left(y0 \cdot y5\right)\right) \cdot y3 \]
                                                                                                                                                                                                                      3. Step-by-step derivation
                                                                                                                                                                                                                        1. Applied rewrites25.2%

                                                                                                                                                                                                                          \[\leadsto \left(\left(j \cdot y0\right) \cdot y5\right) \cdot y3 \]
                                                                                                                                                                                                                      4. Recombined 2 regimes into one program.
                                                                                                                                                                                                                      5. Final simplification31.6%

                                                                                                                                                                                                                        \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -1.38 \cdot 10^{+57} \lor \neg \left(y \leq 9.2 \cdot 10^{+81}\right):\\ \;\;\;\;\left(\left(c \cdot y\right) \cdot y4\right) \cdot y3\\ \mathbf{else}:\\ \;\;\;\;\left(\left(j \cdot y0\right) \cdot y5\right) \cdot y3\\ \end{array} \]
                                                                                                                                                                                                                      6. Add Preprocessing

                                                                                                                                                                                                                      Alternative 22: 21.9% accurate, 7.2× speedup?

                                                                                                                                                                                                                      \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y \leq -4.3 \cdot 10^{+76} \lor \neg \left(y \leq 2.15 \cdot 10^{+44}\right):\\ \;\;\;\;\left(\left(c \cdot y\right) \cdot y4\right) \cdot y3\\ \mathbf{else}:\\ \;\;\;\;i \cdot \left(\left(j \cdot x\right) \cdot y1\right)\\ \end{array} \end{array} \]
                                                                                                                                                                                                                      (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                       :precision binary64
                                                                                                                                                                                                                       (if (or (<= y -4.3e+76) (not (<= y 2.15e+44)))
                                                                                                                                                                                                                         (* (* (* c y) y4) y3)
                                                                                                                                                                                                                         (* i (* (* j x) y1))))
                                                                                                                                                                                                                      double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                      	double tmp;
                                                                                                                                                                                                                      	if ((y <= -4.3e+76) || !(y <= 2.15e+44)) {
                                                                                                                                                                                                                      		tmp = ((c * y) * y4) * y3;
                                                                                                                                                                                                                      	} else {
                                                                                                                                                                                                                      		tmp = i * ((j * x) * y1);
                                                                                                                                                                                                                      	}
                                                                                                                                                                                                                      	return tmp;
                                                                                                                                                                                                                      }
                                                                                                                                                                                                                      
                                                                                                                                                                                                                      real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                          real(8), intent (in) :: x
                                                                                                                                                                                                                          real(8), intent (in) :: y
                                                                                                                                                                                                                          real(8), intent (in) :: z
                                                                                                                                                                                                                          real(8), intent (in) :: t
                                                                                                                                                                                                                          real(8), intent (in) :: a
                                                                                                                                                                                                                          real(8), intent (in) :: b
                                                                                                                                                                                                                          real(8), intent (in) :: c
                                                                                                                                                                                                                          real(8), intent (in) :: i
                                                                                                                                                                                                                          real(8), intent (in) :: j
                                                                                                                                                                                                                          real(8), intent (in) :: k
                                                                                                                                                                                                                          real(8), intent (in) :: y0
                                                                                                                                                                                                                          real(8), intent (in) :: y1
                                                                                                                                                                                                                          real(8), intent (in) :: y2
                                                                                                                                                                                                                          real(8), intent (in) :: y3
                                                                                                                                                                                                                          real(8), intent (in) :: y4
                                                                                                                                                                                                                          real(8), intent (in) :: y5
                                                                                                                                                                                                                          real(8) :: tmp
                                                                                                                                                                                                                          if ((y <= (-4.3d+76)) .or. (.not. (y <= 2.15d+44))) then
                                                                                                                                                                                                                              tmp = ((c * y) * y4) * y3
                                                                                                                                                                                                                          else
                                                                                                                                                                                                                              tmp = i * ((j * x) * y1)
                                                                                                                                                                                                                          end if
                                                                                                                                                                                                                          code = tmp
                                                                                                                                                                                                                      end function
                                                                                                                                                                                                                      
                                                                                                                                                                                                                      public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                      	double tmp;
                                                                                                                                                                                                                      	if ((y <= -4.3e+76) || !(y <= 2.15e+44)) {
                                                                                                                                                                                                                      		tmp = ((c * y) * y4) * y3;
                                                                                                                                                                                                                      	} else {
                                                                                                                                                                                                                      		tmp = i * ((j * x) * y1);
                                                                                                                                                                                                                      	}
                                                                                                                                                                                                                      	return tmp;
                                                                                                                                                                                                                      }
                                                                                                                                                                                                                      
                                                                                                                                                                                                                      def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                      	tmp = 0
                                                                                                                                                                                                                      	if (y <= -4.3e+76) or not (y <= 2.15e+44):
                                                                                                                                                                                                                      		tmp = ((c * y) * y4) * y3
                                                                                                                                                                                                                      	else:
                                                                                                                                                                                                                      		tmp = i * ((j * x) * y1)
                                                                                                                                                                                                                      	return tmp
                                                                                                                                                                                                                      
                                                                                                                                                                                                                      function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                      	tmp = 0.0
                                                                                                                                                                                                                      	if ((y <= -4.3e+76) || !(y <= 2.15e+44))
                                                                                                                                                                                                                      		tmp = Float64(Float64(Float64(c * y) * y4) * y3);
                                                                                                                                                                                                                      	else
                                                                                                                                                                                                                      		tmp = Float64(i * Float64(Float64(j * x) * y1));
                                                                                                                                                                                                                      	end
                                                                                                                                                                                                                      	return tmp
                                                                                                                                                                                                                      end
                                                                                                                                                                                                                      
                                                                                                                                                                                                                      function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                      	tmp = 0.0;
                                                                                                                                                                                                                      	if ((y <= -4.3e+76) || ~((y <= 2.15e+44)))
                                                                                                                                                                                                                      		tmp = ((c * y) * y4) * y3;
                                                                                                                                                                                                                      	else
                                                                                                                                                                                                                      		tmp = i * ((j * x) * y1);
                                                                                                                                                                                                                      	end
                                                                                                                                                                                                                      	tmp_2 = tmp;
                                                                                                                                                                                                                      end
                                                                                                                                                                                                                      
                                                                                                                                                                                                                      code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[Or[LessEqual[y, -4.3e+76], N[Not[LessEqual[y, 2.15e+44]], $MachinePrecision]], N[(N[(N[(c * y), $MachinePrecision] * y4), $MachinePrecision] * y3), $MachinePrecision], N[(i * N[(N[(j * x), $MachinePrecision] * y1), $MachinePrecision]), $MachinePrecision]]
                                                                                                                                                                                                                      
                                                                                                                                                                                                                      \begin{array}{l}
                                                                                                                                                                                                                      
                                                                                                                                                                                                                      \\
                                                                                                                                                                                                                      \begin{array}{l}
                                                                                                                                                                                                                      \mathbf{if}\;y \leq -4.3 \cdot 10^{+76} \lor \neg \left(y \leq 2.15 \cdot 10^{+44}\right):\\
                                                                                                                                                                                                                      \;\;\;\;\left(\left(c \cdot y\right) \cdot y4\right) \cdot y3\\
                                                                                                                                                                                                                      
                                                                                                                                                                                                                      \mathbf{else}:\\
                                                                                                                                                                                                                      \;\;\;\;i \cdot \left(\left(j \cdot x\right) \cdot y1\right)\\
                                                                                                                                                                                                                      
                                                                                                                                                                                                                      
                                                                                                                                                                                                                      \end{array}
                                                                                                                                                                                                                      \end{array}
                                                                                                                                                                                                                      
                                                                                                                                                                                                                      Derivation
                                                                                                                                                                                                                      1. Split input into 2 regimes
                                                                                                                                                                                                                      2. if y < -4.29999999999999978e76 or 2.14999999999999991e44 < y

                                                                                                                                                                                                                        1. Initial program 20.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 y3 around inf

                                                                                                                                                                                                                          \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                        4. Step-by-step derivation
                                                                                                                                                                                                                          1. *-commutativeN/A

                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                                                                                          2. lower-*.f64N/A

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

                                                                                                                                                                                                                          \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot y1 - y5 \cdot y0\right), j, \mathsf{fma}\left(-z, y0 \cdot c - y1 \cdot a, \left(y4 \cdot c - y5 \cdot a\right) \cdot y\right)\right) \cdot y3} \]
                                                                                                                                                                                                                        6. Taylor expanded in j around inf

                                                                                                                                                                                                                          \[\leadsto \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) \cdot y3 \]
                                                                                                                                                                                                                        7. Step-by-step derivation
                                                                                                                                                                                                                          1. Applied rewrites29.7%

                                                                                                                                                                                                                            \[\leadsto \left(j \cdot \mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right)\right) \cdot y3 \]
                                                                                                                                                                                                                          2. Taylor expanded in c around inf

                                                                                                                                                                                                                            \[\leadsto \left(c \cdot \left(-1 \cdot \left(y0 \cdot z\right) + y \cdot y4\right)\right) \cdot y3 \]
                                                                                                                                                                                                                          3. Step-by-step derivation
                                                                                                                                                                                                                            1. Applied rewrites43.4%

                                                                                                                                                                                                                              \[\leadsto \left(c \cdot \mathsf{fma}\left(-y0, z, y \cdot y4\right)\right) \cdot y3 \]
                                                                                                                                                                                                                            2. Taylor expanded in y around inf

                                                                                                                                                                                                                              \[\leadsto \left(c \cdot \left(y \cdot y4\right)\right) \cdot y3 \]
                                                                                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                                                                                              1. Applied rewrites40.0%

                                                                                                                                                                                                                                \[\leadsto \left(\left(c \cdot y\right) \cdot y4\right) \cdot y3 \]

                                                                                                                                                                                                                              if -4.29999999999999978e76 < y < 2.14999999999999991e44

                                                                                                                                                                                                                              1. Initial program 29.8%

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

                                                                                                                                                                                                                                \[\leadsto \color{blue}{i \cdot \left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
                                                                                                                                                                                                                              4. Step-by-step derivation
                                                                                                                                                                                                                                1. *-commutativeN/A

                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot i} \]
                                                                                                                                                                                                                                2. lower-*.f64N/A

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

                                                                                                                                                                                                                                \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y \cdot x - t \cdot z\right), c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i} \]
                                                                                                                                                                                                                              6. Taylor expanded in j around inf

                                                                                                                                                                                                                                \[\leadsto i \cdot \color{blue}{\left(j \cdot \left(-1 \cdot \left(t \cdot y5\right) + x \cdot y1\right)\right)} \]
                                                                                                                                                                                                                              7. Step-by-step derivation
                                                                                                                                                                                                                                1. Applied rewrites29.6%

                                                                                                                                                                                                                                  \[\leadsto i \cdot \color{blue}{\left(j \cdot \mathsf{fma}\left(-t, y5, x \cdot y1\right)\right)} \]
                                                                                                                                                                                                                                2. Taylor expanded in x around inf

                                                                                                                                                                                                                                  \[\leadsto i \cdot \left(j \cdot \left(x \cdot \color{blue}{y1}\right)\right) \]
                                                                                                                                                                                                                                3. Step-by-step derivation
                                                                                                                                                                                                                                  1. Applied rewrites22.7%

                                                                                                                                                                                                                                    \[\leadsto i \cdot \left(\left(j \cdot x\right) \cdot y1\right) \]
                                                                                                                                                                                                                                4. Recombined 2 regimes into one program.
                                                                                                                                                                                                                                5. Final simplification30.5%

                                                                                                                                                                                                                                  \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -4.3 \cdot 10^{+76} \lor \neg \left(y \leq 2.15 \cdot 10^{+44}\right):\\ \;\;\;\;\left(\left(c \cdot y\right) \cdot y4\right) \cdot y3\\ \mathbf{else}:\\ \;\;\;\;i \cdot \left(\left(j \cdot x\right) \cdot y1\right)\\ \end{array} \]
                                                                                                                                                                                                                                6. Add Preprocessing

                                                                                                                                                                                                                                Alternative 23: 22.1% accurate, 7.2× speedup?

                                                                                                                                                                                                                                \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;x \leq -31.5 \lor \neg \left(x \leq 7800000000000\right):\\ \;\;\;\;i \cdot \left(\left(j \cdot x\right) \cdot y1\right)\\ \mathbf{else}:\\ \;\;\;\;i \cdot \left(\left(k \cdot y\right) \cdot y5\right)\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                 :precision binary64
                                                                                                                                                                                                                                 (if (or (<= x -31.5) (not (<= x 7800000000000.0)))
                                                                                                                                                                                                                                   (* i (* (* j x) y1))
                                                                                                                                                                                                                                   (* i (* (* k y) y5))))
                                                                                                                                                                                                                                double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                	double tmp;
                                                                                                                                                                                                                                	if ((x <= -31.5) || !(x <= 7800000000000.0)) {
                                                                                                                                                                                                                                		tmp = i * ((j * x) * y1);
                                                                                                                                                                                                                                	} else {
                                                                                                                                                                                                                                		tmp = i * ((k * y) * y5);
                                                                                                                                                                                                                                	}
                                                                                                                                                                                                                                	return tmp;
                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                
                                                                                                                                                                                                                                real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                    real(8), intent (in) :: x
                                                                                                                                                                                                                                    real(8), intent (in) :: y
                                                                                                                                                                                                                                    real(8), intent (in) :: z
                                                                                                                                                                                                                                    real(8), intent (in) :: t
                                                                                                                                                                                                                                    real(8), intent (in) :: a
                                                                                                                                                                                                                                    real(8), intent (in) :: b
                                                                                                                                                                                                                                    real(8), intent (in) :: c
                                                                                                                                                                                                                                    real(8), intent (in) :: i
                                                                                                                                                                                                                                    real(8), intent (in) :: j
                                                                                                                                                                                                                                    real(8), intent (in) :: k
                                                                                                                                                                                                                                    real(8), intent (in) :: y0
                                                                                                                                                                                                                                    real(8), intent (in) :: y1
                                                                                                                                                                                                                                    real(8), intent (in) :: y2
                                                                                                                                                                                                                                    real(8), intent (in) :: y3
                                                                                                                                                                                                                                    real(8), intent (in) :: y4
                                                                                                                                                                                                                                    real(8), intent (in) :: y5
                                                                                                                                                                                                                                    real(8) :: tmp
                                                                                                                                                                                                                                    if ((x <= (-31.5d0)) .or. (.not. (x <= 7800000000000.0d0))) then
                                                                                                                                                                                                                                        tmp = i * ((j * x) * y1)
                                                                                                                                                                                                                                    else
                                                                                                                                                                                                                                        tmp = i * ((k * y) * y5)
                                                                                                                                                                                                                                    end if
                                                                                                                                                                                                                                    code = tmp
                                                                                                                                                                                                                                end function
                                                                                                                                                                                                                                
                                                                                                                                                                                                                                public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                	double tmp;
                                                                                                                                                                                                                                	if ((x <= -31.5) || !(x <= 7800000000000.0)) {
                                                                                                                                                                                                                                		tmp = i * ((j * x) * y1);
                                                                                                                                                                                                                                	} else {
                                                                                                                                                                                                                                		tmp = i * ((k * y) * y5);
                                                                                                                                                                                                                                	}
                                                                                                                                                                                                                                	return tmp;
                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                
                                                                                                                                                                                                                                def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                	tmp = 0
                                                                                                                                                                                                                                	if (x <= -31.5) or not (x <= 7800000000000.0):
                                                                                                                                                                                                                                		tmp = i * ((j * x) * y1)
                                                                                                                                                                                                                                	else:
                                                                                                                                                                                                                                		tmp = i * ((k * y) * y5)
                                                                                                                                                                                                                                	return tmp
                                                                                                                                                                                                                                
                                                                                                                                                                                                                                function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                	tmp = 0.0
                                                                                                                                                                                                                                	if ((x <= -31.5) || !(x <= 7800000000000.0))
                                                                                                                                                                                                                                		tmp = Float64(i * Float64(Float64(j * x) * y1));
                                                                                                                                                                                                                                	else
                                                                                                                                                                                                                                		tmp = Float64(i * Float64(Float64(k * y) * y5));
                                                                                                                                                                                                                                	end
                                                                                                                                                                                                                                	return tmp
                                                                                                                                                                                                                                end
                                                                                                                                                                                                                                
                                                                                                                                                                                                                                function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                	tmp = 0.0;
                                                                                                                                                                                                                                	if ((x <= -31.5) || ~((x <= 7800000000000.0)))
                                                                                                                                                                                                                                		tmp = i * ((j * x) * y1);
                                                                                                                                                                                                                                	else
                                                                                                                                                                                                                                		tmp = i * ((k * y) * y5);
                                                                                                                                                                                                                                	end
                                                                                                                                                                                                                                	tmp_2 = tmp;
                                                                                                                                                                                                                                end
                                                                                                                                                                                                                                
                                                                                                                                                                                                                                code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[Or[LessEqual[x, -31.5], N[Not[LessEqual[x, 7800000000000.0]], $MachinePrecision]], N[(i * N[(N[(j * x), $MachinePrecision] * y1), $MachinePrecision]), $MachinePrecision], N[(i * N[(N[(k * y), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision]]
                                                                                                                                                                                                                                
                                                                                                                                                                                                                                \begin{array}{l}
                                                                                                                                                                                                                                
                                                                                                                                                                                                                                \\
                                                                                                                                                                                                                                \begin{array}{l}
                                                                                                                                                                                                                                \mathbf{if}\;x \leq -31.5 \lor \neg \left(x \leq 7800000000000\right):\\
                                                                                                                                                                                                                                \;\;\;\;i \cdot \left(\left(j \cdot x\right) \cdot y1\right)\\
                                                                                                                                                                                                                                
                                                                                                                                                                                                                                \mathbf{else}:\\
                                                                                                                                                                                                                                \;\;\;\;i \cdot \left(\left(k \cdot y\right) \cdot y5\right)\\
                                                                                                                                                                                                                                
                                                                                                                                                                                                                                
                                                                                                                                                                                                                                \end{array}
                                                                                                                                                                                                                                \end{array}
                                                                                                                                                                                                                                
                                                                                                                                                                                                                                Derivation
                                                                                                                                                                                                                                1. Split input into 2 regimes
                                                                                                                                                                                                                                2. if x < -31.5 or 7.8e12 < x

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

                                                                                                                                                                                                                                    \[\leadsto \color{blue}{i \cdot \left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
                                                                                                                                                                                                                                  4. Step-by-step derivation
                                                                                                                                                                                                                                    1. *-commutativeN/A

                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot i} \]
                                                                                                                                                                                                                                    2. lower-*.f64N/A

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

                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y \cdot x - t \cdot z\right), c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i} \]
                                                                                                                                                                                                                                  6. Taylor expanded in j around inf

                                                                                                                                                                                                                                    \[\leadsto i \cdot \color{blue}{\left(j \cdot \left(-1 \cdot \left(t \cdot y5\right) + x \cdot y1\right)\right)} \]
                                                                                                                                                                                                                                  7. Step-by-step derivation
                                                                                                                                                                                                                                    1. Applied rewrites36.3%

                                                                                                                                                                                                                                      \[\leadsto i \cdot \color{blue}{\left(j \cdot \mathsf{fma}\left(-t, y5, x \cdot y1\right)\right)} \]
                                                                                                                                                                                                                                    2. Taylor expanded in x around inf

                                                                                                                                                                                                                                      \[\leadsto i \cdot \left(j \cdot \left(x \cdot \color{blue}{y1}\right)\right) \]
                                                                                                                                                                                                                                    3. Step-by-step derivation
                                                                                                                                                                                                                                      1. Applied rewrites32.3%

                                                                                                                                                                                                                                        \[\leadsto i \cdot \left(\left(j \cdot x\right) \cdot y1\right) \]

                                                                                                                                                                                                                                      if -31.5 < x < 7.8e12

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

                                                                                                                                                                                                                                        \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                                                                                                                      4. Step-by-step derivation
                                                                                                                                                                                                                                        1. *-commutativeN/A

                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot k} \]
                                                                                                                                                                                                                                        2. lower-*.f64N/A

                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot k} \]
                                                                                                                                                                                                                                      5. Applied rewrites40.0%

                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), y, \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, y2, \left(y0 \cdot b - y1 \cdot i\right) \cdot z\right)\right) \cdot k} \]
                                                                                                                                                                                                                                      6. Taylor expanded in y5 around inf

                                                                                                                                                                                                                                        \[\leadsto k \cdot \color{blue}{\left(y5 \cdot \left(-1 \cdot \left(y0 \cdot y2\right) + i \cdot y\right)\right)} \]
                                                                                                                                                                                                                                      7. Step-by-step derivation
                                                                                                                                                                                                                                        1. Applied rewrites27.6%

                                                                                                                                                                                                                                          \[\leadsto \left(k \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(-y0, y2, i \cdot y\right)} \]
                                                                                                                                                                                                                                        2. Taylor expanded in y around inf

                                                                                                                                                                                                                                          \[\leadsto i \cdot \left(k \cdot \color{blue}{\left(y \cdot y5\right)}\right) \]
                                                                                                                                                                                                                                        3. Step-by-step derivation
                                                                                                                                                                                                                                          1. Applied rewrites21.4%

                                                                                                                                                                                                                                            \[\leadsto i \cdot \left(\left(k \cdot y\right) \cdot \color{blue}{y5}\right) \]
                                                                                                                                                                                                                                        4. Recombined 2 regimes into one program.
                                                                                                                                                                                                                                        5. Final simplification26.9%

                                                                                                                                                                                                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -31.5 \lor \neg \left(x \leq 7800000000000\right):\\ \;\;\;\;i \cdot \left(\left(j \cdot x\right) \cdot y1\right)\\ \mathbf{else}:\\ \;\;\;\;i \cdot \left(\left(k \cdot y\right) \cdot y5\right)\\ \end{array} \]
                                                                                                                                                                                                                                        6. Add Preprocessing

                                                                                                                                                                                                                                        Alternative 24: 21.3% accurate, 7.2× speedup?

                                                                                                                                                                                                                                        \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y \leq -3.55 \cdot 10^{+78}:\\ \;\;\;\;\left(y \cdot y3\right) \cdot \left(c \cdot y4\right)\\ \mathbf{elif}\;y \leq 2.4 \cdot 10^{+44}:\\ \;\;\;\;i \cdot \left(\left(j \cdot x\right) \cdot y1\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(\left(y \cdot y3\right) \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
                                                                                                                                                                                                                                         (if (<= y -3.55e+78)
                                                                                                                                                                                                                                           (* (* y y3) (* c y4))
                                                                                                                                                                                                                                           (if (<= y 2.4e+44) (* i (* (* j x) y1)) (* c (* (* y y3) y4)))))
                                                                                                                                                                                                                                        double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                        	double tmp;
                                                                                                                                                                                                                                        	if (y <= -3.55e+78) {
                                                                                                                                                                                                                                        		tmp = (y * y3) * (c * y4);
                                                                                                                                                                                                                                        	} else if (y <= 2.4e+44) {
                                                                                                                                                                                                                                        		tmp = i * ((j * x) * y1);
                                                                                                                                                                                                                                        	} else {
                                                                                                                                                                                                                                        		tmp = c * ((y * y3) * y4);
                                                                                                                                                                                                                                        	}
                                                                                                                                                                                                                                        	return tmp;
                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                        real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                            real(8), intent (in) :: x
                                                                                                                                                                                                                                            real(8), intent (in) :: y
                                                                                                                                                                                                                                            real(8), intent (in) :: z
                                                                                                                                                                                                                                            real(8), intent (in) :: t
                                                                                                                                                                                                                                            real(8), intent (in) :: a
                                                                                                                                                                                                                                            real(8), intent (in) :: b
                                                                                                                                                                                                                                            real(8), intent (in) :: c
                                                                                                                                                                                                                                            real(8), intent (in) :: i
                                                                                                                                                                                                                                            real(8), intent (in) :: j
                                                                                                                                                                                                                                            real(8), intent (in) :: k
                                                                                                                                                                                                                                            real(8), intent (in) :: y0
                                                                                                                                                                                                                                            real(8), intent (in) :: y1
                                                                                                                                                                                                                                            real(8), intent (in) :: y2
                                                                                                                                                                                                                                            real(8), intent (in) :: y3
                                                                                                                                                                                                                                            real(8), intent (in) :: y4
                                                                                                                                                                                                                                            real(8), intent (in) :: y5
                                                                                                                                                                                                                                            real(8) :: tmp
                                                                                                                                                                                                                                            if (y <= (-3.55d+78)) then
                                                                                                                                                                                                                                                tmp = (y * y3) * (c * y4)
                                                                                                                                                                                                                                            else if (y <= 2.4d+44) then
                                                                                                                                                                                                                                                tmp = i * ((j * x) * y1)
                                                                                                                                                                                                                                            else
                                                                                                                                                                                                                                                tmp = c * ((y * y3) * y4)
                                                                                                                                                                                                                                            end if
                                                                                                                                                                                                                                            code = tmp
                                                                                                                                                                                                                                        end function
                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                        public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                        	double tmp;
                                                                                                                                                                                                                                        	if (y <= -3.55e+78) {
                                                                                                                                                                                                                                        		tmp = (y * y3) * (c * y4);
                                                                                                                                                                                                                                        	} else if (y <= 2.4e+44) {
                                                                                                                                                                                                                                        		tmp = i * ((j * x) * y1);
                                                                                                                                                                                                                                        	} else {
                                                                                                                                                                                                                                        		tmp = c * ((y * y3) * y4);
                                                                                                                                                                                                                                        	}
                                                                                                                                                                                                                                        	return tmp;
                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                        def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                        	tmp = 0
                                                                                                                                                                                                                                        	if y <= -3.55e+78:
                                                                                                                                                                                                                                        		tmp = (y * y3) * (c * y4)
                                                                                                                                                                                                                                        	elif y <= 2.4e+44:
                                                                                                                                                                                                                                        		tmp = i * ((j * x) * y1)
                                                                                                                                                                                                                                        	else:
                                                                                                                                                                                                                                        		tmp = c * ((y * y3) * y4)
                                                                                                                                                                                                                                        	return tmp
                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                        function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                        	tmp = 0.0
                                                                                                                                                                                                                                        	if (y <= -3.55e+78)
                                                                                                                                                                                                                                        		tmp = Float64(Float64(y * y3) * Float64(c * y4));
                                                                                                                                                                                                                                        	elseif (y <= 2.4e+44)
                                                                                                                                                                                                                                        		tmp = Float64(i * Float64(Float64(j * x) * y1));
                                                                                                                                                                                                                                        	else
                                                                                                                                                                                                                                        		tmp = Float64(c * Float64(Float64(y * y3) * y4));
                                                                                                                                                                                                                                        	end
                                                                                                                                                                                                                                        	return tmp
                                                                                                                                                                                                                                        end
                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                        function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                        	tmp = 0.0;
                                                                                                                                                                                                                                        	if (y <= -3.55e+78)
                                                                                                                                                                                                                                        		tmp = (y * y3) * (c * y4);
                                                                                                                                                                                                                                        	elseif (y <= 2.4e+44)
                                                                                                                                                                                                                                        		tmp = i * ((j * x) * y1);
                                                                                                                                                                                                                                        	else
                                                                                                                                                                                                                                        		tmp = c * ((y * y3) * y4);
                                                                                                                                                                                                                                        	end
                                                                                                                                                                                                                                        	tmp_2 = tmp;
                                                                                                                                                                                                                                        end
                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                        code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -3.55e+78], N[(N[(y * y3), $MachinePrecision] * N[(c * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2.4e+44], N[(i * N[(N[(j * x), $MachinePrecision] * y1), $MachinePrecision]), $MachinePrecision], N[(c * N[(N[(y * y3), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision]]]
                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                        \begin{array}{l}
                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                        \\
                                                                                                                                                                                                                                        \begin{array}{l}
                                                                                                                                                                                                                                        \mathbf{if}\;y \leq -3.55 \cdot 10^{+78}:\\
                                                                                                                                                                                                                                        \;\;\;\;\left(y \cdot y3\right) \cdot \left(c \cdot y4\right)\\
                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                        \mathbf{elif}\;y \leq 2.4 \cdot 10^{+44}:\\
                                                                                                                                                                                                                                        \;\;\;\;i \cdot \left(\left(j \cdot x\right) \cdot y1\right)\\
                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                        \mathbf{else}:\\
                                                                                                                                                                                                                                        \;\;\;\;c \cdot \left(\left(y \cdot y3\right) \cdot y4\right)\\
                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                        \end{array}
                                                                                                                                                                                                                                        \end{array}
                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                        Derivation
                                                                                                                                                                                                                                        1. Split input into 3 regimes
                                                                                                                                                                                                                                        2. if y < -3.54999999999999996e78

                                                                                                                                                                                                                                          1. Initial program 20.7%

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

                                                                                                                                                                                                                                            \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                          4. Step-by-step derivation
                                                                                                                                                                                                                                            1. *-commutativeN/A

                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                                                                                                            2. lower-*.f64N/A

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

                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot y1 - y5 \cdot y0\right), j, \mathsf{fma}\left(-z, y0 \cdot c - y1 \cdot a, \left(y4 \cdot c - y5 \cdot a\right) \cdot y\right)\right) \cdot y3} \]
                                                                                                                                                                                                                                          6. Taylor expanded in y around inf

                                                                                                                                                                                                                                            \[\leadsto y \cdot \color{blue}{\left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                          7. Step-by-step derivation
                                                                                                                                                                                                                                            1. Applied rewrites45.3%

                                                                                                                                                                                                                                              \[\leadsto \left(y \cdot y3\right) \cdot \color{blue}{\mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)} \]
                                                                                                                                                                                                                                            2. Taylor expanded in a around 0

                                                                                                                                                                                                                                              \[\leadsto \left(y \cdot y3\right) \cdot \left(c \cdot y4\right) \]
                                                                                                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                                                                                                              1. Applied rewrites38.1%

                                                                                                                                                                                                                                                \[\leadsto \left(y \cdot y3\right) \cdot \left(c \cdot y4\right) \]

                                                                                                                                                                                                                                              if -3.54999999999999996e78 < y < 2.40000000000000013e44

                                                                                                                                                                                                                                              1. Initial program 29.8%

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

                                                                                                                                                                                                                                                \[\leadsto \color{blue}{i \cdot \left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
                                                                                                                                                                                                                                              4. Step-by-step derivation
                                                                                                                                                                                                                                                1. *-commutativeN/A

                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot i} \]
                                                                                                                                                                                                                                                2. lower-*.f64N/A

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

                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y \cdot x - t \cdot z\right), c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i} \]
                                                                                                                                                                                                                                              6. Taylor expanded in j around inf

                                                                                                                                                                                                                                                \[\leadsto i \cdot \color{blue}{\left(j \cdot \left(-1 \cdot \left(t \cdot y5\right) + x \cdot y1\right)\right)} \]
                                                                                                                                                                                                                                              7. Step-by-step derivation
                                                                                                                                                                                                                                                1. Applied rewrites29.6%

                                                                                                                                                                                                                                                  \[\leadsto i \cdot \color{blue}{\left(j \cdot \mathsf{fma}\left(-t, y5, x \cdot y1\right)\right)} \]
                                                                                                                                                                                                                                                2. Taylor expanded in x around inf

                                                                                                                                                                                                                                                  \[\leadsto i \cdot \left(j \cdot \left(x \cdot \color{blue}{y1}\right)\right) \]
                                                                                                                                                                                                                                                3. Step-by-step derivation
                                                                                                                                                                                                                                                  1. Applied rewrites22.7%

                                                                                                                                                                                                                                                    \[\leadsto i \cdot \left(\left(j \cdot x\right) \cdot y1\right) \]

                                                                                                                                                                                                                                                  if 2.40000000000000013e44 < y

                                                                                                                                                                                                                                                  1. Initial program 19.7%

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

                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                  4. Step-by-step derivation
                                                                                                                                                                                                                                                    1. *-commutativeN/A

                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                                                                                                                    2. lower-*.f64N/A

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

                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot y1 - y5 \cdot y0\right), j, \mathsf{fma}\left(-z, y0 \cdot c - y1 \cdot a, \left(y4 \cdot c - y5 \cdot a\right) \cdot y\right)\right) \cdot y3} \]
                                                                                                                                                                                                                                                  6. Taylor expanded in y around inf

                                                                                                                                                                                                                                                    \[\leadsto y \cdot \color{blue}{\left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                  7. Step-by-step derivation
                                                                                                                                                                                                                                                    1. Applied rewrites38.6%

                                                                                                                                                                                                                                                      \[\leadsto \left(y \cdot y3\right) \cdot \color{blue}{\mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)} \]
                                                                                                                                                                                                                                                    2. Taylor expanded in a around 0

                                                                                                                                                                                                                                                      \[\leadsto c \cdot \left(y \cdot \color{blue}{\left(y3 \cdot y4\right)}\right) \]
                                                                                                                                                                                                                                                    3. Step-by-step derivation
                                                                                                                                                                                                                                                      1. Applied rewrites35.5%

                                                                                                                                                                                                                                                        \[\leadsto c \cdot \left(\left(y \cdot y3\right) \cdot \color{blue}{y4}\right) \]
                                                                                                                                                                                                                                                    4. Recombined 3 regimes into one program.
                                                                                                                                                                                                                                                    5. Add Preprocessing

                                                                                                                                                                                                                                                    Alternative 25: 21.2% accurate, 7.2× speedup?

                                                                                                                                                                                                                                                    \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y \leq -1.45 \cdot 10^{+81}:\\ \;\;\;\;\left(k \cdot y5\right) \cdot \left(i \cdot y\right)\\ \mathbf{elif}\;y \leq 2.4 \cdot 10^{+44}:\\ \;\;\;\;i \cdot \left(\left(j \cdot x\right) \cdot y1\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(\left(y \cdot y3\right) \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
                                                                                                                                                                                                                                                     (if (<= y -1.45e+81)
                                                                                                                                                                                                                                                       (* (* k y5) (* i y))
                                                                                                                                                                                                                                                       (if (<= y 2.4e+44) (* i (* (* j x) y1)) (* c (* (* y y3) y4)))))
                                                                                                                                                                                                                                                    double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                    	double tmp;
                                                                                                                                                                                                                                                    	if (y <= -1.45e+81) {
                                                                                                                                                                                                                                                    		tmp = (k * y5) * (i * y);
                                                                                                                                                                                                                                                    	} else if (y <= 2.4e+44) {
                                                                                                                                                                                                                                                    		tmp = i * ((j * x) * y1);
                                                                                                                                                                                                                                                    	} else {
                                                                                                                                                                                                                                                    		tmp = c * ((y * y3) * y4);
                                                                                                                                                                                                                                                    	}
                                                                                                                                                                                                                                                    	return tmp;
                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                    real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                        real(8), intent (in) :: x
                                                                                                                                                                                                                                                        real(8), intent (in) :: y
                                                                                                                                                                                                                                                        real(8), intent (in) :: z
                                                                                                                                                                                                                                                        real(8), intent (in) :: t
                                                                                                                                                                                                                                                        real(8), intent (in) :: a
                                                                                                                                                                                                                                                        real(8), intent (in) :: b
                                                                                                                                                                                                                                                        real(8), intent (in) :: c
                                                                                                                                                                                                                                                        real(8), intent (in) :: i
                                                                                                                                                                                                                                                        real(8), intent (in) :: j
                                                                                                                                                                                                                                                        real(8), intent (in) :: k
                                                                                                                                                                                                                                                        real(8), intent (in) :: y0
                                                                                                                                                                                                                                                        real(8), intent (in) :: y1
                                                                                                                                                                                                                                                        real(8), intent (in) :: y2
                                                                                                                                                                                                                                                        real(8), intent (in) :: y3
                                                                                                                                                                                                                                                        real(8), intent (in) :: y4
                                                                                                                                                                                                                                                        real(8), intent (in) :: y5
                                                                                                                                                                                                                                                        real(8) :: tmp
                                                                                                                                                                                                                                                        if (y <= (-1.45d+81)) then
                                                                                                                                                                                                                                                            tmp = (k * y5) * (i * y)
                                                                                                                                                                                                                                                        else if (y <= 2.4d+44) then
                                                                                                                                                                                                                                                            tmp = i * ((j * x) * y1)
                                                                                                                                                                                                                                                        else
                                                                                                                                                                                                                                                            tmp = c * ((y * y3) * y4)
                                                                                                                                                                                                                                                        end if
                                                                                                                                                                                                                                                        code = tmp
                                                                                                                                                                                                                                                    end function
                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                    public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                    	double tmp;
                                                                                                                                                                                                                                                    	if (y <= -1.45e+81) {
                                                                                                                                                                                                                                                    		tmp = (k * y5) * (i * y);
                                                                                                                                                                                                                                                    	} else if (y <= 2.4e+44) {
                                                                                                                                                                                                                                                    		tmp = i * ((j * x) * y1);
                                                                                                                                                                                                                                                    	} else {
                                                                                                                                                                                                                                                    		tmp = c * ((y * y3) * y4);
                                                                                                                                                                                                                                                    	}
                                                                                                                                                                                                                                                    	return tmp;
                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                    def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                    	tmp = 0
                                                                                                                                                                                                                                                    	if y <= -1.45e+81:
                                                                                                                                                                                                                                                    		tmp = (k * y5) * (i * y)
                                                                                                                                                                                                                                                    	elif y <= 2.4e+44:
                                                                                                                                                                                                                                                    		tmp = i * ((j * x) * y1)
                                                                                                                                                                                                                                                    	else:
                                                                                                                                                                                                                                                    		tmp = c * ((y * y3) * y4)
                                                                                                                                                                                                                                                    	return tmp
                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                    function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                    	tmp = 0.0
                                                                                                                                                                                                                                                    	if (y <= -1.45e+81)
                                                                                                                                                                                                                                                    		tmp = Float64(Float64(k * y5) * Float64(i * y));
                                                                                                                                                                                                                                                    	elseif (y <= 2.4e+44)
                                                                                                                                                                                                                                                    		tmp = Float64(i * Float64(Float64(j * x) * y1));
                                                                                                                                                                                                                                                    	else
                                                                                                                                                                                                                                                    		tmp = Float64(c * Float64(Float64(y * y3) * y4));
                                                                                                                                                                                                                                                    	end
                                                                                                                                                                                                                                                    	return tmp
                                                                                                                                                                                                                                                    end
                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                    function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                    	tmp = 0.0;
                                                                                                                                                                                                                                                    	if (y <= -1.45e+81)
                                                                                                                                                                                                                                                    		tmp = (k * y5) * (i * y);
                                                                                                                                                                                                                                                    	elseif (y <= 2.4e+44)
                                                                                                                                                                                                                                                    		tmp = i * ((j * x) * y1);
                                                                                                                                                                                                                                                    	else
                                                                                                                                                                                                                                                    		tmp = c * ((y * y3) * y4);
                                                                                                                                                                                                                                                    	end
                                                                                                                                                                                                                                                    	tmp_2 = tmp;
                                                                                                                                                                                                                                                    end
                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                    code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -1.45e+81], N[(N[(k * y5), $MachinePrecision] * N[(i * y), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2.4e+44], N[(i * N[(N[(j * x), $MachinePrecision] * y1), $MachinePrecision]), $MachinePrecision], N[(c * N[(N[(y * y3), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision]]]
                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                    \begin{array}{l}
                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                    \\
                                                                                                                                                                                                                                                    \begin{array}{l}
                                                                                                                                                                                                                                                    \mathbf{if}\;y \leq -1.45 \cdot 10^{+81}:\\
                                                                                                                                                                                                                                                    \;\;\;\;\left(k \cdot y5\right) \cdot \left(i \cdot y\right)\\
                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                    \mathbf{elif}\;y \leq 2.4 \cdot 10^{+44}:\\
                                                                                                                                                                                                                                                    \;\;\;\;i \cdot \left(\left(j \cdot x\right) \cdot y1\right)\\
                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                    \mathbf{else}:\\
                                                                                                                                                                                                                                                    \;\;\;\;c \cdot \left(\left(y \cdot y3\right) \cdot y4\right)\\
                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                    \end{array}
                                                                                                                                                                                                                                                    \end{array}
                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                    Derivation
                                                                                                                                                                                                                                                    1. Split input into 3 regimes
                                                                                                                                                                                                                                                    2. if y < -1.45e81

                                                                                                                                                                                                                                                      1. Initial program 21.0%

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

                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                                                                                                                                      4. Step-by-step derivation
                                                                                                                                                                                                                                                        1. *-commutativeN/A

                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot k} \]
                                                                                                                                                                                                                                                        2. lower-*.f64N/A

                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot k} \]
                                                                                                                                                                                                                                                      5. Applied rewrites39.9%

                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), y, \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, y2, \left(y0 \cdot b - y1 \cdot i\right) \cdot z\right)\right) \cdot k} \]
                                                                                                                                                                                                                                                      6. Taylor expanded in y5 around inf

                                                                                                                                                                                                                                                        \[\leadsto k \cdot \color{blue}{\left(y5 \cdot \left(-1 \cdot \left(y0 \cdot y2\right) + i \cdot y\right)\right)} \]
                                                                                                                                                                                                                                                      7. Step-by-step derivation
                                                                                                                                                                                                                                                        1. Applied rewrites42.2%

                                                                                                                                                                                                                                                          \[\leadsto \left(k \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(-y0, y2, i \cdot y\right)} \]
                                                                                                                                                                                                                                                        2. Taylor expanded in y around inf

                                                                                                                                                                                                                                                          \[\leadsto \left(k \cdot y5\right) \cdot \left(i \cdot y\right) \]
                                                                                                                                                                                                                                                        3. Step-by-step derivation
                                                                                                                                                                                                                                                          1. Applied rewrites36.4%

                                                                                                                                                                                                                                                            \[\leadsto \left(k \cdot y5\right) \cdot \left(i \cdot y\right) \]

                                                                                                                                                                                                                                                          if -1.45e81 < y < 2.40000000000000013e44

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

                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{i \cdot \left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
                                                                                                                                                                                                                                                          4. Step-by-step derivation
                                                                                                                                                                                                                                                            1. *-commutativeN/A

                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot i} \]
                                                                                                                                                                                                                                                            2. lower-*.f64N/A

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

                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y \cdot x - t \cdot z\right), c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i} \]
                                                                                                                                                                                                                                                          6. Taylor expanded in j around inf

                                                                                                                                                                                                                                                            \[\leadsto i \cdot \color{blue}{\left(j \cdot \left(-1 \cdot \left(t \cdot y5\right) + x \cdot y1\right)\right)} \]
                                                                                                                                                                                                                                                          7. Step-by-step derivation
                                                                                                                                                                                                                                                            1. Applied rewrites30.1%

                                                                                                                                                                                                                                                              \[\leadsto i \cdot \color{blue}{\left(j \cdot \mathsf{fma}\left(-t, y5, x \cdot y1\right)\right)} \]
                                                                                                                                                                                                                                                            2. Taylor expanded in x around inf

                                                                                                                                                                                                                                                              \[\leadsto i \cdot \left(j \cdot \left(x \cdot \color{blue}{y1}\right)\right) \]
                                                                                                                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                                                                                                                              1. Applied rewrites22.6%

                                                                                                                                                                                                                                                                \[\leadsto i \cdot \left(\left(j \cdot x\right) \cdot y1\right) \]

                                                                                                                                                                                                                                                              if 2.40000000000000013e44 < y

                                                                                                                                                                                                                                                              1. Initial program 19.7%

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

                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{y3 \cdot \left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                              4. Step-by-step derivation
                                                                                                                                                                                                                                                                1. *-commutativeN/A

                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + -1 \cdot \left(z \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y3} \]
                                                                                                                                                                                                                                                                2. lower-*.f64N/A

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

                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot y1 - y5 \cdot y0\right), j, \mathsf{fma}\left(-z, y0 \cdot c - y1 \cdot a, \left(y4 \cdot c - y5 \cdot a\right) \cdot y\right)\right) \cdot y3} \]
                                                                                                                                                                                                                                                              6. Taylor expanded in y around inf

                                                                                                                                                                                                                                                                \[\leadsto y \cdot \color{blue}{\left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                              7. Step-by-step derivation
                                                                                                                                                                                                                                                                1. Applied rewrites38.6%

                                                                                                                                                                                                                                                                  \[\leadsto \left(y \cdot y3\right) \cdot \color{blue}{\mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)} \]
                                                                                                                                                                                                                                                                2. Taylor expanded in a around 0

                                                                                                                                                                                                                                                                  \[\leadsto c \cdot \left(y \cdot \color{blue}{\left(y3 \cdot y4\right)}\right) \]
                                                                                                                                                                                                                                                                3. Step-by-step derivation
                                                                                                                                                                                                                                                                  1. Applied rewrites35.5%

                                                                                                                                                                                                                                                                    \[\leadsto c \cdot \left(\left(y \cdot y3\right) \cdot \color{blue}{y4}\right) \]
                                                                                                                                                                                                                                                                4. Recombined 3 regimes into one program.
                                                                                                                                                                                                                                                                5. Add Preprocessing

                                                                                                                                                                                                                                                                Alternative 26: 21.9% accurate, 7.2× speedup?

                                                                                                                                                                                                                                                                \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y \leq -1.45 \cdot 10^{+81}:\\ \;\;\;\;\left(k \cdot y5\right) \cdot \left(i \cdot y\right)\\ \mathbf{elif}\;y \leq 1.42 \cdot 10^{+26}:\\ \;\;\;\;i \cdot \left(\left(j \cdot x\right) \cdot y1\right)\\ \mathbf{else}:\\ \;\;\;\;i \cdot \left(\left(k \cdot y\right) \cdot y5\right)\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                                                (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                 :precision binary64
                                                                                                                                                                                                                                                                 (if (<= y -1.45e+81)
                                                                                                                                                                                                                                                                   (* (* k y5) (* i y))
                                                                                                                                                                                                                                                                   (if (<= y 1.42e+26) (* i (* (* j x) y1)) (* i (* (* k y) y5)))))
                                                                                                                                                                                                                                                                double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                	double tmp;
                                                                                                                                                                                                                                                                	if (y <= -1.45e+81) {
                                                                                                                                                                                                                                                                		tmp = (k * y5) * (i * y);
                                                                                                                                                                                                                                                                	} else if (y <= 1.42e+26) {
                                                                                                                                                                                                                                                                		tmp = i * ((j * x) * y1);
                                                                                                                                                                                                                                                                	} else {
                                                                                                                                                                                                                                                                		tmp = i * ((k * y) * y5);
                                                                                                                                                                                                                                                                	}
                                                                                                                                                                                                                                                                	return tmp;
                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                    real(8), intent (in) :: x
                                                                                                                                                                                                                                                                    real(8), intent (in) :: y
                                                                                                                                                                                                                                                                    real(8), intent (in) :: z
                                                                                                                                                                                                                                                                    real(8), intent (in) :: t
                                                                                                                                                                                                                                                                    real(8), intent (in) :: a
                                                                                                                                                                                                                                                                    real(8), intent (in) :: b
                                                                                                                                                                                                                                                                    real(8), intent (in) :: c
                                                                                                                                                                                                                                                                    real(8), intent (in) :: i
                                                                                                                                                                                                                                                                    real(8), intent (in) :: j
                                                                                                                                                                                                                                                                    real(8), intent (in) :: k
                                                                                                                                                                                                                                                                    real(8), intent (in) :: y0
                                                                                                                                                                                                                                                                    real(8), intent (in) :: y1
                                                                                                                                                                                                                                                                    real(8), intent (in) :: y2
                                                                                                                                                                                                                                                                    real(8), intent (in) :: y3
                                                                                                                                                                                                                                                                    real(8), intent (in) :: y4
                                                                                                                                                                                                                                                                    real(8), intent (in) :: y5
                                                                                                                                                                                                                                                                    real(8) :: tmp
                                                                                                                                                                                                                                                                    if (y <= (-1.45d+81)) then
                                                                                                                                                                                                                                                                        tmp = (k * y5) * (i * y)
                                                                                                                                                                                                                                                                    else if (y <= 1.42d+26) then
                                                                                                                                                                                                                                                                        tmp = i * ((j * x) * y1)
                                                                                                                                                                                                                                                                    else
                                                                                                                                                                                                                                                                        tmp = i * ((k * y) * y5)
                                                                                                                                                                                                                                                                    end if
                                                                                                                                                                                                                                                                    code = tmp
                                                                                                                                                                                                                                                                end function
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                	double tmp;
                                                                                                                                                                                                                                                                	if (y <= -1.45e+81) {
                                                                                                                                                                                                                                                                		tmp = (k * y5) * (i * y);
                                                                                                                                                                                                                                                                	} else if (y <= 1.42e+26) {
                                                                                                                                                                                                                                                                		tmp = i * ((j * x) * y1);
                                                                                                                                                                                                                                                                	} else {
                                                                                                                                                                                                                                                                		tmp = i * ((k * y) * y5);
                                                                                                                                                                                                                                                                	}
                                                                                                                                                                                                                                                                	return tmp;
                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                                	tmp = 0
                                                                                                                                                                                                                                                                	if y <= -1.45e+81:
                                                                                                                                                                                                                                                                		tmp = (k * y5) * (i * y)
                                                                                                                                                                                                                                                                	elif y <= 1.42e+26:
                                                                                                                                                                                                                                                                		tmp = i * ((j * x) * y1)
                                                                                                                                                                                                                                                                	else:
                                                                                                                                                                                                                                                                		tmp = i * ((k * y) * y5)
                                                                                                                                                                                                                                                                	return tmp
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                	tmp = 0.0
                                                                                                                                                                                                                                                                	if (y <= -1.45e+81)
                                                                                                                                                                                                                                                                		tmp = Float64(Float64(k * y5) * Float64(i * y));
                                                                                                                                                                                                                                                                	elseif (y <= 1.42e+26)
                                                                                                                                                                                                                                                                		tmp = Float64(i * Float64(Float64(j * x) * y1));
                                                                                                                                                                                                                                                                	else
                                                                                                                                                                                                                                                                		tmp = Float64(i * Float64(Float64(k * y) * y5));
                                                                                                                                                                                                                                                                	end
                                                                                                                                                                                                                                                                	return tmp
                                                                                                                                                                                                                                                                end
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                	tmp = 0.0;
                                                                                                                                                                                                                                                                	if (y <= -1.45e+81)
                                                                                                                                                                                                                                                                		tmp = (k * y5) * (i * y);
                                                                                                                                                                                                                                                                	elseif (y <= 1.42e+26)
                                                                                                                                                                                                                                                                		tmp = i * ((j * x) * y1);
                                                                                                                                                                                                                                                                	else
                                                                                                                                                                                                                                                                		tmp = i * ((k * y) * y5);
                                                                                                                                                                                                                                                                	end
                                                                                                                                                                                                                                                                	tmp_2 = tmp;
                                                                                                                                                                                                                                                                end
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -1.45e+81], N[(N[(k * y5), $MachinePrecision] * N[(i * y), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.42e+26], N[(i * N[(N[(j * x), $MachinePrecision] * y1), $MachinePrecision]), $MachinePrecision], N[(i * N[(N[(k * y), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision]]]
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                \begin{array}{l}
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                \\
                                                                                                                                                                                                                                                                \begin{array}{l}
                                                                                                                                                                                                                                                                \mathbf{if}\;y \leq -1.45 \cdot 10^{+81}:\\
                                                                                                                                                                                                                                                                \;\;\;\;\left(k \cdot y5\right) \cdot \left(i \cdot y\right)\\
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                \mathbf{elif}\;y \leq 1.42 \cdot 10^{+26}:\\
                                                                                                                                                                                                                                                                \;\;\;\;i \cdot \left(\left(j \cdot x\right) \cdot y1\right)\\
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                \mathbf{else}:\\
                                                                                                                                                                                                                                                                \;\;\;\;i \cdot \left(\left(k \cdot y\right) \cdot y5\right)\\
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                \end{array}
                                                                                                                                                                                                                                                                \end{array}
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                Derivation
                                                                                                                                                                                                                                                                1. Split input into 3 regimes
                                                                                                                                                                                                                                                                2. if y < -1.45e81

                                                                                                                                                                                                                                                                  1. Initial program 21.0%

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

                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                                                                                                                                                  4. Step-by-step derivation
                                                                                                                                                                                                                                                                    1. *-commutativeN/A

                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot k} \]
                                                                                                                                                                                                                                                                    2. lower-*.f64N/A

                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot k} \]
                                                                                                                                                                                                                                                                  5. Applied rewrites39.9%

                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), y, \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, y2, \left(y0 \cdot b - y1 \cdot i\right) \cdot z\right)\right) \cdot k} \]
                                                                                                                                                                                                                                                                  6. Taylor expanded in y5 around inf

                                                                                                                                                                                                                                                                    \[\leadsto k \cdot \color{blue}{\left(y5 \cdot \left(-1 \cdot \left(y0 \cdot y2\right) + i \cdot y\right)\right)} \]
                                                                                                                                                                                                                                                                  7. Step-by-step derivation
                                                                                                                                                                                                                                                                    1. Applied rewrites42.2%

                                                                                                                                                                                                                                                                      \[\leadsto \left(k \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(-y0, y2, i \cdot y\right)} \]
                                                                                                                                                                                                                                                                    2. Taylor expanded in y around inf

                                                                                                                                                                                                                                                                      \[\leadsto \left(k \cdot y5\right) \cdot \left(i \cdot y\right) \]
                                                                                                                                                                                                                                                                    3. Step-by-step derivation
                                                                                                                                                                                                                                                                      1. Applied rewrites36.4%

                                                                                                                                                                                                                                                                        \[\leadsto \left(k \cdot y5\right) \cdot \left(i \cdot y\right) \]

                                                                                                                                                                                                                                                                      if -1.45e81 < y < 1.42e26

                                                                                                                                                                                                                                                                      1. Initial program 29.9%

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

                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{i \cdot \left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
                                                                                                                                                                                                                                                                      4. Step-by-step derivation
                                                                                                                                                                                                                                                                        1. *-commutativeN/A

                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot i} \]
                                                                                                                                                                                                                                                                        2. lower-*.f64N/A

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

                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y \cdot x - t \cdot z\right), c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i} \]
                                                                                                                                                                                                                                                                      6. Taylor expanded in j around inf

                                                                                                                                                                                                                                                                        \[\leadsto i \cdot \color{blue}{\left(j \cdot \left(-1 \cdot \left(t \cdot y5\right) + x \cdot y1\right)\right)} \]
                                                                                                                                                                                                                                                                      7. Step-by-step derivation
                                                                                                                                                                                                                                                                        1. Applied rewrites30.4%

                                                                                                                                                                                                                                                                          \[\leadsto i \cdot \color{blue}{\left(j \cdot \mathsf{fma}\left(-t, y5, x \cdot y1\right)\right)} \]
                                                                                                                                                                                                                                                                        2. Taylor expanded in x around inf

                                                                                                                                                                                                                                                                          \[\leadsto i \cdot \left(j \cdot \left(x \cdot \color{blue}{y1}\right)\right) \]
                                                                                                                                                                                                                                                                        3. Step-by-step derivation
                                                                                                                                                                                                                                                                          1. Applied rewrites22.6%

                                                                                                                                                                                                                                                                            \[\leadsto i \cdot \left(\left(j \cdot x\right) \cdot y1\right) \]

                                                                                                                                                                                                                                                                          if 1.42e26 < y

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

                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                                                                                                                                                          4. Step-by-step derivation
                                                                                                                                                                                                                                                                            1. *-commutativeN/A

                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot k} \]
                                                                                                                                                                                                                                                                            2. lower-*.f64N/A

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

                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), y, \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, y2, \left(y0 \cdot b - y1 \cdot i\right) \cdot z\right)\right) \cdot k} \]
                                                                                                                                                                                                                                                                          6. Taylor expanded in y5 around inf

                                                                                                                                                                                                                                                                            \[\leadsto k \cdot \color{blue}{\left(y5 \cdot \left(-1 \cdot \left(y0 \cdot y2\right) + i \cdot y\right)\right)} \]
                                                                                                                                                                                                                                                                          7. Step-by-step derivation
                                                                                                                                                                                                                                                                            1. Applied rewrites23.8%

                                                                                                                                                                                                                                                                              \[\leadsto \left(k \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(-y0, y2, i \cdot y\right)} \]
                                                                                                                                                                                                                                                                            2. Taylor expanded in y around inf

                                                                                                                                                                                                                                                                              \[\leadsto i \cdot \left(k \cdot \color{blue}{\left(y \cdot y5\right)}\right) \]
                                                                                                                                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                                                                                                                                              1. Applied rewrites28.5%

                                                                                                                                                                                                                                                                                \[\leadsto i \cdot \left(\left(k \cdot y\right) \cdot \color{blue}{y5}\right) \]
                                                                                                                                                                                                                                                                            4. Recombined 3 regimes into one program.
                                                                                                                                                                                                                                                                            5. Add Preprocessing

                                                                                                                                                                                                                                                                            Alternative 27: 16.5% accurate, 12.6× speedup?

                                                                                                                                                                                                                                                                            \[\begin{array}{l} \\ i \cdot \left(\left(j \cdot x\right) \cdot y1\right) \end{array} \]
                                                                                                                                                                                                                                                                            (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                             :precision binary64
                                                                                                                                                                                                                                                                             (* i (* (* j x) y1)))
                                                                                                                                                                                                                                                                            double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                            	return i * ((j * x) * y1);
                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                            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 = i * ((j * x) * y1)
                                                                                                                                                                                                                                                                            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 i * ((j * x) * y1);
                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                            def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                                            	return i * ((j * x) * y1)
                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                            function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                            	return Float64(i * Float64(Float64(j * x) * y1))
                                                                                                                                                                                                                                                                            end
                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                            function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                            	tmp = i * ((j * x) * y1);
                                                                                                                                                                                                                                                                            end
                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                            code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(i * N[(N[(j * x), $MachinePrecision] * y1), $MachinePrecision]), $MachinePrecision]
                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                            \begin{array}{l}
                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                            \\
                                                                                                                                                                                                                                                                            i \cdot \left(\left(j \cdot x\right) \cdot y1\right)
                                                                                                                                                                                                                                                                            \end{array}
                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                            Derivation
                                                                                                                                                                                                                                                                            1. Initial program 25.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

                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{i \cdot \left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right)} \]
                                                                                                                                                                                                                                                                            4. Step-by-step derivation
                                                                                                                                                                                                                                                                              1. *-commutativeN/A

                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot i} \]
                                                                                                                                                                                                                                                                              2. lower-*.f64N/A

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

                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y \cdot x - t \cdot z\right), c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i} \]
                                                                                                                                                                                                                                                                            6. Taylor expanded in j around inf

                                                                                                                                                                                                                                                                              \[\leadsto i \cdot \color{blue}{\left(j \cdot \left(-1 \cdot \left(t \cdot y5\right) + x \cdot y1\right)\right)} \]
                                                                                                                                                                                                                                                                            7. Step-by-step derivation
                                                                                                                                                                                                                                                                              1. Applied rewrites28.2%

                                                                                                                                                                                                                                                                                \[\leadsto i \cdot \color{blue}{\left(j \cdot \mathsf{fma}\left(-t, y5, x \cdot y1\right)\right)} \]
                                                                                                                                                                                                                                                                              2. Taylor expanded in x around inf

                                                                                                                                                                                                                                                                                \[\leadsto i \cdot \left(j \cdot \left(x \cdot \color{blue}{y1}\right)\right) \]
                                                                                                                                                                                                                                                                              3. Step-by-step derivation
                                                                                                                                                                                                                                                                                1. Applied rewrites17.9%

                                                                                                                                                                                                                                                                                  \[\leadsto i \cdot \left(\left(j \cdot x\right) \cdot y1\right) \]
                                                                                                                                                                                                                                                                                2. Add Preprocessing

                                                                                                                                                                                                                                                                                Developer Target 1: 28.0% accurate, 0.7× speedup?

                                                                                                                                                                                                                                                                                \[\begin{array}{l} \\ \begin{array}{l} t_1 := y4 \cdot c - y5 \cdot a\\ t_2 := x \cdot y2 - z \cdot y3\\ t_3 := y2 \cdot t - y3 \cdot y\\ t_4 := k \cdot y2 - j \cdot y3\\ t_5 := y4 \cdot b - y5 \cdot i\\ t_6 := \left(j \cdot t - k \cdot y\right) \cdot t\_5\\ t_7 := b \cdot a - i \cdot c\\ t_8 := t\_7 \cdot \left(y \cdot x - t \cdot z\right)\\ t_9 := j \cdot x - k \cdot z\\ t_10 := \left(b \cdot y0 - i \cdot y1\right) \cdot t\_9\\ t_11 := t\_9 \cdot \left(y0 \cdot b - i \cdot y1\right)\\ t_12 := y4 \cdot y1 - y5 \cdot y0\\ t_13 := t\_4 \cdot t\_12\\ t_14 := \left(y2 \cdot k - y3 \cdot j\right) \cdot t\_12\\ t_15 := \left(\left(\left(\left(k \cdot y\right) \cdot \left(y5 \cdot i\right) - \left(y \cdot b\right) \cdot \left(y4 \cdot k\right)\right) - \left(y5 \cdot t\right) \cdot \left(i \cdot j\right)\right) - \left(t\_3 \cdot t\_1 - t\_14\right)\right) + \left(t\_8 - \left(t\_11 - \left(y2 \cdot x - y3 \cdot z\right) \cdot \left(c \cdot y0 - y1 \cdot a\right)\right)\right)\\ t_16 := \left(\left(t\_6 - \left(y3 \cdot y\right) \cdot \left(y5 \cdot a - y4 \cdot c\right)\right) + \left(\left(y5 \cdot a\right) \cdot \left(t \cdot y2\right) + t\_13\right)\right) + \left(t\_2 \cdot \left(c \cdot y0 - a \cdot y1\right) - \left(t\_10 - \left(y \cdot x - z \cdot t\right) \cdot t\_7\right)\right)\\ t_17 := t \cdot y2 - y \cdot y3\\ \mathbf{if}\;y4 < -7.206256231996481 \cdot 10^{+60}:\\ \;\;\;\;\left(t\_8 - \left(t\_11 - t\_6\right)\right) - \left(\frac{t\_3}{\frac{1}{t\_1}} - t\_14\right)\\ \mathbf{elif}\;y4 < -3.364603505246317 \cdot 10^{-66}:\\ \;\;\;\;\left(\left(\left(\left(t \cdot c\right) \cdot \left(i \cdot z\right) - \left(a \cdot t\right) \cdot \left(b \cdot z\right)\right) - \left(y \cdot c\right) \cdot \left(i \cdot x\right)\right) - t\_10\right) + \left(\left(y0 \cdot c - a \cdot y1\right) \cdot t\_2 - \left(t\_17 \cdot \left(y4 \cdot c - a \cdot y5\right) - \left(y1 \cdot y4 - y5 \cdot y0\right) \cdot t\_4\right)\right)\\ \mathbf{elif}\;y4 < -1.2000065055686116 \cdot 10^{-105}:\\ \;\;\;\;t\_16\\ \mathbf{elif}\;y4 < 6.718963124057495 \cdot 10^{-279}:\\ \;\;\;\;t\_15\\ \mathbf{elif}\;y4 < 4.77962681403792 \cdot 10^{-222}:\\ \;\;\;\;t\_16\\ \mathbf{elif}\;y4 < 2.2852241541266835 \cdot 10^{-175}:\\ \;\;\;\;t\_15\\ \mathbf{else}:\\ \;\;\;\;\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(k \cdot \left(i \cdot \left(z \cdot y1\right)\right) - \left(j \cdot \left(i \cdot \left(x \cdot y1\right)\right) + y0 \cdot \left(k \cdot \left(z \cdot b\right)\right)\right)\right)\right) + \left(z \cdot \left(y3 \cdot \left(a \cdot y1\right)\right) - \left(y2 \cdot \left(x \cdot \left(a \cdot y1\right)\right) + y0 \cdot \left(z \cdot \left(c \cdot y3\right)\right)\right)\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot t\_5\right) - t\_17 \cdot t\_1\right) + t\_13\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                                                                (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                 :precision binary64
                                                                                                                                                                                                                                                                                 (let* ((t_1 (- (* y4 c) (* y5 a)))
                                                                                                                                                                                                                                                                                        (t_2 (- (* x y2) (* z y3)))
                                                                                                                                                                                                                                                                                        (t_3 (- (* y2 t) (* y3 y)))
                                                                                                                                                                                                                                                                                        (t_4 (- (* k y2) (* j y3)))
                                                                                                                                                                                                                                                                                        (t_5 (- (* y4 b) (* y5 i)))
                                                                                                                                                                                                                                                                                        (t_6 (* (- (* j t) (* k y)) t_5))
                                                                                                                                                                                                                                                                                        (t_7 (- (* b a) (* i c)))
                                                                                                                                                                                                                                                                                        (t_8 (* t_7 (- (* y x) (* t z))))
                                                                                                                                                                                                                                                                                        (t_9 (- (* j x) (* k z)))
                                                                                                                                                                                                                                                                                        (t_10 (* (- (* b y0) (* i y1)) t_9))
                                                                                                                                                                                                                                                                                        (t_11 (* t_9 (- (* y0 b) (* i y1))))
                                                                                                                                                                                                                                                                                        (t_12 (- (* y4 y1) (* y5 y0)))
                                                                                                                                                                                                                                                                                        (t_13 (* t_4 t_12))
                                                                                                                                                                                                                                                                                        (t_14 (* (- (* y2 k) (* y3 j)) t_12))
                                                                                                                                                                                                                                                                                        (t_15
                                                                                                                                                                                                                                                                                         (+
                                                                                                                                                                                                                                                                                          (-
                                                                                                                                                                                                                                                                                           (-
                                                                                                                                                                                                                                                                                            (- (* (* k y) (* y5 i)) (* (* y b) (* y4 k)))
                                                                                                                                                                                                                                                                                            (* (* y5 t) (* i j)))
                                                                                                                                                                                                                                                                                           (- (* t_3 t_1) t_14))
                                                                                                                                                                                                                                                                                          (- t_8 (- t_11 (* (- (* y2 x) (* y3 z)) (- (* c y0) (* y1 a)))))))
                                                                                                                                                                                                                                                                                        (t_16
                                                                                                                                                                                                                                                                                         (+
                                                                                                                                                                                                                                                                                          (+
                                                                                                                                                                                                                                                                                           (- t_6 (* (* y3 y) (- (* y5 a) (* y4 c))))
                                                                                                                                                                                                                                                                                           (+ (* (* y5 a) (* t y2)) t_13))
                                                                                                                                                                                                                                                                                          (-
                                                                                                                                                                                                                                                                                           (* t_2 (- (* c y0) (* a y1)))
                                                                                                                                                                                                                                                                                           (- t_10 (* (- (* y x) (* z t)) t_7)))))
                                                                                                                                                                                                                                                                                        (t_17 (- (* t y2) (* y y3))))
                                                                                                                                                                                                                                                                                   (if (< y4 -7.206256231996481e+60)
                                                                                                                                                                                                                                                                                     (- (- t_8 (- t_11 t_6)) (- (/ t_3 (/ 1.0 t_1)) t_14))
                                                                                                                                                                                                                                                                                     (if (< y4 -3.364603505246317e-66)
                                                                                                                                                                                                                                                                                       (+
                                                                                                                                                                                                                                                                                        (-
                                                                                                                                                                                                                                                                                         (- (- (* (* t c) (* i z)) (* (* a t) (* b z))) (* (* y c) (* i x)))
                                                                                                                                                                                                                                                                                         t_10)
                                                                                                                                                                                                                                                                                        (-
                                                                                                                                                                                                                                                                                         (* (- (* y0 c) (* a y1)) t_2)
                                                                                                                                                                                                                                                                                         (- (* t_17 (- (* y4 c) (* a y5))) (* (- (* y1 y4) (* y5 y0)) t_4))))
                                                                                                                                                                                                                                                                                       (if (< y4 -1.2000065055686116e-105)
                                                                                                                                                                                                                                                                                         t_16
                                                                                                                                                                                                                                                                                         (if (< y4 6.718963124057495e-279)
                                                                                                                                                                                                                                                                                           t_15
                                                                                                                                                                                                                                                                                           (if (< y4 4.77962681403792e-222)
                                                                                                                                                                                                                                                                                             t_16
                                                                                                                                                                                                                                                                                             (if (< y4 2.2852241541266835e-175)
                                                                                                                                                                                                                                                                                               t_15
                                                                                                                                                                                                                                                                                               (+
                                                                                                                                                                                                                                                                                                (-
                                                                                                                                                                                                                                                                                                 (+
                                                                                                                                                                                                                                                                                                  (+
                                                                                                                                                                                                                                                                                                   (-
                                                                                                                                                                                                                                                                                                    (* (- (* x y) (* z t)) (- (* a b) (* c i)))
                                                                                                                                                                                                                                                                                                    (-
                                                                                                                                                                                                                                                                                                     (* k (* i (* z y1)))
                                                                                                                                                                                                                                                                                                     (+ (* j (* i (* x y1))) (* y0 (* k (* z b))))))
                                                                                                                                                                                                                                                                                                   (-
                                                                                                                                                                                                                                                                                                    (* z (* y3 (* a y1)))
                                                                                                                                                                                                                                                                                                    (+ (* y2 (* x (* a y1))) (* y0 (* z (* c y3))))))
                                                                                                                                                                                                                                                                                                  (* (- (* t j) (* y k)) t_5))
                                                                                                                                                                                                                                                                                                 (* t_17 t_1))
                                                                                                                                                                                                                                                                                                t_13)))))))))
                                                                                                                                                                                                                                                                                double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                	double t_1 = (y4 * c) - (y5 * a);
                                                                                                                                                                                                                                                                                	double t_2 = (x * y2) - (z * y3);
                                                                                                                                                                                                                                                                                	double t_3 = (y2 * t) - (y3 * y);
                                                                                                                                                                                                                                                                                	double t_4 = (k * y2) - (j * y3);
                                                                                                                                                                                                                                                                                	double t_5 = (y4 * b) - (y5 * i);
                                                                                                                                                                                                                                                                                	double t_6 = ((j * t) - (k * y)) * t_5;
                                                                                                                                                                                                                                                                                	double t_7 = (b * a) - (i * c);
                                                                                                                                                                                                                                                                                	double t_8 = t_7 * ((y * x) - (t * z));
                                                                                                                                                                                                                                                                                	double t_9 = (j * x) - (k * z);
                                                                                                                                                                                                                                                                                	double t_10 = ((b * y0) - (i * y1)) * t_9;
                                                                                                                                                                                                                                                                                	double t_11 = t_9 * ((y0 * b) - (i * y1));
                                                                                                                                                                                                                                                                                	double t_12 = (y4 * y1) - (y5 * y0);
                                                                                                                                                                                                                                                                                	double t_13 = t_4 * t_12;
                                                                                                                                                                                                                                                                                	double t_14 = ((y2 * k) - (y3 * j)) * t_12;
                                                                                                                                                                                                                                                                                	double t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))));
                                                                                                                                                                                                                                                                                	double t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)));
                                                                                                                                                                                                                                                                                	double t_17 = (t * y2) - (y * y3);
                                                                                                                                                                                                                                                                                	double tmp;
                                                                                                                                                                                                                                                                                	if (y4 < -7.206256231996481e+60) {
                                                                                                                                                                                                                                                                                		tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14);
                                                                                                                                                                                                                                                                                	} else if (y4 < -3.364603505246317e-66) {
                                                                                                                                                                                                                                                                                		tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)));
                                                                                                                                                                                                                                                                                	} else if (y4 < -1.2000065055686116e-105) {
                                                                                                                                                                                                                                                                                		tmp = t_16;
                                                                                                                                                                                                                                                                                	} else if (y4 < 6.718963124057495e-279) {
                                                                                                                                                                                                                                                                                		tmp = t_15;
                                                                                                                                                                                                                                                                                	} else if (y4 < 4.77962681403792e-222) {
                                                                                                                                                                                                                                                                                		tmp = t_16;
                                                                                                                                                                                                                                                                                	} else if (y4 < 2.2852241541266835e-175) {
                                                                                                                                                                                                                                                                                		tmp = t_15;
                                                                                                                                                                                                                                                                                	} else {
                                                                                                                                                                                                                                                                                		tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13;
                                                                                                                                                                                                                                                                                	}
                                                                                                                                                                                                                                                                                	return tmp;
                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                    real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                    real(8), intent (in) :: z
                                                                                                                                                                                                                                                                                    real(8), intent (in) :: t
                                                                                                                                                                                                                                                                                    real(8), intent (in) :: a
                                                                                                                                                                                                                                                                                    real(8), intent (in) :: b
                                                                                                                                                                                                                                                                                    real(8), intent (in) :: c
                                                                                                                                                                                                                                                                                    real(8), intent (in) :: i
                                                                                                                                                                                                                                                                                    real(8), intent (in) :: j
                                                                                                                                                                                                                                                                                    real(8), intent (in) :: k
                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y0
                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y1
                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y2
                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y3
                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y4
                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y5
                                                                                                                                                                                                                                                                                    real(8) :: t_1
                                                                                                                                                                                                                                                                                    real(8) :: t_10
                                                                                                                                                                                                                                                                                    real(8) :: t_11
                                                                                                                                                                                                                                                                                    real(8) :: t_12
                                                                                                                                                                                                                                                                                    real(8) :: t_13
                                                                                                                                                                                                                                                                                    real(8) :: t_14
                                                                                                                                                                                                                                                                                    real(8) :: t_15
                                                                                                                                                                                                                                                                                    real(8) :: t_16
                                                                                                                                                                                                                                                                                    real(8) :: t_17
                                                                                                                                                                                                                                                                                    real(8) :: t_2
                                                                                                                                                                                                                                                                                    real(8) :: t_3
                                                                                                                                                                                                                                                                                    real(8) :: t_4
                                                                                                                                                                                                                                                                                    real(8) :: t_5
                                                                                                                                                                                                                                                                                    real(8) :: t_6
                                                                                                                                                                                                                                                                                    real(8) :: t_7
                                                                                                                                                                                                                                                                                    real(8) :: t_8
                                                                                                                                                                                                                                                                                    real(8) :: t_9
                                                                                                                                                                                                                                                                                    real(8) :: tmp
                                                                                                                                                                                                                                                                                    t_1 = (y4 * c) - (y5 * a)
                                                                                                                                                                                                                                                                                    t_2 = (x * y2) - (z * y3)
                                                                                                                                                                                                                                                                                    t_3 = (y2 * t) - (y3 * y)
                                                                                                                                                                                                                                                                                    t_4 = (k * y2) - (j * y3)
                                                                                                                                                                                                                                                                                    t_5 = (y4 * b) - (y5 * i)
                                                                                                                                                                                                                                                                                    t_6 = ((j * t) - (k * y)) * t_5
                                                                                                                                                                                                                                                                                    t_7 = (b * a) - (i * c)
                                                                                                                                                                                                                                                                                    t_8 = t_7 * ((y * x) - (t * z))
                                                                                                                                                                                                                                                                                    t_9 = (j * x) - (k * z)
                                                                                                                                                                                                                                                                                    t_10 = ((b * y0) - (i * y1)) * t_9
                                                                                                                                                                                                                                                                                    t_11 = t_9 * ((y0 * b) - (i * y1))
                                                                                                                                                                                                                                                                                    t_12 = (y4 * y1) - (y5 * y0)
                                                                                                                                                                                                                                                                                    t_13 = t_4 * t_12
                                                                                                                                                                                                                                                                                    t_14 = ((y2 * k) - (y3 * j)) * t_12
                                                                                                                                                                                                                                                                                    t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))))
                                                                                                                                                                                                                                                                                    t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)))
                                                                                                                                                                                                                                                                                    t_17 = (t * y2) - (y * y3)
                                                                                                                                                                                                                                                                                    if (y4 < (-7.206256231996481d+60)) then
                                                                                                                                                                                                                                                                                        tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0d0 / t_1)) - t_14)
                                                                                                                                                                                                                                                                                    else if (y4 < (-3.364603505246317d-66)) then
                                                                                                                                                                                                                                                                                        tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)))
                                                                                                                                                                                                                                                                                    else if (y4 < (-1.2000065055686116d-105)) then
                                                                                                                                                                                                                                                                                        tmp = t_16
                                                                                                                                                                                                                                                                                    else if (y4 < 6.718963124057495d-279) then
                                                                                                                                                                                                                                                                                        tmp = t_15
                                                                                                                                                                                                                                                                                    else if (y4 < 4.77962681403792d-222) then
                                                                                                                                                                                                                                                                                        tmp = t_16
                                                                                                                                                                                                                                                                                    else if (y4 < 2.2852241541266835d-175) then
                                                                                                                                                                                                                                                                                        tmp = t_15
                                                                                                                                                                                                                                                                                    else
                                                                                                                                                                                                                                                                                        tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13
                                                                                                                                                                                                                                                                                    end if
                                                                                                                                                                                                                                                                                    code = tmp
                                                                                                                                                                                                                                                                                end function
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                	double t_1 = (y4 * c) - (y5 * a);
                                                                                                                                                                                                                                                                                	double t_2 = (x * y2) - (z * y3);
                                                                                                                                                                                                                                                                                	double t_3 = (y2 * t) - (y3 * y);
                                                                                                                                                                                                                                                                                	double t_4 = (k * y2) - (j * y3);
                                                                                                                                                                                                                                                                                	double t_5 = (y4 * b) - (y5 * i);
                                                                                                                                                                                                                                                                                	double t_6 = ((j * t) - (k * y)) * t_5;
                                                                                                                                                                                                                                                                                	double t_7 = (b * a) - (i * c);
                                                                                                                                                                                                                                                                                	double t_8 = t_7 * ((y * x) - (t * z));
                                                                                                                                                                                                                                                                                	double t_9 = (j * x) - (k * z);
                                                                                                                                                                                                                                                                                	double t_10 = ((b * y0) - (i * y1)) * t_9;
                                                                                                                                                                                                                                                                                	double t_11 = t_9 * ((y0 * b) - (i * y1));
                                                                                                                                                                                                                                                                                	double t_12 = (y4 * y1) - (y5 * y0);
                                                                                                                                                                                                                                                                                	double t_13 = t_4 * t_12;
                                                                                                                                                                                                                                                                                	double t_14 = ((y2 * k) - (y3 * j)) * t_12;
                                                                                                                                                                                                                                                                                	double t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))));
                                                                                                                                                                                                                                                                                	double t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)));
                                                                                                                                                                                                                                                                                	double t_17 = (t * y2) - (y * y3);
                                                                                                                                                                                                                                                                                	double tmp;
                                                                                                                                                                                                                                                                                	if (y4 < -7.206256231996481e+60) {
                                                                                                                                                                                                                                                                                		tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14);
                                                                                                                                                                                                                                                                                	} else if (y4 < -3.364603505246317e-66) {
                                                                                                                                                                                                                                                                                		tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)));
                                                                                                                                                                                                                                                                                	} else if (y4 < -1.2000065055686116e-105) {
                                                                                                                                                                                                                                                                                		tmp = t_16;
                                                                                                                                                                                                                                                                                	} else if (y4 < 6.718963124057495e-279) {
                                                                                                                                                                                                                                                                                		tmp = t_15;
                                                                                                                                                                                                                                                                                	} else if (y4 < 4.77962681403792e-222) {
                                                                                                                                                                                                                                                                                		tmp = t_16;
                                                                                                                                                                                                                                                                                	} else if (y4 < 2.2852241541266835e-175) {
                                                                                                                                                                                                                                                                                		tmp = t_15;
                                                                                                                                                                                                                                                                                	} else {
                                                                                                                                                                                                                                                                                		tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13;
                                                                                                                                                                                                                                                                                	}
                                                                                                                                                                                                                                                                                	return tmp;
                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                                                	t_1 = (y4 * c) - (y5 * a)
                                                                                                                                                                                                                                                                                	t_2 = (x * y2) - (z * y3)
                                                                                                                                                                                                                                                                                	t_3 = (y2 * t) - (y3 * y)
                                                                                                                                                                                                                                                                                	t_4 = (k * y2) - (j * y3)
                                                                                                                                                                                                                                                                                	t_5 = (y4 * b) - (y5 * i)
                                                                                                                                                                                                                                                                                	t_6 = ((j * t) - (k * y)) * t_5
                                                                                                                                                                                                                                                                                	t_7 = (b * a) - (i * c)
                                                                                                                                                                                                                                                                                	t_8 = t_7 * ((y * x) - (t * z))
                                                                                                                                                                                                                                                                                	t_9 = (j * x) - (k * z)
                                                                                                                                                                                                                                                                                	t_10 = ((b * y0) - (i * y1)) * t_9
                                                                                                                                                                                                                                                                                	t_11 = t_9 * ((y0 * b) - (i * y1))
                                                                                                                                                                                                                                                                                	t_12 = (y4 * y1) - (y5 * y0)
                                                                                                                                                                                                                                                                                	t_13 = t_4 * t_12
                                                                                                                                                                                                                                                                                	t_14 = ((y2 * k) - (y3 * j)) * t_12
                                                                                                                                                                                                                                                                                	t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))))
                                                                                                                                                                                                                                                                                	t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)))
                                                                                                                                                                                                                                                                                	t_17 = (t * y2) - (y * y3)
                                                                                                                                                                                                                                                                                	tmp = 0
                                                                                                                                                                                                                                                                                	if y4 < -7.206256231996481e+60:
                                                                                                                                                                                                                                                                                		tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14)
                                                                                                                                                                                                                                                                                	elif y4 < -3.364603505246317e-66:
                                                                                                                                                                                                                                                                                		tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)))
                                                                                                                                                                                                                                                                                	elif y4 < -1.2000065055686116e-105:
                                                                                                                                                                                                                                                                                		tmp = t_16
                                                                                                                                                                                                                                                                                	elif y4 < 6.718963124057495e-279:
                                                                                                                                                                                                                                                                                		tmp = t_15
                                                                                                                                                                                                                                                                                	elif y4 < 4.77962681403792e-222:
                                                                                                                                                                                                                                                                                		tmp = t_16
                                                                                                                                                                                                                                                                                	elif y4 < 2.2852241541266835e-175:
                                                                                                                                                                                                                                                                                		tmp = t_15
                                                                                                                                                                                                                                                                                	else:
                                                                                                                                                                                                                                                                                		tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13
                                                                                                                                                                                                                                                                                	return tmp
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                	t_1 = Float64(Float64(y4 * c) - Float64(y5 * a))
                                                                                                                                                                                                                                                                                	t_2 = Float64(Float64(x * y2) - Float64(z * y3))
                                                                                                                                                                                                                                                                                	t_3 = Float64(Float64(y2 * t) - Float64(y3 * y))
                                                                                                                                                                                                                                                                                	t_4 = Float64(Float64(k * y2) - Float64(j * y3))
                                                                                                                                                                                                                                                                                	t_5 = Float64(Float64(y4 * b) - Float64(y5 * i))
                                                                                                                                                                                                                                                                                	t_6 = Float64(Float64(Float64(j * t) - Float64(k * y)) * t_5)
                                                                                                                                                                                                                                                                                	t_7 = Float64(Float64(b * a) - Float64(i * c))
                                                                                                                                                                                                                                                                                	t_8 = Float64(t_7 * Float64(Float64(y * x) - Float64(t * z)))
                                                                                                                                                                                                                                                                                	t_9 = Float64(Float64(j * x) - Float64(k * z))
                                                                                                                                                                                                                                                                                	t_10 = Float64(Float64(Float64(b * y0) - Float64(i * y1)) * t_9)
                                                                                                                                                                                                                                                                                	t_11 = Float64(t_9 * Float64(Float64(y0 * b) - Float64(i * y1)))
                                                                                                                                                                                                                                                                                	t_12 = Float64(Float64(y4 * y1) - Float64(y5 * y0))
                                                                                                                                                                                                                                                                                	t_13 = Float64(t_4 * t_12)
                                                                                                                                                                                                                                                                                	t_14 = Float64(Float64(Float64(y2 * k) - Float64(y3 * j)) * t_12)
                                                                                                                                                                                                                                                                                	t_15 = Float64(Float64(Float64(Float64(Float64(Float64(k * y) * Float64(y5 * i)) - Float64(Float64(y * b) * Float64(y4 * k))) - Float64(Float64(y5 * t) * Float64(i * j))) - Float64(Float64(t_3 * t_1) - t_14)) + Float64(t_8 - Float64(t_11 - Float64(Float64(Float64(y2 * x) - Float64(y3 * z)) * Float64(Float64(c * y0) - Float64(y1 * a))))))
                                                                                                                                                                                                                                                                                	t_16 = Float64(Float64(Float64(t_6 - Float64(Float64(y3 * y) * Float64(Float64(y5 * a) - Float64(y4 * c)))) + Float64(Float64(Float64(y5 * a) * Float64(t * y2)) + t_13)) + Float64(Float64(t_2 * Float64(Float64(c * y0) - Float64(a * y1))) - Float64(t_10 - Float64(Float64(Float64(y * x) - Float64(z * t)) * t_7))))
                                                                                                                                                                                                                                                                                	t_17 = Float64(Float64(t * y2) - Float64(y * y3))
                                                                                                                                                                                                                                                                                	tmp = 0.0
                                                                                                                                                                                                                                                                                	if (y4 < -7.206256231996481e+60)
                                                                                                                                                                                                                                                                                		tmp = Float64(Float64(t_8 - Float64(t_11 - t_6)) - Float64(Float64(t_3 / Float64(1.0 / t_1)) - t_14));
                                                                                                                                                                                                                                                                                	elseif (y4 < -3.364603505246317e-66)
                                                                                                                                                                                                                                                                                		tmp = Float64(Float64(Float64(Float64(Float64(Float64(t * c) * Float64(i * z)) - Float64(Float64(a * t) * Float64(b * z))) - Float64(Float64(y * c) * Float64(i * x))) - t_10) + Float64(Float64(Float64(Float64(y0 * c) - Float64(a * y1)) * t_2) - Float64(Float64(t_17 * Float64(Float64(y4 * c) - Float64(a * y5))) - Float64(Float64(Float64(y1 * y4) - Float64(y5 * y0)) * t_4))));
                                                                                                                                                                                                                                                                                	elseif (y4 < -1.2000065055686116e-105)
                                                                                                                                                                                                                                                                                		tmp = t_16;
                                                                                                                                                                                                                                                                                	elseif (y4 < 6.718963124057495e-279)
                                                                                                                                                                                                                                                                                		tmp = t_15;
                                                                                                                                                                                                                                                                                	elseif (y4 < 4.77962681403792e-222)
                                                                                                                                                                                                                                                                                		tmp = t_16;
                                                                                                                                                                                                                                                                                	elseif (y4 < 2.2852241541266835e-175)
                                                                                                                                                                                                                                                                                		tmp = t_15;
                                                                                                                                                                                                                                                                                	else
                                                                                                                                                                                                                                                                                		tmp = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) - Float64(z * t)) * Float64(Float64(a * b) - Float64(c * i))) - Float64(Float64(k * Float64(i * Float64(z * y1))) - Float64(Float64(j * Float64(i * Float64(x * y1))) + Float64(y0 * Float64(k * Float64(z * b)))))) + Float64(Float64(z * Float64(y3 * Float64(a * y1))) - Float64(Float64(y2 * Float64(x * Float64(a * y1))) + Float64(y0 * Float64(z * Float64(c * y3)))))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * t_5)) - Float64(t_17 * t_1)) + t_13);
                                                                                                                                                                                                                                                                                	end
                                                                                                                                                                                                                                                                                	return tmp
                                                                                                                                                                                                                                                                                end
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                	t_1 = (y4 * c) - (y5 * a);
                                                                                                                                                                                                                                                                                	t_2 = (x * y2) - (z * y3);
                                                                                                                                                                                                                                                                                	t_3 = (y2 * t) - (y3 * y);
                                                                                                                                                                                                                                                                                	t_4 = (k * y2) - (j * y3);
                                                                                                                                                                                                                                                                                	t_5 = (y4 * b) - (y5 * i);
                                                                                                                                                                                                                                                                                	t_6 = ((j * t) - (k * y)) * t_5;
                                                                                                                                                                                                                                                                                	t_7 = (b * a) - (i * c);
                                                                                                                                                                                                                                                                                	t_8 = t_7 * ((y * x) - (t * z));
                                                                                                                                                                                                                                                                                	t_9 = (j * x) - (k * z);
                                                                                                                                                                                                                                                                                	t_10 = ((b * y0) - (i * y1)) * t_9;
                                                                                                                                                                                                                                                                                	t_11 = t_9 * ((y0 * b) - (i * y1));
                                                                                                                                                                                                                                                                                	t_12 = (y4 * y1) - (y5 * y0);
                                                                                                                                                                                                                                                                                	t_13 = t_4 * t_12;
                                                                                                                                                                                                                                                                                	t_14 = ((y2 * k) - (y3 * j)) * t_12;
                                                                                                                                                                                                                                                                                	t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))));
                                                                                                                                                                                                                                                                                	t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)));
                                                                                                                                                                                                                                                                                	t_17 = (t * y2) - (y * y3);
                                                                                                                                                                                                                                                                                	tmp = 0.0;
                                                                                                                                                                                                                                                                                	if (y4 < -7.206256231996481e+60)
                                                                                                                                                                                                                                                                                		tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14);
                                                                                                                                                                                                                                                                                	elseif (y4 < -3.364603505246317e-66)
                                                                                                                                                                                                                                                                                		tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)));
                                                                                                                                                                                                                                                                                	elseif (y4 < -1.2000065055686116e-105)
                                                                                                                                                                                                                                                                                		tmp = t_16;
                                                                                                                                                                                                                                                                                	elseif (y4 < 6.718963124057495e-279)
                                                                                                                                                                                                                                                                                		tmp = t_15;
                                                                                                                                                                                                                                                                                	elseif (y4 < 4.77962681403792e-222)
                                                                                                                                                                                                                                                                                		tmp = t_16;
                                                                                                                                                                                                                                                                                	elseif (y4 < 2.2852241541266835e-175)
                                                                                                                                                                                                                                                                                		tmp = t_15;
                                                                                                                                                                                                                                                                                	else
                                                                                                                                                                                                                                                                                		tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13;
                                                                                                                                                                                                                                                                                	end
                                                                                                                                                                                                                                                                                	tmp_2 = tmp;
                                                                                                                                                                                                                                                                                end
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y2 * t), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] * t$95$5), $MachinePrecision]}, Block[{t$95$7 = N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(t$95$7 * N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$10 = N[(N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision] * t$95$9), $MachinePrecision]}, Block[{t$95$11 = N[(t$95$9 * N[(N[(y0 * b), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$12 = N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$13 = N[(t$95$4 * t$95$12), $MachinePrecision]}, Block[{t$95$14 = N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * t$95$12), $MachinePrecision]}, Block[{t$95$15 = N[(N[(N[(N[(N[(N[(k * y), $MachinePrecision] * N[(y5 * i), $MachinePrecision]), $MachinePrecision] - N[(N[(y * b), $MachinePrecision] * N[(y4 * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y5 * t), $MachinePrecision] * N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(t$95$3 * t$95$1), $MachinePrecision] - t$95$14), $MachinePrecision]), $MachinePrecision] + N[(t$95$8 - N[(t$95$11 - N[(N[(N[(y2 * x), $MachinePrecision] - N[(y3 * z), $MachinePrecision]), $MachinePrecision] * N[(N[(c * y0), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$16 = N[(N[(N[(t$95$6 - N[(N[(y3 * y), $MachinePrecision] * N[(N[(y5 * a), $MachinePrecision] - N[(y4 * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(y5 * a), $MachinePrecision] * N[(t * y2), $MachinePrecision]), $MachinePrecision] + t$95$13), $MachinePrecision]), $MachinePrecision] + N[(N[(t$95$2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(t$95$10 - N[(N[(N[(y * x), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$17 = N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, If[Less[y4, -7.206256231996481e+60], N[(N[(t$95$8 - N[(t$95$11 - t$95$6), $MachinePrecision]), $MachinePrecision] - N[(N[(t$95$3 / N[(1.0 / t$95$1), $MachinePrecision]), $MachinePrecision] - t$95$14), $MachinePrecision]), $MachinePrecision], If[Less[y4, -3.364603505246317e-66], N[(N[(N[(N[(N[(N[(t * c), $MachinePrecision] * N[(i * z), $MachinePrecision]), $MachinePrecision] - N[(N[(a * t), $MachinePrecision] * N[(b * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y * c), $MachinePrecision] * N[(i * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - t$95$10), $MachinePrecision] + N[(N[(N[(N[(y0 * c), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision] * t$95$2), $MachinePrecision] - N[(N[(t$95$17 * N[(N[(y4 * c), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(y1 * y4), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision] * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Less[y4, -1.2000065055686116e-105], t$95$16, If[Less[y4, 6.718963124057495e-279], t$95$15, If[Less[y4, 4.77962681403792e-222], t$95$16, If[Less[y4, 2.2852241541266835e-175], t$95$15, N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(k * N[(i * N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(j * N[(i * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(k * N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(z * N[(y3 * N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y2 * N[(x * N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(z * N[(c * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * t$95$5), $MachinePrecision]), $MachinePrecision] - N[(t$95$17 * t$95$1), $MachinePrecision]), $MachinePrecision] + t$95$13), $MachinePrecision]]]]]]]]]]]]]]]]]]]]]]]]
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                \begin{array}{l}
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                \\
                                                                                                                                                                                                                                                                                \begin{array}{l}
                                                                                                                                                                                                                                                                                t_1 := y4 \cdot c - y5 \cdot a\\
                                                                                                                                                                                                                                                                                t_2 := x \cdot y2 - z \cdot y3\\
                                                                                                                                                                                                                                                                                t_3 := y2 \cdot t - y3 \cdot y\\
                                                                                                                                                                                                                                                                                t_4 := k \cdot y2 - j \cdot y3\\
                                                                                                                                                                                                                                                                                t_5 := y4 \cdot b - y5 \cdot i\\
                                                                                                                                                                                                                                                                                t_6 := \left(j \cdot t - k \cdot y\right) \cdot t\_5\\
                                                                                                                                                                                                                                                                                t_7 := b \cdot a - i \cdot c\\
                                                                                                                                                                                                                                                                                t_8 := t\_7 \cdot \left(y \cdot x - t \cdot z\right)\\
                                                                                                                                                                                                                                                                                t_9 := j \cdot x - k \cdot z\\
                                                                                                                                                                                                                                                                                t_10 := \left(b \cdot y0 - i \cdot y1\right) \cdot t\_9\\
                                                                                                                                                                                                                                                                                t_11 := t\_9 \cdot \left(y0 \cdot b - i \cdot y1\right)\\
                                                                                                                                                                                                                                                                                t_12 := y4 \cdot y1 - y5 \cdot y0\\
                                                                                                                                                                                                                                                                                t_13 := t\_4 \cdot t\_12\\
                                                                                                                                                                                                                                                                                t_14 := \left(y2 \cdot k - y3 \cdot j\right) \cdot t\_12\\
                                                                                                                                                                                                                                                                                t_15 := \left(\left(\left(\left(k \cdot y\right) \cdot \left(y5 \cdot i\right) - \left(y \cdot b\right) \cdot \left(y4 \cdot k\right)\right) - \left(y5 \cdot t\right) \cdot \left(i \cdot j\right)\right) - \left(t\_3 \cdot t\_1 - t\_14\right)\right) + \left(t\_8 - \left(t\_11 - \left(y2 \cdot x - y3 \cdot z\right) \cdot \left(c \cdot y0 - y1 \cdot a\right)\right)\right)\\
                                                                                                                                                                                                                                                                                t_16 := \left(\left(t\_6 - \left(y3 \cdot y\right) \cdot \left(y5 \cdot a - y4 \cdot c\right)\right) + \left(\left(y5 \cdot a\right) \cdot \left(t \cdot y2\right) + t\_13\right)\right) + \left(t\_2 \cdot \left(c \cdot y0 - a \cdot y1\right) - \left(t\_10 - \left(y \cdot x - z \cdot t\right) \cdot t\_7\right)\right)\\
                                                                                                                                                                                                                                                                                t_17 := t \cdot y2 - y \cdot y3\\
                                                                                                                                                                                                                                                                                \mathbf{if}\;y4 < -7.206256231996481 \cdot 10^{+60}:\\
                                                                                                                                                                                                                                                                                \;\;\;\;\left(t\_8 - \left(t\_11 - t\_6\right)\right) - \left(\frac{t\_3}{\frac{1}{t\_1}} - t\_14\right)\\
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                \mathbf{elif}\;y4 < -3.364603505246317 \cdot 10^{-66}:\\
                                                                                                                                                                                                                                                                                \;\;\;\;\left(\left(\left(\left(t \cdot c\right) \cdot \left(i \cdot z\right) - \left(a \cdot t\right) \cdot \left(b \cdot z\right)\right) - \left(y \cdot c\right) \cdot \left(i \cdot x\right)\right) - t\_10\right) + \left(\left(y0 \cdot c - a \cdot y1\right) \cdot t\_2 - \left(t\_17 \cdot \left(y4 \cdot c - a \cdot y5\right) - \left(y1 \cdot y4 - y5 \cdot y0\right) \cdot t\_4\right)\right)\\
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                \mathbf{elif}\;y4 < -1.2000065055686116 \cdot 10^{-105}:\\
                                                                                                                                                                                                                                                                                \;\;\;\;t\_16\\
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                \mathbf{elif}\;y4 < 6.718963124057495 \cdot 10^{-279}:\\
                                                                                                                                                                                                                                                                                \;\;\;\;t\_15\\
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                \mathbf{elif}\;y4 < 4.77962681403792 \cdot 10^{-222}:\\
                                                                                                                                                                                                                                                                                \;\;\;\;t\_16\\
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                \mathbf{elif}\;y4 < 2.2852241541266835 \cdot 10^{-175}:\\
                                                                                                                                                                                                                                                                                \;\;\;\;t\_15\\
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                \mathbf{else}:\\
                                                                                                                                                                                                                                                                                \;\;\;\;\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(k \cdot \left(i \cdot \left(z \cdot y1\right)\right) - \left(j \cdot \left(i \cdot \left(x \cdot y1\right)\right) + y0 \cdot \left(k \cdot \left(z \cdot b\right)\right)\right)\right)\right) + \left(z \cdot \left(y3 \cdot \left(a \cdot y1\right)\right) - \left(y2 \cdot \left(x \cdot \left(a \cdot y1\right)\right) + y0 \cdot \left(z \cdot \left(c \cdot y3\right)\right)\right)\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot t\_5\right) - t\_17 \cdot t\_1\right) + t\_13\\
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                \end{array}
                                                                                                                                                                                                                                                                                \end{array}
                                                                                                                                                                                                                                                                                

                                                                                                                                                                                                                                                                                Reproduce

                                                                                                                                                                                                                                                                                ?
                                                                                                                                                                                                                                                                                herbie shell --seed 2024299 
                                                                                                                                                                                                                                                                                (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
                                                                                                                                                                                                                                                                                  (! :herbie-platform default (if (< y4 -7206256231996481000000000000000000000000000000000000000000000) (- (- (* (- (* 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 (- (* y4 c) (* y5 a)))) (* (- (* y2 k) (* y3 j)) (- (* y4 y1) (* y5 y0))))) (if (< y4 -3364603505246317/1000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (- (- (- (* (* 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 -3000016263921529/2500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (+ (- (* (- (* 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 1343792624811499/200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (- (- (- (* (* 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 29872667587737/6250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (+ (- (* (- (* 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 4570448308253367/20000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (- (- (- (* (* 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)))))