
(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))) (* (pow x -0.5) (/ y 3.0))))
double code(double x, double y) {
return (1.0 + (-1.0 / (x * 9.0))) - (pow(x, -0.5) * (y / 3.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))) - ((x ** (-0.5d0)) * (y / 3.0d0))
end function
public static double code(double x, double y) {
return (1.0 + (-1.0 / (x * 9.0))) - (Math.pow(x, -0.5) * (y / 3.0));
}
def code(x, y): return (1.0 + (-1.0 / (x * 9.0))) - (math.pow(x, -0.5) * (y / 3.0))
function code(x, y) return Float64(Float64(1.0 + Float64(-1.0 / Float64(x * 9.0))) - Float64((x ^ -0.5) * Float64(y / 3.0))) end
function tmp = code(x, y) tmp = (1.0 + (-1.0 / (x * 9.0))) - ((x ^ -0.5) * (y / 3.0)); end
code[x_, y_] := N[(N[(1.0 + N[(-1.0 / N[(x * 9.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[Power[x, -0.5], $MachinePrecision] * N[(y / 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(1 + \frac{-1}{x \cdot 9}\right) - {x}^{-0.5} \cdot \frac{y}{3}
\end{array}
Initial program 99.7%
*-un-lft-identity99.7%
*-commutative99.7%
times-frac99.7%
pow1/299.7%
pow-flip99.8%
metadata-eval99.8%
Applied egg-rr99.8%
Final simplification99.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(-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.7%
Final simplification99.7%
(FPCore (x y) :precision binary64 (- (- 1.0 (/ 0.1111111111111111 x)) (* (pow x -0.5) (/ y 3.0))))
double code(double x, double y) {
return (1.0 - (0.1111111111111111 / x)) - (pow(x, -0.5) * (y / 3.0));
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = (1.0d0 - (0.1111111111111111d0 / x)) - ((x ** (-0.5d0)) * (y / 3.0d0))
end function
public static double code(double x, double y) {
return (1.0 - (0.1111111111111111 / x)) - (Math.pow(x, -0.5) * (y / 3.0));
}
def code(x, y): return (1.0 - (0.1111111111111111 / x)) - (math.pow(x, -0.5) * (y / 3.0))
function code(x, y) return Float64(Float64(1.0 - Float64(0.1111111111111111 / x)) - Float64((x ^ -0.5) * Float64(y / 3.0))) end
function tmp = code(x, y) tmp = (1.0 - (0.1111111111111111 / x)) - ((x ^ -0.5) * (y / 3.0)); end
code[x_, y_] := N[(N[(1.0 - N[(0.1111111111111111 / x), $MachinePrecision]), $MachinePrecision] - N[(N[Power[x, -0.5], $MachinePrecision] * N[(y / 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(1 - \frac{0.1111111111111111}{x}\right) - {x}^{-0.5} \cdot \frac{y}{3}
\end{array}
Initial program 99.7%
*-un-lft-identity99.7%
*-commutative99.7%
times-frac99.7%
pow1/299.7%
pow-flip99.8%
metadata-eval99.8%
Applied egg-rr99.8%
Taylor expanded in x around 0 99.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%
distribute-frac-neg99.7%
*-commutative99.7%
associate-/r*99.7%
metadata-eval99.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 (* 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%
sub-neg99.7%
inv-pow99.7%
*-commutative99.7%
unpow-prod-down99.6%
metadata-eval99.6%
inv-pow99.6%
div-inv99.7%
*-commutative99.7%
metadata-eval99.7%
sqrt-prod99.7%
Applied egg-rr99.7%
unsub-neg99.7%
sub-neg99.7%
distribute-neg-frac99.7%
metadata-eval99.7%
Simplified99.7%
Final simplification99.7%
(FPCore (x y) :precision binary64 (if (or (<= y -7.2e+103) (not (<= y 1.9e+32))) (* y (* (pow x -0.5) -0.3333333333333333)) (+ 1.0 (/ -0.1111111111111111 x))))
double code(double x, double y) {
double tmp;
if ((y <= -7.2e+103) || !(y <= 1.9e+32)) {
tmp = y * (pow(x, -0.5) * -0.3333333333333333);
} else {
tmp = 1.0 + (-0.1111111111111111 / x);
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: tmp
if ((y <= (-7.2d+103)) .or. (.not. (y <= 1.9d+32))) then
tmp = y * ((x ** (-0.5d0)) * (-0.3333333333333333d0))
else
tmp = 1.0d0 + ((-0.1111111111111111d0) / x)
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if ((y <= -7.2e+103) || !(y <= 1.9e+32)) {
tmp = y * (Math.pow(x, -0.5) * -0.3333333333333333);
} else {
tmp = 1.0 + (-0.1111111111111111 / x);
}
return tmp;
}
def code(x, y): tmp = 0 if (y <= -7.2e+103) or not (y <= 1.9e+32): tmp = y * (math.pow(x, -0.5) * -0.3333333333333333) else: tmp = 1.0 + (-0.1111111111111111 / x) return tmp
function code(x, y) tmp = 0.0 if ((y <= -7.2e+103) || !(y <= 1.9e+32)) tmp = Float64(y * Float64((x ^ -0.5) * -0.3333333333333333)); else tmp = Float64(1.0 + Float64(-0.1111111111111111 / x)); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if ((y <= -7.2e+103) || ~((y <= 1.9e+32))) tmp = y * ((x ^ -0.5) * -0.3333333333333333); else tmp = 1.0 + (-0.1111111111111111 / x); end tmp_2 = tmp; end
code[x_, y_] := If[Or[LessEqual[y, -7.2e+103], N[Not[LessEqual[y, 1.9e+32]], $MachinePrecision]], N[(y * N[(N[Power[x, -0.5], $MachinePrecision] * -0.3333333333333333), $MachinePrecision]), $MachinePrecision], N[(1.0 + N[(-0.1111111111111111 / x), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -7.2 \cdot 10^{+103} \lor \neg \left(y \leq 1.9 \cdot 10^{+32}\right):\\
\;\;\;\;y \cdot \left({x}^{-0.5} \cdot -0.3333333333333333\right)\\
\mathbf{else}:\\
\;\;\;\;1 + \frac{-0.1111111111111111}{x}\\
\end{array}
\end{array}
if y < -7.20000000000000033e103 or 1.9000000000000002e32 < y Initial program 99.6%
*-un-lft-identity99.6%
*-commutative99.6%
times-frac99.5%
pow1/299.5%
pow-flip99.7%
metadata-eval99.7%
Applied egg-rr99.7%
associate-*r/99.6%
Applied egg-rr99.6%
Taylor expanded in y around inf 90.7%
associate-*r*90.6%
*-commutative90.6%
unpow1/290.6%
unpow-190.6%
exp-to-pow86.6%
*-commutative86.6%
log-pow86.6%
metadata-eval86.6%
exp-prod86.6%
metadata-eval86.6%
unpow-186.6%
log-rec86.6%
distribute-lft-neg-out86.6%
distribute-rgt-neg-in86.6%
metadata-eval86.6%
exp-to-pow90.6%
Simplified90.6%
if -7.20000000000000033e103 < y < 1.9000000000000002e32Initial program 99.8%
sub-neg99.8%
distribute-frac-neg99.8%
*-commutative99.8%
associate-/r*99.7%
metadata-eval99.7%
neg-mul-199.7%
times-frac99.7%
metadata-eval99.7%
Simplified99.7%
Taylor expanded in y around 0 96.7%
cancel-sign-sub-inv96.7%
metadata-eval96.7%
associate-*r/96.8%
metadata-eval96.8%
Simplified96.8%
Final simplification94.3%
(FPCore (x y)
:precision binary64
(if (<= y -1.12e+104)
(* y (* (pow x -0.5) -0.3333333333333333))
(if (<= y 1.9e+32)
(+ 1.0 (/ -0.1111111111111111 x))
(* -0.3333333333333333 (* (pow x -0.5) y)))))
double code(double x, double y) {
double tmp;
if (y <= -1.12e+104) {
tmp = y * (pow(x, -0.5) * -0.3333333333333333);
} else if (y <= 1.9e+32) {
tmp = 1.0 + (-0.1111111111111111 / x);
} else {
tmp = -0.3333333333333333 * (pow(x, -0.5) * y);
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: tmp
if (y <= (-1.12d+104)) then
tmp = y * ((x ** (-0.5d0)) * (-0.3333333333333333d0))
else if (y <= 1.9d+32) then
tmp = 1.0d0 + ((-0.1111111111111111d0) / x)
else
tmp = (-0.3333333333333333d0) * ((x ** (-0.5d0)) * y)
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if (y <= -1.12e+104) {
tmp = y * (Math.pow(x, -0.5) * -0.3333333333333333);
} else if (y <= 1.9e+32) {
tmp = 1.0 + (-0.1111111111111111 / x);
} else {
tmp = -0.3333333333333333 * (Math.pow(x, -0.5) * y);
}
return tmp;
}
def code(x, y): tmp = 0 if y <= -1.12e+104: tmp = y * (math.pow(x, -0.5) * -0.3333333333333333) elif y <= 1.9e+32: tmp = 1.0 + (-0.1111111111111111 / x) else: tmp = -0.3333333333333333 * (math.pow(x, -0.5) * y) return tmp
function code(x, y) tmp = 0.0 if (y <= -1.12e+104) tmp = Float64(y * Float64((x ^ -0.5) * -0.3333333333333333)); elseif (y <= 1.9e+32) tmp = Float64(1.0 + Float64(-0.1111111111111111 / x)); else tmp = Float64(-0.3333333333333333 * Float64((x ^ -0.5) * y)); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if (y <= -1.12e+104) tmp = y * ((x ^ -0.5) * -0.3333333333333333); elseif (y <= 1.9e+32) tmp = 1.0 + (-0.1111111111111111 / x); else tmp = -0.3333333333333333 * ((x ^ -0.5) * y); end tmp_2 = tmp; end
code[x_, y_] := If[LessEqual[y, -1.12e+104], N[(y * N[(N[Power[x, -0.5], $MachinePrecision] * -0.3333333333333333), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.9e+32], N[(1.0 + N[(-0.1111111111111111 / x), $MachinePrecision]), $MachinePrecision], N[(-0.3333333333333333 * N[(N[Power[x, -0.5], $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.12 \cdot 10^{+104}:\\
\;\;\;\;y \cdot \left({x}^{-0.5} \cdot -0.3333333333333333\right)\\
\mathbf{elif}\;y \leq 1.9 \cdot 10^{+32}:\\
\;\;\;\;1 + \frac{-0.1111111111111111}{x}\\
\mathbf{else}:\\
\;\;\;\;-0.3333333333333333 \cdot \left({x}^{-0.5} \cdot y\right)\\
\end{array}
\end{array}
if y < -1.12000000000000003e104Initial program 99.6%
*-un-lft-identity99.6%
*-commutative99.6%
times-frac99.6%
pow1/299.6%
pow-flip99.7%
metadata-eval99.7%
Applied egg-rr99.7%
associate-*r/99.6%
Applied egg-rr99.6%
Taylor expanded in y around inf 97.4%
associate-*r*97.5%
*-commutative97.5%
unpow1/297.5%
unpow-197.5%
exp-to-pow92.6%
*-commutative92.6%
log-pow92.6%
metadata-eval92.6%
exp-prod92.5%
metadata-eval92.5%
unpow-192.5%
log-rec92.5%
distribute-lft-neg-out92.5%
distribute-rgt-neg-in92.5%
metadata-eval92.5%
exp-to-pow97.5%
Simplified97.5%
if -1.12000000000000003e104 < y < 1.9000000000000002e32Initial program 99.8%
sub-neg99.8%
distribute-frac-neg99.8%
*-commutative99.8%
associate-/r*99.7%
metadata-eval99.7%
neg-mul-199.7%
times-frac99.7%
metadata-eval99.7%
Simplified99.7%
Taylor expanded in y around 0 96.7%
cancel-sign-sub-inv96.7%
metadata-eval96.7%
associate-*r/96.8%
metadata-eval96.8%
Simplified96.8%
if 1.9000000000000002e32 < y Initial program 99.5%
*-un-lft-identity99.5%
*-commutative99.5%
times-frac99.4%
pow1/299.4%
pow-flip99.7%
metadata-eval99.7%
Applied egg-rr99.7%
Taylor expanded in y around inf 85.7%
*-commutative85.7%
Simplified85.7%
pow1/285.7%
inv-pow85.7%
pow-pow85.7%
metadata-eval85.7%
expm1-log1p-u85.0%
expm1-udef43.3%
Applied egg-rr43.3%
expm1-def85.0%
expm1-log1p85.7%
Simplified85.7%
Final simplification94.4%
(FPCore (x y)
:precision binary64
(if (<= y -7.2e+103)
(* (pow x -0.5) (* y -0.3333333333333333))
(if (<= y 1.9e+32)
(+ 1.0 (/ -0.1111111111111111 x))
(* -0.3333333333333333 (* (pow x -0.5) y)))))
double code(double x, double y) {
double tmp;
if (y <= -7.2e+103) {
tmp = pow(x, -0.5) * (y * -0.3333333333333333);
} else if (y <= 1.9e+32) {
tmp = 1.0 + (-0.1111111111111111 / x);
} else {
tmp = -0.3333333333333333 * (pow(x, -0.5) * y);
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: tmp
if (y <= (-7.2d+103)) then
tmp = (x ** (-0.5d0)) * (y * (-0.3333333333333333d0))
else if (y <= 1.9d+32) then
tmp = 1.0d0 + ((-0.1111111111111111d0) / x)
else
tmp = (-0.3333333333333333d0) * ((x ** (-0.5d0)) * y)
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if (y <= -7.2e+103) {
tmp = Math.pow(x, -0.5) * (y * -0.3333333333333333);
} else if (y <= 1.9e+32) {
tmp = 1.0 + (-0.1111111111111111 / x);
} else {
tmp = -0.3333333333333333 * (Math.pow(x, -0.5) * y);
}
return tmp;
}
def code(x, y): tmp = 0 if y <= -7.2e+103: tmp = math.pow(x, -0.5) * (y * -0.3333333333333333) elif y <= 1.9e+32: tmp = 1.0 + (-0.1111111111111111 / x) else: tmp = -0.3333333333333333 * (math.pow(x, -0.5) * y) return tmp
function code(x, y) tmp = 0.0 if (y <= -7.2e+103) tmp = Float64((x ^ -0.5) * Float64(y * -0.3333333333333333)); elseif (y <= 1.9e+32) tmp = Float64(1.0 + Float64(-0.1111111111111111 / x)); else tmp = Float64(-0.3333333333333333 * Float64((x ^ -0.5) * y)); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if (y <= -7.2e+103) tmp = (x ^ -0.5) * (y * -0.3333333333333333); elseif (y <= 1.9e+32) tmp = 1.0 + (-0.1111111111111111 / x); else tmp = -0.3333333333333333 * ((x ^ -0.5) * y); end tmp_2 = tmp; end
code[x_, y_] := If[LessEqual[y, -7.2e+103], N[(N[Power[x, -0.5], $MachinePrecision] * N[(y * -0.3333333333333333), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.9e+32], N[(1.0 + N[(-0.1111111111111111 / x), $MachinePrecision]), $MachinePrecision], N[(-0.3333333333333333 * N[(N[Power[x, -0.5], $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -7.2 \cdot 10^{+103}:\\
\;\;\;\;{x}^{-0.5} \cdot \left(y \cdot -0.3333333333333333\right)\\
\mathbf{elif}\;y \leq 1.9 \cdot 10^{+32}:\\
\;\;\;\;1 + \frac{-0.1111111111111111}{x}\\
\mathbf{else}:\\
\;\;\;\;-0.3333333333333333 \cdot \left({x}^{-0.5} \cdot y\right)\\
\end{array}
\end{array}
if y < -7.20000000000000033e103Initial program 99.6%
*-un-lft-identity99.6%
*-commutative99.6%
times-frac99.6%
pow1/299.6%
pow-flip99.7%
metadata-eval99.7%
Applied egg-rr99.7%
Taylor expanded in y around inf 97.4%
*-commutative97.4%
Simplified97.4%
pow1/297.4%
inv-pow97.4%
pow-pow97.4%
metadata-eval97.4%
expm1-log1p-u94.5%
expm1-udef68.6%
Applied egg-rr68.6%
expm1-def94.5%
expm1-log1p97.4%
Simplified97.4%
expm1-log1p-u91.1%
expm1-udef91.1%
associate-*l*91.1%
Applied egg-rr91.1%
expm1-def91.1%
expm1-log1p97.5%
Simplified97.5%
if -7.20000000000000033e103 < y < 1.9000000000000002e32Initial program 99.8%
sub-neg99.8%
distribute-frac-neg99.8%
*-commutative99.8%
associate-/r*99.7%
metadata-eval99.7%
neg-mul-199.7%
times-frac99.7%
metadata-eval99.7%
Simplified99.7%
Taylor expanded in y around 0 96.7%
cancel-sign-sub-inv96.7%
metadata-eval96.7%
associate-*r/96.8%
metadata-eval96.8%
Simplified96.8%
if 1.9000000000000002e32 < y Initial program 99.5%
*-un-lft-identity99.5%
*-commutative99.5%
times-frac99.4%
pow1/299.4%
pow-flip99.7%
metadata-eval99.7%
Applied egg-rr99.7%
Taylor expanded in y around inf 85.7%
*-commutative85.7%
Simplified85.7%
pow1/285.7%
inv-pow85.7%
pow-pow85.7%
metadata-eval85.7%
expm1-log1p-u85.0%
expm1-udef43.3%
Applied egg-rr43.3%
expm1-def85.0%
expm1-log1p85.7%
Simplified85.7%
Final simplification94.4%
(FPCore (x y)
:precision binary64
(if (<= y -7.2e+103)
(* (pow x -0.5) (* y -0.3333333333333333))
(if (<= y 1.9e+32)
(- 1.0 (pow (* x 9.0) -1.0))
(* -0.3333333333333333 (* (pow x -0.5) y)))))
double code(double x, double y) {
double tmp;
if (y <= -7.2e+103) {
tmp = pow(x, -0.5) * (y * -0.3333333333333333);
} else if (y <= 1.9e+32) {
tmp = 1.0 - pow((x * 9.0), -1.0);
} else {
tmp = -0.3333333333333333 * (pow(x, -0.5) * y);
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: tmp
if (y <= (-7.2d+103)) then
tmp = (x ** (-0.5d0)) * (y * (-0.3333333333333333d0))
else if (y <= 1.9d+32) then
tmp = 1.0d0 - ((x * 9.0d0) ** (-1.0d0))
else
tmp = (-0.3333333333333333d0) * ((x ** (-0.5d0)) * y)
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if (y <= -7.2e+103) {
tmp = Math.pow(x, -0.5) * (y * -0.3333333333333333);
} else if (y <= 1.9e+32) {
tmp = 1.0 - Math.pow((x * 9.0), -1.0);
} else {
tmp = -0.3333333333333333 * (Math.pow(x, -0.5) * y);
}
return tmp;
}
def code(x, y): tmp = 0 if y <= -7.2e+103: tmp = math.pow(x, -0.5) * (y * -0.3333333333333333) elif y <= 1.9e+32: tmp = 1.0 - math.pow((x * 9.0), -1.0) else: tmp = -0.3333333333333333 * (math.pow(x, -0.5) * y) return tmp
function code(x, y) tmp = 0.0 if (y <= -7.2e+103) tmp = Float64((x ^ -0.5) * Float64(y * -0.3333333333333333)); elseif (y <= 1.9e+32) tmp = Float64(1.0 - (Float64(x * 9.0) ^ -1.0)); else tmp = Float64(-0.3333333333333333 * Float64((x ^ -0.5) * y)); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if (y <= -7.2e+103) tmp = (x ^ -0.5) * (y * -0.3333333333333333); elseif (y <= 1.9e+32) tmp = 1.0 - ((x * 9.0) ^ -1.0); else tmp = -0.3333333333333333 * ((x ^ -0.5) * y); end tmp_2 = tmp; end
code[x_, y_] := If[LessEqual[y, -7.2e+103], N[(N[Power[x, -0.5], $MachinePrecision] * N[(y * -0.3333333333333333), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.9e+32], N[(1.0 - N[Power[N[(x * 9.0), $MachinePrecision], -1.0], $MachinePrecision]), $MachinePrecision], N[(-0.3333333333333333 * N[(N[Power[x, -0.5], $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -7.2 \cdot 10^{+103}:\\
\;\;\;\;{x}^{-0.5} \cdot \left(y \cdot -0.3333333333333333\right)\\
\mathbf{elif}\;y \leq 1.9 \cdot 10^{+32}:\\
\;\;\;\;1 - {\left(x \cdot 9\right)}^{-1}\\
\mathbf{else}:\\
\;\;\;\;-0.3333333333333333 \cdot \left({x}^{-0.5} \cdot y\right)\\
\end{array}
\end{array}
if y < -7.20000000000000033e103Initial program 99.6%
*-un-lft-identity99.6%
*-commutative99.6%
times-frac99.6%
pow1/299.6%
pow-flip99.7%
metadata-eval99.7%
Applied egg-rr99.7%
Taylor expanded in y around inf 97.4%
*-commutative97.4%
Simplified97.4%
pow1/297.4%
inv-pow97.4%
pow-pow97.4%
metadata-eval97.4%
expm1-log1p-u94.5%
expm1-udef68.6%
Applied egg-rr68.6%
expm1-def94.5%
expm1-log1p97.4%
Simplified97.4%
expm1-log1p-u91.1%
expm1-udef91.1%
associate-*l*91.1%
Applied egg-rr91.1%
expm1-def91.1%
expm1-log1p97.5%
Simplified97.5%
if -7.20000000000000033e103 < y < 1.9000000000000002e32Initial program 99.8%
*-un-lft-identity99.8%
*-commutative99.8%
times-frac99.8%
pow1/299.8%
pow-flip99.8%
metadata-eval99.8%
Applied egg-rr99.8%
associate-*r/99.8%
Applied egg-rr99.8%
Taylor expanded in y around 0 96.7%
associate-*r/96.8%
metadata-eval96.8%
Simplified96.8%
div-inv96.7%
metadata-eval96.7%
inv-pow96.7%
unpow-prod-down96.9%
*-commutative96.9%
Applied egg-rr96.9%
if 1.9000000000000002e32 < y Initial program 99.5%
*-un-lft-identity99.5%
*-commutative99.5%
times-frac99.4%
pow1/299.4%
pow-flip99.7%
metadata-eval99.7%
Applied egg-rr99.7%
Taylor expanded in y around inf 85.7%
*-commutative85.7%
Simplified85.7%
pow1/285.7%
inv-pow85.7%
pow-pow85.7%
metadata-eval85.7%
expm1-log1p-u85.0%
expm1-udef43.3%
Applied egg-rr43.3%
expm1-def85.0%
expm1-log1p85.7%
Simplified85.7%
Final simplification94.4%
(FPCore (x y)
:precision binary64
(let* ((t_0 (- 1.0 (/ 0.012345679012345678 (* x x)))))
(if (<= y -1.58e+112)
(/ t_0 (+ 1.0 (* -0.1111111111111111 (/ 1.0 x))))
(if (<= y 2.1e+132)
(+ 1.0 (/ -0.1111111111111111 x))
(/ t_0 (+ 1.0 (/ 0.1111111111111111 x)))))))
double code(double x, double y) {
double t_0 = 1.0 - (0.012345679012345678 / (x * x));
double tmp;
if (y <= -1.58e+112) {
tmp = t_0 / (1.0 + (-0.1111111111111111 * (1.0 / x)));
} else if (y <= 2.1e+132) {
tmp = 1.0 + (-0.1111111111111111 / x);
} else {
tmp = t_0 / (1.0 + (0.1111111111111111 / x));
}
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 = 1.0d0 - (0.012345679012345678d0 / (x * x))
if (y <= (-1.58d+112)) then
tmp = t_0 / (1.0d0 + ((-0.1111111111111111d0) * (1.0d0 / x)))
else if (y <= 2.1d+132) then
tmp = 1.0d0 + ((-0.1111111111111111d0) / x)
else
tmp = t_0 / (1.0d0 + (0.1111111111111111d0 / x))
end if
code = tmp
end function
public static double code(double x, double y) {
double t_0 = 1.0 - (0.012345679012345678 / (x * x));
double tmp;
if (y <= -1.58e+112) {
tmp = t_0 / (1.0 + (-0.1111111111111111 * (1.0 / x)));
} else if (y <= 2.1e+132) {
tmp = 1.0 + (-0.1111111111111111 / x);
} else {
tmp = t_0 / (1.0 + (0.1111111111111111 / x));
}
return tmp;
}
def code(x, y): t_0 = 1.0 - (0.012345679012345678 / (x * x)) tmp = 0 if y <= -1.58e+112: tmp = t_0 / (1.0 + (-0.1111111111111111 * (1.0 / x))) elif y <= 2.1e+132: tmp = 1.0 + (-0.1111111111111111 / x) else: tmp = t_0 / (1.0 + (0.1111111111111111 / x)) return tmp
function code(x, y) t_0 = Float64(1.0 - Float64(0.012345679012345678 / Float64(x * x))) tmp = 0.0 if (y <= -1.58e+112) tmp = Float64(t_0 / Float64(1.0 + Float64(-0.1111111111111111 * Float64(1.0 / x)))); elseif (y <= 2.1e+132) tmp = Float64(1.0 + Float64(-0.1111111111111111 / x)); else tmp = Float64(t_0 / Float64(1.0 + Float64(0.1111111111111111 / x))); end return tmp end
function tmp_2 = code(x, y) t_0 = 1.0 - (0.012345679012345678 / (x * x)); tmp = 0.0; if (y <= -1.58e+112) tmp = t_0 / (1.0 + (-0.1111111111111111 * (1.0 / x))); elseif (y <= 2.1e+132) tmp = 1.0 + (-0.1111111111111111 / x); else tmp = t_0 / (1.0 + (0.1111111111111111 / x)); end tmp_2 = tmp; end
code[x_, y_] := Block[{t$95$0 = N[(1.0 - N[(0.012345679012345678 / N[(x * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -1.58e+112], N[(t$95$0 / N[(1.0 + N[(-0.1111111111111111 * N[(1.0 / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2.1e+132], N[(1.0 + N[(-0.1111111111111111 / x), $MachinePrecision]), $MachinePrecision], N[(t$95$0 / N[(1.0 + N[(0.1111111111111111 / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := 1 - \frac{0.012345679012345678}{x \cdot x}\\
\mathbf{if}\;y \leq -1.58 \cdot 10^{+112}:\\
\;\;\;\;\frac{t_0}{1 + -0.1111111111111111 \cdot \frac{1}{x}}\\
\mathbf{elif}\;y \leq 2.1 \cdot 10^{+132}:\\
\;\;\;\;1 + \frac{-0.1111111111111111}{x}\\
\mathbf{else}:\\
\;\;\;\;\frac{t_0}{1 + \frac{0.1111111111111111}{x}}\\
\end{array}
\end{array}
if y < -1.57999999999999992e112Initial program 99.6%
Applied egg-rr58.4%
Taylor expanded in y around 0 2.7%
associate-*r/2.7%
metadata-eval2.7%
unpow22.7%
associate-*r/2.7%
metadata-eval2.7%
Simplified2.7%
add-sqr-sqrt2.7%
sqrt-unprod2.7%
frac-times2.7%
metadata-eval2.7%
metadata-eval2.7%
frac-times2.7%
sqrt-unprod0.0%
add-sqr-sqrt23.5%
div-inv23.5%
Applied egg-rr23.5%
if -1.57999999999999992e112 < y < 2.09999999999999993e132Initial program 99.8%
sub-neg99.8%
distribute-frac-neg99.8%
*-commutative99.8%
associate-/r*99.7%
metadata-eval99.7%
neg-mul-199.7%
times-frac99.7%
metadata-eval99.7%
Simplified99.7%
Taylor expanded in y around 0 89.6%
cancel-sign-sub-inv89.6%
metadata-eval89.6%
associate-*r/89.7%
metadata-eval89.7%
Simplified89.7%
if 2.09999999999999993e132 < y Initial program 99.5%
Applied egg-rr90.7%
Taylor expanded in y around 0 17.9%
associate-*r/17.9%
metadata-eval17.9%
unpow217.9%
associate-*r/17.9%
metadata-eval17.9%
Simplified17.9%
Final simplification66.8%
(FPCore (x y)
:precision binary64
(if (<= y 2.1e+132)
(+ 1.0 (/ -0.1111111111111111 x))
(/
(- 1.0 (/ 0.012345679012345678 (* x x)))
(+ 1.0 (/ 0.1111111111111111 x)))))
double code(double x, double y) {
double tmp;
if (y <= 2.1e+132) {
tmp = 1.0 + (-0.1111111111111111 / x);
} else {
tmp = (1.0 - (0.012345679012345678 / (x * x))) / (1.0 + (0.1111111111111111 / x));
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: tmp
if (y <= 2.1d+132) then
tmp = 1.0d0 + ((-0.1111111111111111d0) / x)
else
tmp = (1.0d0 - (0.012345679012345678d0 / (x * x))) / (1.0d0 + (0.1111111111111111d0 / x))
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if (y <= 2.1e+132) {
tmp = 1.0 + (-0.1111111111111111 / x);
} else {
tmp = (1.0 - (0.012345679012345678 / (x * x))) / (1.0 + (0.1111111111111111 / x));
}
return tmp;
}
def code(x, y): tmp = 0 if y <= 2.1e+132: tmp = 1.0 + (-0.1111111111111111 / x) else: tmp = (1.0 - (0.012345679012345678 / (x * x))) / (1.0 + (0.1111111111111111 / x)) return tmp
function code(x, y) tmp = 0.0 if (y <= 2.1e+132) tmp = Float64(1.0 + Float64(-0.1111111111111111 / x)); else tmp = Float64(Float64(1.0 - Float64(0.012345679012345678 / Float64(x * x))) / Float64(1.0 + Float64(0.1111111111111111 / x))); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if (y <= 2.1e+132) tmp = 1.0 + (-0.1111111111111111 / x); else tmp = (1.0 - (0.012345679012345678 / (x * x))) / (1.0 + (0.1111111111111111 / x)); end tmp_2 = tmp; end
code[x_, y_] := If[LessEqual[y, 2.1e+132], N[(1.0 + N[(-0.1111111111111111 / x), $MachinePrecision]), $MachinePrecision], N[(N[(1.0 - N[(0.012345679012345678 / N[(x * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(1.0 + N[(0.1111111111111111 / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq 2.1 \cdot 10^{+132}:\\
\;\;\;\;1 + \frac{-0.1111111111111111}{x}\\
\mathbf{else}:\\
\;\;\;\;\frac{1 - \frac{0.012345679012345678}{x \cdot x}}{1 + \frac{0.1111111111111111}{x}}\\
\end{array}
\end{array}
if y < 2.09999999999999993e132Initial program 99.8%
sub-neg99.8%
distribute-frac-neg99.8%
*-commutative99.8%
associate-/r*99.7%
metadata-eval99.7%
neg-mul-199.7%
times-frac99.6%
metadata-eval99.6%
Simplified99.6%
Taylor expanded in y around 0 71.8%
cancel-sign-sub-inv71.8%
metadata-eval71.8%
associate-*r/71.9%
metadata-eval71.9%
Simplified71.9%
if 2.09999999999999993e132 < y Initial program 99.5%
Applied egg-rr90.7%
Taylor expanded in y around 0 17.9%
associate-*r/17.9%
metadata-eval17.9%
unpow217.9%
associate-*r/17.9%
metadata-eval17.9%
Simplified17.9%
Final simplification63.3%
(FPCore (x y) :precision binary64 (if (<= x 5e+26) (/ -0.1111111111111111 x) 1.0))
double code(double x, double y) {
double tmp;
if (x <= 5e+26) {
tmp = -0.1111111111111111 / x;
} else {
tmp = 1.0;
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: tmp
if (x <= 5d+26) then
tmp = (-0.1111111111111111d0) / x
else
tmp = 1.0d0
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if (x <= 5e+26) {
tmp = -0.1111111111111111 / x;
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y): tmp = 0 if x <= 5e+26: tmp = -0.1111111111111111 / x else: tmp = 1.0 return tmp
function code(x, y) tmp = 0.0 if (x <= 5e+26) tmp = Float64(-0.1111111111111111 / x); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if (x <= 5e+26) tmp = -0.1111111111111111 / x; else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_] := If[LessEqual[x, 5e+26], N[(-0.1111111111111111 / x), $MachinePrecision], 1.0]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq 5 \cdot 10^{+26}:\\
\;\;\;\;\frac{-0.1111111111111111}{x}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if x < 5.0000000000000001e26Initial program 99.7%
sub-neg99.7%
distribute-frac-neg99.7%
*-commutative99.7%
associate-/r*99.6%
metadata-eval99.6%
neg-mul-199.6%
times-frac99.5%
metadata-eval99.5%
Simplified99.5%
Taylor expanded in x around 0 57.3%
if 5.0000000000000001e26 < x Initial program 99.8%
sub-neg99.8%
distribute-frac-neg99.8%
*-commutative99.8%
associate-/r*99.8%
metadata-eval99.8%
neg-mul-199.8%
times-frac99.8%
metadata-eval99.8%
Simplified99.8%
Taylor expanded in x around inf 64.9%
Final simplification60.7%
(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%
distribute-frac-neg99.7%
*-commutative99.7%
associate-/r*99.7%
metadata-eval99.7%
neg-mul-199.7%
times-frac99.6%
metadata-eval99.6%
Simplified99.6%
Taylor expanded in y around 0 61.0%
cancel-sign-sub-inv61.0%
metadata-eval61.0%
associate-*r/61.1%
metadata-eval61.1%
Simplified61.1%
Final simplification61.1%
(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%
distribute-frac-neg99.7%
*-commutative99.7%
associate-/r*99.7%
metadata-eval99.7%
neg-mul-199.7%
times-frac99.6%
metadata-eval99.6%
Simplified99.6%
Taylor expanded in x around inf 29.8%
Final simplification29.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 2023297
(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)))))