
(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))) (* t (/ (/ 0.3333333333333333 z) y)))))
(if (<= (* z 3.0) -2e-10)
t_1
(if (<= (* z 3.0) 1e-61)
(+ x (* (/ (- y (/ t y)) -3.0) (/ 1.0 z)))
t_1))))
double code(double x, double y, double z, double t) {
double t_1 = (x - (y / (z * 3.0))) + (t * ((0.3333333333333333 / z) / y));
double tmp;
if ((z * 3.0) <= -2e-10) {
tmp = t_1;
} else if ((z * 3.0) <= 1e-61) {
tmp = x + (((y - (t / y)) / -3.0) * (1.0 / 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 * ((0.3333333333333333d0 / z) / y))
if ((z * 3.0d0) <= (-2d-10)) then
tmp = t_1
else if ((z * 3.0d0) <= 1d-61) then
tmp = x + (((y - (t / y)) / (-3.0d0)) * (1.0d0 / 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 * ((0.3333333333333333 / z) / y));
double tmp;
if ((z * 3.0) <= -2e-10) {
tmp = t_1;
} else if ((z * 3.0) <= 1e-61) {
tmp = x + (((y - (t / y)) / -3.0) * (1.0 / z));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t): t_1 = (x - (y / (z * 3.0))) + (t * ((0.3333333333333333 / z) / y)) tmp = 0 if (z * 3.0) <= -2e-10: tmp = t_1 elif (z * 3.0) <= 1e-61: tmp = x + (((y - (t / y)) / -3.0) * (1.0 / 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(Float64(0.3333333333333333 / z) / y))) tmp = 0.0 if (Float64(z * 3.0) <= -2e-10) tmp = t_1; elseif (Float64(z * 3.0) <= 1e-61) tmp = Float64(x + Float64(Float64(Float64(y - Float64(t / y)) / -3.0) * Float64(1.0 / 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 * ((0.3333333333333333 / z) / y)); tmp = 0.0; if ((z * 3.0) <= -2e-10) tmp = t_1; elseif ((z * 3.0) <= 1e-61) tmp = x + (((y - (t / y)) / -3.0) * (1.0 / 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[(N[(0.3333333333333333 / z), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[N[(z * 3.0), $MachinePrecision], -2e-10], t$95$1, If[LessEqual[N[(z * 3.0), $MachinePrecision], 1e-61], N[(x + N[(N[(N[(y - N[(t / y), $MachinePrecision]), $MachinePrecision] / -3.0), $MachinePrecision] * N[(1.0 / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(x - \frac{y}{z \cdot 3}\right) + t \cdot \frac{\frac{0.3333333333333333}{z}}{y}\\
\mathbf{if}\;z \cdot 3 \leq -2 \cdot 10^{-10}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \cdot 3 \leq 10^{-61}:\\
\;\;\;\;x + \frac{y - \frac{t}{y}}{-3} \cdot \frac{1}{z}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if (*.f64 z #s(literal 3 binary64)) < -2.00000000000000007e-10 or 1e-61 < (*.f64 z #s(literal 3 binary64)) Initial program 99.7%
clear-numN/A
associate-/r/N/A
*-lowering-*.f64N/A
associate-/r*N/A
/-lowering-/.f64N/A
*-commutativeN/A
associate-/r*N/A
metadata-evalN/A
metadata-evalN/A
/-lowering-/.f64N/A
metadata-eval99.7%
Applied egg-rr99.7%
if -2.00000000000000007e-10 < (*.f64 z #s(literal 3 binary64)) < 1e-61Initial program 91.5%
sub-negN/A
associate-+l+N/A
+-lowering-+.f64N/A
remove-double-negN/A
unsub-negN/A
neg-mul-1N/A
*-commutativeN/A
associate-*l/N/A
associate-/l*N/A
*-commutativeN/A
distribute-neg-fracN/A
neg-mul-1N/A
times-fracN/A
distribute-lft-out--N/A
*-lowering-*.f64N/A
*-commutativeN/A
associate-/r*N/A
/-lowering-/.f64N/A
metadata-evalN/A
--lowering--.f64N/A
/-lowering-/.f6499.7%
Simplified99.7%
*-commutativeN/A
clear-numN/A
div-invN/A
metadata-evalN/A
metadata-evalN/A
distribute-rgt-neg-inN/A
associate-*r/N/A
*-commutativeN/A
distribute-lft-neg-inN/A
times-fracN/A
*-lowering-*.f64N/A
/-lowering-/.f64N/A
--lowering--.f64N/A
/-lowering-/.f64N/A
metadata-evalN/A
/-lowering-/.f6499.9%
Applied egg-rr99.9%
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 2e+307) t_1 (/ (* 0.3333333333333333 (- (/ t y) y)) z))))
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 <= 2e+307) {
tmp = t_1;
} else {
tmp = (0.3333333333333333 * ((t / y) - 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) :: t_1
real(8) :: tmp
t_1 = (x - (y / (z * 3.0d0))) + (t / (y * (z * 3.0d0)))
if (t_1 <= 2d+307) then
tmp = t_1
else
tmp = (0.3333333333333333d0 * ((t / y) - y)) / z
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 <= 2e+307) {
tmp = t_1;
} else {
tmp = (0.3333333333333333 * ((t / y) - y)) / z;
}
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 <= 2e+307: tmp = t_1 else: tmp = (0.3333333333333333 * ((t / y) - y)) / z 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 <= 2e+307) tmp = t_1; else tmp = Float64(Float64(0.3333333333333333 * Float64(Float64(t / y) - y)) / z); 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 <= 2e+307) tmp = t_1; else tmp = (0.3333333333333333 * ((t / y) - y)) / z; 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, 2e+307], t$95$1, N[(N[(0.3333333333333333 * N[(N[(t / y), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision] / z), $MachinePrecision]]]
\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 2 \cdot 10^{+307}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;\frac{0.3333333333333333 \cdot \left(\frac{t}{y} - y\right)}{z}\\
\end{array}
\end{array}
if (+.f64 (-.f64 x (/.f64 y (*.f64 z #s(literal 3 binary64)))) (/.f64 t (*.f64 (*.f64 z #s(literal 3 binary64)) y))) < 1.99999999999999997e307Initial program 98.0%
if 1.99999999999999997e307 < (+.f64 (-.f64 x (/.f64 y (*.f64 z #s(literal 3 binary64)))) (/.f64 t (*.f64 (*.f64 z #s(literal 3 binary64)) y))) Initial program 84.2%
sub-negN/A
associate-+l+N/A
+-lowering-+.f64N/A
remove-double-negN/A
unsub-negN/A
neg-mul-1N/A
*-commutativeN/A
associate-*l/N/A
associate-/l*N/A
*-commutativeN/A
distribute-neg-fracN/A
neg-mul-1N/A
times-fracN/A
distribute-lft-out--N/A
*-lowering-*.f64N/A
*-commutativeN/A
associate-/r*N/A
/-lowering-/.f64N/A
metadata-evalN/A
--lowering--.f64N/A
/-lowering-/.f6499.9%
Simplified99.9%
Taylor expanded in x around 0
associate-*r/N/A
/-lowering-/.f64N/A
sub-negN/A
mul-1-negN/A
+-commutativeN/A
distribute-lft-inN/A
associate-*r*N/A
metadata-evalN/A
metadata-evalN/A
cancel-sign-sub-invN/A
distribute-lft-out--N/A
*-lowering-*.f64N/A
--lowering--.f64N/A
/-lowering-/.f64100.0%
Simplified100.0%
Final simplification98.3%
(FPCore (x y z t)
:precision binary64
(let* ((t_1 (+ x (/ (- (/ t y) y) (* z 3.0)))))
(if (<= y -3.8e-159)
t_1
(if (<= y 1e-142) (+ x (/ (/ 0.3333333333333333 y) (/ z t))) t_1))))
double code(double x, double y, double z, double t) {
double t_1 = x + (((t / y) - y) / (z * 3.0));
double tmp;
if (y <= -3.8e-159) {
tmp = t_1;
} else if (y <= 1e-142) {
tmp = x + ((0.3333333333333333 / y) / (z / t));
} 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 + (((t / y) - y) / (z * 3.0d0))
if (y <= (-3.8d-159)) then
tmp = t_1
else if (y <= 1d-142) then
tmp = x + ((0.3333333333333333d0 / y) / (z / t))
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 + (((t / y) - y) / (z * 3.0));
double tmp;
if (y <= -3.8e-159) {
tmp = t_1;
} else if (y <= 1e-142) {
tmp = x + ((0.3333333333333333 / y) / (z / t));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t): t_1 = x + (((t / y) - y) / (z * 3.0)) tmp = 0 if y <= -3.8e-159: tmp = t_1 elif y <= 1e-142: tmp = x + ((0.3333333333333333 / y) / (z / t)) else: tmp = t_1 return tmp
function code(x, y, z, t) t_1 = Float64(x + Float64(Float64(Float64(t / y) - y) / Float64(z * 3.0))) tmp = 0.0 if (y <= -3.8e-159) tmp = t_1; elseif (y <= 1e-142) tmp = Float64(x + Float64(Float64(0.3333333333333333 / y) / Float64(z / t))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = x + (((t / y) - y) / (z * 3.0)); tmp = 0.0; if (y <= -3.8e-159) tmp = t_1; elseif (y <= 1e-142) tmp = x + ((0.3333333333333333 / y) / (z / t)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(x + N[(N[(N[(t / y), $MachinePrecision] - y), $MachinePrecision] / N[(z * 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -3.8e-159], t$95$1, If[LessEqual[y, 1e-142], N[(x + N[(N[(0.3333333333333333 / y), $MachinePrecision] / N[(z / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x + \frac{\frac{t}{y} - y}{z \cdot 3}\\
\mathbf{if}\;y \leq -3.8 \cdot 10^{-159}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq 10^{-142}:\\
\;\;\;\;x + \frac{\frac{0.3333333333333333}{y}}{\frac{z}{t}}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < -3.8000000000000001e-159 or 1e-142 < y Initial program 98.3%
associate-+l-N/A
--lowering--.f64N/A
*-commutativeN/A
associate-/r*N/A
sub-divN/A
/-lowering-/.f64N/A
--lowering--.f64N/A
/-lowering-/.f64N/A
*-lowering-*.f6499.8%
Applied egg-rr99.8%
if -3.8000000000000001e-159 < y < 1e-142Initial program 88.3%
Taylor expanded in x around inf
Simplified88.3%
associate-*l*N/A
*-commutativeN/A
associate-/r*N/A
div-invN/A
clear-numN/A
associate-*l/N/A
div-invN/A
/-lowering-/.f64N/A
*-commutativeN/A
associate-/r*N/A
metadata-evalN/A
metadata-evalN/A
/-lowering-/.f64N/A
metadata-evalN/A
/-lowering-/.f6496.6%
Applied egg-rr96.6%
Final simplification99.0%
(FPCore (x y z t)
:precision binary64
(let* ((t_1 (+ x (* (- y (/ t y)) (/ -0.3333333333333333 z)))))
(if (<= y -4.6e-163)
t_1
(if (<= y 4.5e-144) (+ x (/ (/ 0.3333333333333333 y) (/ z t))) t_1))))
double code(double x, double y, double z, double t) {
double t_1 = x + ((y - (t / y)) * (-0.3333333333333333 / z));
double tmp;
if (y <= -4.6e-163) {
tmp = t_1;
} else if (y <= 4.5e-144) {
tmp = x + ((0.3333333333333333 / y) / (z / t));
} 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 - (t / y)) * ((-0.3333333333333333d0) / z))
if (y <= (-4.6d-163)) then
tmp = t_1
else if (y <= 4.5d-144) then
tmp = x + ((0.3333333333333333d0 / y) / (z / t))
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 - (t / y)) * (-0.3333333333333333 / z));
double tmp;
if (y <= -4.6e-163) {
tmp = t_1;
} else if (y <= 4.5e-144) {
tmp = x + ((0.3333333333333333 / y) / (z / t));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t): t_1 = x + ((y - (t / y)) * (-0.3333333333333333 / z)) tmp = 0 if y <= -4.6e-163: tmp = t_1 elif y <= 4.5e-144: tmp = x + ((0.3333333333333333 / y) / (z / t)) else: tmp = t_1 return tmp
function code(x, y, z, t) t_1 = Float64(x + Float64(Float64(y - Float64(t / y)) * Float64(-0.3333333333333333 / z))) tmp = 0.0 if (y <= -4.6e-163) tmp = t_1; elseif (y <= 4.5e-144) tmp = Float64(x + Float64(Float64(0.3333333333333333 / y) / Float64(z / t))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = x + ((y - (t / y)) * (-0.3333333333333333 / z)); tmp = 0.0; if (y <= -4.6e-163) tmp = t_1; elseif (y <= 4.5e-144) tmp = x + ((0.3333333333333333 / y) / (z / t)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(x + N[(N[(y - N[(t / y), $MachinePrecision]), $MachinePrecision] * N[(-0.3333333333333333 / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -4.6e-163], t$95$1, If[LessEqual[y, 4.5e-144], N[(x + N[(N[(0.3333333333333333 / y), $MachinePrecision] / N[(z / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x + \left(y - \frac{t}{y}\right) \cdot \frac{-0.3333333333333333}{z}\\
\mathbf{if}\;y \leq -4.6 \cdot 10^{-163}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq 4.5 \cdot 10^{-144}:\\
\;\;\;\;x + \frac{\frac{0.3333333333333333}{y}}{\frac{z}{t}}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < -4.5999999999999999e-163 or 4.4999999999999998e-144 < y Initial program 98.3%
sub-negN/A
associate-+l+N/A
+-lowering-+.f64N/A
remove-double-negN/A
unsub-negN/A
neg-mul-1N/A
*-commutativeN/A
associate-*l/N/A
associate-/l*N/A
*-commutativeN/A
distribute-neg-fracN/A
neg-mul-1N/A
times-fracN/A
distribute-lft-out--N/A
*-lowering-*.f64N/A
*-commutativeN/A
associate-/r*N/A
/-lowering-/.f64N/A
metadata-evalN/A
--lowering--.f64N/A
/-lowering-/.f6499.7%
Simplified99.7%
if -4.5999999999999999e-163 < y < 4.4999999999999998e-144Initial program 88.3%
Taylor expanded in x around inf
Simplified88.3%
associate-*l*N/A
*-commutativeN/A
associate-/r*N/A
div-invN/A
clear-numN/A
associate-*l/N/A
div-invN/A
/-lowering-/.f64N/A
*-commutativeN/A
associate-/r*N/A
metadata-evalN/A
metadata-evalN/A
/-lowering-/.f64N/A
metadata-evalN/A
/-lowering-/.f6496.6%
Applied egg-rr96.6%
Final simplification98.9%
(FPCore (x y z t)
:precision binary64
(if (<= y -4.5e+35)
(/ (/ y z) -3.0)
(if (<= y 2.3e+24)
(* 0.3333333333333333 (/ (/ t z) y))
(if (<= y 7e+91) x (/ (/ y -3.0) z)))))
double code(double x, double y, double z, double t) {
double tmp;
if (y <= -4.5e+35) {
tmp = (y / z) / -3.0;
} else if (y <= 2.3e+24) {
tmp = 0.3333333333333333 * ((t / z) / y);
} else if (y <= 7e+91) {
tmp = x;
} else {
tmp = (y / -3.0) / 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 <= (-4.5d+35)) then
tmp = (y / z) / (-3.0d0)
else if (y <= 2.3d+24) then
tmp = 0.3333333333333333d0 * ((t / z) / y)
else if (y <= 7d+91) then
tmp = x
else
tmp = (y / (-3.0d0)) / z
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if (y <= -4.5e+35) {
tmp = (y / z) / -3.0;
} else if (y <= 2.3e+24) {
tmp = 0.3333333333333333 * ((t / z) / y);
} else if (y <= 7e+91) {
tmp = x;
} else {
tmp = (y / -3.0) / z;
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if y <= -4.5e+35: tmp = (y / z) / -3.0 elif y <= 2.3e+24: tmp = 0.3333333333333333 * ((t / z) / y) elif y <= 7e+91: tmp = x else: tmp = (y / -3.0) / z return tmp
function code(x, y, z, t) tmp = 0.0 if (y <= -4.5e+35) tmp = Float64(Float64(y / z) / -3.0); elseif (y <= 2.3e+24) tmp = Float64(0.3333333333333333 * Float64(Float64(t / z) / y)); elseif (y <= 7e+91) tmp = x; else tmp = Float64(Float64(y / -3.0) / z); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if (y <= -4.5e+35) tmp = (y / z) / -3.0; elseif (y <= 2.3e+24) tmp = 0.3333333333333333 * ((t / z) / y); elseif (y <= 7e+91) tmp = x; else tmp = (y / -3.0) / z; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[LessEqual[y, -4.5e+35], N[(N[(y / z), $MachinePrecision] / -3.0), $MachinePrecision], If[LessEqual[y, 2.3e+24], N[(0.3333333333333333 * N[(N[(t / z), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 7e+91], x, N[(N[(y / -3.0), $MachinePrecision] / z), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -4.5 \cdot 10^{+35}:\\
\;\;\;\;\frac{\frac{y}{z}}{-3}\\
\mathbf{elif}\;y \leq 2.3 \cdot 10^{+24}:\\
\;\;\;\;0.3333333333333333 \cdot \frac{\frac{t}{z}}{y}\\
\mathbf{elif}\;y \leq 7 \cdot 10^{+91}:\\
\;\;\;\;x\\
\mathbf{else}:\\
\;\;\;\;\frac{\frac{y}{-3}}{z}\\
\end{array}
\end{array}
if y < -4.4999999999999997e35Initial program 99.7%
associate-*l*N/A
associate-/r*N/A
/-lowering-/.f64N/A
/-lowering-/.f64N/A
*-commutativeN/A
*-lowering-*.f6493.0%
Applied egg-rr93.0%
Taylor expanded in y around inf
associate-*r/N/A
/-lowering-/.f64N/A
*-commutativeN/A
*-lowering-*.f6470.5%
Simplified70.5%
associate-*l/N/A
metadata-evalN/A
div-invN/A
/-lowering-/.f64N/A
/-lowering-/.f6470.5%
Applied egg-rr70.5%
if -4.4999999999999997e35 < y < 2.2999999999999999e24Initial program 93.1%
sub-negN/A
associate-+l+N/A
+-lowering-+.f64N/A
remove-double-negN/A
unsub-negN/A
neg-mul-1N/A
*-commutativeN/A
associate-*l/N/A
associate-/l*N/A
*-commutativeN/A
distribute-neg-fracN/A
neg-mul-1N/A
times-fracN/A
distribute-lft-out--N/A
*-lowering-*.f64N/A
*-commutativeN/A
associate-/r*N/A
/-lowering-/.f64N/A
metadata-evalN/A
--lowering--.f64N/A
/-lowering-/.f6491.7%
Simplified91.7%
Taylor expanded in x around 0
associate-*r/N/A
/-lowering-/.f64N/A
sub-negN/A
mul-1-negN/A
+-commutativeN/A
distribute-lft-inN/A
associate-*r*N/A
metadata-evalN/A
metadata-evalN/A
cancel-sign-sub-invN/A
distribute-lft-out--N/A
*-lowering-*.f64N/A
--lowering--.f64N/A
/-lowering-/.f6470.3%
Simplified70.3%
Taylor expanded in t around inf
*-lowering-*.f64N/A
associate-/l/N/A
/-lowering-/.f64N/A
/-lowering-/.f6467.0%
Simplified67.0%
if 2.2999999999999999e24 < y < 7.00000000000000001e91Initial program 99.7%
sub-negN/A
associate-+l+N/A
+-lowering-+.f64N/A
remove-double-negN/A
unsub-negN/A
neg-mul-1N/A
*-commutativeN/A
associate-*l/N/A
associate-/l*N/A
*-commutativeN/A
distribute-neg-fracN/A
neg-mul-1N/A
times-fracN/A
distribute-lft-out--N/A
*-lowering-*.f64N/A
*-commutativeN/A
associate-/r*N/A
/-lowering-/.f64N/A
metadata-evalN/A
--lowering--.f64N/A
/-lowering-/.f6499.8%
Simplified99.8%
Taylor expanded in x around inf
Simplified58.0%
if 7.00000000000000001e91 < y Initial program 97.9%
associate-*l*N/A
associate-/r*N/A
/-lowering-/.f64N/A
/-lowering-/.f64N/A
*-commutativeN/A
*-lowering-*.f6494.1%
Applied egg-rr94.1%
Taylor expanded in y around inf
associate-*r/N/A
/-lowering-/.f64N/A
*-commutativeN/A
*-lowering-*.f6475.8%
Simplified75.8%
/-lowering-/.f64N/A
metadata-evalN/A
div-invN/A
/-lowering-/.f6475.9%
Applied egg-rr75.9%
(FPCore (x y z t)
:precision binary64
(let* ((t_1 (+ x (/ (/ y z) -3.0))))
(if (<= y -4.5e+40)
t_1
(if (<= y 4.4e+59) (+ x (/ (/ 0.3333333333333333 y) (/ z t))) t_1))))
double code(double x, double y, double z, double t) {
double t_1 = x + ((y / z) / -3.0);
double tmp;
if (y <= -4.5e+40) {
tmp = t_1;
} else if (y <= 4.4e+59) {
tmp = x + ((0.3333333333333333 / y) / (z / t));
} 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))
if (y <= (-4.5d+40)) then
tmp = t_1
else if (y <= 4.4d+59) then
tmp = x + ((0.3333333333333333d0 / y) / (z / t))
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);
double tmp;
if (y <= -4.5e+40) {
tmp = t_1;
} else if (y <= 4.4e+59) {
tmp = x + ((0.3333333333333333 / y) / (z / t));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t): t_1 = x + ((y / z) / -3.0) tmp = 0 if y <= -4.5e+40: tmp = t_1 elif y <= 4.4e+59: tmp = x + ((0.3333333333333333 / y) / (z / t)) else: tmp = t_1 return tmp
function code(x, y, z, t) t_1 = Float64(x + Float64(Float64(y / z) / -3.0)) tmp = 0.0 if (y <= -4.5e+40) tmp = t_1; elseif (y <= 4.4e+59) tmp = Float64(x + Float64(Float64(0.3333333333333333 / y) / Float64(z / t))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = x + ((y / z) / -3.0); tmp = 0.0; if (y <= -4.5e+40) tmp = t_1; elseif (y <= 4.4e+59) tmp = x + ((0.3333333333333333 / y) / (z / t)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(x + N[(N[(y / z), $MachinePrecision] / -3.0), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -4.5e+40], t$95$1, If[LessEqual[y, 4.4e+59], N[(x + N[(N[(0.3333333333333333 / y), $MachinePrecision] / N[(z / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x + \frac{\frac{y}{z}}{-3}\\
\mathbf{if}\;y \leq -4.5 \cdot 10^{+40}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq 4.4 \cdot 10^{+59}:\\
\;\;\;\;x + \frac{\frac{0.3333333333333333}{y}}{\frac{z}{t}}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < -4.50000000000000032e40 or 4.3999999999999999e59 < y Initial program 98.8%
sub-negN/A
associate-+l+N/A
+-lowering-+.f64N/A
remove-double-negN/A
unsub-negN/A
neg-mul-1N/A
*-commutativeN/A
associate-*l/N/A
associate-/l*N/A
*-commutativeN/A
distribute-neg-fracN/A
neg-mul-1N/A
times-fracN/A
distribute-lft-out--N/A
*-lowering-*.f64N/A
*-commutativeN/A
associate-/r*N/A
/-lowering-/.f64N/A
metadata-evalN/A
--lowering--.f64N/A
/-lowering-/.f6499.7%
Simplified99.7%
Taylor expanded in y around inf
Simplified97.8%
*-commutativeN/A
clear-numN/A
un-div-invN/A
div-invN/A
metadata-evalN/A
metadata-evalN/A
distribute-rgt-neg-inN/A
distribute-neg-frac2N/A
associate-/r*N/A
distribute-neg-frac2N/A
/-lowering-/.f64N/A
/-lowering-/.f64N/A
metadata-eval98.0%
Applied egg-rr98.0%
if -4.50000000000000032e40 < y < 4.3999999999999999e59Initial program 93.7%
Taylor expanded in x around inf
Simplified84.9%
associate-*l*N/A
*-commutativeN/A
associate-/r*N/A
div-invN/A
clear-numN/A
associate-*l/N/A
div-invN/A
/-lowering-/.f64N/A
*-commutativeN/A
associate-/r*N/A
metadata-evalN/A
metadata-evalN/A
/-lowering-/.f64N/A
metadata-evalN/A
/-lowering-/.f6489.0%
Applied egg-rr89.0%
(FPCore (x y z t)
:precision binary64
(let* ((t_1 (+ x (/ (/ y z) -3.0))))
(if (<= y -1.4e+38)
t_1
(if (<= y 4.4e+59) (+ x (/ t (* y (* z 3.0)))) t_1))))
double code(double x, double y, double z, double t) {
double t_1 = x + ((y / z) / -3.0);
double tmp;
if (y <= -1.4e+38) {
tmp = t_1;
} else if (y <= 4.4e+59) {
tmp = x + (t / (y * (z * 3.0)));
} 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))
if (y <= (-1.4d+38)) then
tmp = t_1
else if (y <= 4.4d+59) then
tmp = x + (t / (y * (z * 3.0d0)))
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);
double tmp;
if (y <= -1.4e+38) {
tmp = t_1;
} else if (y <= 4.4e+59) {
tmp = x + (t / (y * (z * 3.0)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t): t_1 = x + ((y / z) / -3.0) tmp = 0 if y <= -1.4e+38: tmp = t_1 elif y <= 4.4e+59: tmp = x + (t / (y * (z * 3.0))) else: tmp = t_1 return tmp
function code(x, y, z, t) t_1 = Float64(x + Float64(Float64(y / z) / -3.0)) tmp = 0.0 if (y <= -1.4e+38) tmp = t_1; elseif (y <= 4.4e+59) tmp = Float64(x + Float64(t / Float64(y * Float64(z * 3.0)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = x + ((y / z) / -3.0); tmp = 0.0; if (y <= -1.4e+38) tmp = t_1; elseif (y <= 4.4e+59) tmp = x + (t / (y * (z * 3.0))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(x + N[(N[(y / z), $MachinePrecision] / -3.0), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -1.4e+38], t$95$1, If[LessEqual[y, 4.4e+59], N[(x + N[(t / N[(y * N[(z * 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x + \frac{\frac{y}{z}}{-3}\\
\mathbf{if}\;y \leq -1.4 \cdot 10^{+38}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq 4.4 \cdot 10^{+59}:\\
\;\;\;\;x + \frac{t}{y \cdot \left(z \cdot 3\right)}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < -1.4e38 or 4.3999999999999999e59 < y Initial program 98.8%
sub-negN/A
associate-+l+N/A
+-lowering-+.f64N/A
remove-double-negN/A
unsub-negN/A
neg-mul-1N/A
*-commutativeN/A
associate-*l/N/A
associate-/l*N/A
*-commutativeN/A
distribute-neg-fracN/A
neg-mul-1N/A
times-fracN/A
distribute-lft-out--N/A
*-lowering-*.f64N/A
*-commutativeN/A
associate-/r*N/A
/-lowering-/.f64N/A
metadata-evalN/A
--lowering--.f64N/A
/-lowering-/.f6499.7%
Simplified99.7%
Taylor expanded in y around inf
Simplified97.8%
*-commutativeN/A
clear-numN/A
un-div-invN/A
div-invN/A
metadata-evalN/A
metadata-evalN/A
distribute-rgt-neg-inN/A
distribute-neg-frac2N/A
associate-/r*N/A
distribute-neg-frac2N/A
/-lowering-/.f64N/A
/-lowering-/.f64N/A
metadata-eval98.0%
Applied egg-rr98.0%
if -1.4e38 < y < 4.3999999999999999e59Initial program 93.7%
Taylor expanded in x around inf
Simplified84.9%
Final simplification90.1%
(FPCore (x y z t)
:precision binary64
(let* ((t_1 (+ x (/ (/ y z) -3.0))))
(if (<= y -1.86e-56)
t_1
(if (<= y 6e-99) (/ (* t (/ 0.3333333333333333 z)) y) t_1))))
double code(double x, double y, double z, double t) {
double t_1 = x + ((y / z) / -3.0);
double tmp;
if (y <= -1.86e-56) {
tmp = t_1;
} else if (y <= 6e-99) {
tmp = (t * (0.3333333333333333 / z)) / y;
} 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))
if (y <= (-1.86d-56)) then
tmp = t_1
else if (y <= 6d-99) then
tmp = (t * (0.3333333333333333d0 / z)) / y
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);
double tmp;
if (y <= -1.86e-56) {
tmp = t_1;
} else if (y <= 6e-99) {
tmp = (t * (0.3333333333333333 / z)) / y;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t): t_1 = x + ((y / z) / -3.0) tmp = 0 if y <= -1.86e-56: tmp = t_1 elif y <= 6e-99: tmp = (t * (0.3333333333333333 / z)) / y else: tmp = t_1 return tmp
function code(x, y, z, t) t_1 = Float64(x + Float64(Float64(y / z) / -3.0)) tmp = 0.0 if (y <= -1.86e-56) tmp = t_1; elseif (y <= 6e-99) tmp = Float64(Float64(t * Float64(0.3333333333333333 / z)) / y); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = x + ((y / z) / -3.0); tmp = 0.0; if (y <= -1.86e-56) tmp = t_1; elseif (y <= 6e-99) tmp = (t * (0.3333333333333333 / z)) / y; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(x + N[(N[(y / z), $MachinePrecision] / -3.0), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -1.86e-56], t$95$1, If[LessEqual[y, 6e-99], N[(N[(t * N[(0.3333333333333333 / z), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x + \frac{\frac{y}{z}}{-3}\\
\mathbf{if}\;y \leq -1.86 \cdot 10^{-56}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq 6 \cdot 10^{-99}:\\
\;\;\;\;\frac{t \cdot \frac{0.3333333333333333}{z}}{y}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < -1.85999999999999997e-56 or 6.00000000000000012e-99 < y Initial program 99.2%
sub-negN/A
associate-+l+N/A
+-lowering-+.f64N/A
remove-double-negN/A
unsub-negN/A
neg-mul-1N/A
*-commutativeN/A
associate-*l/N/A
associate-/l*N/A
*-commutativeN/A
distribute-neg-fracN/A
neg-mul-1N/A
times-fracN/A
distribute-lft-out--N/A
*-lowering-*.f64N/A
*-commutativeN/A
associate-/r*N/A
/-lowering-/.f64N/A
metadata-evalN/A
--lowering--.f64N/A
/-lowering-/.f6499.7%
Simplified99.7%
Taylor expanded in y around inf
Simplified86.0%
*-commutativeN/A
clear-numN/A
un-div-invN/A
div-invN/A
metadata-evalN/A
metadata-evalN/A
distribute-rgt-neg-inN/A
distribute-neg-frac2N/A
associate-/r*N/A
distribute-neg-frac2N/A
/-lowering-/.f64N/A
/-lowering-/.f64N/A
metadata-eval86.1%
Applied egg-rr86.1%
if -1.85999999999999997e-56 < y < 6.00000000000000012e-99Initial program 90.0%
sub-negN/A
associate-+l+N/A
+-lowering-+.f64N/A
remove-double-negN/A
unsub-negN/A
neg-mul-1N/A
*-commutativeN/A
associate-*l/N/A
associate-/l*N/A
*-commutativeN/A
distribute-neg-fracN/A
neg-mul-1N/A
times-fracN/A
distribute-lft-out--N/A
*-lowering-*.f64N/A
*-commutativeN/A
associate-/r*N/A
/-lowering-/.f64N/A
metadata-evalN/A
--lowering--.f64N/A
/-lowering-/.f6488.0%
Simplified88.0%
Taylor expanded in y around 0
associate-*r/N/A
/-lowering-/.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f6472.8%
Simplified72.8%
times-fracN/A
*-commutativeN/A
associate-*r/N/A
/-lowering-/.f64N/A
*-lowering-*.f64N/A
/-lowering-/.f6479.6%
Applied egg-rr79.6%
Final simplification83.7%
(FPCore (x y z t)
:precision binary64
(let* ((t_1 (+ x (/ (/ y z) -3.0))))
(if (<= y -3.2e-64)
t_1
(if (<= y 2.1e-99) (* 0.3333333333333333 (/ (/ t z) y)) t_1))))
double code(double x, double y, double z, double t) {
double t_1 = x + ((y / z) / -3.0);
double tmp;
if (y <= -3.2e-64) {
tmp = t_1;
} else if (y <= 2.1e-99) {
tmp = 0.3333333333333333 * ((t / z) / y);
} 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))
if (y <= (-3.2d-64)) then
tmp = t_1
else if (y <= 2.1d-99) then
tmp = 0.3333333333333333d0 * ((t / z) / y)
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);
double tmp;
if (y <= -3.2e-64) {
tmp = t_1;
} else if (y <= 2.1e-99) {
tmp = 0.3333333333333333 * ((t / z) / y);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t): t_1 = x + ((y / z) / -3.0) tmp = 0 if y <= -3.2e-64: tmp = t_1 elif y <= 2.1e-99: tmp = 0.3333333333333333 * ((t / z) / y) else: tmp = t_1 return tmp
function code(x, y, z, t) t_1 = Float64(x + Float64(Float64(y / z) / -3.0)) tmp = 0.0 if (y <= -3.2e-64) tmp = t_1; elseif (y <= 2.1e-99) tmp = Float64(0.3333333333333333 * Float64(Float64(t / z) / y)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = x + ((y / z) / -3.0); tmp = 0.0; if (y <= -3.2e-64) tmp = t_1; elseif (y <= 2.1e-99) tmp = 0.3333333333333333 * ((t / z) / y); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(x + N[(N[(y / z), $MachinePrecision] / -3.0), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -3.2e-64], t$95$1, If[LessEqual[y, 2.1e-99], N[(0.3333333333333333 * N[(N[(t / z), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x + \frac{\frac{y}{z}}{-3}\\
\mathbf{if}\;y \leq -3.2 \cdot 10^{-64}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq 2.1 \cdot 10^{-99}:\\
\;\;\;\;0.3333333333333333 \cdot \frac{\frac{t}{z}}{y}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < -3.19999999999999975e-64 or 2.09999999999999984e-99 < y Initial program 99.2%
sub-negN/A
associate-+l+N/A
+-lowering-+.f64N/A
remove-double-negN/A
unsub-negN/A
neg-mul-1N/A
*-commutativeN/A
associate-*l/N/A
associate-/l*N/A
*-commutativeN/A
distribute-neg-fracN/A
neg-mul-1N/A
times-fracN/A
distribute-lft-out--N/A
*-lowering-*.f64N/A
*-commutativeN/A
associate-/r*N/A
/-lowering-/.f64N/A
metadata-evalN/A
--lowering--.f64N/A
/-lowering-/.f6499.7%
Simplified99.7%
Taylor expanded in y around inf
Simplified86.0%
*-commutativeN/A
clear-numN/A
un-div-invN/A
div-invN/A
metadata-evalN/A
metadata-evalN/A
distribute-rgt-neg-inN/A
distribute-neg-frac2N/A
associate-/r*N/A
distribute-neg-frac2N/A
/-lowering-/.f64N/A
/-lowering-/.f64N/A
metadata-eval86.1%
Applied egg-rr86.1%
if -3.19999999999999975e-64 < y < 2.09999999999999984e-99Initial program 90.0%
sub-negN/A
associate-+l+N/A
+-lowering-+.f64N/A
remove-double-negN/A
unsub-negN/A
neg-mul-1N/A
*-commutativeN/A
associate-*l/N/A
associate-/l*N/A
*-commutativeN/A
distribute-neg-fracN/A
neg-mul-1N/A
times-fracN/A
distribute-lft-out--N/A
*-lowering-*.f64N/A
*-commutativeN/A
associate-/r*N/A
/-lowering-/.f64N/A
metadata-evalN/A
--lowering--.f64N/A
/-lowering-/.f6488.0%
Simplified88.0%
Taylor expanded in x around 0
associate-*r/N/A
/-lowering-/.f64N/A
sub-negN/A
mul-1-negN/A
+-commutativeN/A
distribute-lft-inN/A
associate-*r*N/A
metadata-evalN/A
metadata-evalN/A
cancel-sign-sub-invN/A
distribute-lft-out--N/A
*-lowering-*.f64N/A
--lowering--.f64N/A
/-lowering-/.f6472.9%
Simplified72.9%
Taylor expanded in t around inf
*-lowering-*.f64N/A
associate-/l/N/A
/-lowering-/.f64N/A
/-lowering-/.f6479.6%
Simplified79.6%
(FPCore (x y z t)
:precision binary64
(let* ((t_1 (+ x (* y (/ -0.3333333333333333 z)))))
(if (<= y -3.2e-61)
t_1
(if (<= y 4e-100) (* 0.3333333333333333 (/ (/ t z) y)) t_1))))
double code(double x, double y, double z, double t) {
double t_1 = x + (y * (-0.3333333333333333 / z));
double tmp;
if (y <= -3.2e-61) {
tmp = t_1;
} else if (y <= 4e-100) {
tmp = 0.3333333333333333 * ((t / z) / y);
} 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 * ((-0.3333333333333333d0) / z))
if (y <= (-3.2d-61)) then
tmp = t_1
else if (y <= 4d-100) then
tmp = 0.3333333333333333d0 * ((t / z) / y)
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 * (-0.3333333333333333 / z));
double tmp;
if (y <= -3.2e-61) {
tmp = t_1;
} else if (y <= 4e-100) {
tmp = 0.3333333333333333 * ((t / z) / y);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t): t_1 = x + (y * (-0.3333333333333333 / z)) tmp = 0 if y <= -3.2e-61: tmp = t_1 elif y <= 4e-100: tmp = 0.3333333333333333 * ((t / z) / y) else: tmp = t_1 return tmp
function code(x, y, z, t) t_1 = Float64(x + Float64(y * Float64(-0.3333333333333333 / z))) tmp = 0.0 if (y <= -3.2e-61) tmp = t_1; elseif (y <= 4e-100) tmp = Float64(0.3333333333333333 * Float64(Float64(t / z) / y)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = x + (y * (-0.3333333333333333 / z)); tmp = 0.0; if (y <= -3.2e-61) tmp = t_1; elseif (y <= 4e-100) tmp = 0.3333333333333333 * ((t / z) / y); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(x + N[(y * N[(-0.3333333333333333 / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -3.2e-61], t$95$1, If[LessEqual[y, 4e-100], N[(0.3333333333333333 * N[(N[(t / z), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x + y \cdot \frac{-0.3333333333333333}{z}\\
\mathbf{if}\;y \leq -3.2 \cdot 10^{-61}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq 4 \cdot 10^{-100}:\\
\;\;\;\;0.3333333333333333 \cdot \frac{\frac{t}{z}}{y}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < -3.2000000000000001e-61 or 4.0000000000000001e-100 < y Initial program 99.2%
sub-negN/A
associate-+l+N/A
+-lowering-+.f64N/A
remove-double-negN/A
unsub-negN/A
neg-mul-1N/A
*-commutativeN/A
associate-*l/N/A
associate-/l*N/A
*-commutativeN/A
distribute-neg-fracN/A
neg-mul-1N/A
times-fracN/A
distribute-lft-out--N/A
*-lowering-*.f64N/A
*-commutativeN/A
associate-/r*N/A
/-lowering-/.f64N/A
metadata-evalN/A
--lowering--.f64N/A
/-lowering-/.f6499.7%
Simplified99.7%
Taylor expanded in y around inf
Simplified86.0%
if -3.2000000000000001e-61 < y < 4.0000000000000001e-100Initial program 90.0%
sub-negN/A
associate-+l+N/A
+-lowering-+.f64N/A
remove-double-negN/A
unsub-negN/A
neg-mul-1N/A
*-commutativeN/A
associate-*l/N/A
associate-/l*N/A
*-commutativeN/A
distribute-neg-fracN/A
neg-mul-1N/A
times-fracN/A
distribute-lft-out--N/A
*-lowering-*.f64N/A
*-commutativeN/A
associate-/r*N/A
/-lowering-/.f64N/A
metadata-evalN/A
--lowering--.f64N/A
/-lowering-/.f6488.0%
Simplified88.0%
Taylor expanded in x around 0
associate-*r/N/A
/-lowering-/.f64N/A
sub-negN/A
mul-1-negN/A
+-commutativeN/A
distribute-lft-inN/A
associate-*r*N/A
metadata-evalN/A
metadata-evalN/A
cancel-sign-sub-invN/A
distribute-lft-out--N/A
*-lowering-*.f64N/A
--lowering--.f64N/A
/-lowering-/.f6472.9%
Simplified72.9%
Taylor expanded in t around inf
*-lowering-*.f64N/A
associate-/l/N/A
/-lowering-/.f64N/A
/-lowering-/.f6479.6%
Simplified79.6%
Final simplification83.6%
(FPCore (x y z t) :precision binary64 (if (<= z -1.6e-69) x (if (<= z 3.5e+22) (/ (/ y -3.0) z) x)))
double code(double x, double y, double z, double t) {
double tmp;
if (z <= -1.6e-69) {
tmp = x;
} else if (z <= 3.5e+22) {
tmp = (y / -3.0) / 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 <= (-1.6d-69)) then
tmp = x
else if (z <= 3.5d+22) then
tmp = (y / (-3.0d0)) / 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 <= -1.6e-69) {
tmp = x;
} else if (z <= 3.5e+22) {
tmp = (y / -3.0) / z;
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if z <= -1.6e-69: tmp = x elif z <= 3.5e+22: tmp = (y / -3.0) / z else: tmp = x return tmp
function code(x, y, z, t) tmp = 0.0 if (z <= -1.6e-69) tmp = x; elseif (z <= 3.5e+22) tmp = Float64(Float64(y / -3.0) / z); else tmp = x; end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if (z <= -1.6e-69) tmp = x; elseif (z <= 3.5e+22) tmp = (y / -3.0) / z; else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[LessEqual[z, -1.6e-69], x, If[LessEqual[z, 3.5e+22], N[(N[(y / -3.0), $MachinePrecision] / z), $MachinePrecision], x]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.6 \cdot 10^{-69}:\\
\;\;\;\;x\\
\mathbf{elif}\;z \leq 3.5 \cdot 10^{+22}:\\
\;\;\;\;\frac{\frac{y}{-3}}{z}\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if z < -1.59999999999999999e-69 or 3.5e22 < z Initial program 99.0%
sub-negN/A
associate-+l+N/A
+-lowering-+.f64N/A
remove-double-negN/A
unsub-negN/A
neg-mul-1N/A
*-commutativeN/A
associate-*l/N/A
associate-/l*N/A
*-commutativeN/A
distribute-neg-fracN/A
neg-mul-1N/A
times-fracN/A
distribute-lft-out--N/A
*-lowering-*.f64N/A
*-commutativeN/A
associate-/r*N/A
/-lowering-/.f64N/A
metadata-evalN/A
--lowering--.f64N/A
/-lowering-/.f6490.5%
Simplified90.5%
Taylor expanded in x around inf
Simplified47.9%
if -1.59999999999999999e-69 < z < 3.5e22Initial program 92.7%
associate-*l*N/A
associate-/r*N/A
/-lowering-/.f64N/A
/-lowering-/.f64N/A
*-commutativeN/A
*-lowering-*.f6495.4%
Applied egg-rr95.4%
Taylor expanded in y around inf
associate-*r/N/A
/-lowering-/.f64N/A
*-commutativeN/A
*-lowering-*.f6449.0%
Simplified49.0%
/-lowering-/.f64N/A
metadata-evalN/A
div-invN/A
/-lowering-/.f6449.0%
Applied egg-rr49.0%
(FPCore (x y z t) :precision binary64 (if (<= z -1.6e-69) x (if (<= z 7.6e+23) (/ (* y -0.3333333333333333) z) x)))
double code(double x, double y, double z, double t) {
double tmp;
if (z <= -1.6e-69) {
tmp = x;
} else if (z <= 7.6e+23) {
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 <= (-1.6d-69)) then
tmp = x
else if (z <= 7.6d+23) 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 <= -1.6e-69) {
tmp = x;
} else if (z <= 7.6e+23) {
tmp = (y * -0.3333333333333333) / z;
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if z <= -1.6e-69: tmp = x elif z <= 7.6e+23: tmp = (y * -0.3333333333333333) / z else: tmp = x return tmp
function code(x, y, z, t) tmp = 0.0 if (z <= -1.6e-69) tmp = x; elseif (z <= 7.6e+23) tmp = Float64(Float64(y * -0.3333333333333333) / z); else tmp = x; end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if (z <= -1.6e-69) tmp = x; elseif (z <= 7.6e+23) tmp = (y * -0.3333333333333333) / z; else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[LessEqual[z, -1.6e-69], x, If[LessEqual[z, 7.6e+23], N[(N[(y * -0.3333333333333333), $MachinePrecision] / z), $MachinePrecision], x]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.6 \cdot 10^{-69}:\\
\;\;\;\;x\\
\mathbf{elif}\;z \leq 7.6 \cdot 10^{+23}:\\
\;\;\;\;\frac{y \cdot -0.3333333333333333}{z}\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if z < -1.59999999999999999e-69 or 7.5999999999999995e23 < z Initial program 99.0%
sub-negN/A
associate-+l+N/A
+-lowering-+.f64N/A
remove-double-negN/A
unsub-negN/A
neg-mul-1N/A
*-commutativeN/A
associate-*l/N/A
associate-/l*N/A
*-commutativeN/A
distribute-neg-fracN/A
neg-mul-1N/A
times-fracN/A
distribute-lft-out--N/A
*-lowering-*.f64N/A
*-commutativeN/A
associate-/r*N/A
/-lowering-/.f64N/A
metadata-evalN/A
--lowering--.f64N/A
/-lowering-/.f6490.5%
Simplified90.5%
Taylor expanded in x around inf
Simplified47.9%
if -1.59999999999999999e-69 < z < 7.5999999999999995e23Initial program 92.7%
sub-negN/A
associate-+l+N/A
+-lowering-+.f64N/A
remove-double-negN/A
unsub-negN/A
neg-mul-1N/A
*-commutativeN/A
associate-*l/N/A
associate-/l*N/A
*-commutativeN/A
distribute-neg-fracN/A
neg-mul-1N/A
times-fracN/A
distribute-lft-out--N/A
*-lowering-*.f64N/A
*-commutativeN/A
associate-/r*N/A
/-lowering-/.f64N/A
metadata-evalN/A
--lowering--.f64N/A
/-lowering-/.f6499.7%
Simplified99.7%
Taylor expanded in y around inf
associate-*r/N/A
/-lowering-/.f64N/A
*-lowering-*.f6449.0%
Simplified49.0%
Final simplification48.4%
(FPCore (x y z t) :precision binary64 (if (<= z -1.15e-70) x (if (<= z 2.75e+23) (/ -0.3333333333333333 (/ z y)) x)))
double code(double x, double y, double z, double t) {
double tmp;
if (z <= -1.15e-70) {
tmp = x;
} else if (z <= 2.75e+23) {
tmp = -0.3333333333333333 / (z / 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 <= (-1.15d-70)) then
tmp = x
else if (z <= 2.75d+23) then
tmp = (-0.3333333333333333d0) / (z / 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 <= -1.15e-70) {
tmp = x;
} else if (z <= 2.75e+23) {
tmp = -0.3333333333333333 / (z / y);
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if z <= -1.15e-70: tmp = x elif z <= 2.75e+23: tmp = -0.3333333333333333 / (z / y) else: tmp = x return tmp
function code(x, y, z, t) tmp = 0.0 if (z <= -1.15e-70) tmp = x; elseif (z <= 2.75e+23) tmp = Float64(-0.3333333333333333 / Float64(z / y)); else tmp = x; end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if (z <= -1.15e-70) tmp = x; elseif (z <= 2.75e+23) tmp = -0.3333333333333333 / (z / y); else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[LessEqual[z, -1.15e-70], x, If[LessEqual[z, 2.75e+23], N[(-0.3333333333333333 / N[(z / y), $MachinePrecision]), $MachinePrecision], x]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.15 \cdot 10^{-70}:\\
\;\;\;\;x\\
\mathbf{elif}\;z \leq 2.75 \cdot 10^{+23}:\\
\;\;\;\;\frac{-0.3333333333333333}{\frac{z}{y}}\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if z < -1.15e-70 or 2.75000000000000002e23 < z Initial program 99.0%
sub-negN/A
associate-+l+N/A
+-lowering-+.f64N/A
remove-double-negN/A
unsub-negN/A
neg-mul-1N/A
*-commutativeN/A
associate-*l/N/A
associate-/l*N/A
*-commutativeN/A
distribute-neg-fracN/A
neg-mul-1N/A
times-fracN/A
distribute-lft-out--N/A
*-lowering-*.f64N/A
*-commutativeN/A
associate-/r*N/A
/-lowering-/.f64N/A
metadata-evalN/A
--lowering--.f64N/A
/-lowering-/.f6490.5%
Simplified90.5%
Taylor expanded in x around inf
Simplified47.9%
if -1.15e-70 < z < 2.75000000000000002e23Initial program 92.7%
associate-*l*N/A
associate-/r*N/A
/-lowering-/.f64N/A
/-lowering-/.f64N/A
*-commutativeN/A
*-lowering-*.f6495.4%
Applied egg-rr95.4%
Taylor expanded in y around inf
associate-*r/N/A
/-lowering-/.f64N/A
*-commutativeN/A
*-lowering-*.f6449.0%
Simplified49.0%
clear-numN/A
associate-/r*N/A
clear-numN/A
/-lowering-/.f64N/A
/-lowering-/.f6448.9%
Applied egg-rr48.9%
(FPCore (x y z t) :precision binary64 (if (<= z -1.6e-69) x (if (<= z 3.35e+22) (* y (/ -0.3333333333333333 z)) x)))
double code(double x, double y, double z, double t) {
double tmp;
if (z <= -1.6e-69) {
tmp = x;
} else if (z <= 3.35e+22) {
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 <= (-1.6d-69)) then
tmp = x
else if (z <= 3.35d+22) 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 <= -1.6e-69) {
tmp = x;
} else if (z <= 3.35e+22) {
tmp = y * (-0.3333333333333333 / z);
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if z <= -1.6e-69: tmp = x elif z <= 3.35e+22: tmp = y * (-0.3333333333333333 / z) else: tmp = x return tmp
function code(x, y, z, t) tmp = 0.0 if (z <= -1.6e-69) tmp = x; elseif (z <= 3.35e+22) 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 <= -1.6e-69) tmp = x; elseif (z <= 3.35e+22) tmp = y * (-0.3333333333333333 / z); else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[LessEqual[z, -1.6e-69], x, If[LessEqual[z, 3.35e+22], N[(y * N[(-0.3333333333333333 / z), $MachinePrecision]), $MachinePrecision], x]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.6 \cdot 10^{-69}:\\
\;\;\;\;x\\
\mathbf{elif}\;z \leq 3.35 \cdot 10^{+22}:\\
\;\;\;\;y \cdot \frac{-0.3333333333333333}{z}\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if z < -1.59999999999999999e-69 or 3.3500000000000001e22 < z Initial program 99.0%
sub-negN/A
associate-+l+N/A
+-lowering-+.f64N/A
remove-double-negN/A
unsub-negN/A
neg-mul-1N/A
*-commutativeN/A
associate-*l/N/A
associate-/l*N/A
*-commutativeN/A
distribute-neg-fracN/A
neg-mul-1N/A
times-fracN/A
distribute-lft-out--N/A
*-lowering-*.f64N/A
*-commutativeN/A
associate-/r*N/A
/-lowering-/.f64N/A
metadata-evalN/A
--lowering--.f64N/A
/-lowering-/.f6490.5%
Simplified90.5%
Taylor expanded in x around inf
Simplified47.9%
if -1.59999999999999999e-69 < z < 3.3500000000000001e22Initial program 92.7%
associate-*l*N/A
associate-/r*N/A
/-lowering-/.f64N/A
/-lowering-/.f64N/A
*-commutativeN/A
*-lowering-*.f6495.4%
Applied egg-rr95.4%
Taylor expanded in y around inf
associate-*r/N/A
/-lowering-/.f64N/A
*-commutativeN/A
*-lowering-*.f6449.0%
Simplified49.0%
associate-/l*N/A
*-commutativeN/A
*-lowering-*.f64N/A
/-lowering-/.f6448.9%
Applied egg-rr48.9%
Final simplification48.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 95.7%
sub-negN/A
associate-+l+N/A
+-lowering-+.f64N/A
remove-double-negN/A
unsub-negN/A
neg-mul-1N/A
*-commutativeN/A
associate-*l/N/A
associate-/l*N/A
*-commutativeN/A
distribute-neg-fracN/A
neg-mul-1N/A
times-fracN/A
distribute-lft-out--N/A
*-lowering-*.f64N/A
*-commutativeN/A
associate-/r*N/A
/-lowering-/.f64N/A
metadata-evalN/A
--lowering--.f64N/A
/-lowering-/.f6495.3%
Simplified95.3%
Taylor expanded in x around inf
Simplified28.1%
(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 2024158
(FPCore (x y z t)
:name "Diagrams.Solve.Polynomial:cubForm from diagrams-solve-0.1, H"
:precision binary64
:alt
(! :herbie-platform default (+ (- x (/ y (* z 3))) (/ (/ t (* z 3)) y)))
(+ (- x (/ y (* z 3.0))) (/ t (* (* z 3.0) y))))