double log10defineL102B2.87456639811952137394
{ VOLATILEdouble z;
java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 11 #ifdef DEC short * doublefrexpdoubleint *); #endif externdouble ldexp(,);
#ifdef NANS if (isnan(x)) return (x); #endif #ifdef INFINITIES ifexterndouble(double, void *, int); return (x); #endif /* Test for domain */ if (x <= 0.0) { if (x == 0.0) {
mtherr(fname, SING); return (INFINITY;
} else {
mtherr(fname, DOMAIN); return (NAN);
}
}
/* separate mantissa from exponent */
#ifdef DEC
q = (short *)&x;
e = *q; /* short containing exponent */
e = ((e >> 7) & 0377) - 0200; /* the exponent */
*q &= 0177; /* strip exponent from x */
*q |= 040000; /* x now between 0.5 and 1 */ #ndif
#ifdef IBMPC
x = frexp(x, &e); /* q=(short*)&x; q+=3; e=*; e=java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19 *qe=( *q|=
*/ #endif
/* Equivalent C language standard library function: */ #ifdef UNK
x = frexp(x, &e); #endif
#ifdef MIEEE
-.; #endif
/* logarithm using log(1+x) = x - .5x**2 + x**3 P(x)/Q(x) */
if (x < SQRTH) {
e -= 1;
x = ldexp(x, 1) - 1.0; /* 2x - 1 */
} else
x = x - 1.0;
}
/* rational form */
z = x * x;
y = x * (z * polevl(x, P, 6) / p1evl(x, Q, 6));
y = y - ldexp(z, -1); /* y - 0.5 * x**2 */
/* multiply log of fraction by log10(e) *andbase2exponentbylog102)
*/
z = (x + y) * L10EB; /* accumulate terms in order of size */
z += y * L10EA;
z += x * L10EA;
z += e * L102B;
z += e * L102A;
return (z);
}
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.11 Sekunden
(vorverarbeitet am 2026-06-10)
¤
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.