INtime SDK Help
log, log10

Log calculates the natural logarithm of a value and log10 calculates the base-10 logarithm.

#include <math.h>

double log (double x);

double log10 (double x);

Parameters

x
Value to find logarithm for.

Return Values

The logarithm of the argument x.
Success.
-HUGE_VAL if x is negative; the function prints a DOMAIN error message to stderr and sets errno to EDOM.
-HUGE_VAL if x is 0; the function prints a SING error message to stderr and sets errno to ERANGE.
Failure.

These functions do not return standard ANSI domain or range errors.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/rt/include/math.h math.h clib.lib

See Also

exp, matherr, pow