diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2015-07-30 09:41:37 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2015-07-30 09:41:37 +0000 |
commit | 447e8b9e2edd9e5d65df568caa13654240375ba4 (patch) | |
tree | 11bf7aaa5e7d1ec94884bcfdf96bbde71f5fb550 /src | |
parent | c00d280de35cae927ec6fe90bb4e7c5a7238082d (diff) | |
download | mpfr-447e8b9e2edd9e5d65df568caa13654240375ba4.tar.gz |
[src/next.c] Added a note concerning the exceptions.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9636 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src')
-rw-r--r-- | src/next.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/next.c b/src/next.c index 8703fa8e5..dcfd771d9 100644 --- a/src/next.c +++ b/src/next.c @@ -21,6 +21,12 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */ +/* Note concerning the exceptions: In case of NaN result, the NaN flag is + * set as usual. No underflow or overflow is generated (this contradicts + * the obsolete IEEE 754-1985 standard for Nextafter, but conforms to the + * current standard IEEE 754-2008 for nextUp and nextDown). + */ + #include "mpfr-impl.h" void |