fn test__cmp_limb64(comptime T: type, a: T, b: T, expected: i8) !void
fn test__cmp_limb64(comptime T: type, a: T, b: T, expected: i8) !void { const int_info = @typeInfo(T).int; const is_signed = int_info.signedness == .signed; var a_limbs = asLimbs(a); var b_limbs = asLimbs(b); const actual = __cmp_limb64(&a_limbs, &b_limbs, is_signed, int_info.bits); try testing.expectEqual(expected, actual); }