\[\left(\left(e^{x}\right) \bmod \left(\sqrt{\cos x}\right)\right) \cdot e^{-x}
\]
↓
\[\begin{array}{l}
t_0 := \log \left(\left(e^{x}\right) \bmod \left(\sqrt{\cos x}\right)\right)\\
\mathbf{if}\;x \leq 0.002:\\
\;\;\;\;{\left(e^{{\left(\sqrt[3]{{t_0}^{2} - x \cdot x}\right)}^{3}}\right)}^{\left(\frac{1}{x + t_0}\right)}\\
\mathbf{else}:\\
\;\;\;\;e^{-x}\\
\end{array}
\]
(FPCore (x) :precision binary64 (* (fmod (exp x) (sqrt (cos x))) (exp (- x))))
↓
(FPCore (x)
:precision binary64
(let* ((t_0 (log (fmod (exp x) (sqrt (cos x))))))
(if (<= x 0.002)
(pow (exp (pow (cbrt (- (pow t_0 2.0) (* x x))) 3.0)) (/ 1.0 (+ x t_0)))
(exp (- x)))))double code(double x) {
return fmod(exp(x), sqrt(cos(x))) * exp(-x);
}
↓
double code(double x) {
double t_0 = log(fmod(exp(x), sqrt(cos(x))));
double tmp;
if (x <= 0.002) {
tmp = pow(exp(pow(cbrt((pow(t_0, 2.0) - (x * x))), 3.0)), (1.0 / (x + t_0)));
} else {
tmp = exp(-x);
}
return tmp;
}
function code(x)
return Float64(rem(exp(x), sqrt(cos(x))) * exp(Float64(-x)))
end
↓
function code(x)
t_0 = log(rem(exp(x), sqrt(cos(x))))
tmp = 0.0
if (x <= 0.002)
tmp = exp((cbrt(Float64((t_0 ^ 2.0) - Float64(x * x))) ^ 3.0)) ^ Float64(1.0 / Float64(x + t_0));
else
tmp = exp(Float64(-x));
end
return tmp
end
code[x_] := N[(N[With[{TMP1 = N[Exp[x], $MachinePrecision], TMP2 = N[Sqrt[N[Cos[x], $MachinePrecision]], $MachinePrecision]}, Mod[Abs[TMP1], Abs[TMP2]] * Sign[TMP1]], $MachinePrecision] * N[Exp[(-x)], $MachinePrecision]), $MachinePrecision]
↓
code[x_] := Block[{t$95$0 = N[Log[N[With[{TMP1 = N[Exp[x], $MachinePrecision], TMP2 = N[Sqrt[N[Cos[x], $MachinePrecision]], $MachinePrecision]}, Mod[Abs[TMP1], Abs[TMP2]] * Sign[TMP1]], $MachinePrecision]], $MachinePrecision]}, If[LessEqual[x, 0.002], N[Power[N[Exp[N[Power[N[Power[N[(N[Power[t$95$0, 2.0], $MachinePrecision] - N[(x * x), $MachinePrecision]), $MachinePrecision], 1/3], $MachinePrecision], 3.0], $MachinePrecision]], $MachinePrecision], N[(1.0 / N[(x + t$95$0), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[Exp[(-x)], $MachinePrecision]]]
\left(\left(e^{x}\right) \bmod \left(\sqrt{\cos x}\right)\right) \cdot e^{-x}
↓
\begin{array}{l}
t_0 := \log \left(\left(e^{x}\right) \bmod \left(\sqrt{\cos x}\right)\right)\\
\mathbf{if}\;x \leq 0.002:\\
\;\;\;\;{\left(e^{{\left(\sqrt[3]{{t_0}^{2} - x \cdot x}\right)}^{3}}\right)}^{\left(\frac{1}{x + t_0}\right)}\\
\mathbf{else}:\\
\;\;\;\;e^{-x}\\
\end{array}