
(FPCore (x y z) :precision binary64 (exp (- (+ x (* y (log y))) z)))
double code(double x, double y, double z) {
return exp(((x + (y * log(y))) - z));
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = exp(((x + (y * log(y))) - z))
end function
public static double code(double x, double y, double z) {
return Math.exp(((x + (y * Math.log(y))) - z));
}
def code(x, y, z): return math.exp(((x + (y * math.log(y))) - z))
function code(x, y, z) return exp(Float64(Float64(x + Float64(y * log(y))) - z)) end
function tmp = code(x, y, z) tmp = exp(((x + (y * log(y))) - z)); end
code[x_, y_, z_] := N[Exp[N[(N[(x + N[(y * N[Log[y], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - z), $MachinePrecision]], $MachinePrecision]
\begin{array}{l}
\\
e^{\left(x + y \cdot \log y\right) - z}
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 8 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z) :precision binary64 (exp (- (+ x (* y (log y))) z)))
double code(double x, double y, double z) {
return exp(((x + (y * log(y))) - z));
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = exp(((x + (y * log(y))) - z))
end function
public static double code(double x, double y, double z) {
return Math.exp(((x + (y * Math.log(y))) - z));
}
def code(x, y, z): return math.exp(((x + (y * math.log(y))) - z))
function code(x, y, z) return exp(Float64(Float64(x + Float64(y * log(y))) - z)) end
function tmp = code(x, y, z) tmp = exp(((x + (y * log(y))) - z)); end
code[x_, y_, z_] := N[Exp[N[(N[(x + N[(y * N[Log[y], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - z), $MachinePrecision]], $MachinePrecision]
\begin{array}{l}
\\
e^{\left(x + y \cdot \log y\right) - z}
\end{array}
(FPCore (x y z) :precision binary64 (exp (- (+ x (* y (log y))) z)))
double code(double x, double y, double z) {
return exp(((x + (y * log(y))) - z));
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = exp(((x + (y * log(y))) - z))
end function
public static double code(double x, double y, double z) {
return Math.exp(((x + (y * Math.log(y))) - z));
}
def code(x, y, z): return math.exp(((x + (y * math.log(y))) - z))
function code(x, y, z) return exp(Float64(Float64(x + Float64(y * log(y))) - z)) end
function tmp = code(x, y, z) tmp = exp(((x + (y * log(y))) - z)); end
code[x_, y_, z_] := N[Exp[N[(N[(x + N[(y * N[Log[y], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - z), $MachinePrecision]], $MachinePrecision]
\begin{array}{l}
\\
e^{\left(x + y \cdot \log y\right) - z}
\end{array}
Initial program 100.0%
(FPCore (x y z) :precision binary64 (let* ((t_0 (* y (log y)))) (if (<= t_0 2000000.0) (* (pow y y) (exp (- x z))) (exp (- t_0 z)))))
double code(double x, double y, double z) {
double t_0 = y * log(y);
double tmp;
if (t_0 <= 2000000.0) {
tmp = pow(y, y) * exp((x - z));
} else {
tmp = exp((t_0 - z));
}
return tmp;
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8) :: t_0
real(8) :: tmp
t_0 = y * log(y)
if (t_0 <= 2000000.0d0) then
tmp = (y ** y) * exp((x - z))
else
tmp = exp((t_0 - z))
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double t_0 = y * Math.log(y);
double tmp;
if (t_0 <= 2000000.0) {
tmp = Math.pow(y, y) * Math.exp((x - z));
} else {
tmp = Math.exp((t_0 - z));
}
return tmp;
}
def code(x, y, z): t_0 = y * math.log(y) tmp = 0 if t_0 <= 2000000.0: tmp = math.pow(y, y) * math.exp((x - z)) else: tmp = math.exp((t_0 - z)) return tmp
function code(x, y, z) t_0 = Float64(y * log(y)) tmp = 0.0 if (t_0 <= 2000000.0) tmp = Float64((y ^ y) * exp(Float64(x - z))); else tmp = exp(Float64(t_0 - z)); end return tmp end
function tmp_2 = code(x, y, z) t_0 = y * log(y); tmp = 0.0; if (t_0 <= 2000000.0) tmp = (y ^ y) * exp((x - z)); else tmp = exp((t_0 - z)); end tmp_2 = tmp; end
code[x_, y_, z_] := Block[{t$95$0 = N[(y * N[Log[y], $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$0, 2000000.0], N[(N[Power[y, y], $MachinePrecision] * N[Exp[N[(x - z), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], N[Exp[N[(t$95$0 - z), $MachinePrecision]], $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := y \cdot \log y\\
\mathbf{if}\;t\_0 \leq 2000000:\\
\;\;\;\;{y}^{y} \cdot e^{x - z}\\
\mathbf{else}:\\
\;\;\;\;e^{t\_0 - z}\\
\end{array}
\end{array}
if (*.f64 y (log.f64 y)) < 2e6Initial program 100.0%
+-commutative100.0%
associate--l+100.0%
exp-sum100.0%
*-commutative100.0%
exp-to-pow100.0%
Simplified100.0%
if 2e6 < (*.f64 y (log.f64 y)) Initial program 100.0%
Taylor expanded in x around 0 91.9%
(FPCore (x y z)
:precision binary64
(let* ((t_0 (exp (- z))) (t_1 (* (pow y y) (exp x))))
(if (<= z -250000000000.0)
t_0
(if (<= z 6.9e-68)
t_1
(if (<= z 1.95e-30) (pow y y) (if (<= z 1.75e+158) t_1 t_0))))))
double code(double x, double y, double z) {
double t_0 = exp(-z);
double t_1 = pow(y, y) * exp(x);
double tmp;
if (z <= -250000000000.0) {
tmp = t_0;
} else if (z <= 6.9e-68) {
tmp = t_1;
} else if (z <= 1.95e-30) {
tmp = pow(y, y);
} else if (z <= 1.75e+158) {
tmp = t_1;
} else {
tmp = t_0;
}
return tmp;
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8) :: t_0
real(8) :: t_1
real(8) :: tmp
t_0 = exp(-z)
t_1 = (y ** y) * exp(x)
if (z <= (-250000000000.0d0)) then
tmp = t_0
else if (z <= 6.9d-68) then
tmp = t_1
else if (z <= 1.95d-30) then
tmp = y ** y
else if (z <= 1.75d+158) then
tmp = t_1
else
tmp = t_0
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double t_0 = Math.exp(-z);
double t_1 = Math.pow(y, y) * Math.exp(x);
double tmp;
if (z <= -250000000000.0) {
tmp = t_0;
} else if (z <= 6.9e-68) {
tmp = t_1;
} else if (z <= 1.95e-30) {
tmp = Math.pow(y, y);
} else if (z <= 1.75e+158) {
tmp = t_1;
} else {
tmp = t_0;
}
return tmp;
}
def code(x, y, z): t_0 = math.exp(-z) t_1 = math.pow(y, y) * math.exp(x) tmp = 0 if z <= -250000000000.0: tmp = t_0 elif z <= 6.9e-68: tmp = t_1 elif z <= 1.95e-30: tmp = math.pow(y, y) elif z <= 1.75e+158: tmp = t_1 else: tmp = t_0 return tmp
function code(x, y, z) t_0 = exp(Float64(-z)) t_1 = Float64((y ^ y) * exp(x)) tmp = 0.0 if (z <= -250000000000.0) tmp = t_0; elseif (z <= 6.9e-68) tmp = t_1; elseif (z <= 1.95e-30) tmp = y ^ y; elseif (z <= 1.75e+158) tmp = t_1; else tmp = t_0; end return tmp end
function tmp_2 = code(x, y, z) t_0 = exp(-z); t_1 = (y ^ y) * exp(x); tmp = 0.0; if (z <= -250000000000.0) tmp = t_0; elseif (z <= 6.9e-68) tmp = t_1; elseif (z <= 1.95e-30) tmp = y ^ y; elseif (z <= 1.75e+158) tmp = t_1; else tmp = t_0; end tmp_2 = tmp; end
code[x_, y_, z_] := Block[{t$95$0 = N[Exp[(-z)], $MachinePrecision]}, Block[{t$95$1 = N[(N[Power[y, y], $MachinePrecision] * N[Exp[x], $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -250000000000.0], t$95$0, If[LessEqual[z, 6.9e-68], t$95$1, If[LessEqual[z, 1.95e-30], N[Power[y, y], $MachinePrecision], If[LessEqual[z, 1.75e+158], t$95$1, t$95$0]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := e^{-z}\\
t_1 := {y}^{y} \cdot e^{x}\\
\mathbf{if}\;z \leq -250000000000:\\
\;\;\;\;t\_0\\
\mathbf{elif}\;z \leq 6.9 \cdot 10^{-68}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq 1.95 \cdot 10^{-30}:\\
\;\;\;\;{y}^{y}\\
\mathbf{elif}\;z \leq 1.75 \cdot 10^{+158}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;t\_0\\
\end{array}
\end{array}
if z < -2.5e11 or 1.7500000000000001e158 < z Initial program 100.0%
Taylor expanded in z around inf 89.1%
neg-mul-189.1%
Simplified89.1%
if -2.5e11 < z < 6.90000000000000031e-68 or 1.9500000000000002e-30 < z < 1.7500000000000001e158Initial program 100.0%
+-commutative100.0%
associate--l+100.0%
exp-sum81.9%
*-commutative81.9%
exp-to-pow81.9%
Simplified81.9%
Taylor expanded in z around 0 82.6%
*-commutative82.6%
Simplified82.6%
if 6.90000000000000031e-68 < z < 1.9500000000000002e-30Initial program 100.0%
Taylor expanded in x around 0 100.0%
Taylor expanded in z around 0 100.0%
(FPCore (x y z) :precision binary64 (if (or (<= x -8e+130) (not (<= x 3e+61))) (exp x) (exp (- (* y (log y)) z))))
double code(double x, double y, double z) {
double tmp;
if ((x <= -8e+130) || !(x <= 3e+61)) {
tmp = exp(x);
} else {
tmp = exp(((y * log(y)) - z));
}
return tmp;
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8) :: tmp
if ((x <= (-8d+130)) .or. (.not. (x <= 3d+61))) then
tmp = exp(x)
else
tmp = exp(((y * log(y)) - z))
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double tmp;
if ((x <= -8e+130) || !(x <= 3e+61)) {
tmp = Math.exp(x);
} else {
tmp = Math.exp(((y * Math.log(y)) - z));
}
return tmp;
}
def code(x, y, z): tmp = 0 if (x <= -8e+130) or not (x <= 3e+61): tmp = math.exp(x) else: tmp = math.exp(((y * math.log(y)) - z)) return tmp
function code(x, y, z) tmp = 0.0 if ((x <= -8e+130) || !(x <= 3e+61)) tmp = exp(x); else tmp = exp(Float64(Float64(y * log(y)) - z)); end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if ((x <= -8e+130) || ~((x <= 3e+61))) tmp = exp(x); else tmp = exp(((y * log(y)) - z)); end tmp_2 = tmp; end
code[x_, y_, z_] := If[Or[LessEqual[x, -8e+130], N[Not[LessEqual[x, 3e+61]], $MachinePrecision]], N[Exp[x], $MachinePrecision], N[Exp[N[(N[(y * N[Log[y], $MachinePrecision]), $MachinePrecision] - z), $MachinePrecision]], $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -8 \cdot 10^{+130} \lor \neg \left(x \leq 3 \cdot 10^{+61}\right):\\
\;\;\;\;e^{x}\\
\mathbf{else}:\\
\;\;\;\;e^{y \cdot \log y - z}\\
\end{array}
\end{array}
if x < -8.0000000000000005e130 or 3e61 < x Initial program 100.0%
Taylor expanded in x around inf 87.3%
if -8.0000000000000005e130 < x < 3e61Initial program 100.0%
Taylor expanded in x around 0 98.1%
Final simplification94.2%
(FPCore (x y z) :precision binary64 (if (or (<= x -7.2e+75) (not (<= x 1.42e+60))) (exp x) (/ (pow y y) (exp z))))
double code(double x, double y, double z) {
double tmp;
if ((x <= -7.2e+75) || !(x <= 1.42e+60)) {
tmp = exp(x);
} else {
tmp = pow(y, y) / exp(z);
}
return tmp;
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8) :: tmp
if ((x <= (-7.2d+75)) .or. (.not. (x <= 1.42d+60))) then
tmp = exp(x)
else
tmp = (y ** y) / exp(z)
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double tmp;
if ((x <= -7.2e+75) || !(x <= 1.42e+60)) {
tmp = Math.exp(x);
} else {
tmp = Math.pow(y, y) / Math.exp(z);
}
return tmp;
}
def code(x, y, z): tmp = 0 if (x <= -7.2e+75) or not (x <= 1.42e+60): tmp = math.exp(x) else: tmp = math.pow(y, y) / math.exp(z) return tmp
function code(x, y, z) tmp = 0.0 if ((x <= -7.2e+75) || !(x <= 1.42e+60)) tmp = exp(x); else tmp = Float64((y ^ y) / exp(z)); end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if ((x <= -7.2e+75) || ~((x <= 1.42e+60))) tmp = exp(x); else tmp = (y ^ y) / exp(z); end tmp_2 = tmp; end
code[x_, y_, z_] := If[Or[LessEqual[x, -7.2e+75], N[Not[LessEqual[x, 1.42e+60]], $MachinePrecision]], N[Exp[x], $MachinePrecision], N[(N[Power[y, y], $MachinePrecision] / N[Exp[z], $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -7.2 \cdot 10^{+75} \lor \neg \left(x \leq 1.42 \cdot 10^{+60}\right):\\
\;\;\;\;e^{x}\\
\mathbf{else}:\\
\;\;\;\;\frac{{y}^{y}}{e^{z}}\\
\end{array}
\end{array}
if x < -7.2e75 or 1.42000000000000001e60 < x Initial program 100.0%
Taylor expanded in x around inf 84.6%
if -7.2e75 < x < 1.42000000000000001e60Initial program 100.0%
+-commutative100.0%
associate--l+100.0%
exp-sum79.9%
*-commutative79.9%
exp-to-pow79.9%
Simplified79.9%
Taylor expanded in x around 0 81.8%
*-commutative81.8%
exp-to-pow81.8%
*-commutative81.8%
exp-sum98.7%
sub-neg98.7%
exp-diff81.8%
*-commutative81.8%
exp-to-pow81.8%
Simplified81.8%
Final simplification82.9%
(FPCore (x y z)
:precision binary64
(let* ((t_0 (exp (- z))))
(if (<= x -5.1e+130)
(exp x)
(if (<= x -2.2e-188)
t_0
(if (<= x 3.4e-268) (pow y y) (if (<= x 1.42e+60) t_0 (exp x)))))))
double code(double x, double y, double z) {
double t_0 = exp(-z);
double tmp;
if (x <= -5.1e+130) {
tmp = exp(x);
} else if (x <= -2.2e-188) {
tmp = t_0;
} else if (x <= 3.4e-268) {
tmp = pow(y, y);
} else if (x <= 1.42e+60) {
tmp = t_0;
} else {
tmp = exp(x);
}
return tmp;
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8) :: t_0
real(8) :: tmp
t_0 = exp(-z)
if (x <= (-5.1d+130)) then
tmp = exp(x)
else if (x <= (-2.2d-188)) then
tmp = t_0
else if (x <= 3.4d-268) then
tmp = y ** y
else if (x <= 1.42d+60) then
tmp = t_0
else
tmp = exp(x)
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double t_0 = Math.exp(-z);
double tmp;
if (x <= -5.1e+130) {
tmp = Math.exp(x);
} else if (x <= -2.2e-188) {
tmp = t_0;
} else if (x <= 3.4e-268) {
tmp = Math.pow(y, y);
} else if (x <= 1.42e+60) {
tmp = t_0;
} else {
tmp = Math.exp(x);
}
return tmp;
}
def code(x, y, z): t_0 = math.exp(-z) tmp = 0 if x <= -5.1e+130: tmp = math.exp(x) elif x <= -2.2e-188: tmp = t_0 elif x <= 3.4e-268: tmp = math.pow(y, y) elif x <= 1.42e+60: tmp = t_0 else: tmp = math.exp(x) return tmp
function code(x, y, z) t_0 = exp(Float64(-z)) tmp = 0.0 if (x <= -5.1e+130) tmp = exp(x); elseif (x <= -2.2e-188) tmp = t_0; elseif (x <= 3.4e-268) tmp = y ^ y; elseif (x <= 1.42e+60) tmp = t_0; else tmp = exp(x); end return tmp end
function tmp_2 = code(x, y, z) t_0 = exp(-z); tmp = 0.0; if (x <= -5.1e+130) tmp = exp(x); elseif (x <= -2.2e-188) tmp = t_0; elseif (x <= 3.4e-268) tmp = y ^ y; elseif (x <= 1.42e+60) tmp = t_0; else tmp = exp(x); end tmp_2 = tmp; end
code[x_, y_, z_] := Block[{t$95$0 = N[Exp[(-z)], $MachinePrecision]}, If[LessEqual[x, -5.1e+130], N[Exp[x], $MachinePrecision], If[LessEqual[x, -2.2e-188], t$95$0, If[LessEqual[x, 3.4e-268], N[Power[y, y], $MachinePrecision], If[LessEqual[x, 1.42e+60], t$95$0, N[Exp[x], $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := e^{-z}\\
\mathbf{if}\;x \leq -5.1 \cdot 10^{+130}:\\
\;\;\;\;e^{x}\\
\mathbf{elif}\;x \leq -2.2 \cdot 10^{-188}:\\
\;\;\;\;t\_0\\
\mathbf{elif}\;x \leq 3.4 \cdot 10^{-268}:\\
\;\;\;\;{y}^{y}\\
\mathbf{elif}\;x \leq 1.42 \cdot 10^{+60}:\\
\;\;\;\;t\_0\\
\mathbf{else}:\\
\;\;\;\;e^{x}\\
\end{array}
\end{array}
if x < -5.0999999999999996e130 or 1.42000000000000001e60 < x Initial program 100.0%
Taylor expanded in x around inf 87.3%
if -5.0999999999999996e130 < x < -2.2e-188 or 3.4e-268 < x < 1.42000000000000001e60Initial program 100.0%
Taylor expanded in z around inf 74.0%
neg-mul-174.0%
Simplified74.0%
if -2.2e-188 < x < 3.4e-268Initial program 100.0%
Taylor expanded in x around 0 100.0%
Taylor expanded in z around 0 85.1%
(FPCore (x y z) :precision binary64 (if (or (<= x -4.4e+130) (not (<= x 1.42e+60))) (exp x) (exp (- z))))
double code(double x, double y, double z) {
double tmp;
if ((x <= -4.4e+130) || !(x <= 1.42e+60)) {
tmp = exp(x);
} else {
tmp = exp(-z);
}
return tmp;
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8) :: tmp
if ((x <= (-4.4d+130)) .or. (.not. (x <= 1.42d+60))) then
tmp = exp(x)
else
tmp = exp(-z)
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double tmp;
if ((x <= -4.4e+130) || !(x <= 1.42e+60)) {
tmp = Math.exp(x);
} else {
tmp = Math.exp(-z);
}
return tmp;
}
def code(x, y, z): tmp = 0 if (x <= -4.4e+130) or not (x <= 1.42e+60): tmp = math.exp(x) else: tmp = math.exp(-z) return tmp
function code(x, y, z) tmp = 0.0 if ((x <= -4.4e+130) || !(x <= 1.42e+60)) tmp = exp(x); else tmp = exp(Float64(-z)); end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if ((x <= -4.4e+130) || ~((x <= 1.42e+60))) tmp = exp(x); else tmp = exp(-z); end tmp_2 = tmp; end
code[x_, y_, z_] := If[Or[LessEqual[x, -4.4e+130], N[Not[LessEqual[x, 1.42e+60]], $MachinePrecision]], N[Exp[x], $MachinePrecision], N[Exp[(-z)], $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -4.4 \cdot 10^{+130} \lor \neg \left(x \leq 1.42 \cdot 10^{+60}\right):\\
\;\;\;\;e^{x}\\
\mathbf{else}:\\
\;\;\;\;e^{-z}\\
\end{array}
\end{array}
if x < -4.39999999999999987e130 or 1.42000000000000001e60 < x Initial program 100.0%
Taylor expanded in x around inf 87.3%
if -4.39999999999999987e130 < x < 1.42000000000000001e60Initial program 100.0%
Taylor expanded in z around inf 68.2%
neg-mul-168.2%
Simplified68.2%
Final simplification75.2%
(FPCore (x y z) :precision binary64 (exp x))
double code(double x, double y, double z) {
return exp(x);
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = exp(x)
end function
public static double code(double x, double y, double z) {
return Math.exp(x);
}
def code(x, y, z): return math.exp(x)
function code(x, y, z) return exp(x) end
function tmp = code(x, y, z) tmp = exp(x); end
code[x_, y_, z_] := N[Exp[x], $MachinePrecision]
\begin{array}{l}
\\
e^{x}
\end{array}
Initial program 100.0%
Taylor expanded in x around inf 49.0%
(FPCore (x y z) :precision binary64 (exp (+ (- x z) (* (log y) y))))
double code(double x, double y, double z) {
return exp(((x - z) + (log(y) * y)));
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = exp(((x - z) + (log(y) * y)))
end function
public static double code(double x, double y, double z) {
return Math.exp(((x - z) + (Math.log(y) * y)));
}
def code(x, y, z): return math.exp(((x - z) + (math.log(y) * y)))
function code(x, y, z) return exp(Float64(Float64(x - z) + Float64(log(y) * y))) end
function tmp = code(x, y, z) tmp = exp(((x - z) + (log(y) * y))); end
code[x_, y_, z_] := N[Exp[N[(N[(x - z), $MachinePrecision] + N[(N[Log[y], $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]
\begin{array}{l}
\\
e^{\left(x - z\right) + \log y \cdot y}
\end{array}
herbie shell --seed 2024086
(FPCore (x y z)
:name "Statistics.Distribution.Poisson.Internal:probability from math-functions-0.1.5.2"
:precision binary64
:alt
(exp (+ (- x z) (* (log y) y)))
(exp (- (+ x (* y (log y))) z)))