home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
minnie.tuhs.org
/
unixen.tar
/
unixen
/
PDP-11
/
Trees
/
V6
/
usr
/
source
/
fort
/
rt1
/
tanh.f
< prev
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1975-07-17
|
75 b
|
8 lines
function tanh(a)
b = exp(a)
c = 1.0/b
tanh = (b-c)/(b+c)
return
end