* m4/isnanf.m4 (gl_ISNANF_WORKS): Fix one of the NaN tests.
+2020-12-20 Bruno Haible <bruno@clisp.org>
+
+ isnanf: Fix autoconf test.
+ * m4/isnanf.m4 (gl_ISNANF_WORKS): Fix one of the NaN tests.
+
2020-12-20 Bruno Haible <bruno@clisp.org>
Remove some of the support for obsolete IRIX 4 and 5.
-# isnanf.m4 serial 17
+# isnanf.m4 serial 18
dnl Copyright (C) 2007-2020 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
m.value = NaN ();
/* Set the bits below the exponent to 01111...111. */
m.word[0] &= -1U << FLT_EXPBIT0_BIT;
- m.word[0] |= 1U << (FLT_EXPBIT0_BIT - 1) - 1;
+ m.word[0] |= (1U << (FLT_EXPBIT0_BIT - 1)) - 1;
if (!isnanf (m.value))
result |= 4;
}