From: James Smaby Date: Tue, 10 Jul 2001 09:41:04 +0000 (+0000) Subject: intdoc.in: Fix the definition of COMPLEX ABS. X-Git-Tag: prereleases/libstdc++-3.0.95~3378 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1a74aab130d2886f81abcf230d0cb30abab09701;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog index 2c1726143fa9..ef3f81bc6bec 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 565b771c4fa4..f702fa10b72a 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 a34f700570d8..6165e442bb35 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