
(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(Float64(y * 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[(N[(y * N[(z - t), $MachinePrecision]), $MachinePrecision] / N[(z - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + \frac{y \cdot \left(z - t\right)}{z - a}
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 15 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(Float64(y * 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[(N[(y * N[(z - t), $MachinePrecision]), $MachinePrecision] / N[(z - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + \frac{y \cdot \left(z - t\right)}{z - a}
\end{array}
(FPCore (x y z t a) :precision binary64 (fma y (/ (- z t) (- z a)) x))
double code(double x, double y, double z, double t, double a) {
return fma(y, ((z - t) / (z - a)), x);
}
function code(x, y, z, t, a) return fma(y, Float64(Float64(z - t) / Float64(z - a)), x) end
code[x_, y_, z_, t_, a_] := N[(y * N[(N[(z - t), $MachinePrecision] / N[(z - a), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision]
\begin{array}{l}
\\
\mathsf{fma}\left(y, \frac{z - t}{z - a}, x\right)
\end{array}
Initial program 85.9%
+-commutative85.9%
associate-/l*98.0%
fma-define98.0%
Simplified98.0%
(FPCore (x y z t a)
:precision binary64
(let* ((t_1 (/ (* y (- z t)) (- z a))))
(if (or (<= t_1 (- INFINITY)) (not (<= t_1 INFINITY)))
(+ x (/ (- z t) (/ (- z a) y)))
(+ x t_1))))
double code(double x, double y, double z, double t, double a) {
double t_1 = (y * (z - t)) / (z - a);
double tmp;
if ((t_1 <= -((double) INFINITY)) || !(t_1 <= ((double) INFINITY))) {
tmp = x + ((z - t) / ((z - a) / y));
} else {
tmp = x + t_1;
}
return tmp;
}
public static double code(double x, double y, double z, double t, double a) {
double t_1 = (y * (z - t)) / (z - a);
double tmp;
if ((t_1 <= -Double.POSITIVE_INFINITY) || !(t_1 <= Double.POSITIVE_INFINITY)) {
tmp = x + ((z - t) / ((z - a) / y));
} else {
tmp = x + t_1;
}
return tmp;
}
def code(x, y, z, t, a): t_1 = (y * (z - t)) / (z - a) tmp = 0 if (t_1 <= -math.inf) or not (t_1 <= math.inf): tmp = x + ((z - t) / ((z - a) / y)) else: tmp = x + t_1 return tmp
function code(x, y, z, t, a) t_1 = Float64(Float64(y * Float64(z - t)) / Float64(z - a)) tmp = 0.0 if ((t_1 <= Float64(-Inf)) || !(t_1 <= Inf)) tmp = Float64(x + Float64(Float64(z - t) / Float64(Float64(z - a) / y))); else tmp = Float64(x + t_1); end return tmp end
function tmp_2 = code(x, y, z, t, a) t_1 = (y * (z - t)) / (z - a); tmp = 0.0; if ((t_1 <= -Inf) || ~((t_1 <= Inf))) tmp = x + ((z - t) / ((z - a) / y)); else tmp = x + t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(N[(y * N[(z - t), $MachinePrecision]), $MachinePrecision] / N[(z - a), $MachinePrecision]), $MachinePrecision]}, If[Or[LessEqual[t$95$1, (-Infinity)], N[Not[LessEqual[t$95$1, Infinity]], $MachinePrecision]], N[(x + N[(N[(z - t), $MachinePrecision] / N[(N[(z - a), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + t$95$1), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{y \cdot \left(z - t\right)}{z - a}\\
\mathbf{if}\;t\_1 \leq -\infty \lor \neg \left(t\_1 \leq \infty\right):\\
\;\;\;\;x + \frac{z - t}{\frac{z - a}{y}}\\
\mathbf{else}:\\
\;\;\;\;x + t\_1\\
\end{array}
\end{array}
if (/.f64 (*.f64 y (-.f64 z t)) (-.f64 z a)) < -inf.0 or +inf.0 < (/.f64 (*.f64 y (-.f64 z t)) (-.f64 z a)) Initial program 48.6%
clear-num48.6%
inv-pow48.6%
Applied egg-rr48.6%
unpow-148.6%
associate-/r*99.7%
Simplified99.7%
clear-num99.8%
add-cube-cbrt99.0%
associate-/l*99.0%
pow299.0%
Applied egg-rr99.0%
associate-*r/99.0%
unpow299.0%
rem-3cbrt-lft99.8%
Simplified99.8%
if -inf.0 < (/.f64 (*.f64 y (-.f64 z t)) (-.f64 z a)) < +inf.0Initial program 91.8%
Final simplification92.9%
(FPCore (x y z t a)
:precision binary64
(let* ((t_1 (/ (* y (- z t)) (- z a))))
(if (<= t_1 (- INFINITY))
(+ x (* y (- 1.0 (/ t z))))
(if (<= t_1 INFINITY) (+ x t_1) (+ x (* t (/ y (- a z))))))))
double code(double x, double y, double z, double t, double a) {
double t_1 = (y * (z - t)) / (z - a);
double tmp;
if (t_1 <= -((double) INFINITY)) {
tmp = x + (y * (1.0 - (t / z)));
} else if (t_1 <= ((double) INFINITY)) {
tmp = x + t_1;
} else {
tmp = x + (t * (y / (a - z)));
}
return tmp;
}
public static double code(double x, double y, double z, double t, double a) {
double t_1 = (y * (z - t)) / (z - a);
double tmp;
if (t_1 <= -Double.POSITIVE_INFINITY) {
tmp = x + (y * (1.0 - (t / z)));
} else if (t_1 <= Double.POSITIVE_INFINITY) {
tmp = x + t_1;
} else {
tmp = x + (t * (y / (a - z)));
}
return tmp;
}
def code(x, y, z, t, a): t_1 = (y * (z - t)) / (z - a) tmp = 0 if t_1 <= -math.inf: tmp = x + (y * (1.0 - (t / z))) elif t_1 <= math.inf: tmp = x + t_1 else: tmp = x + (t * (y / (a - z))) return tmp
function code(x, y, z, t, a) t_1 = Float64(Float64(y * Float64(z - t)) / Float64(z - a)) tmp = 0.0 if (t_1 <= Float64(-Inf)) tmp = Float64(x + Float64(y * Float64(1.0 - Float64(t / z)))); elseif (t_1 <= Inf) tmp = Float64(x + t_1); else tmp = Float64(x + Float64(t * Float64(y / Float64(a - z)))); end return tmp end
function tmp_2 = code(x, y, z, t, a) t_1 = (y * (z - t)) / (z - a); tmp = 0.0; if (t_1 <= -Inf) tmp = x + (y * (1.0 - (t / z))); elseif (t_1 <= Inf) tmp = x + t_1; else tmp = x + (t * (y / (a - z))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(N[(y * N[(z - t), $MachinePrecision]), $MachinePrecision] / N[(z - a), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, (-Infinity)], N[(x + N[(y * N[(1.0 - N[(t / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$1, Infinity], N[(x + t$95$1), $MachinePrecision], N[(x + N[(t * N[(y / N[(a - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{y \cdot \left(z - t\right)}{z - a}\\
\mathbf{if}\;t\_1 \leq -\infty:\\
\;\;\;\;x + y \cdot \left(1 - \frac{t}{z}\right)\\
\mathbf{elif}\;t\_1 \leq \infty:\\
\;\;\;\;x + t\_1\\
\mathbf{else}:\\
\;\;\;\;x + t \cdot \frac{y}{a - z}\\
\end{array}
\end{array}
if (/.f64 (*.f64 y (-.f64 z t)) (-.f64 z a)) < -inf.0Initial program 48.6%
Taylor expanded in a around 0 45.3%
associate-/l*83.1%
div-sub83.1%
*-inverses83.1%
Simplified83.1%
if -inf.0 < (/.f64 (*.f64 y (-.f64 z t)) (-.f64 z a)) < +inf.0Initial program 91.8%
if +inf.0 < (/.f64 (*.f64 y (-.f64 z t)) (-.f64 z a)) Initial program 85.9%
Taylor expanded in t around inf 73.9%
mul-1-neg73.9%
associate-/l*75.5%
distribute-rgt-neg-in75.5%
distribute-frac-neg275.5%
Simplified75.5%
Final simplification90.6%
(FPCore (x y z t a)
:precision binary64
(let* ((t_1 (* t (/ y a))))
(if (<= z -8e-58)
(+ y x)
(if (<= z 8.4e-277)
t_1
(if (<= z 4.8e-125) x (if (<= z 2.3e-47) t_1 (+ y x)))))))
double code(double x, double y, double z, double t, double a) {
double t_1 = t * (y / a);
double tmp;
if (z <= -8e-58) {
tmp = y + x;
} else if (z <= 8.4e-277) {
tmp = t_1;
} else if (z <= 4.8e-125) {
tmp = x;
} else if (z <= 2.3e-47) {
tmp = t_1;
} else {
tmp = y + 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) :: t_1
real(8) :: tmp
t_1 = t * (y / a)
if (z <= (-8d-58)) then
tmp = y + x
else if (z <= 8.4d-277) then
tmp = t_1
else if (z <= 4.8d-125) then
tmp = x
else if (z <= 2.3d-47) then
tmp = t_1
else
tmp = y + x
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double t_1 = t * (y / a);
double tmp;
if (z <= -8e-58) {
tmp = y + x;
} else if (z <= 8.4e-277) {
tmp = t_1;
} else if (z <= 4.8e-125) {
tmp = x;
} else if (z <= 2.3e-47) {
tmp = t_1;
} else {
tmp = y + x;
}
return tmp;
}
def code(x, y, z, t, a): t_1 = t * (y / a) tmp = 0 if z <= -8e-58: tmp = y + x elif z <= 8.4e-277: tmp = t_1 elif z <= 4.8e-125: tmp = x elif z <= 2.3e-47: tmp = t_1 else: tmp = y + x return tmp
function code(x, y, z, t, a) t_1 = Float64(t * Float64(y / a)) tmp = 0.0 if (z <= -8e-58) tmp = Float64(y + x); elseif (z <= 8.4e-277) tmp = t_1; elseif (z <= 4.8e-125) tmp = x; elseif (z <= 2.3e-47) tmp = t_1; else tmp = Float64(y + x); end return tmp end
function tmp_2 = code(x, y, z, t, a) t_1 = t * (y / a); tmp = 0.0; if (z <= -8e-58) tmp = y + x; elseif (z <= 8.4e-277) tmp = t_1; elseif (z <= 4.8e-125) tmp = x; elseif (z <= 2.3e-47) tmp = t_1; else tmp = y + x; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(t * N[(y / a), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -8e-58], N[(y + x), $MachinePrecision], If[LessEqual[z, 8.4e-277], t$95$1, If[LessEqual[z, 4.8e-125], x, If[LessEqual[z, 2.3e-47], t$95$1, N[(y + x), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot \frac{y}{a}\\
\mathbf{if}\;z \leq -8 \cdot 10^{-58}:\\
\;\;\;\;y + x\\
\mathbf{elif}\;z \leq 8.4 \cdot 10^{-277}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq 4.8 \cdot 10^{-125}:\\
\;\;\;\;x\\
\mathbf{elif}\;z \leq 2.3 \cdot 10^{-47}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;y + x\\
\end{array}
\end{array}
if z < -8.0000000000000002e-58 or 2.29999999999999982e-47 < z Initial program 78.8%
+-commutative78.8%
associate-/l*99.8%
fma-define99.8%
Simplified99.8%
Taylor expanded in z around inf 70.5%
+-commutative70.5%
Simplified70.5%
if -8.0000000000000002e-58 < z < 8.39999999999999979e-277 or 4.8000000000000003e-125 < z < 2.29999999999999982e-47Initial program 96.4%
+-commutative96.4%
associate-/l*95.3%
fma-define95.3%
Simplified95.3%
Taylor expanded in y around -inf 67.1%
Taylor expanded in z around 0 52.8%
associate-/l*51.8%
Simplified51.8%
if 8.39999999999999979e-277 < z < 4.8000000000000003e-125Initial program 90.7%
+-commutative90.7%
associate-/l*96.9%
fma-define96.9%
Simplified96.9%
Taylor expanded in y around 0 59.2%
(FPCore (x y z t a) :precision binary64 (if (or (<= z -7e-9) (not (<= z 1.35e+29))) (+ x (* y (- 1.0 (/ t z)))) (+ x (* t (/ y (- a z))))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((z <= -7e-9) || !(z <= 1.35e+29)) {
tmp = x + (y * (1.0 - (t / z)));
} else {
tmp = x + (t * (y / (a - 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 ((z <= (-7d-9)) .or. (.not. (z <= 1.35d+29))) then
tmp = x + (y * (1.0d0 - (t / z)))
else
tmp = x + (t * (y / (a - z)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if ((z <= -7e-9) || !(z <= 1.35e+29)) {
tmp = x + (y * (1.0 - (t / z)));
} else {
tmp = x + (t * (y / (a - z)));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (z <= -7e-9) or not (z <= 1.35e+29): tmp = x + (y * (1.0 - (t / z))) else: tmp = x + (t * (y / (a - z))) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((z <= -7e-9) || !(z <= 1.35e+29)) tmp = Float64(x + Float64(y * Float64(1.0 - Float64(t / z)))); else tmp = Float64(x + Float64(t * Float64(y / Float64(a - z)))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((z <= -7e-9) || ~((z <= 1.35e+29))) tmp = x + (y * (1.0 - (t / z))); else tmp = x + (t * (y / (a - z))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[z, -7e-9], N[Not[LessEqual[z, 1.35e+29]], $MachinePrecision]], N[(x + N[(y * N[(1.0 - N[(t / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(t * N[(y / N[(a - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -7 \cdot 10^{-9} \lor \neg \left(z \leq 1.35 \cdot 10^{+29}\right):\\
\;\;\;\;x + y \cdot \left(1 - \frac{t}{z}\right)\\
\mathbf{else}:\\
\;\;\;\;x + t \cdot \frac{y}{a - z}\\
\end{array}
\end{array}
if z < -6.9999999999999998e-9 or 1.35e29 < z Initial program 76.3%
Taylor expanded in a around 0 68.1%
associate-/l*86.8%
div-sub86.8%
*-inverses86.8%
Simplified86.8%
if -6.9999999999999998e-9 < z < 1.35e29Initial program 94.8%
Taylor expanded in t around inf 88.5%
mul-1-neg88.5%
associate-/l*89.4%
distribute-rgt-neg-in89.4%
distribute-frac-neg289.4%
Simplified89.4%
Final simplification88.1%
(FPCore (x y z t a) :precision binary64 (if (or (<= a -1.65e-65) (not (<= a 4.5e-24))) (+ x (* y (/ (- t z) a))) (+ x (* y (- 1.0 (/ t z))))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((a <= -1.65e-65) || !(a <= 4.5e-24)) {
tmp = x + (y * ((t - z) / a));
} else {
tmp = x + (y * (1.0 - (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 <= (-1.65d-65)) .or. (.not. (a <= 4.5d-24))) then
tmp = x + (y * ((t - z) / a))
else
tmp = x + (y * (1.0d0 - (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 <= -1.65e-65) || !(a <= 4.5e-24)) {
tmp = x + (y * ((t - z) / a));
} else {
tmp = x + (y * (1.0 - (t / z)));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (a <= -1.65e-65) or not (a <= 4.5e-24): tmp = x + (y * ((t - z) / a)) else: tmp = x + (y * (1.0 - (t / z))) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((a <= -1.65e-65) || !(a <= 4.5e-24)) tmp = Float64(x + Float64(y * Float64(Float64(t - z) / a))); else tmp = Float64(x + Float64(y * Float64(1.0 - Float64(t / z)))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((a <= -1.65e-65) || ~((a <= 4.5e-24))) tmp = x + (y * ((t - z) / a)); else tmp = x + (y * (1.0 - (t / z))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[a, -1.65e-65], N[Not[LessEqual[a, 4.5e-24]], $MachinePrecision]], N[(x + N[(y * N[(N[(t - z), $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(y * N[(1.0 - N[(t / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -1.65 \cdot 10^{-65} \lor \neg \left(a \leq 4.5 \cdot 10^{-24}\right):\\
\;\;\;\;x + y \cdot \frac{t - z}{a}\\
\mathbf{else}:\\
\;\;\;\;x + y \cdot \left(1 - \frac{t}{z}\right)\\
\end{array}
\end{array}
if a < -1.6500000000000001e-65 or 4.4999999999999997e-24 < a Initial program 83.0%
+-commutative83.0%
associate-/l*99.8%
fma-define99.8%
Simplified99.8%
Taylor expanded in a around inf 71.1%
mul-1-neg71.1%
unsub-neg71.1%
associate-/l*80.5%
Simplified80.5%
if -1.6500000000000001e-65 < a < 4.4999999999999997e-24Initial program 89.3%
Taylor expanded in a around 0 83.0%
associate-/l*89.5%
div-sub89.5%
*-inverses89.5%
Simplified89.5%
Final simplification84.6%
(FPCore (x y z t a) :precision binary64 (if (or (<= z -5e-19) (not (<= z 3.4e-39))) (+ x (* y (- 1.0 (/ t z)))) (+ x (* t (/ y a)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((z <= -5e-19) || !(z <= 3.4e-39)) {
tmp = x + (y * (1.0 - (t / z)));
} else {
tmp = x + (t * (y / 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 <= (-5d-19)) .or. (.not. (z <= 3.4d-39))) then
tmp = x + (y * (1.0d0 - (t / z)))
else
tmp = x + (t * (y / 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 <= -5e-19) || !(z <= 3.4e-39)) {
tmp = x + (y * (1.0 - (t / z)));
} else {
tmp = x + (t * (y / a));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (z <= -5e-19) or not (z <= 3.4e-39): tmp = x + (y * (1.0 - (t / z))) else: tmp = x + (t * (y / a)) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((z <= -5e-19) || !(z <= 3.4e-39)) tmp = Float64(x + Float64(y * Float64(1.0 - Float64(t / z)))); else tmp = Float64(x + Float64(t * Float64(y / a))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((z <= -5e-19) || ~((z <= 3.4e-39))) tmp = x + (y * (1.0 - (t / z))); else tmp = x + (t * (y / a)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[z, -5e-19], N[Not[LessEqual[z, 3.4e-39]], $MachinePrecision]], N[(x + N[(y * N[(1.0 - N[(t / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(t * N[(y / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -5 \cdot 10^{-19} \lor \neg \left(z \leq 3.4 \cdot 10^{-39}\right):\\
\;\;\;\;x + y \cdot \left(1 - \frac{t}{z}\right)\\
\mathbf{else}:\\
\;\;\;\;x + t \cdot \frac{y}{a}\\
\end{array}
\end{array}
if z < -5.0000000000000004e-19 or 3.3999999999999999e-39 < z Initial program 78.4%
Taylor expanded in a around 0 68.8%
associate-/l*85.8%
div-sub85.8%
*-inverses85.8%
Simplified85.8%
if -5.0000000000000004e-19 < z < 3.3999999999999999e-39Initial program 94.3%
+-commutative94.3%
associate-/l*96.0%
fma-define96.0%
Simplified96.0%
Taylor expanded in z around 0 77.2%
+-commutative77.2%
associate-/l*78.1%
Simplified78.1%
Final simplification82.2%
(FPCore (x y z t a) :precision binary64 (if (<= t -4.6e+77) (+ x (/ (* y t) (- a z))) (if (<= t 2e-83) (+ x (* y (/ z (- z a)))) (- x (* t (/ y (- z a)))))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (t <= -4.6e+77) {
tmp = x + ((y * t) / (a - z));
} else if (t <= 2e-83) {
tmp = x + (y * (z / (z - a)));
} else {
tmp = x - (t * (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 (t <= (-4.6d+77)) then
tmp = x + ((y * t) / (a - z))
else if (t <= 2d-83) then
tmp = x + (y * (z / (z - a)))
else
tmp = x - (t * (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 (t <= -4.6e+77) {
tmp = x + ((y * t) / (a - z));
} else if (t <= 2e-83) {
tmp = x + (y * (z / (z - a)));
} else {
tmp = x - (t * (y / (z - a)));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if t <= -4.6e+77: tmp = x + ((y * t) / (a - z)) elif t <= 2e-83: tmp = x + (y * (z / (z - a))) else: tmp = x - (t * (y / (z - a))) return tmp
function code(x, y, z, t, a) tmp = 0.0 if (t <= -4.6e+77) tmp = Float64(x + Float64(Float64(y * t) / Float64(a - z))); elseif (t <= 2e-83) tmp = Float64(x + Float64(y * Float64(z / Float64(z - a)))); else tmp = Float64(x - Float64(t * Float64(y / Float64(z - a)))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (t <= -4.6e+77) tmp = x + ((y * t) / (a - z)); elseif (t <= 2e-83) tmp = x + (y * (z / (z - a))); else tmp = x - (t * (y / (z - a))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[t, -4.6e+77], N[(x + N[(N[(y * t), $MachinePrecision] / N[(a - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2e-83], N[(x + N[(y * N[(z / N[(z - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x - N[(t * N[(y / N[(z - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -4.6 \cdot 10^{+77}:\\
\;\;\;\;x + \frac{y \cdot t}{a - z}\\
\mathbf{elif}\;t \leq 2 \cdot 10^{-83}:\\
\;\;\;\;x + y \cdot \frac{z}{z - a}\\
\mathbf{else}:\\
\;\;\;\;x - t \cdot \frac{y}{z - a}\\
\end{array}
\end{array}
if t < -4.5999999999999999e77Initial program 87.2%
Taylor expanded in t around inf 85.0%
associate-*r/85.0%
mul-1-neg85.0%
distribute-lft-neg-out85.0%
*-commutative85.0%
Simplified85.0%
if -4.5999999999999999e77 < t < 2.0000000000000001e-83Initial program 87.2%
Taylor expanded in t around 0 76.0%
associate-/l*87.9%
Simplified87.9%
if 2.0000000000000001e-83 < t Initial program 83.3%
Taylor expanded in t around inf 80.5%
mul-1-neg80.5%
associate-/l*91.5%
distribute-rgt-neg-in91.5%
distribute-frac-neg291.5%
Simplified91.5%
Final simplification88.4%
(FPCore (x y z t a) :precision binary64 (if (or (<= z -2.65e-17) (not (<= z 2.7e+26))) (+ y x) (+ x (* t (/ y a)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((z <= -2.65e-17) || !(z <= 2.7e+26)) {
tmp = y + x;
} else {
tmp = x + (t * (y / 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 <= (-2.65d-17)) .or. (.not. (z <= 2.7d+26))) then
tmp = y + x
else
tmp = x + (t * (y / 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 <= -2.65e-17) || !(z <= 2.7e+26)) {
tmp = y + x;
} else {
tmp = x + (t * (y / a));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (z <= -2.65e-17) or not (z <= 2.7e+26): tmp = y + x else: tmp = x + (t * (y / a)) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((z <= -2.65e-17) || !(z <= 2.7e+26)) tmp = Float64(y + x); else tmp = Float64(x + Float64(t * Float64(y / a))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((z <= -2.65e-17) || ~((z <= 2.7e+26))) tmp = y + x; else tmp = x + (t * (y / a)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[z, -2.65e-17], N[Not[LessEqual[z, 2.7e+26]], $MachinePrecision]], N[(y + x), $MachinePrecision], N[(x + N[(t * N[(y / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -2.65 \cdot 10^{-17} \lor \neg \left(z \leq 2.7 \cdot 10^{+26}\right):\\
\;\;\;\;y + x\\
\mathbf{else}:\\
\;\;\;\;x + t \cdot \frac{y}{a}\\
\end{array}
\end{array}
if z < -2.6499999999999999e-17 or 2.7e26 < z Initial program 76.5%
+-commutative76.5%
associate-/l*99.8%
fma-define99.9%
Simplified99.9%
Taylor expanded in z around inf 72.5%
+-commutative72.5%
Simplified72.5%
if -2.6499999999999999e-17 < z < 2.7e26Initial program 94.8%
+-commutative94.8%
associate-/l*96.2%
fma-define96.2%
Simplified96.2%
Taylor expanded in z around 0 74.8%
+-commutative74.8%
associate-/l*75.6%
Simplified75.6%
Final simplification74.1%
(FPCore (x y z t a) :precision binary64 (if (or (<= z -2e-49) (not (<= z 6.5e+29))) (+ y x) (+ x (/ (* y t) a))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((z <= -2e-49) || !(z <= 6.5e+29)) {
tmp = y + x;
} 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 <= (-2d-49)) .or. (.not. (z <= 6.5d+29))) then
tmp = y + x
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 <= -2e-49) || !(z <= 6.5e+29)) {
tmp = y + x;
} else {
tmp = x + ((y * t) / a);
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (z <= -2e-49) or not (z <= 6.5e+29): tmp = y + x else: tmp = x + ((y * t) / a) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((z <= -2e-49) || !(z <= 6.5e+29)) tmp = Float64(y + x); else tmp = Float64(x + Float64(Float64(y * t) / a)); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((z <= -2e-49) || ~((z <= 6.5e+29))) tmp = y + x; else tmp = x + ((y * t) / a); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[z, -2e-49], N[Not[LessEqual[z, 6.5e+29]], $MachinePrecision]], N[(y + x), $MachinePrecision], N[(x + N[(N[(y * t), $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -2 \cdot 10^{-49} \lor \neg \left(z \leq 6.5 \cdot 10^{+29}\right):\\
\;\;\;\;y + x\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y \cdot t}{a}\\
\end{array}
\end{array}
if z < -1.99999999999999987e-49 or 6.49999999999999971e29 < z Initial program 77.0%
+-commutative77.0%
associate-/l*99.9%
fma-define99.9%
Simplified99.9%
Taylor expanded in z around inf 72.5%
+-commutative72.5%
Simplified72.5%
if -1.99999999999999987e-49 < z < 6.49999999999999971e29Initial program 95.2%
Taylor expanded in z around 0 75.0%
Final simplification73.7%
(FPCore (x y z t a) :precision binary64 (if (<= y -1.9e+80) (* y (- 1.0 (/ t z))) (if (<= y 4.6e+101) (+ y x) (* t (/ y a)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (y <= -1.9e+80) {
tmp = y * (1.0 - (t / z));
} else if (y <= 4.6e+101) {
tmp = y + x;
} else {
tmp = t * (y / 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 <= (-1.9d+80)) then
tmp = y * (1.0d0 - (t / z))
else if (y <= 4.6d+101) then
tmp = y + x
else
tmp = t * (y / 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 <= -1.9e+80) {
tmp = y * (1.0 - (t / z));
} else if (y <= 4.6e+101) {
tmp = y + x;
} else {
tmp = t * (y / a);
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if y <= -1.9e+80: tmp = y * (1.0 - (t / z)) elif y <= 4.6e+101: tmp = y + x else: tmp = t * (y / a) return tmp
function code(x, y, z, t, a) tmp = 0.0 if (y <= -1.9e+80) tmp = Float64(y * Float64(1.0 - Float64(t / z))); elseif (y <= 4.6e+101) tmp = Float64(y + x); else tmp = Float64(t * Float64(y / a)); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (y <= -1.9e+80) tmp = y * (1.0 - (t / z)); elseif (y <= 4.6e+101) tmp = y + x; else tmp = t * (y / a); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[y, -1.9e+80], N[(y * N[(1.0 - N[(t / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 4.6e+101], N[(y + x), $MachinePrecision], N[(t * N[(y / a), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.9 \cdot 10^{+80}:\\
\;\;\;\;y \cdot \left(1 - \frac{t}{z}\right)\\
\mathbf{elif}\;y \leq 4.6 \cdot 10^{+101}:\\
\;\;\;\;y + x\\
\mathbf{else}:\\
\;\;\;\;t \cdot \frac{y}{a}\\
\end{array}
\end{array}
if y < -1.89999999999999999e80Initial program 67.9%
Taylor expanded in a around 0 48.0%
associate-/l*72.4%
div-sub72.4%
*-inverses72.4%
Simplified72.4%
Taylor expanded in x around 0 61.3%
if -1.89999999999999999e80 < y < 4.6000000000000003e101Initial program 96.2%
+-commutative96.2%
associate-/l*96.9%
fma-define96.9%
Simplified96.9%
Taylor expanded in z around inf 65.2%
+-commutative65.2%
Simplified65.2%
if 4.6000000000000003e101 < y Initial program 68.9%
+-commutative68.9%
associate-/l*99.7%
fma-define99.7%
Simplified99.7%
Taylor expanded in y around -inf 64.6%
Taylor expanded in z around 0 44.4%
associate-/l*51.0%
Simplified51.0%
(FPCore (x y z t a) :precision binary64 (if (<= t -3e+159) (/ (* y t) a) (if (<= t 4.5e+141) (+ y x) (* t (/ y a)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (t <= -3e+159) {
tmp = (y * t) / a;
} else if (t <= 4.5e+141) {
tmp = y + x;
} else {
tmp = t * (y / 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 (t <= (-3d+159)) then
tmp = (y * t) / a
else if (t <= 4.5d+141) then
tmp = y + x
else
tmp = t * (y / a)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (t <= -3e+159) {
tmp = (y * t) / a;
} else if (t <= 4.5e+141) {
tmp = y + x;
} else {
tmp = t * (y / a);
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if t <= -3e+159: tmp = (y * t) / a elif t <= 4.5e+141: tmp = y + x else: tmp = t * (y / a) return tmp
function code(x, y, z, t, a) tmp = 0.0 if (t <= -3e+159) tmp = Float64(Float64(y * t) / a); elseif (t <= 4.5e+141) tmp = Float64(y + x); else tmp = Float64(t * Float64(y / a)); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (t <= -3e+159) tmp = (y * t) / a; elseif (t <= 4.5e+141) tmp = y + x; else tmp = t * (y / a); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[t, -3e+159], N[(N[(y * t), $MachinePrecision] / a), $MachinePrecision], If[LessEqual[t, 4.5e+141], N[(y + x), $MachinePrecision], N[(t * N[(y / a), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -3 \cdot 10^{+159}:\\
\;\;\;\;\frac{y \cdot t}{a}\\
\mathbf{elif}\;t \leq 4.5 \cdot 10^{+141}:\\
\;\;\;\;y + x\\
\mathbf{else}:\\
\;\;\;\;t \cdot \frac{y}{a}\\
\end{array}
\end{array}
if t < -3.0000000000000002e159Initial program 90.1%
+-commutative90.1%
associate-/l*90.1%
fma-define90.1%
Simplified90.1%
Taylor expanded in y around -inf 68.1%
Taylor expanded in z around 0 48.1%
if -3.0000000000000002e159 < t < 4.5000000000000002e141Initial program 85.3%
+-commutative85.3%
associate-/l*99.3%
fma-define99.3%
Simplified99.3%
Taylor expanded in z around inf 63.5%
+-commutative63.5%
Simplified63.5%
if 4.5000000000000002e141 < t Initial program 84.1%
+-commutative84.1%
associate-/l*99.9%
fma-define99.9%
Simplified99.9%
Taylor expanded in y around -inf 68.0%
Taylor expanded in z around 0 54.7%
associate-/l*59.9%
Simplified59.9%
Final simplification60.7%
(FPCore (x y z t a) :precision binary64 (if (<= x -2.65e-155) x (if (<= x 1200000000.0) y x)))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (x <= -2.65e-155) {
tmp = x;
} else if (x <= 1200000000.0) {
tmp = 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 (x <= (-2.65d-155)) then
tmp = x
else if (x <= 1200000000.0d0) then
tmp = 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 (x <= -2.65e-155) {
tmp = x;
} else if (x <= 1200000000.0) {
tmp = y;
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if x <= -2.65e-155: tmp = x elif x <= 1200000000.0: tmp = y else: tmp = x return tmp
function code(x, y, z, t, a) tmp = 0.0 if (x <= -2.65e-155) tmp = x; elseif (x <= 1200000000.0) tmp = y; else tmp = x; end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (x <= -2.65e-155) tmp = x; elseif (x <= 1200000000.0) tmp = y; else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[x, -2.65e-155], x, If[LessEqual[x, 1200000000.0], y, x]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -2.65 \cdot 10^{-155}:\\
\;\;\;\;x\\
\mathbf{elif}\;x \leq 1200000000:\\
\;\;\;\;y\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if x < -2.6499999999999999e-155 or 1.2e9 < x Initial program 88.2%
+-commutative88.2%
associate-/l*97.4%
fma-define97.4%
Simplified97.4%
Taylor expanded in y around 0 62.4%
if -2.6499999999999999e-155 < x < 1.2e9Initial program 82.5%
+-commutative82.5%
associate-/l*98.8%
fma-define98.8%
Simplified98.8%
Taylor expanded in y around -inf 69.8%
Taylor expanded in z around inf 29.5%
(FPCore (x y z t a) :precision binary64 (if (<= a -2.1e+198) x (+ y x)))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (a <= -2.1e+198) {
tmp = x;
} else {
tmp = y + 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.1d+198)) then
tmp = x
else
tmp = y + 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.1e+198) {
tmp = x;
} else {
tmp = y + x;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if a <= -2.1e+198: tmp = x else: tmp = y + x return tmp
function code(x, y, z, t, a) tmp = 0.0 if (a <= -2.1e+198) tmp = x; else tmp = Float64(y + x); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (a <= -2.1e+198) tmp = x; else tmp = y + x; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[a, -2.1e+198], x, N[(y + x), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -2.1 \cdot 10^{+198}:\\
\;\;\;\;x\\
\mathbf{else}:\\
\;\;\;\;y + x\\
\end{array}
\end{array}
if a < -2.10000000000000013e198Initial program 84.1%
+-commutative84.1%
associate-/l*99.8%
fma-define99.8%
Simplified99.8%
Taylor expanded in y around 0 73.3%
if -2.10000000000000013e198 < a Initial program 86.0%
+-commutative86.0%
associate-/l*97.9%
fma-define97.9%
Simplified97.9%
Taylor expanded in z around inf 54.6%
+-commutative54.6%
Simplified54.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 85.9%
+-commutative85.9%
associate-/l*98.0%
fma-define98.0%
Simplified98.0%
Taylor expanded in y around 0 42.8%
(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 2024172
(FPCore (x y z t a)
:name "Graphics.Rendering.Plot.Render.Plot.Axis:renderAxisTicks from plot-0.2.3.4, A"
:precision binary64
:alt
(! :herbie-platform default (+ x (/ y (/ (- z a) (- z t)))))
(+ x (/ (* y (- z t)) (- z a))))