Math FPCore C Fortran Java Python Julia MATLAB Wolfram TeX \[\frac{\sin x \cdot \sinh y}{x}
\]
↓
\[\begin{array}{l}
t_0 := \frac{\sin x \cdot \sinh y}{x}\\
\mathbf{if}\;x \leq -0.00037:\\
\;\;\;\;t_0\\
\mathbf{elif}\;x \leq 1.7 \cdot 10^{-41}:\\
\;\;\;\;y + y \cdot \left(-0.16666666666666666 \cdot {x}^{2}\right)\\
\mathbf{else}:\\
\;\;\;\;t_0\\
\end{array}
\]
(FPCore (x y) :precision binary64 (/ (* (sin x) (sinh y)) x)) ↓
(FPCore (x y)
:precision binary64
(let* ((t_0 (/ (* (sin x) (sinh y)) x)))
(if (<= x -0.00037)
t_0
(if (<= x 1.7e-41)
(+ y (* y (* -0.16666666666666666 (pow x 2.0))))
t_0)))) double code(double x, double y) {
return (sin(x) * sinh(y)) / x;
}
↓
double code(double x, double y) {
double t_0 = (sin(x) * sinh(y)) / x;
double tmp;
if (x <= -0.00037) {
tmp = t_0;
} else if (x <= 1.7e-41) {
tmp = y + (y * (-0.16666666666666666 * pow(x, 2.0)));
} else {
tmp = t_0;
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = (sin(x) * sinh(y)) / x
end function
↓
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: t_0
real(8) :: tmp
t_0 = (sin(x) * sinh(y)) / x
if (x <= (-0.00037d0)) then
tmp = t_0
else if (x <= 1.7d-41) then
tmp = y + (y * ((-0.16666666666666666d0) * (x ** 2.0d0)))
else
tmp = t_0
end if
code = tmp
end function
public static double code(double x, double y) {
return (Math.sin(x) * Math.sinh(y)) / x;
}
↓
public static double code(double x, double y) {
double t_0 = (Math.sin(x) * Math.sinh(y)) / x;
double tmp;
if (x <= -0.00037) {
tmp = t_0;
} else if (x <= 1.7e-41) {
tmp = y + (y * (-0.16666666666666666 * Math.pow(x, 2.0)));
} else {
tmp = t_0;
}
return tmp;
}
def code(x, y):
return (math.sin(x) * math.sinh(y)) / x
↓
def code(x, y):
t_0 = (math.sin(x) * math.sinh(y)) / x
tmp = 0
if x <= -0.00037:
tmp = t_0
elif x <= 1.7e-41:
tmp = y + (y * (-0.16666666666666666 * math.pow(x, 2.0)))
else:
tmp = t_0
return tmp
function code(x, y)
return Float64(Float64(sin(x) * sinh(y)) / x)
end
↓
function code(x, y)
t_0 = Float64(Float64(sin(x) * sinh(y)) / x)
tmp = 0.0
if (x <= -0.00037)
tmp = t_0;
elseif (x <= 1.7e-41)
tmp = Float64(y + Float64(y * Float64(-0.16666666666666666 * (x ^ 2.0))));
else
tmp = t_0;
end
return tmp
end
function tmp = code(x, y)
tmp = (sin(x) * sinh(y)) / x;
end
↓
function tmp_2 = code(x, y)
t_0 = (sin(x) * sinh(y)) / x;
tmp = 0.0;
if (x <= -0.00037)
tmp = t_0;
elseif (x <= 1.7e-41)
tmp = y + (y * (-0.16666666666666666 * (x ^ 2.0)));
else
tmp = t_0;
end
tmp_2 = tmp;
end
code[x_, y_] := N[(N[(N[Sin[x], $MachinePrecision] * N[Sinh[y], $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision]
↓
code[x_, y_] := Block[{t$95$0 = N[(N[(N[Sin[x], $MachinePrecision] * N[Sinh[y], $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision]}, If[LessEqual[x, -0.00037], t$95$0, If[LessEqual[x, 1.7e-41], N[(y + N[(y * N[(-0.16666666666666666 * N[Power[x, 2.0], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$0]]]
\frac{\sin x \cdot \sinh y}{x}
↓
\begin{array}{l}
t_0 := \frac{\sin x \cdot \sinh y}{x}\\
\mathbf{if}\;x \leq -0.00037:\\
\;\;\;\;t_0\\
\mathbf{elif}\;x \leq 1.7 \cdot 10^{-41}:\\
\;\;\;\;y + y \cdot \left(-0.16666666666666666 \cdot {x}^{2}\right)\\
\mathbf{else}:\\
\;\;\;\;t_0\\
\end{array}