------- Comment #10 from tkoenig at gcc dot gnu dot org 2007-10-20 10:17 ------- I am tempted not to use gamma*() at all, but rather check for tgamma*() and lgamma*() and use that if available. If none of them are present, use a fallback implementation.
This avoids potential problems with cross-compilation when gamma() has a different meaning for host and target system. What a mess... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33698