
(FPCore (a b) :precision binary64 (* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b))))
double code(double a, double b) {
return ((((double) M_PI) / 2.0) * (1.0 / ((b * b) - (a * a)))) * ((1.0 / a) - (1.0 / b));
}
public static double code(double a, double b) {
return ((Math.PI / 2.0) * (1.0 / ((b * b) - (a * a)))) * ((1.0 / a) - (1.0 / b));
}
def code(a, b): return ((math.pi / 2.0) * (1.0 / ((b * b) - (a * a)))) * ((1.0 / a) - (1.0 / b))
function code(a, b) return Float64(Float64(Float64(pi / 2.0) * Float64(1.0 / Float64(Float64(b * b) - Float64(a * a)))) * Float64(Float64(1.0 / a) - Float64(1.0 / b))) end
function tmp = code(a, b) tmp = ((pi / 2.0) * (1.0 / ((b * b) - (a * a)))) * ((1.0 / a) - (1.0 / b)); end
code[a_, b_] := N[(N[(N[(Pi / 2.0), $MachinePrecision] * N[(1.0 / N[(N[(b * b), $MachinePrecision] - N[(a * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * N[(N[(1.0 / a), $MachinePrecision] - N[(1.0 / b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\frac{\pi}{2} \cdot \frac{1}{b \cdot b - a \cdot a}\right) \cdot \left(\frac{1}{a} - \frac{1}{b}\right)
\end{array}
Herbie found 8 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (a b) :precision binary64 (* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b))))
double code(double a, double b) {
return ((((double) M_PI) / 2.0) * (1.0 / ((b * b) - (a * a)))) * ((1.0 / a) - (1.0 / b));
}
public static double code(double a, double b) {
return ((Math.PI / 2.0) * (1.0 / ((b * b) - (a * a)))) * ((1.0 / a) - (1.0 / b));
}
def code(a, b): return ((math.pi / 2.0) * (1.0 / ((b * b) - (a * a)))) * ((1.0 / a) - (1.0 / b))
function code(a, b) return Float64(Float64(Float64(pi / 2.0) * Float64(1.0 / Float64(Float64(b * b) - Float64(a * a)))) * Float64(Float64(1.0 / a) - Float64(1.0 / b))) end
function tmp = code(a, b) tmp = ((pi / 2.0) * (1.0 / ((b * b) - (a * a)))) * ((1.0 / a) - (1.0 / b)); end
code[a_, b_] := N[(N[(N[(Pi / 2.0), $MachinePrecision] * N[(1.0 / N[(N[(b * b), $MachinePrecision] - N[(a * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * N[(N[(1.0 / a), $MachinePrecision] - N[(1.0 / b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\frac{\pi}{2} \cdot \frac{1}{b \cdot b - a \cdot a}\right) \cdot \left(\frac{1}{a} - \frac{1}{b}\right)
\end{array}
(FPCore (a b) :precision binary64 (/ (/ PI (* (+ b b) a)) (+ b a)))
double code(double a, double b) {
return (((double) M_PI) / ((b + b) * a)) / (b + a);
}
public static double code(double a, double b) {
return (Math.PI / ((b + b) * a)) / (b + a);
}
def code(a, b): return (math.pi / ((b + b) * a)) / (b + a)
function code(a, b) return Float64(Float64(pi / Float64(Float64(b + b) * a)) / Float64(b + a)) end
function tmp = code(a, b) tmp = (pi / ((b + b) * a)) / (b + a); end
code[a_, b_] := N[(N[(Pi / N[(N[(b + b), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision] / N[(b + a), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{\frac{\pi}{\left(b + b\right) \cdot a}}{b + a}
\end{array}
Initial program 78.8%
lift-*.f64N/A
lift-/.f64N/A
mult-flip-revN/A
lift--.f64N/A
lift-*.f64N/A
lift-*.f64N/A
difference-of-squaresN/A
associate-/r*N/A
*-lft-identityN/A
/-rgt-identityN/A
mult-flipN/A
metadata-evalN/A
lower-/.f64N/A
lower-/.f64N/A
lift-/.f64N/A
div-flipN/A
associate-/r/N/A
lower-*.f64N/A
metadata-evalN/A
+-commutativeN/A
lower-+.f64N/A
*-lft-identityN/A
*-rgt-identityN/A
Applied rewrites88.5%
Applied rewrites99.1%
lift-/.f64N/A
lift-/.f64N/A
lift-*.f64N/A
lift-*.f64N/A
times-fracN/A
associate-/r*N/A
div-flipN/A
lower-/.f64N/A
lower-/.f64N/A
lift-+.f64N/A
+-commutativeN/A
lift-+.f64N/A
mult-flipN/A
metadata-evalN/A
lower-*.f6499.7
lift-*.f64N/A
*-commutativeN/A
lower-*.f6499.7
Applied rewrites99.7%
lift-/.f64N/A
mult-flipN/A
lift-/.f64N/A
lift-*.f64N/A
*-commutativeN/A
associate-/l/N/A
metadata-evalN/A
lift-*.f64N/A
associate-/r*N/A
lift-/.f64N/A
times-fracN/A
*-commutativeN/A
associate-/r*N/A
associate-*l/N/A
lift-/.f64N/A
lower-/.f64N/A
Applied rewrites99.7%
(FPCore (a b) :precision binary64 (if (<= a -1.4e+154) (/ (/ PI a) (* (* a b) 2.0)) (/ PI (* (* (+ b a) a) (+ b b)))))
double code(double a, double b) {
double tmp;
if (a <= -1.4e+154) {
tmp = (((double) M_PI) / a) / ((a * b) * 2.0);
} else {
tmp = ((double) M_PI) / (((b + a) * a) * (b + b));
}
return tmp;
}
public static double code(double a, double b) {
double tmp;
if (a <= -1.4e+154) {
tmp = (Math.PI / a) / ((a * b) * 2.0);
} else {
tmp = Math.PI / (((b + a) * a) * (b + b));
}
return tmp;
}
def code(a, b): tmp = 0 if a <= -1.4e+154: tmp = (math.pi / a) / ((a * b) * 2.0) else: tmp = math.pi / (((b + a) * a) * (b + b)) return tmp
function code(a, b) tmp = 0.0 if (a <= -1.4e+154) tmp = Float64(Float64(pi / a) / Float64(Float64(a * b) * 2.0)); else tmp = Float64(pi / Float64(Float64(Float64(b + a) * a) * Float64(b + b))); end return tmp end
function tmp_2 = code(a, b) tmp = 0.0; if (a <= -1.4e+154) tmp = (pi / a) / ((a * b) * 2.0); else tmp = pi / (((b + a) * a) * (b + b)); end tmp_2 = tmp; end
code[a_, b_] := If[LessEqual[a, -1.4e+154], N[(N[(Pi / a), $MachinePrecision] / N[(N[(a * b), $MachinePrecision] * 2.0), $MachinePrecision]), $MachinePrecision], N[(Pi / N[(N[(N[(b + a), $MachinePrecision] * a), $MachinePrecision] * N[(b + b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -1.4 \cdot 10^{+154}:\\
\;\;\;\;\frac{\frac{\pi}{a}}{\left(a \cdot b\right) \cdot 2}\\
\mathbf{else}:\\
\;\;\;\;\frac{\pi}{\left(\left(b + a\right) \cdot a\right) \cdot \left(b + b\right)}\\
\end{array}
\end{array}
if a < -1.4e154Initial program 78.8%
lift-*.f64N/A
lift-/.f64N/A
mult-flip-revN/A
lift--.f64N/A
lift-*.f64N/A
lift-*.f64N/A
difference-of-squaresN/A
associate-/r*N/A
*-lft-identityN/A
/-rgt-identityN/A
mult-flipN/A
metadata-evalN/A
lower-/.f64N/A
lower-/.f64N/A
lift-/.f64N/A
div-flipN/A
associate-/r/N/A
lower-*.f64N/A
metadata-evalN/A
+-commutativeN/A
lower-+.f64N/A
*-lft-identityN/A
*-rgt-identityN/A
Applied rewrites88.5%
Applied rewrites99.1%
lift-/.f64N/A
lift-/.f64N/A
lift-*.f64N/A
lift-*.f64N/A
times-fracN/A
associate-/r*N/A
div-flipN/A
lower-/.f64N/A
lower-/.f64N/A
lift-+.f64N/A
+-commutativeN/A
lift-+.f64N/A
mult-flipN/A
metadata-evalN/A
lower-*.f6499.7
lift-*.f64N/A
*-commutativeN/A
lower-*.f6499.7
Applied rewrites99.7%
Taylor expanded in a around inf
lower-/.f64N/A
lower-PI.f6464.3
Applied rewrites64.3%
if -1.4e154 < a Initial program 78.8%
lift-*.f64N/A
lift-/.f64N/A
mult-flip-revN/A
lift--.f64N/A
lift-*.f64N/A
lift-*.f64N/A
difference-of-squaresN/A
associate-/r*N/A
*-lft-identityN/A
/-rgt-identityN/A
mult-flipN/A
metadata-evalN/A
lower-/.f64N/A
lower-/.f64N/A
lift-/.f64N/A
div-flipN/A
associate-/r/N/A
lower-*.f64N/A
metadata-evalN/A
+-commutativeN/A
lower-+.f64N/A
*-lft-identityN/A
*-rgt-identityN/A
Applied rewrites88.5%
Applied rewrites99.1%
lift-/.f64N/A
lift-/.f64N/A
lift-*.f64N/A
lift-*.f64N/A
times-fracN/A
associate-/r*N/A
div-flipN/A
lower-/.f64N/A
lower-/.f64N/A
lift-+.f64N/A
+-commutativeN/A
lift-+.f64N/A
mult-flipN/A
metadata-evalN/A
lower-*.f6499.7
lift-*.f64N/A
*-commutativeN/A
lower-*.f6499.7
Applied rewrites99.7%
lift-/.f64N/A
lift-/.f64N/A
associate-/l/N/A
lower-/.f64N/A
lift-*.f64N/A
lift-*.f64N/A
associate-*l*N/A
metadata-evalN/A
mult-flipN/A
associate-*r*N/A
lower-*.f64N/A
lower-*.f64N/A
lift-+.f64N/A
+-commutativeN/A
lower-+.f64N/A
mult-flipN/A
metadata-evalN/A
metadata-evalN/A
distribute-rgt-inN/A
*-lft-identityN/A
*-lft-identityN/A
lower-+.f6493.0
Applied rewrites93.0%
(FPCore (a b) :precision binary64 (/ (* PI 0.5) (* (+ b a) (* b a))))
double code(double a, double b) {
return (((double) M_PI) * 0.5) / ((b + a) * (b * a));
}
public static double code(double a, double b) {
return (Math.PI * 0.5) / ((b + a) * (b * a));
}
def code(a, b): return (math.pi * 0.5) / ((b + a) * (b * a))
function code(a, b) return Float64(Float64(pi * 0.5) / Float64(Float64(b + a) * Float64(b * a))) end
function tmp = code(a, b) tmp = (pi * 0.5) / ((b + a) * (b * a)); end
code[a_, b_] := N[(N[(Pi * 0.5), $MachinePrecision] / N[(N[(b + a), $MachinePrecision] * N[(b * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{\pi \cdot 0.5}{\left(b + a\right) \cdot \left(b \cdot a\right)}
\end{array}
Initial program 78.8%
lift-*.f64N/A
lift-/.f64N/A
mult-flip-revN/A
lift--.f64N/A
lift-*.f64N/A
lift-*.f64N/A
difference-of-squaresN/A
associate-/r*N/A
*-lft-identityN/A
/-rgt-identityN/A
mult-flipN/A
metadata-evalN/A
lower-/.f64N/A
lower-/.f64N/A
lift-/.f64N/A
div-flipN/A
associate-/r/N/A
lower-*.f64N/A
metadata-evalN/A
+-commutativeN/A
lower-+.f64N/A
*-lft-identityN/A
*-rgt-identityN/A
Applied rewrites88.5%
Applied rewrites99.1%
(FPCore (a b) :precision binary64 (* (/ 0.5 (* (+ b a) (* b a))) PI))
double code(double a, double b) {
return (0.5 / ((b + a) * (b * a))) * ((double) M_PI);
}
public static double code(double a, double b) {
return (0.5 / ((b + a) * (b * a))) * Math.PI;
}
def code(a, b): return (0.5 / ((b + a) * (b * a))) * math.pi
function code(a, b) return Float64(Float64(0.5 / Float64(Float64(b + a) * Float64(b * a))) * pi) end
function tmp = code(a, b) tmp = (0.5 / ((b + a) * (b * a))) * pi; end
code[a_, b_] := N[(N[(0.5 / N[(N[(b + a), $MachinePrecision] * N[(b * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * Pi), $MachinePrecision]
\begin{array}{l}
\\
\frac{0.5}{\left(b + a\right) \cdot \left(b \cdot a\right)} \cdot \pi
\end{array}
Initial program 78.8%
lift-*.f64N/A
lift-/.f64N/A
mult-flip-revN/A
lift--.f64N/A
lift-*.f64N/A
lift-*.f64N/A
difference-of-squaresN/A
associate-/r*N/A
*-lft-identityN/A
/-rgt-identityN/A
mult-flipN/A
metadata-evalN/A
lower-/.f64N/A
lower-/.f64N/A
lift-/.f64N/A
div-flipN/A
associate-/r/N/A
lower-*.f64N/A
metadata-evalN/A
+-commutativeN/A
lower-+.f64N/A
*-lft-identityN/A
*-rgt-identityN/A
Applied rewrites88.5%
Applied rewrites99.0%
(FPCore (a b) :precision binary64 (if (<= a -5.3e-45) (/ (/ PI a) (* (* a b) 2.0)) (/ (/ PI (* (+ b b) a)) b)))
double code(double a, double b) {
double tmp;
if (a <= -5.3e-45) {
tmp = (((double) M_PI) / a) / ((a * b) * 2.0);
} else {
tmp = (((double) M_PI) / ((b + b) * a)) / b;
}
return tmp;
}
public static double code(double a, double b) {
double tmp;
if (a <= -5.3e-45) {
tmp = (Math.PI / a) / ((a * b) * 2.0);
} else {
tmp = (Math.PI / ((b + b) * a)) / b;
}
return tmp;
}
def code(a, b): tmp = 0 if a <= -5.3e-45: tmp = (math.pi / a) / ((a * b) * 2.0) else: tmp = (math.pi / ((b + b) * a)) / b return tmp
function code(a, b) tmp = 0.0 if (a <= -5.3e-45) tmp = Float64(Float64(pi / a) / Float64(Float64(a * b) * 2.0)); else tmp = Float64(Float64(pi / Float64(Float64(b + b) * a)) / b); end return tmp end
function tmp_2 = code(a, b) tmp = 0.0; if (a <= -5.3e-45) tmp = (pi / a) / ((a * b) * 2.0); else tmp = (pi / ((b + b) * a)) / b; end tmp_2 = tmp; end
code[a_, b_] := If[LessEqual[a, -5.3e-45], N[(N[(Pi / a), $MachinePrecision] / N[(N[(a * b), $MachinePrecision] * 2.0), $MachinePrecision]), $MachinePrecision], N[(N[(Pi / N[(N[(b + b), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision] / b), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -5.3 \cdot 10^{-45}:\\
\;\;\;\;\frac{\frac{\pi}{a}}{\left(a \cdot b\right) \cdot 2}\\
\mathbf{else}:\\
\;\;\;\;\frac{\frac{\pi}{\left(b + b\right) \cdot a}}{b}\\
\end{array}
\end{array}
if a < -5.2999999999999997e-45Initial program 78.8%
lift-*.f64N/A
lift-/.f64N/A
mult-flip-revN/A
lift--.f64N/A
lift-*.f64N/A
lift-*.f64N/A
difference-of-squaresN/A
associate-/r*N/A
*-lft-identityN/A
/-rgt-identityN/A
mult-flipN/A
metadata-evalN/A
lower-/.f64N/A
lower-/.f64N/A
lift-/.f64N/A
div-flipN/A
associate-/r/N/A
lower-*.f64N/A
metadata-evalN/A
+-commutativeN/A
lower-+.f64N/A
*-lft-identityN/A
*-rgt-identityN/A
Applied rewrites88.5%
Applied rewrites99.1%
lift-/.f64N/A
lift-/.f64N/A
lift-*.f64N/A
lift-*.f64N/A
times-fracN/A
associate-/r*N/A
div-flipN/A
lower-/.f64N/A
lower-/.f64N/A
lift-+.f64N/A
+-commutativeN/A
lift-+.f64N/A
mult-flipN/A
metadata-evalN/A
lower-*.f6499.7
lift-*.f64N/A
*-commutativeN/A
lower-*.f6499.7
Applied rewrites99.7%
Taylor expanded in a around inf
lower-/.f64N/A
lower-PI.f6464.3
Applied rewrites64.3%
if -5.2999999999999997e-45 < a Initial program 78.8%
Taylor expanded in a around 0
lower-*.f64N/A
lower-/.f64N/A
lower-PI.f64N/A
lower-*.f64N/A
lower-pow.f6456.8
Applied rewrites56.8%
lift-*.f64N/A
lift-pow.f64N/A
pow2N/A
associate-*r*N/A
lift-*.f64N/A
lower-*.f6462.0
lift-*.f64N/A
*-commutativeN/A
lower-*.f6462.0
Applied rewrites62.0%
lift-*.f64N/A
lift-/.f64N/A
associate-*r/N/A
*-commutativeN/A
associate-/l*N/A
lower-*.f64N/A
lower-/.f6461.9
lift-*.f64N/A
*-commutativeN/A
lower-*.f6461.9
Applied rewrites61.9%
lift-*.f64N/A
lift-/.f64N/A
associate-*r/N/A
lift-*.f64N/A
*-commutativeN/A
times-fracN/A
lift-/.f64N/A
lift-*.f64N/A
associate-/r*N/A
lift-/.f64N/A
associate-/l*N/A
lower-/.f64N/A
Applied rewrites62.1%
(FPCore (a b) :precision binary64 (/ (/ PI (* (+ b b) a)) b))
double code(double a, double b) {
return (((double) M_PI) / ((b + b) * a)) / b;
}
public static double code(double a, double b) {
return (Math.PI / ((b + b) * a)) / b;
}
def code(a, b): return (math.pi / ((b + b) * a)) / b
function code(a, b) return Float64(Float64(pi / Float64(Float64(b + b) * a)) / b) end
function tmp = code(a, b) tmp = (pi / ((b + b) * a)) / b; end
code[a_, b_] := N[(N[(Pi / N[(N[(b + b), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision] / b), $MachinePrecision]
\begin{array}{l}
\\
\frac{\frac{\pi}{\left(b + b\right) \cdot a}}{b}
\end{array}
Initial program 78.8%
Taylor expanded in a around 0
lower-*.f64N/A
lower-/.f64N/A
lower-PI.f64N/A
lower-*.f64N/A
lower-pow.f6456.8
Applied rewrites56.8%
lift-*.f64N/A
lift-pow.f64N/A
pow2N/A
associate-*r*N/A
lift-*.f64N/A
lower-*.f6462.0
lift-*.f64N/A
*-commutativeN/A
lower-*.f6462.0
Applied rewrites62.0%
lift-*.f64N/A
lift-/.f64N/A
associate-*r/N/A
*-commutativeN/A
associate-/l*N/A
lower-*.f64N/A
lower-/.f6461.9
lift-*.f64N/A
*-commutativeN/A
lower-*.f6461.9
Applied rewrites61.9%
lift-*.f64N/A
lift-/.f64N/A
associate-*r/N/A
lift-*.f64N/A
*-commutativeN/A
times-fracN/A
lift-/.f64N/A
lift-*.f64N/A
associate-/r*N/A
lift-/.f64N/A
associate-/l*N/A
lower-/.f64N/A
Applied rewrites62.1%
(FPCore (a b) :precision binary64 (* PI (/ 0.5 (* (* a b) b))))
double code(double a, double b) {
return ((double) M_PI) * (0.5 / ((a * b) * b));
}
public static double code(double a, double b) {
return Math.PI * (0.5 / ((a * b) * b));
}
def code(a, b): return math.pi * (0.5 / ((a * b) * b))
function code(a, b) return Float64(pi * Float64(0.5 / Float64(Float64(a * b) * b))) end
function tmp = code(a, b) tmp = pi * (0.5 / ((a * b) * b)); end
code[a_, b_] := N[(Pi * N[(0.5 / N[(N[(a * b), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\pi \cdot \frac{0.5}{\left(a \cdot b\right) \cdot b}
\end{array}
Initial program 78.8%
Taylor expanded in a around 0
lower-*.f64N/A
lower-/.f64N/A
lower-PI.f64N/A
lower-*.f64N/A
lower-pow.f6456.8
Applied rewrites56.8%
lift-*.f64N/A
lift-pow.f64N/A
pow2N/A
associate-*r*N/A
lift-*.f64N/A
lower-*.f6462.0
lift-*.f64N/A
*-commutativeN/A
lower-*.f6462.0
Applied rewrites62.0%
lift-*.f64N/A
lift-/.f64N/A
associate-*r/N/A
*-commutativeN/A
associate-/l*N/A
lower-*.f64N/A
lower-/.f6461.9
lift-*.f64N/A
*-commutativeN/A
lower-*.f6461.9
Applied rewrites61.9%
(FPCore (a b) :precision binary64 (/ PI (* (+ b b) (* b a))))
double code(double a, double b) {
return ((double) M_PI) / ((b + b) * (b * a));
}
public static double code(double a, double b) {
return Math.PI / ((b + b) * (b * a));
}
def code(a, b): return math.pi / ((b + b) * (b * a))
function code(a, b) return Float64(pi / Float64(Float64(b + b) * Float64(b * a))) end
function tmp = code(a, b) tmp = pi / ((b + b) * (b * a)); end
code[a_, b_] := N[(Pi / N[(N[(b + b), $MachinePrecision] * N[(b * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{\pi}{\left(b + b\right) \cdot \left(b \cdot a\right)}
\end{array}
Initial program 78.8%
Taylor expanded in a around 0
lower-*.f64N/A
lower-/.f64N/A
lower-PI.f64N/A
lower-*.f64N/A
lower-pow.f6456.8
Applied rewrites56.8%
lift-*.f64N/A
lift-pow.f64N/A
pow2N/A
associate-*r*N/A
lift-*.f64N/A
lower-*.f6462.0
lift-*.f64N/A
*-commutativeN/A
lower-*.f6462.0
Applied rewrites62.0%
lift-*.f64N/A
lift-/.f64N/A
associate-*r/N/A
*-commutativeN/A
associate-/l*N/A
lower-*.f64N/A
lower-/.f6461.9
lift-*.f64N/A
*-commutativeN/A
lower-*.f6461.9
Applied rewrites61.9%
lift-*.f64N/A
*-commutativeN/A
lift-/.f64N/A
associate-*l/N/A
lift-*.f64N/A
*-commutativeN/A
frac-timesN/A
div-flipN/A
frac-timesN/A
*-commutativeN/A
*-rgt-identityN/A
lower-/.f64N/A
lower-*.f64N/A
mult-flipN/A
metadata-evalN/A
metadata-evalN/A
distribute-rgt-inN/A
*-lft-identityN/A
*-lft-identityN/A
lower-+.f6461.9
lift-*.f64N/A
*-commutativeN/A
lower-*.f6461.9
Applied rewrites61.9%
herbie shell --seed 2025142
(FPCore (a b)
:name "NMSE Section 6.1 mentioned, B"
:precision binary64
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b))))