Numeric.SpecFunctions:logGamma from math-functions-0.1.5.2

Percentage Accurate: 56.8% → 83.7%
Time: 16.2s
Alternatives: 13
Speedup: 1.8×

Specification

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

\\
\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}
\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 13 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: 56.8% accurate, 1.0× speedup?

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

\\
\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}
\end{array}

Alternative 1: 83.7% accurate, 0.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)\\ t_2 := \frac{z - a \cdot x}{y} + x\\ \mathbf{if}\;y \leq -2.2 \cdot 10^{+67}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y \leq 5.4 \cdot 10^{+76}:\\ \;\;\;\;\mathsf{fma}\left(\frac{y}{t\_1} \cdot y, \left(x \cdot y\right) \cdot y, \frac{\mathsf{fma}\left(\mathsf{fma}\left(z, y, 27464.7644705\right), y, 230661.510616\right) \cdot y}{t\_1} + \frac{t}{t\_1}\right)\\ \mathbf{else}:\\ \;\;\;\;t\_2\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i)
 :precision binary64
 (let* ((t_1 (fma (fma (fma (+ a y) y b) y c) y i))
        (t_2 (+ (/ (- z (* a x)) y) x)))
   (if (<= y -2.2e+67)
     t_2
     (if (<= y 5.4e+76)
       (fma
        (* (/ y t_1) y)
        (* (* x y) y)
        (+
         (/ (* (fma (fma z y 27464.7644705) y 230661.510616) y) t_1)
         (/ t t_1)))
       t_2))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
	double t_1 = fma(fma(fma((a + y), y, b), y, c), y, i);
	double t_2 = ((z - (a * x)) / y) + x;
	double tmp;
	if (y <= -2.2e+67) {
		tmp = t_2;
	} else if (y <= 5.4e+76) {
		tmp = fma(((y / t_1) * y), ((x * y) * y), (((fma(fma(z, y, 27464.7644705), y, 230661.510616) * y) / t_1) + (t / t_1)));
	} else {
		tmp = t_2;
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i)
	t_1 = fma(fma(fma(Float64(a + y), y, b), y, c), y, i)
	t_2 = Float64(Float64(Float64(z - Float64(a * x)) / y) + x)
	tmp = 0.0
	if (y <= -2.2e+67)
		tmp = t_2;
	elseif (y <= 5.4e+76)
		tmp = fma(Float64(Float64(y / t_1) * y), Float64(Float64(x * y) * y), Float64(Float64(Float64(fma(fma(z, y, 27464.7644705), y, 230661.510616) * y) / t_1) + Float64(t / t_1)));
	else
		tmp = t_2;
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(N[(N[(N[(a + y), $MachinePrecision] * y + b), $MachinePrecision] * y + c), $MachinePrecision] * y + i), $MachinePrecision]}, Block[{t$95$2 = N[(N[(N[(z - N[(a * x), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision] + x), $MachinePrecision]}, If[LessEqual[y, -2.2e+67], t$95$2, If[LessEqual[y, 5.4e+76], N[(N[(N[(y / t$95$1), $MachinePrecision] * y), $MachinePrecision] * N[(N[(x * y), $MachinePrecision] * y), $MachinePrecision] + N[(N[(N[(N[(N[(z * y + 27464.7644705), $MachinePrecision] * y + 230661.510616), $MachinePrecision] * y), $MachinePrecision] / t$95$1), $MachinePrecision] + N[(t / t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$2]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)\\
t_2 := \frac{z - a \cdot x}{y} + x\\
\mathbf{if}\;y \leq -2.2 \cdot 10^{+67}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;y \leq 5.4 \cdot 10^{+76}:\\
\;\;\;\;\mathsf{fma}\left(\frac{y}{t\_1} \cdot y, \left(x \cdot y\right) \cdot y, \frac{\mathsf{fma}\left(\mathsf{fma}\left(z, y, 27464.7644705\right), y, 230661.510616\right) \cdot y}{t\_1} + \frac{t}{t\_1}\right)\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if y < -2.2e67 or 5.3999999999999998e76 < y

    1. Initial program 0.5%

      \[\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
    2. Add Preprocessing
    3. Taylor expanded in t around 0

      \[\leadsto \color{blue}{\frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
    4. Step-by-step derivation
      1. +-commutativeN/A

        \[\leadsto \color{blue}{\frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
      2. associate-/l*N/A

        \[\leadsto \color{blue}{y \cdot \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
      3. lower-fma.f64N/A

        \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}, \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\right)} \]
    5. Applied rewrites0.8%

      \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(x, y, z\right), y, 27464.7644705\right), y, 230661.510616\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}, \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\right)} \]
    6. Taylor expanded in y around inf

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

        \[\leadsto \color{blue}{x + \left(\frac{z}{y} - \frac{a \cdot x}{y}\right)} \]
      2. div-subN/A

        \[\leadsto x + \color{blue}{\frac{z - a \cdot x}{y}} \]
      3. lower-+.f64N/A

        \[\leadsto \color{blue}{x + \frac{z - a \cdot x}{y}} \]
      4. lower-/.f64N/A

        \[\leadsto x + \color{blue}{\frac{z - a \cdot x}{y}} \]
      5. lower--.f64N/A

        \[\leadsto x + \frac{\color{blue}{z - a \cdot x}}{y} \]
      6. lower-*.f6473.7

        \[\leadsto x + \frac{z - \color{blue}{a \cdot x}}{y} \]
    8. Applied rewrites73.7%

      \[\leadsto \color{blue}{x + \frac{z - a \cdot x}{y}} \]

    if -2.2e67 < y < 5.3999999999999998e76

    1. Initial program 88.9%

      \[\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
    2. Add Preprocessing
    3. Taylor expanded in x around 0

      \[\leadsto \color{blue}{\frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \left(\frac{x \cdot {y}^{4}}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot z\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\right)} \]
    4. Step-by-step derivation
      1. +-commutativeN/A

        \[\leadsto \color{blue}{\left(\frac{x \cdot {y}^{4}}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot z\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\right) + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
      2. +-commutativeN/A

        \[\leadsto \color{blue}{\left(\frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot z\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{x \cdot {y}^{4}}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\right)} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
      3. associate-+l+N/A

        \[\leadsto \color{blue}{\frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot z\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \left(\frac{x \cdot {y}^{4}}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\right)} \]
    5. Applied rewrites90.5%

      \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{\mathsf{fma}\left(\mathsf{fma}\left(z, y, 27464.7644705\right), y, 230661.510616\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}, \mathsf{fma}\left(x, \frac{{y}^{4}}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}, \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\right)\right)} \]
    6. Step-by-step derivation
      1. Applied rewrites90.4%

        \[\leadsto \mathsf{fma}\left(y, \frac{\mathsf{fma}\left(\mathsf{fma}\left(z, y, 27464.7644705\right), y, 230661.510616\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}, \mathsf{fma}\left(x, \left(y \cdot y\right) \cdot \frac{y \cdot y}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}, \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\right)\right) \]
      2. Step-by-step derivation
        1. Applied rewrites90.6%

          \[\leadsto \mathsf{fma}\left(\frac{y}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)} \cdot y, \color{blue}{\left(x \cdot y\right) \cdot y}, \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)} + \frac{\mathsf{fma}\left(\mathsf{fma}\left(z, y, 27464.7644705\right), y, 230661.510616\right) \cdot y}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\right) \]
      3. Recombined 2 regimes into one program.
      4. Final simplification83.8%

        \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -2.2 \cdot 10^{+67}:\\ \;\;\;\;\frac{z - a \cdot x}{y} + x\\ \mathbf{elif}\;y \leq 5.4 \cdot 10^{+76}:\\ \;\;\;\;\mathsf{fma}\left(\frac{y}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)} \cdot y, \left(x \cdot y\right) \cdot y, \frac{\mathsf{fma}\left(\mathsf{fma}\left(z, y, 27464.7644705\right), y, 230661.510616\right) \cdot y}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)} + \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\right)\\ \mathbf{else}:\\ \;\;\;\;\frac{z - a \cdot x}{y} + x\\ \end{array} \]
      5. Add Preprocessing

      Alternative 2: 83.9% accurate, 0.7× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{z - a \cdot x}{y} + x\\ t_2 := \mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)\\ \mathbf{if}\;y \leq -8.4 \cdot 10^{+55}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq 5.4 \cdot 10^{+76}:\\ \;\;\;\;\mathsf{fma}\left(y, \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(x, y, z\right), y, 27464.7644705\right), y, 230661.510616\right)}{t\_2}, \frac{t}{t\_2}\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
      (FPCore (x y z t a b c i)
       :precision binary64
       (let* ((t_1 (+ (/ (- z (* a x)) y) x))
              (t_2 (fma (fma (fma (+ a y) y b) y c) y i)))
         (if (<= y -8.4e+55)
           t_1
           (if (<= y 5.4e+76)
             (fma
              y
              (/ (fma (fma (fma x y z) y 27464.7644705) y 230661.510616) t_2)
              (/ t t_2))
             t_1))))
      double code(double x, double y, double z, double t, double a, double b, double c, double i) {
      	double t_1 = ((z - (a * x)) / y) + x;
      	double t_2 = fma(fma(fma((a + y), y, b), y, c), y, i);
      	double tmp;
      	if (y <= -8.4e+55) {
      		tmp = t_1;
      	} else if (y <= 5.4e+76) {
      		tmp = fma(y, (fma(fma(fma(x, y, z), y, 27464.7644705), y, 230661.510616) / t_2), (t / t_2));
      	} else {
      		tmp = t_1;
      	}
      	return tmp;
      }
      
      function code(x, y, z, t, a, b, c, i)
      	t_1 = Float64(Float64(Float64(z - Float64(a * x)) / y) + x)
      	t_2 = fma(fma(fma(Float64(a + y), y, b), y, c), y, i)
      	tmp = 0.0
      	if (y <= -8.4e+55)
      		tmp = t_1;
      	elseif (y <= 5.4e+76)
      		tmp = fma(y, Float64(fma(fma(fma(x, y, z), y, 27464.7644705), y, 230661.510616) / t_2), Float64(t / t_2));
      	else
      		tmp = t_1;
      	end
      	return tmp
      end
      
      code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(N[(N[(z - N[(a * x), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision] + x), $MachinePrecision]}, Block[{t$95$2 = N[(N[(N[(N[(a + y), $MachinePrecision] * y + b), $MachinePrecision] * y + c), $MachinePrecision] * y + i), $MachinePrecision]}, If[LessEqual[y, -8.4e+55], t$95$1, If[LessEqual[y, 5.4e+76], N[(y * N[(N[(N[(N[(x * y + z), $MachinePrecision] * y + 27464.7644705), $MachinePrecision] * y + 230661.510616), $MachinePrecision] / t$95$2), $MachinePrecision] + N[(t / t$95$2), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      t_1 := \frac{z - a \cdot x}{y} + x\\
      t_2 := \mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)\\
      \mathbf{if}\;y \leq -8.4 \cdot 10^{+55}:\\
      \;\;\;\;t\_1\\
      
      \mathbf{elif}\;y \leq 5.4 \cdot 10^{+76}:\\
      \;\;\;\;\mathsf{fma}\left(y, \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(x, y, z\right), y, 27464.7644705\right), y, 230661.510616\right)}{t\_2}, \frac{t}{t\_2}\right)\\
      
      \mathbf{else}:\\
      \;\;\;\;t\_1\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 2 regimes
      2. if y < -8.4000000000000002e55 or 5.3999999999999998e76 < y

        1. Initial program 2.5%

          \[\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
        2. Add Preprocessing
        3. Taylor expanded in t around 0

          \[\leadsto \color{blue}{\frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
        4. Step-by-step derivation
          1. +-commutativeN/A

            \[\leadsto \color{blue}{\frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
          2. associate-/l*N/A

            \[\leadsto \color{blue}{y \cdot \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
          3. lower-fma.f64N/A

            \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}, \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\right)} \]
        5. Applied rewrites2.7%

          \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(x, y, z\right), y, 27464.7644705\right), y, 230661.510616\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}, \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\right)} \]
        6. Taylor expanded in y around inf

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

            \[\leadsto \color{blue}{x + \left(\frac{z}{y} - \frac{a \cdot x}{y}\right)} \]
          2. div-subN/A

            \[\leadsto x + \color{blue}{\frac{z - a \cdot x}{y}} \]
          3. lower-+.f64N/A

            \[\leadsto \color{blue}{x + \frac{z - a \cdot x}{y}} \]
          4. lower-/.f64N/A

            \[\leadsto x + \color{blue}{\frac{z - a \cdot x}{y}} \]
          5. lower--.f64N/A

            \[\leadsto x + \frac{\color{blue}{z - a \cdot x}}{y} \]
          6. lower-*.f6472.9

            \[\leadsto x + \frac{z - \color{blue}{a \cdot x}}{y} \]
        8. Applied rewrites72.9%

          \[\leadsto \color{blue}{x + \frac{z - a \cdot x}{y}} \]

        if -8.4000000000000002e55 < y < 5.3999999999999998e76

        1. Initial program 90.5%

          \[\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
        2. Add Preprocessing
        3. Taylor expanded in t around 0

          \[\leadsto \color{blue}{\frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
        4. Step-by-step derivation
          1. +-commutativeN/A

            \[\leadsto \color{blue}{\frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
          2. associate-/l*N/A

            \[\leadsto \color{blue}{y \cdot \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
          3. lower-fma.f64N/A

            \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}, \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\right)} \]
        5. Applied rewrites91.7%

          \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(x, y, z\right), y, 27464.7644705\right), y, 230661.510616\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}, \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\right)} \]
      3. Recombined 2 regimes into one program.
      4. Final simplification83.8%

        \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -8.4 \cdot 10^{+55}:\\ \;\;\;\;\frac{z - a \cdot x}{y} + x\\ \mathbf{elif}\;y \leq 5.4 \cdot 10^{+76}:\\ \;\;\;\;\mathsf{fma}\left(y, \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(x, y, z\right), y, 27464.7644705\right), y, 230661.510616\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}, \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\right)\\ \mathbf{else}:\\ \;\;\;\;\frac{z - a \cdot x}{y} + x\\ \end{array} \]
      5. Add Preprocessing

      Alternative 3: 83.3% accurate, 0.9× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{z - a \cdot x}{y} + x\\ \mathbf{if}\;y \leq -9.2 \cdot 10^{+52}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq 5.4 \cdot 10^{+76}:\\ \;\;\;\;\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(a + y\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
      (FPCore (x y z t a b c i)
       :precision binary64
       (let* ((t_1 (+ (/ (- z (* a x)) y) x)))
         (if (<= y -9.2e+52)
           t_1
           (if (<= y 5.4e+76)
             (/
              (+
               (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y)
               t)
              (+ (* (+ (* (+ (* (+ a y) y) b) y) c) y) i))
             t_1))))
      double code(double x, double y, double z, double t, double a, double b, double c, double i) {
      	double t_1 = ((z - (a * x)) / y) + x;
      	double tmp;
      	if (y <= -9.2e+52) {
      		tmp = t_1;
      	} else if (y <= 5.4e+76) {
      		tmp = ((((((((x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((a + y) * y) + b) * y) + c) * y) + i);
      	} else {
      		tmp = t_1;
      	}
      	return tmp;
      }
      
      real(8) function code(x, y, z, t, a, b, c, i)
          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) :: t_1
          real(8) :: tmp
          t_1 = ((z - (a * x)) / y) + x
          if (y <= (-9.2d+52)) then
              tmp = t_1
          else if (y <= 5.4d+76) then
              tmp = ((((((((x * y) + z) * y) + 27464.7644705d0) * y) + 230661.510616d0) * y) + t) / (((((((a + y) * y) + b) * y) + c) * y) + i)
          else
              tmp = t_1
          end if
          code = tmp
      end function
      
      public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
      	double t_1 = ((z - (a * x)) / y) + x;
      	double tmp;
      	if (y <= -9.2e+52) {
      		tmp = t_1;
      	} else if (y <= 5.4e+76) {
      		tmp = ((((((((x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((a + y) * y) + b) * y) + c) * y) + i);
      	} else {
      		tmp = t_1;
      	}
      	return tmp;
      }
      
      def code(x, y, z, t, a, b, c, i):
      	t_1 = ((z - (a * x)) / y) + x
      	tmp = 0
      	if y <= -9.2e+52:
      		tmp = t_1
      	elif y <= 5.4e+76:
      		tmp = ((((((((x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((a + y) * y) + b) * y) + c) * y) + i)
      	else:
      		tmp = t_1
      	return tmp
      
      function code(x, y, z, t, a, b, c, i)
      	t_1 = Float64(Float64(Float64(z - Float64(a * x)) / y) + x)
      	tmp = 0.0
      	if (y <= -9.2e+52)
      		tmp = t_1;
      	elseif (y <= 5.4e+76)
      		tmp = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / Float64(Float64(Float64(Float64(Float64(Float64(Float64(a + y) * y) + b) * y) + c) * y) + i));
      	else
      		tmp = t_1;
      	end
      	return tmp
      end
      
      function tmp_2 = code(x, y, z, t, a, b, c, i)
      	t_1 = ((z - (a * x)) / y) + x;
      	tmp = 0.0;
      	if (y <= -9.2e+52)
      		tmp = t_1;
      	elseif (y <= 5.4e+76)
      		tmp = ((((((((x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((a + y) * y) + b) * y) + c) * y) + i);
      	else
      		tmp = t_1;
      	end
      	tmp_2 = tmp;
      end
      
      code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(N[(N[(z - N[(a * x), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision] + x), $MachinePrecision]}, If[LessEqual[y, -9.2e+52], t$95$1, If[LessEqual[y, 5.4e+76], N[(N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] + z), $MachinePrecision] * y), $MachinePrecision] + 27464.7644705), $MachinePrecision] * y), $MachinePrecision] + 230661.510616), $MachinePrecision] * y), $MachinePrecision] + t), $MachinePrecision] / N[(N[(N[(N[(N[(N[(N[(a + y), $MachinePrecision] * y), $MachinePrecision] + b), $MachinePrecision] * y), $MachinePrecision] + c), $MachinePrecision] * y), $MachinePrecision] + i), $MachinePrecision]), $MachinePrecision], t$95$1]]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      t_1 := \frac{z - a \cdot x}{y} + x\\
      \mathbf{if}\;y \leq -9.2 \cdot 10^{+52}:\\
      \;\;\;\;t\_1\\
      
      \mathbf{elif}\;y \leq 5.4 \cdot 10^{+76}:\\
      \;\;\;\;\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(a + y\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}\\
      
      \mathbf{else}:\\
      \;\;\;\;t\_1\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 2 regimes
      2. if y < -9.1999999999999999e52 or 5.3999999999999998e76 < y

        1. Initial program 2.5%

          \[\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
        2. Add Preprocessing
        3. Taylor expanded in t around 0

          \[\leadsto \color{blue}{\frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
        4. Step-by-step derivation
          1. +-commutativeN/A

            \[\leadsto \color{blue}{\frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
          2. associate-/l*N/A

            \[\leadsto \color{blue}{y \cdot \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
          3. lower-fma.f64N/A

            \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}, \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\right)} \]
        5. Applied rewrites2.7%

          \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(x, y, z\right), y, 27464.7644705\right), y, 230661.510616\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}, \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\right)} \]
        6. Taylor expanded in y around inf

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

            \[\leadsto \color{blue}{x + \left(\frac{z}{y} - \frac{a \cdot x}{y}\right)} \]
          2. div-subN/A

            \[\leadsto x + \color{blue}{\frac{z - a \cdot x}{y}} \]
          3. lower-+.f64N/A

            \[\leadsto \color{blue}{x + \frac{z - a \cdot x}{y}} \]
          4. lower-/.f64N/A

            \[\leadsto x + \color{blue}{\frac{z - a \cdot x}{y}} \]
          5. lower--.f64N/A

            \[\leadsto x + \frac{\color{blue}{z - a \cdot x}}{y} \]
          6. lower-*.f6472.9

            \[\leadsto x + \frac{z - \color{blue}{a \cdot x}}{y} \]
        8. Applied rewrites72.9%

          \[\leadsto \color{blue}{x + \frac{z - a \cdot x}{y}} \]

        if -9.1999999999999999e52 < y < 5.3999999999999998e76

        1. Initial program 90.5%

          \[\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
        2. Add Preprocessing
      3. Recombined 2 regimes into one program.
      4. Final simplification83.0%

        \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -9.2 \cdot 10^{+52}:\\ \;\;\;\;\frac{z - a \cdot x}{y} + x\\ \mathbf{elif}\;y \leq 5.4 \cdot 10^{+76}:\\ \;\;\;\;\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(a + y\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}\\ \mathbf{else}:\\ \;\;\;\;\frac{z - a \cdot x}{y} + x\\ \end{array} \]
      5. Add Preprocessing

      Alternative 4: 83.0% accurate, 0.9× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{z - a \cdot x}{y} + x\\ \mathbf{if}\;y \leq -9.2 \cdot 10^{+52}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq 5.4 \cdot 10^{+76}:\\ \;\;\;\;\frac{1}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, z\right), y, 27464.7644705\right), y, 230661.510616\right), y, t\right)}}\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
      (FPCore (x y z t a b c i)
       :precision binary64
       (let* ((t_1 (+ (/ (- z (* a x)) y) x)))
         (if (<= y -9.2e+52)
           t_1
           (if (<= y 5.4e+76)
             (/
              1.0
              (/
               (fma (fma (fma (+ a y) y b) y c) y i)
               (fma (fma (fma (fma y x z) y 27464.7644705) y 230661.510616) y t)))
             t_1))))
      double code(double x, double y, double z, double t, double a, double b, double c, double i) {
      	double t_1 = ((z - (a * x)) / y) + x;
      	double tmp;
      	if (y <= -9.2e+52) {
      		tmp = t_1;
      	} else if (y <= 5.4e+76) {
      		tmp = 1.0 / (fma(fma(fma((a + y), y, b), y, c), y, i) / fma(fma(fma(fma(y, x, z), y, 27464.7644705), y, 230661.510616), y, t));
      	} else {
      		tmp = t_1;
      	}
      	return tmp;
      }
      
      function code(x, y, z, t, a, b, c, i)
      	t_1 = Float64(Float64(Float64(z - Float64(a * x)) / y) + x)
      	tmp = 0.0
      	if (y <= -9.2e+52)
      		tmp = t_1;
      	elseif (y <= 5.4e+76)
      		tmp = Float64(1.0 / Float64(fma(fma(fma(Float64(a + y), y, b), y, c), y, i) / fma(fma(fma(fma(y, x, z), y, 27464.7644705), y, 230661.510616), y, t)));
      	else
      		tmp = t_1;
      	end
      	return tmp
      end
      
      code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(N[(N[(z - N[(a * x), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision] + x), $MachinePrecision]}, If[LessEqual[y, -9.2e+52], t$95$1, If[LessEqual[y, 5.4e+76], N[(1.0 / N[(N[(N[(N[(N[(a + y), $MachinePrecision] * y + b), $MachinePrecision] * y + c), $MachinePrecision] * y + i), $MachinePrecision] / N[(N[(N[(N[(y * x + z), $MachinePrecision] * y + 27464.7644705), $MachinePrecision] * y + 230661.510616), $MachinePrecision] * y + t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      t_1 := \frac{z - a \cdot x}{y} + x\\
      \mathbf{if}\;y \leq -9.2 \cdot 10^{+52}:\\
      \;\;\;\;t\_1\\
      
      \mathbf{elif}\;y \leq 5.4 \cdot 10^{+76}:\\
      \;\;\;\;\frac{1}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, z\right), y, 27464.7644705\right), y, 230661.510616\right), y, t\right)}}\\
      
      \mathbf{else}:\\
      \;\;\;\;t\_1\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 2 regimes
      2. if y < -9.1999999999999999e52 or 5.3999999999999998e76 < y

        1. Initial program 2.5%

          \[\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
        2. Add Preprocessing
        3. Taylor expanded in t around 0

          \[\leadsto \color{blue}{\frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
        4. Step-by-step derivation
          1. +-commutativeN/A

            \[\leadsto \color{blue}{\frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
          2. associate-/l*N/A

            \[\leadsto \color{blue}{y \cdot \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
          3. lower-fma.f64N/A

            \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}, \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\right)} \]
        5. Applied rewrites2.7%

          \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(x, y, z\right), y, 27464.7644705\right), y, 230661.510616\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}, \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\right)} \]
        6. Taylor expanded in y around inf

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

            \[\leadsto \color{blue}{x + \left(\frac{z}{y} - \frac{a \cdot x}{y}\right)} \]
          2. div-subN/A

            \[\leadsto x + \color{blue}{\frac{z - a \cdot x}{y}} \]
          3. lower-+.f64N/A

            \[\leadsto \color{blue}{x + \frac{z - a \cdot x}{y}} \]
          4. lower-/.f64N/A

            \[\leadsto x + \color{blue}{\frac{z - a \cdot x}{y}} \]
          5. lower--.f64N/A

            \[\leadsto x + \frac{\color{blue}{z - a \cdot x}}{y} \]
          6. lower-*.f6472.9

            \[\leadsto x + \frac{z - \color{blue}{a \cdot x}}{y} \]
        8. Applied rewrites72.9%

          \[\leadsto \color{blue}{x + \frac{z - a \cdot x}{y}} \]

        if -9.1999999999999999e52 < y < 5.3999999999999998e76

        1. Initial program 90.5%

          \[\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
        2. Add Preprocessing
        3. Step-by-step derivation
          1. lift-/.f64N/A

            \[\leadsto \color{blue}{\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + \frac{54929528941}{2000000}\right) \cdot y + \frac{28832688827}{125000}\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}} \]
          2. clear-numN/A

            \[\leadsto \color{blue}{\frac{1}{\frac{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}{\left(\left(\left(x \cdot y + z\right) \cdot y + \frac{54929528941}{2000000}\right) \cdot y + \frac{28832688827}{125000}\right) \cdot y + t}}} \]
          3. lower-/.f64N/A

            \[\leadsto \color{blue}{\frac{1}{\frac{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}{\left(\left(\left(x \cdot y + z\right) \cdot y + \frac{54929528941}{2000000}\right) \cdot y + \frac{28832688827}{125000}\right) \cdot y + t}}} \]
          4. lower-/.f6490.3

            \[\leadsto \frac{1}{\color{blue}{\frac{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}}} \]
        4. Applied rewrites90.4%

          \[\leadsto \color{blue}{\frac{1}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, z\right), y, 27464.7644705\right), y, 230661.510616\right), y, t\right)}}} \]
      3. Recombined 2 regimes into one program.
      4. Final simplification83.0%

        \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -9.2 \cdot 10^{+52}:\\ \;\;\;\;\frac{z - a \cdot x}{y} + x\\ \mathbf{elif}\;y \leq 5.4 \cdot 10^{+76}:\\ \;\;\;\;\frac{1}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, z\right), y, 27464.7644705\right), y, 230661.510616\right), y, t\right)}}\\ \mathbf{else}:\\ \;\;\;\;\frac{z - a \cdot x}{y} + x\\ \end{array} \]
      5. Add Preprocessing

      Alternative 5: 83.2% accurate, 0.9× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{z - a \cdot x}{y} + x\\ \mathbf{if}\;y \leq -9.2 \cdot 10^{+52}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq 5.4 \cdot 10^{+76}:\\ \;\;\;\;\frac{-1}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)} \cdot \left(-\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, z\right), y, 27464.7644705\right), y, 230661.510616\right), y, t\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
      (FPCore (x y z t a b c i)
       :precision binary64
       (let* ((t_1 (+ (/ (- z (* a x)) y) x)))
         (if (<= y -9.2e+52)
           t_1
           (if (<= y 5.4e+76)
             (*
              (/ -1.0 (fma (fma (fma (+ a y) y b) y c) y i))
              (- (fma (fma (fma (fma y x z) y 27464.7644705) y 230661.510616) y t)))
             t_1))))
      double code(double x, double y, double z, double t, double a, double b, double c, double i) {
      	double t_1 = ((z - (a * x)) / y) + x;
      	double tmp;
      	if (y <= -9.2e+52) {
      		tmp = t_1;
      	} else if (y <= 5.4e+76) {
      		tmp = (-1.0 / fma(fma(fma((a + y), y, b), y, c), y, i)) * -fma(fma(fma(fma(y, x, z), y, 27464.7644705), y, 230661.510616), y, t);
      	} else {
      		tmp = t_1;
      	}
      	return tmp;
      }
      
      function code(x, y, z, t, a, b, c, i)
      	t_1 = Float64(Float64(Float64(z - Float64(a * x)) / y) + x)
      	tmp = 0.0
      	if (y <= -9.2e+52)
      		tmp = t_1;
      	elseif (y <= 5.4e+76)
      		tmp = Float64(Float64(-1.0 / fma(fma(fma(Float64(a + y), y, b), y, c), y, i)) * Float64(-fma(fma(fma(fma(y, x, z), y, 27464.7644705), y, 230661.510616), y, t)));
      	else
      		tmp = t_1;
      	end
      	return tmp
      end
      
      code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(N[(N[(z - N[(a * x), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision] + x), $MachinePrecision]}, If[LessEqual[y, -9.2e+52], t$95$1, If[LessEqual[y, 5.4e+76], N[(N[(-1.0 / N[(N[(N[(N[(a + y), $MachinePrecision] * y + b), $MachinePrecision] * y + c), $MachinePrecision] * y + i), $MachinePrecision]), $MachinePrecision] * (-N[(N[(N[(N[(y * x + z), $MachinePrecision] * y + 27464.7644705), $MachinePrecision] * y + 230661.510616), $MachinePrecision] * y + t), $MachinePrecision])), $MachinePrecision], t$95$1]]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      t_1 := \frac{z - a \cdot x}{y} + x\\
      \mathbf{if}\;y \leq -9.2 \cdot 10^{+52}:\\
      \;\;\;\;t\_1\\
      
      \mathbf{elif}\;y \leq 5.4 \cdot 10^{+76}:\\
      \;\;\;\;\frac{-1}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)} \cdot \left(-\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, z\right), y, 27464.7644705\right), y, 230661.510616\right), y, t\right)\right)\\
      
      \mathbf{else}:\\
      \;\;\;\;t\_1\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 2 regimes
      2. if y < -9.1999999999999999e52 or 5.3999999999999998e76 < y

        1. Initial program 2.5%

          \[\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
        2. Add Preprocessing
        3. Taylor expanded in t around 0

          \[\leadsto \color{blue}{\frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
        4. Step-by-step derivation
          1. +-commutativeN/A

            \[\leadsto \color{blue}{\frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
          2. associate-/l*N/A

            \[\leadsto \color{blue}{y \cdot \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
          3. lower-fma.f64N/A

            \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}, \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\right)} \]
        5. Applied rewrites2.7%

          \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(x, y, z\right), y, 27464.7644705\right), y, 230661.510616\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}, \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\right)} \]
        6. Taylor expanded in y around inf

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

            \[\leadsto \color{blue}{x + \left(\frac{z}{y} - \frac{a \cdot x}{y}\right)} \]
          2. div-subN/A

            \[\leadsto x + \color{blue}{\frac{z - a \cdot x}{y}} \]
          3. lower-+.f64N/A

            \[\leadsto \color{blue}{x + \frac{z - a \cdot x}{y}} \]
          4. lower-/.f64N/A

            \[\leadsto x + \color{blue}{\frac{z - a \cdot x}{y}} \]
          5. lower--.f64N/A

            \[\leadsto x + \frac{\color{blue}{z - a \cdot x}}{y} \]
          6. lower-*.f6472.9

            \[\leadsto x + \frac{z - \color{blue}{a \cdot x}}{y} \]
        8. Applied rewrites72.9%

          \[\leadsto \color{blue}{x + \frac{z - a \cdot x}{y}} \]

        if -9.1999999999999999e52 < y < 5.3999999999999998e76

        1. Initial program 90.5%

          \[\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
        2. Add Preprocessing
        3. Step-by-step derivation
          1. lift-/.f64N/A

            \[\leadsto \color{blue}{\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + \frac{54929528941}{2000000}\right) \cdot y + \frac{28832688827}{125000}\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}} \]
          2. frac-2negN/A

            \[\leadsto \color{blue}{\frac{\mathsf{neg}\left(\left(\left(\left(\left(x \cdot y + z\right) \cdot y + \frac{54929528941}{2000000}\right) \cdot y + \frac{28832688827}{125000}\right) \cdot y + t\right)\right)}{\mathsf{neg}\left(\left(\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i\right)\right)}} \]
          3. div-invN/A

            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(\left(\left(\left(\left(x \cdot y + z\right) \cdot y + \frac{54929528941}{2000000}\right) \cdot y + \frac{28832688827}{125000}\right) \cdot y + t\right)\right)\right) \cdot \frac{1}{\mathsf{neg}\left(\left(\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i\right)\right)}} \]
          4. lower-*.f64N/A

            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(\left(\left(\left(\left(x \cdot y + z\right) \cdot y + \frac{54929528941}{2000000}\right) \cdot y + \frac{28832688827}{125000}\right) \cdot y + t\right)\right)\right) \cdot \frac{1}{\mathsf{neg}\left(\left(\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i\right)\right)}} \]
        4. Applied rewrites90.3%

          \[\leadsto \color{blue}{\left(-\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, z\right), y, 27464.7644705\right), y, 230661.510616\right), y, t\right)\right) \cdot \frac{-1}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}} \]
      3. Recombined 2 regimes into one program.
      4. Final simplification83.0%

        \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -9.2 \cdot 10^{+52}:\\ \;\;\;\;\frac{z - a \cdot x}{y} + x\\ \mathbf{elif}\;y \leq 5.4 \cdot 10^{+76}:\\ \;\;\;\;\frac{-1}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)} \cdot \left(-\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, z\right), y, 27464.7644705\right), y, 230661.510616\right), y, t\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\frac{z - a \cdot x}{y} + x\\ \end{array} \]
      5. Add Preprocessing

      Alternative 6: 79.7% accurate, 1.1× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{z - a \cdot x}{y} + x\\ \mathbf{if}\;y \leq -7.1 \cdot 10^{+52}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq 5.4 \cdot 10^{+76}:\\ \;\;\;\;\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, y, 27464.7644705\right), y, 230661.510616\right), y, t\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
      (FPCore (x y z t a b c i)
       :precision binary64
       (let* ((t_1 (+ (/ (- z (* a x)) y) x)))
         (if (<= y -7.1e+52)
           t_1
           (if (<= y 5.4e+76)
             (/
              (fma (fma (fma z y 27464.7644705) y 230661.510616) y t)
              (fma (fma (fma (+ a y) y b) y c) y i))
             t_1))))
      double code(double x, double y, double z, double t, double a, double b, double c, double i) {
      	double t_1 = ((z - (a * x)) / y) + x;
      	double tmp;
      	if (y <= -7.1e+52) {
      		tmp = t_1;
      	} else if (y <= 5.4e+76) {
      		tmp = fma(fma(fma(z, y, 27464.7644705), y, 230661.510616), y, t) / fma(fma(fma((a + y), y, b), y, c), y, i);
      	} else {
      		tmp = t_1;
      	}
      	return tmp;
      }
      
      function code(x, y, z, t, a, b, c, i)
      	t_1 = Float64(Float64(Float64(z - Float64(a * x)) / y) + x)
      	tmp = 0.0
      	if (y <= -7.1e+52)
      		tmp = t_1;
      	elseif (y <= 5.4e+76)
      		tmp = Float64(fma(fma(fma(z, y, 27464.7644705), y, 230661.510616), y, t) / fma(fma(fma(Float64(a + y), y, b), y, c), y, i));
      	else
      		tmp = t_1;
      	end
      	return tmp
      end
      
      code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(N[(N[(z - N[(a * x), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision] + x), $MachinePrecision]}, If[LessEqual[y, -7.1e+52], t$95$1, If[LessEqual[y, 5.4e+76], N[(N[(N[(N[(z * y + 27464.7644705), $MachinePrecision] * y + 230661.510616), $MachinePrecision] * y + t), $MachinePrecision] / N[(N[(N[(N[(a + y), $MachinePrecision] * y + b), $MachinePrecision] * y + c), $MachinePrecision] * y + i), $MachinePrecision]), $MachinePrecision], t$95$1]]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      t_1 := \frac{z - a \cdot x}{y} + x\\
      \mathbf{if}\;y \leq -7.1 \cdot 10^{+52}:\\
      \;\;\;\;t\_1\\
      
      \mathbf{elif}\;y \leq 5.4 \cdot 10^{+76}:\\
      \;\;\;\;\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, y, 27464.7644705\right), y, 230661.510616\right), y, t\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\\
      
      \mathbf{else}:\\
      \;\;\;\;t\_1\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 2 regimes
      2. if y < -7.09999999999999995e52 or 5.3999999999999998e76 < y

        1. Initial program 2.5%

          \[\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
        2. Add Preprocessing
        3. Taylor expanded in t around 0

          \[\leadsto \color{blue}{\frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
        4. Step-by-step derivation
          1. +-commutativeN/A

            \[\leadsto \color{blue}{\frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
          2. associate-/l*N/A

            \[\leadsto \color{blue}{y \cdot \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
          3. lower-fma.f64N/A

            \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}, \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\right)} \]
        5. Applied rewrites2.7%

          \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(x, y, z\right), y, 27464.7644705\right), y, 230661.510616\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}, \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\right)} \]
        6. Taylor expanded in y around inf

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

            \[\leadsto \color{blue}{x + \left(\frac{z}{y} - \frac{a \cdot x}{y}\right)} \]
          2. div-subN/A

            \[\leadsto x + \color{blue}{\frac{z - a \cdot x}{y}} \]
          3. lower-+.f64N/A

            \[\leadsto \color{blue}{x + \frac{z - a \cdot x}{y}} \]
          4. lower-/.f64N/A

            \[\leadsto x + \color{blue}{\frac{z - a \cdot x}{y}} \]
          5. lower--.f64N/A

            \[\leadsto x + \frac{\color{blue}{z - a \cdot x}}{y} \]
          6. lower-*.f6472.9

            \[\leadsto x + \frac{z - \color{blue}{a \cdot x}}{y} \]
        8. Applied rewrites72.9%

          \[\leadsto \color{blue}{x + \frac{z - a \cdot x}{y}} \]

        if -7.09999999999999995e52 < y < 5.3999999999999998e76

        1. Initial program 90.5%

          \[\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
        2. Add Preprocessing
        3. Taylor expanded in x around 0

          \[\leadsto \color{blue}{\frac{t + y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot z\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
        4. Step-by-step derivation
          1. lower-/.f64N/A

            \[\leadsto \color{blue}{\frac{t + y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot z\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
          2. +-commutativeN/A

            \[\leadsto \frac{\color{blue}{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot z\right)\right) + t}}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
          3. *-commutativeN/A

            \[\leadsto \frac{\color{blue}{\left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot z\right)\right) \cdot y} + t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
          4. lower-fma.f64N/A

            \[\leadsto \frac{\color{blue}{\mathsf{fma}\left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot z\right), y, t\right)}}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
          5. +-commutativeN/A

            \[\leadsto \frac{\mathsf{fma}\left(\color{blue}{y \cdot \left(\frac{54929528941}{2000000} + y \cdot z\right) + \frac{28832688827}{125000}}, y, t\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
          6. *-commutativeN/A

            \[\leadsto \frac{\mathsf{fma}\left(\color{blue}{\left(\frac{54929528941}{2000000} + y \cdot z\right) \cdot y} + \frac{28832688827}{125000}, y, t\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
          7. lower-fma.f64N/A

            \[\leadsto \frac{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\frac{54929528941}{2000000} + y \cdot z, y, \frac{28832688827}{125000}\right)}, y, t\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
          8. +-commutativeN/A

            \[\leadsto \frac{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{y \cdot z + \frac{54929528941}{2000000}}, y, \frac{28832688827}{125000}\right), y, t\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
          9. *-commutativeN/A

            \[\leadsto \frac{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{z \cdot y} + \frac{54929528941}{2000000}, y, \frac{28832688827}{125000}\right), y, t\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
          10. lower-fma.f64N/A

            \[\leadsto \frac{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z, y, \frac{54929528941}{2000000}\right)}, y, \frac{28832688827}{125000}\right), y, t\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
          11. +-commutativeN/A

            \[\leadsto \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, y, \frac{54929528941}{2000000}\right), y, \frac{28832688827}{125000}\right), y, t\right)}{\color{blue}{y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right) + i}} \]
          12. *-commutativeN/A

            \[\leadsto \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, y, \frac{54929528941}{2000000}\right), y, \frac{28832688827}{125000}\right), y, t\right)}{\color{blue}{\left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right) \cdot y} + i} \]
          13. lower-fma.f64N/A

            \[\leadsto \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, y, \frac{54929528941}{2000000}\right), y, \frac{28832688827}{125000}\right), y, t\right)}{\color{blue}{\mathsf{fma}\left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right), y, i\right)}} \]
        5. Applied rewrites84.9%

          \[\leadsto \color{blue}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, y, 27464.7644705\right), y, 230661.510616\right), y, t\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}} \]
      3. Recombined 2 regimes into one program.
      4. Final simplification79.8%

        \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -7.1 \cdot 10^{+52}:\\ \;\;\;\;\frac{z - a \cdot x}{y} + x\\ \mathbf{elif}\;y \leq 5.4 \cdot 10^{+76}:\\ \;\;\;\;\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, y, 27464.7644705\right), y, 230661.510616\right), y, t\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{z - a \cdot x}{y} + x\\ \end{array} \]
      5. Add Preprocessing

      Alternative 7: 74.0% accurate, 1.2× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{z - a \cdot x}{y} + x\\ \mathbf{if}\;y \leq -1.35 \cdot 10^{+17}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq 5.2 \cdot 10^{+76}:\\ \;\;\;\;\frac{\mathsf{fma}\left(230661.510616, y, t\right)}{\left(\left(\left(a + y\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
      (FPCore (x y z t a b c i)
       :precision binary64
       (let* ((t_1 (+ (/ (- z (* a x)) y) x)))
         (if (<= y -1.35e+17)
           t_1
           (if (<= y 5.2e+76)
             (/ (fma 230661.510616 y t) (+ (* (+ (* (+ (* (+ a y) y) b) y) c) y) i))
             t_1))))
      double code(double x, double y, double z, double t, double a, double b, double c, double i) {
      	double t_1 = ((z - (a * x)) / y) + x;
      	double tmp;
      	if (y <= -1.35e+17) {
      		tmp = t_1;
      	} else if (y <= 5.2e+76) {
      		tmp = fma(230661.510616, y, t) / (((((((a + y) * y) + b) * y) + c) * y) + i);
      	} else {
      		tmp = t_1;
      	}
      	return tmp;
      }
      
      function code(x, y, z, t, a, b, c, i)
      	t_1 = Float64(Float64(Float64(z - Float64(a * x)) / y) + x)
      	tmp = 0.0
      	if (y <= -1.35e+17)
      		tmp = t_1;
      	elseif (y <= 5.2e+76)
      		tmp = Float64(fma(230661.510616, y, t) / Float64(Float64(Float64(Float64(Float64(Float64(Float64(a + y) * y) + b) * y) + c) * y) + i));
      	else
      		tmp = t_1;
      	end
      	return tmp
      end
      
      code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(N[(N[(z - N[(a * x), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision] + x), $MachinePrecision]}, If[LessEqual[y, -1.35e+17], t$95$1, If[LessEqual[y, 5.2e+76], N[(N[(230661.510616 * y + t), $MachinePrecision] / N[(N[(N[(N[(N[(N[(N[(a + y), $MachinePrecision] * y), $MachinePrecision] + b), $MachinePrecision] * y), $MachinePrecision] + c), $MachinePrecision] * y), $MachinePrecision] + i), $MachinePrecision]), $MachinePrecision], t$95$1]]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      t_1 := \frac{z - a \cdot x}{y} + x\\
      \mathbf{if}\;y \leq -1.35 \cdot 10^{+17}:\\
      \;\;\;\;t\_1\\
      
      \mathbf{elif}\;y \leq 5.2 \cdot 10^{+76}:\\
      \;\;\;\;\frac{\mathsf{fma}\left(230661.510616, y, t\right)}{\left(\left(\left(a + y\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}\\
      
      \mathbf{else}:\\
      \;\;\;\;t\_1\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 2 regimes
      2. if y < -1.35e17 or 5.1999999999999999e76 < y

        1. Initial program 5.1%

          \[\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
        2. Add Preprocessing
        3. Taylor expanded in t around 0

          \[\leadsto \color{blue}{\frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
        4. Step-by-step derivation
          1. +-commutativeN/A

            \[\leadsto \color{blue}{\frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
          2. associate-/l*N/A

            \[\leadsto \color{blue}{y \cdot \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
          3. lower-fma.f64N/A

            \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}, \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\right)} \]
        5. Applied rewrites5.3%

          \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(x, y, z\right), y, 27464.7644705\right), y, 230661.510616\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}, \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\right)} \]
        6. Taylor expanded in y around inf

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

            \[\leadsto \color{blue}{x + \left(\frac{z}{y} - \frac{a \cdot x}{y}\right)} \]
          2. div-subN/A

            \[\leadsto x + \color{blue}{\frac{z - a \cdot x}{y}} \]
          3. lower-+.f64N/A

            \[\leadsto \color{blue}{x + \frac{z - a \cdot x}{y}} \]
          4. lower-/.f64N/A

            \[\leadsto x + \color{blue}{\frac{z - a \cdot x}{y}} \]
          5. lower--.f64N/A

            \[\leadsto x + \frac{\color{blue}{z - a \cdot x}}{y} \]
          6. lower-*.f6469.4

            \[\leadsto x + \frac{z - \color{blue}{a \cdot x}}{y} \]
        8. Applied rewrites69.4%

          \[\leadsto \color{blue}{x + \frac{z - a \cdot x}{y}} \]

        if -1.35e17 < y < 5.1999999999999999e76

        1. Initial program 92.7%

          \[\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
        2. Add Preprocessing
        3. Taylor expanded in y around 0

          \[\leadsto \frac{\color{blue}{t + \frac{28832688827}{125000} \cdot y}}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
        4. Step-by-step derivation
          1. +-commutativeN/A

            \[\leadsto \frac{\color{blue}{\frac{28832688827}{125000} \cdot y + t}}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
          2. lower-fma.f6477.3

            \[\leadsto \frac{\color{blue}{\mathsf{fma}\left(230661.510616, y, t\right)}}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
        5. Applied rewrites77.3%

          \[\leadsto \frac{\color{blue}{\mathsf{fma}\left(230661.510616, y, t\right)}}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
      3. Recombined 2 regimes into one program.
      4. Final simplification73.8%

        \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -1.35 \cdot 10^{+17}:\\ \;\;\;\;\frac{z - a \cdot x}{y} + x\\ \mathbf{elif}\;y \leq 5.2 \cdot 10^{+76}:\\ \;\;\;\;\frac{\mathsf{fma}\left(230661.510616, y, t\right)}{\left(\left(\left(a + y\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}\\ \mathbf{else}:\\ \;\;\;\;\frac{z - a \cdot x}{y} + x\\ \end{array} \]
      5. Add Preprocessing

      Alternative 8: 66.9% accurate, 1.6× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{z - a \cdot x}{y} + x\\ \mathbf{if}\;y \leq -1.45 \cdot 10^{+29}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq 5.2 \cdot 10^{+76}:\\ \;\;\;\;\frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
      (FPCore (x y z t a b c i)
       :precision binary64
       (let* ((t_1 (+ (/ (- z (* a x)) y) x)))
         (if (<= y -1.45e+29)
           t_1
           (if (<= y 5.2e+76) (/ t (fma (fma (fma (+ a y) y b) y c) y i)) t_1))))
      double code(double x, double y, double z, double t, double a, double b, double c, double i) {
      	double t_1 = ((z - (a * x)) / y) + x;
      	double tmp;
      	if (y <= -1.45e+29) {
      		tmp = t_1;
      	} else if (y <= 5.2e+76) {
      		tmp = t / fma(fma(fma((a + y), y, b), y, c), y, i);
      	} else {
      		tmp = t_1;
      	}
      	return tmp;
      }
      
      function code(x, y, z, t, a, b, c, i)
      	t_1 = Float64(Float64(Float64(z - Float64(a * x)) / y) + x)
      	tmp = 0.0
      	if (y <= -1.45e+29)
      		tmp = t_1;
      	elseif (y <= 5.2e+76)
      		tmp = Float64(t / fma(fma(fma(Float64(a + y), y, b), y, c), y, i));
      	else
      		tmp = t_1;
      	end
      	return tmp
      end
      
      code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(N[(N[(z - N[(a * x), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision] + x), $MachinePrecision]}, If[LessEqual[y, -1.45e+29], t$95$1, If[LessEqual[y, 5.2e+76], N[(t / N[(N[(N[(N[(a + y), $MachinePrecision] * y + b), $MachinePrecision] * y + c), $MachinePrecision] * y + i), $MachinePrecision]), $MachinePrecision], t$95$1]]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      t_1 := \frac{z - a \cdot x}{y} + x\\
      \mathbf{if}\;y \leq -1.45 \cdot 10^{+29}:\\
      \;\;\;\;t\_1\\
      
      \mathbf{elif}\;y \leq 5.2 \cdot 10^{+76}:\\
      \;\;\;\;\frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\\
      
      \mathbf{else}:\\
      \;\;\;\;t\_1\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 2 regimes
      2. if y < -1.45e29 or 5.1999999999999999e76 < y

        1. Initial program 4.2%

          \[\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
        2. Add Preprocessing
        3. Taylor expanded in t around 0

          \[\leadsto \color{blue}{\frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
        4. Step-by-step derivation
          1. +-commutativeN/A

            \[\leadsto \color{blue}{\frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
          2. associate-/l*N/A

            \[\leadsto \color{blue}{y \cdot \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
          3. lower-fma.f64N/A

            \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}, \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\right)} \]
        5. Applied rewrites4.5%

          \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(x, y, z\right), y, 27464.7644705\right), y, 230661.510616\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}, \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\right)} \]
        6. Taylor expanded in y around inf

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

            \[\leadsto \color{blue}{x + \left(\frac{z}{y} - \frac{a \cdot x}{y}\right)} \]
          2. div-subN/A

            \[\leadsto x + \color{blue}{\frac{z - a \cdot x}{y}} \]
          3. lower-+.f64N/A

            \[\leadsto \color{blue}{x + \frac{z - a \cdot x}{y}} \]
          4. lower-/.f64N/A

            \[\leadsto x + \color{blue}{\frac{z - a \cdot x}{y}} \]
          5. lower--.f64N/A

            \[\leadsto x + \frac{\color{blue}{z - a \cdot x}}{y} \]
          6. lower-*.f6470.0

            \[\leadsto x + \frac{z - \color{blue}{a \cdot x}}{y} \]
        8. Applied rewrites70.0%

          \[\leadsto \color{blue}{x + \frac{z - a \cdot x}{y}} \]

        if -1.45e29 < y < 5.1999999999999999e76

        1. Initial program 92.8%

          \[\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
        2. Add Preprocessing
        3. Taylor expanded in t around inf

          \[\leadsto \color{blue}{\frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
        4. Step-by-step derivation
          1. lower-/.f64N/A

            \[\leadsto \color{blue}{\frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
          2. +-commutativeN/A

            \[\leadsto \frac{t}{\color{blue}{y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right) + i}} \]
          3. *-commutativeN/A

            \[\leadsto \frac{t}{\color{blue}{\left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right) \cdot y} + i} \]
          4. lower-fma.f64N/A

            \[\leadsto \frac{t}{\color{blue}{\mathsf{fma}\left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right), y, i\right)}} \]
          5. +-commutativeN/A

            \[\leadsto \frac{t}{\mathsf{fma}\left(\color{blue}{y \cdot \left(b + y \cdot \left(a + y\right)\right) + c}, y, i\right)} \]
          6. *-commutativeN/A

            \[\leadsto \frac{t}{\mathsf{fma}\left(\color{blue}{\left(b + y \cdot \left(a + y\right)\right) \cdot y} + c, y, i\right)} \]
          7. lower-fma.f64N/A

            \[\leadsto \frac{t}{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(b + y \cdot \left(a + y\right), y, c\right)}, y, i\right)} \]
          8. +-commutativeN/A

            \[\leadsto \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{y \cdot \left(a + y\right) + b}, y, c\right), y, i\right)} \]
          9. *-commutativeN/A

            \[\leadsto \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\left(a + y\right) \cdot y} + b, y, c\right), y, i\right)} \]
          10. lower-fma.f64N/A

            \[\leadsto \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(a + y, y, b\right)}, y, c\right), y, i\right)} \]
          11. lower-+.f6467.4

            \[\leadsto \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{a + y}, y, b\right), y, c\right), y, i\right)} \]
        5. Applied rewrites67.4%

          \[\leadsto \color{blue}{\frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}} \]
      3. Recombined 2 regimes into one program.
      4. Final simplification68.6%

        \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -1.45 \cdot 10^{+29}:\\ \;\;\;\;\frac{z - a \cdot x}{y} + x\\ \mathbf{elif}\;y \leq 5.2 \cdot 10^{+76}:\\ \;\;\;\;\frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{z - a \cdot x}{y} + x\\ \end{array} \]
      5. Add Preprocessing

      Alternative 9: 58.1% accurate, 1.8× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{z - a \cdot x}{y} + x\\ \mathbf{if}\;y \leq -1.4 \cdot 10^{-7}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq 33:\\ \;\;\;\;\frac{-\left(-t\right)}{\mathsf{fma}\left(b \cdot y, y, i\right)}\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
      (FPCore (x y z t a b c i)
       :precision binary64
       (let* ((t_1 (+ (/ (- z (* a x)) y) x)))
         (if (<= y -1.4e-7)
           t_1
           (if (<= y 33.0) (/ (- (- t)) (fma (* b y) y i)) t_1))))
      double code(double x, double y, double z, double t, double a, double b, double c, double i) {
      	double t_1 = ((z - (a * x)) / y) + x;
      	double tmp;
      	if (y <= -1.4e-7) {
      		tmp = t_1;
      	} else if (y <= 33.0) {
      		tmp = -(-t) / fma((b * y), y, i);
      	} else {
      		tmp = t_1;
      	}
      	return tmp;
      }
      
      function code(x, y, z, t, a, b, c, i)
      	t_1 = Float64(Float64(Float64(z - Float64(a * x)) / y) + x)
      	tmp = 0.0
      	if (y <= -1.4e-7)
      		tmp = t_1;
      	elseif (y <= 33.0)
      		tmp = Float64(Float64(-Float64(-t)) / fma(Float64(b * y), y, i));
      	else
      		tmp = t_1;
      	end
      	return tmp
      end
      
      code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(N[(N[(z - N[(a * x), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision] + x), $MachinePrecision]}, If[LessEqual[y, -1.4e-7], t$95$1, If[LessEqual[y, 33.0], N[((-(-t)) / N[(N[(b * y), $MachinePrecision] * y + i), $MachinePrecision]), $MachinePrecision], t$95$1]]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      t_1 := \frac{z - a \cdot x}{y} + x\\
      \mathbf{if}\;y \leq -1.4 \cdot 10^{-7}:\\
      \;\;\;\;t\_1\\
      
      \mathbf{elif}\;y \leq 33:\\
      \;\;\;\;\frac{-\left(-t\right)}{\mathsf{fma}\left(b \cdot y, y, i\right)}\\
      
      \mathbf{else}:\\
      \;\;\;\;t\_1\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 2 regimes
      2. if y < -1.4000000000000001e-7 or 33 < y

        1. Initial program 13.7%

          \[\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
        2. Add Preprocessing
        3. Taylor expanded in t around 0

          \[\leadsto \color{blue}{\frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
        4. Step-by-step derivation
          1. +-commutativeN/A

            \[\leadsto \color{blue}{\frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
          2. associate-/l*N/A

            \[\leadsto \color{blue}{y \cdot \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
          3. lower-fma.f64N/A

            \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}, \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\right)} \]
        5. Applied rewrites15.3%

          \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(x, y, z\right), y, 27464.7644705\right), y, 230661.510616\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}, \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\right)} \]
        6. Taylor expanded in y around inf

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

            \[\leadsto \color{blue}{x + \left(\frac{z}{y} - \frac{a \cdot x}{y}\right)} \]
          2. div-subN/A

            \[\leadsto x + \color{blue}{\frac{z - a \cdot x}{y}} \]
          3. lower-+.f64N/A

            \[\leadsto \color{blue}{x + \frac{z - a \cdot x}{y}} \]
          4. lower-/.f64N/A

            \[\leadsto x + \color{blue}{\frac{z - a \cdot x}{y}} \]
          5. lower--.f64N/A

            \[\leadsto x + \frac{\color{blue}{z - a \cdot x}}{y} \]
          6. lower-*.f6459.9

            \[\leadsto x + \frac{z - \color{blue}{a \cdot x}}{y} \]
        8. Applied rewrites59.9%

          \[\leadsto \color{blue}{x + \frac{z - a \cdot x}{y}} \]

        if -1.4000000000000001e-7 < y < 33

        1. Initial program 99.7%

          \[\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
        2. Add Preprocessing
        3. Step-by-step derivation
          1. lift-/.f64N/A

            \[\leadsto \color{blue}{\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + \frac{54929528941}{2000000}\right) \cdot y + \frac{28832688827}{125000}\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}} \]
          2. frac-2negN/A

            \[\leadsto \color{blue}{\frac{\mathsf{neg}\left(\left(\left(\left(\left(x \cdot y + z\right) \cdot y + \frac{54929528941}{2000000}\right) \cdot y + \frac{28832688827}{125000}\right) \cdot y + t\right)\right)}{\mathsf{neg}\left(\left(\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i\right)\right)}} \]
          3. div-invN/A

            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(\left(\left(\left(\left(x \cdot y + z\right) \cdot y + \frac{54929528941}{2000000}\right) \cdot y + \frac{28832688827}{125000}\right) \cdot y + t\right)\right)\right) \cdot \frac{1}{\mathsf{neg}\left(\left(\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i\right)\right)}} \]
          4. lower-*.f64N/A

            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(\left(\left(\left(\left(x \cdot y + z\right) \cdot y + \frac{54929528941}{2000000}\right) \cdot y + \frac{28832688827}{125000}\right) \cdot y + t\right)\right)\right) \cdot \frac{1}{\mathsf{neg}\left(\left(\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i\right)\right)}} \]
        4. Applied rewrites99.5%

          \[\leadsto \color{blue}{\left(-\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, z\right), y, 27464.7644705\right), y, 230661.510616\right), y, t\right)\right) \cdot \frac{-1}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}} \]
        5. Taylor expanded in t around inf

          \[\leadsto \color{blue}{\left(-1 \cdot t\right)} \cdot \frac{-1}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)} \]
        6. Step-by-step derivation
          1. mul-1-negN/A

            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(t\right)\right)} \cdot \frac{-1}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)} \]
          2. lower-neg.f6476.1

            \[\leadsto \color{blue}{\left(-t\right)} \cdot \frac{-1}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)} \]
        7. Applied rewrites76.1%

          \[\leadsto \color{blue}{\left(-t\right)} \cdot \frac{-1}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)} \]
        8. Taylor expanded in b around inf

          \[\leadsto \left(-t\right) \cdot \frac{-1}{\mathsf{fma}\left(\color{blue}{b \cdot y}, y, i\right)} \]
        9. Step-by-step derivation
          1. lower-*.f6455.8

            \[\leadsto \left(-t\right) \cdot \frac{-1}{\mathsf{fma}\left(\color{blue}{b \cdot y}, y, i\right)} \]
        10. Applied rewrites55.8%

          \[\leadsto \left(-t\right) \cdot \frac{-1}{\mathsf{fma}\left(\color{blue}{b \cdot y}, y, i\right)} \]
        11. Step-by-step derivation
          1. lift-*.f64N/A

            \[\leadsto \color{blue}{\left(-t\right) \cdot \frac{-1}{\mathsf{fma}\left(b \cdot y, y, i\right)}} \]
          2. lift-/.f64N/A

            \[\leadsto \left(-t\right) \cdot \color{blue}{\frac{-1}{\mathsf{fma}\left(b \cdot y, y, i\right)}} \]
          3. frac-2negN/A

            \[\leadsto \left(-t\right) \cdot \color{blue}{\frac{\mathsf{neg}\left(-1\right)}{\mathsf{neg}\left(\mathsf{fma}\left(b \cdot y, y, i\right)\right)}} \]
          4. metadata-evalN/A

            \[\leadsto \left(-t\right) \cdot \frac{\color{blue}{1}}{\mathsf{neg}\left(\mathsf{fma}\left(b \cdot y, y, i\right)\right)} \]
          5. un-div-invN/A

            \[\leadsto \color{blue}{\frac{-t}{\mathsf{neg}\left(\mathsf{fma}\left(b \cdot y, y, i\right)\right)}} \]
          6. lower-/.f64N/A

            \[\leadsto \color{blue}{\frac{-t}{\mathsf{neg}\left(\mathsf{fma}\left(b \cdot y, y, i\right)\right)}} \]
          7. lower-neg.f6456.0

            \[\leadsto \frac{-t}{\color{blue}{-\mathsf{fma}\left(b \cdot y, y, i\right)}} \]
        12. Applied rewrites56.0%

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

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

      Alternative 10: 55.8% accurate, 2.0× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{z - a \cdot x}{y} + x\\ \mathbf{if}\;y \leq -1.2 \cdot 10^{-18}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq 0.00155:\\ \;\;\;\;\frac{t}{i}\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
      (FPCore (x y z t a b c i)
       :precision binary64
       (let* ((t_1 (+ (/ (- z (* a x)) y) x)))
         (if (<= y -1.2e-18) t_1 (if (<= y 0.00155) (/ t i) t_1))))
      double code(double x, double y, double z, double t, double a, double b, double c, double i) {
      	double t_1 = ((z - (a * x)) / y) + x;
      	double tmp;
      	if (y <= -1.2e-18) {
      		tmp = t_1;
      	} else if (y <= 0.00155) {
      		tmp = t / i;
      	} else {
      		tmp = t_1;
      	}
      	return tmp;
      }
      
      real(8) function code(x, y, z, t, a, b, c, i)
          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) :: t_1
          real(8) :: tmp
          t_1 = ((z - (a * x)) / y) + x
          if (y <= (-1.2d-18)) then
              tmp = t_1
          else if (y <= 0.00155d0) then
              tmp = t / i
          else
              tmp = t_1
          end if
          code = tmp
      end function
      
      public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
      	double t_1 = ((z - (a * x)) / y) + x;
      	double tmp;
      	if (y <= -1.2e-18) {
      		tmp = t_1;
      	} else if (y <= 0.00155) {
      		tmp = t / i;
      	} else {
      		tmp = t_1;
      	}
      	return tmp;
      }
      
      def code(x, y, z, t, a, b, c, i):
      	t_1 = ((z - (a * x)) / y) + x
      	tmp = 0
      	if y <= -1.2e-18:
      		tmp = t_1
      	elif y <= 0.00155:
      		tmp = t / i
      	else:
      		tmp = t_1
      	return tmp
      
      function code(x, y, z, t, a, b, c, i)
      	t_1 = Float64(Float64(Float64(z - Float64(a * x)) / y) + x)
      	tmp = 0.0
      	if (y <= -1.2e-18)
      		tmp = t_1;
      	elseif (y <= 0.00155)
      		tmp = Float64(t / i);
      	else
      		tmp = t_1;
      	end
      	return tmp
      end
      
      function tmp_2 = code(x, y, z, t, a, b, c, i)
      	t_1 = ((z - (a * x)) / y) + x;
      	tmp = 0.0;
      	if (y <= -1.2e-18)
      		tmp = t_1;
      	elseif (y <= 0.00155)
      		tmp = t / i;
      	else
      		tmp = t_1;
      	end
      	tmp_2 = tmp;
      end
      
      code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(N[(N[(z - N[(a * x), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision] + x), $MachinePrecision]}, If[LessEqual[y, -1.2e-18], t$95$1, If[LessEqual[y, 0.00155], N[(t / i), $MachinePrecision], t$95$1]]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      t_1 := \frac{z - a \cdot x}{y} + x\\
      \mathbf{if}\;y \leq -1.2 \cdot 10^{-18}:\\
      \;\;\;\;t\_1\\
      
      \mathbf{elif}\;y \leq 0.00155:\\
      \;\;\;\;\frac{t}{i}\\
      
      \mathbf{else}:\\
      \;\;\;\;t\_1\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 2 regimes
      2. if y < -1.19999999999999997e-18 or 0.00154999999999999995 < y

        1. Initial program 14.9%

          \[\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
        2. Add Preprocessing
        3. Taylor expanded in t around 0

          \[\leadsto \color{blue}{\frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
        4. Step-by-step derivation
          1. +-commutativeN/A

            \[\leadsto \color{blue}{\frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
          2. associate-/l*N/A

            \[\leadsto \color{blue}{y \cdot \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
          3. lower-fma.f64N/A

            \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}, \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\right)} \]
        5. Applied rewrites16.5%

          \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(x, y, z\right), y, 27464.7644705\right), y, 230661.510616\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}, \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\right)} \]
        6. Taylor expanded in y around inf

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

            \[\leadsto \color{blue}{x + \left(\frac{z}{y} - \frac{a \cdot x}{y}\right)} \]
          2. div-subN/A

            \[\leadsto x + \color{blue}{\frac{z - a \cdot x}{y}} \]
          3. lower-+.f64N/A

            \[\leadsto \color{blue}{x + \frac{z - a \cdot x}{y}} \]
          4. lower-/.f64N/A

            \[\leadsto x + \color{blue}{\frac{z - a \cdot x}{y}} \]
          5. lower--.f64N/A

            \[\leadsto x + \frac{\color{blue}{z - a \cdot x}}{y} \]
          6. lower-*.f6459.0

            \[\leadsto x + \frac{z - \color{blue}{a \cdot x}}{y} \]
        8. Applied rewrites59.0%

          \[\leadsto \color{blue}{x + \frac{z - a \cdot x}{y}} \]

        if -1.19999999999999997e-18 < y < 0.00154999999999999995

        1. Initial program 99.7%

          \[\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
        2. Add Preprocessing
        3. Taylor expanded in y around 0

          \[\leadsto \color{blue}{\frac{t}{i}} \]
        4. Step-by-step derivation
          1. lower-/.f6449.1

            \[\leadsto \color{blue}{\frac{t}{i}} \]
        5. Applied rewrites49.1%

          \[\leadsto \color{blue}{\frac{t}{i}} \]
      3. Recombined 2 regimes into one program.
      4. Final simplification54.5%

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

      Alternative 11: 35.6% accurate, 3.0× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y \leq -1.8 \cdot 10^{-17}:\\ \;\;\;\;\frac{z}{y}\\ \mathbf{elif}\;y \leq 0.0018:\\ \;\;\;\;\frac{t}{i}\\ \mathbf{else}:\\ \;\;\;\;\frac{z}{y}\\ \end{array} \end{array} \]
      (FPCore (x y z t a b c i)
       :precision binary64
       (if (<= y -1.8e-17) (/ z y) (if (<= y 0.0018) (/ t i) (/ z y))))
      double code(double x, double y, double z, double t, double a, double b, double c, double i) {
      	double tmp;
      	if (y <= -1.8e-17) {
      		tmp = z / y;
      	} else if (y <= 0.0018) {
      		tmp = t / i;
      	} else {
      		tmp = z / y;
      	}
      	return tmp;
      }
      
      real(8) function code(x, y, z, t, a, b, c, i)
          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) :: tmp
          if (y <= (-1.8d-17)) then
              tmp = z / y
          else if (y <= 0.0018d0) then
              tmp = t / i
          else
              tmp = z / y
          end if
          code = tmp
      end function
      
      public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
      	double tmp;
      	if (y <= -1.8e-17) {
      		tmp = z / y;
      	} else if (y <= 0.0018) {
      		tmp = t / i;
      	} else {
      		tmp = z / y;
      	}
      	return tmp;
      }
      
      def code(x, y, z, t, a, b, c, i):
      	tmp = 0
      	if y <= -1.8e-17:
      		tmp = z / y
      	elif y <= 0.0018:
      		tmp = t / i
      	else:
      		tmp = z / y
      	return tmp
      
      function code(x, y, z, t, a, b, c, i)
      	tmp = 0.0
      	if (y <= -1.8e-17)
      		tmp = Float64(z / y);
      	elseif (y <= 0.0018)
      		tmp = Float64(t / i);
      	else
      		tmp = Float64(z / y);
      	end
      	return tmp
      end
      
      function tmp_2 = code(x, y, z, t, a, b, c, i)
      	tmp = 0.0;
      	if (y <= -1.8e-17)
      		tmp = z / y;
      	elseif (y <= 0.0018)
      		tmp = t / i;
      	else
      		tmp = z / y;
      	end
      	tmp_2 = tmp;
      end
      
      code[x_, y_, z_, t_, a_, b_, c_, i_] := If[LessEqual[y, -1.8e-17], N[(z / y), $MachinePrecision], If[LessEqual[y, 0.0018], N[(t / i), $MachinePrecision], N[(z / y), $MachinePrecision]]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      \mathbf{if}\;y \leq -1.8 \cdot 10^{-17}:\\
      \;\;\;\;\frac{z}{y}\\
      
      \mathbf{elif}\;y \leq 0.0018:\\
      \;\;\;\;\frac{t}{i}\\
      
      \mathbf{else}:\\
      \;\;\;\;\frac{z}{y}\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 2 regimes
      2. if y < -1.79999999999999997e-17 or 0.0018 < y

        1. Initial program 14.9%

          \[\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
        2. Add Preprocessing
        3. Taylor expanded in z around inf

          \[\leadsto \color{blue}{\frac{{y}^{3} \cdot z}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
        4. Step-by-step derivation
          1. associate-/l*N/A

            \[\leadsto \color{blue}{{y}^{3} \cdot \frac{z}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
          2. lower-*.f64N/A

            \[\leadsto \color{blue}{{y}^{3} \cdot \frac{z}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
          3. lower-pow.f64N/A

            \[\leadsto \color{blue}{{y}^{3}} \cdot \frac{z}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
          4. lower-/.f64N/A

            \[\leadsto {y}^{3} \cdot \color{blue}{\frac{z}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
          5. +-commutativeN/A

            \[\leadsto {y}^{3} \cdot \frac{z}{\color{blue}{y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right) + i}} \]
          6. *-commutativeN/A

            \[\leadsto {y}^{3} \cdot \frac{z}{\color{blue}{\left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right) \cdot y} + i} \]
          7. lower-fma.f64N/A

            \[\leadsto {y}^{3} \cdot \frac{z}{\color{blue}{\mathsf{fma}\left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right), y, i\right)}} \]
          8. +-commutativeN/A

            \[\leadsto {y}^{3} \cdot \frac{z}{\mathsf{fma}\left(\color{blue}{y \cdot \left(b + y \cdot \left(a + y\right)\right) + c}, y, i\right)} \]
          9. *-commutativeN/A

            \[\leadsto {y}^{3} \cdot \frac{z}{\mathsf{fma}\left(\color{blue}{\left(b + y \cdot \left(a + y\right)\right) \cdot y} + c, y, i\right)} \]
          10. lower-fma.f64N/A

            \[\leadsto {y}^{3} \cdot \frac{z}{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(b + y \cdot \left(a + y\right), y, c\right)}, y, i\right)} \]
          11. +-commutativeN/A

            \[\leadsto {y}^{3} \cdot \frac{z}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{y \cdot \left(a + y\right) + b}, y, c\right), y, i\right)} \]
          12. *-commutativeN/A

            \[\leadsto {y}^{3} \cdot \frac{z}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\left(a + y\right) \cdot y} + b, y, c\right), y, i\right)} \]
          13. lower-fma.f64N/A

            \[\leadsto {y}^{3} \cdot \frac{z}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(a + y, y, b\right)}, y, c\right), y, i\right)} \]
          14. lower-+.f648.3

            \[\leadsto {y}^{3} \cdot \frac{z}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{a + y}, y, b\right), y, c\right), y, i\right)} \]
        5. Applied rewrites8.3%

          \[\leadsto \color{blue}{{y}^{3} \cdot \frac{z}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}} \]
        6. Taylor expanded in y around inf

          \[\leadsto \frac{z}{\color{blue}{y}} \]
        7. Step-by-step derivation
          1. Applied rewrites18.9%

            \[\leadsto \frac{z}{\color{blue}{y}} \]

          if -1.79999999999999997e-17 < y < 0.0018

          1. Initial program 99.7%

            \[\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
          2. Add Preprocessing
          3. Taylor expanded in y around 0

            \[\leadsto \color{blue}{\frac{t}{i}} \]
          4. Step-by-step derivation
            1. lower-/.f6449.1

              \[\leadsto \color{blue}{\frac{t}{i}} \]
          5. Applied rewrites49.1%

            \[\leadsto \color{blue}{\frac{t}{i}} \]
        8. Recombined 2 regimes into one program.
        9. Add Preprocessing

        Alternative 12: 13.3% accurate, 3.0× speedup?

        \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;a \leq -3.1 \cdot 10^{+196}:\\ \;\;\;\;\frac{z}{a}\\ \mathbf{elif}\;a \leq 7.8 \cdot 10^{+116}:\\ \;\;\;\;\frac{z}{y}\\ \mathbf{else}:\\ \;\;\;\;\frac{z}{a}\\ \end{array} \end{array} \]
        (FPCore (x y z t a b c i)
         :precision binary64
         (if (<= a -3.1e+196) (/ z a) (if (<= a 7.8e+116) (/ z y) (/ z a))))
        double code(double x, double y, double z, double t, double a, double b, double c, double i) {
        	double tmp;
        	if (a <= -3.1e+196) {
        		tmp = z / a;
        	} else if (a <= 7.8e+116) {
        		tmp = z / y;
        	} else {
        		tmp = z / a;
        	}
        	return tmp;
        }
        
        real(8) function code(x, y, z, t, a, b, c, i)
            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) :: tmp
            if (a <= (-3.1d+196)) then
                tmp = z / a
            else if (a <= 7.8d+116) then
                tmp = z / y
            else
                tmp = z / a
            end if
            code = tmp
        end function
        
        public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
        	double tmp;
        	if (a <= -3.1e+196) {
        		tmp = z / a;
        	} else if (a <= 7.8e+116) {
        		tmp = z / y;
        	} else {
        		tmp = z / a;
        	}
        	return tmp;
        }
        
        def code(x, y, z, t, a, b, c, i):
        	tmp = 0
        	if a <= -3.1e+196:
        		tmp = z / a
        	elif a <= 7.8e+116:
        		tmp = z / y
        	else:
        		tmp = z / a
        	return tmp
        
        function code(x, y, z, t, a, b, c, i)
        	tmp = 0.0
        	if (a <= -3.1e+196)
        		tmp = Float64(z / a);
        	elseif (a <= 7.8e+116)
        		tmp = Float64(z / y);
        	else
        		tmp = Float64(z / a);
        	end
        	return tmp
        end
        
        function tmp_2 = code(x, y, z, t, a, b, c, i)
        	tmp = 0.0;
        	if (a <= -3.1e+196)
        		tmp = z / a;
        	elseif (a <= 7.8e+116)
        		tmp = z / y;
        	else
        		tmp = z / a;
        	end
        	tmp_2 = tmp;
        end
        
        code[x_, y_, z_, t_, a_, b_, c_, i_] := If[LessEqual[a, -3.1e+196], N[(z / a), $MachinePrecision], If[LessEqual[a, 7.8e+116], N[(z / y), $MachinePrecision], N[(z / a), $MachinePrecision]]]
        
        \begin{array}{l}
        
        \\
        \begin{array}{l}
        \mathbf{if}\;a \leq -3.1 \cdot 10^{+196}:\\
        \;\;\;\;\frac{z}{a}\\
        
        \mathbf{elif}\;a \leq 7.8 \cdot 10^{+116}:\\
        \;\;\;\;\frac{z}{y}\\
        
        \mathbf{else}:\\
        \;\;\;\;\frac{z}{a}\\
        
        
        \end{array}
        \end{array}
        
        Derivation
        1. Split input into 2 regimes
        2. if a < -3.1000000000000001e196 or 7.80000000000000065e116 < a

          1. Initial program 54.0%

            \[\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
          2. Add Preprocessing
          3. Taylor expanded in z around inf

            \[\leadsto \color{blue}{\frac{{y}^{3} \cdot z}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
          4. Step-by-step derivation
            1. associate-/l*N/A

              \[\leadsto \color{blue}{{y}^{3} \cdot \frac{z}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
            2. lower-*.f64N/A

              \[\leadsto \color{blue}{{y}^{3} \cdot \frac{z}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
            3. lower-pow.f64N/A

              \[\leadsto \color{blue}{{y}^{3}} \cdot \frac{z}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
            4. lower-/.f64N/A

              \[\leadsto {y}^{3} \cdot \color{blue}{\frac{z}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
            5. +-commutativeN/A

              \[\leadsto {y}^{3} \cdot \frac{z}{\color{blue}{y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right) + i}} \]
            6. *-commutativeN/A

              \[\leadsto {y}^{3} \cdot \frac{z}{\color{blue}{\left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right) \cdot y} + i} \]
            7. lower-fma.f64N/A

              \[\leadsto {y}^{3} \cdot \frac{z}{\color{blue}{\mathsf{fma}\left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right), y, i\right)}} \]
            8. +-commutativeN/A

              \[\leadsto {y}^{3} \cdot \frac{z}{\mathsf{fma}\left(\color{blue}{y \cdot \left(b + y \cdot \left(a + y\right)\right) + c}, y, i\right)} \]
            9. *-commutativeN/A

              \[\leadsto {y}^{3} \cdot \frac{z}{\mathsf{fma}\left(\color{blue}{\left(b + y \cdot \left(a + y\right)\right) \cdot y} + c, y, i\right)} \]
            10. lower-fma.f64N/A

              \[\leadsto {y}^{3} \cdot \frac{z}{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(b + y \cdot \left(a + y\right), y, c\right)}, y, i\right)} \]
            11. +-commutativeN/A

              \[\leadsto {y}^{3} \cdot \frac{z}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{y \cdot \left(a + y\right) + b}, y, c\right), y, i\right)} \]
            12. *-commutativeN/A

              \[\leadsto {y}^{3} \cdot \frac{z}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\left(a + y\right) \cdot y} + b, y, c\right), y, i\right)} \]
            13. lower-fma.f64N/A

              \[\leadsto {y}^{3} \cdot \frac{z}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(a + y, y, b\right)}, y, c\right), y, i\right)} \]
            14. lower-+.f6412.6

              \[\leadsto {y}^{3} \cdot \frac{z}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{a + y}, y, b\right), y, c\right), y, i\right)} \]
          5. Applied rewrites12.6%

            \[\leadsto \color{blue}{{y}^{3} \cdot \frac{z}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}} \]
          6. Taylor expanded in a around inf

            \[\leadsto \frac{z}{\color{blue}{a}} \]
          7. Step-by-step derivation
            1. Applied rewrites21.5%

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

            if -3.1000000000000001e196 < a < 7.80000000000000065e116

            1. Initial program 53.1%

              \[\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
            2. Add Preprocessing
            3. Taylor expanded in z around inf

              \[\leadsto \color{blue}{\frac{{y}^{3} \cdot z}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
            4. Step-by-step derivation
              1. associate-/l*N/A

                \[\leadsto \color{blue}{{y}^{3} \cdot \frac{z}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
              2. lower-*.f64N/A

                \[\leadsto \color{blue}{{y}^{3} \cdot \frac{z}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
              3. lower-pow.f64N/A

                \[\leadsto \color{blue}{{y}^{3}} \cdot \frac{z}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
              4. lower-/.f64N/A

                \[\leadsto {y}^{3} \cdot \color{blue}{\frac{z}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
              5. +-commutativeN/A

                \[\leadsto {y}^{3} \cdot \frac{z}{\color{blue}{y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right) + i}} \]
              6. *-commutativeN/A

                \[\leadsto {y}^{3} \cdot \frac{z}{\color{blue}{\left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right) \cdot y} + i} \]
              7. lower-fma.f64N/A

                \[\leadsto {y}^{3} \cdot \frac{z}{\color{blue}{\mathsf{fma}\left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right), y, i\right)}} \]
              8. +-commutativeN/A

                \[\leadsto {y}^{3} \cdot \frac{z}{\mathsf{fma}\left(\color{blue}{y \cdot \left(b + y \cdot \left(a + y\right)\right) + c}, y, i\right)} \]
              9. *-commutativeN/A

                \[\leadsto {y}^{3} \cdot \frac{z}{\mathsf{fma}\left(\color{blue}{\left(b + y \cdot \left(a + y\right)\right) \cdot y} + c, y, i\right)} \]
              10. lower-fma.f64N/A

                \[\leadsto {y}^{3} \cdot \frac{z}{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(b + y \cdot \left(a + y\right), y, c\right)}, y, i\right)} \]
              11. +-commutativeN/A

                \[\leadsto {y}^{3} \cdot \frac{z}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{y \cdot \left(a + y\right) + b}, y, c\right), y, i\right)} \]
              12. *-commutativeN/A

                \[\leadsto {y}^{3} \cdot \frac{z}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\left(a + y\right) \cdot y} + b, y, c\right), y, i\right)} \]
              13. lower-fma.f64N/A

                \[\leadsto {y}^{3} \cdot \frac{z}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(a + y, y, b\right)}, y, c\right), y, i\right)} \]
              14. lower-+.f6413.1

                \[\leadsto {y}^{3} \cdot \frac{z}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{a + y}, y, b\right), y, c\right), y, i\right)} \]
            5. Applied rewrites13.1%

              \[\leadsto \color{blue}{{y}^{3} \cdot \frac{z}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}} \]
            6. Taylor expanded in y around inf

              \[\leadsto \frac{z}{\color{blue}{y}} \]
            7. Step-by-step derivation
              1. Applied rewrites13.9%

                \[\leadsto \frac{z}{\color{blue}{y}} \]
            8. Recombined 2 regimes into one program.
            9. Add Preprocessing

            Alternative 13: 7.6% accurate, 5.9× speedup?

            \[\begin{array}{l} \\ \frac{z}{a} \end{array} \]
            (FPCore (x y z t a b c i) :precision binary64 (/ z a))
            double code(double x, double y, double z, double t, double a, double b, double c, double i) {
            	return z / a;
            }
            
            real(8) function code(x, y, z, t, a, b, c, i)
                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
                code = z / a
            end function
            
            public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
            	return z / a;
            }
            
            def code(x, y, z, t, a, b, c, i):
            	return z / a
            
            function code(x, y, z, t, a, b, c, i)
            	return Float64(z / a)
            end
            
            function tmp = code(x, y, z, t, a, b, c, i)
            	tmp = z / a;
            end
            
            code[x_, y_, z_, t_, a_, b_, c_, i_] := N[(z / a), $MachinePrecision]
            
            \begin{array}{l}
            
            \\
            \frac{z}{a}
            \end{array}
            
            Derivation
            1. Initial program 53.3%

              \[\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
            2. Add Preprocessing
            3. Taylor expanded in z around inf

              \[\leadsto \color{blue}{\frac{{y}^{3} \cdot z}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
            4. Step-by-step derivation
              1. associate-/l*N/A

                \[\leadsto \color{blue}{{y}^{3} \cdot \frac{z}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
              2. lower-*.f64N/A

                \[\leadsto \color{blue}{{y}^{3} \cdot \frac{z}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
              3. lower-pow.f64N/A

                \[\leadsto \color{blue}{{y}^{3}} \cdot \frac{z}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
              4. lower-/.f64N/A

                \[\leadsto {y}^{3} \cdot \color{blue}{\frac{z}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
              5. +-commutativeN/A

                \[\leadsto {y}^{3} \cdot \frac{z}{\color{blue}{y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right) + i}} \]
              6. *-commutativeN/A

                \[\leadsto {y}^{3} \cdot \frac{z}{\color{blue}{\left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right) \cdot y} + i} \]
              7. lower-fma.f64N/A

                \[\leadsto {y}^{3} \cdot \frac{z}{\color{blue}{\mathsf{fma}\left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right), y, i\right)}} \]
              8. +-commutativeN/A

                \[\leadsto {y}^{3} \cdot \frac{z}{\mathsf{fma}\left(\color{blue}{y \cdot \left(b + y \cdot \left(a + y\right)\right) + c}, y, i\right)} \]
              9. *-commutativeN/A

                \[\leadsto {y}^{3} \cdot \frac{z}{\mathsf{fma}\left(\color{blue}{\left(b + y \cdot \left(a + y\right)\right) \cdot y} + c, y, i\right)} \]
              10. lower-fma.f64N/A

                \[\leadsto {y}^{3} \cdot \frac{z}{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(b + y \cdot \left(a + y\right), y, c\right)}, y, i\right)} \]
              11. +-commutativeN/A

                \[\leadsto {y}^{3} \cdot \frac{z}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{y \cdot \left(a + y\right) + b}, y, c\right), y, i\right)} \]
              12. *-commutativeN/A

                \[\leadsto {y}^{3} \cdot \frac{z}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\left(a + y\right) \cdot y} + b, y, c\right), y, i\right)} \]
              13. lower-fma.f64N/A

                \[\leadsto {y}^{3} \cdot \frac{z}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(a + y, y, b\right)}, y, c\right), y, i\right)} \]
              14. lower-+.f6413.0

                \[\leadsto {y}^{3} \cdot \frac{z}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{a + y}, y, b\right), y, c\right), y, i\right)} \]
            5. Applied rewrites13.0%

              \[\leadsto \color{blue}{{y}^{3} \cdot \frac{z}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}} \]
            6. Taylor expanded in a around inf

              \[\leadsto \frac{z}{\color{blue}{a}} \]
            7. Step-by-step derivation
              1. Applied rewrites7.9%

                \[\leadsto \frac{z}{\color{blue}{a}} \]
              2. Add Preprocessing

              Reproduce

              ?
              herbie shell --seed 2024278 
              (FPCore (x y z t a b c i)
                :name "Numeric.SpecFunctions:logGamma from math-functions-0.1.5.2"
                :precision binary64
                (/ (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)))