Lines Matching refs:num
29 inline constexpr static int num() { return N; } in num() function
39 static_assert(c2_const_checker<min_i32_i32>::num() == 1, "should be 1");
40 static_assert(c2_const_checker<min_i32_i64>::num() == 2, "should be 2");
41 static_assert(c2_const_checker<min_i8_i32>::num() == 0xffffffff, "should be 0xffffffff");
50 static_assert(c2_const_checker<min_u32_u32>::num() == 1, "should be 1");
51 static_assert(c2_const_checker<min_u32_u64>::num() == 2, "should be 2");
52 static_assert(c2_const_checker<min_u32_u8>::num() == 0xff, "should be 0xff");
61 static_assert(c2_const_checker<max_i32_i32>::num() == 2, "should be 2");
62 static_assert(c2_const_checker<max_i32_i64>::num() == 3, "should be 3");
63 static_assert(c2_const_checker<max_i8_i32>::num() == 0xffffffff, "should be 0xffffffff");
72 static_assert(c2_const_checker<max_u32_u32>::num() == 2, "should be 2");
73 static_assert(c2_const_checker<max_u32_u64>::num() == 3, "should be 3");
74 static_assert(c2_const_checker<max_u32_u8>::num() == 0x7fffffff, "should be 0x7fffffff");