diff options
| author | Christoph Berg <myon@debian.org> | 2025-09-16 12:37:12 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2025-09-16 12:57:29 +0200 |
| commit | 5a4967c577ad245a2117b7b2f71c13b1212fe285 (patch) | |
| tree | 4d09343cfe757239895a0dd9b399242d2a07d7c2 /lib/platanh.f90 | |
| parent | 23c903a09fb1d73fd20b50323cd80cfb3aba8799 (diff) | |
Merge 2.7 changes, I had uploaded -1 from the wrong branch.debian/3.0.0_rc1+repack-2
Diffstat (limited to 'lib/platanh.f90')
| -rwxr-xr-x | lib/platanh.f90 | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/lib/platanh.f90 b/lib/platanh.f90 index e610366d..d81135be 100755 --- a/lib/platanh.f90 +++ b/lib/platanh.f90 @@ -1,24 +1,24 @@ -subroutine platanh(x,y) - isign=+1 - z=x - if( x.lt.0 ) then - isign=-1 - z=abs(x) - endif - if( z.le. 0.664 ) then - y=x/0.83 - return - elseif( z.le. 0.9217 ) then - y=isign*(z-0.4064)/0.322 - return - elseif( z.le. 0.9951 ) then - y=isign*(z-0.8378)/0.0524 - return - elseif( z.le. 0.9998 ) then - y=isign*(z-0.9914)/0.0012 - return - else - y=isign*7.0 - return - endif -end subroutine platanh +subroutine platanh(x,y)
+ isign=+1
+ z=x
+ if( x.lt.0 ) then
+ isign=-1
+ z=abs(x)
+ endif
+ if( z.le. 0.664 ) then
+ y=x/0.83
+ return
+ elseif( z.le. 0.9217 ) then
+ y=isign*(z-0.4064)/0.322
+ return
+ elseif( z.le. 0.9951 ) then
+ y=isign*(z-0.8378)/0.0524
+ return
+ elseif( z.le. 0.9998 ) then
+ y=isign*(z-0.9914)/0.0012
+ return
+ else
+ y=isign*7.0
+ return
+ endif
+end subroutine platanh
|
