Lines Matching refs:ToNative
53 static __uint128_t ToNative(U128 n) { in ToNative() function
65 TEST(ToNative(m) == x); in TestVsNative()
66 TEST(ToNative(n) == y); in TestVsNative()
67 TEST(ToNative(~m) == ~x); in TestVsNative()
68 TEST(ToNative(-m) == -x); in TestVsNative()
69 TEST(ToNative(!m) == !x); in TestVsNative()
70 TEST(ToNative(m < n) == (x < y)); in TestVsNative()
71 TEST(ToNative(m <= n) == (x <= y)); in TestVsNative()
72 TEST(ToNative(m == n) == (x == y)); in TestVsNative()
73 TEST(ToNative(m != n) == (x != y)); in TestVsNative()
74 TEST(ToNative(m >= n) == (x >= y)); in TestVsNative()
75 TEST(ToNative(m > n) == (x > y)); in TestVsNative()
76 TEST(ToNative(m & n) == (x & y)); in TestVsNative()
77 TEST(ToNative(m | n) == (x | y)); in TestVsNative()
78 TEST(ToNative(m ^ n) == (x ^ y)); in TestVsNative()
80 TEST(ToNative(m << n) == (x << y)); in TestVsNative()
81 TEST(ToNative(m >> n) == (x >> y)); in TestVsNative()
83 TEST(ToNative(m + n) == (x + y)); in TestVsNative()
84 TEST(ToNative(m - n) == (x - y)); in TestVsNative()
85 TEST(ToNative(m * n) == (x * y)); in TestVsNative()
87 TEST(ToNative(m / n) == (x / y)); in TestVsNative()
88 TEST(ToNative(m % n) == (x % y)); in TestVsNative()
89 TEST(ToNative(m - n * (m / n)) == (x % y)); in TestVsNative()