Lines Matching defs:test

44 #define	test(func, x, result, excepts)	do {				\
52 test(lround, x, result, excepts); \
53 test(lroundf, x, result, excepts); \
54 test(llround, x, result, excepts); \
55 test(llroundf, x, result, excepts); \
79 test(lround, 0x7fffffff.8p0, IGNORE, FE_INVALID);
80 test(lround, -0x80000000.8p0, IGNORE, FE_INVALID);
81 test(lround, 0x80000000.0p0, IGNORE, FE_INVALID);
82 test(lround, 0x7fffffff.4p0, 0x7fffffffl, FE_INEXACT);
83 test(lround, -0x80000000.4p0, -0x80000000l, FE_INEXACT);
84 test(lroundf, 0x80000000.0p0f, IGNORE, FE_INVALID);
85 test(lroundf, 0x7fffff80.0p0f, 0x7fffff80l, 0);
87 test(lround, 0x8000000000000000.0p0, IGNORE, FE_INVALID);
88 test(lroundf, 0x8000000000000000.0p0f, IGNORE, FE_INVALID);
89 test(lround, 0x7ffffffffffffc00.0p0, 0x7ffffffffffffc00l, 0);
90 test(lroundf, 0x7fffff8000000000.0p0f, 0x7fffff8000000000l, 0);
91 test(lround, -0x8000000000000800.0p0, IGNORE, FE_INVALID);
92 test(lroundf, -0x8000010000000000.0p0f, IGNORE, FE_INVALID);
93 test(lround, -0x8000000000000000.0p0, -0x8000000000000000l, 0);
94 test(lroundf, -0x8000000000000000.0p0f, -0x8000000000000000l, 0);
100 test(llround, 0x8000000000000000.0p0, IGNORE, FE_INVALID);
101 test(llroundf, 0x8000000000000000.0p0f, IGNORE, FE_INVALID);
102 test(llround, 0x7ffffffffffffc00.0p0, 0x7ffffffffffffc00ll, 0);
103 test(llroundf, 0x7fffff8000000000.0p0f, 0x7fffff8000000000ll, 0);
104 test(llround, -0x8000000000000800.0p0, IGNORE, FE_INVALID);
105 test(llroundf, -0x8000010000000000.0p0f, IGNORE, FE_INVALID);
106 test(llround, -0x8000000000000000.0p0, -0x8000000000000000ll, 0);
107 test(llroundf, -0x8000000000000000.0p0f, -0x8000000000000000ll, 0);