We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0265fb5 commit 474b103Copy full SHA for 474b103
lib/node_modules/@stdlib/math/base/special/gammainc/src/main.c
@@ -494,7 +494,7 @@ static double regularisedGammaPrefix( const double a, const double z ) {
494
}
495
if ( stdlib_base_abs(d*d*a) <= 100.0 && a > 150.0 ) {
496
// Special case for large a and a ~ z:
497
- prefix = ( a * ( stdlib_base_log1pmx( d ) - d ) ) + ( z * ( 0.5-GAMMA_LANCZOS_G ) / agh );
+ prefix = ( a * stdlib_base_log1pmx( d ) ) + ( z * ( 0.5-GAMMA_LANCZOS_G ) / agh );
498
prefix = stdlib_base_exp( prefix );
499
500
else {
0 commit comments