Lines Matching refs:e
106 e_to_str(int e) in e_to_str() argument
108 if (e == 0) in e_to_str()
112 if (e == FE_DIVBYZERO) in e_to_str()
116 if (e == FE_OVERFLOW) in e_to_str()
120 if (e == FE_UNDERFLOW) in e_to_str()
124 if (e == FE_INEXACT) in e_to_str()
128 if (e == FE_INVALID) in e_to_str()
132 if (e == (FE_OVERFLOW|FE_INEXACT)) in e_to_str()
136 if (e == (FE_UNDERFLOW|FE_INEXACT)) in e_to_str()
140 sprintf(buf, "Invalid 0x%x", e); in e_to_str()
144 #define s(e) #e argument
147 report(char *expr, test_t v, int e, int exception, int oexception) in report() argument
150 e &= (my_inexact | my_divbyzero | my_underflow | my_overflow | my_invalid); in report()
156 printf(" got %s\n", e_to_str(e)); in report()
157 if (e == (exception) || in report()
158 (oexception && e == (oexception))) in report()
167 int e; \
171 e = fetestexcept(FE_ALL_EXCEPT); \
172 result += report(s(expr), v, e, exception, oexception); \