real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = x * exp((y * y))
end function
↓
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: t_0
t_0 = sqrt(exp(y)) ** y
code = x * (t_0 * t_0)
end function
public static double code(double x, double y) {
return x * Math.exp((y * y));
}
↓
public static double code(double x, double y) {
double t_0 = Math.pow(Math.sqrt(Math.exp(y)), y);
return x * (t_0 * t_0);
}