Le 17/09/2021 à 19:16, Carter Schonwald a écrit :

Hey Barak, is Common Lisp the only extant language to take those issues seriously or are there other examples or better ones?

// tan / atan troubles cited by Barak.

Common Lisp??

But even the ugly Python reacts better to such examples:

>>> from numpy import *
>>> rr, ii = 1.0e-20+0j, 1.0e-20j

>>> tan(rr),arctan(rr)
((1e-20+0j), (1e-20+0j))
>>> tan(ii),arctan(ii)
(1e-20j, 1e-20j)

==

This works also with cmath (with arctan as atan).

Jerzy Karczmarczuk





Avast logo

L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
www.avast.com