<html dir="ltr"><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="MSHTML 8.00.6001.18999">
<style id="owaTempEditStyle"></style><style title="owaParaStyle"><!--P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
--></style>
<meta name="SKYPE_FRAMEID" content="TOBXMNSHEQ">
<meta id="skype_v3_tb_marker_id" name="SKYPE_PARSING_HAS_FINISHED" content="metacontent">
</head>
<body ocsi="x">
<div style="FONT-FAMILY: Tahoma; DIRECTION: ltr; COLOR: #000000; FONT-SIZE: 13px">
<div>A brief history:</div>
<div><font size="2" face="tahoma">I wrote the asinh and acosh functions for the math (or was it cmath?) for python 2.0. It fixed some problems of GVR implementation, but still it was far from perfect, and replaced shortly after.  My 1/4 cent tip: Do not rush
 --- find a good code.</font></div>
<div><font size="2" face="tahoma"></font> </div>
<div><font size="2" face="tahoma">  Nadav</font></div>
<div dir="ltr"><font color="#000000" size="2" face="Tahoma"></font> </div>
<div style="DIRECTION: ltr" id="divRpF819329">
<hr tabindex="-1">
<font color="#000000" size="2" face="Tahoma"><b>From:</b> numpy-discussion-bounces@scipy.org [numpy-discussion-bounces@scipy.org] On Behalf Of Mark Bakker [markbak@gmail.com]<br>
<b>Sent:</b> 28 January 2011 12:45<br>
<b>To:</b> numpy-discussion@scipy.org<br>
<b>Subject:</b> Re: [Numpy-discussion] Error in tanh for large complex argument<br>
</font><br>
</div>
<div></div>
<div>
<pre>Good point, so we need a better solution that fixes all cases<br><br>>> I'll file a ticket.<br>>> <br>>> Incidentally, if tanh(z) is simply programmed as<br>>> <br>>> (1.0 - exp(-2.0*z)) / (1.0 + exp(-2.0*z))<br><br>>This will overflow as z -> -\infty.
 The solution is probably to use a <br>>different expression for Re(z) < 0, and to check how other libraries do <br>>this in case the above still misses something.<br>><br>> Pauli<br></pre>
</div>
</div>
</body>
</html>