From: Danny Smith <dannysmith@cl...> - 2006-04-22 22:22:54
> -----Original Message-----
> From: mingw-users-admin@...=20
> [mailto:mingw-users-admin@...] On Behalf Of=20
> Michael Gerdau
> Sent: Sunday, April 23, 2006 9:11 AM
> To: mingw-users@...
> Subject: Re: [Mingw-users] Miss signgam definition
> Anyway, meanwhile I have searched the web and there do indeed=20
> exist some libraries for windows that do provide e.g. the=20
> gamma-family of functions which should enable interested=20
> parties to use them.
/* 220.127.116.11 The lgamma functions */
extern double __cdecl lgamma (double);
extern float __cdecl lgammaf (float);
extern long double __cdecl lgammal (long double);
/* 18.104.22.168 The tgamma functions */
extern double __cdecl tgamma (double);
extern float __cdecl tgammaf (float);
extern long double __cdecl tgammal (long double);
In the mingwex source for above you would find local variable, 'int* =
To make into global 'signgam' shouldn't be too hard using a spin-lock or =
something to make thread-safe.