
(FPCore (x y z t) :precision binary64 (/ (* x (- y z)) (- t z)))
double code(double x, double y, double z, double t) {
return (x * (y - z)) / (t - z);
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
code = (x * (y - z)) / (t - z)
end function
public static double code(double x, double y, double z, double t) {
return (x * (y - z)) / (t - z);
}
def code(x, y, z, t): return (x * (y - z)) / (t - z)
function code(x, y, z, t) return Float64(Float64(x * Float64(y - z)) / Float64(t - z)) end
function tmp = code(x, y, z, t) tmp = (x * (y - z)) / (t - z); end
code[x_, y_, z_, t_] := N[(N[(x * N[(y - z), $MachinePrecision]), $MachinePrecision] / N[(t - z), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{x \cdot \left(y - z\right)}{t - z}
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 9 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t) :precision binary64 (/ (* x (- y z)) (- t z)))
double code(double x, double y, double z, double t) {
return (x * (y - z)) / (t - z);
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
code = (x * (y - z)) / (t - z)
end function
public static double code(double x, double y, double z, double t) {
return (x * (y - z)) / (t - z);
}
def code(x, y, z, t): return (x * (y - z)) / (t - z)
function code(x, y, z, t) return Float64(Float64(x * Float64(y - z)) / Float64(t - z)) end
function tmp = code(x, y, z, t) tmp = (x * (y - z)) / (t - z); end
code[x_, y_, z_, t_] := N[(N[(x * N[(y - z), $MachinePrecision]), $MachinePrecision] / N[(t - z), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{x \cdot \left(y - z\right)}{t - z}
\end{array}
(FPCore (x y z t) :precision binary64 (/ x (/ (- t z) (- y z))))
double code(double x, double y, double z, double t) {
return x / ((t - z) / (y - z));
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
code = x / ((t - z) / (y - z))
end function
public static double code(double x, double y, double z, double t) {
return x / ((t - z) / (y - z));
}
def code(x, y, z, t): return x / ((t - z) / (y - z))
function code(x, y, z, t) return Float64(x / Float64(Float64(t - z) / Float64(y - z))) end
function tmp = code(x, y, z, t) tmp = x / ((t - z) / (y - z)); end
code[x_, y_, z_, t_] := N[(x / N[(N[(t - z), $MachinePrecision] / N[(y - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{x}{\frac{t - z}{y - z}}
\end{array}
Initial program 83.3%
associate-/l*97.4%
Simplified97.4%
clear-num97.1%
un-div-inv97.4%
Applied egg-rr97.4%
Final simplification97.4%
(FPCore (x y z t) :precision binary64 (if (or (<= z -2.8e-63) (not (<= z 2.35e-38))) (* x (- 1.0 (/ y z))) (/ x (/ t y))))
double code(double x, double y, double z, double t) {
double tmp;
if ((z <= -2.8e-63) || !(z <= 2.35e-38)) {
tmp = x * (1.0 - (y / z));
} else {
tmp = x / (t / y);
}
return tmp;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8) :: tmp
if ((z <= (-2.8d-63)) .or. (.not. (z <= 2.35d-38))) then
tmp = x * (1.0d0 - (y / z))
else
tmp = x / (t / y)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if ((z <= -2.8e-63) || !(z <= 2.35e-38)) {
tmp = x * (1.0 - (y / z));
} else {
tmp = x / (t / y);
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if (z <= -2.8e-63) or not (z <= 2.35e-38): tmp = x * (1.0 - (y / z)) else: tmp = x / (t / y) return tmp
function code(x, y, z, t) tmp = 0.0 if ((z <= -2.8e-63) || !(z <= 2.35e-38)) tmp = Float64(x * Float64(1.0 - Float64(y / z))); else tmp = Float64(x / Float64(t / y)); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if ((z <= -2.8e-63) || ~((z <= 2.35e-38))) tmp = x * (1.0 - (y / z)); else tmp = x / (t / y); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[Or[LessEqual[z, -2.8e-63], N[Not[LessEqual[z, 2.35e-38]], $MachinePrecision]], N[(x * N[(1.0 - N[(y / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(t / y), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -2.8 \cdot 10^{-63} \lor \neg \left(z \leq 2.35 \cdot 10^{-38}\right):\\
\;\;\;\;x \cdot \left(1 - \frac{y}{z}\right)\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{\frac{t}{y}}\\
\end{array}
\end{array}
if z < -2.8000000000000002e-63 or 2.34999999999999999e-38 < z Initial program 78.7%
associate-/l*99.8%
Simplified99.8%
Taylor expanded in t around 0 57.8%
mul-1-neg57.8%
associate-/l*72.9%
distribute-rgt-neg-in72.9%
distribute-frac-neg72.9%
neg-sub072.9%
associate--r-72.9%
neg-sub072.9%
mul-1-neg72.9%
+-commutative72.9%
mul-1-neg72.9%
sub-neg72.9%
div-sub72.9%
*-inverses72.9%
Simplified72.9%
if -2.8000000000000002e-63 < z < 2.34999999999999999e-38Initial program 90.3%
associate-/l*93.5%
Simplified93.5%
clear-num93.0%
un-div-inv93.6%
Applied egg-rr93.6%
Taylor expanded in z around 0 74.5%
Final simplification73.6%
(FPCore (x y z t) :precision binary64 (if (or (<= z -7.4e-18) (not (<= z 0.0041))) (* x (- 1.0 (/ y z))) (* x (/ y (- t z)))))
double code(double x, double y, double z, double t) {
double tmp;
if ((z <= -7.4e-18) || !(z <= 0.0041)) {
tmp = x * (1.0 - (y / z));
} else {
tmp = x * (y / (t - z));
}
return tmp;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8) :: tmp
if ((z <= (-7.4d-18)) .or. (.not. (z <= 0.0041d0))) then
tmp = x * (1.0d0 - (y / z))
else
tmp = x * (y / (t - z))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if ((z <= -7.4e-18) || !(z <= 0.0041)) {
tmp = x * (1.0 - (y / z));
} else {
tmp = x * (y / (t - z));
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if (z <= -7.4e-18) or not (z <= 0.0041): tmp = x * (1.0 - (y / z)) else: tmp = x * (y / (t - z)) return tmp
function code(x, y, z, t) tmp = 0.0 if ((z <= -7.4e-18) || !(z <= 0.0041)) tmp = Float64(x * Float64(1.0 - Float64(y / z))); else tmp = Float64(x * Float64(y / Float64(t - z))); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if ((z <= -7.4e-18) || ~((z <= 0.0041))) tmp = x * (1.0 - (y / z)); else tmp = x * (y / (t - z)); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[Or[LessEqual[z, -7.4e-18], N[Not[LessEqual[z, 0.0041]], $MachinePrecision]], N[(x * N[(1.0 - N[(y / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(y / N[(t - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -7.4 \cdot 10^{-18} \lor \neg \left(z \leq 0.0041\right):\\
\;\;\;\;x \cdot \left(1 - \frac{y}{z}\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot \frac{y}{t - z}\\
\end{array}
\end{array}
if z < -7.4000000000000007e-18 or 0.00410000000000000035 < z Initial program 77.6%
associate-/l*99.9%
Simplified99.9%
Taylor expanded in t around 0 59.8%
mul-1-neg59.8%
associate-/l*77.3%
distribute-rgt-neg-in77.3%
distribute-frac-neg77.3%
neg-sub077.3%
associate--r-77.3%
neg-sub077.3%
mul-1-neg77.3%
+-commutative77.3%
mul-1-neg77.3%
sub-neg77.3%
div-sub77.3%
*-inverses77.3%
Simplified77.3%
if -7.4000000000000007e-18 < z < 0.00410000000000000035Initial program 89.6%
associate-/l*94.5%
Simplified94.5%
Taylor expanded in y around inf 74.4%
associate-/l*79.2%
Simplified79.2%
Final simplification78.2%
(FPCore (x y z t) :precision binary64 (if (or (<= y -1.95e-5) (not (<= y 4.3e-36))) (* x (/ y (- t z))) (* x (/ z (- z t)))))
double code(double x, double y, double z, double t) {
double tmp;
if ((y <= -1.95e-5) || !(y <= 4.3e-36)) {
tmp = x * (y / (t - z));
} else {
tmp = x * (z / (z - t));
}
return tmp;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8) :: tmp
if ((y <= (-1.95d-5)) .or. (.not. (y <= 4.3d-36))) then
tmp = x * (y / (t - z))
else
tmp = x * (z / (z - t))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if ((y <= -1.95e-5) || !(y <= 4.3e-36)) {
tmp = x * (y / (t - z));
} else {
tmp = x * (z / (z - t));
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if (y <= -1.95e-5) or not (y <= 4.3e-36): tmp = x * (y / (t - z)) else: tmp = x * (z / (z - t)) return tmp
function code(x, y, z, t) tmp = 0.0 if ((y <= -1.95e-5) || !(y <= 4.3e-36)) tmp = Float64(x * Float64(y / Float64(t - z))); else tmp = Float64(x * Float64(z / Float64(z - t))); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if ((y <= -1.95e-5) || ~((y <= 4.3e-36))) tmp = x * (y / (t - z)); else tmp = x * (z / (z - t)); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[Or[LessEqual[y, -1.95e-5], N[Not[LessEqual[y, 4.3e-36]], $MachinePrecision]], N[(x * N[(y / N[(t - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(z / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.95 \cdot 10^{-5} \lor \neg \left(y \leq 4.3 \cdot 10^{-36}\right):\\
\;\;\;\;x \cdot \frac{y}{t - z}\\
\mathbf{else}:\\
\;\;\;\;x \cdot \frac{z}{z - t}\\
\end{array}
\end{array}
if y < -1.95e-5 or 4.3000000000000002e-36 < y Initial program 83.9%
associate-/l*97.1%
Simplified97.1%
Taylor expanded in y around inf 69.0%
associate-/l*77.9%
Simplified77.9%
if -1.95e-5 < y < 4.3000000000000002e-36Initial program 82.5%
associate-/l*97.7%
Simplified97.7%
Taylor expanded in y around 0 67.5%
mul-1-neg67.5%
distribute-neg-frac267.5%
neg-sub067.5%
associate--r-67.5%
neg-sub067.5%
+-commutative67.5%
sub-neg67.5%
associate-/l*83.1%
Simplified83.1%
Final simplification80.2%
(FPCore (x y z t) :precision binary64 (if (<= y -5e-6) (/ x (/ (- t z) y)) (if (<= y 1.35e-18) (* x (/ z (- z t))) (* x (/ y (- t z))))))
double code(double x, double y, double z, double t) {
double tmp;
if (y <= -5e-6) {
tmp = x / ((t - z) / y);
} else if (y <= 1.35e-18) {
tmp = x * (z / (z - t));
} else {
tmp = x * (y / (t - z));
}
return tmp;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8) :: tmp
if (y <= (-5d-6)) then
tmp = x / ((t - z) / y)
else if (y <= 1.35d-18) then
tmp = x * (z / (z - t))
else
tmp = x * (y / (t - z))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if (y <= -5e-6) {
tmp = x / ((t - z) / y);
} else if (y <= 1.35e-18) {
tmp = x * (z / (z - t));
} else {
tmp = x * (y / (t - z));
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if y <= -5e-6: tmp = x / ((t - z) / y) elif y <= 1.35e-18: tmp = x * (z / (z - t)) else: tmp = x * (y / (t - z)) return tmp
function code(x, y, z, t) tmp = 0.0 if (y <= -5e-6) tmp = Float64(x / Float64(Float64(t - z) / y)); elseif (y <= 1.35e-18) tmp = Float64(x * Float64(z / Float64(z - t))); else tmp = Float64(x * Float64(y / Float64(t - z))); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if (y <= -5e-6) tmp = x / ((t - z) / y); elseif (y <= 1.35e-18) tmp = x * (z / (z - t)); else tmp = x * (y / (t - z)); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[LessEqual[y, -5e-6], N[(x / N[(N[(t - z), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.35e-18], N[(x * N[(z / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(y / N[(t - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -5 \cdot 10^{-6}:\\
\;\;\;\;\frac{x}{\frac{t - z}{y}}\\
\mathbf{elif}\;y \leq 1.35 \cdot 10^{-18}:\\
\;\;\;\;x \cdot \frac{z}{z - t}\\
\mathbf{else}:\\
\;\;\;\;x \cdot \frac{y}{t - z}\\
\end{array}
\end{array}
if y < -5.00000000000000041e-6Initial program 83.9%
associate-/l*96.8%
Simplified96.8%
clear-num96.8%
un-div-inv97.8%
Applied egg-rr97.8%
Taylor expanded in y around inf 75.0%
if -5.00000000000000041e-6 < y < 1.34999999999999994e-18Initial program 82.5%
associate-/l*97.7%
Simplified97.7%
Taylor expanded in y around 0 67.5%
mul-1-neg67.5%
distribute-neg-frac267.5%
neg-sub067.5%
associate--r-67.5%
neg-sub067.5%
+-commutative67.5%
sub-neg67.5%
associate-/l*83.1%
Simplified83.1%
if 1.34999999999999994e-18 < y Initial program 83.9%
associate-/l*97.3%
Simplified97.3%
Taylor expanded in y around inf 69.5%
associate-/l*81.1%
Simplified81.1%
Final simplification80.4%
(FPCore (x y z t) :precision binary64 (if (<= z -8.5e+92) x (if (<= z 780.0) (* x (/ y t)) x)))
double code(double x, double y, double z, double t) {
double tmp;
if (z <= -8.5e+92) {
tmp = x;
} else if (z <= 780.0) {
tmp = x * (y / t);
} else {
tmp = x;
}
return tmp;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8) :: tmp
if (z <= (-8.5d+92)) then
tmp = x
else if (z <= 780.0d0) then
tmp = x * (y / t)
else
tmp = x
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if (z <= -8.5e+92) {
tmp = x;
} else if (z <= 780.0) {
tmp = x * (y / t);
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if z <= -8.5e+92: tmp = x elif z <= 780.0: tmp = x * (y / t) else: tmp = x return tmp
function code(x, y, z, t) tmp = 0.0 if (z <= -8.5e+92) tmp = x; elseif (z <= 780.0) tmp = Float64(x * Float64(y / t)); else tmp = x; end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if (z <= -8.5e+92) tmp = x; elseif (z <= 780.0) tmp = x * (y / t); else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[LessEqual[z, -8.5e+92], x, If[LessEqual[z, 780.0], N[(x * N[(y / t), $MachinePrecision]), $MachinePrecision], x]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -8.5 \cdot 10^{+92}:\\
\;\;\;\;x\\
\mathbf{elif}\;z \leq 780:\\
\;\;\;\;x \cdot \frac{y}{t}\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if z < -8.5000000000000001e92 or 780 < z Initial program 73.4%
associate-/l*99.9%
Simplified99.9%
Taylor expanded in z around inf 64.6%
if -8.5000000000000001e92 < z < 780Initial program 90.3%
associate-/l*95.5%
Simplified95.5%
Taylor expanded in z around 0 56.8%
associate-/l*62.0%
Simplified62.0%
Final simplification63.1%
(FPCore (x y z t) :precision binary64 (if (<= z -7.5e+91) x (if (<= z 0.082) (/ x (/ t y)) x)))
double code(double x, double y, double z, double t) {
double tmp;
if (z <= -7.5e+91) {
tmp = x;
} else if (z <= 0.082) {
tmp = x / (t / y);
} else {
tmp = x;
}
return tmp;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8) :: tmp
if (z <= (-7.5d+91)) then
tmp = x
else if (z <= 0.082d0) then
tmp = x / (t / y)
else
tmp = x
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if (z <= -7.5e+91) {
tmp = x;
} else if (z <= 0.082) {
tmp = x / (t / y);
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if z <= -7.5e+91: tmp = x elif z <= 0.082: tmp = x / (t / y) else: tmp = x return tmp
function code(x, y, z, t) tmp = 0.0 if (z <= -7.5e+91) tmp = x; elseif (z <= 0.082) tmp = Float64(x / Float64(t / y)); else tmp = x; end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if (z <= -7.5e+91) tmp = x; elseif (z <= 0.082) tmp = x / (t / y); else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[LessEqual[z, -7.5e+91], x, If[LessEqual[z, 0.082], N[(x / N[(t / y), $MachinePrecision]), $MachinePrecision], x]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -7.5 \cdot 10^{+91}:\\
\;\;\;\;x\\
\mathbf{elif}\;z \leq 0.082:\\
\;\;\;\;\frac{x}{\frac{t}{y}}\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if z < -7.50000000000000033e91 or 0.0820000000000000034 < z Initial program 73.4%
associate-/l*99.9%
Simplified99.9%
Taylor expanded in z around inf 64.6%
if -7.50000000000000033e91 < z < 0.0820000000000000034Initial program 90.3%
associate-/l*95.5%
Simplified95.5%
clear-num95.2%
un-div-inv95.6%
Applied egg-rr95.6%
Taylor expanded in z around 0 62.1%
Final simplification63.1%
(FPCore (x y z t) :precision binary64 (* x (/ (- y z) (- t z))))
double code(double x, double y, double z, double t) {
return x * ((y - z) / (t - z));
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
code = x * ((y - z) / (t - z))
end function
public static double code(double x, double y, double z, double t) {
return x * ((y - z) / (t - z));
}
def code(x, y, z, t): return x * ((y - z) / (t - z))
function code(x, y, z, t) return Float64(x * Float64(Float64(y - z) / Float64(t - z))) end
function tmp = code(x, y, z, t) tmp = x * ((y - z) / (t - z)); end
code[x_, y_, z_, t_] := N[(x * N[(N[(y - z), $MachinePrecision] / N[(t - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x \cdot \frac{y - z}{t - z}
\end{array}
Initial program 83.3%
associate-/l*97.4%
Simplified97.4%
Final simplification97.4%
(FPCore (x y z t) :precision binary64 x)
double code(double x, double y, double z, double t) {
return x;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
code = x
end function
public static double code(double x, double y, double z, double t) {
return x;
}
def code(x, y, z, t): return x
function code(x, y, z, t) return x end
function tmp = code(x, y, z, t) tmp = x; end
code[x_, y_, z_, t_] := x
\begin{array}{l}
\\
x
\end{array}
Initial program 83.3%
associate-/l*97.4%
Simplified97.4%
Taylor expanded in z around inf 34.7%
Final simplification34.7%
(FPCore (x y z t) :precision binary64 (/ x (/ (- t z) (- y z))))
double code(double x, double y, double z, double t) {
return x / ((t - z) / (y - z));
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
code = x / ((t - z) / (y - z))
end function
public static double code(double x, double y, double z, double t) {
return x / ((t - z) / (y - z));
}
def code(x, y, z, t): return x / ((t - z) / (y - z))
function code(x, y, z, t) return Float64(x / Float64(Float64(t - z) / Float64(y - z))) end
function tmp = code(x, y, z, t) tmp = x / ((t - z) / (y - z)); end
code[x_, y_, z_, t_] := N[(x / N[(N[(t - z), $MachinePrecision] / N[(y - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{x}{\frac{t - z}{y - z}}
\end{array}
herbie shell --seed 2024095
(FPCore (x y z t)
:name "Graphics.Rendering.Chart.Plot.AreaSpots:renderAreaSpots4D from Chart-1.5.3"
:precision binary64
:alt
(/ x (/ (- t z) (- y z)))
(/ (* x (- y z)) (- t z)))