
(FPCore (x y) :precision binary64 (- (- 1.0 (/ 1.0 (* x 9.0))) (/ y (* 3.0 (sqrt x)))))
double code(double x, double y) {
return (1.0 - (1.0 / (x * 9.0))) - (y / (3.0 * sqrt(x)));
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = (1.0d0 - (1.0d0 / (x * 9.0d0))) - (y / (3.0d0 * sqrt(x)))
end function
public static double code(double x, double y) {
return (1.0 - (1.0 / (x * 9.0))) - (y / (3.0 * Math.sqrt(x)));
}
def code(x, y): return (1.0 - (1.0 / (x * 9.0))) - (y / (3.0 * math.sqrt(x)))
function code(x, y) return Float64(Float64(1.0 - Float64(1.0 / Float64(x * 9.0))) - Float64(y / Float64(3.0 * sqrt(x)))) end
function tmp = code(x, y) tmp = (1.0 - (1.0 / (x * 9.0))) - (y / (3.0 * sqrt(x))); end
code[x_, y_] := N[(N[(1.0 - N[(1.0 / N[(x * 9.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y / N[(3.0 * N[Sqrt[x], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(1 - \frac{1}{x \cdot 9}\right) - \frac{y}{3 \cdot \sqrt{x}}
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 8 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y) :precision binary64 (- (- 1.0 (/ 1.0 (* x 9.0))) (/ y (* 3.0 (sqrt x)))))
double code(double x, double y) {
return (1.0 - (1.0 / (x * 9.0))) - (y / (3.0 * sqrt(x)));
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = (1.0d0 - (1.0d0 / (x * 9.0d0))) - (y / (3.0d0 * sqrt(x)))
end function
public static double code(double x, double y) {
return (1.0 - (1.0 / (x * 9.0))) - (y / (3.0 * Math.sqrt(x)));
}
def code(x, y): return (1.0 - (1.0 / (x * 9.0))) - (y / (3.0 * math.sqrt(x)))
function code(x, y) return Float64(Float64(1.0 - Float64(1.0 / Float64(x * 9.0))) - Float64(y / Float64(3.0 * sqrt(x)))) end
function tmp = code(x, y) tmp = (1.0 - (1.0 / (x * 9.0))) - (y / (3.0 * sqrt(x))); end
code[x_, y_] := N[(N[(1.0 - N[(1.0 / N[(x * 9.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y / N[(3.0 * N[Sqrt[x], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(1 - \frac{1}{x \cdot 9}\right) - \frac{y}{3 \cdot \sqrt{x}}
\end{array}
(FPCore (x y) :precision binary64 (- (+ 1.0 (/ -1.0 (* x 9.0))) (/ y (sqrt (* x 9.0)))))
double code(double x, double y) {
return (1.0 + (-1.0 / (x * 9.0))) - (y / sqrt((x * 9.0)));
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = (1.0d0 + ((-1.0d0) / (x * 9.0d0))) - (y / sqrt((x * 9.0d0)))
end function
public static double code(double x, double y) {
return (1.0 + (-1.0 / (x * 9.0))) - (y / Math.sqrt((x * 9.0)));
}
def code(x, y): return (1.0 + (-1.0 / (x * 9.0))) - (y / math.sqrt((x * 9.0)))
function code(x, y) return Float64(Float64(1.0 + Float64(-1.0 / Float64(x * 9.0))) - Float64(y / sqrt(Float64(x * 9.0)))) end
function tmp = code(x, y) tmp = (1.0 + (-1.0 / (x * 9.0))) - (y / sqrt((x * 9.0))); end
code[x_, y_] := N[(N[(1.0 + N[(-1.0 / N[(x * 9.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y / N[Sqrt[N[(x * 9.0), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(1 + \frac{-1}{x \cdot 9}\right) - \frac{y}{\sqrt{x \cdot 9}}
\end{array}
Initial program 99.7%
*-commutative99.7%
metadata-eval99.7%
sqrt-prod99.7%
pow1/299.7%
Applied egg-rr99.7%
unpow1/299.7%
Simplified99.7%
Final simplification99.7%
(FPCore (x y) :precision binary64 (+ (- 1.0 (/ 0.1111111111111111 x)) (* -0.3333333333333333 (/ y (sqrt x)))))
double code(double x, double y) {
return (1.0 - (0.1111111111111111 / x)) + (-0.3333333333333333 * (y / sqrt(x)));
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = (1.0d0 - (0.1111111111111111d0 / x)) + ((-0.3333333333333333d0) * (y / sqrt(x)))
end function
public static double code(double x, double y) {
return (1.0 - (0.1111111111111111 / x)) + (-0.3333333333333333 * (y / Math.sqrt(x)));
}
def code(x, y): return (1.0 - (0.1111111111111111 / x)) + (-0.3333333333333333 * (y / math.sqrt(x)))
function code(x, y) return Float64(Float64(1.0 - Float64(0.1111111111111111 / x)) + Float64(-0.3333333333333333 * Float64(y / sqrt(x)))) end
function tmp = code(x, y) tmp = (1.0 - (0.1111111111111111 / x)) + (-0.3333333333333333 * (y / sqrt(x))); end
code[x_, y_] := N[(N[(1.0 - N[(0.1111111111111111 / x), $MachinePrecision]), $MachinePrecision] + N[(-0.3333333333333333 * N[(y / N[Sqrt[x], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(1 - \frac{0.1111111111111111}{x}\right) + -0.3333333333333333 \cdot \frac{y}{\sqrt{x}}
\end{array}
Initial program 99.7%
sub-neg99.7%
*-commutative99.7%
associate-/r*99.7%
metadata-eval99.7%
distribute-frac-neg99.7%
neg-mul-199.7%
times-frac99.6%
metadata-eval99.6%
Simplified99.6%
Final simplification99.6%
(FPCore (x y) :precision binary64 (- (- 1.0 (/ 0.1111111111111111 x)) (* y (sqrt (/ 0.1111111111111111 x)))))
double code(double x, double y) {
return (1.0 - (0.1111111111111111 / x)) - (y * sqrt((0.1111111111111111 / x)));
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = (1.0d0 - (0.1111111111111111d0 / x)) - (y * sqrt((0.1111111111111111d0 / x)))
end function
public static double code(double x, double y) {
return (1.0 - (0.1111111111111111 / x)) - (y * Math.sqrt((0.1111111111111111 / x)));
}
def code(x, y): return (1.0 - (0.1111111111111111 / x)) - (y * math.sqrt((0.1111111111111111 / x)))
function code(x, y) return Float64(Float64(1.0 - Float64(0.1111111111111111 / x)) - Float64(y * sqrt(Float64(0.1111111111111111 / x)))) end
function tmp = code(x, y) tmp = (1.0 - (0.1111111111111111 / x)) - (y * sqrt((0.1111111111111111 / x))); end
code[x_, y_] := N[(N[(1.0 - N[(0.1111111111111111 / x), $MachinePrecision]), $MachinePrecision] - N[(y * N[Sqrt[N[(0.1111111111111111 / x), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(1 - \frac{0.1111111111111111}{x}\right) - y \cdot \sqrt{\frac{0.1111111111111111}{x}}
\end{array}
Initial program 99.7%
Taylor expanded in x around 0 99.7%
clear-num99.6%
associate-/r/99.6%
associate-/r*99.6%
metadata-eval99.6%
metadata-eval99.6%
sqrt-div99.7%
Applied egg-rr99.7%
Final simplification99.7%
(FPCore (x y) :precision binary64 (- (- 1.0 (/ 0.1111111111111111 x)) (/ y (sqrt (* x 9.0)))))
double code(double x, double y) {
return (1.0 - (0.1111111111111111 / x)) - (y / sqrt((x * 9.0)));
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = (1.0d0 - (0.1111111111111111d0 / x)) - (y / sqrt((x * 9.0d0)))
end function
public static double code(double x, double y) {
return (1.0 - (0.1111111111111111 / x)) - (y / Math.sqrt((x * 9.0)));
}
def code(x, y): return (1.0 - (0.1111111111111111 / x)) - (y / math.sqrt((x * 9.0)))
function code(x, y) return Float64(Float64(1.0 - Float64(0.1111111111111111 / x)) - Float64(y / sqrt(Float64(x * 9.0)))) end
function tmp = code(x, y) tmp = (1.0 - (0.1111111111111111 / x)) - (y / sqrt((x * 9.0))); end
code[x_, y_] := N[(N[(1.0 - N[(0.1111111111111111 / x), $MachinePrecision]), $MachinePrecision] - N[(y / N[Sqrt[N[(x * 9.0), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(1 - \frac{0.1111111111111111}{x}\right) - \frac{y}{\sqrt{x \cdot 9}}
\end{array}
Initial program 99.7%
*-commutative99.7%
metadata-eval99.7%
sqrt-prod99.7%
pow1/299.7%
Applied egg-rr99.7%
unpow1/299.7%
Simplified99.7%
Taylor expanded in x around 0 99.7%
Final simplification99.7%
(FPCore (x y)
:precision binary64
(if (<= y -2.2e+95)
(/
(- 1.0 (* (/ 0.1111111111111111 x) (/ 0.1111111111111111 x)))
(- 1.0 (/ 0.1111111111111111 x)))
(+ 1.0 (/ -1.0 (* x 9.0)))))
double code(double x, double y) {
double tmp;
if (y <= -2.2e+95) {
tmp = (1.0 - ((0.1111111111111111 / x) * (0.1111111111111111 / x))) / (1.0 - (0.1111111111111111 / x));
} else {
tmp = 1.0 + (-1.0 / (x * 9.0));
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: tmp
if (y <= (-2.2d+95)) then
tmp = (1.0d0 - ((0.1111111111111111d0 / x) * (0.1111111111111111d0 / x))) / (1.0d0 - (0.1111111111111111d0 / x))
else
tmp = 1.0d0 + ((-1.0d0) / (x * 9.0d0))
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if (y <= -2.2e+95) {
tmp = (1.0 - ((0.1111111111111111 / x) * (0.1111111111111111 / x))) / (1.0 - (0.1111111111111111 / x));
} else {
tmp = 1.0 + (-1.0 / (x * 9.0));
}
return tmp;
}
def code(x, y): tmp = 0 if y <= -2.2e+95: tmp = (1.0 - ((0.1111111111111111 / x) * (0.1111111111111111 / x))) / (1.0 - (0.1111111111111111 / x)) else: tmp = 1.0 + (-1.0 / (x * 9.0)) return tmp
function code(x, y) tmp = 0.0 if (y <= -2.2e+95) tmp = Float64(Float64(1.0 - Float64(Float64(0.1111111111111111 / x) * Float64(0.1111111111111111 / x))) / Float64(1.0 - Float64(0.1111111111111111 / x))); else tmp = Float64(1.0 + Float64(-1.0 / Float64(x * 9.0))); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if (y <= -2.2e+95) tmp = (1.0 - ((0.1111111111111111 / x) * (0.1111111111111111 / x))) / (1.0 - (0.1111111111111111 / x)); else tmp = 1.0 + (-1.0 / (x * 9.0)); end tmp_2 = tmp; end
code[x_, y_] := If[LessEqual[y, -2.2e+95], N[(N[(1.0 - N[(N[(0.1111111111111111 / x), $MachinePrecision] * N[(0.1111111111111111 / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(1.0 - N[(0.1111111111111111 / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(1.0 + N[(-1.0 / N[(x * 9.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -2.2 \cdot 10^{+95}:\\
\;\;\;\;\frac{1 - \frac{0.1111111111111111}{x} \cdot \frac{0.1111111111111111}{x}}{1 - \frac{0.1111111111111111}{x}}\\
\mathbf{else}:\\
\;\;\;\;1 + \frac{-1}{x \cdot 9}\\
\end{array}
\end{array}
if y < -2.1999999999999999e95Initial program 99.5%
sub-neg99.5%
+-commutative99.5%
associate--l+99.5%
neg-mul-199.5%
sub-neg99.5%
distribute-frac-neg99.5%
*-commutative99.5%
associate-/r*99.5%
associate-*r/99.5%
metadata-eval99.5%
metadata-eval99.5%
+-commutative99.5%
neg-mul-199.5%
*-commutative99.5%
associate-*r/99.5%
fma-def99.5%
associate-/r*99.5%
metadata-eval99.5%
Simplified99.5%
Taylor expanded in y around 0 2.4%
add-sqr-sqrt0.0%
sqrt-unprod21.0%
frac-times21.0%
metadata-eval21.0%
metadata-eval21.0%
frac-times21.0%
metadata-eval21.0%
associate-*l/21.0%
metadata-eval21.0%
associate-*l/21.0%
swap-sqr22.9%
inv-pow22.9%
inv-pow22.9%
pow-prod-up22.9%
metadata-eval22.9%
metadata-eval22.9%
Applied egg-rr22.9%
metadata-eval22.9%
pow-sqr22.9%
unpow-122.9%
unpow-122.9%
metadata-eval22.9%
swap-sqr21.0%
associate-*l/21.0%
metadata-eval21.0%
associate-*l/21.0%
metadata-eval21.0%
rem-sqrt-square5.8%
Simplified5.8%
+-commutative5.8%
fabs-div5.8%
metadata-eval5.8%
add-sqr-sqrt5.8%
fabs-sqr5.8%
add-sqr-sqrt5.8%
metadata-eval5.8%
associate-*l/5.8%
metadata-eval5.8%
distribute-neg-frac5.8%
cancel-sign-sub-inv5.8%
*-rgt-identity5.8%
Applied egg-rr5.8%
sub-neg5.8%
flip-+21.0%
metadata-eval21.0%
distribute-neg-frac21.0%
metadata-eval21.0%
distribute-neg-frac21.0%
metadata-eval21.0%
distribute-neg-frac21.0%
metadata-eval21.0%
Applied egg-rr21.0%
if -2.1999999999999999e95 < y Initial program 99.7%
sub-neg99.7%
+-commutative99.7%
associate--l+99.7%
neg-mul-199.7%
sub-neg99.7%
distribute-frac-neg99.7%
*-commutative99.7%
associate-/r*99.7%
associate-*r/99.7%
metadata-eval99.7%
metadata-eval99.7%
+-commutative99.7%
neg-mul-199.7%
*-commutative99.7%
associate-*r/99.7%
fma-def99.7%
associate-/r*99.6%
metadata-eval99.6%
Simplified99.6%
Taylor expanded in y around 0 74.9%
clear-num74.9%
associate-/r/74.9%
Applied egg-rr74.9%
associate-/r/74.9%
clear-num74.9%
add-sqr-sqrt0.0%
fabs-sqr0.0%
add-sqr-sqrt36.8%
fabs-div36.8%
metadata-eval36.8%
add-sqr-sqrt36.8%
fabs-sqr36.8%
metadata-eval36.8%
add-sqr-sqrt36.8%
distribute-neg-frac36.8%
clear-num36.8%
distribute-neg-frac36.8%
metadata-eval36.8%
clear-num36.8%
add-sqr-sqrt0.0%
fabs-sqr0.0%
add-sqr-sqrt74.9%
fabs-div74.9%
metadata-eval74.9%
add-sqr-sqrt74.7%
fabs-sqr74.7%
add-sqr-sqrt74.9%
clear-num74.9%
div-inv74.9%
metadata-eval74.9%
Applied egg-rr74.9%
Final simplification64.6%
(FPCore (x y) :precision binary64 (+ 1.0 (/ -1.0 (* x 9.0))))
double code(double x, double y) {
return 1.0 + (-1.0 / (x * 9.0));
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = 1.0d0 + ((-1.0d0) / (x * 9.0d0))
end function
public static double code(double x, double y) {
return 1.0 + (-1.0 / (x * 9.0));
}
def code(x, y): return 1.0 + (-1.0 / (x * 9.0))
function code(x, y) return Float64(1.0 + Float64(-1.0 / Float64(x * 9.0))) end
function tmp = code(x, y) tmp = 1.0 + (-1.0 / (x * 9.0)); end
code[x_, y_] := N[(1.0 + N[(-1.0 / N[(x * 9.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
1 + \frac{-1}{x \cdot 9}
\end{array}
Initial program 99.7%
sub-neg99.7%
+-commutative99.7%
associate--l+99.7%
neg-mul-199.7%
sub-neg99.7%
distribute-frac-neg99.7%
*-commutative99.7%
associate-/r*99.7%
associate-*r/99.7%
metadata-eval99.7%
metadata-eval99.7%
+-commutative99.7%
neg-mul-199.7%
*-commutative99.7%
associate-*r/99.6%
fma-def99.6%
associate-/r*99.6%
metadata-eval99.6%
Simplified99.6%
Taylor expanded in y around 0 61.0%
clear-num61.0%
associate-/r/61.0%
Applied egg-rr61.0%
associate-/r/61.0%
clear-num61.0%
add-sqr-sqrt0.0%
fabs-sqr0.0%
add-sqr-sqrt30.9%
fabs-div30.9%
metadata-eval30.9%
add-sqr-sqrt30.9%
fabs-sqr30.9%
metadata-eval30.9%
add-sqr-sqrt30.9%
distribute-neg-frac30.9%
clear-num30.9%
distribute-neg-frac30.9%
metadata-eval30.9%
clear-num30.9%
add-sqr-sqrt0.0%
fabs-sqr0.0%
add-sqr-sqrt61.0%
fabs-div61.0%
metadata-eval61.0%
add-sqr-sqrt60.9%
fabs-sqr60.9%
add-sqr-sqrt61.0%
clear-num61.0%
div-inv61.1%
metadata-eval61.1%
Applied egg-rr61.1%
Final simplification61.1%
(FPCore (x y) :precision binary64 (+ 1.0 (/ -0.1111111111111111 x)))
double code(double x, double y) {
return 1.0 + (-0.1111111111111111 / x);
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = 1.0d0 + ((-0.1111111111111111d0) / x)
end function
public static double code(double x, double y) {
return 1.0 + (-0.1111111111111111 / x);
}
def code(x, y): return 1.0 + (-0.1111111111111111 / x)
function code(x, y) return Float64(1.0 + Float64(-0.1111111111111111 / x)) end
function tmp = code(x, y) tmp = 1.0 + (-0.1111111111111111 / x); end
code[x_, y_] := N[(1.0 + N[(-0.1111111111111111 / x), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
1 + \frac{-0.1111111111111111}{x}
\end{array}
Initial program 99.7%
sub-neg99.7%
+-commutative99.7%
associate--l+99.7%
neg-mul-199.7%
sub-neg99.7%
distribute-frac-neg99.7%
*-commutative99.7%
associate-/r*99.7%
associate-*r/99.7%
metadata-eval99.7%
metadata-eval99.7%
+-commutative99.7%
neg-mul-199.7%
*-commutative99.7%
associate-*r/99.6%
fma-def99.6%
associate-/r*99.6%
metadata-eval99.6%
Simplified99.6%
Taylor expanded in y around 0 61.0%
Final simplification61.0%
(FPCore (x y) :precision binary64 1.0)
double code(double x, double y) {
return 1.0;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = 1.0d0
end function
public static double code(double x, double y) {
return 1.0;
}
def code(x, y): return 1.0
function code(x, y) return 1.0 end
function tmp = code(x, y) tmp = 1.0; end
code[x_, y_] := 1.0
\begin{array}{l}
\\
1
\end{array}
Initial program 99.7%
sub-neg99.7%
+-commutative99.7%
associate--l+99.7%
neg-mul-199.7%
sub-neg99.7%
distribute-frac-neg99.7%
*-commutative99.7%
associate-/r*99.7%
associate-*r/99.7%
metadata-eval99.7%
metadata-eval99.7%
+-commutative99.7%
neg-mul-199.7%
*-commutative99.7%
associate-*r/99.6%
fma-def99.6%
associate-/r*99.6%
metadata-eval99.6%
Simplified99.6%
Taylor expanded in y around 0 61.0%
add-sqr-sqrt0.0%
sqrt-unprod33.8%
frac-times33.8%
metadata-eval33.8%
metadata-eval33.8%
frac-times33.8%
metadata-eval33.8%
associate-*l/33.8%
metadata-eval33.8%
associate-*l/33.8%
swap-sqr34.1%
inv-pow34.1%
inv-pow34.1%
pow-prod-up34.1%
metadata-eval34.1%
metadata-eval34.1%
Applied egg-rr34.1%
metadata-eval34.1%
pow-sqr34.1%
unpow-134.1%
unpow-134.1%
metadata-eval34.1%
swap-sqr33.8%
associate-*l/33.8%
metadata-eval33.8%
associate-*l/33.8%
metadata-eval33.8%
rem-sqrt-square30.9%
Simplified30.9%
+-commutative30.9%
fabs-div30.9%
metadata-eval30.9%
add-sqr-sqrt30.9%
fabs-sqr30.9%
add-sqr-sqrt30.9%
metadata-eval30.9%
associate-*l/30.9%
metadata-eval30.9%
distribute-neg-frac30.9%
cancel-sign-sub-inv30.9%
*-rgt-identity30.9%
Applied egg-rr30.9%
Taylor expanded in x around inf 30.8%
Final simplification30.8%
(FPCore (x y) :precision binary64 (- (- 1.0 (/ (/ 1.0 x) 9.0)) (/ y (* 3.0 (sqrt x)))))
double code(double x, double y) {
return (1.0 - ((1.0 / x) / 9.0)) - (y / (3.0 * sqrt(x)));
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = (1.0d0 - ((1.0d0 / x) / 9.0d0)) - (y / (3.0d0 * sqrt(x)))
end function
public static double code(double x, double y) {
return (1.0 - ((1.0 / x) / 9.0)) - (y / (3.0 * Math.sqrt(x)));
}
def code(x, y): return (1.0 - ((1.0 / x) / 9.0)) - (y / (3.0 * math.sqrt(x)))
function code(x, y) return Float64(Float64(1.0 - Float64(Float64(1.0 / x) / 9.0)) - Float64(y / Float64(3.0 * sqrt(x)))) end
function tmp = code(x, y) tmp = (1.0 - ((1.0 / x) / 9.0)) - (y / (3.0 * sqrt(x))); end
code[x_, y_] := N[(N[(1.0 - N[(N[(1.0 / x), $MachinePrecision] / 9.0), $MachinePrecision]), $MachinePrecision] - N[(y / N[(3.0 * N[Sqrt[x], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(1 - \frac{\frac{1}{x}}{9}\right) - \frac{y}{3 \cdot \sqrt{x}}
\end{array}
herbie shell --seed 2023334
(FPCore (x y)
:name "Numeric.SpecFunctions:invIncompleteGamma from math-functions-0.1.5.2, D"
:precision binary64
:herbie-target
(- (- 1.0 (/ (/ 1.0 x) 9.0)) (/ y (* 3.0 (sqrt x))))
(- (- 1.0 (/ 1.0 (* x 9.0))) (/ y (* 3.0 (sqrt x)))))