I ran across this code from a statistics library. The header
source code was not available.
long double __declspec(naked) poisson_distribution(int k,long
double m)
{
}
long double pdtrl(int k,long double m )
{
long double v;
if( (k < 0) || (m <= 0.0L) )
{
mtherr( "pdtrl", DOMAIN );
return( 0.0L );
}
v = k+1;
return( igamcl( v, m ) );
}
What would be the purpose of "__declspec(naked)" in the signature
of poisson_distribution()? Is this legal C syntax? Why would the
function body be empty?