Re: lgamma non-standard extension (nvm, i was wrong)

2017-09-26 Thread coypu
apologies, should've read POSIX first. netbsd is not alone in having 'extern int signgam', that is part of POSIX. so at least we won't be the only ones to have an issue if compilers decide to replace lgamma.

lgamma non-standard extension

2017-09-26 Thread coypu
hi folks, we have a small compatible extension to lgamma, a standard C function. we provide the sign of gamma(x) result in signgam, in a global. we also have a reentry safe version, lgamma_r, where signgam is passed as an argument. because this is a standard C function, I assume the compiler is