2 tstdi-1.c from the execute part of the gcc torture tests.
9 #if 0 // TODO: enable when SDCC supports K&R-style
65 testTortureExecute (void)
68 if (feq (0LL) != TRUE
)
70 if (feq (-1LL) != FALSE
)
72 if (feq (0x8000000000000000LL
) != FALSE
)
74 if (feq (0x8000000000000001LL
) != FALSE
)
76 if (feq (1LL) != FALSE
)
78 if (feq (0x7fffffffffffffffLL
) != FALSE
)
81 if (fne (0LL) != FALSE
)
83 if (fne (-1LL) != TRUE
)
85 if (fne (0x8000000000000000LL
) != TRUE
)
87 if (fne (0x8000000000000001LL
) != TRUE
)
89 if (fne (1LL) != TRUE
)
91 if (fne (0x7fffffffffffffffLL
) != TRUE
)
94 if (flt (0LL) != FALSE
)
96 if (flt (-1LL) != TRUE
)
98 if (flt (0x8000000000000000LL
) != TRUE
)
100 if (flt (0x8000000000000001LL
) != TRUE
)
102 if (flt (1LL) != FALSE
)
104 if (flt (0x7fffffffffffffffLL
) != FALSE
)
107 if (fge (0LL) != TRUE
)
109 if (fge (-1LL) != FALSE
)
111 if (fge (0x8000000000000000LL
) != FALSE
)
113 if (fge (0x8000000000000001LL
) != FALSE
)
115 if (fge (1LL) != TRUE
)
117 if (fge (0x7fffffffffffffffLL
) != TRUE
)
120 if (fgt (0LL) != FALSE
)
122 if (fgt (-1LL) != FALSE
)
124 if (fgt (0x8000000000000000LL
) != FALSE
)
126 if (fgt (0x8000000000000001LL
) != FALSE
)
128 if (fgt (1LL) != TRUE
)
130 if (fgt (0x7fffffffffffffffLL
) != TRUE
)
133 if (fle (0LL) != TRUE
)
135 if (fle (-1LL) != TRUE
)
137 if (fle (0x8000000000000000LL
) != TRUE
)
139 if (fle (0x8000000000000001LL
) != TRUE
)
141 if (fle (1LL) != FALSE
)
143 if (fle (0x7fffffffffffffffLL
) != FALSE
)