Author mark.dickinson
Recipients MrJean1, loewis, mark.dickinson, skip.montanaro, terry.reedy
Date 2008-06-29.16:20:20
SpamBayes Score 0.0428982
Marked as misclassified No
Message-id <>
> What about this case? Should cmath not produce the same result as math:

No; this is correct, I think.  Note that the cmath.log result has nonzero 
imaginary part, so can't be represented as a float.

Similarly, math.sqrt(-1) is an error, while cmath.sqrt(-1) returns a 
complex result and doesn't raise any exception.
Date User Action Args
2008-06-29 16:20:22mark.dickinsonsetspambayes_score: 0.0428982 -> 0.0428982
recipients: + mark.dickinson, loewis, skip.montanaro, terry.reedy, MrJean1
2008-06-29 16:20:21mark.dickinsonsetspambayes_score: 0.0428982 -> 0.0428982
messageid: <>
2008-06-29 16:20:21mark.dickinsonlinkissue3167 messages
2008-06-29 16:20:20mark.dickinsoncreate