MIPS: ieee754.h: Supplement comments for special values

Add the remaining missing comments for IEEE 754 special value array
indices.  Reindent macro definitions for consistency.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/9671/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
Maciej W. Rozycki 2015-04-03 23:24:09 +01:00 коммит произвёл Ralf Baechle
Родитель b3fea96269
Коммит 1796ec7742
1 изменённых файлов: 17 добавлений и 17 удалений

Просмотреть файл

@ -257,15 +257,15 @@ static inline int ieee754_sxtest(unsigned n)
union ieee754sp ieee754sp_dump(char *s, union ieee754sp x);
union ieee754dp ieee754dp_dump(char *s, union ieee754dp x);
#define IEEE754_SPCVAL_PZERO 0
#define IEEE754_SPCVAL_NZERO 1
#define IEEE754_SPCVAL_PONE 2
#define IEEE754_SPCVAL_NONE 3
#define IEEE754_SPCVAL_PTEN 4
#define IEEE754_SPCVAL_NTEN 5
#define IEEE754_SPCVAL_PINFINITY 6
#define IEEE754_SPCVAL_NINFINITY 7
#define IEEE754_SPCVAL_INDEF 8
#define IEEE754_SPCVAL_PZERO 0 /* +0.0 */
#define IEEE754_SPCVAL_NZERO 1 /* -0.0 */
#define IEEE754_SPCVAL_PONE 2 /* +1.0 */
#define IEEE754_SPCVAL_NONE 3 /* -1.0 */
#define IEEE754_SPCVAL_PTEN 4 /* +10.0 */
#define IEEE754_SPCVAL_NTEN 5 /* -10.0 */
#define IEEE754_SPCVAL_PINFINITY 6 /* +inf */
#define IEEE754_SPCVAL_NINFINITY 7 /* -inf */
#define IEEE754_SPCVAL_INDEF 8 /* quiet NaN */
#define IEEE754_SPCVAL_PMAX 9 /* +max norm */
#define IEEE754_SPCVAL_NMAX 10 /* -max norm */
#define IEEE754_SPCVAL_PMIN 11 /* +min norm */