dprod

Date:

10-12-2011

NAME

DPROD - Computes double-precision product of two real numbers

SYNOPSIS

DPROD ([X=]x,[Y=]y)

IMPLEMENTATION

Cray Linux Environment (CLE)

STANDARDS

Fortran

DESCRIPTION

DPROD returns the double-precision real product of its two real arguments. This is an elemental function that accepts the following arguments:

x

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

y

Must be of the same type and kind type as x.

These functions evaluate y = x * y.

RETURN VALUES

DPROD returns the double-precision real product of two real arguments.

NOTES

The name of this intrinsic can be passed as an argument.

EXAMPLES

The following program calls DPROD to compute the double-precision product of the two real numbers 5.0 and 6.0:

PROGRAM DOUBT
REAL X,Y
DOUBLE PRECISION Z
X=5.0
Y=6.0
Z=DPROD(X,Y)
PRINT *, Z
STOP
END

The preceding program gives Z to be the double-precision number 30.0 (or in Fortran, 30.D0).