
(FPCore (x y z t a) :precision binary64 (+ (- (+ (log (+ x y)) (log z)) t) (* (- a 0.5) (log t))))
double code(double x, double y, double z, double t, double a) {
return ((log((x + y)) + log(z)) - t) + ((a - 0.5) * log(t));
}
real(8) function code(x, y, z, t, a)
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
code = ((log((x + y)) + log(z)) - t) + ((a - 0.5d0) * log(t))
end function
public static double code(double x, double y, double z, double t, double a) {
return ((Math.log((x + y)) + Math.log(z)) - t) + ((a - 0.5) * Math.log(t));
}
def code(x, y, z, t, a): return ((math.log((x + y)) + math.log(z)) - t) + ((a - 0.5) * math.log(t))
function code(x, y, z, t, a) return Float64(Float64(Float64(log(Float64(x + y)) + log(z)) - t) + Float64(Float64(a - 0.5) * log(t))) end
function tmp = code(x, y, z, t, a) tmp = ((log((x + y)) + log(z)) - t) + ((a - 0.5) * log(t)); end
code[x_, y_, z_, t_, a_] := N[(N[(N[(N[Log[N[(x + y), $MachinePrecision]], $MachinePrecision] + N[Log[z], $MachinePrecision]), $MachinePrecision] - t), $MachinePrecision] + N[(N[(a - 0.5), $MachinePrecision] * N[Log[t], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(\log \left(x + y\right) + \log z\right) - t\right) + \left(a - 0.5\right) \cdot \log t
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 14 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a) :precision binary64 (+ (- (+ (log (+ x y)) (log z)) t) (* (- a 0.5) (log t))))
double code(double x, double y, double z, double t, double a) {
return ((log((x + y)) + log(z)) - t) + ((a - 0.5) * log(t));
}
real(8) function code(x, y, z, t, a)
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
code = ((log((x + y)) + log(z)) - t) + ((a - 0.5d0) * log(t))
end function
public static double code(double x, double y, double z, double t, double a) {
return ((Math.log((x + y)) + Math.log(z)) - t) + ((a - 0.5) * Math.log(t));
}
def code(x, y, z, t, a): return ((math.log((x + y)) + math.log(z)) - t) + ((a - 0.5) * math.log(t))
function code(x, y, z, t, a) return Float64(Float64(Float64(log(Float64(x + y)) + log(z)) - t) + Float64(Float64(a - 0.5) * log(t))) end
function tmp = code(x, y, z, t, a) tmp = ((log((x + y)) + log(z)) - t) + ((a - 0.5) * log(t)); end
code[x_, y_, z_, t_, a_] := N[(N[(N[(N[Log[N[(x + y), $MachinePrecision]], $MachinePrecision] + N[Log[z], $MachinePrecision]), $MachinePrecision] - t), $MachinePrecision] + N[(N[(a - 0.5), $MachinePrecision] * N[Log[t], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(\log \left(x + y\right) + \log z\right) - t\right) + \left(a - 0.5\right) \cdot \log t
\end{array}
(FPCore (x y z t a) :precision binary64 (+ (log z) (- (log (+ x y)) (fma (log t) (- 0.5 a) t))))
double code(double x, double y, double z, double t, double a) {
return log(z) + (log((x + y)) - fma(log(t), (0.5 - a), t));
}
function code(x, y, z, t, a) return Float64(log(z) + Float64(log(Float64(x + y)) - fma(log(t), Float64(0.5 - a), t))) end
code[x_, y_, z_, t_, a_] := N[(N[Log[z], $MachinePrecision] + N[(N[Log[N[(x + y), $MachinePrecision]], $MachinePrecision] - N[(N[Log[t], $MachinePrecision] * N[(0.5 - a), $MachinePrecision] + t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\log z + \left(\log \left(x + y\right) - \mathsf{fma}\left(\log t, 0.5 - a, t\right)\right)
\end{array}
Initial program 99.6%
associate-+l-99.6%
+-commutative99.6%
associate--l+99.6%
sub-neg99.6%
+-commutative99.6%
*-commutative99.6%
distribute-rgt-neg-in99.6%
fma-def99.6%
sub-neg99.6%
+-commutative99.6%
distribute-neg-in99.6%
metadata-eval99.6%
metadata-eval99.6%
unsub-neg99.6%
Simplified99.6%
Final simplification99.6%
(FPCore (x y z t a) :precision binary64 (+ (+ (log (+ x y)) (- (log z) t)) (* (log t) (+ a -0.5))))
double code(double x, double y, double z, double t, double a) {
return (log((x + y)) + (log(z) - t)) + (log(t) * (a + -0.5));
}
real(8) function code(x, y, z, t, a)
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
code = (log((x + y)) + (log(z) - t)) + (log(t) * (a + (-0.5d0)))
end function
public static double code(double x, double y, double z, double t, double a) {
return (Math.log((x + y)) + (Math.log(z) - t)) + (Math.log(t) * (a + -0.5));
}
def code(x, y, z, t, a): return (math.log((x + y)) + (math.log(z) - t)) + (math.log(t) * (a + -0.5))
function code(x, y, z, t, a) return Float64(Float64(log(Float64(x + y)) + Float64(log(z) - t)) + Float64(log(t) * Float64(a + -0.5))) end
function tmp = code(x, y, z, t, a) tmp = (log((x + y)) + (log(z) - t)) + (log(t) * (a + -0.5)); end
code[x_, y_, z_, t_, a_] := N[(N[(N[Log[N[(x + y), $MachinePrecision]], $MachinePrecision] + N[(N[Log[z], $MachinePrecision] - t), $MachinePrecision]), $MachinePrecision] + N[(N[Log[t], $MachinePrecision] * N[(a + -0.5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\log \left(x + y\right) + \left(\log z - t\right)\right) + \log t \cdot \left(a + -0.5\right)
\end{array}
Initial program 99.6%
associate--l+99.6%
sub-neg99.6%
metadata-eval99.6%
Simplified99.6%
Final simplification99.6%
(FPCore (x y z t a) :precision binary64 (if (<= t 108.0) (+ (log y) (+ (log z) (* (log t) (- a 0.5)))) (+ (log y) (- (* (log t) a) t))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (t <= 108.0) {
tmp = log(y) + (log(z) + (log(t) * (a - 0.5)));
} else {
tmp = log(y) + ((log(t) * a) - t);
}
return tmp;
}
real(8) function code(x, y, z, t, a)
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) :: tmp
if (t <= 108.0d0) then
tmp = log(y) + (log(z) + (log(t) * (a - 0.5d0)))
else
tmp = log(y) + ((log(t) * a) - t)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (t <= 108.0) {
tmp = Math.log(y) + (Math.log(z) + (Math.log(t) * (a - 0.5)));
} else {
tmp = Math.log(y) + ((Math.log(t) * a) - t);
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if t <= 108.0: tmp = math.log(y) + (math.log(z) + (math.log(t) * (a - 0.5))) else: tmp = math.log(y) + ((math.log(t) * a) - t) return tmp
function code(x, y, z, t, a) tmp = 0.0 if (t <= 108.0) tmp = Float64(log(y) + Float64(log(z) + Float64(log(t) * Float64(a - 0.5)))); else tmp = Float64(log(y) + Float64(Float64(log(t) * a) - t)); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (t <= 108.0) tmp = log(y) + (log(z) + (log(t) * (a - 0.5))); else tmp = log(y) + ((log(t) * a) - t); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[t, 108.0], N[(N[Log[y], $MachinePrecision] + N[(N[Log[z], $MachinePrecision] + N[(N[Log[t], $MachinePrecision] * N[(a - 0.5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[Log[y], $MachinePrecision] + N[(N[(N[Log[t], $MachinePrecision] * a), $MachinePrecision] - t), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq 108:\\
\;\;\;\;\log y + \left(\log z + \log t \cdot \left(a - 0.5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\log y + \left(\log t \cdot a - t\right)\\
\end{array}
\end{array}
if t < 108Initial program 99.2%
associate--l+99.3%
sub-neg99.3%
metadata-eval99.3%
Simplified99.3%
Taylor expanded in x around 0 59.8%
associate--l+59.9%
sub-neg59.9%
metadata-eval59.9%
Simplified59.9%
Taylor expanded in t around 0 59.7%
if 108 < t Initial program 99.9%
associate--l+99.9%
sub-neg99.9%
metadata-eval99.9%
Simplified99.9%
Taylor expanded in x around 0 73.6%
associate--l+73.6%
sub-neg73.6%
metadata-eval73.6%
Simplified73.6%
Taylor expanded in a around inf 72.8%
*-commutative72.8%
Simplified72.8%
Final simplification66.3%
(FPCore (x y z t a) :precision binary64 (+ (log y) (- (+ (log z) (* (log t) (+ a -0.5))) t)))
double code(double x, double y, double z, double t, double a) {
return log(y) + ((log(z) + (log(t) * (a + -0.5))) - t);
}
real(8) function code(x, y, z, t, a)
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
code = log(y) + ((log(z) + (log(t) * (a + (-0.5d0)))) - t)
end function
public static double code(double x, double y, double z, double t, double a) {
return Math.log(y) + ((Math.log(z) + (Math.log(t) * (a + -0.5))) - t);
}
def code(x, y, z, t, a): return math.log(y) + ((math.log(z) + (math.log(t) * (a + -0.5))) - t)
function code(x, y, z, t, a) return Float64(log(y) + Float64(Float64(log(z) + Float64(log(t) * Float64(a + -0.5))) - t)) end
function tmp = code(x, y, z, t, a) tmp = log(y) + ((log(z) + (log(t) * (a + -0.5))) - t); end
code[x_, y_, z_, t_, a_] := N[(N[Log[y], $MachinePrecision] + N[(N[(N[Log[z], $MachinePrecision] + N[(N[Log[t], $MachinePrecision] * N[(a + -0.5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - t), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\log y + \left(\left(\log z + \log t \cdot \left(a + -0.5\right)\right) - t\right)
\end{array}
Initial program 99.6%
associate--l+99.6%
sub-neg99.6%
metadata-eval99.6%
Simplified99.6%
Taylor expanded in x around 0 66.8%
associate--l+66.8%
sub-neg66.8%
metadata-eval66.8%
Simplified66.8%
Final simplification66.8%
(FPCore (x y z t a)
:precision binary64
(let* ((t_1 (+ (log y) (- (* (log t) a) t))))
(if (<= a -7e-284)
t_1
(if (<= a 5.2e-293)
(log (* z (* (+ x y) (pow t -0.5))))
(if (<= a 2.4e-246)
(+ (log z) (- (log (+ x y)) t))
(if (<= a 3.4e-179) (- (log (* z y)) (* (log t) 0.5)) t_1))))))
double code(double x, double y, double z, double t, double a) {
double t_1 = log(y) + ((log(t) * a) - t);
double tmp;
if (a <= -7e-284) {
tmp = t_1;
} else if (a <= 5.2e-293) {
tmp = log((z * ((x + y) * pow(t, -0.5))));
} else if (a <= 2.4e-246) {
tmp = log(z) + (log((x + y)) - t);
} else if (a <= 3.4e-179) {
tmp = log((z * y)) - (log(t) * 0.5);
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a)
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) :: t_1
real(8) :: tmp
t_1 = log(y) + ((log(t) * a) - t)
if (a <= (-7d-284)) then
tmp = t_1
else if (a <= 5.2d-293) then
tmp = log((z * ((x + y) * (t ** (-0.5d0)))))
else if (a <= 2.4d-246) then
tmp = log(z) + (log((x + y)) - t)
else if (a <= 3.4d-179) then
tmp = log((z * y)) - (log(t) * 0.5d0)
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double t_1 = Math.log(y) + ((Math.log(t) * a) - t);
double tmp;
if (a <= -7e-284) {
tmp = t_1;
} else if (a <= 5.2e-293) {
tmp = Math.log((z * ((x + y) * Math.pow(t, -0.5))));
} else if (a <= 2.4e-246) {
tmp = Math.log(z) + (Math.log((x + y)) - t);
} else if (a <= 3.4e-179) {
tmp = Math.log((z * y)) - (Math.log(t) * 0.5);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a): t_1 = math.log(y) + ((math.log(t) * a) - t) tmp = 0 if a <= -7e-284: tmp = t_1 elif a <= 5.2e-293: tmp = math.log((z * ((x + y) * math.pow(t, -0.5)))) elif a <= 2.4e-246: tmp = math.log(z) + (math.log((x + y)) - t) elif a <= 3.4e-179: tmp = math.log((z * y)) - (math.log(t) * 0.5) else: tmp = t_1 return tmp
function code(x, y, z, t, a) t_1 = Float64(log(y) + Float64(Float64(log(t) * a) - t)) tmp = 0.0 if (a <= -7e-284) tmp = t_1; elseif (a <= 5.2e-293) tmp = log(Float64(z * Float64(Float64(x + y) * (t ^ -0.5)))); elseif (a <= 2.4e-246) tmp = Float64(log(z) + Float64(log(Float64(x + y)) - t)); elseif (a <= 3.4e-179) tmp = Float64(log(Float64(z * y)) - Float64(log(t) * 0.5)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a) t_1 = log(y) + ((log(t) * a) - t); tmp = 0.0; if (a <= -7e-284) tmp = t_1; elseif (a <= 5.2e-293) tmp = log((z * ((x + y) * (t ^ -0.5)))); elseif (a <= 2.4e-246) tmp = log(z) + (log((x + y)) - t); elseif (a <= 3.4e-179) tmp = log((z * y)) - (log(t) * 0.5); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(N[Log[y], $MachinePrecision] + N[(N[(N[Log[t], $MachinePrecision] * a), $MachinePrecision] - t), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -7e-284], t$95$1, If[LessEqual[a, 5.2e-293], N[Log[N[(z * N[(N[(x + y), $MachinePrecision] * N[Power[t, -0.5], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], If[LessEqual[a, 2.4e-246], N[(N[Log[z], $MachinePrecision] + N[(N[Log[N[(x + y), $MachinePrecision]], $MachinePrecision] - t), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 3.4e-179], N[(N[Log[N[(z * y), $MachinePrecision]], $MachinePrecision] - N[(N[Log[t], $MachinePrecision] * 0.5), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \log y + \left(\log t \cdot a - t\right)\\
\mathbf{if}\;a \leq -7 \cdot 10^{-284}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;a \leq 5.2 \cdot 10^{-293}:\\
\;\;\;\;\log \left(z \cdot \left(\left(x + y\right) \cdot {t}^{-0.5}\right)\right)\\
\mathbf{elif}\;a \leq 2.4 \cdot 10^{-246}:\\
\;\;\;\;\log z + \left(\log \left(x + y\right) - t\right)\\
\mathbf{elif}\;a \leq 3.4 \cdot 10^{-179}:\\
\;\;\;\;\log \left(z \cdot y\right) - \log t \cdot 0.5\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if a < -6.99999999999999951e-284 or 3.3999999999999997e-179 < a Initial program 99.7%
associate--l+99.7%
sub-neg99.7%
metadata-eval99.7%
Simplified99.7%
Taylor expanded in x around 0 69.4%
associate--l+69.4%
sub-neg69.4%
metadata-eval69.4%
Simplified69.4%
Taylor expanded in a around inf 59.8%
*-commutative59.8%
Simplified59.8%
if -6.99999999999999951e-284 < a < 5.1999999999999996e-293Initial program 98.8%
associate--l+98.9%
+-commutative98.9%
associate-+l+99.4%
+-commutative99.4%
fma-def99.4%
sub-neg99.4%
metadata-eval99.4%
Simplified99.4%
Taylor expanded in a around 0 99.4%
*-commutative99.4%
Simplified99.4%
Taylor expanded in t around 0 84.8%
add-log-exp84.8%
sum-log77.5%
exp-sum77.5%
add-exp-log77.6%
+-commutative77.6%
exp-to-pow78.0%
Applied egg-rr78.0%
if 5.1999999999999996e-293 < a < 2.3999999999999998e-246Initial program 99.7%
associate-+l-99.7%
+-commutative99.7%
associate--l+99.7%
sub-neg99.7%
+-commutative99.7%
*-commutative99.7%
distribute-rgt-neg-in99.7%
fma-def99.7%
sub-neg99.7%
+-commutative99.7%
distribute-neg-in99.7%
metadata-eval99.7%
metadata-eval99.7%
unsub-neg99.7%
Simplified99.7%
Taylor expanded in t around inf 70.9%
if 2.3999999999999998e-246 < a < 3.3999999999999997e-179Initial program 98.8%
associate--l+98.9%
sub-neg98.9%
metadata-eval98.9%
Simplified98.9%
Taylor expanded in x around 0 50.5%
associate--l+50.5%
sub-neg50.5%
metadata-eval50.5%
Simplified50.5%
Taylor expanded in t around 0 38.2%
Taylor expanded in t around inf 38.2%
associate-+r+38.3%
log-prod38.6%
mul-1-neg38.6%
unsub-neg38.6%
log-rec38.6%
sub-neg38.6%
metadata-eval38.6%
+-commutative38.6%
Simplified38.6%
Taylor expanded in a around 0 38.6%
*-commutative38.6%
Simplified38.6%
Final simplification59.9%
(FPCore (x y z t a) :precision binary64 (if (<= t 6000000000000.0) (- (+ (log (* z (+ x y))) (* (log t) (- a 0.5))) t) (+ (log y) (- (* (log t) a) t))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (t <= 6000000000000.0) {
tmp = (log((z * (x + y))) + (log(t) * (a - 0.5))) - t;
} else {
tmp = log(y) + ((log(t) * a) - t);
}
return tmp;
}
real(8) function code(x, y, z, t, a)
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) :: tmp
if (t <= 6000000000000.0d0) then
tmp = (log((z * (x + y))) + (log(t) * (a - 0.5d0))) - t
else
tmp = log(y) + ((log(t) * a) - t)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (t <= 6000000000000.0) {
tmp = (Math.log((z * (x + y))) + (Math.log(t) * (a - 0.5))) - t;
} else {
tmp = Math.log(y) + ((Math.log(t) * a) - t);
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if t <= 6000000000000.0: tmp = (math.log((z * (x + y))) + (math.log(t) * (a - 0.5))) - t else: tmp = math.log(y) + ((math.log(t) * a) - t) return tmp
function code(x, y, z, t, a) tmp = 0.0 if (t <= 6000000000000.0) tmp = Float64(Float64(log(Float64(z * Float64(x + y))) + Float64(log(t) * Float64(a - 0.5))) - t); else tmp = Float64(log(y) + Float64(Float64(log(t) * a) - t)); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (t <= 6000000000000.0) tmp = (log((z * (x + y))) + (log(t) * (a - 0.5))) - t; else tmp = log(y) + ((log(t) * a) - t); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[t, 6000000000000.0], N[(N[(N[Log[N[(z * N[(x + y), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] + N[(N[Log[t], $MachinePrecision] * N[(a - 0.5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - t), $MachinePrecision], N[(N[Log[y], $MachinePrecision] + N[(N[(N[Log[t], $MachinePrecision] * a), $MachinePrecision] - t), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq 6000000000000:\\
\;\;\;\;\left(\log \left(z \cdot \left(x + y\right)\right) + \log t \cdot \left(a - 0.5\right)\right) - t\\
\mathbf{else}:\\
\;\;\;\;\log y + \left(\log t \cdot a - t\right)\\
\end{array}
\end{array}
if t < 6e12Initial program 99.2%
associate-+l-99.2%
+-commutative99.2%
associate--l+99.3%
sub-neg99.3%
+-commutative99.3%
*-commutative99.3%
distribute-rgt-neg-in99.3%
fma-def99.3%
sub-neg99.3%
+-commutative99.3%
distribute-neg-in99.3%
metadata-eval99.3%
metadata-eval99.3%
unsub-neg99.3%
Simplified99.3%
associate-+r-99.2%
fma-udef99.2%
associate--r+99.2%
+-commutative99.2%
sum-log78.2%
Applied egg-rr78.2%
if 6e12 < t Initial program 99.9%
associate--l+99.9%
sub-neg99.9%
metadata-eval99.9%
Simplified99.9%
Taylor expanded in x around 0 72.9%
associate--l+72.9%
sub-neg72.9%
metadata-eval72.9%
Simplified72.9%
Taylor expanded in a around inf 72.7%
*-commutative72.7%
Simplified72.7%
Final simplification75.6%
(FPCore (x y z t a) :precision binary64 (if (<= t 1.35e-26) (+ (log (* z (+ x y))) (* (log t) (- a 0.5))) (+ (log y) (- (* (log t) a) t))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (t <= 1.35e-26) {
tmp = log((z * (x + y))) + (log(t) * (a - 0.5));
} else {
tmp = log(y) + ((log(t) * a) - t);
}
return tmp;
}
real(8) function code(x, y, z, t, a)
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) :: tmp
if (t <= 1.35d-26) then
tmp = log((z * (x + y))) + (log(t) * (a - 0.5d0))
else
tmp = log(y) + ((log(t) * a) - t)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (t <= 1.35e-26) {
tmp = Math.log((z * (x + y))) + (Math.log(t) * (a - 0.5));
} else {
tmp = Math.log(y) + ((Math.log(t) * a) - t);
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if t <= 1.35e-26: tmp = math.log((z * (x + y))) + (math.log(t) * (a - 0.5)) else: tmp = math.log(y) + ((math.log(t) * a) - t) return tmp
function code(x, y, z, t, a) tmp = 0.0 if (t <= 1.35e-26) tmp = Float64(log(Float64(z * Float64(x + y))) + Float64(log(t) * Float64(a - 0.5))); else tmp = Float64(log(y) + Float64(Float64(log(t) * a) - t)); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (t <= 1.35e-26) tmp = log((z * (x + y))) + (log(t) * (a - 0.5)); else tmp = log(y) + ((log(t) * a) - t); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[t, 1.35e-26], N[(N[Log[N[(z * N[(x + y), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] + N[(N[Log[t], $MachinePrecision] * N[(a - 0.5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[Log[y], $MachinePrecision] + N[(N[(N[Log[t], $MachinePrecision] * a), $MachinePrecision] - t), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq 1.35 \cdot 10^{-26}:\\
\;\;\;\;\log \left(z \cdot \left(x + y\right)\right) + \log t \cdot \left(a - 0.5\right)\\
\mathbf{else}:\\
\;\;\;\;\log y + \left(\log t \cdot a - t\right)\\
\end{array}
\end{array}
if t < 1.34999999999999991e-26Initial program 99.3%
associate-+l-99.3%
+-commutative99.3%
associate--l+99.3%
sub-neg99.3%
+-commutative99.3%
*-commutative99.3%
distribute-rgt-neg-in99.3%
fma-def99.3%
sub-neg99.3%
+-commutative99.3%
distribute-neg-in99.3%
metadata-eval99.3%
metadata-eval99.3%
unsub-neg99.3%
Simplified99.3%
Taylor expanded in t around 0 99.3%
log-prod80.7%
Simplified80.7%
if 1.34999999999999991e-26 < t Initial program 99.8%
associate--l+99.9%
sub-neg99.9%
metadata-eval99.9%
Simplified99.9%
Taylor expanded in x around 0 72.2%
associate--l+72.2%
sub-neg72.2%
metadata-eval72.2%
Simplified72.2%
Taylor expanded in a around inf 69.3%
*-commutative69.3%
Simplified69.3%
Final simplification74.5%
(FPCore (x y z t a) :precision binary64 (if (or (<= a -3e-58) (not (<= a 3.1e-66))) (+ (log y) (- (* (log t) a) t)) (- (log (* (* z y) (pow t -0.5))) t)))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((a <= -3e-58) || !(a <= 3.1e-66)) {
tmp = log(y) + ((log(t) * a) - t);
} else {
tmp = log(((z * y) * pow(t, -0.5))) - t;
}
return tmp;
}
real(8) function code(x, y, z, t, a)
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) :: tmp
if ((a <= (-3d-58)) .or. (.not. (a <= 3.1d-66))) then
tmp = log(y) + ((log(t) * a) - t)
else
tmp = log(((z * y) * (t ** (-0.5d0)))) - t
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if ((a <= -3e-58) || !(a <= 3.1e-66)) {
tmp = Math.log(y) + ((Math.log(t) * a) - t);
} else {
tmp = Math.log(((z * y) * Math.pow(t, -0.5))) - t;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (a <= -3e-58) or not (a <= 3.1e-66): tmp = math.log(y) + ((math.log(t) * a) - t) else: tmp = math.log(((z * y) * math.pow(t, -0.5))) - t return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((a <= -3e-58) || !(a <= 3.1e-66)) tmp = Float64(log(y) + Float64(Float64(log(t) * a) - t)); else tmp = Float64(log(Float64(Float64(z * y) * (t ^ -0.5))) - t); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((a <= -3e-58) || ~((a <= 3.1e-66))) tmp = log(y) + ((log(t) * a) - t); else tmp = log(((z * y) * (t ^ -0.5))) - t; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[a, -3e-58], N[Not[LessEqual[a, 3.1e-66]], $MachinePrecision]], N[(N[Log[y], $MachinePrecision] + N[(N[(N[Log[t], $MachinePrecision] * a), $MachinePrecision] - t), $MachinePrecision]), $MachinePrecision], N[(N[Log[N[(N[(z * y), $MachinePrecision] * N[Power[t, -0.5], $MachinePrecision]), $MachinePrecision]], $MachinePrecision] - t), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -3 \cdot 10^{-58} \lor \neg \left(a \leq 3.1 \cdot 10^{-66}\right):\\
\;\;\;\;\log y + \left(\log t \cdot a - t\right)\\
\mathbf{else}:\\
\;\;\;\;\log \left(\left(z \cdot y\right) \cdot {t}^{-0.5}\right) - t\\
\end{array}
\end{array}
if a < -3.00000000000000008e-58 or 3.0999999999999997e-66 < a Initial program 99.8%
associate--l+99.8%
sub-neg99.8%
metadata-eval99.8%
Simplified99.8%
Taylor expanded in x around 0 70.7%
associate--l+70.7%
sub-neg70.7%
metadata-eval70.7%
Simplified70.7%
Taylor expanded in a around inf 67.7%
*-commutative67.7%
Simplified67.7%
if -3.00000000000000008e-58 < a < 3.0999999999999997e-66Initial program 99.3%
associate--l+99.3%
sub-neg99.3%
metadata-eval99.3%
Simplified99.3%
Taylor expanded in a around 0 99.3%
associate-+r+99.3%
+-commutative99.3%
log-prod77.2%
*-commutative77.2%
*-commutative77.2%
Simplified77.2%
Taylor expanded in x around 0 47.9%
+-commutative47.9%
*-commutative47.9%
*-commutative47.9%
Simplified47.9%
Taylor expanded in t around 0 47.9%
log-pow47.9%
log-prod44.6%
Simplified44.6%
Final simplification58.0%
(FPCore (x y z t a) :precision binary64 (if (<= t 1.6e-26) (+ (log (* z y)) (* (log t) (- a 0.5))) (+ (log y) (- (* (log t) a) t))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (t <= 1.6e-26) {
tmp = log((z * y)) + (log(t) * (a - 0.5));
} else {
tmp = log(y) + ((log(t) * a) - t);
}
return tmp;
}
real(8) function code(x, y, z, t, a)
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) :: tmp
if (t <= 1.6d-26) then
tmp = log((z * y)) + (log(t) * (a - 0.5d0))
else
tmp = log(y) + ((log(t) * a) - t)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (t <= 1.6e-26) {
tmp = Math.log((z * y)) + (Math.log(t) * (a - 0.5));
} else {
tmp = Math.log(y) + ((Math.log(t) * a) - t);
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if t <= 1.6e-26: tmp = math.log((z * y)) + (math.log(t) * (a - 0.5)) else: tmp = math.log(y) + ((math.log(t) * a) - t) return tmp
function code(x, y, z, t, a) tmp = 0.0 if (t <= 1.6e-26) tmp = Float64(log(Float64(z * y)) + Float64(log(t) * Float64(a - 0.5))); else tmp = Float64(log(y) + Float64(Float64(log(t) * a) - t)); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (t <= 1.6e-26) tmp = log((z * y)) + (log(t) * (a - 0.5)); else tmp = log(y) + ((log(t) * a) - t); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[t, 1.6e-26], N[(N[Log[N[(z * y), $MachinePrecision]], $MachinePrecision] + N[(N[Log[t], $MachinePrecision] * N[(a - 0.5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[Log[y], $MachinePrecision] + N[(N[(N[Log[t], $MachinePrecision] * a), $MachinePrecision] - t), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq 1.6 \cdot 10^{-26}:\\
\;\;\;\;\log \left(z \cdot y\right) + \log t \cdot \left(a - 0.5\right)\\
\mathbf{else}:\\
\;\;\;\;\log y + \left(\log t \cdot a - t\right)\\
\end{array}
\end{array}
if t < 1.6000000000000001e-26Initial program 99.3%
associate--l+99.3%
sub-neg99.3%
metadata-eval99.3%
Simplified99.3%
Taylor expanded in x around 0 60.2%
associate--l+60.2%
sub-neg60.2%
metadata-eval60.2%
Simplified60.2%
Taylor expanded in t around 0 60.2%
Taylor expanded in t around inf 60.2%
associate-+r+60.2%
log-prod47.9%
mul-1-neg47.9%
unsub-neg47.9%
log-rec47.9%
sub-neg47.9%
metadata-eval47.9%
+-commutative47.9%
Simplified47.9%
Taylor expanded in t around 0 47.9%
mul-1-neg47.9%
sub-neg47.9%
metadata-eval47.9%
distribute-rgt-neg-in47.9%
neg-sub047.9%
+-commutative47.9%
associate--r+47.9%
metadata-eval47.9%
Simplified47.9%
if 1.6000000000000001e-26 < t Initial program 99.8%
associate--l+99.9%
sub-neg99.9%
metadata-eval99.9%
Simplified99.9%
Taylor expanded in x around 0 72.2%
associate--l+72.2%
sub-neg72.2%
metadata-eval72.2%
Simplified72.2%
Taylor expanded in a around inf 69.3%
*-commutative69.3%
Simplified69.3%
Final simplification59.6%
(FPCore (x y z t a) :precision binary64 (if (<= t 8.6e+14) (+ (log y) (* (log t) a)) (- (log y) t)))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (t <= 8.6e+14) {
tmp = log(y) + (log(t) * a);
} else {
tmp = log(y) - t;
}
return tmp;
}
real(8) function code(x, y, z, t, a)
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) :: tmp
if (t <= 8.6d+14) then
tmp = log(y) + (log(t) * a)
else
tmp = log(y) - t
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (t <= 8.6e+14) {
tmp = Math.log(y) + (Math.log(t) * a);
} else {
tmp = Math.log(y) - t;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if t <= 8.6e+14: tmp = math.log(y) + (math.log(t) * a) else: tmp = math.log(y) - t return tmp
function code(x, y, z, t, a) tmp = 0.0 if (t <= 8.6e+14) tmp = Float64(log(y) + Float64(log(t) * a)); else tmp = Float64(log(y) - t); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (t <= 8.6e+14) tmp = log(y) + (log(t) * a); else tmp = log(y) - t; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[t, 8.6e+14], N[(N[Log[y], $MachinePrecision] + N[(N[Log[t], $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision], N[(N[Log[y], $MachinePrecision] - t), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq 8.6 \cdot 10^{+14}:\\
\;\;\;\;\log y + \log t \cdot a\\
\mathbf{else}:\\
\;\;\;\;\log y - t\\
\end{array}
\end{array}
if t < 8.6e14Initial program 99.2%
associate--l+99.3%
sub-neg99.3%
metadata-eval99.3%
Simplified99.3%
Taylor expanded in x around 0 61.7%
associate--l+61.7%
sub-neg61.7%
metadata-eval61.7%
Simplified61.7%
Taylor expanded in a around inf 38.3%
*-commutative38.3%
Simplified38.3%
Taylor expanded in t around 0 37.4%
if 8.6e14 < t Initial program 100.0%
associate--l+100.0%
sub-neg100.0%
metadata-eval100.0%
Simplified100.0%
Taylor expanded in x around 0 72.5%
associate--l+72.5%
sub-neg72.5%
metadata-eval72.5%
Simplified72.5%
Taylor expanded in a around inf 72.3%
*-commutative72.3%
Simplified72.3%
Taylor expanded in a around 0 61.8%
Final simplification48.8%
(FPCore (x y z t a) :precision binary64 (+ (log y) (- (* (log t) a) t)))
double code(double x, double y, double z, double t, double a) {
return log(y) + ((log(t) * a) - t);
}
real(8) function code(x, y, z, t, a)
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
code = log(y) + ((log(t) * a) - t)
end function
public static double code(double x, double y, double z, double t, double a) {
return Math.log(y) + ((Math.log(t) * a) - t);
}
def code(x, y, z, t, a): return math.log(y) + ((math.log(t) * a) - t)
function code(x, y, z, t, a) return Float64(log(y) + Float64(Float64(log(t) * a) - t)) end
function tmp = code(x, y, z, t, a) tmp = log(y) + ((log(t) * a) - t); end
code[x_, y_, z_, t_, a_] := N[(N[Log[y], $MachinePrecision] + N[(N[(N[Log[t], $MachinePrecision] * a), $MachinePrecision] - t), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\log y + \left(\log t \cdot a - t\right)
\end{array}
Initial program 99.6%
associate--l+99.6%
sub-neg99.6%
metadata-eval99.6%
Simplified99.6%
Taylor expanded in x around 0 66.8%
associate--l+66.8%
sub-neg66.8%
metadata-eval66.8%
Simplified66.8%
Taylor expanded in a around inf 54.2%
*-commutative54.2%
Simplified54.2%
Final simplification54.2%
(FPCore (x y z t a) :precision binary64 (if (<= t 1.3e+15) (* (log t) a) (- t)))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (t <= 1.3e+15) {
tmp = log(t) * a;
} else {
tmp = -t;
}
return tmp;
}
real(8) function code(x, y, z, t, a)
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) :: tmp
if (t <= 1.3d+15) then
tmp = log(t) * a
else
tmp = -t
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (t <= 1.3e+15) {
tmp = Math.log(t) * a;
} else {
tmp = -t;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if t <= 1.3e+15: tmp = math.log(t) * a else: tmp = -t return tmp
function code(x, y, z, t, a) tmp = 0.0 if (t <= 1.3e+15) tmp = Float64(log(t) * a); else tmp = Float64(-t); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (t <= 1.3e+15) tmp = log(t) * a; else tmp = -t; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[t, 1.3e+15], N[(N[Log[t], $MachinePrecision] * a), $MachinePrecision], (-t)]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq 1.3 \cdot 10^{+15}:\\
\;\;\;\;\log t \cdot a\\
\mathbf{else}:\\
\;\;\;\;-t\\
\end{array}
\end{array}
if t < 1.3e15Initial program 99.2%
associate-+l-99.2%
+-commutative99.2%
associate--l+99.3%
sub-neg99.3%
+-commutative99.3%
*-commutative99.3%
distribute-rgt-neg-in99.3%
fma-def99.3%
sub-neg99.3%
+-commutative99.3%
distribute-neg-in99.3%
metadata-eval99.3%
metadata-eval99.3%
unsub-neg99.3%
Simplified99.3%
Taylor expanded in a around inf 47.4%
*-commutative47.4%
Simplified47.4%
if 1.3e15 < t Initial program 100.0%
associate-+l-100.0%
+-commutative100.0%
associate--l+100.0%
sub-neg100.0%
+-commutative100.0%
*-commutative100.0%
distribute-rgt-neg-in100.0%
fma-def100.0%
sub-neg100.0%
+-commutative100.0%
distribute-neg-in100.0%
metadata-eval100.0%
metadata-eval100.0%
unsub-neg100.0%
Simplified100.0%
Taylor expanded in t around inf 79.8%
neg-mul-179.8%
Simplified79.8%
Final simplification62.6%
(FPCore (x y z t a) :precision binary64 (if (<= t 5.5e+14) (* (log t) a) (- (log y) t)))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (t <= 5.5e+14) {
tmp = log(t) * a;
} else {
tmp = log(y) - t;
}
return tmp;
}
real(8) function code(x, y, z, t, a)
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) :: tmp
if (t <= 5.5d+14) then
tmp = log(t) * a
else
tmp = log(y) - t
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (t <= 5.5e+14) {
tmp = Math.log(t) * a;
} else {
tmp = Math.log(y) - t;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if t <= 5.5e+14: tmp = math.log(t) * a else: tmp = math.log(y) - t return tmp
function code(x, y, z, t, a) tmp = 0.0 if (t <= 5.5e+14) tmp = Float64(log(t) * a); else tmp = Float64(log(y) - t); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (t <= 5.5e+14) tmp = log(t) * a; else tmp = log(y) - t; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[t, 5.5e+14], N[(N[Log[t], $MachinePrecision] * a), $MachinePrecision], N[(N[Log[y], $MachinePrecision] - t), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq 5.5 \cdot 10^{+14}:\\
\;\;\;\;\log t \cdot a\\
\mathbf{else}:\\
\;\;\;\;\log y - t\\
\end{array}
\end{array}
if t < 5.5e14Initial program 99.2%
associate-+l-99.2%
+-commutative99.2%
associate--l+99.3%
sub-neg99.3%
+-commutative99.3%
*-commutative99.3%
distribute-rgt-neg-in99.3%
fma-def99.3%
sub-neg99.3%
+-commutative99.3%
distribute-neg-in99.3%
metadata-eval99.3%
metadata-eval99.3%
unsub-neg99.3%
Simplified99.3%
Taylor expanded in a around inf 47.4%
*-commutative47.4%
Simplified47.4%
if 5.5e14 < t Initial program 100.0%
associate--l+100.0%
sub-neg100.0%
metadata-eval100.0%
Simplified100.0%
Taylor expanded in x around 0 72.5%
associate--l+72.5%
sub-neg72.5%
metadata-eval72.5%
Simplified72.5%
Taylor expanded in a around inf 72.3%
*-commutative72.3%
Simplified72.3%
Taylor expanded in a around 0 61.8%
Final simplification54.1%
(FPCore (x y z t a) :precision binary64 (- t))
double code(double x, double y, double z, double t, double a) {
return -t;
}
real(8) function code(x, y, z, t, a)
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
code = -t
end function
public static double code(double x, double y, double z, double t, double a) {
return -t;
}
def code(x, y, z, t, a): return -t
function code(x, y, z, t, a) return Float64(-t) end
function tmp = code(x, y, z, t, a) tmp = -t; end
code[x_, y_, z_, t_, a_] := (-t)
\begin{array}{l}
\\
-t
\end{array}
Initial program 99.6%
associate-+l-99.6%
+-commutative99.6%
associate--l+99.6%
sub-neg99.6%
+-commutative99.6%
*-commutative99.6%
distribute-rgt-neg-in99.6%
fma-def99.6%
sub-neg99.6%
+-commutative99.6%
distribute-neg-in99.6%
metadata-eval99.6%
metadata-eval99.6%
unsub-neg99.6%
Simplified99.6%
Taylor expanded in t around inf 39.5%
neg-mul-139.5%
Simplified39.5%
Final simplification39.5%
(FPCore (x y z t a) :precision binary64 (+ (log (+ x y)) (+ (- (log z) t) (* (- a 0.5) (log t)))))
double code(double x, double y, double z, double t, double a) {
return log((x + y)) + ((log(z) - t) + ((a - 0.5) * log(t)));
}
real(8) function code(x, y, z, t, a)
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
code = log((x + y)) + ((log(z) - t) + ((a - 0.5d0) * log(t)))
end function
public static double code(double x, double y, double z, double t, double a) {
return Math.log((x + y)) + ((Math.log(z) - t) + ((a - 0.5) * Math.log(t)));
}
def code(x, y, z, t, a): return math.log((x + y)) + ((math.log(z) - t) + ((a - 0.5) * math.log(t)))
function code(x, y, z, t, a) return Float64(log(Float64(x + y)) + Float64(Float64(log(z) - t) + Float64(Float64(a - 0.5) * log(t)))) end
function tmp = code(x, y, z, t, a) tmp = log((x + y)) + ((log(z) - t) + ((a - 0.5) * log(t))); end
code[x_, y_, z_, t_, a_] := N[(N[Log[N[(x + y), $MachinePrecision]], $MachinePrecision] + N[(N[(N[Log[z], $MachinePrecision] - t), $MachinePrecision] + N[(N[(a - 0.5), $MachinePrecision] * N[Log[t], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\log \left(x + y\right) + \left(\left(\log z - t\right) + \left(a - 0.5\right) \cdot \log t\right)
\end{array}
herbie shell --seed 2023318
(FPCore (x y z t a)
:name "Numeric.SpecFunctions:logGammaL from math-functions-0.1.5.2"
:precision binary64
:herbie-target
(+ (log (+ x y)) (+ (- (log z) t) (* (- a 0.5) (log t))))
(+ (- (+ (log (+ x y)) (log z)) t) (* (- a 0.5) (log t))))