diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2002-04-24 10:23:42 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2002-04-24 10:23:42 +0000 |
commit | 7e7846bc7fa661d70e948d8a64ba4449dd69c5ca (patch) | |
tree | cecaae5699ffe0a175aab281d7a2fa352b710e1f /mpfr.texi | |
parent | b70bfd06cc49a4fc52c3ee5d456ae69855841648 (diff) | |
download | mpfr-7e7846bc7fa661d70e948d8a64ba4449dd69c5ca.tar.gz |
mpfr_cmp_abs no longer an internal function and described in mpfr.texi.
In mpfr.texi, a @var{} was forgotten.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1914 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'mpfr.texi')
-rw-r--r-- | mpfr.texi | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -1055,7 +1055,22 @@ It is not allowed that one of the operands is NaN (Not-a-Number). Compare @var{op1} and @var{op2} multiplied by two to the power @var{e}. @end deftypefun -@deftypefun int mpfr_eq (mpfr_t @var{op1}, mpfr_t @var{op2}, unsigned long int op3) +@deftypefun int mpfr_cmp_abs (mpfr_t @var{op1}, mpfr_t @var{op2}) +@ifinfo +Compare |@var{op1}| and |@var{op2}|. Return a positive value if +|@var{op1}| > |@var{op2}|, zero if |@var{op1}| = |@var{op2}|, and +a negative value if |@var{op1}| < |@var{op2}|. +@end ifinfo +@tex +Compare $|@var{op1}|$ and $|@var{op2}|$. Return a positive value if +$|@var{op1}| > |@var{op2}|$, zero if $|@var{op1}| = |@var{op2}|$, and +a negative value if $|@var{op1}| < |@var{op2}|$. +@end tex +It is not allowed that one of the operands is NaN (Not-a-Number) or an +infinity. +@end deftypefun + +@deftypefun int mpfr_eq (mpfr_t @var{op1}, mpfr_t @var{op2}, unsigned long int @var{op3}) Return non-zero if the first @var{op3} bits of @var{op1} and @var{op2} are equal, zero otherwise. I.e., tests if @var{op1} and @var{op2} are approximately equal. |