
(FPCore (x y z t) :precision binary64 (+ (- x (/ y (* z 3.0))) (/ t (* (* z 3.0) y))))
double code(double x, double y, double z, double t) {
return (x - (y / (z * 3.0))) + (t / ((z * 3.0) * y));
}
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 * 3.0d0))) + (t / ((z * 3.0d0) * y))
end function
public static double code(double x, double y, double z, double t) {
return (x - (y / (z * 3.0))) + (t / ((z * 3.0) * y));
}
def code(x, y, z, t): return (x - (y / (z * 3.0))) + (t / ((z * 3.0) * y))
function code(x, y, z, t) return Float64(Float64(x - Float64(y / Float64(z * 3.0))) + Float64(t / Float64(Float64(z * 3.0) * y))) end
function tmp = code(x, y, z, t) tmp = (x - (y / (z * 3.0))) + (t / ((z * 3.0) * y)); end
code[x_, y_, z_, t_] := N[(N[(x - N[(y / N[(z * 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t / N[(N[(z * 3.0), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(x - \frac{y}{z \cdot 3}\right) + \frac{t}{\left(z \cdot 3\right) \cdot y}
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 15 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t) :precision binary64 (+ (- x (/ y (* z 3.0))) (/ t (* (* z 3.0) y))))
double code(double x, double y, double z, double t) {
return (x - (y / (z * 3.0))) + (t / ((z * 3.0) * y));
}
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 * 3.0d0))) + (t / ((z * 3.0d0) * y))
end function
public static double code(double x, double y, double z, double t) {
return (x - (y / (z * 3.0))) + (t / ((z * 3.0) * y));
}
def code(x, y, z, t): return (x - (y / (z * 3.0))) + (t / ((z * 3.0) * y))
function code(x, y, z, t) return Float64(Float64(x - Float64(y / Float64(z * 3.0))) + Float64(t / Float64(Float64(z * 3.0) * y))) end
function tmp = code(x, y, z, t) tmp = (x - (y / (z * 3.0))) + (t / ((z * 3.0) * y)); end
code[x_, y_, z_, t_] := N[(N[(x - N[(y / N[(z * 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t / N[(N[(z * 3.0), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(x - \frac{y}{z \cdot 3}\right) + \frac{t}{\left(z \cdot 3\right) \cdot y}
\end{array}
(FPCore (x y z t)
:precision binary64
(let* ((t_1 (- x (/ y (* z 3.0)))))
(if (<= t 4e-224)
(+ t_1 (/ (/ t (* z 3.0)) y))
(+ t_1 (/ t (* y (* z 3.0)))))))
double code(double x, double y, double z, double t) {
double t_1 = x - (y / (z * 3.0));
double tmp;
if (t <= 4e-224) {
tmp = t_1 + ((t / (z * 3.0)) / y);
} else {
tmp = t_1 + (t / (y * (z * 3.0)));
}
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) :: t_1
real(8) :: tmp
t_1 = x - (y / (z * 3.0d0))
if (t <= 4d-224) then
tmp = t_1 + ((t / (z * 3.0d0)) / y)
else
tmp = t_1 + (t / (y * (z * 3.0d0)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double t_1 = x - (y / (z * 3.0));
double tmp;
if (t <= 4e-224) {
tmp = t_1 + ((t / (z * 3.0)) / y);
} else {
tmp = t_1 + (t / (y * (z * 3.0)));
}
return tmp;
}
def code(x, y, z, t): t_1 = x - (y / (z * 3.0)) tmp = 0 if t <= 4e-224: tmp = t_1 + ((t / (z * 3.0)) / y) else: tmp = t_1 + (t / (y * (z * 3.0))) return tmp
function code(x, y, z, t) t_1 = Float64(x - Float64(y / Float64(z * 3.0))) tmp = 0.0 if (t <= 4e-224) tmp = Float64(t_1 + Float64(Float64(t / Float64(z * 3.0)) / y)); else tmp = Float64(t_1 + Float64(t / Float64(y * Float64(z * 3.0)))); end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = x - (y / (z * 3.0)); tmp = 0.0; if (t <= 4e-224) tmp = t_1 + ((t / (z * 3.0)) / y); else tmp = t_1 + (t / (y * (z * 3.0))); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(x - N[(y / N[(z * 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, 4e-224], N[(t$95$1 + N[(N[(t / N[(z * 3.0), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision], N[(t$95$1 + N[(t / N[(y * N[(z * 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x - \frac{y}{z \cdot 3}\\
\mathbf{if}\;t \leq 4 \cdot 10^{-224}:\\
\;\;\;\;t_1 + \frac{\frac{t}{z \cdot 3}}{y}\\
\mathbf{else}:\\
\;\;\;\;t_1 + \frac{t}{y \cdot \left(z \cdot 3\right)}\\
\end{array}
\end{array}
if t < 4.0000000000000001e-224Initial program 95.0%
associate-/r*99.8%
Simplified99.8%
if 4.0000000000000001e-224 < t Initial program 99.8%
Final simplification99.8%
(FPCore (x y z t)
:precision binary64
(let* ((t_1 (+ (- x (/ y (* z 3.0))) (/ t (* y (* z 3.0))))))
(if (<= t_1 -5e+291)
(+ x (* -0.3333333333333333 (/ (- y (/ t y)) z)))
t_1)))
double code(double x, double y, double z, double t) {
double t_1 = (x - (y / (z * 3.0))) + (t / (y * (z * 3.0)));
double tmp;
if (t_1 <= -5e+291) {
tmp = x + (-0.3333333333333333 * ((y - (t / y)) / z));
} else {
tmp = t_1;
}
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) :: t_1
real(8) :: tmp
t_1 = (x - (y / (z * 3.0d0))) + (t / (y * (z * 3.0d0)))
if (t_1 <= (-5d+291)) then
tmp = x + ((-0.3333333333333333d0) * ((y - (t / y)) / z))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double t_1 = (x - (y / (z * 3.0))) + (t / (y * (z * 3.0)));
double tmp;
if (t_1 <= -5e+291) {
tmp = x + (-0.3333333333333333 * ((y - (t / y)) / z));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t): t_1 = (x - (y / (z * 3.0))) + (t / (y * (z * 3.0))) tmp = 0 if t_1 <= -5e+291: tmp = x + (-0.3333333333333333 * ((y - (t / y)) / z)) else: tmp = t_1 return tmp
function code(x, y, z, t) t_1 = Float64(Float64(x - Float64(y / Float64(z * 3.0))) + Float64(t / Float64(y * Float64(z * 3.0)))) tmp = 0.0 if (t_1 <= -5e+291) tmp = Float64(x + Float64(-0.3333333333333333 * Float64(Float64(y - Float64(t / y)) / z))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = (x - (y / (z * 3.0))) + (t / (y * (z * 3.0))); tmp = 0.0; if (t_1 <= -5e+291) tmp = x + (-0.3333333333333333 * ((y - (t / y)) / z)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(N[(x - N[(y / N[(z * 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t / N[(y * N[(z * 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, -5e+291], N[(x + N[(-0.3333333333333333 * N[(N[(y - N[(t / y), $MachinePrecision]), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(x - \frac{y}{z \cdot 3}\right) + \frac{t}{y \cdot \left(z \cdot 3\right)}\\
\mathbf{if}\;t_1 \leq -5 \cdot 10^{+291}:\\
\;\;\;\;x + -0.3333333333333333 \cdot \frac{y - \frac{t}{y}}{z}\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if (+.f64 (-.f64 x (/.f64 y (*.f64 z 3))) (/.f64 t (*.f64 (*.f64 z 3) y))) < -5.0000000000000001e291Initial program 87.8%
associate-+l-87.8%
sub-neg87.8%
sub-neg87.8%
distribute-neg-in87.8%
unsub-neg87.8%
neg-mul-187.8%
associate-*r/87.8%
associate-*l/87.8%
distribute-neg-frac87.8%
neg-mul-187.8%
times-frac99.9%
distribute-lft-out--99.9%
*-commutative99.9%
associate-/r*99.8%
metadata-eval99.8%
Simplified99.8%
Taylor expanded in x around 0 100.0%
if -5.0000000000000001e291 < (+.f64 (-.f64 x (/.f64 y (*.f64 z 3))) (/.f64 t (*.f64 (*.f64 z 3) y))) Initial program 98.6%
Final simplification98.8%
(FPCore (x y z t)
:precision binary64
(let* ((t_1 (- x (/ y (* z 3.0)))))
(if (<= t 1.8e-224)
(+ t_1 (/ (* t (/ 0.3333333333333333 z)) y))
(+ t_1 (/ t (* y (* z 3.0)))))))
double code(double x, double y, double z, double t) {
double t_1 = x - (y / (z * 3.0));
double tmp;
if (t <= 1.8e-224) {
tmp = t_1 + ((t * (0.3333333333333333 / z)) / y);
} else {
tmp = t_1 + (t / (y * (z * 3.0)));
}
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) :: t_1
real(8) :: tmp
t_1 = x - (y / (z * 3.0d0))
if (t <= 1.8d-224) then
tmp = t_1 + ((t * (0.3333333333333333d0 / z)) / y)
else
tmp = t_1 + (t / (y * (z * 3.0d0)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double t_1 = x - (y / (z * 3.0));
double tmp;
if (t <= 1.8e-224) {
tmp = t_1 + ((t * (0.3333333333333333 / z)) / y);
} else {
tmp = t_1 + (t / (y * (z * 3.0)));
}
return tmp;
}
def code(x, y, z, t): t_1 = x - (y / (z * 3.0)) tmp = 0 if t <= 1.8e-224: tmp = t_1 + ((t * (0.3333333333333333 / z)) / y) else: tmp = t_1 + (t / (y * (z * 3.0))) return tmp
function code(x, y, z, t) t_1 = Float64(x - Float64(y / Float64(z * 3.0))) tmp = 0.0 if (t <= 1.8e-224) tmp = Float64(t_1 + Float64(Float64(t * Float64(0.3333333333333333 / z)) / y)); else tmp = Float64(t_1 + Float64(t / Float64(y * Float64(z * 3.0)))); end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = x - (y / (z * 3.0)); tmp = 0.0; if (t <= 1.8e-224) tmp = t_1 + ((t * (0.3333333333333333 / z)) / y); else tmp = t_1 + (t / (y * (z * 3.0))); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(x - N[(y / N[(z * 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, 1.8e-224], N[(t$95$1 + N[(N[(t * N[(0.3333333333333333 / z), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision], N[(t$95$1 + N[(t / N[(y * N[(z * 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x - \frac{y}{z \cdot 3}\\
\mathbf{if}\;t \leq 1.8 \cdot 10^{-224}:\\
\;\;\;\;t_1 + \frac{t \cdot \frac{0.3333333333333333}{z}}{y}\\
\mathbf{else}:\\
\;\;\;\;t_1 + \frac{t}{y \cdot \left(z \cdot 3\right)}\\
\end{array}
\end{array}
if t < 1.8e-224Initial program 95.0%
associate-/r*99.8%
Simplified99.8%
Taylor expanded in t around 0 99.7%
*-commutative99.7%
metadata-eval99.7%
times-frac99.8%
associate-*r/99.8%
*-commutative99.8%
associate-/r*99.7%
metadata-eval99.7%
Simplified99.7%
if 1.8e-224 < t Initial program 99.8%
Final simplification99.7%
(FPCore (x y z t)
:precision binary64
(let* ((t_1 (- x (/ y (* z 3.0)))))
(if (<= t 4e-224)
(+ t_1 (/ (* (/ t z) 0.3333333333333333) y))
(+ t_1 (/ t (* y (* z 3.0)))))))
double code(double x, double y, double z, double t) {
double t_1 = x - (y / (z * 3.0));
double tmp;
if (t <= 4e-224) {
tmp = t_1 + (((t / z) * 0.3333333333333333) / y);
} else {
tmp = t_1 + (t / (y * (z * 3.0)));
}
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) :: t_1
real(8) :: tmp
t_1 = x - (y / (z * 3.0d0))
if (t <= 4d-224) then
tmp = t_1 + (((t / z) * 0.3333333333333333d0) / y)
else
tmp = t_1 + (t / (y * (z * 3.0d0)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double t_1 = x - (y / (z * 3.0));
double tmp;
if (t <= 4e-224) {
tmp = t_1 + (((t / z) * 0.3333333333333333) / y);
} else {
tmp = t_1 + (t / (y * (z * 3.0)));
}
return tmp;
}
def code(x, y, z, t): t_1 = x - (y / (z * 3.0)) tmp = 0 if t <= 4e-224: tmp = t_1 + (((t / z) * 0.3333333333333333) / y) else: tmp = t_1 + (t / (y * (z * 3.0))) return tmp
function code(x, y, z, t) t_1 = Float64(x - Float64(y / Float64(z * 3.0))) tmp = 0.0 if (t <= 4e-224) tmp = Float64(t_1 + Float64(Float64(Float64(t / z) * 0.3333333333333333) / y)); else tmp = Float64(t_1 + Float64(t / Float64(y * Float64(z * 3.0)))); end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = x - (y / (z * 3.0)); tmp = 0.0; if (t <= 4e-224) tmp = t_1 + (((t / z) * 0.3333333333333333) / y); else tmp = t_1 + (t / (y * (z * 3.0))); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(x - N[(y / N[(z * 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, 4e-224], N[(t$95$1 + N[(N[(N[(t / z), $MachinePrecision] * 0.3333333333333333), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision], N[(t$95$1 + N[(t / N[(y * N[(z * 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x - \frac{y}{z \cdot 3}\\
\mathbf{if}\;t \leq 4 \cdot 10^{-224}:\\
\;\;\;\;t_1 + \frac{\frac{t}{z} \cdot 0.3333333333333333}{y}\\
\mathbf{else}:\\
\;\;\;\;t_1 + \frac{t}{y \cdot \left(z \cdot 3\right)}\\
\end{array}
\end{array}
if t < 4.0000000000000001e-224Initial program 95.0%
associate-/r*99.8%
Simplified99.8%
associate-/r*99.8%
div-inv99.7%
metadata-eval99.7%
Applied egg-rr99.7%
if 4.0000000000000001e-224 < t Initial program 99.8%
Final simplification99.8%
(FPCore (x y z t) :precision binary64 (if (or (<= y -1.95e-7) (not (<= y 1.8e-46))) (+ x (/ (* y -0.3333333333333333) z)) (+ x (* 0.3333333333333333 (/ (/ t y) z)))))
double code(double x, double y, double z, double t) {
double tmp;
if ((y <= -1.95e-7) || !(y <= 1.8e-46)) {
tmp = x + ((y * -0.3333333333333333) / z);
} else {
tmp = x + (0.3333333333333333 * ((t / y) / 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 <= (-1.95d-7)) .or. (.not. (y <= 1.8d-46))) then
tmp = x + ((y * (-0.3333333333333333d0)) / z)
else
tmp = x + (0.3333333333333333d0 * ((t / y) / z))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if ((y <= -1.95e-7) || !(y <= 1.8e-46)) {
tmp = x + ((y * -0.3333333333333333) / z);
} else {
tmp = x + (0.3333333333333333 * ((t / y) / z));
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if (y <= -1.95e-7) or not (y <= 1.8e-46): tmp = x + ((y * -0.3333333333333333) / z) else: tmp = x + (0.3333333333333333 * ((t / y) / z)) return tmp
function code(x, y, z, t) tmp = 0.0 if ((y <= -1.95e-7) || !(y <= 1.8e-46)) tmp = Float64(x + Float64(Float64(y * -0.3333333333333333) / z)); else tmp = Float64(x + Float64(0.3333333333333333 * Float64(Float64(t / y) / z))); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if ((y <= -1.95e-7) || ~((y <= 1.8e-46))) tmp = x + ((y * -0.3333333333333333) / z); else tmp = x + (0.3333333333333333 * ((t / y) / z)); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[Or[LessEqual[y, -1.95e-7], N[Not[LessEqual[y, 1.8e-46]], $MachinePrecision]], N[(x + N[(N[(y * -0.3333333333333333), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision], N[(x + N[(0.3333333333333333 * N[(N[(t / y), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.95 \cdot 10^{-7} \lor \neg \left(y \leq 1.8 \cdot 10^{-46}\right):\\
\;\;\;\;x + \frac{y \cdot -0.3333333333333333}{z}\\
\mathbf{else}:\\
\;\;\;\;x + 0.3333333333333333 \cdot \frac{\frac{t}{y}}{z}\\
\end{array}
\end{array}
if y < -1.95000000000000012e-7 or 1.8e-46 < y Initial program 99.8%
associate-+l-99.8%
sub-neg99.8%
sub-neg99.8%
distribute-neg-in99.8%
unsub-neg99.8%
neg-mul-199.8%
associate-*r/99.8%
associate-*l/99.7%
distribute-neg-frac99.7%
neg-mul-199.7%
times-frac98.3%
distribute-lft-out--98.3%
*-commutative98.3%
associate-/r*98.3%
metadata-eval98.3%
Simplified98.3%
Taylor expanded in y around inf 93.1%
associate-*r/93.1%
Applied egg-rr93.1%
if -1.95000000000000012e-7 < y < 1.8e-46Initial program 93.6%
associate-+l-93.6%
sub-neg93.6%
sub-neg93.6%
distribute-neg-in93.6%
unsub-neg93.6%
neg-mul-193.6%
associate-*r/93.6%
associate-*l/93.6%
distribute-neg-frac93.6%
neg-mul-193.6%
times-frac92.8%
distribute-lft-out--92.8%
*-commutative92.8%
associate-/r*92.7%
metadata-eval92.7%
Simplified92.7%
associate-*l/92.8%
Applied egg-rr92.8%
Taylor expanded in y around 0 87.6%
associate-*r/87.6%
*-commutative87.6%
associate-*r/87.7%
Simplified87.7%
associate-*r/87.6%
Applied egg-rr87.6%
Taylor expanded in t around 0 89.8%
associate-/r*87.7%
Simplified87.7%
Final simplification90.5%
(FPCore (x y z t) :precision binary64 (if (or (<= y -1.6e-7) (not (<= y 1.65e-21))) (+ x (/ (* y -0.3333333333333333) z)) (+ x (* (/ t z) (/ 0.3333333333333333 y)))))
double code(double x, double y, double z, double t) {
double tmp;
if ((y <= -1.6e-7) || !(y <= 1.65e-21)) {
tmp = x + ((y * -0.3333333333333333) / z);
} else {
tmp = x + ((t / z) * (0.3333333333333333 / 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 ((y <= (-1.6d-7)) .or. (.not. (y <= 1.65d-21))) then
tmp = x + ((y * (-0.3333333333333333d0)) / z)
else
tmp = x + ((t / z) * (0.3333333333333333d0 / y))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if ((y <= -1.6e-7) || !(y <= 1.65e-21)) {
tmp = x + ((y * -0.3333333333333333) / z);
} else {
tmp = x + ((t / z) * (0.3333333333333333 / y));
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if (y <= -1.6e-7) or not (y <= 1.65e-21): tmp = x + ((y * -0.3333333333333333) / z) else: tmp = x + ((t / z) * (0.3333333333333333 / y)) return tmp
function code(x, y, z, t) tmp = 0.0 if ((y <= -1.6e-7) || !(y <= 1.65e-21)) tmp = Float64(x + Float64(Float64(y * -0.3333333333333333) / z)); else tmp = Float64(x + Float64(Float64(t / z) * Float64(0.3333333333333333 / y))); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if ((y <= -1.6e-7) || ~((y <= 1.65e-21))) tmp = x + ((y * -0.3333333333333333) / z); else tmp = x + ((t / z) * (0.3333333333333333 / y)); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[Or[LessEqual[y, -1.6e-7], N[Not[LessEqual[y, 1.65e-21]], $MachinePrecision]], N[(x + N[(N[(y * -0.3333333333333333), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(t / z), $MachinePrecision] * N[(0.3333333333333333 / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.6 \cdot 10^{-7} \lor \neg \left(y \leq 1.65 \cdot 10^{-21}\right):\\
\;\;\;\;x + \frac{y \cdot -0.3333333333333333}{z}\\
\mathbf{else}:\\
\;\;\;\;x + \frac{t}{z} \cdot \frac{0.3333333333333333}{y}\\
\end{array}
\end{array}
if y < -1.6e-7 or 1.65000000000000004e-21 < y Initial program 99.9%
associate-+l-99.9%
sub-neg99.9%
sub-neg99.9%
distribute-neg-in99.9%
unsub-neg99.9%
neg-mul-199.9%
associate-*r/99.9%
associate-*l/99.7%
distribute-neg-frac99.7%
neg-mul-199.7%
times-frac99.7%
distribute-lft-out--99.7%
*-commutative99.7%
associate-/r*99.7%
metadata-eval99.7%
Simplified99.7%
Taylor expanded in y around inf 95.2%
associate-*r/95.2%
Applied egg-rr95.2%
if -1.6e-7 < y < 1.65000000000000004e-21Initial program 93.9%
associate-+l-93.9%
sub-neg93.9%
sub-neg93.9%
distribute-neg-in93.9%
unsub-neg93.9%
neg-mul-193.9%
associate-*r/93.9%
associate-*l/93.9%
distribute-neg-frac93.9%
neg-mul-193.9%
times-frac91.7%
distribute-lft-out--91.7%
*-commutative91.7%
associate-/r*91.6%
metadata-eval91.6%
Simplified91.6%
associate-*l/91.6%
Applied egg-rr91.6%
Taylor expanded in y around 0 85.3%
associate-*r/85.3%
*-commutative85.3%
associate-*r/85.4%
Simplified85.4%
associate-*r/85.3%
Applied egg-rr85.3%
associate-/l/88.9%
times-frac92.7%
Applied egg-rr92.7%
Final simplification93.9%
(FPCore (x y z t) :precision binary64 (+ x (* (- y (/ t y)) (/ -0.3333333333333333 z))))
double code(double x, double y, double z, double t) {
return x + ((y - (t / y)) * (-0.3333333333333333 / 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 - (t / y)) * ((-0.3333333333333333d0) / z))
end function
public static double code(double x, double y, double z, double t) {
return x + ((y - (t / y)) * (-0.3333333333333333 / z));
}
def code(x, y, z, t): return x + ((y - (t / y)) * (-0.3333333333333333 / z))
function code(x, y, z, t) return Float64(x + Float64(Float64(y - Float64(t / y)) * Float64(-0.3333333333333333 / z))) end
function tmp = code(x, y, z, t) tmp = x + ((y - (t / y)) * (-0.3333333333333333 / z)); end
code[x_, y_, z_, t_] := N[(x + N[(N[(y - N[(t / y), $MachinePrecision]), $MachinePrecision] * N[(-0.3333333333333333 / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + \left(y - \frac{t}{y}\right) \cdot \frac{-0.3333333333333333}{z}
\end{array}
Initial program 96.9%
associate-+l-96.9%
sub-neg96.9%
sub-neg96.9%
distribute-neg-in96.9%
unsub-neg96.9%
neg-mul-196.9%
associate-*r/96.9%
associate-*l/96.8%
distribute-neg-frac96.8%
neg-mul-196.8%
times-frac95.7%
distribute-lft-out--95.7%
*-commutative95.7%
associate-/r*95.6%
metadata-eval95.6%
Simplified95.6%
Final simplification95.6%
(FPCore (x y z t) :precision binary64 (+ x (/ (* -0.3333333333333333 (- y (/ t y))) z)))
double code(double x, double y, double z, double t) {
return x + ((-0.3333333333333333 * (y - (t / 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 + (((-0.3333333333333333d0) * (y - (t / y))) / z)
end function
public static double code(double x, double y, double z, double t) {
return x + ((-0.3333333333333333 * (y - (t / y))) / z);
}
def code(x, y, z, t): return x + ((-0.3333333333333333 * (y - (t / y))) / z)
function code(x, y, z, t) return Float64(x + Float64(Float64(-0.3333333333333333 * Float64(y - Float64(t / y))) / z)) end
function tmp = code(x, y, z, t) tmp = x + ((-0.3333333333333333 * (y - (t / y))) / z); end
code[x_, y_, z_, t_] := N[(x + N[(N[(-0.3333333333333333 * N[(y - N[(t / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + \frac{-0.3333333333333333 \cdot \left(y - \frac{t}{y}\right)}{z}
\end{array}
Initial program 96.9%
associate-+l-96.9%
sub-neg96.9%
sub-neg96.9%
distribute-neg-in96.9%
unsub-neg96.9%
neg-mul-196.9%
associate-*r/96.9%
associate-*l/96.8%
distribute-neg-frac96.8%
neg-mul-196.8%
times-frac95.7%
distribute-lft-out--95.7%
*-commutative95.7%
associate-/r*95.6%
metadata-eval95.6%
Simplified95.6%
associate-*l/95.7%
Applied egg-rr95.7%
Final simplification95.7%
(FPCore (x y z t) :precision binary64 (+ x (/ (- y (/ t y)) (* z -3.0))))
double code(double x, double y, double z, double t) {
return x + ((y - (t / y)) / (z * -3.0));
}
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 - (t / y)) / (z * (-3.0d0)))
end function
public static double code(double x, double y, double z, double t) {
return x + ((y - (t / y)) / (z * -3.0));
}
def code(x, y, z, t): return x + ((y - (t / y)) / (z * -3.0))
function code(x, y, z, t) return Float64(x + Float64(Float64(y - Float64(t / y)) / Float64(z * -3.0))) end
function tmp = code(x, y, z, t) tmp = x + ((y - (t / y)) / (z * -3.0)); end
code[x_, y_, z_, t_] := N[(x + N[(N[(y - N[(t / y), $MachinePrecision]), $MachinePrecision] / N[(z * -3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + \frac{y - \frac{t}{y}}{z \cdot -3}
\end{array}
Initial program 96.9%
associate-+l-96.9%
sub-neg96.9%
sub-neg96.9%
distribute-neg-in96.9%
unsub-neg96.9%
neg-mul-196.9%
associate-*r/96.9%
associate-*l/96.8%
distribute-neg-frac96.8%
neg-mul-196.8%
times-frac95.7%
distribute-lft-out--95.7%
*-commutative95.7%
associate-/r*95.6%
metadata-eval95.6%
Simplified95.6%
div-inv95.6%
Applied egg-rr95.6%
un-div-inv95.6%
clear-num95.6%
Applied egg-rr95.6%
associate-*l/95.6%
*-un-lft-identity95.6%
div-inv95.8%
metadata-eval95.8%
Applied egg-rr95.8%
Final simplification95.8%
(FPCore (x y z t) :precision binary64 (if (<= z -1e+34) x (if (<= z 6.4e+14) (* -0.3333333333333333 (/ y z)) x)))
double code(double x, double y, double z, double t) {
double tmp;
if (z <= -1e+34) {
tmp = x;
} else if (z <= 6.4e+14) {
tmp = -0.3333333333333333 * (y / z);
} 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 <= (-1d+34)) then
tmp = x
else if (z <= 6.4d+14) then
tmp = (-0.3333333333333333d0) * (y / z)
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 <= -1e+34) {
tmp = x;
} else if (z <= 6.4e+14) {
tmp = -0.3333333333333333 * (y / z);
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if z <= -1e+34: tmp = x elif z <= 6.4e+14: tmp = -0.3333333333333333 * (y / z) else: tmp = x return tmp
function code(x, y, z, t) tmp = 0.0 if (z <= -1e+34) tmp = x; elseif (z <= 6.4e+14) tmp = Float64(-0.3333333333333333 * Float64(y / z)); else tmp = x; end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if (z <= -1e+34) tmp = x; elseif (z <= 6.4e+14) tmp = -0.3333333333333333 * (y / z); else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[LessEqual[z, -1e+34], x, If[LessEqual[z, 6.4e+14], N[(-0.3333333333333333 * N[(y / z), $MachinePrecision]), $MachinePrecision], x]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1 \cdot 10^{+34}:\\
\;\;\;\;x\\
\mathbf{elif}\;z \leq 6.4 \cdot 10^{+14}:\\
\;\;\;\;-0.3333333333333333 \cdot \frac{y}{z}\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if z < -9.99999999999999946e33 or 6.4e14 < z Initial program 99.8%
associate-+l-99.8%
sub-neg99.8%
sub-neg99.8%
distribute-neg-in99.8%
unsub-neg99.8%
neg-mul-199.8%
associate-*r/99.8%
associate-*l/99.8%
distribute-neg-frac99.8%
neg-mul-199.8%
times-frac90.8%
distribute-lft-out--90.8%
*-commutative90.8%
associate-/r*90.7%
metadata-eval90.7%
Simplified90.7%
Taylor expanded in x around inf 53.4%
if -9.99999999999999946e33 < z < 6.4e14Initial program 94.5%
associate-+l-94.5%
sub-neg94.5%
sub-neg94.5%
distribute-neg-in94.5%
unsub-neg94.5%
neg-mul-194.5%
associate-*r/94.5%
associate-*l/94.4%
distribute-neg-frac94.4%
neg-mul-194.4%
times-frac99.7%
distribute-lft-out--99.7%
*-commutative99.7%
associate-/r*99.7%
metadata-eval99.7%
Simplified99.7%
Taylor expanded in y around inf 59.9%
Taylor expanded in y around inf 52.3%
Final simplification52.8%
(FPCore (x y z t) :precision binary64 (if (<= z -6.2e+33) x (if (<= z 1.9e+15) (* y (/ -0.3333333333333333 z)) x)))
double code(double x, double y, double z, double t) {
double tmp;
if (z <= -6.2e+33) {
tmp = x;
} else if (z <= 1.9e+15) {
tmp = y * (-0.3333333333333333 / z);
} 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 <= (-6.2d+33)) then
tmp = x
else if (z <= 1.9d+15) then
tmp = y * ((-0.3333333333333333d0) / z)
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 <= -6.2e+33) {
tmp = x;
} else if (z <= 1.9e+15) {
tmp = y * (-0.3333333333333333 / z);
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if z <= -6.2e+33: tmp = x elif z <= 1.9e+15: tmp = y * (-0.3333333333333333 / z) else: tmp = x return tmp
function code(x, y, z, t) tmp = 0.0 if (z <= -6.2e+33) tmp = x; elseif (z <= 1.9e+15) tmp = Float64(y * Float64(-0.3333333333333333 / z)); else tmp = x; end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if (z <= -6.2e+33) tmp = x; elseif (z <= 1.9e+15) tmp = y * (-0.3333333333333333 / z); else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[LessEqual[z, -6.2e+33], x, If[LessEqual[z, 1.9e+15], N[(y * N[(-0.3333333333333333 / z), $MachinePrecision]), $MachinePrecision], x]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -6.2 \cdot 10^{+33}:\\
\;\;\;\;x\\
\mathbf{elif}\;z \leq 1.9 \cdot 10^{+15}:\\
\;\;\;\;y \cdot \frac{-0.3333333333333333}{z}\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if z < -6.2e33 or 1.9e15 < z Initial program 99.8%
associate-+l-99.8%
sub-neg99.8%
sub-neg99.8%
distribute-neg-in99.8%
unsub-neg99.8%
neg-mul-199.8%
associate-*r/99.8%
associate-*l/99.8%
distribute-neg-frac99.8%
neg-mul-199.8%
times-frac90.8%
distribute-lft-out--90.8%
*-commutative90.8%
associate-/r*90.7%
metadata-eval90.7%
Simplified90.7%
Taylor expanded in x around inf 53.4%
if -6.2e33 < z < 1.9e15Initial program 94.5%
associate-+l-94.5%
sub-neg94.5%
sub-neg94.5%
distribute-neg-in94.5%
unsub-neg94.5%
neg-mul-194.5%
associate-*r/94.5%
associate-*l/94.4%
distribute-neg-frac94.4%
neg-mul-194.4%
times-frac99.7%
distribute-lft-out--99.7%
*-commutative99.7%
associate-/r*99.7%
metadata-eval99.7%
Simplified99.7%
Taylor expanded in y around inf 59.9%
Taylor expanded in y around inf 52.3%
associate-*r/52.4%
associate-*l/52.3%
*-commutative52.3%
Simplified52.3%
Final simplification52.8%
(FPCore (x y z t) :precision binary64 (if (<= z -7e+33) x (if (<= z 1.6e+14) (/ y (* z -3.0)) x)))
double code(double x, double y, double z, double t) {
double tmp;
if (z <= -7e+33) {
tmp = x;
} else if (z <= 1.6e+14) {
tmp = y / (z * -3.0);
} 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 <= (-7d+33)) then
tmp = x
else if (z <= 1.6d+14) then
tmp = y / (z * (-3.0d0))
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 <= -7e+33) {
tmp = x;
} else if (z <= 1.6e+14) {
tmp = y / (z * -3.0);
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if z <= -7e+33: tmp = x elif z <= 1.6e+14: tmp = y / (z * -3.0) else: tmp = x return tmp
function code(x, y, z, t) tmp = 0.0 if (z <= -7e+33) tmp = x; elseif (z <= 1.6e+14) tmp = Float64(y / Float64(z * -3.0)); else tmp = x; end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if (z <= -7e+33) tmp = x; elseif (z <= 1.6e+14) tmp = y / (z * -3.0); else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[LessEqual[z, -7e+33], x, If[LessEqual[z, 1.6e+14], N[(y / N[(z * -3.0), $MachinePrecision]), $MachinePrecision], x]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -7 \cdot 10^{+33}:\\
\;\;\;\;x\\
\mathbf{elif}\;z \leq 1.6 \cdot 10^{+14}:\\
\;\;\;\;\frac{y}{z \cdot -3}\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if z < -7.0000000000000002e33 or 1.6e14 < z Initial program 99.8%
associate-+l-99.8%
sub-neg99.8%
sub-neg99.8%
distribute-neg-in99.8%
unsub-neg99.8%
neg-mul-199.8%
associate-*r/99.8%
associate-*l/99.8%
distribute-neg-frac99.8%
neg-mul-199.8%
times-frac90.8%
distribute-lft-out--90.8%
*-commutative90.8%
associate-/r*90.7%
metadata-eval90.7%
Simplified90.7%
Taylor expanded in x around inf 53.4%
if -7.0000000000000002e33 < z < 1.6e14Initial program 94.5%
associate-+l-94.5%
sub-neg94.5%
sub-neg94.5%
distribute-neg-in94.5%
unsub-neg94.5%
neg-mul-194.5%
associate-*r/94.5%
associate-*l/94.4%
distribute-neg-frac94.4%
neg-mul-194.4%
times-frac99.7%
distribute-lft-out--99.7%
*-commutative99.7%
associate-/r*99.7%
metadata-eval99.7%
Simplified99.7%
Taylor expanded in y around inf 59.9%
Taylor expanded in y around inf 52.3%
associate-*r/52.4%
associate-*l/52.3%
*-commutative52.3%
Simplified52.3%
clear-num52.3%
div-inv52.3%
metadata-eval52.3%
div-inv52.4%
Applied egg-rr52.4%
Final simplification52.8%
(FPCore (x y z t) :precision binary64 (+ x (* -0.3333333333333333 (/ y z))))
double code(double x, double y, double z, double t) {
return x + (-0.3333333333333333 * (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 + ((-0.3333333333333333d0) * (y / z))
end function
public static double code(double x, double y, double z, double t) {
return x + (-0.3333333333333333 * (y / z));
}
def code(x, y, z, t): return x + (-0.3333333333333333 * (y / z))
function code(x, y, z, t) return Float64(x + Float64(-0.3333333333333333 * Float64(y / z))) end
function tmp = code(x, y, z, t) tmp = x + (-0.3333333333333333 * (y / z)); end
code[x_, y_, z_, t_] := N[(x + N[(-0.3333333333333333 * N[(y / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + -0.3333333333333333 \cdot \frac{y}{z}
\end{array}
Initial program 96.9%
associate-+l-96.9%
sub-neg96.9%
sub-neg96.9%
distribute-neg-in96.9%
unsub-neg96.9%
neg-mul-196.9%
associate-*r/96.9%
associate-*l/96.8%
distribute-neg-frac96.8%
neg-mul-196.8%
times-frac95.7%
distribute-lft-out--95.7%
*-commutative95.7%
associate-/r*95.6%
metadata-eval95.6%
Simplified95.6%
Taylor expanded in y around inf 66.4%
Final simplification66.4%
(FPCore (x y z t) :precision binary64 (+ x (/ (* y -0.3333333333333333) z)))
double code(double x, double y, double z, double t) {
return x + ((y * -0.3333333333333333) / 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 * (-0.3333333333333333d0)) / z)
end function
public static double code(double x, double y, double z, double t) {
return x + ((y * -0.3333333333333333) / z);
}
def code(x, y, z, t): return x + ((y * -0.3333333333333333) / z)
function code(x, y, z, t) return Float64(x + Float64(Float64(y * -0.3333333333333333) / z)) end
function tmp = code(x, y, z, t) tmp = x + ((y * -0.3333333333333333) / z); end
code[x_, y_, z_, t_] := N[(x + N[(N[(y * -0.3333333333333333), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + \frac{y \cdot -0.3333333333333333}{z}
\end{array}
Initial program 96.9%
associate-+l-96.9%
sub-neg96.9%
sub-neg96.9%
distribute-neg-in96.9%
unsub-neg96.9%
neg-mul-196.9%
associate-*r/96.9%
associate-*l/96.8%
distribute-neg-frac96.8%
neg-mul-196.8%
times-frac95.7%
distribute-lft-out--95.7%
*-commutative95.7%
associate-/r*95.6%
metadata-eval95.6%
Simplified95.6%
Taylor expanded in y around inf 66.4%
associate-*r/66.5%
Applied egg-rr66.5%
Final simplification66.5%
(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 96.9%
associate-+l-96.9%
sub-neg96.9%
sub-neg96.9%
distribute-neg-in96.9%
unsub-neg96.9%
neg-mul-196.9%
associate-*r/96.9%
associate-*l/96.8%
distribute-neg-frac96.8%
neg-mul-196.8%
times-frac95.7%
distribute-lft-out--95.7%
*-commutative95.7%
associate-/r*95.6%
metadata-eval95.6%
Simplified95.6%
Taylor expanded in x around inf 28.9%
Final simplification28.9%
(FPCore (x y z t) :precision binary64 (+ (- x (/ y (* z 3.0))) (/ (/ t (* z 3.0)) y)))
double code(double x, double y, double z, double t) {
return (x - (y / (z * 3.0))) + ((t / (z * 3.0)) / y);
}
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 * 3.0d0))) + ((t / (z * 3.0d0)) / y)
end function
public static double code(double x, double y, double z, double t) {
return (x - (y / (z * 3.0))) + ((t / (z * 3.0)) / y);
}
def code(x, y, z, t): return (x - (y / (z * 3.0))) + ((t / (z * 3.0)) / y)
function code(x, y, z, t) return Float64(Float64(x - Float64(y / Float64(z * 3.0))) + Float64(Float64(t / Float64(z * 3.0)) / y)) end
function tmp = code(x, y, z, t) tmp = (x - (y / (z * 3.0))) + ((t / (z * 3.0)) / y); end
code[x_, y_, z_, t_] := N[(N[(x - N[(y / N[(z * 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(t / N[(z * 3.0), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(x - \frac{y}{z \cdot 3}\right) + \frac{\frac{t}{z \cdot 3}}{y}
\end{array}
herbie shell --seed 2023214
(FPCore (x y z t)
:name "Diagrams.Solve.Polynomial:cubForm from diagrams-solve-0.1, H"
:precision binary64
:herbie-target
(+ (- x (/ y (* z 3.0))) (/ (/ t (* z 3.0)) y))
(+ (- x (/ y (* z 3.0))) (/ t (* (* z 3.0) y))))