修改函数
This commit is contained in:
parent
3830968aa4
commit
bc8e7ba7a5
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
real*8 :: A
|
real*8 :: A
|
||||||
if(isnan(A)) then
|
if(isnan(A)) then
|
||||||
FUNC_sign = sqrt(-1.0)
|
FUNC_sign = A
|
||||||
elseif(A>0) then
|
elseif(A>0) then
|
||||||
FUNC_sign = 1.0
|
FUNC_sign = 1.0
|
||||||
elseif(A<0) then
|
elseif(A<0) then
|
||||||
|
Loading…
Reference in New Issue
Block a user