dprod(3I)
DPROD, QPROD - Computes double-precision or quad-precision product of two real numbers
As shipped in IRIX 6.5.22. Last changed in IRIX 6.5.19.
NAME DPROD, QPROD - Computes double-precision or quad-precision product of two real numbers SYNOPSIS DPROD ([X=]x,[Y=]y) QPROD ([X=]x,[Y=]y) STANDARDS Fortran Fortran extension: QPROD DESCRIPTION DPROD returns the double-precision real product of its two real arguments. QPROD returns the quad-precision real product of its two real arguments. These are elemental functions. They accept 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. The terms single precision, double precision, and quad precision differ depending on your platform. For platform-specific information, see the TERMINOLOGY section of the INTRO_INTRIN(3I) man page. 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. QPROD returns the quad-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).