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 <1214756421.8.0.69376016772.issue3167@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
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: <1214756421.8.0.69376016772.issue3167@psf.upfronthosting.co.za>
2008-06-29 16:20:21mark.dickinsonlinkissue3167 messages
2008-06-29 16:20:20mark.dickinsoncreate