
(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 99.2%
Final simplification99.2%
(FPCore (x y z t a) :precision binary64 (if (or (<= z -3.1e-80) (not (<= z 1.45e+32))) (+ x (* y (/ (- z t) z))) (+ x (* y (/ t a)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((z <= -3.1e-80) || !(z <= 1.45e+32)) {
tmp = x + (y * ((z - t) / z));
} 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 ((z <= (-3.1d-80)) .or. (.not. (z <= 1.45d+32))) then
tmp = x + (y * ((z - t) / z))
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 ((z <= -3.1e-80) || !(z <= 1.45e+32)) {
tmp = x + (y * ((z - t) / z));
} else {
tmp = x + (y * (t / a));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (z <= -3.1e-80) or not (z <= 1.45e+32): tmp = x + (y * ((z - t) / z)) else: tmp = x + (y * (t / a)) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((z <= -3.1e-80) || !(z <= 1.45e+32)) tmp = Float64(x + Float64(y * Float64(Float64(z - t) / z))); 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 ((z <= -3.1e-80) || ~((z <= 1.45e+32))) tmp = x + (y * ((z - t) / z)); else tmp = x + (y * (t / a)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[z, -3.1e-80], N[Not[LessEqual[z, 1.45e+32]], $MachinePrecision]], N[(x + N[(y * N[(N[(z - t), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(y * N[(t / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -3.1 \cdot 10^{-80} \lor \neg \left(z \leq 1.45 \cdot 10^{+32}\right):\\
\;\;\;\;x + y \cdot \frac{z - t}{z}\\
\mathbf{else}:\\
\;\;\;\;x + y \cdot \frac{t}{a}\\
\end{array}
\end{array}
if z < -3.10000000000000016e-80 or 1.45000000000000001e32 < z Initial program 99.9%
Taylor expanded in a around 0 87.5%
if -3.10000000000000016e-80 < z < 1.45000000000000001e32Initial program 98.2%
Taylor expanded in z around 0 83.9%
Final simplification85.9%
(FPCore (x y z t a) :precision binary64 (if (or (<= z -6.7e-80) (not (<= z 650.0))) (+ x (* y (/ (- z t) z))) (- x (/ y (/ a (- z t))))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((z <= -6.7e-80) || !(z <= 650.0)) {
tmp = x + (y * ((z - t) / z));
} else {
tmp = x - (y / (a / (z - t)));
}
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 <= (-6.7d-80)) .or. (.not. (z <= 650.0d0))) then
tmp = x + (y * ((z - t) / z))
else
tmp = x - (y / (a / (z - t)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if ((z <= -6.7e-80) || !(z <= 650.0)) {
tmp = x + (y * ((z - t) / z));
} else {
tmp = x - (y / (a / (z - t)));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (z <= -6.7e-80) or not (z <= 650.0): tmp = x + (y * ((z - t) / z)) else: tmp = x - (y / (a / (z - t))) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((z <= -6.7e-80) || !(z <= 650.0)) tmp = Float64(x + Float64(y * Float64(Float64(z - t) / z))); else tmp = Float64(x - Float64(y / Float64(a / Float64(z - t)))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((z <= -6.7e-80) || ~((z <= 650.0))) tmp = x + (y * ((z - t) / z)); else tmp = x - (y / (a / (z - t))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[z, -6.7e-80], N[Not[LessEqual[z, 650.0]], $MachinePrecision]], N[(x + N[(y * N[(N[(z - t), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x - N[(y / N[(a / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -6.7 \cdot 10^{-80} \lor \neg \left(z \leq 650\right):\\
\;\;\;\;x + y \cdot \frac{z - t}{z}\\
\mathbf{else}:\\
\;\;\;\;x - \frac{y}{\frac{a}{z - t}}\\
\end{array}
\end{array}
if z < -6.70000000000000002e-80 or 650 < z Initial program 99.9%
Taylor expanded in a around 0 85.5%
if -6.70000000000000002e-80 < z < 650Initial program 98.1%
+-commutative98.1%
associate-*r/99.0%
associate-*l/97.2%
*-commutative97.2%
fma-def97.3%
Simplified97.3%
Taylor expanded in a around inf 88.1%
+-commutative88.1%
mul-1-neg88.1%
unsub-neg88.1%
associate-/l*88.1%
Simplified88.1%
Final simplification86.6%
(FPCore (x y z t a) :precision binary64 (if (or (<= z -5e+43) (not (<= z 1.25e+32))) (+ x (* y (/ (- z t) z))) (- x (/ y (/ (- z a) t)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((z <= -5e+43) || !(z <= 1.25e+32)) {
tmp = x + (y * ((z - t) / z));
} else {
tmp = x - (y / ((z - a) / t));
}
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 <= (-5d+43)) .or. (.not. (z <= 1.25d+32))) then
tmp = x + (y * ((z - t) / z))
else
tmp = x - (y / ((z - a) / t))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if ((z <= -5e+43) || !(z <= 1.25e+32)) {
tmp = x + (y * ((z - t) / z));
} else {
tmp = x - (y / ((z - a) / t));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (z <= -5e+43) or not (z <= 1.25e+32): tmp = x + (y * ((z - t) / z)) else: tmp = x - (y / ((z - a) / t)) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((z <= -5e+43) || !(z <= 1.25e+32)) tmp = Float64(x + Float64(y * Float64(Float64(z - t) / z))); else tmp = Float64(x - Float64(y / Float64(Float64(z - a) / t))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((z <= -5e+43) || ~((z <= 1.25e+32))) tmp = x + (y * ((z - t) / z)); else tmp = x - (y / ((z - a) / t)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[z, -5e+43], N[Not[LessEqual[z, 1.25e+32]], $MachinePrecision]], N[(x + N[(y * N[(N[(z - t), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x - N[(y / N[(N[(z - a), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -5 \cdot 10^{+43} \lor \neg \left(z \leq 1.25 \cdot 10^{+32}\right):\\
\;\;\;\;x + y \cdot \frac{z - t}{z}\\
\mathbf{else}:\\
\;\;\;\;x - \frac{y}{\frac{z - a}{t}}\\
\end{array}
\end{array}
if z < -5.0000000000000004e43 or 1.2499999999999999e32 < z Initial program 100.0%
Taylor expanded in a around 0 91.2%
if -5.0000000000000004e43 < z < 1.2499999999999999e32Initial program 98.5%
associate-*r/96.6%
Simplified96.6%
associate-/l*99.0%
associate-/r/97.9%
Applied egg-rr97.9%
Taylor expanded in t around inf 91.9%
associate-*r/91.9%
associate-*r*91.9%
neg-mul-191.9%
Simplified91.9%
Taylor expanded in x around 0 91.9%
+-commutative91.9%
mul-1-neg91.9%
associate-/l*94.3%
sub-neg94.3%
Simplified94.3%
Final simplification92.9%
(FPCore (x y z t a) :precision binary64 (if (<= z -4.6e+44) (+ x y) (if (<= z 1.32e+45) (+ x (* y (/ t a))) (+ x y))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (z <= -4.6e+44) {
tmp = x + y;
} else if (z <= 1.32e+45) {
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 <= (-4.6d+44)) then
tmp = x + y
else if (z <= 1.32d+45) 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 <= -4.6e+44) {
tmp = x + y;
} else if (z <= 1.32e+45) {
tmp = x + (y * (t / a));
} else {
tmp = x + y;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if z <= -4.6e+44: tmp = x + y elif z <= 1.32e+45: tmp = x + (y * (t / a)) else: tmp = x + y return tmp
function code(x, y, z, t, a) tmp = 0.0 if (z <= -4.6e+44) tmp = Float64(x + y); elseif (z <= 1.32e+45) 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 <= -4.6e+44) tmp = x + y; elseif (z <= 1.32e+45) tmp = x + (y * (t / a)); else tmp = x + y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[z, -4.6e+44], N[(x + y), $MachinePrecision], If[LessEqual[z, 1.32e+45], N[(x + N[(y * N[(t / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + y), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -4.6 \cdot 10^{+44}:\\
\;\;\;\;x + y\\
\mathbf{elif}\;z \leq 1.32 \cdot 10^{+45}:\\
\;\;\;\;x + y \cdot \frac{t}{a}\\
\mathbf{else}:\\
\;\;\;\;x + y\\
\end{array}
\end{array}
if z < -4.60000000000000009e44 or 1.32000000000000005e45 < z Initial program 100.0%
+-commutative100.0%
associate-*r/72.2%
associate-*l/93.3%
*-commutative93.3%
fma-def93.3%
Simplified93.3%
Taylor expanded in z around inf 80.5%
if -4.60000000000000009e44 < z < 1.32000000000000005e45Initial program 98.6%
Taylor expanded in z around 0 79.2%
Final simplification79.8%
(FPCore (x y z t a) :precision binary64 (if (<= z -8e+44) (+ x y) (if (<= z 1.86e+43) (+ x (/ y (/ a t))) (+ x y))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (z <= -8e+44) {
tmp = x + y;
} else if (z <= 1.86e+43) {
tmp = x + (y / (a / t));
} 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 <= (-8d+44)) then
tmp = x + y
else if (z <= 1.86d+43) then
tmp = x + (y / (a / t))
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 <= -8e+44) {
tmp = x + y;
} else if (z <= 1.86e+43) {
tmp = x + (y / (a / t));
} else {
tmp = x + y;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if z <= -8e+44: tmp = x + y elif z <= 1.86e+43: tmp = x + (y / (a / t)) else: tmp = x + y return tmp
function code(x, y, z, t, a) tmp = 0.0 if (z <= -8e+44) tmp = Float64(x + y); elseif (z <= 1.86e+43) tmp = Float64(x + Float64(y / Float64(a / t))); else tmp = Float64(x + y); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (z <= -8e+44) tmp = x + y; elseif (z <= 1.86e+43) tmp = x + (y / (a / t)); else tmp = x + y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[z, -8e+44], N[(x + y), $MachinePrecision], If[LessEqual[z, 1.86e+43], N[(x + N[(y / N[(a / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + y), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -8 \cdot 10^{+44}:\\
\;\;\;\;x + y\\
\mathbf{elif}\;z \leq 1.86 \cdot 10^{+43}:\\
\;\;\;\;x + \frac{y}{\frac{a}{t}}\\
\mathbf{else}:\\
\;\;\;\;x + y\\
\end{array}
\end{array}
if z < -8.0000000000000007e44 or 1.8600000000000001e43 < z Initial program 100.0%
+-commutative100.0%
associate-*r/72.2%
associate-*l/93.3%
*-commutative93.3%
fma-def93.3%
Simplified93.3%
Taylor expanded in z around inf 80.5%
if -8.0000000000000007e44 < z < 1.8600000000000001e43Initial program 98.6%
+-commutative98.6%
associate-*r/96.7%
associate-*l/97.9%
*-commutative97.9%
fma-def98.0%
Simplified98.0%
Taylor expanded in z around 0 77.7%
associate-/l*79.2%
Simplified79.2%
Final simplification79.8%
(FPCore (x y z t a) :precision binary64 (if (<= z -2.6e+59) (+ x y) (if (<= z 1.55e+38) x (+ x y))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (z <= -2.6e+59) {
tmp = x + y;
} else if (z <= 1.55e+38) {
tmp = x;
} 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 <= (-2.6d+59)) then
tmp = x + y
else if (z <= 1.55d+38) then
tmp = x
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 <= -2.6e+59) {
tmp = x + y;
} else if (z <= 1.55e+38) {
tmp = x;
} else {
tmp = x + y;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if z <= -2.6e+59: tmp = x + y elif z <= 1.55e+38: tmp = x else: tmp = x + y return tmp
function code(x, y, z, t, a) tmp = 0.0 if (z <= -2.6e+59) tmp = Float64(x + y); elseif (z <= 1.55e+38) tmp = x; else tmp = Float64(x + y); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (z <= -2.6e+59) tmp = x + y; elseif (z <= 1.55e+38) tmp = x; else tmp = x + y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[z, -2.6e+59], N[(x + y), $MachinePrecision], If[LessEqual[z, 1.55e+38], x, N[(x + y), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -2.6 \cdot 10^{+59}:\\
\;\;\;\;x + y\\
\mathbf{elif}\;z \leq 1.55 \cdot 10^{+38}:\\
\;\;\;\;x\\
\mathbf{else}:\\
\;\;\;\;x + y\\
\end{array}
\end{array}
if z < -2.59999999999999999e59 or 1.55000000000000009e38 < z Initial program 100.0%
+-commutative100.0%
associate-*r/71.4%
associate-*l/93.2%
*-commutative93.2%
fma-def93.1%
Simplified93.1%
Taylor expanded in z around inf 80.7%
if -2.59999999999999999e59 < z < 1.55000000000000009e38Initial program 98.6%
+-commutative98.6%
associate-*r/96.7%
associate-*l/98.0%
*-commutative98.0%
fma-def98.0%
Simplified98.0%
Taylor expanded in y around 0 55.1%
Final simplification65.9%
(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 99.2%
+-commutative99.2%
associate-*r/86.1%
associate-*l/95.9%
*-commutative95.9%
fma-def95.9%
Simplified95.9%
Taylor expanded in y around 0 50.5%
Final simplification50.5%
(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 2023200
(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)))))