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

Percentage Accurate: 58.3% → 97.2%
Time: 23.2s
Alternatives: 11
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 11 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.2% accurate, 0.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;\frac{y \cdot \left(z \cdot \left(z \cdot \left(z \cdot \left(z \cdot 3.13060547623 + 11.1667541262\right) + t\right) + a\right) + b\right)}{z \cdot \left(z \cdot \left(z \cdot \left(z + 15.234687407\right) + 31.4690115749\right) + 11.9400905721\right) + 0.607771387771} \leq \infty:\\ \;\;\;\;\mathsf{fma}\left(\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)}, \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), x\right)\\ \mathbf{else}:\\ \;\;\;\;x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{\frac{t}{z}}{z}\right) + \left(3.13060547623 + \frac{-36.52704169880642}{z}\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b)
 :precision binary64
 (if (<=
      (/
       (*
        y
        (+
         (* z (+ (* z (+ (* z (+ (* z 3.13060547623) 11.1667541262)) t)) a))
         b))
       (+
        (*
         z
         (+ (* z (+ (* z (+ z 15.234687407)) 31.4690115749)) 11.9400905721))
        0.607771387771))
      INFINITY)
   (fma
    (/
     y
     (fma
      z
      (fma z (fma z (+ z 15.234687407) 31.4690115749) 11.9400905721)
      0.607771387771))
    (fma z (fma z (fma z (fma z 3.13060547623 11.1667541262) t) a) b)
    x)
   (+
    x
    (*
     y
     (+
      (+ (/ 457.9610022158428 (* z z)) (/ (/ t z) z))
      (+ 3.13060547623 (/ -36.52704169880642 z)))))))
double code(double x, double y, double z, double t, double a, double b) {
	double tmp;
	if (((y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)) <= ((double) INFINITY)) {
		tmp = fma((y / fma(z, fma(z, fma(z, (z + 15.234687407), 31.4690115749), 11.9400905721), 0.607771387771)), fma(z, fma(z, fma(z, fma(z, 3.13060547623, 11.1667541262), t), a), b), x);
	} else {
		tmp = x + (y * (((457.9610022158428 / (z * z)) + ((t / z) / z)) + (3.13060547623 + (-36.52704169880642 / z))));
	}
	return tmp;
}
function code(x, y, z, t, a, b)
	tmp = 0.0
	if (Float64(Float64(y * Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * Float64(z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)) <= Inf)
		tmp = fma(Float64(y / fma(z, fma(z, fma(z, Float64(z + 15.234687407), 31.4690115749), 11.9400905721), 0.607771387771)), fma(z, fma(z, fma(z, fma(z, 3.13060547623, 11.1667541262), t), a), b), x);
	else
		tmp = Float64(x + Float64(y * Float64(Float64(Float64(457.9610022158428 / Float64(z * z)) + Float64(Float64(t / z) / z)) + Float64(3.13060547623 + Float64(-36.52704169880642 / z)))));
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[N[(N[(y * N[(N[(z * N[(N[(z * N[(N[(z * N[(N[(z * 3.13060547623), $MachinePrecision] + 11.1667541262), $MachinePrecision]), $MachinePrecision] + t), $MachinePrecision]), $MachinePrecision] + a), $MachinePrecision]), $MachinePrecision] + b), $MachinePrecision]), $MachinePrecision] / N[(N[(z * N[(N[(z * N[(N[(z * N[(z + 15.234687407), $MachinePrecision]), $MachinePrecision] + 31.4690115749), $MachinePrecision]), $MachinePrecision] + 11.9400905721), $MachinePrecision]), $MachinePrecision] + 0.607771387771), $MachinePrecision]), $MachinePrecision], Infinity], N[(N[(y / N[(z * N[(z * N[(z * N[(z + 15.234687407), $MachinePrecision] + 31.4690115749), $MachinePrecision] + 11.9400905721), $MachinePrecision] + 0.607771387771), $MachinePrecision]), $MachinePrecision] * N[(z * N[(z * N[(z * N[(z * 3.13060547623 + 11.1667541262), $MachinePrecision] + t), $MachinePrecision] + a), $MachinePrecision] + b), $MachinePrecision] + x), $MachinePrecision], N[(x + N[(y * N[(N[(N[(457.9610022158428 / N[(z * z), $MachinePrecision]), $MachinePrecision] + N[(N[(t / z), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision] + N[(3.13060547623 + N[(-36.52704169880642 / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;\frac{y \cdot \left(z \cdot \left(z \cdot \left(z \cdot \left(z \cdot 3.13060547623 + 11.1667541262\right) + t\right) + a\right) + b\right)}{z \cdot \left(z \cdot \left(z \cdot \left(z + 15.234687407\right) + 31.4690115749\right) + 11.9400905721\right) + 0.607771387771} \leq \infty:\\
\;\;\;\;\mathsf{fma}\left(\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)}, \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), x\right)\\

\mathbf{else}:\\
\;\;\;\;x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{\frac{t}{z}}{z}\right) + \left(3.13060547623 + \frac{-36.52704169880642}{z}\right)\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 96.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. +-commutative96.9%

        \[\leadsto \color{blue}{\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} + x} \]
      2. associate-*l/99.7%

        \[\leadsto \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)} + x \]
      3. fma-def99.7%

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

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

    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}{\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. *-commutative0.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-def0.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. *-commutative0.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-def0.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. *-commutative0.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-def0.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. *-commutative0.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-def0.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. Simplified0.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 -inf 89.7%

      \[\leadsto x + \color{blue}{\left(\left(-1 \cdot \frac{-11.1667541262 \cdot y - -47.69379582500642 \cdot y}{z} + \left(3.13060547623 \cdot y + \frac{t \cdot y}{{z}^{2}}\right)\right) - \left(-15.234687407 \cdot \frac{-11.1667541262 \cdot y - -47.69379582500642 \cdot y}{{z}^{2}} + 98.5170599679272 \cdot \frac{y}{{z}^{2}}\right)\right)} \]
    5. Step-by-step derivation
      1. Simplified99.1%

        \[\leadsto x + \color{blue}{\left(\left(\mathsf{fma}\left(y, 3.13060547623, \frac{y}{z} \cdot \frac{t}{z}\right) - \frac{y \cdot 36.52704169880642}{z}\right) - \mathsf{fma}\left(98.5170599679272, \frac{y}{z \cdot z}, \frac{\left(y \cdot 36.52704169880642\right) \cdot -15.234687407}{z \cdot z}\right)\right)} \]
      2. Taylor expanded in y around 0 99.9%

        \[\leadsto x + \color{blue}{y \cdot \left(\left(3.13060547623 + \left(457.9610022158428 \cdot \frac{1}{{z}^{2}} + \frac{t}{{z}^{2}}\right)\right) - 36.52704169880642 \cdot \frac{1}{z}\right)} \]
      3. Step-by-step derivation
        1. sub-neg99.9%

          \[\leadsto x + y \cdot \color{blue}{\left(\left(3.13060547623 + \left(457.9610022158428 \cdot \frac{1}{{z}^{2}} + \frac{t}{{z}^{2}}\right)\right) + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right)} \]
        2. +-commutative99.9%

          \[\leadsto x + y \cdot \left(\color{blue}{\left(\left(457.9610022158428 \cdot \frac{1}{{z}^{2}} + \frac{t}{{z}^{2}}\right) + 3.13060547623\right)} + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right) \]
        3. associate-+l+99.9%

          \[\leadsto x + y \cdot \color{blue}{\left(\left(457.9610022158428 \cdot \frac{1}{{z}^{2}} + \frac{t}{{z}^{2}}\right) + \left(3.13060547623 + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right)\right)} \]
        4. associate-*r/99.9%

          \[\leadsto x + y \cdot \left(\left(\color{blue}{\frac{457.9610022158428 \cdot 1}{{z}^{2}}} + \frac{t}{{z}^{2}}\right) + \left(3.13060547623 + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right)\right) \]
        5. metadata-eval99.9%

          \[\leadsto x + y \cdot \left(\left(\frac{\color{blue}{457.9610022158428}}{{z}^{2}} + \frac{t}{{z}^{2}}\right) + \left(3.13060547623 + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right)\right) \]
        6. unpow299.9%

          \[\leadsto x + y \cdot \left(\left(\frac{457.9610022158428}{\color{blue}{z \cdot z}} + \frac{t}{{z}^{2}}\right) + \left(3.13060547623 + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right)\right) \]
        7. unpow299.9%

          \[\leadsto x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{t}{\color{blue}{z \cdot z}}\right) + \left(3.13060547623 + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right)\right) \]
        8. associate-/r*99.9%

          \[\leadsto x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \color{blue}{\frac{\frac{t}{z}}{z}}\right) + \left(3.13060547623 + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right)\right) \]
        9. associate-*r/99.9%

          \[\leadsto x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{\frac{t}{z}}{z}\right) + \left(3.13060547623 + \left(-\color{blue}{\frac{36.52704169880642 \cdot 1}{z}}\right)\right)\right) \]
        10. metadata-eval99.9%

          \[\leadsto x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{\frac{t}{z}}{z}\right) + \left(3.13060547623 + \left(-\frac{\color{blue}{36.52704169880642}}{z}\right)\right)\right) \]
        11. distribute-neg-frac99.9%

          \[\leadsto x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{\frac{t}{z}}{z}\right) + \left(3.13060547623 + \color{blue}{\frac{-36.52704169880642}{z}}\right)\right) \]
        12. metadata-eval99.9%

          \[\leadsto x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{\frac{t}{z}}{z}\right) + \left(3.13060547623 + \frac{\color{blue}{-36.52704169880642}}{z}\right)\right) \]
      4. Simplified99.9%

        \[\leadsto x + \color{blue}{y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{\frac{t}{z}}{z}\right) + \left(3.13060547623 + \frac{-36.52704169880642}{z}\right)\right)} \]
    6. Recombined 2 regimes into one program.
    7. Final simplification99.8%

      \[\leadsto \begin{array}{l} \mathbf{if}\;\frac{y \cdot \left(z \cdot \left(z \cdot \left(z \cdot \left(z \cdot 3.13060547623 + 11.1667541262\right) + t\right) + a\right) + b\right)}{z \cdot \left(z \cdot \left(z \cdot \left(z + 15.234687407\right) + 31.4690115749\right) + 11.9400905721\right) + 0.607771387771} \leq \infty:\\ \;\;\;\;\mathsf{fma}\left(\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)}, \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), x\right)\\ \mathbf{else}:\\ \;\;\;\;x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{\frac{t}{z}}{z}\right) + \left(3.13060547623 + \frac{-36.52704169880642}{z}\right)\right)\\ \end{array} \]

    Alternative 2: 97.2% accurate, 0.0× speedup?

    \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;\frac{y \cdot \left(z \cdot \left(z \cdot \left(z \cdot \left(z \cdot 3.13060547623 + 11.1667541262\right) + t\right) + a\right) + b\right)}{z \cdot \left(z \cdot \left(z \cdot \left(z + 15.234687407\right) + 31.4690115749\right) + 11.9400905721\right) + 0.607771387771} \leq \infty:\\ \;\;\;\;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)\\ \mathbf{else}:\\ \;\;\;\;x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{\frac{t}{z}}{z}\right) + \left(3.13060547623 + \frac{-36.52704169880642}{z}\right)\right)\\ \end{array} \end{array} \]
    (FPCore (x y z t a b)
     :precision binary64
     (if (<=
          (/
           (*
            y
            (+
             (* z (+ (* z (+ (* z (+ (* z 3.13060547623) 11.1667541262)) t)) a))
             b))
           (+
            (*
             z
             (+ (* z (+ (* z (+ z 15.234687407)) 31.4690115749)) 11.9400905721))
            0.607771387771))
          INFINITY)
       (+
        x
        (*
         (/
          y
          (fma
           z
           (fma z (fma z (+ z 15.234687407) 31.4690115749) 11.9400905721)
           0.607771387771))
         (fma z (fma z (fma z (fma z 3.13060547623 11.1667541262) t) a) b)))
       (+
        x
        (*
         y
         (+
          (+ (/ 457.9610022158428 (* z z)) (/ (/ t z) z))
          (+ 3.13060547623 (/ -36.52704169880642 z)))))))
    double code(double x, double y, double z, double t, double a, double b) {
    	double tmp;
    	if (((y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)) <= ((double) INFINITY)) {
    		tmp = x + ((y / fma(z, fma(z, fma(z, (z + 15.234687407), 31.4690115749), 11.9400905721), 0.607771387771)) * fma(z, fma(z, fma(z, fma(z, 3.13060547623, 11.1667541262), t), a), b));
    	} else {
    		tmp = x + (y * (((457.9610022158428 / (z * z)) + ((t / z) / z)) + (3.13060547623 + (-36.52704169880642 / z))));
    	}
    	return tmp;
    }
    
    function code(x, y, z, t, a, b)
    	tmp = 0.0
    	if (Float64(Float64(y * Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * Float64(z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)) <= Inf)
    		tmp = Float64(x + Float64(Float64(y / fma(z, fma(z, fma(z, Float64(z + 15.234687407), 31.4690115749), 11.9400905721), 0.607771387771)) * fma(z, fma(z, fma(z, fma(z, 3.13060547623, 11.1667541262), t), a), b)));
    	else
    		tmp = Float64(x + Float64(y * Float64(Float64(Float64(457.9610022158428 / Float64(z * z)) + Float64(Float64(t / z) / z)) + Float64(3.13060547623 + Float64(-36.52704169880642 / z)))));
    	end
    	return tmp
    end
    
    code[x_, y_, z_, t_, a_, b_] := If[LessEqual[N[(N[(y * N[(N[(z * N[(N[(z * N[(N[(z * N[(N[(z * 3.13060547623), $MachinePrecision] + 11.1667541262), $MachinePrecision]), $MachinePrecision] + t), $MachinePrecision]), $MachinePrecision] + a), $MachinePrecision]), $MachinePrecision] + b), $MachinePrecision]), $MachinePrecision] / N[(N[(z * N[(N[(z * N[(N[(z * N[(z + 15.234687407), $MachinePrecision]), $MachinePrecision] + 31.4690115749), $MachinePrecision]), $MachinePrecision] + 11.9400905721), $MachinePrecision]), $MachinePrecision] + 0.607771387771), $MachinePrecision]), $MachinePrecision], Infinity], N[(x + N[(N[(y / N[(z * N[(z * N[(z * N[(z + 15.234687407), $MachinePrecision] + 31.4690115749), $MachinePrecision] + 11.9400905721), $MachinePrecision] + 0.607771387771), $MachinePrecision]), $MachinePrecision] * N[(z * N[(z * N[(z * N[(z * 3.13060547623 + 11.1667541262), $MachinePrecision] + t), $MachinePrecision] + a), $MachinePrecision] + b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(y * N[(N[(N[(457.9610022158428 / N[(z * z), $MachinePrecision]), $MachinePrecision] + N[(N[(t / z), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision] + N[(3.13060547623 + N[(-36.52704169880642 / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
    
    \begin{array}{l}
    
    \\
    \begin{array}{l}
    \mathbf{if}\;\frac{y \cdot \left(z \cdot \left(z \cdot \left(z \cdot \left(z \cdot 3.13060547623 + 11.1667541262\right) + t\right) + a\right) + b\right)}{z \cdot \left(z \cdot \left(z \cdot \left(z + 15.234687407\right) + 31.4690115749\right) + 11.9400905721\right) + 0.607771387771} \leq \infty:\\
    \;\;\;\;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)\\
    
    \mathbf{else}:\\
    \;\;\;\;x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{\frac{t}{z}}{z}\right) + \left(3.13060547623 + \frac{-36.52704169880642}{z}\right)\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 96.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/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)} \]

      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}{\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. *-commutative0.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-def0.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. *-commutative0.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-def0.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. *-commutative0.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-def0.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. *-commutative0.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-def0.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. Simplified0.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 -inf 89.7%

        \[\leadsto x + \color{blue}{\left(\left(-1 \cdot \frac{-11.1667541262 \cdot y - -47.69379582500642 \cdot y}{z} + \left(3.13060547623 \cdot y + \frac{t \cdot y}{{z}^{2}}\right)\right) - \left(-15.234687407 \cdot \frac{-11.1667541262 \cdot y - -47.69379582500642 \cdot y}{{z}^{2}} + 98.5170599679272 \cdot \frac{y}{{z}^{2}}\right)\right)} \]
      5. Step-by-step derivation
        1. Simplified99.1%

          \[\leadsto x + \color{blue}{\left(\left(\mathsf{fma}\left(y, 3.13060547623, \frac{y}{z} \cdot \frac{t}{z}\right) - \frac{y \cdot 36.52704169880642}{z}\right) - \mathsf{fma}\left(98.5170599679272, \frac{y}{z \cdot z}, \frac{\left(y \cdot 36.52704169880642\right) \cdot -15.234687407}{z \cdot z}\right)\right)} \]
        2. Taylor expanded in y around 0 99.9%

          \[\leadsto x + \color{blue}{y \cdot \left(\left(3.13060547623 + \left(457.9610022158428 \cdot \frac{1}{{z}^{2}} + \frac{t}{{z}^{2}}\right)\right) - 36.52704169880642 \cdot \frac{1}{z}\right)} \]
        3. Step-by-step derivation
          1. sub-neg99.9%

            \[\leadsto x + y \cdot \color{blue}{\left(\left(3.13060547623 + \left(457.9610022158428 \cdot \frac{1}{{z}^{2}} + \frac{t}{{z}^{2}}\right)\right) + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right)} \]
          2. +-commutative99.9%

            \[\leadsto x + y \cdot \left(\color{blue}{\left(\left(457.9610022158428 \cdot \frac{1}{{z}^{2}} + \frac{t}{{z}^{2}}\right) + 3.13060547623\right)} + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right) \]
          3. associate-+l+99.9%

            \[\leadsto x + y \cdot \color{blue}{\left(\left(457.9610022158428 \cdot \frac{1}{{z}^{2}} + \frac{t}{{z}^{2}}\right) + \left(3.13060547623 + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right)\right)} \]
          4. associate-*r/99.9%

            \[\leadsto x + y \cdot \left(\left(\color{blue}{\frac{457.9610022158428 \cdot 1}{{z}^{2}}} + \frac{t}{{z}^{2}}\right) + \left(3.13060547623 + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right)\right) \]
          5. metadata-eval99.9%

            \[\leadsto x + y \cdot \left(\left(\frac{\color{blue}{457.9610022158428}}{{z}^{2}} + \frac{t}{{z}^{2}}\right) + \left(3.13060547623 + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right)\right) \]
          6. unpow299.9%

            \[\leadsto x + y \cdot \left(\left(\frac{457.9610022158428}{\color{blue}{z \cdot z}} + \frac{t}{{z}^{2}}\right) + \left(3.13060547623 + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right)\right) \]
          7. unpow299.9%

            \[\leadsto x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{t}{\color{blue}{z \cdot z}}\right) + \left(3.13060547623 + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right)\right) \]
          8. associate-/r*99.9%

            \[\leadsto x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \color{blue}{\frac{\frac{t}{z}}{z}}\right) + \left(3.13060547623 + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right)\right) \]
          9. associate-*r/99.9%

            \[\leadsto x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{\frac{t}{z}}{z}\right) + \left(3.13060547623 + \left(-\color{blue}{\frac{36.52704169880642 \cdot 1}{z}}\right)\right)\right) \]
          10. metadata-eval99.9%

            \[\leadsto x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{\frac{t}{z}}{z}\right) + \left(3.13060547623 + \left(-\frac{\color{blue}{36.52704169880642}}{z}\right)\right)\right) \]
          11. distribute-neg-frac99.9%

            \[\leadsto x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{\frac{t}{z}}{z}\right) + \left(3.13060547623 + \color{blue}{\frac{-36.52704169880642}{z}}\right)\right) \]
          12. metadata-eval99.9%

            \[\leadsto x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{\frac{t}{z}}{z}\right) + \left(3.13060547623 + \frac{\color{blue}{-36.52704169880642}}{z}\right)\right) \]
        4. Simplified99.9%

          \[\leadsto x + \color{blue}{y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{\frac{t}{z}}{z}\right) + \left(3.13060547623 + \frac{-36.52704169880642}{z}\right)\right)} \]
      6. Recombined 2 regimes into one program.
      7. Final simplification99.8%

        \[\leadsto \begin{array}{l} \mathbf{if}\;\frac{y \cdot \left(z \cdot \left(z \cdot \left(z \cdot \left(z \cdot 3.13060547623 + 11.1667541262\right) + t\right) + a\right) + b\right)}{z \cdot \left(z \cdot \left(z \cdot \left(z + 15.234687407\right) + 31.4690115749\right) + 11.9400905721\right) + 0.607771387771} \leq \infty:\\ \;\;\;\;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)\\ \mathbf{else}:\\ \;\;\;\;x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{\frac{t}{z}}{z}\right) + \left(3.13060547623 + \frac{-36.52704169880642}{z}\right)\right)\\ \end{array} \]

      Alternative 3: 95.5% accurate, 0.5× speedup?

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

        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}{\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. *-commutative0.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-def0.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. *-commutative0.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-def0.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. *-commutative0.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-def0.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. *-commutative0.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-def0.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. Simplified0.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 -inf 89.7%

          \[\leadsto x + \color{blue}{\left(\left(-1 \cdot \frac{-11.1667541262 \cdot y - -47.69379582500642 \cdot y}{z} + \left(3.13060547623 \cdot y + \frac{t \cdot y}{{z}^{2}}\right)\right) - \left(-15.234687407 \cdot \frac{-11.1667541262 \cdot y - -47.69379582500642 \cdot y}{{z}^{2}} + 98.5170599679272 \cdot \frac{y}{{z}^{2}}\right)\right)} \]
        5. Step-by-step derivation
          1. Simplified99.1%

            \[\leadsto x + \color{blue}{\left(\left(\mathsf{fma}\left(y, 3.13060547623, \frac{y}{z} \cdot \frac{t}{z}\right) - \frac{y \cdot 36.52704169880642}{z}\right) - \mathsf{fma}\left(98.5170599679272, \frac{y}{z \cdot z}, \frac{\left(y \cdot 36.52704169880642\right) \cdot -15.234687407}{z \cdot z}\right)\right)} \]
          2. Taylor expanded in y around 0 99.9%

            \[\leadsto x + \color{blue}{y \cdot \left(\left(3.13060547623 + \left(457.9610022158428 \cdot \frac{1}{{z}^{2}} + \frac{t}{{z}^{2}}\right)\right) - 36.52704169880642 \cdot \frac{1}{z}\right)} \]
          3. Step-by-step derivation
            1. sub-neg99.9%

              \[\leadsto x + y \cdot \color{blue}{\left(\left(3.13060547623 + \left(457.9610022158428 \cdot \frac{1}{{z}^{2}} + \frac{t}{{z}^{2}}\right)\right) + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right)} \]
            2. +-commutative99.9%

              \[\leadsto x + y \cdot \left(\color{blue}{\left(\left(457.9610022158428 \cdot \frac{1}{{z}^{2}} + \frac{t}{{z}^{2}}\right) + 3.13060547623\right)} + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right) \]
            3. associate-+l+99.9%

              \[\leadsto x + y \cdot \color{blue}{\left(\left(457.9610022158428 \cdot \frac{1}{{z}^{2}} + \frac{t}{{z}^{2}}\right) + \left(3.13060547623 + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right)\right)} \]
            4. associate-*r/99.9%

              \[\leadsto x + y \cdot \left(\left(\color{blue}{\frac{457.9610022158428 \cdot 1}{{z}^{2}}} + \frac{t}{{z}^{2}}\right) + \left(3.13060547623 + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right)\right) \]
            5. metadata-eval99.9%

              \[\leadsto x + y \cdot \left(\left(\frac{\color{blue}{457.9610022158428}}{{z}^{2}} + \frac{t}{{z}^{2}}\right) + \left(3.13060547623 + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right)\right) \]
            6. unpow299.9%

              \[\leadsto x + y \cdot \left(\left(\frac{457.9610022158428}{\color{blue}{z \cdot z}} + \frac{t}{{z}^{2}}\right) + \left(3.13060547623 + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right)\right) \]
            7. unpow299.9%

              \[\leadsto x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{t}{\color{blue}{z \cdot z}}\right) + \left(3.13060547623 + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right)\right) \]
            8. associate-/r*99.9%

              \[\leadsto x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \color{blue}{\frac{\frac{t}{z}}{z}}\right) + \left(3.13060547623 + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right)\right) \]
            9. associate-*r/99.9%

              \[\leadsto x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{\frac{t}{z}}{z}\right) + \left(3.13060547623 + \left(-\color{blue}{\frac{36.52704169880642 \cdot 1}{z}}\right)\right)\right) \]
            10. metadata-eval99.9%

              \[\leadsto x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{\frac{t}{z}}{z}\right) + \left(3.13060547623 + \left(-\frac{\color{blue}{36.52704169880642}}{z}\right)\right)\right) \]
            11. distribute-neg-frac99.9%

              \[\leadsto x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{\frac{t}{z}}{z}\right) + \left(3.13060547623 + \color{blue}{\frac{-36.52704169880642}{z}}\right)\right) \]
            12. metadata-eval99.9%

              \[\leadsto x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{\frac{t}{z}}{z}\right) + \left(3.13060547623 + \frac{\color{blue}{-36.52704169880642}}{z}\right)\right) \]
          4. Simplified99.9%

            \[\leadsto x + \color{blue}{y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{\frac{t}{z}}{z}\right) + \left(3.13060547623 + \frac{-36.52704169880642}{z}\right)\right)} \]
        6. Recombined 2 regimes into one program.
        7. Final simplification98.0%

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

        Alternative 4: 95.7% accurate, 1.4× speedup?

        \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -12.8 \lor \neg \left(z \leq 10^{+17}\right):\\ \;\;\;\;x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{\frac{t}{z}}{z}\right) + \left(3.13060547623 + \frac{-36.52704169880642}{z}\right)\right)\\ \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 11.9400905721}\\ \end{array} \end{array} \]
        (FPCore (x y z t a b)
         :precision binary64
         (if (or (<= z -12.8) (not (<= z 1e+17)))
           (+
            x
            (*
             y
             (+
              (+ (/ 457.9610022158428 (* z z)) (/ (/ t z) z))
              (+ 3.13060547623 (/ -36.52704169880642 z)))))
           (+
            x
            (/
             (* y (+ b (* z (+ a (* z (+ t (* z 11.1667541262)))))))
             (+ 0.607771387771 (* z 11.9400905721))))))
        double code(double x, double y, double z, double t, double a, double b) {
        	double tmp;
        	if ((z <= -12.8) || !(z <= 1e+17)) {
        		tmp = x + (y * (((457.9610022158428 / (z * z)) + ((t / z) / z)) + (3.13060547623 + (-36.52704169880642 / z))));
        	} else {
        		tmp = x + ((y * (b + (z * (a + (z * (t + (z * 11.1667541262))))))) / (0.607771387771 + (z * 11.9400905721)));
        	}
        	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 <= (-12.8d0)) .or. (.not. (z <= 1d+17))) then
                tmp = x + (y * (((457.9610022158428d0 / (z * z)) + ((t / z) / z)) + (3.13060547623d0 + ((-36.52704169880642d0) / z))))
            else
                tmp = x + ((y * (b + (z * (a + (z * (t + (z * 11.1667541262d0))))))) / (0.607771387771d0 + (z * 11.9400905721d0)))
            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 <= -12.8) || !(z <= 1e+17)) {
        		tmp = x + (y * (((457.9610022158428 / (z * z)) + ((t / z) / z)) + (3.13060547623 + (-36.52704169880642 / z))));
        	} else {
        		tmp = x + ((y * (b + (z * (a + (z * (t + (z * 11.1667541262))))))) / (0.607771387771 + (z * 11.9400905721)));
        	}
        	return tmp;
        }
        
        def code(x, y, z, t, a, b):
        	tmp = 0
        	if (z <= -12.8) or not (z <= 1e+17):
        		tmp = x + (y * (((457.9610022158428 / (z * z)) + ((t / z) / z)) + (3.13060547623 + (-36.52704169880642 / z))))
        	else:
        		tmp = x + ((y * (b + (z * (a + (z * (t + (z * 11.1667541262))))))) / (0.607771387771 + (z * 11.9400905721)))
        	return tmp
        
        function code(x, y, z, t, a, b)
        	tmp = 0.0
        	if ((z <= -12.8) || !(z <= 1e+17))
        		tmp = Float64(x + Float64(y * Float64(Float64(Float64(457.9610022158428 / Float64(z * z)) + Float64(Float64(t / z) / z)) + Float64(3.13060547623 + Float64(-36.52704169880642 / z)))));
        	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 * 11.9400905721))));
        	end
        	return tmp
        end
        
        function tmp_2 = code(x, y, z, t, a, b)
        	tmp = 0.0;
        	if ((z <= -12.8) || ~((z <= 1e+17)))
        		tmp = x + (y * (((457.9610022158428 / (z * z)) + ((t / z) / z)) + (3.13060547623 + (-36.52704169880642 / z))));
        	else
        		tmp = x + ((y * (b + (z * (a + (z * (t + (z * 11.1667541262))))))) / (0.607771387771 + (z * 11.9400905721)));
        	end
        	tmp_2 = tmp;
        end
        
        code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -12.8], N[Not[LessEqual[z, 1e+17]], $MachinePrecision]], N[(x + N[(y * N[(N[(N[(457.9610022158428 / N[(z * z), $MachinePrecision]), $MachinePrecision] + N[(N[(t / z), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision] + N[(3.13060547623 + N[(-36.52704169880642 / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $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 * 11.9400905721), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
        
        \begin{array}{l}
        
        \\
        \begin{array}{l}
        \mathbf{if}\;z \leq -12.8 \lor \neg \left(z \leq 10^{+17}\right):\\
        \;\;\;\;x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{\frac{t}{z}}{z}\right) + \left(3.13060547623 + \frac{-36.52704169880642}{z}\right)\right)\\
        
        \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 11.9400905721}\\
        
        
        \end{array}
        \end{array}
        
        Derivation
        1. Split input into 2 regimes
        2. if z < -12.800000000000001 or 1e17 < z

          1. Initial program 14.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/18.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. *-commutative18.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-def18.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. *-commutative18.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-def18.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. *-commutative18.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-def18.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. *-commutative18.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-def18.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. Simplified18.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 -inf 87.8%

            \[\leadsto x + \color{blue}{\left(\left(-1 \cdot \frac{-11.1667541262 \cdot y - -47.69379582500642 \cdot y}{z} + \left(3.13060547623 \cdot y + \frac{t \cdot y}{{z}^{2}}\right)\right) - \left(-15.234687407 \cdot \frac{-11.1667541262 \cdot y - -47.69379582500642 \cdot y}{{z}^{2}} + 98.5170599679272 \cdot \frac{y}{{z}^{2}}\right)\right)} \]
          5. Step-by-step derivation
            1. Simplified95.7%

              \[\leadsto x + \color{blue}{\left(\left(\mathsf{fma}\left(y, 3.13060547623, \frac{y}{z} \cdot \frac{t}{z}\right) - \frac{y \cdot 36.52704169880642}{z}\right) - \mathsf{fma}\left(98.5170599679272, \frac{y}{z \cdot z}, \frac{\left(y \cdot 36.52704169880642\right) \cdot -15.234687407}{z \cdot z}\right)\right)} \]
            2. Taylor expanded in y around 0 96.4%

              \[\leadsto x + \color{blue}{y \cdot \left(\left(3.13060547623 + \left(457.9610022158428 \cdot \frac{1}{{z}^{2}} + \frac{t}{{z}^{2}}\right)\right) - 36.52704169880642 \cdot \frac{1}{z}\right)} \]
            3. Step-by-step derivation
              1. sub-neg96.4%

                \[\leadsto x + y \cdot \color{blue}{\left(\left(3.13060547623 + \left(457.9610022158428 \cdot \frac{1}{{z}^{2}} + \frac{t}{{z}^{2}}\right)\right) + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right)} \]
              2. +-commutative96.4%

                \[\leadsto x + y \cdot \left(\color{blue}{\left(\left(457.9610022158428 \cdot \frac{1}{{z}^{2}} + \frac{t}{{z}^{2}}\right) + 3.13060547623\right)} + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right) \]
              3. associate-+l+96.4%

                \[\leadsto x + y \cdot \color{blue}{\left(\left(457.9610022158428 \cdot \frac{1}{{z}^{2}} + \frac{t}{{z}^{2}}\right) + \left(3.13060547623 + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right)\right)} \]
              4. associate-*r/96.4%

                \[\leadsto x + y \cdot \left(\left(\color{blue}{\frac{457.9610022158428 \cdot 1}{{z}^{2}}} + \frac{t}{{z}^{2}}\right) + \left(3.13060547623 + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right)\right) \]
              5. metadata-eval96.4%

                \[\leadsto x + y \cdot \left(\left(\frac{\color{blue}{457.9610022158428}}{{z}^{2}} + \frac{t}{{z}^{2}}\right) + \left(3.13060547623 + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right)\right) \]
              6. unpow296.4%

                \[\leadsto x + y \cdot \left(\left(\frac{457.9610022158428}{\color{blue}{z \cdot z}} + \frac{t}{{z}^{2}}\right) + \left(3.13060547623 + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right)\right) \]
              7. unpow296.4%

                \[\leadsto x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{t}{\color{blue}{z \cdot z}}\right) + \left(3.13060547623 + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right)\right) \]
              8. associate-/r*96.4%

                \[\leadsto x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \color{blue}{\frac{\frac{t}{z}}{z}}\right) + \left(3.13060547623 + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right)\right) \]
              9. associate-*r/96.4%

                \[\leadsto x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{\frac{t}{z}}{z}\right) + \left(3.13060547623 + \left(-\color{blue}{\frac{36.52704169880642 \cdot 1}{z}}\right)\right)\right) \]
              10. metadata-eval96.4%

                \[\leadsto x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{\frac{t}{z}}{z}\right) + \left(3.13060547623 + \left(-\frac{\color{blue}{36.52704169880642}}{z}\right)\right)\right) \]
              11. distribute-neg-frac96.4%

                \[\leadsto x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{\frac{t}{z}}{z}\right) + \left(3.13060547623 + \color{blue}{\frac{-36.52704169880642}{z}}\right)\right) \]
              12. metadata-eval96.4%

                \[\leadsto x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{\frac{t}{z}}{z}\right) + \left(3.13060547623 + \frac{\color{blue}{-36.52704169880642}}{z}\right)\right) \]
            4. Simplified96.4%

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

            if -12.800000000000001 < z < 1e17

            1. Initial program 99.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. Taylor expanded in z around 0 97.9%

              \[\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. *-commutative97.9%

                \[\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. Simplified97.9%

              \[\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} \]
            5. Taylor expanded in z around 0 97.9%

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

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

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

            \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -12.8 \lor \neg \left(z \leq 10^{+17}\right):\\ \;\;\;\;x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{\frac{t}{z}}{z}\right) + \left(3.13060547623 + \frac{-36.52704169880642}{z}\right)\right)\\ \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 11.9400905721}\\ \end{array} \]

          Alternative 5: 92.2% accurate, 1.5× speedup?

          \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -5.5 \cdot 10^{-22} \lor \neg \left(z \leq 2 \cdot 10^{+16}\right):\\ \;\;\;\;x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{\frac{t}{z}}{z}\right) + \left(3.13060547623 + \frac{-36.52704169880642}{z}\right)\right)\\ \mathbf{else}:\\ \;\;\;\;x + y \cdot \left(b \cdot 1.6453555072203998 + 1.6453555072203998 \cdot \left(z \cdot a\right)\right)\\ \end{array} \end{array} \]
          (FPCore (x y z t a b)
           :precision binary64
           (if (or (<= z -5.5e-22) (not (<= z 2e+16)))
             (+
              x
              (*
               y
               (+
                (+ (/ 457.9610022158428 (* z z)) (/ (/ t z) z))
                (+ 3.13060547623 (/ -36.52704169880642 z)))))
             (+ x (* y (+ (* b 1.6453555072203998) (* 1.6453555072203998 (* z a)))))))
          double code(double x, double y, double z, double t, double a, double b) {
          	double tmp;
          	if ((z <= -5.5e-22) || !(z <= 2e+16)) {
          		tmp = x + (y * (((457.9610022158428 / (z * z)) + ((t / z) / z)) + (3.13060547623 + (-36.52704169880642 / z))));
          	} else {
          		tmp = x + (y * ((b * 1.6453555072203998) + (1.6453555072203998 * (z * a))));
          	}
          	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 <= (-5.5d-22)) .or. (.not. (z <= 2d+16))) then
                  tmp = x + (y * (((457.9610022158428d0 / (z * z)) + ((t / z) / z)) + (3.13060547623d0 + ((-36.52704169880642d0) / z))))
              else
                  tmp = x + (y * ((b * 1.6453555072203998d0) + (1.6453555072203998d0 * (z * a))))
              end if
              code = tmp
          end function
          
          public static double code(double x, double y, double z, double t, double a, double b) {
          	double tmp;
          	if ((z <= -5.5e-22) || !(z <= 2e+16)) {
          		tmp = x + (y * (((457.9610022158428 / (z * z)) + ((t / z) / z)) + (3.13060547623 + (-36.52704169880642 / z))));
          	} else {
          		tmp = x + (y * ((b * 1.6453555072203998) + (1.6453555072203998 * (z * a))));
          	}
          	return tmp;
          }
          
          def code(x, y, z, t, a, b):
          	tmp = 0
          	if (z <= -5.5e-22) or not (z <= 2e+16):
          		tmp = x + (y * (((457.9610022158428 / (z * z)) + ((t / z) / z)) + (3.13060547623 + (-36.52704169880642 / z))))
          	else:
          		tmp = x + (y * ((b * 1.6453555072203998) + (1.6453555072203998 * (z * a))))
          	return tmp
          
          function code(x, y, z, t, a, b)
          	tmp = 0.0
          	if ((z <= -5.5e-22) || !(z <= 2e+16))
          		tmp = Float64(x + Float64(y * Float64(Float64(Float64(457.9610022158428 / Float64(z * z)) + Float64(Float64(t / z) / z)) + Float64(3.13060547623 + Float64(-36.52704169880642 / z)))));
          	else
          		tmp = Float64(x + Float64(y * Float64(Float64(b * 1.6453555072203998) + Float64(1.6453555072203998 * Float64(z * a)))));
          	end
          	return tmp
          end
          
          function tmp_2 = code(x, y, z, t, a, b)
          	tmp = 0.0;
          	if ((z <= -5.5e-22) || ~((z <= 2e+16)))
          		tmp = x + (y * (((457.9610022158428 / (z * z)) + ((t / z) / z)) + (3.13060547623 + (-36.52704169880642 / z))));
          	else
          		tmp = x + (y * ((b * 1.6453555072203998) + (1.6453555072203998 * (z * a))));
          	end
          	tmp_2 = tmp;
          end
          
          code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -5.5e-22], N[Not[LessEqual[z, 2e+16]], $MachinePrecision]], N[(x + N[(y * N[(N[(N[(457.9610022158428 / N[(z * z), $MachinePrecision]), $MachinePrecision] + N[(N[(t / z), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision] + N[(3.13060547623 + N[(-36.52704169880642 / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(y * N[(N[(b * 1.6453555072203998), $MachinePrecision] + N[(1.6453555072203998 * N[(z * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
          
          \begin{array}{l}
          
          \\
          \begin{array}{l}
          \mathbf{if}\;z \leq -5.5 \cdot 10^{-22} \lor \neg \left(z \leq 2 \cdot 10^{+16}\right):\\
          \;\;\;\;x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{\frac{t}{z}}{z}\right) + \left(3.13060547623 + \frac{-36.52704169880642}{z}\right)\right)\\
          
          \mathbf{else}:\\
          \;\;\;\;x + y \cdot \left(b \cdot 1.6453555072203998 + 1.6453555072203998 \cdot \left(z \cdot a\right)\right)\\
          
          
          \end{array}
          \end{array}
          
          Derivation
          1. Split input into 2 regimes
          2. if z < -5.5000000000000001e-22 or 2e16 < z

            1. Initial program 18.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/21.4%

                \[\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. *-commutative21.4%

                \[\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-def21.4%

                \[\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. *-commutative21.4%

                \[\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-def21.4%

                \[\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. *-commutative21.4%

                \[\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-def21.4%

                \[\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. *-commutative21.4%

                \[\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-def21.4%

                \[\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. Simplified21.4%

              \[\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 -inf 85.9%

              \[\leadsto x + \color{blue}{\left(\left(-1 \cdot \frac{-11.1667541262 \cdot y - -47.69379582500642 \cdot y}{z} + \left(3.13060547623 \cdot y + \frac{t \cdot y}{{z}^{2}}\right)\right) - \left(-15.234687407 \cdot \frac{-11.1667541262 \cdot y - -47.69379582500642 \cdot y}{{z}^{2}} + 98.5170599679272 \cdot \frac{y}{{z}^{2}}\right)\right)} \]
            5. Step-by-step derivation
              1. Simplified93.5%

                \[\leadsto x + \color{blue}{\left(\left(\mathsf{fma}\left(y, 3.13060547623, \frac{y}{z} \cdot \frac{t}{z}\right) - \frac{y \cdot 36.52704169880642}{z}\right) - \mathsf{fma}\left(98.5170599679272, \frac{y}{z \cdot z}, \frac{\left(y \cdot 36.52704169880642\right) \cdot -15.234687407}{z \cdot z}\right)\right)} \]
              2. Taylor expanded in y around 0 94.2%

                \[\leadsto x + \color{blue}{y \cdot \left(\left(3.13060547623 + \left(457.9610022158428 \cdot \frac{1}{{z}^{2}} + \frac{t}{{z}^{2}}\right)\right) - 36.52704169880642 \cdot \frac{1}{z}\right)} \]
              3. Step-by-step derivation
                1. sub-neg94.2%

                  \[\leadsto x + y \cdot \color{blue}{\left(\left(3.13060547623 + \left(457.9610022158428 \cdot \frac{1}{{z}^{2}} + \frac{t}{{z}^{2}}\right)\right) + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right)} \]
                2. +-commutative94.2%

                  \[\leadsto x + y \cdot \left(\color{blue}{\left(\left(457.9610022158428 \cdot \frac{1}{{z}^{2}} + \frac{t}{{z}^{2}}\right) + 3.13060547623\right)} + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right) \]
                3. associate-+l+94.2%

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

                  \[\leadsto x + y \cdot \left(\left(\color{blue}{\frac{457.9610022158428 \cdot 1}{{z}^{2}}} + \frac{t}{{z}^{2}}\right) + \left(3.13060547623 + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right)\right) \]
                5. metadata-eval94.2%

                  \[\leadsto x + y \cdot \left(\left(\frac{\color{blue}{457.9610022158428}}{{z}^{2}} + \frac{t}{{z}^{2}}\right) + \left(3.13060547623 + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right)\right) \]
                6. unpow294.2%

                  \[\leadsto x + y \cdot \left(\left(\frac{457.9610022158428}{\color{blue}{z \cdot z}} + \frac{t}{{z}^{2}}\right) + \left(3.13060547623 + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right)\right) \]
                7. unpow294.2%

                  \[\leadsto x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{t}{\color{blue}{z \cdot z}}\right) + \left(3.13060547623 + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right)\right) \]
                8. associate-/r*94.2%

                  \[\leadsto x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \color{blue}{\frac{\frac{t}{z}}{z}}\right) + \left(3.13060547623 + \left(-36.52704169880642 \cdot \frac{1}{z}\right)\right)\right) \]
                9. associate-*r/94.2%

                  \[\leadsto x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{\frac{t}{z}}{z}\right) + \left(3.13060547623 + \left(-\color{blue}{\frac{36.52704169880642 \cdot 1}{z}}\right)\right)\right) \]
                10. metadata-eval94.2%

                  \[\leadsto x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{\frac{t}{z}}{z}\right) + \left(3.13060547623 + \left(-\frac{\color{blue}{36.52704169880642}}{z}\right)\right)\right) \]
                11. distribute-neg-frac94.2%

                  \[\leadsto x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{\frac{t}{z}}{z}\right) + \left(3.13060547623 + \color{blue}{\frac{-36.52704169880642}{z}}\right)\right) \]
                12. metadata-eval94.2%

                  \[\leadsto x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{\frac{t}{z}}{z}\right) + \left(3.13060547623 + \frac{\color{blue}{-36.52704169880642}}{z}\right)\right) \]
              4. Simplified94.2%

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

              if -5.5000000000000001e-22 < z < 2e16

              1. Initial program 99.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/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 78.4%

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

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

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

                  \[\leadsto x + y \cdot \left(1.6453555072203998 \cdot b + 1.6453555072203998 \cdot \color{blue}{\left(z \cdot a\right)}\right) \]
              8. Simplified95.0%

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

              \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -5.5 \cdot 10^{-22} \lor \neg \left(z \leq 2 \cdot 10^{+16}\right):\\ \;\;\;\;x + y \cdot \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{\frac{t}{z}}{z}\right) + \left(3.13060547623 + \frac{-36.52704169880642}{z}\right)\right)\\ \mathbf{else}:\\ \;\;\;\;x + y \cdot \left(b \cdot 1.6453555072203998 + 1.6453555072203998 \cdot \left(z \cdot a\right)\right)\\ \end{array} \]

            Alternative 6: 89.5% accurate, 2.2× speedup?

            \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -8.6 \cdot 10^{+26} \lor \neg \left(z \leq 4.2 \cdot 10^{+27}\right):\\ \;\;\;\;x + y \cdot 3.13060547623\\ \mathbf{else}:\\ \;\;\;\;x + y \cdot \left(b \cdot 1.6453555072203998 + 1.6453555072203998 \cdot \left(z \cdot a\right)\right)\\ \end{array} \end{array} \]
            (FPCore (x y z t a b)
             :precision binary64
             (if (or (<= z -8.6e+26) (not (<= z 4.2e+27)))
               (+ x (* y 3.13060547623))
               (+ x (* y (+ (* b 1.6453555072203998) (* 1.6453555072203998 (* z a)))))))
            double code(double x, double y, double z, double t, double a, double b) {
            	double tmp;
            	if ((z <= -8.6e+26) || !(z <= 4.2e+27)) {
            		tmp = x + (y * 3.13060547623);
            	} else {
            		tmp = x + (y * ((b * 1.6453555072203998) + (1.6453555072203998 * (z * a))));
            	}
            	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 <= (-8.6d+26)) .or. (.not. (z <= 4.2d+27))) then
                    tmp = x + (y * 3.13060547623d0)
                else
                    tmp = x + (y * ((b * 1.6453555072203998d0) + (1.6453555072203998d0 * (z * a))))
                end if
                code = tmp
            end function
            
            public static double code(double x, double y, double z, double t, double a, double b) {
            	double tmp;
            	if ((z <= -8.6e+26) || !(z <= 4.2e+27)) {
            		tmp = x + (y * 3.13060547623);
            	} else {
            		tmp = x + (y * ((b * 1.6453555072203998) + (1.6453555072203998 * (z * a))));
            	}
            	return tmp;
            }
            
            def code(x, y, z, t, a, b):
            	tmp = 0
            	if (z <= -8.6e+26) or not (z <= 4.2e+27):
            		tmp = x + (y * 3.13060547623)
            	else:
            		tmp = x + (y * ((b * 1.6453555072203998) + (1.6453555072203998 * (z * a))))
            	return tmp
            
            function code(x, y, z, t, a, b)
            	tmp = 0.0
            	if ((z <= -8.6e+26) || !(z <= 4.2e+27))
            		tmp = Float64(x + Float64(y * 3.13060547623));
            	else
            		tmp = Float64(x + Float64(y * Float64(Float64(b * 1.6453555072203998) + Float64(1.6453555072203998 * Float64(z * a)))));
            	end
            	return tmp
            end
            
            function tmp_2 = code(x, y, z, t, a, b)
            	tmp = 0.0;
            	if ((z <= -8.6e+26) || ~((z <= 4.2e+27)))
            		tmp = x + (y * 3.13060547623);
            	else
            		tmp = x + (y * ((b * 1.6453555072203998) + (1.6453555072203998 * (z * a))));
            	end
            	tmp_2 = tmp;
            end
            
            code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -8.6e+26], N[Not[LessEqual[z, 4.2e+27]], $MachinePrecision]], N[(x + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision], N[(x + N[(y * N[(N[(b * 1.6453555072203998), $MachinePrecision] + N[(1.6453555072203998 * N[(z * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
            
            \begin{array}{l}
            
            \\
            \begin{array}{l}
            \mathbf{if}\;z \leq -8.6 \cdot 10^{+26} \lor \neg \left(z \leq 4.2 \cdot 10^{+27}\right):\\
            \;\;\;\;x + y \cdot 3.13060547623\\
            
            \mathbf{else}:\\
            \;\;\;\;x + y \cdot \left(b \cdot 1.6453555072203998 + 1.6453555072203998 \cdot \left(z \cdot a\right)\right)\\
            
            
            \end{array}
            \end{array}
            
            Derivation
            1. Split input into 2 regimes
            2. if z < -8.5999999999999996e26 or 4.19999999999999989e27 < z

              1. Initial program 11.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. +-commutative11.1%

                  \[\leadsto \color{blue}{\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} + x} \]
                2. associate-*l/14.4%

                  \[\leadsto \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)} + x \]
                3. fma-def14.4%

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

                \[\leadsto \color{blue}{\mathsf{fma}\left(\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)}, \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), x\right)} \]
              4. Taylor expanded in z around inf 93.5%

                \[\leadsto \color{blue}{x + 3.13060547623 \cdot y} \]
              5. Step-by-step derivation
                1. +-commutative93.5%

                  \[\leadsto \color{blue}{3.13060547623 \cdot y + x} \]
                2. *-commutative93.5%

                  \[\leadsto \color{blue}{y \cdot 3.13060547623} + x \]
              6. Simplified93.5%

                \[\leadsto \color{blue}{y \cdot 3.13060547623 + x} \]

              if -8.5999999999999996e26 < z < 4.19999999999999989e27

              1. Initial program 99.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/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 76.0%

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

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

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

                  \[\leadsto x + y \cdot \left(1.6453555072203998 \cdot b + 1.6453555072203998 \cdot \color{blue}{\left(z \cdot a\right)}\right) \]
              8. Simplified91.4%

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

              \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -8.6 \cdot 10^{+26} \lor \neg \left(z \leq 4.2 \cdot 10^{+27}\right):\\ \;\;\;\;x + y \cdot 3.13060547623\\ \mathbf{else}:\\ \;\;\;\;x + y \cdot \left(b \cdot 1.6453555072203998 + 1.6453555072203998 \cdot \left(z \cdot a\right)\right)\\ \end{array} \]

            Alternative 7: 82.9% accurate, 2.4× speedup?

            \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -12.8:\\ \;\;\;\;x + \frac{y}{0.31942702700572795 + \frac{3.7269864963038164}{z}}\\ \mathbf{elif}\;z \leq 2.2 \cdot 10^{+29}:\\ \;\;\;\;x + \frac{y \cdot b}{0.607771387771 + z \cdot 11.9400905721}\\ \mathbf{else}:\\ \;\;\;\;x + y \cdot 3.13060547623\\ \end{array} \end{array} \]
            (FPCore (x y z t a b)
             :precision binary64
             (if (<= z -12.8)
               (+ x (/ y (+ 0.31942702700572795 (/ 3.7269864963038164 z))))
               (if (<= z 2.2e+29)
                 (+ x (/ (* y b) (+ 0.607771387771 (* z 11.9400905721))))
                 (+ x (* y 3.13060547623)))))
            double code(double x, double y, double z, double t, double a, double b) {
            	double tmp;
            	if (z <= -12.8) {
            		tmp = x + (y / (0.31942702700572795 + (3.7269864963038164 / z)));
            	} else if (z <= 2.2e+29) {
            		tmp = x + ((y * b) / (0.607771387771 + (z * 11.9400905721)));
            	} else {
            		tmp = x + (y * 3.13060547623);
            	}
            	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 <= (-12.8d0)) then
                    tmp = x + (y / (0.31942702700572795d0 + (3.7269864963038164d0 / z)))
                else if (z <= 2.2d+29) then
                    tmp = x + ((y * b) / (0.607771387771d0 + (z * 11.9400905721d0)))
                else
                    tmp = x + (y * 3.13060547623d0)
                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 <= -12.8) {
            		tmp = x + (y / (0.31942702700572795 + (3.7269864963038164 / z)));
            	} else if (z <= 2.2e+29) {
            		tmp = x + ((y * b) / (0.607771387771 + (z * 11.9400905721)));
            	} else {
            		tmp = x + (y * 3.13060547623);
            	}
            	return tmp;
            }
            
            def code(x, y, z, t, a, b):
            	tmp = 0
            	if z <= -12.8:
            		tmp = x + (y / (0.31942702700572795 + (3.7269864963038164 / z)))
            	elif z <= 2.2e+29:
            		tmp = x + ((y * b) / (0.607771387771 + (z * 11.9400905721)))
            	else:
            		tmp = x + (y * 3.13060547623)
            	return tmp
            
            function code(x, y, z, t, a, b)
            	tmp = 0.0
            	if (z <= -12.8)
            		tmp = Float64(x + Float64(y / Float64(0.31942702700572795 + Float64(3.7269864963038164 / z))));
            	elseif (z <= 2.2e+29)
            		tmp = Float64(x + Float64(Float64(y * b) / Float64(0.607771387771 + Float64(z * 11.9400905721))));
            	else
            		tmp = Float64(x + Float64(y * 3.13060547623));
            	end
            	return tmp
            end
            
            function tmp_2 = code(x, y, z, t, a, b)
            	tmp = 0.0;
            	if (z <= -12.8)
            		tmp = x + (y / (0.31942702700572795 + (3.7269864963038164 / z)));
            	elseif (z <= 2.2e+29)
            		tmp = x + ((y * b) / (0.607771387771 + (z * 11.9400905721)));
            	else
            		tmp = x + (y * 3.13060547623);
            	end
            	tmp_2 = tmp;
            end
            
            code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -12.8], N[(x + N[(y / N[(0.31942702700572795 + N[(3.7269864963038164 / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.2e+29], N[(x + N[(N[(y * b), $MachinePrecision] / N[(0.607771387771 + N[(z * 11.9400905721), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision]]]
            
            \begin{array}{l}
            
            \\
            \begin{array}{l}
            \mathbf{if}\;z \leq -12.8:\\
            \;\;\;\;x + \frac{y}{0.31942702700572795 + \frac{3.7269864963038164}{z}}\\
            
            \mathbf{elif}\;z \leq 2.2 \cdot 10^{+29}:\\
            \;\;\;\;x + \frac{y \cdot b}{0.607771387771 + z \cdot 11.9400905721}\\
            
            \mathbf{else}:\\
            \;\;\;\;x + y \cdot 3.13060547623\\
            
            
            \end{array}
            \end{array}
            
            Derivation
            1. Split input into 3 regimes
            2. if z < -12.800000000000001

              1. Initial program 18.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*21.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-def21.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-def21.4%

                  \[\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.4%

                  \[\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.4%

                  \[\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.4%

                  \[\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.4%

                  \[\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.4%

                  \[\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.4%

                \[\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.6%

                \[\leadsto x + \frac{y}{\color{blue}{0.31942702700572795 + 3.7269864963038164 \cdot \frac{1}{z}}} \]
              5. Step-by-step derivation
                1. associate-*r/86.6%

                  \[\leadsto x + \frac{y}{0.31942702700572795 + \color{blue}{\frac{3.7269864963038164 \cdot 1}{z}}} \]
                2. metadata-eval86.6%

                  \[\leadsto x + \frac{y}{0.31942702700572795 + \frac{\color{blue}{3.7269864963038164}}{z}} \]
              6. Simplified86.6%

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

              if -12.800000000000001 < z < 2.2000000000000001e29

              1. Initial program 99.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. Taylor expanded in z around 0 97.9%

                \[\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. *-commutative97.9%

                  \[\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. Simplified97.9%

                \[\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} \]
              5. Taylor expanded in z around 0 78.2%

                \[\leadsto x + \frac{\color{blue}{b \cdot y}}{z \cdot 11.9400905721 + 0.607771387771} \]
              6. Step-by-step derivation
                1. *-commutative78.2%

                  \[\leadsto x + \frac{\color{blue}{y \cdot b}}{z \cdot 11.9400905721 + 0.607771387771} \]
              7. Simplified78.2%

                \[\leadsto x + \frac{\color{blue}{y \cdot b}}{z \cdot 11.9400905721 + 0.607771387771} \]

              if 2.2000000000000001e29 < z

              1. Initial program 10.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. +-commutative10.2%

                  \[\leadsto \color{blue}{\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} + x} \]
                2. associate-*l/13.7%

                  \[\leadsto \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)} + x \]
                3. fma-def13.7%

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

                \[\leadsto \color{blue}{\mathsf{fma}\left(\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)}, \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), x\right)} \]
              4. Taylor expanded in z around inf 96.2%

                \[\leadsto \color{blue}{x + 3.13060547623 \cdot y} \]
              5. Step-by-step derivation
                1. +-commutative96.2%

                  \[\leadsto \color{blue}{3.13060547623 \cdot y + x} \]
                2. *-commutative96.2%

                  \[\leadsto \color{blue}{y \cdot 3.13060547623} + x \]
              6. Simplified96.2%

                \[\leadsto \color{blue}{y \cdot 3.13060547623 + x} \]
            3. Recombined 3 regimes into one program.
            4. Final simplification83.9%

              \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -12.8:\\ \;\;\;\;x + \frac{y}{0.31942702700572795 + \frac{3.7269864963038164}{z}}\\ \mathbf{elif}\;z \leq 2.2 \cdot 10^{+29}:\\ \;\;\;\;x + \frac{y \cdot b}{0.607771387771 + z \cdot 11.9400905721}\\ \mathbf{else}:\\ \;\;\;\;x + y \cdot 3.13060547623\\ \end{array} \]

            Alternative 8: 82.7% accurate, 3.3× speedup?

            \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -1.25 \cdot 10^{-9} \lor \neg \left(z \leq 4.2 \cdot 10^{+27}\right):\\ \;\;\;\;x + y \cdot 3.13060547623\\ \mathbf{else}:\\ \;\;\;\;x + b \cdot \left(y \cdot 1.6453555072203998\right)\\ \end{array} \end{array} \]
            (FPCore (x y z t a b)
             :precision binary64
             (if (or (<= z -1.25e-9) (not (<= z 4.2e+27)))
               (+ x (* y 3.13060547623))
               (+ x (* b (* y 1.6453555072203998)))))
            double code(double x, double y, double z, double t, double a, double b) {
            	double tmp;
            	if ((z <= -1.25e-9) || !(z <= 4.2e+27)) {
            		tmp = x + (y * 3.13060547623);
            	} else {
            		tmp = x + (b * (y * 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 <= (-1.25d-9)) .or. (.not. (z <= 4.2d+27))) then
                    tmp = x + (y * 3.13060547623d0)
                else
                    tmp = x + (b * (y * 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 <= -1.25e-9) || !(z <= 4.2e+27)) {
            		tmp = x + (y * 3.13060547623);
            	} else {
            		tmp = x + (b * (y * 1.6453555072203998));
            	}
            	return tmp;
            }
            
            def code(x, y, z, t, a, b):
            	tmp = 0
            	if (z <= -1.25e-9) or not (z <= 4.2e+27):
            		tmp = x + (y * 3.13060547623)
            	else:
            		tmp = x + (b * (y * 1.6453555072203998))
            	return tmp
            
            function code(x, y, z, t, a, b)
            	tmp = 0.0
            	if ((z <= -1.25e-9) || !(z <= 4.2e+27))
            		tmp = Float64(x + Float64(y * 3.13060547623));
            	else
            		tmp = Float64(x + Float64(b * Float64(y * 1.6453555072203998)));
            	end
            	return tmp
            end
            
            function tmp_2 = code(x, y, z, t, a, b)
            	tmp = 0.0;
            	if ((z <= -1.25e-9) || ~((z <= 4.2e+27)))
            		tmp = x + (y * 3.13060547623);
            	else
            		tmp = x + (b * (y * 1.6453555072203998));
            	end
            	tmp_2 = tmp;
            end
            
            code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -1.25e-9], N[Not[LessEqual[z, 4.2e+27]], $MachinePrecision]], N[(x + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision], N[(x + N[(b * N[(y * 1.6453555072203998), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
            
            \begin{array}{l}
            
            \\
            \begin{array}{l}
            \mathbf{if}\;z \leq -1.25 \cdot 10^{-9} \lor \neg \left(z \leq 4.2 \cdot 10^{+27}\right):\\
            \;\;\;\;x + y \cdot 3.13060547623\\
            
            \mathbf{else}:\\
            \;\;\;\;x + b \cdot \left(y \cdot 1.6453555072203998\right)\\
            
            
            \end{array}
            \end{array}
            
            Derivation
            1. Split input into 2 regimes
            2. if z < -1.25e-9 or 4.19999999999999989e27 < z

              1. Initial program 16.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. +-commutative16.3%

                  \[\leadsto \color{blue}{\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} + x} \]
                2. associate-*l/19.4%

                  \[\leadsto \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)} + x \]
                3. fma-def19.4%

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

                \[\leadsto \color{blue}{\mathsf{fma}\left(\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)}, \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), x\right)} \]
              4. Taylor expanded in z around inf 89.2%

                \[\leadsto \color{blue}{x + 3.13060547623 \cdot y} \]
              5. Step-by-step derivation
                1. +-commutative89.2%

                  \[\leadsto \color{blue}{3.13060547623 \cdot y + x} \]
                2. *-commutative89.2%

                  \[\leadsto \color{blue}{y \cdot 3.13060547623} + x \]
              6. Simplified89.2%

                \[\leadsto \color{blue}{y \cdot 3.13060547623 + x} \]

              if -1.25e-9 < z < 4.19999999999999989e27

              1. Initial program 99.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*99.6%

                  \[\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.7%

                  \[\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.7%

                  \[\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.7%

                  \[\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.7%

                  \[\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.7%

                  \[\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.7%

                  \[\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.7%

                  \[\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.7%

                \[\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 inf 79.9%

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

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

                  \[\leadsto x + \color{blue}{\left(b \cdot y\right) \cdot 1.6453555072203998} \]
                2. associate-*r*79.3%

                  \[\leadsto x + \color{blue}{b \cdot \left(y \cdot 1.6453555072203998\right)} \]
              7. Simplified79.3%

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

              \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -1.25 \cdot 10^{-9} \lor \neg \left(z \leq 4.2 \cdot 10^{+27}\right):\\ \;\;\;\;x + y \cdot 3.13060547623\\ \mathbf{else}:\\ \;\;\;\;x + b \cdot \left(y \cdot 1.6453555072203998\right)\\ \end{array} \]

            Alternative 9: 82.6% accurate, 3.3× speedup?

            \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -1.55 \cdot 10^{-30}:\\ \;\;\;\;x + \frac{y}{0.31942702700572795 + \frac{3.7269864963038164}{z}}\\ \mathbf{elif}\;z \leq 1.32 \cdot 10^{+20}:\\ \;\;\;\;x + b \cdot \left(y \cdot 1.6453555072203998\right)\\ \mathbf{else}:\\ \;\;\;\;x + y \cdot 3.13060547623\\ \end{array} \end{array} \]
            (FPCore (x y z t a b)
             :precision binary64
             (if (<= z -1.55e-30)
               (+ x (/ y (+ 0.31942702700572795 (/ 3.7269864963038164 z))))
               (if (<= z 1.32e+20)
                 (+ x (* b (* y 1.6453555072203998)))
                 (+ x (* y 3.13060547623)))))
            double code(double x, double y, double z, double t, double a, double b) {
            	double tmp;
            	if (z <= -1.55e-30) {
            		tmp = x + (y / (0.31942702700572795 + (3.7269864963038164 / z)));
            	} else if (z <= 1.32e+20) {
            		tmp = x + (b * (y * 1.6453555072203998));
            	} else {
            		tmp = x + (y * 3.13060547623);
            	}
            	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.55d-30)) then
                    tmp = x + (y / (0.31942702700572795d0 + (3.7269864963038164d0 / z)))
                else if (z <= 1.32d+20) then
                    tmp = x + (b * (y * 1.6453555072203998d0))
                else
                    tmp = x + (y * 3.13060547623d0)
                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.55e-30) {
            		tmp = x + (y / (0.31942702700572795 + (3.7269864963038164 / z)));
            	} else if (z <= 1.32e+20) {
            		tmp = x + (b * (y * 1.6453555072203998));
            	} else {
            		tmp = x + (y * 3.13060547623);
            	}
            	return tmp;
            }
            
            def code(x, y, z, t, a, b):
            	tmp = 0
            	if z <= -1.55e-30:
            		tmp = x + (y / (0.31942702700572795 + (3.7269864963038164 / z)))
            	elif z <= 1.32e+20:
            		tmp = x + (b * (y * 1.6453555072203998))
            	else:
            		tmp = x + (y * 3.13060547623)
            	return tmp
            
            function code(x, y, z, t, a, b)
            	tmp = 0.0
            	if (z <= -1.55e-30)
            		tmp = Float64(x + Float64(y / Float64(0.31942702700572795 + Float64(3.7269864963038164 / z))));
            	elseif (z <= 1.32e+20)
            		tmp = Float64(x + Float64(b * Float64(y * 1.6453555072203998)));
            	else
            		tmp = Float64(x + Float64(y * 3.13060547623));
            	end
            	return tmp
            end
            
            function tmp_2 = code(x, y, z, t, a, b)
            	tmp = 0.0;
            	if (z <= -1.55e-30)
            		tmp = x + (y / (0.31942702700572795 + (3.7269864963038164 / z)));
            	elseif (z <= 1.32e+20)
            		tmp = x + (b * (y * 1.6453555072203998));
            	else
            		tmp = x + (y * 3.13060547623);
            	end
            	tmp_2 = tmp;
            end
            
            code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -1.55e-30], N[(x + N[(y / N[(0.31942702700572795 + N[(3.7269864963038164 / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.32e+20], N[(x + N[(b * N[(y * 1.6453555072203998), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision]]]
            
            \begin{array}{l}
            
            \\
            \begin{array}{l}
            \mathbf{if}\;z \leq -1.55 \cdot 10^{-30}:\\
            \;\;\;\;x + \frac{y}{0.31942702700572795 + \frac{3.7269864963038164}{z}}\\
            
            \mathbf{elif}\;z \leq 1.32 \cdot 10^{+20}:\\
            \;\;\;\;x + b \cdot \left(y \cdot 1.6453555072203998\right)\\
            
            \mathbf{else}:\\
            \;\;\;\;x + y \cdot 3.13060547623\\
            
            
            \end{array}
            \end{array}
            
            Derivation
            1. Split input into 3 regimes
            2. if z < -1.54999999999999995e-30

              1. Initial program 25.5%

                \[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*28.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-def28.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-def28.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-def28.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-def28.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-def28.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-def28.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-def28.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. Simplified28.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.0%

                \[\leadsto x + \frac{y}{\color{blue}{0.31942702700572795 + 3.7269864963038164 \cdot \frac{1}{z}}} \]
              5. Step-by-step derivation
                1. associate-*r/81.0%

                  \[\leadsto x + \frac{y}{0.31942702700572795 + \color{blue}{\frac{3.7269864963038164 \cdot 1}{z}}} \]
                2. metadata-eval81.0%

                  \[\leadsto x + \frac{y}{0.31942702700572795 + \frac{\color{blue}{3.7269864963038164}}{z}} \]
              6. Simplified81.0%

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

              if -1.54999999999999995e-30 < z < 1.32e20

              1. Initial program 99.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*99.6%

                  \[\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.7%

                  \[\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.7%

                  \[\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.7%

                  \[\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.7%

                  \[\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.7%

                  \[\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.7%

                  \[\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.7%

                  \[\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.7%

                \[\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 inf 81.4%

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

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

                  \[\leadsto x + \color{blue}{\left(b \cdot y\right) \cdot 1.6453555072203998} \]
                2. associate-*r*80.8%

                  \[\leadsto x + \color{blue}{b \cdot \left(y \cdot 1.6453555072203998\right)} \]
              7. Simplified80.8%

                \[\leadsto x + \color{blue}{b \cdot \left(y \cdot 1.6453555072203998\right)} \]

              if 1.32e20 < z

              1. Initial program 10.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. +-commutative10.2%

                  \[\leadsto \color{blue}{\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} + x} \]
                2. associate-*l/13.7%

                  \[\leadsto \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)} + x \]
                3. fma-def13.7%

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

                \[\leadsto \color{blue}{\mathsf{fma}\left(\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)}, \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), x\right)} \]
              4. Taylor expanded in z around inf 96.2%

                \[\leadsto \color{blue}{x + 3.13060547623 \cdot y} \]
              5. Step-by-step derivation
                1. +-commutative96.2%

                  \[\leadsto \color{blue}{3.13060547623 \cdot y + x} \]
                2. *-commutative96.2%

                  \[\leadsto \color{blue}{y \cdot 3.13060547623} + x \]
              6. Simplified96.2%

                \[\leadsto \color{blue}{y \cdot 3.13060547623 + x} \]
            3. Recombined 3 regimes into one program.
            4. Final simplification83.9%

              \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -1.55 \cdot 10^{-30}:\\ \;\;\;\;x + \frac{y}{0.31942702700572795 + \frac{3.7269864963038164}{z}}\\ \mathbf{elif}\;z \leq 1.32 \cdot 10^{+20}:\\ \;\;\;\;x + b \cdot \left(y \cdot 1.6453555072203998\right)\\ \mathbf{else}:\\ \;\;\;\;x + y \cdot 3.13060547623\\ \end{array} \]

            Alternative 10: 64.3% accurate, 4.0× speedup?

            \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -1.06 \cdot 10^{-122} \lor \neg \left(z \leq 2.7 \cdot 10^{-45}\right):\\ \;\;\;\;x + y \cdot 3.13060547623\\ \mathbf{else}:\\ \;\;\;\;x\\ \end{array} \end{array} \]
            (FPCore (x y z t a b)
             :precision binary64
             (if (or (<= z -1.06e-122) (not (<= z 2.7e-45))) (+ x (* y 3.13060547623)) x))
            double code(double x, double y, double z, double t, double a, double b) {
            	double tmp;
            	if ((z <= -1.06e-122) || !(z <= 2.7e-45)) {
            		tmp = x + (y * 3.13060547623);
            	} 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 <= (-1.06d-122)) .or. (.not. (z <= 2.7d-45))) then
                    tmp = x + (y * 3.13060547623d0)
                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 <= -1.06e-122) || !(z <= 2.7e-45)) {
            		tmp = x + (y * 3.13060547623);
            	} else {
            		tmp = x;
            	}
            	return tmp;
            }
            
            def code(x, y, z, t, a, b):
            	tmp = 0
            	if (z <= -1.06e-122) or not (z <= 2.7e-45):
            		tmp = x + (y * 3.13060547623)
            	else:
            		tmp = x
            	return tmp
            
            function code(x, y, z, t, a, b)
            	tmp = 0.0
            	if ((z <= -1.06e-122) || !(z <= 2.7e-45))
            		tmp = Float64(x + Float64(y * 3.13060547623));
            	else
            		tmp = x;
            	end
            	return tmp
            end
            
            function tmp_2 = code(x, y, z, t, a, b)
            	tmp = 0.0;
            	if ((z <= -1.06e-122) || ~((z <= 2.7e-45)))
            		tmp = x + (y * 3.13060547623);
            	else
            		tmp = x;
            	end
            	tmp_2 = tmp;
            end
            
            code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -1.06e-122], N[Not[LessEqual[z, 2.7e-45]], $MachinePrecision]], N[(x + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision], x]
            
            \begin{array}{l}
            
            \\
            \begin{array}{l}
            \mathbf{if}\;z \leq -1.06 \cdot 10^{-122} \lor \neg \left(z \leq 2.7 \cdot 10^{-45}\right):\\
            \;\;\;\;x + y \cdot 3.13060547623\\
            
            \mathbf{else}:\\
            \;\;\;\;x\\
            
            
            \end{array}
            \end{array}
            
            Derivation
            1. Split input into 2 regimes
            2. if z < -1.05999999999999994e-122 or 2.69999999999999985e-45 < z

              1. Initial program 38.8%

                \[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. +-commutative38.8%

                  \[\leadsto \color{blue}{\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} + x} \]
                2. associate-*l/41.6%

                  \[\leadsto \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)} + x \]
                3. fma-def41.6%

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

                \[\leadsto \color{blue}{\mathsf{fma}\left(\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)}, \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), x\right)} \]
              4. Taylor expanded in z around inf 74.0%

                \[\leadsto \color{blue}{x + 3.13060547623 \cdot y} \]
              5. Step-by-step derivation
                1. +-commutative74.0%

                  \[\leadsto \color{blue}{3.13060547623 \cdot y + x} \]
                2. *-commutative74.0%

                  \[\leadsto \color{blue}{y \cdot 3.13060547623} + x \]
              6. Simplified74.0%

                \[\leadsto \color{blue}{y \cdot 3.13060547623 + x} \]

              if -1.05999999999999994e-122 < z < 2.69999999999999985e-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. +-commutative99.7%

                  \[\leadsto \color{blue}{\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} + x} \]
                2. associate-*l/99.6%

                  \[\leadsto \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)} + x \]
                3. fma-def99.6%

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

                \[\leadsto \color{blue}{\mathsf{fma}\left(\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)}, \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), x\right)} \]
              4. Taylor expanded in y around 0 43.5%

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

              \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -1.06 \cdot 10^{-122} \lor \neg \left(z \leq 2.7 \cdot 10^{-45}\right):\\ \;\;\;\;x + y \cdot 3.13060547623\\ \mathbf{else}:\\ \;\;\;\;x\\ \end{array} \]

            Alternative 11: 45.2% 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 61.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. +-commutative61.0%

                \[\leadsto \color{blue}{\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} + x} \]
              2. associate-*l/62.7%

                \[\leadsto \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)} + x \]
              3. fma-def62.7%

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

              \[\leadsto \color{blue}{\mathsf{fma}\left(\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)}, \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), x\right)} \]
            4. Taylor expanded in y around 0 42.9%

              \[\leadsto \color{blue}{x} \]
            5. Final simplification42.9%

              \[\leadsto x \]

            Developer target: 98.3% 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 2023279 
            (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))))