H A D | fma_test.c | 52 #define test(func, x, y, z, result, exceptmask, excepts) do { \ argument 53 volatile long double _vx = (x), _vy = (y), _vz = (z); \ 57 #func, #x); \ 60 #define testall(x, y, z, result, exceptmask, excepts) do { \ argument 61 test(fma, (double)(x), (double)(y), (double)(z), \ 63 test(fmaf, (float)(x), (float)(y), (float)(z), \ 65 test(fmal, (x), (y), (z), (result), (exceptmask), (excepts)); \ 69 #define testrnd(func, x, y, z, rn, ru, rd, rz, exceptmask, excepts) do { \ argument 71 test((func), (x), (y), (z), (rn), (exceptmask), (excepts)); \ 73 test((func), (x), (y), (z), (ru), (exceptmask), (excepts)); \ [all …]
|