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
code = x * ((exp((y * y)) ** 3.0d0) ** 0.3333333333333333d0)
end function
public static double code(double x, double y) {
return x * Math.exp((y * y));
}
↓
public static double code(double x, double y) {
return x * Math.pow(Math.pow(Math.exp((y * y)), 3.0), 0.3333333333333333);
}