Average Error: 29.0 → 0.8
Time: 47.9s
Precision: binary64
Cost: 46664
\[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} \]
\[\begin{array}{l} t_1 := \mathsf{fma}\left(y, \left(3.13060547623 + \frac{-36.52704169880642}{z}\right) + \left(\frac{t}{z \cdot z} + \left(\frac{\frac{457.9610022158428}{z}}{z} + \frac{a + \left(t \cdot -15.234687407 + -5864.8025282699045\right)}{{z}^{3}}\right)\right), x\right)\\ \mathbf{if}\;z \leq -3.4 \cdot 10^{+30}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 270000:\\ \;\;\;\;x + \left(y \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)\right) \cdot \frac{1}{\mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, z + 15.234687407, 31.4690115749\right), 11.9400905721\right), 0.607771387771\right)}\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \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))))
(FPCore (x y z t a b)
 :precision binary64
 (let* ((t_1
         (fma
          y
          (+
           (+ 3.13060547623 (/ -36.52704169880642 z))
           (+
            (/ t (* z z))
            (+
             (/ (/ 457.9610022158428 z) z)
             (/
              (+ a (+ (* t -15.234687407) -5864.8025282699045))
              (pow z 3.0)))))
          x)))
   (if (<= z -3.4e+30)
     t_1
     (if (<= z 270000.0)
       (+
        x
        (*
         (*
          y
          (fma z (fma z (fma z (fma z 3.13060547623 11.1667541262) t) a) b))
         (/
          1.0
          (fma
           z
           (fma z (fma z (+ z 15.234687407) 31.4690115749) 11.9400905721)
           0.607771387771))))
       t_1))))
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));
}
double code(double x, double y, double z, double t, double a, double b) {
	double t_1 = fma(y, ((3.13060547623 + (-36.52704169880642 / z)) + ((t / (z * z)) + (((457.9610022158428 / z) / z) + ((a + ((t * -15.234687407) + -5864.8025282699045)) / pow(z, 3.0))))), x);
	double tmp;
	if (z <= -3.4e+30) {
		tmp = t_1;
	} else if (z <= 270000.0) {
		tmp = x + ((y * fma(z, fma(z, fma(z, fma(z, 3.13060547623, 11.1667541262), t), a), b)) * (1.0 / fma(z, fma(z, fma(z, (z + 15.234687407), 31.4690115749), 11.9400905721), 0.607771387771)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
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 code(x, y, z, t, a, b)
	t_1 = fma(y, Float64(Float64(3.13060547623 + Float64(-36.52704169880642 / z)) + Float64(Float64(t / Float64(z * z)) + Float64(Float64(Float64(457.9610022158428 / z) / z) + Float64(Float64(a + Float64(Float64(t * -15.234687407) + -5864.8025282699045)) / (z ^ 3.0))))), x)
	tmp = 0.0
	if (z <= -3.4e+30)
		tmp = t_1;
	elseif (z <= 270000.0)
		tmp = Float64(x + Float64(Float64(y * fma(z, fma(z, fma(z, fma(z, 3.13060547623, 11.1667541262), t), a), b)) * Float64(1.0 / fma(z, fma(z, fma(z, Float64(z + 15.234687407), 31.4690115749), 11.9400905721), 0.607771387771))));
	else
		tmp = t_1;
	end
	return tmp
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]
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(y * N[(N[(3.13060547623 + N[(-36.52704169880642 / z), $MachinePrecision]), $MachinePrecision] + N[(N[(t / N[(z * z), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(457.9610022158428 / z), $MachinePrecision] / z), $MachinePrecision] + N[(N[(a + N[(N[(t * -15.234687407), $MachinePrecision] + -5864.8025282699045), $MachinePrecision]), $MachinePrecision] / N[Power[z, 3.0], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision]}, If[LessEqual[z, -3.4e+30], t$95$1, If[LessEqual[z, 270000.0], N[(x + N[(N[(y * N[(z * N[(z * N[(z * N[(z * 3.13060547623 + 11.1667541262), $MachinePrecision] + t), $MachinePrecision] + a), $MachinePrecision] + b), $MachinePrecision]), $MachinePrecision] * N[(1.0 / N[(z * N[(z * N[(z * N[(z + 15.234687407), $MachinePrecision] + 31.4690115749), $MachinePrecision] + 11.9400905721), $MachinePrecision] + 0.607771387771), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$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}
\begin{array}{l}
t_1 := \mathsf{fma}\left(y, \left(3.13060547623 + \frac{-36.52704169880642}{z}\right) + \left(\frac{t}{z \cdot z} + \left(\frac{\frac{457.9610022158428}{z}}{z} + \frac{a + \left(t \cdot -15.234687407 + -5864.8025282699045\right)}{{z}^{3}}\right)\right), x\right)\\
\mathbf{if}\;z \leq -3.4 \cdot 10^{+30}:\\
\;\;\;\;t_1\\

\mathbf{elif}\;z \leq 270000:\\
\;\;\;\;x + \left(y \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)\right) \cdot \frac{1}{\mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, z + 15.234687407, 31.4690115749\right), 11.9400905721\right), 0.607771387771\right)}\\

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


\end{array}

Error

Target

Original29.0
Target0.8
Herbie0.8
\[\begin{array}{l} \mathbf{if}\;z < -6.499344996252632 \cdot 10^{+53}:\\ \;\;\;\;x + \left(\left(3.13060547623 - \frac{36.527041698806414}{z}\right) + \frac{t}{z \cdot z}\right) \cdot \frac{y}{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}:\\ \;\;\;\;x + \left(\left(3.13060547623 - \frac{36.527041698806414}{z}\right) + \frac{t}{z \cdot z}\right) \cdot \frac{y}{1}\\ \end{array} \]

Derivation

  1. Split input into 2 regimes
  2. if z < -3.4000000000000002e30 or 2.7e5 < z

    1. Initial program 57.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. Simplified54.5

      \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{\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)}{\mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, z + 15.234687407, 31.4690115749\right), 11.9400905721\right), 0.607771387771\right)}, x\right)} \]
      Proof
      (fma.f64 y (/.f64 (fma.f64 z (fma.f64 z (fma.f64 z (fma.f64 z 313060547623/100000000000 55833770631/5000000000) t) a) b) (fma.f64 z (fma.f64 z (fma.f64 z (+.f64 z 15234687407/1000000000) 314690115749/10000000000) 119400905721/10000000000) 607771387771/1000000000000)) x): 0 points increase in error, 0 points decrease in error
      (fma.f64 y (/.f64 (fma.f64 z (fma.f64 z (fma.f64 z (Rewrite<= fma-def_binary64 (+.f64 (*.f64 z 313060547623/100000000000) 55833770631/5000000000)) t) a) b) (fma.f64 z (fma.f64 z (fma.f64 z (+.f64 z 15234687407/1000000000) 314690115749/10000000000) 119400905721/10000000000) 607771387771/1000000000000)) x): 0 points increase in error, 0 points decrease in error
      (fma.f64 y (/.f64 (fma.f64 z (fma.f64 z (Rewrite<= fma-def_binary64 (+.f64 (*.f64 z (+.f64 (*.f64 z 313060547623/100000000000) 55833770631/5000000000)) t)) a) b) (fma.f64 z (fma.f64 z (fma.f64 z (+.f64 z 15234687407/1000000000) 314690115749/10000000000) 119400905721/10000000000) 607771387771/1000000000000)) x): 0 points increase in error, 0 points decrease in error
      (fma.f64 y (/.f64 (fma.f64 z (fma.f64 z (+.f64 (Rewrite<= *-commutative_binary64 (*.f64 (+.f64 (*.f64 z 313060547623/100000000000) 55833770631/5000000000) z)) t) a) b) (fma.f64 z (fma.f64 z (fma.f64 z (+.f64 z 15234687407/1000000000) 314690115749/10000000000) 119400905721/10000000000) 607771387771/1000000000000)) x): 0 points increase in error, 0 points decrease in error
      (fma.f64 y (/.f64 (fma.f64 z (Rewrite<= fma-def_binary64 (+.f64 (*.f64 z (+.f64 (*.f64 (+.f64 (*.f64 z 313060547623/100000000000) 55833770631/5000000000) z) t)) a)) b) (fma.f64 z (fma.f64 z (fma.f64 z (+.f64 z 15234687407/1000000000) 314690115749/10000000000) 119400905721/10000000000) 607771387771/1000000000000)) x): 0 points increase in error, 0 points decrease in error
      (fma.f64 y (/.f64 (fma.f64 z (+.f64 (Rewrite<= *-commutative_binary64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z 313060547623/100000000000) 55833770631/5000000000) z) t) z)) a) b) (fma.f64 z (fma.f64 z (fma.f64 z (+.f64 z 15234687407/1000000000) 314690115749/10000000000) 119400905721/10000000000) 607771387771/1000000000000)) x): 0 points increase in error, 0 points decrease in error
      (fma.f64 y (/.f64 (Rewrite<= fma-def_binary64 (+.f64 (*.f64 z (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z 313060547623/100000000000) 55833770631/5000000000) z) t) z) a)) b)) (fma.f64 z (fma.f64 z (fma.f64 z (+.f64 z 15234687407/1000000000) 314690115749/10000000000) 119400905721/10000000000) 607771387771/1000000000000)) x): 2 points increase in error, 0 points decrease in error
      (fma.f64 y (/.f64 (+.f64 (Rewrite<= *-commutative_binary64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z 313060547623/100000000000) 55833770631/5000000000) z) t) z) a) z)) b) (fma.f64 z (fma.f64 z (fma.f64 z (+.f64 z 15234687407/1000000000) 314690115749/10000000000) 119400905721/10000000000) 607771387771/1000000000000)) x): 0 points increase in error, 0 points decrease in error
      (fma.f64 y (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z 313060547623/100000000000) 55833770631/5000000000) z) t) z) a) z) b) (fma.f64 z (fma.f64 z (Rewrite<= fma-def_binary64 (+.f64 (*.f64 z (+.f64 z 15234687407/1000000000)) 314690115749/10000000000)) 119400905721/10000000000) 607771387771/1000000000000)) x): 0 points increase in error, 0 points decrease in error
      (fma.f64 y (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z 313060547623/100000000000) 55833770631/5000000000) z) t) z) a) z) b) (fma.f64 z (fma.f64 z (+.f64 (Rewrite<= *-commutative_binary64 (*.f64 (+.f64 z 15234687407/1000000000) z)) 314690115749/10000000000) 119400905721/10000000000) 607771387771/1000000000000)) x): 0 points increase in error, 0 points decrease in error
      (fma.f64 y (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z 313060547623/100000000000) 55833770631/5000000000) z) t) z) a) z) b) (fma.f64 z (Rewrite<= fma-def_binary64 (+.f64 (*.f64 z (+.f64 (*.f64 (+.f64 z 15234687407/1000000000) z) 314690115749/10000000000)) 119400905721/10000000000)) 607771387771/1000000000000)) x): 0 points increase in error, 1 points decrease in error
      (fma.f64 y (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z 313060547623/100000000000) 55833770631/5000000000) z) t) z) a) z) b) (fma.f64 z (+.f64 (Rewrite<= *-commutative_binary64 (*.f64 (+.f64 (*.f64 (+.f64 z 15234687407/1000000000) z) 314690115749/10000000000) z)) 119400905721/10000000000) 607771387771/1000000000000)) x): 0 points increase in error, 0 points decrease in error
      (fma.f64 y (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z 313060547623/100000000000) 55833770631/5000000000) z) t) z) a) z) b) (Rewrite<= fma-def_binary64 (+.f64 (*.f64 z (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 z 15234687407/1000000000) z) 314690115749/10000000000) z) 119400905721/10000000000)) 607771387771/1000000000000))) x): 2 points increase in error, 0 points decrease in error
      (fma.f64 y (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z 313060547623/100000000000) 55833770631/5000000000) z) t) z) a) z) b) (+.f64 (Rewrite<= *-commutative_binary64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 z 15234687407/1000000000) z) 314690115749/10000000000) z) 119400905721/10000000000) z)) 607771387771/1000000000000)) x): 0 points increase in error, 0 points decrease in error
      (Rewrite<= fma-def_binary64 (+.f64 (*.f64 y (/.f64 (+.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))) x)): 0 points increase in error, 0 points decrease in error
      (+.f64 (Rewrite=> associate-*r/_binary64 (/.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))) x): 22 points increase in error, 10 points decrease in error
      (Rewrite<= +-commutative_binary64 (+.f64 x (/.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)))): 0 points increase in error, 0 points decrease in error
    3. Taylor expanded in z around -inf 1.1

      \[\leadsto \mathsf{fma}\left(y, \color{blue}{\left(3.13060547623 + \left(457.9610022158428 \cdot \frac{1}{{z}^{2}} + \left(\frac{t}{{z}^{2}} + -1 \cdot \frac{-1 \cdot a - \left(1112.0901850848957 + -15.234687407 \cdot \left(457.9610022158428 + t\right)\right)}{{z}^{3}}\right)\right)\right) - 36.52704169880642 \cdot \frac{1}{z}}, x\right) \]
    4. Simplified1.1

      \[\leadsto \mathsf{fma}\left(y, \color{blue}{\left(3.13060547623 + \frac{-36.52704169880642}{z}\right) + \left(\frac{t}{z \cdot z} + \left(\frac{\frac{457.9610022158428}{z}}{z} + \frac{a + \left(t \cdot -15.234687407 + -5864.8025282699045\right)}{{z}^{3}}\right)\right)}, x\right) \]
      Proof
      (+.f64 (+.f64 313060547623/100000000000 (/.f64 -3652704169880641883561/100000000000000000000 z)) (+.f64 (/.f64 t (*.f64 z z)) (+.f64 (/.f64 (/.f64 45796100221584283915100827016327/100000000000000000000000000000 z) z) (/.f64 (+.f64 a (+.f64 (*.f64 t -15234687407/1000000000) -586480252826990429730394679450703430294089/100000000000000000000000000000000000000)) (pow.f64 z 3))))): 0 points increase in error, 0 points decrease in error
      (+.f64 (+.f64 313060547623/100000000000 (/.f64 (Rewrite<= metadata-eval (neg.f64 3652704169880641883561/100000000000000000000)) z)) (+.f64 (/.f64 t (*.f64 z z)) (+.f64 (/.f64 (/.f64 45796100221584283915100827016327/100000000000000000000000000000 z) z) (/.f64 (+.f64 a (+.f64 (*.f64 t -15234687407/1000000000) -586480252826990429730394679450703430294089/100000000000000000000000000000000000000)) (pow.f64 z 3))))): 0 points increase in error, 0 points decrease in error
      (+.f64 (+.f64 313060547623/100000000000 (Rewrite<= distribute-neg-frac_binary64 (neg.f64 (/.f64 3652704169880641883561/100000000000000000000 z)))) (+.f64 (/.f64 t (*.f64 z z)) (+.f64 (/.f64 (/.f64 45796100221584283915100827016327/100000000000000000000000000000 z) z) (/.f64 (+.f64 a (+.f64 (*.f64 t -15234687407/1000000000) -586480252826990429730394679450703430294089/100000000000000000000000000000000000000)) (pow.f64 z 3))))): 0 points increase in error, 0 points decrease in error
      (+.f64 (+.f64 313060547623/100000000000 (neg.f64 (/.f64 (Rewrite<= metadata-eval (*.f64 3652704169880641883561/100000000000000000000 1)) z))) (+.f64 (/.f64 t (*.f64 z z)) (+.f64 (/.f64 (/.f64 45796100221584283915100827016327/100000000000000000000000000000 z) z) (/.f64 (+.f64 a (+.f64 (*.f64 t -15234687407/1000000000) -586480252826990429730394679450703430294089/100000000000000000000000000000000000000)) (pow.f64 z 3))))): 0 points increase in error, 0 points decrease in error
      (+.f64 (+.f64 313060547623/100000000000 (neg.f64 (Rewrite<= associate-*r/_binary64 (*.f64 3652704169880641883561/100000000000000000000 (/.f64 1 z))))) (+.f64 (/.f64 t (*.f64 z z)) (+.f64 (/.f64 (/.f64 45796100221584283915100827016327/100000000000000000000000000000 z) z) (/.f64 (+.f64 a (+.f64 (*.f64 t -15234687407/1000000000) -586480252826990429730394679450703430294089/100000000000000000000000000000000000000)) (pow.f64 z 3))))): 0 points increase in error, 0 points decrease in error
      (+.f64 (Rewrite<= sub-neg_binary64 (-.f64 313060547623/100000000000 (*.f64 3652704169880641883561/100000000000000000000 (/.f64 1 z)))) (+.f64 (/.f64 t (*.f64 z z)) (+.f64 (/.f64 (/.f64 45796100221584283915100827016327/100000000000000000000000000000 z) z) (/.f64 (+.f64 a (+.f64 (*.f64 t -15234687407/1000000000) -586480252826990429730394679450703430294089/100000000000000000000000000000000000000)) (pow.f64 z 3))))): 0 points increase in error, 0 points decrease in error
      (+.f64 (-.f64 313060547623/100000000000 (*.f64 3652704169880641883561/100000000000000000000 (/.f64 1 z))) (+.f64 (/.f64 t (Rewrite<= unpow2_binary64 (pow.f64 z 2))) (+.f64 (/.f64 (/.f64 45796100221584283915100827016327/100000000000000000000000000000 z) z) (/.f64 (+.f64 a (+.f64 (*.f64 t -15234687407/1000000000) -586480252826990429730394679450703430294089/100000000000000000000000000000000000000)) (pow.f64 z 3))))): 0 points increase in error, 0 points decrease in error
      (+.f64 (-.f64 313060547623/100000000000 (*.f64 3652704169880641883561/100000000000000000000 (/.f64 1 z))) (+.f64 (/.f64 t (pow.f64 z 2)) (+.f64 (Rewrite<= associate-/r*_binary64 (/.f64 45796100221584283915100827016327/100000000000000000000000000000 (*.f64 z z))) (/.f64 (+.f64 a (+.f64 (*.f64 t -15234687407/1000000000) -586480252826990429730394679450703430294089/100000000000000000000000000000000000000)) (pow.f64 z 3))))): 0 points increase in error, 0 points decrease in error
      (+.f64 (-.f64 313060547623/100000000000 (*.f64 3652704169880641883561/100000000000000000000 (/.f64 1 z))) (+.f64 (/.f64 t (pow.f64 z 2)) (+.f64 (/.f64 (Rewrite<= metadata-eval (*.f64 45796100221584283915100827016327/100000000000000000000000000000 1)) (*.f64 z z)) (/.f64 (+.f64 a (+.f64 (*.f64 t -15234687407/1000000000) -586480252826990429730394679450703430294089/100000000000000000000000000000000000000)) (pow.f64 z 3))))): 0 points increase in error, 0 points decrease in error
      (+.f64 (-.f64 313060547623/100000000000 (*.f64 3652704169880641883561/100000000000000000000 (/.f64 1 z))) (+.f64 (/.f64 t (pow.f64 z 2)) (+.f64 (/.f64 (*.f64 45796100221584283915100827016327/100000000000000000000000000000 1) (Rewrite<= unpow2_binary64 (pow.f64 z 2))) (/.f64 (+.f64 a (+.f64 (*.f64 t -15234687407/1000000000) -586480252826990429730394679450703430294089/100000000000000000000000000000000000000)) (pow.f64 z 3))))): 0 points increase in error, 0 points decrease in error
      (+.f64 (-.f64 313060547623/100000000000 (*.f64 3652704169880641883561/100000000000000000000 (/.f64 1 z))) (+.f64 (/.f64 t (pow.f64 z 2)) (+.f64 (Rewrite<= associate-*r/_binary64 (*.f64 45796100221584283915100827016327/100000000000000000000000000000 (/.f64 1 (pow.f64 z 2)))) (/.f64 (+.f64 a (+.f64 (*.f64 t -15234687407/1000000000) -586480252826990429730394679450703430294089/100000000000000000000000000000000000000)) (pow.f64 z 3))))): 0 points increase in error, 0 points decrease in error
      (+.f64 (-.f64 313060547623/100000000000 (*.f64 3652704169880641883561/100000000000000000000 (/.f64 1 z))) (+.f64 (/.f64 t (pow.f64 z 2)) (+.f64 (*.f64 45796100221584283915100827016327/100000000000000000000000000000 (/.f64 1 (pow.f64 z 2))) (/.f64 (+.f64 a (+.f64 (*.f64 t -15234687407/1000000000) (Rewrite<= metadata-eval (+.f64 -697689271335479999750499226480922330294089/100000000000000000000000000000000000000 1112090185084895700201045470302189/1000000000000000000000000000000)))) (pow.f64 z 3))))): 0 points increase in error, 0 points decrease in error
      (+.f64 (-.f64 313060547623/100000000000 (*.f64 3652704169880641883561/100000000000000000000 (/.f64 1 z))) (+.f64 (/.f64 t (pow.f64 z 2)) (+.f64 (*.f64 45796100221584283915100827016327/100000000000000000000000000000 (/.f64 1 (pow.f64 z 2))) (/.f64 (+.f64 a (+.f64 (*.f64 t -15234687407/1000000000) (+.f64 (Rewrite<= metadata-eval (*.f64 45796100221584283915100827016327/100000000000000000000000000000 -15234687407/1000000000)) 1112090185084895700201045470302189/1000000000000000000000000000000))) (pow.f64 z 3))))): 1 points increase in error, 4 points decrease in error
      (+.f64 (-.f64 313060547623/100000000000 (*.f64 3652704169880641883561/100000000000000000000 (/.f64 1 z))) (+.f64 (/.f64 t (pow.f64 z 2)) (+.f64 (*.f64 45796100221584283915100827016327/100000000000000000000000000000 (/.f64 1 (pow.f64 z 2))) (/.f64 (+.f64 a (Rewrite<= associate-+l+_binary64 (+.f64 (+.f64 (*.f64 t -15234687407/1000000000) (*.f64 45796100221584283915100827016327/100000000000000000000000000000 -15234687407/1000000000)) 1112090185084895700201045470302189/1000000000000000000000000000000))) (pow.f64 z 3))))): 0 points increase in error, 0 points decrease in error
      (+.f64 (-.f64 313060547623/100000000000 (*.f64 3652704169880641883561/100000000000000000000 (/.f64 1 z))) (+.f64 (/.f64 t (pow.f64 z 2)) (+.f64 (*.f64 45796100221584283915100827016327/100000000000000000000000000000 (/.f64 1 (pow.f64 z 2))) (/.f64 (+.f64 a (+.f64 (Rewrite<= distribute-rgt-in_binary64 (*.f64 -15234687407/1000000000 (+.f64 t 45796100221584283915100827016327/100000000000000000000000000000))) 1112090185084895700201045470302189/1000000000000000000000000000000)) (pow.f64 z 3))))): 0 points increase in error, 0 points decrease in error
      (+.f64 (-.f64 313060547623/100000000000 (*.f64 3652704169880641883561/100000000000000000000 (/.f64 1 z))) (+.f64 (/.f64 t (pow.f64 z 2)) (+.f64 (*.f64 45796100221584283915100827016327/100000000000000000000000000000 (/.f64 1 (pow.f64 z 2))) (/.f64 (+.f64 a (+.f64 (*.f64 -15234687407/1000000000 (Rewrite<= +-commutative_binary64 (+.f64 45796100221584283915100827016327/100000000000000000000000000000 t))) 1112090185084895700201045470302189/1000000000000000000000000000000)) (pow.f64 z 3))))): 0 points increase in error, 0 points decrease in error
      (+.f64 (-.f64 313060547623/100000000000 (*.f64 3652704169880641883561/100000000000000000000 (/.f64 1 z))) (+.f64 (/.f64 t (pow.f64 z 2)) (+.f64 (*.f64 45796100221584283915100827016327/100000000000000000000000000000 (/.f64 1 (pow.f64 z 2))) (/.f64 (Rewrite<= associate-+l+_binary64 (+.f64 (+.f64 a (*.f64 -15234687407/1000000000 (+.f64 45796100221584283915100827016327/100000000000000000000000000000 t))) 1112090185084895700201045470302189/1000000000000000000000000000000)) (pow.f64 z 3))))): 0 points increase in error, 1 points decrease in error
      (+.f64 (-.f64 313060547623/100000000000 (*.f64 3652704169880641883561/100000000000000000000 (/.f64 1 z))) (+.f64 (/.f64 t (pow.f64 z 2)) (+.f64 (*.f64 45796100221584283915100827016327/100000000000000000000000000000 (/.f64 1 (pow.f64 z 2))) (/.f64 (+.f64 (+.f64 a (*.f64 (Rewrite<= metadata-eval (neg.f64 15234687407/1000000000)) (+.f64 45796100221584283915100827016327/100000000000000000000000000000 t))) 1112090185084895700201045470302189/1000000000000000000000000000000) (pow.f64 z 3))))): 0 points increase in error, 0 points decrease in error
      (+.f64 (-.f64 313060547623/100000000000 (*.f64 3652704169880641883561/100000000000000000000 (/.f64 1 z))) (+.f64 (/.f64 t (pow.f64 z 2)) (+.f64 (*.f64 45796100221584283915100827016327/100000000000000000000000000000 (/.f64 1 (pow.f64 z 2))) (/.f64 (+.f64 (Rewrite<= cancel-sign-sub-inv_binary64 (-.f64 a (*.f64 15234687407/1000000000 (+.f64 45796100221584283915100827016327/100000000000000000000000000000 t)))) 1112090185084895700201045470302189/1000000000000000000000000000000) (pow.f64 z 3))))): 0 points increase in error, 0 points decrease in error
      (+.f64 (-.f64 313060547623/100000000000 (*.f64 3652704169880641883561/100000000000000000000 (/.f64 1 z))) (+.f64 (/.f64 t (pow.f64 z 2)) (+.f64 (*.f64 45796100221584283915100827016327/100000000000000000000000000000 (/.f64 1 (pow.f64 z 2))) (/.f64 (Rewrite<= +-commutative_binary64 (+.f64 1112090185084895700201045470302189/1000000000000000000000000000000 (-.f64 a (*.f64 15234687407/1000000000 (+.f64 45796100221584283915100827016327/100000000000000000000000000000 t))))) (pow.f64 z 3))))): 0 points increase in error, 0 points decrease in error
      (+.f64 (-.f64 313060547623/100000000000 (*.f64 3652704169880641883561/100000000000000000000 (/.f64 1 z))) (+.f64 (/.f64 t (pow.f64 z 2)) (+.f64 (*.f64 45796100221584283915100827016327/100000000000000000000000000000 (/.f64 1 (pow.f64 z 2))) (/.f64 (Rewrite<= associate--l+_binary64 (-.f64 (+.f64 1112090185084895700201045470302189/1000000000000000000000000000000 a) (*.f64 15234687407/1000000000 (+.f64 45796100221584283915100827016327/100000000000000000000000000000 t)))) (pow.f64 z 3))))): 0 points increase in error, 0 points decrease in error
      (+.f64 (-.f64 313060547623/100000000000 (*.f64 3652704169880641883561/100000000000000000000 (/.f64 1 z))) (+.f64 (/.f64 t (pow.f64 z 2)) (+.f64 (*.f64 45796100221584283915100827016327/100000000000000000000000000000 (/.f64 1 (pow.f64 z 2))) (/.f64 (Rewrite<= remove-double-neg_binary64 (neg.f64 (neg.f64 (-.f64 (+.f64 1112090185084895700201045470302189/1000000000000000000000000000000 a) (*.f64 15234687407/1000000000 (+.f64 45796100221584283915100827016327/100000000000000000000000000000 t)))))) (pow.f64 z 3))))): 0 points increase in error, 0 points decrease in error
      (+.f64 (-.f64 313060547623/100000000000 (*.f64 3652704169880641883561/100000000000000000000 (/.f64 1 z))) (+.f64 (/.f64 t (pow.f64 z 2)) (+.f64 (*.f64 45796100221584283915100827016327/100000000000000000000000000000 (/.f64 1 (pow.f64 z 2))) (/.f64 (neg.f64 (neg.f64 (Rewrite=> cancel-sign-sub-inv_binary64 (+.f64 (+.f64 1112090185084895700201045470302189/1000000000000000000000000000000 a) (*.f64 (neg.f64 15234687407/1000000000) (+.f64 45796100221584283915100827016327/100000000000000000000000000000 t)))))) (pow.f64 z 3))))): 0 points increase in error, 0 points decrease in error
      (+.f64 (-.f64 313060547623/100000000000 (*.f64 3652704169880641883561/100000000000000000000 (/.f64 1 z))) (+.f64 (/.f64 t (pow.f64 z 2)) (+.f64 (*.f64 45796100221584283915100827016327/100000000000000000000000000000 (/.f64 1 (pow.f64 z 2))) (/.f64 (neg.f64 (neg.f64 (+.f64 (Rewrite=> +-commutative_binary64 (+.f64 a 1112090185084895700201045470302189/1000000000000000000000000000000)) (*.f64 (neg.f64 15234687407/1000000000) (+.f64 45796100221584283915100827016327/100000000000000000000000000000 t))))) (pow.f64 z 3))))): 0 points increase in error, 0 points decrease in error
      (+.f64 (-.f64 313060547623/100000000000 (*.f64 3652704169880641883561/100000000000000000000 (/.f64 1 z))) (+.f64 (/.f64 t (pow.f64 z 2)) (+.f64 (*.f64 45796100221584283915100827016327/100000000000000000000000000000 (/.f64 1 (pow.f64 z 2))) (/.f64 (neg.f64 (neg.f64 (+.f64 (+.f64 a 1112090185084895700201045470302189/1000000000000000000000000000000) (*.f64 (Rewrite=> metadata-eval -15234687407/1000000000) (+.f64 45796100221584283915100827016327/100000000000000000000000000000 t))))) (pow.f64 z 3))))): 0 points increase in error, 0 points decrease in error
      (+.f64 (-.f64 313060547623/100000000000 (*.f64 3652704169880641883561/100000000000000000000 (/.f64 1 z))) (+.f64 (/.f64 t (pow.f64 z 2)) (+.f64 (*.f64 45796100221584283915100827016327/100000000000000000000000000000 (/.f64 1 (pow.f64 z 2))) (/.f64 (neg.f64 (neg.f64 (Rewrite=> associate-+l+_binary64 (+.f64 a (+.f64 1112090185084895700201045470302189/1000000000000000000000000000000 (*.f64 -15234687407/1000000000 (+.f64 45796100221584283915100827016327/100000000000000000000000000000 t))))))) (pow.f64 z 3))))): 1 points increase in error, 0 points decrease in error
      (+.f64 (-.f64 313060547623/100000000000 (*.f64 3652704169880641883561/100000000000000000000 (/.f64 1 z))) (+.f64 (/.f64 t (pow.f64 z 2)) (+.f64 (*.f64 45796100221584283915100827016327/100000000000000000000000000000 (/.f64 1 (pow.f64 z 2))) (/.f64 (neg.f64 (Rewrite<= distribute-neg-out_binary64 (+.f64 (neg.f64 a) (neg.f64 (+.f64 1112090185084895700201045470302189/1000000000000000000000000000000 (*.f64 -15234687407/1000000000 (+.f64 45796100221584283915100827016327/100000000000000000000000000000 t))))))) (pow.f64 z 3))))): 0 points increase in error, 0 points decrease in error
      (+.f64 (-.f64 313060547623/100000000000 (*.f64 3652704169880641883561/100000000000000000000 (/.f64 1 z))) (+.f64 (/.f64 t (pow.f64 z 2)) (+.f64 (*.f64 45796100221584283915100827016327/100000000000000000000000000000 (/.f64 1 (pow.f64 z 2))) (/.f64 (neg.f64 (+.f64 (Rewrite<= mul-1-neg_binary64 (*.f64 -1 a)) (neg.f64 (+.f64 1112090185084895700201045470302189/1000000000000000000000000000000 (*.f64 -15234687407/1000000000 (+.f64 45796100221584283915100827016327/100000000000000000000000000000 t)))))) (pow.f64 z 3))))): 0 points increase in error, 0 points decrease in error
      (+.f64 (-.f64 313060547623/100000000000 (*.f64 3652704169880641883561/100000000000000000000 (/.f64 1 z))) (+.f64 (/.f64 t (pow.f64 z 2)) (+.f64 (*.f64 45796100221584283915100827016327/100000000000000000000000000000 (/.f64 1 (pow.f64 z 2))) (/.f64 (neg.f64 (Rewrite<= sub-neg_binary64 (-.f64 (*.f64 -1 a) (+.f64 1112090185084895700201045470302189/1000000000000000000000000000000 (*.f64 -15234687407/1000000000 (+.f64 45796100221584283915100827016327/100000000000000000000000000000 t)))))) (pow.f64 z 3))))): 0 points increase in error, 0 points decrease in error
      (+.f64 (-.f64 313060547623/100000000000 (*.f64 3652704169880641883561/100000000000000000000 (/.f64 1 z))) (+.f64 (/.f64 t (pow.f64 z 2)) (+.f64 (*.f64 45796100221584283915100827016327/100000000000000000000000000000 (/.f64 1 (pow.f64 z 2))) (Rewrite<= distribute-neg-frac_binary64 (neg.f64 (/.f64 (-.f64 (*.f64 -1 a) (+.f64 1112090185084895700201045470302189/1000000000000000000000000000000 (*.f64 -15234687407/1000000000 (+.f64 45796100221584283915100827016327/100000000000000000000000000000 t)))) (pow.f64 z 3))))))): 0 points increase in error, 0 points decrease in error
      (+.f64 (-.f64 313060547623/100000000000 (*.f64 3652704169880641883561/100000000000000000000 (/.f64 1 z))) (+.f64 (/.f64 t (pow.f64 z 2)) (+.f64 (*.f64 45796100221584283915100827016327/100000000000000000000000000000 (/.f64 1 (pow.f64 z 2))) (Rewrite<= mul-1-neg_binary64 (*.f64 -1 (/.f64 (-.f64 (*.f64 -1 a) (+.f64 1112090185084895700201045470302189/1000000000000000000000000000000 (*.f64 -15234687407/1000000000 (+.f64 45796100221584283915100827016327/100000000000000000000000000000 t)))) (pow.f64 z 3))))))): 0 points increase in error, 0 points decrease in error
      (+.f64 (-.f64 313060547623/100000000000 (*.f64 3652704169880641883561/100000000000000000000 (/.f64 1 z))) (+.f64 (/.f64 t (pow.f64 z 2)) (Rewrite<= +-commutative_binary64 (+.f64 (*.f64 -1 (/.f64 (-.f64 (*.f64 -1 a) (+.f64 1112090185084895700201045470302189/1000000000000000000000000000000 (*.f64 -15234687407/1000000000 (+.f64 45796100221584283915100827016327/100000000000000000000000000000 t)))) (pow.f64 z 3))) (*.f64 45796100221584283915100827016327/100000000000000000000000000000 (/.f64 1 (pow.f64 z 2))))))): 0 points increase in error, 0 points decrease in error
      (+.f64 (-.f64 313060547623/100000000000 (*.f64 3652704169880641883561/100000000000000000000 (/.f64 1 z))) (Rewrite<= associate-+l+_binary64 (+.f64 (+.f64 (/.f64 t (pow.f64 z 2)) (*.f64 -1 (/.f64 (-.f64 (*.f64 -1 a) (+.f64 1112090185084895700201045470302189/1000000000000000000000000000000 (*.f64 -15234687407/1000000000 (+.f64 45796100221584283915100827016327/100000000000000000000000000000 t)))) (pow.f64 z 3)))) (*.f64 45796100221584283915100827016327/100000000000000000000000000000 (/.f64 1 (pow.f64 z 2)))))): 0 points increase in error, 0 points decrease in error
      (+.f64 (-.f64 313060547623/100000000000 (*.f64 3652704169880641883561/100000000000000000000 (/.f64 1 z))) (Rewrite<= +-commutative_binary64 (+.f64 (*.f64 45796100221584283915100827016327/100000000000000000000000000000 (/.f64 1 (pow.f64 z 2))) (+.f64 (/.f64 t (pow.f64 z 2)) (*.f64 -1 (/.f64 (-.f64 (*.f64 -1 a) (+.f64 1112090185084895700201045470302189/1000000000000000000000000000000 (*.f64 -15234687407/1000000000 (+.f64 45796100221584283915100827016327/100000000000000000000000000000 t)))) (pow.f64 z 3))))))): 0 points increase in error, 0 points decrease in error
      (Rewrite<= +-commutative_binary64 (+.f64 (+.f64 (*.f64 45796100221584283915100827016327/100000000000000000000000000000 (/.f64 1 (pow.f64 z 2))) (+.f64 (/.f64 t (pow.f64 z 2)) (*.f64 -1 (/.f64 (-.f64 (*.f64 -1 a) (+.f64 1112090185084895700201045470302189/1000000000000000000000000000000 (*.f64 -15234687407/1000000000 (+.f64 45796100221584283915100827016327/100000000000000000000000000000 t)))) (pow.f64 z 3))))) (-.f64 313060547623/100000000000 (*.f64 3652704169880641883561/100000000000000000000 (/.f64 1 z))))): 0 points increase in error, 0 points decrease in error
      (Rewrite<= associate--l+_binary64 (-.f64 (+.f64 (+.f64 (*.f64 45796100221584283915100827016327/100000000000000000000000000000 (/.f64 1 (pow.f64 z 2))) (+.f64 (/.f64 t (pow.f64 z 2)) (*.f64 -1 (/.f64 (-.f64 (*.f64 -1 a) (+.f64 1112090185084895700201045470302189/1000000000000000000000000000000 (*.f64 -15234687407/1000000000 (+.f64 45796100221584283915100827016327/100000000000000000000000000000 t)))) (pow.f64 z 3))))) 313060547623/100000000000) (*.f64 3652704169880641883561/100000000000000000000 (/.f64 1 z)))): 0 points increase in error, 0 points decrease in error
      (-.f64 (Rewrite<= +-commutative_binary64 (+.f64 313060547623/100000000000 (+.f64 (*.f64 45796100221584283915100827016327/100000000000000000000000000000 (/.f64 1 (pow.f64 z 2))) (+.f64 (/.f64 t (pow.f64 z 2)) (*.f64 -1 (/.f64 (-.f64 (*.f64 -1 a) (+.f64 1112090185084895700201045470302189/1000000000000000000000000000000 (*.f64 -15234687407/1000000000 (+.f64 45796100221584283915100827016327/100000000000000000000000000000 t)))) (pow.f64 z 3))))))) (*.f64 3652704169880641883561/100000000000000000000 (/.f64 1 z))): 0 points increase in error, 0 points decrease in error

    if -3.4000000000000002e30 < z < 2.7e5

    1. Initial program 0.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. Applied egg-rr0.5

      \[\leadsto x + \color{blue}{\left(y \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)\right) \cdot \frac{1}{\mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, z + 15.234687407, 31.4690115749\right), 11.9400905721\right), 0.607771387771\right)}} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification0.8

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -3.4 \cdot 10^{+30}:\\ \;\;\;\;\mathsf{fma}\left(y, \left(3.13060547623 + \frac{-36.52704169880642}{z}\right) + \left(\frac{t}{z \cdot z} + \left(\frac{\frac{457.9610022158428}{z}}{z} + \frac{a + \left(t \cdot -15.234687407 + -5864.8025282699045\right)}{{z}^{3}}\right)\right), x\right)\\ \mathbf{elif}\;z \leq 270000:\\ \;\;\;\;x + \left(y \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)\right) \cdot \frac{1}{\mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, z + 15.234687407, 31.4690115749\right), 11.9400905721\right), 0.607771387771\right)}\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(y, \left(3.13060547623 + \frac{-36.52704169880642}{z}\right) + \left(\frac{t}{z \cdot z} + \left(\frac{\frac{457.9610022158428}{z}}{z} + \frac{a + \left(t \cdot -15.234687407 + -5864.8025282699045\right)}{{z}^{3}}\right)\right), x\right)\\ \end{array} \]

Alternatives

Alternative 1
Error0.9
Cost14984
\[\begin{array}{l} t_1 := \mathsf{fma}\left(y, \left(3.13060547623 + \frac{-36.52704169880642}{z}\right) + \left(\frac{t}{z \cdot z} + \left(\frac{\frac{457.9610022158428}{z}}{z} + \frac{a + \left(t \cdot -15.234687407 + -5864.8025282699045\right)}{{z}^{3}}\right)\right), x\right)\\ \mathbf{if}\;z \leq -3.4 \cdot 10^{+30}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 270000:\\ \;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot \left(11.1667541262 + z \cdot 3.13060547623\right)\right)\right)\right)}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(31.4690115749 + z \cdot \left(z + 15.234687407\right)\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 2
Error1.1
Cost14792
\[\begin{array}{l} t_1 := \mathsf{fma}\left(3.13060547623, y, \mathsf{fma}\left(-36.52704169880642, \frac{y}{z}, x\right)\right) + \frac{\frac{y}{z}}{z} \cdot \left(\left(t + 457.9610022158428\right) + \frac{a + \left(t \cdot -15.234687407 + -5864.8025282699045\right)}{z}\right)\\ \mathbf{if}\;z \leq -3.4 \cdot 10^{+30}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 270000:\\ \;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot \left(11.1667541262 + z \cdot 3.13060547623\right)\right)\right)\right)}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(31.4690115749 + z \cdot \left(z + 15.234687407\right)\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 3
Error1.2
Cost12232
\[\begin{array}{l} t_1 := \frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot \left(11.1667541262 + z \cdot 3.13060547623\right)\right)\right)\right)}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(31.4690115749 + z \cdot \left(z + 15.234687407\right)\right)\right)}\\ \mathbf{if}\;t_1 \leq -\infty:\\ \;\;\;\;x + y \cdot 3.13060547623\\ \mathbf{elif}\;t_1 \leq 10^{+306}:\\ \;\;\;\;x + t_1\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(y, 3.13060547623 + \left(\frac{\frac{457.9610022158428}{z}}{z} + \left(\frac{-36.52704169880642}{z} + \frac{t}{z \cdot z}\right)\right), x\right)\\ \end{array} \]
Alternative 4
Error1.2
Cost6984
\[\begin{array}{l} t_1 := \frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot \left(11.1667541262 + z \cdot 3.13060547623\right)\right)\right)\right)}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(31.4690115749 + z \cdot \left(z + 15.234687407\right)\right)\right)}\\ \mathbf{if}\;t_1 \leq -\infty:\\ \;\;\;\;x + y \cdot 3.13060547623\\ \mathbf{elif}\;t_1 \leq 10^{+306}:\\ \;\;\;\;x + t_1\\ \mathbf{else}:\\ \;\;\;\;-36.52704169880642 \cdot \frac{y}{z} + \left(y \cdot 3.13060547623 + \left(x + y \cdot \frac{\frac{t}{z}}{z}\right)\right)\\ \end{array} \]
Alternative 5
Error2.0
Cost1992
\[\begin{array}{l} t_1 := -36.52704169880642 \cdot \frac{y}{z} + \left(y \cdot 3.13060547623 + \left(x + y \cdot \frac{\frac{t}{z}}{z}\right)\right)\\ \mathbf{if}\;z \leq -0.135:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 0.062:\\ \;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot \left(11.1667541262 + z \cdot 3.13060547623\right)\right)\right)\right)}{0.607771387771 + z \cdot 11.9400905721}\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 6
Error3.9
Cost1864
\[\begin{array}{l} t_1 := -36.52704169880642 \cdot \frac{y}{z} + \left(y \cdot 3.13060547623 + \left(x + y \cdot \frac{\frac{t}{z}}{z}\right)\right)\\ \mathbf{if}\;z \leq -1.7 \cdot 10^{+35}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 0.062:\\ \;\;\;\;x + \frac{y \cdot \left(b + z \cdot a\right)}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(31.4690115749 + z \cdot \left(z + 15.234687407\right)\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 7
Error4.5
Cost1480
\[\begin{array}{l} t_1 := -36.52704169880642 \cdot \frac{y}{z} + \left(y \cdot 3.13060547623 + \left(x + y \cdot \frac{\frac{t}{z}}{z}\right)\right)\\ \mathbf{if}\;z \leq -2.25 \cdot 10^{+39}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 0.062:\\ \;\;\;\;x + y \cdot \left(z \cdot \left(a \cdot 1.6453555072203998 + b \cdot -32.324150453290734\right) + b \cdot 1.6453555072203998\right)\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 8
Error4.5
Cost1480
\[\begin{array}{l} t_1 := -36.52704169880642 \cdot \frac{y}{z} + \left(y \cdot 3.13060547623 + \left(x + y \cdot \frac{\frac{t}{z}}{z}\right)\right)\\ \mathbf{if}\;z \leq -2.25 \cdot 10^{+39}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 0.062:\\ \;\;\;\;y \cdot \left(z \cdot \left(a \cdot 1.6453555072203998 + b \cdot -32.324150453290734\right)\right) + \left(x + 1.6453555072203998 \cdot \left(y \cdot b\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 9
Error5.9
Cost1352
\[\begin{array}{l} t_1 := x + y \cdot 3.13060547623\\ \mathbf{if}\;z \leq -1.7 \cdot 10^{+35}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 0.062:\\ \;\;\;\;x + y \cdot \left(z \cdot \left(a \cdot 1.6453555072203998 + b \cdot -32.324150453290734\right) + b \cdot 1.6453555072203998\right)\\ \mathbf{else}:\\ \;\;\;\;t_1 + -36.52704169880642 \cdot \frac{y}{z}\\ \end{array} \]
Alternative 10
Error9.6
Cost1224
\[\begin{array}{l} t_1 := x + y \cdot 3.13060547623\\ \mathbf{if}\;z \leq -1.7 \cdot 10^{+35}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 270000:\\ \;\;\;\;x + \left(1.6453555072203998 \cdot \left(y \cdot b\right) + z \cdot \left(\left(y \cdot b\right) \cdot -32.324150453290734\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t_1 + -36.52704169880642 \cdot \frac{y}{z}\\ \end{array} \]
Alternative 11
Error7.8
Cost1224
\[\begin{array}{l} t_1 := x + y \cdot 3.13060547623\\ \mathbf{if}\;z \leq -1.7 \cdot 10^{+35}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 270000:\\ \;\;\;\;x + \left(1.6453555072203998 \cdot \left(y \cdot b\right) + z \cdot \left(1.6453555072203998 \cdot \left(y \cdot a\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t_1 + -36.52704169880642 \cdot \frac{y}{z}\\ \end{array} \]
Alternative 12
Error9.6
Cost1096
\[\begin{array}{l} t_1 := x + y \cdot 3.13060547623\\ \mathbf{if}\;z \leq -1.7 \cdot 10^{+35}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 0.062:\\ \;\;\;\;x + y \cdot \left(b \cdot 1.6453555072203998 + -32.324150453290734 \cdot \left(z \cdot b\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t_1 + -36.52704169880642 \cdot \frac{y}{z}\\ \end{array} \]
Alternative 13
Error9.7
Cost968
\[\begin{array}{l} t_1 := x + y \cdot 3.13060547623\\ \mathbf{if}\;z \leq -3.9 \cdot 10^{+45}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 11500:\\ \;\;\;\;x + 1.6453555072203998 \cdot \left(y \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;t_1 + -36.52704169880642 \cdot \frac{y}{z}\\ \end{array} \]
Alternative 14
Error19.6
Cost848
\[\begin{array}{l} t_1 := x + y \cdot 3.13060547623\\ \mathbf{if}\;z \leq -4.2 \cdot 10^{-67}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq -2.8 \cdot 10^{-177}:\\ \;\;\;\;x\\ \mathbf{elif}\;z \leq -2.6 \cdot 10^{-243}:\\ \;\;\;\;1.6453555072203998 \cdot \left(y \cdot b\right)\\ \mathbf{elif}\;z \leq 1.14 \cdot 10^{-172}:\\ \;\;\;\;x\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 15
Error9.7
Cost712
\[\begin{array}{l} t_1 := x + y \cdot 3.13060547623\\ \mathbf{if}\;z \leq -3.9 \cdot 10^{+45}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 0.06:\\ \;\;\;\;x + b \cdot \left(y \cdot 1.6453555072203998\right)\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 16
Error9.7
Cost712
\[\begin{array}{l} t_1 := x + y \cdot 3.13060547623\\ \mathbf{if}\;z \leq -3.9 \cdot 10^{+45}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 0.06:\\ \;\;\;\;x + y \cdot \left(b \cdot 1.6453555072203998\right)\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 17
Error9.7
Cost712
\[\begin{array}{l} t_1 := x + y \cdot 3.13060547623\\ \mathbf{if}\;z \leq -3.9 \cdot 10^{+45}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 0.06:\\ \;\;\;\;x + 1.6453555072203998 \cdot \left(y \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 18
Error28.3
Cost456
\[\begin{array}{l} \mathbf{if}\;x \leq -8.186009704066857 \cdot 10^{-112}:\\ \;\;\;\;x\\ \mathbf{elif}\;x \leq 2.747504084049313 \cdot 10^{-51}:\\ \;\;\;\;y \cdot 3.13060547623\\ \mathbf{else}:\\ \;\;\;\;x\\ \end{array} \]
Alternative 19
Error32.1
Cost64
\[x \]

Error

Reproduce

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