From 783f93b38a3d8264f81fb1b303c11c9e9cd9c27e Mon Sep 17 00:00:00 2001 From: zimmerma Date: Thu, 21 Dec 2000 17:07:12 +0000 Subject: updated description of mpfr_cmp* and mpfr_sin_cos git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@924 280ebfd0-de03-0410-8827-d642c229c3f4 --- mpfr.texi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mpfr.texi b/mpfr.texi index 6e1c3f2e7..830a4a53c 100644 --- a/mpfr.texi +++ b/mpfr.texi @@ -869,6 +869,8 @@ Both @var{op1} and @var{op2} are considered to their full own precision, which may differ. In case @var{op1} and @var{op2} are of same sign but different, the absolute value returned is one plus the absolute difference of their exponents. +In case one of the operands is NaN (Not-a-Number), it returns 1, even if +both are NaN. @end deftypefun @deftypefun int mpfr_cmp_ui_2exp (mpfr_t @var{op1}, unsigned long int @var{op2}, int @var{e}) @@ -945,6 +947,7 @@ i.e. the result is 1). @deftypefun int mpfr_sin_cos (mpfr_t @var{sop}, mpfr_t @var{cop}, mpfr_t @var{op}, mp_rnd_t @var{rnd}) Set @var{sop} to the sinus of @var{op}, @var{cop} to the cosinus of @var{op}, rounded to the direction @var{rnd} with the precision of @var{rop}. +@var{sop} and @var{cop} must be different variables. Return 0 iff the results are exact (this occurs in fact only when @var{op} is 0 i.e. the sine is 0 and the cosine is 1). @end deftypefun -- cgit v1.2.1