aboutsummaryrefslogtreecommitdiff
path: root/contrib/gcc/f/intdoc.in
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/f/intdoc.in')
-rw-r--r--contrib/gcc/f/intdoc.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/gcc/f/intdoc.in b/contrib/gcc/f/intdoc.in
index 565b771c4fa4..f702fa10b72a 100644
--- a/contrib/gcc/f/intdoc.in
+++ b/contrib/gcc/f/intdoc.in
@@ -55,11 +55,11 @@ If @var{@1@} is type @code{COMPLEX}, the absolute
value is computed as:
@example
-SQRT(REALPART(@var{@1@})**2, IMAGPART(@var{@1@})**2)
+SQRT(REALPART(@var{@1@})**2+IMAGPART(@var{@1@})**2)
@end example
@noindent
-Otherwise, it is computed by negating the @var{@1@} if
+Otherwise, it is computed by negating @var{@1@} if
it is negative, or returning @var{@1@}.
@xref{Sign Intrinsic}, for how to explicitly