
(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 10 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 (+ (- 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.9%
(FPCore (x y) :precision binary64 (if (or (<= y -2.95e+79) (not (<= y 4.5e+45))) (+ 1.0 (* y (sqrt x))) (- 1.0 x)))
double code(double x, double y) {
double tmp;
if ((y <= -2.95e+79) || !(y <= 4.5e+45)) {
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 <= (-2.95d+79)) .or. (.not. (y <= 4.5d+45))) 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 <= -2.95e+79) || !(y <= 4.5e+45)) {
tmp = 1.0 + (y * Math.sqrt(x));
} else {
tmp = 1.0 - x;
}
return tmp;
}
def code(x, y): tmp = 0 if (y <= -2.95e+79) or not (y <= 4.5e+45): tmp = 1.0 + (y * math.sqrt(x)) else: tmp = 1.0 - x return tmp
function code(x, y) tmp = 0.0 if ((y <= -2.95e+79) || !(y <= 4.5e+45)) 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 <= -2.95e+79) || ~((y <= 4.5e+45))) tmp = 1.0 + (y * sqrt(x)); else tmp = 1.0 - x; end tmp_2 = tmp; end
code[x_, y_] := If[Or[LessEqual[y, -2.95e+79], N[Not[LessEqual[y, 4.5e+45]], $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 -2.95 \cdot 10^{+79} \lor \neg \left(y \leq 4.5 \cdot 10^{+45}\right):\\
\;\;\;\;1 + y \cdot \sqrt{x}\\
\mathbf{else}:\\
\;\;\;\;1 - x\\
\end{array}
\end{array}
if y < -2.95e79 or 4.4999999999999998e45 < y Initial program 99.7%
Taylor expanded in x around 0 91.1%
if -2.95e79 < y < 4.4999999999999998e45Initial program 100.0%
add-cbrt-cube95.4%
pow395.4%
Applied egg-rr95.4%
Taylor expanded in y around 0 98.2%
Final simplification95.2%
(FPCore (x y) :precision binary64 (if (or (<= y -4.8e+108) (not (<= y 5.8e+90))) (* y (sqrt x)) (- 1.0 x)))
double code(double x, double y) {
double tmp;
if ((y <= -4.8e+108) || !(y <= 5.8e+90)) {
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 <= (-4.8d+108)) .or. (.not. (y <= 5.8d+90))) 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 <= -4.8e+108) || !(y <= 5.8e+90)) {
tmp = y * Math.sqrt(x);
} else {
tmp = 1.0 - x;
}
return tmp;
}
def code(x, y): tmp = 0 if (y <= -4.8e+108) or not (y <= 5.8e+90): tmp = y * math.sqrt(x) else: tmp = 1.0 - x return tmp
function code(x, y) tmp = 0.0 if ((y <= -4.8e+108) || !(y <= 5.8e+90)) 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 <= -4.8e+108) || ~((y <= 5.8e+90))) tmp = y * sqrt(x); else tmp = 1.0 - x; end tmp_2 = tmp; end
code[x_, y_] := If[Or[LessEqual[y, -4.8e+108], N[Not[LessEqual[y, 5.8e+90]], $MachinePrecision]], N[(y * N[Sqrt[x], $MachinePrecision]), $MachinePrecision], N[(1.0 - x), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -4.8 \cdot 10^{+108} \lor \neg \left(y \leq 5.8 \cdot 10^{+90}\right):\\
\;\;\;\;y \cdot \sqrt{x}\\
\mathbf{else}:\\
\;\;\;\;1 - x\\
\end{array}
\end{array}
if y < -4.80000000000000037e108 or 5.8000000000000003e90 < y Initial program 99.6%
Taylor expanded in x around inf 89.5%
associate--l+89.5%
distribute-rgt-in89.5%
Simplified99.5%
pow199.5%
*-commutative99.5%
sqrt-div99.5%
metadata-eval99.5%
un-div-inv99.6%
Applied egg-rr99.6%
unpow199.6%
associate-*r/78.0%
Simplified78.0%
Taylor expanded in y around inf 90.3%
if -4.80000000000000037e108 < y < 5.8000000000000003e90Initial program 100.0%
add-cbrt-cube93.2%
pow393.2%
Applied egg-rr93.2%
Taylor expanded in y around 0 91.4%
Final simplification91.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.9%
Taylor expanded in x around 0 98.8%
if 1 < x Initial program 99.8%
Taylor expanded in x around inf 99.3%
neg-mul-199.3%
Simplified99.3%
Final simplification99.0%
(FPCore (x y)
:precision binary64
(let* ((t_0 (- 1.0 (* x x))))
(if (<= y -1.08e+162)
(/ t_0 (+ 1.0 x))
(if (<= y 2.6e+121) (- 1.0 x) (/ t_0 (- 1.0 x))))))
double code(double x, double y) {
double t_0 = 1.0 - (x * x);
double tmp;
if (y <= -1.08e+162) {
tmp = t_0 / (1.0 + x);
} else if (y <= 2.6e+121) {
tmp = 1.0 - x;
} else {
tmp = t_0 / (1.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 = 1.0d0 - (x * x)
if (y <= (-1.08d+162)) then
tmp = t_0 / (1.0d0 + x)
else if (y <= 2.6d+121) then
tmp = 1.0d0 - x
else
tmp = t_0 / (1.0d0 - x)
end if
code = tmp
end function
public static double code(double x, double y) {
double t_0 = 1.0 - (x * x);
double tmp;
if (y <= -1.08e+162) {
tmp = t_0 / (1.0 + x);
} else if (y <= 2.6e+121) {
tmp = 1.0 - x;
} else {
tmp = t_0 / (1.0 - x);
}
return tmp;
}
def code(x, y): t_0 = 1.0 - (x * x) tmp = 0 if y <= -1.08e+162: tmp = t_0 / (1.0 + x) elif y <= 2.6e+121: tmp = 1.0 - x else: tmp = t_0 / (1.0 - x) return tmp
function code(x, y) t_0 = Float64(1.0 - Float64(x * x)) tmp = 0.0 if (y <= -1.08e+162) tmp = Float64(t_0 / Float64(1.0 + x)); elseif (y <= 2.6e+121) tmp = Float64(1.0 - x); else tmp = Float64(t_0 / Float64(1.0 - x)); end return tmp end
function tmp_2 = code(x, y) t_0 = 1.0 - (x * x); tmp = 0.0; if (y <= -1.08e+162) tmp = t_0 / (1.0 + x); elseif (y <= 2.6e+121) tmp = 1.0 - x; else tmp = t_0 / (1.0 - x); end tmp_2 = tmp; end
code[x_, y_] := Block[{t$95$0 = N[(1.0 - N[(x * x), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -1.08e+162], N[(t$95$0 / N[(1.0 + x), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2.6e+121], N[(1.0 - x), $MachinePrecision], N[(t$95$0 / N[(1.0 - x), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := 1 - x \cdot x\\
\mathbf{if}\;y \leq -1.08 \cdot 10^{+162}:\\
\;\;\;\;\frac{t\_0}{1 + x}\\
\mathbf{elif}\;y \leq 2.6 \cdot 10^{+121}:\\
\;\;\;\;1 - x\\
\mathbf{else}:\\
\;\;\;\;\frac{t\_0}{1 - x}\\
\end{array}
\end{array}
if y < -1.0799999999999999e162Initial program 99.7%
add-cbrt-cube45.3%
pow345.3%
Applied egg-rr45.3%
Taylor expanded in y around 0 3.5%
sub-neg3.5%
flip-+26.8%
metadata-eval26.8%
Applied egg-rr26.8%
if -1.0799999999999999e162 < y < 2.5999999999999999e121Initial program 99.9%
add-cbrt-cube88.3%
pow388.3%
Applied egg-rr88.3%
Taylor expanded in y around 0 85.0%
if 2.5999999999999999e121 < y Initial program 99.6%
add-cbrt-cube32.4%
pow332.4%
Applied egg-rr32.4%
Taylor expanded in y around 0 2.3%
sub-neg2.3%
flip-+2.3%
metadata-eval2.3%
Applied egg-rr2.3%
neg-sub02.3%
sub-neg2.3%
add-sqr-sqrt0.0%
sqrt-unprod3.5%
sqr-neg3.5%
sqrt-unprod14.3%
add-sqr-sqrt14.3%
Applied egg-rr14.3%
+-lft-identity14.3%
Simplified14.3%
Final simplification67.7%
(FPCore (x y)
:precision binary64
(let* ((t_0 (- 1.0 (* x x))))
(if (<= y -4.9e+162)
(/ t_0 x)
(if (<= y 7.8e+121) (- 1.0 x) (/ t_0 (- 1.0 x))))))
double code(double x, double y) {
double t_0 = 1.0 - (x * x);
double tmp;
if (y <= -4.9e+162) {
tmp = t_0 / x;
} else if (y <= 7.8e+121) {
tmp = 1.0 - x;
} else {
tmp = t_0 / (1.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 = 1.0d0 - (x * x)
if (y <= (-4.9d+162)) then
tmp = t_0 / x
else if (y <= 7.8d+121) then
tmp = 1.0d0 - x
else
tmp = t_0 / (1.0d0 - x)
end if
code = tmp
end function
public static double code(double x, double y) {
double t_0 = 1.0 - (x * x);
double tmp;
if (y <= -4.9e+162) {
tmp = t_0 / x;
} else if (y <= 7.8e+121) {
tmp = 1.0 - x;
} else {
tmp = t_0 / (1.0 - x);
}
return tmp;
}
def code(x, y): t_0 = 1.0 - (x * x) tmp = 0 if y <= -4.9e+162: tmp = t_0 / x elif y <= 7.8e+121: tmp = 1.0 - x else: tmp = t_0 / (1.0 - x) return tmp
function code(x, y) t_0 = Float64(1.0 - Float64(x * x)) tmp = 0.0 if (y <= -4.9e+162) tmp = Float64(t_0 / x); elseif (y <= 7.8e+121) tmp = Float64(1.0 - x); else tmp = Float64(t_0 / Float64(1.0 - x)); end return tmp end
function tmp_2 = code(x, y) t_0 = 1.0 - (x * x); tmp = 0.0; if (y <= -4.9e+162) tmp = t_0 / x; elseif (y <= 7.8e+121) tmp = 1.0 - x; else tmp = t_0 / (1.0 - x); end tmp_2 = tmp; end
code[x_, y_] := Block[{t$95$0 = N[(1.0 - N[(x * x), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -4.9e+162], N[(t$95$0 / x), $MachinePrecision], If[LessEqual[y, 7.8e+121], N[(1.0 - x), $MachinePrecision], N[(t$95$0 / N[(1.0 - x), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := 1 - x \cdot x\\
\mathbf{if}\;y \leq -4.9 \cdot 10^{+162}:\\
\;\;\;\;\frac{t\_0}{x}\\
\mathbf{elif}\;y \leq 7.8 \cdot 10^{+121}:\\
\;\;\;\;1 - x\\
\mathbf{else}:\\
\;\;\;\;\frac{t\_0}{1 - x}\\
\end{array}
\end{array}
if y < -4.90000000000000033e162Initial program 99.7%
add-cbrt-cube45.3%
pow345.3%
Applied egg-rr45.3%
Taylor expanded in y around 0 3.5%
sub-neg3.5%
flip-+26.8%
metadata-eval26.8%
Applied egg-rr26.8%
Taylor expanded in x around inf 26.6%
if -4.90000000000000033e162 < y < 7.79999999999999967e121Initial program 99.9%
add-cbrt-cube88.3%
pow388.3%
Applied egg-rr88.3%
Taylor expanded in y around 0 85.0%
if 7.79999999999999967e121 < y Initial program 99.6%
add-cbrt-cube32.4%
pow332.4%
Applied egg-rr32.4%
Taylor expanded in y around 0 2.3%
sub-neg2.3%
flip-+2.3%
metadata-eval2.3%
Applied egg-rr2.3%
neg-sub02.3%
sub-neg2.3%
add-sqr-sqrt0.0%
sqrt-unprod3.5%
sqr-neg3.5%
sqrt-unprod14.3%
add-sqr-sqrt14.3%
Applied egg-rr14.3%
+-lft-identity14.3%
Simplified14.3%
Final simplification67.6%
(FPCore (x y) :precision binary64 (if (<= y -1.2e+162) (/ (- 1.0 (* x x)) x) (- 1.0 x)))
double code(double x, double y) {
double tmp;
if (y <= -1.2e+162) {
tmp = (1.0 - (x * x)) / 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 <= (-1.2d+162)) then
tmp = (1.0d0 - (x * x)) / x
else
tmp = 1.0d0 - x
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if (y <= -1.2e+162) {
tmp = (1.0 - (x * x)) / x;
} else {
tmp = 1.0 - x;
}
return tmp;
}
def code(x, y): tmp = 0 if y <= -1.2e+162: tmp = (1.0 - (x * x)) / x else: tmp = 1.0 - x return tmp
function code(x, y) tmp = 0.0 if (y <= -1.2e+162) tmp = Float64(Float64(1.0 - Float64(x * x)) / x); else tmp = Float64(1.0 - x); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if (y <= -1.2e+162) tmp = (1.0 - (x * x)) / x; else tmp = 1.0 - x; end tmp_2 = tmp; end
code[x_, y_] := If[LessEqual[y, -1.2e+162], N[(N[(1.0 - N[(x * x), $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision], N[(1.0 - x), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.2 \cdot 10^{+162}:\\
\;\;\;\;\frac{1 - x \cdot x}{x}\\
\mathbf{else}:\\
\;\;\;\;1 - x\\
\end{array}
\end{array}
if y < -1.20000000000000005e162Initial program 99.7%
add-cbrt-cube45.3%
pow345.3%
Applied egg-rr45.3%
Taylor expanded in y around 0 3.5%
sub-neg3.5%
flip-+26.8%
metadata-eval26.8%
Applied egg-rr26.8%
Taylor expanded in x around inf 26.6%
if -1.20000000000000005e162 < y Initial program 99.9%
add-cbrt-cube77.9%
pow377.9%
Applied egg-rr77.9%
Taylor expanded in y around 0 69.7%
Final simplification65.6%
(FPCore (x y) :precision binary64 (if (<= x 75000.0) 1.0 (- x)))
double code(double x, double y) {
double tmp;
if (x <= 75000.0) {
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 <= 75000.0d0) 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 <= 75000.0) {
tmp = 1.0;
} else {
tmp = -x;
}
return tmp;
}
def code(x, y): tmp = 0 if x <= 75000.0: tmp = 1.0 else: tmp = -x return tmp
function code(x, y) tmp = 0.0 if (x <= 75000.0) tmp = 1.0; else tmp = Float64(-x); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if (x <= 75000.0) tmp = 1.0; else tmp = -x; end tmp_2 = tmp; end
code[x_, y_] := If[LessEqual[x, 75000.0], 1.0, (-x)]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq 75000:\\
\;\;\;\;1\\
\mathbf{else}:\\
\;\;\;\;-x\\
\end{array}
\end{array}
if x < 75000Initial program 99.8%
Taylor expanded in x around 0 98.8%
Taylor expanded in y around 0 66.9%
if 75000 < x Initial program 99.9%
Taylor expanded in x around inf 99.2%
Taylor expanded in y around 0 57.3%
neg-mul-157.3%
Simplified57.3%
(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.9%
add-cbrt-cube74.9%
pow374.9%
Applied egg-rr74.9%
Taylor expanded in y around 0 63.5%
(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.9%
Taylor expanded in x around 0 73.4%
Taylor expanded in y around 0 38.2%
herbie shell --seed 2024157
(FPCore (x y)
:name "Numeric.SpecFunctions:invIncompleteBetaWorker from math-functions-0.1.5.2, E"
:precision binary64
(+ (- 1.0 x) (* y (sqrt x))))