MIPS: ieee754.h: Correct comments for special values
authorMaciej W. Rozycki <macro@linux-mips.org>
Fri, 3 Apr 2015 22:24:01 +0000 (23:24 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 7 Apr 2015 23:08:41 +0000 (01:08 +0200)
IEEE754_SPCVAL_NMIN denotes the index into the special value array where
the closest to zero negative normal number expressible is stored.
Similarly IEEE754_SPCVAL_NMIND denotes such index for the closest to
zero negative subnormal number expressible.  Make comments match that.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/9670/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/math-emu/ieee754.h

index 43c4fb5..2d0df0e 100644 (file)
@@ -269,9 +269,9 @@ union ieee754dp ieee754dp_dump(char *s, union ieee754dp x);
 #define IEEE754_SPCVAL_PMAX    9       /* +max norm */
 #define IEEE754_SPCVAL_NMAX    10      /* -max norm */
 #define IEEE754_SPCVAL_PMIN    11      /* +min norm */
-#define IEEE754_SPCVAL_NMIN    12      /* +min norm */
+#define IEEE754_SPCVAL_NMIN    12      /* -min norm */
 #define IEEE754_SPCVAL_PMIND   13      /* +min denorm */
-#define IEEE754_SPCVAL_NMIND   14      /* +min denorm */
+#define IEEE754_SPCVAL_NMIND   14      /* -min denorm */
 #define IEEE754_SPCVAL_P1E31   15      /* + 1.0e31 */
 #define IEEE754_SPCVAL_P1E63   16      /* + 1.0e63 */