summaryrefslogtreecommitdiff
path: root/lib/platanh.f90
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2025-01-09 22:12:06 +0100
committerChristoph Berg <myon@debian.org>2025-01-09 22:12:06 +0100
commit992d4b4b8d3f3a630a2cf00d593ee4ce4dfa7ce8 (patch)
treefbfdfe6bcb0a8a114be2480dac53d88c977e4869 /lib/platanh.f90
parent4320ce238aae1fe87fc9f379cdd816e9317885fa (diff)
New upstream version 2.7.0~rc8+repackupstream/2.7.0_rc8+repack
Diffstat (limited to 'lib/platanh.f90')
-rwxr-xr-xlib/platanh.f9048
1 files changed, 24 insertions, 24 deletions
diff --git a/lib/platanh.f90 b/lib/platanh.f90
index d81135be..e610366d 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