\[\left(1 - x\right) + y \cdot \sqrt{x}
\]
↓
\[\left(1 - x\right) + y \cdot \sqrt{x}
\]
(FPCore (x y) :precision binary64 (+ (- 1.0 x) (* y (sqrt x))))
↓
(FPCore (x y) :precision binary64 (+ (- 1.0 x) (* y (sqrt x))))
double code(double x, double y) {
return (1.0 - x) + (y * sqrt(x));
}
↓
double code(double x, double y) {
return (1.0 - x) + (y * sqrt(x));
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = (1.0d0 - x) + (y * sqrt(x))
end function
↓
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = (1.0d0 - x) + (y * sqrt(x))
end function
public static double code(double x, double y) {
return (1.0 - x) + (y * Math.sqrt(x));
}
↓
public static double code(double x, double y) {
return (1.0 - x) + (y * Math.sqrt(x));
}
def code(x, y):
return (1.0 - x) + (y * math.sqrt(x))
↓
def code(x, y):
return (1.0 - x) + (y * math.sqrt(x))
function code(x, y)
return Float64(Float64(1.0 - x) + Float64(y * sqrt(x)))
end
↓
function code(x, y)
return Float64(Float64(1.0 - x) + Float64(y * sqrt(x)))
end
function tmp = code(x, y)
tmp = (1.0 - x) + (y * sqrt(x));
end
↓
function tmp = code(x, y)
tmp = (1.0 - x) + (y * sqrt(x));
end
code[x_, y_] := N[(N[(1.0 - x), $MachinePrecision] + N[(y * N[Sqrt[x], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
↓
code[x_, y_] := N[(N[(1.0 - x), $MachinePrecision] + N[(y * N[Sqrt[x], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\left(1 - x\right) + y \cdot \sqrt{x}
↓
\left(1 - x\right) + y \cdot \sqrt{x}