Lines Matching refs:rd
72 #define testrnd(func, x, y, z, rn, ru, rd, rz, exceptmask, excepts) do { \
78 test((func), (x), (y), (z), (rd), (exceptmask), (excepts)); \
92 const int rd = (fegetround() == FE_DOWNWARD);
99 testall(-0.0, 0.0, 0.0, rd ? -0.0 : 0.0, ALL_STD_EXCEPT, 0);
100 testall(0.0, -0.0, 0.0, rd ? -0.0 : 0.0, ALL_STD_EXCEPT, 0);
102 testall(0.0, 0.0, -0.0, rd ? -0.0 : 0.0, ALL_STD_EXCEPT, 0);
103 testall(-0.0, -0.0, -0.0, rd ? -0.0 : 0.0, ALL_STD_EXCEPT, 0);
108 testall(-one, one, one, rd ? -0.0 : 0.0, ALL_STD_EXCEPT, 0);
109 testall(one, -one, one, rd ? -0.0 : 0.0, ALL_STD_EXCEPT, 0);
110 testall(-one, -one, -one, rd ? -0.0 : 0.0, ALL_STD_EXCEPT, 0);