Numeric.SpecFunctions:logGamma from math-functions-0.1.5.2

Percentage Accurate: 54.6% → 82.6%
Time: 8.9s
Alternatives: 17
Speedup: 1.7×

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);
}
module fmin_fmax_functions
    implicit none
    private
    public fmax
    public fmin

    interface fmax
        module procedure fmax88
        module procedure fmax44
        module procedure fmax84
        module procedure fmax48
    end interface
    interface fmin
        module procedure fmin88
        module procedure fmin44
        module procedure fmin84
        module procedure fmin48
    end interface
contains
    real(8) function fmax88(x, y) result (res)
        real(8), intent (in) :: x
        real(8), intent (in) :: y
        res = merge(y, merge(x, max(x, y), y /= y), x /= x)
    end function
    real(4) function fmax44(x, y) result (res)
        real(4), intent (in) :: x
        real(4), intent (in) :: y
        res = merge(y, merge(x, max(x, y), y /= y), x /= x)
    end function
    real(8) function fmax84(x, y) result(res)
        real(8), intent (in) :: x
        real(4), intent (in) :: y
        res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
    end function
    real(8) function fmax48(x, y) result(res)
        real(4), intent (in) :: x
        real(8), intent (in) :: y
        res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
    end function
    real(8) function fmin88(x, y) result (res)
        real(8), intent (in) :: x
        real(8), intent (in) :: y
        res = merge(y, merge(x, min(x, y), y /= y), x /= x)
    end function
    real(4) function fmin44(x, y) result (res)
        real(4), intent (in) :: x
        real(4), intent (in) :: y
        res = merge(y, merge(x, min(x, y), y /= y), x /= x)
    end function
    real(8) function fmin84(x, y) result(res)
        real(8), intent (in) :: x
        real(4), intent (in) :: y
        res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
    end function
    real(8) function fmin48(x, y) result(res)
        real(4), intent (in) :: x
        real(8), intent (in) :: y
        res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
    end function
end module

real(8) function code(x, y, z, t, a, b, c, i)
use fmin_fmax_functions
    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}

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 17 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: 54.6% 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);
}
module fmin_fmax_functions
    implicit none
    private
    public fmax
    public fmin

    interface fmax
        module procedure fmax88
        module procedure fmax44
        module procedure fmax84
        module procedure fmax48
    end interface
    interface fmin
        module procedure fmin88
        module procedure fmin44
        module procedure fmin84
        module procedure fmin48
    end interface
contains
    real(8) function fmax88(x, y) result (res)
        real(8), intent (in) :: x
        real(8), intent (in) :: y
        res = merge(y, merge(x, max(x, y), y /= y), x /= x)
    end function
    real(4) function fmax44(x, y) result (res)
        real(4), intent (in) :: x
        real(4), intent (in) :: y
        res = merge(y, merge(x, max(x, y), y /= y), x /= x)
    end function
    real(8) function fmax84(x, y) result(res)
        real(8), intent (in) :: x
        real(4), intent (in) :: y
        res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
    end function
    real(8) function fmax48(x, y) result(res)
        real(4), intent (in) :: x
        real(8), intent (in) :: y
        res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
    end function
    real(8) function fmin88(x, y) result (res)
        real(8), intent (in) :: x
        real(8), intent (in) :: y
        res = merge(y, merge(x, min(x, y), y /= y), x /= x)
    end function
    real(4) function fmin44(x, y) result (res)
        real(4), intent (in) :: x
        real(4), intent (in) :: y
        res = merge(y, merge(x, min(x, y), y /= y), x /= x)
    end function
    real(8) function fmin84(x, y) result(res)
        real(8), intent (in) :: x
        real(4), intent (in) :: y
        res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
    end function
    real(8) function fmin48(x, y) result(res)
        real(4), intent (in) :: x
        real(8), intent (in) :: y
        res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
    end function
end module

real(8) function code(x, y, z, t, a, b, c, i)
use fmin_fmax_functions
    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: 82.6% accurate, 0.6× 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)\\ \mathbf{if}\;y \leq -3.9 \cdot 10^{+61}:\\ \;\;\;\;\left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x\\ \mathbf{elif}\;y \leq 2 \cdot 10^{+57}:\\ \;\;\;\;\mathsf{fma}\left(y, \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, z\right), y, 27464.7644705\right), y, 230661.510616\right)}{t\_1}, \frac{t}{t\_1}\right)\\ \mathbf{elif}\;y \leq 5.5 \cdot 10^{+220}:\\ \;\;\;\;-1 \cdot \left(x \cdot \left(\mathsf{fma}\left(-1, \frac{\mathsf{fma}\left(27464.7644705, \frac{1}{y \cdot y}, \frac{z}{y}\right) - \frac{a \cdot z}{y \cdot y}}{x}, \frac{a}{y}\right) - \left(1 + \mathsf{fma}\left(-1, \frac{b}{y \cdot y}, \frac{a \cdot a}{y \cdot y}\right)\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;x\\ \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)))
   (if (<= y -3.9e+61)
     (+ (- (/ (- (- z) (* (- a) x)) y)) x)
     (if (<= y 2e+57)
       (fma
        y
        (/ (fma (fma (fma y x z) y 27464.7644705) y 230661.510616) t_1)
        (/ t t_1))
       (if (<= y 5.5e+220)
         (*
          -1.0
          (*
           x
           (-
            (fma
             -1.0
             (/
              (-
               (fma 27464.7644705 (/ 1.0 (* y y)) (/ z y))
               (/ (* a z) (* y y)))
              x)
             (/ a y))
            (+ 1.0 (fma -1.0 (/ b (* y y)) (/ (* a a) (* y y)))))))
         x)))))
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 tmp;
	if (y <= -3.9e+61) {
		tmp = -((-z - (-a * x)) / y) + x;
	} else if (y <= 2e+57) {
		tmp = fma(y, (fma(fma(fma(y, x, z), y, 27464.7644705), y, 230661.510616) / t_1), (t / t_1));
	} else if (y <= 5.5e+220) {
		tmp = -1.0 * (x * (fma(-1.0, ((fma(27464.7644705, (1.0 / (y * y)), (z / y)) - ((a * z) / (y * y))) / x), (a / y)) - (1.0 + fma(-1.0, (b / (y * y)), ((a * a) / (y * y))))));
	} else {
		tmp = x;
	}
	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)
	tmp = 0.0
	if (y <= -3.9e+61)
		tmp = Float64(Float64(-Float64(Float64(Float64(-z) - Float64(Float64(-a) * x)) / y)) + x);
	elseif (y <= 2e+57)
		tmp = fma(y, Float64(fma(fma(fma(y, x, z), y, 27464.7644705), y, 230661.510616) / t_1), Float64(t / t_1));
	elseif (y <= 5.5e+220)
		tmp = Float64(-1.0 * Float64(x * Float64(fma(-1.0, Float64(Float64(fma(27464.7644705, Float64(1.0 / Float64(y * y)), Float64(z / y)) - Float64(Float64(a * z) / Float64(y * y))) / x), Float64(a / y)) - Float64(1.0 + fma(-1.0, Float64(b / Float64(y * y)), Float64(Float64(a * a) / Float64(y * y)))))));
	else
		tmp = x;
	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]}, If[LessEqual[y, -3.9e+61], N[((-N[(N[((-z) - N[((-a) * x), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]) + x), $MachinePrecision], If[LessEqual[y, 2e+57], N[(y * N[(N[(N[(N[(y * x + z), $MachinePrecision] * y + 27464.7644705), $MachinePrecision] * y + 230661.510616), $MachinePrecision] / t$95$1), $MachinePrecision] + N[(t / t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 5.5e+220], N[(-1.0 * N[(x * N[(N[(-1.0 * N[(N[(N[(27464.7644705 * N[(1.0 / N[(y * y), $MachinePrecision]), $MachinePrecision] + N[(z / y), $MachinePrecision]), $MachinePrecision] - N[(N[(a * z), $MachinePrecision] / N[(y * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision] + N[(a / y), $MachinePrecision]), $MachinePrecision] - N[(1.0 + N[(-1.0 * N[(b / N[(y * y), $MachinePrecision]), $MachinePrecision] + N[(N[(a * a), $MachinePrecision] / N[(y * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], x]]]]
\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)\\
\mathbf{if}\;y \leq -3.9 \cdot 10^{+61}:\\
\;\;\;\;\left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x\\

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

\mathbf{elif}\;y \leq 5.5 \cdot 10^{+220}:\\
\;\;\;\;-1 \cdot \left(x \cdot \left(\mathsf{fma}\left(-1, \frac{\mathsf{fma}\left(27464.7644705, \frac{1}{y \cdot y}, \frac{z}{y}\right) - \frac{a \cdot z}{y \cdot y}}{x}, \frac{a}{y}\right) - \left(1 + \mathsf{fma}\left(-1, \frac{b}{y \cdot y}, \frac{a \cdot a}{y \cdot y}\right)\right)\right)\right)\\

\mathbf{else}:\\
\;\;\;\;x\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if y < -3.89999999999999987e61

    1. Initial program 2.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. Taylor expanded in y around -inf

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

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

        \[\leadsto -1 \cdot \frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y} + \color{blue}{x} \]
      3. mul-1-negN/A

        \[\leadsto \left(\mathsf{neg}\left(\frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y}\right)\right) + x \]
      4. lower-neg.f64N/A

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

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

        \[\leadsto \left(-\frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y}\right) + x \]
      7. mul-1-negN/A

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

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

        \[\leadsto \left(-\frac{\left(-z\right) - \left(-1 \cdot a\right) \cdot x}{y}\right) + x \]
      10. mul-1-negN/A

        \[\leadsto \left(-\frac{\left(-z\right) - \left(\mathsf{neg}\left(a\right)\right) \cdot x}{y}\right) + x \]
      11. lower-*.f64N/A

        \[\leadsto \left(-\frac{\left(-z\right) - \left(\mathsf{neg}\left(a\right)\right) \cdot x}{y}\right) + x \]
      12. lower-neg.f6468.8

        \[\leadsto \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x \]
    4. Applied rewrites68.8%

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

    if -3.89999999999999987e61 < y < 2.0000000000000001e57

    1. Initial program 92.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. Applied rewrites92.9%

      \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, 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)} \]

    if 2.0000000000000001e57 < y < 5.4999999999999999e220

    1. Initial program 3.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. Taylor expanded in y around -inf

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

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

        \[\leadsto -1 \cdot \frac{\left(-1 \cdot z + -1 \cdot \frac{\frac{54929528941}{2000000} - \left(-1 \cdot \left(a \cdot \left(-1 \cdot z - -1 \cdot \left(a \cdot x\right)\right)\right) + b \cdot x\right)}{y}\right) - -1 \cdot \left(a \cdot x\right)}{y} + \color{blue}{x} \]
    4. Applied rewrites53.8%

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

      \[\leadsto -1 \cdot \color{blue}{\left(x \cdot \left(\left(-1 \cdot \frac{\left(\frac{54929528941}{2000000} \cdot \frac{1}{{y}^{2}} + \frac{z}{y}\right) - \frac{a \cdot z}{{y}^{2}}}{x} + \frac{a}{y}\right) - \left(1 + \left(-1 \cdot \frac{b}{{y}^{2}} + \frac{{a}^{2}}{{y}^{2}}\right)\right)\right)\right)} \]
    6. Step-by-step derivation
      1. lower-*.f64N/A

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

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

        \[\leadsto -1 \cdot \left(x \cdot \left(\left(-1 \cdot \frac{\left(\frac{54929528941}{2000000} \cdot \frac{1}{{y}^{2}} + \frac{z}{y}\right) - \frac{a \cdot z}{{y}^{2}}}{x} + \frac{a}{y}\right) - \left(1 + \color{blue}{\left(-1 \cdot \frac{b}{{y}^{2}} + \frac{{a}^{2}}{{y}^{2}}\right)}\right)\right)\right) \]
    7. Applied rewrites59.1%

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

    if 5.4999999999999999e220 < y

    1. Initial program 0.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. Taylor expanded in y around inf

      \[\leadsto \color{blue}{x} \]
    3. Step-by-step derivation
      1. Applied rewrites77.5%

        \[\leadsto \color{blue}{x} \]
    4. Recombined 4 regimes into one program.
    5. Add Preprocessing

    Alternative 2: 82.2% accurate, 0.7× 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 := \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x\\ \mathbf{if}\;y \leq -3.9 \cdot 10^{+61}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y \leq 2 \cdot 10^{+57}:\\ \;\;\;\;\mathsf{fma}\left(y, \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, z\right), y, 27464.7644705\right), y, 230661.510616\right)}{t\_1}, \frac{t}{t\_1}\right)\\ \mathbf{elif}\;y \leq 5.5 \cdot 10^{+220}:\\ \;\;\;\;t\_2\\ \mathbf{else}:\\ \;\;\;\;x\\ \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 -3.9e+61)
         t_2
         (if (<= y 2e+57)
           (fma
            y
            (/ (fma (fma (fma y x z) y 27464.7644705) y 230661.510616) t_1)
            (/ t t_1))
           (if (<= y 5.5e+220) t_2 x)))))
    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 <= -3.9e+61) {
    		tmp = t_2;
    	} else if (y <= 2e+57) {
    		tmp = fma(y, (fma(fma(fma(y, x, z), y, 27464.7644705), y, 230661.510616) / t_1), (t / t_1));
    	} else if (y <= 5.5e+220) {
    		tmp = t_2;
    	} else {
    		tmp = x;
    	}
    	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(Float64(Float64(-z) - Float64(Float64(-a) * x)) / y)) + x)
    	tmp = 0.0
    	if (y <= -3.9e+61)
    		tmp = t_2;
    	elseif (y <= 2e+57)
    		tmp = fma(y, Float64(fma(fma(fma(y, x, z), y, 27464.7644705), y, 230661.510616) / t_1), Float64(t / t_1));
    	elseif (y <= 5.5e+220)
    		tmp = t_2;
    	else
    		tmp = x;
    	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, -3.9e+61], t$95$2, If[LessEqual[y, 2e+57], N[(y * N[(N[(N[(N[(y * x + z), $MachinePrecision] * y + 27464.7644705), $MachinePrecision] * y + 230661.510616), $MachinePrecision] / t$95$1), $MachinePrecision] + N[(t / t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 5.5e+220], t$95$2, x]]]]]
    
    \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 := \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x\\
    \mathbf{if}\;y \leq -3.9 \cdot 10^{+61}:\\
    \;\;\;\;t\_2\\
    
    \mathbf{elif}\;y \leq 2 \cdot 10^{+57}:\\
    \;\;\;\;\mathsf{fma}\left(y, \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, z\right), y, 27464.7644705\right), y, 230661.510616\right)}{t\_1}, \frac{t}{t\_1}\right)\\
    
    \mathbf{elif}\;y \leq 5.5 \cdot 10^{+220}:\\
    \;\;\;\;t\_2\\
    
    \mathbf{else}:\\
    \;\;\;\;x\\
    
    
    \end{array}
    \end{array}
    
    Derivation
    1. Split input into 3 regimes
    2. if y < -3.89999999999999987e61 or 2.0000000000000001e57 < y < 5.4999999999999999e220

      1. Initial program 2.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. Taylor expanded in y around -inf

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

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

          \[\leadsto -1 \cdot \frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y} + \color{blue}{x} \]
        3. mul-1-negN/A

          \[\leadsto \left(\mathsf{neg}\left(\frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y}\right)\right) + x \]
        4. lower-neg.f64N/A

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

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

          \[\leadsto \left(-\frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y}\right) + x \]
        7. mul-1-negN/A

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

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

          \[\leadsto \left(-\frac{\left(-z\right) - \left(-1 \cdot a\right) \cdot x}{y}\right) + x \]
        10. mul-1-negN/A

          \[\leadsto \left(-\frac{\left(-z\right) - \left(\mathsf{neg}\left(a\right)\right) \cdot x}{y}\right) + x \]
        11. lower-*.f64N/A

          \[\leadsto \left(-\frac{\left(-z\right) - \left(\mathsf{neg}\left(a\right)\right) \cdot x}{y}\right) + x \]
        12. lower-neg.f6466.1

          \[\leadsto \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x \]
      4. Applied rewrites66.1%

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

      if -3.89999999999999987e61 < y < 2.0000000000000001e57

      1. Initial program 92.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. Applied rewrites92.9%

        \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, 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)} \]

      if 5.4999999999999999e220 < y

      1. Initial program 0.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. Taylor expanded in y around inf

        \[\leadsto \color{blue}{x} \]
      3. Step-by-step derivation
        1. Applied rewrites77.5%

          \[\leadsto \color{blue}{x} \]
      4. Recombined 3 regimes into one program.
      5. Add Preprocessing

      Alternative 3: 82.2% accurate, 0.8× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x\\ \mathbf{if}\;y \leq -1.8 \cdot 10^{+61}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq 1.9 \cdot 10^{+57}:\\ \;\;\;\;\frac{\mathsf{fma}\left(y, 230661.510616, \left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, z\right), y, 27464.7644705\right) \cdot y\right) \cdot y\right) + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}\\ \mathbf{elif}\;y \leq 5.5 \cdot 10^{+220}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;x\\ \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.8e+61)
           t_1
           (if (<= y 1.9e+57)
             (/
              (+
               (fma y 230661.510616 (* (* (fma (fma y x z) y 27464.7644705) y) y))
               t)
              (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i))
             (if (<= y 5.5e+220) t_1 x)))))
      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.8e+61) {
      		tmp = t_1;
      	} else if (y <= 1.9e+57) {
      		tmp = (fma(y, 230661.510616, ((fma(fma(y, x, z), y, 27464.7644705) * y) * y)) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i);
      	} else if (y <= 5.5e+220) {
      		tmp = t_1;
      	} else {
      		tmp = x;
      	}
      	return tmp;
      }
      
      function code(x, y, z, t, a, b, c, i)
      	t_1 = Float64(Float64(-Float64(Float64(Float64(-z) - Float64(Float64(-a) * x)) / y)) + x)
      	tmp = 0.0
      	if (y <= -1.8e+61)
      		tmp = t_1;
      	elseif (y <= 1.9e+57)
      		tmp = Float64(Float64(fma(y, 230661.510616, Float64(Float64(fma(fma(y, x, z), y, 27464.7644705) * y) * y)) + t) / Float64(Float64(Float64(Float64(Float64(Float64(Float64(y + a) * y) + b) * y) + c) * y) + i));
      	elseif (y <= 5.5e+220)
      		tmp = t_1;
      	else
      		tmp = x;
      	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.8e+61], t$95$1, If[LessEqual[y, 1.9e+57], N[(N[(N[(y * 230661.510616 + N[(N[(N[(N[(y * x + z), $MachinePrecision] * y + 27464.7644705), $MachinePrecision] * y), $MachinePrecision] * y), $MachinePrecision]), $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], If[LessEqual[y, 5.5e+220], t$95$1, x]]]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      t_1 := \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x\\
      \mathbf{if}\;y \leq -1.8 \cdot 10^{+61}:\\
      \;\;\;\;t\_1\\
      
      \mathbf{elif}\;y \leq 1.9 \cdot 10^{+57}:\\
      \;\;\;\;\frac{\mathsf{fma}\left(y, 230661.510616, \left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, z\right), y, 27464.7644705\right) \cdot y\right) \cdot y\right) + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}\\
      
      \mathbf{elif}\;y \leq 5.5 \cdot 10^{+220}:\\
      \;\;\;\;t\_1\\
      
      \mathbf{else}:\\
      \;\;\;\;x\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 3 regimes
      2. if y < -1.80000000000000005e61 or 1.8999999999999999e57 < y < 5.4999999999999999e220

        1. Initial program 2.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. Taylor expanded in y around -inf

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

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

            \[\leadsto -1 \cdot \frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y} + \color{blue}{x} \]
          3. mul-1-negN/A

            \[\leadsto \left(\mathsf{neg}\left(\frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y}\right)\right) + x \]
          4. lower-neg.f64N/A

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

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

            \[\leadsto \left(-\frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y}\right) + x \]
          7. mul-1-negN/A

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

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

            \[\leadsto \left(-\frac{\left(-z\right) - \left(-1 \cdot a\right) \cdot x}{y}\right) + x \]
          10. mul-1-negN/A

            \[\leadsto \left(-\frac{\left(-z\right) - \left(\mathsf{neg}\left(a\right)\right) \cdot x}{y}\right) + x \]
          11. lower-*.f64N/A

            \[\leadsto \left(-\frac{\left(-z\right) - \left(\mathsf{neg}\left(a\right)\right) \cdot x}{y}\right) + x \]
          12. lower-neg.f6466.1

            \[\leadsto \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x \]
        4. Applied rewrites66.1%

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

        if -1.80000000000000005e61 < y < 1.8999999999999999e57

        1. Initial program 92.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. Step-by-step derivation
          1. lift-*.f64N/A

            \[\leadsto \frac{\color{blue}{\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. lift-+.f64N/A

            \[\leadsto \frac{\color{blue}{\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} \]
          3. lift-*.f64N/A

            \[\leadsto \frac{\left(\color{blue}{\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} \]
          4. lift-+.f64N/A

            \[\leadsto \frac{\left(\color{blue}{\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} \]
          5. lift-*.f64N/A

            \[\leadsto \frac{\left(\left(\color{blue}{\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} \]
          6. lift-*.f64N/A

            \[\leadsto \frac{\left(\left(\left(\color{blue}{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} \]
          7. lift-+.f64N/A

            \[\leadsto \frac{\left(\left(\color{blue}{\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} \]
          8. *-commutativeN/A

            \[\leadsto \frac{\left(\left(\color{blue}{y \cdot \left(x \cdot y + z\right)} + \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} \]
          9. +-commutativeN/A

            \[\leadsto \frac{\left(\left(y \cdot \color{blue}{\left(z + x \cdot y\right)} + \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} \]
          10. +-commutativeN/A

            \[\leadsto \frac{\left(\color{blue}{\left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\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} \]
          11. *-commutativeN/A

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

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

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

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

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

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

          \[\leadsto \frac{\color{blue}{\mathsf{fma}\left(y, 230661.510616, \left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, z\right), y, 27464.7644705\right) \cdot y\right) \cdot y\right)} + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]

        if 5.4999999999999999e220 < y

        1. Initial program 0.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. Taylor expanded in y around inf

          \[\leadsto \color{blue}{x} \]
        3. Step-by-step derivation
          1. Applied rewrites77.5%

            \[\leadsto \color{blue}{x} \]
        4. Recombined 3 regimes into one program.
        5. Add Preprocessing

        Alternative 4: 82.2% accurate, 0.9× speedup?

        \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x\\ \mathbf{if}\;y \leq -1.8 \cdot 10^{+61}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq 1.9 \cdot 10^{+57}:\\ \;\;\;\;\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}\\ \mathbf{elif}\;y \leq 5.5 \cdot 10^{+220}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;x\\ \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.8e+61)
             t_1
             (if (<= y 1.9e+57)
               (/
                (+
                 (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y)
                 t)
                (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i))
               (if (<= y 5.5e+220) t_1 x)))))
        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.8e+61) {
        		tmp = t_1;
        	} else if (y <= 1.9e+57) {
        		tmp = ((((((((x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i);
        	} else if (y <= 5.5e+220) {
        		tmp = t_1;
        	} else {
        		tmp = x;
        	}
        	return tmp;
        }
        
        module fmin_fmax_functions
            implicit none
            private
            public fmax
            public fmin
        
            interface fmax
                module procedure fmax88
                module procedure fmax44
                module procedure fmax84
                module procedure fmax48
            end interface
            interface fmin
                module procedure fmin88
                module procedure fmin44
                module procedure fmin84
                module procedure fmin48
            end interface
        contains
            real(8) function fmax88(x, y) result (res)
                real(8), intent (in) :: x
                real(8), intent (in) :: y
                res = merge(y, merge(x, max(x, y), y /= y), x /= x)
            end function
            real(4) function fmax44(x, y) result (res)
                real(4), intent (in) :: x
                real(4), intent (in) :: y
                res = merge(y, merge(x, max(x, y), y /= y), x /= x)
            end function
            real(8) function fmax84(x, y) result(res)
                real(8), intent (in) :: x
                real(4), intent (in) :: y
                res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
            end function
            real(8) function fmax48(x, y) result(res)
                real(4), intent (in) :: x
                real(8), intent (in) :: y
                res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
            end function
            real(8) function fmin88(x, y) result (res)
                real(8), intent (in) :: x
                real(8), intent (in) :: y
                res = merge(y, merge(x, min(x, y), y /= y), x /= x)
            end function
            real(4) function fmin44(x, y) result (res)
                real(4), intent (in) :: x
                real(4), intent (in) :: y
                res = merge(y, merge(x, min(x, y), y /= y), x /= x)
            end function
            real(8) function fmin84(x, y) result(res)
                real(8), intent (in) :: x
                real(4), intent (in) :: y
                res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
            end function
            real(8) function fmin48(x, y) result(res)
                real(4), intent (in) :: x
                real(8), intent (in) :: y
                res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
            end function
        end module
        
        real(8) function code(x, y, z, t, a, b, c, i)
        use fmin_fmax_functions
            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.8d+61)) then
                tmp = t_1
            else if (y <= 1.9d+57) then
                tmp = ((((((((x * y) + z) * y) + 27464.7644705d0) * y) + 230661.510616d0) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i)
            else if (y <= 5.5d+220) then
                tmp = t_1
            else
                tmp = x
            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.8e+61) {
        		tmp = t_1;
        	} else if (y <= 1.9e+57) {
        		tmp = ((((((((x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i);
        	} else if (y <= 5.5e+220) {
        		tmp = t_1;
        	} else {
        		tmp = x;
        	}
        	return tmp;
        }
        
        def code(x, y, z, t, a, b, c, i):
        	t_1 = -((-z - (-a * x)) / y) + x
        	tmp = 0
        	if y <= -1.8e+61:
        		tmp = t_1
        	elif y <= 1.9e+57:
        		tmp = ((((((((x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i)
        	elif y <= 5.5e+220:
        		tmp = t_1
        	else:
        		tmp = x
        	return tmp
        
        function code(x, y, z, t, a, b, c, i)
        	t_1 = Float64(Float64(-Float64(Float64(Float64(-z) - Float64(Float64(-a) * x)) / y)) + x)
        	tmp = 0.0
        	if (y <= -1.8e+61)
        		tmp = t_1;
        	elseif (y <= 1.9e+57)
        		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(y + a) * y) + b) * y) + c) * y) + i));
        	elseif (y <= 5.5e+220)
        		tmp = t_1;
        	else
        		tmp = x;
        	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.8e+61)
        		tmp = t_1;
        	elseif (y <= 1.9e+57)
        		tmp = ((((((((x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i);
        	elseif (y <= 5.5e+220)
        		tmp = t_1;
        	else
        		tmp = x;
        	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.8e+61], t$95$1, If[LessEqual[y, 1.9e+57], 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], If[LessEqual[y, 5.5e+220], t$95$1, x]]]]
        
        \begin{array}{l}
        
        \\
        \begin{array}{l}
        t_1 := \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x\\
        \mathbf{if}\;y \leq -1.8 \cdot 10^{+61}:\\
        \;\;\;\;t\_1\\
        
        \mathbf{elif}\;y \leq 1.9 \cdot 10^{+57}:\\
        \;\;\;\;\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}\\
        
        \mathbf{elif}\;y \leq 5.5 \cdot 10^{+220}:\\
        \;\;\;\;t\_1\\
        
        \mathbf{else}:\\
        \;\;\;\;x\\
        
        
        \end{array}
        \end{array}
        
        Derivation
        1. Split input into 3 regimes
        2. if y < -1.80000000000000005e61 or 1.8999999999999999e57 < y < 5.4999999999999999e220

          1. Initial program 2.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. Taylor expanded in y around -inf

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

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

              \[\leadsto -1 \cdot \frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y} + \color{blue}{x} \]
            3. mul-1-negN/A

              \[\leadsto \left(\mathsf{neg}\left(\frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y}\right)\right) + x \]
            4. lower-neg.f64N/A

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

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

              \[\leadsto \left(-\frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y}\right) + x \]
            7. mul-1-negN/A

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

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

              \[\leadsto \left(-\frac{\left(-z\right) - \left(-1 \cdot a\right) \cdot x}{y}\right) + x \]
            10. mul-1-negN/A

              \[\leadsto \left(-\frac{\left(-z\right) - \left(\mathsf{neg}\left(a\right)\right) \cdot x}{y}\right) + x \]
            11. lower-*.f64N/A

              \[\leadsto \left(-\frac{\left(-z\right) - \left(\mathsf{neg}\left(a\right)\right) \cdot x}{y}\right) + x \]
            12. lower-neg.f6466.1

              \[\leadsto \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x \]
          4. Applied rewrites66.1%

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

          if -1.80000000000000005e61 < y < 1.8999999999999999e57

          1. Initial program 92.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} \]

          if 5.4999999999999999e220 < y

          1. Initial program 0.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. Taylor expanded in y around inf

            \[\leadsto \color{blue}{x} \]
          3. Step-by-step derivation
            1. Applied rewrites77.5%

              \[\leadsto \color{blue}{x} \]
          4. Recombined 3 regimes into one program.
          5. Add Preprocessing

          Alternative 5: 79.0% accurate, 0.9× speedup?

          \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x\\ \mathbf{if}\;y \leq -1.18 \cdot 10^{+60}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq 4 \cdot 10^{-8}:\\ \;\;\;\;\frac{\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)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, y, b\right), y, c\right), y, i\right)}\\ \mathbf{elif}\;y \leq 4.9 \cdot 10^{+56}:\\ \;\;\;\;\frac{\left(\frac{z}{y} + x\right) \cdot \left(\left(y \cdot y\right) \cdot \left(y \cdot y\right)\right)}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}\\ \mathbf{elif}\;y \leq 5.5 \cdot 10^{+220}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;x\\ \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.18e+60)
               t_1
               (if (<= y 4e-8)
                 (/
                  (fma (fma (fma (fma y x z) y 27464.7644705) y 230661.510616) y t)
                  (fma (fma (fma y y b) y c) y i))
                 (if (<= y 4.9e+56)
                   (/
                    (* (+ (/ z y) x) (* (* y y) (* y y)))
                    (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i))
                   (if (<= y 5.5e+220) t_1 x))))))
          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.18e+60) {
          		tmp = t_1;
          	} else if (y <= 4e-8) {
          		tmp = fma(fma(fma(fma(y, x, z), y, 27464.7644705), y, 230661.510616), y, t) / fma(fma(fma(y, y, b), y, c), y, i);
          	} else if (y <= 4.9e+56) {
          		tmp = (((z / y) + x) * ((y * y) * (y * y))) / (((((((y + a) * y) + b) * y) + c) * y) + i);
          	} else if (y <= 5.5e+220) {
          		tmp = t_1;
          	} else {
          		tmp = x;
          	}
          	return tmp;
          }
          
          function code(x, y, z, t, a, b, c, i)
          	t_1 = Float64(Float64(-Float64(Float64(Float64(-z) - Float64(Float64(-a) * x)) / y)) + x)
          	tmp = 0.0
          	if (y <= -1.18e+60)
          		tmp = t_1;
          	elseif (y <= 4e-8)
          		tmp = Float64(fma(fma(fma(fma(y, x, z), y, 27464.7644705), y, 230661.510616), y, t) / fma(fma(fma(y, y, b), y, c), y, i));
          	elseif (y <= 4.9e+56)
          		tmp = Float64(Float64(Float64(Float64(z / y) + x) * Float64(Float64(y * y) * Float64(y * y))) / Float64(Float64(Float64(Float64(Float64(Float64(Float64(y + a) * y) + b) * y) + c) * y) + i));
          	elseif (y <= 5.5e+220)
          		tmp = t_1;
          	else
          		tmp = x;
          	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.18e+60], t$95$1, If[LessEqual[y, 4e-8], N[(N[(N[(N[(N[(y * x + z), $MachinePrecision] * y + 27464.7644705), $MachinePrecision] * y + 230661.510616), $MachinePrecision] * y + t), $MachinePrecision] / N[(N[(N[(y * y + b), $MachinePrecision] * y + c), $MachinePrecision] * y + i), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 4.9e+56], N[(N[(N[(N[(z / y), $MachinePrecision] + x), $MachinePrecision] * N[(N[(y * y), $MachinePrecision] * N[(y * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(N[(N[(N[(N[(N[(N[(y + a), $MachinePrecision] * y), $MachinePrecision] + b), $MachinePrecision] * y), $MachinePrecision] + c), $MachinePrecision] * y), $MachinePrecision] + i), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 5.5e+220], t$95$1, x]]]]]
          
          \begin{array}{l}
          
          \\
          \begin{array}{l}
          t_1 := \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x\\
          \mathbf{if}\;y \leq -1.18 \cdot 10^{+60}:\\
          \;\;\;\;t\_1\\
          
          \mathbf{elif}\;y \leq 4 \cdot 10^{-8}:\\
          \;\;\;\;\frac{\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)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, y, b\right), y, c\right), y, i\right)}\\
          
          \mathbf{elif}\;y \leq 4.9 \cdot 10^{+56}:\\
          \;\;\;\;\frac{\left(\frac{z}{y} + x\right) \cdot \left(\left(y \cdot y\right) \cdot \left(y \cdot y\right)\right)}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}\\
          
          \mathbf{elif}\;y \leq 5.5 \cdot 10^{+220}:\\
          \;\;\;\;t\_1\\
          
          \mathbf{else}:\\
          \;\;\;\;x\\
          
          
          \end{array}
          \end{array}
          
          Derivation
          1. Split input into 4 regimes
          2. if y < -1.18000000000000008e60 or 4.9000000000000003e56 < y < 5.4999999999999999e220

            1. Initial program 2.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. Taylor expanded in y around -inf

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

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

                \[\leadsto -1 \cdot \frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y} + \color{blue}{x} \]
              3. mul-1-negN/A

                \[\leadsto \left(\mathsf{neg}\left(\frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y}\right)\right) + x \]
              4. lower-neg.f64N/A

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

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

                \[\leadsto \left(-\frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y}\right) + x \]
              7. mul-1-negN/A

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

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

                \[\leadsto \left(-\frac{\left(-z\right) - \left(-1 \cdot a\right) \cdot x}{y}\right) + x \]
              10. mul-1-negN/A

                \[\leadsto \left(-\frac{\left(-z\right) - \left(\mathsf{neg}\left(a\right)\right) \cdot x}{y}\right) + x \]
              11. lower-*.f64N/A

                \[\leadsto \left(-\frac{\left(-z\right) - \left(\mathsf{neg}\left(a\right)\right) \cdot x}{y}\right) + x \]
              12. lower-neg.f6465.9

                \[\leadsto \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x \]
            4. Applied rewrites65.9%

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

            if -1.18000000000000008e60 < y < 4.0000000000000001e-8

            1. Initial program 95.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. Taylor expanded in a around 0

              \[\leadsto \color{blue}{\frac{t + 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}^{2}\right)\right)}} \]
            3. Step-by-step derivation
              1. lower-/.f64N/A

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

              \[\leadsto \color{blue}{\frac{\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)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, y, b\right), y, c\right), y, i\right)}} \]

            if 4.0000000000000001e-8 < y < 4.9000000000000003e56

            1. Initial program 61.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. Taylor expanded in y around inf

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

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

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

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

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

                \[\leadsto \frac{\left(\frac{z}{y} + x\right) \cdot {y}^{4}}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
              6. sqr-powN/A

                \[\leadsto \frac{\left(\frac{z}{y} + x\right) \cdot \left({y}^{\left(\frac{4}{2}\right)} \cdot \color{blue}{{y}^{\left(\frac{4}{2}\right)}}\right)}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
              7. metadata-evalN/A

                \[\leadsto \frac{\left(\frac{z}{y} + x\right) \cdot \left({y}^{2} \cdot {y}^{\left(\frac{4}{2}\right)}\right)}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
              8. metadata-evalN/A

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

                \[\leadsto \frac{\left(\frac{z}{y} + x\right) \cdot \left({y}^{2} \cdot \color{blue}{{y}^{2}}\right)}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
              10. unpow2N/A

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

                \[\leadsto \frac{\left(\frac{z}{y} + x\right) \cdot \left(\left(y \cdot y\right) \cdot {\color{blue}{y}}^{2}\right)}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
              12. unpow2N/A

                \[\leadsto \frac{\left(\frac{z}{y} + x\right) \cdot \left(\left(y \cdot y\right) \cdot \left(y \cdot \color{blue}{y}\right)\right)}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
              13. lower-*.f6436.8

                \[\leadsto \frac{\left(\frac{z}{y} + x\right) \cdot \left(\left(y \cdot y\right) \cdot \left(y \cdot \color{blue}{y}\right)\right)}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
            4. Applied rewrites36.8%

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

            if 5.4999999999999999e220 < y

            1. Initial program 0.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. Taylor expanded in y around inf

              \[\leadsto \color{blue}{x} \]
            3. Step-by-step derivation
              1. Applied rewrites77.5%

                \[\leadsto \color{blue}{x} \]
            4. Recombined 4 regimes into one program.
            5. Add Preprocessing

            Alternative 6: 78.4% accurate, 1.0× speedup?

            \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x\\ \mathbf{if}\;y \leq -1.18 \cdot 10^{+60}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq 1.45 \cdot 10^{+57}:\\ \;\;\;\;\frac{\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)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, y, b\right), y, c\right), y, i\right)}\\ \mathbf{elif}\;y \leq 5.5 \cdot 10^{+220}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;x\\ \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.18e+60)
                 t_1
                 (if (<= y 1.45e+57)
                   (/
                    (fma (fma (fma (fma y x z) y 27464.7644705) y 230661.510616) y t)
                    (fma (fma (fma y y b) y c) y i))
                   (if (<= y 5.5e+220) t_1 x)))))
            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.18e+60) {
            		tmp = t_1;
            	} else if (y <= 1.45e+57) {
            		tmp = fma(fma(fma(fma(y, x, z), y, 27464.7644705), y, 230661.510616), y, t) / fma(fma(fma(y, y, b), y, c), y, i);
            	} else if (y <= 5.5e+220) {
            		tmp = t_1;
            	} else {
            		tmp = x;
            	}
            	return tmp;
            }
            
            function code(x, y, z, t, a, b, c, i)
            	t_1 = Float64(Float64(-Float64(Float64(Float64(-z) - Float64(Float64(-a) * x)) / y)) + x)
            	tmp = 0.0
            	if (y <= -1.18e+60)
            		tmp = t_1;
            	elseif (y <= 1.45e+57)
            		tmp = Float64(fma(fma(fma(fma(y, x, z), y, 27464.7644705), y, 230661.510616), y, t) / fma(fma(fma(y, y, b), y, c), y, i));
            	elseif (y <= 5.5e+220)
            		tmp = t_1;
            	else
            		tmp = x;
            	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.18e+60], t$95$1, If[LessEqual[y, 1.45e+57], N[(N[(N[(N[(N[(y * x + z), $MachinePrecision] * y + 27464.7644705), $MachinePrecision] * y + 230661.510616), $MachinePrecision] * y + t), $MachinePrecision] / N[(N[(N[(y * y + b), $MachinePrecision] * y + c), $MachinePrecision] * y + i), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 5.5e+220], t$95$1, x]]]]
            
            \begin{array}{l}
            
            \\
            \begin{array}{l}
            t_1 := \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x\\
            \mathbf{if}\;y \leq -1.18 \cdot 10^{+60}:\\
            \;\;\;\;t\_1\\
            
            \mathbf{elif}\;y \leq 1.45 \cdot 10^{+57}:\\
            \;\;\;\;\frac{\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)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, y, b\right), y, c\right), y, i\right)}\\
            
            \mathbf{elif}\;y \leq 5.5 \cdot 10^{+220}:\\
            \;\;\;\;t\_1\\
            
            \mathbf{else}:\\
            \;\;\;\;x\\
            
            
            \end{array}
            \end{array}
            
            Derivation
            1. Split input into 3 regimes
            2. if y < -1.18000000000000008e60 or 1.4500000000000001e57 < y < 5.4999999999999999e220

              1. Initial program 2.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. Taylor expanded in y around -inf

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

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

                  \[\leadsto -1 \cdot \frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y} + \color{blue}{x} \]
                3. mul-1-negN/A

                  \[\leadsto \left(\mathsf{neg}\left(\frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y}\right)\right) + x \]
                4. lower-neg.f64N/A

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

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

                  \[\leadsto \left(-\frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y}\right) + x \]
                7. mul-1-negN/A

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

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

                  \[\leadsto \left(-\frac{\left(-z\right) - \left(-1 \cdot a\right) \cdot x}{y}\right) + x \]
                10. mul-1-negN/A

                  \[\leadsto \left(-\frac{\left(-z\right) - \left(\mathsf{neg}\left(a\right)\right) \cdot x}{y}\right) + x \]
                11. lower-*.f64N/A

                  \[\leadsto \left(-\frac{\left(-z\right) - \left(\mathsf{neg}\left(a\right)\right) \cdot x}{y}\right) + x \]
                12. lower-neg.f6465.9

                  \[\leadsto \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x \]
              4. Applied rewrites65.9%

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

              if -1.18000000000000008e60 < y < 1.4500000000000001e57

              1. Initial program 92.4%

                \[\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. Taylor expanded in a around 0

                \[\leadsto \color{blue}{\frac{t + 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}^{2}\right)\right)}} \]
              3. Step-by-step derivation
                1. lower-/.f64N/A

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

                \[\leadsto \color{blue}{\frac{\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)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, y, b\right), y, c\right), y, i\right)}} \]

              if 5.4999999999999999e220 < y

              1. Initial program 0.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. Taylor expanded in y around inf

                \[\leadsto \color{blue}{x} \]
              3. Step-by-step derivation
                1. Applied rewrites77.5%

                  \[\leadsto \color{blue}{x} \]
              4. Recombined 3 regimes into one program.
              5. Add Preprocessing

              Alternative 7: 74.4% accurate, 1.0× speedup?

              \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x\\ t_2 := \left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i\\ \mathbf{if}\;y \leq -7 \cdot 10^{+64}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq -1.9 \cdot 10^{-79}:\\ \;\;\;\;\frac{\left(\left(y \cdot y\right) \cdot z\right) \cdot y + t}{t\_2}\\ \mathbf{elif}\;y \leq 4 \cdot 10^{-10}:\\ \;\;\;\;\frac{\mathsf{fma}\left(230661.510616, y, t\right)}{t\_2}\\ \mathbf{elif}\;y \leq 10^{+58}:\\ \;\;\;\;\left(\left(y \cdot y\right) \cdot y\right) \cdot \frac{z}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\\ \mathbf{elif}\;y \leq 5.5 \cdot 10^{+220}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;x\\ \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 (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)))
                 (if (<= y -7e+64)
                   t_1
                   (if (<= y -1.9e-79)
                     (/ (+ (* (* (* y y) z) y) t) t_2)
                     (if (<= y 4e-10)
                       (/ (fma 230661.510616 y t) t_2)
                       (if (<= y 1e+58)
                         (* (* (* y y) y) (/ z (fma (fma (fma (+ a y) y b) y c) y i)))
                         (if (<= y 5.5e+220) t_1 x)))))))
              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 = ((((((y + a) * y) + b) * y) + c) * y) + i;
              	double tmp;
              	if (y <= -7e+64) {
              		tmp = t_1;
              	} else if (y <= -1.9e-79) {
              		tmp = ((((y * y) * z) * y) + t) / t_2;
              	} else if (y <= 4e-10) {
              		tmp = fma(230661.510616, y, t) / t_2;
              	} else if (y <= 1e+58) {
              		tmp = ((y * y) * y) * (z / fma(fma(fma((a + y), y, b), y, c), y, i));
              	} else if (y <= 5.5e+220) {
              		tmp = t_1;
              	} else {
              		tmp = x;
              	}
              	return tmp;
              }
              
              function code(x, y, z, t, a, b, c, i)
              	t_1 = Float64(Float64(-Float64(Float64(Float64(-z) - Float64(Float64(-a) * x)) / y)) + x)
              	t_2 = Float64(Float64(Float64(Float64(Float64(Float64(Float64(y + a) * y) + b) * y) + c) * y) + i)
              	tmp = 0.0
              	if (y <= -7e+64)
              		tmp = t_1;
              	elseif (y <= -1.9e-79)
              		tmp = Float64(Float64(Float64(Float64(Float64(y * y) * z) * y) + t) / t_2);
              	elseif (y <= 4e-10)
              		tmp = Float64(fma(230661.510616, y, t) / t_2);
              	elseif (y <= 1e+58)
              		tmp = Float64(Float64(Float64(y * y) * y) * Float64(z / fma(fma(fma(Float64(a + y), y, b), y, c), y, i)));
              	elseif (y <= 5.5e+220)
              		tmp = t_1;
              	else
              		tmp = x;
              	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[(N[(N[(N[(y + a), $MachinePrecision] * y), $MachinePrecision] + b), $MachinePrecision] * y), $MachinePrecision] + c), $MachinePrecision] * y), $MachinePrecision] + i), $MachinePrecision]}, If[LessEqual[y, -7e+64], t$95$1, If[LessEqual[y, -1.9e-79], N[(N[(N[(N[(N[(y * y), $MachinePrecision] * z), $MachinePrecision] * y), $MachinePrecision] + t), $MachinePrecision] / t$95$2), $MachinePrecision], If[LessEqual[y, 4e-10], N[(N[(230661.510616 * y + t), $MachinePrecision] / t$95$2), $MachinePrecision], If[LessEqual[y, 1e+58], N[(N[(N[(y * y), $MachinePrecision] * y), $MachinePrecision] * N[(z / N[(N[(N[(N[(a + y), $MachinePrecision] * y + b), $MachinePrecision] * y + c), $MachinePrecision] * y + i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 5.5e+220], t$95$1, x]]]]]]]
              
              \begin{array}{l}
              
              \\
              \begin{array}{l}
              t_1 := \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x\\
              t_2 := \left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i\\
              \mathbf{if}\;y \leq -7 \cdot 10^{+64}:\\
              \;\;\;\;t\_1\\
              
              \mathbf{elif}\;y \leq -1.9 \cdot 10^{-79}:\\
              \;\;\;\;\frac{\left(\left(y \cdot y\right) \cdot z\right) \cdot y + t}{t\_2}\\
              
              \mathbf{elif}\;y \leq 4 \cdot 10^{-10}:\\
              \;\;\;\;\frac{\mathsf{fma}\left(230661.510616, y, t\right)}{t\_2}\\
              
              \mathbf{elif}\;y \leq 10^{+58}:\\
              \;\;\;\;\left(\left(y \cdot y\right) \cdot y\right) \cdot \frac{z}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\\
              
              \mathbf{elif}\;y \leq 5.5 \cdot 10^{+220}:\\
              \;\;\;\;t\_1\\
              
              \mathbf{else}:\\
              \;\;\;\;x\\
              
              
              \end{array}
              \end{array}
              
              Derivation
              1. Split input into 5 regimes
              2. if y < -6.9999999999999997e64 or 9.99999999999999944e57 < y < 5.4999999999999999e220

                1. Initial program 2.4%

                  \[\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. Taylor expanded in y around -inf

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

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

                    \[\leadsto -1 \cdot \frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y} + \color{blue}{x} \]
                  3. mul-1-negN/A

                    \[\leadsto \left(\mathsf{neg}\left(\frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y}\right)\right) + x \]
                  4. lower-neg.f64N/A

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

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

                    \[\leadsto \left(-\frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y}\right) + x \]
                  7. mul-1-negN/A

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

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

                    \[\leadsto \left(-\frac{\left(-z\right) - \left(-1 \cdot a\right) \cdot x}{y}\right) + x \]
                  10. mul-1-negN/A

                    \[\leadsto \left(-\frac{\left(-z\right) - \left(\mathsf{neg}\left(a\right)\right) \cdot x}{y}\right) + x \]
                  11. lower-*.f64N/A

                    \[\leadsto \left(-\frac{\left(-z\right) - \left(\mathsf{neg}\left(a\right)\right) \cdot x}{y}\right) + x \]
                  12. lower-neg.f6466.4

                    \[\leadsto \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x \]
                4. Applied rewrites66.4%

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

                if -6.9999999999999997e64 < y < -1.9000000000000001e-79

                1. Initial program 78.4%

                  \[\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. Taylor expanded in z around inf

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

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

                    \[\leadsto \frac{\left(\left(y \cdot y\right) \cdot z\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
                  3. lower-*.f6450.3

                    \[\leadsto \frac{\left(\left(y \cdot y\right) \cdot z\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
                4. Applied rewrites50.3%

                  \[\leadsto \frac{\color{blue}{\left(\left(y \cdot y\right) \cdot z\right)} \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]

                if -1.9000000000000001e-79 < y < 4.00000000000000015e-10

                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. 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} \]
                3. Step-by-step derivation
                  1. +-commutativeN/A

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

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

                  \[\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} \]

                if 4.00000000000000015e-10 < y < 9.99999999999999944e57

                1. Initial program 62.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. 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)}} \]
                3. Step-by-step derivation
                  1. associate-/l*N/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)}} \]
                  2. 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)}} \]
                  3. unpow3N/A

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

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

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

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

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

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

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

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

                    \[\leadsto \left(\left(y \cdot y\right) \cdot y\right) \cdot \frac{z}{\mathsf{fma}\left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right), \color{blue}{y}, i\right)} \]
                4. Applied rewrites26.2%

                  \[\leadsto \color{blue}{\left(\left(y \cdot y\right) \cdot y\right) \cdot \frac{z}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}} \]

                if 5.4999999999999999e220 < y

                1. Initial program 0.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. Taylor expanded in y around inf

                  \[\leadsto \color{blue}{x} \]
                3. Step-by-step derivation
                  1. Applied rewrites77.5%

                    \[\leadsto \color{blue}{x} \]
                4. Recombined 5 regimes into one program.
                5. Add Preprocessing

                Alternative 8: 73.4% accurate, 1.1× speedup?

                \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x\\ \mathbf{if}\;y \leq -7 \cdot 10^{+64}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq 4 \cdot 10^{-10}:\\ \;\;\;\;\frac{\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}\\ \mathbf{elif}\;y \leq 10^{+58}:\\ \;\;\;\;\left(\left(y \cdot y\right) \cdot y\right) \cdot \frac{z}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\\ \mathbf{elif}\;y \leq 5.5 \cdot 10^{+220}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;x\\ \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 -7e+64)
                     t_1
                     (if (<= y 4e-10)
                       (/ (fma 230661.510616 y t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i))
                       (if (<= y 1e+58)
                         (* (* (* y y) y) (/ z (fma (fma (fma (+ a y) y b) y c) y i)))
                         (if (<= y 5.5e+220) t_1 x))))))
                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 <= -7e+64) {
                		tmp = t_1;
                	} else if (y <= 4e-10) {
                		tmp = fma(230661.510616, y, t) / (((((((y + a) * y) + b) * y) + c) * y) + i);
                	} else if (y <= 1e+58) {
                		tmp = ((y * y) * y) * (z / fma(fma(fma((a + y), y, b), y, c), y, i));
                	} else if (y <= 5.5e+220) {
                		tmp = t_1;
                	} else {
                		tmp = x;
                	}
                	return tmp;
                }
                
                function code(x, y, z, t, a, b, c, i)
                	t_1 = Float64(Float64(-Float64(Float64(Float64(-z) - Float64(Float64(-a) * x)) / y)) + x)
                	tmp = 0.0
                	if (y <= -7e+64)
                		tmp = t_1;
                	elseif (y <= 4e-10)
                		tmp = Float64(fma(230661.510616, y, t) / Float64(Float64(Float64(Float64(Float64(Float64(Float64(y + a) * y) + b) * y) + c) * y) + i));
                	elseif (y <= 1e+58)
                		tmp = Float64(Float64(Float64(y * y) * y) * Float64(z / fma(fma(fma(Float64(a + y), y, b), y, c), y, i)));
                	elseif (y <= 5.5e+220)
                		tmp = t_1;
                	else
                		tmp = x;
                	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, -7e+64], t$95$1, If[LessEqual[y, 4e-10], N[(N[(230661.510616 * y + 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], If[LessEqual[y, 1e+58], N[(N[(N[(y * y), $MachinePrecision] * y), $MachinePrecision] * N[(z / N[(N[(N[(N[(a + y), $MachinePrecision] * y + b), $MachinePrecision] * y + c), $MachinePrecision] * y + i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 5.5e+220], t$95$1, x]]]]]
                
                \begin{array}{l}
                
                \\
                \begin{array}{l}
                t_1 := \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x\\
                \mathbf{if}\;y \leq -7 \cdot 10^{+64}:\\
                \;\;\;\;t\_1\\
                
                \mathbf{elif}\;y \leq 4 \cdot 10^{-10}:\\
                \;\;\;\;\frac{\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}\\
                
                \mathbf{elif}\;y \leq 10^{+58}:\\
                \;\;\;\;\left(\left(y \cdot y\right) \cdot y\right) \cdot \frac{z}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\\
                
                \mathbf{elif}\;y \leq 5.5 \cdot 10^{+220}:\\
                \;\;\;\;t\_1\\
                
                \mathbf{else}:\\
                \;\;\;\;x\\
                
                
                \end{array}
                \end{array}
                
                Derivation
                1. Split input into 4 regimes
                2. if y < -6.9999999999999997e64 or 9.99999999999999944e57 < y < 5.4999999999999999e220

                  1. Initial program 2.4%

                    \[\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. Taylor expanded in y around -inf

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

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

                      \[\leadsto -1 \cdot \frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y} + \color{blue}{x} \]
                    3. mul-1-negN/A

                      \[\leadsto \left(\mathsf{neg}\left(\frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y}\right)\right) + x \]
                    4. lower-neg.f64N/A

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

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

                      \[\leadsto \left(-\frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y}\right) + x \]
                    7. mul-1-negN/A

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

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

                      \[\leadsto \left(-\frac{\left(-z\right) - \left(-1 \cdot a\right) \cdot x}{y}\right) + x \]
                    10. mul-1-negN/A

                      \[\leadsto \left(-\frac{\left(-z\right) - \left(\mathsf{neg}\left(a\right)\right) \cdot x}{y}\right) + x \]
                    11. lower-*.f64N/A

                      \[\leadsto \left(-\frac{\left(-z\right) - \left(\mathsf{neg}\left(a\right)\right) \cdot x}{y}\right) + x \]
                    12. lower-neg.f6466.4

                      \[\leadsto \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x \]
                  4. Applied rewrites66.4%

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

                  if -6.9999999999999997e64 < y < 4.00000000000000015e-10

                  1. Initial program 95.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. 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} \]
                  3. Step-by-step derivation
                    1. +-commutativeN/A

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

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

                    \[\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} \]

                  if 4.00000000000000015e-10 < y < 9.99999999999999944e57

                  1. Initial program 62.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. 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)}} \]
                  3. Step-by-step derivation
                    1. associate-/l*N/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)}} \]
                    2. 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)}} \]
                    3. unpow3N/A

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

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

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

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

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

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

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

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

                      \[\leadsto \left(\left(y \cdot y\right) \cdot y\right) \cdot \frac{z}{\mathsf{fma}\left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right), \color{blue}{y}, i\right)} \]
                  4. Applied rewrites26.2%

                    \[\leadsto \color{blue}{\left(\left(y \cdot y\right) \cdot y\right) \cdot \frac{z}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}} \]

                  if 5.4999999999999999e220 < y

                  1. Initial program 0.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. Taylor expanded in y around inf

                    \[\leadsto \color{blue}{x} \]
                  3. Step-by-step derivation
                    1. Applied rewrites77.5%

                      \[\leadsto \color{blue}{x} \]
                  4. Recombined 4 regimes into one program.
                  5. Add Preprocessing

                  Alternative 9: 73.0% accurate, 1.3× speedup?

                  \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x\\ \mathbf{if}\;y \leq -7 \cdot 10^{+64}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq 920:\\ \;\;\;\;\frac{\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}\\ \mathbf{elif}\;y \leq 5.5 \cdot 10^{+220}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;x\\ \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 -7e+64)
                       t_1
                       (if (<= y 920.0)
                         (/ (fma 230661.510616 y t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i))
                         (if (<= y 5.5e+220) t_1 x)))))
                  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 <= -7e+64) {
                  		tmp = t_1;
                  	} else if (y <= 920.0) {
                  		tmp = fma(230661.510616, y, t) / (((((((y + a) * y) + b) * y) + c) * y) + i);
                  	} else if (y <= 5.5e+220) {
                  		tmp = t_1;
                  	} else {
                  		tmp = x;
                  	}
                  	return tmp;
                  }
                  
                  function code(x, y, z, t, a, b, c, i)
                  	t_1 = Float64(Float64(-Float64(Float64(Float64(-z) - Float64(Float64(-a) * x)) / y)) + x)
                  	tmp = 0.0
                  	if (y <= -7e+64)
                  		tmp = t_1;
                  	elseif (y <= 920.0)
                  		tmp = Float64(fma(230661.510616, y, t) / Float64(Float64(Float64(Float64(Float64(Float64(Float64(y + a) * y) + b) * y) + c) * y) + i));
                  	elseif (y <= 5.5e+220)
                  		tmp = t_1;
                  	else
                  		tmp = x;
                  	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, -7e+64], t$95$1, If[LessEqual[y, 920.0], N[(N[(230661.510616 * y + 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], If[LessEqual[y, 5.5e+220], t$95$1, x]]]]
                  
                  \begin{array}{l}
                  
                  \\
                  \begin{array}{l}
                  t_1 := \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x\\
                  \mathbf{if}\;y \leq -7 \cdot 10^{+64}:\\
                  \;\;\;\;t\_1\\
                  
                  \mathbf{elif}\;y \leq 920:\\
                  \;\;\;\;\frac{\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}\\
                  
                  \mathbf{elif}\;y \leq 5.5 \cdot 10^{+220}:\\
                  \;\;\;\;t\_1\\
                  
                  \mathbf{else}:\\
                  \;\;\;\;x\\
                  
                  
                  \end{array}
                  \end{array}
                  
                  Derivation
                  1. Split input into 3 regimes
                  2. if y < -6.9999999999999997e64 or 920 < y < 5.4999999999999999e220

                    1. Initial program 8.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. Taylor expanded in y around -inf

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

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

                        \[\leadsto -1 \cdot \frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y} + \color{blue}{x} \]
                      3. mul-1-negN/A

                        \[\leadsto \left(\mathsf{neg}\left(\frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y}\right)\right) + x \]
                      4. lower-neg.f64N/A

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

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

                        \[\leadsto \left(-\frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y}\right) + x \]
                      7. mul-1-negN/A

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

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

                        \[\leadsto \left(-\frac{\left(-z\right) - \left(-1 \cdot a\right) \cdot x}{y}\right) + x \]
                      10. mul-1-negN/A

                        \[\leadsto \left(-\frac{\left(-z\right) - \left(\mathsf{neg}\left(a\right)\right) \cdot x}{y}\right) + x \]
                      11. lower-*.f64N/A

                        \[\leadsto \left(-\frac{\left(-z\right) - \left(\mathsf{neg}\left(a\right)\right) \cdot x}{y}\right) + x \]
                      12. lower-neg.f6460.0

                        \[\leadsto \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x \]
                    4. Applied rewrites60.0%

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

                    if -6.9999999999999997e64 < y < 920

                    1. Initial program 95.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. 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} \]
                    3. Step-by-step derivation
                      1. +-commutativeN/A

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

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

                      \[\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} \]

                    if 5.4999999999999999e220 < y

                    1. Initial program 0.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. Taylor expanded in y around inf

                      \[\leadsto \color{blue}{x} \]
                    3. Step-by-step derivation
                      1. Applied rewrites77.5%

                        \[\leadsto \color{blue}{x} \]
                    4. Recombined 3 regimes into one program.
                    5. Add Preprocessing

                    Alternative 10: 66.1% accurate, 1.6× speedup?

                    \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x\\ \mathbf{if}\;y \leq -7 \cdot 10^{+64}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq 920:\\ \;\;\;\;\frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\\ \mathbf{elif}\;y \leq 5.5 \cdot 10^{+220}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;x\\ \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 -7e+64)
                         t_1
                         (if (<= y 920.0)
                           (/ t (fma (fma (fma (+ a y) y b) y c) y i))
                           (if (<= y 5.5e+220) t_1 x)))))
                    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 <= -7e+64) {
                    		tmp = t_1;
                    	} else if (y <= 920.0) {
                    		tmp = t / fma(fma(fma((a + y), y, b), y, c), y, i);
                    	} else if (y <= 5.5e+220) {
                    		tmp = t_1;
                    	} else {
                    		tmp = x;
                    	}
                    	return tmp;
                    }
                    
                    function code(x, y, z, t, a, b, c, i)
                    	t_1 = Float64(Float64(-Float64(Float64(Float64(-z) - Float64(Float64(-a) * x)) / y)) + x)
                    	tmp = 0.0
                    	if (y <= -7e+64)
                    		tmp = t_1;
                    	elseif (y <= 920.0)
                    		tmp = Float64(t / fma(fma(fma(Float64(a + y), y, b), y, c), y, i));
                    	elseif (y <= 5.5e+220)
                    		tmp = t_1;
                    	else
                    		tmp = x;
                    	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, -7e+64], t$95$1, If[LessEqual[y, 920.0], N[(t / N[(N[(N[(N[(a + y), $MachinePrecision] * y + b), $MachinePrecision] * y + c), $MachinePrecision] * y + i), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 5.5e+220], t$95$1, x]]]]
                    
                    \begin{array}{l}
                    
                    \\
                    \begin{array}{l}
                    t_1 := \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x\\
                    \mathbf{if}\;y \leq -7 \cdot 10^{+64}:\\
                    \;\;\;\;t\_1\\
                    
                    \mathbf{elif}\;y \leq 920:\\
                    \;\;\;\;\frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\\
                    
                    \mathbf{elif}\;y \leq 5.5 \cdot 10^{+220}:\\
                    \;\;\;\;t\_1\\
                    
                    \mathbf{else}:\\
                    \;\;\;\;x\\
                    
                    
                    \end{array}
                    \end{array}
                    
                    Derivation
                    1. Split input into 3 regimes
                    2. if y < -6.9999999999999997e64 or 920 < y < 5.4999999999999999e220

                      1. Initial program 8.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. Taylor expanded in y around -inf

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

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

                          \[\leadsto -1 \cdot \frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y} + \color{blue}{x} \]
                        3. mul-1-negN/A

                          \[\leadsto \left(\mathsf{neg}\left(\frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y}\right)\right) + x \]
                        4. lower-neg.f64N/A

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

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

                          \[\leadsto \left(-\frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y}\right) + x \]
                        7. mul-1-negN/A

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

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

                          \[\leadsto \left(-\frac{\left(-z\right) - \left(-1 \cdot a\right) \cdot x}{y}\right) + x \]
                        10. mul-1-negN/A

                          \[\leadsto \left(-\frac{\left(-z\right) - \left(\mathsf{neg}\left(a\right)\right) \cdot x}{y}\right) + x \]
                        11. lower-*.f64N/A

                          \[\leadsto \left(-\frac{\left(-z\right) - \left(\mathsf{neg}\left(a\right)\right) \cdot x}{y}\right) + x \]
                        12. lower-neg.f6460.0

                          \[\leadsto \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x \]
                      4. Applied rewrites60.0%

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

                      if -6.9999999999999997e64 < y < 920

                      1. Initial program 95.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. 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)}} \]
                      3. Step-by-step derivation
                        1. lower-/.f64N/A

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

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

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

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

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

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

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

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

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

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

                          \[\leadsto \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)} \]
                        13. lower-+.f6468.8

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

                        \[\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)}} \]

                      if 5.4999999999999999e220 < y

                      1. Initial program 0.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. Taylor expanded in y around inf

                        \[\leadsto \color{blue}{x} \]
                      3. Step-by-step derivation
                        1. Applied rewrites77.5%

                          \[\leadsto \color{blue}{x} \]
                      4. Recombined 3 regimes into one program.
                      5. Add Preprocessing

                      Alternative 11: 64.7% accurate, 1.6× speedup?

                      \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x\\ \mathbf{if}\;y \leq -7 \cdot 10^{+64}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq 2500000000:\\ \;\;\;\;\frac{\left(\left(y \cdot y\right) \cdot z\right) \cdot y + t}{c \cdot y + i}\\ \mathbf{elif}\;y \leq 5.5 \cdot 10^{+220}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;x\\ \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 -7e+64)
                           t_1
                           (if (<= y 2500000000.0)
                             (/ (+ (* (* (* y y) z) y) t) (+ (* c y) i))
                             (if (<= y 5.5e+220) t_1 x)))))
                      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 <= -7e+64) {
                      		tmp = t_1;
                      	} else if (y <= 2500000000.0) {
                      		tmp = ((((y * y) * z) * y) + t) / ((c * y) + i);
                      	} else if (y <= 5.5e+220) {
                      		tmp = t_1;
                      	} else {
                      		tmp = x;
                      	}
                      	return tmp;
                      }
                      
                      module fmin_fmax_functions
                          implicit none
                          private
                          public fmax
                          public fmin
                      
                          interface fmax
                              module procedure fmax88
                              module procedure fmax44
                              module procedure fmax84
                              module procedure fmax48
                          end interface
                          interface fmin
                              module procedure fmin88
                              module procedure fmin44
                              module procedure fmin84
                              module procedure fmin48
                          end interface
                      contains
                          real(8) function fmax88(x, y) result (res)
                              real(8), intent (in) :: x
                              real(8), intent (in) :: y
                              res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                          end function
                          real(4) function fmax44(x, y) result (res)
                              real(4), intent (in) :: x
                              real(4), intent (in) :: y
                              res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                          end function
                          real(8) function fmax84(x, y) result(res)
                              real(8), intent (in) :: x
                              real(4), intent (in) :: y
                              res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
                          end function
                          real(8) function fmax48(x, y) result(res)
                              real(4), intent (in) :: x
                              real(8), intent (in) :: y
                              res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
                          end function
                          real(8) function fmin88(x, y) result (res)
                              real(8), intent (in) :: x
                              real(8), intent (in) :: y
                              res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                          end function
                          real(4) function fmin44(x, y) result (res)
                              real(4), intent (in) :: x
                              real(4), intent (in) :: y
                              res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                          end function
                          real(8) function fmin84(x, y) result(res)
                              real(8), intent (in) :: x
                              real(4), intent (in) :: y
                              res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
                          end function
                          real(8) function fmin48(x, y) result(res)
                              real(4), intent (in) :: x
                              real(8), intent (in) :: y
                              res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
                          end function
                      end module
                      
                      real(8) function code(x, y, z, t, a, b, c, i)
                      use fmin_fmax_functions
                          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 <= (-7d+64)) then
                              tmp = t_1
                          else if (y <= 2500000000.0d0) then
                              tmp = ((((y * y) * z) * y) + t) / ((c * y) + i)
                          else if (y <= 5.5d+220) then
                              tmp = t_1
                          else
                              tmp = x
                          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 <= -7e+64) {
                      		tmp = t_1;
                      	} else if (y <= 2500000000.0) {
                      		tmp = ((((y * y) * z) * y) + t) / ((c * y) + i);
                      	} else if (y <= 5.5e+220) {
                      		tmp = t_1;
                      	} else {
                      		tmp = x;
                      	}
                      	return tmp;
                      }
                      
                      def code(x, y, z, t, a, b, c, i):
                      	t_1 = -((-z - (-a * x)) / y) + x
                      	tmp = 0
                      	if y <= -7e+64:
                      		tmp = t_1
                      	elif y <= 2500000000.0:
                      		tmp = ((((y * y) * z) * y) + t) / ((c * y) + i)
                      	elif y <= 5.5e+220:
                      		tmp = t_1
                      	else:
                      		tmp = x
                      	return tmp
                      
                      function code(x, y, z, t, a, b, c, i)
                      	t_1 = Float64(Float64(-Float64(Float64(Float64(-z) - Float64(Float64(-a) * x)) / y)) + x)
                      	tmp = 0.0
                      	if (y <= -7e+64)
                      		tmp = t_1;
                      	elseif (y <= 2500000000.0)
                      		tmp = Float64(Float64(Float64(Float64(Float64(y * y) * z) * y) + t) / Float64(Float64(c * y) + i));
                      	elseif (y <= 5.5e+220)
                      		tmp = t_1;
                      	else
                      		tmp = x;
                      	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 <= -7e+64)
                      		tmp = t_1;
                      	elseif (y <= 2500000000.0)
                      		tmp = ((((y * y) * z) * y) + t) / ((c * y) + i);
                      	elseif (y <= 5.5e+220)
                      		tmp = t_1;
                      	else
                      		tmp = x;
                      	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, -7e+64], t$95$1, If[LessEqual[y, 2500000000.0], N[(N[(N[(N[(N[(y * y), $MachinePrecision] * z), $MachinePrecision] * y), $MachinePrecision] + t), $MachinePrecision] / N[(N[(c * y), $MachinePrecision] + i), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 5.5e+220], t$95$1, x]]]]
                      
                      \begin{array}{l}
                      
                      \\
                      \begin{array}{l}
                      t_1 := \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x\\
                      \mathbf{if}\;y \leq -7 \cdot 10^{+64}:\\
                      \;\;\;\;t\_1\\
                      
                      \mathbf{elif}\;y \leq 2500000000:\\
                      \;\;\;\;\frac{\left(\left(y \cdot y\right) \cdot z\right) \cdot y + t}{c \cdot y + i}\\
                      
                      \mathbf{elif}\;y \leq 5.5 \cdot 10^{+220}:\\
                      \;\;\;\;t\_1\\
                      
                      \mathbf{else}:\\
                      \;\;\;\;x\\
                      
                      
                      \end{array}
                      \end{array}
                      
                      Derivation
                      1. Split input into 3 regimes
                      2. if y < -6.9999999999999997e64 or 2.5e9 < y < 5.4999999999999999e220

                        1. Initial program 7.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. Taylor expanded in y around -inf

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

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

                            \[\leadsto -1 \cdot \frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y} + \color{blue}{x} \]
                          3. mul-1-negN/A

                            \[\leadsto \left(\mathsf{neg}\left(\frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y}\right)\right) + x \]
                          4. lower-neg.f64N/A

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

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

                            \[\leadsto \left(-\frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y}\right) + x \]
                          7. mul-1-negN/A

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

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

                            \[\leadsto \left(-\frac{\left(-z\right) - \left(-1 \cdot a\right) \cdot x}{y}\right) + x \]
                          10. mul-1-negN/A

                            \[\leadsto \left(-\frac{\left(-z\right) - \left(\mathsf{neg}\left(a\right)\right) \cdot x}{y}\right) + x \]
                          11. lower-*.f64N/A

                            \[\leadsto \left(-\frac{\left(-z\right) - \left(\mathsf{neg}\left(a\right)\right) \cdot x}{y}\right) + x \]
                          12. lower-neg.f6460.8

                            \[\leadsto \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x \]
                        4. Applied rewrites60.8%

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

                        if -6.9999999999999997e64 < y < 2.5e9

                        1. Initial program 95.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. Taylor expanded in z around inf

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

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

                            \[\leadsto \frac{\left(\left(y \cdot y\right) \cdot z\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
                          3. lower-*.f6475.6

                            \[\leadsto \frac{\left(\left(y \cdot y\right) \cdot z\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
                        4. Applied rewrites75.6%

                          \[\leadsto \frac{\color{blue}{\left(\left(y \cdot y\right) \cdot z\right)} \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
                        5. Taylor expanded in y around 0

                          \[\leadsto \frac{\left(\left(y \cdot y\right) \cdot z\right) \cdot y + t}{\color{blue}{c} \cdot y + i} \]
                        6. Step-by-step derivation
                          1. Applied rewrites65.5%

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

                          if 5.4999999999999999e220 < y

                          1. Initial program 0.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. Taylor expanded in y around inf

                            \[\leadsto \color{blue}{x} \]
                          3. Step-by-step derivation
                            1. Applied rewrites77.5%

                              \[\leadsto \color{blue}{x} \]
                          4. Recombined 3 regimes into one program.
                          5. Add Preprocessing

                          Alternative 12: 58.5% accurate, 1.5× speedup?

                          \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x\\ \mathbf{if}\;y \leq -4.6 \cdot 10^{+54}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq -7 \cdot 10^{-53}:\\ \;\;\;\;\frac{\mathsf{fma}\left(x \cdot \left(\left(y \cdot y\right) \cdot y\right), y, t\right)}{c \cdot y}\\ \mathbf{elif}\;y \leq 215:\\ \;\;\;\;\frac{t + 230661.510616 \cdot y}{i}\\ \mathbf{elif}\;y \leq 5.5 \cdot 10^{+220}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;x\\ \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 -4.6e+54)
                               t_1
                               (if (<= y -7e-53)
                                 (/ (fma (* x (* (* y y) y)) y t) (* c y))
                                 (if (<= y 215.0)
                                   (/ (+ t (* 230661.510616 y)) i)
                                   (if (<= y 5.5e+220) t_1 x))))))
                          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 <= -4.6e+54) {
                          		tmp = t_1;
                          	} else if (y <= -7e-53) {
                          		tmp = fma((x * ((y * y) * y)), y, t) / (c * y);
                          	} else if (y <= 215.0) {
                          		tmp = (t + (230661.510616 * y)) / i;
                          	} else if (y <= 5.5e+220) {
                          		tmp = t_1;
                          	} else {
                          		tmp = x;
                          	}
                          	return tmp;
                          }
                          
                          function code(x, y, z, t, a, b, c, i)
                          	t_1 = Float64(Float64(-Float64(Float64(Float64(-z) - Float64(Float64(-a) * x)) / y)) + x)
                          	tmp = 0.0
                          	if (y <= -4.6e+54)
                          		tmp = t_1;
                          	elseif (y <= -7e-53)
                          		tmp = Float64(fma(Float64(x * Float64(Float64(y * y) * y)), y, t) / Float64(c * y));
                          	elseif (y <= 215.0)
                          		tmp = Float64(Float64(t + Float64(230661.510616 * y)) / i);
                          	elseif (y <= 5.5e+220)
                          		tmp = t_1;
                          	else
                          		tmp = x;
                          	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, -4.6e+54], t$95$1, If[LessEqual[y, -7e-53], N[(N[(N[(x * N[(N[(y * y), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y + t), $MachinePrecision] / N[(c * y), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 215.0], N[(N[(t + N[(230661.510616 * y), $MachinePrecision]), $MachinePrecision] / i), $MachinePrecision], If[LessEqual[y, 5.5e+220], t$95$1, x]]]]]
                          
                          \begin{array}{l}
                          
                          \\
                          \begin{array}{l}
                          t_1 := \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x\\
                          \mathbf{if}\;y \leq -4.6 \cdot 10^{+54}:\\
                          \;\;\;\;t\_1\\
                          
                          \mathbf{elif}\;y \leq -7 \cdot 10^{-53}:\\
                          \;\;\;\;\frac{\mathsf{fma}\left(x \cdot \left(\left(y \cdot y\right) \cdot y\right), y, t\right)}{c \cdot y}\\
                          
                          \mathbf{elif}\;y \leq 215:\\
                          \;\;\;\;\frac{t + 230661.510616 \cdot y}{i}\\
                          
                          \mathbf{elif}\;y \leq 5.5 \cdot 10^{+220}:\\
                          \;\;\;\;t\_1\\
                          
                          \mathbf{else}:\\
                          \;\;\;\;x\\
                          
                          
                          \end{array}
                          \end{array}
                          
                          Derivation
                          1. Split input into 4 regimes
                          2. if y < -4.59999999999999988e54 or 215 < y < 5.4999999999999999e220

                            1. Initial program 9.4%

                              \[\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. Taylor expanded in y around -inf

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

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

                                \[\leadsto -1 \cdot \frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y} + \color{blue}{x} \]
                              3. mul-1-negN/A

                                \[\leadsto \left(\mathsf{neg}\left(\frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y}\right)\right) + x \]
                              4. lower-neg.f64N/A

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

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

                                \[\leadsto \left(-\frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y}\right) + x \]
                              7. mul-1-negN/A

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

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

                                \[\leadsto \left(-\frac{\left(-z\right) - \left(-1 \cdot a\right) \cdot x}{y}\right) + x \]
                              10. mul-1-negN/A

                                \[\leadsto \left(-\frac{\left(-z\right) - \left(\mathsf{neg}\left(a\right)\right) \cdot x}{y}\right) + x \]
                              11. lower-*.f64N/A

                                \[\leadsto \left(-\frac{\left(-z\right) - \left(\mathsf{neg}\left(a\right)\right) \cdot x}{y}\right) + x \]
                              12. lower-neg.f6459.3

                                \[\leadsto \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x \]
                            4. Applied rewrites59.3%

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

                            if -4.59999999999999988e54 < y < -6.99999999999999987e-53

                            1. Initial program 78.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. Taylor expanded in c around inf

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

                                \[\leadsto \frac{t + y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{\color{blue}{c \cdot y}} \]
                            4. Applied rewrites17.9%

                              \[\leadsto \color{blue}{\frac{\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)}{c \cdot y}} \]
                            5. Taylor expanded in x around inf

                              \[\leadsto \frac{\mathsf{fma}\left(x \cdot {y}^{3}, y, t\right)}{c \cdot y} \]
                            6. Step-by-step derivation
                              1. lower-*.f64N/A

                                \[\leadsto \frac{\mathsf{fma}\left(x \cdot {y}^{3}, y, t\right)}{c \cdot y} \]
                              2. pow3N/A

                                \[\leadsto \frac{\mathsf{fma}\left(x \cdot \left(\left(y \cdot y\right) \cdot y\right), y, t\right)}{c \cdot y} \]
                              3. lift-*.f64N/A

                                \[\leadsto \frac{\mathsf{fma}\left(x \cdot \left(\left(y \cdot y\right) \cdot y\right), y, t\right)}{c \cdot y} \]
                              4. lift-*.f6412.6

                                \[\leadsto \frac{\mathsf{fma}\left(x \cdot \left(\left(y \cdot y\right) \cdot y\right), y, t\right)}{c \cdot y} \]
                            7. Applied rewrites12.6%

                              \[\leadsto \frac{\mathsf{fma}\left(x \cdot \left(\left(y \cdot y\right) \cdot y\right), y, t\right)}{c \cdot y} \]

                            if -6.99999999999999987e-53 < y < 215

                            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. Taylor expanded in y around 0

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

                                \[\leadsto \left(\frac{28832688827}{125000} \cdot \frac{1}{i} - \frac{c \cdot t}{{i}^{2}}\right) \cdot y + \frac{\color{blue}{t}}{i} \]
                              2. lower-fma.f64N/A

                                \[\leadsto \mathsf{fma}\left(\frac{28832688827}{125000} \cdot \frac{1}{i} - \frac{c \cdot t}{{i}^{2}}, \color{blue}{y}, \frac{t}{i}\right) \]
                              3. lower--.f64N/A

                                \[\leadsto \mathsf{fma}\left(\frac{28832688827}{125000} \cdot \frac{1}{i} - \frac{c \cdot t}{{i}^{2}}, y, \frac{t}{i}\right) \]
                              4. associate-*r/N/A

                                \[\leadsto \mathsf{fma}\left(\frac{\frac{28832688827}{125000} \cdot 1}{i} - \frac{c \cdot t}{{i}^{2}}, y, \frac{t}{i}\right) \]
                              5. metadata-evalN/A

                                \[\leadsto \mathsf{fma}\left(\frac{\frac{28832688827}{125000}}{i} - \frac{c \cdot t}{{i}^{2}}, y, \frac{t}{i}\right) \]
                              6. lower-/.f64N/A

                                \[\leadsto \mathsf{fma}\left(\frac{\frac{28832688827}{125000}}{i} - \frac{c \cdot t}{{i}^{2}}, y, \frac{t}{i}\right) \]
                              7. associate-/l*N/A

                                \[\leadsto \mathsf{fma}\left(\frac{\frac{28832688827}{125000}}{i} - c \cdot \frac{t}{{i}^{2}}, y, \frac{t}{i}\right) \]
                              8. lower-*.f64N/A

                                \[\leadsto \mathsf{fma}\left(\frac{\frac{28832688827}{125000}}{i} - c \cdot \frac{t}{{i}^{2}}, y, \frac{t}{i}\right) \]
                              9. lower-/.f64N/A

                                \[\leadsto \mathsf{fma}\left(\frac{\frac{28832688827}{125000}}{i} - c \cdot \frac{t}{{i}^{2}}, y, \frac{t}{i}\right) \]
                              10. unpow2N/A

                                \[\leadsto \mathsf{fma}\left(\frac{\frac{28832688827}{125000}}{i} - c \cdot \frac{t}{i \cdot i}, y, \frac{t}{i}\right) \]
                              11. lower-*.f64N/A

                                \[\leadsto \mathsf{fma}\left(\frac{\frac{28832688827}{125000}}{i} - c \cdot \frac{t}{i \cdot i}, y, \frac{t}{i}\right) \]
                              12. lower-/.f6454.0

                                \[\leadsto \mathsf{fma}\left(\frac{230661.510616}{i} - c \cdot \frac{t}{i \cdot i}, y, \frac{t}{i}\right) \]
                            4. Applied rewrites54.0%

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

                              \[\leadsto \frac{t + \frac{28832688827}{125000} \cdot y}{\color{blue}{i}} \]
                            6. Step-by-step derivation
                              1. lower-/.f64N/A

                                \[\leadsto \frac{t + \frac{28832688827}{125000} \cdot y}{i} \]
                              2. lower-+.f64N/A

                                \[\leadsto \frac{t + \frac{28832688827}{125000} \cdot y}{i} \]
                              3. lower-*.f6463.2

                                \[\leadsto \frac{t + 230661.510616 \cdot y}{i} \]
                            7. Applied rewrites63.2%

                              \[\leadsto \frac{t + 230661.510616 \cdot y}{\color{blue}{i}} \]

                            if 5.4999999999999999e220 < y

                            1. Initial program 0.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. Taylor expanded in y around inf

                              \[\leadsto \color{blue}{x} \]
                            3. Step-by-step derivation
                              1. Applied rewrites77.5%

                                \[\leadsto \color{blue}{x} \]
                            4. Recombined 4 regimes into one program.
                            5. Add Preprocessing

                            Alternative 13: 58.3% accurate, 1.7× speedup?

                            \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x\\ \mathbf{if}\;y \leq -7 \cdot 10^{+64}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq 215:\\ \;\;\;\;\frac{t + 230661.510616 \cdot y}{i}\\ \mathbf{elif}\;y \leq 5.5 \cdot 10^{+220}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;x\\ \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 -7e+64)
                                 t_1
                                 (if (<= y 215.0)
                                   (/ (+ t (* 230661.510616 y)) i)
                                   (if (<= y 5.5e+220) t_1 x)))))
                            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 <= -7e+64) {
                            		tmp = t_1;
                            	} else if (y <= 215.0) {
                            		tmp = (t + (230661.510616 * y)) / i;
                            	} else if (y <= 5.5e+220) {
                            		tmp = t_1;
                            	} else {
                            		tmp = x;
                            	}
                            	return tmp;
                            }
                            
                            module fmin_fmax_functions
                                implicit none
                                private
                                public fmax
                                public fmin
                            
                                interface fmax
                                    module procedure fmax88
                                    module procedure fmax44
                                    module procedure fmax84
                                    module procedure fmax48
                                end interface
                                interface fmin
                                    module procedure fmin88
                                    module procedure fmin44
                                    module procedure fmin84
                                    module procedure fmin48
                                end interface
                            contains
                                real(8) function fmax88(x, y) result (res)
                                    real(8), intent (in) :: x
                                    real(8), intent (in) :: y
                                    res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                end function
                                real(4) function fmax44(x, y) result (res)
                                    real(4), intent (in) :: x
                                    real(4), intent (in) :: y
                                    res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                end function
                                real(8) function fmax84(x, y) result(res)
                                    real(8), intent (in) :: x
                                    real(4), intent (in) :: y
                                    res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
                                end function
                                real(8) function fmax48(x, y) result(res)
                                    real(4), intent (in) :: x
                                    real(8), intent (in) :: y
                                    res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
                                end function
                                real(8) function fmin88(x, y) result (res)
                                    real(8), intent (in) :: x
                                    real(8), intent (in) :: y
                                    res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                end function
                                real(4) function fmin44(x, y) result (res)
                                    real(4), intent (in) :: x
                                    real(4), intent (in) :: y
                                    res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                end function
                                real(8) function fmin84(x, y) result(res)
                                    real(8), intent (in) :: x
                                    real(4), intent (in) :: y
                                    res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
                                end function
                                real(8) function fmin48(x, y) result(res)
                                    real(4), intent (in) :: x
                                    real(8), intent (in) :: y
                                    res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
                                end function
                            end module
                            
                            real(8) function code(x, y, z, t, a, b, c, i)
                            use fmin_fmax_functions
                                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 <= (-7d+64)) then
                                    tmp = t_1
                                else if (y <= 215.0d0) then
                                    tmp = (t + (230661.510616d0 * y)) / i
                                else if (y <= 5.5d+220) then
                                    tmp = t_1
                                else
                                    tmp = x
                                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 <= -7e+64) {
                            		tmp = t_1;
                            	} else if (y <= 215.0) {
                            		tmp = (t + (230661.510616 * y)) / i;
                            	} else if (y <= 5.5e+220) {
                            		tmp = t_1;
                            	} else {
                            		tmp = x;
                            	}
                            	return tmp;
                            }
                            
                            def code(x, y, z, t, a, b, c, i):
                            	t_1 = -((-z - (-a * x)) / y) + x
                            	tmp = 0
                            	if y <= -7e+64:
                            		tmp = t_1
                            	elif y <= 215.0:
                            		tmp = (t + (230661.510616 * y)) / i
                            	elif y <= 5.5e+220:
                            		tmp = t_1
                            	else:
                            		tmp = x
                            	return tmp
                            
                            function code(x, y, z, t, a, b, c, i)
                            	t_1 = Float64(Float64(-Float64(Float64(Float64(-z) - Float64(Float64(-a) * x)) / y)) + x)
                            	tmp = 0.0
                            	if (y <= -7e+64)
                            		tmp = t_1;
                            	elseif (y <= 215.0)
                            		tmp = Float64(Float64(t + Float64(230661.510616 * y)) / i);
                            	elseif (y <= 5.5e+220)
                            		tmp = t_1;
                            	else
                            		tmp = x;
                            	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 <= -7e+64)
                            		tmp = t_1;
                            	elseif (y <= 215.0)
                            		tmp = (t + (230661.510616 * y)) / i;
                            	elseif (y <= 5.5e+220)
                            		tmp = t_1;
                            	else
                            		tmp = x;
                            	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, -7e+64], t$95$1, If[LessEqual[y, 215.0], N[(N[(t + N[(230661.510616 * y), $MachinePrecision]), $MachinePrecision] / i), $MachinePrecision], If[LessEqual[y, 5.5e+220], t$95$1, x]]]]
                            
                            \begin{array}{l}
                            
                            \\
                            \begin{array}{l}
                            t_1 := \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x\\
                            \mathbf{if}\;y \leq -7 \cdot 10^{+64}:\\
                            \;\;\;\;t\_1\\
                            
                            \mathbf{elif}\;y \leq 215:\\
                            \;\;\;\;\frac{t + 230661.510616 \cdot y}{i}\\
                            
                            \mathbf{elif}\;y \leq 5.5 \cdot 10^{+220}:\\
                            \;\;\;\;t\_1\\
                            
                            \mathbf{else}:\\
                            \;\;\;\;x\\
                            
                            
                            \end{array}
                            \end{array}
                            
                            Derivation
                            1. Split input into 3 regimes
                            2. if y < -6.9999999999999997e64 or 215 < y < 5.4999999999999999e220

                              1. Initial program 8.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. Taylor expanded in y around -inf

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

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

                                  \[\leadsto -1 \cdot \frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y} + \color{blue}{x} \]
                                3. mul-1-negN/A

                                  \[\leadsto \left(\mathsf{neg}\left(\frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y}\right)\right) + x \]
                                4. lower-neg.f64N/A

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

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

                                  \[\leadsto \left(-\frac{-1 \cdot z - -1 \cdot \left(a \cdot x\right)}{y}\right) + x \]
                                7. mul-1-negN/A

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

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

                                  \[\leadsto \left(-\frac{\left(-z\right) - \left(-1 \cdot a\right) \cdot x}{y}\right) + x \]
                                10. mul-1-negN/A

                                  \[\leadsto \left(-\frac{\left(-z\right) - \left(\mathsf{neg}\left(a\right)\right) \cdot x}{y}\right) + x \]
                                11. lower-*.f64N/A

                                  \[\leadsto \left(-\frac{\left(-z\right) - \left(\mathsf{neg}\left(a\right)\right) \cdot x}{y}\right) + x \]
                                12. lower-neg.f6460.0

                                  \[\leadsto \left(-\frac{\left(-z\right) - \left(-a\right) \cdot x}{y}\right) + x \]
                              4. Applied rewrites60.0%

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

                              if -6.9999999999999997e64 < y < 215

                              1. Initial program 95.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. Taylor expanded in y around 0

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

                                  \[\leadsto \left(\frac{28832688827}{125000} \cdot \frac{1}{i} - \frac{c \cdot t}{{i}^{2}}\right) \cdot y + \frac{\color{blue}{t}}{i} \]
                                2. lower-fma.f64N/A

                                  \[\leadsto \mathsf{fma}\left(\frac{28832688827}{125000} \cdot \frac{1}{i} - \frac{c \cdot t}{{i}^{2}}, \color{blue}{y}, \frac{t}{i}\right) \]
                                3. lower--.f64N/A

                                  \[\leadsto \mathsf{fma}\left(\frac{28832688827}{125000} \cdot \frac{1}{i} - \frac{c \cdot t}{{i}^{2}}, y, \frac{t}{i}\right) \]
                                4. associate-*r/N/A

                                  \[\leadsto \mathsf{fma}\left(\frac{\frac{28832688827}{125000} \cdot 1}{i} - \frac{c \cdot t}{{i}^{2}}, y, \frac{t}{i}\right) \]
                                5. metadata-evalN/A

                                  \[\leadsto \mathsf{fma}\left(\frac{\frac{28832688827}{125000}}{i} - \frac{c \cdot t}{{i}^{2}}, y, \frac{t}{i}\right) \]
                                6. lower-/.f64N/A

                                  \[\leadsto \mathsf{fma}\left(\frac{\frac{28832688827}{125000}}{i} - \frac{c \cdot t}{{i}^{2}}, y, \frac{t}{i}\right) \]
                                7. associate-/l*N/A

                                  \[\leadsto \mathsf{fma}\left(\frac{\frac{28832688827}{125000}}{i} - c \cdot \frac{t}{{i}^{2}}, y, \frac{t}{i}\right) \]
                                8. lower-*.f64N/A

                                  \[\leadsto \mathsf{fma}\left(\frac{\frac{28832688827}{125000}}{i} - c \cdot \frac{t}{{i}^{2}}, y, \frac{t}{i}\right) \]
                                9. lower-/.f64N/A

                                  \[\leadsto \mathsf{fma}\left(\frac{\frac{28832688827}{125000}}{i} - c \cdot \frac{t}{{i}^{2}}, y, \frac{t}{i}\right) \]
                                10. unpow2N/A

                                  \[\leadsto \mathsf{fma}\left(\frac{\frac{28832688827}{125000}}{i} - c \cdot \frac{t}{i \cdot i}, y, \frac{t}{i}\right) \]
                                11. lower-*.f64N/A

                                  \[\leadsto \mathsf{fma}\left(\frac{\frac{28832688827}{125000}}{i} - c \cdot \frac{t}{i \cdot i}, y, \frac{t}{i}\right) \]
                                12. lower-/.f6446.7

                                  \[\leadsto \mathsf{fma}\left(\frac{230661.510616}{i} - c \cdot \frac{t}{i \cdot i}, y, \frac{t}{i}\right) \]
                              4. Applied rewrites46.7%

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

                                \[\leadsto \frac{t + \frac{28832688827}{125000} \cdot y}{\color{blue}{i}} \]
                              6. Step-by-step derivation
                                1. lower-/.f64N/A

                                  \[\leadsto \frac{t + \frac{28832688827}{125000} \cdot y}{i} \]
                                2. lower-+.f64N/A

                                  \[\leadsto \frac{t + \frac{28832688827}{125000} \cdot y}{i} \]
                                3. lower-*.f6454.3

                                  \[\leadsto \frac{t + 230661.510616 \cdot y}{i} \]
                              7. Applied rewrites54.3%

                                \[\leadsto \frac{t + 230661.510616 \cdot y}{\color{blue}{i}} \]

                              if 5.4999999999999999e220 < y

                              1. Initial program 0.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. Taylor expanded in y around inf

                                \[\leadsto \color{blue}{x} \]
                              3. Step-by-step derivation
                                1. Applied rewrites77.5%

                                  \[\leadsto \color{blue}{x} \]
                              4. Recombined 3 regimes into one program.
                              5. Add Preprocessing

                              Alternative 14: 54.0% accurate, 2.7× speedup?

                              \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y \leq -2.4 \cdot 10^{+47}:\\ \;\;\;\;x\\ \mathbf{elif}\;y \leq 2500000000:\\ \;\;\;\;\frac{t + 230661.510616 \cdot y}{i}\\ \mathbf{else}:\\ \;\;\;\;x\\ \end{array} \end{array} \]
                              (FPCore (x y z t a b c i)
                               :precision binary64
                               (if (<= y -2.4e+47)
                                 x
                                 (if (<= y 2500000000.0) (/ (+ t (* 230661.510616 y)) i) x)))
                              double code(double x, double y, double z, double t, double a, double b, double c, double i) {
                              	double tmp;
                              	if (y <= -2.4e+47) {
                              		tmp = x;
                              	} else if (y <= 2500000000.0) {
                              		tmp = (t + (230661.510616 * y)) / i;
                              	} else {
                              		tmp = x;
                              	}
                              	return tmp;
                              }
                              
                              module fmin_fmax_functions
                                  implicit none
                                  private
                                  public fmax
                                  public fmin
                              
                                  interface fmax
                                      module procedure fmax88
                                      module procedure fmax44
                                      module procedure fmax84
                                      module procedure fmax48
                                  end interface
                                  interface fmin
                                      module procedure fmin88
                                      module procedure fmin44
                                      module procedure fmin84
                                      module procedure fmin48
                                  end interface
                              contains
                                  real(8) function fmax88(x, y) result (res)
                                      real(8), intent (in) :: x
                                      real(8), intent (in) :: y
                                      res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                  end function
                                  real(4) function fmax44(x, y) result (res)
                                      real(4), intent (in) :: x
                                      real(4), intent (in) :: y
                                      res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                  end function
                                  real(8) function fmax84(x, y) result(res)
                                      real(8), intent (in) :: x
                                      real(4), intent (in) :: y
                                      res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
                                  end function
                                  real(8) function fmax48(x, y) result(res)
                                      real(4), intent (in) :: x
                                      real(8), intent (in) :: y
                                      res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
                                  end function
                                  real(8) function fmin88(x, y) result (res)
                                      real(8), intent (in) :: x
                                      real(8), intent (in) :: y
                                      res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                  end function
                                  real(4) function fmin44(x, y) result (res)
                                      real(4), intent (in) :: x
                                      real(4), intent (in) :: y
                                      res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                  end function
                                  real(8) function fmin84(x, y) result(res)
                                      real(8), intent (in) :: x
                                      real(4), intent (in) :: y
                                      res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
                                  end function
                                  real(8) function fmin48(x, y) result(res)
                                      real(4), intent (in) :: x
                                      real(8), intent (in) :: y
                                      res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
                                  end function
                              end module
                              
                              real(8) function code(x, y, z, t, a, b, c, i)
                              use fmin_fmax_functions
                                  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 <= (-2.4d+47)) then
                                      tmp = x
                                  else if (y <= 2500000000.0d0) then
                                      tmp = (t + (230661.510616d0 * y)) / i
                                  else
                                      tmp = x
                                  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 <= -2.4e+47) {
                              		tmp = x;
                              	} else if (y <= 2500000000.0) {
                              		tmp = (t + (230661.510616 * y)) / i;
                              	} else {
                              		tmp = x;
                              	}
                              	return tmp;
                              }
                              
                              def code(x, y, z, t, a, b, c, i):
                              	tmp = 0
                              	if y <= -2.4e+47:
                              		tmp = x
                              	elif y <= 2500000000.0:
                              		tmp = (t + (230661.510616 * y)) / i
                              	else:
                              		tmp = x
                              	return tmp
                              
                              function code(x, y, z, t, a, b, c, i)
                              	tmp = 0.0
                              	if (y <= -2.4e+47)
                              		tmp = x;
                              	elseif (y <= 2500000000.0)
                              		tmp = Float64(Float64(t + Float64(230661.510616 * y)) / i);
                              	else
                              		tmp = x;
                              	end
                              	return tmp
                              end
                              
                              function tmp_2 = code(x, y, z, t, a, b, c, i)
                              	tmp = 0.0;
                              	if (y <= -2.4e+47)
                              		tmp = x;
                              	elseif (y <= 2500000000.0)
                              		tmp = (t + (230661.510616 * y)) / i;
                              	else
                              		tmp = x;
                              	end
                              	tmp_2 = tmp;
                              end
                              
                              code[x_, y_, z_, t_, a_, b_, c_, i_] := If[LessEqual[y, -2.4e+47], x, If[LessEqual[y, 2500000000.0], N[(N[(t + N[(230661.510616 * y), $MachinePrecision]), $MachinePrecision] / i), $MachinePrecision], x]]
                              
                              \begin{array}{l}
                              
                              \\
                              \begin{array}{l}
                              \mathbf{if}\;y \leq -2.4 \cdot 10^{+47}:\\
                              \;\;\;\;x\\
                              
                              \mathbf{elif}\;y \leq 2500000000:\\
                              \;\;\;\;\frac{t + 230661.510616 \cdot y}{i}\\
                              
                              \mathbf{else}:\\
                              \;\;\;\;x\\
                              
                              
                              \end{array}
                              \end{array}
                              
                              Derivation
                              1. Split input into 2 regimes
                              2. if y < -2.40000000000000019e47 or 2.5e9 < y

                                1. Initial program 7.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. Taylor expanded in y around inf

                                  \[\leadsto \color{blue}{x} \]
                                3. Step-by-step derivation
                                  1. Applied rewrites52.6%

                                    \[\leadsto \color{blue}{x} \]

                                  if -2.40000000000000019e47 < y < 2.5e9

                                  1. Initial program 96.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. Taylor expanded in y around 0

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

                                      \[\leadsto \left(\frac{28832688827}{125000} \cdot \frac{1}{i} - \frac{c \cdot t}{{i}^{2}}\right) \cdot y + \frac{\color{blue}{t}}{i} \]
                                    2. lower-fma.f64N/A

                                      \[\leadsto \mathsf{fma}\left(\frac{28832688827}{125000} \cdot \frac{1}{i} - \frac{c \cdot t}{{i}^{2}}, \color{blue}{y}, \frac{t}{i}\right) \]
                                    3. lower--.f64N/A

                                      \[\leadsto \mathsf{fma}\left(\frac{28832688827}{125000} \cdot \frac{1}{i} - \frac{c \cdot t}{{i}^{2}}, y, \frac{t}{i}\right) \]
                                    4. associate-*r/N/A

                                      \[\leadsto \mathsf{fma}\left(\frac{\frac{28832688827}{125000} \cdot 1}{i} - \frac{c \cdot t}{{i}^{2}}, y, \frac{t}{i}\right) \]
                                    5. metadata-evalN/A

                                      \[\leadsto \mathsf{fma}\left(\frac{\frac{28832688827}{125000}}{i} - \frac{c \cdot t}{{i}^{2}}, y, \frac{t}{i}\right) \]
                                    6. lower-/.f64N/A

                                      \[\leadsto \mathsf{fma}\left(\frac{\frac{28832688827}{125000}}{i} - \frac{c \cdot t}{{i}^{2}}, y, \frac{t}{i}\right) \]
                                    7. associate-/l*N/A

                                      \[\leadsto \mathsf{fma}\left(\frac{\frac{28832688827}{125000}}{i} - c \cdot \frac{t}{{i}^{2}}, y, \frac{t}{i}\right) \]
                                    8. lower-*.f64N/A

                                      \[\leadsto \mathsf{fma}\left(\frac{\frac{28832688827}{125000}}{i} - c \cdot \frac{t}{{i}^{2}}, y, \frac{t}{i}\right) \]
                                    9. lower-/.f64N/A

                                      \[\leadsto \mathsf{fma}\left(\frac{\frac{28832688827}{125000}}{i} - c \cdot \frac{t}{{i}^{2}}, y, \frac{t}{i}\right) \]
                                    10. unpow2N/A

                                      \[\leadsto \mathsf{fma}\left(\frac{\frac{28832688827}{125000}}{i} - c \cdot \frac{t}{i \cdot i}, y, \frac{t}{i}\right) \]
                                    11. lower-*.f64N/A

                                      \[\leadsto \mathsf{fma}\left(\frac{\frac{28832688827}{125000}}{i} - c \cdot \frac{t}{i \cdot i}, y, \frac{t}{i}\right) \]
                                    12. lower-/.f6447.5

                                      \[\leadsto \mathsf{fma}\left(\frac{230661.510616}{i} - c \cdot \frac{t}{i \cdot i}, y, \frac{t}{i}\right) \]
                                  4. Applied rewrites47.5%

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

                                    \[\leadsto \frac{t + \frac{28832688827}{125000} \cdot y}{\color{blue}{i}} \]
                                  6. Step-by-step derivation
                                    1. lower-/.f64N/A

                                      \[\leadsto \frac{t + \frac{28832688827}{125000} \cdot y}{i} \]
                                    2. lower-+.f64N/A

                                      \[\leadsto \frac{t + \frac{28832688827}{125000} \cdot y}{i} \]
                                    3. lower-*.f6455.2

                                      \[\leadsto \frac{t + 230661.510616 \cdot y}{i} \]
                                  7. Applied rewrites55.2%

                                    \[\leadsto \frac{t + 230661.510616 \cdot y}{\color{blue}{i}} \]
                                4. Recombined 2 regimes into one program.
                                5. Add Preprocessing

                                Alternative 15: 50.6% accurate, 3.9× speedup?

                                \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y \leq -2.4 \cdot 10^{+47}:\\ \;\;\;\;x\\ \mathbf{elif}\;y \leq 2.8 \cdot 10^{-21}:\\ \;\;\;\;\frac{t}{i}\\ \mathbf{else}:\\ \;\;\;\;x\\ \end{array} \end{array} \]
                                (FPCore (x y z t a b c i)
                                 :precision binary64
                                 (if (<= y -2.4e+47) x (if (<= y 2.8e-21) (/ t i) x)))
                                double code(double x, double y, double z, double t, double a, double b, double c, double i) {
                                	double tmp;
                                	if (y <= -2.4e+47) {
                                		tmp = x;
                                	} else if (y <= 2.8e-21) {
                                		tmp = t / i;
                                	} else {
                                		tmp = x;
                                	}
                                	return tmp;
                                }
                                
                                module fmin_fmax_functions
                                    implicit none
                                    private
                                    public fmax
                                    public fmin
                                
                                    interface fmax
                                        module procedure fmax88
                                        module procedure fmax44
                                        module procedure fmax84
                                        module procedure fmax48
                                    end interface
                                    interface fmin
                                        module procedure fmin88
                                        module procedure fmin44
                                        module procedure fmin84
                                        module procedure fmin48
                                    end interface
                                contains
                                    real(8) function fmax88(x, y) result (res)
                                        real(8), intent (in) :: x
                                        real(8), intent (in) :: y
                                        res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                    end function
                                    real(4) function fmax44(x, y) result (res)
                                        real(4), intent (in) :: x
                                        real(4), intent (in) :: y
                                        res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                    end function
                                    real(8) function fmax84(x, y) result(res)
                                        real(8), intent (in) :: x
                                        real(4), intent (in) :: y
                                        res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
                                    end function
                                    real(8) function fmax48(x, y) result(res)
                                        real(4), intent (in) :: x
                                        real(8), intent (in) :: y
                                        res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
                                    end function
                                    real(8) function fmin88(x, y) result (res)
                                        real(8), intent (in) :: x
                                        real(8), intent (in) :: y
                                        res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                    end function
                                    real(4) function fmin44(x, y) result (res)
                                        real(4), intent (in) :: x
                                        real(4), intent (in) :: y
                                        res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                    end function
                                    real(8) function fmin84(x, y) result(res)
                                        real(8), intent (in) :: x
                                        real(4), intent (in) :: y
                                        res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
                                    end function
                                    real(8) function fmin48(x, y) result(res)
                                        real(4), intent (in) :: x
                                        real(8), intent (in) :: y
                                        res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
                                    end function
                                end module
                                
                                real(8) function code(x, y, z, t, a, b, c, i)
                                use fmin_fmax_functions
                                    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 <= (-2.4d+47)) then
                                        tmp = x
                                    else if (y <= 2.8d-21) then
                                        tmp = t / i
                                    else
                                        tmp = x
                                    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 <= -2.4e+47) {
                                		tmp = x;
                                	} else if (y <= 2.8e-21) {
                                		tmp = t / i;
                                	} else {
                                		tmp = x;
                                	}
                                	return tmp;
                                }
                                
                                def code(x, y, z, t, a, b, c, i):
                                	tmp = 0
                                	if y <= -2.4e+47:
                                		tmp = x
                                	elif y <= 2.8e-21:
                                		tmp = t / i
                                	else:
                                		tmp = x
                                	return tmp
                                
                                function code(x, y, z, t, a, b, c, i)
                                	tmp = 0.0
                                	if (y <= -2.4e+47)
                                		tmp = x;
                                	elseif (y <= 2.8e-21)
                                		tmp = Float64(t / i);
                                	else
                                		tmp = x;
                                	end
                                	return tmp
                                end
                                
                                function tmp_2 = code(x, y, z, t, a, b, c, i)
                                	tmp = 0.0;
                                	if (y <= -2.4e+47)
                                		tmp = x;
                                	elseif (y <= 2.8e-21)
                                		tmp = t / i;
                                	else
                                		tmp = x;
                                	end
                                	tmp_2 = tmp;
                                end
                                
                                code[x_, y_, z_, t_, a_, b_, c_, i_] := If[LessEqual[y, -2.4e+47], x, If[LessEqual[y, 2.8e-21], N[(t / i), $MachinePrecision], x]]
                                
                                \begin{array}{l}
                                
                                \\
                                \begin{array}{l}
                                \mathbf{if}\;y \leq -2.4 \cdot 10^{+47}:\\
                                \;\;\;\;x\\
                                
                                \mathbf{elif}\;y \leq 2.8 \cdot 10^{-21}:\\
                                \;\;\;\;\frac{t}{i}\\
                                
                                \mathbf{else}:\\
                                \;\;\;\;x\\
                                
                                
                                \end{array}
                                \end{array}
                                
                                Derivation
                                1. Split input into 2 regimes
                                2. if y < -2.40000000000000019e47 or 2.80000000000000004e-21 < y

                                  1. Initial program 11.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. Taylor expanded in y around inf

                                    \[\leadsto \color{blue}{x} \]
                                  3. Step-by-step derivation
                                    1. Applied rewrites50.2%

                                      \[\leadsto \color{blue}{x} \]

                                    if -2.40000000000000019e47 < y < 2.80000000000000004e-21

                                    1. Initial program 96.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. Taylor expanded in y around 0

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

                                        \[\leadsto \frac{t}{\color{blue}{i}} \]
                                    4. Applied rewrites51.0%

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

                                  Alternative 16: 26.9% accurate, 5.7× speedup?

                                  \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -2.8 \cdot 10^{+34}:\\ \;\;\;\;\frac{z}{y}\\ \mathbf{else}:\\ \;\;\;\;x\\ \end{array} \end{array} \]
                                  (FPCore (x y z t a b c i) :precision binary64 (if (<= z -2.8e+34) (/ z y) x))
                                  double code(double x, double y, double z, double t, double a, double b, double c, double i) {
                                  	double tmp;
                                  	if (z <= -2.8e+34) {
                                  		tmp = z / y;
                                  	} else {
                                  		tmp = x;
                                  	}
                                  	return tmp;
                                  }
                                  
                                  module fmin_fmax_functions
                                      implicit none
                                      private
                                      public fmax
                                      public fmin
                                  
                                      interface fmax
                                          module procedure fmax88
                                          module procedure fmax44
                                          module procedure fmax84
                                          module procedure fmax48
                                      end interface
                                      interface fmin
                                          module procedure fmin88
                                          module procedure fmin44
                                          module procedure fmin84
                                          module procedure fmin48
                                      end interface
                                  contains
                                      real(8) function fmax88(x, y) result (res)
                                          real(8), intent (in) :: x
                                          real(8), intent (in) :: y
                                          res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                      end function
                                      real(4) function fmax44(x, y) result (res)
                                          real(4), intent (in) :: x
                                          real(4), intent (in) :: y
                                          res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                      end function
                                      real(8) function fmax84(x, y) result(res)
                                          real(8), intent (in) :: x
                                          real(4), intent (in) :: y
                                          res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
                                      end function
                                      real(8) function fmax48(x, y) result(res)
                                          real(4), intent (in) :: x
                                          real(8), intent (in) :: y
                                          res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
                                      end function
                                      real(8) function fmin88(x, y) result (res)
                                          real(8), intent (in) :: x
                                          real(8), intent (in) :: y
                                          res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                      end function
                                      real(4) function fmin44(x, y) result (res)
                                          real(4), intent (in) :: x
                                          real(4), intent (in) :: y
                                          res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                      end function
                                      real(8) function fmin84(x, y) result(res)
                                          real(8), intent (in) :: x
                                          real(4), intent (in) :: y
                                          res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
                                      end function
                                      real(8) function fmin48(x, y) result(res)
                                          real(4), intent (in) :: x
                                          real(8), intent (in) :: y
                                          res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
                                      end function
                                  end module
                                  
                                  real(8) function code(x, y, z, t, a, b, c, i)
                                  use fmin_fmax_functions
                                      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 (z <= (-2.8d+34)) then
                                          tmp = z / y
                                      else
                                          tmp = x
                                      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 (z <= -2.8e+34) {
                                  		tmp = z / y;
                                  	} else {
                                  		tmp = x;
                                  	}
                                  	return tmp;
                                  }
                                  
                                  def code(x, y, z, t, a, b, c, i):
                                  	tmp = 0
                                  	if z <= -2.8e+34:
                                  		tmp = z / y
                                  	else:
                                  		tmp = x
                                  	return tmp
                                  
                                  function code(x, y, z, t, a, b, c, i)
                                  	tmp = 0.0
                                  	if (z <= -2.8e+34)
                                  		tmp = Float64(z / y);
                                  	else
                                  		tmp = x;
                                  	end
                                  	return tmp
                                  end
                                  
                                  function tmp_2 = code(x, y, z, t, a, b, c, i)
                                  	tmp = 0.0;
                                  	if (z <= -2.8e+34)
                                  		tmp = z / y;
                                  	else
                                  		tmp = x;
                                  	end
                                  	tmp_2 = tmp;
                                  end
                                  
                                  code[x_, y_, z_, t_, a_, b_, c_, i_] := If[LessEqual[z, -2.8e+34], N[(z / y), $MachinePrecision], x]
                                  
                                  \begin{array}{l}
                                  
                                  \\
                                  \begin{array}{l}
                                  \mathbf{if}\;z \leq -2.8 \cdot 10^{+34}:\\
                                  \;\;\;\;\frac{z}{y}\\
                                  
                                  \mathbf{else}:\\
                                  \;\;\;\;x\\
                                  
                                  
                                  \end{array}
                                  \end{array}
                                  
                                  Derivation
                                  1. Split input into 2 regimes
                                  2. if z < -2.80000000000000008e34

                                    1. Initial program 51.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. Taylor expanded in y around -inf

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

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

                                        \[\leadsto -1 \cdot \frac{\left(-1 \cdot z + -1 \cdot \frac{\frac{54929528941}{2000000} - \left(-1 \cdot \left(a \cdot \left(-1 \cdot z - -1 \cdot \left(a \cdot x\right)\right)\right) + b \cdot x\right)}{y}\right) - -1 \cdot \left(a \cdot x\right)}{y} + \color{blue}{x} \]
                                    4. Applied rewrites27.2%

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

                                      \[\leadsto z \cdot \color{blue}{\left(\frac{1}{y} - \frac{a}{{y}^{2}}\right)} \]
                                    6. Step-by-step derivation
                                      1. lower-*.f64N/A

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

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

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

                                        \[\leadsto z \cdot \left(\frac{1}{y} - \frac{a}{{y}^{\color{blue}{2}}}\right) \]
                                      5. pow2N/A

                                        \[\leadsto z \cdot \left(\frac{1}{y} - \frac{a}{y \cdot y}\right) \]
                                      6. lift-*.f6418.0

                                        \[\leadsto z \cdot \left(\frac{1}{y} - \frac{a}{y \cdot y}\right) \]
                                    7. Applied rewrites18.0%

                                      \[\leadsto z \cdot \color{blue}{\left(\frac{1}{y} - \frac{a}{y \cdot y}\right)} \]
                                    8. Taylor expanded in y around inf

                                      \[\leadsto \frac{z}{y} \]
                                    9. Step-by-step derivation
                                      1. lower-/.f6418.2

                                        \[\leadsto \frac{z}{y} \]
                                    10. Applied rewrites18.2%

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

                                    if -2.80000000000000008e34 < z

                                    1. Initial program 55.6%

                                      \[\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. Taylor expanded in y around inf

                                      \[\leadsto \color{blue}{x} \]
                                    3. Step-by-step derivation
                                      1. Applied rewrites28.6%

                                        \[\leadsto \color{blue}{x} \]
                                    4. Recombined 2 regimes into one program.
                                    5. Add Preprocessing

                                    Alternative 17: 26.4% accurate, 46.9× speedup?

                                    \[\begin{array}{l} \\ x \end{array} \]
                                    (FPCore (x y z t a b c i) :precision binary64 x)
                                    double code(double x, double y, double z, double t, double a, double b, double c, double i) {
                                    	return x;
                                    }
                                    
                                    module fmin_fmax_functions
                                        implicit none
                                        private
                                        public fmax
                                        public fmin
                                    
                                        interface fmax
                                            module procedure fmax88
                                            module procedure fmax44
                                            module procedure fmax84
                                            module procedure fmax48
                                        end interface
                                        interface fmin
                                            module procedure fmin88
                                            module procedure fmin44
                                            module procedure fmin84
                                            module procedure fmin48
                                        end interface
                                    contains
                                        real(8) function fmax88(x, y) result (res)
                                            real(8), intent (in) :: x
                                            real(8), intent (in) :: y
                                            res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                        end function
                                        real(4) function fmax44(x, y) result (res)
                                            real(4), intent (in) :: x
                                            real(4), intent (in) :: y
                                            res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                        end function
                                        real(8) function fmax84(x, y) result(res)
                                            real(8), intent (in) :: x
                                            real(4), intent (in) :: y
                                            res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
                                        end function
                                        real(8) function fmax48(x, y) result(res)
                                            real(4), intent (in) :: x
                                            real(8), intent (in) :: y
                                            res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
                                        end function
                                        real(8) function fmin88(x, y) result (res)
                                            real(8), intent (in) :: x
                                            real(8), intent (in) :: y
                                            res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                        end function
                                        real(4) function fmin44(x, y) result (res)
                                            real(4), intent (in) :: x
                                            real(4), intent (in) :: y
                                            res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                        end function
                                        real(8) function fmin84(x, y) result(res)
                                            real(8), intent (in) :: x
                                            real(4), intent (in) :: y
                                            res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
                                        end function
                                        real(8) function fmin48(x, y) result(res)
                                            real(4), intent (in) :: x
                                            real(8), intent (in) :: y
                                            res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
                                        end function
                                    end module
                                    
                                    real(8) function code(x, y, z, t, a, b, c, i)
                                    use fmin_fmax_functions
                                        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
                                    end function
                                    
                                    public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
                                    	return x;
                                    }
                                    
                                    def code(x, y, z, t, a, b, c, i):
                                    	return x
                                    
                                    function code(x, y, z, t, a, b, c, i)
                                    	return x
                                    end
                                    
                                    function tmp = code(x, y, z, t, a, b, c, i)
                                    	tmp = x;
                                    end
                                    
                                    code[x_, y_, z_, t_, a_, b_, c_, i_] := x
                                    
                                    \begin{array}{l}
                                    
                                    \\
                                    x
                                    \end{array}
                                    
                                    Derivation
                                    1. Initial program 54.6%

                                      \[\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. Taylor expanded in y around inf

                                      \[\leadsto \color{blue}{x} \]
                                    3. Step-by-step derivation
                                      1. Applied rewrites26.9%

                                        \[\leadsto \color{blue}{x} \]
                                      2. Add Preprocessing

                                      Reproduce

                                      ?
                                      herbie shell --seed 2025110 
                                      (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)))