diff options
| author | Christoph Berg <myon@debian.org> | 2026-04-07 19:02:45 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2026-04-07 19:02:45 +0200 |
| commit | f647d78463c1250ce9c99af664615fafccf5e959 (patch) | |
| tree | 5b00428cef68aef1c9d407e2d4535687422419b6 /lib/platanh.f90 | |
| parent | 0a13f1fdb9928b6d012569dd65f7f6ef18fac2f8 (diff) | |
New upstream version 3.0.0upstream/3.0.0
Diffstat (limited to 'lib/platanh.f90')
| -rw-r--r--[-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 d81135be..e610366d 100755..100644 --- 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 |
