Top: f77 Up: 11 - Intrinsic_Procedures
Previous: 11,82 - SNGL Next: 11,84 - TAN
Section 11,83: SQRT
SQRT (number)
A function that returns the square root of the argument.
+------+---------+----------+------------+-------------+
| Args | Generic | Specific | Argument | Result Type |
+------+---------+----------+------------+-------------+
| 1 | SQRT | SQRT | REAL*4 | REAL*4 |
| | | DSQRT | REAL*8 | REAL*8 |
| |see note | QSQRT | REAL*16 | REAL*16 |
| | | CSQRT | COMPLEX*8 | COMPLEX*8 |
| | | CDSQRT | COMPLEX*16 | COMPLEX*8 |
| | | ZSQRT | COMPLEX*16 | COMPLEX*8 |
+------+---------+----------+------------+-------------+
NOTE: QSQRT is not available in DEC Fortran.
The argument for SQRT, DSQRT, and QSQRT must be greater than or
equal to zero. The result of CSQRT, CDSQRT, and ZSQRT is the
principal value, with the real part greater than or equal to zero.
If the real part is zero, the result is the principal value, with
the imaginary part greater than or equal to zero.
Top: f77 Up: 11 - Intrinsic_Procedures
Previous: 11,82 - SNGL Next: 11,84 - TAN