\[\left(0.5 \cdot \sin re\right) \cdot \left(e^{0 - im} + e^{im}\right)
\]
↓
\[\begin{array}{l}
t_0 := e^{-im}\\
\left(0.5 \cdot \sin re\right) \cdot \frac{{t_0}^{3} + {\left(e^{im}\right)}^{3}}{t_0 \cdot t_0 + \left(e^{im} \cdot e^{im} - t_0 \cdot e^{im}\right)}
\end{array}
\]
(FPCore (re im)
:precision binary64
(* (* 0.5 (sin re)) (+ (exp (- 0.0 im)) (exp im))))
↓
(FPCore (re im)
:precision binary64
(let* ((t_0 (exp (- im))))
(*
(* 0.5 (sin re))
(/
(+ (pow t_0 3.0) (pow (exp im) 3.0))
(+ (* t_0 t_0) (- (* (exp im) (exp im)) (* t_0 (exp im))))))))double code(double re, double im) {
return (0.5 * sin(re)) * (exp((0.0 - im)) + exp(im));
}
↓
double code(double re, double im) {
double t_0 = exp(-im);
return (0.5 * sin(re)) * ((pow(t_0, 3.0) + pow(exp(im), 3.0)) / ((t_0 * t_0) + ((exp(im) * exp(im)) - (t_0 * exp(im)))));
}
real(8) function code(re, im)
real(8), intent (in) :: re
real(8), intent (in) :: im
code = (0.5d0 * sin(re)) * (exp((0.0d0 - im)) + exp(im))
end function
↓
real(8) function code(re, im)
real(8), intent (in) :: re
real(8), intent (in) :: im
real(8) :: t_0
t_0 = exp(-im)
code = (0.5d0 * sin(re)) * (((t_0 ** 3.0d0) + (exp(im) ** 3.0d0)) / ((t_0 * t_0) + ((exp(im) * exp(im)) - (t_0 * exp(im)))))
end function
public static double code(double re, double im) {
return (0.5 * Math.sin(re)) * (Math.exp((0.0 - im)) + Math.exp(im));
}
↓
public static double code(double re, double im) {
double t_0 = Math.exp(-im);
return (0.5 * Math.sin(re)) * ((Math.pow(t_0, 3.0) + Math.pow(Math.exp(im), 3.0)) / ((t_0 * t_0) + ((Math.exp(im) * Math.exp(im)) - (t_0 * Math.exp(im)))));
}
def code(re, im):
return (0.5 * math.sin(re)) * (math.exp((0.0 - im)) + math.exp(im))
↓
def code(re, im):
t_0 = math.exp(-im)
return (0.5 * math.sin(re)) * ((math.pow(t_0, 3.0) + math.pow(math.exp(im), 3.0)) / ((t_0 * t_0) + ((math.exp(im) * math.exp(im)) - (t_0 * math.exp(im)))))
function code(re, im)
return Float64(Float64(0.5 * sin(re)) * Float64(exp(Float64(0.0 - im)) + exp(im)))
end
↓
function code(re, im)
t_0 = exp(Float64(-im))
return Float64(Float64(0.5 * sin(re)) * Float64(Float64((t_0 ^ 3.0) + (exp(im) ^ 3.0)) / Float64(Float64(t_0 * t_0) + Float64(Float64(exp(im) * exp(im)) - Float64(t_0 * exp(im))))))
end
function tmp = code(re, im)
tmp = (0.5 * sin(re)) * (exp((0.0 - im)) + exp(im));
end
↓
function tmp = code(re, im)
t_0 = exp(-im);
tmp = (0.5 * sin(re)) * (((t_0 ^ 3.0) + (exp(im) ^ 3.0)) / ((t_0 * t_0) + ((exp(im) * exp(im)) - (t_0 * exp(im)))));
end
code[re_, im_] := N[(N[(0.5 * N[Sin[re], $MachinePrecision]), $MachinePrecision] * N[(N[Exp[N[(0.0 - im), $MachinePrecision]], $MachinePrecision] + N[Exp[im], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
↓
code[re_, im_] := Block[{t$95$0 = N[Exp[(-im)], $MachinePrecision]}, N[(N[(0.5 * N[Sin[re], $MachinePrecision]), $MachinePrecision] * N[(N[(N[Power[t$95$0, 3.0], $MachinePrecision] + N[Power[N[Exp[im], $MachinePrecision], 3.0], $MachinePrecision]), $MachinePrecision] / N[(N[(t$95$0 * t$95$0), $MachinePrecision] + N[(N[(N[Exp[im], $MachinePrecision] * N[Exp[im], $MachinePrecision]), $MachinePrecision] - N[(t$95$0 * N[Exp[im], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\left(0.5 \cdot \sin re\right) \cdot \left(e^{0 - im} + e^{im}\right)
↓
\begin{array}{l}
t_0 := e^{-im}\\
\left(0.5 \cdot \sin re\right) \cdot \frac{{t_0}^{3} + {\left(e^{im}\right)}^{3}}{t_0 \cdot t_0 + \left(e^{im} \cdot e^{im} - t_0 \cdot e^{im}\right)}
\end{array}