
(FPCore (x y z t a) :precision binary64 (+ x (* y (/ (- z t) (- z a)))))
double code(double x, double y, double z, double t, double a) {
return x + (y * ((z - t) / (z - a)));
}
real(8) function code(x, y, z, t, a)
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
code = x + (y * ((z - t) / (z - a)))
end function
public static double code(double x, double y, double z, double t, double a) {
return x + (y * ((z - t) / (z - a)));
}
def code(x, y, z, t, a): return x + (y * ((z - t) / (z - a)))
function code(x, y, z, t, a) return Float64(x + Float64(y * Float64(Float64(z - t) / Float64(z - a)))) end
function tmp = code(x, y, z, t, a) tmp = x + (y * ((z - t) / (z - a))); end
code[x_, y_, z_, t_, a_] := N[(x + N[(y * N[(N[(z - t), $MachinePrecision] / N[(z - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + y \cdot \frac{z - t}{z - a}
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 8 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a) :precision binary64 (+ x (* y (/ (- z t) (- z a)))))
double code(double x, double y, double z, double t, double a) {
return x + (y * ((z - t) / (z - a)));
}
real(8) function code(x, y, z, t, a)
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
code = x + (y * ((z - t) / (z - a)))
end function
public static double code(double x, double y, double z, double t, double a) {
return x + (y * ((z - t) / (z - a)));
}
def code(x, y, z, t, a): return x + (y * ((z - t) / (z - a)))
function code(x, y, z, t, a) return Float64(x + Float64(y * Float64(Float64(z - t) / Float64(z - a)))) end
function tmp = code(x, y, z, t, a) tmp = x + (y * ((z - t) / (z - a))); end
code[x_, y_, z_, t_, a_] := N[(x + N[(y * N[(N[(z - t), $MachinePrecision] / N[(z - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + y \cdot \frac{z - t}{z - a}
\end{array}
(FPCore (x y z t a) :precision binary64 (+ x (* y (/ (- z t) (- z a)))))
double code(double x, double y, double z, double t, double a) {
return x + (y * ((z - t) / (z - a)));
}
real(8) function code(x, y, z, t, a)
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
code = x + (y * ((z - t) / (z - a)))
end function
public static double code(double x, double y, double z, double t, double a) {
return x + (y * ((z - t) / (z - a)));
}
def code(x, y, z, t, a): return x + (y * ((z - t) / (z - a)))
function code(x, y, z, t, a) return Float64(x + Float64(y * Float64(Float64(z - t) / Float64(z - a)))) end
function tmp = code(x, y, z, t, a) tmp = x + (y * ((z - t) / (z - a))); end
code[x_, y_, z_, t_, a_] := N[(x + N[(y * N[(N[(z - t), $MachinePrecision] / N[(z - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + y \cdot \frac{z - t}{z - a}
\end{array}
Initial program 98.8%
Final simplification98.8%
(FPCore (x y z t a) :precision binary64 (if (or (<= a -3.45e+25) (not (<= a 3.8e-119))) (+ x (* y (/ t a))) (+ x (* y (/ (- z t) z)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((a <= -3.45e+25) || !(a <= 3.8e-119)) {
tmp = x + (y * (t / a));
} else {
tmp = x + (y * ((z - t) / z));
}
return tmp;
}
real(8) function code(x, y, z, t, a)
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) :: tmp
if ((a <= (-3.45d+25)) .or. (.not. (a <= 3.8d-119))) then
tmp = x + (y * (t / a))
else
tmp = x + (y * ((z - t) / z))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if ((a <= -3.45e+25) || !(a <= 3.8e-119)) {
tmp = x + (y * (t / a));
} else {
tmp = x + (y * ((z - t) / z));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (a <= -3.45e+25) or not (a <= 3.8e-119): tmp = x + (y * (t / a)) else: tmp = x + (y * ((z - t) / z)) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((a <= -3.45e+25) || !(a <= 3.8e-119)) tmp = Float64(x + Float64(y * Float64(t / a))); else tmp = Float64(x + Float64(y * Float64(Float64(z - t) / z))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((a <= -3.45e+25) || ~((a <= 3.8e-119))) tmp = x + (y * (t / a)); else tmp = x + (y * ((z - t) / z)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[a, -3.45e+25], N[Not[LessEqual[a, 3.8e-119]], $MachinePrecision]], N[(x + N[(y * N[(t / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(y * N[(N[(z - t), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -3.45 \cdot 10^{+25} \lor \neg \left(a \leq 3.8 \cdot 10^{-119}\right):\\
\;\;\;\;x + y \cdot \frac{t}{a}\\
\mathbf{else}:\\
\;\;\;\;x + y \cdot \frac{z - t}{z}\\
\end{array}
\end{array}
if a < -3.4499999999999999e25 or 3.79999999999999975e-119 < a Initial program 99.9%
Taylor expanded in z around 0 86.9%
if -3.4499999999999999e25 < a < 3.79999999999999975e-119Initial program 97.4%
Taylor expanded in a around 0 83.0%
Final simplification85.2%
(FPCore (x y z t a) :precision binary64 (if (or (<= a -3.8e+25) (not (<= a 3.8e-119))) (+ x (* y (/ t a))) (+ x (/ (- z t) (/ z y)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((a <= -3.8e+25) || !(a <= 3.8e-119)) {
tmp = x + (y * (t / a));
} else {
tmp = x + ((z - t) / (z / y));
}
return tmp;
}
real(8) function code(x, y, z, t, a)
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) :: tmp
if ((a <= (-3.8d+25)) .or. (.not. (a <= 3.8d-119))) then
tmp = x + (y * (t / a))
else
tmp = x + ((z - t) / (z / y))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if ((a <= -3.8e+25) || !(a <= 3.8e-119)) {
tmp = x + (y * (t / a));
} else {
tmp = x + ((z - t) / (z / y));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (a <= -3.8e+25) or not (a <= 3.8e-119): tmp = x + (y * (t / a)) else: tmp = x + ((z - t) / (z / y)) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((a <= -3.8e+25) || !(a <= 3.8e-119)) tmp = Float64(x + Float64(y * Float64(t / a))); else tmp = Float64(x + Float64(Float64(z - t) / Float64(z / y))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((a <= -3.8e+25) || ~((a <= 3.8e-119))) tmp = x + (y * (t / a)); else tmp = x + ((z - t) / (z / y)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[a, -3.8e+25], N[Not[LessEqual[a, 3.8e-119]], $MachinePrecision]], N[(x + N[(y * N[(t / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(z - t), $MachinePrecision] / N[(z / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -3.8 \cdot 10^{+25} \lor \neg \left(a \leq 3.8 \cdot 10^{-119}\right):\\
\;\;\;\;x + y \cdot \frac{t}{a}\\
\mathbf{else}:\\
\;\;\;\;x + \frac{z - t}{\frac{z}{y}}\\
\end{array}
\end{array}
if a < -3.8e25 or 3.79999999999999975e-119 < a Initial program 99.9%
Taylor expanded in z around 0 86.9%
if -3.8e25 < a < 3.79999999999999975e-119Initial program 97.4%
+-commutative97.4%
associate-*r/87.5%
associate-*l/96.5%
*-commutative96.5%
fma-def96.5%
Simplified96.5%
Taylor expanded in a around 0 73.1%
*-commutative73.1%
associate-/l*84.5%
Simplified84.5%
Final simplification85.9%
(FPCore (x y z t a) :precision binary64 (if (or (<= z -1.65e-19) (not (<= z 7e+67))) (+ x (* y (/ (- z t) z))) (- x (/ (* y t) (- z a)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((z <= -1.65e-19) || !(z <= 7e+67)) {
tmp = x + (y * ((z - t) / z));
} else {
tmp = x - ((y * t) / (z - a));
}
return tmp;
}
real(8) function code(x, y, z, t, a)
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) :: tmp
if ((z <= (-1.65d-19)) .or. (.not. (z <= 7d+67))) then
tmp = x + (y * ((z - t) / z))
else
tmp = x - ((y * t) / (z - a))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if ((z <= -1.65e-19) || !(z <= 7e+67)) {
tmp = x + (y * ((z - t) / z));
} else {
tmp = x - ((y * t) / (z - a));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (z <= -1.65e-19) or not (z <= 7e+67): tmp = x + (y * ((z - t) / z)) else: tmp = x - ((y * t) / (z - a)) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((z <= -1.65e-19) || !(z <= 7e+67)) tmp = Float64(x + Float64(y * Float64(Float64(z - t) / z))); else tmp = Float64(x - Float64(Float64(y * t) / Float64(z - a))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((z <= -1.65e-19) || ~((z <= 7e+67))) tmp = x + (y * ((z - t) / z)); else tmp = x - ((y * t) / (z - a)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[z, -1.65e-19], N[Not[LessEqual[z, 7e+67]], $MachinePrecision]], N[(x + N[(y * N[(N[(z - t), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x - N[(N[(y * t), $MachinePrecision] / N[(z - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.65 \cdot 10^{-19} \lor \neg \left(z \leq 7 \cdot 10^{+67}\right):\\
\;\;\;\;x + y \cdot \frac{z - t}{z}\\
\mathbf{else}:\\
\;\;\;\;x - \frac{y \cdot t}{z - a}\\
\end{array}
\end{array}
if z < -1.6499999999999999e-19 or 7e67 < z Initial program 99.9%
Taylor expanded in a around 0 88.0%
if -1.6499999999999999e-19 < z < 7e67Initial program 98.0%
Taylor expanded in t around inf 90.8%
associate-*r/90.8%
mul-1-neg90.8%
distribute-rgt-neg-out90.8%
Simplified90.8%
Final simplification89.6%
(FPCore (x y z t a) :precision binary64 (if (<= a -1.4e+35) (- x (/ y (/ a (- z t)))) (if (<= a 6e-119) (+ x (/ (- z t) (/ z y))) (+ x (* y (/ t a))))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (a <= -1.4e+35) {
tmp = x - (y / (a / (z - t)));
} else if (a <= 6e-119) {
tmp = x + ((z - t) / (z / y));
} else {
tmp = x + (y * (t / a));
}
return tmp;
}
real(8) function code(x, y, z, t, a)
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) :: tmp
if (a <= (-1.4d+35)) then
tmp = x - (y / (a / (z - t)))
else if (a <= 6d-119) then
tmp = x + ((z - t) / (z / y))
else
tmp = x + (y * (t / a))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (a <= -1.4e+35) {
tmp = x - (y / (a / (z - t)));
} else if (a <= 6e-119) {
tmp = x + ((z - t) / (z / y));
} else {
tmp = x + (y * (t / a));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if a <= -1.4e+35: tmp = x - (y / (a / (z - t))) elif a <= 6e-119: tmp = x + ((z - t) / (z / y)) else: tmp = x + (y * (t / a)) return tmp
function code(x, y, z, t, a) tmp = 0.0 if (a <= -1.4e+35) tmp = Float64(x - Float64(y / Float64(a / Float64(z - t)))); elseif (a <= 6e-119) tmp = Float64(x + Float64(Float64(z - t) / Float64(z / y))); else tmp = Float64(x + Float64(y * Float64(t / a))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (a <= -1.4e+35) tmp = x - (y / (a / (z - t))); elseif (a <= 6e-119) tmp = x + ((z - t) / (z / y)); else tmp = x + (y * (t / a)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[a, -1.4e+35], N[(x - N[(y / N[(a / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 6e-119], N[(x + N[(N[(z - t), $MachinePrecision] / N[(z / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(y * N[(t / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -1.4 \cdot 10^{+35}:\\
\;\;\;\;x - \frac{y}{\frac{a}{z - t}}\\
\mathbf{elif}\;a \leq 6 \cdot 10^{-119}:\\
\;\;\;\;x + \frac{z - t}{\frac{z}{y}}\\
\mathbf{else}:\\
\;\;\;\;x + y \cdot \frac{t}{a}\\
\end{array}
\end{array}
if a < -1.39999999999999999e35Initial program 99.9%
+-commutative99.9%
associate-*r/84.2%
associate-*l/97.5%
*-commutative97.5%
fma-def97.5%
Simplified97.5%
Taylor expanded in a around inf 78.6%
+-commutative78.6%
mul-1-neg78.6%
unsub-neg78.6%
associate-/l*88.1%
Simplified88.1%
if -1.39999999999999999e35 < a < 6.0000000000000004e-119Initial program 97.5%
+-commutative97.5%
associate-*r/87.8%
associate-*l/96.6%
*-commutative96.6%
fma-def96.6%
Simplified96.6%
Taylor expanded in a around 0 73.0%
*-commutative73.0%
associate-/l*84.1%
Simplified84.1%
if 6.0000000000000004e-119 < a Initial program 100.0%
Taylor expanded in z around 0 88.6%
Final simplification86.4%
(FPCore (x y z t a) :precision binary64 (if (<= z -1.2e+87) (+ x y) (if (<= z 9.5e+67) (+ x (* y (/ t a))) (+ x y))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (z <= -1.2e+87) {
tmp = x + y;
} else if (z <= 9.5e+67) {
tmp = x + (y * (t / a));
} else {
tmp = x + y;
}
return tmp;
}
real(8) function code(x, y, z, t, a)
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) :: tmp
if (z <= (-1.2d+87)) then
tmp = x + y
else if (z <= 9.5d+67) then
tmp = x + (y * (t / a))
else
tmp = x + y
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (z <= -1.2e+87) {
tmp = x + y;
} else if (z <= 9.5e+67) {
tmp = x + (y * (t / a));
} else {
tmp = x + y;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if z <= -1.2e+87: tmp = x + y elif z <= 9.5e+67: tmp = x + (y * (t / a)) else: tmp = x + y return tmp
function code(x, y, z, t, a) tmp = 0.0 if (z <= -1.2e+87) tmp = Float64(x + y); elseif (z <= 9.5e+67) tmp = Float64(x + Float64(y * Float64(t / a))); else tmp = Float64(x + y); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (z <= -1.2e+87) tmp = x + y; elseif (z <= 9.5e+67) tmp = x + (y * (t / a)); else tmp = x + y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[z, -1.2e+87], N[(x + y), $MachinePrecision], If[LessEqual[z, 9.5e+67], N[(x + N[(y * N[(t / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + y), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.2 \cdot 10^{+87}:\\
\;\;\;\;x + y\\
\mathbf{elif}\;z \leq 9.5 \cdot 10^{+67}:\\
\;\;\;\;x + y \cdot \frac{t}{a}\\
\mathbf{else}:\\
\;\;\;\;x + y\\
\end{array}
\end{array}
if z < -1.19999999999999991e87 or 9.5000000000000002e67 < z Initial program 99.9%
+-commutative99.9%
associate-*r/73.4%
associate-*l/96.6%
*-commutative96.6%
fma-def96.6%
Simplified96.6%
Taylor expanded in z around inf 83.5%
if -1.19999999999999991e87 < z < 9.5000000000000002e67Initial program 98.2%
Taylor expanded in z around 0 79.0%
Final simplification80.5%
(FPCore (x y z t a) :precision binary64 (if (<= a -2.4e+100) x (if (<= a 8e+130) (+ x y) x)))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (a <= -2.4e+100) {
tmp = x;
} else if (a <= 8e+130) {
tmp = x + y;
} else {
tmp = x;
}
return tmp;
}
real(8) function code(x, y, z, t, a)
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) :: tmp
if (a <= (-2.4d+100)) then
tmp = x
else if (a <= 8d+130) then
tmp = x + y
else
tmp = x
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (a <= -2.4e+100) {
tmp = x;
} else if (a <= 8e+130) {
tmp = x + y;
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if a <= -2.4e+100: tmp = x elif a <= 8e+130: tmp = x + y else: tmp = x return tmp
function code(x, y, z, t, a) tmp = 0.0 if (a <= -2.4e+100) tmp = x; elseif (a <= 8e+130) tmp = Float64(x + y); else tmp = x; end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (a <= -2.4e+100) tmp = x; elseif (a <= 8e+130) tmp = x + y; else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[a, -2.4e+100], x, If[LessEqual[a, 8e+130], N[(x + y), $MachinePrecision], x]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -2.4 \cdot 10^{+100}:\\
\;\;\;\;x\\
\mathbf{elif}\;a \leq 8 \cdot 10^{+130}:\\
\;\;\;\;x + y\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if a < -2.40000000000000012e100 or 8.0000000000000005e130 < a Initial program 99.9%
+-commutative99.9%
associate-*r/87.0%
associate-*l/98.0%
*-commutative98.0%
fma-def98.0%
Simplified98.0%
Taylor expanded in y around 0 74.5%
if -2.40000000000000012e100 < a < 8.0000000000000005e130Initial program 98.2%
+-commutative98.2%
associate-*r/87.1%
associate-*l/96.5%
*-commutative96.5%
fma-def96.5%
Simplified96.5%
Taylor expanded in z around inf 67.0%
Final simplification69.6%
(FPCore (x y z t a) :precision binary64 x)
double code(double x, double y, double z, double t, double a) {
return x;
}
real(8) function code(x, y, z, t, a)
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
code = x
end function
public static double code(double x, double y, double z, double t, double a) {
return x;
}
def code(x, y, z, t, a): return x
function code(x, y, z, t, a) return x end
function tmp = code(x, y, z, t, a) tmp = x; end
code[x_, y_, z_, t_, a_] := x
\begin{array}{l}
\\
x
\end{array}
Initial program 98.8%
+-commutative98.8%
associate-*r/87.0%
associate-*l/97.0%
*-commutative97.0%
fma-def97.0%
Simplified97.0%
Taylor expanded in y around 0 58.7%
Final simplification58.7%
(FPCore (x y z t a) :precision binary64 (+ x (/ y (/ (- z a) (- z t)))))
double code(double x, double y, double z, double t, double a) {
return x + (y / ((z - a) / (z - t)));
}
real(8) function code(x, y, z, t, a)
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
code = x + (y / ((z - a) / (z - t)))
end function
public static double code(double x, double y, double z, double t, double a) {
return x + (y / ((z - a) / (z - t)));
}
def code(x, y, z, t, a): return x + (y / ((z - a) / (z - t)))
function code(x, y, z, t, a) return Float64(x + Float64(y / Float64(Float64(z - a) / Float64(z - t)))) end
function tmp = code(x, y, z, t, a) tmp = x + (y / ((z - a) / (z - t))); end
code[x_, y_, z_, t_, a_] := N[(x + N[(y / N[(N[(z - a), $MachinePrecision] / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + \frac{y}{\frac{z - a}{z - t}}
\end{array}
herbie shell --seed 2023199
(FPCore (x y z t a)
:name "Graphics.Rendering.Plot.Render.Plot.Axis:renderAxisLine from plot-0.2.3.4, A"
:precision binary64
:herbie-target
(+ x (/ y (/ (- z a) (- z t))))
(+ x (* y (/ (- z t) (- z a)))))