
(FPCore (x y z t a b c i) :precision binary64 (+ (+ (+ (+ (+ (* x (log y)) z) t) a) (* (- b 0.5) (log c))) (* y i)))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
return (((((x * log(y)) + z) + t) + a) + ((b - 0.5) * log(c))) + (y * i);
}
real(8) function code(x, y, z, t, a, b, c, i)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
code = (((((x * log(y)) + z) + t) + a) + ((b - 0.5d0) * log(c))) + (y * i)
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
return (((((x * Math.log(y)) + z) + t) + a) + ((b - 0.5) * Math.log(c))) + (y * i);
}
def code(x, y, z, t, a, b, c, i): return (((((x * math.log(y)) + z) + t) + a) + ((b - 0.5) * math.log(c))) + (y * i)
function code(x, y, z, t, a, b, c, i) return Float64(Float64(Float64(Float64(Float64(Float64(x * log(y)) + z) + t) + a) + Float64(Float64(b - 0.5) * log(c))) + Float64(y * i)) end
function tmp = code(x, y, z, t, a, b, c, i) tmp = (((((x * log(y)) + z) + t) + a) + ((b - 0.5) * log(c))) + (y * i); end
code[x_, y_, z_, t_, a_, b_, c_, i_] := N[(N[(N[(N[(N[(N[(x * N[Log[y], $MachinePrecision]), $MachinePrecision] + z), $MachinePrecision] + t), $MachinePrecision] + a), $MachinePrecision] + N[(N[(b - 0.5), $MachinePrecision] * N[Log[c], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y * i), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(\left(\left(x \cdot \log y + z\right) + t\right) + a\right) + \left(b - 0.5\right) \cdot \log c\right) + y \cdot i
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 13 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a b c i) :precision binary64 (+ (+ (+ (+ (+ (* x (log y)) z) t) a) (* (- b 0.5) (log c))) (* y i)))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
return (((((x * log(y)) + z) + t) + a) + ((b - 0.5) * log(c))) + (y * i);
}
real(8) function code(x, y, z, t, a, b, c, i)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
code = (((((x * log(y)) + z) + t) + a) + ((b - 0.5d0) * log(c))) + (y * i)
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
return (((((x * Math.log(y)) + z) + t) + a) + ((b - 0.5) * Math.log(c))) + (y * i);
}
def code(x, y, z, t, a, b, c, i): return (((((x * math.log(y)) + z) + t) + a) + ((b - 0.5) * math.log(c))) + (y * i)
function code(x, y, z, t, a, b, c, i) return Float64(Float64(Float64(Float64(Float64(Float64(x * log(y)) + z) + t) + a) + Float64(Float64(b - 0.5) * log(c))) + Float64(y * i)) end
function tmp = code(x, y, z, t, a, b, c, i) tmp = (((((x * log(y)) + z) + t) + a) + ((b - 0.5) * log(c))) + (y * i); end
code[x_, y_, z_, t_, a_, b_, c_, i_] := N[(N[(N[(N[(N[(N[(x * N[Log[y], $MachinePrecision]), $MachinePrecision] + z), $MachinePrecision] + t), $MachinePrecision] + a), $MachinePrecision] + N[(N[(b - 0.5), $MachinePrecision] * N[Log[c], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y * i), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(\left(\left(x \cdot \log y + z\right) + t\right) + a\right) + \left(b - 0.5\right) \cdot \log c\right) + y \cdot i
\end{array}
(FPCore (x y z t a b c i) :precision binary64 (+ (+ (+ (+ (- z (* (log (/ 1.0 y)) x)) t) a) (* (- b 0.5) (log c))) (* y i)))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
return ((((z - (log((1.0 / y)) * x)) + t) + a) + ((b - 0.5) * log(c))) + (y * i);
}
real(8) function code(x, y, z, t, a, b, c, i)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
code = ((((z - (log((1.0d0 / y)) * x)) + t) + a) + ((b - 0.5d0) * log(c))) + (y * i)
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
return ((((z - (Math.log((1.0 / y)) * x)) + t) + a) + ((b - 0.5) * Math.log(c))) + (y * i);
}
def code(x, y, z, t, a, b, c, i): return ((((z - (math.log((1.0 / y)) * x)) + t) + a) + ((b - 0.5) * math.log(c))) + (y * i)
function code(x, y, z, t, a, b, c, i) return Float64(Float64(Float64(Float64(Float64(z - Float64(log(Float64(1.0 / y)) * x)) + t) + a) + Float64(Float64(b - 0.5) * log(c))) + Float64(y * i)) end
function tmp = code(x, y, z, t, a, b, c, i) tmp = ((((z - (log((1.0 / y)) * x)) + t) + a) + ((b - 0.5) * log(c))) + (y * i); end
code[x_, y_, z_, t_, a_, b_, c_, i_] := N[(N[(N[(N[(N[(z - N[(N[Log[N[(1.0 / y), $MachinePrecision]], $MachinePrecision] * x), $MachinePrecision]), $MachinePrecision] + t), $MachinePrecision] + a), $MachinePrecision] + N[(N[(b - 0.5), $MachinePrecision] * N[Log[c], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y * i), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(\left(\left(z - \log \left(\frac{1}{y}\right) \cdot x\right) + t\right) + a\right) + \left(b - 0.5\right) \cdot \log c\right) + y \cdot i
\end{array}
Initial program 99.8%
Taylor expanded in y around inf 99.8%
Final simplification99.8%
(FPCore (x y z t a b c i) :precision binary64 (+ (* y i) (+ (* (- b 0.5) (log c)) (+ a (+ t (+ z (* x (log y))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
return (y * i) + (((b - 0.5) * log(c)) + (a + (t + (z + (x * log(y))))));
}
real(8) function code(x, y, z, t, a, b, c, i)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
code = (y * i) + (((b - 0.5d0) * log(c)) + (a + (t + (z + (x * log(y))))))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
return (y * i) + (((b - 0.5) * Math.log(c)) + (a + (t + (z + (x * Math.log(y))))));
}
def code(x, y, z, t, a, b, c, i): return (y * i) + (((b - 0.5) * math.log(c)) + (a + (t + (z + (x * math.log(y))))))
function code(x, y, z, t, a, b, c, i) return Float64(Float64(y * i) + Float64(Float64(Float64(b - 0.5) * log(c)) + Float64(a + Float64(t + Float64(z + Float64(x * log(y))))))) end
function tmp = code(x, y, z, t, a, b, c, i) tmp = (y * i) + (((b - 0.5) * log(c)) + (a + (t + (z + (x * log(y)))))); end
code[x_, y_, z_, t_, a_, b_, c_, i_] := N[(N[(y * i), $MachinePrecision] + N[(N[(N[(b - 0.5), $MachinePrecision] * N[Log[c], $MachinePrecision]), $MachinePrecision] + N[(a + N[(t + N[(z + N[(x * N[Log[y], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
y \cdot i + \left(\left(b - 0.5\right) \cdot \log c + \left(a + \left(t + \left(z + x \cdot \log y\right)\right)\right)\right)
\end{array}
Initial program 99.8%
Final simplification99.8%
(FPCore (x y z t a b c i)
:precision binary64
(let* ((t_1 (* (- b 0.5) (log c))))
(if (<= x -2.5e+239)
(- (* y i) (* (log (/ 1.0 y)) x))
(if (<= x 3e+144)
(+ (* y i) (+ t_1 (+ a (+ z t))))
(+ t (+ t_1 (+ a (* x (log y)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double t_1 = (b - 0.5) * log(c);
double tmp;
if (x <= -2.5e+239) {
tmp = (y * i) - (log((1.0 / y)) * x);
} else if (x <= 3e+144) {
tmp = (y * i) + (t_1 + (a + (z + t)));
} else {
tmp = t + (t_1 + (a + (x * log(y))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8) :: t_1
real(8) :: tmp
t_1 = (b - 0.5d0) * log(c)
if (x <= (-2.5d+239)) then
tmp = (y * i) - (log((1.0d0 / y)) * x)
else if (x <= 3d+144) then
tmp = (y * i) + (t_1 + (a + (z + t)))
else
tmp = t + (t_1 + (a + (x * log(y))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double t_1 = (b - 0.5) * Math.log(c);
double tmp;
if (x <= -2.5e+239) {
tmp = (y * i) - (Math.log((1.0 / y)) * x);
} else if (x <= 3e+144) {
tmp = (y * i) + (t_1 + (a + (z + t)));
} else {
tmp = t + (t_1 + (a + (x * Math.log(y))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i): t_1 = (b - 0.5) * math.log(c) tmp = 0 if x <= -2.5e+239: tmp = (y * i) - (math.log((1.0 / y)) * x) elif x <= 3e+144: tmp = (y * i) + (t_1 + (a + (z + t))) else: tmp = t + (t_1 + (a + (x * math.log(y)))) return tmp
function code(x, y, z, t, a, b, c, i) t_1 = Float64(Float64(b - 0.5) * log(c)) tmp = 0.0 if (x <= -2.5e+239) tmp = Float64(Float64(y * i) - Float64(log(Float64(1.0 / y)) * x)); elseif (x <= 3e+144) tmp = Float64(Float64(y * i) + Float64(t_1 + Float64(a + Float64(z + t)))); else tmp = Float64(t + Float64(t_1 + Float64(a + Float64(x * log(y))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i) t_1 = (b - 0.5) * log(c); tmp = 0.0; if (x <= -2.5e+239) tmp = (y * i) - (log((1.0 / y)) * x); elseif (x <= 3e+144) tmp = (y * i) + (t_1 + (a + (z + t))); else tmp = t + (t_1 + (a + (x * log(y)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(N[(b - 0.5), $MachinePrecision] * N[Log[c], $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -2.5e+239], N[(N[(y * i), $MachinePrecision] - N[(N[Log[N[(1.0 / y), $MachinePrecision]], $MachinePrecision] * x), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 3e+144], N[(N[(y * i), $MachinePrecision] + N[(t$95$1 + N[(a + N[(z + t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t + N[(t$95$1 + N[(a + N[(x * N[Log[y], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(b - 0.5\right) \cdot \log c\\
\mathbf{if}\;x \leq -2.5 \cdot 10^{+239}:\\
\;\;\;\;y \cdot i - \log \left(\frac{1}{y}\right) \cdot x\\
\mathbf{elif}\;x \leq 3 \cdot 10^{+144}:\\
\;\;\;\;y \cdot i + \left(t_1 + \left(a + \left(z + t\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t + \left(t_1 + \left(a + x \cdot \log y\right)\right)\\
\end{array}
\end{array}
if x < -2.50000000000000003e239Initial program 99.2%
Taylor expanded in y around inf 99.3%
Taylor expanded in x around inf 90.1%
if -2.50000000000000003e239 < x < 2.9999999999999999e144Initial program 99.9%
Taylor expanded in x around 0 93.0%
if 2.9999999999999999e144 < x Initial program 99.8%
associate-+l+99.8%
+-commutative99.8%
associate-+l+99.8%
associate-+l+99.8%
+-commutative99.8%
fma-def99.8%
associate-+l+99.8%
fma-def99.7%
+-commutative99.7%
associate-+l+99.7%
fma-def99.7%
sub-neg99.7%
metadata-eval99.7%
Simplified99.7%
Taylor expanded in y around 0 82.8%
Taylor expanded in z around 0 71.9%
Final simplification90.6%
(FPCore (x y z t a b c i)
:precision binary64
(let* ((t_1 (* (- b 0.5) (log c))))
(if (<= y 9e-49)
(+ t (+ t_1 (+ a (+ z (* x (log y))))))
(+ (* y i) (+ t_1 (+ a (+ z t)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double t_1 = (b - 0.5) * log(c);
double tmp;
if (y <= 9e-49) {
tmp = t + (t_1 + (a + (z + (x * log(y)))));
} else {
tmp = (y * i) + (t_1 + (a + (z + t)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8) :: t_1
real(8) :: tmp
t_1 = (b - 0.5d0) * log(c)
if (y <= 9d-49) then
tmp = t + (t_1 + (a + (z + (x * log(y)))))
else
tmp = (y * i) + (t_1 + (a + (z + t)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double t_1 = (b - 0.5) * Math.log(c);
double tmp;
if (y <= 9e-49) {
tmp = t + (t_1 + (a + (z + (x * Math.log(y)))));
} else {
tmp = (y * i) + (t_1 + (a + (z + t)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i): t_1 = (b - 0.5) * math.log(c) tmp = 0 if y <= 9e-49: tmp = t + (t_1 + (a + (z + (x * math.log(y))))) else: tmp = (y * i) + (t_1 + (a + (z + t))) return tmp
function code(x, y, z, t, a, b, c, i) t_1 = Float64(Float64(b - 0.5) * log(c)) tmp = 0.0 if (y <= 9e-49) tmp = Float64(t + Float64(t_1 + Float64(a + Float64(z + Float64(x * log(y)))))); else tmp = Float64(Float64(y * i) + Float64(t_1 + Float64(a + Float64(z + t)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i) t_1 = (b - 0.5) * log(c); tmp = 0.0; if (y <= 9e-49) tmp = t + (t_1 + (a + (z + (x * log(y))))); else tmp = (y * i) + (t_1 + (a + (z + t))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(N[(b - 0.5), $MachinePrecision] * N[Log[c], $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, 9e-49], N[(t + N[(t$95$1 + N[(a + N[(z + N[(x * N[Log[y], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(y * i), $MachinePrecision] + N[(t$95$1 + N[(a + N[(z + t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(b - 0.5\right) \cdot \log c\\
\mathbf{if}\;y \leq 9 \cdot 10^{-49}:\\
\;\;\;\;t + \left(t_1 + \left(a + \left(z + x \cdot \log y\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y \cdot i + \left(t_1 + \left(a + \left(z + t\right)\right)\right)\\
\end{array}
\end{array}
if y < 9.0000000000000004e-49Initial program 99.7%
associate-+l+99.7%
+-commutative99.7%
associate-+l+99.7%
associate-+l+99.7%
+-commutative99.7%
fma-def99.7%
associate-+l+99.7%
fma-def99.7%
+-commutative99.7%
associate-+l+99.7%
fma-def99.7%
sub-neg99.7%
metadata-eval99.7%
Simplified99.7%
Taylor expanded in y around 0 97.0%
if 9.0000000000000004e-49 < y Initial program 99.9%
Taylor expanded in x around 0 89.1%
Final simplification92.4%
(FPCore (x y z t a b c i)
:precision binary64
(let* ((t_1 (+ (* y i) (* b (log c)))) (t_2 (+ z (* y i))))
(if (<= a 5.5e-177)
t_2
(if (<= a 1.6e-73)
t_1
(if (<= a 2.85e-66)
t_2
(if (<= a 8e+32)
(+ (* y i) (* x (log y)))
(if (<= a 5.8e+56)
(+ t (+ (* (log c) -0.5) (+ z a)))
(if (<= a 8.2e+126) t_1 (+ t (fma y i a))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double t_1 = (y * i) + (b * log(c));
double t_2 = z + (y * i);
double tmp;
if (a <= 5.5e-177) {
tmp = t_2;
} else if (a <= 1.6e-73) {
tmp = t_1;
} else if (a <= 2.85e-66) {
tmp = t_2;
} else if (a <= 8e+32) {
tmp = (y * i) + (x * log(y));
} else if (a <= 5.8e+56) {
tmp = t + ((log(c) * -0.5) + (z + a));
} else if (a <= 8.2e+126) {
tmp = t_1;
} else {
tmp = t + fma(y, i, a);
}
return tmp;
}
function code(x, y, z, t, a, b, c, i) t_1 = Float64(Float64(y * i) + Float64(b * log(c))) t_2 = Float64(z + Float64(y * i)) tmp = 0.0 if (a <= 5.5e-177) tmp = t_2; elseif (a <= 1.6e-73) tmp = t_1; elseif (a <= 2.85e-66) tmp = t_2; elseif (a <= 8e+32) tmp = Float64(Float64(y * i) + Float64(x * log(y))); elseif (a <= 5.8e+56) tmp = Float64(t + Float64(Float64(log(c) * -0.5) + Float64(z + a))); elseif (a <= 8.2e+126) tmp = t_1; else tmp = Float64(t + fma(y, i, a)); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(N[(y * i), $MachinePrecision] + N[(b * N[Log[c], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(z + N[(y * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, 5.5e-177], t$95$2, If[LessEqual[a, 1.6e-73], t$95$1, If[LessEqual[a, 2.85e-66], t$95$2, If[LessEqual[a, 8e+32], N[(N[(y * i), $MachinePrecision] + N[(x * N[Log[y], $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 5.8e+56], N[(t + N[(N[(N[Log[c], $MachinePrecision] * -0.5), $MachinePrecision] + N[(z + a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 8.2e+126], t$95$1, N[(t + N[(y * i + a), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y \cdot i + b \cdot \log c\\
t_2 := z + y \cdot i\\
\mathbf{if}\;a \leq 5.5 \cdot 10^{-177}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;a \leq 1.6 \cdot 10^{-73}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;a \leq 2.85 \cdot 10^{-66}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;a \leq 8 \cdot 10^{+32}:\\
\;\;\;\;y \cdot i + x \cdot \log y\\
\mathbf{elif}\;a \leq 5.8 \cdot 10^{+56}:\\
\;\;\;\;t + \left(\log c \cdot -0.5 + \left(z + a\right)\right)\\
\mathbf{elif}\;a \leq 8.2 \cdot 10^{+126}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;t + \mathsf{fma}\left(y, i, a\right)\\
\end{array}
\end{array}
if a < 5.4999999999999996e-177 or 1.59999999999999993e-73 < a < 2.84999999999999981e-66Initial program 99.8%
Taylor expanded in y around inf 99.8%
Taylor expanded in z around inf 44.0%
if 5.4999999999999996e-177 < a < 1.59999999999999993e-73 or 5.80000000000000014e56 < a < 8.2000000000000001e126Initial program 99.8%
Taylor expanded in y around inf 99.8%
Taylor expanded in b around inf 56.9%
if 2.84999999999999981e-66 < a < 8.00000000000000043e32Initial program 99.8%
Taylor expanded in y around inf 99.8%
Taylor expanded in x around inf 56.2%
mul-1-neg56.2%
log-rec56.2%
distribute-lft-neg-out56.2%
remove-double-neg56.2%
Simplified56.2%
if 8.00000000000000043e32 < a < 5.80000000000000014e56Initial program 100.0%
associate-+l+100.0%
+-commutative100.0%
associate-+l+100.0%
associate-+l+100.0%
+-commutative100.0%
fma-def100.0%
associate-+l+100.0%
fma-def100.0%
+-commutative100.0%
associate-+l+100.0%
fma-def100.0%
sub-neg100.0%
metadata-eval100.0%
Simplified100.0%
Taylor expanded in y around 0 67.7%
Taylor expanded in x around 0 66.8%
Taylor expanded in b around 0 66.8%
if 8.2000000000000001e126 < a Initial program 99.9%
associate-+l+99.9%
+-commutative99.9%
associate-+l+99.9%
associate-+l+99.9%
+-commutative99.9%
fma-def99.9%
associate-+l+99.9%
fma-def99.9%
+-commutative99.9%
associate-+l+99.9%
fma-def99.9%
sub-neg99.9%
metadata-eval99.9%
Simplified99.9%
Taylor expanded in a around inf 74.7%
Final simplification51.2%
(FPCore (x y z t a b c i)
:precision binary64
(if (<= x -6.5e+241)
(- (* y i) (* (log (/ 1.0 y)) x))
(if (<= x 2.7e+144)
(+ (* y i) (+ (* (- b 0.5) (log c)) (+ a (+ z t))))
(+ (* y i) (* x (log y))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double tmp;
if (x <= -6.5e+241) {
tmp = (y * i) - (log((1.0 / y)) * x);
} else if (x <= 2.7e+144) {
tmp = (y * i) + (((b - 0.5) * log(c)) + (a + (z + t)));
} else {
tmp = (y * i) + (x * log(y));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8) :: tmp
if (x <= (-6.5d+241)) then
tmp = (y * i) - (log((1.0d0 / y)) * x)
else if (x <= 2.7d+144) then
tmp = (y * i) + (((b - 0.5d0) * log(c)) + (a + (z + t)))
else
tmp = (y * i) + (x * log(y))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double tmp;
if (x <= -6.5e+241) {
tmp = (y * i) - (Math.log((1.0 / y)) * x);
} else if (x <= 2.7e+144) {
tmp = (y * i) + (((b - 0.5) * Math.log(c)) + (a + (z + t)));
} else {
tmp = (y * i) + (x * Math.log(y));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i): tmp = 0 if x <= -6.5e+241: tmp = (y * i) - (math.log((1.0 / y)) * x) elif x <= 2.7e+144: tmp = (y * i) + (((b - 0.5) * math.log(c)) + (a + (z + t))) else: tmp = (y * i) + (x * math.log(y)) return tmp
function code(x, y, z, t, a, b, c, i) tmp = 0.0 if (x <= -6.5e+241) tmp = Float64(Float64(y * i) - Float64(log(Float64(1.0 / y)) * x)); elseif (x <= 2.7e+144) tmp = Float64(Float64(y * i) + Float64(Float64(Float64(b - 0.5) * log(c)) + Float64(a + Float64(z + t)))); else tmp = Float64(Float64(y * i) + Float64(x * log(y))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i) tmp = 0.0; if (x <= -6.5e+241) tmp = (y * i) - (log((1.0 / y)) * x); elseif (x <= 2.7e+144) tmp = (y * i) + (((b - 0.5) * log(c)) + (a + (z + t))); else tmp = (y * i) + (x * log(y)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_] := If[LessEqual[x, -6.5e+241], N[(N[(y * i), $MachinePrecision] - N[(N[Log[N[(1.0 / y), $MachinePrecision]], $MachinePrecision] * x), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.7e+144], N[(N[(y * i), $MachinePrecision] + N[(N[(N[(b - 0.5), $MachinePrecision] * N[Log[c], $MachinePrecision]), $MachinePrecision] + N[(a + N[(z + t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(y * i), $MachinePrecision] + N[(x * N[Log[y], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -6.5 \cdot 10^{+241}:\\
\;\;\;\;y \cdot i - \log \left(\frac{1}{y}\right) \cdot x\\
\mathbf{elif}\;x \leq 2.7 \cdot 10^{+144}:\\
\;\;\;\;y \cdot i + \left(\left(b - 0.5\right) \cdot \log c + \left(a + \left(z + t\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y \cdot i + x \cdot \log y\\
\end{array}
\end{array}
if x < -6.4999999999999994e241Initial program 99.2%
Taylor expanded in y around inf 99.3%
Taylor expanded in x around inf 90.1%
if -6.4999999999999994e241 < x < 2.70000000000000015e144Initial program 99.9%
Taylor expanded in x around 0 93.0%
if 2.70000000000000015e144 < x Initial program 99.8%
Taylor expanded in y around inf 99.8%
Taylor expanded in x around inf 74.9%
mul-1-neg74.9%
log-rec74.9%
distribute-lft-neg-out74.9%
remove-double-neg74.9%
Simplified74.9%
Final simplification90.8%
(FPCore (x y z t a b c i) :precision binary64 (if (<= y 7.5e+60) (+ a (+ (* (- b 0.5) (log c)) (+ z t))) (+ t (fma y i a))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double tmp;
if (y <= 7.5e+60) {
tmp = a + (((b - 0.5) * log(c)) + (z + t));
} else {
tmp = t + fma(y, i, a);
}
return tmp;
}
function code(x, y, z, t, a, b, c, i) tmp = 0.0 if (y <= 7.5e+60) tmp = Float64(a + Float64(Float64(Float64(b - 0.5) * log(c)) + Float64(z + t))); else tmp = Float64(t + fma(y, i, a)); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_] := If[LessEqual[y, 7.5e+60], N[(a + N[(N[(N[(b - 0.5), $MachinePrecision] * N[Log[c], $MachinePrecision]), $MachinePrecision] + N[(z + t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t + N[(y * i + a), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq 7.5 \cdot 10^{+60}:\\
\;\;\;\;a + \left(\left(b - 0.5\right) \cdot \log c + \left(z + t\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t + \mathsf{fma}\left(y, i, a\right)\\
\end{array}
\end{array}
if y < 7.5e60Initial program 99.8%
Taylor expanded in x around 0 79.0%
associate-+r+79.0%
+-commutative79.0%
sub-neg79.0%
metadata-eval79.0%
+-commutative79.0%
associate-+r+79.0%
+-commutative79.0%
metadata-eval79.0%
sub-neg79.0%
*-commutative79.0%
associate-+r+79.0%
fma-def79.0%
sub-neg79.0%
metadata-eval79.0%
+-commutative79.0%
+-commutative79.0%
Simplified79.0%
Taylor expanded in y around 0 70.9%
if 7.5e60 < y Initial program 99.9%
associate-+l+99.9%
+-commutative99.9%
associate-+l+99.9%
associate-+l+99.9%
+-commutative99.9%
fma-def99.9%
associate-+l+99.9%
fma-def99.9%
+-commutative99.9%
associate-+l+99.9%
fma-def99.9%
sub-neg99.9%
metadata-eval99.9%
Simplified99.9%
Taylor expanded in a around inf 69.4%
Final simplification70.3%
(FPCore (x y z t a b c i) :precision binary64 (if (<= z -1.15e+201) (+ z (* y i)) (+ t (fma y i a))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double tmp;
if (z <= -1.15e+201) {
tmp = z + (y * i);
} else {
tmp = t + fma(y, i, a);
}
return tmp;
}
function code(x, y, z, t, a, b, c, i) tmp = 0.0 if (z <= -1.15e+201) tmp = Float64(z + Float64(y * i)); else tmp = Float64(t + fma(y, i, a)); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_] := If[LessEqual[z, -1.15e+201], N[(z + N[(y * i), $MachinePrecision]), $MachinePrecision], N[(t + N[(y * i + a), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.15 \cdot 10^{+201}:\\
\;\;\;\;z + y \cdot i\\
\mathbf{else}:\\
\;\;\;\;t + \mathsf{fma}\left(y, i, a\right)\\
\end{array}
\end{array}
if z < -1.1500000000000001e201Initial program 99.9%
Taylor expanded in y around inf 99.9%
Taylor expanded in z around inf 88.2%
if -1.1500000000000001e201 < z Initial program 99.8%
associate-+l+99.8%
+-commutative99.8%
associate-+l+99.8%
associate-+l+99.8%
+-commutative99.8%
fma-def99.8%
associate-+l+99.8%
fma-def99.8%
+-commutative99.8%
associate-+l+99.8%
fma-def99.8%
sub-neg99.8%
metadata-eval99.8%
Simplified99.8%
Taylor expanded in a around inf 53.2%
Final simplification57.0%
(FPCore (x y z t a b c i)
:precision binary64
(if (<= a 1.8e-144)
(+ z t)
(if (<= a 8.5e-7)
(* y i)
(if (<= a 7.4e+55) (+ z t) (if (<= a 2.1e+140) (* y i) (+ t a))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double tmp;
if (a <= 1.8e-144) {
tmp = z + t;
} else if (a <= 8.5e-7) {
tmp = y * i;
} else if (a <= 7.4e+55) {
tmp = z + t;
} else if (a <= 2.1e+140) {
tmp = y * i;
} else {
tmp = t + a;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8) :: tmp
if (a <= 1.8d-144) then
tmp = z + t
else if (a <= 8.5d-7) then
tmp = y * i
else if (a <= 7.4d+55) then
tmp = z + t
else if (a <= 2.1d+140) then
tmp = y * i
else
tmp = t + a
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double tmp;
if (a <= 1.8e-144) {
tmp = z + t;
} else if (a <= 8.5e-7) {
tmp = y * i;
} else if (a <= 7.4e+55) {
tmp = z + t;
} else if (a <= 2.1e+140) {
tmp = y * i;
} else {
tmp = t + a;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i): tmp = 0 if a <= 1.8e-144: tmp = z + t elif a <= 8.5e-7: tmp = y * i elif a <= 7.4e+55: tmp = z + t elif a <= 2.1e+140: tmp = y * i else: tmp = t + a return tmp
function code(x, y, z, t, a, b, c, i) tmp = 0.0 if (a <= 1.8e-144) tmp = Float64(z + t); elseif (a <= 8.5e-7) tmp = Float64(y * i); elseif (a <= 7.4e+55) tmp = Float64(z + t); elseif (a <= 2.1e+140) tmp = Float64(y * i); else tmp = Float64(t + a); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i) tmp = 0.0; if (a <= 1.8e-144) tmp = z + t; elseif (a <= 8.5e-7) tmp = y * i; elseif (a <= 7.4e+55) tmp = z + t; elseif (a <= 2.1e+140) tmp = y * i; else tmp = t + a; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_] := If[LessEqual[a, 1.8e-144], N[(z + t), $MachinePrecision], If[LessEqual[a, 8.5e-7], N[(y * i), $MachinePrecision], If[LessEqual[a, 7.4e+55], N[(z + t), $MachinePrecision], If[LessEqual[a, 2.1e+140], N[(y * i), $MachinePrecision], N[(t + a), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq 1.8 \cdot 10^{-144}:\\
\;\;\;\;z + t\\
\mathbf{elif}\;a \leq 8.5 \cdot 10^{-7}:\\
\;\;\;\;y \cdot i\\
\mathbf{elif}\;a \leq 7.4 \cdot 10^{+55}:\\
\;\;\;\;z + t\\
\mathbf{elif}\;a \leq 2.1 \cdot 10^{+140}:\\
\;\;\;\;y \cdot i\\
\mathbf{else}:\\
\;\;\;\;t + a\\
\end{array}
\end{array}
if a < 1.8e-144 or 8.50000000000000014e-7 < a < 7.4000000000000004e55Initial program 99.8%
associate-+l+99.8%
+-commutative99.8%
associate-+l+99.8%
associate-+l+99.8%
+-commutative99.8%
fma-def99.8%
associate-+l+99.8%
fma-def99.8%
+-commutative99.8%
associate-+l+99.8%
fma-def99.8%
sub-neg99.8%
metadata-eval99.8%
Simplified99.8%
Taylor expanded in y around 0 74.4%
Taylor expanded in z around inf 35.6%
if 1.8e-144 < a < 8.50000000000000014e-7 or 7.4000000000000004e55 < a < 2.1000000000000002e140Initial program 99.8%
Taylor expanded in x around 0 85.9%
associate-+r+85.9%
+-commutative85.9%
sub-neg85.9%
metadata-eval85.9%
+-commutative85.9%
associate-+r+85.9%
+-commutative85.9%
metadata-eval85.9%
sub-neg85.9%
*-commutative85.9%
associate-+r+85.9%
fma-def85.9%
sub-neg85.9%
metadata-eval85.9%
+-commutative85.9%
+-commutative85.9%
Simplified85.9%
Taylor expanded in y around inf 33.8%
*-commutative33.8%
Simplified33.8%
if 2.1000000000000002e140 < a Initial program 99.9%
associate-+l+99.9%
+-commutative99.9%
associate-+l+99.9%
associate-+l+99.9%
+-commutative99.9%
fma-def99.9%
associate-+l+99.9%
fma-def99.9%
+-commutative99.9%
associate-+l+99.9%
fma-def99.9%
sub-neg99.9%
metadata-eval99.9%
Simplified99.9%
Taylor expanded in y around 0 88.9%
Taylor expanded in a around inf 61.6%
Final simplification37.6%
(FPCore (x y z t a b c i) :precision binary64 (if (<= z -2.4e+215) (+ z t) (+ a (* y i))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double tmp;
if (z <= -2.4e+215) {
tmp = z + t;
} else {
tmp = a + (y * i);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8) :: tmp
if (z <= (-2.4d+215)) then
tmp = z + t
else
tmp = a + (y * i)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double tmp;
if (z <= -2.4e+215) {
tmp = z + t;
} else {
tmp = a + (y * i);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i): tmp = 0 if z <= -2.4e+215: tmp = z + t else: tmp = a + (y * i) return tmp
function code(x, y, z, t, a, b, c, i) tmp = 0.0 if (z <= -2.4e+215) tmp = Float64(z + t); else tmp = Float64(a + Float64(y * i)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i) tmp = 0.0; if (z <= -2.4e+215) tmp = z + t; else tmp = a + (y * i); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_] := If[LessEqual[z, -2.4e+215], N[(z + t), $MachinePrecision], N[(a + N[(y * i), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -2.4 \cdot 10^{+215}:\\
\;\;\;\;z + t\\
\mathbf{else}:\\
\;\;\;\;a + y \cdot i\\
\end{array}
\end{array}
if z < -2.4000000000000001e215Initial program 99.9%
associate-+l+99.9%
+-commutative99.9%
associate-+l+99.9%
associate-+l+99.9%
+-commutative99.9%
fma-def99.9%
associate-+l+99.9%
fma-def99.9%
+-commutative99.9%
associate-+l+99.9%
fma-def100.0%
sub-neg100.0%
metadata-eval100.0%
Simplified100.0%
Taylor expanded in y around 0 84.6%
Taylor expanded in z around inf 74.8%
if -2.4000000000000001e215 < z Initial program 99.8%
Taylor expanded in y around inf 99.8%
Taylor expanded in a around inf 38.2%
Final simplification41.7%
(FPCore (x y z t a b c i) :precision binary64 (if (<= z -1.15e+201) (+ z (* y i)) (+ a (* y i))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double tmp;
if (z <= -1.15e+201) {
tmp = z + (y * i);
} else {
tmp = a + (y * i);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8) :: tmp
if (z <= (-1.15d+201)) then
tmp = z + (y * i)
else
tmp = a + (y * i)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double tmp;
if (z <= -1.15e+201) {
tmp = z + (y * i);
} else {
tmp = a + (y * i);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i): tmp = 0 if z <= -1.15e+201: tmp = z + (y * i) else: tmp = a + (y * i) return tmp
function code(x, y, z, t, a, b, c, i) tmp = 0.0 if (z <= -1.15e+201) tmp = Float64(z + Float64(y * i)); else tmp = Float64(a + Float64(y * i)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i) tmp = 0.0; if (z <= -1.15e+201) tmp = z + (y * i); else tmp = a + (y * i); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_] := If[LessEqual[z, -1.15e+201], N[(z + N[(y * i), $MachinePrecision]), $MachinePrecision], N[(a + N[(y * i), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.15 \cdot 10^{+201}:\\
\;\;\;\;z + y \cdot i\\
\mathbf{else}:\\
\;\;\;\;a + y \cdot i\\
\end{array}
\end{array}
if z < -1.1500000000000001e201Initial program 99.9%
Taylor expanded in y around inf 99.9%
Taylor expanded in z around inf 88.2%
if -1.1500000000000001e201 < z Initial program 99.8%
Taylor expanded in y around inf 99.8%
Taylor expanded in a around inf 38.2%
Final simplification43.7%
(FPCore (x y z t a b c i) :precision binary64 (if (<= a 3.8e+140) (* y i) (+ t a)))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double tmp;
if (a <= 3.8e+140) {
tmp = y * i;
} else {
tmp = t + a;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8) :: tmp
if (a <= 3.8d+140) then
tmp = y * i
else
tmp = t + a
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double tmp;
if (a <= 3.8e+140) {
tmp = y * i;
} else {
tmp = t + a;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i): tmp = 0 if a <= 3.8e+140: tmp = y * i else: tmp = t + a return tmp
function code(x, y, z, t, a, b, c, i) tmp = 0.0 if (a <= 3.8e+140) tmp = Float64(y * i); else tmp = Float64(t + a); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i) tmp = 0.0; if (a <= 3.8e+140) tmp = y * i; else tmp = t + a; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_] := If[LessEqual[a, 3.8e+140], N[(y * i), $MachinePrecision], N[(t + a), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq 3.8 \cdot 10^{+140}:\\
\;\;\;\;y \cdot i\\
\mathbf{else}:\\
\;\;\;\;t + a\\
\end{array}
\end{array}
if a < 3.8000000000000001e140Initial program 99.8%
Taylor expanded in x around 0 83.1%
associate-+r+83.1%
+-commutative83.1%
sub-neg83.1%
metadata-eval83.1%
+-commutative83.1%
associate-+r+83.1%
+-commutative83.1%
metadata-eval83.1%
sub-neg83.1%
*-commutative83.1%
associate-+r+83.1%
fma-def83.1%
sub-neg83.1%
metadata-eval83.1%
+-commutative83.1%
+-commutative83.1%
Simplified83.1%
Taylor expanded in y around inf 28.4%
*-commutative28.4%
Simplified28.4%
if 3.8000000000000001e140 < a Initial program 99.9%
associate-+l+99.9%
+-commutative99.9%
associate-+l+99.9%
associate-+l+99.9%
+-commutative99.9%
fma-def99.9%
associate-+l+99.9%
fma-def99.9%
+-commutative99.9%
associate-+l+99.9%
fma-def99.9%
sub-neg99.9%
metadata-eval99.9%
Simplified99.9%
Taylor expanded in y around 0 88.9%
Taylor expanded in a around inf 61.6%
Final simplification31.5%
(FPCore (x y z t a b c i) :precision binary64 (* y i))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
return y * i;
}
real(8) function code(x, y, z, t, a, b, c, i)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
code = y * i
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
return y * i;
}
def code(x, y, z, t, a, b, c, i): return y * i
function code(x, y, z, t, a, b, c, i) return Float64(y * i) end
function tmp = code(x, y, z, t, a, b, c, i) tmp = y * i; end
code[x_, y_, z_, t_, a_, b_, c_, i_] := N[(y * i), $MachinePrecision]
\begin{array}{l}
\\
y \cdot i
\end{array}
Initial program 99.8%
Taylor expanded in x around 0 84.0%
associate-+r+84.0%
+-commutative84.0%
sub-neg84.0%
metadata-eval84.0%
+-commutative84.0%
associate-+r+84.0%
+-commutative84.0%
metadata-eval84.0%
sub-neg84.0%
*-commutative84.0%
associate-+r+84.0%
fma-def84.0%
sub-neg84.0%
metadata-eval84.0%
+-commutative84.0%
+-commutative84.0%
Simplified84.0%
Taylor expanded in y around inf 26.8%
*-commutative26.8%
Simplified26.8%
Final simplification26.8%
herbie shell --seed 2023257
(FPCore (x y z t a b c i)
:name "Numeric.SpecFunctions:logBeta from math-functions-0.1.5.2, B"
:precision binary64
(+ (+ (+ (+ (+ (* x (log y)) z) t) a) (* (- b 0.5) (log c))) (* y i)))