aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/math-emu/ieee754.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/math-emu/ieee754.c')
-rw-r--r--arch/mips/math-emu/ieee754.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/arch/mips/math-emu/ieee754.c b/arch/mips/math-emu/ieee754.c
index 30554e1c67b4..0015cf1989da 100644
--- a/arch/mips/math-emu/ieee754.c
+++ b/arch/mips/math-emu/ieee754.c
@@ -56,21 +56,21 @@
56#endif 56#endif
57 57
58const struct ieee754dp_konst __ieee754dp_spcvals[] = { 58const struct ieee754dp_konst __ieee754dp_spcvals[] = {
59 DPSTR(0, DP_EMIN - 1 + DP_EBIAS, 0, 0), /* + zero */ 59 DPSTR(0, DP_EMIN - 1 + DP_EBIAS, 0, 0), /* + zero */
60 DPSTR(1, DP_EMIN - 1 + DP_EBIAS, 0, 0), /* - zero */ 60 DPSTR(1, DP_EMIN - 1 + DP_EBIAS, 0, 0), /* - zero */
61 DPSTR(0, DP_EBIAS, 0, 0), /* + 1.0 */ 61 DPSTR(0, DP_EBIAS, 0, 0), /* + 1.0 */
62 DPSTR(1, DP_EBIAS, 0, 0), /* - 1.0 */ 62 DPSTR(1, DP_EBIAS, 0, 0), /* - 1.0 */
63 DPSTR(0, 3 + DP_EBIAS, 0x40000, 0), /* + 10.0 */ 63 DPSTR(0, 3 + DP_EBIAS, 0x40000, 0), /* + 10.0 */
64 DPSTR(1, 3 + DP_EBIAS, 0x40000, 0), /* - 10.0 */ 64 DPSTR(1, 3 + DP_EBIAS, 0x40000, 0), /* - 10.0 */
65 DPSTR(0, DP_EMAX + 1 + DP_EBIAS, 0, 0), /* + infinity */ 65 DPSTR(0, DP_EMAX + 1 + DP_EBIAS, 0, 0), /* + infinity */
66 DPSTR(1, DP_EMAX + 1 + DP_EBIAS, 0, 0), /* - infinity */ 66 DPSTR(1, DP_EMAX + 1 + DP_EBIAS, 0, 0), /* - infinity */
67 DPSTR(0, DP_EMAX+1+DP_EBIAS, 0x7FFFF, 0xFFFFFFFF), /* + indef quiet Nan */ 67 DPSTR(0, DP_EMAX+1+DP_EBIAS, 0x7FFFF, 0xFFFFFFFF), /* + indef quiet Nan */
68 DPSTR(0, DP_EMAX + DP_EBIAS, 0xFFFFF, 0xFFFFFFFF), /* + max */ 68 DPSTR(0, DP_EMAX + DP_EBIAS, 0xFFFFF, 0xFFFFFFFF), /* + max */
69 DPSTR(1, DP_EMAX + DP_EBIAS, 0xFFFFF, 0xFFFFFFFF), /* - max */ 69 DPSTR(1, DP_EMAX + DP_EBIAS, 0xFFFFF, 0xFFFFFFFF), /* - max */
70 DPSTR(0, DP_EMIN + DP_EBIAS, 0, 0), /* + min normal */ 70 DPSTR(0, DP_EMIN + DP_EBIAS, 0, 0), /* + min normal */
71 DPSTR(1, DP_EMIN + DP_EBIAS, 0, 0), /* - min normal */ 71 DPSTR(1, DP_EMIN + DP_EBIAS, 0, 0), /* - min normal */
72 DPSTR(0, DP_EMIN - 1 + DP_EBIAS, 0, 1), /* + min denormal */ 72 DPSTR(0, DP_EMIN - 1 + DP_EBIAS, 0, 1), /* + min denormal */
73 DPSTR(1, DP_EMIN - 1 + DP_EBIAS, 0, 1), /* - min denormal */ 73 DPSTR(1, DP_EMIN - 1 + DP_EBIAS, 0, 1), /* - min denormal */
74 DPSTR(0, 31 + DP_EBIAS, 0, 0), /* + 1.0e31 */ 74 DPSTR(0, 31 + DP_EBIAS, 0, 0), /* + 1.0e31 */
75 DPSTR(0, 63 + DP_EBIAS, 0, 0), /* + 1.0e63 */ 75 DPSTR(0, 63 + DP_EBIAS, 0, 0), /* + 1.0e63 */
76}; 76};
@@ -84,9 +84,9 @@ const struct ieee754sp_konst __ieee754sp_spcvals[] = {
84 SPSTR(1, 3 + SP_EBIAS, 0x200000), /* - 10.0 */ 84 SPSTR(1, 3 + SP_EBIAS, 0x200000), /* - 10.0 */
85 SPSTR(0, SP_EMAX + 1 + SP_EBIAS, 0), /* + infinity */ 85 SPSTR(0, SP_EMAX + 1 + SP_EBIAS, 0), /* + infinity */
86 SPSTR(1, SP_EMAX + 1 + SP_EBIAS, 0), /* - infinity */ 86 SPSTR(1, SP_EMAX + 1 + SP_EBIAS, 0), /* - infinity */
87 SPSTR(0, SP_EMAX+1+SP_EBIAS, 0x3FFFFF), /* + indef quiet Nan */ 87 SPSTR(0, SP_EMAX+1+SP_EBIAS, 0x3FFFFF), /* + indef quiet Nan */
88 SPSTR(0, SP_EMAX + SP_EBIAS, 0x7FFFFF), /* + max normal */ 88 SPSTR(0, SP_EMAX + SP_EBIAS, 0x7FFFFF), /* + max normal */
89 SPSTR(1, SP_EMAX + SP_EBIAS, 0x7FFFFF), /* - max normal */ 89 SPSTR(1, SP_EMAX + SP_EBIAS, 0x7FFFFF), /* - max normal */
90 SPSTR(0, SP_EMIN + SP_EBIAS, 0), /* + min normal */ 90 SPSTR(0, SP_EMIN + SP_EBIAS, 0), /* + min normal */
91 SPSTR(1, SP_EMIN + SP_EBIAS, 0), /* - min normal */ 91 SPSTR(1, SP_EMIN + SP_EBIAS, 0), /* - min normal */
92 SPSTR(0, SP_EMIN - 1 + SP_EBIAS, 1), /* + min denormal */ 92 SPSTR(0, SP_EMIN - 1 + SP_EBIAS, 1), /* + min denormal */