\[\left(\left(e^{x}\right) \bmod \left(\sqrt{\cos x}\right)\right) \cdot e^{-x}
\]
↓
\[\begin{array}{l}
t_0 := e^{-x}\\
t_1 := \left(\left(e^{x}\right) \bmod \left(\sqrt{\cos x}\right)\right) \cdot t_0\\
\mathbf{if}\;t_1 \leq 0 \lor \neg \left(t_1 \leq 2\right):\\
\;\;\;\;t_0\\
\mathbf{else}:\\
\;\;\;\;\frac{\left(\left(e^{x}\right) \bmod \left({\left({\cos x}^{0.25}\right)}^{2}\right)\right)}{e^{x}}\\
\end{array}
\]
(FPCore (x) :precision binary64 (* (fmod (exp x) (sqrt (cos x))) (exp (- x))))
↓
(FPCore (x)
:precision binary64
(let* ((t_0 (exp (- x))) (t_1 (* (fmod (exp x) (sqrt (cos x))) t_0)))
(if (or (<= t_1 0.0) (not (<= t_1 2.0)))
t_0
(/ (fmod (exp x) (pow (pow (cos x) 0.25) 2.0)) (exp x)))))double code(double x) {
return fmod(exp(x), sqrt(cos(x))) * exp(-x);
}
↓
double code(double x) {
double t_0 = exp(-x);
double t_1 = fmod(exp(x), sqrt(cos(x))) * t_0;
double tmp;
if ((t_1 <= 0.0) || !(t_1 <= 2.0)) {
tmp = t_0;
} else {
tmp = fmod(exp(x), pow(pow(cos(x), 0.25), 2.0)) / exp(x);
}
return tmp;
}
real(8) function code(x)
real(8), intent (in) :: x
code = mod(exp(x), sqrt(cos(x))) * exp(-x)
end function
↓
real(8) function code(x)
real(8), intent (in) :: x
real(8) :: t_0
real(8) :: t_1
real(8) :: tmp
t_0 = exp(-x)
t_1 = mod(exp(x), sqrt(cos(x))) * t_0
if ((t_1 <= 0.0d0) .or. (.not. (t_1 <= 2.0d0))) then
tmp = t_0
else
tmp = mod(exp(x), ((cos(x) ** 0.25d0) ** 2.0d0)) / exp(x)
end if
code = tmp
end function
def code(x):
return math.fmod(math.exp(x), math.sqrt(math.cos(x))) * math.exp(-x)
↓
def code(x):
t_0 = math.exp(-x)
t_1 = math.fmod(math.exp(x), math.sqrt(math.cos(x))) * t_0
tmp = 0
if (t_1 <= 0.0) or not (t_1 <= 2.0):
tmp = t_0
else:
tmp = math.fmod(math.exp(x), math.pow(math.pow(math.cos(x), 0.25), 2.0)) / math.exp(x)
return tmp
function code(x)
return Float64(rem(exp(x), sqrt(cos(x))) * exp(Float64(-x)))
end
↓
function code(x)
t_0 = exp(Float64(-x))
t_1 = Float64(rem(exp(x), sqrt(cos(x))) * t_0)
tmp = 0.0
if ((t_1 <= 0.0) || !(t_1 <= 2.0))
tmp = t_0;
else
tmp = Float64(rem(exp(x), ((cos(x) ^ 0.25) ^ 2.0)) / exp(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[Exp[(-x)], $MachinePrecision]}, Block[{t$95$1 = N[(N[With[{TMP1 = N[Exp[x], $MachinePrecision], TMP2 = N[Sqrt[N[Cos[x], $MachinePrecision]], $MachinePrecision]}, Mod[Abs[TMP1], Abs[TMP2]] * Sign[TMP1]], $MachinePrecision] * t$95$0), $MachinePrecision]}, If[Or[LessEqual[t$95$1, 0.0], N[Not[LessEqual[t$95$1, 2.0]], $MachinePrecision]], t$95$0, N[(N[With[{TMP1 = N[Exp[x], $MachinePrecision], TMP2 = N[Power[N[Power[N[Cos[x], $MachinePrecision], 0.25], $MachinePrecision], 2.0], $MachinePrecision]}, Mod[Abs[TMP1], Abs[TMP2]] * Sign[TMP1]], $MachinePrecision] / N[Exp[x], $MachinePrecision]), $MachinePrecision]]]]
\left(\left(e^{x}\right) \bmod \left(\sqrt{\cos x}\right)\right) \cdot e^{-x}
↓
\begin{array}{l}
t_0 := e^{-x}\\
t_1 := \left(\left(e^{x}\right) \bmod \left(\sqrt{\cos x}\right)\right) \cdot t_0\\
\mathbf{if}\;t_1 \leq 0 \lor \neg \left(t_1 \leq 2\right):\\
\;\;\;\;t_0\\
\mathbf{else}:\\
\;\;\;\;\frac{\left(\left(e^{x}\right) \bmod \left({\left({\cos x}^{0.25}\right)}^{2}\right)\right)}{e^{x}}\\
\end{array}