
(FPCore (x y z t) :precision binary64 (- (+ (* x (log y)) (* z (log (- 1.0 y)))) t))
double code(double x, double y, double z, double t) {
return ((x * log(y)) + (z * log((1.0 - y)))) - 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)) + (z * log((1.0d0 - y)))) - t
end function
public static double code(double x, double y, double z, double t) {
return ((x * Math.log(y)) + (z * Math.log((1.0 - y)))) - t;
}
def code(x, y, z, t): return ((x * math.log(y)) + (z * math.log((1.0 - y)))) - t
function code(x, y, z, t) return Float64(Float64(Float64(x * log(y)) + Float64(z * log(Float64(1.0 - y)))) - t) end
function tmp = code(x, y, z, t) tmp = ((x * log(y)) + (z * log((1.0 - y)))) - t; end
code[x_, y_, z_, t_] := N[(N[(N[(x * N[Log[y], $MachinePrecision]), $MachinePrecision] + N[(z * N[Log[N[(1.0 - y), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - t), $MachinePrecision]
\begin{array}{l}
\\
\left(x \cdot \log y + z \cdot \log \left(1 - y\right)\right) - t
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 9 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t) :precision binary64 (- (+ (* x (log y)) (* z (log (- 1.0 y)))) t))
double code(double x, double y, double z, double t) {
return ((x * log(y)) + (z * log((1.0 - y)))) - 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)) + (z * log((1.0d0 - y)))) - t
end function
public static double code(double x, double y, double z, double t) {
return ((x * Math.log(y)) + (z * Math.log((1.0 - y)))) - t;
}
def code(x, y, z, t): return ((x * math.log(y)) + (z * math.log((1.0 - y)))) - t
function code(x, y, z, t) return Float64(Float64(Float64(x * log(y)) + Float64(z * log(Float64(1.0 - y)))) - t) end
function tmp = code(x, y, z, t) tmp = ((x * log(y)) + (z * log((1.0 - y)))) - t; end
code[x_, y_, z_, t_] := N[(N[(N[(x * N[Log[y], $MachinePrecision]), $MachinePrecision] + N[(z * N[Log[N[(1.0 - y), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - t), $MachinePrecision]
\begin{array}{l}
\\
\left(x \cdot \log y + z \cdot \log \left(1 - y\right)\right) - t
\end{array}
(FPCore (x y z t) :precision binary64 (fma x (log y) (- (* z (log1p (- y))) t)))
double code(double x, double y, double z, double t) {
return fma(x, log(y), ((z * log1p(-y)) - t));
}
function code(x, y, z, t) return fma(x, log(y), Float64(Float64(z * log1p(Float64(-y))) - t)) end
code[x_, y_, z_, t_] := N[(x * N[Log[y], $MachinePrecision] + N[(N[(z * N[Log[1 + (-y)], $MachinePrecision]), $MachinePrecision] - t), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\mathsf{fma}\left(x, \log y, z \cdot \mathsf{log1p}\left(-y\right) - t\right)
\end{array}
Initial program 85.9%
associate--l+85.9%
fma-define85.9%
sub-neg85.9%
log1p-define99.8%
Simplified99.8%
Final simplification99.8%
(FPCore (x y z t) :precision binary64 (- (+ (* x (log y)) (* z (- (* -0.5 (pow y 2.0)) y))) t))
double code(double x, double y, double z, double t) {
return ((x * log(y)) + (z * ((-0.5 * pow(y, 2.0)) - y))) - 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)) + (z * (((-0.5d0) * (y ** 2.0d0)) - y))) - t
end function
public static double code(double x, double y, double z, double t) {
return ((x * Math.log(y)) + (z * ((-0.5 * Math.pow(y, 2.0)) - y))) - t;
}
def code(x, y, z, t): return ((x * math.log(y)) + (z * ((-0.5 * math.pow(y, 2.0)) - y))) - t
function code(x, y, z, t) return Float64(Float64(Float64(x * log(y)) + Float64(z * Float64(Float64(-0.5 * (y ^ 2.0)) - y))) - t) end
function tmp = code(x, y, z, t) tmp = ((x * log(y)) + (z * ((-0.5 * (y ^ 2.0)) - y))) - t; end
code[x_, y_, z_, t_] := N[(N[(N[(x * N[Log[y], $MachinePrecision]), $MachinePrecision] + N[(z * N[(N[(-0.5 * N[Power[y, 2.0], $MachinePrecision]), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - t), $MachinePrecision]
\begin{array}{l}
\\
\left(x \cdot \log y + z \cdot \left(-0.5 \cdot {y}^{2} - y\right)\right) - t
\end{array}
Initial program 85.9%
Taylor expanded in y around 0 99.7%
+-commutative99.7%
mul-1-neg99.7%
unsub-neg99.7%
Simplified99.7%
Final simplification99.7%
(FPCore (x y z t) :precision binary64 (let* ((t_1 (* x (log y)))) (if (or (<= t -2.4e-81) (not (<= t 1e-25))) (- t_1 t) (- t_1 (* y z)))))
double code(double x, double y, double z, double t) {
double t_1 = x * log(y);
double tmp;
if ((t <= -2.4e-81) || !(t <= 1e-25)) {
tmp = t_1 - t;
} else {
tmp = t_1 - (y * 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) :: tmp
t_1 = x * log(y)
if ((t <= (-2.4d-81)) .or. (.not. (t <= 1d-25))) then
tmp = t_1 - t
else
tmp = t_1 - (y * 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 tmp;
if ((t <= -2.4e-81) || !(t <= 1e-25)) {
tmp = t_1 - t;
} else {
tmp = t_1 - (y * z);
}
return tmp;
}
def code(x, y, z, t): t_1 = x * math.log(y) tmp = 0 if (t <= -2.4e-81) or not (t <= 1e-25): tmp = t_1 - t else: tmp = t_1 - (y * z) return tmp
function code(x, y, z, t) t_1 = Float64(x * log(y)) tmp = 0.0 if ((t <= -2.4e-81) || !(t <= 1e-25)) tmp = Float64(t_1 - t); else tmp = Float64(t_1 - Float64(y * z)); end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = x * log(y); tmp = 0.0; if ((t <= -2.4e-81) || ~((t <= 1e-25))) tmp = t_1 - t; else tmp = t_1 - (y * z); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(x * N[Log[y], $MachinePrecision]), $MachinePrecision]}, If[Or[LessEqual[t, -2.4e-81], N[Not[LessEqual[t, 1e-25]], $MachinePrecision]], N[(t$95$1 - t), $MachinePrecision], N[(t$95$1 - N[(y * z), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \log y\\
\mathbf{if}\;t \leq -2.4 \cdot 10^{-81} \lor \neg \left(t \leq 10^{-25}\right):\\
\;\;\;\;t\_1 - t\\
\mathbf{else}:\\
\;\;\;\;t\_1 - y \cdot z\\
\end{array}
\end{array}
if t < -2.3999999999999999e-81 or 1.00000000000000004e-25 < t Initial program 93.8%
Taylor expanded in y around 0 92.9%
if -2.3999999999999999e-81 < t < 1.00000000000000004e-25Initial program 69.4%
Taylor expanded in y around 0 99.8%
+-commutative99.8%
mul-1-neg99.8%
unsub-neg99.8%
Simplified99.8%
Taylor expanded in t around 0 97.4%
*-commutative97.4%
Simplified97.4%
Final simplification94.4%
(FPCore (x y z t) :precision binary64 (if (or (<= x -3.1e-47) (not (<= x 3.1e+37))) (- (* x (log y)) t) (- (* y (- z)) t)))
double code(double x, double y, double z, double t) {
double tmp;
if ((x <= -3.1e-47) || !(x <= 3.1e+37)) {
tmp = (x * log(y)) - t;
} else {
tmp = (y * -z) - t;
}
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 ((x <= (-3.1d-47)) .or. (.not. (x <= 3.1d+37))) then
tmp = (x * log(y)) - t
else
tmp = (y * -z) - t
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if ((x <= -3.1e-47) || !(x <= 3.1e+37)) {
tmp = (x * Math.log(y)) - t;
} else {
tmp = (y * -z) - t;
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if (x <= -3.1e-47) or not (x <= 3.1e+37): tmp = (x * math.log(y)) - t else: tmp = (y * -z) - t return tmp
function code(x, y, z, t) tmp = 0.0 if ((x <= -3.1e-47) || !(x <= 3.1e+37)) tmp = Float64(Float64(x * log(y)) - t); else tmp = Float64(Float64(y * Float64(-z)) - t); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if ((x <= -3.1e-47) || ~((x <= 3.1e+37))) tmp = (x * log(y)) - t; else tmp = (y * -z) - t; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[Or[LessEqual[x, -3.1e-47], N[Not[LessEqual[x, 3.1e+37]], $MachinePrecision]], N[(N[(x * N[Log[y], $MachinePrecision]), $MachinePrecision] - t), $MachinePrecision], N[(N[(y * (-z)), $MachinePrecision] - t), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -3.1 \cdot 10^{-47} \lor \neg \left(x \leq 3.1 \cdot 10^{+37}\right):\\
\;\;\;\;x \cdot \log y - t\\
\mathbf{else}:\\
\;\;\;\;y \cdot \left(-z\right) - t\\
\end{array}
\end{array}
if x < -3.0999999999999998e-47 or 3.1000000000000002e37 < x Initial program 93.5%
Taylor expanded in y around 0 93.1%
if -3.0999999999999998e-47 < x < 3.1000000000000002e37Initial program 78.4%
Taylor expanded in y around 0 99.6%
+-commutative99.6%
mul-1-neg99.6%
unsub-neg99.6%
Simplified99.6%
log1p-expm1-u92.8%
expm1-undefine84.6%
*-commutative84.6%
exp-to-pow84.6%
Applied egg-rr84.6%
Taylor expanded in y around inf 90.9%
associate-*r*90.9%
neg-mul-190.9%
*-commutative90.9%
Simplified90.9%
Final simplification92.0%
(FPCore (x y z t) :precision binary64 (if (or (<= x -4.5e+36) (not (<= x 2.2e+66))) (* x (log y)) (- (* y (- z)) t)))
double code(double x, double y, double z, double t) {
double tmp;
if ((x <= -4.5e+36) || !(x <= 2.2e+66)) {
tmp = x * log(y);
} else {
tmp = (y * -z) - t;
}
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 ((x <= (-4.5d+36)) .or. (.not. (x <= 2.2d+66))) then
tmp = x * log(y)
else
tmp = (y * -z) - t
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if ((x <= -4.5e+36) || !(x <= 2.2e+66)) {
tmp = x * Math.log(y);
} else {
tmp = (y * -z) - t;
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if (x <= -4.5e+36) or not (x <= 2.2e+66): tmp = x * math.log(y) else: tmp = (y * -z) - t return tmp
function code(x, y, z, t) tmp = 0.0 if ((x <= -4.5e+36) || !(x <= 2.2e+66)) tmp = Float64(x * log(y)); else tmp = Float64(Float64(y * Float64(-z)) - t); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if ((x <= -4.5e+36) || ~((x <= 2.2e+66))) tmp = x * log(y); else tmp = (y * -z) - t; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[Or[LessEqual[x, -4.5e+36], N[Not[LessEqual[x, 2.2e+66]], $MachinePrecision]], N[(x * N[Log[y], $MachinePrecision]), $MachinePrecision], N[(N[(y * (-z)), $MachinePrecision] - t), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -4.5 \cdot 10^{+36} \lor \neg \left(x \leq 2.2 \cdot 10^{+66}\right):\\
\;\;\;\;x \cdot \log y\\
\mathbf{else}:\\
\;\;\;\;y \cdot \left(-z\right) - t\\
\end{array}
\end{array}
if x < -4.49999999999999997e36 or 2.1999999999999998e66 < x Initial program 95.0%
Taylor expanded in y around 0 99.6%
+-commutative99.6%
mul-1-neg99.6%
unsub-neg99.6%
Simplified99.6%
Taylor expanded in x around inf 83.5%
if -4.49999999999999997e36 < x < 2.1999999999999998e66Initial program 79.6%
Taylor expanded in y around 0 99.6%
+-commutative99.6%
mul-1-neg99.6%
unsub-neg99.6%
Simplified99.6%
log1p-expm1-u88.0%
expm1-undefine77.6%
*-commutative77.6%
exp-to-pow77.6%
Applied egg-rr77.6%
Taylor expanded in y around inf 86.5%
associate-*r*86.5%
neg-mul-186.5%
*-commutative86.5%
Simplified86.5%
Final simplification85.3%
(FPCore (x y z t) :precision binary64 (- (- (* x (log y)) (* y z)) t))
double code(double x, double y, double z, double t) {
return ((x * log(y)) - (y * z)) - 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)) - t
end function
public static double code(double x, double y, double z, double t) {
return ((x * Math.log(y)) - (y * z)) - t;
}
def code(x, y, z, t): return ((x * math.log(y)) - (y * z)) - t
function code(x, y, z, t) return Float64(Float64(Float64(x * log(y)) - Float64(y * z)) - t) end
function tmp = code(x, y, z, t) tmp = ((x * log(y)) - (y * z)) - t; end
code[x_, y_, z_, t_] := N[(N[(N[(x * N[Log[y], $MachinePrecision]), $MachinePrecision] - N[(y * z), $MachinePrecision]), $MachinePrecision] - t), $MachinePrecision]
\begin{array}{l}
\\
\left(x \cdot \log y - y \cdot z\right) - t
\end{array}
Initial program 85.9%
Taylor expanded in y around 0 99.5%
+-commutative99.5%
mul-1-neg99.5%
unsub-neg99.5%
Simplified99.5%
Final simplification99.5%
(FPCore (x y z t) :precision binary64 (if (or (<= t -4.8e-81) (not (<= t 2.15e-11))) (- t) (* y (- z))))
double code(double x, double y, double z, double t) {
double tmp;
if ((t <= -4.8e-81) || !(t <= 2.15e-11)) {
tmp = -t;
} else {
tmp = y * -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 ((t <= (-4.8d-81)) .or. (.not. (t <= 2.15d-11))) then
tmp = -t
else
tmp = y * -z
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if ((t <= -4.8e-81) || !(t <= 2.15e-11)) {
tmp = -t;
} else {
tmp = y * -z;
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if (t <= -4.8e-81) or not (t <= 2.15e-11): tmp = -t else: tmp = y * -z return tmp
function code(x, y, z, t) tmp = 0.0 if ((t <= -4.8e-81) || !(t <= 2.15e-11)) tmp = Float64(-t); else tmp = Float64(y * Float64(-z)); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if ((t <= -4.8e-81) || ~((t <= 2.15e-11))) tmp = -t; else tmp = y * -z; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[Or[LessEqual[t, -4.8e-81], N[Not[LessEqual[t, 2.15e-11]], $MachinePrecision]], (-t), N[(y * (-z)), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -4.8 \cdot 10^{-81} \lor \neg \left(t \leq 2.15 \cdot 10^{-11}\right):\\
\;\;\;\;-t\\
\mathbf{else}:\\
\;\;\;\;y \cdot \left(-z\right)\\
\end{array}
\end{array}
if t < -4.7999999999999998e-81 or 2.15000000000000001e-11 < t Initial program 93.7%
Taylor expanded in t around inf 63.3%
neg-mul-163.3%
Simplified63.3%
if -4.7999999999999998e-81 < t < 2.15000000000000001e-11Initial program 70.4%
Taylor expanded in y around 0 99.7%
+-commutative99.7%
mul-1-neg99.7%
unsub-neg99.7%
Simplified99.7%
flip--61.7%
div-inv61.5%
difference-of-squares61.5%
add-sqr-sqrt29.2%
sqrt-unprod61.5%
sqr-neg61.5%
sqrt-unprod32.3%
add-sqr-sqrt59.2%
sub-neg59.2%
pow259.2%
associate--l-59.2%
fma-define59.2%
add-sqr-sqrt27.0%
sqrt-unprod59.2%
sqr-neg59.2%
Applied egg-rr61.5%
Taylor expanded in y around inf 31.0%
Final simplification52.5%
(FPCore (x y z t) :precision binary64 (- (* y (- z)) t))
double code(double x, double y, double z, double t) {
return (y * -z) - 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 = (y * -z) - t
end function
public static double code(double x, double y, double z, double t) {
return (y * -z) - t;
}
def code(x, y, z, t): return (y * -z) - t
function code(x, y, z, t) return Float64(Float64(y * Float64(-z)) - t) end
function tmp = code(x, y, z, t) tmp = (y * -z) - t; end
code[x_, y_, z_, t_] := N[(N[(y * (-z)), $MachinePrecision] - t), $MachinePrecision]
\begin{array}{l}
\\
y \cdot \left(-z\right) - t
\end{array}
Initial program 85.9%
Taylor expanded in y around 0 99.5%
+-commutative99.5%
mul-1-neg99.5%
unsub-neg99.5%
Simplified99.5%
log1p-expm1-u55.0%
expm1-undefine48.8%
*-commutative48.8%
exp-to-pow48.8%
Applied egg-rr48.8%
Taylor expanded in y around inf 57.6%
associate-*r*57.6%
neg-mul-157.6%
*-commutative57.6%
Simplified57.6%
Final simplification57.6%
(FPCore (x y z t) :precision binary64 (- t))
double code(double x, double y, double z, double t) {
return -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 = -t
end function
public static double code(double x, double y, double z, double t) {
return -t;
}
def code(x, y, z, t): return -t
function code(x, y, z, t) return Float64(-t) end
function tmp = code(x, y, z, t) tmp = -t; end
code[x_, y_, z_, t_] := (-t)
\begin{array}{l}
\\
-t
\end{array}
Initial program 85.9%
Taylor expanded in t around inf 43.8%
neg-mul-143.8%
Simplified43.8%
Final simplification43.8%
(FPCore (x y z t)
:precision binary64
(-
(*
(- z)
(+
(+ (* 0.5 (* y y)) y)
(* (/ 0.3333333333333333 (* 1.0 (* 1.0 1.0))) (* y (* y y)))))
(- t (* x (log y)))))
double code(double x, double y, double z, double t) {
return (-z * (((0.5 * (y * y)) + y) + ((0.3333333333333333 / (1.0 * (1.0 * 1.0))) * (y * (y * y))))) - (t - (x * log(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 = (-z * (((0.5d0 * (y * y)) + y) + ((0.3333333333333333d0 / (1.0d0 * (1.0d0 * 1.0d0))) * (y * (y * y))))) - (t - (x * log(y)))
end function
public static double code(double x, double y, double z, double t) {
return (-z * (((0.5 * (y * y)) + y) + ((0.3333333333333333 / (1.0 * (1.0 * 1.0))) * (y * (y * y))))) - (t - (x * Math.log(y)));
}
def code(x, y, z, t): return (-z * (((0.5 * (y * y)) + y) + ((0.3333333333333333 / (1.0 * (1.0 * 1.0))) * (y * (y * y))))) - (t - (x * math.log(y)))
function code(x, y, z, t) return Float64(Float64(Float64(-z) * Float64(Float64(Float64(0.5 * Float64(y * y)) + y) + Float64(Float64(0.3333333333333333 / Float64(1.0 * Float64(1.0 * 1.0))) * Float64(y * Float64(y * y))))) - Float64(t - Float64(x * log(y)))) end
function tmp = code(x, y, z, t) tmp = (-z * (((0.5 * (y * y)) + y) + ((0.3333333333333333 / (1.0 * (1.0 * 1.0))) * (y * (y * y))))) - (t - (x * log(y))); end
code[x_, y_, z_, t_] := N[(N[((-z) * N[(N[(N[(0.5 * N[(y * y), $MachinePrecision]), $MachinePrecision] + y), $MachinePrecision] + N[(N[(0.3333333333333333 / N[(1.0 * N[(1.0 * 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * N[(y * N[(y * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(t - N[(x * N[Log[y], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(-z\right) \cdot \left(\left(0.5 \cdot \left(y \cdot y\right) + y\right) + \frac{0.3333333333333333}{1 \cdot \left(1 \cdot 1\right)} \cdot \left(y \cdot \left(y \cdot y\right)\right)\right) - \left(t - x \cdot \log y\right)
\end{array}
herbie shell --seed 2024046
(FPCore (x y z t)
:name "Numeric.SpecFunctions:invIncompleteBetaWorker from math-functions-0.1.5.2, B"
:precision binary64
:alt
(- (* (- z) (+ (+ (* 0.5 (* y y)) y) (* (/ 0.3333333333333333 (* 1.0 (* 1.0 1.0))) (* y (* y y))))) (- t (* x (log y))))
(- (+ (* x (log y)) (* z (log (- 1.0 y)))) t))