
(FPCore (x y) :precision binary64 (+ (- 1.0 x) (* y (sqrt x))))
double code(double x, double y) {
return (1.0 - x) + (y * sqrt(x));
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = (1.0d0 - x) + (y * sqrt(x))
end function
public static double code(double x, double y) {
return (1.0 - x) + (y * Math.sqrt(x));
}
def code(x, y): return (1.0 - x) + (y * math.sqrt(x))
function code(x, y) return Float64(Float64(1.0 - x) + Float64(y * sqrt(x))) end
function tmp = code(x, y) tmp = (1.0 - x) + (y * sqrt(x)); end
code[x_, y_] := N[(N[(1.0 - x), $MachinePrecision] + N[(y * N[Sqrt[x], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(1 - x\right) + y \cdot \sqrt{x}
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 11 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y) :precision binary64 (+ (- 1.0 x) (* y (sqrt x))))
double code(double x, double y) {
return (1.0 - x) + (y * sqrt(x));
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = (1.0d0 - x) + (y * sqrt(x))
end function
public static double code(double x, double y) {
return (1.0 - x) + (y * Math.sqrt(x));
}
def code(x, y): return (1.0 - x) + (y * math.sqrt(x))
function code(x, y) return Float64(Float64(1.0 - x) + Float64(y * sqrt(x))) end
function tmp = code(x, y) tmp = (1.0 - x) + (y * sqrt(x)); end
code[x_, y_] := N[(N[(1.0 - x), $MachinePrecision] + N[(y * N[Sqrt[x], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(1 - x\right) + y \cdot \sqrt{x}
\end{array}
(FPCore (x y) :precision binary64 (+ (/ y (pow x -0.5)) (- 1.0 x)))
double code(double x, double y) {
return (y / pow(x, -0.5)) + (1.0 - x);
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = (y / (x ** (-0.5d0))) + (1.0d0 - x)
end function
public static double code(double x, double y) {
return (y / Math.pow(x, -0.5)) + (1.0 - x);
}
def code(x, y): return (y / math.pow(x, -0.5)) + (1.0 - x)
function code(x, y) return Float64(Float64(y / (x ^ -0.5)) + Float64(1.0 - x)) end
function tmp = code(x, y) tmp = (y / (x ^ -0.5)) + (1.0 - x); end
code[x_, y_] := N[(N[(y / N[Power[x, -0.5], $MachinePrecision]), $MachinePrecision] + N[(1.0 - x), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{y}{{x}^{-0.5}} + \left(1 - x\right)
\end{array}
Initial program 99.8%
Taylor expanded in x around inf 90.1%
associate--l+90.1%
distribute-rgt-in90.1%
Simplified99.8%
sqrt-div99.8%
metadata-eval99.8%
un-div-inv99.8%
Applied egg-rr99.8%
frac-2neg99.8%
clear-num99.8%
frac-2neg99.8%
pow1/299.8%
pow199.8%
pow-div99.8%
metadata-eval99.8%
metadata-eval99.8%
sqrt-pow199.8%
inv-pow99.8%
associate-*l/99.9%
*-un-lft-identity99.9%
inv-pow99.9%
sqrt-pow199.9%
metadata-eval99.9%
Applied egg-rr99.9%
(FPCore (x y) :precision binary64 (if (or (<= y -3.2e+36) (not (<= y 2.5e+37))) (+ 1.0 (* y (sqrt x))) (- 1.0 x)))
double code(double x, double y) {
double tmp;
if ((y <= -3.2e+36) || !(y <= 2.5e+37)) {
tmp = 1.0 + (y * sqrt(x));
} else {
tmp = 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.2d+36)) .or. (.not. (y <= 2.5d+37))) then
tmp = 1.0d0 + (y * sqrt(x))
else
tmp = 1.0d0 - x
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if ((y <= -3.2e+36) || !(y <= 2.5e+37)) {
tmp = 1.0 + (y * Math.sqrt(x));
} else {
tmp = 1.0 - x;
}
return tmp;
}
def code(x, y): tmp = 0 if (y <= -3.2e+36) or not (y <= 2.5e+37): tmp = 1.0 + (y * math.sqrt(x)) else: tmp = 1.0 - x return tmp
function code(x, y) tmp = 0.0 if ((y <= -3.2e+36) || !(y <= 2.5e+37)) tmp = Float64(1.0 + Float64(y * sqrt(x))); else tmp = Float64(1.0 - x); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if ((y <= -3.2e+36) || ~((y <= 2.5e+37))) tmp = 1.0 + (y * sqrt(x)); else tmp = 1.0 - x; end tmp_2 = tmp; end
code[x_, y_] := If[Or[LessEqual[y, -3.2e+36], N[Not[LessEqual[y, 2.5e+37]], $MachinePrecision]], N[(1.0 + N[(y * N[Sqrt[x], $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(1.0 - x), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -3.2 \cdot 10^{+36} \lor \neg \left(y \leq 2.5 \cdot 10^{+37}\right):\\
\;\;\;\;1 + y \cdot \sqrt{x}\\
\mathbf{else}:\\
\;\;\;\;1 - x\\
\end{array}
\end{array}
if y < -3.1999999999999999e36 or 2.49999999999999994e37 < y Initial program 99.7%
Taylor expanded in x around 0 95.9%
if -3.1999999999999999e36 < y < 2.49999999999999994e37Initial program 100.0%
add-cube-cbrt100.0%
pow3100.0%
Applied egg-rr100.0%
Taylor expanded in y around 0 99.9%
Final simplification97.9%
(FPCore (x y) :precision binary64 (if (or (<= y -2.06e+49) (not (<= y 2.2e+73))) (* y (sqrt x)) (- 1.0 x)))
double code(double x, double y) {
double tmp;
if ((y <= -2.06e+49) || !(y <= 2.2e+73)) {
tmp = y * sqrt(x);
} else {
tmp = 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 <= (-2.06d+49)) .or. (.not. (y <= 2.2d+73))) then
tmp = y * sqrt(x)
else
tmp = 1.0d0 - x
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if ((y <= -2.06e+49) || !(y <= 2.2e+73)) {
tmp = y * Math.sqrt(x);
} else {
tmp = 1.0 - x;
}
return tmp;
}
def code(x, y): tmp = 0 if (y <= -2.06e+49) or not (y <= 2.2e+73): tmp = y * math.sqrt(x) else: tmp = 1.0 - x return tmp
function code(x, y) tmp = 0.0 if ((y <= -2.06e+49) || !(y <= 2.2e+73)) tmp = Float64(y * sqrt(x)); else tmp = Float64(1.0 - x); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if ((y <= -2.06e+49) || ~((y <= 2.2e+73))) tmp = y * sqrt(x); else tmp = 1.0 - x; end tmp_2 = tmp; end
code[x_, y_] := If[Or[LessEqual[y, -2.06e+49], N[Not[LessEqual[y, 2.2e+73]], $MachinePrecision]], N[(y * N[Sqrt[x], $MachinePrecision]), $MachinePrecision], N[(1.0 - x), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -2.06 \cdot 10^{+49} \lor \neg \left(y \leq 2.2 \cdot 10^{+73}\right):\\
\;\;\;\;y \cdot \sqrt{x}\\
\mathbf{else}:\\
\;\;\;\;1 - x\\
\end{array}
\end{array}
if y < -2.0600000000000001e49 or 2.2e73 < y Initial program 99.7%
Taylor expanded in x around inf 78.7%
associate--l+78.7%
distribute-rgt-in78.7%
Simplified99.6%
sqrt-div99.5%
metadata-eval99.5%
un-div-inv99.5%
Applied egg-rr99.5%
frac-2neg99.5%
clear-num99.5%
frac-2neg99.5%
pow1/299.5%
pow199.5%
pow-div99.6%
metadata-eval99.6%
metadata-eval99.6%
sqrt-pow199.6%
inv-pow99.6%
associate-*l/99.7%
*-un-lft-identity99.7%
inv-pow99.7%
sqrt-pow199.7%
metadata-eval99.7%
Applied egg-rr99.7%
Taylor expanded in y around inf 91.8%
if -2.0600000000000001e49 < y < 2.2e73Initial program 100.0%
add-cube-cbrt99.9%
pow399.9%
Applied egg-rr99.9%
Taylor expanded in y around 0 97.3%
Final simplification94.8%
(FPCore (x y) :precision binary64 (if (<= x 1.0) (+ (/ y (pow x -0.5)) 1.0) (- (* y (sqrt x)) x)))
double code(double x, double y) {
double tmp;
if (x <= 1.0) {
tmp = (y / pow(x, -0.5)) + 1.0;
} else {
tmp = (y * sqrt(x)) - x;
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: tmp
if (x <= 1.0d0) then
tmp = (y / (x ** (-0.5d0))) + 1.0d0
else
tmp = (y * sqrt(x)) - x
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if (x <= 1.0) {
tmp = (y / Math.pow(x, -0.5)) + 1.0;
} else {
tmp = (y * Math.sqrt(x)) - x;
}
return tmp;
}
def code(x, y): tmp = 0 if x <= 1.0: tmp = (y / math.pow(x, -0.5)) + 1.0 else: tmp = (y * math.sqrt(x)) - x return tmp
function code(x, y) tmp = 0.0 if (x <= 1.0) tmp = Float64(Float64(y / (x ^ -0.5)) + 1.0); else tmp = Float64(Float64(y * sqrt(x)) - x); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if (x <= 1.0) tmp = (y / (x ^ -0.5)) + 1.0; else tmp = (y * sqrt(x)) - x; end tmp_2 = tmp; end
code[x_, y_] := If[LessEqual[x, 1.0], N[(N[(y / N[Power[x, -0.5], $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision], N[(N[(y * N[Sqrt[x], $MachinePrecision]), $MachinePrecision] - x), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq 1:\\
\;\;\;\;\frac{y}{{x}^{-0.5}} + 1\\
\mathbf{else}:\\
\;\;\;\;y \cdot \sqrt{x} - x\\
\end{array}
\end{array}
if x < 1Initial program 99.8%
Taylor expanded in x around inf 80.5%
associate--l+80.5%
distribute-rgt-in80.5%
Simplified99.8%
sqrt-div99.8%
metadata-eval99.8%
un-div-inv99.8%
Applied egg-rr99.8%
frac-2neg99.8%
clear-num99.8%
frac-2neg99.8%
pow1/299.8%
pow199.8%
pow-div99.8%
metadata-eval99.8%
metadata-eval99.8%
sqrt-pow199.8%
inv-pow99.8%
associate-*l/99.9%
*-un-lft-identity99.9%
inv-pow99.9%
sqrt-pow199.9%
metadata-eval99.9%
Applied egg-rr99.9%
Taylor expanded in x around 0 98.1%
if 1 < x Initial program 99.9%
Taylor expanded in x around inf 99.9%
neg-mul-199.9%
Simplified99.9%
Final simplification99.0%
(FPCore (x y) :precision binary64 (let* ((t_0 (* y (sqrt x)))) (if (<= x 1.0) (+ 1.0 t_0) (- t_0 x))))
double code(double x, double y) {
double t_0 = y * sqrt(x);
double tmp;
if (x <= 1.0) {
tmp = 1.0 + t_0;
} else {
tmp = t_0 - 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 = y * sqrt(x)
if (x <= 1.0d0) then
tmp = 1.0d0 + t_0
else
tmp = t_0 - x
end if
code = tmp
end function
public static double code(double x, double y) {
double t_0 = y * Math.sqrt(x);
double tmp;
if (x <= 1.0) {
tmp = 1.0 + t_0;
} else {
tmp = t_0 - x;
}
return tmp;
}
def code(x, y): t_0 = y * math.sqrt(x) tmp = 0 if x <= 1.0: tmp = 1.0 + t_0 else: tmp = t_0 - x return tmp
function code(x, y) t_0 = Float64(y * sqrt(x)) tmp = 0.0 if (x <= 1.0) tmp = Float64(1.0 + t_0); else tmp = Float64(t_0 - x); end return tmp end
function tmp_2 = code(x, y) t_0 = y * sqrt(x); tmp = 0.0; if (x <= 1.0) tmp = 1.0 + t_0; else tmp = t_0 - x; end tmp_2 = tmp; end
code[x_, y_] := Block[{t$95$0 = N[(y * N[Sqrt[x], $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, 1.0], N[(1.0 + t$95$0), $MachinePrecision], N[(t$95$0 - x), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := y \cdot \sqrt{x}\\
\mathbf{if}\;x \leq 1:\\
\;\;\;\;1 + t\_0\\
\mathbf{else}:\\
\;\;\;\;t\_0 - x\\
\end{array}
\end{array}
if x < 1Initial program 99.8%
Taylor expanded in x around 0 98.0%
if 1 < x Initial program 99.9%
Taylor expanded in x around inf 99.9%
neg-mul-199.9%
Simplified99.9%
Final simplification99.0%
(FPCore (x y) :precision binary64 (+ (- 1.0 x) (* y (sqrt x))))
double code(double x, double y) {
return (1.0 - x) + (y * sqrt(x));
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = (1.0d0 - x) + (y * sqrt(x))
end function
public static double code(double x, double y) {
return (1.0 - x) + (y * Math.sqrt(x));
}
def code(x, y): return (1.0 - x) + (y * math.sqrt(x))
function code(x, y) return Float64(Float64(1.0 - x) + Float64(y * sqrt(x))) end
function tmp = code(x, y) tmp = (1.0 - x) + (y * sqrt(x)); end
code[x_, y_] := N[(N[(1.0 - x), $MachinePrecision] + N[(y * N[Sqrt[x], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(1 - x\right) + y \cdot \sqrt{x}
\end{array}
Initial program 99.8%
(FPCore (x y) :precision binary64 (if (<= y 4.2e+38) (/ (* y (+ x -1.0)) (- y)) (/ (* y (+ x 1.0)) y)))
double code(double x, double y) {
double tmp;
if (y <= 4.2e+38) {
tmp = (y * (x + -1.0)) / -y;
} else {
tmp = (y * (x + 1.0)) / y;
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: tmp
if (y <= 4.2d+38) then
tmp = (y * (x + (-1.0d0))) / -y
else
tmp = (y * (x + 1.0d0)) / y
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if (y <= 4.2e+38) {
tmp = (y * (x + -1.0)) / -y;
} else {
tmp = (y * (x + 1.0)) / y;
}
return tmp;
}
def code(x, y): tmp = 0 if y <= 4.2e+38: tmp = (y * (x + -1.0)) / -y else: tmp = (y * (x + 1.0)) / y return tmp
function code(x, y) tmp = 0.0 if (y <= 4.2e+38) tmp = Float64(Float64(y * Float64(x + -1.0)) / Float64(-y)); else tmp = Float64(Float64(y * Float64(x + 1.0)) / y); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if (y <= 4.2e+38) tmp = (y * (x + -1.0)) / -y; else tmp = (y * (x + 1.0)) / y; end tmp_2 = tmp; end
code[x_, y_] := If[LessEqual[y, 4.2e+38], N[(N[(y * N[(x + -1.0), $MachinePrecision]), $MachinePrecision] / (-y)), $MachinePrecision], N[(N[(y * N[(x + 1.0), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq 4.2 \cdot 10^{+38}:\\
\;\;\;\;\frac{y \cdot \left(x + -1\right)}{-y}\\
\mathbf{else}:\\
\;\;\;\;\frac{y \cdot \left(x + 1\right)}{y}\\
\end{array}
\end{array}
if y < 4.2e38Initial program 99.9%
Taylor expanded in y around inf 84.3%
associate--l+84.3%
div-sub84.3%
Simplified84.3%
Taylor expanded in y around 0 52.3%
*-commutative52.3%
frac-2neg52.3%
associate-*l/72.8%
sub-neg72.8%
distribute-neg-in72.8%
metadata-eval72.8%
remove-double-neg72.8%
Applied egg-rr72.8%
if 4.2e38 < y Initial program 99.7%
Taylor expanded in y around inf 99.5%
associate--l+99.5%
div-sub99.5%
Simplified99.5%
Taylor expanded in y around 0 15.6%
associate-*r/11.0%
sub-neg11.0%
add-sqr-sqrt0.0%
sqrt-unprod26.7%
sqr-neg26.7%
sqrt-unprod26.7%
add-sqr-sqrt26.7%
+-commutative26.7%
Applied egg-rr26.7%
Final simplification62.2%
(FPCore (x y) :precision binary64 (if (<= y 8e+130) (- 1.0 x) (/ (* y (+ x 1.0)) y)))
double code(double x, double y) {
double tmp;
if (y <= 8e+130) {
tmp = 1.0 - x;
} else {
tmp = (y * (x + 1.0)) / y;
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: tmp
if (y <= 8d+130) then
tmp = 1.0d0 - x
else
tmp = (y * (x + 1.0d0)) / y
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if (y <= 8e+130) {
tmp = 1.0 - x;
} else {
tmp = (y * (x + 1.0)) / y;
}
return tmp;
}
def code(x, y): tmp = 0 if y <= 8e+130: tmp = 1.0 - x else: tmp = (y * (x + 1.0)) / y return tmp
function code(x, y) tmp = 0.0 if (y <= 8e+130) tmp = Float64(1.0 - x); else tmp = Float64(Float64(y * Float64(x + 1.0)) / y); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if (y <= 8e+130) tmp = 1.0 - x; else tmp = (y * (x + 1.0)) / y; end tmp_2 = tmp; end
code[x_, y_] := If[LessEqual[y, 8e+130], N[(1.0 - x), $MachinePrecision], N[(N[(y * N[(x + 1.0), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq 8 \cdot 10^{+130}:\\
\;\;\;\;1 - x\\
\mathbf{else}:\\
\;\;\;\;\frac{y \cdot \left(x + 1\right)}{y}\\
\end{array}
\end{array}
if y < 8.0000000000000005e130Initial program 99.9%
add-cube-cbrt99.5%
pow399.5%
Applied egg-rr99.5%
Taylor expanded in y around 0 66.1%
if 8.0000000000000005e130 < y Initial program 99.6%
Taylor expanded in y around inf 99.6%
associate--l+99.6%
div-sub99.6%
Simplified99.6%
Taylor expanded in y around 0 2.4%
associate-*r/2.3%
sub-neg2.3%
add-sqr-sqrt0.0%
sqrt-unprod24.3%
sqr-neg24.3%
sqrt-unprod24.3%
add-sqr-sqrt24.3%
+-commutative24.3%
Applied egg-rr24.3%
(FPCore (x y) :precision binary64 (if (<= x 2.2e+16) 1.0 (- x)))
double code(double x, double y) {
double tmp;
if (x <= 2.2e+16) {
tmp = 1.0;
} else {
tmp = -x;
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: tmp
if (x <= 2.2d+16) then
tmp = 1.0d0
else
tmp = -x
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if (x <= 2.2e+16) {
tmp = 1.0;
} else {
tmp = -x;
}
return tmp;
}
def code(x, y): tmp = 0 if x <= 2.2e+16: tmp = 1.0 else: tmp = -x return tmp
function code(x, y) tmp = 0.0 if (x <= 2.2e+16) tmp = 1.0; else tmp = Float64(-x); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if (x <= 2.2e+16) tmp = 1.0; else tmp = -x; end tmp_2 = tmp; end
code[x_, y_] := If[LessEqual[x, 2.2e+16], 1.0, (-x)]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq 2.2 \cdot 10^{+16}:\\
\;\;\;\;1\\
\mathbf{else}:\\
\;\;\;\;-x\\
\end{array}
\end{array}
if x < 2.2e16Initial program 99.8%
Taylor expanded in x around 0 98.1%
Taylor expanded in y around 0 54.0%
if 2.2e16 < x Initial program 99.9%
Taylor expanded in y around inf 75.0%
associate--l+75.0%
div-sub75.0%
Simplified75.0%
Taylor expanded in y around 0 31.4%
Taylor expanded in x around inf 56.2%
mul-1-neg56.2%
Simplified56.2%
(FPCore (x y) :precision binary64 (- 1.0 x))
double code(double x, double y) {
return 1.0 - x;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = 1.0d0 - x
end function
public static double code(double x, double y) {
return 1.0 - x;
}
def code(x, y): return 1.0 - x
function code(x, y) return Float64(1.0 - x) end
function tmp = code(x, y) tmp = 1.0 - x; end
code[x_, y_] := N[(1.0 - x), $MachinePrecision]
\begin{array}{l}
\\
1 - x
\end{array}
Initial program 99.8%
add-cube-cbrt99.3%
pow399.3%
Applied egg-rr99.3%
Taylor expanded in y around 0 55.9%
(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.8%
Taylor expanded in x around 0 72.6%
Taylor expanded in y around 0 28.8%
herbie shell --seed 2024150
(FPCore (x y)
:name "Numeric.SpecFunctions:invIncompleteBetaWorker from math-functions-0.1.5.2, E"
:precision binary64
(+ (- 1.0 x) (* y (sqrt x))))