Hello, I just wrote a few statistical functions and realized that under Linux gamma and tgamma compute the logarithm of the gamma function (like lgamma) and under MacOS X gamma and tgamma correctly compute the gamma function.
This is not really a bug in the egg itself but has to do with different C library implementations: In the glibc gamma is an alias for lgamma, in the BSD libc gamma is an alias for tgamma -- both behaviours are documented in the man pages of the systems. Nevertheless I think this has to be worked around in the mathh egg. I pushed a patch to the SVN version of the egg such that it uses tgamma under linux and gamma under other unices. cu, Thomas _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
