Data.Colour.Matrix:inverse from colour-2.3.3, B

Percentage Accurate: 90.8% → 95.1%
Time: 9.6s
Alternatives: 9
Speedup: 0.6×

Specification

?
\[\begin{array}{l} \\ \frac{x \cdot y - z \cdot t}{a} \end{array} \]
(FPCore (x y z t a) :precision binary64 (/ (- (* x y) (* z t)) a))
double code(double x, double y, double z, double t, double a) {
	return ((x * y) - (z * t)) / a;
}
real(8) function code(x, y, z, t, a)
    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
    code = ((x * y) - (z * t)) / a
end function
public static double code(double x, double y, double z, double t, double a) {
	return ((x * y) - (z * t)) / a;
}
def code(x, y, z, t, a):
	return ((x * y) - (z * t)) / a
function code(x, y, z, t, a)
	return Float64(Float64(Float64(x * y) - Float64(z * t)) / a)
end
function tmp = code(x, y, z, t, a)
	tmp = ((x * y) - (z * t)) / a;
end
code[x_, y_, z_, t_, a_] := N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] / a), $MachinePrecision]
\begin{array}{l}

\\
\frac{x \cdot y - z \cdot t}{a}
\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 9 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: 90.8% accurate, 1.0× speedup?

\[\begin{array}{l} \\ \frac{x \cdot y - z \cdot t}{a} \end{array} \]
(FPCore (x y z t a) :precision binary64 (/ (- (* x y) (* z t)) a))
double code(double x, double y, double z, double t, double a) {
	return ((x * y) - (z * t)) / a;
}
real(8) function code(x, y, z, t, a)
    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
    code = ((x * y) - (z * t)) / a
end function
public static double code(double x, double y, double z, double t, double a) {
	return ((x * y) - (z * t)) / a;
}
def code(x, y, z, t, a):
	return ((x * y) - (z * t)) / a
function code(x, y, z, t, a)
	return Float64(Float64(Float64(x * y) - Float64(z * t)) / a)
end
function tmp = code(x, y, z, t, a)
	tmp = ((x * y) - (z * t)) / a;
end
code[x_, y_, z_, t_, a_] := N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] / a), $MachinePrecision]
\begin{array}{l}

\\
\frac{x \cdot y - z \cdot t}{a}
\end{array}

Alternative 1: 95.1% accurate, 0.5× speedup?

\[\begin{array}{l} [x, y, z, t, a] = \mathsf{sort}([x, y, z, t, a])\\ \\ \begin{array}{l} \mathbf{if}\;t \cdot z \leq -\infty:\\ \;\;\;\;\frac{-z}{a} \cdot t\\ \mathbf{elif}\;t \cdot z \leq 2 \cdot 10^{+302}:\\ \;\;\;\;\frac{\mathsf{fma}\left(-z, t, x \cdot y\right)}{a}\\ \mathbf{else}:\\ \;\;\;\;\frac{-z}{\frac{a}{t}}\\ \end{array} \end{array} \]
NOTE: x, y, z, t, and a should be sorted in increasing order before calling this function.
(FPCore (x y z t a)
 :precision binary64
 (if (<= (* t z) (- INFINITY))
   (* (/ (- z) a) t)
   (if (<= (* t z) 2e+302) (/ (fma (- z) t (* x y)) a) (/ (- z) (/ a t)))))
assert(x < y && y < z && z < t && t < a);
double code(double x, double y, double z, double t, double a) {
	double tmp;
	if ((t * z) <= -((double) INFINITY)) {
		tmp = (-z / a) * t;
	} else if ((t * z) <= 2e+302) {
		tmp = fma(-z, t, (x * y)) / a;
	} else {
		tmp = -z / (a / t);
	}
	return tmp;
}
x, y, z, t, a = sort([x, y, z, t, a])
function code(x, y, z, t, a)
	tmp = 0.0
	if (Float64(t * z) <= Float64(-Inf))
		tmp = Float64(Float64(Float64(-z) / a) * t);
	elseif (Float64(t * z) <= 2e+302)
		tmp = Float64(fma(Float64(-z), t, Float64(x * y)) / a);
	else
		tmp = Float64(Float64(-z) / Float64(a / t));
	end
	return tmp
end
NOTE: x, y, z, t, and a should be sorted in increasing order before calling this function.
code[x_, y_, z_, t_, a_] := If[LessEqual[N[(t * z), $MachinePrecision], (-Infinity)], N[(N[((-z) / a), $MachinePrecision] * t), $MachinePrecision], If[LessEqual[N[(t * z), $MachinePrecision], 2e+302], N[(N[((-z) * t + N[(x * y), $MachinePrecision]), $MachinePrecision] / a), $MachinePrecision], N[((-z) / N[(a / t), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
[x, y, z, t, a] = \mathsf{sort}([x, y, z, t, a])\\
\\
\begin{array}{l}
\mathbf{if}\;t \cdot z \leq -\infty:\\
\;\;\;\;\frac{-z}{a} \cdot t\\

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

\mathbf{else}:\\
\;\;\;\;\frac{-z}{\frac{a}{t}}\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if (*.f64 z t) < -inf.0

    1. Initial program 57.2%

      \[\frac{x \cdot y - z \cdot t}{a} \]
    2. Add Preprocessing
    3. Taylor expanded in x around 0

      \[\leadsto \color{blue}{-1 \cdot \frac{t \cdot z}{a}} \]
    4. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto -1 \cdot \frac{\color{blue}{z \cdot t}}{a} \]
      2. associate-*r/N/A

        \[\leadsto -1 \cdot \color{blue}{\left(z \cdot \frac{t}{a}\right)} \]
      3. associate-*r*N/A

        \[\leadsto \color{blue}{\left(-1 \cdot z\right) \cdot \frac{t}{a}} \]
      4. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(-1 \cdot z\right) \cdot \frac{t}{a}} \]
      5. mul-1-negN/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(z\right)\right)} \cdot \frac{t}{a} \]
      6. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(z\right)\right)} \cdot \frac{t}{a} \]
      7. lower-/.f6499.7

        \[\leadsto \left(-z\right) \cdot \color{blue}{\frac{t}{a}} \]
    5. Applied rewrites99.7%

      \[\leadsto \color{blue}{\left(-z\right) \cdot \frac{t}{a}} \]
    6. Step-by-step derivation
      1. Applied rewrites99.7%

        \[\leadsto \frac{-z}{a} \cdot \color{blue}{t} \]

      if -inf.0 < (*.f64 z t) < 2.0000000000000002e302

      1. Initial program 97.3%

        \[\frac{x \cdot y - z \cdot t}{a} \]
      2. Add Preprocessing
      3. Step-by-step derivation
        1. lift--.f64N/A

          \[\leadsto \frac{\color{blue}{x \cdot y - z \cdot t}}{a} \]
        2. sub-negN/A

          \[\leadsto \frac{\color{blue}{x \cdot y + \left(\mathsf{neg}\left(z \cdot t\right)\right)}}{a} \]
        3. +-commutativeN/A

          \[\leadsto \frac{\color{blue}{\left(\mathsf{neg}\left(z \cdot t\right)\right) + x \cdot y}}{a} \]
        4. lift-*.f64N/A

          \[\leadsto \frac{\left(\mathsf{neg}\left(\color{blue}{z \cdot t}\right)\right) + x \cdot y}{a} \]
        5. distribute-lft-neg-inN/A

          \[\leadsto \frac{\color{blue}{\left(\mathsf{neg}\left(z\right)\right) \cdot t} + x \cdot y}{a} \]
        6. lower-fma.f64N/A

          \[\leadsto \frac{\color{blue}{\mathsf{fma}\left(\mathsf{neg}\left(z\right), t, x \cdot y\right)}}{a} \]
        7. lower-neg.f6497.3

          \[\leadsto \frac{\mathsf{fma}\left(\color{blue}{-z}, t, x \cdot y\right)}{a} \]
        8. lift-*.f64N/A

          \[\leadsto \frac{\mathsf{fma}\left(\mathsf{neg}\left(z\right), t, \color{blue}{x \cdot y}\right)}{a} \]
        9. *-commutativeN/A

          \[\leadsto \frac{\mathsf{fma}\left(\mathsf{neg}\left(z\right), t, \color{blue}{y \cdot x}\right)}{a} \]
        10. lower-*.f6497.3

          \[\leadsto \frac{\mathsf{fma}\left(-z, t, \color{blue}{y \cdot x}\right)}{a} \]
      4. Applied rewrites97.3%

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

      if 2.0000000000000002e302 < (*.f64 z t)

      1. Initial program 61.4%

        \[\frac{x \cdot y - z \cdot t}{a} \]
      2. Add Preprocessing
      3. Taylor expanded in x around 0

        \[\leadsto \color{blue}{-1 \cdot \frac{t \cdot z}{a}} \]
      4. Step-by-step derivation
        1. *-commutativeN/A

          \[\leadsto -1 \cdot \frac{\color{blue}{z \cdot t}}{a} \]
        2. associate-*r/N/A

          \[\leadsto -1 \cdot \color{blue}{\left(z \cdot \frac{t}{a}\right)} \]
        3. associate-*r*N/A

          \[\leadsto \color{blue}{\left(-1 \cdot z\right) \cdot \frac{t}{a}} \]
        4. lower-*.f64N/A

          \[\leadsto \color{blue}{\left(-1 \cdot z\right) \cdot \frac{t}{a}} \]
        5. mul-1-negN/A

          \[\leadsto \color{blue}{\left(\mathsf{neg}\left(z\right)\right)} \cdot \frac{t}{a} \]
        6. lower-neg.f64N/A

          \[\leadsto \color{blue}{\left(\mathsf{neg}\left(z\right)\right)} \cdot \frac{t}{a} \]
        7. lower-/.f6499.8

          \[\leadsto \left(-z\right) \cdot \color{blue}{\frac{t}{a}} \]
      5. Applied rewrites99.8%

        \[\leadsto \color{blue}{\left(-z\right) \cdot \frac{t}{a}} \]
      6. Step-by-step derivation
        1. Applied rewrites99.7%

          \[\leadsto \frac{-z}{\color{blue}{\frac{a}{t}}} \]
      7. Recombined 3 regimes into one program.
      8. Final simplification97.5%

        \[\leadsto \begin{array}{l} \mathbf{if}\;t \cdot z \leq -\infty:\\ \;\;\;\;\frac{-z}{a} \cdot t\\ \mathbf{elif}\;t \cdot z \leq 2 \cdot 10^{+302}:\\ \;\;\;\;\frac{\mathsf{fma}\left(-z, t, x \cdot y\right)}{a}\\ \mathbf{else}:\\ \;\;\;\;\frac{-z}{\frac{a}{t}}\\ \end{array} \]
      9. Add Preprocessing

      Alternative 2: 95.1% accurate, 0.5× speedup?

      \[\begin{array}{l} [x, y, z, t, a] = \mathsf{sort}([x, y, z, t, a])\\ \\ \begin{array}{l} \mathbf{if}\;t \cdot z \leq -\infty:\\ \;\;\;\;\frac{-z}{a} \cdot t\\ \mathbf{elif}\;t \cdot z \leq 2 \cdot 10^{+302}:\\ \;\;\;\;\frac{x \cdot y - t \cdot z}{a}\\ \mathbf{else}:\\ \;\;\;\;\frac{-z}{\frac{a}{t}}\\ \end{array} \end{array} \]
      NOTE: x, y, z, t, and a should be sorted in increasing order before calling this function.
      (FPCore (x y z t a)
       :precision binary64
       (if (<= (* t z) (- INFINITY))
         (* (/ (- z) a) t)
         (if (<= (* t z) 2e+302) (/ (- (* x y) (* t z)) a) (/ (- z) (/ a t)))))
      assert(x < y && y < z && z < t && t < a);
      double code(double x, double y, double z, double t, double a) {
      	double tmp;
      	if ((t * z) <= -((double) INFINITY)) {
      		tmp = (-z / a) * t;
      	} else if ((t * z) <= 2e+302) {
      		tmp = ((x * y) - (t * z)) / a;
      	} else {
      		tmp = -z / (a / t);
      	}
      	return tmp;
      }
      
      assert x < y && y < z && z < t && t < a;
      public static double code(double x, double y, double z, double t, double a) {
      	double tmp;
      	if ((t * z) <= -Double.POSITIVE_INFINITY) {
      		tmp = (-z / a) * t;
      	} else if ((t * z) <= 2e+302) {
      		tmp = ((x * y) - (t * z)) / a;
      	} else {
      		tmp = -z / (a / t);
      	}
      	return tmp;
      }
      
      [x, y, z, t, a] = sort([x, y, z, t, a])
      def code(x, y, z, t, a):
      	tmp = 0
      	if (t * z) <= -math.inf:
      		tmp = (-z / a) * t
      	elif (t * z) <= 2e+302:
      		tmp = ((x * y) - (t * z)) / a
      	else:
      		tmp = -z / (a / t)
      	return tmp
      
      x, y, z, t, a = sort([x, y, z, t, a])
      function code(x, y, z, t, a)
      	tmp = 0.0
      	if (Float64(t * z) <= Float64(-Inf))
      		tmp = Float64(Float64(Float64(-z) / a) * t);
      	elseif (Float64(t * z) <= 2e+302)
      		tmp = Float64(Float64(Float64(x * y) - Float64(t * z)) / a);
      	else
      		tmp = Float64(Float64(-z) / Float64(a / t));
      	end
      	return tmp
      end
      
      x, y, z, t, a = num2cell(sort([x, y, z, t, a])){:}
      function tmp_2 = code(x, y, z, t, a)
      	tmp = 0.0;
      	if ((t * z) <= -Inf)
      		tmp = (-z / a) * t;
      	elseif ((t * z) <= 2e+302)
      		tmp = ((x * y) - (t * z)) / a;
      	else
      		tmp = -z / (a / t);
      	end
      	tmp_2 = tmp;
      end
      
      NOTE: x, y, z, t, and a should be sorted in increasing order before calling this function.
      code[x_, y_, z_, t_, a_] := If[LessEqual[N[(t * z), $MachinePrecision], (-Infinity)], N[(N[((-z) / a), $MachinePrecision] * t), $MachinePrecision], If[LessEqual[N[(t * z), $MachinePrecision], 2e+302], N[(N[(N[(x * y), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision] / a), $MachinePrecision], N[((-z) / N[(a / t), $MachinePrecision]), $MachinePrecision]]]
      
      \begin{array}{l}
      [x, y, z, t, a] = \mathsf{sort}([x, y, z, t, a])\\
      \\
      \begin{array}{l}
      \mathbf{if}\;t \cdot z \leq -\infty:\\
      \;\;\;\;\frac{-z}{a} \cdot t\\
      
      \mathbf{elif}\;t \cdot z \leq 2 \cdot 10^{+302}:\\
      \;\;\;\;\frac{x \cdot y - t \cdot z}{a}\\
      
      \mathbf{else}:\\
      \;\;\;\;\frac{-z}{\frac{a}{t}}\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 3 regimes
      2. if (*.f64 z t) < -inf.0

        1. Initial program 57.2%

          \[\frac{x \cdot y - z \cdot t}{a} \]
        2. Add Preprocessing
        3. Taylor expanded in x around 0

          \[\leadsto \color{blue}{-1 \cdot \frac{t \cdot z}{a}} \]
        4. Step-by-step derivation
          1. *-commutativeN/A

            \[\leadsto -1 \cdot \frac{\color{blue}{z \cdot t}}{a} \]
          2. associate-*r/N/A

            \[\leadsto -1 \cdot \color{blue}{\left(z \cdot \frac{t}{a}\right)} \]
          3. associate-*r*N/A

            \[\leadsto \color{blue}{\left(-1 \cdot z\right) \cdot \frac{t}{a}} \]
          4. lower-*.f64N/A

            \[\leadsto \color{blue}{\left(-1 \cdot z\right) \cdot \frac{t}{a}} \]
          5. mul-1-negN/A

            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(z\right)\right)} \cdot \frac{t}{a} \]
          6. lower-neg.f64N/A

            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(z\right)\right)} \cdot \frac{t}{a} \]
          7. lower-/.f6499.7

            \[\leadsto \left(-z\right) \cdot \color{blue}{\frac{t}{a}} \]
        5. Applied rewrites99.7%

          \[\leadsto \color{blue}{\left(-z\right) \cdot \frac{t}{a}} \]
        6. Step-by-step derivation
          1. Applied rewrites99.7%

            \[\leadsto \frac{-z}{a} \cdot \color{blue}{t} \]

          if -inf.0 < (*.f64 z t) < 2.0000000000000002e302

          1. Initial program 97.3%

            \[\frac{x \cdot y - z \cdot t}{a} \]
          2. Add Preprocessing

          if 2.0000000000000002e302 < (*.f64 z t)

          1. Initial program 61.4%

            \[\frac{x \cdot y - z \cdot t}{a} \]
          2. Add Preprocessing
          3. Taylor expanded in x around 0

            \[\leadsto \color{blue}{-1 \cdot \frac{t \cdot z}{a}} \]
          4. Step-by-step derivation
            1. *-commutativeN/A

              \[\leadsto -1 \cdot \frac{\color{blue}{z \cdot t}}{a} \]
            2. associate-*r/N/A

              \[\leadsto -1 \cdot \color{blue}{\left(z \cdot \frac{t}{a}\right)} \]
            3. associate-*r*N/A

              \[\leadsto \color{blue}{\left(-1 \cdot z\right) \cdot \frac{t}{a}} \]
            4. lower-*.f64N/A

              \[\leadsto \color{blue}{\left(-1 \cdot z\right) \cdot \frac{t}{a}} \]
            5. mul-1-negN/A

              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(z\right)\right)} \cdot \frac{t}{a} \]
            6. lower-neg.f64N/A

              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(z\right)\right)} \cdot \frac{t}{a} \]
            7. lower-/.f6499.8

              \[\leadsto \left(-z\right) \cdot \color{blue}{\frac{t}{a}} \]
          5. Applied rewrites99.8%

            \[\leadsto \color{blue}{\left(-z\right) \cdot \frac{t}{a}} \]
          6. Step-by-step derivation
            1. Applied rewrites99.7%

              \[\leadsto \frac{-z}{\color{blue}{\frac{a}{t}}} \]
          7. Recombined 3 regimes into one program.
          8. Final simplification97.5%

            \[\leadsto \begin{array}{l} \mathbf{if}\;t \cdot z \leq -\infty:\\ \;\;\;\;\frac{-z}{a} \cdot t\\ \mathbf{elif}\;t \cdot z \leq 2 \cdot 10^{+302}:\\ \;\;\;\;\frac{x \cdot y - t \cdot z}{a}\\ \mathbf{else}:\\ \;\;\;\;\frac{-z}{\frac{a}{t}}\\ \end{array} \]
          9. Add Preprocessing

          Alternative 3: 74.6% accurate, 0.5× speedup?

          \[\begin{array}{l} [x, y, z, t, a] = \mathsf{sort}([x, y, z, t, a])\\ \\ \begin{array}{l} t_1 := \frac{t}{\frac{-a}{z}}\\ \mathbf{if}\;t \cdot z \leq -5 \cdot 10^{-24}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \cdot z \leq 500000000000:\\ \;\;\;\;\frac{x \cdot y}{a}\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
          NOTE: x, y, z, t, and a should be sorted in increasing order before calling this function.
          (FPCore (x y z t a)
           :precision binary64
           (let* ((t_1 (/ t (/ (- a) z))))
             (if (<= (* t z) -5e-24)
               t_1
               (if (<= (* t z) 500000000000.0) (/ (* x y) a) t_1))))
          assert(x < y && y < z && z < t && t < a);
          double code(double x, double y, double z, double t, double a) {
          	double t_1 = t / (-a / z);
          	double tmp;
          	if ((t * z) <= -5e-24) {
          		tmp = t_1;
          	} else if ((t * z) <= 500000000000.0) {
          		tmp = (x * y) / a;
          	} else {
          		tmp = t_1;
          	}
          	return tmp;
          }
          
          NOTE: x, y, z, t, and a should be sorted in increasing order before calling this function.
          real(8) function code(x, y, z, t, a)
              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) :: t_1
              real(8) :: tmp
              t_1 = t / (-a / z)
              if ((t * z) <= (-5d-24)) then
                  tmp = t_1
              else if ((t * z) <= 500000000000.0d0) then
                  tmp = (x * y) / a
              else
                  tmp = t_1
              end if
              code = tmp
          end function
          
          assert x < y && y < z && z < t && t < a;
          public static double code(double x, double y, double z, double t, double a) {
          	double t_1 = t / (-a / z);
          	double tmp;
          	if ((t * z) <= -5e-24) {
          		tmp = t_1;
          	} else if ((t * z) <= 500000000000.0) {
          		tmp = (x * y) / a;
          	} else {
          		tmp = t_1;
          	}
          	return tmp;
          }
          
          [x, y, z, t, a] = sort([x, y, z, t, a])
          def code(x, y, z, t, a):
          	t_1 = t / (-a / z)
          	tmp = 0
          	if (t * z) <= -5e-24:
          		tmp = t_1
          	elif (t * z) <= 500000000000.0:
          		tmp = (x * y) / a
          	else:
          		tmp = t_1
          	return tmp
          
          x, y, z, t, a = sort([x, y, z, t, a])
          function code(x, y, z, t, a)
          	t_1 = Float64(t / Float64(Float64(-a) / z))
          	tmp = 0.0
          	if (Float64(t * z) <= -5e-24)
          		tmp = t_1;
          	elseif (Float64(t * z) <= 500000000000.0)
          		tmp = Float64(Float64(x * y) / a);
          	else
          		tmp = t_1;
          	end
          	return tmp
          end
          
          x, y, z, t, a = num2cell(sort([x, y, z, t, a])){:}
          function tmp_2 = code(x, y, z, t, a)
          	t_1 = t / (-a / z);
          	tmp = 0.0;
          	if ((t * z) <= -5e-24)
          		tmp = t_1;
          	elseif ((t * z) <= 500000000000.0)
          		tmp = (x * y) / a;
          	else
          		tmp = t_1;
          	end
          	tmp_2 = tmp;
          end
          
          NOTE: x, y, z, t, and a should be sorted in increasing order before calling this function.
          code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(t / N[((-a) / z), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[N[(t * z), $MachinePrecision], -5e-24], t$95$1, If[LessEqual[N[(t * z), $MachinePrecision], 500000000000.0], N[(N[(x * y), $MachinePrecision] / a), $MachinePrecision], t$95$1]]]
          
          \begin{array}{l}
          [x, y, z, t, a] = \mathsf{sort}([x, y, z, t, a])\\
          \\
          \begin{array}{l}
          t_1 := \frac{t}{\frac{-a}{z}}\\
          \mathbf{if}\;t \cdot z \leq -5 \cdot 10^{-24}:\\
          \;\;\;\;t\_1\\
          
          \mathbf{elif}\;t \cdot z \leq 500000000000:\\
          \;\;\;\;\frac{x \cdot y}{a}\\
          
          \mathbf{else}:\\
          \;\;\;\;t\_1\\
          
          
          \end{array}
          \end{array}
          
          Derivation
          1. Split input into 2 regimes
          2. if (*.f64 z t) < -4.9999999999999998e-24 or 5e11 < (*.f64 z t)

            1. Initial program 89.9%

              \[\frac{x \cdot y - z \cdot t}{a} \]
            2. Add Preprocessing
            3. Taylor expanded in x around 0

              \[\leadsto \color{blue}{-1 \cdot \frac{t \cdot z}{a}} \]
            4. Step-by-step derivation
              1. *-commutativeN/A

                \[\leadsto -1 \cdot \frac{\color{blue}{z \cdot t}}{a} \]
              2. associate-*r/N/A

                \[\leadsto -1 \cdot \color{blue}{\left(z \cdot \frac{t}{a}\right)} \]
              3. associate-*r*N/A

                \[\leadsto \color{blue}{\left(-1 \cdot z\right) \cdot \frac{t}{a}} \]
              4. lower-*.f64N/A

                \[\leadsto \color{blue}{\left(-1 \cdot z\right) \cdot \frac{t}{a}} \]
              5. mul-1-negN/A

                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(z\right)\right)} \cdot \frac{t}{a} \]
              6. lower-neg.f64N/A

                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(z\right)\right)} \cdot \frac{t}{a} \]
              7. lower-/.f6474.6

                \[\leadsto \left(-z\right) \cdot \color{blue}{\frac{t}{a}} \]
            5. Applied rewrites74.6%

              \[\leadsto \color{blue}{\left(-z\right) \cdot \frac{t}{a}} \]
            6. Step-by-step derivation
              1. Applied rewrites76.7%

                \[\leadsto \frac{t}{\color{blue}{\frac{-a}{z}}} \]

              if -4.9999999999999998e-24 < (*.f64 z t) < 5e11

              1. Initial program 96.7%

                \[\frac{x \cdot y - z \cdot t}{a} \]
              2. Add Preprocessing
              3. Taylor expanded in x around inf

                \[\leadsto \frac{\color{blue}{x \cdot y}}{a} \]
              4. Step-by-step derivation
                1. *-commutativeN/A

                  \[\leadsto \frac{\color{blue}{y \cdot x}}{a} \]
                2. lower-*.f6486.8

                  \[\leadsto \frac{\color{blue}{y \cdot x}}{a} \]
              5. Applied rewrites86.8%

                \[\leadsto \frac{\color{blue}{y \cdot x}}{a} \]
            7. Recombined 2 regimes into one program.
            8. Final simplification81.5%

              \[\leadsto \begin{array}{l} \mathbf{if}\;t \cdot z \leq -5 \cdot 10^{-24}:\\ \;\;\;\;\frac{t}{\frac{-a}{z}}\\ \mathbf{elif}\;t \cdot z \leq 500000000000:\\ \;\;\;\;\frac{x \cdot y}{a}\\ \mathbf{else}:\\ \;\;\;\;\frac{t}{\frac{-a}{z}}\\ \end{array} \]
            9. Add Preprocessing

            Alternative 4: 93.0% accurate, 0.6× speedup?

            \[\begin{array}{l} [x, y, z, t, a] = \mathsf{sort}([x, y, z, t, a])\\ \\ \begin{array}{l} \mathbf{if}\;a \leq 6 \cdot 10^{-75}:\\ \;\;\;\;\frac{\mathsf{fma}\left(-z, t, x \cdot y\right)}{a}\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(\frac{y}{a}, x, \frac{-z}{a} \cdot t\right)\\ \end{array} \end{array} \]
            NOTE: x, y, z, t, and a should be sorted in increasing order before calling this function.
            (FPCore (x y z t a)
             :precision binary64
             (if (<= a 6e-75)
               (/ (fma (- z) t (* x y)) a)
               (fma (/ y a) x (* (/ (- z) a) t))))
            assert(x < y && y < z && z < t && t < a);
            double code(double x, double y, double z, double t, double a) {
            	double tmp;
            	if (a <= 6e-75) {
            		tmp = fma(-z, t, (x * y)) / a;
            	} else {
            		tmp = fma((y / a), x, ((-z / a) * t));
            	}
            	return tmp;
            }
            
            x, y, z, t, a = sort([x, y, z, t, a])
            function code(x, y, z, t, a)
            	tmp = 0.0
            	if (a <= 6e-75)
            		tmp = Float64(fma(Float64(-z), t, Float64(x * y)) / a);
            	else
            		tmp = fma(Float64(y / a), x, Float64(Float64(Float64(-z) / a) * t));
            	end
            	return tmp
            end
            
            NOTE: x, y, z, t, and a should be sorted in increasing order before calling this function.
            code[x_, y_, z_, t_, a_] := If[LessEqual[a, 6e-75], N[(N[((-z) * t + N[(x * y), $MachinePrecision]), $MachinePrecision] / a), $MachinePrecision], N[(N[(y / a), $MachinePrecision] * x + N[(N[((-z) / a), $MachinePrecision] * t), $MachinePrecision]), $MachinePrecision]]
            
            \begin{array}{l}
            [x, y, z, t, a] = \mathsf{sort}([x, y, z, t, a])\\
            \\
            \begin{array}{l}
            \mathbf{if}\;a \leq 6 \cdot 10^{-75}:\\
            \;\;\;\;\frac{\mathsf{fma}\left(-z, t, x \cdot y\right)}{a}\\
            
            \mathbf{else}:\\
            \;\;\;\;\mathsf{fma}\left(\frac{y}{a}, x, \frac{-z}{a} \cdot t\right)\\
            
            
            \end{array}
            \end{array}
            
            Derivation
            1. Split input into 2 regimes
            2. if a < 5.9999999999999997e-75

              1. Initial program 95.6%

                \[\frac{x \cdot y - z \cdot t}{a} \]
              2. Add Preprocessing
              3. Step-by-step derivation
                1. lift--.f64N/A

                  \[\leadsto \frac{\color{blue}{x \cdot y - z \cdot t}}{a} \]
                2. sub-negN/A

                  \[\leadsto \frac{\color{blue}{x \cdot y + \left(\mathsf{neg}\left(z \cdot t\right)\right)}}{a} \]
                3. +-commutativeN/A

                  \[\leadsto \frac{\color{blue}{\left(\mathsf{neg}\left(z \cdot t\right)\right) + x \cdot y}}{a} \]
                4. lift-*.f64N/A

                  \[\leadsto \frac{\left(\mathsf{neg}\left(\color{blue}{z \cdot t}\right)\right) + x \cdot y}{a} \]
                5. distribute-lft-neg-inN/A

                  \[\leadsto \frac{\color{blue}{\left(\mathsf{neg}\left(z\right)\right) \cdot t} + x \cdot y}{a} \]
                6. lower-fma.f64N/A

                  \[\leadsto \frac{\color{blue}{\mathsf{fma}\left(\mathsf{neg}\left(z\right), t, x \cdot y\right)}}{a} \]
                7. lower-neg.f6495.6

                  \[\leadsto \frac{\mathsf{fma}\left(\color{blue}{-z}, t, x \cdot y\right)}{a} \]
                8. lift-*.f64N/A

                  \[\leadsto \frac{\mathsf{fma}\left(\mathsf{neg}\left(z\right), t, \color{blue}{x \cdot y}\right)}{a} \]
                9. *-commutativeN/A

                  \[\leadsto \frac{\mathsf{fma}\left(\mathsf{neg}\left(z\right), t, \color{blue}{y \cdot x}\right)}{a} \]
                10. lower-*.f6495.6

                  \[\leadsto \frac{\mathsf{fma}\left(-z, t, \color{blue}{y \cdot x}\right)}{a} \]
              4. Applied rewrites95.6%

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

              if 5.9999999999999997e-75 < a

              1. Initial program 87.5%

                \[\frac{x \cdot y - z \cdot t}{a} \]
              2. Add Preprocessing
              3. Step-by-step derivation
                1. lift-/.f64N/A

                  \[\leadsto \color{blue}{\frac{x \cdot y - z \cdot t}{a}} \]
                2. lift--.f64N/A

                  \[\leadsto \frac{\color{blue}{x \cdot y - z \cdot t}}{a} \]
                3. div-subN/A

                  \[\leadsto \color{blue}{\frac{x \cdot y}{a} - \frac{z \cdot t}{a}} \]
                4. sub-negN/A

                  \[\leadsto \color{blue}{\frac{x \cdot y}{a} + \left(\mathsf{neg}\left(\frac{z \cdot t}{a}\right)\right)} \]
                5. lift-*.f64N/A

                  \[\leadsto \frac{\color{blue}{x \cdot y}}{a} + \left(\mathsf{neg}\left(\frac{z \cdot t}{a}\right)\right) \]
                6. associate-/l*N/A

                  \[\leadsto \color{blue}{x \cdot \frac{y}{a}} + \left(\mathsf{neg}\left(\frac{z \cdot t}{a}\right)\right) \]
                7. *-commutativeN/A

                  \[\leadsto \color{blue}{\frac{y}{a} \cdot x} + \left(\mathsf{neg}\left(\frac{z \cdot t}{a}\right)\right) \]
                8. lower-fma.f64N/A

                  \[\leadsto \color{blue}{\mathsf{fma}\left(\frac{y}{a}, x, \mathsf{neg}\left(\frac{z \cdot t}{a}\right)\right)} \]
                9. lower-/.f64N/A

                  \[\leadsto \mathsf{fma}\left(\color{blue}{\frac{y}{a}}, x, \mathsf{neg}\left(\frac{z \cdot t}{a}\right)\right) \]
                10. lift-*.f64N/A

                  \[\leadsto \mathsf{fma}\left(\frac{y}{a}, x, \mathsf{neg}\left(\frac{\color{blue}{z \cdot t}}{a}\right)\right) \]
                11. *-commutativeN/A

                  \[\leadsto \mathsf{fma}\left(\frac{y}{a}, x, \mathsf{neg}\left(\frac{\color{blue}{t \cdot z}}{a}\right)\right) \]
                12. associate-/l*N/A

                  \[\leadsto \mathsf{fma}\left(\frac{y}{a}, x, \mathsf{neg}\left(\color{blue}{t \cdot \frac{z}{a}}\right)\right) \]
                13. distribute-lft-neg-inN/A

                  \[\leadsto \mathsf{fma}\left(\frac{y}{a}, x, \color{blue}{\left(\mathsf{neg}\left(t\right)\right) \cdot \frac{z}{a}}\right) \]
                14. lower-*.f64N/A

                  \[\leadsto \mathsf{fma}\left(\frac{y}{a}, x, \color{blue}{\left(\mathsf{neg}\left(t\right)\right) \cdot \frac{z}{a}}\right) \]
                15. lower-neg.f64N/A

                  \[\leadsto \mathsf{fma}\left(\frac{y}{a}, x, \color{blue}{\left(\mathsf{neg}\left(t\right)\right)} \cdot \frac{z}{a}\right) \]
                16. lower-/.f6496.9

                  \[\leadsto \mathsf{fma}\left(\frac{y}{a}, x, \left(-t\right) \cdot \color{blue}{\frac{z}{a}}\right) \]
              4. Applied rewrites96.9%

                \[\leadsto \color{blue}{\mathsf{fma}\left(\frac{y}{a}, x, \left(-t\right) \cdot \frac{z}{a}\right)} \]
            3. Recombined 2 regimes into one program.
            4. Final simplification96.0%

              \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq 6 \cdot 10^{-75}:\\ \;\;\;\;\frac{\mathsf{fma}\left(-z, t, x \cdot y\right)}{a}\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(\frac{y}{a}, x, \frac{-z}{a} \cdot t\right)\\ \end{array} \]
            5. Add Preprocessing

            Alternative 5: 93.1% accurate, 0.6× speedup?

            \[\begin{array}{l} [x, y, z, t, a] = \mathsf{sort}([x, y, z, t, a])\\ \\ \begin{array}{l} \mathbf{if}\;a \leq 4 \cdot 10^{-75}:\\ \;\;\;\;\frac{\mathsf{fma}\left(-z, t, x \cdot y\right)}{a}\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(\frac{x}{a}, y, \frac{-z}{a} \cdot t\right)\\ \end{array} \end{array} \]
            NOTE: x, y, z, t, and a should be sorted in increasing order before calling this function.
            (FPCore (x y z t a)
             :precision binary64
             (if (<= a 4e-75)
               (/ (fma (- z) t (* x y)) a)
               (fma (/ x a) y (* (/ (- z) a) t))))
            assert(x < y && y < z && z < t && t < a);
            double code(double x, double y, double z, double t, double a) {
            	double tmp;
            	if (a <= 4e-75) {
            		tmp = fma(-z, t, (x * y)) / a;
            	} else {
            		tmp = fma((x / a), y, ((-z / a) * t));
            	}
            	return tmp;
            }
            
            x, y, z, t, a = sort([x, y, z, t, a])
            function code(x, y, z, t, a)
            	tmp = 0.0
            	if (a <= 4e-75)
            		tmp = Float64(fma(Float64(-z), t, Float64(x * y)) / a);
            	else
            		tmp = fma(Float64(x / a), y, Float64(Float64(Float64(-z) / a) * t));
            	end
            	return tmp
            end
            
            NOTE: x, y, z, t, and a should be sorted in increasing order before calling this function.
            code[x_, y_, z_, t_, a_] := If[LessEqual[a, 4e-75], N[(N[((-z) * t + N[(x * y), $MachinePrecision]), $MachinePrecision] / a), $MachinePrecision], N[(N[(x / a), $MachinePrecision] * y + N[(N[((-z) / a), $MachinePrecision] * t), $MachinePrecision]), $MachinePrecision]]
            
            \begin{array}{l}
            [x, y, z, t, a] = \mathsf{sort}([x, y, z, t, a])\\
            \\
            \begin{array}{l}
            \mathbf{if}\;a \leq 4 \cdot 10^{-75}:\\
            \;\;\;\;\frac{\mathsf{fma}\left(-z, t, x \cdot y\right)}{a}\\
            
            \mathbf{else}:\\
            \;\;\;\;\mathsf{fma}\left(\frac{x}{a}, y, \frac{-z}{a} \cdot t\right)\\
            
            
            \end{array}
            \end{array}
            
            Derivation
            1. Split input into 2 regimes
            2. if a < 3.9999999999999998e-75

              1. Initial program 95.6%

                \[\frac{x \cdot y - z \cdot t}{a} \]
              2. Add Preprocessing
              3. Step-by-step derivation
                1. lift--.f64N/A

                  \[\leadsto \frac{\color{blue}{x \cdot y - z \cdot t}}{a} \]
                2. sub-negN/A

                  \[\leadsto \frac{\color{blue}{x \cdot y + \left(\mathsf{neg}\left(z \cdot t\right)\right)}}{a} \]
                3. +-commutativeN/A

                  \[\leadsto \frac{\color{blue}{\left(\mathsf{neg}\left(z \cdot t\right)\right) + x \cdot y}}{a} \]
                4. lift-*.f64N/A

                  \[\leadsto \frac{\left(\mathsf{neg}\left(\color{blue}{z \cdot t}\right)\right) + x \cdot y}{a} \]
                5. distribute-lft-neg-inN/A

                  \[\leadsto \frac{\color{blue}{\left(\mathsf{neg}\left(z\right)\right) \cdot t} + x \cdot y}{a} \]
                6. lower-fma.f64N/A

                  \[\leadsto \frac{\color{blue}{\mathsf{fma}\left(\mathsf{neg}\left(z\right), t, x \cdot y\right)}}{a} \]
                7. lower-neg.f6495.6

                  \[\leadsto \frac{\mathsf{fma}\left(\color{blue}{-z}, t, x \cdot y\right)}{a} \]
                8. lift-*.f64N/A

                  \[\leadsto \frac{\mathsf{fma}\left(\mathsf{neg}\left(z\right), t, \color{blue}{x \cdot y}\right)}{a} \]
                9. *-commutativeN/A

                  \[\leadsto \frac{\mathsf{fma}\left(\mathsf{neg}\left(z\right), t, \color{blue}{y \cdot x}\right)}{a} \]
                10. lower-*.f6495.6

                  \[\leadsto \frac{\mathsf{fma}\left(-z, t, \color{blue}{y \cdot x}\right)}{a} \]
              4. Applied rewrites95.6%

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

              if 3.9999999999999998e-75 < a

              1. Initial program 87.5%

                \[\frac{x \cdot y - z \cdot t}{a} \]
              2. Add Preprocessing
              3. Step-by-step derivation
                1. lift-/.f64N/A

                  \[\leadsto \color{blue}{\frac{x \cdot y - z \cdot t}{a}} \]
                2. lift--.f64N/A

                  \[\leadsto \frac{\color{blue}{x \cdot y - z \cdot t}}{a} \]
                3. div-subN/A

                  \[\leadsto \color{blue}{\frac{x \cdot y}{a} - \frac{z \cdot t}{a}} \]
                4. sub-negN/A

                  \[\leadsto \color{blue}{\frac{x \cdot y}{a} + \left(\mathsf{neg}\left(\frac{z \cdot t}{a}\right)\right)} \]
                5. lift-*.f64N/A

                  \[\leadsto \frac{\color{blue}{x \cdot y}}{a} + \left(\mathsf{neg}\left(\frac{z \cdot t}{a}\right)\right) \]
                6. *-commutativeN/A

                  \[\leadsto \frac{\color{blue}{y \cdot x}}{a} + \left(\mathsf{neg}\left(\frac{z \cdot t}{a}\right)\right) \]
                7. associate-/l*N/A

                  \[\leadsto \color{blue}{y \cdot \frac{x}{a}} + \left(\mathsf{neg}\left(\frac{z \cdot t}{a}\right)\right) \]
                8. *-commutativeN/A

                  \[\leadsto \color{blue}{\frac{x}{a} \cdot y} + \left(\mathsf{neg}\left(\frac{z \cdot t}{a}\right)\right) \]
                9. lower-fma.f64N/A

                  \[\leadsto \color{blue}{\mathsf{fma}\left(\frac{x}{a}, y, \mathsf{neg}\left(\frac{z \cdot t}{a}\right)\right)} \]
                10. lower-/.f64N/A

                  \[\leadsto \mathsf{fma}\left(\color{blue}{\frac{x}{a}}, y, \mathsf{neg}\left(\frac{z \cdot t}{a}\right)\right) \]
                11. lift-*.f64N/A

                  \[\leadsto \mathsf{fma}\left(\frac{x}{a}, y, \mathsf{neg}\left(\frac{\color{blue}{z \cdot t}}{a}\right)\right) \]
                12. *-commutativeN/A

                  \[\leadsto \mathsf{fma}\left(\frac{x}{a}, y, \mathsf{neg}\left(\frac{\color{blue}{t \cdot z}}{a}\right)\right) \]
                13. associate-/l*N/A

                  \[\leadsto \mathsf{fma}\left(\frac{x}{a}, y, \mathsf{neg}\left(\color{blue}{t \cdot \frac{z}{a}}\right)\right) \]
                14. distribute-lft-neg-inN/A

                  \[\leadsto \mathsf{fma}\left(\frac{x}{a}, y, \color{blue}{\left(\mathsf{neg}\left(t\right)\right) \cdot \frac{z}{a}}\right) \]
                15. lower-*.f64N/A

                  \[\leadsto \mathsf{fma}\left(\frac{x}{a}, y, \color{blue}{\left(\mathsf{neg}\left(t\right)\right) \cdot \frac{z}{a}}\right) \]
                16. lower-neg.f64N/A

                  \[\leadsto \mathsf{fma}\left(\frac{x}{a}, y, \color{blue}{\left(\mathsf{neg}\left(t\right)\right)} \cdot \frac{z}{a}\right) \]
                17. lower-/.f6490.5

                  \[\leadsto \mathsf{fma}\left(\frac{x}{a}, y, \left(-t\right) \cdot \color{blue}{\frac{z}{a}}\right) \]
              4. Applied rewrites90.5%

                \[\leadsto \color{blue}{\mathsf{fma}\left(\frac{x}{a}, y, \left(-t\right) \cdot \frac{z}{a}\right)} \]
            3. Recombined 2 regimes into one program.
            4. Final simplification94.1%

              \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq 4 \cdot 10^{-75}:\\ \;\;\;\;\frac{\mathsf{fma}\left(-z, t, x \cdot y\right)}{a}\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(\frac{x}{a}, y, \frac{-z}{a} \cdot t\right)\\ \end{array} \]
            5. Add Preprocessing

            Alternative 6: 74.6% accurate, 0.6× speedup?

            \[\begin{array}{l} [x, y, z, t, a] = \mathsf{sort}([x, y, z, t, a])\\ \\ \begin{array}{l} t_1 := \frac{-z}{a} \cdot t\\ \mathbf{if}\;t \cdot z \leq -5 \cdot 10^{-24}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \cdot z \leq 500000000000:\\ \;\;\;\;\frac{x \cdot y}{a}\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
            NOTE: x, y, z, t, and a should be sorted in increasing order before calling this function.
            (FPCore (x y z t a)
             :precision binary64
             (let* ((t_1 (* (/ (- z) a) t)))
               (if (<= (* t z) -5e-24)
                 t_1
                 (if (<= (* t z) 500000000000.0) (/ (* x y) a) t_1))))
            assert(x < y && y < z && z < t && t < a);
            double code(double x, double y, double z, double t, double a) {
            	double t_1 = (-z / a) * t;
            	double tmp;
            	if ((t * z) <= -5e-24) {
            		tmp = t_1;
            	} else if ((t * z) <= 500000000000.0) {
            		tmp = (x * y) / a;
            	} else {
            		tmp = t_1;
            	}
            	return tmp;
            }
            
            NOTE: x, y, z, t, and a should be sorted in increasing order before calling this function.
            real(8) function code(x, y, z, t, a)
                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) :: t_1
                real(8) :: tmp
                t_1 = (-z / a) * t
                if ((t * z) <= (-5d-24)) then
                    tmp = t_1
                else if ((t * z) <= 500000000000.0d0) then
                    tmp = (x * y) / a
                else
                    tmp = t_1
                end if
                code = tmp
            end function
            
            assert x < y && y < z && z < t && t < a;
            public static double code(double x, double y, double z, double t, double a) {
            	double t_1 = (-z / a) * t;
            	double tmp;
            	if ((t * z) <= -5e-24) {
            		tmp = t_1;
            	} else if ((t * z) <= 500000000000.0) {
            		tmp = (x * y) / a;
            	} else {
            		tmp = t_1;
            	}
            	return tmp;
            }
            
            [x, y, z, t, a] = sort([x, y, z, t, a])
            def code(x, y, z, t, a):
            	t_1 = (-z / a) * t
            	tmp = 0
            	if (t * z) <= -5e-24:
            		tmp = t_1
            	elif (t * z) <= 500000000000.0:
            		tmp = (x * y) / a
            	else:
            		tmp = t_1
            	return tmp
            
            x, y, z, t, a = sort([x, y, z, t, a])
            function code(x, y, z, t, a)
            	t_1 = Float64(Float64(Float64(-z) / a) * t)
            	tmp = 0.0
            	if (Float64(t * z) <= -5e-24)
            		tmp = t_1;
            	elseif (Float64(t * z) <= 500000000000.0)
            		tmp = Float64(Float64(x * y) / a);
            	else
            		tmp = t_1;
            	end
            	return tmp
            end
            
            x, y, z, t, a = num2cell(sort([x, y, z, t, a])){:}
            function tmp_2 = code(x, y, z, t, a)
            	t_1 = (-z / a) * t;
            	tmp = 0.0;
            	if ((t * z) <= -5e-24)
            		tmp = t_1;
            	elseif ((t * z) <= 500000000000.0)
            		tmp = (x * y) / a;
            	else
            		tmp = t_1;
            	end
            	tmp_2 = tmp;
            end
            
            NOTE: x, y, z, t, and a should be sorted in increasing order before calling this function.
            code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(N[((-z) / a), $MachinePrecision] * t), $MachinePrecision]}, If[LessEqual[N[(t * z), $MachinePrecision], -5e-24], t$95$1, If[LessEqual[N[(t * z), $MachinePrecision], 500000000000.0], N[(N[(x * y), $MachinePrecision] / a), $MachinePrecision], t$95$1]]]
            
            \begin{array}{l}
            [x, y, z, t, a] = \mathsf{sort}([x, y, z, t, a])\\
            \\
            \begin{array}{l}
            t_1 := \frac{-z}{a} \cdot t\\
            \mathbf{if}\;t \cdot z \leq -5 \cdot 10^{-24}:\\
            \;\;\;\;t\_1\\
            
            \mathbf{elif}\;t \cdot z \leq 500000000000:\\
            \;\;\;\;\frac{x \cdot y}{a}\\
            
            \mathbf{else}:\\
            \;\;\;\;t\_1\\
            
            
            \end{array}
            \end{array}
            
            Derivation
            1. Split input into 2 regimes
            2. if (*.f64 z t) < -4.9999999999999998e-24 or 5e11 < (*.f64 z t)

              1. Initial program 89.9%

                \[\frac{x \cdot y - z \cdot t}{a} \]
              2. Add Preprocessing
              3. Taylor expanded in x around 0

                \[\leadsto \color{blue}{-1 \cdot \frac{t \cdot z}{a}} \]
              4. Step-by-step derivation
                1. *-commutativeN/A

                  \[\leadsto -1 \cdot \frac{\color{blue}{z \cdot t}}{a} \]
                2. associate-*r/N/A

                  \[\leadsto -1 \cdot \color{blue}{\left(z \cdot \frac{t}{a}\right)} \]
                3. associate-*r*N/A

                  \[\leadsto \color{blue}{\left(-1 \cdot z\right) \cdot \frac{t}{a}} \]
                4. lower-*.f64N/A

                  \[\leadsto \color{blue}{\left(-1 \cdot z\right) \cdot \frac{t}{a}} \]
                5. mul-1-negN/A

                  \[\leadsto \color{blue}{\left(\mathsf{neg}\left(z\right)\right)} \cdot \frac{t}{a} \]
                6. lower-neg.f64N/A

                  \[\leadsto \color{blue}{\left(\mathsf{neg}\left(z\right)\right)} \cdot \frac{t}{a} \]
                7. lower-/.f6474.6

                  \[\leadsto \left(-z\right) \cdot \color{blue}{\frac{t}{a}} \]
              5. Applied rewrites74.6%

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

                  \[\leadsto \frac{-z}{a} \cdot \color{blue}{t} \]

                if -4.9999999999999998e-24 < (*.f64 z t) < 5e11

                1. Initial program 96.7%

                  \[\frac{x \cdot y - z \cdot t}{a} \]
                2. Add Preprocessing
                3. Taylor expanded in x around inf

                  \[\leadsto \frac{\color{blue}{x \cdot y}}{a} \]
                4. Step-by-step derivation
                  1. *-commutativeN/A

                    \[\leadsto \frac{\color{blue}{y \cdot x}}{a} \]
                  2. lower-*.f6486.8

                    \[\leadsto \frac{\color{blue}{y \cdot x}}{a} \]
                5. Applied rewrites86.8%

                  \[\leadsto \frac{\color{blue}{y \cdot x}}{a} \]
              7. Recombined 2 regimes into one program.
              8. Final simplification81.8%

                \[\leadsto \begin{array}{l} \mathbf{if}\;t \cdot z \leq -5 \cdot 10^{-24}:\\ \;\;\;\;\frac{-z}{a} \cdot t\\ \mathbf{elif}\;t \cdot z \leq 500000000000:\\ \;\;\;\;\frac{x \cdot y}{a}\\ \mathbf{else}:\\ \;\;\;\;\frac{-z}{a} \cdot t\\ \end{array} \]
              9. Add Preprocessing

              Alternative 7: 74.7% accurate, 0.6× speedup?

              \[\begin{array}{l} [x, y, z, t, a] = \mathsf{sort}([x, y, z, t, a])\\ \\ \begin{array}{l} t_1 := \frac{-t}{a} \cdot z\\ \mathbf{if}\;t \cdot z \leq -5 \cdot 10^{-24}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \cdot z \leq 4 \cdot 10^{+38}:\\ \;\;\;\;\frac{x \cdot y}{a}\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
              NOTE: x, y, z, t, and a should be sorted in increasing order before calling this function.
              (FPCore (x y z t a)
               :precision binary64
               (let* ((t_1 (* (/ (- t) a) z)))
                 (if (<= (* t z) -5e-24) t_1 (if (<= (* t z) 4e+38) (/ (* x y) a) t_1))))
              assert(x < y && y < z && z < t && t < a);
              double code(double x, double y, double z, double t, double a) {
              	double t_1 = (-t / a) * z;
              	double tmp;
              	if ((t * z) <= -5e-24) {
              		tmp = t_1;
              	} else if ((t * z) <= 4e+38) {
              		tmp = (x * y) / a;
              	} else {
              		tmp = t_1;
              	}
              	return tmp;
              }
              
              NOTE: x, y, z, t, and a should be sorted in increasing order before calling this function.
              real(8) function code(x, y, z, t, a)
                  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) :: t_1
                  real(8) :: tmp
                  t_1 = (-t / a) * z
                  if ((t * z) <= (-5d-24)) then
                      tmp = t_1
                  else if ((t * z) <= 4d+38) then
                      tmp = (x * y) / a
                  else
                      tmp = t_1
                  end if
                  code = tmp
              end function
              
              assert x < y && y < z && z < t && t < a;
              public static double code(double x, double y, double z, double t, double a) {
              	double t_1 = (-t / a) * z;
              	double tmp;
              	if ((t * z) <= -5e-24) {
              		tmp = t_1;
              	} else if ((t * z) <= 4e+38) {
              		tmp = (x * y) / a;
              	} else {
              		tmp = t_1;
              	}
              	return tmp;
              }
              
              [x, y, z, t, a] = sort([x, y, z, t, a])
              def code(x, y, z, t, a):
              	t_1 = (-t / a) * z
              	tmp = 0
              	if (t * z) <= -5e-24:
              		tmp = t_1
              	elif (t * z) <= 4e+38:
              		tmp = (x * y) / a
              	else:
              		tmp = t_1
              	return tmp
              
              x, y, z, t, a = sort([x, y, z, t, a])
              function code(x, y, z, t, a)
              	t_1 = Float64(Float64(Float64(-t) / a) * z)
              	tmp = 0.0
              	if (Float64(t * z) <= -5e-24)
              		tmp = t_1;
              	elseif (Float64(t * z) <= 4e+38)
              		tmp = Float64(Float64(x * y) / a);
              	else
              		tmp = t_1;
              	end
              	return tmp
              end
              
              x, y, z, t, a = num2cell(sort([x, y, z, t, a])){:}
              function tmp_2 = code(x, y, z, t, a)
              	t_1 = (-t / a) * z;
              	tmp = 0.0;
              	if ((t * z) <= -5e-24)
              		tmp = t_1;
              	elseif ((t * z) <= 4e+38)
              		tmp = (x * y) / a;
              	else
              		tmp = t_1;
              	end
              	tmp_2 = tmp;
              end
              
              NOTE: x, y, z, t, and a should be sorted in increasing order before calling this function.
              code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(N[((-t) / a), $MachinePrecision] * z), $MachinePrecision]}, If[LessEqual[N[(t * z), $MachinePrecision], -5e-24], t$95$1, If[LessEqual[N[(t * z), $MachinePrecision], 4e+38], N[(N[(x * y), $MachinePrecision] / a), $MachinePrecision], t$95$1]]]
              
              \begin{array}{l}
              [x, y, z, t, a] = \mathsf{sort}([x, y, z, t, a])\\
              \\
              \begin{array}{l}
              t_1 := \frac{-t}{a} \cdot z\\
              \mathbf{if}\;t \cdot z \leq -5 \cdot 10^{-24}:\\
              \;\;\;\;t\_1\\
              
              \mathbf{elif}\;t \cdot z \leq 4 \cdot 10^{+38}:\\
              \;\;\;\;\frac{x \cdot y}{a}\\
              
              \mathbf{else}:\\
              \;\;\;\;t\_1\\
              
              
              \end{array}
              \end{array}
              
              Derivation
              1. Split input into 2 regimes
              2. if (*.f64 z t) < -4.9999999999999998e-24 or 3.99999999999999991e38 < (*.f64 z t)

                1. Initial program 89.7%

                  \[\frac{x \cdot y - z \cdot t}{a} \]
                2. Add Preprocessing
                3. Taylor expanded in x around 0

                  \[\leadsto \color{blue}{-1 \cdot \frac{t \cdot z}{a}} \]
                4. Step-by-step derivation
                  1. *-commutativeN/A

                    \[\leadsto -1 \cdot \frac{\color{blue}{z \cdot t}}{a} \]
                  2. associate-*r/N/A

                    \[\leadsto -1 \cdot \color{blue}{\left(z \cdot \frac{t}{a}\right)} \]
                  3. associate-*r*N/A

                    \[\leadsto \color{blue}{\left(-1 \cdot z\right) \cdot \frac{t}{a}} \]
                  4. lower-*.f64N/A

                    \[\leadsto \color{blue}{\left(-1 \cdot z\right) \cdot \frac{t}{a}} \]
                  5. mul-1-negN/A

                    \[\leadsto \color{blue}{\left(\mathsf{neg}\left(z\right)\right)} \cdot \frac{t}{a} \]
                  6. lower-neg.f64N/A

                    \[\leadsto \color{blue}{\left(\mathsf{neg}\left(z\right)\right)} \cdot \frac{t}{a} \]
                  7. lower-/.f6475.6

                    \[\leadsto \left(-z\right) \cdot \color{blue}{\frac{t}{a}} \]
                5. Applied rewrites75.6%

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

                if -4.9999999999999998e-24 < (*.f64 z t) < 3.99999999999999991e38

                1. Initial program 96.7%

                  \[\frac{x \cdot y - z \cdot t}{a} \]
                2. Add Preprocessing
                3. Taylor expanded in x around inf

                  \[\leadsto \frac{\color{blue}{x \cdot y}}{a} \]
                4. Step-by-step derivation
                  1. *-commutativeN/A

                    \[\leadsto \frac{\color{blue}{y \cdot x}}{a} \]
                  2. lower-*.f6486.2

                    \[\leadsto \frac{\color{blue}{y \cdot x}}{a} \]
                5. Applied rewrites86.2%

                  \[\leadsto \frac{\color{blue}{y \cdot x}}{a} \]
              3. Recombined 2 regimes into one program.
              4. Final simplification80.8%

                \[\leadsto \begin{array}{l} \mathbf{if}\;t \cdot z \leq -5 \cdot 10^{-24}:\\ \;\;\;\;\frac{-t}{a} \cdot z\\ \mathbf{elif}\;t \cdot z \leq 4 \cdot 10^{+38}:\\ \;\;\;\;\frac{x \cdot y}{a}\\ \mathbf{else}:\\ \;\;\;\;\frac{-t}{a} \cdot z\\ \end{array} \]
              5. Add Preprocessing

              Alternative 8: 50.9% accurate, 1.5× speedup?

              \[\begin{array}{l} [x, y, z, t, a] = \mathsf{sort}([x, y, z, t, a])\\ \\ \frac{x \cdot y}{a} \end{array} \]
              NOTE: x, y, z, t, and a should be sorted in increasing order before calling this function.
              (FPCore (x y z t a) :precision binary64 (/ (* x y) a))
              assert(x < y && y < z && z < t && t < a);
              double code(double x, double y, double z, double t, double a) {
              	return (x * y) / a;
              }
              
              NOTE: x, y, z, t, and a should be sorted in increasing order before calling this function.
              real(8) function code(x, y, z, t, a)
                  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
                  code = (x * y) / a
              end function
              
              assert x < y && y < z && z < t && t < a;
              public static double code(double x, double y, double z, double t, double a) {
              	return (x * y) / a;
              }
              
              [x, y, z, t, a] = sort([x, y, z, t, a])
              def code(x, y, z, t, a):
              	return (x * y) / a
              
              x, y, z, t, a = sort([x, y, z, t, a])
              function code(x, y, z, t, a)
              	return Float64(Float64(x * y) / a)
              end
              
              x, y, z, t, a = num2cell(sort([x, y, z, t, a])){:}
              function tmp = code(x, y, z, t, a)
              	tmp = (x * y) / a;
              end
              
              NOTE: x, y, z, t, and a should be sorted in increasing order before calling this function.
              code[x_, y_, z_, t_, a_] := N[(N[(x * y), $MachinePrecision] / a), $MachinePrecision]
              
              \begin{array}{l}
              [x, y, z, t, a] = \mathsf{sort}([x, y, z, t, a])\\
              \\
              \frac{x \cdot y}{a}
              \end{array}
              
              Derivation
              1. Initial program 93.2%

                \[\frac{x \cdot y - z \cdot t}{a} \]
              2. Add Preprocessing
              3. Taylor expanded in x around inf

                \[\leadsto \frac{\color{blue}{x \cdot y}}{a} \]
              4. Step-by-step derivation
                1. *-commutativeN/A

                  \[\leadsto \frac{\color{blue}{y \cdot x}}{a} \]
                2. lower-*.f6455.6

                  \[\leadsto \frac{\color{blue}{y \cdot x}}{a} \]
              5. Applied rewrites55.6%

                \[\leadsto \frac{\color{blue}{y \cdot x}}{a} \]
              6. Final simplification55.6%

                \[\leadsto \frac{x \cdot y}{a} \]
              7. Add Preprocessing

              Alternative 9: 52.1% accurate, 1.5× speedup?

              \[\begin{array}{l} [x, y, z, t, a] = \mathsf{sort}([x, y, z, t, a])\\ \\ \frac{y}{a} \cdot x \end{array} \]
              NOTE: x, y, z, t, and a should be sorted in increasing order before calling this function.
              (FPCore (x y z t a) :precision binary64 (* (/ y a) x))
              assert(x < y && y < z && z < t && t < a);
              double code(double x, double y, double z, double t, double a) {
              	return (y / a) * x;
              }
              
              NOTE: x, y, z, t, and a should be sorted in increasing order before calling this function.
              real(8) function code(x, y, z, t, a)
                  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
                  code = (y / a) * x
              end function
              
              assert x < y && y < z && z < t && t < a;
              public static double code(double x, double y, double z, double t, double a) {
              	return (y / a) * x;
              }
              
              [x, y, z, t, a] = sort([x, y, z, t, a])
              def code(x, y, z, t, a):
              	return (y / a) * x
              
              x, y, z, t, a = sort([x, y, z, t, a])
              function code(x, y, z, t, a)
              	return Float64(Float64(y / a) * x)
              end
              
              x, y, z, t, a = num2cell(sort([x, y, z, t, a])){:}
              function tmp = code(x, y, z, t, a)
              	tmp = (y / a) * x;
              end
              
              NOTE: x, y, z, t, and a should be sorted in increasing order before calling this function.
              code[x_, y_, z_, t_, a_] := N[(N[(y / a), $MachinePrecision] * x), $MachinePrecision]
              
              \begin{array}{l}
              [x, y, z, t, a] = \mathsf{sort}([x, y, z, t, a])\\
              \\
              \frac{y}{a} \cdot x
              \end{array}
              
              Derivation
              1. Initial program 93.2%

                \[\frac{x \cdot y - z \cdot t}{a} \]
              2. Add Preprocessing
              3. Taylor expanded in x around inf

                \[\leadsto \frac{\color{blue}{x \cdot y}}{a} \]
              4. Step-by-step derivation
                1. *-commutativeN/A

                  \[\leadsto \frac{\color{blue}{y \cdot x}}{a} \]
                2. lower-*.f6455.6

                  \[\leadsto \frac{\color{blue}{y \cdot x}}{a} \]
              5. Applied rewrites55.6%

                \[\leadsto \frac{\color{blue}{y \cdot x}}{a} \]
              6. Taylor expanded in x around inf

                \[\leadsto \color{blue}{x \cdot \left(-1 \cdot \frac{t \cdot z}{a \cdot x} + \frac{y}{a}\right)} \]
              7. Step-by-step derivation
                1. *-commutativeN/A

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

                  \[\leadsto \color{blue}{\left(-1 \cdot \frac{t \cdot z}{a \cdot x} + \frac{y}{a}\right) \cdot x} \]
                3. associate-/l*N/A

                  \[\leadsto \left(-1 \cdot \color{blue}{\left(t \cdot \frac{z}{a \cdot x}\right)} + \frac{y}{a}\right) \cdot x \]
                4. associate-*r*N/A

                  \[\leadsto \left(\color{blue}{\left(-1 \cdot t\right) \cdot \frac{z}{a \cdot x}} + \frac{y}{a}\right) \cdot x \]
                5. lower-fma.f64N/A

                  \[\leadsto \color{blue}{\mathsf{fma}\left(-1 \cdot t, \frac{z}{a \cdot x}, \frac{y}{a}\right)} \cdot x \]
                6. mul-1-negN/A

                  \[\leadsto \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(t\right)}, \frac{z}{a \cdot x}, \frac{y}{a}\right) \cdot x \]
                7. lower-neg.f64N/A

                  \[\leadsto \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(t\right)}, \frac{z}{a \cdot x}, \frac{y}{a}\right) \cdot x \]
                8. lower-/.f64N/A

                  \[\leadsto \mathsf{fma}\left(\mathsf{neg}\left(t\right), \color{blue}{\frac{z}{a \cdot x}}, \frac{y}{a}\right) \cdot x \]
                9. lower-*.f64N/A

                  \[\leadsto \mathsf{fma}\left(\mathsf{neg}\left(t\right), \frac{z}{\color{blue}{a \cdot x}}, \frac{y}{a}\right) \cdot x \]
                10. lower-/.f6481.0

                  \[\leadsto \mathsf{fma}\left(-t, \frac{z}{a \cdot x}, \color{blue}{\frac{y}{a}}\right) \cdot x \]
              8. Applied rewrites81.0%

                \[\leadsto \color{blue}{\mathsf{fma}\left(-t, \frac{z}{a \cdot x}, \frac{y}{a}\right) \cdot x} \]
              9. Taylor expanded in t around 0

                \[\leadsto \frac{y}{a} \cdot x \]
              10. Step-by-step derivation
                1. Applied rewrites55.9%

                  \[\leadsto \frac{y}{a} \cdot x \]
                2. Add Preprocessing

                Developer Target 1: 91.7% accurate, 0.5× speedup?

                \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{y}{a} \cdot x - \frac{t}{a} \cdot z\\ \mathbf{if}\;z < -2.468684968699548 \cdot 10^{+170}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z < 6.309831121978371 \cdot 10^{-71}:\\ \;\;\;\;\frac{x \cdot y - z \cdot t}{a}\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                (FPCore (x y z t a)
                 :precision binary64
                 (let* ((t_1 (- (* (/ y a) x) (* (/ t a) z))))
                   (if (< z -2.468684968699548e+170)
                     t_1
                     (if (< z 6.309831121978371e-71) (/ (- (* x y) (* z t)) a) t_1))))
                double code(double x, double y, double z, double t, double a) {
                	double t_1 = ((y / a) * x) - ((t / a) * z);
                	double tmp;
                	if (z < -2.468684968699548e+170) {
                		tmp = t_1;
                	} else if (z < 6.309831121978371e-71) {
                		tmp = ((x * y) - (z * t)) / a;
                	} else {
                		tmp = t_1;
                	}
                	return tmp;
                }
                
                real(8) function code(x, y, z, t, a)
                    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) :: t_1
                    real(8) :: tmp
                    t_1 = ((y / a) * x) - ((t / a) * z)
                    if (z < (-2.468684968699548d+170)) then
                        tmp = t_1
                    else if (z < 6.309831121978371d-71) then
                        tmp = ((x * y) - (z * t)) / a
                    else
                        tmp = t_1
                    end if
                    code = tmp
                end function
                
                public static double code(double x, double y, double z, double t, double a) {
                	double t_1 = ((y / a) * x) - ((t / a) * z);
                	double tmp;
                	if (z < -2.468684968699548e+170) {
                		tmp = t_1;
                	} else if (z < 6.309831121978371e-71) {
                		tmp = ((x * y) - (z * t)) / a;
                	} else {
                		tmp = t_1;
                	}
                	return tmp;
                }
                
                def code(x, y, z, t, a):
                	t_1 = ((y / a) * x) - ((t / a) * z)
                	tmp = 0
                	if z < -2.468684968699548e+170:
                		tmp = t_1
                	elif z < 6.309831121978371e-71:
                		tmp = ((x * y) - (z * t)) / a
                	else:
                		tmp = t_1
                	return tmp
                
                function code(x, y, z, t, a)
                	t_1 = Float64(Float64(Float64(y / a) * x) - Float64(Float64(t / a) * z))
                	tmp = 0.0
                	if (z < -2.468684968699548e+170)
                		tmp = t_1;
                	elseif (z < 6.309831121978371e-71)
                		tmp = Float64(Float64(Float64(x * y) - Float64(z * t)) / a);
                	else
                		tmp = t_1;
                	end
                	return tmp
                end
                
                function tmp_2 = code(x, y, z, t, a)
                	t_1 = ((y / a) * x) - ((t / a) * z);
                	tmp = 0.0;
                	if (z < -2.468684968699548e+170)
                		tmp = t_1;
                	elseif (z < 6.309831121978371e-71)
                		tmp = ((x * y) - (z * t)) / a;
                	else
                		tmp = t_1;
                	end
                	tmp_2 = tmp;
                end
                
                code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(N[(N[(y / a), $MachinePrecision] * x), $MachinePrecision] - N[(N[(t / a), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision]}, If[Less[z, -2.468684968699548e+170], t$95$1, If[Less[z, 6.309831121978371e-71], N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] / a), $MachinePrecision], t$95$1]]]
                
                \begin{array}{l}
                
                \\
                \begin{array}{l}
                t_1 := \frac{y}{a} \cdot x - \frac{t}{a} \cdot z\\
                \mathbf{if}\;z < -2.468684968699548 \cdot 10^{+170}:\\
                \;\;\;\;t\_1\\
                
                \mathbf{elif}\;z < 6.309831121978371 \cdot 10^{-71}:\\
                \;\;\;\;\frac{x \cdot y - z \cdot t}{a}\\
                
                \mathbf{else}:\\
                \;\;\;\;t\_1\\
                
                
                \end{array}
                \end{array}
                

                Reproduce

                ?
                herbie shell --seed 2024235 
                (FPCore (x y z t a)
                  :name "Data.Colour.Matrix:inverse from colour-2.3.3, B"
                  :precision binary64
                
                  :alt
                  (! :herbie-platform default (if (< z -246868496869954800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (- (* (/ y a) x) (* (/ t a) z)) (if (< z 6309831121978371/100000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (/ (- (* x y) (* z t)) a) (- (* (/ y a) x) (* (/ t a) z)))))
                
                  (/ (- (* x y) (* z t)) a))