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/ft8/h1.f90 | |
| parent | 0a13f1fdb9928b6d012569dd65f7f6ef18fac2f8 (diff) | |
New upstream version 3.0.0upstream/3.0.0
Diffstat (limited to 'lib/ft8/h1.f90')
| -rw-r--r--[-rwxr-xr-x] | lib/ft8/h1.f90 | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/lib/ft8/h1.f90 b/lib/ft8/h1.f90 index aeed3f46..8e931227 100755..100644 --- a/lib/ft8/h1.f90 +++ b/lib/ft8/h1.f90 @@ -1,17 +1,17 @@ -real function h1(x)
-
-! sigma=1.0/sqrt(2.0)
- sigma=1.0
- xlim=sigma/sqrt(6.0)
- ax=abs(x)
- sgnx=1.0
- if(x.lt.0) sgnx=-1.0
- if(ax.le.xlim) then
- h1=x
- else
- z=exp(1.0/6.0 - (ax/sigma)**2)
- h1=sgnx*sqrt(6.0)*sigma*(2.0/3.0 - 0.5*z)
- endif
-
- return
-end function h1
+real function h1(x) + +! sigma=1.0/sqrt(2.0) + sigma=1.0 + xlim=sigma/sqrt(6.0) + ax=abs(x) + sgnx=1.0 + if(x.lt.0) sgnx=-1.0 + if(ax.le.xlim) then + h1=x + else + z=exp(1.0/6.0 - (ax/sigma)**2) + h1=sgnx*sqrt(6.0)*sigma*(2.0/3.0 - 0.5*z) + endif + + return +end function h1 |
