Message58702
| 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 |
|