int qigami( a, y0, ans )
QELT a[], y0[], ans[];
{ double da, dy0, dx0; int i; union
{ unsignedshort s[4]; double d;
} dz;
/* approximation to inverse function */
qtoe( a, dz.s );
da = dz.d;
qtoe( y0, dz.s );
dy0 = dz.d;
dx0 = igami( da, dy0 );
dz.d = dx0;
etoq( dz.s, x0 );
qlgam( a, lgm ); /* log(gamma(a)) */
for( i=0; i<1; i++ )
{ /* if(x0<=0.0) { printf("x0=%.5E\n",x0); gotoloop; }
*/ /* compute the function at this point */
qigamc( a, x0, y ); /* compute the derivative of the function at this point */ /* d = (a - 1.0) * log(x0) - x0 - lgam(a); */
qmov( a, d );
qsub( qone, d, d );
qlog( x0, t );
qmul( t, d, d );
qsub( x0, d, d );
qsub( lgm, d, d );
qexp( d, t ); /* d = -exp(d) */
qneg(t); /* compute the step to the next approximation of x */
qsub( y0, y, y ); /* d = (y - y0)/d */
qdiv( t, y, t );
qsub( t, x0, x0 ); /* x0 = x0 - d */
}
qmov( x0, ans ); return0;
}
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.9 Sekunden
(vorverarbeitet am 2026-06-27)
¤
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.