float log10f(xx) double xx; #endif
{ float x, y, z; int e;
x = xx; /* Test for domain */ if( x <= 0.0 )
{ if( x == 0.0 )
mtherr( fname, SING ); else
mtherr( fname, DOMAIN ); return( -MAXL10 );
}
/* separate mantissa from exponent */
x = frexpf( x, &e );
/* logarithm using log(1+x) = x - .5x**2 + x**3 P(x) */
if( x < SQRTH )
{
e -= 1;
x = 2.0*x - 1.0;
} else
{
x = x - 1.0;
}
/* rational form */
z = x*x;
y = x * ( z * polevlf( x, P, 8 ) );
y = y - 0.5 * z; /* y - 0.5 * x**2 */
/* multiply log of fraction by log10(e) *andbase2exponentbylog10(2)
*/
z = (x + y) * L10EB; /* accumulate terms in order of size */
z += y * L10EA;
z += x * L10EA;
x = e;
z += x * L102B;
z += x * L102A;
return( z );
}
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.1 Sekunden
(vorverarbeitet am 2026-06-17)
¤
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.