\[\frac{x}{y \cdot y} - 3
\]
↓
\[\begin{array}{l}
\mathbf{if}\;y \cdot y \leq 5 \cdot 10^{-310}:\\
\;\;\;\;\frac{x}{y} \cdot \frac{1}{y}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{y \cdot y} + -3\\
\end{array}
\]
(FPCore (x y) :precision binary64 (- (/ x (* y y)) 3.0))
↓
(FPCore (x y)
:precision binary64
(if (<= (* y y) 5e-310) (* (/ x y) (/ 1.0 y)) (+ (/ x (* y y)) -3.0)))
double code(double x, double y) {
return (x / (y * y)) - 3.0;
}
↓
double code(double x, double y) {
double tmp;
if ((y * y) <= 5e-310) {
tmp = (x / y) * (1.0 / y);
} else {
tmp = (x / (y * y)) + -3.0;
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = (x / (y * y)) - 3.0d0
end function
↓
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: tmp
if ((y * y) <= 5d-310) then
tmp = (x / y) * (1.0d0 / y)
else
tmp = (x / (y * y)) + (-3.0d0)
end if
code = tmp
end function
public static double code(double x, double y) {
return (x / (y * y)) - 3.0;
}
↓
public static double code(double x, double y) {
double tmp;
if ((y * y) <= 5e-310) {
tmp = (x / y) * (1.0 / y);
} else {
tmp = (x / (y * y)) + -3.0;
}
return tmp;
}
def code(x, y):
return (x / (y * y)) - 3.0
↓
def code(x, y):
tmp = 0
if (y * y) <= 5e-310:
tmp = (x / y) * (1.0 / y)
else:
tmp = (x / (y * y)) + -3.0
return tmp
function code(x, y)
return Float64(Float64(x / Float64(y * y)) - 3.0)
end
↓
function code(x, y)
tmp = 0.0
if (Float64(y * y) <= 5e-310)
tmp = Float64(Float64(x / y) * Float64(1.0 / y));
else
tmp = Float64(Float64(x / Float64(y * y)) + -3.0);
end
return tmp
end
function tmp = code(x, y)
tmp = (x / (y * y)) - 3.0;
end
↓
function tmp_2 = code(x, y)
tmp = 0.0;
if ((y * y) <= 5e-310)
tmp = (x / y) * (1.0 / y);
else
tmp = (x / (y * y)) + -3.0;
end
tmp_2 = tmp;
end
code[x_, y_] := N[(N[(x / N[(y * y), $MachinePrecision]), $MachinePrecision] - 3.0), $MachinePrecision]
↓
code[x_, y_] := If[LessEqual[N[(y * y), $MachinePrecision], 5e-310], N[(N[(x / y), $MachinePrecision] * N[(1.0 / y), $MachinePrecision]), $MachinePrecision], N[(N[(x / N[(y * y), $MachinePrecision]), $MachinePrecision] + -3.0), $MachinePrecision]]
\frac{x}{y \cdot y} - 3
↓
\begin{array}{l}
\mathbf{if}\;y \cdot y \leq 5 \cdot 10^{-310}:\\
\;\;\;\;\frac{x}{y} \cdot \frac{1}{y}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{y \cdot y} + -3\\
\end{array}