From 1a74aab130d2886f81abcf230d0cb30abab09701 Mon Sep 17 00:00:00 2001 From: James Smaby Date: Tue, 10 Jul 2001 09:41:04 +0000 Subject: [PATCH] intdoc.in: Fix the definition of COMPLEX ABS. 2001-07-10 James Smaby * intdoc.in: Fix the definition of COMPLEX ABS. Remove `the' where inappropriate. * intdoc.texi: Rebuilt. From-SVN: r43892 --- gcc/f/ChangeLog | 6 ++++++ gcc/f/intdoc.in | 4 ++-- gcc/f/intdoc.texi | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog index 2c17261..ef3f81b 100644 --- a/gcc/f/ChangeLog +++ b/gcc/f/ChangeLog @@ -1,3 +1,9 @@ +2001-07-10 James Smaby + + * intdoc.in: Fix the definition of COMPLEX ABS. + Remove `the' where inappropriate. + * intdoc.texi: Rebuilt. + 2001-07-04 Joseph S. Myers * g77.texi: Use gpl.texi and funding.texi. Remove Look and Feel diff --git a/gcc/f/intdoc.in b/gcc/f/intdoc.in index 565b771..f702fa1 100644 --- a/gcc/f/intdoc.in +++ b/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 diff --git a/gcc/f/intdoc.texi b/gcc/f/intdoc.texi index a34f700..6165e44 100644 --- a/gcc/f/intdoc.texi +++ b/gcc/f/intdoc.texi @@ -868,11 +868,11 @@ If @var{A} is type @code{COMPLEX}, the absolute value is computed as: @example -SQRT(REALPART(@var{A})**2, IMAGPART(@var{A})**2) +SQRT(REALPART(@var{A})**2+IMAGPART(@var{A})**2) @end example @noindent -Otherwise, it is computed by negating the @var{A} if +Otherwise, it is computed by negating @var{A} if it is negative, or returning @var{A}. @xref{Sign Intrinsic}, for how to explicitly -- 2.7.4