Message105517
| Author |
bins |
| Recipients |
alanmcintyre, bins, christian.heimes, gvanrossum, inducer, jcea, loewis, mark.dickinson |
| Date |
2010年05月11日.14:05:15 |
| SpamBayes Score |
0.05628953 |
| Marked as misclassified |
No |
| Message-id |
<1273586717.3.0.549109788708.issue1381@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
hi Mark,
that may very well be so, but I'd naively standardize on C/Fortran behaviour (but that's probably my physicist bias)
on my platform, the following piece of C-code:
$ cat test_cmath.c
#include <complex.h>
#include <stdio.h>
int main(int argc, char** argv)
{
complex c = casinh(-2*I);
printf("asinh(-2j) = %g + %gi\n", creal(c), cimag(c));
return 0;
}
/* EOF */
gives:
$ ./a.out
asinh(-2j) = -1.31696 + -1.5708i
cheers,
sebastien. |
|