This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients Rhamphoryncus, christian.heimes, mark.dickinson
Date 2007-12-17.19:27:43
SpamBayes Score 0.026418004
Marked as misclassified No
Message-id <4766CDA7.3060309@cheimes.de>
In-reply-to <1197913243.74.0.277635993995.issue1640@psf.upfronthosting.co.za>
Content
Mark Dickinson wrote:
> Mark Dickinson added the comment:
> 
> Cool! If there's a move to add functions to the math module, there are 
> some others that are part of C99 (but not C89), would be good to have, and 
> that I'd consider more fundamental than the Bessel, error, gamma 
> functions;  for example, the inverse hyperbolic trig functions (acosh, 
> asinh, atanh), log1p, expm1, copysign.

I've added the inverse hyperbolic, log1p and expm1. copysign is too low
level but I've added sign(x) -> -1/0/+1. It uses copysign() where
available so you can emulate copysign(x, y) with sign(x) * y.

Do you want some more functions?
http://www.dinkumware.com/manuals/?manual=compleat&page=math.html

Feel free to provide a patch :)

Christian
History
Date User Action Args
2007-12-17 19:27:44christian.heimessetspambayes_score: 0.026418 -> 0.026418004
recipients: + christian.heimes, mark.dickinson, Rhamphoryncus
2007-12-17 19:27:44christian.heimeslinkissue1640 messages
2007-12-17 19:27:43christian.heimescreate