Lines Matching refs:ans
46 #define test(exp, ans, ex) do { \
47 double __ans = (ans); \
51 #define testf(exp, ans, ex) do { \
52 float __ans = (ans); \
56 #define testl(exp, ans, ex) do { \
57 long double __ans = (ans); \
61 #define testboth(arg1, arg2, ans, ex, prec) do { \
62 test##prec(nextafter##prec((arg1), (arg2)), (ans), (ex)); \
63 test##prec(nexttoward##prec((arg1), (arg2)), (ans), (ex)); \
65 #define testall(arg1, arg2, ans, ex) do { \
66 testboth((arg1), (arg2), (ans), (ex), ); \
67 testboth((arg1), (arg2), (ans), (ex), f); \
68 testboth((arg1), (arg2), (ans), (ex), l); \