[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
isnand: fix mistake
From: |
Bruno Haible |
Subject: |
isnand: fix mistake |
Date: |
Fri, 31 Dec 2010 14:57:20 +0100 |
User-agent: |
KMail/1.9.9 |
This fixes a mistake in the isnand module, introduced on 2008-07-12.
GCC 4.x has the builtins __builtin_isnanf, __builtin_isnanl, and
__builtin_isnan, but no __builtin_isnand.
2010-12-31 Bruno Haible <address@hidden>
isnand: Fix mistake.
* m4/isnand.m4 (gl_HAVE_ISNAND_IN_LIBM): Use __builtin_isnan, not
__builtin_isnand.
--- m4/isnand.m4.orig Fri Dec 31 14:45:42 2010
+++ m4/isnand.m4 Fri Dec 31 14:44:33 2010
@@ -1,4 +1,4 @@
-# isnand.m4 serial 7
+# isnand.m4 serial 8
dnl Copyright (C) 2007-2010 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -63,7 +63,7 @@
[[#include <math.h>
#if __GNUC__ >= 4
# undef isnand
- # define isnand(x) __builtin_isnand ((double)(x))
+ # define isnand(x) __builtin_isnan ((double)(x))
#elif defined isnan
# undef isnand
# define isnand(x) isnan ((double)(x))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- isnand: fix mistake,
Bruno Haible <=