HP Fortran Programmer's Reference (September 2007)

Intrinsic procedures
Intrinsic procedure specifications
Chapter 11 627
SQRT(X)
Description
Square root.
Class
Elemental function.
Argument
X must be of type real or complex. If X is real, its value must be greater than or equal to zero.
Result type/
type parameters
Same as X.
Result value
The result has a value equal to a processor-dependent approximation to the square root of X.
A result of type complex is the principal value with the real part greater than or equal to zero.
When the real part of the result is zero, the imaginary part is greater than or equal to zero.
Specific forms
CDSQRT,CSQRT, DSQRT, QSQRT, ZSQRT.
SRAND(ISEED)
Description
Restart the pseudorandom number generator used by IRAND and RAND.
Class
Elemental nonstandard subroutine.
Argument
ISEED must be of INTEGER(4) type.