
(FPCore (x y z t) :precision binary64 (+ (- (- (* x (log y)) y) z) (log t)))
double code(double x, double y, double z, double t) {
return (((x * log(y)) - y) - z) + log(t);
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
code = (((x * log(y)) - y) - z) + log(t)
end function
public static double code(double x, double y, double z, double t) {
return (((x * Math.log(y)) - y) - z) + Math.log(t);
}
def code(x, y, z, t): return (((x * math.log(y)) - y) - z) + math.log(t)
function code(x, y, z, t) return Float64(Float64(Float64(Float64(x * log(y)) - y) - z) + log(t)) end
function tmp = code(x, y, z, t) tmp = (((x * log(y)) - y) - z) + log(t); end
code[x_, y_, z_, t_] := N[(N[(N[(N[(x * N[Log[y], $MachinePrecision]), $MachinePrecision] - y), $MachinePrecision] - z), $MachinePrecision] + N[Log[t], $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(x \cdot \log y - y\right) - z\right) + \log t
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 8 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t) :precision binary64 (+ (- (- (* x (log y)) y) z) (log t)))
double code(double x, double y, double z, double t) {
return (((x * log(y)) - y) - z) + log(t);
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
code = (((x * log(y)) - y) - z) + log(t)
end function
public static double code(double x, double y, double z, double t) {
return (((x * Math.log(y)) - y) - z) + Math.log(t);
}
def code(x, y, z, t): return (((x * math.log(y)) - y) - z) + math.log(t)
function code(x, y, z, t) return Float64(Float64(Float64(Float64(x * log(y)) - y) - z) + log(t)) end
function tmp = code(x, y, z, t) tmp = (((x * log(y)) - y) - z) + log(t); end
code[x_, y_, z_, t_] := N[(N[(N[(N[(x * N[Log[y], $MachinePrecision]), $MachinePrecision] - y), $MachinePrecision] - z), $MachinePrecision] + N[Log[t], $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(x \cdot \log y - y\right) - z\right) + \log t
\end{array}
(FPCore (x y z t) :precision binary64 (+ (- (- (* x (log y)) y) z) (log t)))
double code(double x, double y, double z, double t) {
return (((x * log(y)) - y) - z) + log(t);
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
code = (((x * log(y)) - y) - z) + log(t)
end function
public static double code(double x, double y, double z, double t) {
return (((x * Math.log(y)) - y) - z) + Math.log(t);
}
def code(x, y, z, t): return (((x * math.log(y)) - y) - z) + math.log(t)
function code(x, y, z, t) return Float64(Float64(Float64(Float64(x * log(y)) - y) - z) + log(t)) end
function tmp = code(x, y, z, t) tmp = (((x * log(y)) - y) - z) + log(t); end
code[x_, y_, z_, t_] := N[(N[(N[(N[(x * N[Log[y], $MachinePrecision]), $MachinePrecision] - y), $MachinePrecision] - z), $MachinePrecision] + N[Log[t], $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(x \cdot \log y - y\right) - z\right) + \log t
\end{array}
Initial program 99.8%
(FPCore (x y z t)
:precision binary64
(let* ((t_1 (* x (log y))) (t_2 (- t_1 y)))
(if (<= t_2 -1e+158)
(+ t_2 (log t))
(if (<= t_2 -1e-14) (- (- (log t) y) z) (+ (log t) (- t_1 z))))))
double code(double x, double y, double z, double t) {
double t_1 = x * log(y);
double t_2 = t_1 - y;
double tmp;
if (t_2 <= -1e+158) {
tmp = t_2 + log(t);
} else if (t_2 <= -1e-14) {
tmp = (log(t) - y) - z;
} else {
tmp = log(t) + (t_1 - z);
}
return tmp;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = x * log(y)
t_2 = t_1 - y
if (t_2 <= (-1d+158)) then
tmp = t_2 + log(t)
else if (t_2 <= (-1d-14)) then
tmp = (log(t) - y) - z
else
tmp = log(t) + (t_1 - z)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double t_1 = x * Math.log(y);
double t_2 = t_1 - y;
double tmp;
if (t_2 <= -1e+158) {
tmp = t_2 + Math.log(t);
} else if (t_2 <= -1e-14) {
tmp = (Math.log(t) - y) - z;
} else {
tmp = Math.log(t) + (t_1 - z);
}
return tmp;
}
def code(x, y, z, t): t_1 = x * math.log(y) t_2 = t_1 - y tmp = 0 if t_2 <= -1e+158: tmp = t_2 + math.log(t) elif t_2 <= -1e-14: tmp = (math.log(t) - y) - z else: tmp = math.log(t) + (t_1 - z) return tmp
function code(x, y, z, t) t_1 = Float64(x * log(y)) t_2 = Float64(t_1 - y) tmp = 0.0 if (t_2 <= -1e+158) tmp = Float64(t_2 + log(t)); elseif (t_2 <= -1e-14) tmp = Float64(Float64(log(t) - y) - z); else tmp = Float64(log(t) + Float64(t_1 - z)); end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = x * log(y); t_2 = t_1 - y; tmp = 0.0; if (t_2 <= -1e+158) tmp = t_2 + log(t); elseif (t_2 <= -1e-14) tmp = (log(t) - y) - z; else tmp = log(t) + (t_1 - z); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(x * N[Log[y], $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(t$95$1 - y), $MachinePrecision]}, If[LessEqual[t$95$2, -1e+158], N[(t$95$2 + N[Log[t], $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$2, -1e-14], N[(N[(N[Log[t], $MachinePrecision] - y), $MachinePrecision] - z), $MachinePrecision], N[(N[Log[t], $MachinePrecision] + N[(t$95$1 - z), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \log y\\
t_2 := t\_1 - y\\
\mathbf{if}\;t\_2 \leq -1 \cdot 10^{+158}:\\
\;\;\;\;t\_2 + \log t\\
\mathbf{elif}\;t\_2 \leq -1 \cdot 10^{-14}:\\
\;\;\;\;\left(\log t - y\right) - z\\
\mathbf{else}:\\
\;\;\;\;\log t + \left(t\_1 - z\right)\\
\end{array}
\end{array}
if (-.f64 (*.f64 x (log.f64 y)) y) < -9.99999999999999953e157Initial program 99.8%
Taylor expanded in z around 0
--lowering--.f64N/A
*-lowering-*.f64N/A
log-lowering-log.f6487.2%
Simplified87.2%
if -9.99999999999999953e157 < (-.f64 (*.f64 x (log.f64 y)) y) < -9.99999999999999999e-15Initial program 99.9%
flip3-+N/A
clear-numN/A
/-lowering-/.f64N/A
clear-numN/A
flip3-+N/A
Applied egg-rr99.6%
Taylor expanded in x around 0
associate--r+N/A
--lowering--.f64N/A
--lowering--.f64N/A
log-lowering-log.f6486.9%
Simplified86.9%
if -9.99999999999999999e-15 < (-.f64 (*.f64 x (log.f64 y)) y) Initial program 99.8%
Taylor expanded in y around 0
--lowering--.f64N/A
*-lowering-*.f64N/A
log-lowering-log.f6499.3%
Simplified99.3%
Final simplification92.7%
(FPCore (x y z t) :precision binary64 (let* ((t_1 (+ (- (* x (log y)) y) (log t)))) (if (<= x -2.8e+40) t_1 (if (<= x 1.7e+25) (- (- (log t) y) z) t_1))))
double code(double x, double y, double z, double t) {
double t_1 = ((x * log(y)) - y) + log(t);
double tmp;
if (x <= -2.8e+40) {
tmp = t_1;
} else if (x <= 1.7e+25) {
tmp = (log(t) - y) - z;
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8) :: t_1
real(8) :: tmp
t_1 = ((x * log(y)) - y) + log(t)
if (x <= (-2.8d+40)) then
tmp = t_1
else if (x <= 1.7d+25) then
tmp = (log(t) - y) - z
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double t_1 = ((x * Math.log(y)) - y) + Math.log(t);
double tmp;
if (x <= -2.8e+40) {
tmp = t_1;
} else if (x <= 1.7e+25) {
tmp = (Math.log(t) - y) - z;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t): t_1 = ((x * math.log(y)) - y) + math.log(t) tmp = 0 if x <= -2.8e+40: tmp = t_1 elif x <= 1.7e+25: tmp = (math.log(t) - y) - z else: tmp = t_1 return tmp
function code(x, y, z, t) t_1 = Float64(Float64(Float64(x * log(y)) - y) + log(t)) tmp = 0.0 if (x <= -2.8e+40) tmp = t_1; elseif (x <= 1.7e+25) tmp = Float64(Float64(log(t) - y) - z); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = ((x * log(y)) - y) + log(t); tmp = 0.0; if (x <= -2.8e+40) tmp = t_1; elseif (x <= 1.7e+25) tmp = (log(t) - y) - z; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(N[(N[(x * N[Log[y], $MachinePrecision]), $MachinePrecision] - y), $MachinePrecision] + N[Log[t], $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -2.8e+40], t$95$1, If[LessEqual[x, 1.7e+25], N[(N[(N[Log[t], $MachinePrecision] - y), $MachinePrecision] - z), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(x \cdot \log y - y\right) + \log t\\
\mathbf{if}\;x \leq -2.8 \cdot 10^{+40}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;x \leq 1.7 \cdot 10^{+25}:\\
\;\;\;\;\left(\log t - y\right) - z\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if x < -2.8000000000000001e40 or 1.69999999999999992e25 < x Initial program 99.7%
Taylor expanded in z around 0
--lowering--.f64N/A
*-lowering-*.f64N/A
log-lowering-log.f6482.2%
Simplified82.2%
if -2.8000000000000001e40 < x < 1.69999999999999992e25Initial program 100.0%
flip3-+N/A
clear-numN/A
/-lowering-/.f64N/A
clear-numN/A
flip3-+N/A
Applied egg-rr99.7%
Taylor expanded in x around 0
associate--r+N/A
--lowering--.f64N/A
--lowering--.f64N/A
log-lowering-log.f6498.9%
Simplified98.9%
(FPCore (x y z t) :precision binary64 (let* ((t_1 (* x (log y)))) (if (<= x -2.8e+100) t_1 (if (<= x 9.6e+164) (- (- (log t) y) z) t_1))))
double code(double x, double y, double z, double t) {
double t_1 = x * log(y);
double tmp;
if (x <= -2.8e+100) {
tmp = t_1;
} else if (x <= 9.6e+164) {
tmp = (log(t) - y) - z;
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8) :: t_1
real(8) :: tmp
t_1 = x * log(y)
if (x <= (-2.8d+100)) then
tmp = t_1
else if (x <= 9.6d+164) then
tmp = (log(t) - y) - z
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double t_1 = x * Math.log(y);
double tmp;
if (x <= -2.8e+100) {
tmp = t_1;
} else if (x <= 9.6e+164) {
tmp = (Math.log(t) - y) - z;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t): t_1 = x * math.log(y) tmp = 0 if x <= -2.8e+100: tmp = t_1 elif x <= 9.6e+164: tmp = (math.log(t) - y) - z else: tmp = t_1 return tmp
function code(x, y, z, t) t_1 = Float64(x * log(y)) tmp = 0.0 if (x <= -2.8e+100) tmp = t_1; elseif (x <= 9.6e+164) tmp = Float64(Float64(log(t) - y) - z); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = x * log(y); tmp = 0.0; if (x <= -2.8e+100) tmp = t_1; elseif (x <= 9.6e+164) tmp = (log(t) - y) - z; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(x * N[Log[y], $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -2.8e+100], t$95$1, If[LessEqual[x, 9.6e+164], N[(N[(N[Log[t], $MachinePrecision] - y), $MachinePrecision] - z), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \log y\\
\mathbf{if}\;x \leq -2.8 \cdot 10^{+100}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;x \leq 9.6 \cdot 10^{+164}:\\
\;\;\;\;\left(\log t - y\right) - z\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if x < -2.7999999999999998e100 or 9.60000000000000043e164 < x Initial program 99.6%
Taylor expanded in x around inf
*-lowering-*.f64N/A
log-lowering-log.f6478.6%
Simplified78.6%
if -2.7999999999999998e100 < x < 9.60000000000000043e164Initial program 99.9%
flip3-+N/A
clear-numN/A
/-lowering-/.f64N/A
clear-numN/A
flip3-+N/A
Applied egg-rr99.7%
Taylor expanded in x around 0
associate--r+N/A
--lowering--.f64N/A
--lowering--.f64N/A
log-lowering-log.f6490.8%
Simplified90.8%
(FPCore (x y z t) :precision binary64 (let* ((t_1 (* x (log y)))) (if (<= x -1.55e+100) t_1 (if (<= x 9.2e+164) (- 0.0 (+ y z)) t_1))))
double code(double x, double y, double z, double t) {
double t_1 = x * log(y);
double tmp;
if (x <= -1.55e+100) {
tmp = t_1;
} else if (x <= 9.2e+164) {
tmp = 0.0 - (y + z);
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8) :: t_1
real(8) :: tmp
t_1 = x * log(y)
if (x <= (-1.55d+100)) then
tmp = t_1
else if (x <= 9.2d+164) then
tmp = 0.0d0 - (y + z)
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double t_1 = x * Math.log(y);
double tmp;
if (x <= -1.55e+100) {
tmp = t_1;
} else if (x <= 9.2e+164) {
tmp = 0.0 - (y + z);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t): t_1 = x * math.log(y) tmp = 0 if x <= -1.55e+100: tmp = t_1 elif x <= 9.2e+164: tmp = 0.0 - (y + z) else: tmp = t_1 return tmp
function code(x, y, z, t) t_1 = Float64(x * log(y)) tmp = 0.0 if (x <= -1.55e+100) tmp = t_1; elseif (x <= 9.2e+164) tmp = Float64(0.0 - Float64(y + z)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = x * log(y); tmp = 0.0; if (x <= -1.55e+100) tmp = t_1; elseif (x <= 9.2e+164) tmp = 0.0 - (y + z); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(x * N[Log[y], $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -1.55e+100], t$95$1, If[LessEqual[x, 9.2e+164], N[(0.0 - N[(y + z), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \log y\\
\mathbf{if}\;x \leq -1.55 \cdot 10^{+100}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;x \leq 9.2 \cdot 10^{+164}:\\
\;\;\;\;0 - \left(y + z\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if x < -1.55000000000000003e100 or 9.1999999999999998e164 < x Initial program 99.6%
Taylor expanded in x around inf
*-lowering-*.f64N/A
log-lowering-log.f6478.6%
Simplified78.6%
if -1.55000000000000003e100 < x < 9.1999999999999998e164Initial program 99.9%
flip3-+N/A
clear-numN/A
/-lowering-/.f64N/A
clear-numN/A
flip3-+N/A
Applied egg-rr99.7%
Taylor expanded in x around 0
associate--r+N/A
--lowering--.f64N/A
--lowering--.f64N/A
log-lowering-log.f6490.8%
Simplified90.8%
Taylor expanded in y around inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f6474.8%
Simplified74.8%
Final simplification75.9%
(FPCore (x y z t) :precision binary64 (if (<= z -5000000.0) (- 0.0 z) (if (<= z 4.2e+72) (- 0.0 y) (- 0.0 z))))
double code(double x, double y, double z, double t) {
double tmp;
if (z <= -5000000.0) {
tmp = 0.0 - z;
} else if (z <= 4.2e+72) {
tmp = 0.0 - y;
} else {
tmp = 0.0 - z;
}
return tmp;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8) :: tmp
if (z <= (-5000000.0d0)) then
tmp = 0.0d0 - z
else if (z <= 4.2d+72) then
tmp = 0.0d0 - y
else
tmp = 0.0d0 - z
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if (z <= -5000000.0) {
tmp = 0.0 - z;
} else if (z <= 4.2e+72) {
tmp = 0.0 - y;
} else {
tmp = 0.0 - z;
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if z <= -5000000.0: tmp = 0.0 - z elif z <= 4.2e+72: tmp = 0.0 - y else: tmp = 0.0 - z return tmp
function code(x, y, z, t) tmp = 0.0 if (z <= -5000000.0) tmp = Float64(0.0 - z); elseif (z <= 4.2e+72) tmp = Float64(0.0 - y); else tmp = Float64(0.0 - z); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if (z <= -5000000.0) tmp = 0.0 - z; elseif (z <= 4.2e+72) tmp = 0.0 - y; else tmp = 0.0 - z; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[LessEqual[z, -5000000.0], N[(0.0 - z), $MachinePrecision], If[LessEqual[z, 4.2e+72], N[(0.0 - y), $MachinePrecision], N[(0.0 - z), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -5000000:\\
\;\;\;\;0 - z\\
\mathbf{elif}\;z \leq 4.2 \cdot 10^{+72}:\\
\;\;\;\;0 - y\\
\mathbf{else}:\\
\;\;\;\;0 - z\\
\end{array}
\end{array}
if z < -5e6 or 4.2000000000000003e72 < z Initial program 99.9%
Taylor expanded in z around inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f6463.9%
Simplified63.9%
sub0-negN/A
neg-lowering-neg.f6463.9%
Applied egg-rr63.9%
if -5e6 < z < 4.2000000000000003e72Initial program 99.8%
Taylor expanded in y around inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f6440.3%
Simplified40.3%
sub0-negN/A
neg-lowering-neg.f6440.3%
Applied egg-rr40.3%
Final simplification51.0%
(FPCore (x y z t) :precision binary64 (- 0.0 (+ y z)))
double code(double x, double y, double z, double t) {
return 0.0 - (y + z);
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
code = 0.0d0 - (y + z)
end function
public static double code(double x, double y, double z, double t) {
return 0.0 - (y + z);
}
def code(x, y, z, t): return 0.0 - (y + z)
function code(x, y, z, t) return Float64(0.0 - Float64(y + z)) end
function tmp = code(x, y, z, t) tmp = 0.0 - (y + z); end
code[x_, y_, z_, t_] := N[(0.0 - N[(y + z), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
0 - \left(y + z\right)
\end{array}
Initial program 99.8%
flip3-+N/A
clear-numN/A
/-lowering-/.f64N/A
clear-numN/A
flip3-+N/A
Applied egg-rr99.6%
Taylor expanded in x around 0
associate--r+N/A
--lowering--.f64N/A
--lowering--.f64N/A
log-lowering-log.f6470.0%
Simplified70.0%
Taylor expanded in y around inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f6458.7%
Simplified58.7%
Final simplification58.7%
(FPCore (x y z t) :precision binary64 (- 0.0 y))
double code(double x, double y, double z, double t) {
return 0.0 - y;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
code = 0.0d0 - y
end function
public static double code(double x, double y, double z, double t) {
return 0.0 - y;
}
def code(x, y, z, t): return 0.0 - y
function code(x, y, z, t) return Float64(0.0 - y) end
function tmp = code(x, y, z, t) tmp = 0.0 - y; end
code[x_, y_, z_, t_] := N[(0.0 - y), $MachinePrecision]
\begin{array}{l}
\\
0 - y
\end{array}
Initial program 99.8%
Taylor expanded in y around inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f6428.9%
Simplified28.9%
sub0-negN/A
neg-lowering-neg.f6428.9%
Applied egg-rr28.9%
Final simplification28.9%
herbie shell --seed 2024160
(FPCore (x y z t)
:name "Numeric.SpecFunctions:incompleteGamma from math-functions-0.1.5.2, A"
:precision binary64
(+ (- (- (* x (log y)) y) z) (log t)))