
(FPCore (x y z t a) :precision binary64 (+ x (/ (* y (- z t)) (- a t))))
double code(double x, double y, double z, double t, double a) {
return x + ((y * (z - t)) / (a - 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 - t)) / (a - t))
end function
public static double code(double x, double y, double z, double t, double a) {
return x + ((y * (z - t)) / (a - t));
}
def code(x, y, z, t, a): return x + ((y * (z - t)) / (a - t))
function code(x, y, z, t, a) return Float64(x + Float64(Float64(y * Float64(z - t)) / Float64(a - t))) end
function tmp = code(x, y, z, t, a) tmp = x + ((y * (z - t)) / (a - t)); end
code[x_, y_, z_, t_, a_] := N[(x + N[(N[(y * N[(z - t), $MachinePrecision]), $MachinePrecision] / N[(a - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + \frac{y \cdot \left(z - t\right)}{a - t}
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 10 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a) :precision binary64 (+ x (/ (* y (- z t)) (- a t))))
double code(double x, double y, double z, double t, double a) {
return x + ((y * (z - t)) / (a - 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 - t)) / (a - t))
end function
public static double code(double x, double y, double z, double t, double a) {
return x + ((y * (z - t)) / (a - t));
}
def code(x, y, z, t, a): return x + ((y * (z - t)) / (a - t))
function code(x, y, z, t, a) return Float64(x + Float64(Float64(y * Float64(z - t)) / Float64(a - t))) end
function tmp = code(x, y, z, t, a) tmp = x + ((y * (z - t)) / (a - t)); end
code[x_, y_, z_, t_, a_] := N[(x + N[(N[(y * N[(z - t), $MachinePrecision]), $MachinePrecision] / N[(a - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + \frac{y \cdot \left(z - t\right)}{a - t}
\end{array}
(FPCore (x y z t a) :precision binary64 (fma (- (/ z (- a t)) (/ t (- a t))) y x))
double code(double x, double y, double z, double t, double a) {
return fma(((z / (a - t)) - (t / (a - t))), y, x);
}
function code(x, y, z, t, a) return fma(Float64(Float64(z / Float64(a - t)) - Float64(t / Float64(a - t))), y, x) end
code[x_, y_, z_, t_, a_] := N[(N[(N[(z / N[(a - t), $MachinePrecision]), $MachinePrecision] - N[(t / N[(a - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y + x), $MachinePrecision]
\begin{array}{l}
\\
\mathsf{fma}\left(\frac{z}{a - t} - \frac{t}{a - t}, y, x\right)
\end{array}
Initial program 87.5%
lift-+.f64N/A
+-commutativeN/A
lift-/.f64N/A
lift-*.f64N/A
associate-/l*N/A
*-commutativeN/A
lower-fma.f64N/A
lower-/.f6498.1
Applied rewrites98.1%
lift-/.f64N/A
lift--.f64N/A
div-subN/A
lift-/.f64N/A
lower--.f64N/A
lower-/.f6498.1
Applied rewrites98.1%
(FPCore (x y z t a)
:precision binary64
(let* ((t_1 (/ (* y (- z t)) (- a t))))
(if (or (<= t_1 -5e+237) (not (<= t_1 2e+119)))
(* (- z t) (/ y (- a t)))
(fma (/ z (- a t)) y x))))
double code(double x, double y, double z, double t, double a) {
double t_1 = (y * (z - t)) / (a - t);
double tmp;
if ((t_1 <= -5e+237) || !(t_1 <= 2e+119)) {
tmp = (z - t) * (y / (a - t));
} else {
tmp = fma((z / (a - t)), y, x);
}
return tmp;
}
function code(x, y, z, t, a) t_1 = Float64(Float64(y * Float64(z - t)) / Float64(a - t)) tmp = 0.0 if ((t_1 <= -5e+237) || !(t_1 <= 2e+119)) tmp = Float64(Float64(z - t) * Float64(y / Float64(a - t))); else tmp = fma(Float64(z / Float64(a - t)), y, x); end return tmp end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(N[(y * N[(z - t), $MachinePrecision]), $MachinePrecision] / N[(a - t), $MachinePrecision]), $MachinePrecision]}, If[Or[LessEqual[t$95$1, -5e+237], N[Not[LessEqual[t$95$1, 2e+119]], $MachinePrecision]], N[(N[(z - t), $MachinePrecision] * N[(y / N[(a - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(z / N[(a - t), $MachinePrecision]), $MachinePrecision] * y + x), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{y \cdot \left(z - t\right)}{a - t}\\
\mathbf{if}\;t\_1 \leq -5 \cdot 10^{+237} \lor \neg \left(t\_1 \leq 2 \cdot 10^{+119}\right):\\
\;\;\;\;\left(z - t\right) \cdot \frac{y}{a - t}\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(\frac{z}{a - t}, y, x\right)\\
\end{array}
\end{array}
if (/.f64 (*.f64 y (-.f64 z t)) (-.f64 a t)) < -5.0000000000000002e237 or 1.99999999999999989e119 < (/.f64 (*.f64 y (-.f64 z t)) (-.f64 a t)) Initial program 61.7%
Taylor expanded in x around 0
*-commutativeN/A
associate-/l*N/A
lower-*.f64N/A
lower--.f64N/A
lower-/.f64N/A
lower--.f6490.0
Applied rewrites90.0%
if -5.0000000000000002e237 < (/.f64 (*.f64 y (-.f64 z t)) (-.f64 a t)) < 1.99999999999999989e119Initial program 99.9%
lift-+.f64N/A
+-commutativeN/A
lift-/.f64N/A
lift-*.f64N/A
associate-/l*N/A
*-commutativeN/A
lower-fma.f64N/A
lower-/.f6498.3
Applied rewrites98.3%
Taylor expanded in z around inf
lower-/.f64N/A
lower--.f6482.0
Applied rewrites82.0%
Final simplification84.6%
(FPCore (x y z t a) :precision binary64 (if (<= (/ (* y (- z t)) (- a t)) 4e+138) (+ y x) (* y (/ z a))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (((y * (z - t)) / (a - t)) <= 4e+138) {
tmp = y + x;
} else {
tmp = y * (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 (((y * (z - t)) / (a - t)) <= 4d+138) then
tmp = y + x
else
tmp = y * (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 (((y * (z - t)) / (a - t)) <= 4e+138) {
tmp = y + x;
} else {
tmp = y * (z / a);
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if ((y * (z - t)) / (a - t)) <= 4e+138: tmp = y + x else: tmp = y * (z / a) return tmp
function code(x, y, z, t, a) tmp = 0.0 if (Float64(Float64(y * Float64(z - t)) / Float64(a - t)) <= 4e+138) tmp = Float64(y + x); else tmp = Float64(y * Float64(z / a)); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (((y * (z - t)) / (a - t)) <= 4e+138) tmp = y + x; else tmp = y * (z / a); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[N[(N[(y * N[(z - t), $MachinePrecision]), $MachinePrecision] / N[(a - t), $MachinePrecision]), $MachinePrecision], 4e+138], N[(y + x), $MachinePrecision], N[(y * N[(z / a), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;\frac{y \cdot \left(z - t\right)}{a - t} \leq 4 \cdot 10^{+138}:\\
\;\;\;\;y + x\\
\mathbf{else}:\\
\;\;\;\;y \cdot \frac{z}{a}\\
\end{array}
\end{array}
if (/.f64 (*.f64 y (-.f64 z t)) (-.f64 a t)) < 4.0000000000000001e138Initial program 93.4%
Taylor expanded in t around inf
+-commutativeN/A
lower-+.f6465.7
Applied rewrites65.7%
if 4.0000000000000001e138 < (/.f64 (*.f64 y (-.f64 z t)) (-.f64 a t)) Initial program 64.1%
lift-+.f64N/A
+-commutativeN/A
lift-/.f64N/A
lift-*.f64N/A
associate-/l*N/A
*-commutativeN/A
lower-fma.f64N/A
lower-/.f6496.4
Applied rewrites96.4%
Taylor expanded in x around 0
*-commutativeN/A
associate-/l*N/A
lower-*.f64N/A
lower--.f64N/A
lower-/.f64N/A
lower--.f6496.2
Applied rewrites96.2%
Taylor expanded in t around 0
Applied rewrites54.2%
Final simplification63.4%
(FPCore (x y z t a) :precision binary64 (if (or (<= z -8e+44) (not (<= z 1.55e+38))) (fma (/ z (- a t)) y x) (- x (* y (/ t (- a t))))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((z <= -8e+44) || !(z <= 1.55e+38)) {
tmp = fma((z / (a - t)), y, x);
} else {
tmp = x - (y * (t / (a - t)));
}
return tmp;
}
function code(x, y, z, t, a) tmp = 0.0 if ((z <= -8e+44) || !(z <= 1.55e+38)) tmp = fma(Float64(z / Float64(a - t)), y, x); else tmp = Float64(x - Float64(y * Float64(t / Float64(a - t)))); end return tmp end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[z, -8e+44], N[Not[LessEqual[z, 1.55e+38]], $MachinePrecision]], N[(N[(z / N[(a - t), $MachinePrecision]), $MachinePrecision] * y + x), $MachinePrecision], N[(x - N[(y * N[(t / N[(a - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -8 \cdot 10^{+44} \lor \neg \left(z \leq 1.55 \cdot 10^{+38}\right):\\
\;\;\;\;\mathsf{fma}\left(\frac{z}{a - t}, y, x\right)\\
\mathbf{else}:\\
\;\;\;\;x - y \cdot \frac{t}{a - t}\\
\end{array}
\end{array}
if z < -8.0000000000000007e44 or 1.55000000000000009e38 < z Initial program 90.0%
lift-+.f64N/A
+-commutativeN/A
lift-/.f64N/A
lift-*.f64N/A
associate-/l*N/A
*-commutativeN/A
lower-fma.f64N/A
lower-/.f6497.6
Applied rewrites97.6%
Taylor expanded in z around inf
lower-/.f64N/A
lower--.f6489.3
Applied rewrites89.3%
if -8.0000000000000007e44 < z < 1.55000000000000009e38Initial program 85.2%
Taylor expanded in z around 0
fp-cancel-sign-sub-invN/A
metadata-evalN/A
*-lft-identityN/A
lower--.f64N/A
*-commutativeN/A
associate-/l*N/A
lower-*.f64N/A
lower-/.f64N/A
lower--.f6491.2
Applied rewrites91.2%
Final simplification90.3%
(FPCore (x y z t a) :precision binary64 (if (or (<= t -2.35e+148) (not (<= t 8.5e+96))) (fma (/ y t) a (+ x y)) (fma (/ z (- a t)) y x)))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((t <= -2.35e+148) || !(t <= 8.5e+96)) {
tmp = fma((y / t), a, (x + y));
} else {
tmp = fma((z / (a - t)), y, x);
}
return tmp;
}
function code(x, y, z, t, a) tmp = 0.0 if ((t <= -2.35e+148) || !(t <= 8.5e+96)) tmp = fma(Float64(y / t), a, Float64(x + y)); else tmp = fma(Float64(z / Float64(a - t)), y, x); end return tmp end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[t, -2.35e+148], N[Not[LessEqual[t, 8.5e+96]], $MachinePrecision]], N[(N[(y / t), $MachinePrecision] * a + N[(x + y), $MachinePrecision]), $MachinePrecision], N[(N[(z / N[(a - t), $MachinePrecision]), $MachinePrecision] * y + x), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -2.35 \cdot 10^{+148} \lor \neg \left(t \leq 8.5 \cdot 10^{+96}\right):\\
\;\;\;\;\mathsf{fma}\left(\frac{y}{t}, a, x + y\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(\frac{z}{a - t}, y, x\right)\\
\end{array}
\end{array}
if t < -2.3499999999999999e148 or 8.50000000000000025e96 < t Initial program 72.6%
Taylor expanded in z around 0
fp-cancel-sign-sub-invN/A
metadata-evalN/A
*-lft-identityN/A
lower--.f64N/A
*-commutativeN/A
associate-/l*N/A
lower-*.f64N/A
lower-/.f64N/A
lower--.f6490.5
Applied rewrites90.5%
Taylor expanded in t around inf
Applied rewrites85.7%
if -2.3499999999999999e148 < t < 8.50000000000000025e96Initial program 93.8%
lift-+.f64N/A
+-commutativeN/A
lift-/.f64N/A
lift-*.f64N/A
associate-/l*N/A
*-commutativeN/A
lower-fma.f64N/A
lower-/.f6497.3
Applied rewrites97.3%
Taylor expanded in z around inf
lower-/.f64N/A
lower--.f6484.0
Applied rewrites84.0%
Final simplification84.5%
(FPCore (x y z t a) :precision binary64 (if (<= t -2.9e+55) (+ y x) (if (<= t 8.8e+48) (fma (- z t) (/ y a) x) (fma (/ y t) a (+ x y)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (t <= -2.9e+55) {
tmp = y + x;
} else if (t <= 8.8e+48) {
tmp = fma((z - t), (y / a), x);
} else {
tmp = fma((y / t), a, (x + y));
}
return tmp;
}
function code(x, y, z, t, a) tmp = 0.0 if (t <= -2.9e+55) tmp = Float64(y + x); elseif (t <= 8.8e+48) tmp = fma(Float64(z - t), Float64(y / a), x); else tmp = fma(Float64(y / t), a, Float64(x + y)); end return tmp end
code[x_, y_, z_, t_, a_] := If[LessEqual[t, -2.9e+55], N[(y + x), $MachinePrecision], If[LessEqual[t, 8.8e+48], N[(N[(z - t), $MachinePrecision] * N[(y / a), $MachinePrecision] + x), $MachinePrecision], N[(N[(y / t), $MachinePrecision] * a + N[(x + y), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -2.9 \cdot 10^{+55}:\\
\;\;\;\;y + x\\
\mathbf{elif}\;t \leq 8.8 \cdot 10^{+48}:\\
\;\;\;\;\mathsf{fma}\left(z - t, \frac{y}{a}, x\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(\frac{y}{t}, a, x + y\right)\\
\end{array}
\end{array}
if t < -2.8999999999999999e55Initial program 78.5%
Taylor expanded in t around inf
+-commutativeN/A
lower-+.f6475.3
Applied rewrites75.3%
if -2.8999999999999999e55 < t < 8.7999999999999997e48Initial program 95.5%
Taylor expanded in a around inf
+-commutativeN/A
*-commutativeN/A
associate-/l*N/A
lower-fma.f64N/A
lower--.f64N/A
lower-/.f6480.3
Applied rewrites80.3%
if 8.7999999999999997e48 < t Initial program 75.1%
Taylor expanded in z around 0
fp-cancel-sign-sub-invN/A
metadata-evalN/A
*-lft-identityN/A
lower--.f64N/A
*-commutativeN/A
associate-/l*N/A
lower-*.f64N/A
lower-/.f64N/A
lower--.f6491.3
Applied rewrites91.3%
Taylor expanded in t around inf
Applied rewrites84.5%
(FPCore (x y z t a) :precision binary64 (if (<= t -1.22e+14) (+ y x) (if (<= t 2.9e+48) (fma (/ z a) y x) (fma (/ y t) a (+ x y)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (t <= -1.22e+14) {
tmp = y + x;
} else if (t <= 2.9e+48) {
tmp = fma((z / a), y, x);
} else {
tmp = fma((y / t), a, (x + y));
}
return tmp;
}
function code(x, y, z, t, a) tmp = 0.0 if (t <= -1.22e+14) tmp = Float64(y + x); elseif (t <= 2.9e+48) tmp = fma(Float64(z / a), y, x); else tmp = fma(Float64(y / t), a, Float64(x + y)); end return tmp end
code[x_, y_, z_, t_, a_] := If[LessEqual[t, -1.22e+14], N[(y + x), $MachinePrecision], If[LessEqual[t, 2.9e+48], N[(N[(z / a), $MachinePrecision] * y + x), $MachinePrecision], N[(N[(y / t), $MachinePrecision] * a + N[(x + y), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -1.22 \cdot 10^{+14}:\\
\;\;\;\;y + x\\
\mathbf{elif}\;t \leq 2.9 \cdot 10^{+48}:\\
\;\;\;\;\mathsf{fma}\left(\frac{z}{a}, y, x\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(\frac{y}{t}, a, x + y\right)\\
\end{array}
\end{array}
if t < -1.22e14Initial program 81.0%
Taylor expanded in t around inf
+-commutativeN/A
lower-+.f6467.9
Applied rewrites67.9%
if -1.22e14 < t < 2.8999999999999999e48Initial program 95.8%
Taylor expanded in t around 0
+-commutativeN/A
associate-/l*N/A
*-commutativeN/A
lower-fma.f64N/A
lower-/.f6480.0
Applied rewrites80.0%
if 2.8999999999999999e48 < t Initial program 75.1%
Taylor expanded in z around 0
fp-cancel-sign-sub-invN/A
metadata-evalN/A
*-lft-identityN/A
lower--.f64N/A
*-commutativeN/A
associate-/l*N/A
lower-*.f64N/A
lower-/.f64N/A
lower--.f6491.3
Applied rewrites91.3%
Taylor expanded in t around inf
Applied rewrites84.5%
(FPCore (x y z t a) :precision binary64 (if (or (<= t -1.22e+14) (not (<= t 2.9e+48))) (+ y x) (fma (/ z a) y x)))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((t <= -1.22e+14) || !(t <= 2.9e+48)) {
tmp = y + x;
} else {
tmp = fma((z / a), y, x);
}
return tmp;
}
function code(x, y, z, t, a) tmp = 0.0 if ((t <= -1.22e+14) || !(t <= 2.9e+48)) tmp = Float64(y + x); else tmp = fma(Float64(z / a), y, x); end return tmp end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[t, -1.22e+14], N[Not[LessEqual[t, 2.9e+48]], $MachinePrecision]], N[(y + x), $MachinePrecision], N[(N[(z / a), $MachinePrecision] * y + x), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -1.22 \cdot 10^{+14} \lor \neg \left(t \leq 2.9 \cdot 10^{+48}\right):\\
\;\;\;\;y + x\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(\frac{z}{a}, y, x\right)\\
\end{array}
\end{array}
if t < -1.22e14 or 2.8999999999999999e48 < t Initial program 78.2%
Taylor expanded in t around inf
+-commutativeN/A
lower-+.f6475.2
Applied rewrites75.2%
if -1.22e14 < t < 2.8999999999999999e48Initial program 95.8%
Taylor expanded in t around 0
+-commutativeN/A
associate-/l*N/A
*-commutativeN/A
lower-fma.f64N/A
lower-/.f6480.0
Applied rewrites80.0%
Final simplification77.7%
(FPCore (x y z t a) :precision binary64 (fma (/ (- z t) (- a t)) y x))
double code(double x, double y, double z, double t, double a) {
return fma(((z - t) / (a - t)), y, x);
}
function code(x, y, z, t, a) return fma(Float64(Float64(z - t) / Float64(a - t)), y, x) end
code[x_, y_, z_, t_, a_] := N[(N[(N[(z - t), $MachinePrecision] / N[(a - t), $MachinePrecision]), $MachinePrecision] * y + x), $MachinePrecision]
\begin{array}{l}
\\
\mathsf{fma}\left(\frac{z - t}{a - t}, y, x\right)
\end{array}
Initial program 87.5%
lift-+.f64N/A
+-commutativeN/A
lift-/.f64N/A
lift-*.f64N/A
associate-/l*N/A
*-commutativeN/A
lower-fma.f64N/A
lower-/.f6498.1
Applied rewrites98.1%
(FPCore (x y z t a) :precision binary64 (+ y x))
double code(double x, double y, double z, double t, double a) {
return y + 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 = y + x
end function
public static double code(double x, double y, double z, double t, double a) {
return y + x;
}
def code(x, y, z, t, a): return y + x
function code(x, y, z, t, a) return Float64(y + x) end
function tmp = code(x, y, z, t, a) tmp = y + x; end
code[x_, y_, z_, t_, a_] := N[(y + x), $MachinePrecision]
\begin{array}{l}
\\
y + x
\end{array}
Initial program 87.5%
Taylor expanded in t around inf
+-commutativeN/A
lower-+.f6458.8
Applied rewrites58.8%
(FPCore (x y z t a) :precision binary64 (+ x (/ y (/ (- a t) (- z t)))))
double code(double x, double y, double z, double t, double a) {
return x + (y / ((a - t) / (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 / ((a - t) / (z - t)))
end function
public static double code(double x, double y, double z, double t, double a) {
return x + (y / ((a - t) / (z - t)));
}
def code(x, y, z, t, a): return x + (y / ((a - t) / (z - t)))
function code(x, y, z, t, a) return Float64(x + Float64(y / Float64(Float64(a - t) / Float64(z - t)))) end
function tmp = code(x, y, z, t, a) tmp = x + (y / ((a - t) / (z - t))); end
code[x_, y_, z_, t_, a_] := N[(x + N[(y / N[(N[(a - t), $MachinePrecision] / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + \frac{y}{\frac{a - t}{z - t}}
\end{array}
herbie shell --seed 2024338
(FPCore (x y z t a)
:name "Graphics.Rendering.Plot.Render.Plot.Axis:renderAxisTicks from plot-0.2.3.4, B"
:precision binary64
:alt
(! :herbie-platform default (+ x (/ y (/ (- a t) (- z t)))))
(+ x (/ (* y (- z t)) (- a t))))