\[\begin{array}{l}
\\
\frac{x \cdot y}{2} - \frac{z}{8}
\end{array}
\]
(FPCore (x y z) :precision binary64 (- (/ (* x y) 2.0) (/ z 8.0)))
double code(double x, double y, double z) {
return ((x * y) / 2.0) - (z / 8.0);
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = ((x * y) / 2.0d0) - (z / 8.0d0)
end function
public static double code(double x, double y, double z) {
return ((x * y) / 2.0) - (z / 8.0);
}
def code(x, y, z):
return ((x * y) / 2.0) - (z / 8.0)
function code(x, y, z)
return Float64(Float64(Float64(x * y) / 2.0) - Float64(z / 8.0))
end
function tmp = code(x, y, z)
tmp = ((x * y) / 2.0) - (z / 8.0);
end
code[x_, y_, z_] := N[(N[(N[(x * y), $MachinePrecision] / 2.0), $MachinePrecision] - N[(z / 8.0), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{x \cdot y}{2} - \frac{z}{8}
\end{array}