Numeric.SpecFunctions:logGamma from math-functions-0.1.5.2, D

Percentage Accurate: 58.3% → 97.9%
Time: 18.8s
Alternatives: 14
Speedup: 4.0×

Specification

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

\\
x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771}
\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 14 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: 58.3% accurate, 1.0× speedup?

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

\\
x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771}
\end{array}

Alternative 1: 97.9% accurate, 0.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(0.31942702700572795 + \frac{3.7269864963038164}{z}\right) - \frac{3.241970391368047}{z \cdot z}\\ \mathbf{if}\;z \leq -6 \cdot 10^{+53} \lor \neg \left(z \leq 140000000000\right):\\ \;\;\;\;x + \left(\frac{y}{t_1} + 0.10203362558171805 \cdot \frac{y}{\frac{\left(z \cdot z\right) \cdot {t_1}^{2}}{t}}\right)\\ \mathbf{else}:\\ \;\;\;\;x + \frac{y}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(31.4690115749 + z \cdot \left(z + 15.234687407\right)\right)\right)} \cdot \mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right), t\right), a\right), b\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b)
 :precision binary64
 (let* ((t_1
         (-
          (+ 0.31942702700572795 (/ 3.7269864963038164 z))
          (/ 3.241970391368047 (* z z)))))
   (if (or (<= z -6e+53) (not (<= z 140000000000.0)))
     (+
      x
      (+
       (/ y t_1)
       (* 0.10203362558171805 (/ y (/ (* (* z z) (pow t_1 2.0)) t)))))
     (+
      x
      (*
       (/
        y
        (+
         0.607771387771
         (*
          z
          (+ 11.9400905721 (* z (+ 31.4690115749 (* z (+ z 15.234687407))))))))
       (fma z (fma z (fma z (fma z 3.13060547623 11.1667541262) t) a) b))))))
double code(double x, double y, double z, double t, double a, double b) {
	double t_1 = (0.31942702700572795 + (3.7269864963038164 / z)) - (3.241970391368047 / (z * z));
	double tmp;
	if ((z <= -6e+53) || !(z <= 140000000000.0)) {
		tmp = x + ((y / t_1) + (0.10203362558171805 * (y / (((z * z) * pow(t_1, 2.0)) / t))));
	} else {
		tmp = x + ((y / (0.607771387771 + (z * (11.9400905721 + (z * (31.4690115749 + (z * (z + 15.234687407)))))))) * fma(z, fma(z, fma(z, fma(z, 3.13060547623, 11.1667541262), t), a), b));
	}
	return tmp;
}
function code(x, y, z, t, a, b)
	t_1 = Float64(Float64(0.31942702700572795 + Float64(3.7269864963038164 / z)) - Float64(3.241970391368047 / Float64(z * z)))
	tmp = 0.0
	if ((z <= -6e+53) || !(z <= 140000000000.0))
		tmp = Float64(x + Float64(Float64(y / t_1) + Float64(0.10203362558171805 * Float64(y / Float64(Float64(Float64(z * z) * (t_1 ^ 2.0)) / t)))));
	else
		tmp = Float64(x + Float64(Float64(y / Float64(0.607771387771 + Float64(z * Float64(11.9400905721 + Float64(z * Float64(31.4690115749 + Float64(z * Float64(z + 15.234687407)))))))) * fma(z, fma(z, fma(z, fma(z, 3.13060547623, 11.1667541262), t), a), b)));
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(N[(0.31942702700572795 + N[(3.7269864963038164 / z), $MachinePrecision]), $MachinePrecision] - N[(3.241970391368047 / N[(z * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[Or[LessEqual[z, -6e+53], N[Not[LessEqual[z, 140000000000.0]], $MachinePrecision]], N[(x + N[(N[(y / t$95$1), $MachinePrecision] + N[(0.10203362558171805 * N[(y / N[(N[(N[(z * z), $MachinePrecision] * N[Power[t$95$1, 2.0], $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(y / N[(0.607771387771 + N[(z * N[(11.9400905721 + N[(z * N[(31.4690115749 + N[(z * N[(z + 15.234687407), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * N[(z * N[(z * N[(z * N[(z * 3.13060547623 + 11.1667541262), $MachinePrecision] + t), $MachinePrecision] + a), $MachinePrecision] + b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := \left(0.31942702700572795 + \frac{3.7269864963038164}{z}\right) - \frac{3.241970391368047}{z \cdot z}\\
\mathbf{if}\;z \leq -6 \cdot 10^{+53} \lor \neg \left(z \leq 140000000000\right):\\
\;\;\;\;x + \left(\frac{y}{t_1} + 0.10203362558171805 \cdot \frac{y}{\frac{\left(z \cdot z\right) \cdot {t_1}^{2}}{t}}\right)\\

\mathbf{else}:\\
\;\;\;\;x + \frac{y}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(31.4690115749 + z \cdot \left(z + 15.234687407\right)\right)\right)} \cdot \mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right), t\right), a\right), b\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if z < -5.99999999999999996e53 or 1.4e11 < z

    1. Initial program 7.2%

      \[x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    2. Step-by-step derivation
      1. associate-/l*12.5%

        \[\leadsto x + \color{blue}{\frac{y}{\frac{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}}} \]
      2. fma-def12.5%

        \[\leadsto x + \frac{y}{\frac{\color{blue}{\mathsf{fma}\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721, z, 0.607771387771\right)}}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      3. fma-def12.5%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749, z, 11.9400905721\right)}, z, 0.607771387771\right)}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      4. fma-def12.5%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right)}, z, 11.9400905721\right), z, 0.607771387771\right)}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      5. fma-def12.5%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\color{blue}{\mathsf{fma}\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a, z, b\right)}}} \]
      6. fma-def12.5%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t, z, a\right)}, z, b\right)}} \]
      7. fma-def12.5%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z \cdot 3.13060547623 + 11.1667541262, z, t\right)}, z, a\right), z, b\right)}} \]
      8. fma-def12.5%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right)}, z, t\right), z, a\right), z, b\right)}} \]
    3. Simplified12.5%

      \[\leadsto \color{blue}{x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right), z, t\right), z, a\right), z, b\right)}}} \]
    4. Taylor expanded in z around inf 88.0%

      \[\leadsto x + \frac{y}{\color{blue}{3.7269864963038164 \cdot \frac{1}{z} + \left(0.31942702700572795 + -1 \cdot \frac{3.241970391368047 + 0.10203362558171805 \cdot t}{{z}^{2}}\right)}} \]
    5. Step-by-step derivation
      1. associate-*r/88.0%

        \[\leadsto x + \frac{y}{\color{blue}{\frac{3.7269864963038164 \cdot 1}{z}} + \left(0.31942702700572795 + -1 \cdot \frac{3.241970391368047 + 0.10203362558171805 \cdot t}{{z}^{2}}\right)} \]
      2. metadata-eval88.0%

        \[\leadsto x + \frac{y}{\frac{\color{blue}{3.7269864963038164}}{z} + \left(0.31942702700572795 + -1 \cdot \frac{3.241970391368047 + 0.10203362558171805 \cdot t}{{z}^{2}}\right)} \]
      3. mul-1-neg88.0%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \color{blue}{\left(-\frac{3.241970391368047 + 0.10203362558171805 \cdot t}{{z}^{2}}\right)}\right)} \]
      4. *-commutative88.0%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\frac{3.241970391368047 + \color{blue}{t \cdot 0.10203362558171805}}{{z}^{2}}\right)\right)} \]
      5. unpow288.0%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\frac{3.241970391368047 + t \cdot 0.10203362558171805}{\color{blue}{z \cdot z}}\right)\right)} \]
    6. Simplified88.0%

      \[\leadsto x + \frac{y}{\color{blue}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\frac{3.241970391368047 + t \cdot 0.10203362558171805}{z \cdot z}\right)\right)}} \]
    7. Taylor expanded in t around 0 90.4%

      \[\leadsto x + \color{blue}{\left(\frac{y}{\left(3.7269864963038164 \cdot \frac{1}{z} + 0.31942702700572795\right) - 3.241970391368047 \cdot \frac{1}{{z}^{2}}} + 0.10203362558171805 \cdot \frac{y \cdot t}{{z}^{2} \cdot {\left(\left(3.7269864963038164 \cdot \frac{1}{z} + 0.31942702700572795\right) - 3.241970391368047 \cdot \frac{1}{{z}^{2}}\right)}^{2}}\right)} \]
    8. Step-by-step derivation
      1. associate-*r/90.4%

        \[\leadsto x + \left(\frac{y}{\left(\color{blue}{\frac{3.7269864963038164 \cdot 1}{z}} + 0.31942702700572795\right) - 3.241970391368047 \cdot \frac{1}{{z}^{2}}} + 0.10203362558171805 \cdot \frac{y \cdot t}{{z}^{2} \cdot {\left(\left(3.7269864963038164 \cdot \frac{1}{z} + 0.31942702700572795\right) - 3.241970391368047 \cdot \frac{1}{{z}^{2}}\right)}^{2}}\right) \]
      2. metadata-eval90.4%

        \[\leadsto x + \left(\frac{y}{\left(\frac{\color{blue}{3.7269864963038164}}{z} + 0.31942702700572795\right) - 3.241970391368047 \cdot \frac{1}{{z}^{2}}} + 0.10203362558171805 \cdot \frac{y \cdot t}{{z}^{2} \cdot {\left(\left(3.7269864963038164 \cdot \frac{1}{z} + 0.31942702700572795\right) - 3.241970391368047 \cdot \frac{1}{{z}^{2}}\right)}^{2}}\right) \]
      3. +-commutative90.4%

        \[\leadsto x + \left(\frac{y}{\color{blue}{\left(0.31942702700572795 + \frac{3.7269864963038164}{z}\right)} - 3.241970391368047 \cdot \frac{1}{{z}^{2}}} + 0.10203362558171805 \cdot \frac{y \cdot t}{{z}^{2} \cdot {\left(\left(3.7269864963038164 \cdot \frac{1}{z} + 0.31942702700572795\right) - 3.241970391368047 \cdot \frac{1}{{z}^{2}}\right)}^{2}}\right) \]
      4. associate-*r/90.4%

        \[\leadsto x + \left(\frac{y}{\left(0.31942702700572795 + \frac{3.7269864963038164}{z}\right) - \color{blue}{\frac{3.241970391368047 \cdot 1}{{z}^{2}}}} + 0.10203362558171805 \cdot \frac{y \cdot t}{{z}^{2} \cdot {\left(\left(3.7269864963038164 \cdot \frac{1}{z} + 0.31942702700572795\right) - 3.241970391368047 \cdot \frac{1}{{z}^{2}}\right)}^{2}}\right) \]
      5. metadata-eval90.4%

        \[\leadsto x + \left(\frac{y}{\left(0.31942702700572795 + \frac{3.7269864963038164}{z}\right) - \frac{\color{blue}{3.241970391368047}}{{z}^{2}}} + 0.10203362558171805 \cdot \frac{y \cdot t}{{z}^{2} \cdot {\left(\left(3.7269864963038164 \cdot \frac{1}{z} + 0.31942702700572795\right) - 3.241970391368047 \cdot \frac{1}{{z}^{2}}\right)}^{2}}\right) \]
      6. unpow290.4%

        \[\leadsto x + \left(\frac{y}{\left(0.31942702700572795 + \frac{3.7269864963038164}{z}\right) - \frac{3.241970391368047}{\color{blue}{z \cdot z}}} + 0.10203362558171805 \cdot \frac{y \cdot t}{{z}^{2} \cdot {\left(\left(3.7269864963038164 \cdot \frac{1}{z} + 0.31942702700572795\right) - 3.241970391368047 \cdot \frac{1}{{z}^{2}}\right)}^{2}}\right) \]
      7. associate-/l*99.3%

        \[\leadsto x + \left(\frac{y}{\left(0.31942702700572795 + \frac{3.7269864963038164}{z}\right) - \frac{3.241970391368047}{z \cdot z}} + 0.10203362558171805 \cdot \color{blue}{\frac{y}{\frac{{z}^{2} \cdot {\left(\left(3.7269864963038164 \cdot \frac{1}{z} + 0.31942702700572795\right) - 3.241970391368047 \cdot \frac{1}{{z}^{2}}\right)}^{2}}{t}}}\right) \]
    9. Simplified99.3%

      \[\leadsto x + \color{blue}{\left(\frac{y}{\left(0.31942702700572795 + \frac{3.7269864963038164}{z}\right) - \frac{3.241970391368047}{z \cdot z}} + 0.10203362558171805 \cdot \frac{y}{\frac{\left(z \cdot z\right) \cdot {\left(\left(0.31942702700572795 + \frac{3.7269864963038164}{z}\right) - \frac{3.241970391368047}{z \cdot z}\right)}^{2}}{t}}\right)} \]

    if -5.99999999999999996e53 < z < 1.4e11

    1. Initial program 98.3%

      \[x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    2. Step-by-step derivation
      1. associate-*l/99.0%

        \[\leadsto x + \color{blue}{\frac{y}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)} \]
      2. *-commutative99.0%

        \[\leadsto x + \frac{y}{\color{blue}{z \cdot \left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right)} + 0.607771387771} \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right) \]
      3. fma-def99.0%

        \[\leadsto x + \frac{y}{\color{blue}{\mathsf{fma}\left(z, \left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721, 0.607771387771\right)}} \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right) \]
      4. *-commutative99.0%

        \[\leadsto x + \frac{y}{\mathsf{fma}\left(z, \color{blue}{z \cdot \left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right)} + 11.9400905721, 0.607771387771\right)} \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right) \]
      5. fma-def99.0%

        \[\leadsto x + \frac{y}{\mathsf{fma}\left(z, \color{blue}{\mathsf{fma}\left(z, \left(z + 15.234687407\right) \cdot z + 31.4690115749, 11.9400905721\right)}, 0.607771387771\right)} \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right) \]
      6. *-commutative99.0%

        \[\leadsto x + \frac{y}{\mathsf{fma}\left(z, \mathsf{fma}\left(z, \color{blue}{z \cdot \left(z + 15.234687407\right)} + 31.4690115749, 11.9400905721\right), 0.607771387771\right)} \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right) \]
      7. fma-def99.0%

        \[\leadsto x + \frac{y}{\mathsf{fma}\left(z, \mathsf{fma}\left(z, \color{blue}{\mathsf{fma}\left(z, z + 15.234687407, 31.4690115749\right)}, 11.9400905721\right), 0.607771387771\right)} \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right) \]
      8. *-commutative99.0%

        \[\leadsto x + \frac{y}{\mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, z + 15.234687407, 31.4690115749\right), 11.9400905721\right), 0.607771387771\right)} \cdot \left(\color{blue}{z \cdot \left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right)} + b\right) \]
      9. fma-def99.0%

        \[\leadsto x + \frac{y}{\mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, z + 15.234687407, 31.4690115749\right), 11.9400905721\right), 0.607771387771\right)} \cdot \color{blue}{\mathsf{fma}\left(z, \left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a, b\right)} \]
    3. Simplified99.0%

      \[\leadsto \color{blue}{x + \frac{y}{\mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, z + 15.234687407, 31.4690115749\right), 11.9400905721\right), 0.607771387771\right)} \cdot \mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right), t\right), a\right), b\right)} \]
    4. Taylor expanded in y around 0 99.0%

      \[\leadsto x + \color{blue}{\frac{y}{0.607771387771 + \left(11.9400905721 + z \cdot \left(31.4690115749 + \left(15.234687407 + z\right) \cdot z\right)\right) \cdot z}} \cdot \mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right), t\right), a\right), b\right) \]
  3. Recombined 2 regimes into one program.
  4. Final simplification99.1%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -6 \cdot 10^{+53} \lor \neg \left(z \leq 140000000000\right):\\ \;\;\;\;x + \left(\frac{y}{\left(0.31942702700572795 + \frac{3.7269864963038164}{z}\right) - \frac{3.241970391368047}{z \cdot z}} + 0.10203362558171805 \cdot \frac{y}{\frac{\left(z \cdot z\right) \cdot {\left(\left(0.31942702700572795 + \frac{3.7269864963038164}{z}\right) - \frac{3.241970391368047}{z \cdot z}\right)}^{2}}{t}}\right)\\ \mathbf{else}:\\ \;\;\;\;x + \frac{y}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(31.4690115749 + z \cdot \left(z + 15.234687407\right)\right)\right)} \cdot \mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right), t\right), a\right), b\right)\\ \end{array} \]

Alternative 2: 97.4% accurate, 0.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(0.31942702700572795 + \frac{3.7269864963038164}{z}\right) - \frac{3.241970391368047}{z \cdot z}\\ \mathbf{if}\;z \leq -6 \cdot 10^{+53} \lor \neg \left(z \leq 140000000000\right):\\ \;\;\;\;x + \left(\frac{y}{t_1} + 0.10203362558171805 \cdot \frac{y}{\frac{\left(z \cdot z\right) \cdot {t_1}^{2}}{t}}\right)\\ \mathbf{else}:\\ \;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot \left(11.1667541262 + z \cdot 3.13060547623\right)\right)\right)\right)}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(31.4690115749 + z \cdot \left(z + 15.234687407\right)\right)\right)}\\ \end{array} \end{array} \]
(FPCore (x y z t a b)
 :precision binary64
 (let* ((t_1
         (-
          (+ 0.31942702700572795 (/ 3.7269864963038164 z))
          (/ 3.241970391368047 (* z z)))))
   (if (or (<= z -6e+53) (not (<= z 140000000000.0)))
     (+
      x
      (+
       (/ y t_1)
       (* 0.10203362558171805 (/ y (/ (* (* z z) (pow t_1 2.0)) t)))))
     (+
      x
      (/
       (*
        y
        (+
         b
         (* z (+ a (* z (+ t (* z (+ 11.1667541262 (* z 3.13060547623)))))))))
       (+
        0.607771387771
        (*
         z
         (+
          11.9400905721
          (* z (+ 31.4690115749 (* z (+ z 15.234687407))))))))))))
double code(double x, double y, double z, double t, double a, double b) {
	double t_1 = (0.31942702700572795 + (3.7269864963038164 / z)) - (3.241970391368047 / (z * z));
	double tmp;
	if ((z <= -6e+53) || !(z <= 140000000000.0)) {
		tmp = x + ((y / t_1) + (0.10203362558171805 * (y / (((z * z) * pow(t_1, 2.0)) / t))));
	} else {
		tmp = x + ((y * (b + (z * (a + (z * (t + (z * (11.1667541262 + (z * 3.13060547623))))))))) / (0.607771387771 + (z * (11.9400905721 + (z * (31.4690115749 + (z * (z + 15.234687407))))))));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b)
    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) :: t_1
    real(8) :: tmp
    t_1 = (0.31942702700572795d0 + (3.7269864963038164d0 / z)) - (3.241970391368047d0 / (z * z))
    if ((z <= (-6d+53)) .or. (.not. (z <= 140000000000.0d0))) then
        tmp = x + ((y / t_1) + (0.10203362558171805d0 * (y / (((z * z) * (t_1 ** 2.0d0)) / t))))
    else
        tmp = x + ((y * (b + (z * (a + (z * (t + (z * (11.1667541262d0 + (z * 3.13060547623d0))))))))) / (0.607771387771d0 + (z * (11.9400905721d0 + (z * (31.4690115749d0 + (z * (z + 15.234687407d0))))))))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
	double t_1 = (0.31942702700572795 + (3.7269864963038164 / z)) - (3.241970391368047 / (z * z));
	double tmp;
	if ((z <= -6e+53) || !(z <= 140000000000.0)) {
		tmp = x + ((y / t_1) + (0.10203362558171805 * (y / (((z * z) * Math.pow(t_1, 2.0)) / t))));
	} else {
		tmp = x + ((y * (b + (z * (a + (z * (t + (z * (11.1667541262 + (z * 3.13060547623))))))))) / (0.607771387771 + (z * (11.9400905721 + (z * (31.4690115749 + (z * (z + 15.234687407))))))));
	}
	return tmp;
}
def code(x, y, z, t, a, b):
	t_1 = (0.31942702700572795 + (3.7269864963038164 / z)) - (3.241970391368047 / (z * z))
	tmp = 0
	if (z <= -6e+53) or not (z <= 140000000000.0):
		tmp = x + ((y / t_1) + (0.10203362558171805 * (y / (((z * z) * math.pow(t_1, 2.0)) / t))))
	else:
		tmp = x + ((y * (b + (z * (a + (z * (t + (z * (11.1667541262 + (z * 3.13060547623))))))))) / (0.607771387771 + (z * (11.9400905721 + (z * (31.4690115749 + (z * (z + 15.234687407))))))))
	return tmp
function code(x, y, z, t, a, b)
	t_1 = Float64(Float64(0.31942702700572795 + Float64(3.7269864963038164 / z)) - Float64(3.241970391368047 / Float64(z * z)))
	tmp = 0.0
	if ((z <= -6e+53) || !(z <= 140000000000.0))
		tmp = Float64(x + Float64(Float64(y / t_1) + Float64(0.10203362558171805 * Float64(y / Float64(Float64(Float64(z * z) * (t_1 ^ 2.0)) / t)))));
	else
		tmp = Float64(x + Float64(Float64(y * Float64(b + Float64(z * Float64(a + Float64(z * Float64(t + Float64(z * Float64(11.1667541262 + Float64(z * 3.13060547623))))))))) / Float64(0.607771387771 + Float64(z * Float64(11.9400905721 + Float64(z * Float64(31.4690115749 + Float64(z * Float64(z + 15.234687407)))))))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b)
	t_1 = (0.31942702700572795 + (3.7269864963038164 / z)) - (3.241970391368047 / (z * z));
	tmp = 0.0;
	if ((z <= -6e+53) || ~((z <= 140000000000.0)))
		tmp = x + ((y / t_1) + (0.10203362558171805 * (y / (((z * z) * (t_1 ^ 2.0)) / t))));
	else
		tmp = x + ((y * (b + (z * (a + (z * (t + (z * (11.1667541262 + (z * 3.13060547623))))))))) / (0.607771387771 + (z * (11.9400905721 + (z * (31.4690115749 + (z * (z + 15.234687407))))))));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(N[(0.31942702700572795 + N[(3.7269864963038164 / z), $MachinePrecision]), $MachinePrecision] - N[(3.241970391368047 / N[(z * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[Or[LessEqual[z, -6e+53], N[Not[LessEqual[z, 140000000000.0]], $MachinePrecision]], N[(x + N[(N[(y / t$95$1), $MachinePrecision] + N[(0.10203362558171805 * N[(y / N[(N[(N[(z * z), $MachinePrecision] * N[Power[t$95$1, 2.0], $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(y * N[(b + N[(z * N[(a + N[(z * N[(t + N[(z * N[(11.1667541262 + N[(z * 3.13060547623), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(0.607771387771 + N[(z * N[(11.9400905721 + N[(z * N[(31.4690115749 + N[(z * N[(z + 15.234687407), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := \left(0.31942702700572795 + \frac{3.7269864963038164}{z}\right) - \frac{3.241970391368047}{z \cdot z}\\
\mathbf{if}\;z \leq -6 \cdot 10^{+53} \lor \neg \left(z \leq 140000000000\right):\\
\;\;\;\;x + \left(\frac{y}{t_1} + 0.10203362558171805 \cdot \frac{y}{\frac{\left(z \cdot z\right) \cdot {t_1}^{2}}{t}}\right)\\

\mathbf{else}:\\
\;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot \left(11.1667541262 + z \cdot 3.13060547623\right)\right)\right)\right)}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(31.4690115749 + z \cdot \left(z + 15.234687407\right)\right)\right)}\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if z < -5.99999999999999996e53 or 1.4e11 < z

    1. Initial program 7.2%

      \[x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    2. Step-by-step derivation
      1. associate-/l*12.5%

        \[\leadsto x + \color{blue}{\frac{y}{\frac{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}}} \]
      2. fma-def12.5%

        \[\leadsto x + \frac{y}{\frac{\color{blue}{\mathsf{fma}\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721, z, 0.607771387771\right)}}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      3. fma-def12.5%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749, z, 11.9400905721\right)}, z, 0.607771387771\right)}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      4. fma-def12.5%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right)}, z, 11.9400905721\right), z, 0.607771387771\right)}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      5. fma-def12.5%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\color{blue}{\mathsf{fma}\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a, z, b\right)}}} \]
      6. fma-def12.5%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t, z, a\right)}, z, b\right)}} \]
      7. fma-def12.5%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z \cdot 3.13060547623 + 11.1667541262, z, t\right)}, z, a\right), z, b\right)}} \]
      8. fma-def12.5%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right)}, z, t\right), z, a\right), z, b\right)}} \]
    3. Simplified12.5%

      \[\leadsto \color{blue}{x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right), z, t\right), z, a\right), z, b\right)}}} \]
    4. Taylor expanded in z around inf 88.0%

      \[\leadsto x + \frac{y}{\color{blue}{3.7269864963038164 \cdot \frac{1}{z} + \left(0.31942702700572795 + -1 \cdot \frac{3.241970391368047 + 0.10203362558171805 \cdot t}{{z}^{2}}\right)}} \]
    5. Step-by-step derivation
      1. associate-*r/88.0%

        \[\leadsto x + \frac{y}{\color{blue}{\frac{3.7269864963038164 \cdot 1}{z}} + \left(0.31942702700572795 + -1 \cdot \frac{3.241970391368047 + 0.10203362558171805 \cdot t}{{z}^{2}}\right)} \]
      2. metadata-eval88.0%

        \[\leadsto x + \frac{y}{\frac{\color{blue}{3.7269864963038164}}{z} + \left(0.31942702700572795 + -1 \cdot \frac{3.241970391368047 + 0.10203362558171805 \cdot t}{{z}^{2}}\right)} \]
      3. mul-1-neg88.0%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \color{blue}{\left(-\frac{3.241970391368047 + 0.10203362558171805 \cdot t}{{z}^{2}}\right)}\right)} \]
      4. *-commutative88.0%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\frac{3.241970391368047 + \color{blue}{t \cdot 0.10203362558171805}}{{z}^{2}}\right)\right)} \]
      5. unpow288.0%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\frac{3.241970391368047 + t \cdot 0.10203362558171805}{\color{blue}{z \cdot z}}\right)\right)} \]
    6. Simplified88.0%

      \[\leadsto x + \frac{y}{\color{blue}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\frac{3.241970391368047 + t \cdot 0.10203362558171805}{z \cdot z}\right)\right)}} \]
    7. Taylor expanded in t around 0 90.4%

      \[\leadsto x + \color{blue}{\left(\frac{y}{\left(3.7269864963038164 \cdot \frac{1}{z} + 0.31942702700572795\right) - 3.241970391368047 \cdot \frac{1}{{z}^{2}}} + 0.10203362558171805 \cdot \frac{y \cdot t}{{z}^{2} \cdot {\left(\left(3.7269864963038164 \cdot \frac{1}{z} + 0.31942702700572795\right) - 3.241970391368047 \cdot \frac{1}{{z}^{2}}\right)}^{2}}\right)} \]
    8. Step-by-step derivation
      1. associate-*r/90.4%

        \[\leadsto x + \left(\frac{y}{\left(\color{blue}{\frac{3.7269864963038164 \cdot 1}{z}} + 0.31942702700572795\right) - 3.241970391368047 \cdot \frac{1}{{z}^{2}}} + 0.10203362558171805 \cdot \frac{y \cdot t}{{z}^{2} \cdot {\left(\left(3.7269864963038164 \cdot \frac{1}{z} + 0.31942702700572795\right) - 3.241970391368047 \cdot \frac{1}{{z}^{2}}\right)}^{2}}\right) \]
      2. metadata-eval90.4%

        \[\leadsto x + \left(\frac{y}{\left(\frac{\color{blue}{3.7269864963038164}}{z} + 0.31942702700572795\right) - 3.241970391368047 \cdot \frac{1}{{z}^{2}}} + 0.10203362558171805 \cdot \frac{y \cdot t}{{z}^{2} \cdot {\left(\left(3.7269864963038164 \cdot \frac{1}{z} + 0.31942702700572795\right) - 3.241970391368047 \cdot \frac{1}{{z}^{2}}\right)}^{2}}\right) \]
      3. +-commutative90.4%

        \[\leadsto x + \left(\frac{y}{\color{blue}{\left(0.31942702700572795 + \frac{3.7269864963038164}{z}\right)} - 3.241970391368047 \cdot \frac{1}{{z}^{2}}} + 0.10203362558171805 \cdot \frac{y \cdot t}{{z}^{2} \cdot {\left(\left(3.7269864963038164 \cdot \frac{1}{z} + 0.31942702700572795\right) - 3.241970391368047 \cdot \frac{1}{{z}^{2}}\right)}^{2}}\right) \]
      4. associate-*r/90.4%

        \[\leadsto x + \left(\frac{y}{\left(0.31942702700572795 + \frac{3.7269864963038164}{z}\right) - \color{blue}{\frac{3.241970391368047 \cdot 1}{{z}^{2}}}} + 0.10203362558171805 \cdot \frac{y \cdot t}{{z}^{2} \cdot {\left(\left(3.7269864963038164 \cdot \frac{1}{z} + 0.31942702700572795\right) - 3.241970391368047 \cdot \frac{1}{{z}^{2}}\right)}^{2}}\right) \]
      5. metadata-eval90.4%

        \[\leadsto x + \left(\frac{y}{\left(0.31942702700572795 + \frac{3.7269864963038164}{z}\right) - \frac{\color{blue}{3.241970391368047}}{{z}^{2}}} + 0.10203362558171805 \cdot \frac{y \cdot t}{{z}^{2} \cdot {\left(\left(3.7269864963038164 \cdot \frac{1}{z} + 0.31942702700572795\right) - 3.241970391368047 \cdot \frac{1}{{z}^{2}}\right)}^{2}}\right) \]
      6. unpow290.4%

        \[\leadsto x + \left(\frac{y}{\left(0.31942702700572795 + \frac{3.7269864963038164}{z}\right) - \frac{3.241970391368047}{\color{blue}{z \cdot z}}} + 0.10203362558171805 \cdot \frac{y \cdot t}{{z}^{2} \cdot {\left(\left(3.7269864963038164 \cdot \frac{1}{z} + 0.31942702700572795\right) - 3.241970391368047 \cdot \frac{1}{{z}^{2}}\right)}^{2}}\right) \]
      7. associate-/l*99.3%

        \[\leadsto x + \left(\frac{y}{\left(0.31942702700572795 + \frac{3.7269864963038164}{z}\right) - \frac{3.241970391368047}{z \cdot z}} + 0.10203362558171805 \cdot \color{blue}{\frac{y}{\frac{{z}^{2} \cdot {\left(\left(3.7269864963038164 \cdot \frac{1}{z} + 0.31942702700572795\right) - 3.241970391368047 \cdot \frac{1}{{z}^{2}}\right)}^{2}}{t}}}\right) \]
    9. Simplified99.3%

      \[\leadsto x + \color{blue}{\left(\frac{y}{\left(0.31942702700572795 + \frac{3.7269864963038164}{z}\right) - \frac{3.241970391368047}{z \cdot z}} + 0.10203362558171805 \cdot \frac{y}{\frac{\left(z \cdot z\right) \cdot {\left(\left(0.31942702700572795 + \frac{3.7269864963038164}{z}\right) - \frac{3.241970391368047}{z \cdot z}\right)}^{2}}{t}}\right)} \]

    if -5.99999999999999996e53 < z < 1.4e11

    1. Initial program 98.3%

      \[x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification98.8%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -6 \cdot 10^{+53} \lor \neg \left(z \leq 140000000000\right):\\ \;\;\;\;x + \left(\frac{y}{\left(0.31942702700572795 + \frac{3.7269864963038164}{z}\right) - \frac{3.241970391368047}{z \cdot z}} + 0.10203362558171805 \cdot \frac{y}{\frac{\left(z \cdot z\right) \cdot {\left(\left(0.31942702700572795 + \frac{3.7269864963038164}{z}\right) - \frac{3.241970391368047}{z \cdot z}\right)}^{2}}{t}}\right)\\ \mathbf{else}:\\ \;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot \left(11.1667541262 + z \cdot 3.13060547623\right)\right)\right)\right)}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(31.4690115749 + z \cdot \left(z + 15.234687407\right)\right)\right)}\\ \end{array} \]

Alternative 3: 97.1% accurate, 0.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := 0.31942702700572795 + \frac{3.7269864963038164}{z}\\ \mathbf{if}\;z \leq -6 \cdot 10^{+53} \lor \neg \left(z \leq 140000000000\right):\\ \;\;\;\;x + \left(\frac{y}{t_1} + 0.10203362558171805 \cdot \left(\frac{y}{z \cdot z} \cdot \frac{t}{{t_1}^{2}}\right)\right)\\ \mathbf{else}:\\ \;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot \left(11.1667541262 + z \cdot 3.13060547623\right)\right)\right)\right)}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(31.4690115749 + z \cdot \left(z + 15.234687407\right)\right)\right)}\\ \end{array} \end{array} \]
(FPCore (x y z t a b)
 :precision binary64
 (let* ((t_1 (+ 0.31942702700572795 (/ 3.7269864963038164 z))))
   (if (or (<= z -6e+53) (not (<= z 140000000000.0)))
     (+
      x
      (+
       (/ y t_1)
       (* 0.10203362558171805 (* (/ y (* z z)) (/ t (pow t_1 2.0))))))
     (+
      x
      (/
       (*
        y
        (+
         b
         (* z (+ a (* z (+ t (* z (+ 11.1667541262 (* z 3.13060547623)))))))))
       (+
        0.607771387771
        (*
         z
         (+
          11.9400905721
          (* z (+ 31.4690115749 (* z (+ z 15.234687407))))))))))))
double code(double x, double y, double z, double t, double a, double b) {
	double t_1 = 0.31942702700572795 + (3.7269864963038164 / z);
	double tmp;
	if ((z <= -6e+53) || !(z <= 140000000000.0)) {
		tmp = x + ((y / t_1) + (0.10203362558171805 * ((y / (z * z)) * (t / pow(t_1, 2.0)))));
	} else {
		tmp = x + ((y * (b + (z * (a + (z * (t + (z * (11.1667541262 + (z * 3.13060547623))))))))) / (0.607771387771 + (z * (11.9400905721 + (z * (31.4690115749 + (z * (z + 15.234687407))))))));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b)
    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) :: t_1
    real(8) :: tmp
    t_1 = 0.31942702700572795d0 + (3.7269864963038164d0 / z)
    if ((z <= (-6d+53)) .or. (.not. (z <= 140000000000.0d0))) then
        tmp = x + ((y / t_1) + (0.10203362558171805d0 * ((y / (z * z)) * (t / (t_1 ** 2.0d0)))))
    else
        tmp = x + ((y * (b + (z * (a + (z * (t + (z * (11.1667541262d0 + (z * 3.13060547623d0))))))))) / (0.607771387771d0 + (z * (11.9400905721d0 + (z * (31.4690115749d0 + (z * (z + 15.234687407d0))))))))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
	double t_1 = 0.31942702700572795 + (3.7269864963038164 / z);
	double tmp;
	if ((z <= -6e+53) || !(z <= 140000000000.0)) {
		tmp = x + ((y / t_1) + (0.10203362558171805 * ((y / (z * z)) * (t / Math.pow(t_1, 2.0)))));
	} else {
		tmp = x + ((y * (b + (z * (a + (z * (t + (z * (11.1667541262 + (z * 3.13060547623))))))))) / (0.607771387771 + (z * (11.9400905721 + (z * (31.4690115749 + (z * (z + 15.234687407))))))));
	}
	return tmp;
}
def code(x, y, z, t, a, b):
	t_1 = 0.31942702700572795 + (3.7269864963038164 / z)
	tmp = 0
	if (z <= -6e+53) or not (z <= 140000000000.0):
		tmp = x + ((y / t_1) + (0.10203362558171805 * ((y / (z * z)) * (t / math.pow(t_1, 2.0)))))
	else:
		tmp = x + ((y * (b + (z * (a + (z * (t + (z * (11.1667541262 + (z * 3.13060547623))))))))) / (0.607771387771 + (z * (11.9400905721 + (z * (31.4690115749 + (z * (z + 15.234687407))))))))
	return tmp
function code(x, y, z, t, a, b)
	t_1 = Float64(0.31942702700572795 + Float64(3.7269864963038164 / z))
	tmp = 0.0
	if ((z <= -6e+53) || !(z <= 140000000000.0))
		tmp = Float64(x + Float64(Float64(y / t_1) + Float64(0.10203362558171805 * Float64(Float64(y / Float64(z * z)) * Float64(t / (t_1 ^ 2.0))))));
	else
		tmp = Float64(x + Float64(Float64(y * Float64(b + Float64(z * Float64(a + Float64(z * Float64(t + Float64(z * Float64(11.1667541262 + Float64(z * 3.13060547623))))))))) / Float64(0.607771387771 + Float64(z * Float64(11.9400905721 + Float64(z * Float64(31.4690115749 + Float64(z * Float64(z + 15.234687407)))))))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b)
	t_1 = 0.31942702700572795 + (3.7269864963038164 / z);
	tmp = 0.0;
	if ((z <= -6e+53) || ~((z <= 140000000000.0)))
		tmp = x + ((y / t_1) + (0.10203362558171805 * ((y / (z * z)) * (t / (t_1 ^ 2.0)))));
	else
		tmp = x + ((y * (b + (z * (a + (z * (t + (z * (11.1667541262 + (z * 3.13060547623))))))))) / (0.607771387771 + (z * (11.9400905721 + (z * (31.4690115749 + (z * (z + 15.234687407))))))));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(0.31942702700572795 + N[(3.7269864963038164 / z), $MachinePrecision]), $MachinePrecision]}, If[Or[LessEqual[z, -6e+53], N[Not[LessEqual[z, 140000000000.0]], $MachinePrecision]], N[(x + N[(N[(y / t$95$1), $MachinePrecision] + N[(0.10203362558171805 * N[(N[(y / N[(z * z), $MachinePrecision]), $MachinePrecision] * N[(t / N[Power[t$95$1, 2.0], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(y * N[(b + N[(z * N[(a + N[(z * N[(t + N[(z * N[(11.1667541262 + N[(z * 3.13060547623), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(0.607771387771 + N[(z * N[(11.9400905721 + N[(z * N[(31.4690115749 + N[(z * N[(z + 15.234687407), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := 0.31942702700572795 + \frac{3.7269864963038164}{z}\\
\mathbf{if}\;z \leq -6 \cdot 10^{+53} \lor \neg \left(z \leq 140000000000\right):\\
\;\;\;\;x + \left(\frac{y}{t_1} + 0.10203362558171805 \cdot \left(\frac{y}{z \cdot z} \cdot \frac{t}{{t_1}^{2}}\right)\right)\\

\mathbf{else}:\\
\;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot \left(11.1667541262 + z \cdot 3.13060547623\right)\right)\right)\right)}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(31.4690115749 + z \cdot \left(z + 15.234687407\right)\right)\right)}\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if z < -5.99999999999999996e53 or 1.4e11 < z

    1. Initial program 7.2%

      \[x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    2. Step-by-step derivation
      1. associate-/l*12.5%

        \[\leadsto x + \color{blue}{\frac{y}{\frac{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}}} \]
      2. fma-def12.5%

        \[\leadsto x + \frac{y}{\frac{\color{blue}{\mathsf{fma}\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721, z, 0.607771387771\right)}}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      3. fma-def12.5%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749, z, 11.9400905721\right)}, z, 0.607771387771\right)}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      4. fma-def12.5%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right)}, z, 11.9400905721\right), z, 0.607771387771\right)}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      5. fma-def12.5%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\color{blue}{\mathsf{fma}\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a, z, b\right)}}} \]
      6. fma-def12.5%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t, z, a\right)}, z, b\right)}} \]
      7. fma-def12.5%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z \cdot 3.13060547623 + 11.1667541262, z, t\right)}, z, a\right), z, b\right)}} \]
      8. fma-def12.5%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right)}, z, t\right), z, a\right), z, b\right)}} \]
    3. Simplified12.5%

      \[\leadsto \color{blue}{x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right), z, t\right), z, a\right), z, b\right)}}} \]
    4. Taylor expanded in z around inf 88.0%

      \[\leadsto x + \frac{y}{\color{blue}{3.7269864963038164 \cdot \frac{1}{z} + \left(0.31942702700572795 + -1 \cdot \frac{3.241970391368047 + 0.10203362558171805 \cdot t}{{z}^{2}}\right)}} \]
    5. Step-by-step derivation
      1. associate-*r/88.0%

        \[\leadsto x + \frac{y}{\color{blue}{\frac{3.7269864963038164 \cdot 1}{z}} + \left(0.31942702700572795 + -1 \cdot \frac{3.241970391368047 + 0.10203362558171805 \cdot t}{{z}^{2}}\right)} \]
      2. metadata-eval88.0%

        \[\leadsto x + \frac{y}{\frac{\color{blue}{3.7269864963038164}}{z} + \left(0.31942702700572795 + -1 \cdot \frac{3.241970391368047 + 0.10203362558171805 \cdot t}{{z}^{2}}\right)} \]
      3. mul-1-neg88.0%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \color{blue}{\left(-\frac{3.241970391368047 + 0.10203362558171805 \cdot t}{{z}^{2}}\right)}\right)} \]
      4. *-commutative88.0%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\frac{3.241970391368047 + \color{blue}{t \cdot 0.10203362558171805}}{{z}^{2}}\right)\right)} \]
      5. unpow288.0%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\frac{3.241970391368047 + t \cdot 0.10203362558171805}{\color{blue}{z \cdot z}}\right)\right)} \]
    6. Simplified88.0%

      \[\leadsto x + \frac{y}{\color{blue}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\frac{3.241970391368047 + t \cdot 0.10203362558171805}{z \cdot z}\right)\right)}} \]
    7. Taylor expanded in t around inf 88.0%

      \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\color{blue}{0.10203362558171805 \cdot \frac{t}{{z}^{2}}}\right)\right)} \]
    8. Step-by-step derivation
      1. associate-*r/88.0%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\color{blue}{\frac{0.10203362558171805 \cdot t}{{z}^{2}}}\right)\right)} \]
      2. *-commutative88.0%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\frac{\color{blue}{t \cdot 0.10203362558171805}}{{z}^{2}}\right)\right)} \]
      3. unpow288.0%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\frac{t \cdot 0.10203362558171805}{\color{blue}{z \cdot z}}\right)\right)} \]
      4. times-frac88.0%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\color{blue}{\frac{t}{z} \cdot \frac{0.10203362558171805}{z}}\right)\right)} \]
    9. Simplified88.0%

      \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\color{blue}{\frac{t}{z} \cdot \frac{0.10203362558171805}{z}}\right)\right)} \]
    10. Taylor expanded in t around 0 90.4%

      \[\leadsto x + \color{blue}{\left(\frac{y}{0.31942702700572795 + 3.7269864963038164 \cdot \frac{1}{z}} + 0.10203362558171805 \cdot \frac{y \cdot t}{{z}^{2} \cdot {\left(0.31942702700572795 + 3.7269864963038164 \cdot \frac{1}{z}\right)}^{2}}\right)} \]
    11. Step-by-step derivation
      1. +-commutative90.4%

        \[\leadsto x + \left(\frac{y}{\color{blue}{3.7269864963038164 \cdot \frac{1}{z} + 0.31942702700572795}} + 0.10203362558171805 \cdot \frac{y \cdot t}{{z}^{2} \cdot {\left(0.31942702700572795 + 3.7269864963038164 \cdot \frac{1}{z}\right)}^{2}}\right) \]
      2. associate-*r/90.4%

        \[\leadsto x + \left(\frac{y}{\color{blue}{\frac{3.7269864963038164 \cdot 1}{z}} + 0.31942702700572795} + 0.10203362558171805 \cdot \frac{y \cdot t}{{z}^{2} \cdot {\left(0.31942702700572795 + 3.7269864963038164 \cdot \frac{1}{z}\right)}^{2}}\right) \]
      3. metadata-eval90.4%

        \[\leadsto x + \left(\frac{y}{\frac{\color{blue}{3.7269864963038164}}{z} + 0.31942702700572795} + 0.10203362558171805 \cdot \frac{y \cdot t}{{z}^{2} \cdot {\left(0.31942702700572795 + 3.7269864963038164 \cdot \frac{1}{z}\right)}^{2}}\right) \]
      4. times-frac99.2%

        \[\leadsto x + \left(\frac{y}{\frac{3.7269864963038164}{z} + 0.31942702700572795} + 0.10203362558171805 \cdot \color{blue}{\left(\frac{y}{{z}^{2}} \cdot \frac{t}{{\left(0.31942702700572795 + 3.7269864963038164 \cdot \frac{1}{z}\right)}^{2}}\right)}\right) \]
      5. unpow299.2%

        \[\leadsto x + \left(\frac{y}{\frac{3.7269864963038164}{z} + 0.31942702700572795} + 0.10203362558171805 \cdot \left(\frac{y}{\color{blue}{z \cdot z}} \cdot \frac{t}{{\left(0.31942702700572795 + 3.7269864963038164 \cdot \frac{1}{z}\right)}^{2}}\right)\right) \]
      6. +-commutative99.2%

        \[\leadsto x + \left(\frac{y}{\frac{3.7269864963038164}{z} + 0.31942702700572795} + 0.10203362558171805 \cdot \left(\frac{y}{z \cdot z} \cdot \frac{t}{{\color{blue}{\left(3.7269864963038164 \cdot \frac{1}{z} + 0.31942702700572795\right)}}^{2}}\right)\right) \]
      7. associate-*r/99.2%

        \[\leadsto x + \left(\frac{y}{\frac{3.7269864963038164}{z} + 0.31942702700572795} + 0.10203362558171805 \cdot \left(\frac{y}{z \cdot z} \cdot \frac{t}{{\left(\color{blue}{\frac{3.7269864963038164 \cdot 1}{z}} + 0.31942702700572795\right)}^{2}}\right)\right) \]
      8. metadata-eval99.2%

        \[\leadsto x + \left(\frac{y}{\frac{3.7269864963038164}{z} + 0.31942702700572795} + 0.10203362558171805 \cdot \left(\frac{y}{z \cdot z} \cdot \frac{t}{{\left(\frac{\color{blue}{3.7269864963038164}}{z} + 0.31942702700572795\right)}^{2}}\right)\right) \]
    12. Simplified99.2%

      \[\leadsto x + \color{blue}{\left(\frac{y}{\frac{3.7269864963038164}{z} + 0.31942702700572795} + 0.10203362558171805 \cdot \left(\frac{y}{z \cdot z} \cdot \frac{t}{{\left(\frac{3.7269864963038164}{z} + 0.31942702700572795\right)}^{2}}\right)\right)} \]

    if -5.99999999999999996e53 < z < 1.4e11

    1. Initial program 98.3%

      \[x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification98.8%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -6 \cdot 10^{+53} \lor \neg \left(z \leq 140000000000\right):\\ \;\;\;\;x + \left(\frac{y}{0.31942702700572795 + \frac{3.7269864963038164}{z}} + 0.10203362558171805 \cdot \left(\frac{y}{z \cdot z} \cdot \frac{t}{{\left(0.31942702700572795 + \frac{3.7269864963038164}{z}\right)}^{2}}\right)\right)\\ \mathbf{else}:\\ \;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot \left(11.1667541262 + z \cdot 3.13060547623\right)\right)\right)\right)}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(31.4690115749 + z \cdot \left(z + 15.234687407\right)\right)\right)}\\ \end{array} \]

Alternative 4: 94.6% accurate, 0.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -3.15 \cdot 10^{+112}:\\ \;\;\;\;x + \frac{y}{0.31942702700572795}\\ \mathbf{elif}\;z \leq -6 \cdot 10^{+53} \lor \neg \left(z \leq 140000000000\right):\\ \;\;\;\;x + \mathsf{fma}\left(-36.52704169880642, \frac{y}{z}, y \cdot 3.13060547623 - \frac{y \cdot -426.1874533207134 - y \cdot t}{z \cdot z}\right)\\ \mathbf{else}:\\ \;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot \left(11.1667541262 + z \cdot 3.13060547623\right)\right)\right)\right)}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(31.4690115749 + z \cdot \left(z + 15.234687407\right)\right)\right)}\\ \end{array} \end{array} \]
(FPCore (x y z t a b)
 :precision binary64
 (if (<= z -3.15e+112)
   (+ x (/ y 0.31942702700572795))
   (if (or (<= z -6e+53) (not (<= z 140000000000.0)))
     (+
      x
      (fma
       -36.52704169880642
       (/ y z)
       (-
        (* y 3.13060547623)
        (/ (- (* y -426.1874533207134) (* y t)) (* z z)))))
     (+
      x
      (/
       (*
        y
        (+
         b
         (* z (+ a (* z (+ t (* z (+ 11.1667541262 (* z 3.13060547623)))))))))
       (+
        0.607771387771
        (*
         z
         (+
          11.9400905721
          (* z (+ 31.4690115749 (* z (+ z 15.234687407))))))))))))
double code(double x, double y, double z, double t, double a, double b) {
	double tmp;
	if (z <= -3.15e+112) {
		tmp = x + (y / 0.31942702700572795);
	} else if ((z <= -6e+53) || !(z <= 140000000000.0)) {
		tmp = x + fma(-36.52704169880642, (y / z), ((y * 3.13060547623) - (((y * -426.1874533207134) - (y * t)) / (z * z))));
	} else {
		tmp = x + ((y * (b + (z * (a + (z * (t + (z * (11.1667541262 + (z * 3.13060547623))))))))) / (0.607771387771 + (z * (11.9400905721 + (z * (31.4690115749 + (z * (z + 15.234687407))))))));
	}
	return tmp;
}
function code(x, y, z, t, a, b)
	tmp = 0.0
	if (z <= -3.15e+112)
		tmp = Float64(x + Float64(y / 0.31942702700572795));
	elseif ((z <= -6e+53) || !(z <= 140000000000.0))
		tmp = Float64(x + fma(-36.52704169880642, Float64(y / z), Float64(Float64(y * 3.13060547623) - Float64(Float64(Float64(y * -426.1874533207134) - Float64(y * t)) / Float64(z * z)))));
	else
		tmp = Float64(x + Float64(Float64(y * Float64(b + Float64(z * Float64(a + Float64(z * Float64(t + Float64(z * Float64(11.1667541262 + Float64(z * 3.13060547623))))))))) / Float64(0.607771387771 + Float64(z * Float64(11.9400905721 + Float64(z * Float64(31.4690115749 + Float64(z * Float64(z + 15.234687407)))))))));
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -3.15e+112], N[(x + N[(y / 0.31942702700572795), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[z, -6e+53], N[Not[LessEqual[z, 140000000000.0]], $MachinePrecision]], N[(x + N[(-36.52704169880642 * N[(y / z), $MachinePrecision] + N[(N[(y * 3.13060547623), $MachinePrecision] - N[(N[(N[(y * -426.1874533207134), $MachinePrecision] - N[(y * t), $MachinePrecision]), $MachinePrecision] / N[(z * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(y * N[(b + N[(z * N[(a + N[(z * N[(t + N[(z * N[(11.1667541262 + N[(z * 3.13060547623), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(0.607771387771 + N[(z * N[(11.9400905721 + N[(z * N[(31.4690115749 + N[(z * N[(z + 15.234687407), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;z \leq -3.15 \cdot 10^{+112}:\\
\;\;\;\;x + \frac{y}{0.31942702700572795}\\

\mathbf{elif}\;z \leq -6 \cdot 10^{+53} \lor \neg \left(z \leq 140000000000\right):\\
\;\;\;\;x + \mathsf{fma}\left(-36.52704169880642, \frac{y}{z}, y \cdot 3.13060547623 - \frac{y \cdot -426.1874533207134 - y \cdot t}{z \cdot z}\right)\\

\mathbf{else}:\\
\;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot \left(11.1667541262 + z \cdot 3.13060547623\right)\right)\right)\right)}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(31.4690115749 + z \cdot \left(z + 15.234687407\right)\right)\right)}\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if z < -3.1499999999999998e112

    1. Initial program 0.0%

      \[x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    2. Step-by-step derivation
      1. associate-/l*0.0%

        \[\leadsto x + \color{blue}{\frac{y}{\frac{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}}} \]
      2. fma-def0.0%

        \[\leadsto x + \frac{y}{\frac{\color{blue}{\mathsf{fma}\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721, z, 0.607771387771\right)}}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      3. fma-def0.0%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749, z, 11.9400905721\right)}, z, 0.607771387771\right)}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      4. fma-def0.0%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right)}, z, 11.9400905721\right), z, 0.607771387771\right)}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      5. fma-def0.0%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\color{blue}{\mathsf{fma}\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a, z, b\right)}}} \]
      6. fma-def0.0%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t, z, a\right)}, z, b\right)}} \]
      7. fma-def0.0%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z \cdot 3.13060547623 + 11.1667541262, z, t\right)}, z, a\right), z, b\right)}} \]
      8. fma-def0.0%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right)}, z, t\right), z, a\right), z, b\right)}} \]
    3. Simplified0.0%

      \[\leadsto \color{blue}{x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right), z, t\right), z, a\right), z, b\right)}}} \]
    4. Taylor expanded in z around inf 99.9%

      \[\leadsto x + \frac{y}{\color{blue}{0.31942702700572795}} \]

    if -3.1499999999999998e112 < z < -5.99999999999999996e53 or 1.4e11 < z

    1. Initial program 10.9%

      \[x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    2. Step-by-step derivation
      1. associate-/l*19.0%

        \[\leadsto x + \color{blue}{\frac{y}{\frac{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}}} \]
      2. fma-def19.0%

        \[\leadsto x + \frac{y}{\frac{\color{blue}{\mathsf{fma}\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721, z, 0.607771387771\right)}}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      3. fma-def19.0%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749, z, 11.9400905721\right)}, z, 0.607771387771\right)}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      4. fma-def19.0%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right)}, z, 11.9400905721\right), z, 0.607771387771\right)}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      5. fma-def19.0%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\color{blue}{\mathsf{fma}\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a, z, b\right)}}} \]
      6. fma-def19.0%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t, z, a\right)}, z, b\right)}} \]
      7. fma-def19.0%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z \cdot 3.13060547623 + 11.1667541262, z, t\right)}, z, a\right), z, b\right)}} \]
      8. fma-def19.0%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right)}, z, t\right), z, a\right), z, b\right)}} \]
    3. Simplified19.0%

      \[\leadsto \color{blue}{x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right), z, t\right), z, a\right), z, b\right)}}} \]
    4. Taylor expanded in z around inf 81.8%

      \[\leadsto x + \frac{y}{\color{blue}{3.7269864963038164 \cdot \frac{1}{z} + \left(0.31942702700572795 + -1 \cdot \frac{3.241970391368047 + 0.10203362558171805 \cdot t}{{z}^{2}}\right)}} \]
    5. Step-by-step derivation
      1. associate-*r/81.8%

        \[\leadsto x + \frac{y}{\color{blue}{\frac{3.7269864963038164 \cdot 1}{z}} + \left(0.31942702700572795 + -1 \cdot \frac{3.241970391368047 + 0.10203362558171805 \cdot t}{{z}^{2}}\right)} \]
      2. metadata-eval81.8%

        \[\leadsto x + \frac{y}{\frac{\color{blue}{3.7269864963038164}}{z} + \left(0.31942702700572795 + -1 \cdot \frac{3.241970391368047 + 0.10203362558171805 \cdot t}{{z}^{2}}\right)} \]
      3. mul-1-neg81.8%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \color{blue}{\left(-\frac{3.241970391368047 + 0.10203362558171805 \cdot t}{{z}^{2}}\right)}\right)} \]
      4. *-commutative81.8%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\frac{3.241970391368047 + \color{blue}{t \cdot 0.10203362558171805}}{{z}^{2}}\right)\right)} \]
      5. unpow281.8%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\frac{3.241970391368047 + t \cdot 0.10203362558171805}{\color{blue}{z \cdot z}}\right)\right)} \]
    6. Simplified81.8%

      \[\leadsto x + \frac{y}{\color{blue}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\frac{3.241970391368047 + t \cdot 0.10203362558171805}{z \cdot z}\right)\right)}} \]
    7. Taylor expanded in t around inf 81.8%

      \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\color{blue}{0.10203362558171805 \cdot \frac{t}{{z}^{2}}}\right)\right)} \]
    8. Step-by-step derivation
      1. associate-*r/81.8%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\color{blue}{\frac{0.10203362558171805 \cdot t}{{z}^{2}}}\right)\right)} \]
      2. *-commutative81.8%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\frac{\color{blue}{t \cdot 0.10203362558171805}}{{z}^{2}}\right)\right)} \]
      3. unpow281.8%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\frac{t \cdot 0.10203362558171805}{\color{blue}{z \cdot z}}\right)\right)} \]
      4. times-frac81.8%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\color{blue}{\frac{t}{z} \cdot \frac{0.10203362558171805}{z}}\right)\right)} \]
    9. Simplified81.8%

      \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\color{blue}{\frac{t}{z} \cdot \frac{0.10203362558171805}{z}}\right)\right)} \]
    10. Taylor expanded in z around inf 91.8%

      \[\leadsto x + \color{blue}{\left(-36.52704169880642 \cdot \frac{y}{z} + \left(-1 \cdot \frac{-1 \cdot \left(y \cdot t\right) + -426.1874533207134 \cdot y}{{z}^{2}} + 3.13060547623 \cdot y\right)\right)} \]
    11. Step-by-step derivation
      1. fma-def91.8%

        \[\leadsto x + \color{blue}{\mathsf{fma}\left(-36.52704169880642, \frac{y}{z}, -1 \cdot \frac{-1 \cdot \left(y \cdot t\right) + -426.1874533207134 \cdot y}{{z}^{2}} + 3.13060547623 \cdot y\right)} \]
      2. +-commutative91.8%

        \[\leadsto x + \mathsf{fma}\left(-36.52704169880642, \frac{y}{z}, \color{blue}{3.13060547623 \cdot y + -1 \cdot \frac{-1 \cdot \left(y \cdot t\right) + -426.1874533207134 \cdot y}{{z}^{2}}}\right) \]
      3. mul-1-neg91.8%

        \[\leadsto x + \mathsf{fma}\left(-36.52704169880642, \frac{y}{z}, 3.13060547623 \cdot y + \color{blue}{\left(-\frac{-1 \cdot \left(y \cdot t\right) + -426.1874533207134 \cdot y}{{z}^{2}}\right)}\right) \]
      4. unsub-neg91.8%

        \[\leadsto x + \mathsf{fma}\left(-36.52704169880642, \frac{y}{z}, \color{blue}{3.13060547623 \cdot y - \frac{-1 \cdot \left(y \cdot t\right) + -426.1874533207134 \cdot y}{{z}^{2}}}\right) \]
      5. *-commutative91.8%

        \[\leadsto x + \mathsf{fma}\left(-36.52704169880642, \frac{y}{z}, \color{blue}{y \cdot 3.13060547623} - \frac{-1 \cdot \left(y \cdot t\right) + -426.1874533207134 \cdot y}{{z}^{2}}\right) \]
      6. +-commutative91.8%

        \[\leadsto x + \mathsf{fma}\left(-36.52704169880642, \frac{y}{z}, y \cdot 3.13060547623 - \frac{\color{blue}{-426.1874533207134 \cdot y + -1 \cdot \left(y \cdot t\right)}}{{z}^{2}}\right) \]
      7. mul-1-neg91.8%

        \[\leadsto x + \mathsf{fma}\left(-36.52704169880642, \frac{y}{z}, y \cdot 3.13060547623 - \frac{-426.1874533207134 \cdot y + \color{blue}{\left(-y \cdot t\right)}}{{z}^{2}}\right) \]
      8. unsub-neg91.8%

        \[\leadsto x + \mathsf{fma}\left(-36.52704169880642, \frac{y}{z}, y \cdot 3.13060547623 - \frac{\color{blue}{-426.1874533207134 \cdot y - y \cdot t}}{{z}^{2}}\right) \]
      9. *-commutative91.8%

        \[\leadsto x + \mathsf{fma}\left(-36.52704169880642, \frac{y}{z}, y \cdot 3.13060547623 - \frac{\color{blue}{y \cdot -426.1874533207134} - y \cdot t}{{z}^{2}}\right) \]
      10. unpow291.8%

        \[\leadsto x + \mathsf{fma}\left(-36.52704169880642, \frac{y}{z}, y \cdot 3.13060547623 - \frac{y \cdot -426.1874533207134 - y \cdot t}{\color{blue}{z \cdot z}}\right) \]
    12. Simplified91.8%

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

    if -5.99999999999999996e53 < z < 1.4e11

    1. Initial program 98.3%

      \[x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification96.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -3.15 \cdot 10^{+112}:\\ \;\;\;\;x + \frac{y}{0.31942702700572795}\\ \mathbf{elif}\;z \leq -6 \cdot 10^{+53} \lor \neg \left(z \leq 140000000000\right):\\ \;\;\;\;x + \mathsf{fma}\left(-36.52704169880642, \frac{y}{z}, y \cdot 3.13060547623 - \frac{y \cdot -426.1874533207134 - y \cdot t}{z \cdot z}\right)\\ \mathbf{else}:\\ \;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot \left(11.1667541262 + z \cdot 3.13060547623\right)\right)\right)\right)}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(31.4690115749 + z \cdot \left(z + 15.234687407\right)\right)\right)}\\ \end{array} \]

Alternative 5: 95.4% accurate, 0.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot \left(11.1667541262 + z \cdot 3.13060547623\right)\right)\right)\right)}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(31.4690115749 + z \cdot \left(z + 15.234687407\right)\right)\right)}\\ \mathbf{if}\;t_1 \leq \infty:\\ \;\;\;\;x + t_1\\ \mathbf{else}:\\ \;\;\;\;x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 - \frac{t}{\frac{z}{\frac{0.10203362558171805}{z}}}\right)}\\ \end{array} \end{array} \]
(FPCore (x y z t a b)
 :precision binary64
 (let* ((t_1
         (/
          (*
           y
           (+
            b
            (*
             z
             (+ a (* z (+ t (* z (+ 11.1667541262 (* z 3.13060547623)))))))))
          (+
           0.607771387771
           (*
            z
            (+
             11.9400905721
             (* z (+ 31.4690115749 (* z (+ z 15.234687407))))))))))
   (if (<= t_1 INFINITY)
     (+ x t_1)
     (+
      x
      (/
       y
       (+
        (/ 3.7269864963038164 z)
        (- 0.31942702700572795 (/ t (/ z (/ 0.10203362558171805 z))))))))))
double code(double x, double y, double z, double t, double a, double b) {
	double t_1 = (y * (b + (z * (a + (z * (t + (z * (11.1667541262 + (z * 3.13060547623))))))))) / (0.607771387771 + (z * (11.9400905721 + (z * (31.4690115749 + (z * (z + 15.234687407)))))));
	double tmp;
	if (t_1 <= ((double) INFINITY)) {
		tmp = x + t_1;
	} else {
		tmp = x + (y / ((3.7269864963038164 / z) + (0.31942702700572795 - (t / (z / (0.10203362558171805 / z))))));
	}
	return tmp;
}
public static double code(double x, double y, double z, double t, double a, double b) {
	double t_1 = (y * (b + (z * (a + (z * (t + (z * (11.1667541262 + (z * 3.13060547623))))))))) / (0.607771387771 + (z * (11.9400905721 + (z * (31.4690115749 + (z * (z + 15.234687407)))))));
	double tmp;
	if (t_1 <= Double.POSITIVE_INFINITY) {
		tmp = x + t_1;
	} else {
		tmp = x + (y / ((3.7269864963038164 / z) + (0.31942702700572795 - (t / (z / (0.10203362558171805 / z))))));
	}
	return tmp;
}
def code(x, y, z, t, a, b):
	t_1 = (y * (b + (z * (a + (z * (t + (z * (11.1667541262 + (z * 3.13060547623))))))))) / (0.607771387771 + (z * (11.9400905721 + (z * (31.4690115749 + (z * (z + 15.234687407)))))))
	tmp = 0
	if t_1 <= math.inf:
		tmp = x + t_1
	else:
		tmp = x + (y / ((3.7269864963038164 / z) + (0.31942702700572795 - (t / (z / (0.10203362558171805 / z))))))
	return tmp
function code(x, y, z, t, a, b)
	t_1 = Float64(Float64(y * Float64(b + Float64(z * Float64(a + Float64(z * Float64(t + Float64(z * Float64(11.1667541262 + Float64(z * 3.13060547623))))))))) / Float64(0.607771387771 + Float64(z * Float64(11.9400905721 + Float64(z * Float64(31.4690115749 + Float64(z * Float64(z + 15.234687407))))))))
	tmp = 0.0
	if (t_1 <= Inf)
		tmp = Float64(x + t_1);
	else
		tmp = Float64(x + Float64(y / Float64(Float64(3.7269864963038164 / z) + Float64(0.31942702700572795 - Float64(t / Float64(z / Float64(0.10203362558171805 / z)))))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b)
	t_1 = (y * (b + (z * (a + (z * (t + (z * (11.1667541262 + (z * 3.13060547623))))))))) / (0.607771387771 + (z * (11.9400905721 + (z * (31.4690115749 + (z * (z + 15.234687407)))))));
	tmp = 0.0;
	if (t_1 <= Inf)
		tmp = x + t_1;
	else
		tmp = x + (y / ((3.7269864963038164 / z) + (0.31942702700572795 - (t / (z / (0.10203362558171805 / z))))));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(N[(y * N[(b + N[(z * N[(a + N[(z * N[(t + N[(z * N[(11.1667541262 + N[(z * 3.13060547623), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(0.607771387771 + N[(z * N[(11.9400905721 + N[(z * N[(31.4690115749 + N[(z * N[(z + 15.234687407), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, Infinity], N[(x + t$95$1), $MachinePrecision], N[(x + N[(y / N[(N[(3.7269864963038164 / z), $MachinePrecision] + N[(0.31942702700572795 - N[(t / N[(z / N[(0.10203362558171805 / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := \frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot \left(11.1667541262 + z \cdot 3.13060547623\right)\right)\right)\right)}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(31.4690115749 + z \cdot \left(z + 15.234687407\right)\right)\right)}\\
\mathbf{if}\;t_1 \leq \infty:\\
\;\;\;\;x + t_1\\

\mathbf{else}:\\
\;\;\;\;x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 - \frac{t}{\frac{z}{\frac{0.10203362558171805}{z}}}\right)}\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if (/.f64 (*.f64 y (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z 313060547623/100000000000) 55833770631/5000000000) z) t) z) a) z) b)) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 z 15234687407/1000000000) z) 314690115749/10000000000) z) 119400905721/10000000000) z) 607771387771/1000000000000)) < +inf.0

    1. Initial program 90.6%

      \[x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]

    if +inf.0 < (/.f64 (*.f64 y (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z 313060547623/100000000000) 55833770631/5000000000) z) t) z) a) z) b)) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 z 15234687407/1000000000) z) 314690115749/10000000000) z) 119400905721/10000000000) z) 607771387771/1000000000000))

    1. Initial program 0.0%

      \[x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    2. Step-by-step derivation
      1. associate-/l*0.0%

        \[\leadsto x + \color{blue}{\frac{y}{\frac{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}}} \]
      2. fma-def0.0%

        \[\leadsto x + \frac{y}{\frac{\color{blue}{\mathsf{fma}\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721, z, 0.607771387771\right)}}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      3. fma-def0.0%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749, z, 11.9400905721\right)}, z, 0.607771387771\right)}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      4. fma-def0.0%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right)}, z, 11.9400905721\right), z, 0.607771387771\right)}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      5. fma-def0.0%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\color{blue}{\mathsf{fma}\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a, z, b\right)}}} \]
      6. fma-def0.0%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t, z, a\right)}, z, b\right)}} \]
      7. fma-def0.0%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z \cdot 3.13060547623 + 11.1667541262, z, t\right)}, z, a\right), z, b\right)}} \]
      8. fma-def0.0%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right)}, z, t\right), z, a\right), z, b\right)}} \]
    3. Simplified0.0%

      \[\leadsto \color{blue}{x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right), z, t\right), z, a\right), z, b\right)}}} \]
    4. Taylor expanded in z around inf 95.1%

      \[\leadsto x + \frac{y}{\color{blue}{3.7269864963038164 \cdot \frac{1}{z} + \left(0.31942702700572795 + -1 \cdot \frac{3.241970391368047 + 0.10203362558171805 \cdot t}{{z}^{2}}\right)}} \]
    5. Step-by-step derivation
      1. associate-*r/95.1%

        \[\leadsto x + \frac{y}{\color{blue}{\frac{3.7269864963038164 \cdot 1}{z}} + \left(0.31942702700572795 + -1 \cdot \frac{3.241970391368047 + 0.10203362558171805 \cdot t}{{z}^{2}}\right)} \]
      2. metadata-eval95.1%

        \[\leadsto x + \frac{y}{\frac{\color{blue}{3.7269864963038164}}{z} + \left(0.31942702700572795 + -1 \cdot \frac{3.241970391368047 + 0.10203362558171805 \cdot t}{{z}^{2}}\right)} \]
      3. mul-1-neg95.1%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \color{blue}{\left(-\frac{3.241970391368047 + 0.10203362558171805 \cdot t}{{z}^{2}}\right)}\right)} \]
      4. *-commutative95.1%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\frac{3.241970391368047 + \color{blue}{t \cdot 0.10203362558171805}}{{z}^{2}}\right)\right)} \]
      5. unpow295.1%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\frac{3.241970391368047 + t \cdot 0.10203362558171805}{\color{blue}{z \cdot z}}\right)\right)} \]
    6. Simplified95.1%

      \[\leadsto x + \frac{y}{\color{blue}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\frac{3.241970391368047 + t \cdot 0.10203362558171805}{z \cdot z}\right)\right)}} \]
    7. Taylor expanded in t around inf 95.1%

      \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\color{blue}{0.10203362558171805 \cdot \frac{t}{{z}^{2}}}\right)\right)} \]
    8. Step-by-step derivation
      1. associate-*r/95.1%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\color{blue}{\frac{0.10203362558171805 \cdot t}{{z}^{2}}}\right)\right)} \]
      2. *-commutative95.1%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\frac{\color{blue}{t \cdot 0.10203362558171805}}{{z}^{2}}\right)\right)} \]
      3. unpow295.1%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\frac{t \cdot 0.10203362558171805}{\color{blue}{z \cdot z}}\right)\right)} \]
      4. times-frac95.1%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\color{blue}{\frac{t}{z} \cdot \frac{0.10203362558171805}{z}}\right)\right)} \]
    9. Simplified95.1%

      \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\color{blue}{\frac{t}{z} \cdot \frac{0.10203362558171805}{z}}\right)\right)} \]
    10. Taylor expanded in y around 0 95.1%

      \[\leadsto x + \color{blue}{\frac{y}{\left(3.7269864963038164 \cdot \frac{1}{z} + 0.31942702700572795\right) - 0.10203362558171805 \cdot \frac{t}{{z}^{2}}}} \]
    11. Step-by-step derivation
      1. associate--l+95.1%

        \[\leadsto x + \frac{y}{\color{blue}{3.7269864963038164 \cdot \frac{1}{z} + \left(0.31942702700572795 - 0.10203362558171805 \cdot \frac{t}{{z}^{2}}\right)}} \]
      2. associate-*r/95.1%

        \[\leadsto x + \frac{y}{\color{blue}{\frac{3.7269864963038164 \cdot 1}{z}} + \left(0.31942702700572795 - 0.10203362558171805 \cdot \frac{t}{{z}^{2}}\right)} \]
      3. metadata-eval95.1%

        \[\leadsto x + \frac{y}{\frac{\color{blue}{3.7269864963038164}}{z} + \left(0.31942702700572795 - 0.10203362558171805 \cdot \frac{t}{{z}^{2}}\right)} \]
      4. *-commutative95.1%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 - \color{blue}{\frac{t}{{z}^{2}} \cdot 0.10203362558171805}\right)} \]
      5. associate-/r/95.1%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 - \color{blue}{\frac{t}{\frac{{z}^{2}}{0.10203362558171805}}}\right)} \]
      6. unpow295.1%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 - \frac{t}{\frac{\color{blue}{z \cdot z}}{0.10203362558171805}}\right)} \]
      7. associate-/l*95.1%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 - \frac{t}{\color{blue}{\frac{z}{\frac{0.10203362558171805}{z}}}}\right)} \]
    12. Simplified95.1%

      \[\leadsto x + \color{blue}{\frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 - \frac{t}{\frac{z}{\frac{0.10203362558171805}{z}}}\right)}} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification92.4%

    \[\leadsto \begin{array}{l} \mathbf{if}\;\frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot \left(11.1667541262 + z \cdot 3.13060547623\right)\right)\right)\right)}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(31.4690115749 + z \cdot \left(z + 15.234687407\right)\right)\right)} \leq \infty:\\ \;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot \left(11.1667541262 + z \cdot 3.13060547623\right)\right)\right)\right)}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(31.4690115749 + z \cdot \left(z + 15.234687407\right)\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 - \frac{t}{\frac{z}{\frac{0.10203362558171805}{z}}}\right)}\\ \end{array} \]

Alternative 6: 95.7% accurate, 0.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 - \frac{t}{\frac{z}{\frac{0.10203362558171805}{z}}}\right)}\\ t_2 := x + \frac{y}{\frac{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(31.4690115749 + z \cdot \left(z + 15.234687407\right)\right)\right)}{z \cdot \left(a + z \cdot \left(t + \left(z \cdot z\right) \cdot 3.13060547623\right)\right)}}\\ \mathbf{if}\;z \leq -2.75 \cdot 10^{+69}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq -0.135:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq 3 \cdot 10^{-9}:\\ \;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot \left(11.1667541262 + z \cdot 3.13060547623\right)\right)\right)\right)}{0.607771387771 + z \cdot 11.9400905721}\\ \mathbf{elif}\;z \leq 6.5 \cdot 10^{+74}:\\ \;\;\;\;t_2\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b)
 :precision binary64
 (let* ((t_1
         (+
          x
          (/
           y
           (+
            (/ 3.7269864963038164 z)
            (- 0.31942702700572795 (/ t (/ z (/ 0.10203362558171805 z))))))))
        (t_2
         (+
          x
          (/
           y
           (/
            (+
             0.607771387771
             (*
              z
              (+
               11.9400905721
               (* z (+ 31.4690115749 (* z (+ z 15.234687407)))))))
            (* z (+ a (* z (+ t (* (* z z) 3.13060547623))))))))))
   (if (<= z -2.75e+69)
     t_1
     (if (<= z -0.135)
       t_2
       (if (<= z 3e-9)
         (+
          x
          (/
           (*
            y
            (+
             b
             (*
              z
              (+ a (* z (+ t (* z (+ 11.1667541262 (* z 3.13060547623)))))))))
           (+ 0.607771387771 (* z 11.9400905721))))
         (if (<= z 6.5e+74) t_2 t_1))))))
double code(double x, double y, double z, double t, double a, double b) {
	double t_1 = x + (y / ((3.7269864963038164 / z) + (0.31942702700572795 - (t / (z / (0.10203362558171805 / z))))));
	double t_2 = x + (y / ((0.607771387771 + (z * (11.9400905721 + (z * (31.4690115749 + (z * (z + 15.234687407))))))) / (z * (a + (z * (t + ((z * z) * 3.13060547623)))))));
	double tmp;
	if (z <= -2.75e+69) {
		tmp = t_1;
	} else if (z <= -0.135) {
		tmp = t_2;
	} else if (z <= 3e-9) {
		tmp = x + ((y * (b + (z * (a + (z * (t + (z * (11.1667541262 + (z * 3.13060547623))))))))) / (0.607771387771 + (z * 11.9400905721)));
	} else if (z <= 6.5e+74) {
		tmp = t_2;
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b)
    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) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = x + (y / ((3.7269864963038164d0 / z) + (0.31942702700572795d0 - (t / (z / (0.10203362558171805d0 / z))))))
    t_2 = x + (y / ((0.607771387771d0 + (z * (11.9400905721d0 + (z * (31.4690115749d0 + (z * (z + 15.234687407d0))))))) / (z * (a + (z * (t + ((z * z) * 3.13060547623d0)))))))
    if (z <= (-2.75d+69)) then
        tmp = t_1
    else if (z <= (-0.135d0)) then
        tmp = t_2
    else if (z <= 3d-9) then
        tmp = x + ((y * (b + (z * (a + (z * (t + (z * (11.1667541262d0 + (z * 3.13060547623d0))))))))) / (0.607771387771d0 + (z * 11.9400905721d0)))
    else if (z <= 6.5d+74) then
        tmp = t_2
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
	double t_1 = x + (y / ((3.7269864963038164 / z) + (0.31942702700572795 - (t / (z / (0.10203362558171805 / z))))));
	double t_2 = x + (y / ((0.607771387771 + (z * (11.9400905721 + (z * (31.4690115749 + (z * (z + 15.234687407))))))) / (z * (a + (z * (t + ((z * z) * 3.13060547623)))))));
	double tmp;
	if (z <= -2.75e+69) {
		tmp = t_1;
	} else if (z <= -0.135) {
		tmp = t_2;
	} else if (z <= 3e-9) {
		tmp = x + ((y * (b + (z * (a + (z * (t + (z * (11.1667541262 + (z * 3.13060547623))))))))) / (0.607771387771 + (z * 11.9400905721)));
	} else if (z <= 6.5e+74) {
		tmp = t_2;
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b):
	t_1 = x + (y / ((3.7269864963038164 / z) + (0.31942702700572795 - (t / (z / (0.10203362558171805 / z))))))
	t_2 = x + (y / ((0.607771387771 + (z * (11.9400905721 + (z * (31.4690115749 + (z * (z + 15.234687407))))))) / (z * (a + (z * (t + ((z * z) * 3.13060547623)))))))
	tmp = 0
	if z <= -2.75e+69:
		tmp = t_1
	elif z <= -0.135:
		tmp = t_2
	elif z <= 3e-9:
		tmp = x + ((y * (b + (z * (a + (z * (t + (z * (11.1667541262 + (z * 3.13060547623))))))))) / (0.607771387771 + (z * 11.9400905721)))
	elif z <= 6.5e+74:
		tmp = t_2
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b)
	t_1 = Float64(x + Float64(y / Float64(Float64(3.7269864963038164 / z) + Float64(0.31942702700572795 - Float64(t / Float64(z / Float64(0.10203362558171805 / z)))))))
	t_2 = Float64(x + Float64(y / Float64(Float64(0.607771387771 + Float64(z * Float64(11.9400905721 + Float64(z * Float64(31.4690115749 + Float64(z * Float64(z + 15.234687407))))))) / Float64(z * Float64(a + Float64(z * Float64(t + Float64(Float64(z * z) * 3.13060547623))))))))
	tmp = 0.0
	if (z <= -2.75e+69)
		tmp = t_1;
	elseif (z <= -0.135)
		tmp = t_2;
	elseif (z <= 3e-9)
		tmp = Float64(x + Float64(Float64(y * Float64(b + Float64(z * Float64(a + Float64(z * Float64(t + Float64(z * Float64(11.1667541262 + Float64(z * 3.13060547623))))))))) / Float64(0.607771387771 + Float64(z * 11.9400905721))));
	elseif (z <= 6.5e+74)
		tmp = t_2;
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b)
	t_1 = x + (y / ((3.7269864963038164 / z) + (0.31942702700572795 - (t / (z / (0.10203362558171805 / z))))));
	t_2 = x + (y / ((0.607771387771 + (z * (11.9400905721 + (z * (31.4690115749 + (z * (z + 15.234687407))))))) / (z * (a + (z * (t + ((z * z) * 3.13060547623)))))));
	tmp = 0.0;
	if (z <= -2.75e+69)
		tmp = t_1;
	elseif (z <= -0.135)
		tmp = t_2;
	elseif (z <= 3e-9)
		tmp = x + ((y * (b + (z * (a + (z * (t + (z * (11.1667541262 + (z * 3.13060547623))))))))) / (0.607771387771 + (z * 11.9400905721)));
	elseif (z <= 6.5e+74)
		tmp = t_2;
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(x + N[(y / N[(N[(3.7269864963038164 / z), $MachinePrecision] + N[(0.31942702700572795 - N[(t / N[(z / N[(0.10203362558171805 / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(x + N[(y / N[(N[(0.607771387771 + N[(z * N[(11.9400905721 + N[(z * N[(31.4690115749 + N[(z * N[(z + 15.234687407), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(z * N[(a + N[(z * N[(t + N[(N[(z * z), $MachinePrecision] * 3.13060547623), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -2.75e+69], t$95$1, If[LessEqual[z, -0.135], t$95$2, If[LessEqual[z, 3e-9], N[(x + N[(N[(y * N[(b + N[(z * N[(a + N[(z * N[(t + N[(z * N[(11.1667541262 + N[(z * 3.13060547623), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(0.607771387771 + N[(z * 11.9400905721), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 6.5e+74], t$95$2, t$95$1]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 - \frac{t}{\frac{z}{\frac{0.10203362558171805}{z}}}\right)}\\
t_2 := x + \frac{y}{\frac{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(31.4690115749 + z \cdot \left(z + 15.234687407\right)\right)\right)}{z \cdot \left(a + z \cdot \left(t + \left(z \cdot z\right) \cdot 3.13060547623\right)\right)}}\\
\mathbf{if}\;z \leq -2.75 \cdot 10^{+69}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;z \leq -0.135:\\
\;\;\;\;t_2\\

\mathbf{elif}\;z \leq 3 \cdot 10^{-9}:\\
\;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot \left(11.1667541262 + z \cdot 3.13060547623\right)\right)\right)\right)}{0.607771387771 + z \cdot 11.9400905721}\\

\mathbf{elif}\;z \leq 6.5 \cdot 10^{+74}:\\
\;\;\;\;t_2\\

\mathbf{else}:\\
\;\;\;\;t_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if z < -2.75000000000000001e69 or 6.49999999999999962e74 < z

    1. Initial program 0.0%

      \[x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    2. Step-by-step derivation
      1. associate-/l*0.0%

        \[\leadsto x + \color{blue}{\frac{y}{\frac{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}}} \]
      2. fma-def0.0%

        \[\leadsto x + \frac{y}{\frac{\color{blue}{\mathsf{fma}\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721, z, 0.607771387771\right)}}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      3. fma-def0.0%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749, z, 11.9400905721\right)}, z, 0.607771387771\right)}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      4. fma-def0.0%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right)}, z, 11.9400905721\right), z, 0.607771387771\right)}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      5. fma-def0.0%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\color{blue}{\mathsf{fma}\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a, z, b\right)}}} \]
      6. fma-def0.0%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t, z, a\right)}, z, b\right)}} \]
      7. fma-def0.0%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z \cdot 3.13060547623 + 11.1667541262, z, t\right)}, z, a\right), z, b\right)}} \]
      8. fma-def0.0%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right)}, z, t\right), z, a\right), z, b\right)}} \]
    3. Simplified0.0%

      \[\leadsto \color{blue}{x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right), z, t\right), z, a\right), z, b\right)}}} \]
    4. Taylor expanded in z around inf 94.2%

      \[\leadsto x + \frac{y}{\color{blue}{3.7269864963038164 \cdot \frac{1}{z} + \left(0.31942702700572795 + -1 \cdot \frac{3.241970391368047 + 0.10203362558171805 \cdot t}{{z}^{2}}\right)}} \]
    5. Step-by-step derivation
      1. associate-*r/94.2%

        \[\leadsto x + \frac{y}{\color{blue}{\frac{3.7269864963038164 \cdot 1}{z}} + \left(0.31942702700572795 + -1 \cdot \frac{3.241970391368047 + 0.10203362558171805 \cdot t}{{z}^{2}}\right)} \]
      2. metadata-eval94.2%

        \[\leadsto x + \frac{y}{\frac{\color{blue}{3.7269864963038164}}{z} + \left(0.31942702700572795 + -1 \cdot \frac{3.241970391368047 + 0.10203362558171805 \cdot t}{{z}^{2}}\right)} \]
      3. mul-1-neg94.2%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \color{blue}{\left(-\frac{3.241970391368047 + 0.10203362558171805 \cdot t}{{z}^{2}}\right)}\right)} \]
      4. *-commutative94.2%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\frac{3.241970391368047 + \color{blue}{t \cdot 0.10203362558171805}}{{z}^{2}}\right)\right)} \]
      5. unpow294.2%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\frac{3.241970391368047 + t \cdot 0.10203362558171805}{\color{blue}{z \cdot z}}\right)\right)} \]
    6. Simplified94.2%

      \[\leadsto x + \frac{y}{\color{blue}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\frac{3.241970391368047 + t \cdot 0.10203362558171805}{z \cdot z}\right)\right)}} \]
    7. Taylor expanded in t around inf 94.2%

      \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\color{blue}{0.10203362558171805 \cdot \frac{t}{{z}^{2}}}\right)\right)} \]
    8. Step-by-step derivation
      1. associate-*r/94.2%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\color{blue}{\frac{0.10203362558171805 \cdot t}{{z}^{2}}}\right)\right)} \]
      2. *-commutative94.2%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\frac{\color{blue}{t \cdot 0.10203362558171805}}{{z}^{2}}\right)\right)} \]
      3. unpow294.2%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\frac{t \cdot 0.10203362558171805}{\color{blue}{z \cdot z}}\right)\right)} \]
      4. times-frac94.2%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\color{blue}{\frac{t}{z} \cdot \frac{0.10203362558171805}{z}}\right)\right)} \]
    9. Simplified94.2%

      \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 + \left(-\color{blue}{\frac{t}{z} \cdot \frac{0.10203362558171805}{z}}\right)\right)} \]
    10. Taylor expanded in y around 0 94.2%

      \[\leadsto x + \color{blue}{\frac{y}{\left(3.7269864963038164 \cdot \frac{1}{z} + 0.31942702700572795\right) - 0.10203362558171805 \cdot \frac{t}{{z}^{2}}}} \]
    11. Step-by-step derivation
      1. associate--l+94.2%

        \[\leadsto x + \frac{y}{\color{blue}{3.7269864963038164 \cdot \frac{1}{z} + \left(0.31942702700572795 - 0.10203362558171805 \cdot \frac{t}{{z}^{2}}\right)}} \]
      2. associate-*r/94.2%

        \[\leadsto x + \frac{y}{\color{blue}{\frac{3.7269864963038164 \cdot 1}{z}} + \left(0.31942702700572795 - 0.10203362558171805 \cdot \frac{t}{{z}^{2}}\right)} \]
      3. metadata-eval94.2%

        \[\leadsto x + \frac{y}{\frac{\color{blue}{3.7269864963038164}}{z} + \left(0.31942702700572795 - 0.10203362558171805 \cdot \frac{t}{{z}^{2}}\right)} \]
      4. *-commutative94.2%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 - \color{blue}{\frac{t}{{z}^{2}} \cdot 0.10203362558171805}\right)} \]
      5. associate-/r/94.2%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 - \color{blue}{\frac{t}{\frac{{z}^{2}}{0.10203362558171805}}}\right)} \]
      6. unpow294.2%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 - \frac{t}{\frac{\color{blue}{z \cdot z}}{0.10203362558171805}}\right)} \]
      7. associate-/l*94.2%

        \[\leadsto x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 - \frac{t}{\color{blue}{\frac{z}{\frac{0.10203362558171805}{z}}}}\right)} \]
    12. Simplified94.2%

      \[\leadsto x + \color{blue}{\frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 - \frac{t}{\frac{z}{\frac{0.10203362558171805}{z}}}\right)}} \]

    if -2.75000000000000001e69 < z < -0.13500000000000001 or 2.99999999999999998e-9 < z < 6.49999999999999962e74

    1. Initial program 66.1%

      \[x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    2. Step-by-step derivation
      1. associate-/l*85.1%

        \[\leadsto x + \color{blue}{\frac{y}{\frac{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}}} \]
      2. fma-def85.1%

        \[\leadsto x + \frac{y}{\frac{\color{blue}{\mathsf{fma}\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721, z, 0.607771387771\right)}}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      3. fma-def85.1%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749, z, 11.9400905721\right)}, z, 0.607771387771\right)}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      4. fma-def85.1%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right)}, z, 11.9400905721\right), z, 0.607771387771\right)}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      5. fma-def85.1%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\color{blue}{\mathsf{fma}\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a, z, b\right)}}} \]
      6. fma-def85.1%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t, z, a\right)}, z, b\right)}} \]
      7. fma-def85.1%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z \cdot 3.13060547623 + 11.1667541262, z, t\right)}, z, a\right), z, b\right)}} \]
      8. fma-def85.1%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right)}, z, t\right), z, a\right), z, b\right)}} \]
    3. Simplified85.1%

      \[\leadsto \color{blue}{x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right), z, t\right), z, a\right), z, b\right)}}} \]
    4. Taylor expanded in b around 0 82.8%

      \[\leadsto x + \frac{y}{\color{blue}{\frac{0.607771387771 + z \cdot \left(11.9400905721 + \left(31.4690115749 + \left(15.234687407 + z\right) \cdot z\right) \cdot z\right)}{z \cdot \left(a + \left(t + \left(11.1667541262 + 3.13060547623 \cdot z\right) \cdot z\right) \cdot z\right)}}} \]
    5. Taylor expanded in z around inf 82.8%

      \[\leadsto x + \frac{y}{\frac{0.607771387771 + z \cdot \left(11.9400905721 + \left(31.4690115749 + \left(15.234687407 + z\right) \cdot z\right) \cdot z\right)}{z \cdot \left(a + \left(t + \color{blue}{3.13060547623 \cdot {z}^{2}}\right) \cdot z\right)}} \]
    6. Step-by-step derivation
      1. *-commutative82.8%

        \[\leadsto x + \frac{y}{\frac{0.607771387771 + z \cdot \left(11.9400905721 + \left(31.4690115749 + \left(15.234687407 + z\right) \cdot z\right) \cdot z\right)}{z \cdot \left(a + \left(t + \color{blue}{{z}^{2} \cdot 3.13060547623}\right) \cdot z\right)}} \]
      2. unpow282.8%

        \[\leadsto x + \frac{y}{\frac{0.607771387771 + z \cdot \left(11.9400905721 + \left(31.4690115749 + \left(15.234687407 + z\right) \cdot z\right) \cdot z\right)}{z \cdot \left(a + \left(t + \color{blue}{\left(z \cdot z\right)} \cdot 3.13060547623\right) \cdot z\right)}} \]
    7. Simplified82.8%

      \[\leadsto x + \frac{y}{\frac{0.607771387771 + z \cdot \left(11.9400905721 + \left(31.4690115749 + \left(15.234687407 + z\right) \cdot z\right) \cdot z\right)}{z \cdot \left(a + \left(t + \color{blue}{\left(z \cdot z\right) \cdot 3.13060547623}\right) \cdot z\right)}} \]

    if -0.13500000000000001 < z < 2.99999999999999998e-9

    1. Initial program 99.7%

      \[x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    2. Taylor expanded in z around 0 99.7%

      \[\leadsto x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\color{blue}{11.9400905721 \cdot z} + 0.607771387771} \]
    3. Step-by-step derivation
      1. *-commutative99.7%

        \[\leadsto x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\color{blue}{z \cdot 11.9400905721} + 0.607771387771} \]
    4. Simplified99.7%

      \[\leadsto x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\color{blue}{z \cdot 11.9400905721} + 0.607771387771} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification94.9%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -2.75 \cdot 10^{+69}:\\ \;\;\;\;x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 - \frac{t}{\frac{z}{\frac{0.10203362558171805}{z}}}\right)}\\ \mathbf{elif}\;z \leq -0.135:\\ \;\;\;\;x + \frac{y}{\frac{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(31.4690115749 + z \cdot \left(z + 15.234687407\right)\right)\right)}{z \cdot \left(a + z \cdot \left(t + \left(z \cdot z\right) \cdot 3.13060547623\right)\right)}}\\ \mathbf{elif}\;z \leq 3 \cdot 10^{-9}:\\ \;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot \left(11.1667541262 + z \cdot 3.13060547623\right)\right)\right)\right)}{0.607771387771 + z \cdot 11.9400905721}\\ \mathbf{elif}\;z \leq 6.5 \cdot 10^{+74}:\\ \;\;\;\;x + \frac{y}{\frac{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(31.4690115749 + z \cdot \left(z + 15.234687407\right)\right)\right)}{z \cdot \left(a + z \cdot \left(t + \left(z \cdot z\right) \cdot 3.13060547623\right)\right)}}\\ \mathbf{else}:\\ \;\;\;\;x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 - \frac{t}{\frac{z}{\frac{0.10203362558171805}{z}}}\right)}\\ \end{array} \]

Alternative 7: 95.1% accurate, 1.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -1.2 \cdot 10^{+55} \lor \neg \left(z \leq 1.9 \cdot 10^{+26}\right):\\ \;\;\;\;x + \frac{y}{0.31942702700572795}\\ \mathbf{else}:\\ \;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot 11.1667541262\right)\right)\right)}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(31.4690115749 + z \cdot \left(z + 15.234687407\right)\right)\right)}\\ \end{array} \end{array} \]
(FPCore (x y z t a b)
 :precision binary64
 (if (or (<= z -1.2e+55) (not (<= z 1.9e+26)))
   (+ x (/ y 0.31942702700572795))
   (+
    x
    (/
     (* y (+ b (* z (+ a (* z (+ t (* z 11.1667541262)))))))
     (+
      0.607771387771
      (*
       z
       (+ 11.9400905721 (* z (+ 31.4690115749 (* z (+ z 15.234687407)))))))))))
double code(double x, double y, double z, double t, double a, double b) {
	double tmp;
	if ((z <= -1.2e+55) || !(z <= 1.9e+26)) {
		tmp = x + (y / 0.31942702700572795);
	} else {
		tmp = x + ((y * (b + (z * (a + (z * (t + (z * 11.1667541262))))))) / (0.607771387771 + (z * (11.9400905721 + (z * (31.4690115749 + (z * (z + 15.234687407))))))));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b)
    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) :: tmp
    if ((z <= (-1.2d+55)) .or. (.not. (z <= 1.9d+26))) then
        tmp = x + (y / 0.31942702700572795d0)
    else
        tmp = x + ((y * (b + (z * (a + (z * (t + (z * 11.1667541262d0))))))) / (0.607771387771d0 + (z * (11.9400905721d0 + (z * (31.4690115749d0 + (z * (z + 15.234687407d0))))))))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
	double tmp;
	if ((z <= -1.2e+55) || !(z <= 1.9e+26)) {
		tmp = x + (y / 0.31942702700572795);
	} else {
		tmp = x + ((y * (b + (z * (a + (z * (t + (z * 11.1667541262))))))) / (0.607771387771 + (z * (11.9400905721 + (z * (31.4690115749 + (z * (z + 15.234687407))))))));
	}
	return tmp;
}
def code(x, y, z, t, a, b):
	tmp = 0
	if (z <= -1.2e+55) or not (z <= 1.9e+26):
		tmp = x + (y / 0.31942702700572795)
	else:
		tmp = x + ((y * (b + (z * (a + (z * (t + (z * 11.1667541262))))))) / (0.607771387771 + (z * (11.9400905721 + (z * (31.4690115749 + (z * (z + 15.234687407))))))))
	return tmp
function code(x, y, z, t, a, b)
	tmp = 0.0
	if ((z <= -1.2e+55) || !(z <= 1.9e+26))
		tmp = Float64(x + Float64(y / 0.31942702700572795));
	else
		tmp = Float64(x + Float64(Float64(y * Float64(b + Float64(z * Float64(a + Float64(z * Float64(t + Float64(z * 11.1667541262))))))) / Float64(0.607771387771 + Float64(z * Float64(11.9400905721 + Float64(z * Float64(31.4690115749 + Float64(z * Float64(z + 15.234687407)))))))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b)
	tmp = 0.0;
	if ((z <= -1.2e+55) || ~((z <= 1.9e+26)))
		tmp = x + (y / 0.31942702700572795);
	else
		tmp = x + ((y * (b + (z * (a + (z * (t + (z * 11.1667541262))))))) / (0.607771387771 + (z * (11.9400905721 + (z * (31.4690115749 + (z * (z + 15.234687407))))))));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -1.2e+55], N[Not[LessEqual[z, 1.9e+26]], $MachinePrecision]], N[(x + N[(y / 0.31942702700572795), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(y * N[(b + N[(z * N[(a + N[(z * N[(t + N[(z * 11.1667541262), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(0.607771387771 + N[(z * N[(11.9400905721 + N[(z * N[(31.4690115749 + N[(z * N[(z + 15.234687407), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.2 \cdot 10^{+55} \lor \neg \left(z \leq 1.9 \cdot 10^{+26}\right):\\
\;\;\;\;x + \frac{y}{0.31942702700572795}\\

\mathbf{else}:\\
\;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot 11.1667541262\right)\right)\right)}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(31.4690115749 + z \cdot \left(z + 15.234687407\right)\right)\right)}\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if z < -1.2e55 or 1.9000000000000001e26 < z

    1. Initial program 6.4%

      \[x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    2. Step-by-step derivation
      1. associate-/l*11.8%

        \[\leadsto x + \color{blue}{\frac{y}{\frac{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}}} \]
      2. fma-def11.8%

        \[\leadsto x + \frac{y}{\frac{\color{blue}{\mathsf{fma}\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721, z, 0.607771387771\right)}}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      3. fma-def11.8%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749, z, 11.9400905721\right)}, z, 0.607771387771\right)}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      4. fma-def11.8%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right)}, z, 11.9400905721\right), z, 0.607771387771\right)}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      5. fma-def11.8%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\color{blue}{\mathsf{fma}\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a, z, b\right)}}} \]
      6. fma-def11.8%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t, z, a\right)}, z, b\right)}} \]
      7. fma-def11.8%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z \cdot 3.13060547623 + 11.1667541262, z, t\right)}, z, a\right), z, b\right)}} \]
      8. fma-def11.8%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right)}, z, t\right), z, a\right), z, b\right)}} \]
    3. Simplified11.8%

      \[\leadsto \color{blue}{x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right), z, t\right), z, a\right), z, b\right)}}} \]
    4. Taylor expanded in z around inf 88.7%

      \[\leadsto x + \frac{y}{\color{blue}{0.31942702700572795}} \]

    if -1.2e55 < z < 1.9000000000000001e26

    1. Initial program 97.7%

      \[x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    2. Taylor expanded in z around 0 97.4%

      \[\leadsto x + \frac{y \cdot \left(\left(\left(\color{blue}{11.1667541262 \cdot z} + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    3. Step-by-step derivation
      1. *-commutative97.4%

        \[\leadsto x + \frac{y \cdot \left(\left(\left(\color{blue}{z \cdot 11.1667541262} + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    4. Simplified97.4%

      \[\leadsto x + \frac{y \cdot \left(\left(\left(\color{blue}{z \cdot 11.1667541262} + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification93.3%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -1.2 \cdot 10^{+55} \lor \neg \left(z \leq 1.9 \cdot 10^{+26}\right):\\ \;\;\;\;x + \frac{y}{0.31942702700572795}\\ \mathbf{else}:\\ \;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot 11.1667541262\right)\right)\right)}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(31.4690115749 + z \cdot \left(z + 15.234687407\right)\right)\right)}\\ \end{array} \]

Alternative 8: 93.2% accurate, 1.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := x + \frac{y}{0.31942702700572795}\\ \mathbf{if}\;z \leq -1.1 \cdot 10^{+93}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq -12.8:\\ \;\;\;\;x + \frac{y}{z} \cdot \frac{t}{z}\\ \mathbf{elif}\;z \leq 1.4 \cdot 10^{+20}:\\ \;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot \left(11.1667541262 + z \cdot 3.13060547623\right)\right)\right)\right)}{0.607771387771 + z \cdot 11.9400905721}\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b)
 :precision binary64
 (let* ((t_1 (+ x (/ y 0.31942702700572795))))
   (if (<= z -1.1e+93)
     t_1
     (if (<= z -12.8)
       (+ x (* (/ y z) (/ t z)))
       (if (<= z 1.4e+20)
         (+
          x
          (/
           (*
            y
            (+
             b
             (*
              z
              (+ a (* z (+ t (* z (+ 11.1667541262 (* z 3.13060547623)))))))))
           (+ 0.607771387771 (* z 11.9400905721))))
         t_1)))))
double code(double x, double y, double z, double t, double a, double b) {
	double t_1 = x + (y / 0.31942702700572795);
	double tmp;
	if (z <= -1.1e+93) {
		tmp = t_1;
	} else if (z <= -12.8) {
		tmp = x + ((y / z) * (t / z));
	} else if (z <= 1.4e+20) {
		tmp = x + ((y * (b + (z * (a + (z * (t + (z * (11.1667541262 + (z * 3.13060547623))))))))) / (0.607771387771 + (z * 11.9400905721)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b)
    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) :: t_1
    real(8) :: tmp
    t_1 = x + (y / 0.31942702700572795d0)
    if (z <= (-1.1d+93)) then
        tmp = t_1
    else if (z <= (-12.8d0)) then
        tmp = x + ((y / z) * (t / z))
    else if (z <= 1.4d+20) then
        tmp = x + ((y * (b + (z * (a + (z * (t + (z * (11.1667541262d0 + (z * 3.13060547623d0))))))))) / (0.607771387771d0 + (z * 11.9400905721d0)))
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
	double t_1 = x + (y / 0.31942702700572795);
	double tmp;
	if (z <= -1.1e+93) {
		tmp = t_1;
	} else if (z <= -12.8) {
		tmp = x + ((y / z) * (t / z));
	} else if (z <= 1.4e+20) {
		tmp = x + ((y * (b + (z * (a + (z * (t + (z * (11.1667541262 + (z * 3.13060547623))))))))) / (0.607771387771 + (z * 11.9400905721)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b):
	t_1 = x + (y / 0.31942702700572795)
	tmp = 0
	if z <= -1.1e+93:
		tmp = t_1
	elif z <= -12.8:
		tmp = x + ((y / z) * (t / z))
	elif z <= 1.4e+20:
		tmp = x + ((y * (b + (z * (a + (z * (t + (z * (11.1667541262 + (z * 3.13060547623))))))))) / (0.607771387771 + (z * 11.9400905721)))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b)
	t_1 = Float64(x + Float64(y / 0.31942702700572795))
	tmp = 0.0
	if (z <= -1.1e+93)
		tmp = t_1;
	elseif (z <= -12.8)
		tmp = Float64(x + Float64(Float64(y / z) * Float64(t / z)));
	elseif (z <= 1.4e+20)
		tmp = Float64(x + Float64(Float64(y * Float64(b + Float64(z * Float64(a + Float64(z * Float64(t + Float64(z * Float64(11.1667541262 + Float64(z * 3.13060547623))))))))) / Float64(0.607771387771 + Float64(z * 11.9400905721))));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b)
	t_1 = x + (y / 0.31942702700572795);
	tmp = 0.0;
	if (z <= -1.1e+93)
		tmp = t_1;
	elseif (z <= -12.8)
		tmp = x + ((y / z) * (t / z));
	elseif (z <= 1.4e+20)
		tmp = x + ((y * (b + (z * (a + (z * (t + (z * (11.1667541262 + (z * 3.13060547623))))))))) / (0.607771387771 + (z * 11.9400905721)));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(x + N[(y / 0.31942702700572795), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -1.1e+93], t$95$1, If[LessEqual[z, -12.8], N[(x + N[(N[(y / z), $MachinePrecision] * N[(t / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.4e+20], N[(x + N[(N[(y * N[(b + N[(z * N[(a + N[(z * N[(t + N[(z * N[(11.1667541262 + N[(z * 3.13060547623), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(0.607771387771 + N[(z * 11.9400905721), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := x + \frac{y}{0.31942702700572795}\\
\mathbf{if}\;z \leq -1.1 \cdot 10^{+93}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;z \leq -12.8:\\
\;\;\;\;x + \frac{y}{z} \cdot \frac{t}{z}\\

\mathbf{elif}\;z \leq 1.4 \cdot 10^{+20}:\\
\;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot \left(11.1667541262 + z \cdot 3.13060547623\right)\right)\right)\right)}{0.607771387771 + z \cdot 11.9400905721}\\

\mathbf{else}:\\
\;\;\;\;t_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if z < -1.10000000000000011e93 or 1.4e20 < z

    1. Initial program 5.9%

      \[x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    2. Step-by-step derivation
      1. associate-/l*9.3%

        \[\leadsto x + \color{blue}{\frac{y}{\frac{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}}} \]
      2. fma-def9.3%

        \[\leadsto x + \frac{y}{\frac{\color{blue}{\mathsf{fma}\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721, z, 0.607771387771\right)}}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      3. fma-def9.3%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749, z, 11.9400905721\right)}, z, 0.607771387771\right)}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      4. fma-def9.3%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right)}, z, 11.9400905721\right), z, 0.607771387771\right)}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      5. fma-def9.3%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\color{blue}{\mathsf{fma}\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a, z, b\right)}}} \]
      6. fma-def9.3%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t, z, a\right)}, z, b\right)}} \]
      7. fma-def9.3%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z \cdot 3.13060547623 + 11.1667541262, z, t\right)}, z, a\right), z, b\right)}} \]
      8. fma-def9.3%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right)}, z, t\right), z, a\right), z, b\right)}} \]
    3. Simplified9.3%

      \[\leadsto \color{blue}{x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right), z, t\right), z, a\right), z, b\right)}}} \]
    4. Taylor expanded in z around inf 92.0%

      \[\leadsto x + \frac{y}{\color{blue}{0.31942702700572795}} \]

    if -1.10000000000000011e93 < z < -12.800000000000001

    1. Initial program 49.4%

      \[x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    2. Taylor expanded in t around inf 48.9%

      \[\leadsto x + \frac{\color{blue}{y \cdot \left(t \cdot {z}^{2}\right)}}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    3. Step-by-step derivation
      1. unpow248.9%

        \[\leadsto x + \frac{y \cdot \left(t \cdot \color{blue}{\left(z \cdot z\right)}\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
      2. associate-*r*48.8%

        \[\leadsto x + \frac{y \cdot \color{blue}{\left(\left(t \cdot z\right) \cdot z\right)}}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
      3. *-commutative48.8%

        \[\leadsto x + \frac{y \cdot \left(\color{blue}{\left(z \cdot t\right)} \cdot z\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    4. Simplified48.8%

      \[\leadsto x + \frac{\color{blue}{y \cdot \left(\left(z \cdot t\right) \cdot z\right)}}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    5. Taylor expanded in z around inf 71.9%

      \[\leadsto x + \color{blue}{\frac{y \cdot t}{{z}^{2}}} \]
    6. Step-by-step derivation
      1. unpow271.9%

        \[\leadsto x + \frac{y \cdot t}{\color{blue}{z \cdot z}} \]
    7. Simplified71.9%

      \[\leadsto x + \color{blue}{\frac{y \cdot t}{z \cdot z}} \]
    8. Taylor expanded in y around 0 71.9%

      \[\leadsto x + \color{blue}{\frac{y \cdot t}{{z}^{2}}} \]
    9. Step-by-step derivation
      1. unpow271.9%

        \[\leadsto x + \frac{y \cdot t}{\color{blue}{z \cdot z}} \]
      2. times-frac75.4%

        \[\leadsto x + \color{blue}{\frac{y}{z} \cdot \frac{t}{z}} \]
    10. Simplified75.4%

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

    if -12.800000000000001 < z < 1.4e20

    1. Initial program 98.9%

      \[x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    2. Taylor expanded in z around 0 96.8%

      \[\leadsto x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\color{blue}{11.9400905721 \cdot z} + 0.607771387771} \]
    3. Step-by-step derivation
      1. *-commutative96.8%

        \[\leadsto x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\color{blue}{z \cdot 11.9400905721} + 0.607771387771} \]
    4. Simplified96.8%

      \[\leadsto x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\color{blue}{z \cdot 11.9400905721} + 0.607771387771} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification92.8%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -1.1 \cdot 10^{+93}:\\ \;\;\;\;x + \frac{y}{0.31942702700572795}\\ \mathbf{elif}\;z \leq -12.8:\\ \;\;\;\;x + \frac{y}{z} \cdot \frac{t}{z}\\ \mathbf{elif}\;z \leq 1.4 \cdot 10^{+20}:\\ \;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot \left(11.1667541262 + z \cdot 3.13060547623\right)\right)\right)\right)}{0.607771387771 + z \cdot 11.9400905721}\\ \mathbf{else}:\\ \;\;\;\;x + \frac{y}{0.31942702700572795}\\ \end{array} \]

Alternative 9: 86.1% accurate, 1.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := x + \frac{y}{0.31942702700572795}\\ \mathbf{if}\;z \leq -3.15 \cdot 10^{+94}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq -1.56:\\ \;\;\;\;x + \frac{y}{z} \cdot \frac{t}{z}\\ \mathbf{elif}\;z \leq 8.2 \cdot 10^{+19}:\\ \;\;\;\;x + \left(z \cdot \left(y \cdot \left(a \cdot 1.6453555072203998\right)\right) + 1.6453555072203998 \cdot \left(y \cdot b\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b)
 :precision binary64
 (let* ((t_1 (+ x (/ y 0.31942702700572795))))
   (if (<= z -3.15e+94)
     t_1
     (if (<= z -1.56)
       (+ x (* (/ y z) (/ t z)))
       (if (<= z 8.2e+19)
         (+
          x
          (+
           (* z (* y (* a 1.6453555072203998)))
           (* 1.6453555072203998 (* y b))))
         t_1)))))
double code(double x, double y, double z, double t, double a, double b) {
	double t_1 = x + (y / 0.31942702700572795);
	double tmp;
	if (z <= -3.15e+94) {
		tmp = t_1;
	} else if (z <= -1.56) {
		tmp = x + ((y / z) * (t / z));
	} else if (z <= 8.2e+19) {
		tmp = x + ((z * (y * (a * 1.6453555072203998))) + (1.6453555072203998 * (y * b)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b)
    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) :: t_1
    real(8) :: tmp
    t_1 = x + (y / 0.31942702700572795d0)
    if (z <= (-3.15d+94)) then
        tmp = t_1
    else if (z <= (-1.56d0)) then
        tmp = x + ((y / z) * (t / z))
    else if (z <= 8.2d+19) then
        tmp = x + ((z * (y * (a * 1.6453555072203998d0))) + (1.6453555072203998d0 * (y * b)))
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
	double t_1 = x + (y / 0.31942702700572795);
	double tmp;
	if (z <= -3.15e+94) {
		tmp = t_1;
	} else if (z <= -1.56) {
		tmp = x + ((y / z) * (t / z));
	} else if (z <= 8.2e+19) {
		tmp = x + ((z * (y * (a * 1.6453555072203998))) + (1.6453555072203998 * (y * b)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b):
	t_1 = x + (y / 0.31942702700572795)
	tmp = 0
	if z <= -3.15e+94:
		tmp = t_1
	elif z <= -1.56:
		tmp = x + ((y / z) * (t / z))
	elif z <= 8.2e+19:
		tmp = x + ((z * (y * (a * 1.6453555072203998))) + (1.6453555072203998 * (y * b)))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b)
	t_1 = Float64(x + Float64(y / 0.31942702700572795))
	tmp = 0.0
	if (z <= -3.15e+94)
		tmp = t_1;
	elseif (z <= -1.56)
		tmp = Float64(x + Float64(Float64(y / z) * Float64(t / z)));
	elseif (z <= 8.2e+19)
		tmp = Float64(x + Float64(Float64(z * Float64(y * Float64(a * 1.6453555072203998))) + Float64(1.6453555072203998 * Float64(y * b))));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b)
	t_1 = x + (y / 0.31942702700572795);
	tmp = 0.0;
	if (z <= -3.15e+94)
		tmp = t_1;
	elseif (z <= -1.56)
		tmp = x + ((y / z) * (t / z));
	elseif (z <= 8.2e+19)
		tmp = x + ((z * (y * (a * 1.6453555072203998))) + (1.6453555072203998 * (y * b)));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(x + N[(y / 0.31942702700572795), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -3.15e+94], t$95$1, If[LessEqual[z, -1.56], N[(x + N[(N[(y / z), $MachinePrecision] * N[(t / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 8.2e+19], N[(x + N[(N[(z * N[(y * N[(a * 1.6453555072203998), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(1.6453555072203998 * N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := x + \frac{y}{0.31942702700572795}\\
\mathbf{if}\;z \leq -3.15 \cdot 10^{+94}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;z \leq -1.56:\\
\;\;\;\;x + \frac{y}{z} \cdot \frac{t}{z}\\

\mathbf{elif}\;z \leq 8.2 \cdot 10^{+19}:\\
\;\;\;\;x + \left(z \cdot \left(y \cdot \left(a \cdot 1.6453555072203998\right)\right) + 1.6453555072203998 \cdot \left(y \cdot b\right)\right)\\

\mathbf{else}:\\
\;\;\;\;t_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if z < -3.15e94 or 8.2e19 < z

    1. Initial program 5.9%

      \[x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    2. Step-by-step derivation
      1. associate-/l*9.3%

        \[\leadsto x + \color{blue}{\frac{y}{\frac{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}}} \]
      2. fma-def9.3%

        \[\leadsto x + \frac{y}{\frac{\color{blue}{\mathsf{fma}\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721, z, 0.607771387771\right)}}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      3. fma-def9.3%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749, z, 11.9400905721\right)}, z, 0.607771387771\right)}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      4. fma-def9.3%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right)}, z, 11.9400905721\right), z, 0.607771387771\right)}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      5. fma-def9.3%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\color{blue}{\mathsf{fma}\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a, z, b\right)}}} \]
      6. fma-def9.3%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t, z, a\right)}, z, b\right)}} \]
      7. fma-def9.3%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z \cdot 3.13060547623 + 11.1667541262, z, t\right)}, z, a\right), z, b\right)}} \]
      8. fma-def9.3%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right)}, z, t\right), z, a\right), z, b\right)}} \]
    3. Simplified9.3%

      \[\leadsto \color{blue}{x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right), z, t\right), z, a\right), z, b\right)}}} \]
    4. Taylor expanded in z around inf 92.0%

      \[\leadsto x + \frac{y}{\color{blue}{0.31942702700572795}} \]

    if -3.15e94 < z < -1.5600000000000001

    1. Initial program 49.4%

      \[x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    2. Taylor expanded in t around inf 48.9%

      \[\leadsto x + \frac{\color{blue}{y \cdot \left(t \cdot {z}^{2}\right)}}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    3. Step-by-step derivation
      1. unpow248.9%

        \[\leadsto x + \frac{y \cdot \left(t \cdot \color{blue}{\left(z \cdot z\right)}\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
      2. associate-*r*48.8%

        \[\leadsto x + \frac{y \cdot \color{blue}{\left(\left(t \cdot z\right) \cdot z\right)}}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
      3. *-commutative48.8%

        \[\leadsto x + \frac{y \cdot \left(\color{blue}{\left(z \cdot t\right)} \cdot z\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    4. Simplified48.8%

      \[\leadsto x + \frac{\color{blue}{y \cdot \left(\left(z \cdot t\right) \cdot z\right)}}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    5. Taylor expanded in z around inf 71.9%

      \[\leadsto x + \color{blue}{\frac{y \cdot t}{{z}^{2}}} \]
    6. Step-by-step derivation
      1. unpow271.9%

        \[\leadsto x + \frac{y \cdot t}{\color{blue}{z \cdot z}} \]
    7. Simplified71.9%

      \[\leadsto x + \color{blue}{\frac{y \cdot t}{z \cdot z}} \]
    8. Taylor expanded in y around 0 71.9%

      \[\leadsto x + \color{blue}{\frac{y \cdot t}{{z}^{2}}} \]
    9. Step-by-step derivation
      1. unpow271.9%

        \[\leadsto x + \frac{y \cdot t}{\color{blue}{z \cdot z}} \]
      2. times-frac75.4%

        \[\leadsto x + \color{blue}{\frac{y}{z} \cdot \frac{t}{z}} \]
    10. Simplified75.4%

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

    if -1.5600000000000001 < z < 8.2e19

    1. Initial program 98.9%

      \[x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    2. Step-by-step derivation
      1. associate-*l/98.9%

        \[\leadsto x + \color{blue}{\frac{y}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)} \]
      2. *-commutative98.9%

        \[\leadsto x + \frac{y}{\color{blue}{z \cdot \left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right)} + 0.607771387771} \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right) \]
      3. fma-def98.9%

        \[\leadsto x + \frac{y}{\color{blue}{\mathsf{fma}\left(z, \left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721, 0.607771387771\right)}} \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right) \]
      4. *-commutative98.9%

        \[\leadsto x + \frac{y}{\mathsf{fma}\left(z, \color{blue}{z \cdot \left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right)} + 11.9400905721, 0.607771387771\right)} \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right) \]
      5. fma-def98.9%

        \[\leadsto x + \frac{y}{\mathsf{fma}\left(z, \color{blue}{\mathsf{fma}\left(z, \left(z + 15.234687407\right) \cdot z + 31.4690115749, 11.9400905721\right)}, 0.607771387771\right)} \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right) \]
      6. *-commutative98.9%

        \[\leadsto x + \frac{y}{\mathsf{fma}\left(z, \mathsf{fma}\left(z, \color{blue}{z \cdot \left(z + 15.234687407\right)} + 31.4690115749, 11.9400905721\right), 0.607771387771\right)} \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right) \]
      7. fma-def98.9%

        \[\leadsto x + \frac{y}{\mathsf{fma}\left(z, \mathsf{fma}\left(z, \color{blue}{\mathsf{fma}\left(z, z + 15.234687407, 31.4690115749\right)}, 11.9400905721\right), 0.607771387771\right)} \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right) \]
      8. *-commutative98.9%

        \[\leadsto x + \frac{y}{\mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, z + 15.234687407, 31.4690115749\right), 11.9400905721\right), 0.607771387771\right)} \cdot \left(\color{blue}{z \cdot \left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right)} + b\right) \]
      9. fma-def98.9%

        \[\leadsto x + \frac{y}{\mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, z + 15.234687407, 31.4690115749\right), 11.9400905721\right), 0.607771387771\right)} \cdot \color{blue}{\mathsf{fma}\left(z, \left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a, b\right)} \]
    3. Simplified98.9%

      \[\leadsto \color{blue}{x + \frac{y}{\mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, z + 15.234687407, 31.4690115749\right), 11.9400905721\right), 0.607771387771\right)} \cdot \mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right), t\right), a\right), b\right)} \]
    4. Taylor expanded in z around 0 79.4%

      \[\leadsto x + \color{blue}{\left(\left(1.6453555072203998 \cdot \left(y \cdot a\right) - 32.324150453290734 \cdot \left(y \cdot b\right)\right) \cdot z + 1.6453555072203998 \cdot \left(y \cdot b\right)\right)} \]
    5. Taylor expanded in a around inf 83.5%

      \[\leadsto x + \left(\color{blue}{\left(1.6453555072203998 \cdot \left(a \cdot y\right)\right)} \cdot z + 1.6453555072203998 \cdot \left(y \cdot b\right)\right) \]
    6. Step-by-step derivation
      1. associate-*r*83.5%

        \[\leadsto x + \left(\color{blue}{\left(\left(1.6453555072203998 \cdot a\right) \cdot y\right)} \cdot z + 1.6453555072203998 \cdot \left(y \cdot b\right)\right) \]
    7. Simplified83.5%

      \[\leadsto x + \left(\color{blue}{\left(\left(1.6453555072203998 \cdot a\right) \cdot y\right)} \cdot z + 1.6453555072203998 \cdot \left(y \cdot b\right)\right) \]
  3. Recombined 3 regimes into one program.
  4. Final simplification86.4%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -3.15 \cdot 10^{+94}:\\ \;\;\;\;x + \frac{y}{0.31942702700572795}\\ \mathbf{elif}\;z \leq -1.56:\\ \;\;\;\;x + \frac{y}{z} \cdot \frac{t}{z}\\ \mathbf{elif}\;z \leq 8.2 \cdot 10^{+19}:\\ \;\;\;\;x + \left(z \cdot \left(y \cdot \left(a \cdot 1.6453555072203998\right)\right) + 1.6453555072203998 \cdot \left(y \cdot b\right)\right)\\ \mathbf{else}:\\ \;\;\;\;x + \frac{y}{0.31942702700572795}\\ \end{array} \]

Alternative 10: 89.9% accurate, 1.8× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -6 \cdot 10^{+53} \lor \neg \left(z \leq 2300000\right):\\ \;\;\;\;x + \frac{y}{0.31942702700572795}\\ \mathbf{else}:\\ \;\;\;\;x + y \cdot \left(z \cdot \left(a \cdot 1.6453555072203998 - b \cdot 32.324150453290734\right) + b \cdot 1.6453555072203998\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b)
 :precision binary64
 (if (or (<= z -6e+53) (not (<= z 2300000.0)))
   (+ x (/ y 0.31942702700572795))
   (+
    x
    (*
     y
     (+
      (* z (- (* a 1.6453555072203998) (* b 32.324150453290734)))
      (* b 1.6453555072203998))))))
double code(double x, double y, double z, double t, double a, double b) {
	double tmp;
	if ((z <= -6e+53) || !(z <= 2300000.0)) {
		tmp = x + (y / 0.31942702700572795);
	} else {
		tmp = x + (y * ((z * ((a * 1.6453555072203998) - (b * 32.324150453290734))) + (b * 1.6453555072203998)));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b)
    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) :: tmp
    if ((z <= (-6d+53)) .or. (.not. (z <= 2300000.0d0))) then
        tmp = x + (y / 0.31942702700572795d0)
    else
        tmp = x + (y * ((z * ((a * 1.6453555072203998d0) - (b * 32.324150453290734d0))) + (b * 1.6453555072203998d0)))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
	double tmp;
	if ((z <= -6e+53) || !(z <= 2300000.0)) {
		tmp = x + (y / 0.31942702700572795);
	} else {
		tmp = x + (y * ((z * ((a * 1.6453555072203998) - (b * 32.324150453290734))) + (b * 1.6453555072203998)));
	}
	return tmp;
}
def code(x, y, z, t, a, b):
	tmp = 0
	if (z <= -6e+53) or not (z <= 2300000.0):
		tmp = x + (y / 0.31942702700572795)
	else:
		tmp = x + (y * ((z * ((a * 1.6453555072203998) - (b * 32.324150453290734))) + (b * 1.6453555072203998)))
	return tmp
function code(x, y, z, t, a, b)
	tmp = 0.0
	if ((z <= -6e+53) || !(z <= 2300000.0))
		tmp = Float64(x + Float64(y / 0.31942702700572795));
	else
		tmp = Float64(x + Float64(y * Float64(Float64(z * Float64(Float64(a * 1.6453555072203998) - Float64(b * 32.324150453290734))) + Float64(b * 1.6453555072203998))));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b)
	tmp = 0.0;
	if ((z <= -6e+53) || ~((z <= 2300000.0)))
		tmp = x + (y / 0.31942702700572795);
	else
		tmp = x + (y * ((z * ((a * 1.6453555072203998) - (b * 32.324150453290734))) + (b * 1.6453555072203998)));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -6e+53], N[Not[LessEqual[z, 2300000.0]], $MachinePrecision]], N[(x + N[(y / 0.31942702700572795), $MachinePrecision]), $MachinePrecision], N[(x + N[(y * N[(N[(z * N[(N[(a * 1.6453555072203998), $MachinePrecision] - N[(b * 32.324150453290734), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * 1.6453555072203998), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;z \leq -6 \cdot 10^{+53} \lor \neg \left(z \leq 2300000\right):\\
\;\;\;\;x + \frac{y}{0.31942702700572795}\\

\mathbf{else}:\\
\;\;\;\;x + y \cdot \left(z \cdot \left(a \cdot 1.6453555072203998 - b \cdot 32.324150453290734\right) + b \cdot 1.6453555072203998\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if z < -5.99999999999999996e53 or 2.3e6 < z

    1. Initial program 8.6%

      \[x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    2. Step-by-step derivation
      1. associate-/l*13.9%

        \[\leadsto x + \color{blue}{\frac{y}{\frac{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}}} \]
      2. fma-def13.9%

        \[\leadsto x + \frac{y}{\frac{\color{blue}{\mathsf{fma}\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721, z, 0.607771387771\right)}}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      3. fma-def13.9%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749, z, 11.9400905721\right)}, z, 0.607771387771\right)}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      4. fma-def13.9%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right)}, z, 11.9400905721\right), z, 0.607771387771\right)}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      5. fma-def13.9%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\color{blue}{\mathsf{fma}\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a, z, b\right)}}} \]
      6. fma-def13.9%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t, z, a\right)}, z, b\right)}} \]
      7. fma-def13.9%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z \cdot 3.13060547623 + 11.1667541262, z, t\right)}, z, a\right), z, b\right)}} \]
      8. fma-def13.9%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right)}, z, t\right), z, a\right), z, b\right)}} \]
    3. Simplified13.9%

      \[\leadsto \color{blue}{x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right), z, t\right), z, a\right), z, b\right)}}} \]
    4. Taylor expanded in z around inf 86.8%

      \[\leadsto x + \frac{y}{\color{blue}{0.31942702700572795}} \]

    if -5.99999999999999996e53 < z < 2.3e6

    1. Initial program 98.3%

      \[x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    2. Step-by-step derivation
      1. associate-*l/99.0%

        \[\leadsto x + \color{blue}{\frac{y}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)} \]
      2. *-commutative99.0%

        \[\leadsto x + \frac{y}{\color{blue}{z \cdot \left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right)} + 0.607771387771} \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right) \]
      3. fma-def99.0%

        \[\leadsto x + \frac{y}{\color{blue}{\mathsf{fma}\left(z, \left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721, 0.607771387771\right)}} \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right) \]
      4. *-commutative99.0%

        \[\leadsto x + \frac{y}{\mathsf{fma}\left(z, \color{blue}{z \cdot \left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right)} + 11.9400905721, 0.607771387771\right)} \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right) \]
      5. fma-def99.0%

        \[\leadsto x + \frac{y}{\mathsf{fma}\left(z, \color{blue}{\mathsf{fma}\left(z, \left(z + 15.234687407\right) \cdot z + 31.4690115749, 11.9400905721\right)}, 0.607771387771\right)} \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right) \]
      6. *-commutative99.0%

        \[\leadsto x + \frac{y}{\mathsf{fma}\left(z, \mathsf{fma}\left(z, \color{blue}{z \cdot \left(z + 15.234687407\right)} + 31.4690115749, 11.9400905721\right), 0.607771387771\right)} \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right) \]
      7. fma-def99.0%

        \[\leadsto x + \frac{y}{\mathsf{fma}\left(z, \mathsf{fma}\left(z, \color{blue}{\mathsf{fma}\left(z, z + 15.234687407, 31.4690115749\right)}, 11.9400905721\right), 0.607771387771\right)} \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right) \]
      8. *-commutative99.0%

        \[\leadsto x + \frac{y}{\mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, z + 15.234687407, 31.4690115749\right), 11.9400905721\right), 0.607771387771\right)} \cdot \left(\color{blue}{z \cdot \left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right)} + b\right) \]
      9. fma-def99.0%

        \[\leadsto x + \frac{y}{\mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, z + 15.234687407, 31.4690115749\right), 11.9400905721\right), 0.607771387771\right)} \cdot \color{blue}{\mathsf{fma}\left(z, \left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a, b\right)} \]
    3. Simplified99.0%

      \[\leadsto \color{blue}{x + \frac{y}{\mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, z + 15.234687407, 31.4690115749\right), 11.9400905721\right), 0.607771387771\right)} \cdot \mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right), t\right), a\right), b\right)} \]
    4. Taylor expanded in z around 0 79.2%

      \[\leadsto x + \color{blue}{\left(\left(1.6453555072203998 \cdot \left(y \cdot a\right) - 32.324150453290734 \cdot \left(y \cdot b\right)\right) \cdot z + 1.6453555072203998 \cdot \left(y \cdot b\right)\right)} \]
    5. Taylor expanded in y around 0 89.4%

      \[\leadsto x + \color{blue}{y \cdot \left(\left(1.6453555072203998 \cdot a - 32.324150453290734 \cdot b\right) \cdot z + 1.6453555072203998 \cdot b\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification88.1%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -6 \cdot 10^{+53} \lor \neg \left(z \leq 2300000\right):\\ \;\;\;\;x + \frac{y}{0.31942702700572795}\\ \mathbf{else}:\\ \;\;\;\;x + y \cdot \left(z \cdot \left(a \cdot 1.6453555072203998 - b \cdot 32.324150453290734\right) + b \cdot 1.6453555072203998\right)\\ \end{array} \]

Alternative 11: 83.1% accurate, 2.8× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := x + \frac{y}{0.31942702700572795}\\ \mathbf{if}\;z \leq -1.02 \cdot 10^{+96}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq -0.43:\\ \;\;\;\;x + \frac{y}{z} \cdot \frac{t}{z}\\ \mathbf{elif}\;z \leq 1.16 \cdot 10^{-24}:\\ \;\;\;\;x + 1.6453555072203998 \cdot \left(y \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b)
 :precision binary64
 (let* ((t_1 (+ x (/ y 0.31942702700572795))))
   (if (<= z -1.02e+96)
     t_1
     (if (<= z -0.43)
       (+ x (* (/ y z) (/ t z)))
       (if (<= z 1.16e-24) (+ x (* 1.6453555072203998 (* y b))) t_1)))))
double code(double x, double y, double z, double t, double a, double b) {
	double t_1 = x + (y / 0.31942702700572795);
	double tmp;
	if (z <= -1.02e+96) {
		tmp = t_1;
	} else if (z <= -0.43) {
		tmp = x + ((y / z) * (t / z));
	} else if (z <= 1.16e-24) {
		tmp = x + (1.6453555072203998 * (y * b));
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b)
    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) :: t_1
    real(8) :: tmp
    t_1 = x + (y / 0.31942702700572795d0)
    if (z <= (-1.02d+96)) then
        tmp = t_1
    else if (z <= (-0.43d0)) then
        tmp = x + ((y / z) * (t / z))
    else if (z <= 1.16d-24) then
        tmp = x + (1.6453555072203998d0 * (y * b))
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
	double t_1 = x + (y / 0.31942702700572795);
	double tmp;
	if (z <= -1.02e+96) {
		tmp = t_1;
	} else if (z <= -0.43) {
		tmp = x + ((y / z) * (t / z));
	} else if (z <= 1.16e-24) {
		tmp = x + (1.6453555072203998 * (y * b));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b):
	t_1 = x + (y / 0.31942702700572795)
	tmp = 0
	if z <= -1.02e+96:
		tmp = t_1
	elif z <= -0.43:
		tmp = x + ((y / z) * (t / z))
	elif z <= 1.16e-24:
		tmp = x + (1.6453555072203998 * (y * b))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b)
	t_1 = Float64(x + Float64(y / 0.31942702700572795))
	tmp = 0.0
	if (z <= -1.02e+96)
		tmp = t_1;
	elseif (z <= -0.43)
		tmp = Float64(x + Float64(Float64(y / z) * Float64(t / z)));
	elseif (z <= 1.16e-24)
		tmp = Float64(x + Float64(1.6453555072203998 * Float64(y * b)));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b)
	t_1 = x + (y / 0.31942702700572795);
	tmp = 0.0;
	if (z <= -1.02e+96)
		tmp = t_1;
	elseif (z <= -0.43)
		tmp = x + ((y / z) * (t / z));
	elseif (z <= 1.16e-24)
		tmp = x + (1.6453555072203998 * (y * b));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(x + N[(y / 0.31942702700572795), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -1.02e+96], t$95$1, If[LessEqual[z, -0.43], N[(x + N[(N[(y / z), $MachinePrecision] * N[(t / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.16e-24], N[(x + N[(1.6453555072203998 * N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := x + \frac{y}{0.31942702700572795}\\
\mathbf{if}\;z \leq -1.02 \cdot 10^{+96}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;z \leq -0.43:\\
\;\;\;\;x + \frac{y}{z} \cdot \frac{t}{z}\\

\mathbf{elif}\;z \leq 1.16 \cdot 10^{-24}:\\
\;\;\;\;x + 1.6453555072203998 \cdot \left(y \cdot b\right)\\

\mathbf{else}:\\
\;\;\;\;t_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if z < -1.02000000000000001e96 or 1.16e-24 < z

    1. Initial program 13.7%

      \[x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    2. Step-by-step derivation
      1. associate-/l*16.8%

        \[\leadsto x + \color{blue}{\frac{y}{\frac{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}}} \]
      2. fma-def16.8%

        \[\leadsto x + \frac{y}{\frac{\color{blue}{\mathsf{fma}\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721, z, 0.607771387771\right)}}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      3. fma-def16.8%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749, z, 11.9400905721\right)}, z, 0.607771387771\right)}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      4. fma-def16.8%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right)}, z, 11.9400905721\right), z, 0.607771387771\right)}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      5. fma-def16.8%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\color{blue}{\mathsf{fma}\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a, z, b\right)}}} \]
      6. fma-def16.8%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t, z, a\right)}, z, b\right)}} \]
      7. fma-def16.8%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z \cdot 3.13060547623 + 11.1667541262, z, t\right)}, z, a\right), z, b\right)}} \]
      8. fma-def16.8%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right)}, z, t\right), z, a\right), z, b\right)}} \]
    3. Simplified16.8%

      \[\leadsto \color{blue}{x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right), z, t\right), z, a\right), z, b\right)}}} \]
    4. Taylor expanded in z around inf 85.5%

      \[\leadsto x + \frac{y}{\color{blue}{0.31942702700572795}} \]

    if -1.02000000000000001e96 < z < -0.429999999999999993

    1. Initial program 49.4%

      \[x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    2. Taylor expanded in t around inf 48.9%

      \[\leadsto x + \frac{\color{blue}{y \cdot \left(t \cdot {z}^{2}\right)}}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    3. Step-by-step derivation
      1. unpow248.9%

        \[\leadsto x + \frac{y \cdot \left(t \cdot \color{blue}{\left(z \cdot z\right)}\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
      2. associate-*r*48.8%

        \[\leadsto x + \frac{y \cdot \color{blue}{\left(\left(t \cdot z\right) \cdot z\right)}}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
      3. *-commutative48.8%

        \[\leadsto x + \frac{y \cdot \left(\color{blue}{\left(z \cdot t\right)} \cdot z\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    4. Simplified48.8%

      \[\leadsto x + \frac{\color{blue}{y \cdot \left(\left(z \cdot t\right) \cdot z\right)}}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    5. Taylor expanded in z around inf 71.9%

      \[\leadsto x + \color{blue}{\frac{y \cdot t}{{z}^{2}}} \]
    6. Step-by-step derivation
      1. unpow271.9%

        \[\leadsto x + \frac{y \cdot t}{\color{blue}{z \cdot z}} \]
    7. Simplified71.9%

      \[\leadsto x + \color{blue}{\frac{y \cdot t}{z \cdot z}} \]
    8. Taylor expanded in y around 0 71.9%

      \[\leadsto x + \color{blue}{\frac{y \cdot t}{{z}^{2}}} \]
    9. Step-by-step derivation
      1. unpow271.9%

        \[\leadsto x + \frac{y \cdot t}{\color{blue}{z \cdot z}} \]
      2. times-frac75.4%

        \[\leadsto x + \color{blue}{\frac{y}{z} \cdot \frac{t}{z}} \]
    10. Simplified75.4%

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

    if -0.429999999999999993 < z < 1.16e-24

    1. Initial program 99.7%

      \[x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    2. Step-by-step derivation
      1. associate-*l/99.7%

        \[\leadsto x + \color{blue}{\frac{y}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)} \]
      2. *-commutative99.7%

        \[\leadsto x + \frac{y}{\color{blue}{z \cdot \left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right)} + 0.607771387771} \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right) \]
      3. fma-def99.7%

        \[\leadsto x + \frac{y}{\color{blue}{\mathsf{fma}\left(z, \left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721, 0.607771387771\right)}} \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right) \]
      4. *-commutative99.7%

        \[\leadsto x + \frac{y}{\mathsf{fma}\left(z, \color{blue}{z \cdot \left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right)} + 11.9400905721, 0.607771387771\right)} \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right) \]
      5. fma-def99.7%

        \[\leadsto x + \frac{y}{\mathsf{fma}\left(z, \color{blue}{\mathsf{fma}\left(z, \left(z + 15.234687407\right) \cdot z + 31.4690115749, 11.9400905721\right)}, 0.607771387771\right)} \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right) \]
      6. *-commutative99.7%

        \[\leadsto x + \frac{y}{\mathsf{fma}\left(z, \mathsf{fma}\left(z, \color{blue}{z \cdot \left(z + 15.234687407\right)} + 31.4690115749, 11.9400905721\right), 0.607771387771\right)} \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right) \]
      7. fma-def99.7%

        \[\leadsto x + \frac{y}{\mathsf{fma}\left(z, \mathsf{fma}\left(z, \color{blue}{\mathsf{fma}\left(z, z + 15.234687407, 31.4690115749\right)}, 11.9400905721\right), 0.607771387771\right)} \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right) \]
      8. *-commutative99.7%

        \[\leadsto x + \frac{y}{\mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, z + 15.234687407, 31.4690115749\right), 11.9400905721\right), 0.607771387771\right)} \cdot \left(\color{blue}{z \cdot \left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right)} + b\right) \]
      9. fma-def99.7%

        \[\leadsto x + \frac{y}{\mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, z + 15.234687407, 31.4690115749\right), 11.9400905721\right), 0.607771387771\right)} \cdot \color{blue}{\mathsf{fma}\left(z, \left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a, b\right)} \]
    3. Simplified99.7%

      \[\leadsto \color{blue}{x + \frac{y}{\mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, z + 15.234687407, 31.4690115749\right), 11.9400905721\right), 0.607771387771\right)} \cdot \mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right), t\right), a\right), b\right)} \]
    4. Taylor expanded in z around 0 84.5%

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -1.02 \cdot 10^{+96}:\\ \;\;\;\;x + \frac{y}{0.31942702700572795}\\ \mathbf{elif}\;z \leq -0.43:\\ \;\;\;\;x + \frac{y}{z} \cdot \frac{t}{z}\\ \mathbf{elif}\;z \leq 1.16 \cdot 10^{-24}:\\ \;\;\;\;x + 1.6453555072203998 \cdot \left(y \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;x + \frac{y}{0.31942702700572795}\\ \end{array} \]

Alternative 12: 83.2% accurate, 3.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -6.5 \cdot 10^{+15} \lor \neg \left(z \leq 1.16 \cdot 10^{-24}\right):\\ \;\;\;\;x + \frac{y}{0.31942702700572795}\\ \mathbf{else}:\\ \;\;\;\;x + 1.6453555072203998 \cdot \left(y \cdot b\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b)
 :precision binary64
 (if (or (<= z -6.5e+15) (not (<= z 1.16e-24)))
   (+ x (/ y 0.31942702700572795))
   (+ x (* 1.6453555072203998 (* y b)))))
double code(double x, double y, double z, double t, double a, double b) {
	double tmp;
	if ((z <= -6.5e+15) || !(z <= 1.16e-24)) {
		tmp = x + (y / 0.31942702700572795);
	} else {
		tmp = x + (1.6453555072203998 * (y * b));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b)
    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) :: tmp
    if ((z <= (-6.5d+15)) .or. (.not. (z <= 1.16d-24))) then
        tmp = x + (y / 0.31942702700572795d0)
    else
        tmp = x + (1.6453555072203998d0 * (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 tmp;
	if ((z <= -6.5e+15) || !(z <= 1.16e-24)) {
		tmp = x + (y / 0.31942702700572795);
	} else {
		tmp = x + (1.6453555072203998 * (y * b));
	}
	return tmp;
}
def code(x, y, z, t, a, b):
	tmp = 0
	if (z <= -6.5e+15) or not (z <= 1.16e-24):
		tmp = x + (y / 0.31942702700572795)
	else:
		tmp = x + (1.6453555072203998 * (y * b))
	return tmp
function code(x, y, z, t, a, b)
	tmp = 0.0
	if ((z <= -6.5e+15) || !(z <= 1.16e-24))
		tmp = Float64(x + Float64(y / 0.31942702700572795));
	else
		tmp = Float64(x + Float64(1.6453555072203998 * Float64(y * b)));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b)
	tmp = 0.0;
	if ((z <= -6.5e+15) || ~((z <= 1.16e-24)))
		tmp = x + (y / 0.31942702700572795);
	else
		tmp = x + (1.6453555072203998 * (y * b));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -6.5e+15], N[Not[LessEqual[z, 1.16e-24]], $MachinePrecision]], N[(x + N[(y / 0.31942702700572795), $MachinePrecision]), $MachinePrecision], N[(x + N[(1.6453555072203998 * N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;z \leq -6.5 \cdot 10^{+15} \lor \neg \left(z \leq 1.16 \cdot 10^{-24}\right):\\
\;\;\;\;x + \frac{y}{0.31942702700572795}\\

\mathbf{else}:\\
\;\;\;\;x + 1.6453555072203998 \cdot \left(y \cdot b\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if z < -6.5e15 or 1.16e-24 < z

    1. Initial program 17.2%

      \[x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    2. Step-by-step derivation
      1. associate-/l*21.9%

        \[\leadsto x + \color{blue}{\frac{y}{\frac{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}}} \]
      2. fma-def21.9%

        \[\leadsto x + \frac{y}{\frac{\color{blue}{\mathsf{fma}\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721, z, 0.607771387771\right)}}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      3. fma-def21.9%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749, z, 11.9400905721\right)}, z, 0.607771387771\right)}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      4. fma-def21.9%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right)}, z, 11.9400905721\right), z, 0.607771387771\right)}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      5. fma-def21.9%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\color{blue}{\mathsf{fma}\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a, z, b\right)}}} \]
      6. fma-def21.9%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t, z, a\right)}, z, b\right)}} \]
      7. fma-def21.9%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z \cdot 3.13060547623 + 11.1667541262, z, t\right)}, z, a\right), z, b\right)}} \]
      8. fma-def21.9%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right)}, z, t\right), z, a\right), z, b\right)}} \]
    3. Simplified21.9%

      \[\leadsto \color{blue}{x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right), z, t\right), z, a\right), z, b\right)}}} \]
    4. Taylor expanded in z around inf 81.1%

      \[\leadsto x + \frac{y}{\color{blue}{0.31942702700572795}} \]

    if -6.5e15 < z < 1.16e-24

    1. Initial program 99.0%

      \[x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    2. Step-by-step derivation
      1. associate-*l/99.7%

        \[\leadsto x + \color{blue}{\frac{y}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)} \]
      2. *-commutative99.7%

        \[\leadsto x + \frac{y}{\color{blue}{z \cdot \left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right)} + 0.607771387771} \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right) \]
      3. fma-def99.7%

        \[\leadsto x + \frac{y}{\color{blue}{\mathsf{fma}\left(z, \left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721, 0.607771387771\right)}} \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right) \]
      4. *-commutative99.7%

        \[\leadsto x + \frac{y}{\mathsf{fma}\left(z, \color{blue}{z \cdot \left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right)} + 11.9400905721, 0.607771387771\right)} \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right) \]
      5. fma-def99.7%

        \[\leadsto x + \frac{y}{\mathsf{fma}\left(z, \color{blue}{\mathsf{fma}\left(z, \left(z + 15.234687407\right) \cdot z + 31.4690115749, 11.9400905721\right)}, 0.607771387771\right)} \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right) \]
      6. *-commutative99.7%

        \[\leadsto x + \frac{y}{\mathsf{fma}\left(z, \mathsf{fma}\left(z, \color{blue}{z \cdot \left(z + 15.234687407\right)} + 31.4690115749, 11.9400905721\right), 0.607771387771\right)} \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right) \]
      7. fma-def99.7%

        \[\leadsto x + \frac{y}{\mathsf{fma}\left(z, \mathsf{fma}\left(z, \color{blue}{\mathsf{fma}\left(z, z + 15.234687407, 31.4690115749\right)}, 11.9400905721\right), 0.607771387771\right)} \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right) \]
      8. *-commutative99.7%

        \[\leadsto x + \frac{y}{\mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, z + 15.234687407, 31.4690115749\right), 11.9400905721\right), 0.607771387771\right)} \cdot \left(\color{blue}{z \cdot \left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right)} + b\right) \]
      9. fma-def99.7%

        \[\leadsto x + \frac{y}{\mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, z + 15.234687407, 31.4690115749\right), 11.9400905721\right), 0.607771387771\right)} \cdot \color{blue}{\mathsf{fma}\left(z, \left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a, b\right)} \]
    3. Simplified99.7%

      \[\leadsto \color{blue}{x + \frac{y}{\mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, z + 15.234687407, 31.4690115749\right), 11.9400905721\right), 0.607771387771\right)} \cdot \mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right), t\right), a\right), b\right)} \]
    4. Taylor expanded in z around 0 82.7%

      \[\leadsto x + \color{blue}{1.6453555072203998 \cdot \left(y \cdot b\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification81.8%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -6.5 \cdot 10^{+15} \lor \neg \left(z \leq 1.16 \cdot 10^{-24}\right):\\ \;\;\;\;x + \frac{y}{0.31942702700572795}\\ \mathbf{else}:\\ \;\;\;\;x + 1.6453555072203998 \cdot \left(y \cdot b\right)\\ \end{array} \]

Alternative 13: 65.2% accurate, 4.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -9.6 \cdot 10^{-62} \lor \neg \left(z \leq 4.6 \cdot 10^{-45}\right):\\ \;\;\;\;x + \frac{y}{0.31942702700572795}\\ \mathbf{else}:\\ \;\;\;\;x\\ \end{array} \end{array} \]
(FPCore (x y z t a b)
 :precision binary64
 (if (or (<= z -9.6e-62) (not (<= z 4.6e-45)))
   (+ x (/ y 0.31942702700572795))
   x))
double code(double x, double y, double z, double t, double a, double b) {
	double tmp;
	if ((z <= -9.6e-62) || !(z <= 4.6e-45)) {
		tmp = x + (y / 0.31942702700572795);
	} else {
		tmp = x;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b)
    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) :: tmp
    if ((z <= (-9.6d-62)) .or. (.not. (z <= 4.6d-45))) then
        tmp = x + (y / 0.31942702700572795d0)
    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 tmp;
	if ((z <= -9.6e-62) || !(z <= 4.6e-45)) {
		tmp = x + (y / 0.31942702700572795);
	} else {
		tmp = x;
	}
	return tmp;
}
def code(x, y, z, t, a, b):
	tmp = 0
	if (z <= -9.6e-62) or not (z <= 4.6e-45):
		tmp = x + (y / 0.31942702700572795)
	else:
		tmp = x
	return tmp
function code(x, y, z, t, a, b)
	tmp = 0.0
	if ((z <= -9.6e-62) || !(z <= 4.6e-45))
		tmp = Float64(x + Float64(y / 0.31942702700572795));
	else
		tmp = x;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b)
	tmp = 0.0;
	if ((z <= -9.6e-62) || ~((z <= 4.6e-45)))
		tmp = x + (y / 0.31942702700572795);
	else
		tmp = x;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -9.6e-62], N[Not[LessEqual[z, 4.6e-45]], $MachinePrecision]], N[(x + N[(y / 0.31942702700572795), $MachinePrecision]), $MachinePrecision], x]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;z \leq -9.6 \cdot 10^{-62} \lor \neg \left(z \leq 4.6 \cdot 10^{-45}\right):\\
\;\;\;\;x + \frac{y}{0.31942702700572795}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if z < -9.59999999999999934e-62 or 4.59999999999999983e-45 < z

    1. Initial program 26.6%

      \[x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    2. Step-by-step derivation
      1. associate-/l*31.3%

        \[\leadsto x + \color{blue}{\frac{y}{\frac{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}}} \]
      2. fma-def31.3%

        \[\leadsto x + \frac{y}{\frac{\color{blue}{\mathsf{fma}\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721, z, 0.607771387771\right)}}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      3. fma-def31.3%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749, z, 11.9400905721\right)}, z, 0.607771387771\right)}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      4. fma-def31.3%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right)}, z, 11.9400905721\right), z, 0.607771387771\right)}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      5. fma-def31.3%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\color{blue}{\mathsf{fma}\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a, z, b\right)}}} \]
      6. fma-def31.3%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t, z, a\right)}, z, b\right)}} \]
      7. fma-def31.3%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z \cdot 3.13060547623 + 11.1667541262, z, t\right)}, z, a\right), z, b\right)}} \]
      8. fma-def31.3%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right)}, z, t\right), z, a\right), z, b\right)}} \]
    3. Simplified31.3%

      \[\leadsto \color{blue}{x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right), z, t\right), z, a\right), z, b\right)}}} \]
    4. Taylor expanded in z around inf 74.2%

      \[\leadsto x + \frac{y}{\color{blue}{0.31942702700572795}} \]

    if -9.59999999999999934e-62 < z < 4.59999999999999983e-45

    1. Initial program 99.7%

      \[x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
    2. Step-by-step derivation
      1. associate-/l*99.8%

        \[\leadsto x + \color{blue}{\frac{y}{\frac{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}}} \]
      2. fma-def99.8%

        \[\leadsto x + \frac{y}{\frac{\color{blue}{\mathsf{fma}\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721, z, 0.607771387771\right)}}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      3. fma-def99.8%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749, z, 11.9400905721\right)}, z, 0.607771387771\right)}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      4. fma-def99.8%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right)}, z, 11.9400905721\right), z, 0.607771387771\right)}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
      5. fma-def99.8%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\color{blue}{\mathsf{fma}\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a, z, b\right)}}} \]
      6. fma-def99.8%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t, z, a\right)}, z, b\right)}} \]
      7. fma-def99.8%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z \cdot 3.13060547623 + 11.1667541262, z, t\right)}, z, a\right), z, b\right)}} \]
      8. fma-def99.8%

        \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right)}, z, t\right), z, a\right), z, b\right)}} \]
    3. Simplified99.8%

      \[\leadsto \color{blue}{x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right), z, t\right), z, a\right), z, b\right)}}} \]
    4. Taylor expanded in z around inf 52.9%

      \[\leadsto x + \frac{y}{\color{blue}{0.31942702700572795 + 3.7269864963038164 \cdot \frac{1}{z}}} \]
    5. Taylor expanded in x around inf 52.9%

      \[\leadsto \color{blue}{x} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification66.0%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -9.6 \cdot 10^{-62} \lor \neg \left(z \leq 4.6 \cdot 10^{-45}\right):\\ \;\;\;\;x + \frac{y}{0.31942702700572795}\\ \mathbf{else}:\\ \;\;\;\;x\\ \end{array} \]

Alternative 14: 45.4% accurate, 37.0× speedup?

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

\\
x
\end{array}
Derivation
  1. Initial program 54.9%

    \[x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \]
  2. Step-by-step derivation
    1. associate-/l*57.8%

      \[\leadsto x + \color{blue}{\frac{y}{\frac{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}}} \]
    2. fma-def57.8%

      \[\leadsto x + \frac{y}{\frac{\color{blue}{\mathsf{fma}\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721, z, 0.607771387771\right)}}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
    3. fma-def57.8%

      \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749, z, 11.9400905721\right)}, z, 0.607771387771\right)}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
    4. fma-def57.8%

      \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right)}, z, 11.9400905721\right), z, 0.607771387771\right)}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}} \]
    5. fma-def57.8%

      \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\color{blue}{\mathsf{fma}\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a, z, b\right)}}} \]
    6. fma-def57.8%

      \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t, z, a\right)}, z, b\right)}} \]
    7. fma-def57.8%

      \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z \cdot 3.13060547623 + 11.1667541262, z, t\right)}, z, a\right), z, b\right)}} \]
    8. fma-def57.8%

      \[\leadsto x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right)}, z, t\right), z, a\right), z, b\right)}} \]
  3. Simplified57.8%

    \[\leadsto \color{blue}{x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right), z, t\right), z, a\right), z, b\right)}}} \]
  4. Taylor expanded in z around inf 65.9%

    \[\leadsto x + \frac{y}{\color{blue}{0.31942702700572795 + 3.7269864963038164 \cdot \frac{1}{z}}} \]
  5. Taylor expanded in x around inf 48.2%

    \[\leadsto \color{blue}{x} \]
  6. Final simplification48.2%

    \[\leadsto x \]

Developer target: 98.6% accurate, 0.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := x + \left(\left(3.13060547623 - \frac{36.527041698806414}{z}\right) + \frac{t}{z \cdot z}\right) \cdot \frac{y}{1}\\ \mathbf{if}\;z < -6.499344996252632 \cdot 10^{+53}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z < 7.066965436914287 \cdot 10^{+59}:\\ \;\;\;\;x + \frac{y}{\frac{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}}\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b)
 :precision binary64
 (let* ((t_1
         (+
          x
          (*
           (+ (- 3.13060547623 (/ 36.527041698806414 z)) (/ t (* z z)))
           (/ y 1.0)))))
   (if (< z -6.499344996252632e+53)
     t_1
     (if (< z 7.066965436914287e+59)
       (+
        x
        (/
         y
         (/
          (+
           (*
            (+ (* (+ (* (+ z 15.234687407) z) 31.4690115749) z) 11.9400905721)
            z)
           0.607771387771)
          (+
           (* (+ (* (+ (* (+ (* z 3.13060547623) 11.1667541262) z) t) z) a) z)
           b))))
       t_1))))
double code(double x, double y, double z, double t, double a, double b) {
	double t_1 = x + (((3.13060547623 - (36.527041698806414 / z)) + (t / (z * z))) * (y / 1.0));
	double tmp;
	if (z < -6.499344996252632e+53) {
		tmp = t_1;
	} else if (z < 7.066965436914287e+59) {
		tmp = x + (y / ((((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771) / ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a, b)
    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) :: t_1
    real(8) :: tmp
    t_1 = x + (((3.13060547623d0 - (36.527041698806414d0 / z)) + (t / (z * z))) * (y / 1.0d0))
    if (z < (-6.499344996252632d+53)) then
        tmp = t_1
    else if (z < 7.066965436914287d+59) then
        tmp = x + (y / ((((((((z + 15.234687407d0) * z) + 31.4690115749d0) * z) + 11.9400905721d0) * z) + 0.607771387771d0) / ((((((((z * 3.13060547623d0) + 11.1667541262d0) * z) + t) * z) + a) * z) + b)))
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
	double t_1 = x + (((3.13060547623 - (36.527041698806414 / z)) + (t / (z * z))) * (y / 1.0));
	double tmp;
	if (z < -6.499344996252632e+53) {
		tmp = t_1;
	} else if (z < 7.066965436914287e+59) {
		tmp = x + (y / ((((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771) / ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a, b):
	t_1 = x + (((3.13060547623 - (36.527041698806414 / z)) + (t / (z * z))) * (y / 1.0))
	tmp = 0
	if z < -6.499344996252632e+53:
		tmp = t_1
	elif z < 7.066965436914287e+59:
		tmp = x + (y / ((((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771) / ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a, b)
	t_1 = Float64(x + Float64(Float64(Float64(3.13060547623 - Float64(36.527041698806414 / z)) + Float64(t / Float64(z * z))) * Float64(y / 1.0)))
	tmp = 0.0
	if (z < -6.499344996252632e+53)
		tmp = t_1;
	elseif (z < 7.066965436914287e+59)
		tmp = Float64(x + Float64(y / Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771) / Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b))));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b)
	t_1 = x + (((3.13060547623 - (36.527041698806414 / z)) + (t / (z * z))) * (y / 1.0));
	tmp = 0.0;
	if (z < -6.499344996252632e+53)
		tmp = t_1;
	elseif (z < 7.066965436914287e+59)
		tmp = x + (y / ((((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771) / ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(x + N[(N[(N[(3.13060547623 - N[(36.527041698806414 / z), $MachinePrecision]), $MachinePrecision] + N[(t / N[(z * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * N[(y / 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[Less[z, -6.499344996252632e+53], t$95$1, If[Less[z, 7.066965436914287e+59], N[(x + N[(y / N[(N[(N[(N[(N[(N[(N[(N[(z + 15.234687407), $MachinePrecision] * z), $MachinePrecision] + 31.4690115749), $MachinePrecision] * z), $MachinePrecision] + 11.9400905721), $MachinePrecision] * z), $MachinePrecision] + 0.607771387771), $MachinePrecision] / N[(N[(N[(N[(N[(N[(N[(N[(z * 3.13060547623), $MachinePrecision] + 11.1667541262), $MachinePrecision] * z), $MachinePrecision] + t), $MachinePrecision] * z), $MachinePrecision] + a), $MachinePrecision] * z), $MachinePrecision] + b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := x + \left(\left(3.13060547623 - \frac{36.527041698806414}{z}\right) + \frac{t}{z \cdot z}\right) \cdot \frac{y}{1}\\
\mathbf{if}\;z < -6.499344996252632 \cdot 10^{+53}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;z < 7.066965436914287 \cdot 10^{+59}:\\
\;\;\;\;x + \frac{y}{\frac{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}}\\

\mathbf{else}:\\
\;\;\;\;t_1\\


\end{array}
\end{array}

Reproduce

?
herbie shell --seed 2023240 
(FPCore (x y z t a b)
  :name "Numeric.SpecFunctions:logGamma from math-functions-0.1.5.2, D"
  :precision binary64

  :herbie-target
  (if (< z -6.499344996252632e+53) (+ x (* (+ (- 3.13060547623 (/ 36.527041698806414 z)) (/ t (* z z))) (/ y 1.0))) (if (< z 7.066965436914287e+59) (+ x (/ y (/ (+ (* (+ (* (+ (* (+ z 15.234687407) z) 31.4690115749) z) 11.9400905721) z) 0.607771387771) (+ (* (+ (* (+ (* (+ (* z 3.13060547623) 11.1667541262) z) t) z) a) z) b)))) (+ x (* (+ (- 3.13060547623 (/ 36.527041698806414 z)) (/ t (* z z))) (/ y 1.0)))))

  (+ x (/ (* y (+ (* (+ (* (+ (* (+ (* z 3.13060547623) 11.1667541262) z) t) z) a) z) b)) (+ (* (+ (* (+ (* (+ z 15.234687407) z) 31.4690115749) z) 11.9400905721) z) 0.607771387771))))