for( i=0; i<10; i++ )
{ /* compute the function at this point */ if( i != 0 )
y = incbetf(a,b,x0); /* compute the derivative of the function at this point */
d = (a - 1.0) * logf(x0) + (b - 1.0) * logf(1.0-x0) + lgm; if( d < MINLOGF )
{
x0 = 0.0; goto under;
}
d = expf(d); /* compute the step to the next approximation of x */
d = (y - y0)/d;
x = x0;
x0 = x0 - d; if( x0 <= 0.0 )
{
x0 = 0.0; goto under;
} if( x0 >= 1.0 )
{
x0 = 1.0; goto under;
} if( i < 2 ) continue; if( fabsf(d/x0) < 256.0 * MACHEPF ) goto done;
}
done: if( rflg )
x0 = 1.0 - x0; return( x0 );
}
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.9 Sekunden
(vorverarbeitet am 2026-06-14)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.