<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Le 17/09/2021 à 19:16, Carter Schonwald a écrit :<br>
</p>
<blockquote type="cite"
cite="mid:CAHYVw0w6yc7q9MO5L5dQqy4+nG0cx_82rVDHtcrGDFO4ERy8Cg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Hey Barak, is Common Lisp the only extant language to take
those issues seriously or are there other examples or better
ones?</div>
</div>
</blockquote>
<p>// tan / atan troubles cited by Barak.</p>
<p>Common Lisp??</p>
<p>But even the ugly Python reacts better to such examples:<br>
</p>
<p><b><font face="Courier New, Courier, monospace">>>> from
numpy import *<br>
>>> rr, ii = 1.0e-20+0j, 1.0e-20j<br>
</font></b></p>
<p><b><font face="Courier New, Courier, monospace">>>>
tan(rr),arctan(rr)<br>
((1e-20+0j), (1e-20+0j))<br>
>>> tan(ii),arctan(ii)<br>
(1e-20j, 1e-20j)</font></b></p>
<p><b><font face="Courier New, Courier, monospace">==</font></b></p>
<p>This works also with cmath (with arctan as atan).<br>
<b><font face="Courier New, Courier, monospace"></font></b></p>
<p>Jerzy Karczmarczuk</p>
<p><br>
</p>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2">
<br /><br />
<hr style='border:none; color:#909090; background-color:#B0B0B0; height: 1px; width: 99%;' />
<table style='border-collapse:collapse;border:none;'>
<tr>
<td style='border:none;padding:0px 15px 0px 8px'>
<a href="https://www.avast.com/antivirus">
<img border=0 src="http://static.avast.com/emails/avast-mail-stamp.png" alt="Avast logo" />
</a>
</td>
<td>
<p style='color:#3d4d5a; font-family:"Calibri","Verdana","Arial","Helvetica"; font-size:12pt;'>
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
<br><a href="https://www.avast.com/antivirus">www.avast.com</a>
</p>
</td>
</tr>
</table>
<br />
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div>
<br>
<br>
</body>
</html>