コード例 #1
0
        private unsafe static string FormatVectorFailure64(v64 expected, v64 result)
        {
            var b = new StringBuilder();

            b.AppendLine("64-bit vectors differ!");
            b.AppendLine("Expected:");
            FormatVector(b, (void *)&expected, 8);
            b.AppendLine();
            b.AppendLine("But was :");
            FormatVector(b, (void *)&result, 8);
            b.AppendLine();
            return(b.ToString());
        }
コード例 #2
0
 // Workaround for Mono broken Equals() on v64/v128/v256
 private static bool AreVectorsEqual(v64 a, v64 b)
 {
     return(a.SLong0 == b.SLong0);
 }