This commit is contained in:
misaki 2025-04-18 09:00:14 +08:00
parent bc8e7ba7a5
commit f36c8a3673

View File

@ -1,19 +0,0 @@
!
real*8 function FUNC_sign(A)
implicit none
real*8 :: A
if(isnan(A)) then
FUNC_sign = A
elseif(A>0) then
FUNC_sign = 1.0
elseif(A<0) then
FUNC_sign = -1.0
elseif(A==0) then
FUNC_sign = 0.0
end if
end function