\[\left(\left(x - 1\right) \cdot \log y + \left(z - 1\right) \cdot \log \left(1 - y\right)\right) - t
\]
↓
\[\begin{array}{l}
t_1 := \log y \cdot x - t\\
\mathbf{if}\;x + -1 \leq -2 \cdot 10^{+142}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x + -1 \leq 10^{+135}:\\
\;\;\;\;\left(y \cdot \left(\left(-1 + z\right) \cdot \left(-1 + y \cdot -0.5\right)\right) + \frac{\log y \cdot \mathsf{fma}\left(x, x, -1\right)}{1 - x \cdot x} \cdot \left(1 - x\right)\right) - t\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\]
(FPCore (x y z t)
:precision binary64
(- (+ (* (- x 1.0) (log y)) (* (- z 1.0) (log (- 1.0 y)))) t))
↓
(FPCore (x y z t)
:precision binary64
(let* ((t_1 (- (* (log y) x) t)))
(if (<= (+ x -1.0) -2e+142)
t_1
(if (<= (+ x -1.0) 1e+135)
(-
(+
(* y (* (+ -1.0 z) (+ -1.0 (* y -0.5))))
(* (/ (* (log y) (fma x x -1.0)) (- 1.0 (* x x))) (- 1.0 x)))
t)
t_1))))double code(double x, double y, double z, double t) {
return (((x - 1.0) * log(y)) + ((z - 1.0) * log((1.0 - y)))) - t;
}
↓
double code(double x, double y, double z, double t) {
double t_1 = (log(y) * x) - t;
double tmp;
if ((x + -1.0) <= -2e+142) {
tmp = t_1;
} else if ((x + -1.0) <= 1e+135) {
tmp = ((y * ((-1.0 + z) * (-1.0 + (y * -0.5)))) + (((log(y) * fma(x, x, -1.0)) / (1.0 - (x * x))) * (1.0 - x))) - t;
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t)
return Float64(Float64(Float64(Float64(x - 1.0) * log(y)) + Float64(Float64(z - 1.0) * log(Float64(1.0 - y)))) - t)
end
↓
function code(x, y, z, t)
t_1 = Float64(Float64(log(y) * x) - t)
tmp = 0.0
if (Float64(x + -1.0) <= -2e+142)
tmp = t_1;
elseif (Float64(x + -1.0) <= 1e+135)
tmp = Float64(Float64(Float64(y * Float64(Float64(-1.0 + z) * Float64(-1.0 + Float64(y * -0.5)))) + Float64(Float64(Float64(log(y) * fma(x, x, -1.0)) / Float64(1.0 - Float64(x * x))) * Float64(1.0 - x))) - t);
else
tmp = t_1;
end
return tmp
end
code[x_, y_, z_, t_] := N[(N[(N[(N[(x - 1.0), $MachinePrecision] * N[Log[y], $MachinePrecision]), $MachinePrecision] + N[(N[(z - 1.0), $MachinePrecision] * N[Log[N[(1.0 - y), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - t), $MachinePrecision]
↓
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(N[(N[Log[y], $MachinePrecision] * x), $MachinePrecision] - t), $MachinePrecision]}, If[LessEqual[N[(x + -1.0), $MachinePrecision], -2e+142], t$95$1, If[LessEqual[N[(x + -1.0), $MachinePrecision], 1e+135], N[(N[(N[(y * N[(N[(-1.0 + z), $MachinePrecision] * N[(-1.0 + N[(y * -0.5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(N[Log[y], $MachinePrecision] * N[(x * x + -1.0), $MachinePrecision]), $MachinePrecision] / N[(1.0 - N[(x * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * N[(1.0 - x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - t), $MachinePrecision], t$95$1]]]
\left(\left(x - 1\right) \cdot \log y + \left(z - 1\right) \cdot \log \left(1 - y\right)\right) - t
↓
\begin{array}{l}
t_1 := \log y \cdot x - t\\
\mathbf{if}\;x + -1 \leq -2 \cdot 10^{+142}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x + -1 \leq 10^{+135}:\\
\;\;\;\;\left(y \cdot \left(\left(-1 + z\right) \cdot \left(-1 + y \cdot -0.5\right)\right) + \frac{\log y \cdot \mathsf{fma}\left(x, x, -1\right)}{1 - x \cdot x} \cdot \left(1 - x\right)\right) - t\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}