
(FPCore (x y z t a b) :precision binary64 (+ (- (+ (+ x y) z) (* z (log t))) (* (- a 0.5) b)))
double code(double x, double y, double z, double t, double a, double b) {
return (((x + y) + z) - (z * log(t))) + ((a - 0.5) * b);
}
real(8) function code(x, y, z, t, a, b)
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
code = (((x + y) + z) - (z * log(t))) + ((a - 0.5d0) * b)
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return (((x + y) + z) - (z * Math.log(t))) + ((a - 0.5) * b);
}
def code(x, y, z, t, a, b): return (((x + y) + z) - (z * math.log(t))) + ((a - 0.5) * b)
function code(x, y, z, t, a, b) return Float64(Float64(Float64(Float64(x + y) + z) - Float64(z * log(t))) + Float64(Float64(a - 0.5) * b)) end
function tmp = code(x, y, z, t, a, b) tmp = (((x + y) + z) - (z * log(t))) + ((a - 0.5) * b); end
code[x_, y_, z_, t_, a_, b_] := N[(N[(N[(N[(x + y), $MachinePrecision] + z), $MachinePrecision] - N[(z * N[Log[t], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(a - 0.5), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(\left(x + y\right) + z\right) - z \cdot \log t\right) + \left(a - 0.5\right) \cdot b
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 19 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a b) :precision binary64 (+ (- (+ (+ x y) z) (* z (log t))) (* (- a 0.5) b)))
double code(double x, double y, double z, double t, double a, double b) {
return (((x + y) + z) - (z * log(t))) + ((a - 0.5) * b);
}
real(8) function code(x, y, z, t, a, b)
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
code = (((x + y) + z) - (z * log(t))) + ((a - 0.5d0) * b)
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return (((x + y) + z) - (z * Math.log(t))) + ((a - 0.5) * b);
}
def code(x, y, z, t, a, b): return (((x + y) + z) - (z * math.log(t))) + ((a - 0.5) * b)
function code(x, y, z, t, a, b) return Float64(Float64(Float64(Float64(x + y) + z) - Float64(z * log(t))) + Float64(Float64(a - 0.5) * b)) end
function tmp = code(x, y, z, t, a, b) tmp = (((x + y) + z) - (z * log(t))) + ((a - 0.5) * b); end
code[x_, y_, z_, t_, a_, b_] := N[(N[(N[(N[(x + y), $MachinePrecision] + z), $MachinePrecision] - N[(z * N[Log[t], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(a - 0.5), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(\left(x + y\right) + z\right) - z \cdot \log t\right) + \left(a - 0.5\right) \cdot b
\end{array}
(FPCore (x y z t a b) :precision binary64 (+ (* z (- 1.0 (log t))) (fma (+ a -0.5) b (+ x y))))
double code(double x, double y, double z, double t, double a, double b) {
return (z * (1.0 - log(t))) + fma((a + -0.5), b, (x + y));
}
function code(x, y, z, t, a, b) return Float64(Float64(z * Float64(1.0 - log(t))) + fma(Float64(a + -0.5), b, Float64(x + y))) end
code[x_, y_, z_, t_, a_, b_] := N[(N[(z * N[(1.0 - N[Log[t], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(a + -0.5), $MachinePrecision] * b + N[(x + y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
z \cdot \left(1 - \log t\right) + \mathsf{fma}\left(a + -0.5, b, x + y\right)
\end{array}
Initial program 99.9%
+-commutative99.9%
associate--l+99.9%
associate-+r+99.9%
+-commutative99.9%
*-lft-identity99.9%
metadata-eval99.9%
*-commutative99.9%
distribute-rgt-out--99.9%
metadata-eval99.9%
fma-def99.9%
sub-neg99.9%
metadata-eval99.9%
Simplified99.9%
Final simplification99.9%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (+ (* z (- 1.0 (log t))) x)))
(if (<= z -3.6e+271)
t_1
(if (<= z -3.6e+192)
(+ (+ x y) (* a b))
(if (or (<= z -2.2e+112) (not (<= z 4.5e+144)))
t_1
(+ (+ z (+ x y)) (* b (- a 0.5))))))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = (z * (1.0 - log(t))) + x;
double tmp;
if (z <= -3.6e+271) {
tmp = t_1;
} else if (z <= -3.6e+192) {
tmp = (x + y) + (a * b);
} else if ((z <= -2.2e+112) || !(z <= 4.5e+144)) {
tmp = t_1;
} else {
tmp = (z + (x + y)) + (b * (a - 0.5));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
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) :: t_1
real(8) :: tmp
t_1 = (z * (1.0d0 - log(t))) + x
if (z <= (-3.6d+271)) then
tmp = t_1
else if (z <= (-3.6d+192)) then
tmp = (x + y) + (a * b)
else if ((z <= (-2.2d+112)) .or. (.not. (z <= 4.5d+144))) then
tmp = t_1
else
tmp = (z + (x + y)) + (b * (a - 0.5d0))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double t_1 = (z * (1.0 - Math.log(t))) + x;
double tmp;
if (z <= -3.6e+271) {
tmp = t_1;
} else if (z <= -3.6e+192) {
tmp = (x + y) + (a * b);
} else if ((z <= -2.2e+112) || !(z <= 4.5e+144)) {
tmp = t_1;
} else {
tmp = (z + (x + y)) + (b * (a - 0.5));
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = (z * (1.0 - math.log(t))) + x tmp = 0 if z <= -3.6e+271: tmp = t_1 elif z <= -3.6e+192: tmp = (x + y) + (a * b) elif (z <= -2.2e+112) or not (z <= 4.5e+144): tmp = t_1 else: tmp = (z + (x + y)) + (b * (a - 0.5)) return tmp
function code(x, y, z, t, a, b) t_1 = Float64(Float64(z * Float64(1.0 - log(t))) + x) tmp = 0.0 if (z <= -3.6e+271) tmp = t_1; elseif (z <= -3.6e+192) tmp = Float64(Float64(x + y) + Float64(a * b)); elseif ((z <= -2.2e+112) || !(z <= 4.5e+144)) tmp = t_1; else tmp = Float64(Float64(z + Float64(x + y)) + Float64(b * Float64(a - 0.5))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = (z * (1.0 - log(t))) + x; tmp = 0.0; if (z <= -3.6e+271) tmp = t_1; elseif (z <= -3.6e+192) tmp = (x + y) + (a * b); elseif ((z <= -2.2e+112) || ~((z <= 4.5e+144))) tmp = t_1; else tmp = (z + (x + y)) + (b * (a - 0.5)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(N[(z * N[(1.0 - N[Log[t], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision]}, If[LessEqual[z, -3.6e+271], t$95$1, If[LessEqual[z, -3.6e+192], N[(N[(x + y), $MachinePrecision] + N[(a * b), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[z, -2.2e+112], N[Not[LessEqual[z, 4.5e+144]], $MachinePrecision]], t$95$1, N[(N[(z + N[(x + y), $MachinePrecision]), $MachinePrecision] + N[(b * N[(a - 0.5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := z \cdot \left(1 - \log t\right) + x\\
\mathbf{if}\;z \leq -3.6 \cdot 10^{+271}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;z \leq -3.6 \cdot 10^{+192}:\\
\;\;\;\;\left(x + y\right) + a \cdot b\\
\mathbf{elif}\;z \leq -2.2 \cdot 10^{+112} \lor \neg \left(z \leq 4.5 \cdot 10^{+144}\right):\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;\left(z + \left(x + y\right)\right) + b \cdot \left(a - 0.5\right)\\
\end{array}
\end{array}
if z < -3.6000000000000004e271 or -3.6000000000000002e192 < z < -2.1999999999999999e112 or 4.49999999999999967e144 < z Initial program 99.6%
+-commutative99.6%
associate--l+99.6%
associate-+r+99.6%
+-commutative99.6%
*-lft-identity99.6%
metadata-eval99.6%
*-commutative99.6%
distribute-rgt-out--99.8%
metadata-eval99.8%
fma-def99.8%
sub-neg99.8%
metadata-eval99.8%
Simplified99.8%
Taylor expanded in b around 0 90.9%
Taylor expanded in y around 0 75.9%
if -3.6000000000000004e271 < z < -3.6000000000000002e192Initial program 99.9%
Taylor expanded in a around 0 99.9%
Taylor expanded in z around 0 62.3%
distribute-rgt-in62.3%
associate-+r+62.3%
+-commutative62.3%
Simplified62.3%
Taylor expanded in a around inf 62.6%
*-commutative62.6%
Simplified62.6%
if -2.1999999999999999e112 < z < 4.49999999999999967e144Initial program 100.0%
add-cube-cbrt99.9%
pow399.9%
Applied egg-rr99.9%
Taylor expanded in z around 0 94.3%
associate-+r+94.3%
+-commutative94.3%
+-commutative94.3%
Simplified94.3%
Final simplification87.0%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (* z (- 1.0 (log t)))) (t_2 (+ t_1 x)))
(if (<= z -3.6e+271)
t_2
(if (<= z -4.2e+194)
(+ (+ x y) (* a b))
(if (<= z -2.2e+112)
t_2
(if (<= z 1.3e+142) (+ (+ z (+ x y)) (* b (- a 0.5))) (+ t_1 y)))))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = z * (1.0 - log(t));
double t_2 = t_1 + x;
double tmp;
if (z <= -3.6e+271) {
tmp = t_2;
} else if (z <= -4.2e+194) {
tmp = (x + y) + (a * b);
} else if (z <= -2.2e+112) {
tmp = t_2;
} else if (z <= 1.3e+142) {
tmp = (z + (x + y)) + (b * (a - 0.5));
} else {
tmp = t_1 + y;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
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) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = z * (1.0d0 - log(t))
t_2 = t_1 + x
if (z <= (-3.6d+271)) then
tmp = t_2
else if (z <= (-4.2d+194)) then
tmp = (x + y) + (a * b)
else if (z <= (-2.2d+112)) then
tmp = t_2
else if (z <= 1.3d+142) then
tmp = (z + (x + y)) + (b * (a - 0.5d0))
else
tmp = t_1 + y
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double t_1 = z * (1.0 - Math.log(t));
double t_2 = t_1 + x;
double tmp;
if (z <= -3.6e+271) {
tmp = t_2;
} else if (z <= -4.2e+194) {
tmp = (x + y) + (a * b);
} else if (z <= -2.2e+112) {
tmp = t_2;
} else if (z <= 1.3e+142) {
tmp = (z + (x + y)) + (b * (a - 0.5));
} else {
tmp = t_1 + y;
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = z * (1.0 - math.log(t)) t_2 = t_1 + x tmp = 0 if z <= -3.6e+271: tmp = t_2 elif z <= -4.2e+194: tmp = (x + y) + (a * b) elif z <= -2.2e+112: tmp = t_2 elif z <= 1.3e+142: tmp = (z + (x + y)) + (b * (a - 0.5)) else: tmp = t_1 + y return tmp
function code(x, y, z, t, a, b) t_1 = Float64(z * Float64(1.0 - log(t))) t_2 = Float64(t_1 + x) tmp = 0.0 if (z <= -3.6e+271) tmp = t_2; elseif (z <= -4.2e+194) tmp = Float64(Float64(x + y) + Float64(a * b)); elseif (z <= -2.2e+112) tmp = t_2; elseif (z <= 1.3e+142) tmp = Float64(Float64(z + Float64(x + y)) + Float64(b * Float64(a - 0.5))); else tmp = Float64(t_1 + y); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = z * (1.0 - log(t)); t_2 = t_1 + x; tmp = 0.0; if (z <= -3.6e+271) tmp = t_2; elseif (z <= -4.2e+194) tmp = (x + y) + (a * b); elseif (z <= -2.2e+112) tmp = t_2; elseif (z <= 1.3e+142) tmp = (z + (x + y)) + (b * (a - 0.5)); else tmp = t_1 + y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(z * N[(1.0 - N[Log[t], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(t$95$1 + x), $MachinePrecision]}, If[LessEqual[z, -3.6e+271], t$95$2, If[LessEqual[z, -4.2e+194], N[(N[(x + y), $MachinePrecision] + N[(a * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -2.2e+112], t$95$2, If[LessEqual[z, 1.3e+142], N[(N[(z + N[(x + y), $MachinePrecision]), $MachinePrecision] + N[(b * N[(a - 0.5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t$95$1 + y), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := z \cdot \left(1 - \log t\right)\\
t_2 := t_1 + x\\
\mathbf{if}\;z \leq -3.6 \cdot 10^{+271}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;z \leq -4.2 \cdot 10^{+194}:\\
\;\;\;\;\left(x + y\right) + a \cdot b\\
\mathbf{elif}\;z \leq -2.2 \cdot 10^{+112}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;z \leq 1.3 \cdot 10^{+142}:\\
\;\;\;\;\left(z + \left(x + y\right)\right) + b \cdot \left(a - 0.5\right)\\
\mathbf{else}:\\
\;\;\;\;t_1 + y\\
\end{array}
\end{array}
if z < -3.6000000000000004e271 or -4.20000000000000032e194 < z < -2.1999999999999999e112Initial program 99.8%
+-commutative99.8%
associate--l+99.8%
associate-+r+99.8%
+-commutative99.8%
*-lft-identity99.8%
metadata-eval99.8%
*-commutative99.8%
distribute-rgt-out--99.8%
metadata-eval99.8%
fma-def99.8%
sub-neg99.8%
metadata-eval99.8%
Simplified99.8%
Taylor expanded in b around 0 87.5%
Taylor expanded in y around 0 79.3%
if -3.6000000000000004e271 < z < -4.20000000000000032e194Initial program 99.9%
Taylor expanded in a around 0 99.9%
Taylor expanded in z around 0 62.3%
distribute-rgt-in62.3%
associate-+r+62.3%
+-commutative62.3%
Simplified62.3%
Taylor expanded in a around inf 62.6%
*-commutative62.6%
Simplified62.6%
if -2.1999999999999999e112 < z < 1.30000000000000011e142Initial program 100.0%
add-cube-cbrt99.9%
pow399.9%
Applied egg-rr99.9%
Taylor expanded in z around 0 94.3%
associate-+r+94.3%
+-commutative94.3%
+-commutative94.3%
Simplified94.3%
if 1.30000000000000011e142 < z Initial program 99.5%
+-commutative99.5%
associate--l+99.5%
associate-+r+99.5%
+-commutative99.5%
*-lft-identity99.5%
metadata-eval99.5%
*-commutative99.5%
distribute-rgt-out--99.7%
metadata-eval99.7%
fma-def99.7%
sub-neg99.7%
metadata-eval99.7%
Simplified99.7%
Taylor expanded in b around 0 93.2%
Taylor expanded in x around 0 86.3%
Final simplification88.9%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (* b (- a 0.5))))
(if (<= b -1.45e-20)
(+ (+ z (+ x y)) t_1)
(if (<= b 0.215) (+ (* z (- 1.0 (log t))) (+ x y)) (+ x (+ y t_1))))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = b * (a - 0.5);
double tmp;
if (b <= -1.45e-20) {
tmp = (z + (x + y)) + t_1;
} else if (b <= 0.215) {
tmp = (z * (1.0 - log(t))) + (x + y);
} else {
tmp = x + (y + t_1);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
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) :: t_1
real(8) :: tmp
t_1 = b * (a - 0.5d0)
if (b <= (-1.45d-20)) then
tmp = (z + (x + y)) + t_1
else if (b <= 0.215d0) then
tmp = (z * (1.0d0 - log(t))) + (x + y)
else
tmp = x + (y + t_1)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double t_1 = b * (a - 0.5);
double tmp;
if (b <= -1.45e-20) {
tmp = (z + (x + y)) + t_1;
} else if (b <= 0.215) {
tmp = (z * (1.0 - Math.log(t))) + (x + y);
} else {
tmp = x + (y + t_1);
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = b * (a - 0.5) tmp = 0 if b <= -1.45e-20: tmp = (z + (x + y)) + t_1 elif b <= 0.215: tmp = (z * (1.0 - math.log(t))) + (x + y) else: tmp = x + (y + t_1) return tmp
function code(x, y, z, t, a, b) t_1 = Float64(b * Float64(a - 0.5)) tmp = 0.0 if (b <= -1.45e-20) tmp = Float64(Float64(z + Float64(x + y)) + t_1); elseif (b <= 0.215) tmp = Float64(Float64(z * Float64(1.0 - log(t))) + Float64(x + y)); else tmp = Float64(x + Float64(y + t_1)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = b * (a - 0.5); tmp = 0.0; if (b <= -1.45e-20) tmp = (z + (x + y)) + t_1; elseif (b <= 0.215) tmp = (z * (1.0 - log(t))) + (x + y); else tmp = x + (y + t_1); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(b * N[(a - 0.5), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -1.45e-20], N[(N[(z + N[(x + y), $MachinePrecision]), $MachinePrecision] + t$95$1), $MachinePrecision], If[LessEqual[b, 0.215], N[(N[(z * N[(1.0 - N[Log[t], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x + y), $MachinePrecision]), $MachinePrecision], N[(x + N[(y + t$95$1), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(a - 0.5\right)\\
\mathbf{if}\;b \leq -1.45 \cdot 10^{-20}:\\
\;\;\;\;\left(z + \left(x + y\right)\right) + t_1\\
\mathbf{elif}\;b \leq 0.215:\\
\;\;\;\;z \cdot \left(1 - \log t\right) + \left(x + y\right)\\
\mathbf{else}:\\
\;\;\;\;x + \left(y + t_1\right)\\
\end{array}
\end{array}
if b < -1.45e-20Initial program 99.9%
add-cube-cbrt99.7%
pow399.7%
Applied egg-rr99.7%
Taylor expanded in z around 0 87.1%
associate-+r+87.1%
+-commutative87.1%
+-commutative87.1%
Simplified87.1%
if -1.45e-20 < b < 0.214999999999999997Initial program 99.9%
+-commutative99.9%
associate--l+99.9%
associate-+r+99.9%
+-commutative99.9%
*-lft-identity99.9%
metadata-eval99.9%
*-commutative99.9%
distribute-rgt-out--99.9%
metadata-eval99.9%
fma-def99.9%
sub-neg99.9%
metadata-eval99.9%
Simplified99.9%
Taylor expanded in b around 0 93.1%
if 0.214999999999999997 < b Initial program 99.9%
+-commutative99.9%
associate--l+99.9%
associate-+r+99.9%
+-commutative99.9%
*-lft-identity99.9%
metadata-eval99.9%
*-commutative99.9%
distribute-rgt-out--99.9%
metadata-eval99.9%
fma-def99.9%
sub-neg99.9%
metadata-eval99.9%
Simplified99.9%
Taylor expanded in z around 0 87.1%
Final simplification90.0%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (* b (- a 0.5))))
(if (<= z -6.8e+158)
(- (+ z t_1) (* z (log t)))
(if (<= z 1.35e+120)
(+ (+ z (+ x y)) t_1)
(+ (* z (- 1.0 (log t))) (+ x y))))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = b * (a - 0.5);
double tmp;
if (z <= -6.8e+158) {
tmp = (z + t_1) - (z * log(t));
} else if (z <= 1.35e+120) {
tmp = (z + (x + y)) + t_1;
} else {
tmp = (z * (1.0 - log(t))) + (x + y);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
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) :: t_1
real(8) :: tmp
t_1 = b * (a - 0.5d0)
if (z <= (-6.8d+158)) then
tmp = (z + t_1) - (z * log(t))
else if (z <= 1.35d+120) then
tmp = (z + (x + y)) + t_1
else
tmp = (z * (1.0d0 - log(t))) + (x + y)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double t_1 = b * (a - 0.5);
double tmp;
if (z <= -6.8e+158) {
tmp = (z + t_1) - (z * Math.log(t));
} else if (z <= 1.35e+120) {
tmp = (z + (x + y)) + t_1;
} else {
tmp = (z * (1.0 - Math.log(t))) + (x + y);
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = b * (a - 0.5) tmp = 0 if z <= -6.8e+158: tmp = (z + t_1) - (z * math.log(t)) elif z <= 1.35e+120: tmp = (z + (x + y)) + t_1 else: tmp = (z * (1.0 - math.log(t))) + (x + y) return tmp
function code(x, y, z, t, a, b) t_1 = Float64(b * Float64(a - 0.5)) tmp = 0.0 if (z <= -6.8e+158) tmp = Float64(Float64(z + t_1) - Float64(z * log(t))); elseif (z <= 1.35e+120) tmp = Float64(Float64(z + Float64(x + y)) + t_1); else tmp = Float64(Float64(z * Float64(1.0 - log(t))) + Float64(x + y)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = b * (a - 0.5); tmp = 0.0; if (z <= -6.8e+158) tmp = (z + t_1) - (z * log(t)); elseif (z <= 1.35e+120) tmp = (z + (x + y)) + t_1; else tmp = (z * (1.0 - log(t))) + (x + y); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(b * N[(a - 0.5), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -6.8e+158], N[(N[(z + t$95$1), $MachinePrecision] - N[(z * N[Log[t], $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.35e+120], N[(N[(z + N[(x + y), $MachinePrecision]), $MachinePrecision] + t$95$1), $MachinePrecision], N[(N[(z * N[(1.0 - N[Log[t], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x + y), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(a - 0.5\right)\\
\mathbf{if}\;z \leq -6.8 \cdot 10^{+158}:\\
\;\;\;\;\left(z + t_1\right) - z \cdot \log t\\
\mathbf{elif}\;z \leq 1.35 \cdot 10^{+120}:\\
\;\;\;\;\left(z + \left(x + y\right)\right) + t_1\\
\mathbf{else}:\\
\;\;\;\;z \cdot \left(1 - \log t\right) + \left(x + y\right)\\
\end{array}
\end{array}
if z < -6.7999999999999998e158Initial program 99.8%
Taylor expanded in x around 0 92.4%
Taylor expanded in y around 0 81.4%
if -6.7999999999999998e158 < z < 1.35e120Initial program 100.0%
add-cube-cbrt99.9%
pow399.9%
Applied egg-rr99.9%
Taylor expanded in z around 0 93.0%
associate-+r+93.0%
+-commutative93.0%
+-commutative93.0%
Simplified93.0%
if 1.35e120 < z Initial program 99.5%
+-commutative99.5%
associate--l+99.5%
associate-+r+99.5%
+-commutative99.5%
*-lft-identity99.5%
metadata-eval99.5%
*-commutative99.5%
distribute-rgt-out--99.7%
metadata-eval99.7%
fma-def99.7%
sub-neg99.7%
metadata-eval99.7%
Simplified99.7%
Taylor expanded in b around 0 93.2%
Final simplification91.3%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (* b (- a 0.5))))
(if (<= z -1.15e+69)
(- (+ y (+ z t_1)) (* z (log t)))
(if (<= z 7.8e+137)
(+ (+ z (+ x y)) t_1)
(+ (* z (- 1.0 (log t))) (+ x y))))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = b * (a - 0.5);
double tmp;
if (z <= -1.15e+69) {
tmp = (y + (z + t_1)) - (z * log(t));
} else if (z <= 7.8e+137) {
tmp = (z + (x + y)) + t_1;
} else {
tmp = (z * (1.0 - log(t))) + (x + y);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
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) :: t_1
real(8) :: tmp
t_1 = b * (a - 0.5d0)
if (z <= (-1.15d+69)) then
tmp = (y + (z + t_1)) - (z * log(t))
else if (z <= 7.8d+137) then
tmp = (z + (x + y)) + t_1
else
tmp = (z * (1.0d0 - log(t))) + (x + y)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double t_1 = b * (a - 0.5);
double tmp;
if (z <= -1.15e+69) {
tmp = (y + (z + t_1)) - (z * Math.log(t));
} else if (z <= 7.8e+137) {
tmp = (z + (x + y)) + t_1;
} else {
tmp = (z * (1.0 - Math.log(t))) + (x + y);
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = b * (a - 0.5) tmp = 0 if z <= -1.15e+69: tmp = (y + (z + t_1)) - (z * math.log(t)) elif z <= 7.8e+137: tmp = (z + (x + y)) + t_1 else: tmp = (z * (1.0 - math.log(t))) + (x + y) return tmp
function code(x, y, z, t, a, b) t_1 = Float64(b * Float64(a - 0.5)) tmp = 0.0 if (z <= -1.15e+69) tmp = Float64(Float64(y + Float64(z + t_1)) - Float64(z * log(t))); elseif (z <= 7.8e+137) tmp = Float64(Float64(z + Float64(x + y)) + t_1); else tmp = Float64(Float64(z * Float64(1.0 - log(t))) + Float64(x + y)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = b * (a - 0.5); tmp = 0.0; if (z <= -1.15e+69) tmp = (y + (z + t_1)) - (z * log(t)); elseif (z <= 7.8e+137) tmp = (z + (x + y)) + t_1; else tmp = (z * (1.0 - log(t))) + (x + y); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(b * N[(a - 0.5), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -1.15e+69], N[(N[(y + N[(z + t$95$1), $MachinePrecision]), $MachinePrecision] - N[(z * N[Log[t], $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 7.8e+137], N[(N[(z + N[(x + y), $MachinePrecision]), $MachinePrecision] + t$95$1), $MachinePrecision], N[(N[(z * N[(1.0 - N[Log[t], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x + y), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(a - 0.5\right)\\
\mathbf{if}\;z \leq -1.15 \cdot 10^{+69}:\\
\;\;\;\;\left(y + \left(z + t_1\right)\right) - z \cdot \log t\\
\mathbf{elif}\;z \leq 7.8 \cdot 10^{+137}:\\
\;\;\;\;\left(z + \left(x + y\right)\right) + t_1\\
\mathbf{else}:\\
\;\;\;\;z \cdot \left(1 - \log t\right) + \left(x + y\right)\\
\end{array}
\end{array}
if z < -1.15000000000000008e69Initial program 99.9%
Taylor expanded in x around 0 87.8%
if -1.15000000000000008e69 < z < 7.80000000000000059e137Initial program 100.0%
add-cube-cbrt99.9%
pow399.9%
Applied egg-rr99.9%
Taylor expanded in z around 0 95.8%
associate-+r+95.8%
+-commutative95.8%
+-commutative95.8%
Simplified95.8%
if 7.80000000000000059e137 < z Initial program 99.5%
+-commutative99.5%
associate--l+99.5%
associate-+r+99.5%
+-commutative99.5%
*-lft-identity99.5%
metadata-eval99.5%
*-commutative99.5%
distribute-rgt-out--99.7%
metadata-eval99.7%
fma-def99.7%
sub-neg99.7%
metadata-eval99.7%
Simplified99.7%
Taylor expanded in b around 0 93.2%
Final simplification93.6%
(FPCore (x y z t a b) :precision binary64 (- (+ x (+ y (+ z (+ (* -0.5 b) (* a b))))) (* z (log t))))
double code(double x, double y, double z, double t, double a, double b) {
return (x + (y + (z + ((-0.5 * b) + (a * b))))) - (z * log(t));
}
real(8) function code(x, y, z, t, a, b)
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
code = (x + (y + (z + (((-0.5d0) * b) + (a * b))))) - (z * log(t))
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return (x + (y + (z + ((-0.5 * b) + (a * b))))) - (z * Math.log(t));
}
def code(x, y, z, t, a, b): return (x + (y + (z + ((-0.5 * b) + (a * b))))) - (z * math.log(t))
function code(x, y, z, t, a, b) return Float64(Float64(x + Float64(y + Float64(z + Float64(Float64(-0.5 * b) + Float64(a * b))))) - Float64(z * log(t))) end
function tmp = code(x, y, z, t, a, b) tmp = (x + (y + (z + ((-0.5 * b) + (a * b))))) - (z * log(t)); end
code[x_, y_, z_, t_, a_, b_] := N[(N[(x + N[(y + N[(z + N[(N[(-0.5 * b), $MachinePrecision] + N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(z * N[Log[t], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(x + \left(y + \left(z + \left(-0.5 \cdot b + a \cdot b\right)\right)\right)\right) - z \cdot \log t
\end{array}
Initial program 99.9%
Taylor expanded in a around 0 99.9%
Final simplification99.9%
(FPCore (x y z t a b) :precision binary64 (+ (- (+ z (+ x y)) (* z (log t))) (* b (- a 0.5))))
double code(double x, double y, double z, double t, double a, double b) {
return ((z + (x + y)) - (z * log(t))) + (b * (a - 0.5));
}
real(8) function code(x, y, z, t, a, b)
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
code = ((z + (x + y)) - (z * log(t))) + (b * (a - 0.5d0))
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return ((z + (x + y)) - (z * Math.log(t))) + (b * (a - 0.5));
}
def code(x, y, z, t, a, b): return ((z + (x + y)) - (z * math.log(t))) + (b * (a - 0.5))
function code(x, y, z, t, a, b) return Float64(Float64(Float64(z + Float64(x + y)) - Float64(z * log(t))) + Float64(b * Float64(a - 0.5))) end
function tmp = code(x, y, z, t, a, b) tmp = ((z + (x + y)) - (z * log(t))) + (b * (a - 0.5)); end
code[x_, y_, z_, t_, a_, b_] := N[(N[(N[(z + N[(x + y), $MachinePrecision]), $MachinePrecision] - N[(z * N[Log[t], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(a - 0.5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(z + \left(x + y\right)\right) - z \cdot \log t\right) + b \cdot \left(a - 0.5\right)
\end{array}
Initial program 99.9%
Final simplification99.9%
(FPCore (x y z t a b) :precision binary64 (if (<= z 1.16e+146) (+ (+ z (+ x y)) (* b (- a 0.5))) (* z (- 1.0 (log t)))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= 1.16e+146) {
tmp = (z + (x + y)) + (b * (a - 0.5));
} else {
tmp = z * (1.0 - log(t));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
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) :: tmp
if (z <= 1.16d+146) then
tmp = (z + (x + y)) + (b * (a - 0.5d0))
else
tmp = z * (1.0d0 - log(t))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= 1.16e+146) {
tmp = (z + (x + y)) + (b * (a - 0.5));
} else {
tmp = z * (1.0 - Math.log(t));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if z <= 1.16e+146: tmp = (z + (x + y)) + (b * (a - 0.5)) else: tmp = z * (1.0 - math.log(t)) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (z <= 1.16e+146) tmp = Float64(Float64(z + Float64(x + y)) + Float64(b * Float64(a - 0.5))); else tmp = Float64(z * Float64(1.0 - log(t))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (z <= 1.16e+146) tmp = (z + (x + y)) + (b * (a - 0.5)); else tmp = z * (1.0 - log(t)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, 1.16e+146], N[(N[(z + N[(x + y), $MachinePrecision]), $MachinePrecision] + N[(b * N[(a - 0.5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(z * N[(1.0 - N[Log[t], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq 1.16 \cdot 10^{+146}:\\
\;\;\;\;\left(z + \left(x + y\right)\right) + b \cdot \left(a - 0.5\right)\\
\mathbf{else}:\\
\;\;\;\;z \cdot \left(1 - \log t\right)\\
\end{array}
\end{array}
if z < 1.16e146Initial program 99.9%
add-cube-cbrt99.7%
pow399.7%
Applied egg-rr99.7%
Taylor expanded in z around 0 85.0%
associate-+r+85.0%
+-commutative85.0%
+-commutative85.0%
Simplified85.0%
if 1.16e146 < z Initial program 99.5%
Taylor expanded in a around 0 99.6%
Taylor expanded in z around inf 66.8%
Final simplification82.2%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (+ x (+ y (* -0.5 b)))) (t_2 (* b (- a 0.5))))
(if (<= b -47000.0)
t_2
(if (<= b 5.8e+20)
t_1
(if (<= b 3.3e+68) (* a b) (if (<= b 5.8e+123) t_1 t_2))))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = x + (y + (-0.5 * b));
double t_2 = b * (a - 0.5);
double tmp;
if (b <= -47000.0) {
tmp = t_2;
} else if (b <= 5.8e+20) {
tmp = t_1;
} else if (b <= 3.3e+68) {
tmp = a * b;
} else if (b <= 5.8e+123) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
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) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = x + (y + ((-0.5d0) * b))
t_2 = b * (a - 0.5d0)
if (b <= (-47000.0d0)) then
tmp = t_2
else if (b <= 5.8d+20) then
tmp = t_1
else if (b <= 3.3d+68) then
tmp = a * b
else if (b <= 5.8d+123) then
tmp = t_1
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double t_1 = x + (y + (-0.5 * b));
double t_2 = b * (a - 0.5);
double tmp;
if (b <= -47000.0) {
tmp = t_2;
} else if (b <= 5.8e+20) {
tmp = t_1;
} else if (b <= 3.3e+68) {
tmp = a * b;
} else if (b <= 5.8e+123) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = x + (y + (-0.5 * b)) t_2 = b * (a - 0.5) tmp = 0 if b <= -47000.0: tmp = t_2 elif b <= 5.8e+20: tmp = t_1 elif b <= 3.3e+68: tmp = a * b elif b <= 5.8e+123: tmp = t_1 else: tmp = t_2 return tmp
function code(x, y, z, t, a, b) t_1 = Float64(x + Float64(y + Float64(-0.5 * b))) t_2 = Float64(b * Float64(a - 0.5)) tmp = 0.0 if (b <= -47000.0) tmp = t_2; elseif (b <= 5.8e+20) tmp = t_1; elseif (b <= 3.3e+68) tmp = Float64(a * b); elseif (b <= 5.8e+123) tmp = t_1; else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = x + (y + (-0.5 * b)); t_2 = b * (a - 0.5); tmp = 0.0; if (b <= -47000.0) tmp = t_2; elseif (b <= 5.8e+20) tmp = t_1; elseif (b <= 3.3e+68) tmp = a * b; elseif (b <= 5.8e+123) tmp = t_1; else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(x + N[(y + N[(-0.5 * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(a - 0.5), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -47000.0], t$95$2, If[LessEqual[b, 5.8e+20], t$95$1, If[LessEqual[b, 3.3e+68], N[(a * b), $MachinePrecision], If[LessEqual[b, 5.8e+123], t$95$1, t$95$2]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x + \left(y + -0.5 \cdot b\right)\\
t_2 := b \cdot \left(a - 0.5\right)\\
\mathbf{if}\;b \leq -47000:\\
\;\;\;\;t_2\\
\mathbf{elif}\;b \leq 5.8 \cdot 10^{+20}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;b \leq 3.3 \cdot 10^{+68}:\\
\;\;\;\;a \cdot b\\
\mathbf{elif}\;b \leq 5.8 \cdot 10^{+123}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;t_2\\
\end{array}
\end{array}
if b < -47000 or 5.80000000000000019e123 < b Initial program 99.9%
+-commutative99.9%
associate--l+99.9%
associate-+r+99.9%
+-commutative99.9%
*-lft-identity99.9%
metadata-eval99.9%
*-commutative99.9%
distribute-rgt-out--99.9%
metadata-eval99.9%
fma-def99.9%
sub-neg99.9%
metadata-eval99.9%
Simplified99.9%
Taylor expanded in b around inf 74.7%
if -47000 < b < 5.8e20 or 3.3e68 < b < 5.80000000000000019e123Initial program 99.9%
Taylor expanded in a around 0 99.9%
Taylor expanded in z around 0 68.5%
Taylor expanded in a around 0 60.5%
if 5.8e20 < b < 3.3e68Initial program 99.7%
+-commutative99.7%
associate--l+99.7%
associate-+r+99.7%
+-commutative99.7%
*-lft-identity99.7%
metadata-eval99.7%
*-commutative99.7%
distribute-rgt-out--99.7%
metadata-eval99.7%
fma-def99.7%
sub-neg99.7%
metadata-eval99.7%
Simplified99.7%
Taylor expanded in a around inf 69.2%
*-commutative69.2%
Simplified69.2%
Final simplification66.2%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (* b (- a 0.5))))
(if (<= t_1 -4e+270)
t_1
(if (<= t_1 2e+87) (+ x (+ y (* -0.5 b))) (+ z t_1)))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = b * (a - 0.5);
double tmp;
if (t_1 <= -4e+270) {
tmp = t_1;
} else if (t_1 <= 2e+87) {
tmp = x + (y + (-0.5 * b));
} else {
tmp = z + t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
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) :: t_1
real(8) :: tmp
t_1 = b * (a - 0.5d0)
if (t_1 <= (-4d+270)) then
tmp = t_1
else if (t_1 <= 2d+87) then
tmp = x + (y + ((-0.5d0) * b))
else
tmp = z + t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double t_1 = b * (a - 0.5);
double tmp;
if (t_1 <= -4e+270) {
tmp = t_1;
} else if (t_1 <= 2e+87) {
tmp = x + (y + (-0.5 * b));
} else {
tmp = z + t_1;
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = b * (a - 0.5) tmp = 0 if t_1 <= -4e+270: tmp = t_1 elif t_1 <= 2e+87: tmp = x + (y + (-0.5 * b)) else: tmp = z + t_1 return tmp
function code(x, y, z, t, a, b) t_1 = Float64(b * Float64(a - 0.5)) tmp = 0.0 if (t_1 <= -4e+270) tmp = t_1; elseif (t_1 <= 2e+87) tmp = Float64(x + Float64(y + Float64(-0.5 * b))); else tmp = Float64(z + t_1); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = b * (a - 0.5); tmp = 0.0; if (t_1 <= -4e+270) tmp = t_1; elseif (t_1 <= 2e+87) tmp = x + (y + (-0.5 * b)); else tmp = z + t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(b * N[(a - 0.5), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, -4e+270], t$95$1, If[LessEqual[t$95$1, 2e+87], N[(x + N[(y + N[(-0.5 * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(z + t$95$1), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(a - 0.5\right)\\
\mathbf{if}\;t_1 \leq -4 \cdot 10^{+270}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;t_1 \leq 2 \cdot 10^{+87}:\\
\;\;\;\;x + \left(y + -0.5 \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;z + t_1\\
\end{array}
\end{array}
if (*.f64 (-.f64 a 1/2) b) < -4.0000000000000002e270Initial program 100.0%
+-commutative100.0%
associate--l+100.0%
associate-+r+100.0%
+-commutative100.0%
*-lft-identity100.0%
metadata-eval100.0%
*-commutative100.0%
distribute-rgt-out--100.0%
metadata-eval100.0%
fma-def100.0%
sub-neg100.0%
metadata-eval100.0%
Simplified100.0%
Taylor expanded in b around inf 94.4%
if -4.0000000000000002e270 < (*.f64 (-.f64 a 1/2) b) < 1.9999999999999999e87Initial program 99.8%
Taylor expanded in a around 0 99.9%
Taylor expanded in z around 0 70.2%
Taylor expanded in a around 0 62.9%
if 1.9999999999999999e87 < (*.f64 (-.f64 a 1/2) b) Initial program 99.9%
add-cube-cbrt99.6%
pow399.6%
Applied egg-rr99.6%
Taylor expanded in z around inf 66.3%
Final simplification67.9%
(FPCore (x y z t a b)
:precision binary64
(if (or (<= b -132000000.0)
(not (or (<= b 5.8e+21) (and (not (<= b 3.2e+69)) (<= b 1.06e+124)))))
(* a b)
(+ x y)))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((b <= -132000000.0) || !((b <= 5.8e+21) || (!(b <= 3.2e+69) && (b <= 1.06e+124)))) {
tmp = a * b;
} else {
tmp = x + y;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
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) :: tmp
if ((b <= (-132000000.0d0)) .or. (.not. (b <= 5.8d+21) .or. (.not. (b <= 3.2d+69)) .and. (b <= 1.06d+124))) then
tmp = a * b
else
tmp = x + y
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((b <= -132000000.0) || !((b <= 5.8e+21) || (!(b <= 3.2e+69) && (b <= 1.06e+124)))) {
tmp = a * b;
} else {
tmp = x + y;
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (b <= -132000000.0) or not ((b <= 5.8e+21) or (not (b <= 3.2e+69) and (b <= 1.06e+124))): tmp = a * b else: tmp = x + y return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((b <= -132000000.0) || !((b <= 5.8e+21) || (!(b <= 3.2e+69) && (b <= 1.06e+124)))) tmp = Float64(a * b); else tmp = Float64(x + y); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((b <= -132000000.0) || ~(((b <= 5.8e+21) || (~((b <= 3.2e+69)) && (b <= 1.06e+124))))) tmp = a * b; else tmp = x + y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[b, -132000000.0], N[Not[Or[LessEqual[b, 5.8e+21], And[N[Not[LessEqual[b, 3.2e+69]], $MachinePrecision], LessEqual[b, 1.06e+124]]]], $MachinePrecision]], N[(a * b), $MachinePrecision], N[(x + y), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -132000000 \lor \neg \left(b \leq 5.8 \cdot 10^{+21} \lor \neg \left(b \leq 3.2 \cdot 10^{+69}\right) \land b \leq 1.06 \cdot 10^{+124}\right):\\
\;\;\;\;a \cdot b\\
\mathbf{else}:\\
\;\;\;\;x + y\\
\end{array}
\end{array}
if b < -1.32e8 or 5.8e21 < b < 3.19999999999999985e69 or 1.06e124 < b Initial program 99.9%
+-commutative99.9%
associate--l+99.9%
associate-+r+99.9%
+-commutative99.9%
*-lft-identity99.9%
metadata-eval99.9%
*-commutative99.9%
distribute-rgt-out--99.9%
metadata-eval99.9%
fma-def99.9%
sub-neg99.9%
metadata-eval99.9%
Simplified99.9%
Taylor expanded in a around inf 54.3%
*-commutative54.3%
Simplified54.3%
if -1.32e8 < b < 5.8e21 or 3.19999999999999985e69 < b < 1.06e124Initial program 99.9%
+-commutative99.9%
associate--l+99.9%
associate-+r+99.9%
+-commutative99.9%
*-lft-identity99.9%
metadata-eval99.9%
*-commutative99.9%
distribute-rgt-out--99.9%
metadata-eval99.9%
fma-def99.9%
sub-neg99.9%
metadata-eval99.9%
Simplified99.9%
Taylor expanded in b around 0 88.9%
Taylor expanded in z around 0 57.7%
+-commutative57.7%
Simplified57.7%
Final simplification56.3%
(FPCore (x y z t a b) :precision binary64 (if (or (<= (- a 0.5) -100000.0) (not (<= (- a 0.5) -0.5))) (+ (+ x y) (* a b)) (+ x (+ y (* -0.5 b)))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (((a - 0.5) <= -100000.0) || !((a - 0.5) <= -0.5)) {
tmp = (x + y) + (a * b);
} else {
tmp = x + (y + (-0.5 * b));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
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) :: tmp
if (((a - 0.5d0) <= (-100000.0d0)) .or. (.not. ((a - 0.5d0) <= (-0.5d0)))) then
tmp = (x + y) + (a * b)
else
tmp = x + (y + ((-0.5d0) * b))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (((a - 0.5) <= -100000.0) || !((a - 0.5) <= -0.5)) {
tmp = (x + y) + (a * b);
} else {
tmp = x + (y + (-0.5 * b));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if ((a - 0.5) <= -100000.0) or not ((a - 0.5) <= -0.5): tmp = (x + y) + (a * b) else: tmp = x + (y + (-0.5 * b)) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((Float64(a - 0.5) <= -100000.0) || !(Float64(a - 0.5) <= -0.5)) tmp = Float64(Float64(x + y) + Float64(a * b)); else tmp = Float64(x + Float64(y + Float64(-0.5 * b))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (((a - 0.5) <= -100000.0) || ~(((a - 0.5) <= -0.5))) tmp = (x + y) + (a * b); else tmp = x + (y + (-0.5 * b)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[N[(a - 0.5), $MachinePrecision], -100000.0], N[Not[LessEqual[N[(a - 0.5), $MachinePrecision], -0.5]], $MachinePrecision]], N[(N[(x + y), $MachinePrecision] + N[(a * b), $MachinePrecision]), $MachinePrecision], N[(x + N[(y + N[(-0.5 * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a - 0.5 \leq -100000 \lor \neg \left(a - 0.5 \leq -0.5\right):\\
\;\;\;\;\left(x + y\right) + a \cdot b\\
\mathbf{else}:\\
\;\;\;\;x + \left(y + -0.5 \cdot b\right)\\
\end{array}
\end{array}
if (-.f64 a 1/2) < -1e5 or -0.5 < (-.f64 a 1/2) Initial program 99.9%
Taylor expanded in a around 0 99.9%
Taylor expanded in z around 0 78.8%
distribute-rgt-in78.8%
associate-+r+78.8%
+-commutative78.8%
Simplified78.8%
Taylor expanded in a around inf 77.9%
*-commutative77.9%
Simplified77.9%
if -1e5 < (-.f64 a 1/2) < -0.5Initial program 99.8%
Taylor expanded in a around 0 99.8%
Taylor expanded in z around 0 72.5%
Taylor expanded in a around 0 71.7%
Final simplification75.3%
(FPCore (x y z t a b) :precision binary64 (if (or (<= b -95000000.0) (not (<= b 1.15e+21))) (* b (- a 0.5)) (+ x y)))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((b <= -95000000.0) || !(b <= 1.15e+21)) {
tmp = b * (a - 0.5);
} else {
tmp = x + y;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
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) :: tmp
if ((b <= (-95000000.0d0)) .or. (.not. (b <= 1.15d+21))) then
tmp = b * (a - 0.5d0)
else
tmp = x + y
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((b <= -95000000.0) || !(b <= 1.15e+21)) {
tmp = b * (a - 0.5);
} else {
tmp = x + y;
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (b <= -95000000.0) or not (b <= 1.15e+21): tmp = b * (a - 0.5) else: tmp = x + y return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((b <= -95000000.0) || !(b <= 1.15e+21)) tmp = Float64(b * Float64(a - 0.5)); else tmp = Float64(x + y); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((b <= -95000000.0) || ~((b <= 1.15e+21))) tmp = b * (a - 0.5); else tmp = x + y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[b, -95000000.0], N[Not[LessEqual[b, 1.15e+21]], $MachinePrecision]], N[(b * N[(a - 0.5), $MachinePrecision]), $MachinePrecision], N[(x + y), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -95000000 \lor \neg \left(b \leq 1.15 \cdot 10^{+21}\right):\\
\;\;\;\;b \cdot \left(a - 0.5\right)\\
\mathbf{else}:\\
\;\;\;\;x + y\\
\end{array}
\end{array}
if b < -9.5e7 or 1.15e21 < b Initial program 99.9%
+-commutative99.9%
associate--l+99.9%
associate-+r+99.9%
+-commutative99.9%
*-lft-identity99.9%
metadata-eval99.9%
*-commutative99.9%
distribute-rgt-out--99.9%
metadata-eval99.9%
fma-def99.9%
sub-neg99.9%
metadata-eval99.9%
Simplified99.9%
Taylor expanded in b around inf 69.5%
if -9.5e7 < b < 1.15e21Initial program 99.9%
+-commutative99.9%
associate--l+99.9%
associate-+r+99.9%
+-commutative99.9%
*-lft-identity99.9%
metadata-eval99.9%
*-commutative99.9%
distribute-rgt-out--99.9%
metadata-eval99.9%
fma-def99.9%
sub-neg99.9%
metadata-eval99.9%
Simplified99.9%
Taylor expanded in b around 0 91.2%
Taylor expanded in z around 0 58.5%
+-commutative58.5%
Simplified58.5%
Final simplification63.7%
(FPCore (x y z t a b) :precision binary64 (if (<= x -5.2e+83) x (if (<= x 1.6e-211) (* a b) y)))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (x <= -5.2e+83) {
tmp = x;
} else if (x <= 1.6e-211) {
tmp = a * b;
} else {
tmp = y;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
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) :: tmp
if (x <= (-5.2d+83)) then
tmp = x
else if (x <= 1.6d-211) then
tmp = a * b
else
tmp = y
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (x <= -5.2e+83) {
tmp = x;
} else if (x <= 1.6e-211) {
tmp = a * b;
} else {
tmp = y;
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if x <= -5.2e+83: tmp = x elif x <= 1.6e-211: tmp = a * b else: tmp = y return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (x <= -5.2e+83) tmp = x; elseif (x <= 1.6e-211) tmp = Float64(a * b); else tmp = y; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (x <= -5.2e+83) tmp = x; elseif (x <= 1.6e-211) tmp = a * b; else tmp = y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[x, -5.2e+83], x, If[LessEqual[x, 1.6e-211], N[(a * b), $MachinePrecision], y]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -5.2 \cdot 10^{+83}:\\
\;\;\;\;x\\
\mathbf{elif}\;x \leq 1.6 \cdot 10^{-211}:\\
\;\;\;\;a \cdot b\\
\mathbf{else}:\\
\;\;\;\;y\\
\end{array}
\end{array}
if x < -5.2000000000000002e83Initial program 99.9%
+-commutative99.9%
associate--l+99.9%
associate-+r+99.9%
+-commutative99.9%
*-lft-identity99.9%
metadata-eval99.9%
*-commutative99.9%
distribute-rgt-out--99.9%
metadata-eval99.9%
fma-def99.9%
sub-neg99.9%
metadata-eval99.9%
Simplified99.9%
Taylor expanded in x around inf 51.8%
if -5.2000000000000002e83 < x < 1.59999999999999993e-211Initial program 99.8%
+-commutative99.8%
associate--l+99.8%
associate-+r+99.8%
+-commutative99.8%
*-lft-identity99.8%
metadata-eval99.8%
*-commutative99.8%
distribute-rgt-out--99.8%
metadata-eval99.8%
fma-def99.8%
sub-neg99.8%
metadata-eval99.8%
Simplified99.8%
Taylor expanded in a around inf 30.1%
*-commutative30.1%
Simplified30.1%
if 1.59999999999999993e-211 < x Initial program 99.9%
+-commutative99.9%
associate--l+99.9%
associate-+r+99.9%
+-commutative99.9%
*-lft-identity99.9%
metadata-eval99.9%
*-commutative99.9%
distribute-rgt-out--100.0%
metadata-eval100.0%
fma-def100.0%
sub-neg100.0%
metadata-eval100.0%
Simplified100.0%
Taylor expanded in y around inf 17.7%
Final simplification29.4%
(FPCore (x y z t a b) :precision binary64 (+ (+ z (+ x y)) (* b (- a 0.5))))
double code(double x, double y, double z, double t, double a, double b) {
return (z + (x + y)) + (b * (a - 0.5));
}
real(8) function code(x, y, z, t, a, b)
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
code = (z + (x + y)) + (b * (a - 0.5d0))
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return (z + (x + y)) + (b * (a - 0.5));
}
def code(x, y, z, t, a, b): return (z + (x + y)) + (b * (a - 0.5))
function code(x, y, z, t, a, b) return Float64(Float64(z + Float64(x + y)) + Float64(b * Float64(a - 0.5))) end
function tmp = code(x, y, z, t, a, b) tmp = (z + (x + y)) + (b * (a - 0.5)); end
code[x_, y_, z_, t_, a_, b_] := N[(N[(z + N[(x + y), $MachinePrecision]), $MachinePrecision] + N[(b * N[(a - 0.5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(z + \left(x + y\right)\right) + b \cdot \left(a - 0.5\right)
\end{array}
Initial program 99.9%
add-cube-cbrt99.5%
pow399.5%
Applied egg-rr99.5%
Taylor expanded in z around 0 76.6%
associate-+r+76.6%
+-commutative76.6%
+-commutative76.6%
Simplified76.6%
Final simplification76.6%
(FPCore (x y z t a b) :precision binary64 (+ x (+ y (* b (- a 0.5)))))
double code(double x, double y, double z, double t, double a, double b) {
return x + (y + (b * (a - 0.5)));
}
real(8) function code(x, y, z, t, a, b)
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
code = x + (y + (b * (a - 0.5d0)))
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return x + (y + (b * (a - 0.5)));
}
def code(x, y, z, t, a, b): return x + (y + (b * (a - 0.5)))
function code(x, y, z, t, a, b) return Float64(x + Float64(y + Float64(b * Float64(a - 0.5)))) end
function tmp = code(x, y, z, t, a, b) tmp = x + (y + (b * (a - 0.5))); end
code[x_, y_, z_, t_, a_, b_] := N[(x + N[(y + N[(b * N[(a - 0.5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + \left(y + b \cdot \left(a - 0.5\right)\right)
\end{array}
Initial program 99.9%
+-commutative99.9%
associate--l+99.9%
associate-+r+99.9%
+-commutative99.9%
*-lft-identity99.9%
metadata-eval99.9%
*-commutative99.9%
distribute-rgt-out--99.9%
metadata-eval99.9%
fma-def99.9%
sub-neg99.9%
metadata-eval99.9%
Simplified99.9%
Taylor expanded in z around 0 76.1%
Final simplification76.1%
(FPCore (x y z t a b) :precision binary64 (if (<= x -2.45e+39) x y))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (x <= -2.45e+39) {
tmp = x;
} else {
tmp = y;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
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) :: tmp
if (x <= (-2.45d+39)) then
tmp = x
else
tmp = y
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (x <= -2.45e+39) {
tmp = x;
} else {
tmp = y;
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if x <= -2.45e+39: tmp = x else: tmp = y return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (x <= -2.45e+39) tmp = x; else tmp = y; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (x <= -2.45e+39) tmp = x; else tmp = y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[x, -2.45e+39], x, y]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -2.45 \cdot 10^{+39}:\\
\;\;\;\;x\\
\mathbf{else}:\\
\;\;\;\;y\\
\end{array}
\end{array}
if x < -2.44999999999999994e39Initial program 99.8%
+-commutative99.8%
associate--l+99.8%
associate-+r+99.8%
+-commutative99.8%
*-lft-identity99.8%
metadata-eval99.8%
*-commutative99.8%
distribute-rgt-out--99.9%
metadata-eval99.9%
fma-def99.9%
sub-neg99.9%
metadata-eval99.9%
Simplified99.9%
Taylor expanded in x around inf 48.9%
if -2.44999999999999994e39 < x Initial program 99.9%
+-commutative99.9%
associate--l+99.9%
associate-+r+99.9%
+-commutative99.9%
*-lft-identity99.9%
metadata-eval99.9%
*-commutative99.9%
distribute-rgt-out--99.9%
metadata-eval99.9%
fma-def99.9%
sub-neg99.9%
metadata-eval99.9%
Simplified99.9%
Taylor expanded in y around inf 21.3%
Final simplification27.7%
(FPCore (x y z t a b) :precision binary64 x)
double code(double x, double y, double z, double t, double a, double b) {
return x;
}
real(8) function code(x, y, z, t, a, b)
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
code = x
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return x;
}
def code(x, y, z, t, a, b): return x
function code(x, y, z, t, a, b) return x end
function tmp = code(x, y, z, t, a, b) tmp = x; end
code[x_, y_, z_, t_, a_, b_] := x
\begin{array}{l}
\\
x
\end{array}
Initial program 99.9%
+-commutative99.9%
associate--l+99.9%
associate-+r+99.9%
+-commutative99.9%
*-lft-identity99.9%
metadata-eval99.9%
*-commutative99.9%
distribute-rgt-out--99.9%
metadata-eval99.9%
fma-def99.9%
sub-neg99.9%
metadata-eval99.9%
Simplified99.9%
Taylor expanded in x around inf 22.8%
Final simplification22.8%
(FPCore (x y z t a b) :precision binary64 (+ (+ (+ x y) (/ (* (- 1.0 (pow (log t) 2.0)) z) (+ 1.0 (log t)))) (* (- a 0.5) b)))
double code(double x, double y, double z, double t, double a, double b) {
return ((x + y) + (((1.0 - pow(log(t), 2.0)) * z) / (1.0 + log(t)))) + ((a - 0.5) * b);
}
real(8) function code(x, y, z, t, a, b)
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
code = ((x + y) + (((1.0d0 - (log(t) ** 2.0d0)) * z) / (1.0d0 + log(t)))) + ((a - 0.5d0) * b)
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return ((x + y) + (((1.0 - Math.pow(Math.log(t), 2.0)) * z) / (1.0 + Math.log(t)))) + ((a - 0.5) * b);
}
def code(x, y, z, t, a, b): return ((x + y) + (((1.0 - math.pow(math.log(t), 2.0)) * z) / (1.0 + math.log(t)))) + ((a - 0.5) * b)
function code(x, y, z, t, a, b) return Float64(Float64(Float64(x + y) + Float64(Float64(Float64(1.0 - (log(t) ^ 2.0)) * z) / Float64(1.0 + log(t)))) + Float64(Float64(a - 0.5) * b)) end
function tmp = code(x, y, z, t, a, b) tmp = ((x + y) + (((1.0 - (log(t) ^ 2.0)) * z) / (1.0 + log(t)))) + ((a - 0.5) * b); end
code[x_, y_, z_, t_, a_, b_] := N[(N[(N[(x + y), $MachinePrecision] + N[(N[(N[(1.0 - N[Power[N[Log[t], $MachinePrecision], 2.0], $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision] / N[(1.0 + N[Log[t], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(a - 0.5), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(x + y\right) + \frac{\left(1 - {\log t}^{2}\right) \cdot z}{1 + \log t}\right) + \left(a - 0.5\right) \cdot b
\end{array}
herbie shell --seed 2024021
(FPCore (x y z t a b)
:name "Numeric.SpecFunctions:logBeta from math-functions-0.1.5.2, A"
:precision binary64
:herbie-target
(+ (+ (+ x y) (/ (* (- 1.0 (pow (log t) 2.0)) z) (+ 1.0 (log t)))) (* (- a 0.5) b))
(+ (- (+ (+ x y) z) (* z (log t))) (* (- a 0.5) b)))