?

Average Accuracy: 76.5% → 92.2%
Time: 29.8s
Precision: binary64
Cost: 15497

?

\[x + \left(y - z\right) \cdot \frac{t - x}{a - z} \]
\[\begin{array}{l} t_1 := x + \left(y - z\right) \cdot \frac{t - x}{a - z}\\ \mathbf{if}\;t_1 \leq -5 \cdot 10^{-302} \lor \neg \left(t_1 \leq 0\right):\\ \;\;\;\;{\left(\sqrt[3]{x + \left(t - x\right) \cdot \frac{y - z}{a - z}}\right)}^{3}\\ \mathbf{else}:\\ \;\;\;\;\left(t + \left(t - x\right) \cdot \frac{a}{z}\right) + \frac{y}{z} \cdot \left(x - t\right)\\ \end{array} \]
(FPCore (x y z t a) :precision binary64 (+ x (* (- y z) (/ (- t x) (- a z)))))
(FPCore (x y z t a)
 :precision binary64
 (let* ((t_1 (+ x (* (- y z) (/ (- t x) (- a z))))))
   (if (or (<= t_1 -5e-302) (not (<= t_1 0.0)))
     (pow (cbrt (+ x (* (- t x) (/ (- y z) (- a z))))) 3.0)
     (+ (+ t (* (- t x) (/ a z))) (* (/ y z) (- x t))))))
double code(double x, double y, double z, double t, double a) {
	return x + ((y - z) * ((t - x) / (a - z)));
}
double code(double x, double y, double z, double t, double a) {
	double t_1 = x + ((y - z) * ((t - x) / (a - z)));
	double tmp;
	if ((t_1 <= -5e-302) || !(t_1 <= 0.0)) {
		tmp = pow(cbrt((x + ((t - x) * ((y - z) / (a - z))))), 3.0);
	} else {
		tmp = (t + ((t - x) * (a / z))) + ((y / z) * (x - t));
	}
	return tmp;
}
public static double code(double x, double y, double z, double t, double a) {
	return x + ((y - z) * ((t - x) / (a - z)));
}
public static double code(double x, double y, double z, double t, double a) {
	double t_1 = x + ((y - z) * ((t - x) / (a - z)));
	double tmp;
	if ((t_1 <= -5e-302) || !(t_1 <= 0.0)) {
		tmp = Math.pow(Math.cbrt((x + ((t - x) * ((y - z) / (a - z))))), 3.0);
	} else {
		tmp = (t + ((t - x) * (a / z))) + ((y / z) * (x - t));
	}
	return tmp;
}
function code(x, y, z, t, a)
	return Float64(x + Float64(Float64(y - z) * Float64(Float64(t - x) / Float64(a - z))))
end
function code(x, y, z, t, a)
	t_1 = Float64(x + Float64(Float64(y - z) * Float64(Float64(t - x) / Float64(a - z))))
	tmp = 0.0
	if ((t_1 <= -5e-302) || !(t_1 <= 0.0))
		tmp = cbrt(Float64(x + Float64(Float64(t - x) * Float64(Float64(y - z) / Float64(a - z))))) ^ 3.0;
	else
		tmp = Float64(Float64(t + Float64(Float64(t - x) * Float64(a / z))) + Float64(Float64(y / z) * Float64(x - t)));
	end
	return tmp
end
code[x_, y_, z_, t_, a_] := N[(x + N[(N[(y - z), $MachinePrecision] * N[(N[(t - x), $MachinePrecision] / N[(a - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(x + N[(N[(y - z), $MachinePrecision] * N[(N[(t - x), $MachinePrecision] / N[(a - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[Or[LessEqual[t$95$1, -5e-302], N[Not[LessEqual[t$95$1, 0.0]], $MachinePrecision]], N[Power[N[Power[N[(x + N[(N[(t - x), $MachinePrecision] * N[(N[(y - z), $MachinePrecision] / N[(a - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1/3], $MachinePrecision], 3.0], $MachinePrecision], N[(N[(t + N[(N[(t - x), $MachinePrecision] * N[(a / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y / z), $MachinePrecision] * N[(x - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
x + \left(y - z\right) \cdot \frac{t - x}{a - z}
\begin{array}{l}
t_1 := x + \left(y - z\right) \cdot \frac{t - x}{a - z}\\
\mathbf{if}\;t_1 \leq -5 \cdot 10^{-302} \lor \neg \left(t_1 \leq 0\right):\\
\;\;\;\;{\left(\sqrt[3]{x + \left(t - x\right) \cdot \frac{y - z}{a - z}}\right)}^{3}\\

\mathbf{else}:\\
\;\;\;\;\left(t + \left(t - x\right) \cdot \frac{a}{z}\right) + \frac{y}{z} \cdot \left(x - t\right)\\


\end{array}

Error?

Try it out?

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation?

  1. Split input into 2 regimes
  2. if (+.f64 x (*.f64 (-.f64 y z) (/.f64 (-.f64 t x) (-.f64 a z)))) < -5.00000000000000033e-302 or 0.0 < (+.f64 x (*.f64 (-.f64 y z) (/.f64 (-.f64 t x) (-.f64 a z))))

    1. Initial program 87.5%

      \[x + \left(y - z\right) \cdot \frac{t - x}{a - z} \]
    2. Simplified71.3%

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

      [Start]87.5

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

      associate-*r/ [=>]71.3

      \[ x + \color{blue}{\frac{\left(y - z\right) \cdot \left(t - x\right)}{a - z}} \]
    3. Applied egg-rr91.4%

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

    if -5.00000000000000033e-302 < (+.f64 x (*.f64 (-.f64 y z) (/.f64 (-.f64 t x) (-.f64 a z)))) < 0.0

    1. Initial program 3.6%

      \[x + \left(y - z\right) \cdot \frac{t - x}{a - z} \]
    2. Simplified4.4%

      \[\leadsto \color{blue}{\mathsf{fma}\left(y - z, \frac{t - x}{a - z}, x\right)} \]
      Proof

      [Start]3.6

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

      +-commutative [=>]3.6

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

      fma-def [=>]4.4

      \[ \color{blue}{\mathsf{fma}\left(y - z, \frac{t - x}{a - z}, x\right)} \]
    3. Taylor expanded in z around inf 80.6%

      \[\leadsto \color{blue}{-1 \cdot \frac{y \cdot \left(t - x\right)}{z} + \left(t + \frac{a \cdot \left(t - x\right)}{z}\right)} \]
    4. Simplified97.0%

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

      [Start]80.6

      \[ -1 \cdot \frac{y \cdot \left(t - x\right)}{z} + \left(t + \frac{a \cdot \left(t - x\right)}{z}\right) \]

      +-commutative [=>]80.6

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

      mul-1-neg [=>]80.6

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

      unsub-neg [=>]80.6

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

      associate-*l/ [<=]88.2

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

      associate-*l/ [<=]97.0

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;x + \left(y - z\right) \cdot \frac{t - x}{a - z} \leq -5 \cdot 10^{-302} \lor \neg \left(x + \left(y - z\right) \cdot \frac{t - x}{a - z} \leq 0\right):\\ \;\;\;\;{\left(\sqrt[3]{x + \left(t - x\right) \cdot \frac{y - z}{a - z}}\right)}^{3}\\ \mathbf{else}:\\ \;\;\;\;\left(t + \left(t - x\right) \cdot \frac{a}{z}\right) + \frac{y}{z} \cdot \left(x - t\right)\\ \end{array} \]

Alternatives

Alternative 1
Accuracy87.8%
Cost8904
\[\begin{array}{l} t_1 := \frac{t - x}{a - z}\\ t_2 := x + \left(y - z\right) \cdot t_1\\ \mathbf{if}\;t_2 \leq -2 \cdot 10^{-113}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;t_2 \leq 0:\\ \;\;\;\;\left(t + \left(t - x\right) \cdot \frac{a}{z}\right) + \frac{y}{z} \cdot \left(x - t\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(y - z, t_1, x\right)\\ \end{array} \]
Alternative 2
Accuracy87.8%
Cost2889
\[\begin{array}{l} t_1 := x + \left(y - z\right) \cdot \frac{t - x}{a - z}\\ \mathbf{if}\;t_1 \leq -2 \cdot 10^{-113} \lor \neg \left(t_1 \leq 0\right):\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;\left(t + \left(t - x\right) \cdot \frac{a}{z}\right) + \frac{y}{z} \cdot \left(x - t\right)\\ \end{array} \]
Alternative 3
Accuracy87.7%
Cost2633
\[\begin{array}{l} t_1 := x + \left(y - z\right) \cdot \frac{t - x}{a - z}\\ \mathbf{if}\;t_1 \leq -2 \cdot 10^{-113} \lor \neg \left(t_1 \leq 0\right):\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t - \frac{t - x}{\frac{z}{y - a}}\\ \end{array} \]
Alternative 4
Accuracy55.8%
Cost1896
\[\begin{array}{l} t_1 := t \cdot \frac{y - z}{a - z}\\ t_2 := x + \frac{y \cdot t}{a}\\ t_3 := \frac{y - a}{\frac{z}{x}}\\ \mathbf{if}\;z \leq -1.35 \cdot 10^{+24}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq -2.95 \cdot 10^{-167}:\\ \;\;\;\;x \cdot \left(1 - \frac{y}{a - z}\right)\\ \mathbf{elif}\;z \leq 1.62 \cdot 10^{-161}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq 2.06 \cdot 10^{-140}:\\ \;\;\;\;y \cdot \frac{t - x}{a - z}\\ \mathbf{elif}\;z \leq 6.4 \cdot 10^{-18}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq 1.36 \cdot 10^{+145}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 6 \cdot 10^{+161}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq 1.95 \cdot 10^{+223}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq 2.6 \cdot 10^{+231}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq 3.4 \cdot 10^{+231}:\\ \;\;\;\;x\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 5
Accuracy56.2%
Cost1632
\[\begin{array}{l} t_1 := \frac{y - a}{\frac{z}{x}}\\ t_2 := t \cdot \frac{y - z}{a - z}\\ t_3 := x + \frac{y \cdot t}{a}\\ \mathbf{if}\;z \leq -1.02 \cdot 10^{+22}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq -3 \cdot 10^{-167}:\\ \;\;\;\;x \cdot \left(1 - \frac{y}{a - z}\right)\\ \mathbf{elif}\;z \leq 2.1 \cdot 10^{-20}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq 1.36 \cdot 10^{+145}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq 7 \cdot 10^{+162}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 5 \cdot 10^{+218}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq 3 \cdot 10^{+231}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 3.4 \cdot 10^{+231}:\\ \;\;\;\;x\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 6
Accuracy50.8%
Cost1568
\[\begin{array}{l} t_1 := x \cdot \frac{y - a}{z}\\ t_2 := \frac{-t}{\frac{z}{y - z}}\\ t_3 := t - t \cdot \frac{y}{z}\\ t_4 := x + \frac{y \cdot t}{a}\\ \mathbf{if}\;z \leq -1.35 \cdot 10^{+92}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq -7.2 \cdot 10^{+60}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq -6 \cdot 10^{+22}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq 400000000000:\\ \;\;\;\;t_4\\ \mathbf{elif}\;z \leq 2.1 \cdot 10^{+126}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq 9 \cdot 10^{+126}:\\ \;\;\;\;x \cdot \left(1 + \frac{z}{a}\right)\\ \mathbf{elif}\;z \leq 2.2 \cdot 10^{+162}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 3.4 \cdot 10^{+231}:\\ \;\;\;\;t_4\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 7
Accuracy50.8%
Cost1504
\[\begin{array}{l} t_1 := x \cdot \frac{y - a}{z}\\ t_2 := t - t \cdot \frac{y}{z}\\ t_3 := x + \frac{y \cdot t}{a}\\ \mathbf{if}\;z \leq -1.35 \cdot 10^{+92}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq -7.2 \cdot 10^{+60}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq -8.5 \cdot 10^{+22}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq 2000000000000:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq 7.6 \cdot 10^{+125}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq 4.4 \cdot 10^{+126}:\\ \;\;\;\;x \cdot \left(1 + \frac{z}{a}\right)\\ \mathbf{elif}\;z \leq 3.4 \cdot 10^{+162}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 3.4 \cdot 10^{+231}:\\ \;\;\;\;t_3\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 8
Accuracy55.7%
Cost1500
\[\begin{array}{l} t_1 := x + \frac{y \cdot t}{a}\\ t_2 := t \cdot \frac{y - z}{a - z}\\ t_3 := \frac{y - a}{\frac{z}{x}}\\ \mathbf{if}\;z \leq -2.15 \cdot 10^{-29}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq 9 \cdot 10^{-17}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 1.22 \cdot 10^{+145}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;z \leq 2.8 \cdot 10^{+162}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq 6.6 \cdot 10^{+223}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 3 \cdot 10^{+231}:\\ \;\;\;\;t_3\\ \mathbf{elif}\;z \leq 3.4 \cdot 10^{+231}:\\ \;\;\;\;x\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 9
Accuracy72.0%
Cost1233
\[\begin{array}{l} t_1 := t - \frac{t - x}{\frac{z}{y - a}}\\ \mathbf{if}\;z \leq -3 \cdot 10^{+194}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq -7.6 \cdot 10^{+87}:\\ \;\;\;\;t \cdot \frac{y - z}{a - z}\\ \mathbf{elif}\;z \leq -3.5 \cdot 10^{+21} \lor \neg \left(z \leq 1.05 \cdot 10^{-16}\right):\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;x + \left(t - x\right) \cdot \frac{y}{a}\\ \end{array} \]
Alternative 10
Accuracy69.7%
Cost1232
\[\begin{array}{l} t_1 := x + \left(t - x\right) \cdot \frac{y}{a}\\ \mathbf{if}\;a \leq -3.3 \cdot 10^{-46}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 4.4 \cdot 10^{-12}:\\ \;\;\;\;t - \frac{t - x}{\frac{z}{y - a}}\\ \mathbf{elif}\;a \leq 2 \cdot 10^{+89}:\\ \;\;\;\;x + t \cdot \frac{y}{a - z}\\ \mathbf{elif}\;a \leq 1.65 \cdot 10^{+140}:\\ \;\;\;\;x + z \cdot \frac{x - t}{a - z}\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 11
Accuracy43.1%
Cost1108
\[\begin{array}{l} t_1 := x \cdot \left(1 + \frac{z}{a}\right)\\ \mathbf{if}\;a \leq -2.4 \cdot 10^{+54}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 6 \cdot 10^{-95}:\\ \;\;\;\;t\\ \mathbf{elif}\;a \leq 4.4 \cdot 10^{-24}:\\ \;\;\;\;x \cdot \frac{y - a}{z}\\ \mathbf{elif}\;a \leq 5.5 \cdot 10^{-12}:\\ \;\;\;\;t\\ \mathbf{elif}\;a \leq 6.5 \cdot 10^{+94}:\\ \;\;\;\;\left(y - z\right) \cdot \frac{t}{a}\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 12
Accuracy43.2%
Cost1108
\[\begin{array}{l} \mathbf{if}\;a \leq -4 \cdot 10^{+57}:\\ \;\;\;\;x + z \cdot \frac{x}{a}\\ \mathbf{elif}\;a \leq 1.8 \cdot 10^{-92}:\\ \;\;\;\;t\\ \mathbf{elif}\;a \leq 3.8 \cdot 10^{-24}:\\ \;\;\;\;x \cdot \frac{y - a}{z}\\ \mathbf{elif}\;a \leq 3.6 \cdot 10^{-12}:\\ \;\;\;\;t\\ \mathbf{elif}\;a \leq 7.7 \cdot 10^{+92}:\\ \;\;\;\;\left(y - z\right) \cdot \frac{t}{a}\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(1 + \frac{z}{a}\right)\\ \end{array} \]
Alternative 13
Accuracy61.3%
Cost1104
\[\begin{array}{l} t_1 := t \cdot \frac{y - z}{a - z}\\ t_2 := x + \left(t - x\right) \cdot \frac{y}{a}\\ \mathbf{if}\;a \leq -8.5 \cdot 10^{-52}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;a \leq 1.8 \cdot 10^{-91}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 6.9 \cdot 10^{+41}:\\ \;\;\;\;y \cdot \frac{t - x}{a - z}\\ \mathbf{elif}\;a \leq 3.2 \cdot 10^{+90}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 14
Accuracy48.1%
Cost976
\[\begin{array}{l} t_1 := x + \frac{y \cdot t}{a}\\ \mathbf{if}\;z \leq -2.12 \cdot 10^{+24}:\\ \;\;\;\;t\\ \mathbf{elif}\;z \leq 2.4 \cdot 10^{+127}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;z \leq 2.9 \cdot 10^{+162}:\\ \;\;\;\;x \cdot \frac{y - a}{z}\\ \mathbf{elif}\;z \leq 3.4 \cdot 10^{+231}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;t\\ \end{array} \]
Alternative 15
Accuracy66.1%
Cost972
\[\begin{array}{l} t_1 := x + \left(t - x\right) \cdot \frac{y}{a}\\ \mathbf{if}\;a \leq -2.5 \cdot 10^{-49}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 2.05 \cdot 10^{-72}:\\ \;\;\;\;t - \frac{y \cdot \left(t - x\right)}{z}\\ \mathbf{elif}\;a \leq 2.9 \cdot 10^{+91}:\\ \;\;\;\;t \cdot \frac{y - z}{a - z}\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 16
Accuracy44.1%
Cost844
\[\begin{array}{l} t_1 := x \cdot \left(1 + \frac{z}{a}\right)\\ \mathbf{if}\;a \leq -1.02 \cdot 10^{+56}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 4 \cdot 10^{-14}:\\ \;\;\;\;t\\ \mathbf{elif}\;a \leq 2.7 \cdot 10^{+93}:\\ \;\;\;\;\left(y - z\right) \cdot \frac{t}{a}\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 17
Accuracy43.7%
Cost716
\[\begin{array}{l} \mathbf{if}\;a \leq -3.7 \cdot 10^{+57}:\\ \;\;\;\;x\\ \mathbf{elif}\;a \leq 1.02 \cdot 10^{-11}:\\ \;\;\;\;t\\ \mathbf{elif}\;a \leq 2.35 \cdot 10^{+83}:\\ \;\;\;\;y \cdot \frac{t}{a}\\ \mathbf{else}:\\ \;\;\;\;x\\ \end{array} \]
Alternative 18
Accuracy40.4%
Cost716
\[\begin{array}{l} \mathbf{if}\;z \leq -82000000000000:\\ \;\;\;\;t\\ \mathbf{elif}\;z \leq 3.3 \cdot 10^{-286}:\\ \;\;\;\;x\\ \mathbf{elif}\;z \leq 1.44 \cdot 10^{-263}:\\ \;\;\;\;t \cdot \frac{y}{a}\\ \mathbf{elif}\;z \leq 3.4 \cdot 10^{+231}:\\ \;\;\;\;x\\ \mathbf{else}:\\ \;\;\;\;t\\ \end{array} \]
Alternative 19
Accuracy40.7%
Cost328
\[\begin{array}{l} \mathbf{if}\;z \leq -6 \cdot 10^{+17}:\\ \;\;\;\;t\\ \mathbf{elif}\;z \leq 3.4 \cdot 10^{+231}:\\ \;\;\;\;x\\ \mathbf{else}:\\ \;\;\;\;t\\ \end{array} \]
Alternative 20
Accuracy28.4%
Cost64
\[t \]

Error

Reproduce?

herbie shell --seed 2023122 
(FPCore (x y z t a)
  :name "Numeric.Signal:interpolate   from hsignal-0.2.7.1"
  :precision binary64
  (+ x (* (- y z) (/ (- t x) (- a z)))))