[Python-Dev] == on object tests identity in 3.x

Steven D'Aprano steve at pearwood.info
Wed Jul 9 03:22:42 CEST 2014


On Tue, Jul 08, 2014 at 06:33:31PM +0100, MRAB wrote:

> The log of a negative number is a complex number.

Only in complex arithmetic. In real arithmetic, the log of a negative 
number isn't a number at all.

-- 
Steven


More information about the Python-Dev mailing list