At Sun, 13 Nov 2011 00:23:32 +0100, Richard B. Kreckel wrote: > With that patch, some checks fail. Where they fail it should be > sufficient to flip the sign of the zero real or imaginary part in the > argument. (Of course, if one wishes, one can add new test vectors for > the opposite signed zero.)
Hello Richard. Thanks for the patch. I'm happy to apply this and follow the general signed zero convention -- I'm not in a position to check it myself so I'll just go with whatever you submit, but I just wanted to confirm some things: - in the manual we say "for multiple-valued functions the branch cuts have been chosen to follow the conventions of Abramowitz and Stegun in the Handbook of Mathematical Functions. The functions return principal values which are the same as those in GNU Calc, which in turn are the same as those in Common Lisp, The Language (Second Edition) and the HP-28/48 series of calculators." Does this still hold? I generated the test values with GNU Calc (complex/test.el) so there's some kind of inconsistency if the tests are failing (maybe because GNU Calc does not have signed zero?). Maybe they should be generated with a common lisp implementation with signed zero instead. - we aim to support old C89 compilers. Is there a portable way to do a signbit() function in C89? -- Brian Gough _______________________________________________ Bug-gsl mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-gsl
