From: Thomas Schwinge Date: Tue, 19 Feb 2013 11:20:43 +0000 (+0100) Subject: Align to generic file. X-Git-Tag: upstream/2.30~9490 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2636ffe65438af689e12b7977fe8609a6ca07c90;p=external%2Fglibc.git Align to generic file. --- diff --git a/ports/ChangeLog.mips b/ports/ChangeLog.mips index c07bf97..e7f65d7 100644 --- a/ports/ChangeLog.mips +++ b/ports/ChangeLog.mips @@ -1,3 +1,7 @@ +2013-02-20 Thomas Schwinge + + * sysdeps/mips/bits/nan.h: Align to generic IEEE 754 file. + 2013-02-19 Joseph Myers [BZ #14920] diff --git a/ports/sysdeps/mips/bits/nan.h b/ports/sysdeps/mips/bits/nan.h index ffbb3b5..af168ce 100644 --- a/ports/sysdeps/mips/bits/nan.h +++ b/ports/sysdeps/mips/bits/nan.h @@ -1,4 +1,4 @@ -/* `NAN' constant for IEEE 754 machines. +/* `NAN' constant for IEEE 754 machines. MIPS version. Copyright (C) 1992-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -13,7 +13,7 @@ Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library. If not, see + License along with the GNU C Library; if not, see . */ #ifndef _MATH_H @@ -21,20 +21,21 @@ #endif -/* IEEE Not A Number (QNaN). Note that MIPS has the QNaN and SNaN patterns - reversed compared to most other architectures. The IEEE spec left - the definition of this open to implementations, and for MIPS the top - bit of the mantissa must be SET to indicate a SNaN. */ +/* IEEE Not A Number. */ +/* Note that MIPS has the QNaN and SNaN patterns reversed compared to most + other architectures. The IEEE spec left the definition of this open to + implementations, and for MIPS the top bit of the mantissa must be SET to + indicate a SNaN. */ #if __GNUC_PREREQ(3,3) -# define NAN (__builtin_nanf("")) +# define NAN (__builtin_nanf ("")) #elif defined __GNUC__ # define NAN \ - (__extension__ \ - ((union { unsigned __l __attribute__((__mode__(__SI__))); float __d; }) \ + (__extension__ \ + ((union { unsigned __l __attribute__ ((__mode__ (__SI__))); float __d; }) \ { __l: 0x7fbfffffUL }).__d) #else