
(FPCore (x y z) :precision binary64 (fabs (- (/ (+ x 4.0) y) (* (/ x y) z))))
double code(double x, double y, double z) {
return fabs((((x + 4.0) / y) - ((x / y) * z)));
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = abs((((x + 4.0d0) / y) - ((x / y) * z)))
end function
public static double code(double x, double y, double z) {
return Math.abs((((x + 4.0) / y) - ((x / y) * z)));
}
def code(x, y, z): return math.fabs((((x + 4.0) / y) - ((x / y) * z)))
function code(x, y, z) return abs(Float64(Float64(Float64(x + 4.0) / y) - Float64(Float64(x / y) * z))) end
function tmp = code(x, y, z) tmp = abs((((x + 4.0) / y) - ((x / y) * z))); end
code[x_, y_, z_] := N[Abs[N[(N[(N[(x + 4.0), $MachinePrecision] / y), $MachinePrecision] - N[(N[(x / y), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]
\begin{array}{l}
\\
\left|\frac{x + 4}{y} - \frac{x}{y} \cdot z\right|
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 8 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z) :precision binary64 (fabs (- (/ (+ x 4.0) y) (* (/ x y) z))))
double code(double x, double y, double z) {
return fabs((((x + 4.0) / y) - ((x / y) * z)));
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = abs((((x + 4.0d0) / y) - ((x / y) * z)))
end function
public static double code(double x, double y, double z) {
return Math.abs((((x + 4.0) / y) - ((x / y) * z)));
}
def code(x, y, z): return math.fabs((((x + 4.0) / y) - ((x / y) * z)))
function code(x, y, z) return abs(Float64(Float64(Float64(x + 4.0) / y) - Float64(Float64(x / y) * z))) end
function tmp = code(x, y, z) tmp = abs((((x + 4.0) / y) - ((x / y) * z))); end
code[x_, y_, z_] := N[Abs[N[(N[(N[(x + 4.0), $MachinePrecision] / y), $MachinePrecision] - N[(N[(x / y), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]
\begin{array}{l}
\\
\left|\frac{x + 4}{y} - \frac{x}{y} \cdot z\right|
\end{array}
(FPCore (x y z) :precision binary64 (let* ((t_0 (/ (+ 4.0 x) y)) (t_1 (* z (/ x y)))) (if (<= (- t_0 t_1) INFINITY) (fabs (- t_1 t_0)) (fabs (/ x y)))))
double code(double x, double y, double z) {
double t_0 = (4.0 + x) / y;
double t_1 = z * (x / y);
double tmp;
if ((t_0 - t_1) <= ((double) INFINITY)) {
tmp = fabs((t_1 - t_0));
} else {
tmp = fabs((x / y));
}
return tmp;
}
public static double code(double x, double y, double z) {
double t_0 = (4.0 + x) / y;
double t_1 = z * (x / y);
double tmp;
if ((t_0 - t_1) <= Double.POSITIVE_INFINITY) {
tmp = Math.abs((t_1 - t_0));
} else {
tmp = Math.abs((x / y));
}
return tmp;
}
def code(x, y, z): t_0 = (4.0 + x) / y t_1 = z * (x / y) tmp = 0 if (t_0 - t_1) <= math.inf: tmp = math.fabs((t_1 - t_0)) else: tmp = math.fabs((x / y)) return tmp
function code(x, y, z) t_0 = Float64(Float64(4.0 + x) / y) t_1 = Float64(z * Float64(x / y)) tmp = 0.0 if (Float64(t_0 - t_1) <= Inf) tmp = abs(Float64(t_1 - t_0)); else tmp = abs(Float64(x / y)); end return tmp end
function tmp_2 = code(x, y, z) t_0 = (4.0 + x) / y; t_1 = z * (x / y); tmp = 0.0; if ((t_0 - t_1) <= Inf) tmp = abs((t_1 - t_0)); else tmp = abs((x / y)); end tmp_2 = tmp; end
code[x_, y_, z_] := Block[{t$95$0 = N[(N[(4.0 + x), $MachinePrecision] / y), $MachinePrecision]}, Block[{t$95$1 = N[(z * N[(x / y), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[N[(t$95$0 - t$95$1), $MachinePrecision], Infinity], N[Abs[N[(t$95$1 - t$95$0), $MachinePrecision]], $MachinePrecision], N[Abs[N[(x / y), $MachinePrecision]], $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := \frac{4 + x}{y}\\
t_1 := z \cdot \frac{x}{y}\\
\mathbf{if}\;t\_0 - t\_1 \leq \infty:\\
\;\;\;\;\left|t\_1 - t\_0\right|\\
\mathbf{else}:\\
\;\;\;\;\left|\frac{x}{y}\right|\\
\end{array}
\end{array}
if (-.f64 (/.f64 (+.f64 x #s(literal 4 binary64)) y) (*.f64 (/.f64 x y) z)) < +inf.0Initial program 99.4%
if +inf.0 < (-.f64 (/.f64 (+.f64 x #s(literal 4 binary64)) y) (*.f64 (/.f64 x y) z)) Initial program 0.0%
Taylor expanded in z around 0
*-rgt-identityN/A
associate-*r/N/A
distribute-rgt-outN/A
associate-*l/N/A
metadata-evalN/A
associate-*r*N/A
associate-*r/N/A
neg-mul-1N/A
mul-1-negN/A
distribute-frac-negN/A
remove-double-negN/A
lower-/.f64N/A
+-commutativeN/A
metadata-evalN/A
metadata-evalN/A
sub-negN/A
lower--.f64N/A
metadata-eval100.0
Applied rewrites100.0%
Taylor expanded in x around inf
Applied rewrites100.0%
Final simplification99.5%
(FPCore (x y z) :precision binary64 (let* ((t_0 (fabs (* (- 1.0 z) (/ x y))))) (if (<= x -1.55) t_0 (if (<= x 4.2) (fabs (/ (fma z x -4.0) y)) t_0))))
double code(double x, double y, double z) {
double t_0 = fabs(((1.0 - z) * (x / y)));
double tmp;
if (x <= -1.55) {
tmp = t_0;
} else if (x <= 4.2) {
tmp = fabs((fma(z, x, -4.0) / y));
} else {
tmp = t_0;
}
return tmp;
}
function code(x, y, z) t_0 = abs(Float64(Float64(1.0 - z) * Float64(x / y))) tmp = 0.0 if (x <= -1.55) tmp = t_0; elseif (x <= 4.2) tmp = abs(Float64(fma(z, x, -4.0) / y)); else tmp = t_0; end return tmp end
code[x_, y_, z_] := Block[{t$95$0 = N[Abs[N[(N[(1.0 - z), $MachinePrecision] * N[(x / y), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]}, If[LessEqual[x, -1.55], t$95$0, If[LessEqual[x, 4.2], N[Abs[N[(N[(z * x + -4.0), $MachinePrecision] / y), $MachinePrecision]], $MachinePrecision], t$95$0]]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := \left|\left(1 - z\right) \cdot \frac{x}{y}\right|\\
\mathbf{if}\;x \leq -1.55:\\
\;\;\;\;t\_0\\
\mathbf{elif}\;x \leq 4.2:\\
\;\;\;\;\left|\frac{\mathsf{fma}\left(z, x, -4\right)}{y}\right|\\
\mathbf{else}:\\
\;\;\;\;t\_0\\
\end{array}
\end{array}
if x < -1.55000000000000004 or 4.20000000000000018 < x Initial program 89.3%
Taylor expanded in x around inf
distribute-lft-out--N/A
associate-*r/N/A
*-rgt-identityN/A
associate-/l*N/A
*-commutativeN/A
associate-/l*N/A
cancel-sign-sub-invN/A
mul-1-negN/A
distribute-rgt1-inN/A
lower-*.f64N/A
+-commutativeN/A
mul-1-negN/A
sub-negN/A
lower--.f64N/A
lower-/.f6499.4
Applied rewrites99.4%
if -1.55000000000000004 < x < 4.20000000000000018Initial program 98.9%
lift-fabs.f64N/A
neg-fabsN/A
lower-fabs.f64N/A
lift--.f64N/A
sub-negN/A
+-commutativeN/A
distribute-neg-inN/A
remove-double-negN/A
sub-negN/A
lift-*.f64N/A
lift-/.f64N/A
associate-*l/N/A
lift-/.f64N/A
sub-divN/A
lower-/.f64N/A
Applied rewrites100.0%
Taylor expanded in x around 0
Applied rewrites98.8%
(FPCore (x y z) :precision binary64 (let* ((t_0 (fabs (/ (fma z x -4.0) y)))) (if (<= z -3.35e+44) t_0 (if (<= z 0.18) (fabs (/ (- x -4.0) y)) t_0))))
double code(double x, double y, double z) {
double t_0 = fabs((fma(z, x, -4.0) / y));
double tmp;
if (z <= -3.35e+44) {
tmp = t_0;
} else if (z <= 0.18) {
tmp = fabs(((x - -4.0) / y));
} else {
tmp = t_0;
}
return tmp;
}
function code(x, y, z) t_0 = abs(Float64(fma(z, x, -4.0) / y)) tmp = 0.0 if (z <= -3.35e+44) tmp = t_0; elseif (z <= 0.18) tmp = abs(Float64(Float64(x - -4.0) / y)); else tmp = t_0; end return tmp end
code[x_, y_, z_] := Block[{t$95$0 = N[Abs[N[(N[(z * x + -4.0), $MachinePrecision] / y), $MachinePrecision]], $MachinePrecision]}, If[LessEqual[z, -3.35e+44], t$95$0, If[LessEqual[z, 0.18], N[Abs[N[(N[(x - -4.0), $MachinePrecision] / y), $MachinePrecision]], $MachinePrecision], t$95$0]]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := \left|\frac{\mathsf{fma}\left(z, x, -4\right)}{y}\right|\\
\mathbf{if}\;z \leq -3.35 \cdot 10^{+44}:\\
\;\;\;\;t\_0\\
\mathbf{elif}\;z \leq 0.18:\\
\;\;\;\;\left|\frac{x - -4}{y}\right|\\
\mathbf{else}:\\
\;\;\;\;t\_0\\
\end{array}
\end{array}
if z < -3.35000000000000018e44 or 0.17999999999999999 < z Initial program 93.6%
lift-fabs.f64N/A
neg-fabsN/A
lower-fabs.f64N/A
lift--.f64N/A
sub-negN/A
+-commutativeN/A
distribute-neg-inN/A
remove-double-negN/A
sub-negN/A
lift-*.f64N/A
lift-/.f64N/A
associate-*l/N/A
lift-/.f64N/A
sub-divN/A
lower-/.f64N/A
Applied rewrites93.3%
Taylor expanded in x around 0
Applied rewrites92.7%
if -3.35000000000000018e44 < z < 0.17999999999999999Initial program 94.3%
Taylor expanded in z around 0
*-rgt-identityN/A
associate-*r/N/A
distribute-rgt-outN/A
associate-*l/N/A
metadata-evalN/A
associate-*r*N/A
associate-*r/N/A
neg-mul-1N/A
mul-1-negN/A
distribute-frac-negN/A
remove-double-negN/A
lower-/.f64N/A
+-commutativeN/A
metadata-evalN/A
metadata-evalN/A
sub-negN/A
lower--.f64N/A
metadata-eval100.0
Applied rewrites100.0%
(FPCore (x y z) :precision binary64 (let* ((t_0 (fabs (/ (* z x) y)))) (if (<= z -5e+44) t_0 (if (<= z 2.2e+20) (fabs (/ (- x -4.0) y)) t_0))))
double code(double x, double y, double z) {
double t_0 = fabs(((z * x) / y));
double tmp;
if (z <= -5e+44) {
tmp = t_0;
} else if (z <= 2.2e+20) {
tmp = fabs(((x - -4.0) / y));
} else {
tmp = t_0;
}
return tmp;
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8) :: t_0
real(8) :: tmp
t_0 = abs(((z * x) / y))
if (z <= (-5d+44)) then
tmp = t_0
else if (z <= 2.2d+20) then
tmp = abs(((x - (-4.0d0)) / y))
else
tmp = t_0
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double t_0 = Math.abs(((z * x) / y));
double tmp;
if (z <= -5e+44) {
tmp = t_0;
} else if (z <= 2.2e+20) {
tmp = Math.abs(((x - -4.0) / y));
} else {
tmp = t_0;
}
return tmp;
}
def code(x, y, z): t_0 = math.fabs(((z * x) / y)) tmp = 0 if z <= -5e+44: tmp = t_0 elif z <= 2.2e+20: tmp = math.fabs(((x - -4.0) / y)) else: tmp = t_0 return tmp
function code(x, y, z) t_0 = abs(Float64(Float64(z * x) / y)) tmp = 0.0 if (z <= -5e+44) tmp = t_0; elseif (z <= 2.2e+20) tmp = abs(Float64(Float64(x - -4.0) / y)); else tmp = t_0; end return tmp end
function tmp_2 = code(x, y, z) t_0 = abs(((z * x) / y)); tmp = 0.0; if (z <= -5e+44) tmp = t_0; elseif (z <= 2.2e+20) tmp = abs(((x - -4.0) / y)); else tmp = t_0; end tmp_2 = tmp; end
code[x_, y_, z_] := Block[{t$95$0 = N[Abs[N[(N[(z * x), $MachinePrecision] / y), $MachinePrecision]], $MachinePrecision]}, If[LessEqual[z, -5e+44], t$95$0, If[LessEqual[z, 2.2e+20], N[Abs[N[(N[(x - -4.0), $MachinePrecision] / y), $MachinePrecision]], $MachinePrecision], t$95$0]]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := \left|\frac{z \cdot x}{y}\right|\\
\mathbf{if}\;z \leq -5 \cdot 10^{+44}:\\
\;\;\;\;t\_0\\
\mathbf{elif}\;z \leq 2.2 \cdot 10^{+20}:\\
\;\;\;\;\left|\frac{x - -4}{y}\right|\\
\mathbf{else}:\\
\;\;\;\;t\_0\\
\end{array}
\end{array}
if z < -4.9999999999999996e44 or 2.2e20 < z Initial program 94.0%
lift-fabs.f64N/A
neg-fabsN/A
lower-fabs.f64N/A
lift--.f64N/A
sub-negN/A
+-commutativeN/A
distribute-neg-inN/A
remove-double-negN/A
sub-negN/A
lift-*.f64N/A
lift-/.f64N/A
associate-*l/N/A
lift-/.f64N/A
sub-divN/A
lower-/.f64N/A
Applied rewrites92.8%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f6472.7
Applied rewrites72.7%
if -4.9999999999999996e44 < z < 2.2e20Initial program 93.9%
Taylor expanded in z around 0
*-rgt-identityN/A
associate-*r/N/A
distribute-rgt-outN/A
associate-*l/N/A
metadata-evalN/A
associate-*r*N/A
associate-*r/N/A
neg-mul-1N/A
mul-1-negN/A
distribute-frac-negN/A
remove-double-negN/A
lower-/.f64N/A
+-commutativeN/A
metadata-evalN/A
metadata-evalN/A
sub-negN/A
lower--.f64N/A
metadata-eval99.4
Applied rewrites99.4%
(FPCore (x y z) :precision binary64 (if (<= x -8e+72) (fabs (* (- 1.0 z) (/ x y))) (fabs (/ (fma z x (- -4.0 x)) y))))
double code(double x, double y, double z) {
double tmp;
if (x <= -8e+72) {
tmp = fabs(((1.0 - z) * (x / y)));
} else {
tmp = fabs((fma(z, x, (-4.0 - x)) / y));
}
return tmp;
}
function code(x, y, z) tmp = 0.0 if (x <= -8e+72) tmp = abs(Float64(Float64(1.0 - z) * Float64(x / y))); else tmp = abs(Float64(fma(z, x, Float64(-4.0 - x)) / y)); end return tmp end
code[x_, y_, z_] := If[LessEqual[x, -8e+72], N[Abs[N[(N[(1.0 - z), $MachinePrecision] * N[(x / y), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[Abs[N[(N[(z * x + N[(-4.0 - x), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]], $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -8 \cdot 10^{+72}:\\
\;\;\;\;\left|\left(1 - z\right) \cdot \frac{x}{y}\right|\\
\mathbf{else}:\\
\;\;\;\;\left|\frac{\mathsf{fma}\left(z, x, -4 - x\right)}{y}\right|\\
\end{array}
\end{array}
if x < -7.99999999999999955e72Initial program 91.5%
Taylor expanded in x around inf
distribute-lft-out--N/A
associate-*r/N/A
*-rgt-identityN/A
associate-/l*N/A
*-commutativeN/A
associate-/l*N/A
cancel-sign-sub-invN/A
mul-1-negN/A
distribute-rgt1-inN/A
lower-*.f64N/A
+-commutativeN/A
mul-1-negN/A
sub-negN/A
lower--.f64N/A
lower-/.f6499.9
Applied rewrites99.9%
if -7.99999999999999955e72 < x Initial program 94.7%
lift-fabs.f64N/A
neg-fabsN/A
lower-fabs.f64N/A
lift--.f64N/A
sub-negN/A
+-commutativeN/A
distribute-neg-inN/A
remove-double-negN/A
sub-negN/A
lift-*.f64N/A
lift-/.f64N/A
associate-*l/N/A
lift-/.f64N/A
sub-divN/A
lower-/.f64N/A
Applied rewrites98.5%
(FPCore (x y z) :precision binary64 (let* ((t_0 (fabs (/ x y)))) (if (<= x -1.55) t_0 (if (<= x 4.0) (fabs (/ 4.0 y)) t_0))))
double code(double x, double y, double z) {
double t_0 = fabs((x / y));
double tmp;
if (x <= -1.55) {
tmp = t_0;
} else if (x <= 4.0) {
tmp = fabs((4.0 / y));
} else {
tmp = t_0;
}
return tmp;
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8) :: t_0
real(8) :: tmp
t_0 = abs((x / y))
if (x <= (-1.55d0)) then
tmp = t_0
else if (x <= 4.0d0) then
tmp = abs((4.0d0 / y))
else
tmp = t_0
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double t_0 = Math.abs((x / y));
double tmp;
if (x <= -1.55) {
tmp = t_0;
} else if (x <= 4.0) {
tmp = Math.abs((4.0 / y));
} else {
tmp = t_0;
}
return tmp;
}
def code(x, y, z): t_0 = math.fabs((x / y)) tmp = 0 if x <= -1.55: tmp = t_0 elif x <= 4.0: tmp = math.fabs((4.0 / y)) else: tmp = t_0 return tmp
function code(x, y, z) t_0 = abs(Float64(x / y)) tmp = 0.0 if (x <= -1.55) tmp = t_0; elseif (x <= 4.0) tmp = abs(Float64(4.0 / y)); else tmp = t_0; end return tmp end
function tmp_2 = code(x, y, z) t_0 = abs((x / y)); tmp = 0.0; if (x <= -1.55) tmp = t_0; elseif (x <= 4.0) tmp = abs((4.0 / y)); else tmp = t_0; end tmp_2 = tmp; end
code[x_, y_, z_] := Block[{t$95$0 = N[Abs[N[(x / y), $MachinePrecision]], $MachinePrecision]}, If[LessEqual[x, -1.55], t$95$0, If[LessEqual[x, 4.0], N[Abs[N[(4.0 / y), $MachinePrecision]], $MachinePrecision], t$95$0]]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := \left|\frac{x}{y}\right|\\
\mathbf{if}\;x \leq -1.55:\\
\;\;\;\;t\_0\\
\mathbf{elif}\;x \leq 4:\\
\;\;\;\;\left|\frac{4}{y}\right|\\
\mathbf{else}:\\
\;\;\;\;t\_0\\
\end{array}
\end{array}
if x < -1.55000000000000004 or 4 < x Initial program 89.3%
Taylor expanded in z around 0
*-rgt-identityN/A
associate-*r/N/A
distribute-rgt-outN/A
associate-*l/N/A
metadata-evalN/A
associate-*r*N/A
associate-*r/N/A
neg-mul-1N/A
mul-1-negN/A
distribute-frac-negN/A
remove-double-negN/A
lower-/.f64N/A
+-commutativeN/A
metadata-evalN/A
metadata-evalN/A
sub-negN/A
lower--.f64N/A
metadata-eval62.2
Applied rewrites62.2%
Taylor expanded in x around inf
Applied rewrites61.6%
if -1.55000000000000004 < x < 4Initial program 98.9%
Taylor expanded in x around 0
lower-/.f6482.6
Applied rewrites82.6%
(FPCore (x y z) :precision binary64 (fabs (/ (- x -4.0) y)))
double code(double x, double y, double z) {
return fabs(((x - -4.0) / y));
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = abs(((x - (-4.0d0)) / y))
end function
public static double code(double x, double y, double z) {
return Math.abs(((x - -4.0) / y));
}
def code(x, y, z): return math.fabs(((x - -4.0) / y))
function code(x, y, z) return abs(Float64(Float64(x - -4.0) / y)) end
function tmp = code(x, y, z) tmp = abs(((x - -4.0) / y)); end
code[x_, y_, z_] := N[Abs[N[(N[(x - -4.0), $MachinePrecision] / y), $MachinePrecision]], $MachinePrecision]
\begin{array}{l}
\\
\left|\frac{x - -4}{y}\right|
\end{array}
Initial program 94.0%
Taylor expanded in z around 0
*-rgt-identityN/A
associate-*r/N/A
distribute-rgt-outN/A
associate-*l/N/A
metadata-evalN/A
associate-*r*N/A
associate-*r/N/A
neg-mul-1N/A
mul-1-negN/A
distribute-frac-negN/A
remove-double-negN/A
lower-/.f64N/A
+-commutativeN/A
metadata-evalN/A
metadata-evalN/A
sub-negN/A
lower--.f64N/A
metadata-eval72.7
Applied rewrites72.7%
(FPCore (x y z) :precision binary64 (fabs (/ x y)))
double code(double x, double y, double z) {
return fabs((x / y));
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = abs((x / y))
end function
public static double code(double x, double y, double z) {
return Math.abs((x / y));
}
def code(x, y, z): return math.fabs((x / y))
function code(x, y, z) return abs(Float64(x / y)) end
function tmp = code(x, y, z) tmp = abs((x / y)); end
code[x_, y_, z_] := N[Abs[N[(x / y), $MachinePrecision]], $MachinePrecision]
\begin{array}{l}
\\
\left|\frac{x}{y}\right|
\end{array}
Initial program 94.0%
Taylor expanded in z around 0
*-rgt-identityN/A
associate-*r/N/A
distribute-rgt-outN/A
associate-*l/N/A
metadata-evalN/A
associate-*r*N/A
associate-*r/N/A
neg-mul-1N/A
mul-1-negN/A
distribute-frac-negN/A
remove-double-negN/A
lower-/.f64N/A
+-commutativeN/A
metadata-evalN/A
metadata-evalN/A
sub-negN/A
lower--.f64N/A
metadata-eval72.7
Applied rewrites72.7%
Taylor expanded in x around inf
Applied rewrites34.2%
herbie shell --seed 2024254
(FPCore (x y z)
:name "fabs fraction 1"
:precision binary64
(fabs (- (/ (+ x 4.0) y) (* (/ x y) z))))