用fortran 90 编译器编译fortran 77源码出错,请指点。
doubleprecisionfunctionrlimit(x)implicitdoubleprecision(a-h,o-z)rlimit=max(0,min(1.d0...
double precision function rlimit(x)
implicit double precision (a-h,o-z)
rlimit=max(0,min(1.d0,2.d0*x),min(2.d0,x))
end
用fortran 90 编译器编译上述fortran 77源码时,出现如下错误提示
......\Source1.F90(864) : Error: The intrinsic data types of the arguments must be the same. [MAX]
......\Source1.F90(864) : Error: The intrinsic data types of the arguments must be the same. [MIN]
不知何故,请高手指点~~~ 展开
implicit double precision (a-h,o-z)
rlimit=max(0,min(1.d0,2.d0*x),min(2.d0,x))
end
用fortran 90 编译器编译上述fortran 77源码时,出现如下错误提示
......\Source1.F90(864) : Error: The intrinsic data types of the arguments must be the same. [MAX]
......\Source1.F90(864) : Error: The intrinsic data types of the arguments must be the same. [MIN]
不知何故,请高手指点~~~ 展开
3个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询