
(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 14 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 (* 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}
Initial program 99.6%
Final simplification99.6%
(FPCore (x y) :precision binary64 (if (or (<= y -5e+36) (not (<= y 2.25e+36))) (+ 1.0 (* (sqrt (/ 1.0 x)) (* y -0.3333333333333333))) (+ 1.0 (* 0.1111111111111111 (/ -1.0 x)))))
double code(double x, double y) {
double tmp;
if ((y <= -5e+36) || !(y <= 2.25e+36)) {
tmp = 1.0 + (sqrt((1.0 / x)) * (y * -0.3333333333333333));
} else {
tmp = 1.0 + (0.1111111111111111 * (-1.0 / x));
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: tmp
if ((y <= (-5d+36)) .or. (.not. (y <= 2.25d+36))) then
tmp = 1.0d0 + (sqrt((1.0d0 / x)) * (y * (-0.3333333333333333d0)))
else
tmp = 1.0d0 + (0.1111111111111111d0 * ((-1.0d0) / x))
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if ((y <= -5e+36) || !(y <= 2.25e+36)) {
tmp = 1.0 + (Math.sqrt((1.0 / x)) * (y * -0.3333333333333333));
} else {
tmp = 1.0 + (0.1111111111111111 * (-1.0 / x));
}
return tmp;
}
def code(x, y): tmp = 0 if (y <= -5e+36) or not (y <= 2.25e+36): tmp = 1.0 + (math.sqrt((1.0 / x)) * (y * -0.3333333333333333)) else: tmp = 1.0 + (0.1111111111111111 * (-1.0 / x)) return tmp
function code(x, y) tmp = 0.0 if ((y <= -5e+36) || !(y <= 2.25e+36)) tmp = Float64(1.0 + Float64(sqrt(Float64(1.0 / x)) * Float64(y * -0.3333333333333333))); else tmp = Float64(1.0 + Float64(0.1111111111111111 * Float64(-1.0 / x))); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if ((y <= -5e+36) || ~((y <= 2.25e+36))) tmp = 1.0 + (sqrt((1.0 / x)) * (y * -0.3333333333333333)); else tmp = 1.0 + (0.1111111111111111 * (-1.0 / x)); end tmp_2 = tmp; end
code[x_, y_] := If[Or[LessEqual[y, -5e+36], N[Not[LessEqual[y, 2.25e+36]], $MachinePrecision]], N[(1.0 + N[(N[Sqrt[N[(1.0 / x), $MachinePrecision]], $MachinePrecision] * N[(y * -0.3333333333333333), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(1.0 + N[(0.1111111111111111 * N[(-1.0 / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -5 \cdot 10^{+36} \lor \neg \left(y \leq 2.25 \cdot 10^{+36}\right):\\
\;\;\;\;1 + \sqrt{\frac{1}{x}} \cdot \left(y \cdot -0.3333333333333333\right)\\
\mathbf{else}:\\
\;\;\;\;1 + 0.1111111111111111 \cdot \frac{-1}{x}\\
\end{array}
\end{array}
if y < -4.99999999999999977e36 or 2.24999999999999998e36 < y Initial program 99.5%
associate--l-99.5%
sub-neg99.5%
+-commutative99.5%
distribute-neg-in99.5%
distribute-frac-neg99.5%
sub-neg99.5%
neg-mul-199.5%
*-commutative99.5%
associate-/l*99.5%
fma-neg99.5%
associate-/r*99.5%
metadata-eval99.5%
*-commutative99.5%
associate-/r*99.5%
distribute-neg-frac99.5%
metadata-eval99.5%
metadata-eval99.5%
Simplified99.5%
Taylor expanded in y around inf 93.3%
associate-*r*93.4%
*-commutative93.4%
associate-*l*93.3%
Simplified93.3%
if -4.99999999999999977e36 < y < 2.24999999999999998e36Initial program 99.7%
associate--l-99.7%
sub-neg99.7%
+-commutative99.7%
distribute-neg-in99.7%
distribute-frac-neg99.7%
sub-neg99.7%
neg-mul-199.7%
*-commutative99.7%
associate-/l*99.7%
fma-neg99.7%
associate-/r*99.7%
metadata-eval99.7%
*-commutative99.7%
associate-/r*99.6%
distribute-neg-frac99.6%
metadata-eval99.6%
metadata-eval99.6%
Simplified99.6%
Taylor expanded in y around 0 97.9%
Final simplification95.9%
(FPCore (x y) :precision binary64 (if (or (<= y -1.85e+42) (not (<= y 5.2e+36))) (+ 1.0 (* y (* -0.3333333333333333 (sqrt (/ 1.0 x))))) (+ 1.0 (* 0.1111111111111111 (/ -1.0 x)))))
double code(double x, double y) {
double tmp;
if ((y <= -1.85e+42) || !(y <= 5.2e+36)) {
tmp = 1.0 + (y * (-0.3333333333333333 * sqrt((1.0 / x))));
} else {
tmp = 1.0 + (0.1111111111111111 * (-1.0 / x));
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: tmp
if ((y <= (-1.85d+42)) .or. (.not. (y <= 5.2d+36))) then
tmp = 1.0d0 + (y * ((-0.3333333333333333d0) * sqrt((1.0d0 / x))))
else
tmp = 1.0d0 + (0.1111111111111111d0 * ((-1.0d0) / x))
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if ((y <= -1.85e+42) || !(y <= 5.2e+36)) {
tmp = 1.0 + (y * (-0.3333333333333333 * Math.sqrt((1.0 / x))));
} else {
tmp = 1.0 + (0.1111111111111111 * (-1.0 / x));
}
return tmp;
}
def code(x, y): tmp = 0 if (y <= -1.85e+42) or not (y <= 5.2e+36): tmp = 1.0 + (y * (-0.3333333333333333 * math.sqrt((1.0 / x)))) else: tmp = 1.0 + (0.1111111111111111 * (-1.0 / x)) return tmp
function code(x, y) tmp = 0.0 if ((y <= -1.85e+42) || !(y <= 5.2e+36)) tmp = Float64(1.0 + Float64(y * Float64(-0.3333333333333333 * sqrt(Float64(1.0 / x))))); else tmp = Float64(1.0 + Float64(0.1111111111111111 * Float64(-1.0 / x))); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if ((y <= -1.85e+42) || ~((y <= 5.2e+36))) tmp = 1.0 + (y * (-0.3333333333333333 * sqrt((1.0 / x)))); else tmp = 1.0 + (0.1111111111111111 * (-1.0 / x)); end tmp_2 = tmp; end
code[x_, y_] := If[Or[LessEqual[y, -1.85e+42], N[Not[LessEqual[y, 5.2e+36]], $MachinePrecision]], N[(1.0 + N[(y * N[(-0.3333333333333333 * N[Sqrt[N[(1.0 / x), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(1.0 + N[(0.1111111111111111 * N[(-1.0 / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.85 \cdot 10^{+42} \lor \neg \left(y \leq 5.2 \cdot 10^{+36}\right):\\
\;\;\;\;1 + y \cdot \left(-0.3333333333333333 \cdot \sqrt{\frac{1}{x}}\right)\\
\mathbf{else}:\\
\;\;\;\;1 + 0.1111111111111111 \cdot \frac{-1}{x}\\
\end{array}
\end{array}
if y < -1.84999999999999998e42 or 5.2000000000000003e36 < y Initial program 99.5%
sub-neg99.5%
*-commutative99.5%
associate-/r*99.5%
metadata-eval99.5%
distribute-frac-neg99.5%
neg-mul-199.5%
times-frac99.4%
metadata-eval99.4%
Simplified99.4%
add-sqr-sqrt46.0%
sqrt-unprod36.8%
frac-times29.8%
pow229.8%
add-sqr-sqrt29.8%
Applied egg-rr29.8%
sqrt-div34.0%
sqrt-pow199.4%
metadata-eval99.4%
pow199.4%
clear-num99.4%
div-inv99.2%
associate-/r*99.3%
Applied egg-rr99.3%
*-un-lft-identity99.3%
pow1/299.3%
pow-flip99.4%
metadata-eval99.4%
Applied egg-rr99.4%
*-lft-identity99.4%
Simplified99.4%
Taylor expanded in x around inf 93.3%
associate-*r*93.4%
Simplified93.4%
if -1.84999999999999998e42 < y < 5.2000000000000003e36Initial program 99.7%
associate--l-99.7%
sub-neg99.7%
+-commutative99.7%
distribute-neg-in99.7%
distribute-frac-neg99.7%
sub-neg99.7%
neg-mul-199.7%
*-commutative99.7%
associate-/l*99.7%
fma-neg99.7%
associate-/r*99.7%
metadata-eval99.7%
*-commutative99.7%
associate-/r*99.6%
distribute-neg-frac99.6%
metadata-eval99.6%
metadata-eval99.6%
Simplified99.6%
Taylor expanded in y around 0 97.9%
Final simplification96.0%
(FPCore (x y) :precision binary64 (if (or (<= y -3.3e+55) (not (<= y 2.9e+46))) (* (pow x -0.5) (* y (- 0.3333333333333333))) (+ 1.0 (* 0.1111111111111111 (/ -1.0 x)))))
double code(double x, double y) {
double tmp;
if ((y <= -3.3e+55) || !(y <= 2.9e+46)) {
tmp = pow(x, -0.5) * (y * -0.3333333333333333);
} else {
tmp = 1.0 + (0.1111111111111111 * (-1.0 / x));
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: tmp
if ((y <= (-3.3d+55)) .or. (.not. (y <= 2.9d+46))) then
tmp = (x ** (-0.5d0)) * (y * -0.3333333333333333d0)
else
tmp = 1.0d0 + (0.1111111111111111d0 * ((-1.0d0) / x))
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if ((y <= -3.3e+55) || !(y <= 2.9e+46)) {
tmp = Math.pow(x, -0.5) * (y * -0.3333333333333333);
} else {
tmp = 1.0 + (0.1111111111111111 * (-1.0 / x));
}
return tmp;
}
def code(x, y): tmp = 0 if (y <= -3.3e+55) or not (y <= 2.9e+46): tmp = math.pow(x, -0.5) * (y * -0.3333333333333333) else: tmp = 1.0 + (0.1111111111111111 * (-1.0 / x)) return tmp
function code(x, y) tmp = 0.0 if ((y <= -3.3e+55) || !(y <= 2.9e+46)) tmp = Float64((x ^ -0.5) * Float64(y * Float64(-0.3333333333333333))); else tmp = Float64(1.0 + Float64(0.1111111111111111 * Float64(-1.0 / x))); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if ((y <= -3.3e+55) || ~((y <= 2.9e+46))) tmp = (x ^ -0.5) * (y * -0.3333333333333333); else tmp = 1.0 + (0.1111111111111111 * (-1.0 / x)); end tmp_2 = tmp; end
code[x_, y_] := If[Or[LessEqual[y, -3.3e+55], N[Not[LessEqual[y, 2.9e+46]], $MachinePrecision]], N[(N[Power[x, -0.5], $MachinePrecision] * N[(y * (-0.3333333333333333)), $MachinePrecision]), $MachinePrecision], N[(1.0 + N[(0.1111111111111111 * N[(-1.0 / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -3.3 \cdot 10^{+55} \lor \neg \left(y \leq 2.9 \cdot 10^{+46}\right):\\
\;\;\;\;{x}^{-0.5} \cdot \left(y \cdot \left(-0.3333333333333333\right)\right)\\
\mathbf{else}:\\
\;\;\;\;1 + 0.1111111111111111 \cdot \frac{-1}{x}\\
\end{array}
\end{array}
if y < -3.3e55 or 2.9000000000000002e46 < y Initial program 99.5%
Taylor expanded in x around 0 72.9%
mul-1-neg72.9%
*-commutative72.9%
Simplified72.9%
Taylor expanded in y around inf 86.5%
*-commutative86.5%
associate-*l*86.5%
Simplified86.5%
inv-pow86.5%
sqrt-pow186.5%
metadata-eval86.5%
*-un-lft-identity86.5%
Applied egg-rr86.5%
*-lft-identity86.5%
Simplified86.5%
if -3.3e55 < y < 2.9000000000000002e46Initial program 99.7%
associate--l-99.7%
sub-neg99.7%
+-commutative99.7%
distribute-neg-in99.7%
distribute-frac-neg99.7%
sub-neg99.7%
neg-mul-199.7%
*-commutative99.7%
associate-/l*99.7%
fma-neg99.7%
associate-/r*99.7%
metadata-eval99.7%
*-commutative99.7%
associate-/r*99.6%
distribute-neg-frac99.6%
metadata-eval99.6%
metadata-eval99.6%
Simplified99.6%
Taylor expanded in y around 0 96.7%
Final simplification92.5%
(FPCore (x y)
:precision binary64
(if (<= y -3.8e+55)
(* y (* -0.3333333333333333 (sqrt (/ 1.0 x))))
(if (<= y 2.9e+46)
(+ 1.0 (* 0.1111111111111111 (/ -1.0 x)))
(* (pow x -0.5) (* y (- 0.3333333333333333))))))
double code(double x, double y) {
double tmp;
if (y <= -3.8e+55) {
tmp = y * (-0.3333333333333333 * sqrt((1.0 / x)));
} else if (y <= 2.9e+46) {
tmp = 1.0 + (0.1111111111111111 * (-1.0 / x));
} else {
tmp = pow(x, -0.5) * (y * -0.3333333333333333);
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: tmp
if (y <= (-3.8d+55)) then
tmp = y * ((-0.3333333333333333d0) * sqrt((1.0d0 / x)))
else if (y <= 2.9d+46) then
tmp = 1.0d0 + (0.1111111111111111d0 * ((-1.0d0) / x))
else
tmp = (x ** (-0.5d0)) * (y * -0.3333333333333333d0)
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if (y <= -3.8e+55) {
tmp = y * (-0.3333333333333333 * Math.sqrt((1.0 / x)));
} else if (y <= 2.9e+46) {
tmp = 1.0 + (0.1111111111111111 * (-1.0 / x));
} else {
tmp = Math.pow(x, -0.5) * (y * -0.3333333333333333);
}
return tmp;
}
def code(x, y): tmp = 0 if y <= -3.8e+55: tmp = y * (-0.3333333333333333 * math.sqrt((1.0 / x))) elif y <= 2.9e+46: tmp = 1.0 + (0.1111111111111111 * (-1.0 / x)) else: tmp = math.pow(x, -0.5) * (y * -0.3333333333333333) return tmp
function code(x, y) tmp = 0.0 if (y <= -3.8e+55) tmp = Float64(y * Float64(-0.3333333333333333 * sqrt(Float64(1.0 / x)))); elseif (y <= 2.9e+46) tmp = Float64(1.0 + Float64(0.1111111111111111 * Float64(-1.0 / x))); else tmp = Float64((x ^ -0.5) * Float64(y * Float64(-0.3333333333333333))); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if (y <= -3.8e+55) tmp = y * (-0.3333333333333333 * sqrt((1.0 / x))); elseif (y <= 2.9e+46) tmp = 1.0 + (0.1111111111111111 * (-1.0 / x)); else tmp = (x ^ -0.5) * (y * -0.3333333333333333); end tmp_2 = tmp; end
code[x_, y_] := If[LessEqual[y, -3.8e+55], N[(y * N[(-0.3333333333333333 * N[Sqrt[N[(1.0 / x), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2.9e+46], N[(1.0 + N[(0.1111111111111111 * N[(-1.0 / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[Power[x, -0.5], $MachinePrecision] * N[(y * (-0.3333333333333333)), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -3.8 \cdot 10^{+55}:\\
\;\;\;\;y \cdot \left(-0.3333333333333333 \cdot \sqrt{\frac{1}{x}}\right)\\
\mathbf{elif}\;y \leq 2.9 \cdot 10^{+46}:\\
\;\;\;\;1 + 0.1111111111111111 \cdot \frac{-1}{x}\\
\mathbf{else}:\\
\;\;\;\;{x}^{-0.5} \cdot \left(y \cdot \left(-0.3333333333333333\right)\right)\\
\end{array}
\end{array}
if y < -3.8e55Initial program 99.5%
Taylor expanded in x around 0 99.5%
Taylor expanded in y around inf 84.7%
*-commutative84.7%
*-commutative84.7%
associate-*l*84.9%
Simplified84.9%
if -3.8e55 < y < 2.9000000000000002e46Initial program 99.7%
associate--l-99.7%
sub-neg99.7%
+-commutative99.7%
distribute-neg-in99.7%
distribute-frac-neg99.7%
sub-neg99.7%
neg-mul-199.7%
*-commutative99.7%
associate-/l*99.7%
fma-neg99.7%
associate-/r*99.7%
metadata-eval99.7%
*-commutative99.7%
associate-/r*99.6%
distribute-neg-frac99.6%
metadata-eval99.6%
metadata-eval99.6%
Simplified99.6%
Taylor expanded in y around 0 96.7%
if 2.9000000000000002e46 < y Initial program 99.6%
Taylor expanded in x around 0 64.9%
mul-1-neg64.9%
*-commutative64.9%
Simplified64.9%
Taylor expanded in y around inf 88.6%
*-commutative88.6%
associate-*l*88.5%
Simplified88.5%
inv-pow88.5%
sqrt-pow188.6%
metadata-eval88.6%
*-un-lft-identity88.6%
Applied egg-rr88.6%
*-lft-identity88.6%
Simplified88.6%
Final simplification92.5%
(FPCore (x y)
:precision binary64
(let* ((t_0 (sqrt (/ 1.0 x))))
(if (<= y -3.9e+55)
(* y (* -0.3333333333333333 t_0))
(if (<= y 2.9e+46)
(+ 1.0 (* 0.1111111111111111 (/ -1.0 x)))
(* -0.3333333333333333 (* y t_0))))))
double code(double x, double y) {
double t_0 = sqrt((1.0 / x));
double tmp;
if (y <= -3.9e+55) {
tmp = y * (-0.3333333333333333 * t_0);
} else if (y <= 2.9e+46) {
tmp = 1.0 + (0.1111111111111111 * (-1.0 / x));
} else {
tmp = -0.3333333333333333 * (y * t_0);
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: t_0
real(8) :: tmp
t_0 = sqrt((1.0d0 / x))
if (y <= (-3.9d+55)) then
tmp = y * ((-0.3333333333333333d0) * t_0)
else if (y <= 2.9d+46) then
tmp = 1.0d0 + (0.1111111111111111d0 * ((-1.0d0) / x))
else
tmp = (-0.3333333333333333d0) * (y * t_0)
end if
code = tmp
end function
public static double code(double x, double y) {
double t_0 = Math.sqrt((1.0 / x));
double tmp;
if (y <= -3.9e+55) {
tmp = y * (-0.3333333333333333 * t_0);
} else if (y <= 2.9e+46) {
tmp = 1.0 + (0.1111111111111111 * (-1.0 / x));
} else {
tmp = -0.3333333333333333 * (y * t_0);
}
return tmp;
}
def code(x, y): t_0 = math.sqrt((1.0 / x)) tmp = 0 if y <= -3.9e+55: tmp = y * (-0.3333333333333333 * t_0) elif y <= 2.9e+46: tmp = 1.0 + (0.1111111111111111 * (-1.0 / x)) else: tmp = -0.3333333333333333 * (y * t_0) return tmp
function code(x, y) t_0 = sqrt(Float64(1.0 / x)) tmp = 0.0 if (y <= -3.9e+55) tmp = Float64(y * Float64(-0.3333333333333333 * t_0)); elseif (y <= 2.9e+46) tmp = Float64(1.0 + Float64(0.1111111111111111 * Float64(-1.0 / x))); else tmp = Float64(-0.3333333333333333 * Float64(y * t_0)); end return tmp end
function tmp_2 = code(x, y) t_0 = sqrt((1.0 / x)); tmp = 0.0; if (y <= -3.9e+55) tmp = y * (-0.3333333333333333 * t_0); elseif (y <= 2.9e+46) tmp = 1.0 + (0.1111111111111111 * (-1.0 / x)); else tmp = -0.3333333333333333 * (y * t_0); end tmp_2 = tmp; end
code[x_, y_] := Block[{t$95$0 = N[Sqrt[N[(1.0 / x), $MachinePrecision]], $MachinePrecision]}, If[LessEqual[y, -3.9e+55], N[(y * N[(-0.3333333333333333 * t$95$0), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2.9e+46], N[(1.0 + N[(0.1111111111111111 * N[(-1.0 / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(-0.3333333333333333 * N[(y * t$95$0), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := \sqrt{\frac{1}{x}}\\
\mathbf{if}\;y \leq -3.9 \cdot 10^{+55}:\\
\;\;\;\;y \cdot \left(-0.3333333333333333 \cdot t\_0\right)\\
\mathbf{elif}\;y \leq 2.9 \cdot 10^{+46}:\\
\;\;\;\;1 + 0.1111111111111111 \cdot \frac{-1}{x}\\
\mathbf{else}:\\
\;\;\;\;-0.3333333333333333 \cdot \left(y \cdot t\_0\right)\\
\end{array}
\end{array}
if y < -3.90000000000000027e55Initial program 99.5%
Taylor expanded in x around 0 99.5%
Taylor expanded in y around inf 84.7%
*-commutative84.7%
*-commutative84.7%
associate-*l*84.9%
Simplified84.9%
if -3.90000000000000027e55 < y < 2.9000000000000002e46Initial program 99.7%
associate--l-99.7%
sub-neg99.7%
+-commutative99.7%
distribute-neg-in99.7%
distribute-frac-neg99.7%
sub-neg99.7%
neg-mul-199.7%
*-commutative99.7%
associate-/l*99.7%
fma-neg99.7%
associate-/r*99.7%
metadata-eval99.7%
*-commutative99.7%
associate-/r*99.6%
distribute-neg-frac99.6%
metadata-eval99.6%
metadata-eval99.6%
Simplified99.6%
Taylor expanded in y around 0 96.7%
if 2.9000000000000002e46 < y Initial program 99.6%
Taylor expanded in x around 0 99.6%
Taylor expanded in y around inf 88.6%
*-commutative88.6%
*-commutative88.6%
Simplified88.6%
Final simplification92.5%
(FPCore (x y) :precision binary64 (if (<= x 0.11) (/ (- (* -0.3333333333333333 (* y (sqrt x))) 0.1111111111111111) x) (+ 1.0 (* y (* -0.3333333333333333 (sqrt (/ 1.0 x)))))))
double code(double x, double y) {
double tmp;
if (x <= 0.11) {
tmp = ((-0.3333333333333333 * (y * sqrt(x))) - 0.1111111111111111) / x;
} else {
tmp = 1.0 + (y * (-0.3333333333333333 * sqrt((1.0 / x))));
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: tmp
if (x <= 0.11d0) then
tmp = (((-0.3333333333333333d0) * (y * sqrt(x))) - 0.1111111111111111d0) / x
else
tmp = 1.0d0 + (y * ((-0.3333333333333333d0) * sqrt((1.0d0 / x))))
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if (x <= 0.11) {
tmp = ((-0.3333333333333333 * (y * Math.sqrt(x))) - 0.1111111111111111) / x;
} else {
tmp = 1.0 + (y * (-0.3333333333333333 * Math.sqrt((1.0 / x))));
}
return tmp;
}
def code(x, y): tmp = 0 if x <= 0.11: tmp = ((-0.3333333333333333 * (y * math.sqrt(x))) - 0.1111111111111111) / x else: tmp = 1.0 + (y * (-0.3333333333333333 * math.sqrt((1.0 / x)))) return tmp
function code(x, y) tmp = 0.0 if (x <= 0.11) tmp = Float64(Float64(Float64(-0.3333333333333333 * Float64(y * sqrt(x))) - 0.1111111111111111) / x); else tmp = Float64(1.0 + Float64(y * Float64(-0.3333333333333333 * sqrt(Float64(1.0 / x))))); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if (x <= 0.11) tmp = ((-0.3333333333333333 * (y * sqrt(x))) - 0.1111111111111111) / x; else tmp = 1.0 + (y * (-0.3333333333333333 * sqrt((1.0 / x)))); end tmp_2 = tmp; end
code[x_, y_] := If[LessEqual[x, 0.11], N[(N[(N[(-0.3333333333333333 * N[(y * N[Sqrt[x], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - 0.1111111111111111), $MachinePrecision] / x), $MachinePrecision], N[(1.0 + N[(y * N[(-0.3333333333333333 * N[Sqrt[N[(1.0 / x), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq 0.11:\\
\;\;\;\;\frac{-0.3333333333333333 \cdot \left(y \cdot \sqrt{x}\right) - 0.1111111111111111}{x}\\
\mathbf{else}:\\
\;\;\;\;1 + y \cdot \left(-0.3333333333333333 \cdot \sqrt{\frac{1}{x}}\right)\\
\end{array}
\end{array}
if x < 0.110000000000000001Initial program 99.4%
sub-neg99.4%
*-commutative99.4%
associate-/r*99.4%
metadata-eval99.4%
distribute-frac-neg99.4%
neg-mul-199.4%
times-frac99.3%
metadata-eval99.3%
Simplified99.3%
clear-num99.3%
un-div-inv99.4%
Applied egg-rr99.4%
Taylor expanded in x around 0 98.0%
if 0.110000000000000001 < x Initial program 99.8%
sub-neg99.8%
*-commutative99.8%
associate-/r*99.8%
metadata-eval99.8%
distribute-frac-neg99.8%
neg-mul-199.8%
times-frac99.7%
metadata-eval99.7%
Simplified99.7%
add-sqr-sqrt59.9%
sqrt-unprod74.5%
frac-times68.9%
pow268.9%
add-sqr-sqrt68.9%
Applied egg-rr68.9%
sqrt-div68.9%
sqrt-pow199.7%
metadata-eval99.7%
pow199.7%
clear-num99.7%
div-inv99.6%
associate-/r*99.7%
Applied egg-rr99.7%
*-un-lft-identity99.7%
pow1/299.7%
pow-flip99.7%
metadata-eval99.7%
Applied egg-rr99.7%
*-lft-identity99.7%
Simplified99.7%
Taylor expanded in x around inf 99.2%
associate-*r*99.3%
Simplified99.3%
Final simplification98.7%
(FPCore (x y) :precision binary64 (if (<= x 0.11) (/ (- (* (sqrt x) (* y -0.3333333333333333)) 0.1111111111111111) x) (+ 1.0 (* y (* -0.3333333333333333 (sqrt (/ 1.0 x)))))))
double code(double x, double y) {
double tmp;
if (x <= 0.11) {
tmp = ((sqrt(x) * (y * -0.3333333333333333)) - 0.1111111111111111) / x;
} else {
tmp = 1.0 + (y * (-0.3333333333333333 * sqrt((1.0 / x))));
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: tmp
if (x <= 0.11d0) then
tmp = ((sqrt(x) * (y * (-0.3333333333333333d0))) - 0.1111111111111111d0) / x
else
tmp = 1.0d0 + (y * ((-0.3333333333333333d0) * sqrt((1.0d0 / x))))
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if (x <= 0.11) {
tmp = ((Math.sqrt(x) * (y * -0.3333333333333333)) - 0.1111111111111111) / x;
} else {
tmp = 1.0 + (y * (-0.3333333333333333 * Math.sqrt((1.0 / x))));
}
return tmp;
}
def code(x, y): tmp = 0 if x <= 0.11: tmp = ((math.sqrt(x) * (y * -0.3333333333333333)) - 0.1111111111111111) / x else: tmp = 1.0 + (y * (-0.3333333333333333 * math.sqrt((1.0 / x)))) return tmp
function code(x, y) tmp = 0.0 if (x <= 0.11) tmp = Float64(Float64(Float64(sqrt(x) * Float64(y * -0.3333333333333333)) - 0.1111111111111111) / x); else tmp = Float64(1.0 + Float64(y * Float64(-0.3333333333333333 * sqrt(Float64(1.0 / x))))); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if (x <= 0.11) tmp = ((sqrt(x) * (y * -0.3333333333333333)) - 0.1111111111111111) / x; else tmp = 1.0 + (y * (-0.3333333333333333 * sqrt((1.0 / x)))); end tmp_2 = tmp; end
code[x_, y_] := If[LessEqual[x, 0.11], N[(N[(N[(N[Sqrt[x], $MachinePrecision] * N[(y * -0.3333333333333333), $MachinePrecision]), $MachinePrecision] - 0.1111111111111111), $MachinePrecision] / x), $MachinePrecision], N[(1.0 + N[(y * N[(-0.3333333333333333 * N[Sqrt[N[(1.0 / x), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq 0.11:\\
\;\;\;\;\frac{\sqrt{x} \cdot \left(y \cdot -0.3333333333333333\right) - 0.1111111111111111}{x}\\
\mathbf{else}:\\
\;\;\;\;1 + y \cdot \left(-0.3333333333333333 \cdot \sqrt{\frac{1}{x}}\right)\\
\end{array}
\end{array}
if x < 0.110000000000000001Initial program 99.4%
sub-neg99.4%
*-commutative99.4%
associate-/r*99.4%
metadata-eval99.4%
distribute-frac-neg99.4%
neg-mul-199.4%
times-frac99.3%
metadata-eval99.3%
Simplified99.3%
clear-num99.3%
un-div-inv99.4%
Applied egg-rr99.4%
Taylor expanded in x around 0 98.0%
Taylor expanded in x around -inf 0.0%
*-commutative0.0%
*-commutative0.0%
*-commutative0.0%
associate-*r*0.0%
*-commutative0.0%
unpow20.0%
rem-square-sqrt98.0%
associate-*l*98.0%
metadata-eval98.0%
*-commutative98.0%
associate-*r*98.1%
Simplified98.1%
if 0.110000000000000001 < x Initial program 99.8%
sub-neg99.8%
*-commutative99.8%
associate-/r*99.8%
metadata-eval99.8%
distribute-frac-neg99.8%
neg-mul-199.8%
times-frac99.7%
metadata-eval99.7%
Simplified99.7%
add-sqr-sqrt59.9%
sqrt-unprod74.5%
frac-times68.9%
pow268.9%
add-sqr-sqrt68.9%
Applied egg-rr68.9%
sqrt-div68.9%
sqrt-pow199.7%
metadata-eval99.7%
pow199.7%
clear-num99.7%
div-inv99.6%
associate-/r*99.7%
Applied egg-rr99.7%
*-un-lft-identity99.7%
pow1/299.7%
pow-flip99.7%
metadata-eval99.7%
Applied egg-rr99.7%
*-lft-identity99.7%
Simplified99.7%
Taylor expanded in x around inf 99.2%
associate-*r*99.3%
Simplified99.3%
Final simplification98.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.6%
sub-neg99.6%
*-commutative99.6%
associate-/r*99.6%
metadata-eval99.6%
distribute-frac-neg99.6%
neg-mul-199.6%
times-frac99.5%
metadata-eval99.5%
Simplified99.5%
Final simplification99.5%
(FPCore (x y) :precision binary64 (+ (- 1.0 (/ 0.1111111111111111 x)) (/ -0.3333333333333333 (/ (sqrt x) y))))
double code(double x, double y) {
return (1.0 - (0.1111111111111111 / x)) + (-0.3333333333333333 / (sqrt(x) / y));
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = (1.0d0 - (0.1111111111111111d0 / x)) + ((-0.3333333333333333d0) / (sqrt(x) / y))
end function
public static double code(double x, double y) {
return (1.0 - (0.1111111111111111 / x)) + (-0.3333333333333333 / (Math.sqrt(x) / y));
}
def code(x, y): return (1.0 - (0.1111111111111111 / x)) + (-0.3333333333333333 / (math.sqrt(x) / y))
function code(x, y) return Float64(Float64(1.0 - Float64(0.1111111111111111 / x)) + Float64(-0.3333333333333333 / Float64(sqrt(x) / y))) end
function tmp = code(x, y) tmp = (1.0 - (0.1111111111111111 / x)) + (-0.3333333333333333 / (sqrt(x) / y)); end
code[x_, y_] := N[(N[(1.0 - N[(0.1111111111111111 / x), $MachinePrecision]), $MachinePrecision] + N[(-0.3333333333333333 / N[(N[Sqrt[x], $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(1 - \frac{0.1111111111111111}{x}\right) + \frac{-0.3333333333333333}{\frac{\sqrt{x}}{y}}
\end{array}
Initial program 99.6%
sub-neg99.6%
*-commutative99.6%
associate-/r*99.6%
metadata-eval99.6%
distribute-frac-neg99.6%
neg-mul-199.6%
times-frac99.5%
metadata-eval99.5%
Simplified99.5%
clear-num99.5%
un-div-inv99.6%
Applied egg-rr99.6%
Final simplification99.6%
(FPCore (x y) :precision binary64 (+ 1.0 (* 0.1111111111111111 (/ -1.0 x))))
double code(double x, double y) {
return 1.0 + (0.1111111111111111 * (-1.0 / x));
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = 1.0d0 + (0.1111111111111111d0 * ((-1.0d0) / x))
end function
public static double code(double x, double y) {
return 1.0 + (0.1111111111111111 * (-1.0 / x));
}
def code(x, y): return 1.0 + (0.1111111111111111 * (-1.0 / x))
function code(x, y) return Float64(1.0 + Float64(0.1111111111111111 * Float64(-1.0 / x))) end
function tmp = code(x, y) tmp = 1.0 + (0.1111111111111111 * (-1.0 / x)); end
code[x_, y_] := N[(1.0 + N[(0.1111111111111111 * N[(-1.0 / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
1 + 0.1111111111111111 \cdot \frac{-1}{x}
\end{array}
Initial program 99.6%
associate--l-99.6%
sub-neg99.6%
+-commutative99.6%
distribute-neg-in99.6%
distribute-frac-neg99.6%
sub-neg99.6%
neg-mul-199.6%
*-commutative99.6%
associate-/l*99.6%
fma-neg99.6%
associate-/r*99.6%
metadata-eval99.6%
*-commutative99.6%
associate-/r*99.6%
distribute-neg-frac99.6%
metadata-eval99.6%
metadata-eval99.6%
Simplified99.6%
Taylor expanded in y around 0 62.2%
Final simplification62.2%
(FPCore (x y) :precision binary64 (* (/ 1.0 x) -0.1111111111111111))
double code(double x, double y) {
return (1.0 / x) * -0.1111111111111111;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = (1.0d0 / x) * (-0.1111111111111111d0)
end function
public static double code(double x, double y) {
return (1.0 / x) * -0.1111111111111111;
}
def code(x, y): return (1.0 / x) * -0.1111111111111111
function code(x, y) return Float64(Float64(1.0 / x) * -0.1111111111111111) end
function tmp = code(x, y) tmp = (1.0 / x) * -0.1111111111111111; end
code[x_, y_] := N[(N[(1.0 / x), $MachinePrecision] * -0.1111111111111111), $MachinePrecision]
\begin{array}{l}
\\
\frac{1}{x} \cdot -0.1111111111111111
\end{array}
Initial program 99.6%
sub-neg99.6%
*-commutative99.6%
associate-/r*99.6%
metadata-eval99.6%
distribute-frac-neg99.6%
neg-mul-199.6%
times-frac99.5%
metadata-eval99.5%
Simplified99.5%
clear-num99.5%
un-div-inv99.6%
Applied egg-rr99.6%
Taylor expanded in x around 0 59.4%
Taylor expanded in y around 0 30.5%
clear-num30.5%
associate-/r/30.6%
Applied egg-rr30.6%
Final simplification30.6%
(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.6%
associate--l-99.6%
sub-neg99.6%
+-commutative99.6%
distribute-neg-in99.6%
distribute-frac-neg99.6%
sub-neg99.6%
neg-mul-199.6%
*-commutative99.6%
associate-/l*99.6%
fma-neg99.6%
associate-/r*99.6%
metadata-eval99.6%
*-commutative99.6%
associate-/r*99.6%
distribute-neg-frac99.6%
metadata-eval99.6%
metadata-eval99.6%
Simplified99.6%
Taylor expanded in y around 0 62.2%
Final simplification62.2%
(FPCore (x y) :precision binary64 (/ -0.1111111111111111 x))
double code(double x, double y) {
return -0.1111111111111111 / x;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = (-0.1111111111111111d0) / x
end function
public static double code(double x, double y) {
return -0.1111111111111111 / x;
}
def code(x, y): return -0.1111111111111111 / x
function code(x, y) return Float64(-0.1111111111111111 / x) end
function tmp = code(x, y) tmp = -0.1111111111111111 / x; end
code[x_, y_] := N[(-0.1111111111111111 / x), $MachinePrecision]
\begin{array}{l}
\\
\frac{-0.1111111111111111}{x}
\end{array}
Initial program 99.6%
sub-neg99.6%
*-commutative99.6%
associate-/r*99.6%
metadata-eval99.6%
distribute-frac-neg99.6%
neg-mul-199.6%
times-frac99.5%
metadata-eval99.5%
Simplified99.5%
clear-num99.5%
un-div-inv99.6%
Applied egg-rr99.6%
Taylor expanded in x around 0 59.4%
Taylor expanded in y around 0 30.5%
Final simplification30.5%
(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 2024074
(FPCore (x y)
:name "Numeric.SpecFunctions:invIncompleteGamma from math-functions-0.1.5.2, D"
:precision binary64
:alt
(- (- 1.0 (/ (/ 1.0 x) 9.0)) (/ y (* 3.0 (sqrt x))))
(- (- 1.0 (/ 1.0 (* x 9.0))) (/ y (* 3.0 (sqrt x)))))