[issue1640] Enhancements for mathmodule

2008-01-19 Thread George Castillo

George Castillo added the comment:

Is there still interest in implementing the inverse hyperbolic trig
functions for real numbers?  I would be willing to explore this if there is.

--
nosy: +gmcastil

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1640>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1640] Enhancements for mathmodule

2008-01-20 Thread George Castillo

George Castillo added the comment:

Just a quick addition here regarding the singularities to these
functions.  The atanh(x) is only defined for |x| < 1, so atanh(1) or
atanh(-1) isn't singular there so much as simply isn't defined.  So,
even though the function approaches infinite as x -> 1, it wouldn't
really be correct to return a value at |x| = 1.  I think raising an
exception at those points would be more correct.

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1640>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1640] Enhancements for mathmodule

2008-01-20 Thread George Castillo

George Castillo added the comment:

I misunderstood the rationale for the function returning infinite at
those points - I didn't realize that C99 was the governing force behind
the implementation of these functions, rather than mathematical rigor. 
Thanks for pointing it out.  In that case, I agree with you that, in
order to conform, these functions would need to return the values
required by those documents.

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1640>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com