log10

Date:

10-12-2011

NAME

LOG10, ALOG10, DLOG10 - Computes the common logarithm (base 10) of x

SYNOPSIS

LOG10 ([X=]x)
ALOG10 ([X=]x)
DLOG10 ([X=]x)

IMPLEMENTATION

Cray Linux Environment (CLE)

STANDARDS

Fortran

DESCRIPTION

LOG10 is the generic function name; the others are specifics. These are elemental intrinsic functions. These functions accept the following argument:

x

Must be type single precision or double precision. See the RETURN VALUES section for information on input data types and return values.

These functions evaluate y = log10(x).

Vector versions of these intrinsics exist.

NOTES

The ALOG10 and DLOG10 intrinsic function names can be passed as arguments; the others cannot.

The following return values occur:

  • ALOG10(0) yields -infinity.

  • ALOG10(-0) yields NaN.

  • If -infinity <= x < 0, ALOG10(x) yields NaN.

  • ALOG10(infinity) yields infinity.

Note: The log10() function has a Linux-equivalent name. Use the man -aname option to show all manual pages matching name within the MANPATH search path. Manual pages are displayed in the order found.

RETURN VALUES

LOG10 returns the real logarithm of its argument. The generic function LOG10 becomes a call to ALOG10, or DLOG10 depending on the data type and kind of its argument.

ALOG10 returns the real common logarithm of its real argument.

DLOG10 returns the double-precision common logarithm of its double-precision argument.