Author mark.dickinson
Recipients alanmcintyre, inducer, loewis, mark.dickinson
Date 2007-11-04.15:16:21
SpamBayes Score 0.234969
Marked as misclassified No
Message-id <>
I took a look at this a while back, and got as far as writing a pure 
Python drop-in replacement for cmath, based on Kahan's "branch cuts for 
elementary functions" paper.  This fixes a variety of problems in cmath, 
including the buggy branch cuts for asinh.  File attached, in case it's 
of any use.

As Tim Peters pointed out, the real problem here is a lack of decent 
unit tests for these functions.  I have tests for the file above, but 
they assume IEEE754 floats, which is probably not an acceptable 
assumption in general.
File name Uploaded mark.dickinson, 2007-11-04.15:16:22
Date User Action Args
2007-11-04 15:16:23mark.dickinsonsetspambayes_score: 0.234969 -> 0.234969
recipients: + mark.dickinson, loewis, alanmcintyre, inducer
2007-11-04 15:16:23mark.dickinsonsetspambayes_score: 0.234969 -> 0.234969
messageid: <>
2007-11-04 15:16:22mark.dickinsonlinkissue1381 messages
2007-11-04 15:16:22mark.dickinsoncreate