l**t 发帖数: 170 | 1 偶用一个函数
sqrtl(double(p))
link的时候出现两个错误
srqtl , double都错了
问怎么改,
thanks! |
t****n 发帖数: 39 | 2 What fortran are you using? I don't think standard fortran has these two
functions. If you are trying to 1) convert p to a double precision; and
2) calculate the square root of p then you should use
sqrt(dfloat(p))
【在 l**t 的大作中提到】 : 偶用一个函数 : sqrtl(double(p)) : link的时候出现两个错误 : srqtl , double都错了 : 问怎么改, : thanks!
|
l**t 发帖数: 170 | 3 偶用的编译器是visual fortran 5.0
除了要把p改成double之外,偶要sqrt之后也是
double,不必sqrtl了马?
thanks
【在 t****n 的大作中提到】 : What fortran are you using? I don't think standard fortran has these two : functions. If you are trying to 1) convert p to a double precision; and : 2) calculate the square root of p then you should use : sqrt(dfloat(p))
|
s*****l 发帖数: 167 | 4 Dsqrt(Dble(p))
【在 l**t 的大作中提到】 : 偶用的编译器是visual fortran 5.0 : 除了要把p改成double之外,偶要sqrt之后也是 : double,不必sqrtl了马? : thanks
|
s***n 发帖数: 821 | 5 Ft.
I am still using Powerstation 4.0
【在 l**t 的大作中提到】 : 偶用的编译器是visual fortran 5.0 : 除了要把p改成double之外,偶要sqrt之后也是 : double,不必sqrtl了马? : thanks
|