Lines Matching refs:assert
35 #include <assert.h>
56 * These are macros instead of functions so that assert provides more
64 assert(feclearexcept(FE_ALL_EXCEPT) == 0); \
65 assert(fpequal((func)(_d), (result))); \
66 assert(((void)(func), fetestexcept(exceptmask) == (excepts))); \
71 assert(feclearexcept(FE_ALL_EXCEPT) == 0); \
72 assert(fpequal((func)(_d), (result))); \
73 assert(((void)(func), fetestexcept(exceptmask) == (excepts))); \
79 assert(fpequal_tol((func)(_d), (result), (tol), CS_BOTH)); \
140 assert(feclearexcept(FE_ALL_EXCEPT) == 0);
142 assert(log2f(ldexpf(1.0, i)) == i);
143 assert(fetestexcept(ALL_STD_EXCEPT) == 0);
146 assert(log2(ldexp(1.0, i)) == i);
147 assert(fetestexcept(ALL_STD_EXCEPT) == 0);
150 assert(log2l(ldexpl(1.0, i)) == i);
153 assert(fetestexcept(ALL_STD_EXCEPT) == 0);