From 447e8b9e2edd9e5d65df568caa13654240375ba4 Mon Sep 17 00:00:00 2001 From: vlefevre Date: Thu, 30 Jul 2015 09:41:37 +0000 Subject: [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 --- src/next.c | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.2.1