Author bins
Recipients alanmcintyre, bins, christian.heimes, gvanrossum, inducer, jcea, loewis, mark.dickinson
Date 2010-05-11.14:05:15
SpamBayes Score 0.0562895
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.
History
Date User Action Args
2010-05-11 14:05:17binssetrecipients: + bins, gvanrossum, loewis, jcea, mark.dickinson, alanmcintyre, inducer, christian.heimes
2010-05-11 14:05:17binssetmessageid: <1273586717.3.0.549109788708.issue1381@psf.upfronthosting.co.za>
2010-05-11 14:05:16binslinkissue1381 messages
2010-05-11 14:05:15binscreate