Numeric.SpecFunctions:logGamma from math-functions-0.1.5.2

Percentage Accurate: 54.8% → 85.4%
Time: 28.0s
Alternatives: 16
Speedup: 1.9×

Specification

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

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

Sampling outcomes in binary64 precision:

Local Percentage Accuracy vs ?

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

Accuracy vs Speed?

Herbie found 16 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.8% accurate, 1.0× speedup?

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

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

Alternative 1: 85.4% accurate, 0.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(y, \mathsf{fma}\left(y, \mathsf{fma}\left(y, y + a, b\right), c\right), i\right)\\ t_2 := \frac{z}{{x}^{2}}\\ t_3 := i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(y + a\right)\right)\right)\\ t_4 := x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)\\ \mathbf{if}\;y \leq -1.65 \cdot 10^{+42}:\\ \;\;\;\;t_4\\ \mathbf{elif}\;y \leq 5 \cdot 10^{-95}:\\ \;\;\;\;\frac{t}{t_3} + \frac{y \cdot \left(230661.510616 + y \cdot \left(27464.7644705 + y \cdot \left(z + y \cdot x\right)\right)\right)}{t_3}\\ \mathbf{elif}\;y \leq 1.15 \cdot 10^{+49}:\\ \;\;\;\;\frac{t}{t_1} + \left(\frac{y}{\frac{t_1}{230661.510616 + y \cdot \left(27464.7644705 + x \cdot {y}^{2}\right)}} + \frac{{y}^{3}}{\frac{t_1}{z}}\right)\\ \mathbf{elif}\;y \leq 8 \cdot 10^{+133}:\\ \;\;\;\;\frac{y}{\left(\left(\frac{y}{x} + \frac{a}{x}\right) + \frac{\left(\frac{b}{x} - \frac{27464.7644705}{{x}^{2}}\right) - \frac{z}{\frac{x}{\frac{a}{x} - t_2}}}{y}\right) - t_2}\\ \mathbf{else}:\\ \;\;\;\;t_4\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i)
 :precision binary64
 (let* ((t_1 (fma y (fma y (fma y (+ y a) b) c) i))
        (t_2 (/ z (pow x 2.0)))
        (t_3 (+ i (* y (+ c (* y (+ b (* y (+ y a))))))))
        (t_4 (+ x (- (/ z y) (/ a (/ y x))))))
   (if (<= y -1.65e+42)
     t_4
     (if (<= y 5e-95)
       (+
        (/ t t_3)
        (/
         (* y (+ 230661.510616 (* y (+ 27464.7644705 (* y (+ z (* y x)))))))
         t_3))
       (if (<= y 1.15e+49)
         (+
          (/ t t_1)
          (+
           (/
            y
            (/
             t_1
             (+ 230661.510616 (* y (+ 27464.7644705 (* x (pow y 2.0)))))))
           (/ (pow y 3.0) (/ t_1 z))))
         (if (<= y 8e+133)
           (/
            y
            (-
             (+
              (+ (/ y x) (/ a x))
              (/
               (-
                (- (/ b x) (/ 27464.7644705 (pow x 2.0)))
                (/ z (/ x (- (/ a x) t_2))))
               y))
             t_2))
           t_4))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
	double t_1 = fma(y, fma(y, fma(y, (y + a), b), c), i);
	double t_2 = z / pow(x, 2.0);
	double t_3 = i + (y * (c + (y * (b + (y * (y + a))))));
	double t_4 = x + ((z / y) - (a / (y / x)));
	double tmp;
	if (y <= -1.65e+42) {
		tmp = t_4;
	} else if (y <= 5e-95) {
		tmp = (t / t_3) + ((y * (230661.510616 + (y * (27464.7644705 + (y * (z + (y * x))))))) / t_3);
	} else if (y <= 1.15e+49) {
		tmp = (t / t_1) + ((y / (t_1 / (230661.510616 + (y * (27464.7644705 + (x * pow(y, 2.0))))))) + (pow(y, 3.0) / (t_1 / z)));
	} else if (y <= 8e+133) {
		tmp = y / ((((y / x) + (a / x)) + ((((b / x) - (27464.7644705 / pow(x, 2.0))) - (z / (x / ((a / x) - t_2)))) / y)) - t_2);
	} else {
		tmp = t_4;
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i)
	t_1 = fma(y, fma(y, fma(y, Float64(y + a), b), c), i)
	t_2 = Float64(z / (x ^ 2.0))
	t_3 = Float64(i + Float64(y * Float64(c + Float64(y * Float64(b + Float64(y * Float64(y + a)))))))
	t_4 = Float64(x + Float64(Float64(z / y) - Float64(a / Float64(y / x))))
	tmp = 0.0
	if (y <= -1.65e+42)
		tmp = t_4;
	elseif (y <= 5e-95)
		tmp = Float64(Float64(t / t_3) + Float64(Float64(y * Float64(230661.510616 + Float64(y * Float64(27464.7644705 + Float64(y * Float64(z + Float64(y * x))))))) / t_3));
	elseif (y <= 1.15e+49)
		tmp = Float64(Float64(t / t_1) + Float64(Float64(y / Float64(t_1 / Float64(230661.510616 + Float64(y * Float64(27464.7644705 + Float64(x * (y ^ 2.0))))))) + Float64((y ^ 3.0) / Float64(t_1 / z))));
	elseif (y <= 8e+133)
		tmp = Float64(y / Float64(Float64(Float64(Float64(y / x) + Float64(a / x)) + Float64(Float64(Float64(Float64(b / x) - Float64(27464.7644705 / (x ^ 2.0))) - Float64(z / Float64(x / Float64(Float64(a / x) - t_2)))) / y)) - t_2));
	else
		tmp = t_4;
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(y * N[(y * N[(y * N[(y + a), $MachinePrecision] + b), $MachinePrecision] + c), $MachinePrecision] + i), $MachinePrecision]}, Block[{t$95$2 = N[(z / N[Power[x, 2.0], $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(i + N[(y * N[(c + N[(y * N[(b + N[(y * N[(y + a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(x + N[(N[(z / y), $MachinePrecision] - N[(a / N[(y / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -1.65e+42], t$95$4, If[LessEqual[y, 5e-95], N[(N[(t / t$95$3), $MachinePrecision] + N[(N[(y * N[(230661.510616 + N[(y * N[(27464.7644705 + N[(y * N[(z + N[(y * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / t$95$3), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.15e+49], N[(N[(t / t$95$1), $MachinePrecision] + N[(N[(y / N[(t$95$1 / N[(230661.510616 + N[(y * N[(27464.7644705 + N[(x * N[Power[y, 2.0], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[Power[y, 3.0], $MachinePrecision] / N[(t$95$1 / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 8e+133], N[(y / N[(N[(N[(N[(y / x), $MachinePrecision] + N[(a / x), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(N[(b / x), $MachinePrecision] - N[(27464.7644705 / N[Power[x, 2.0], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(z / N[(x / N[(N[(a / x), $MachinePrecision] - t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision] - t$95$2), $MachinePrecision]), $MachinePrecision], t$95$4]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(y, \mathsf{fma}\left(y, \mathsf{fma}\left(y, y + a, b\right), c\right), i\right)\\
t_2 := \frac{z}{{x}^{2}}\\
t_3 := i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(y + a\right)\right)\right)\\
t_4 := x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)\\
\mathbf{if}\;y \leq -1.65 \cdot 10^{+42}:\\
\;\;\;\;t_4\\

\mathbf{elif}\;y \leq 5 \cdot 10^{-95}:\\
\;\;\;\;\frac{t}{t_3} + \frac{y \cdot \left(230661.510616 + y \cdot \left(27464.7644705 + y \cdot \left(z + y \cdot x\right)\right)\right)}{t_3}\\

\mathbf{elif}\;y \leq 1.15 \cdot 10^{+49}:\\
\;\;\;\;\frac{t}{t_1} + \left(\frac{y}{\frac{t_1}{230661.510616 + y \cdot \left(27464.7644705 + x \cdot {y}^{2}\right)}} + \frac{{y}^{3}}{\frac{t_1}{z}}\right)\\

\mathbf{elif}\;y \leq 8 \cdot 10^{+133}:\\
\;\;\;\;\frac{y}{\left(\left(\frac{y}{x} + \frac{a}{x}\right) + \frac{\left(\frac{b}{x} - \frac{27464.7644705}{{x}^{2}}\right) - \frac{z}{\frac{x}{\frac{a}{x} - t_2}}}{y}\right) - t_2}\\

\mathbf{else}:\\
\;\;\;\;t_4\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if y < -1.6499999999999999e42 or 8.0000000000000002e133 < y

    1. Initial program 1.5%

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

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

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

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

        \[\leadsto \color{blue}{x + \left(\frac{z}{y} - \frac{a \cdot x}{y}\right)} \]
      2. associate-/l*77.7%

        \[\leadsto x + \left(\frac{z}{y} - \color{blue}{\frac{a}{\frac{y}{x}}}\right) \]
    7. Simplified77.7%

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

    if -1.6499999999999999e42 < y < 4.9999999999999998e-95

    1. Initial program 97.1%

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

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

    if 4.9999999999999998e-95 < y < 1.15000000000000001e49

    1. Initial program 86.2%

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

      \[\leadsto \color{blue}{\frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \left(\frac{y \cdot \left(230661.510616 + y \cdot \left(27464.7644705 + x \cdot {y}^{2}\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{{y}^{3} \cdot z}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\right)} \]
    4. Step-by-step derivation
      1. +-commutative86.1%

        \[\leadsto \frac{t}{\color{blue}{y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right) + i}} + \left(\frac{y \cdot \left(230661.510616 + y \cdot \left(27464.7644705 + x \cdot {y}^{2}\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{{y}^{3} \cdot z}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\right) \]
      2. +-commutative86.1%

        \[\leadsto \frac{t}{y \cdot \color{blue}{\left(y \cdot \left(b + y \cdot \left(a + y\right)\right) + c\right)} + i} + \left(\frac{y \cdot \left(230661.510616 + y \cdot \left(27464.7644705 + x \cdot {y}^{2}\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{{y}^{3} \cdot z}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\right) \]
      3. +-commutative86.1%

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

        \[\leadsto \frac{t}{y \cdot \left(y \cdot \left(y \cdot \color{blue}{\left(y + a\right)} + b\right) + c\right) + i} + \left(\frac{y \cdot \left(230661.510616 + y \cdot \left(27464.7644705 + x \cdot {y}^{2}\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{{y}^{3} \cdot z}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\right) \]
      5. fma-udef86.1%

        \[\leadsto \frac{t}{y \cdot \left(y \cdot \color{blue}{\mathsf{fma}\left(y, y + a, b\right)} + c\right) + i} + \left(\frac{y \cdot \left(230661.510616 + y \cdot \left(27464.7644705 + x \cdot {y}^{2}\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{{y}^{3} \cdot z}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\right) \]
      6. fma-udef86.1%

        \[\leadsto \frac{t}{y \cdot \color{blue}{\mathsf{fma}\left(y, \mathsf{fma}\left(y, y + a, b\right), c\right)} + i} + \left(\frac{y \cdot \left(230661.510616 + y \cdot \left(27464.7644705 + x \cdot {y}^{2}\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{{y}^{3} \cdot z}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\right) \]
      7. fma-udef86.1%

        \[\leadsto \frac{t}{\color{blue}{\mathsf{fma}\left(y, \mathsf{fma}\left(y, \mathsf{fma}\left(y, y + a, b\right), c\right), i\right)}} + \left(\frac{y \cdot \left(230661.510616 + y \cdot \left(27464.7644705 + x \cdot {y}^{2}\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{{y}^{3} \cdot z}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\right) \]
    5. Simplified99.4%

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

    if 1.15000000000000001e49 < y < 8.0000000000000002e133

    1. Initial program 0.8%

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

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

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

      \[\leadsto \frac{y}{\color{blue}{\left(-1 \cdot \frac{\left(-1 \cdot \frac{b}{x} + 27464.7644705 \cdot \frac{1}{{x}^{2}}\right) - -1 \cdot \frac{z \cdot \left(\frac{a}{x} - \frac{z}{{x}^{2}}\right)}{x}}{y} + \left(\frac{a}{x} + \frac{y}{x}\right)\right) - \frac{z}{{x}^{2}}}} \]
    6. Step-by-step derivation
      1. Simplified83.6%

        \[\leadsto \frac{y}{\color{blue}{\left(\left(\frac{y}{x} + \frac{a}{x}\right) - \frac{\left(\frac{27464.7644705}{{x}^{2}} - \frac{b}{x}\right) - \left(-\frac{z}{\frac{x}{\frac{a}{x} - \frac{z}{{x}^{2}}}}\right)}{y}\right) - \frac{z}{{x}^{2}}}} \]
    7. Recombined 4 regimes into one program.
    8. Final simplification89.6%

      \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -1.65 \cdot 10^{+42}:\\ \;\;\;\;x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)\\ \mathbf{elif}\;y \leq 5 \cdot 10^{-95}:\\ \;\;\;\;\frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(y + a\right)\right)\right)} + \frac{y \cdot \left(230661.510616 + y \cdot \left(27464.7644705 + y \cdot \left(z + y \cdot x\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(y + a\right)\right)\right)}\\ \mathbf{elif}\;y \leq 1.15 \cdot 10^{+49}:\\ \;\;\;\;\frac{t}{\mathsf{fma}\left(y, \mathsf{fma}\left(y, \mathsf{fma}\left(y, y + a, b\right), c\right), i\right)} + \left(\frac{y}{\frac{\mathsf{fma}\left(y, \mathsf{fma}\left(y, \mathsf{fma}\left(y, y + a, b\right), c\right), i\right)}{230661.510616 + y \cdot \left(27464.7644705 + x \cdot {y}^{2}\right)}} + \frac{{y}^{3}}{\frac{\mathsf{fma}\left(y, \mathsf{fma}\left(y, \mathsf{fma}\left(y, y + a, b\right), c\right), i\right)}{z}}\right)\\ \mathbf{elif}\;y \leq 8 \cdot 10^{+133}:\\ \;\;\;\;\frac{y}{\left(\left(\frac{y}{x} + \frac{a}{x}\right) + \frac{\left(\frac{b}{x} - \frac{27464.7644705}{{x}^{2}}\right) - \frac{z}{\frac{x}{\frac{a}{x} - \frac{z}{{x}^{2}}}}}{y}\right) - \frac{z}{{x}^{2}}}\\ \mathbf{else}:\\ \;\;\;\;x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)\\ \end{array} \]
    9. Add Preprocessing

    Alternative 2: 85.1% accurate, 0.1× speedup?

    \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{z}{{x}^{2}}\\ t_2 := i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(y + a\right)\right)\right)\\ t_3 := x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)\\ \mathbf{if}\;y \leq -2.7 \cdot 10^{+45}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;y \leq 3.2 \cdot 10^{+46}:\\ \;\;\;\;\frac{t}{t_2} + \frac{y \cdot \left(230661.510616 + y \cdot \left(27464.7644705 + y \cdot \left(z + y \cdot x\right)\right)\right)}{t_2}\\ \mathbf{elif}\;y \leq 2.2 \cdot 10^{+139}:\\ \;\;\;\;\frac{y}{\left(\left(\frac{y}{x} + \frac{a}{x}\right) + \frac{\left(\frac{b}{x} - \frac{27464.7644705}{{x}^{2}}\right) - \frac{z}{\frac{x}{\frac{a}{x} - t_1}}}{y}\right) - t_1}\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \end{array} \]
    (FPCore (x y z t a b c i)
     :precision binary64
     (let* ((t_1 (/ z (pow x 2.0)))
            (t_2 (+ i (* y (+ c (* y (+ b (* y (+ y a))))))))
            (t_3 (+ x (- (/ z y) (/ a (/ y x))))))
       (if (<= y -2.7e+45)
         t_3
         (if (<= y 3.2e+46)
           (+
            (/ t t_2)
            (/
             (* y (+ 230661.510616 (* y (+ 27464.7644705 (* y (+ z (* y x)))))))
             t_2))
           (if (<= y 2.2e+139)
             (/
              y
              (-
               (+
                (+ (/ y x) (/ a x))
                (/
                 (-
                  (- (/ b x) (/ 27464.7644705 (pow x 2.0)))
                  (/ z (/ x (- (/ a x) t_1))))
                 y))
               t_1))
             t_3)))))
    double code(double x, double y, double z, double t, double a, double b, double c, double i) {
    	double t_1 = z / pow(x, 2.0);
    	double t_2 = i + (y * (c + (y * (b + (y * (y + a))))));
    	double t_3 = x + ((z / y) - (a / (y / x)));
    	double tmp;
    	if (y <= -2.7e+45) {
    		tmp = t_3;
    	} else if (y <= 3.2e+46) {
    		tmp = (t / t_2) + ((y * (230661.510616 + (y * (27464.7644705 + (y * (z + (y * x))))))) / t_2);
    	} else if (y <= 2.2e+139) {
    		tmp = y / ((((y / x) + (a / x)) + ((((b / x) - (27464.7644705 / pow(x, 2.0))) - (z / (x / ((a / x) - t_1)))) / y)) - t_1);
    	} else {
    		tmp = t_3;
    	}
    	return tmp;
    }
    
    real(8) function code(x, y, z, t, a, b, c, i)
        real(8), intent (in) :: x
        real(8), intent (in) :: y
        real(8), intent (in) :: z
        real(8), intent (in) :: t
        real(8), intent (in) :: a
        real(8), intent (in) :: b
        real(8), intent (in) :: c
        real(8), intent (in) :: i
        real(8) :: t_1
        real(8) :: t_2
        real(8) :: t_3
        real(8) :: tmp
        t_1 = z / (x ** 2.0d0)
        t_2 = i + (y * (c + (y * (b + (y * (y + a))))))
        t_3 = x + ((z / y) - (a / (y / x)))
        if (y <= (-2.7d+45)) then
            tmp = t_3
        else if (y <= 3.2d+46) then
            tmp = (t / t_2) + ((y * (230661.510616d0 + (y * (27464.7644705d0 + (y * (z + (y * x))))))) / t_2)
        else if (y <= 2.2d+139) then
            tmp = y / ((((y / x) + (a / x)) + ((((b / x) - (27464.7644705d0 / (x ** 2.0d0))) - (z / (x / ((a / x) - t_1)))) / y)) - t_1)
        else
            tmp = t_3
        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 / Math.pow(x, 2.0);
    	double t_2 = i + (y * (c + (y * (b + (y * (y + a))))));
    	double t_3 = x + ((z / y) - (a / (y / x)));
    	double tmp;
    	if (y <= -2.7e+45) {
    		tmp = t_3;
    	} else if (y <= 3.2e+46) {
    		tmp = (t / t_2) + ((y * (230661.510616 + (y * (27464.7644705 + (y * (z + (y * x))))))) / t_2);
    	} else if (y <= 2.2e+139) {
    		tmp = y / ((((y / x) + (a / x)) + ((((b / x) - (27464.7644705 / Math.pow(x, 2.0))) - (z / (x / ((a / x) - t_1)))) / y)) - t_1);
    	} else {
    		tmp = t_3;
    	}
    	return tmp;
    }
    
    def code(x, y, z, t, a, b, c, i):
    	t_1 = z / math.pow(x, 2.0)
    	t_2 = i + (y * (c + (y * (b + (y * (y + a))))))
    	t_3 = x + ((z / y) - (a / (y / x)))
    	tmp = 0
    	if y <= -2.7e+45:
    		tmp = t_3
    	elif y <= 3.2e+46:
    		tmp = (t / t_2) + ((y * (230661.510616 + (y * (27464.7644705 + (y * (z + (y * x))))))) / t_2)
    	elif y <= 2.2e+139:
    		tmp = y / ((((y / x) + (a / x)) + ((((b / x) - (27464.7644705 / math.pow(x, 2.0))) - (z / (x / ((a / x) - t_1)))) / y)) - t_1)
    	else:
    		tmp = t_3
    	return tmp
    
    function code(x, y, z, t, a, b, c, i)
    	t_1 = Float64(z / (x ^ 2.0))
    	t_2 = Float64(i + Float64(y * Float64(c + Float64(y * Float64(b + Float64(y * Float64(y + a)))))))
    	t_3 = Float64(x + Float64(Float64(z / y) - Float64(a / Float64(y / x))))
    	tmp = 0.0
    	if (y <= -2.7e+45)
    		tmp = t_3;
    	elseif (y <= 3.2e+46)
    		tmp = Float64(Float64(t / t_2) + Float64(Float64(y * Float64(230661.510616 + Float64(y * Float64(27464.7644705 + Float64(y * Float64(z + Float64(y * x))))))) / t_2));
    	elseif (y <= 2.2e+139)
    		tmp = Float64(y / Float64(Float64(Float64(Float64(y / x) + Float64(a / x)) + Float64(Float64(Float64(Float64(b / x) - Float64(27464.7644705 / (x ^ 2.0))) - Float64(z / Float64(x / Float64(Float64(a / x) - t_1)))) / y)) - t_1));
    	else
    		tmp = t_3;
    	end
    	return tmp
    end
    
    function tmp_2 = code(x, y, z, t, a, b, c, i)
    	t_1 = z / (x ^ 2.0);
    	t_2 = i + (y * (c + (y * (b + (y * (y + a))))));
    	t_3 = x + ((z / y) - (a / (y / x)));
    	tmp = 0.0;
    	if (y <= -2.7e+45)
    		tmp = t_3;
    	elseif (y <= 3.2e+46)
    		tmp = (t / t_2) + ((y * (230661.510616 + (y * (27464.7644705 + (y * (z + (y * x))))))) / t_2);
    	elseif (y <= 2.2e+139)
    		tmp = y / ((((y / x) + (a / x)) + ((((b / x) - (27464.7644705 / (x ^ 2.0))) - (z / (x / ((a / x) - t_1)))) / y)) - t_1);
    	else
    		tmp = t_3;
    	end
    	tmp_2 = tmp;
    end
    
    code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(z / N[Power[x, 2.0], $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(i + N[(y * N[(c + N[(y * N[(b + N[(y * N[(y + a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(x + N[(N[(z / y), $MachinePrecision] - N[(a / N[(y / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -2.7e+45], t$95$3, If[LessEqual[y, 3.2e+46], N[(N[(t / t$95$2), $MachinePrecision] + N[(N[(y * N[(230661.510616 + N[(y * N[(27464.7644705 + N[(y * N[(z + N[(y * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / t$95$2), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2.2e+139], N[(y / N[(N[(N[(N[(y / x), $MachinePrecision] + N[(a / x), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(N[(b / x), $MachinePrecision] - N[(27464.7644705 / N[Power[x, 2.0], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(z / N[(x / N[(N[(a / x), $MachinePrecision] - t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision] - t$95$1), $MachinePrecision]), $MachinePrecision], t$95$3]]]]]]
    
    \begin{array}{l}
    
    \\
    \begin{array}{l}
    t_1 := \frac{z}{{x}^{2}}\\
    t_2 := i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(y + a\right)\right)\right)\\
    t_3 := x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)\\
    \mathbf{if}\;y \leq -2.7 \cdot 10^{+45}:\\
    \;\;\;\;t_3\\
    
    \mathbf{elif}\;y \leq 3.2 \cdot 10^{+46}:\\
    \;\;\;\;\frac{t}{t_2} + \frac{y \cdot \left(230661.510616 + y \cdot \left(27464.7644705 + y \cdot \left(z + y \cdot x\right)\right)\right)}{t_2}\\
    
    \mathbf{elif}\;y \leq 2.2 \cdot 10^{+139}:\\
    \;\;\;\;\frac{y}{\left(\left(\frac{y}{x} + \frac{a}{x}\right) + \frac{\left(\frac{b}{x} - \frac{27464.7644705}{{x}^{2}}\right) - \frac{z}{\frac{x}{\frac{a}{x} - t_1}}}{y}\right) - t_1}\\
    
    \mathbf{else}:\\
    \;\;\;\;t_3\\
    
    
    \end{array}
    \end{array}
    
    Derivation
    1. Split input into 3 regimes
    2. if y < -2.69999999999999984e45 or 2.1999999999999999e139 < y

      1. Initial program 1.5%

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

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

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

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

          \[\leadsto \color{blue}{x + \left(\frac{z}{y} - \frac{a \cdot x}{y}\right)} \]
        2. associate-/l*77.7%

          \[\leadsto x + \left(\frac{z}{y} - \color{blue}{\frac{a}{\frac{y}{x}}}\right) \]
      7. Simplified77.7%

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

      if -2.69999999999999984e45 < y < 3.1999999999999998e46

      1. Initial program 95.0%

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

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

      if 3.1999999999999998e46 < y < 2.1999999999999999e139

      1. Initial program 1.0%

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

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

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

        \[\leadsto \frac{y}{\color{blue}{\left(-1 \cdot \frac{\left(-1 \cdot \frac{b}{x} + 27464.7644705 \cdot \frac{1}{{x}^{2}}\right) - -1 \cdot \frac{z \cdot \left(\frac{a}{x} - \frac{z}{{x}^{2}}\right)}{x}}{y} + \left(\frac{a}{x} + \frac{y}{x}\right)\right) - \frac{z}{{x}^{2}}}} \]
      6. Step-by-step derivation
        1. Simplified80.4%

          \[\leadsto \frac{y}{\color{blue}{\left(\left(\frac{y}{x} + \frac{a}{x}\right) - \frac{\left(\frac{27464.7644705}{{x}^{2}} - \frac{b}{x}\right) - \left(-\frac{z}{\frac{x}{\frac{a}{x} - \frac{z}{{x}^{2}}}}\right)}{y}\right) - \frac{z}{{x}^{2}}}} \]
      7. Recombined 3 regimes into one program.
      8. Final simplification87.8%

        \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -2.7 \cdot 10^{+45}:\\ \;\;\;\;x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)\\ \mathbf{elif}\;y \leq 3.2 \cdot 10^{+46}:\\ \;\;\;\;\frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(y + a\right)\right)\right)} + \frac{y \cdot \left(230661.510616 + y \cdot \left(27464.7644705 + y \cdot \left(z + y \cdot x\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(y + a\right)\right)\right)}\\ \mathbf{elif}\;y \leq 2.2 \cdot 10^{+139}:\\ \;\;\;\;\frac{y}{\left(\left(\frac{y}{x} + \frac{a}{x}\right) + \frac{\left(\frac{b}{x} - \frac{27464.7644705}{{x}^{2}}\right) - \frac{z}{\frac{x}{\frac{a}{x} - \frac{z}{{x}^{2}}}}}{y}\right) - \frac{z}{{x}^{2}}}\\ \mathbf{else}:\\ \;\;\;\;x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)\\ \end{array} \]
      9. Add Preprocessing

      Alternative 3: 84.3% accurate, 0.4× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} t_1 := i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(y + a\right)\right)\right)\\ t_2 := y \cdot \left(230661.510616 + y \cdot \left(27464.7644705 + y \cdot \left(z + y \cdot x\right)\right)\right)\\ \mathbf{if}\;\frac{t + t_2}{t_1} \leq \infty:\\ \;\;\;\;\frac{t}{t_1} + \frac{t_2}{t_1}\\ \mathbf{else}:\\ \;\;\;\;x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)\\ \end{array} \end{array} \]
      (FPCore (x y z t a b c i)
       :precision binary64
       (let* ((t_1 (+ i (* y (+ c (* y (+ b (* y (+ y a))))))))
              (t_2
               (* y (+ 230661.510616 (* y (+ 27464.7644705 (* y (+ z (* y x)))))))))
         (if (<= (/ (+ t t_2) t_1) INFINITY)
           (+ (/ t t_1) (/ t_2 t_1))
           (+ x (- (/ z y) (/ a (/ y x)))))))
      double code(double x, double y, double z, double t, double a, double b, double c, double i) {
      	double t_1 = i + (y * (c + (y * (b + (y * (y + a))))));
      	double t_2 = y * (230661.510616 + (y * (27464.7644705 + (y * (z + (y * x))))));
      	double tmp;
      	if (((t + t_2) / t_1) <= ((double) INFINITY)) {
      		tmp = (t / t_1) + (t_2 / t_1);
      	} else {
      		tmp = x + ((z / y) - (a / (y / x)));
      	}
      	return tmp;
      }
      
      public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
      	double t_1 = i + (y * (c + (y * (b + (y * (y + a))))));
      	double t_2 = y * (230661.510616 + (y * (27464.7644705 + (y * (z + (y * x))))));
      	double tmp;
      	if (((t + t_2) / t_1) <= Double.POSITIVE_INFINITY) {
      		tmp = (t / t_1) + (t_2 / t_1);
      	} else {
      		tmp = x + ((z / y) - (a / (y / x)));
      	}
      	return tmp;
      }
      
      def code(x, y, z, t, a, b, c, i):
      	t_1 = i + (y * (c + (y * (b + (y * (y + a))))))
      	t_2 = y * (230661.510616 + (y * (27464.7644705 + (y * (z + (y * x))))))
      	tmp = 0
      	if ((t + t_2) / t_1) <= math.inf:
      		tmp = (t / t_1) + (t_2 / t_1)
      	else:
      		tmp = x + ((z / y) - (a / (y / x)))
      	return tmp
      
      function code(x, y, z, t, a, b, c, i)
      	t_1 = Float64(i + Float64(y * Float64(c + Float64(y * Float64(b + Float64(y * Float64(y + a)))))))
      	t_2 = Float64(y * Float64(230661.510616 + Float64(y * Float64(27464.7644705 + Float64(y * Float64(z + Float64(y * x)))))))
      	tmp = 0.0
      	if (Float64(Float64(t + t_2) / t_1) <= Inf)
      		tmp = Float64(Float64(t / t_1) + Float64(t_2 / t_1));
      	else
      		tmp = Float64(x + Float64(Float64(z / y) - Float64(a / Float64(y / x))));
      	end
      	return tmp
      end
      
      function tmp_2 = code(x, y, z, t, a, b, c, i)
      	t_1 = i + (y * (c + (y * (b + (y * (y + a))))));
      	t_2 = y * (230661.510616 + (y * (27464.7644705 + (y * (z + (y * x))))));
      	tmp = 0.0;
      	if (((t + t_2) / t_1) <= Inf)
      		tmp = (t / t_1) + (t_2 / t_1);
      	else
      		tmp = x + ((z / y) - (a / (y / x)));
      	end
      	tmp_2 = tmp;
      end
      
      code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(i + N[(y * N[(c + N[(y * N[(b + N[(y * N[(y + a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y * N[(230661.510616 + N[(y * N[(27464.7644705 + N[(y * N[(z + N[(y * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[N[(N[(t + t$95$2), $MachinePrecision] / t$95$1), $MachinePrecision], Infinity], N[(N[(t / t$95$1), $MachinePrecision] + N[(t$95$2 / t$95$1), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(z / y), $MachinePrecision] - N[(a / N[(y / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      t_1 := i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(y + a\right)\right)\right)\\
      t_2 := y \cdot \left(230661.510616 + y \cdot \left(27464.7644705 + y \cdot \left(z + y \cdot x\right)\right)\right)\\
      \mathbf{if}\;\frac{t + t_2}{t_1} \leq \infty:\\
      \;\;\;\;\frac{t}{t_1} + \frac{t_2}{t_1}\\
      
      \mathbf{else}:\\
      \;\;\;\;x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 2 regimes
      2. if (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) 54929528941/2000000) y) 28832688827/125000) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) < +inf.0

        1. Initial program 88.7%

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

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

        if +inf.0 < (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) 54929528941/2000000) y) 28832688827/125000) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i))

        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. Add Preprocessing
        3. Taylor expanded in t around 0 0.0%

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

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

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

            \[\leadsto \color{blue}{x + \left(\frac{z}{y} - \frac{a \cdot x}{y}\right)} \]
          2. associate-/l*75.7%

            \[\leadsto x + \left(\frac{z}{y} - \color{blue}{\frac{a}{\frac{y}{x}}}\right) \]
        7. Simplified75.7%

          \[\leadsto \color{blue}{x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)} \]
      3. Recombined 2 regimes into one program.
      4. Final simplification83.7%

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

      Alternative 4: 84.3% accurate, 0.5× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{t + y \cdot \left(230661.510616 + y \cdot \left(27464.7644705 + y \cdot \left(z + y \cdot x\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(y + a\right)\right)\right)}\\ \mathbf{if}\;t_1 \leq \infty:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)\\ \end{array} \end{array} \]
      (FPCore (x y z t a b c i)
       :precision binary64
       (let* ((t_1
               (/
                (+
                 t
                 (* y (+ 230661.510616 (* y (+ 27464.7644705 (* y (+ z (* y x))))))))
                (+ i (* y (+ c (* y (+ b (* y (+ y a))))))))))
         (if (<= t_1 INFINITY) t_1 (+ x (- (/ z y) (/ a (/ y x)))))))
      double code(double x, double y, double z, double t, double a, double b, double c, double i) {
      	double t_1 = (t + (y * (230661.510616 + (y * (27464.7644705 + (y * (z + (y * x)))))))) / (i + (y * (c + (y * (b + (y * (y + a)))))));
      	double tmp;
      	if (t_1 <= ((double) INFINITY)) {
      		tmp = t_1;
      	} else {
      		tmp = x + ((z / y) - (a / (y / x)));
      	}
      	return tmp;
      }
      
      public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
      	double t_1 = (t + (y * (230661.510616 + (y * (27464.7644705 + (y * (z + (y * x)))))))) / (i + (y * (c + (y * (b + (y * (y + a)))))));
      	double tmp;
      	if (t_1 <= Double.POSITIVE_INFINITY) {
      		tmp = t_1;
      	} else {
      		tmp = x + ((z / y) - (a / (y / x)));
      	}
      	return tmp;
      }
      
      def code(x, y, z, t, a, b, c, i):
      	t_1 = (t + (y * (230661.510616 + (y * (27464.7644705 + (y * (z + (y * x)))))))) / (i + (y * (c + (y * (b + (y * (y + a)))))))
      	tmp = 0
      	if t_1 <= math.inf:
      		tmp = t_1
      	else:
      		tmp = x + ((z / y) - (a / (y / x)))
      	return tmp
      
      function code(x, y, z, t, a, b, c, i)
      	t_1 = Float64(Float64(t + Float64(y * Float64(230661.510616 + Float64(y * Float64(27464.7644705 + Float64(y * Float64(z + Float64(y * x)))))))) / Float64(i + Float64(y * Float64(c + Float64(y * Float64(b + Float64(y * Float64(y + a))))))))
      	tmp = 0.0
      	if (t_1 <= Inf)
      		tmp = t_1;
      	else
      		tmp = Float64(x + Float64(Float64(z / y) - Float64(a / Float64(y / x))));
      	end
      	return tmp
      end
      
      function tmp_2 = code(x, y, z, t, a, b, c, i)
      	t_1 = (t + (y * (230661.510616 + (y * (27464.7644705 + (y * (z + (y * x)))))))) / (i + (y * (c + (y * (b + (y * (y + a)))))));
      	tmp = 0.0;
      	if (t_1 <= Inf)
      		tmp = t_1;
      	else
      		tmp = x + ((z / y) - (a / (y / x)));
      	end
      	tmp_2 = tmp;
      end
      
      code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(N[(t + N[(y * N[(230661.510616 + N[(y * N[(27464.7644705 + N[(y * N[(z + N[(y * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(i + N[(y * N[(c + N[(y * N[(b + N[(y * N[(y + a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, Infinity], t$95$1, N[(x + N[(N[(z / y), $MachinePrecision] - N[(a / N[(y / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      t_1 := \frac{t + y \cdot \left(230661.510616 + y \cdot \left(27464.7644705 + y \cdot \left(z + y \cdot x\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(y + a\right)\right)\right)}\\
      \mathbf{if}\;t_1 \leq \infty:\\
      \;\;\;\;t_1\\
      
      \mathbf{else}:\\
      \;\;\;\;x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 2 regimes
      2. if (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) 54929528941/2000000) y) 28832688827/125000) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) < +inf.0

        1. Initial program 88.7%

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

        if +inf.0 < (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) 54929528941/2000000) y) 28832688827/125000) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i))

        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. Add Preprocessing
        3. Taylor expanded in t around 0 0.0%

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

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

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

            \[\leadsto \color{blue}{x + \left(\frac{z}{y} - \frac{a \cdot x}{y}\right)} \]
          2. associate-/l*75.7%

            \[\leadsto x + \left(\frac{z}{y} - \color{blue}{\frac{a}{\frac{y}{x}}}\right) \]
        7. Simplified75.7%

          \[\leadsto \color{blue}{x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)} \]
      3. Recombined 2 regimes into one program.
      4. Final simplification83.7%

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

      Alternative 5: 79.8% accurate, 0.7× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} t_1 := c + y \cdot \left(b + y \cdot \left(y + a\right)\right)\\ t_2 := 230661.510616 + y \cdot \left(27464.7644705 + y \cdot \left(z + y \cdot x\right)\right)\\ t_3 := x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)\\ \mathbf{if}\;y \leq -3.6 \cdot 10^{+73}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;y \leq -1360:\\ \;\;\;\;\frac{t_2}{t_1}\\ \mathbf{elif}\;y \leq 9.2 \cdot 10^{-13}:\\ \;\;\;\;\frac{t + y \cdot \left(230661.510616 + y \cdot \left(27464.7644705 + y \cdot z\right)\right)}{i + y \cdot \left(c + y \cdot b\right)}\\ \mathbf{elif}\;y \leq 1.3 \cdot 10^{+67}:\\ \;\;\;\;\frac{y}{\frac{y \cdot t_1}{t_2}}\\ \mathbf{else}:\\ \;\;\;\;t_3\\ \end{array} \end{array} \]
      (FPCore (x y z t a b c i)
       :precision binary64
       (let* ((t_1 (+ c (* y (+ b (* y (+ y a))))))
              (t_2 (+ 230661.510616 (* y (+ 27464.7644705 (* y (+ z (* y x)))))))
              (t_3 (+ x (- (/ z y) (/ a (/ y x))))))
         (if (<= y -3.6e+73)
           t_3
           (if (<= y -1360.0)
             (/ t_2 t_1)
             (if (<= y 9.2e-13)
               (/
                (+ t (* y (+ 230661.510616 (* y (+ 27464.7644705 (* y z))))))
                (+ i (* y (+ c (* y b)))))
               (if (<= y 1.3e+67) (/ y (/ (* y t_1) t_2)) t_3))))))
      double code(double x, double y, double z, double t, double a, double b, double c, double i) {
      	double t_1 = c + (y * (b + (y * (y + a))));
      	double t_2 = 230661.510616 + (y * (27464.7644705 + (y * (z + (y * x)))));
      	double t_3 = x + ((z / y) - (a / (y / x)));
      	double tmp;
      	if (y <= -3.6e+73) {
      		tmp = t_3;
      	} else if (y <= -1360.0) {
      		tmp = t_2 / t_1;
      	} else if (y <= 9.2e-13) {
      		tmp = (t + (y * (230661.510616 + (y * (27464.7644705 + (y * z)))))) / (i + (y * (c + (y * b))));
      	} else if (y <= 1.3e+67) {
      		tmp = y / ((y * t_1) / t_2);
      	} else {
      		tmp = t_3;
      	}
      	return tmp;
      }
      
      real(8) function code(x, y, z, t, a, b, c, i)
          real(8), intent (in) :: x
          real(8), intent (in) :: y
          real(8), intent (in) :: z
          real(8), intent (in) :: t
          real(8), intent (in) :: a
          real(8), intent (in) :: b
          real(8), intent (in) :: c
          real(8), intent (in) :: i
          real(8) :: t_1
          real(8) :: t_2
          real(8) :: t_3
          real(8) :: tmp
          t_1 = c + (y * (b + (y * (y + a))))
          t_2 = 230661.510616d0 + (y * (27464.7644705d0 + (y * (z + (y * x)))))
          t_3 = x + ((z / y) - (a / (y / x)))
          if (y <= (-3.6d+73)) then
              tmp = t_3
          else if (y <= (-1360.0d0)) then
              tmp = t_2 / t_1
          else if (y <= 9.2d-13) then
              tmp = (t + (y * (230661.510616d0 + (y * (27464.7644705d0 + (y * z)))))) / (i + (y * (c + (y * b))))
          else if (y <= 1.3d+67) then
              tmp = y / ((y * t_1) / t_2)
          else
              tmp = t_3
          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 = c + (y * (b + (y * (y + a))));
      	double t_2 = 230661.510616 + (y * (27464.7644705 + (y * (z + (y * x)))));
      	double t_3 = x + ((z / y) - (a / (y / x)));
      	double tmp;
      	if (y <= -3.6e+73) {
      		tmp = t_3;
      	} else if (y <= -1360.0) {
      		tmp = t_2 / t_1;
      	} else if (y <= 9.2e-13) {
      		tmp = (t + (y * (230661.510616 + (y * (27464.7644705 + (y * z)))))) / (i + (y * (c + (y * b))));
      	} else if (y <= 1.3e+67) {
      		tmp = y / ((y * t_1) / t_2);
      	} else {
      		tmp = t_3;
      	}
      	return tmp;
      }
      
      def code(x, y, z, t, a, b, c, i):
      	t_1 = c + (y * (b + (y * (y + a))))
      	t_2 = 230661.510616 + (y * (27464.7644705 + (y * (z + (y * x)))))
      	t_3 = x + ((z / y) - (a / (y / x)))
      	tmp = 0
      	if y <= -3.6e+73:
      		tmp = t_3
      	elif y <= -1360.0:
      		tmp = t_2 / t_1
      	elif y <= 9.2e-13:
      		tmp = (t + (y * (230661.510616 + (y * (27464.7644705 + (y * z)))))) / (i + (y * (c + (y * b))))
      	elif y <= 1.3e+67:
      		tmp = y / ((y * t_1) / t_2)
      	else:
      		tmp = t_3
      	return tmp
      
      function code(x, y, z, t, a, b, c, i)
      	t_1 = Float64(c + Float64(y * Float64(b + Float64(y * Float64(y + a)))))
      	t_2 = Float64(230661.510616 + Float64(y * Float64(27464.7644705 + Float64(y * Float64(z + Float64(y * x))))))
      	t_3 = Float64(x + Float64(Float64(z / y) - Float64(a / Float64(y / x))))
      	tmp = 0.0
      	if (y <= -3.6e+73)
      		tmp = t_3;
      	elseif (y <= -1360.0)
      		tmp = Float64(t_2 / t_1);
      	elseif (y <= 9.2e-13)
      		tmp = Float64(Float64(t + Float64(y * Float64(230661.510616 + Float64(y * Float64(27464.7644705 + Float64(y * z)))))) / Float64(i + Float64(y * Float64(c + Float64(y * b)))));
      	elseif (y <= 1.3e+67)
      		tmp = Float64(y / Float64(Float64(y * t_1) / t_2));
      	else
      		tmp = t_3;
      	end
      	return tmp
      end
      
      function tmp_2 = code(x, y, z, t, a, b, c, i)
      	t_1 = c + (y * (b + (y * (y + a))));
      	t_2 = 230661.510616 + (y * (27464.7644705 + (y * (z + (y * x)))));
      	t_3 = x + ((z / y) - (a / (y / x)));
      	tmp = 0.0;
      	if (y <= -3.6e+73)
      		tmp = t_3;
      	elseif (y <= -1360.0)
      		tmp = t_2 / t_1;
      	elseif (y <= 9.2e-13)
      		tmp = (t + (y * (230661.510616 + (y * (27464.7644705 + (y * z)))))) / (i + (y * (c + (y * b))));
      	elseif (y <= 1.3e+67)
      		tmp = y / ((y * t_1) / t_2);
      	else
      		tmp = t_3;
      	end
      	tmp_2 = tmp;
      end
      
      code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(c + N[(y * N[(b + N[(y * N[(y + a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(230661.510616 + N[(y * N[(27464.7644705 + N[(y * N[(z + N[(y * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(x + N[(N[(z / y), $MachinePrecision] - N[(a / N[(y / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -3.6e+73], t$95$3, If[LessEqual[y, -1360.0], N[(t$95$2 / t$95$1), $MachinePrecision], If[LessEqual[y, 9.2e-13], N[(N[(t + N[(y * N[(230661.510616 + N[(y * N[(27464.7644705 + N[(y * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(i + N[(y * N[(c + N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.3e+67], N[(y / N[(N[(y * t$95$1), $MachinePrecision] / t$95$2), $MachinePrecision]), $MachinePrecision], t$95$3]]]]]]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      t_1 := c + y \cdot \left(b + y \cdot \left(y + a\right)\right)\\
      t_2 := 230661.510616 + y \cdot \left(27464.7644705 + y \cdot \left(z + y \cdot x\right)\right)\\
      t_3 := x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)\\
      \mathbf{if}\;y \leq -3.6 \cdot 10^{+73}:\\
      \;\;\;\;t_3\\
      
      \mathbf{elif}\;y \leq -1360:\\
      \;\;\;\;\frac{t_2}{t_1}\\
      
      \mathbf{elif}\;y \leq 9.2 \cdot 10^{-13}:\\
      \;\;\;\;\frac{t + y \cdot \left(230661.510616 + y \cdot \left(27464.7644705 + y \cdot z\right)\right)}{i + y \cdot \left(c + y \cdot b\right)}\\
      
      \mathbf{elif}\;y \leq 1.3 \cdot 10^{+67}:\\
      \;\;\;\;\frac{y}{\frac{y \cdot t_1}{t_2}}\\
      
      \mathbf{else}:\\
      \;\;\;\;t_3\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 4 regimes
      2. if y < -3.5999999999999999e73 or 1.3e67 < y

        1. Initial program 0.2%

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

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

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

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

            \[\leadsto \color{blue}{x + \left(\frac{z}{y} - \frac{a \cdot x}{y}\right)} \]
          2. associate-/l*77.1%

            \[\leadsto x + \left(\frac{z}{y} - \color{blue}{\frac{a}{\frac{y}{x}}}\right) \]
        7. Simplified77.1%

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

        if -3.5999999999999999e73 < y < -1360

        1. Initial program 32.9%

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

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

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

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

        if -1360 < y < 9.19999999999999917e-13

        1. Initial program 99.7%

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

          \[\leadsto \frac{\left(\left(\color{blue}{y \cdot z} + 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} \]
        4. Taylor expanded in y around 0 95.8%

          \[\leadsto \frac{\left(\left(y \cdot z + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\color{blue}{b \cdot y} + c\right) \cdot y + i} \]
        5. Step-by-step derivation
          1. *-commutative95.8%

            \[\leadsto \frac{\left(\left(y \cdot z + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\color{blue}{y \cdot b} + c\right) \cdot y + i} \]
        6. Simplified95.8%

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

        if 9.19999999999999917e-13 < y < 1.3e67

        1. Initial program 54.3%

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

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

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

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

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

      Alternative 6: 80.1% accurate, 0.7× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{230661.510616 + y \cdot \left(27464.7644705 + y \cdot \left(z + y \cdot x\right)\right)}{c + y \cdot \left(b + y \cdot \left(y + a\right)\right)}\\ t_2 := x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)\\ \mathbf{if}\;y \leq -2.05 \cdot 10^{+80}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;y \leq -3100:\\ \;\;\;\;t_1\\ \mathbf{elif}\;y \leq 1.3 \cdot 10^{-13}:\\ \;\;\;\;\frac{t + y \cdot \left(230661.510616 + y \cdot \left(27464.7644705 + y \cdot z\right)\right)}{i + y \cdot \left(c + y \cdot b\right)}\\ \mathbf{elif}\;y \leq 2.4 \cdot 10^{+75}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \end{array} \]
      (FPCore (x y z t a b c i)
       :precision binary64
       (let* ((t_1
               (/
                (+ 230661.510616 (* y (+ 27464.7644705 (* y (+ z (* y x))))))
                (+ c (* y (+ b (* y (+ y a)))))))
              (t_2 (+ x (- (/ z y) (/ a (/ y x))))))
         (if (<= y -2.05e+80)
           t_2
           (if (<= y -3100.0)
             t_1
             (if (<= y 1.3e-13)
               (/
                (+ t (* y (+ 230661.510616 (* y (+ 27464.7644705 (* y z))))))
                (+ i (* y (+ c (* y b)))))
               (if (<= y 2.4e+75) t_1 t_2))))))
      double code(double x, double y, double z, double t, double a, double b, double c, double i) {
      	double t_1 = (230661.510616 + (y * (27464.7644705 + (y * (z + (y * x)))))) / (c + (y * (b + (y * (y + a)))));
      	double t_2 = x + ((z / y) - (a / (y / x)));
      	double tmp;
      	if (y <= -2.05e+80) {
      		tmp = t_2;
      	} else if (y <= -3100.0) {
      		tmp = t_1;
      	} else if (y <= 1.3e-13) {
      		tmp = (t + (y * (230661.510616 + (y * (27464.7644705 + (y * z)))))) / (i + (y * (c + (y * b))));
      	} else if (y <= 2.4e+75) {
      		tmp = t_1;
      	} else {
      		tmp = t_2;
      	}
      	return tmp;
      }
      
      real(8) function code(x, y, z, t, a, b, c, i)
          real(8), intent (in) :: x
          real(8), intent (in) :: y
          real(8), intent (in) :: z
          real(8), intent (in) :: t
          real(8), intent (in) :: a
          real(8), intent (in) :: b
          real(8), intent (in) :: c
          real(8), intent (in) :: i
          real(8) :: t_1
          real(8) :: t_2
          real(8) :: tmp
          t_1 = (230661.510616d0 + (y * (27464.7644705d0 + (y * (z + (y * x)))))) / (c + (y * (b + (y * (y + a)))))
          t_2 = x + ((z / y) - (a / (y / x)))
          if (y <= (-2.05d+80)) then
              tmp = t_2
          else if (y <= (-3100.0d0)) then
              tmp = t_1
          else if (y <= 1.3d-13) then
              tmp = (t + (y * (230661.510616d0 + (y * (27464.7644705d0 + (y * z)))))) / (i + (y * (c + (y * b))))
          else if (y <= 2.4d+75) then
              tmp = t_1
          else
              tmp = t_2
          end if
          code = tmp
      end function
      
      public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
      	double t_1 = (230661.510616 + (y * (27464.7644705 + (y * (z + (y * x)))))) / (c + (y * (b + (y * (y + a)))));
      	double t_2 = x + ((z / y) - (a / (y / x)));
      	double tmp;
      	if (y <= -2.05e+80) {
      		tmp = t_2;
      	} else if (y <= -3100.0) {
      		tmp = t_1;
      	} else if (y <= 1.3e-13) {
      		tmp = (t + (y * (230661.510616 + (y * (27464.7644705 + (y * z)))))) / (i + (y * (c + (y * b))));
      	} else if (y <= 2.4e+75) {
      		tmp = t_1;
      	} else {
      		tmp = t_2;
      	}
      	return tmp;
      }
      
      def code(x, y, z, t, a, b, c, i):
      	t_1 = (230661.510616 + (y * (27464.7644705 + (y * (z + (y * x)))))) / (c + (y * (b + (y * (y + a)))))
      	t_2 = x + ((z / y) - (a / (y / x)))
      	tmp = 0
      	if y <= -2.05e+80:
      		tmp = t_2
      	elif y <= -3100.0:
      		tmp = t_1
      	elif y <= 1.3e-13:
      		tmp = (t + (y * (230661.510616 + (y * (27464.7644705 + (y * z)))))) / (i + (y * (c + (y * b))))
      	elif y <= 2.4e+75:
      		tmp = t_1
      	else:
      		tmp = t_2
      	return tmp
      
      function code(x, y, z, t, a, b, c, i)
      	t_1 = Float64(Float64(230661.510616 + Float64(y * Float64(27464.7644705 + Float64(y * Float64(z + Float64(y * x)))))) / Float64(c + Float64(y * Float64(b + Float64(y * Float64(y + a))))))
      	t_2 = Float64(x + Float64(Float64(z / y) - Float64(a / Float64(y / x))))
      	tmp = 0.0
      	if (y <= -2.05e+80)
      		tmp = t_2;
      	elseif (y <= -3100.0)
      		tmp = t_1;
      	elseif (y <= 1.3e-13)
      		tmp = Float64(Float64(t + Float64(y * Float64(230661.510616 + Float64(y * Float64(27464.7644705 + Float64(y * z)))))) / Float64(i + Float64(y * Float64(c + Float64(y * b)))));
      	elseif (y <= 2.4e+75)
      		tmp = t_1;
      	else
      		tmp = t_2;
      	end
      	return tmp
      end
      
      function tmp_2 = code(x, y, z, t, a, b, c, i)
      	t_1 = (230661.510616 + (y * (27464.7644705 + (y * (z + (y * x)))))) / (c + (y * (b + (y * (y + a)))));
      	t_2 = x + ((z / y) - (a / (y / x)));
      	tmp = 0.0;
      	if (y <= -2.05e+80)
      		tmp = t_2;
      	elseif (y <= -3100.0)
      		tmp = t_1;
      	elseif (y <= 1.3e-13)
      		tmp = (t + (y * (230661.510616 + (y * (27464.7644705 + (y * z)))))) / (i + (y * (c + (y * b))));
      	elseif (y <= 2.4e+75)
      		tmp = t_1;
      	else
      		tmp = t_2;
      	end
      	tmp_2 = tmp;
      end
      
      code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(N[(230661.510616 + N[(y * N[(27464.7644705 + N[(y * N[(z + N[(y * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(c + N[(y * N[(b + N[(y * N[(y + a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(x + N[(N[(z / y), $MachinePrecision] - N[(a / N[(y / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -2.05e+80], t$95$2, If[LessEqual[y, -3100.0], t$95$1, If[LessEqual[y, 1.3e-13], N[(N[(t + N[(y * N[(230661.510616 + N[(y * N[(27464.7644705 + N[(y * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(i + N[(y * N[(c + N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2.4e+75], t$95$1, t$95$2]]]]]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      t_1 := \frac{230661.510616 + y \cdot \left(27464.7644705 + y \cdot \left(z + y \cdot x\right)\right)}{c + y \cdot \left(b + y \cdot \left(y + a\right)\right)}\\
      t_2 := x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)\\
      \mathbf{if}\;y \leq -2.05 \cdot 10^{+80}:\\
      \;\;\;\;t_2\\
      
      \mathbf{elif}\;y \leq -3100:\\
      \;\;\;\;t_1\\
      
      \mathbf{elif}\;y \leq 1.3 \cdot 10^{-13}:\\
      \;\;\;\;\frac{t + y \cdot \left(230661.510616 + y \cdot \left(27464.7644705 + y \cdot z\right)\right)}{i + y \cdot \left(c + y \cdot b\right)}\\
      
      \mathbf{elif}\;y \leq 2.4 \cdot 10^{+75}:\\
      \;\;\;\;t_1\\
      
      \mathbf{else}:\\
      \;\;\;\;t_2\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 3 regimes
      2. if y < -2.05000000000000001e80 or 2.4e75 < y

        1. Initial program 0.2%

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

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

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

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

            \[\leadsto \color{blue}{x + \left(\frac{z}{y} - \frac{a \cdot x}{y}\right)} \]
          2. associate-/l*77.1%

            \[\leadsto x + \left(\frac{z}{y} - \color{blue}{\frac{a}{\frac{y}{x}}}\right) \]
        7. Simplified77.1%

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

        if -2.05000000000000001e80 < y < -3100 or 1.3e-13 < y < 2.4e75

        1. Initial program 45.0%

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

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

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

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

        if -3100 < y < 1.3e-13

        1. Initial program 99.7%

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

          \[\leadsto \frac{\left(\left(\color{blue}{y \cdot z} + 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} \]
        4. Taylor expanded in y around 0 95.8%

          \[\leadsto \frac{\left(\left(y \cdot z + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\color{blue}{b \cdot y} + c\right) \cdot y + i} \]
        5. Step-by-step derivation
          1. *-commutative95.8%

            \[\leadsto \frac{\left(\left(y \cdot z + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\color{blue}{y \cdot b} + c\right) \cdot y + i} \]
        6. Simplified95.8%

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

        \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -2.05 \cdot 10^{+80}:\\ \;\;\;\;x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)\\ \mathbf{elif}\;y \leq -3100:\\ \;\;\;\;\frac{230661.510616 + y \cdot \left(27464.7644705 + y \cdot \left(z + y \cdot x\right)\right)}{c + y \cdot \left(b + y \cdot \left(y + a\right)\right)}\\ \mathbf{elif}\;y \leq 1.3 \cdot 10^{-13}:\\ \;\;\;\;\frac{t + y \cdot \left(230661.510616 + y \cdot \left(27464.7644705 + y \cdot z\right)\right)}{i + y \cdot \left(c + y \cdot b\right)}\\ \mathbf{elif}\;y \leq 2.4 \cdot 10^{+75}:\\ \;\;\;\;\frac{230661.510616 + y \cdot \left(27464.7644705 + y \cdot \left(z + y \cdot x\right)\right)}{c + y \cdot \left(b + y \cdot \left(y + a\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)\\ \end{array} \]
      5. Add Preprocessing

      Alternative 7: 82.0% accurate, 0.8× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y \leq -2.7 \cdot 10^{+45} \lor \neg \left(y \leq 2.9 \cdot 10^{+62}\right):\\ \;\;\;\;x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)\\ \mathbf{else}:\\ \;\;\;\;\frac{t + y \cdot \left(230661.510616 + y \cdot \left(27464.7644705 + y \cdot z\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(y + a\right)\right)\right)}\\ \end{array} \end{array} \]
      (FPCore (x y z t a b c i)
       :precision binary64
       (if (or (<= y -2.7e+45) (not (<= y 2.9e+62)))
         (+ x (- (/ z y) (/ a (/ y x))))
         (/
          (+ t (* y (+ 230661.510616 (* y (+ 27464.7644705 (* y z))))))
          (+ i (* y (+ c (* y (+ b (* y (+ y a))))))))))
      double code(double x, double y, double z, double t, double a, double b, double c, double i) {
      	double tmp;
      	if ((y <= -2.7e+45) || !(y <= 2.9e+62)) {
      		tmp = x + ((z / y) - (a / (y / x)));
      	} else {
      		tmp = (t + (y * (230661.510616 + (y * (27464.7644705 + (y * z)))))) / (i + (y * (c + (y * (b + (y * (y + a)))))));
      	}
      	return tmp;
      }
      
      real(8) function code(x, y, z, t, a, b, c, i)
          real(8), intent (in) :: x
          real(8), intent (in) :: y
          real(8), intent (in) :: z
          real(8), intent (in) :: t
          real(8), intent (in) :: a
          real(8), intent (in) :: b
          real(8), intent (in) :: c
          real(8), intent (in) :: i
          real(8) :: tmp
          if ((y <= (-2.7d+45)) .or. (.not. (y <= 2.9d+62))) then
              tmp = x + ((z / y) - (a / (y / x)))
          else
              tmp = (t + (y * (230661.510616d0 + (y * (27464.7644705d0 + (y * z)))))) / (i + (y * (c + (y * (b + (y * (y + a)))))))
          end if
          code = tmp
      end function
      
      public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
      	double tmp;
      	if ((y <= -2.7e+45) || !(y <= 2.9e+62)) {
      		tmp = x + ((z / y) - (a / (y / x)));
      	} else {
      		tmp = (t + (y * (230661.510616 + (y * (27464.7644705 + (y * z)))))) / (i + (y * (c + (y * (b + (y * (y + a)))))));
      	}
      	return tmp;
      }
      
      def code(x, y, z, t, a, b, c, i):
      	tmp = 0
      	if (y <= -2.7e+45) or not (y <= 2.9e+62):
      		tmp = x + ((z / y) - (a / (y / x)))
      	else:
      		tmp = (t + (y * (230661.510616 + (y * (27464.7644705 + (y * z)))))) / (i + (y * (c + (y * (b + (y * (y + a)))))))
      	return tmp
      
      function code(x, y, z, t, a, b, c, i)
      	tmp = 0.0
      	if ((y <= -2.7e+45) || !(y <= 2.9e+62))
      		tmp = Float64(x + Float64(Float64(z / y) - Float64(a / Float64(y / x))));
      	else
      		tmp = Float64(Float64(t + Float64(y * Float64(230661.510616 + Float64(y * Float64(27464.7644705 + Float64(y * z)))))) / Float64(i + Float64(y * Float64(c + Float64(y * Float64(b + Float64(y * Float64(y + a))))))));
      	end
      	return tmp
      end
      
      function tmp_2 = code(x, y, z, t, a, b, c, i)
      	tmp = 0.0;
      	if ((y <= -2.7e+45) || ~((y <= 2.9e+62)))
      		tmp = x + ((z / y) - (a / (y / x)));
      	else
      		tmp = (t + (y * (230661.510616 + (y * (27464.7644705 + (y * z)))))) / (i + (y * (c + (y * (b + (y * (y + a)))))));
      	end
      	tmp_2 = tmp;
      end
      
      code[x_, y_, z_, t_, a_, b_, c_, i_] := If[Or[LessEqual[y, -2.7e+45], N[Not[LessEqual[y, 2.9e+62]], $MachinePrecision]], N[(x + N[(N[(z / y), $MachinePrecision] - N[(a / N[(y / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(t + N[(y * N[(230661.510616 + N[(y * N[(27464.7644705 + N[(y * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(i + N[(y * N[(c + N[(y * N[(b + N[(y * N[(y + a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      \mathbf{if}\;y \leq -2.7 \cdot 10^{+45} \lor \neg \left(y \leq 2.9 \cdot 10^{+62}\right):\\
      \;\;\;\;x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)\\
      
      \mathbf{else}:\\
      \;\;\;\;\frac{t + y \cdot \left(230661.510616 + y \cdot \left(27464.7644705 + y \cdot z\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(y + a\right)\right)\right)}\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 2 regimes
      2. if y < -2.69999999999999984e45 or 2.89999999999999984e62 < y

        1. Initial program 1.3%

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

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

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

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

            \[\leadsto \color{blue}{x + \left(\frac{z}{y} - \frac{a \cdot x}{y}\right)} \]
          2. associate-/l*73.2%

            \[\leadsto x + \left(\frac{z}{y} - \color{blue}{\frac{a}{\frac{y}{x}}}\right) \]
        7. Simplified73.2%

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

        if -2.69999999999999984e45 < y < 2.89999999999999984e62

        1. Initial program 92.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. Add Preprocessing
        3. Taylor expanded in x around 0 89.0%

          \[\leadsto \frac{\left(\left(\color{blue}{y \cdot z} + 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} \]
      3. Recombined 2 regimes into one program.
      4. Final simplification82.4%

        \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -2.7 \cdot 10^{+45} \lor \neg \left(y \leq 2.9 \cdot 10^{+62}\right):\\ \;\;\;\;x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)\\ \mathbf{else}:\\ \;\;\;\;\frac{t + y \cdot \left(230661.510616 + y \cdot \left(27464.7644705 + y \cdot z\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(y + a\right)\right)\right)}\\ \end{array} \]
      5. Add Preprocessing

      Alternative 8: 78.7% accurate, 1.0× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y \leq -5.7 \cdot 10^{+45} \lor \neg \left(y \leq 1.22 \cdot 10^{+62}\right):\\ \;\;\;\;x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)\\ \mathbf{else}:\\ \;\;\;\;\frac{t + y \cdot \left(230661.510616 + y \cdot \left(27464.7644705 + y \cdot z\right)\right)}{i + y \cdot \left(c + y \cdot b\right)}\\ \end{array} \end{array} \]
      (FPCore (x y z t a b c i)
       :precision binary64
       (if (or (<= y -5.7e+45) (not (<= y 1.22e+62)))
         (+ x (- (/ z y) (/ a (/ y x))))
         (/
          (+ t (* y (+ 230661.510616 (* y (+ 27464.7644705 (* y z))))))
          (+ i (* y (+ c (* y b)))))))
      double code(double x, double y, double z, double t, double a, double b, double c, double i) {
      	double tmp;
      	if ((y <= -5.7e+45) || !(y <= 1.22e+62)) {
      		tmp = x + ((z / y) - (a / (y / x)));
      	} else {
      		tmp = (t + (y * (230661.510616 + (y * (27464.7644705 + (y * z)))))) / (i + (y * (c + (y * b))));
      	}
      	return tmp;
      }
      
      real(8) function code(x, y, z, t, a, b, c, i)
          real(8), intent (in) :: x
          real(8), intent (in) :: y
          real(8), intent (in) :: z
          real(8), intent (in) :: t
          real(8), intent (in) :: a
          real(8), intent (in) :: b
          real(8), intent (in) :: c
          real(8), intent (in) :: i
          real(8) :: tmp
          if ((y <= (-5.7d+45)) .or. (.not. (y <= 1.22d+62))) then
              tmp = x + ((z / y) - (a / (y / x)))
          else
              tmp = (t + (y * (230661.510616d0 + (y * (27464.7644705d0 + (y * z)))))) / (i + (y * (c + (y * b))))
          end if
          code = tmp
      end function
      
      public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
      	double tmp;
      	if ((y <= -5.7e+45) || !(y <= 1.22e+62)) {
      		tmp = x + ((z / y) - (a / (y / x)));
      	} else {
      		tmp = (t + (y * (230661.510616 + (y * (27464.7644705 + (y * z)))))) / (i + (y * (c + (y * b))));
      	}
      	return tmp;
      }
      
      def code(x, y, z, t, a, b, c, i):
      	tmp = 0
      	if (y <= -5.7e+45) or not (y <= 1.22e+62):
      		tmp = x + ((z / y) - (a / (y / x)))
      	else:
      		tmp = (t + (y * (230661.510616 + (y * (27464.7644705 + (y * z)))))) / (i + (y * (c + (y * b))))
      	return tmp
      
      function code(x, y, z, t, a, b, c, i)
      	tmp = 0.0
      	if ((y <= -5.7e+45) || !(y <= 1.22e+62))
      		tmp = Float64(x + Float64(Float64(z / y) - Float64(a / Float64(y / x))));
      	else
      		tmp = Float64(Float64(t + Float64(y * Float64(230661.510616 + Float64(y * Float64(27464.7644705 + Float64(y * z)))))) / Float64(i + Float64(y * Float64(c + Float64(y * b)))));
      	end
      	return tmp
      end
      
      function tmp_2 = code(x, y, z, t, a, b, c, i)
      	tmp = 0.0;
      	if ((y <= -5.7e+45) || ~((y <= 1.22e+62)))
      		tmp = x + ((z / y) - (a / (y / x)));
      	else
      		tmp = (t + (y * (230661.510616 + (y * (27464.7644705 + (y * z)))))) / (i + (y * (c + (y * b))));
      	end
      	tmp_2 = tmp;
      end
      
      code[x_, y_, z_, t_, a_, b_, c_, i_] := If[Or[LessEqual[y, -5.7e+45], N[Not[LessEqual[y, 1.22e+62]], $MachinePrecision]], N[(x + N[(N[(z / y), $MachinePrecision] - N[(a / N[(y / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(t + N[(y * N[(230661.510616 + N[(y * N[(27464.7644705 + N[(y * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(i + N[(y * N[(c + N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      \mathbf{if}\;y \leq -5.7 \cdot 10^{+45} \lor \neg \left(y \leq 1.22 \cdot 10^{+62}\right):\\
      \;\;\;\;x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)\\
      
      \mathbf{else}:\\
      \;\;\;\;\frac{t + y \cdot \left(230661.510616 + y \cdot \left(27464.7644705 + y \cdot z\right)\right)}{i + y \cdot \left(c + y \cdot b\right)}\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 2 regimes
      2. if y < -5.70000000000000027e45 or 1.21999999999999998e62 < y

        1. Initial program 1.3%

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

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

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

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

            \[\leadsto \color{blue}{x + \left(\frac{z}{y} - \frac{a \cdot x}{y}\right)} \]
          2. associate-/l*73.9%

            \[\leadsto x + \left(\frac{z}{y} - \color{blue}{\frac{a}{\frac{y}{x}}}\right) \]
        7. Simplified73.9%

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

        if -5.70000000000000027e45 < y < 1.21999999999999998e62

        1. Initial program 92.0%

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

          \[\leadsto \frac{\left(\left(\color{blue}{y \cdot z} + 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} \]
        4. Taylor expanded in y around 0 85.0%

          \[\leadsto \frac{\left(\left(y \cdot z + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\color{blue}{b \cdot y} + c\right) \cdot y + i} \]
        5. Step-by-step derivation
          1. *-commutative85.0%

            \[\leadsto \frac{\left(\left(y \cdot z + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\color{blue}{y \cdot b} + c\right) \cdot y + i} \]
        6. Simplified85.0%

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

        \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -5.7 \cdot 10^{+45} \lor \neg \left(y \leq 1.22 \cdot 10^{+62}\right):\\ \;\;\;\;x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)\\ \mathbf{else}:\\ \;\;\;\;\frac{t + y \cdot \left(230661.510616 + y \cdot \left(27464.7644705 + y \cdot z\right)\right)}{i + y \cdot \left(c + y \cdot b\right)}\\ \end{array} \]
      5. Add Preprocessing

      Alternative 9: 77.1% accurate, 1.1× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y \leq -5.7 \cdot 10^{+45} \lor \neg \left(y \leq 1.8 \cdot 10^{+28}\right):\\ \;\;\;\;x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)\\ \mathbf{else}:\\ \;\;\;\;\frac{t + y \cdot 230661.510616}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(y + a\right)\right)\right)}\\ \end{array} \end{array} \]
      (FPCore (x y z t a b c i)
       :precision binary64
       (if (or (<= y -5.7e+45) (not (<= y 1.8e+28)))
         (+ x (- (/ z y) (/ a (/ y x))))
         (/ (+ t (* y 230661.510616)) (+ i (* y (+ c (* y (+ b (* y (+ y a))))))))))
      double code(double x, double y, double z, double t, double a, double b, double c, double i) {
      	double tmp;
      	if ((y <= -5.7e+45) || !(y <= 1.8e+28)) {
      		tmp = x + ((z / y) - (a / (y / x)));
      	} else {
      		tmp = (t + (y * 230661.510616)) / (i + (y * (c + (y * (b + (y * (y + a)))))));
      	}
      	return tmp;
      }
      
      real(8) function code(x, y, z, t, a, b, c, i)
          real(8), intent (in) :: x
          real(8), intent (in) :: y
          real(8), intent (in) :: z
          real(8), intent (in) :: t
          real(8), intent (in) :: a
          real(8), intent (in) :: b
          real(8), intent (in) :: c
          real(8), intent (in) :: i
          real(8) :: tmp
          if ((y <= (-5.7d+45)) .or. (.not. (y <= 1.8d+28))) then
              tmp = x + ((z / y) - (a / (y / x)))
          else
              tmp = (t + (y * 230661.510616d0)) / (i + (y * (c + (y * (b + (y * (y + a)))))))
          end if
          code = tmp
      end function
      
      public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
      	double tmp;
      	if ((y <= -5.7e+45) || !(y <= 1.8e+28)) {
      		tmp = x + ((z / y) - (a / (y / x)));
      	} else {
      		tmp = (t + (y * 230661.510616)) / (i + (y * (c + (y * (b + (y * (y + a)))))));
      	}
      	return tmp;
      }
      
      def code(x, y, z, t, a, b, c, i):
      	tmp = 0
      	if (y <= -5.7e+45) or not (y <= 1.8e+28):
      		tmp = x + ((z / y) - (a / (y / x)))
      	else:
      		tmp = (t + (y * 230661.510616)) / (i + (y * (c + (y * (b + (y * (y + a)))))))
      	return tmp
      
      function code(x, y, z, t, a, b, c, i)
      	tmp = 0.0
      	if ((y <= -5.7e+45) || !(y <= 1.8e+28))
      		tmp = Float64(x + Float64(Float64(z / y) - Float64(a / Float64(y / x))));
      	else
      		tmp = Float64(Float64(t + Float64(y * 230661.510616)) / Float64(i + Float64(y * Float64(c + Float64(y * Float64(b + Float64(y * Float64(y + a))))))));
      	end
      	return tmp
      end
      
      function tmp_2 = code(x, y, z, t, a, b, c, i)
      	tmp = 0.0;
      	if ((y <= -5.7e+45) || ~((y <= 1.8e+28)))
      		tmp = x + ((z / y) - (a / (y / x)));
      	else
      		tmp = (t + (y * 230661.510616)) / (i + (y * (c + (y * (b + (y * (y + a)))))));
      	end
      	tmp_2 = tmp;
      end
      
      code[x_, y_, z_, t_, a_, b_, c_, i_] := If[Or[LessEqual[y, -5.7e+45], N[Not[LessEqual[y, 1.8e+28]], $MachinePrecision]], N[(x + N[(N[(z / y), $MachinePrecision] - N[(a / N[(y / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(t + N[(y * 230661.510616), $MachinePrecision]), $MachinePrecision] / N[(i + N[(y * N[(c + N[(y * N[(b + N[(y * N[(y + a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      \mathbf{if}\;y \leq -5.7 \cdot 10^{+45} \lor \neg \left(y \leq 1.8 \cdot 10^{+28}\right):\\
      \;\;\;\;x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)\\
      
      \mathbf{else}:\\
      \;\;\;\;\frac{t + y \cdot 230661.510616}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(y + a\right)\right)\right)}\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 2 regimes
      2. if y < -5.70000000000000027e45 or 1.8e28 < y

        1. Initial program 4.0%

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

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

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

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

            \[\leadsto \color{blue}{x + \left(\frac{z}{y} - \frac{a \cdot x}{y}\right)} \]
          2. associate-/l*67.8%

            \[\leadsto x + \left(\frac{z}{y} - \color{blue}{\frac{a}{\frac{y}{x}}}\right) \]
        7. Simplified67.8%

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

        if -5.70000000000000027e45 < y < 1.8e28

        1. Initial program 96.2%

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

          \[\leadsto \frac{\color{blue}{230661.510616 \cdot y} + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
        4. Step-by-step derivation
          1. *-commutative84.7%

            \[\leadsto \frac{\color{blue}{y \cdot 230661.510616} + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
        5. Simplified84.7%

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

        \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -5.7 \cdot 10^{+45} \lor \neg \left(y \leq 1.8 \cdot 10^{+28}\right):\\ \;\;\;\;x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)\\ \mathbf{else}:\\ \;\;\;\;\frac{t + y \cdot 230661.510616}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(y + a\right)\right)\right)}\\ \end{array} \]
      5. Add Preprocessing

      Alternative 10: 70.0% accurate, 1.2× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y \leq -1.08 \cdot 10^{+46} \lor \neg \left(y \leq 10^{+29}\right):\\ \;\;\;\;x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)\\ \mathbf{else}:\\ \;\;\;\;\frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(y + a\right)\right)\right)}\\ \end{array} \end{array} \]
      (FPCore (x y z t a b c i)
       :precision binary64
       (if (or (<= y -1.08e+46) (not (<= y 1e+29)))
         (+ x (- (/ z y) (/ a (/ y x))))
         (/ t (+ i (* y (+ c (* y (+ b (* y (+ y a))))))))))
      double code(double x, double y, double z, double t, double a, double b, double c, double i) {
      	double tmp;
      	if ((y <= -1.08e+46) || !(y <= 1e+29)) {
      		tmp = x + ((z / y) - (a / (y / x)));
      	} else {
      		tmp = t / (i + (y * (c + (y * (b + (y * (y + a)))))));
      	}
      	return tmp;
      }
      
      real(8) function code(x, y, z, t, a, b, c, i)
          real(8), intent (in) :: x
          real(8), intent (in) :: y
          real(8), intent (in) :: z
          real(8), intent (in) :: t
          real(8), intent (in) :: a
          real(8), intent (in) :: b
          real(8), intent (in) :: c
          real(8), intent (in) :: i
          real(8) :: tmp
          if ((y <= (-1.08d+46)) .or. (.not. (y <= 1d+29))) then
              tmp = x + ((z / y) - (a / (y / x)))
          else
              tmp = t / (i + (y * (c + (y * (b + (y * (y + a)))))))
          end if
          code = tmp
      end function
      
      public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
      	double tmp;
      	if ((y <= -1.08e+46) || !(y <= 1e+29)) {
      		tmp = x + ((z / y) - (a / (y / x)));
      	} else {
      		tmp = t / (i + (y * (c + (y * (b + (y * (y + a)))))));
      	}
      	return tmp;
      }
      
      def code(x, y, z, t, a, b, c, i):
      	tmp = 0
      	if (y <= -1.08e+46) or not (y <= 1e+29):
      		tmp = x + ((z / y) - (a / (y / x)))
      	else:
      		tmp = t / (i + (y * (c + (y * (b + (y * (y + a)))))))
      	return tmp
      
      function code(x, y, z, t, a, b, c, i)
      	tmp = 0.0
      	if ((y <= -1.08e+46) || !(y <= 1e+29))
      		tmp = Float64(x + Float64(Float64(z / y) - Float64(a / Float64(y / x))));
      	else
      		tmp = Float64(t / Float64(i + Float64(y * Float64(c + Float64(y * Float64(b + Float64(y * Float64(y + a))))))));
      	end
      	return tmp
      end
      
      function tmp_2 = code(x, y, z, t, a, b, c, i)
      	tmp = 0.0;
      	if ((y <= -1.08e+46) || ~((y <= 1e+29)))
      		tmp = x + ((z / y) - (a / (y / x)));
      	else
      		tmp = t / (i + (y * (c + (y * (b + (y * (y + a)))))));
      	end
      	tmp_2 = tmp;
      end
      
      code[x_, y_, z_, t_, a_, b_, c_, i_] := If[Or[LessEqual[y, -1.08e+46], N[Not[LessEqual[y, 1e+29]], $MachinePrecision]], N[(x + N[(N[(z / y), $MachinePrecision] - N[(a / N[(y / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t / N[(i + N[(y * N[(c + N[(y * N[(b + N[(y * N[(y + a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      \mathbf{if}\;y \leq -1.08 \cdot 10^{+46} \lor \neg \left(y \leq 10^{+29}\right):\\
      \;\;\;\;x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)\\
      
      \mathbf{else}:\\
      \;\;\;\;\frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(y + a\right)\right)\right)}\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 2 regimes
      2. if y < -1.07999999999999994e46 or 9.99999999999999914e28 < y

        1. Initial program 4.0%

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

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

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

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

            \[\leadsto \color{blue}{x + \left(\frac{z}{y} - \frac{a \cdot x}{y}\right)} \]
          2. associate-/l*67.8%

            \[\leadsto x + \left(\frac{z}{y} - \color{blue}{\frac{a}{\frac{y}{x}}}\right) \]
        7. Simplified67.8%

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

        if -1.07999999999999994e46 < y < 9.99999999999999914e28

        1. Initial program 96.2%

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

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

        \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -1.08 \cdot 10^{+46} \lor \neg \left(y \leq 10^{+29}\right):\\ \;\;\;\;x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)\\ \mathbf{else}:\\ \;\;\;\;\frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(y + a\right)\right)\right)}\\ \end{array} \]
      5. Add Preprocessing

      Alternative 11: 64.0% accurate, 1.3× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y \leq -2.9 \cdot 10^{+45} \lor \neg \left(y \leq 0.0088\right):\\ \;\;\;\;x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)\\ \mathbf{else}:\\ \;\;\;\;\frac{t + y \cdot \left(230661.510616 + y \cdot \left(27464.7644705 + y \cdot z\right)\right)}{i}\\ \end{array} \end{array} \]
      (FPCore (x y z t a b c i)
       :precision binary64
       (if (or (<= y -2.9e+45) (not (<= y 0.0088)))
         (+ x (- (/ z y) (/ a (/ y x))))
         (/ (+ t (* y (+ 230661.510616 (* y (+ 27464.7644705 (* y z)))))) i)))
      double code(double x, double y, double z, double t, double a, double b, double c, double i) {
      	double tmp;
      	if ((y <= -2.9e+45) || !(y <= 0.0088)) {
      		tmp = x + ((z / y) - (a / (y / x)));
      	} else {
      		tmp = (t + (y * (230661.510616 + (y * (27464.7644705 + (y * z)))))) / i;
      	}
      	return tmp;
      }
      
      real(8) function code(x, y, z, t, a, b, c, i)
          real(8), intent (in) :: x
          real(8), intent (in) :: y
          real(8), intent (in) :: z
          real(8), intent (in) :: t
          real(8), intent (in) :: a
          real(8), intent (in) :: b
          real(8), intent (in) :: c
          real(8), intent (in) :: i
          real(8) :: tmp
          if ((y <= (-2.9d+45)) .or. (.not. (y <= 0.0088d0))) then
              tmp = x + ((z / y) - (a / (y / x)))
          else
              tmp = (t + (y * (230661.510616d0 + (y * (27464.7644705d0 + (y * z)))))) / i
          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.9e+45) || !(y <= 0.0088)) {
      		tmp = x + ((z / y) - (a / (y / x)));
      	} else {
      		tmp = (t + (y * (230661.510616 + (y * (27464.7644705 + (y * z)))))) / i;
      	}
      	return tmp;
      }
      
      def code(x, y, z, t, a, b, c, i):
      	tmp = 0
      	if (y <= -2.9e+45) or not (y <= 0.0088):
      		tmp = x + ((z / y) - (a / (y / x)))
      	else:
      		tmp = (t + (y * (230661.510616 + (y * (27464.7644705 + (y * z)))))) / i
      	return tmp
      
      function code(x, y, z, t, a, b, c, i)
      	tmp = 0.0
      	if ((y <= -2.9e+45) || !(y <= 0.0088))
      		tmp = Float64(x + Float64(Float64(z / y) - Float64(a / Float64(y / x))));
      	else
      		tmp = Float64(Float64(t + Float64(y * Float64(230661.510616 + Float64(y * Float64(27464.7644705 + Float64(y * z)))))) / i);
      	end
      	return tmp
      end
      
      function tmp_2 = code(x, y, z, t, a, b, c, i)
      	tmp = 0.0;
      	if ((y <= -2.9e+45) || ~((y <= 0.0088)))
      		tmp = x + ((z / y) - (a / (y / x)));
      	else
      		tmp = (t + (y * (230661.510616 + (y * (27464.7644705 + (y * z)))))) / i;
      	end
      	tmp_2 = tmp;
      end
      
      code[x_, y_, z_, t_, a_, b_, c_, i_] := If[Or[LessEqual[y, -2.9e+45], N[Not[LessEqual[y, 0.0088]], $MachinePrecision]], N[(x + N[(N[(z / y), $MachinePrecision] - N[(a / N[(y / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(t + N[(y * N[(230661.510616 + N[(y * N[(27464.7644705 + N[(y * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / i), $MachinePrecision]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      \mathbf{if}\;y \leq -2.9 \cdot 10^{+45} \lor \neg \left(y \leq 0.0088\right):\\
      \;\;\;\;x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)\\
      
      \mathbf{else}:\\
      \;\;\;\;\frac{t + y \cdot \left(230661.510616 + y \cdot \left(27464.7644705 + y \cdot z\right)\right)}{i}\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 2 regimes
      2. if y < -2.8999999999999997e45 or 0.00880000000000000053 < y

        1. Initial program 7.9%

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

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

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

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

            \[\leadsto \color{blue}{x + \left(\frac{z}{y} - \frac{a \cdot x}{y}\right)} \]
          2. associate-/l*65.3%

            \[\leadsto x + \left(\frac{z}{y} - \color{blue}{\frac{a}{\frac{y}{x}}}\right) \]
        7. Simplified65.3%

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

        if -2.8999999999999997e45 < y < 0.00880000000000000053

        1. Initial program 96.8%

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

          \[\leadsto \frac{\left(\left(\color{blue}{y \cdot z} + 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} \]
        4. Taylor expanded in i around inf 64.1%

          \[\leadsto \color{blue}{\frac{t + y \cdot \left(230661.510616 + y \cdot \left(27464.7644705 + y \cdot z\right)\right)}{i}} \]
      3. Recombined 2 regimes into one program.
      4. Final simplification64.7%

        \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -2.9 \cdot 10^{+45} \lor \neg \left(y \leq 0.0088\right):\\ \;\;\;\;x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)\\ \mathbf{else}:\\ \;\;\;\;\frac{t + y \cdot \left(230661.510616 + y \cdot \left(27464.7644705 + y \cdot z\right)\right)}{i}\\ \end{array} \]
      5. Add Preprocessing

      Alternative 12: 62.6% accurate, 1.6× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y \leq -3.1 \cdot 10^{+45} \lor \neg \left(y \leq 0.0075\right):\\ \;\;\;\;x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)\\ \mathbf{else}:\\ \;\;\;\;230661.510616 \cdot \frac{y}{i} + \frac{t}{i}\\ \end{array} \end{array} \]
      (FPCore (x y z t a b c i)
       :precision binary64
       (if (or (<= y -3.1e+45) (not (<= y 0.0075)))
         (+ x (- (/ z y) (/ a (/ y x))))
         (+ (* 230661.510616 (/ y i)) (/ t i))))
      double code(double x, double y, double z, double t, double a, double b, double c, double i) {
      	double tmp;
      	if ((y <= -3.1e+45) || !(y <= 0.0075)) {
      		tmp = x + ((z / y) - (a / (y / x)));
      	} else {
      		tmp = (230661.510616 * (y / i)) + (t / i);
      	}
      	return tmp;
      }
      
      real(8) function code(x, y, z, t, a, b, c, i)
          real(8), intent (in) :: x
          real(8), intent (in) :: y
          real(8), intent (in) :: z
          real(8), intent (in) :: t
          real(8), intent (in) :: a
          real(8), intent (in) :: b
          real(8), intent (in) :: c
          real(8), intent (in) :: i
          real(8) :: tmp
          if ((y <= (-3.1d+45)) .or. (.not. (y <= 0.0075d0))) then
              tmp = x + ((z / y) - (a / (y / x)))
          else
              tmp = (230661.510616d0 * (y / i)) + (t / i)
          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 <= -3.1e+45) || !(y <= 0.0075)) {
      		tmp = x + ((z / y) - (a / (y / x)));
      	} else {
      		tmp = (230661.510616 * (y / i)) + (t / i);
      	}
      	return tmp;
      }
      
      def code(x, y, z, t, a, b, c, i):
      	tmp = 0
      	if (y <= -3.1e+45) or not (y <= 0.0075):
      		tmp = x + ((z / y) - (a / (y / x)))
      	else:
      		tmp = (230661.510616 * (y / i)) + (t / i)
      	return tmp
      
      function code(x, y, z, t, a, b, c, i)
      	tmp = 0.0
      	if ((y <= -3.1e+45) || !(y <= 0.0075))
      		tmp = Float64(x + Float64(Float64(z / y) - Float64(a / Float64(y / x))));
      	else
      		tmp = Float64(Float64(230661.510616 * Float64(y / i)) + Float64(t / i));
      	end
      	return tmp
      end
      
      function tmp_2 = code(x, y, z, t, a, b, c, i)
      	tmp = 0.0;
      	if ((y <= -3.1e+45) || ~((y <= 0.0075)))
      		tmp = x + ((z / y) - (a / (y / x)));
      	else
      		tmp = (230661.510616 * (y / i)) + (t / i);
      	end
      	tmp_2 = tmp;
      end
      
      code[x_, y_, z_, t_, a_, b_, c_, i_] := If[Or[LessEqual[y, -3.1e+45], N[Not[LessEqual[y, 0.0075]], $MachinePrecision]], N[(x + N[(N[(z / y), $MachinePrecision] - N[(a / N[(y / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(230661.510616 * N[(y / i), $MachinePrecision]), $MachinePrecision] + N[(t / i), $MachinePrecision]), $MachinePrecision]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      \mathbf{if}\;y \leq -3.1 \cdot 10^{+45} \lor \neg \left(y \leq 0.0075\right):\\
      \;\;\;\;x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)\\
      
      \mathbf{else}:\\
      \;\;\;\;230661.510616 \cdot \frac{y}{i} + \frac{t}{i}\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 2 regimes
      2. if y < -3.09999999999999988e45 or 0.0074999999999999997 < y

        1. Initial program 7.9%

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

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

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

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

            \[\leadsto \color{blue}{x + \left(\frac{z}{y} - \frac{a \cdot x}{y}\right)} \]
          2. associate-/l*65.3%

            \[\leadsto x + \left(\frac{z}{y} - \color{blue}{\frac{a}{\frac{y}{x}}}\right) \]
        7. Simplified65.3%

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

        if -3.09999999999999988e45 < y < 0.0074999999999999997

        1. Initial program 96.8%

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

          \[\leadsto \color{blue}{y \cdot \left(230661.510616 \cdot \frac{1}{i} - \frac{c \cdot t}{{i}^{2}}\right) + \frac{t}{i}} \]
        4. Step-by-step derivation
          1. fma-def50.1%

            \[\leadsto \color{blue}{\mathsf{fma}\left(y, 230661.510616 \cdot \frac{1}{i} - \frac{c \cdot t}{{i}^{2}}, \frac{t}{i}\right)} \]
          2. associate-*r/50.2%

            \[\leadsto \mathsf{fma}\left(y, \color{blue}{\frac{230661.510616 \cdot 1}{i}} - \frac{c \cdot t}{{i}^{2}}, \frac{t}{i}\right) \]
          3. metadata-eval50.2%

            \[\leadsto \mathsf{fma}\left(y, \frac{\color{blue}{230661.510616}}{i} - \frac{c \cdot t}{{i}^{2}}, \frac{t}{i}\right) \]
          4. *-commutative50.2%

            \[\leadsto \mathsf{fma}\left(y, \frac{230661.510616}{i} - \frac{\color{blue}{t \cdot c}}{{i}^{2}}, \frac{t}{i}\right) \]
          5. associate-/l*51.0%

            \[\leadsto \mathsf{fma}\left(y, \frac{230661.510616}{i} - \color{blue}{\frac{t}{\frac{{i}^{2}}{c}}}, \frac{t}{i}\right) \]
        5. Simplified51.0%

          \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{230661.510616}{i} - \frac{t}{\frac{{i}^{2}}{c}}, \frac{t}{i}\right)} \]
        6. Taylor expanded in c around 0 62.9%

          \[\leadsto \color{blue}{230661.510616 \cdot \frac{y}{i} + \frac{t}{i}} \]
      3. Recombined 2 regimes into one program.
      4. Final simplification64.1%

        \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -3.1 \cdot 10^{+45} \lor \neg \left(y \leq 0.0075\right):\\ \;\;\;\;x + \left(\frac{z}{y} - \frac{a}{\frac{y}{x}}\right)\\ \mathbf{else}:\\ \;\;\;\;230661.510616 \cdot \frac{y}{i} + \frac{t}{i}\\ \end{array} \]
      5. Add Preprocessing

      Alternative 13: 55.5% accurate, 1.7× speedup?

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

        1. Initial program 9.5%

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

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

        if -1.02e56 < y < 2.0500000000000001e-14

        1. Initial program 95.3%

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

          \[\leadsto \color{blue}{y \cdot \left(230661.510616 \cdot \frac{1}{i} - \frac{c \cdot t}{{i}^{2}}\right) + \frac{t}{i}} \]
        4. Step-by-step derivation
          1. fma-def50.1%

            \[\leadsto \color{blue}{\mathsf{fma}\left(y, 230661.510616 \cdot \frac{1}{i} - \frac{c \cdot t}{{i}^{2}}, \frac{t}{i}\right)} \]
          2. associate-*r/50.2%

            \[\leadsto \mathsf{fma}\left(y, \color{blue}{\frac{230661.510616 \cdot 1}{i}} - \frac{c \cdot t}{{i}^{2}}, \frac{t}{i}\right) \]
          3. metadata-eval50.2%

            \[\leadsto \mathsf{fma}\left(y, \frac{\color{blue}{230661.510616}}{i} - \frac{c \cdot t}{{i}^{2}}, \frac{t}{i}\right) \]
          4. *-commutative50.2%

            \[\leadsto \mathsf{fma}\left(y, \frac{230661.510616}{i} - \frac{\color{blue}{t \cdot c}}{{i}^{2}}, \frac{t}{i}\right) \]
          5. associate-/l*51.0%

            \[\leadsto \mathsf{fma}\left(y, \frac{230661.510616}{i} - \color{blue}{\frac{t}{\frac{{i}^{2}}{c}}}, \frac{t}{i}\right) \]
        5. Simplified51.0%

          \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{230661.510616}{i} - \frac{t}{\frac{{i}^{2}}{c}}, \frac{t}{i}\right)} \]
        6. Taylor expanded in c around 0 62.9%

          \[\leadsto \color{blue}{230661.510616 \cdot \frac{y}{i} + \frac{t}{i}} \]
      3. Recombined 2 regimes into one program.
      4. Final simplification55.0%

        \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -1.02 \cdot 10^{+56}:\\ \;\;\;\;x\\ \mathbf{elif}\;y \leq 2.05 \cdot 10^{-14}:\\ \;\;\;\;230661.510616 \cdot \frac{y}{i} + \frac{t}{i}\\ \mathbf{else}:\\ \;\;\;\;x\\ \end{array} \]
      5. Add Preprocessing

      Alternative 14: 55.6% accurate, 1.9× speedup?

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

        1. Initial program 9.5%

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

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

        if -1.02e56 < y < 1.75000000000000009e-16

        1. Initial program 95.3%

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

          \[\leadsto \color{blue}{y \cdot \left(230661.510616 \cdot \frac{1}{i} - \frac{c \cdot t}{{i}^{2}}\right) + \frac{t}{i}} \]
        4. Step-by-step derivation
          1. fma-def50.1%

            \[\leadsto \color{blue}{\mathsf{fma}\left(y, 230661.510616 \cdot \frac{1}{i} - \frac{c \cdot t}{{i}^{2}}, \frac{t}{i}\right)} \]
          2. associate-*r/50.2%

            \[\leadsto \mathsf{fma}\left(y, \color{blue}{\frac{230661.510616 \cdot 1}{i}} - \frac{c \cdot t}{{i}^{2}}, \frac{t}{i}\right) \]
          3. metadata-eval50.2%

            \[\leadsto \mathsf{fma}\left(y, \frac{\color{blue}{230661.510616}}{i} - \frac{c \cdot t}{{i}^{2}}, \frac{t}{i}\right) \]
          4. *-commutative50.2%

            \[\leadsto \mathsf{fma}\left(y, \frac{230661.510616}{i} - \frac{\color{blue}{t \cdot c}}{{i}^{2}}, \frac{t}{i}\right) \]
          5. associate-/l*51.0%

            \[\leadsto \mathsf{fma}\left(y, \frac{230661.510616}{i} - \color{blue}{\frac{t}{\frac{{i}^{2}}{c}}}, \frac{t}{i}\right) \]
        5. Simplified51.0%

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

          \[\leadsto \color{blue}{\frac{t + 230661.510616 \cdot y}{i}} \]
        7. Step-by-step derivation
          1. *-commutative62.9%

            \[\leadsto \frac{t + \color{blue}{y \cdot 230661.510616}}{i} \]
        8. Simplified62.9%

          \[\leadsto \color{blue}{\frac{t + y \cdot 230661.510616}{i}} \]
      3. Recombined 2 regimes into one program.
      4. Final simplification55.0%

        \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -1.02 \cdot 10^{+56}:\\ \;\;\;\;x\\ \mathbf{elif}\;y \leq 1.75 \cdot 10^{-16}:\\ \;\;\;\;\frac{t + y \cdot 230661.510616}{i}\\ \mathbf{else}:\\ \;\;\;\;x\\ \end{array} \]
      5. Add Preprocessing

      Alternative 15: 52.2% accurate, 2.5× speedup?

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

        1. Initial program 14.5%

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

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

        if -4.80000000000000046e-19 < y < 2.0500000000000001e-14

        1. Initial program 99.7%

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

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

        \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -4.8 \cdot 10^{-19}:\\ \;\;\;\;x\\ \mathbf{elif}\;y \leq 2.05 \cdot 10^{-14}:\\ \;\;\;\;\frac{t}{i}\\ \mathbf{else}:\\ \;\;\;\;x\\ \end{array} \]
      5. Add Preprocessing

      Alternative 16: 27.0% accurate, 33.0× 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;
      }
      
      real(8) function code(x, y, z, t, a, b, c, i)
          real(8), intent (in) :: x
          real(8), intent (in) :: y
          real(8), intent (in) :: z
          real(8), intent (in) :: t
          real(8), intent (in) :: a
          real(8), intent (in) :: b
          real(8), intent (in) :: c
          real(8), intent (in) :: i
          code = x
      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.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. Add Preprocessing
      3. Taylor expanded in y around inf 23.7%

        \[\leadsto \color{blue}{x} \]
      4. Final simplification23.7%

        \[\leadsto x \]
      5. Add Preprocessing

      Reproduce

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