diff options
author | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2011-01-07 18:57:05 +0000 |
---|---|---|
committer | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2011-01-07 18:57:05 +0000 |
commit | 33785e1f8a2cb7668fbf747ef85c4bbb4c4fc852 (patch) | |
tree | 4bceed00193e60190dbcbdba49f965294220cfaf /doc | |
parent | f1a9107dda88b31be61bc869b3f3dfb8a8e667d4 (diff) | |
download | mpc-33785e1f8a2cb7668fbf747ef85c4bbb4c4fc852.tar.gz |
mpc.h, mpc.texi:
defined and documented return value for functions computing two results
It is obtained from the macro
MPC_INEX12 (inex1, inex2)
and decomposed again as
MPC_INEX1 (inex) and MPC_INEX2 (inex)
sin_cos.c, sin.c, cos.c:
First steps to moving the computation of sin and cos into sin_cos:
If one of rop_cos or rop_sin in sin_cos is NULL, then it is not computed.
So far, implemented for special, real and purely imaginary values.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@857 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'doc')
-rw-r--r-- | doc/mpc.texi | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/mpc.texi b/doc/mpc.texi index 99b9ea7..ccccdb6 100644 --- a/doc/mpc.texi +++ b/doc/mpc.texi @@ -1,6 +1,6 @@ \input texinfo @ignore -Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Andreas Enge, Philippe Th\'eveny, Paul Zimmermann +Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Andreas Enge, Philippe Th\'eveny, Paul Zimmermann This file is part of the MPC Library. @@ -452,6 +452,11 @@ return an integer that is 0, positive or negative depending on whether the rounded value is the same, larger or smaller then the exact result. +Some functions, such as @code{mpc_sin_cos}, compute two complex results; +the macros @code{MPC_INEX1(i)} and @code{MPC_INEX2(i)}, applied to +the return value @code{i} of such a function, yield the exactness value +corresponding to the first or the second computed value, respectively. + @section Branch Cuts And Special Values |