This commit is contained in:
2021-06-13 10:28:03 +02:00
parent eb70603c85
commit df2d24cbd3
7487 changed files with 943244 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
#if !UNITY_DOTSPLAYER
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Unity.Mathematics.Tests")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Unity.Mathematics.Tests")]
[assembly: AssemblyCopyright("Copyright © 2017")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("2e7c74d3-42f1-482f-8bb7-e199d9e3b412")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
#endif

View File

@@ -0,0 +1,19 @@
using System;
using NUnit.Framework;
using NUnit.Framework.Interfaces;
namespace Burst.Compiler.IL.Tests
{
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
public class WindowsOnlyAttribute : Attribute
{
public WindowsOnlyAttribute(string reason)
{
}
}
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
public sealed class TestCompilerAttribute : TestCaseAttribute, ITestBuilder
{
}
}

View File

@@ -0,0 +1,547 @@
using NUnit.Framework;
using static Unity.Mathematics.math;
using Burst.Compiler.IL.Tests;
namespace Unity.Mathematics.Tests
{
[TestFixture]
public class TestBitmanipulation
{
[TestCompiler]
public static void bitmask_bool4()
{
TestUtils.AreEqual(bitmask(new bool4(false, false, false, false)), 0b0000);
TestUtils.AreEqual(bitmask(new bool4(true, false, false, false)), 0b0001);
TestUtils.AreEqual(bitmask(new bool4(false, true, false, false)), 0b0010);
TestUtils.AreEqual(bitmask(new bool4(false, false, true, false)), 0b0100);
TestUtils.AreEqual(bitmask(new bool4(false, false, false, true)), 0b1000);
TestUtils.AreEqual(bitmask(new bool4(true, true, true, true)), 0b1111);
TestUtils.AreEqual(bitmask(new bool4(false, true, true, true)), 0b1110);
TestUtils.AreEqual(bitmask(new bool4(true, false, true, true)), 0b1101);
TestUtils.AreEqual(bitmask(new bool4(true, true, false, true)), 0b1011);
TestUtils.AreEqual(bitmask(new bool4(true, true, true, false)), 0b0111);
}
[TestCompiler]
public static void countbits_int1()
{
TestUtils.AreEqual(12, countbits( 0x01234567));
TestUtils.AreEqual(16, countbits( 0x456789AB));
TestUtils.AreEqual(21, countbits(-0x01234567));
TestUtils.AreEqual(17, countbits(-0x456789AB));
TestUtils.AreEqual(32, countbits(-1));
}
[TestCompiler]
public static void countbits_int2()
{
TestUtils.AreEqual(int2(0, 12), countbits(int2(0, 0x01234567)));
TestUtils.AreEqual(int2(16, 21), countbits(int2(0x456789AB, -0x01234567)));
TestUtils.AreEqual(int2(17, 32), countbits(int2(-0x456789AB, -1)));
}
[TestCompiler]
public static void countbits_int3()
{
TestUtils.AreEqual(int3(0, 12, 16), countbits(int3(0, 0x01234567, 0x456789AB)));
TestUtils.AreEqual(int3(21, 17, 32), countbits(int3(-0x01234567, -0x456789AB, -1)));
}
[TestCompiler]
public static void countbits_int4()
{
TestUtils.AreEqual(int4(0, 12, 16, 21), countbits(int4(0, 0x01234567, 0x456789AB, -0x01234567)));
TestUtils.AreEqual(int4(17, 32, 30, 29), countbits(int4(-0x456789AB, -1, -7, -15)));
}
[TestCompiler]
public static void countbits_uint()
{
TestUtils.AreEqual(0, countbits(0u));
TestUtils.AreEqual(12, countbits(0x01234567u));
TestUtils.AreEqual(16, countbits(0x456789ABu));
TestUtils.AreEqual(20, countbits(0x89ABCDEFu));
TestUtils.AreEqual(16, countbits(0xCDEF0123u));
TestUtils.AreEqual(32, countbits(0xFFFFFFFFu));
}
[TestCompiler]
public static void countbits_uint2()
{
TestUtils.AreEqual(int2(0, 12), countbits(uint2(0, 0x01234567)));
TestUtils.AreEqual(int2(16, 20), countbits(uint2(0x456789AB, 0x89ABCDEFu)));
TestUtils.AreEqual(int2(16, 32), countbits(uint2(0xCDEF0123u, 0xFFFFFFFFu)));
}
[TestCompiler]
public static void countbits_uint3()
{
TestUtils.AreEqual(int3(0, 12, 16), countbits(uint3(0, 0x01234567, 0x456789AB)));
TestUtils.AreEqual(int3(20, 16, 32), countbits(uint3(0x89ABCDEFu, 0xCDEF0123u, 0xFFFFFFFFu)));
}
[TestCompiler]
public static void countbits_uint4()
{
TestUtils.AreEqual(int4(0, 12, 16, 20), countbits(uint4(0, 0x01234567, 0x456789AB, 0x89ABCDEFu)));
TestUtils.AreEqual(int4(16, 32, 30, 29), countbits(uint4(0xCDEF0123u, 0xFFFFFFFFu, 0xFFFFFFF5u, 0xFFFFFFF1u)));
}
[TestCompiler]
public static void countbits_long()
{
TestUtils.AreEqual(0, countbits(0L));
TestUtils.AreEqual(32, countbits(0x0123456789ABCDEFL));
TestUtils.AreEqual(33, countbits(-0x0123456789ABCDEFL));
TestUtils.AreEqual(64, countbits(-1L));
}
[TestCompiler]
public static void countbits_ulong()
{
TestUtils.AreEqual(0, countbits(0UL));
TestUtils.AreEqual(32, countbits(0x0123456789ABCDEFUL));
TestUtils.AreEqual(32, countbits(0x89ABCDEF01234567UL));
TestUtils.AreEqual(64, countbits(0xFFFFFFFFFFFFFFFFUL));
}
[TestCompiler]
public static void lzcnt_int()
{
TestUtils.AreEqual(32, lzcnt(0));
TestUtils.AreEqual(31, lzcnt(1));
TestUtils.AreEqual(30, lzcnt(2));
TestUtils.AreEqual(30, lzcnt(3));
TestUtils.AreEqual(17, lzcnt(0x5321));
TestUtils.AreEqual(5, lzcnt(0x04435321));
TestUtils.AreEqual(0, lzcnt(-1));
TestUtils.AreEqual(0, lzcnt(-2147483648));
}
[TestCompiler]
public static void lzcnt_int2()
{
TestUtils.AreEqual(int2(32, 31), lzcnt(int2(0, 1)));
TestUtils.AreEqual(int2(30, 30), lzcnt(int2(2, 3)));
TestUtils.AreEqual(int2(17, 5), lzcnt(int2(0x5321, 0x04435321)));
TestUtils.AreEqual(int2(0, 0), lzcnt(int2(-1, -2147483648)));
}
[TestCompiler]
public static void lzcnt_int3()
{
TestUtils.AreEqual(int3(32, 31, 30), lzcnt(int3(0, 1, 2)));
TestUtils.AreEqual(int3(30, 17, 5), lzcnt(int3(3, 0x5321, 0x04435321)));
TestUtils.AreEqual(int3(0, 0, 27), lzcnt(int3(-1, -2147483648, 17)));
}
[TestCompiler]
public static void lzcnt_int4()
{
TestUtils.AreEqual(int4(32, 31, 30, 30), lzcnt(int4(0, 1, 2, 3)));
TestUtils.AreEqual(int4(17, 5, 0, 0), lzcnt(int4(0x5321, 0x04435321, -1, -2147483648)));
}
[TestCompiler]
public static void lzcnt_uint()
{
TestUtils.AreEqual(32, lzcnt(0u));
TestUtils.AreEqual(31, lzcnt(1u));
TestUtils.AreEqual(30, lzcnt(2u));
TestUtils.AreEqual(30, lzcnt(3u));
TestUtils.AreEqual(17, lzcnt(0x5321u));
TestUtils.AreEqual(5, lzcnt(0x04435321u));
TestUtils.AreEqual(0, lzcnt(0x84435320u));
TestUtils.AreEqual(0, lzcnt(0xFFFFFFFFu));
}
[TestCompiler]
public static void lzcnt_uint2()
{
TestUtils.AreEqual(int2(32, 31), lzcnt(uint2(0u, 1u)));
TestUtils.AreEqual(int2(30, 30), lzcnt(uint2(2u, 3u)));
TestUtils.AreEqual(int2(17, 5), lzcnt(uint2(0x5321u, 0x04435321u)));
TestUtils.AreEqual(int2(0, 0), lzcnt(uint2(0x84435320u, 0xFFFFFFFFu)));
}
[TestCompiler]
public static void lzcnt_uint3()
{
TestUtils.AreEqual(int3(32, 31, 30), lzcnt(uint3(0u, 1u, 2u)));
TestUtils.AreEqual(int3(30, 17, 5), lzcnt(uint3(3u, 0x5321u, 0x04435321u)));
TestUtils.AreEqual(int3(0, 0, 27), lzcnt(uint3(0x84435320u, 0xFFFFFFFFu, 17)));
}
[TestCompiler]
public static void lzcnt_uint4()
{
TestUtils.AreEqual(int2(32, 31), lzcnt(uint2(0u, 1u)));
TestUtils.AreEqual(int2(30, 30), lzcnt(uint2(2u, 3u)));
TestUtils.AreEqual(int2(17, 5), lzcnt(uint2(0x5321u, 0x04435321u)));
TestUtils.AreEqual(int2(0, 0), lzcnt(uint2(0x84435320u, 0xFFFFFFFFu)));
}
[TestCompiler]
public static void lzcnt_long()
{
TestUtils.AreEqual(64, lzcnt(0L));
TestUtils.AreEqual(63, lzcnt(1L));
TestUtils.AreEqual(35, lzcnt(0x1FFF1234L));
TestUtils.AreEqual(31, lzcnt(0x1FFFF1234L));
TestUtils.AreEqual(19, lzcnt(0x1FFFFFFF1234L));
TestUtils.AreEqual(0, lzcnt(-1L));
TestUtils.AreEqual(0, lzcnt(-9223372036854775808L));
}
[TestCompiler]
public static void lzcnt_ulong()
{
TestUtils.AreEqual(64, lzcnt(0UL));
TestUtils.AreEqual(63, lzcnt(1UL));
TestUtils.AreEqual(35, lzcnt(0x1FFF1234UL));
TestUtils.AreEqual(31, lzcnt(0x1FFFF1234UL));
TestUtils.AreEqual(19, lzcnt(0x1FFFFFFF1234UL));
TestUtils.AreEqual(0, lzcnt(0xFFFFFFFFFFFFFFFFUL));
TestUtils.AreEqual(0, lzcnt(0x8000000000000000UL));
}
[TestCompiler]
public static void tzcnt_int()
{
TestUtils.AreEqual(32, tzcnt(0));
TestUtils.AreEqual(0, tzcnt(1));
TestUtils.AreEqual(1, tzcnt(2));
TestUtils.AreEqual(0, tzcnt(3));
TestUtils.AreEqual(4, tzcnt(0x53210));
TestUtils.AreEqual(17, tzcnt(0x44420000));
TestUtils.AreEqual(1, tzcnt(-2));
TestUtils.AreEqual(0, tzcnt(-2147483647));
TestUtils.AreEqual(31, tzcnt(-2147483648));
}
[TestCompiler]
public static void tzcnt_int2()
{
TestUtils.AreEqual(int2(32, 0), tzcnt(int2(0, 1)));
TestUtils.AreEqual(int2(1, 0), tzcnt(int2(2, 3)));
TestUtils.AreEqual(int2(4, 17), tzcnt(int2(0x53210, 0x44420000)));
TestUtils.AreEqual(int2(1, 0), tzcnt(int2(-2, -2147483647)));
TestUtils.AreEqual(int2(31, 2), tzcnt(int2(-2147483648, 20)));
}
[TestCompiler]
public static void tzcnt_int3()
{
TestUtils.AreEqual(int3(32, 0, 1), tzcnt(int3(0, 1, 2)));
TestUtils.AreEqual(int3(0, 4, 17), tzcnt(int3(3, 0x53210, 0x44420000)));
TestUtils.AreEqual(int3(1, 0, 31), tzcnt(int3(-2, -2147483647, -2147483648)));
}
[TestCompiler]
public static void tzcnt_int4()
{
TestUtils.AreEqual(int4(32, 0, 1, 0), tzcnt(int4(0, 1, 2, 3)));
TestUtils.AreEqual(int4(4, 17, 1, 0), tzcnt(int4(0x53210, 0x44420000, -2, -2147483647)));
TestUtils.AreEqual(int4(31, 2, 2, 3), tzcnt(int4(-2147483648, 20, 4132, -8)));
}
[TestCompiler]
public static void tzcnt_uint()
{
TestUtils.AreEqual(32, tzcnt(0u));
TestUtils.AreEqual(0, tzcnt(1u));
TestUtils.AreEqual(1, tzcnt(2u));
TestUtils.AreEqual(0, tzcnt(3u));
TestUtils.AreEqual(4, tzcnt(0x53210u));
TestUtils.AreEqual(17, tzcnt(0x44420000u));
TestUtils.AreEqual(1, tzcnt(0xFFFFFFFEu));
TestUtils.AreEqual(0, tzcnt(0x80000001u));
TestUtils.AreEqual(31, tzcnt(0x80000000u));
}
[TestCompiler]
public static void tzcnt_uint2()
{
TestUtils.AreEqual(int2(32, 0), tzcnt(uint2(0u, 1u)));
TestUtils.AreEqual(int2(1, 0), tzcnt(uint2(2u, 3u)));
TestUtils.AreEqual(int2(4, 17), tzcnt(uint2(0x53210u, 0x44420000u)));
TestUtils.AreEqual(int2(1, 0), tzcnt(uint2(0xFFFFFFFEu, 0x80000001u)));
TestUtils.AreEqual(int2(31, 2), tzcnt(uint2(0x80000000u, 20u)));
}
[TestCompiler]
public static void tzcnt_uint3()
{
TestUtils.AreEqual(int3(32, 0, 1), tzcnt(uint3(0u, 1u, 2u)));
TestUtils.AreEqual(int3(0, 4, 17), tzcnt(uint3(3u, 0x53210u, 0x44420000u)));
TestUtils.AreEqual(int3(1, 0, 31), tzcnt(uint3(0xFFFFFFFEu, 0x80000001u, 0x80000000u)));
}
[TestCompiler]
public static void tzcnt_uint4()
{
TestUtils.AreEqual(int4(32, 0, 1, 0), tzcnt(uint4(0u, 1u, 2u, 3u)));
TestUtils.AreEqual(int4(4, 17, 1, 0), tzcnt(uint4(0x53210u, 0x44420000u, 0xFFFFFFFE, 0x80000001u)));
TestUtils.AreEqual(int4(31, 2, 2, 3), tzcnt(uint4(0x80000000u, 20u, 4132u, 0xFFFFFFF8u)));
}
[TestCompiler]
public static void tzcnt_long()
{
TestUtils.AreEqual(64, tzcnt(0L));
TestUtils.AreEqual(0, tzcnt(1L));
TestUtils.AreEqual(1, tzcnt(2L));
TestUtils.AreEqual(17, tzcnt(0x44420000L));
TestUtils.AreEqual(33, tzcnt(0x444200000000L));
TestUtils.AreEqual(63, tzcnt(-9223372036854775808L));
TestUtils.AreEqual(0, tzcnt(-9223372036854775807L));
}
[TestCompiler]
public static void tzcnt_ulong()
{
TestUtils.AreEqual(64, tzcnt(0UL));
TestUtils.AreEqual(0, tzcnt(1UL));
TestUtils.AreEqual(1, tzcnt(2UL));
TestUtils.AreEqual(17, tzcnt(0x44420000UL));
TestUtils.AreEqual(33, tzcnt(0x444200000000UL));
TestUtils.AreEqual(63, tzcnt(0x8000000000000000UL));
TestUtils.AreEqual(0, tzcnt(0x8000000000000001UL));
}
[TestCompiler]
public static void reversebits_int()
{
TestUtils.AreEqual(0x03521609, reversebits(-1872213312));
TestUtils.AreEqual(0x5f5b0648, reversebits(0x1260dafa));
TestUtils.AreEqual(0x4bbafd8d, reversebits(-1312858670));
TestUtils.AreEqual(0x48d9c42e, reversebits(0x74239b12));
}
[TestCompiler]
public static void reversebits_int2()
{
TestUtils.AreEqual(int2(0x03521609, 0x5f5b0648), reversebits(int2(-1872213312, 0x1260dafa)));
TestUtils.AreEqual(int2(0x4bbafd8d, 0x48d9c42e), reversebits(int2(-1312858670, 0x74239b12)));
}
[TestCompiler]
public static void reversebits_int3()
{
TestUtils.AreEqual(int3(0x03521609, 0x5f5b0648, 0x4bbafd8d), reversebits(int3(-1872213312, 0x1260dafa, -1312858670)));
TestUtils.AreEqual(int3(0x48d9c42e, 0, -1), reversebits(int3(0x74239b12, 0, -1)));
}
[TestCompiler]
public static void reversebits_int4()
{
TestUtils.AreEqual(int4(0x03521609, 0x5f5b0648, 0x4bbafd8d, 0x48d9c42e), reversebits(int4(-1872213312, 0x1260dafa, -1312858670, 0x74239b12)));
}
[TestCompiler]
public static void reversebits_uint()
{
TestUtils.AreEqual(0x03521609u, reversebits(0x90684ac0u));
TestUtils.AreEqual(0x5f5b0648u, reversebits(0x1260dafau));
TestUtils.AreEqual(0x4bbafd8du, reversebits(0xb1bf5dd2u));
TestUtils.AreEqual(0x48d9c42eu, reversebits(0x74239b12u));
}
[TestCompiler]
public static void reversebits_uint2()
{
TestUtils.AreEqual(uint2(0x03521609u, 0x5f5b0648u), reversebits(uint2(0x90684ac0u, 0x1260dafau)));
TestUtils.AreEqual(uint2(0x4bbafd8du, 0x48d9c42eu), reversebits(uint2(0xb1bf5dd2u, 0x74239b12u)));
}
[TestCompiler]
public static void reversebits_uint3()
{
TestUtils.AreEqual(uint3(0x03521609u, 0x5f5b0648u, 0x4bbafd8du), reversebits(uint3(0x90684ac0u, 0x1260dafau, 0xb1bf5dd2u)));
TestUtils.AreEqual(uint3(0x48d9c42eu, 0u, 0xFFFFFFFF), reversebits(uint3(0x74239b12u, 0u, 0xFFFFFFFF)));
}
[TestCompiler]
public static void reversebits_uint4()
{
TestUtils.AreEqual(uint4(0x03521609u, 0x5f5b0648u, 0x4bbafd8du, 0x48d9c42eu), reversebits(uint4(0x90684ac0u, 0x1260dafau, 0xb1bf5dd2u, 0x74239b12u)));
}
[TestCompiler]
public static void reversebits_long()
{
TestUtils.AreEqual(0x4bbafd8d5f5b0648L, reversebits(0x1260dafab1bf5dd2L));
}
[TestCompiler]
public static void reversebits_ulong()
{
TestUtils.AreEqual(0x4bbafd8d5f5b0648ul, reversebits(0x1260dafab1bf5dd2ul));
}
[TestCompiler]
public static void rol_int()
{
TestUtils.AreEqual(-1933184920, rol(219257022, 11));
TestUtils.AreEqual(-2048170741, rol(-1586446996, 11));
TestUtils.AreEqual(-1152739462, rol(-279484078, 11));
TestUtils.AreEqual(661621977, rol(-1692078607, 11));
}
[TestCompiler]
public static void rol_int2()
{
TestUtils.AreEqual(int2(-1933184920, -2048170741), rol(int2(219257022, -1586446996), 11));
TestUtils.AreEqual(int2(-1152739462, 661621977), rol(int2(-279484078, -1692078607), 11));
}
[TestCompiler]
public static void rol_int3()
{
TestUtils.AreEqual(int3(-1933184920, -2048170741, -1152739462), rol(int3(219257022, -1586446996, -279484078), 11));
}
[TestCompiler]
public static void rol_int4()
{
TestUtils.AreEqual(int4(-1933184920, -2048170741, -1152739462, 661621977), rol(int4(219257022, -1586446996, -279484078, -1692078607), 11));
}
[TestCompiler]
public static void rol_uint()
{
TestUtils.AreEqual(2361782376u, rol(219257022u, 11));
TestUtils.AreEqual(2246796555u, rol(2708520300u, 11));
TestUtils.AreEqual(3142227834u, rol(4015483218u, 11));
TestUtils.AreEqual(661621977u, rol(2602888689u, 11));
}
[TestCompiler]
public static void rol_uint2()
{
TestUtils.AreEqual(uint2(2361782376u, 2246796555u), rol(uint2(219257022u, 2708520300u), 11));
TestUtils.AreEqual(uint2(3142227834u, 661621977u), rol(uint2(4015483218u, 2602888689u), 11));
}
[TestCompiler]
public static void rol_uint3()
{
TestUtils.AreEqual(uint3(2361782376u, 2246796555u, 3142227834u), rol(uint3(219257022u, 2708520300u, 4015483218u), 11));
}
[TestCompiler]
public static void rol_uint4()
{
TestUtils.AreEqual(uint4(2361782376u, 2246796555u, 3142227834u, 661621977u), rol(uint4(219257022u, 2708520300u, 4015483218u, 2602888689u), 11));
}
[TestCompiler]
public static void rol_long()
{
TestUtils.AreEqual(4769317691753349395L, rol(6894885722123239465L, 37));
TestUtils.AreEqual(7702732954299909421L, rol(9017875690541231318L, 37));
TestUtils.AreEqual(4304137451269976409L, rol(-6252342588442027279L, 37));
TestUtils.AreEqual(-5493728106787075631L, rol(2788577329702376155L, 37));
}
[TestCompiler]
public static void rol_ulong()
{
TestUtils.AreEqual(4769317691753349395UL, rol(6894885722123239465UL, 37));
TestUtils.AreEqual(7702732954299909421UL, rol(9017875690541231318UL, 37));
TestUtils.AreEqual(4304137451269976409UL, rol(12194401485267524337UL, 37));
TestUtils.AreEqual(12953015966922475985UL, rol(2788577329702376155UL, 37));
}
[TestCompiler]
public static void ror_int()
{
TestUtils.AreEqual(87245360, ror(-1710129111, 11));
TestUtils.AreEqual(-259445220, ror(1232136068, 11));
TestUtils.AreEqual(-1697813787, ror(1800875222, 11));
TestUtils.AreEqual(-232831845, ror(-98246768, 11));
}
[TestCompiler]
public static void ror_int2()
{
TestUtils.AreEqual(int2(87245360, -259445220), ror(int2(-1710129111, 1232136068), 11));
TestUtils.AreEqual(int2(-1697813787, -232831845), ror(int2(1800875222, -98246768), 11));
}
[TestCompiler]
public static void ror_int3()
{
TestUtils.AreEqual(int3(87245360, -259445220, -1697813787), ror(int3(-1710129111, 1232136068, 1800875222), 11));
}
[TestCompiler]
public static void ror_int4()
{
TestUtils.AreEqual(int4(87245360, -259445220, -1697813787, -232831845), ror(int4(-1710129111, 1232136068, 1800875222, -98246768), 11));
}
[TestCompiler]
public static void ror_uint()
{
TestUtils.AreEqual(87245360u, ror(2584838185u, 11));
TestUtils.AreEqual(4035522076u, ror(1232136068u, 11));
TestUtils.AreEqual(2597153509u, ror(1800875222u, 11));
TestUtils.AreEqual(4062135451u, ror(4196720528u, 11));
}
[TestCompiler]
public static void ror_uint2()
{
TestUtils.AreEqual(uint2(87245360u, 4035522076u), ror(uint2(2584838185u, 1232136068u), 11));
TestUtils.AreEqual(uint2(2597153509u, 4062135451u), ror(uint2(1800875222u, 4196720528u), 11));
}
[TestCompiler]
public static void ror_uint3()
{
TestUtils.AreEqual(uint3(87245360u, 4035522076u, 2597153509u), ror(uint3(2584838185u, 1232136068u, 1800875222u), 11));
}
[TestCompiler]
public static void ror_uint4()
{
TestUtils.AreEqual(uint4(87245360u, 4035522076u, 2597153509u, 4062135451u), ror(uint4(2584838185u, 1232136068u, 1800875222u, 4196720528u), 11));
}
[TestCompiler]
public static void ror_long()
{
TestUtils.AreEqual(4958617126915898480L, ror(6894885722123239465L, 37));
TestUtils.AreEqual(5429856151504760689L, ror(9017875690541231318L, 37));
TestUtils.AreEqual(6219170745001040316L, ror(-6252342588442027279L, 37));
TestUtils.AreEqual(8389344736564320290L, ror(2788577329702376155L, 37));
}
[TestCompiler]
public static void ror_ulong()
{
TestUtils.AreEqual(4958617126915898480UL, ror(6894885722123239465UL, 37));
TestUtils.AreEqual(5429856151504760689UL, ror(9017875690541231318UL, 37));
TestUtils.AreEqual(6219170745001040316UL, ror(12194401485267524337UL, 37));
TestUtils.AreEqual(8389344736564320290UL, ror(2788577329702376155UL, 37));
}
}
class Assert2
{
public static void AreEqual(object a, object b)
{
}
}
}

View File

@@ -0,0 +1,432 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using NUnit.Framework;
using static Unity.Mathematics.math;
using Burst.Compiler.IL.Tests;
namespace Unity.Mathematics.Tests
{
[TestFixture]
public class TestBool2
{
[TestCompiler]
public static void bool2_constructor()
{
bool2 a = new bool2(false, true);
TestUtils.AreEqual(false, a.x);
TestUtils.AreEqual(true, a.y);
}
[TestCompiler]
public static void bool2_scalar_constructor()
{
bool2 a = new bool2(true);
TestUtils.AreEqual(true, a.x);
TestUtils.AreEqual(true, a.y);
}
[TestCompiler]
public static void bool2_static_constructor()
{
bool2 a = bool2(false, true);
TestUtils.AreEqual(false, a.x);
TestUtils.AreEqual(true, a.y);
}
[TestCompiler]
public static void bool2_static_scalar_constructor()
{
bool2 a = bool2(true);
TestUtils.AreEqual(true, a.x);
TestUtils.AreEqual(true, a.y);
}
[TestCompiler]
public static void bool2_operator_equal_wide_wide()
{
bool2 a0 = bool2(true, false);
bool2 b0 = bool2(true, false);
bool2 r0 = bool2(true, true);
TestUtils.AreEqual(r0, a0 == b0);
bool2 a1 = bool2(true, false);
bool2 b1 = bool2(false, false);
bool2 r1 = bool2(false, true);
TestUtils.AreEqual(r1, a1 == b1);
bool2 a2 = bool2(false, true);
bool2 b2 = bool2(true, false);
bool2 r2 = bool2(false, false);
TestUtils.AreEqual(r2, a2 == b2);
bool2 a3 = bool2(false, false);
bool2 b3 = bool2(false, true);
bool2 r3 = bool2(true, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void bool2_operator_equal_wide_scalar()
{
bool2 a0 = bool2(false, true);
bool b0 = (true);
bool2 r0 = bool2(false, true);
TestUtils.AreEqual(r0, a0 == b0);
bool2 a1 = bool2(false, false);
bool b1 = (false);
bool2 r1 = bool2(true, true);
TestUtils.AreEqual(r1, a1 == b1);
bool2 a2 = bool2(false, false);
bool b2 = (true);
bool2 r2 = bool2(false, false);
TestUtils.AreEqual(r2, a2 == b2);
bool2 a3 = bool2(false, true);
bool b3 = (false);
bool2 r3 = bool2(true, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void bool2_operator_equal_scalar_wide()
{
bool a0 = (false);
bool2 b0 = bool2(true, false);
bool2 r0 = bool2(false, true);
TestUtils.AreEqual(r0, a0 == b0);
bool a1 = (true);
bool2 b1 = bool2(false, false);
bool2 r1 = bool2(false, false);
TestUtils.AreEqual(r1, a1 == b1);
bool a2 = (true);
bool2 b2 = bool2(false, false);
bool2 r2 = bool2(false, false);
TestUtils.AreEqual(r2, a2 == b2);
bool a3 = (true);
bool2 b3 = bool2(false, true);
bool2 r3 = bool2(false, true);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void bool2_operator_not_equal_wide_wide()
{
bool2 a0 = bool2(true, true);
bool2 b0 = bool2(true, false);
bool2 r0 = bool2(false, true);
TestUtils.AreEqual(r0, a0 != b0);
bool2 a1 = bool2(true, false);
bool2 b1 = bool2(false, false);
bool2 r1 = bool2(true, false);
TestUtils.AreEqual(r1, a1 != b1);
bool2 a2 = bool2(false, true);
bool2 b2 = bool2(true, false);
bool2 r2 = bool2(true, true);
TestUtils.AreEqual(r2, a2 != b2);
bool2 a3 = bool2(false, false);
bool2 b3 = bool2(false, false);
bool2 r3 = bool2(false, false);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void bool2_operator_not_equal_wide_scalar()
{
bool2 a0 = bool2(false, true);
bool b0 = (false);
bool2 r0 = bool2(false, true);
TestUtils.AreEqual(r0, a0 != b0);
bool2 a1 = bool2(false, true);
bool b1 = (true);
bool2 r1 = bool2(true, false);
TestUtils.AreEqual(r1, a1 != b1);
bool2 a2 = bool2(false, false);
bool b2 = (false);
bool2 r2 = bool2(false, false);
TestUtils.AreEqual(r2, a2 != b2);
bool2 a3 = bool2(false, false);
bool b3 = (false);
bool2 r3 = bool2(false, false);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void bool2_operator_not_equal_scalar_wide()
{
bool a0 = (true);
bool2 b0 = bool2(false, false);
bool2 r0 = bool2(true, true);
TestUtils.AreEqual(r0, a0 != b0);
bool a1 = (true);
bool2 b1 = bool2(false, false);
bool2 r1 = bool2(true, true);
TestUtils.AreEqual(r1, a1 != b1);
bool a2 = (false);
bool2 b2 = bool2(true, true);
bool2 r2 = bool2(true, true);
TestUtils.AreEqual(r2, a2 != b2);
bool a3 = (true);
bool2 b3 = bool2(false, false);
bool2 r3 = bool2(true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void bool2_operator_bitwise_and_wide_wide()
{
bool2 a0 = bool2(false, false);
bool2 b0 = bool2(false, false);
bool2 r0 = bool2(false, false);
TestUtils.AreEqual(r0, a0 & b0);
bool2 a1 = bool2(true, true);
bool2 b1 = bool2(true, false);
bool2 r1 = bool2(true, false);
TestUtils.AreEqual(r1, a1 & b1);
bool2 a2 = bool2(false, false);
bool2 b2 = bool2(true, true);
bool2 r2 = bool2(false, false);
TestUtils.AreEqual(r2, a2 & b2);
bool2 a3 = bool2(true, true);
bool2 b3 = bool2(false, false);
bool2 r3 = bool2(false, false);
TestUtils.AreEqual(r3, a3 & b3);
}
[TestCompiler]
public static void bool2_operator_bitwise_and_wide_scalar()
{
bool2 a0 = bool2(true, false);
bool b0 = (true);
bool2 r0 = bool2(true, false);
TestUtils.AreEqual(r0, a0 & b0);
bool2 a1 = bool2(false, true);
bool b1 = (true);
bool2 r1 = bool2(false, true);
TestUtils.AreEqual(r1, a1 & b1);
bool2 a2 = bool2(false, false);
bool b2 = (false);
bool2 r2 = bool2(false, false);
TestUtils.AreEqual(r2, a2 & b2);
bool2 a3 = bool2(false, true);
bool b3 = (false);
bool2 r3 = bool2(false, false);
TestUtils.AreEqual(r3, a3 & b3);
}
[TestCompiler]
public static void bool2_operator_bitwise_and_scalar_wide()
{
bool a0 = (false);
bool2 b0 = bool2(false, false);
bool2 r0 = bool2(false, false);
TestUtils.AreEqual(r0, a0 & b0);
bool a1 = (true);
bool2 b1 = bool2(true, true);
bool2 r1 = bool2(true, true);
TestUtils.AreEqual(r1, a1 & b1);
bool a2 = (false);
bool2 b2 = bool2(true, false);
bool2 r2 = bool2(false, false);
TestUtils.AreEqual(r2, a2 & b2);
bool a3 = (false);
bool2 b3 = bool2(false, true);
bool2 r3 = bool2(false, false);
TestUtils.AreEqual(r3, a3 & b3);
}
[TestCompiler]
public static void bool2_operator_bitwise_or_wide_wide()
{
bool2 a0 = bool2(true, true);
bool2 b0 = bool2(false, false);
bool2 r0 = bool2(true, true);
TestUtils.AreEqual(r0, a0 | b0);
bool2 a1 = bool2(true, false);
bool2 b1 = bool2(false, false);
bool2 r1 = bool2(true, false);
TestUtils.AreEqual(r1, a1 | b1);
bool2 a2 = bool2(true, false);
bool2 b2 = bool2(true, true);
bool2 r2 = bool2(true, true);
TestUtils.AreEqual(r2, a2 | b2);
bool2 a3 = bool2(true, true);
bool2 b3 = bool2(true, false);
bool2 r3 = bool2(true, true);
TestUtils.AreEqual(r3, a3 | b3);
}
[TestCompiler]
public static void bool2_operator_bitwise_or_wide_scalar()
{
bool2 a0 = bool2(true, true);
bool b0 = (true);
bool2 r0 = bool2(true, true);
TestUtils.AreEqual(r0, a0 | b0);
bool2 a1 = bool2(false, true);
bool b1 = (true);
bool2 r1 = bool2(true, true);
TestUtils.AreEqual(r1, a1 | b1);
bool2 a2 = bool2(true, false);
bool b2 = (true);
bool2 r2 = bool2(true, true);
TestUtils.AreEqual(r2, a2 | b2);
bool2 a3 = bool2(true, false);
bool b3 = (false);
bool2 r3 = bool2(true, false);
TestUtils.AreEqual(r3, a3 | b3);
}
[TestCompiler]
public static void bool2_operator_bitwise_or_scalar_wide()
{
bool a0 = (true);
bool2 b0 = bool2(true, true);
bool2 r0 = bool2(true, true);
TestUtils.AreEqual(r0, a0 | b0);
bool a1 = (false);
bool2 b1 = bool2(false, true);
bool2 r1 = bool2(false, true);
TestUtils.AreEqual(r1, a1 | b1);
bool a2 = (true);
bool2 b2 = bool2(true, false);
bool2 r2 = bool2(true, true);
TestUtils.AreEqual(r2, a2 | b2);
bool a3 = (false);
bool2 b3 = bool2(true, true);
bool2 r3 = bool2(true, true);
TestUtils.AreEqual(r3, a3 | b3);
}
[TestCompiler]
public static void bool2_operator_bitwise_xor_wide_wide()
{
bool2 a0 = bool2(true, false);
bool2 b0 = bool2(true, true);
bool2 r0 = bool2(false, true);
TestUtils.AreEqual(r0, a0 ^ b0);
bool2 a1 = bool2(false, true);
bool2 b1 = bool2(false, true);
bool2 r1 = bool2(false, false);
TestUtils.AreEqual(r1, a1 ^ b1);
bool2 a2 = bool2(false, false);
bool2 b2 = bool2(false, true);
bool2 r2 = bool2(false, true);
TestUtils.AreEqual(r2, a2 ^ b2);
bool2 a3 = bool2(false, true);
bool2 b3 = bool2(false, true);
bool2 r3 = bool2(false, false);
TestUtils.AreEqual(r3, a3 ^ b3);
}
[TestCompiler]
public static void bool2_operator_bitwise_xor_wide_scalar()
{
bool2 a0 = bool2(false, false);
bool b0 = (false);
bool2 r0 = bool2(false, false);
TestUtils.AreEqual(r0, a0 ^ b0);
bool2 a1 = bool2(true, false);
bool b1 = (true);
bool2 r1 = bool2(false, true);
TestUtils.AreEqual(r1, a1 ^ b1);
bool2 a2 = bool2(false, false);
bool b2 = (false);
bool2 r2 = bool2(false, false);
TestUtils.AreEqual(r2, a2 ^ b2);
bool2 a3 = bool2(false, false);
bool b3 = (false);
bool2 r3 = bool2(false, false);
TestUtils.AreEqual(r3, a3 ^ b3);
}
[TestCompiler]
public static void bool2_operator_bitwise_xor_scalar_wide()
{
bool a0 = (true);
bool2 b0 = bool2(true, false);
bool2 r0 = bool2(false, true);
TestUtils.AreEqual(r0, a0 ^ b0);
bool a1 = (true);
bool2 b1 = bool2(true, false);
bool2 r1 = bool2(false, true);
TestUtils.AreEqual(r1, a1 ^ b1);
bool a2 = (true);
bool2 b2 = bool2(true, false);
bool2 r2 = bool2(false, true);
TestUtils.AreEqual(r2, a2 ^ b2);
bool a3 = (false);
bool2 b3 = bool2(true, true);
bool2 r3 = bool2(true, true);
TestUtils.AreEqual(r3, a3 ^ b3);
}
[TestCompiler]
public static void bool2_operator_logical_not()
{
bool2 a0 = bool2(true, true);
bool2 r0 = bool2(false, false);
TestUtils.AreEqual(r0, !a0);
bool2 a1 = bool2(false, true);
bool2 r1 = bool2(true, false);
TestUtils.AreEqual(r1, !a1);
bool2 a2 = bool2(false, false);
bool2 r2 = bool2(true, true);
TestUtils.AreEqual(r2, !a2);
bool2 a3 = bool2(true, false);
bool2 r3 = bool2(false, true);
TestUtils.AreEqual(r3, !a3);
}
}
}

View File

@@ -0,0 +1,400 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using NUnit.Framework;
using static Unity.Mathematics.math;
using Burst.Compiler.IL.Tests;
namespace Unity.Mathematics.Tests
{
[TestFixture]
public class TestBool2x2
{
[TestCompiler]
public static void bool2x2_operator_equal_wide_wide()
{
bool2x2 a0 = bool2x2(true, false, true, false);
bool2x2 b0 = bool2x2(true, false, false, false);
bool2x2 r0 = bool2x2(true, true, false, true);
TestUtils.AreEqual(r0, a0 == b0);
bool2x2 a1 = bool2x2(false, true, false, false);
bool2x2 b1 = bool2x2(true, false, false, true);
bool2x2 r1 = bool2x2(false, false, true, false);
TestUtils.AreEqual(r1, a1 == b1);
bool2x2 a2 = bool2x2(true, false, true, false);
bool2x2 b2 = bool2x2(false, false, false, false);
bool2x2 r2 = bool2x2(false, true, false, true);
TestUtils.AreEqual(r2, a2 == b2);
bool2x2 a3 = bool2x2(true, true, false, true);
bool2x2 b3 = bool2x2(true, false, false, false);
bool2x2 r3 = bool2x2(true, false, true, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void bool2x2_operator_equal_wide_scalar()
{
bool2x2 a0 = bool2x2(false, true, false, false);
bool b0 = (true);
bool2x2 r0 = bool2x2(false, true, false, false);
TestUtils.AreEqual(r0, a0 == b0);
bool2x2 a1 = bool2x2(false, true, false, false);
bool b1 = (false);
bool2x2 r1 = bool2x2(true, false, true, true);
TestUtils.AreEqual(r1, a1 == b1);
bool2x2 a2 = bool2x2(false, true, false, true);
bool b2 = (true);
bool2x2 r2 = bool2x2(false, true, false, true);
TestUtils.AreEqual(r2, a2 == b2);
bool2x2 a3 = bool2x2(false, false, false, false);
bool b3 = (true);
bool2x2 r3 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void bool2x2_operator_equal_scalar_wide()
{
bool a0 = (false);
bool2x2 b0 = bool2x2(true, false, true, false);
bool2x2 r0 = bool2x2(false, true, false, true);
TestUtils.AreEqual(r0, a0 == b0);
bool a1 = (false);
bool2x2 b1 = bool2x2(true, false, false, true);
bool2x2 r1 = bool2x2(false, true, true, false);
TestUtils.AreEqual(r1, a1 == b1);
bool a2 = (false);
bool2x2 b2 = bool2x2(true, true, false, true);
bool2x2 r2 = bool2x2(false, false, true, false);
TestUtils.AreEqual(r2, a2 == b2);
bool a3 = (false);
bool2x2 b3 = bool2x2(true, true, true, false);
bool2x2 r3 = bool2x2(false, false, false, true);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void bool2x2_operator_not_equal_wide_wide()
{
bool2x2 a0 = bool2x2(true, true, true, false);
bool2x2 b0 = bool2x2(true, false, false, false);
bool2x2 r0 = bool2x2(false, true, true, false);
TestUtils.AreEqual(r0, a0 != b0);
bool2x2 a1 = bool2x2(false, true, false, false);
bool2x2 b1 = bool2x2(true, false, false, false);
bool2x2 r1 = bool2x2(true, true, false, false);
TestUtils.AreEqual(r1, a1 != b1);
bool2x2 a2 = bool2x2(false, false, true, true);
bool2x2 b2 = bool2x2(false, true, true, true);
bool2x2 r2 = bool2x2(false, true, false, false);
TestUtils.AreEqual(r2, a2 != b2);
bool2x2 a3 = bool2x2(true, true, true, true);
bool2x2 b3 = bool2x2(false, false, true, true);
bool2x2 r3 = bool2x2(true, true, false, false);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void bool2x2_operator_not_equal_wide_scalar()
{
bool2x2 a0 = bool2x2(false, true, false, true);
bool b0 = (false);
bool2x2 r0 = bool2x2(false, true, false, true);
TestUtils.AreEqual(r0, a0 != b0);
bool2x2 a1 = bool2x2(true, false, false, false);
bool b1 = (false);
bool2x2 r1 = bool2x2(true, false, false, false);
TestUtils.AreEqual(r1, a1 != b1);
bool2x2 a2 = bool2x2(false, false, false, true);
bool b2 = (false);
bool2x2 r2 = bool2x2(false, false, false, true);
TestUtils.AreEqual(r2, a2 != b2);
bool2x2 a3 = bool2x2(false, false, false, true);
bool b3 = (false);
bool2x2 r3 = bool2x2(false, false, false, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void bool2x2_operator_not_equal_scalar_wide()
{
bool a0 = (true);
bool2x2 b0 = bool2x2(false, false, true, false);
bool2x2 r0 = bool2x2(true, true, false, true);
TestUtils.AreEqual(r0, a0 != b0);
bool a1 = (false);
bool2x2 b1 = bool2x2(false, true, true, true);
bool2x2 r1 = bool2x2(false, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
bool a2 = (false);
bool2x2 b2 = bool2x2(false, false, false, false);
bool2x2 r2 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r2, a2 != b2);
bool a3 = (true);
bool2x2 b3 = bool2x2(false, false, true, false);
bool2x2 r3 = bool2x2(true, true, false, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void bool2x2_operator_bitwise_and_wide_wide()
{
bool2x2 a0 = bool2x2(false, false, true, true);
bool2x2 b0 = bool2x2(false, false, true, false);
bool2x2 r0 = bool2x2(false, false, true, false);
TestUtils.AreEqual(r0, a0 & b0);
bool2x2 a1 = bool2x2(false, false, true, true);
bool2x2 b1 = bool2x2(true, true, false, false);
bool2x2 r1 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r1, a1 & b1);
bool2x2 a2 = bool2x2(true, false, true, true);
bool2x2 b2 = bool2x2(true, true, false, false);
bool2x2 r2 = bool2x2(true, false, false, false);
TestUtils.AreEqual(r2, a2 & b2);
bool2x2 a3 = bool2x2(true, true, false, false);
bool2x2 b3 = bool2x2(false, false, true, false);
bool2x2 r3 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r3, a3 & b3);
}
[TestCompiler]
public static void bool2x2_operator_bitwise_and_wide_scalar()
{
bool2x2 a0 = bool2x2(true, false, false, true);
bool b0 = (true);
bool2x2 r0 = bool2x2(true, false, false, true);
TestUtils.AreEqual(r0, a0 & b0);
bool2x2 a1 = bool2x2(true, false, false, false);
bool b1 = (false);
bool2x2 r1 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r1, a1 & b1);
bool2x2 a2 = bool2x2(false, true, true, false);
bool b2 = (true);
bool2x2 r2 = bool2x2(false, true, true, false);
TestUtils.AreEqual(r2, a2 & b2);
bool2x2 a3 = bool2x2(false, true, true, false);
bool b3 = (true);
bool2x2 r3 = bool2x2(false, true, true, false);
TestUtils.AreEqual(r3, a3 & b3);
}
[TestCompiler]
public static void bool2x2_operator_bitwise_and_scalar_wide()
{
bool a0 = (false);
bool2x2 b0 = bool2x2(false, false, true, true);
bool2x2 r0 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r0, a0 & b0);
bool a1 = (true);
bool2x2 b1 = bool2x2(false, true, false, false);
bool2x2 r1 = bool2x2(false, true, false, false);
TestUtils.AreEqual(r1, a1 & b1);
bool a2 = (false);
bool2x2 b2 = bool2x2(true, false, false, false);
bool2x2 r2 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r2, a2 & b2);
bool a3 = (true);
bool2x2 b3 = bool2x2(true, true, true, false);
bool2x2 r3 = bool2x2(true, true, true, false);
TestUtils.AreEqual(r3, a3 & b3);
}
[TestCompiler]
public static void bool2x2_operator_bitwise_or_wide_wide()
{
bool2x2 a0 = bool2x2(true, true, true, false);
bool2x2 b0 = bool2x2(false, false, false, false);
bool2x2 r0 = bool2x2(true, true, true, false);
TestUtils.AreEqual(r0, a0 | b0);
bool2x2 a1 = bool2x2(true, false, true, true);
bool2x2 b1 = bool2x2(true, true, true, false);
bool2x2 r1 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r1, a1 | b1);
bool2x2 a2 = bool2x2(false, true, true, true);
bool2x2 b2 = bool2x2(false, true, false, false);
bool2x2 r2 = bool2x2(false, true, true, true);
TestUtils.AreEqual(r2, a2 | b2);
bool2x2 a3 = bool2x2(true, true, true, false);
bool2x2 b3 = bool2x2(true, true, true, true);
bool2x2 r3 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r3, a3 | b3);
}
[TestCompiler]
public static void bool2x2_operator_bitwise_or_wide_scalar()
{
bool2x2 a0 = bool2x2(true, true, false, true);
bool b0 = (true);
bool2x2 r0 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r0, a0 | b0);
bool2x2 a1 = bool2x2(true, true, false, true);
bool b1 = (true);
bool2x2 r1 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r1, a1 | b1);
bool2x2 a2 = bool2x2(false, true, false, false);
bool b2 = (false);
bool2x2 r2 = bool2x2(false, true, false, false);
TestUtils.AreEqual(r2, a2 | b2);
bool2x2 a3 = bool2x2(true, true, true, true);
bool b3 = (false);
bool2x2 r3 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r3, a3 | b3);
}
[TestCompiler]
public static void bool2x2_operator_bitwise_or_scalar_wide()
{
bool a0 = (true);
bool2x2 b0 = bool2x2(true, true, false, false);
bool2x2 r0 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r0, a0 | b0);
bool a1 = (true);
bool2x2 b1 = bool2x2(true, true, false, false);
bool2x2 r1 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r1, a1 | b1);
bool a2 = (true);
bool2x2 b2 = bool2x2(true, false, true, true);
bool2x2 r2 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r2, a2 | b2);
bool a3 = (false);
bool2x2 b3 = bool2x2(false, false, false, true);
bool2x2 r3 = bool2x2(false, false, false, true);
TestUtils.AreEqual(r3, a3 | b3);
}
[TestCompiler]
public static void bool2x2_operator_bitwise_xor_wide_wide()
{
bool2x2 a0 = bool2x2(true, false, false, true);
bool2x2 b0 = bool2x2(true, true, false, true);
bool2x2 r0 = bool2x2(false, true, false, false);
TestUtils.AreEqual(r0, a0 ^ b0);
bool2x2 a1 = bool2x2(false, false, false, true);
bool2x2 b1 = bool2x2(false, true, false, true);
bool2x2 r1 = bool2x2(false, true, false, false);
TestUtils.AreEqual(r1, a1 ^ b1);
bool2x2 a2 = bool2x2(false, false, true, true);
bool2x2 b2 = bool2x2(false, false, false, true);
bool2x2 r2 = bool2x2(false, false, true, false);
TestUtils.AreEqual(r2, a2 ^ b2);
bool2x2 a3 = bool2x2(false, false, true, false);
bool2x2 b3 = bool2x2(false, false, true, true);
bool2x2 r3 = bool2x2(false, false, false, true);
TestUtils.AreEqual(r3, a3 ^ b3);
}
[TestCompiler]
public static void bool2x2_operator_bitwise_xor_wide_scalar()
{
bool2x2 a0 = bool2x2(false, false, true, true);
bool b0 = (false);
bool2x2 r0 = bool2x2(false, false, true, true);
TestUtils.AreEqual(r0, a0 ^ b0);
bool2x2 a1 = bool2x2(false, false, false, false);
bool b1 = (false);
bool2x2 r1 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r1, a1 ^ b1);
bool2x2 a2 = bool2x2(false, true, false, true);
bool b2 = (false);
bool2x2 r2 = bool2x2(false, true, false, true);
TestUtils.AreEqual(r2, a2 ^ b2);
bool2x2 a3 = bool2x2(true, true, false, true);
bool b3 = (true);
bool2x2 r3 = bool2x2(false, false, true, false);
TestUtils.AreEqual(r3, a3 ^ b3);
}
[TestCompiler]
public static void bool2x2_operator_bitwise_xor_scalar_wide()
{
bool a0 = (true);
bool2x2 b0 = bool2x2(true, false, true, true);
bool2x2 r0 = bool2x2(false, true, false, false);
TestUtils.AreEqual(r0, a0 ^ b0);
bool a1 = (false);
bool2x2 b1 = bool2x2(true, true, false, false);
bool2x2 r1 = bool2x2(true, true, false, false);
TestUtils.AreEqual(r1, a1 ^ b1);
bool a2 = (true);
bool2x2 b2 = bool2x2(true, false, false, true);
bool2x2 r2 = bool2x2(false, true, true, false);
TestUtils.AreEqual(r2, a2 ^ b2);
bool a3 = (false);
bool2x2 b3 = bool2x2(true, true, false, true);
bool2x2 r3 = bool2x2(true, true, false, true);
TestUtils.AreEqual(r3, a3 ^ b3);
}
[TestCompiler]
public static void bool2x2_operator_logical_not()
{
bool2x2 a0 = bool2x2(true, true, false, false);
bool2x2 r0 = bool2x2(false, false, true, true);
TestUtils.AreEqual(r0, !a0);
bool2x2 a1 = bool2x2(true, true, false, true);
bool2x2 r1 = bool2x2(false, false, true, false);
TestUtils.AreEqual(r1, !a1);
bool2x2 a2 = bool2x2(false, false, false, true);
bool2x2 r2 = bool2x2(true, true, true, false);
TestUtils.AreEqual(r2, !a2);
bool2x2 a3 = bool2x2(true, false, true, true);
bool2x2 r3 = bool2x2(false, true, false, false);
TestUtils.AreEqual(r3, !a3);
}
}
}

View File

@@ -0,0 +1,400 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using NUnit.Framework;
using static Unity.Mathematics.math;
using Burst.Compiler.IL.Tests;
namespace Unity.Mathematics.Tests
{
[TestFixture]
public class TestBool2x3
{
[TestCompiler]
public static void bool2x3_operator_equal_wide_wide()
{
bool2x3 a0 = bool2x3(true, false, true, false, false, true);
bool2x3 b0 = bool2x3(true, false, false, false, true, false);
bool2x3 r0 = bool2x3(true, true, false, true, false, false);
TestUtils.AreEqual(r0, a0 == b0);
bool2x3 a1 = bool2x3(false, false, true, false, true, false);
bool2x3 b1 = bool2x3(false, true, false, false, false, false);
bool2x3 r1 = bool2x3(true, false, false, true, false, true);
TestUtils.AreEqual(r1, a1 == b1);
bool2x3 a2 = bool2x3(true, true, false, true, true, false);
bool2x3 b2 = bool2x3(true, false, false, false, true, false);
bool2x3 r2 = bool2x3(true, false, true, false, true, true);
TestUtils.AreEqual(r2, a2 == b2);
bool2x3 a3 = bool2x3(false, true, true, true, false, true);
bool2x3 b3 = bool2x3(false, true, false, true, false, true);
bool2x3 r3 = bool2x3(true, true, false, true, true, true);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void bool2x3_operator_equal_wide_scalar()
{
bool2x3 a0 = bool2x3(false, true, false, false, false, false);
bool b0 = (true);
bool2x3 r0 = bool2x3(false, true, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
bool2x3 a1 = bool2x3(true, false, false, true, true, false);
bool b1 = (false);
bool2x3 r1 = bool2x3(false, true, true, false, false, true);
TestUtils.AreEqual(r1, a1 == b1);
bool2x3 a2 = bool2x3(true, true, false, false, false, true);
bool b2 = (false);
bool2x3 r2 = bool2x3(false, false, true, true, true, false);
TestUtils.AreEqual(r2, a2 == b2);
bool2x3 a3 = bool2x3(false, false, false, false, false, false);
bool b3 = (false);
bool2x3 r3 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void bool2x3_operator_equal_scalar_wide()
{
bool a0 = (false);
bool2x3 b0 = bool2x3(true, false, true, false, false, true);
bool2x3 r0 = bool2x3(false, true, false, true, true, false);
TestUtils.AreEqual(r0, a0 == b0);
bool a1 = (false);
bool2x3 b1 = bool2x3(false, true, false, true, true, false);
bool2x3 r1 = bool2x3(true, false, true, false, false, true);
TestUtils.AreEqual(r1, a1 == b1);
bool a2 = (true);
bool2x3 b2 = bool2x3(false, true, true, true, false, false);
bool2x3 r2 = bool2x3(false, true, true, true, false, false);
TestUtils.AreEqual(r2, a2 == b2);
bool a3 = (true);
bool2x3 b3 = bool2x3(false, true, true, false, true, true);
bool2x3 r3 = bool2x3(false, true, true, false, true, true);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void bool2x3_operator_not_equal_wide_wide()
{
bool2x3 a0 = bool2x3(true, true, true, false, false, true);
bool2x3 b0 = bool2x3(true, false, false, false, true, false);
bool2x3 r0 = bool2x3(false, true, true, false, true, true);
TestUtils.AreEqual(r0, a0 != b0);
bool2x3 a1 = bool2x3(false, false, false, false, true, true);
bool2x3 b1 = bool2x3(false, false, false, true, true, true);
bool2x3 r1 = bool2x3(false, false, false, true, false, false);
TestUtils.AreEqual(r1, a1 != b1);
bool2x3 a2 = bool2x3(true, true, true, true, true, true);
bool2x3 b2 = bool2x3(false, false, true, true, true, false);
bool2x3 r2 = bool2x3(true, true, false, false, false, true);
TestUtils.AreEqual(r2, a2 != b2);
bool2x3 a3 = bool2x3(false, true, false, true, true, true);
bool2x3 b3 = bool2x3(true, true, false, false, true, false);
bool2x3 r3 = bool2x3(true, false, false, true, false, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void bool2x3_operator_not_equal_wide_scalar()
{
bool2x3 a0 = bool2x3(false, true, false, true, true, false);
bool b0 = (false);
bool2x3 r0 = bool2x3(false, true, false, true, true, false);
TestUtils.AreEqual(r0, a0 != b0);
bool2x3 a1 = bool2x3(false, false, false, false, false, false);
bool b1 = (false);
bool2x3 r1 = bool2x3(false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 != b1);
bool2x3 a2 = bool2x3(true, false, false, false, true, true);
bool b2 = (false);
bool2x3 r2 = bool2x3(true, false, false, false, true, true);
TestUtils.AreEqual(r2, a2 != b2);
bool2x3 a3 = bool2x3(false, true, true, true, true, true);
bool b3 = (true);
bool2x3 r3 = bool2x3(true, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void bool2x3_operator_not_equal_scalar_wide()
{
bool a0 = (true);
bool2x3 b0 = bool2x3(false, false, true, false, false, false);
bool2x3 r0 = bool2x3(true, true, false, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
bool a1 = (true);
bool2x3 b1 = bool2x3(true, true, false, false, false, false);
bool2x3 r1 = bool2x3(false, false, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
bool a2 = (false);
bool2x3 b2 = bool2x3(true, false, false, true, false, false);
bool2x3 r2 = bool2x3(true, false, false, true, false, false);
TestUtils.AreEqual(r2, a2 != b2);
bool a3 = (false);
bool2x3 b3 = bool2x3(true, true, false, false, true, false);
bool2x3 r3 = bool2x3(true, true, false, false, true, false);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void bool2x3_operator_bitwise_and_wide_wide()
{
bool2x3 a0 = bool2x3(false, false, true, true, false, false);
bool2x3 b0 = bool2x3(false, false, true, false, true, true);
bool2x3 r0 = bool2x3(false, false, true, false, false, false);
TestUtils.AreEqual(r0, a0 & b0);
bool2x3 a1 = bool2x3(true, true, true, false, true, true);
bool2x3 b1 = bool2x3(false, false, true, true, false, false);
bool2x3 r1 = bool2x3(false, false, true, false, false, false);
TestUtils.AreEqual(r1, a1 & b1);
bool2x3 a2 = bool2x3(true, true, false, false, true, true);
bool2x3 b2 = bool2x3(false, false, true, false, true, false);
bool2x3 r2 = bool2x3(false, false, false, false, true, false);
TestUtils.AreEqual(r2, a2 & b2);
bool2x3 a3 = bool2x3(true, false, true, true, false, true);
bool2x3 b3 = bool2x3(true, true, true, true, true, true);
bool2x3 r3 = bool2x3(true, false, true, true, false, true);
TestUtils.AreEqual(r3, a3 & b3);
}
[TestCompiler]
public static void bool2x3_operator_bitwise_and_wide_scalar()
{
bool2x3 a0 = bool2x3(true, false, false, true, true, false);
bool b0 = (true);
bool2x3 r0 = bool2x3(true, false, false, true, true, false);
TestUtils.AreEqual(r0, a0 & b0);
bool2x3 a1 = bool2x3(false, false, false, true, true, true);
bool b1 = (false);
bool2x3 r1 = bool2x3(false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 & b1);
bool2x3 a2 = bool2x3(false, true, true, true, false, true);
bool b2 = (false);
bool2x3 r2 = bool2x3(false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 & b2);
bool2x3 a3 = bool2x3(false, true, true, false, false, false);
bool b3 = (true);
bool2x3 r3 = bool2x3(false, true, true, false, false, false);
TestUtils.AreEqual(r3, a3 & b3);
}
[TestCompiler]
public static void bool2x3_operator_bitwise_and_scalar_wide()
{
bool a0 = (false);
bool2x3 b0 = bool2x3(false, false, true, true, true, false);
bool2x3 r0 = bool2x3(false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 & b0);
bool a1 = (true);
bool2x3 b1 = bool2x3(false, false, false, true, false, false);
bool2x3 r1 = bool2x3(false, false, false, true, false, false);
TestUtils.AreEqual(r1, a1 & b1);
bool a2 = (false);
bool2x3 b2 = bool2x3(true, true, true, true, false, true);
bool2x3 r2 = bool2x3(false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 & b2);
bool a3 = (true);
bool2x3 b3 = bool2x3(true, true, true, false, true, false);
bool2x3 r3 = bool2x3(true, true, true, false, true, false);
TestUtils.AreEqual(r3, a3 & b3);
}
[TestCompiler]
public static void bool2x3_operator_bitwise_or_wide_wide()
{
bool2x3 a0 = bool2x3(true, true, true, false, true, false);
bool2x3 b0 = bool2x3(false, false, false, false, true, true);
bool2x3 r0 = bool2x3(true, true, true, false, true, true);
TestUtils.AreEqual(r0, a0 | b0);
bool2x3 a1 = bool2x3(true, true, false, true, true, true);
bool2x3 b1 = bool2x3(true, false, false, true, false, false);
bool2x3 r1 = bool2x3(true, true, false, true, true, true);
TestUtils.AreEqual(r1, a1 | b1);
bool2x3 a2 = bool2x3(true, true, true, false, true, true);
bool2x3 b2 = bool2x3(true, true, true, true, true, true);
bool2x3 r2 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 | b2);
bool2x3 a3 = bool2x3(false, true, true, false, true, false);
bool2x3 b3 = bool2x3(false, true, true, true, false, true);
bool2x3 r3 = bool2x3(false, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 | b3);
}
[TestCompiler]
public static void bool2x3_operator_bitwise_or_wide_scalar()
{
bool2x3 a0 = bool2x3(true, true, false, true, true, true);
bool b0 = (true);
bool2x3 r0 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 | b0);
bool2x3 a1 = bool2x3(true, true, false, false, true, false);
bool b1 = (false);
bool2x3 r1 = bool2x3(true, true, false, false, true, false);
TestUtils.AreEqual(r1, a1 | b1);
bool2x3 a2 = bool2x3(false, false, true, true, true, true);
bool b2 = (true);
bool2x3 r2 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 | b2);
bool2x3 a3 = bool2x3(true, true, true, false, true, false);
bool b3 = (true);
bool2x3 r3 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 | b3);
}
[TestCompiler]
public static void bool2x3_operator_bitwise_or_scalar_wide()
{
bool a0 = (true);
bool2x3 b0 = bool2x3(true, true, false, false, true, true);
bool2x3 r0 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 | b0);
bool a1 = (true);
bool2x3 b1 = bool2x3(false, false, true, true, false, true);
bool2x3 r1 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 | b1);
bool a2 = (true);
bool2x3 b2 = bool2x3(false, false, false, false, true, true);
bool2x3 r2 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 | b2);
bool a3 = (true);
bool2x3 b3 = bool2x3(true, true, false, true, false, true);
bool2x3 r3 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 | b3);
}
[TestCompiler]
public static void bool2x3_operator_bitwise_xor_wide_wide()
{
bool2x3 a0 = bool2x3(true, false, false, true, false, false);
bool2x3 b0 = bool2x3(true, true, false, true, false, true);
bool2x3 r0 = bool2x3(false, true, false, false, false, true);
TestUtils.AreEqual(r0, a0 ^ b0);
bool2x3 a1 = bool2x3(false, true, false, false, true, true);
bool2x3 b1 = bool2x3(false, true, false, false, false, true);
bool2x3 r1 = bool2x3(false, false, false, false, true, false);
TestUtils.AreEqual(r1, a1 ^ b1);
bool2x3 a2 = bool2x3(false, false, true, false, true, false);
bool2x3 b2 = bool2x3(false, false, true, true, false, false);
bool2x3 r2 = bool2x3(false, false, false, true, true, false);
TestUtils.AreEqual(r2, a2 ^ b2);
bool2x3 a3 = bool2x3(false, false, true, false, true, false);
bool2x3 b3 = bool2x3(false, false, false, true, false, false);
bool2x3 r3 = bool2x3(false, false, true, true, true, false);
TestUtils.AreEqual(r3, a3 ^ b3);
}
[TestCompiler]
public static void bool2x3_operator_bitwise_xor_wide_scalar()
{
bool2x3 a0 = bool2x3(false, false, true, true, false, false);
bool b0 = (false);
bool2x3 r0 = bool2x3(false, false, true, true, false, false);
TestUtils.AreEqual(r0, a0 ^ b0);
bool2x3 a1 = bool2x3(false, false, false, false, true, false);
bool b1 = (false);
bool2x3 r1 = bool2x3(false, false, false, false, true, false);
TestUtils.AreEqual(r1, a1 ^ b1);
bool2x3 a2 = bool2x3(true, true, true, false, true, false);
bool b2 = (true);
bool2x3 r2 = bool2x3(false, false, false, true, false, true);
TestUtils.AreEqual(r2, a2 ^ b2);
bool2x3 a3 = bool2x3(false, false, false, false, true, false);
bool b3 = (true);
bool2x3 r3 = bool2x3(true, true, true, true, false, true);
TestUtils.AreEqual(r3, a3 ^ b3);
}
[TestCompiler]
public static void bool2x3_operator_bitwise_xor_scalar_wide()
{
bool a0 = (true);
bool2x3 b0 = bool2x3(true, false, true, true, false, true);
bool2x3 r0 = bool2x3(false, true, false, false, true, false);
TestUtils.AreEqual(r0, a0 ^ b0);
bool a1 = (true);
bool2x3 b1 = bool2x3(false, false, true, true, false, false);
bool2x3 r1 = bool2x3(true, true, false, false, true, true);
TestUtils.AreEqual(r1, a1 ^ b1);
bool a2 = (true);
bool2x3 b2 = bool2x3(false, true, true, false, true, true);
bool2x3 r2 = bool2x3(true, false, false, true, false, false);
TestUtils.AreEqual(r2, a2 ^ b2);
bool a3 = (true);
bool2x3 b3 = bool2x3(false, false, false, true, true, true);
bool2x3 r3 = bool2x3(true, true, true, false, false, false);
TestUtils.AreEqual(r3, a3 ^ b3);
}
[TestCompiler]
public static void bool2x3_operator_logical_not()
{
bool2x3 a0 = bool2x3(true, true, false, false, true, false);
bool2x3 r0 = bool2x3(false, false, true, true, false, true);
TestUtils.AreEqual(r0, !a0);
bool2x3 a1 = bool2x3(true, true, false, false, false, false);
bool2x3 r1 = bool2x3(false, false, true, true, true, true);
TestUtils.AreEqual(r1, !a1);
bool2x3 a2 = bool2x3(true, false, false, true, true, true);
bool2x3 r2 = bool2x3(false, true, true, false, false, false);
TestUtils.AreEqual(r2, !a2);
bool2x3 a3 = bool2x3(false, true, true, false, false, false);
bool2x3 r3 = bool2x3(true, false, false, true, true, true);
TestUtils.AreEqual(r3, !a3);
}
}
}

View File

@@ -0,0 +1,400 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using NUnit.Framework;
using static Unity.Mathematics.math;
using Burst.Compiler.IL.Tests;
namespace Unity.Mathematics.Tests
{
[TestFixture]
public class TestBool2x4
{
[TestCompiler]
public static void bool2x4_operator_equal_wide_wide()
{
bool2x4 a0 = bool2x4(true, false, true, false, false, true, false, false);
bool2x4 b0 = bool2x4(true, false, false, false, true, false, false, true);
bool2x4 r0 = bool2x4(true, true, false, true, false, false, true, false);
TestUtils.AreEqual(r0, a0 == b0);
bool2x4 a1 = bool2x4(true, false, true, false, true, true, false, true);
bool2x4 b1 = bool2x4(false, false, false, false, true, false, false, false);
bool2x4 r1 = bool2x4(false, true, false, true, true, false, true, false);
TestUtils.AreEqual(r1, a1 == b1);
bool2x4 a2 = bool2x4(true, false, false, true, true, true, false, true);
bool2x4 b2 = bool2x4(true, false, false, true, false, true, false, true);
bool2x4 r2 = bool2x4(true, true, true, true, false, true, true, true);
TestUtils.AreEqual(r2, a2 == b2);
bool2x4 a3 = bool2x4(true, true, false, true, true, true, false, true);
bool2x4 b3 = bool2x4(true, true, true, true, true, false, false, false);
bool2x4 r3 = bool2x4(true, true, false, true, true, false, true, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void bool2x4_operator_equal_wide_scalar()
{
bool2x4 a0 = bool2x4(false, true, false, false, false, false, true, false);
bool b0 = (true);
bool2x4 r0 = bool2x4(false, true, false, false, false, false, true, false);
TestUtils.AreEqual(r0, a0 == b0);
bool2x4 a1 = bool2x4(false, true, true, false, true, false, true, false);
bool b1 = (false);
bool2x4 r1 = bool2x4(true, false, false, true, false, true, false, true);
TestUtils.AreEqual(r1, a1 == b1);
bool2x4 a2 = bool2x4(false, true, false, false, false, false, false, false);
bool b2 = (false);
bool2x4 r2 = bool2x4(true, false, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 == b2);
bool2x4 a3 = bool2x4(false, false, false, false, false, true, true, false);
bool b3 = (false);
bool2x4 r3 = bool2x4(true, true, true, true, true, false, false, true);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void bool2x4_operator_equal_scalar_wide()
{
bool a0 = (false);
bool2x4 b0 = bool2x4(true, false, true, false, false, true, false, false);
bool2x4 r0 = bool2x4(false, true, false, true, true, false, true, true);
TestUtils.AreEqual(r0, a0 == b0);
bool a1 = (true);
bool2x4 b1 = bool2x4(false, true, true, false, true, false, true, true);
bool2x4 r1 = bool2x4(false, true, true, false, true, false, true, true);
TestUtils.AreEqual(r1, a1 == b1);
bool a2 = (true);
bool2x4 b2 = bool2x4(false, false, true, false, true, true, false, true);
bool2x4 r2 = bool2x4(false, false, true, false, true, true, false, true);
TestUtils.AreEqual(r2, a2 == b2);
bool a3 = (true);
bool2x4 b3 = bool2x4(true, true, true, true, false, true, true, false);
bool2x4 r3 = bool2x4(true, true, true, true, false, true, true, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void bool2x4_operator_not_equal_wide_wide()
{
bool2x4 a0 = bool2x4(true, true, true, false, false, true, false, false);
bool2x4 b0 = bool2x4(true, false, false, false, true, false, false, false);
bool2x4 r0 = bool2x4(false, true, true, false, true, true, false, false);
TestUtils.AreEqual(r0, a0 != b0);
bool2x4 a1 = bool2x4(false, false, true, true, true, true, true, true);
bool2x4 b1 = bool2x4(false, true, true, true, false, false, true, true);
bool2x4 r1 = bool2x4(false, true, false, false, true, true, false, false);
TestUtils.AreEqual(r1, a1 != b1);
bool2x4 a2 = bool2x4(true, true, false, true, false, true, true, true);
bool2x4 b2 = bool2x4(true, false, true, true, false, false, true, false);
bool2x4 r2 = bool2x4(false, true, true, false, false, true, false, true);
TestUtils.AreEqual(r2, a2 != b2);
bool2x4 a3 = bool2x4(true, false, false, true, false, true, true, true);
bool2x4 b3 = bool2x4(false, false, true, false, true, false, true, false);
bool2x4 r3 = bool2x4(true, false, true, true, true, true, false, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void bool2x4_operator_not_equal_wide_scalar()
{
bool2x4 a0 = bool2x4(false, true, false, true, true, false, false, false);
bool b0 = (false);
bool2x4 r0 = bool2x4(false, true, false, true, true, false, false, false);
TestUtils.AreEqual(r0, a0 != b0);
bool2x4 a1 = bool2x4(false, false, false, false, true, false, false, false);
bool b1 = (false);
bool2x4 r1 = bool2x4(false, false, false, false, true, false, false, false);
TestUtils.AreEqual(r1, a1 != b1);
bool2x4 a2 = bool2x4(false, true, false, true, true, true, true, true);
bool b2 = (true);
bool2x4 r2 = bool2x4(true, false, true, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 != b2);
bool2x4 a3 = bool2x4(true, true, true, true, false, false, true, false);
bool b3 = (false);
bool2x4 r3 = bool2x4(true, true, true, true, false, false, true, false);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void bool2x4_operator_not_equal_scalar_wide()
{
bool a0 = (true);
bool2x4 b0 = bool2x4(false, false, true, false, false, false, true, true);
bool2x4 r0 = bool2x4(true, true, false, true, true, true, false, false);
TestUtils.AreEqual(r0, a0 != b0);
bool a1 = (true);
bool2x4 b1 = bool2x4(false, false, false, false, false, true, false, false);
bool2x4 r1 = bool2x4(true, true, true, true, true, false, true, true);
TestUtils.AreEqual(r1, a1 != b1);
bool a2 = (true);
bool2x4 b2 = bool2x4(false, false, false, true, true, false, false, true);
bool2x4 r2 = bool2x4(true, true, true, false, false, true, true, false);
TestUtils.AreEqual(r2, a2 != b2);
bool a3 = (false);
bool2x4 b3 = bool2x4(false, true, true, false, true, false, false, true);
bool2x4 r3 = bool2x4(false, true, true, false, true, false, false, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void bool2x4_operator_bitwise_and_wide_wide()
{
bool2x4 a0 = bool2x4(false, false, true, true, false, false, true, true);
bool2x4 b0 = bool2x4(false, false, true, false, true, true, false, false);
bool2x4 r0 = bool2x4(false, false, true, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 & b0);
bool2x4 a1 = bool2x4(true, false, true, true, true, true, false, false);
bool2x4 b1 = bool2x4(true, true, false, false, false, false, true, false);
bool2x4 r1 = bool2x4(true, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 & b1);
bool2x4 a2 = bool2x4(true, true, true, false, true, true, false, true);
bool2x4 b2 = bool2x4(true, false, true, true, true, true, true, true);
bool2x4 r2 = bool2x4(true, false, true, false, true, true, false, true);
TestUtils.AreEqual(r2, a2 & b2);
bool2x4 a3 = bool2x4(true, false, true, true, true, false, false, true);
bool2x4 b3 = bool2x4(true, true, true, false, false, false, true, false);
bool2x4 r3 = bool2x4(true, false, true, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 & b3);
}
[TestCompiler]
public static void bool2x4_operator_bitwise_and_wide_scalar()
{
bool2x4 a0 = bool2x4(true, false, false, true, true, false, false, false);
bool b0 = (true);
bool2x4 r0 = bool2x4(true, false, false, true, true, false, false, false);
TestUtils.AreEqual(r0, a0 & b0);
bool2x4 a1 = bool2x4(false, true, true, true, false, false, true, true);
bool b1 = (false);
bool2x4 r1 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 & b1);
bool2x4 a2 = bool2x4(true, true, false, true, true, true, false, false);
bool b2 = (false);
bool2x4 r2 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 & b2);
bool2x4 a3 = bool2x4(false, false, true, false, true, false, false, false);
bool b3 = (false);
bool2x4 r3 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 & b3);
}
[TestCompiler]
public static void bool2x4_operator_bitwise_and_scalar_wide()
{
bool a0 = (false);
bool2x4 b0 = bool2x4(false, false, true, true, true, false, true, false);
bool2x4 r0 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 & b0);
bool a1 = (false);
bool2x4 b1 = bool2x4(false, true, false, false, false, true, true, true);
bool2x4 r1 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 & b1);
bool a2 = (true);
bool2x4 b2 = bool2x4(false, true, true, true, true, true, false, true);
bool2x4 r2 = bool2x4(false, true, true, true, true, true, false, true);
TestUtils.AreEqual(r2, a2 & b2);
bool a3 = (false);
bool2x4 b3 = bool2x4(true, false, false, false, true, true, true, true);
bool2x4 r3 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 & b3);
}
[TestCompiler]
public static void bool2x4_operator_bitwise_or_wide_wide()
{
bool2x4 a0 = bool2x4(true, true, true, false, true, false, true, true);
bool2x4 b0 = bool2x4(false, false, false, false, true, true, true, false);
bool2x4 r0 = bool2x4(true, true, true, false, true, true, true, true);
TestUtils.AreEqual(r0, a0 | b0);
bool2x4 a1 = bool2x4(false, true, true, true, true, true, true, false);
bool2x4 b1 = bool2x4(false, true, false, false, true, true, true, true);
bool2x4 r1 = bool2x4(false, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 | b1);
bool2x4 a2 = bool2x4(true, true, false, true, true, false, true, false);
bool2x4 b2 = bool2x4(true, true, false, true, true, true, false, true);
bool2x4 r2 = bool2x4(true, true, false, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 | b2);
bool2x4 a3 = bool2x4(true, true, false, true, false, false, false, false);
bool2x4 b3 = bool2x4(false, true, false, false, true, true, true, true);
bool2x4 r3 = bool2x4(true, true, false, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 | b3);
}
[TestCompiler]
public static void bool2x4_operator_bitwise_or_wide_scalar()
{
bool2x4 a0 = bool2x4(true, true, false, true, true, true, true, false);
bool b0 = (true);
bool2x4 r0 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 | b0);
bool2x4 a1 = bool2x4(true, false, true, false, false, true, false, true);
bool b1 = (false);
bool2x4 r1 = bool2x4(true, false, true, false, false, true, false, true);
TestUtils.AreEqual(r1, a1 | b1);
bool2x4 a2 = bool2x4(true, true, true, true, true, true, false, true);
bool b2 = (true);
bool2x4 r2 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 | b2);
bool2x4 a3 = bool2x4(false, false, true, true, true, true, true, true);
bool b3 = (false);
bool2x4 r3 = bool2x4(false, false, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 | b3);
}
[TestCompiler]
public static void bool2x4_operator_bitwise_or_scalar_wide()
{
bool a0 = (true);
bool2x4 b0 = bool2x4(true, true, false, false, true, true, true, false);
bool2x4 r0 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 | b0);
bool a1 = (false);
bool2x4 b1 = bool2x4(true, true, false, true, true, false, false, false);
bool2x4 r1 = bool2x4(true, true, false, true, true, false, false, false);
TestUtils.AreEqual(r1, a1 | b1);
bool a2 = (false);
bool2x4 b2 = bool2x4(true, true, true, true, true, false, true, false);
bool2x4 r2 = bool2x4(true, true, true, true, true, false, true, false);
TestUtils.AreEqual(r2, a2 | b2);
bool a3 = (true);
bool2x4 b3 = bool2x4(true, false, true, true, false, true, true, false);
bool2x4 r3 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 | b3);
}
[TestCompiler]
public static void bool2x4_operator_bitwise_xor_wide_wide()
{
bool2x4 a0 = bool2x4(true, false, false, true, false, false, false, true);
bool2x4 b0 = bool2x4(true, true, false, true, false, true, false, true);
bool2x4 r0 = bool2x4(false, true, false, false, false, true, false, false);
TestUtils.AreEqual(r0, a0 ^ b0);
bool2x4 a1 = bool2x4(false, false, true, true, false, false, true, false);
bool2x4 b1 = bool2x4(false, false, false, true, false, false, true, true);
bool2x4 r1 = bool2x4(false, false, true, false, false, false, false, true);
TestUtils.AreEqual(r1, a1 ^ b1);
bool2x4 a2 = bool2x4(true, false, false, false, true, false, true, false);
bool2x4 b2 = bool2x4(false, false, false, false, false, true, false, false);
bool2x4 r2 = bool2x4(true, false, false, false, true, true, true, false);
TestUtils.AreEqual(r2, a2 ^ b2);
bool2x4 a3 = bool2x4(true, false, false, false, true, true, true, true);
bool2x4 b3 = bool2x4(false, true, false, true, true, false, false, true);
bool2x4 r3 = bool2x4(true, true, false, true, false, true, true, false);
TestUtils.AreEqual(r3, a3 ^ b3);
}
[TestCompiler]
public static void bool2x4_operator_bitwise_xor_wide_scalar()
{
bool2x4 a0 = bool2x4(false, false, true, true, false, false, false, false);
bool b0 = (false);
bool2x4 r0 = bool2x4(false, false, true, true, false, false, false, false);
TestUtils.AreEqual(r0, a0 ^ b0);
bool2x4 a1 = bool2x4(false, false, true, false, true, true, true, true);
bool b1 = (false);
bool2x4 r1 = bool2x4(false, false, true, false, true, true, true, true);
TestUtils.AreEqual(r1, a1 ^ b1);
bool2x4 a2 = bool2x4(false, false, false, true, false, false, false, true);
bool b2 = (true);
bool2x4 r2 = bool2x4(true, true, true, false, true, true, true, false);
TestUtils.AreEqual(r2, a2 ^ b2);
bool2x4 a3 = bool2x4(false, true, true, true, false, true, false, false);
bool b3 = (true);
bool2x4 r3 = bool2x4(true, false, false, false, true, false, true, true);
TestUtils.AreEqual(r3, a3 ^ b3);
}
[TestCompiler]
public static void bool2x4_operator_bitwise_xor_scalar_wide()
{
bool a0 = (true);
bool2x4 b0 = bool2x4(true, false, true, true, false, true, true, false);
bool2x4 r0 = bool2x4(false, true, false, false, true, false, false, true);
TestUtils.AreEqual(r0, a0 ^ b0);
bool a1 = (false);
bool2x4 b1 = bool2x4(true, true, false, false, true, false, true, true);
bool2x4 r1 = bool2x4(true, true, false, false, true, false, true, true);
TestUtils.AreEqual(r1, a1 ^ b1);
bool a2 = (false);
bool2x4 b2 = bool2x4(true, true, true, false, false, false, true, true);
bool2x4 r2 = bool2x4(true, true, true, false, false, false, true, true);
TestUtils.AreEqual(r2, a2 ^ b2);
bool a3 = (true);
bool2x4 b3 = bool2x4(false, false, false, true, true, false, true, false);
bool2x4 r3 = bool2x4(true, true, true, false, false, true, false, true);
TestUtils.AreEqual(r3, a3 ^ b3);
}
[TestCompiler]
public static void bool2x4_operator_logical_not()
{
bool2x4 a0 = bool2x4(true, true, false, false, true, false, true, false);
bool2x4 r0 = bool2x4(false, false, true, true, false, true, false, true);
TestUtils.AreEqual(r0, !a0);
bool2x4 a1 = bool2x4(true, false, false, false, true, true, false, false);
bool2x4 r1 = bool2x4(false, true, true, true, false, false, true, true);
TestUtils.AreEqual(r1, !a1);
bool2x4 a2 = bool2x4(true, true, false, true, true, true, false, false);
bool2x4 r2 = bool2x4(false, false, true, false, false, false, true, true);
TestUtils.AreEqual(r2, !a2);
bool2x4 a3 = bool2x4(false, false, true, false, false, true, true, false);
bool2x4 r3 = bool2x4(true, true, false, true, true, false, false, true);
TestUtils.AreEqual(r3, !a3);
}
}
}

View File

@@ -0,0 +1,436 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using NUnit.Framework;
using static Unity.Mathematics.math;
using Burst.Compiler.IL.Tests;
namespace Unity.Mathematics.Tests
{
[TestFixture]
public class TestBool3
{
[TestCompiler]
public static void bool3_constructor()
{
bool3 a = new bool3(false, true, false);
TestUtils.AreEqual(false, a.x);
TestUtils.AreEqual(true, a.y);
TestUtils.AreEqual(false, a.z);
}
[TestCompiler]
public static void bool3_scalar_constructor()
{
bool3 a = new bool3(true);
TestUtils.AreEqual(true, a.x);
TestUtils.AreEqual(true, a.y);
TestUtils.AreEqual(true, a.z);
}
[TestCompiler]
public static void bool3_static_constructor()
{
bool3 a = bool3(false, true, false);
TestUtils.AreEqual(false, a.x);
TestUtils.AreEqual(true, a.y);
TestUtils.AreEqual(false, a.z);
}
[TestCompiler]
public static void bool3_static_scalar_constructor()
{
bool3 a = bool3(true);
TestUtils.AreEqual(true, a.x);
TestUtils.AreEqual(true, a.y);
TestUtils.AreEqual(true, a.z);
}
[TestCompiler]
public static void bool3_operator_equal_wide_wide()
{
bool3 a0 = bool3(true, false, true);
bool3 b0 = bool3(true, false, false);
bool3 r0 = bool3(true, true, false);
TestUtils.AreEqual(r0, a0 == b0);
bool3 a1 = bool3(false, false, true);
bool3 b1 = bool3(false, true, false);
bool3 r1 = bool3(true, false, false);
TestUtils.AreEqual(r1, a1 == b1);
bool3 a2 = bool3(false, false, true);
bool3 b2 = bool3(false, true, false);
bool3 r2 = bool3(true, false, false);
TestUtils.AreEqual(r2, a2 == b2);
bool3 a3 = bool3(false, true, false);
bool3 b3 = bool3(false, false, false);
bool3 r3 = bool3(true, false, true);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void bool3_operator_equal_wide_scalar()
{
bool3 a0 = bool3(false, true, false);
bool b0 = (true);
bool3 r0 = bool3(false, true, false);
TestUtils.AreEqual(r0, a0 == b0);
bool3 a1 = bool3(false, false, true);
bool b1 = (false);
bool3 r1 = bool3(true, true, false);
TestUtils.AreEqual(r1, a1 == b1);
bool3 a2 = bool3(false, false, true);
bool b2 = (false);
bool3 r2 = bool3(true, true, false);
TestUtils.AreEqual(r2, a2 == b2);
bool3 a3 = bool3(true, true, false);
bool b3 = (false);
bool3 r3 = bool3(false, false, true);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void bool3_operator_equal_scalar_wide()
{
bool a0 = (false);
bool3 b0 = bool3(true, false, true);
bool3 r0 = bool3(false, true, false);
TestUtils.AreEqual(r0, a0 == b0);
bool a1 = (false);
bool3 b1 = bool3(false, true, false);
bool3 r1 = bool3(true, false, true);
TestUtils.AreEqual(r1, a1 == b1);
bool a2 = (false);
bool3 b2 = bool3(true, false, true);
bool3 r2 = bool3(false, true, false);
TestUtils.AreEqual(r2, a2 == b2);
bool a3 = (true);
bool3 b3 = bool3(false, true, false);
bool3 r3 = bool3(false, true, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void bool3_operator_not_equal_wide_wide()
{
bool3 a0 = bool3(true, true, true);
bool3 b0 = bool3(true, false, false);
bool3 r0 = bool3(false, true, true);
TestUtils.AreEqual(r0, a0 != b0);
bool3 a1 = bool3(false, false, true);
bool3 b1 = bool3(false, true, false);
bool3 r1 = bool3(false, true, true);
TestUtils.AreEqual(r1, a1 != b1);
bool3 a2 = bool3(false, false, false);
bool3 b2 = bool3(false, false, false);
bool3 r2 = bool3(false, false, false);
TestUtils.AreEqual(r2, a2 != b2);
bool3 a3 = bool3(false, true, true);
bool3 b3 = bool3(true, true, true);
bool3 r3 = bool3(true, false, false);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void bool3_operator_not_equal_wide_scalar()
{
bool3 a0 = bool3(false, true, false);
bool b0 = (false);
bool3 r0 = bool3(false, true, false);
TestUtils.AreEqual(r0, a0 != b0);
bool3 a1 = bool3(true, false, false);
bool b1 = (true);
bool3 r1 = bool3(false, true, true);
TestUtils.AreEqual(r1, a1 != b1);
bool3 a2 = bool3(false, false, false);
bool b2 = (false);
bool3 r2 = bool3(false, false, false);
TestUtils.AreEqual(r2, a2 != b2);
bool3 a3 = bool3(false, true, false);
bool b3 = (false);
bool3 r3 = bool3(false, true, false);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void bool3_operator_not_equal_scalar_wide()
{
bool a0 = (true);
bool3 b0 = bool3(false, false, true);
bool3 r0 = bool3(true, true, false);
TestUtils.AreEqual(r0, a0 != b0);
bool a1 = (false);
bool3 b1 = bool3(false, false, true);
bool3 r1 = bool3(false, false, true);
TestUtils.AreEqual(r1, a1 != b1);
bool a2 = (true);
bool3 b2 = bool3(true, false, false);
bool3 r2 = bool3(false, true, true);
TestUtils.AreEqual(r2, a2 != b2);
bool a3 = (false);
bool3 b3 = bool3(false, false, true);
bool3 r3 = bool3(false, false, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void bool3_operator_bitwise_and_wide_wide()
{
bool3 a0 = bool3(false, false, true);
bool3 b0 = bool3(false, false, true);
bool3 r0 = bool3(false, false, true);
TestUtils.AreEqual(r0, a0 & b0);
bool3 a1 = bool3(true, false, false);
bool3 b1 = bool3(false, true, true);
bool3 r1 = bool3(false, false, false);
TestUtils.AreEqual(r1, a1 & b1);
bool3 a2 = bool3(true, true, true);
bool3 b2 = bool3(false, false, true);
bool3 r2 = bool3(false, false, true);
TestUtils.AreEqual(r2, a2 & b2);
bool3 a3 = bool3(false, true, true);
bool3 b3 = bool3(true, false, false);
bool3 r3 = bool3(false, false, false);
TestUtils.AreEqual(r3, a3 & b3);
}
[TestCompiler]
public static void bool3_operator_bitwise_and_wide_scalar()
{
bool3 a0 = bool3(true, false, false);
bool b0 = (true);
bool3 r0 = bool3(true, false, false);
TestUtils.AreEqual(r0, a0 & b0);
bool3 a1 = bool3(true, false, false);
bool b1 = (true);
bool3 r1 = bool3(true, false, false);
TestUtils.AreEqual(r1, a1 & b1);
bool3 a2 = bool3(false, false, true);
bool b2 = (false);
bool3 r2 = bool3(false, false, false);
TestUtils.AreEqual(r2, a2 & b2);
bool3 a3 = bool3(true, false, false);
bool b3 = (true);
bool3 r3 = bool3(true, false, false);
TestUtils.AreEqual(r3, a3 & b3);
}
[TestCompiler]
public static void bool3_operator_bitwise_and_scalar_wide()
{
bool a0 = (false);
bool3 b0 = bool3(false, false, true);
bool3 r0 = bool3(false, false, false);
TestUtils.AreEqual(r0, a0 & b0);
bool a1 = (true);
bool3 b1 = bool3(true, false, true);
bool3 r1 = bool3(true, false, true);
TestUtils.AreEqual(r1, a1 & b1);
bool a2 = (false);
bool3 b2 = bool3(false, false, true);
bool3 r2 = bool3(false, false, false);
TestUtils.AreEqual(r2, a2 & b2);
bool a3 = (false);
bool3 b3 = bool3(false, false, true);
bool3 r3 = bool3(false, false, false);
TestUtils.AreEqual(r3, a3 & b3);
}
[TestCompiler]
public static void bool3_operator_bitwise_or_wide_wide()
{
bool3 a0 = bool3(true, true, true);
bool3 b0 = bool3(false, false, false);
bool3 r0 = bool3(true, true, true);
TestUtils.AreEqual(r0, a0 | b0);
bool3 a1 = bool3(false, true, false);
bool3 b1 = bool3(false, true, true);
bool3 r1 = bool3(false, true, true);
TestUtils.AreEqual(r1, a1 | b1);
bool3 a2 = bool3(true, true, false);
bool3 b2 = bool3(true, false, false);
bool3 r2 = bool3(true, true, false);
TestUtils.AreEqual(r2, a2 | b2);
bool3 a3 = bool3(true, true, true);
bool3 b3 = bool3(true, false, false);
bool3 r3 = bool3(true, true, true);
TestUtils.AreEqual(r3, a3 | b3);
}
[TestCompiler]
public static void bool3_operator_bitwise_or_wide_scalar()
{
bool3 a0 = bool3(true, true, false);
bool b0 = (true);
bool3 r0 = bool3(true, true, true);
TestUtils.AreEqual(r0, a0 | b0);
bool3 a1 = bool3(true, true, true);
bool b1 = (true);
bool3 r1 = bool3(true, true, true);
TestUtils.AreEqual(r1, a1 | b1);
bool3 a2 = bool3(false, false, false);
bool b2 = (true);
bool3 r2 = bool3(true, true, true);
TestUtils.AreEqual(r2, a2 | b2);
bool3 a3 = bool3(true, false, true);
bool b3 = (false);
bool3 r3 = bool3(true, false, true);
TestUtils.AreEqual(r3, a3 | b3);
}
[TestCompiler]
public static void bool3_operator_bitwise_or_scalar_wide()
{
bool a0 = (true);
bool3 b0 = bool3(true, true, false);
bool3 r0 = bool3(true, true, true);
TestUtils.AreEqual(r0, a0 | b0);
bool a1 = (false);
bool3 b1 = bool3(true, true, true);
bool3 r1 = bool3(true, true, true);
TestUtils.AreEqual(r1, a1 | b1);
bool a2 = (false);
bool3 b2 = bool3(false, true, true);
bool3 r2 = bool3(false, true, true);
TestUtils.AreEqual(r2, a2 | b2);
bool a3 = (false);
bool3 b3 = bool3(true, true, false);
bool3 r3 = bool3(true, true, false);
TestUtils.AreEqual(r3, a3 | b3);
}
[TestCompiler]
public static void bool3_operator_bitwise_xor_wide_wide()
{
bool3 a0 = bool3(true, false, false);
bool3 b0 = bool3(true, true, false);
bool3 r0 = bool3(false, true, false);
TestUtils.AreEqual(r0, a0 ^ b0);
bool3 a1 = bool3(true, false, false);
bool3 b1 = bool3(true, false, true);
bool3 r1 = bool3(false, false, true);
TestUtils.AreEqual(r1, a1 ^ b1);
bool3 a2 = bool3(false, true, false);
bool3 b2 = bool3(false, true, false);
bool3 r2 = bool3(false, false, false);
TestUtils.AreEqual(r2, a2 ^ b2);
bool3 a3 = bool3(false, true, true);
bool3 b3 = bool3(false, false, true);
bool3 r3 = bool3(false, true, false);
TestUtils.AreEqual(r3, a3 ^ b3);
}
[TestCompiler]
public static void bool3_operator_bitwise_xor_wide_scalar()
{
bool3 a0 = bool3(false, false, true);
bool b0 = (false);
bool3 r0 = bool3(false, false, true);
TestUtils.AreEqual(r0, a0 ^ b0);
bool3 a1 = bool3(true, false, false);
bool b1 = (false);
bool3 r1 = bool3(true, false, false);
TestUtils.AreEqual(r1, a1 ^ b1);
bool3 a2 = bool3(false, false, false);
bool b2 = (false);
bool3 r2 = bool3(false, false, false);
TestUtils.AreEqual(r2, a2 ^ b2);
bool3 a3 = bool3(true, true, true);
bool b3 = (false);
bool3 r3 = bool3(true, true, true);
TestUtils.AreEqual(r3, a3 ^ b3);
}
[TestCompiler]
public static void bool3_operator_bitwise_xor_scalar_wide()
{
bool a0 = (true);
bool3 b0 = bool3(true, false, true);
bool3 r0 = bool3(false, true, false);
TestUtils.AreEqual(r0, a0 ^ b0);
bool a1 = (true);
bool3 b1 = bool3(false, true, true);
bool3 r1 = bool3(true, false, false);
TestUtils.AreEqual(r1, a1 ^ b1);
bool a2 = (false);
bool3 b2 = bool3(false, true, true);
bool3 r2 = bool3(false, true, true);
TestUtils.AreEqual(r2, a2 ^ b2);
bool a3 = (false);
bool3 b3 = bool3(false, true, false);
bool3 r3 = bool3(false, true, false);
TestUtils.AreEqual(r3, a3 ^ b3);
}
[TestCompiler]
public static void bool3_operator_logical_not()
{
bool3 a0 = bool3(true, true, false);
bool3 r0 = bool3(false, false, true);
TestUtils.AreEqual(r0, !a0);
bool3 a1 = bool3(false, false, true);
bool3 r1 = bool3(true, true, false);
TestUtils.AreEqual(r1, !a1);
bool3 a2 = bool3(false, false, false);
bool3 r2 = bool3(true, true, true);
TestUtils.AreEqual(r2, !a2);
bool3 a3 = bool3(false, true, true);
bool3 r3 = bool3(true, false, false);
TestUtils.AreEqual(r3, !a3);
}
}
}

View File

@@ -0,0 +1,400 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using NUnit.Framework;
using static Unity.Mathematics.math;
using Burst.Compiler.IL.Tests;
namespace Unity.Mathematics.Tests
{
[TestFixture]
public class TestBool3x2
{
[TestCompiler]
public static void bool3x2_operator_equal_wide_wide()
{
bool3x2 a0 = bool3x2(true, false, true, false, false, true);
bool3x2 b0 = bool3x2(true, false, false, false, true, false);
bool3x2 r0 = bool3x2(true, true, false, true, false, false);
TestUtils.AreEqual(r0, a0 == b0);
bool3x2 a1 = bool3x2(false, false, true, false, true, false);
bool3x2 b1 = bool3x2(false, true, false, false, false, false);
bool3x2 r1 = bool3x2(true, false, false, true, false, true);
TestUtils.AreEqual(r1, a1 == b1);
bool3x2 a2 = bool3x2(true, true, false, true, true, false);
bool3x2 b2 = bool3x2(true, false, false, false, true, false);
bool3x2 r2 = bool3x2(true, false, true, false, true, true);
TestUtils.AreEqual(r2, a2 == b2);
bool3x2 a3 = bool3x2(false, true, true, true, false, true);
bool3x2 b3 = bool3x2(false, true, false, true, false, true);
bool3x2 r3 = bool3x2(true, true, false, true, true, true);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void bool3x2_operator_equal_wide_scalar()
{
bool3x2 a0 = bool3x2(false, true, false, false, false, false);
bool b0 = (true);
bool3x2 r0 = bool3x2(false, true, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
bool3x2 a1 = bool3x2(true, false, false, true, true, false);
bool b1 = (false);
bool3x2 r1 = bool3x2(false, true, true, false, false, true);
TestUtils.AreEqual(r1, a1 == b1);
bool3x2 a2 = bool3x2(true, true, false, false, false, true);
bool b2 = (false);
bool3x2 r2 = bool3x2(false, false, true, true, true, false);
TestUtils.AreEqual(r2, a2 == b2);
bool3x2 a3 = bool3x2(false, false, false, false, false, false);
bool b3 = (false);
bool3x2 r3 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void bool3x2_operator_equal_scalar_wide()
{
bool a0 = (false);
bool3x2 b0 = bool3x2(true, false, true, false, false, true);
bool3x2 r0 = bool3x2(false, true, false, true, true, false);
TestUtils.AreEqual(r0, a0 == b0);
bool a1 = (false);
bool3x2 b1 = bool3x2(false, true, false, true, true, false);
bool3x2 r1 = bool3x2(true, false, true, false, false, true);
TestUtils.AreEqual(r1, a1 == b1);
bool a2 = (true);
bool3x2 b2 = bool3x2(false, true, true, true, false, false);
bool3x2 r2 = bool3x2(false, true, true, true, false, false);
TestUtils.AreEqual(r2, a2 == b2);
bool a3 = (true);
bool3x2 b3 = bool3x2(false, true, true, false, true, true);
bool3x2 r3 = bool3x2(false, true, true, false, true, true);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void bool3x2_operator_not_equal_wide_wide()
{
bool3x2 a0 = bool3x2(true, true, true, false, false, true);
bool3x2 b0 = bool3x2(true, false, false, false, true, false);
bool3x2 r0 = bool3x2(false, true, true, false, true, true);
TestUtils.AreEqual(r0, a0 != b0);
bool3x2 a1 = bool3x2(false, false, false, false, true, true);
bool3x2 b1 = bool3x2(false, false, false, true, true, true);
bool3x2 r1 = bool3x2(false, false, false, true, false, false);
TestUtils.AreEqual(r1, a1 != b1);
bool3x2 a2 = bool3x2(true, true, true, true, true, true);
bool3x2 b2 = bool3x2(false, false, true, true, true, false);
bool3x2 r2 = bool3x2(true, true, false, false, false, true);
TestUtils.AreEqual(r2, a2 != b2);
bool3x2 a3 = bool3x2(false, true, false, true, true, true);
bool3x2 b3 = bool3x2(true, true, false, false, true, false);
bool3x2 r3 = bool3x2(true, false, false, true, false, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void bool3x2_operator_not_equal_wide_scalar()
{
bool3x2 a0 = bool3x2(false, true, false, true, true, false);
bool b0 = (false);
bool3x2 r0 = bool3x2(false, true, false, true, true, false);
TestUtils.AreEqual(r0, a0 != b0);
bool3x2 a1 = bool3x2(false, false, false, false, false, false);
bool b1 = (false);
bool3x2 r1 = bool3x2(false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 != b1);
bool3x2 a2 = bool3x2(true, false, false, false, true, true);
bool b2 = (false);
bool3x2 r2 = bool3x2(true, false, false, false, true, true);
TestUtils.AreEqual(r2, a2 != b2);
bool3x2 a3 = bool3x2(false, true, true, true, true, true);
bool b3 = (true);
bool3x2 r3 = bool3x2(true, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void bool3x2_operator_not_equal_scalar_wide()
{
bool a0 = (true);
bool3x2 b0 = bool3x2(false, false, true, false, false, false);
bool3x2 r0 = bool3x2(true, true, false, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
bool a1 = (true);
bool3x2 b1 = bool3x2(true, true, false, false, false, false);
bool3x2 r1 = bool3x2(false, false, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
bool a2 = (false);
bool3x2 b2 = bool3x2(true, false, false, true, false, false);
bool3x2 r2 = bool3x2(true, false, false, true, false, false);
TestUtils.AreEqual(r2, a2 != b2);
bool a3 = (false);
bool3x2 b3 = bool3x2(true, true, false, false, true, false);
bool3x2 r3 = bool3x2(true, true, false, false, true, false);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void bool3x2_operator_bitwise_and_wide_wide()
{
bool3x2 a0 = bool3x2(false, false, true, true, false, false);
bool3x2 b0 = bool3x2(false, false, true, false, true, true);
bool3x2 r0 = bool3x2(false, false, true, false, false, false);
TestUtils.AreEqual(r0, a0 & b0);
bool3x2 a1 = bool3x2(true, true, true, false, true, true);
bool3x2 b1 = bool3x2(false, false, true, true, false, false);
bool3x2 r1 = bool3x2(false, false, true, false, false, false);
TestUtils.AreEqual(r1, a1 & b1);
bool3x2 a2 = bool3x2(true, true, false, false, true, true);
bool3x2 b2 = bool3x2(false, false, true, false, true, false);
bool3x2 r2 = bool3x2(false, false, false, false, true, false);
TestUtils.AreEqual(r2, a2 & b2);
bool3x2 a3 = bool3x2(true, false, true, true, false, true);
bool3x2 b3 = bool3x2(true, true, true, true, true, true);
bool3x2 r3 = bool3x2(true, false, true, true, false, true);
TestUtils.AreEqual(r3, a3 & b3);
}
[TestCompiler]
public static void bool3x2_operator_bitwise_and_wide_scalar()
{
bool3x2 a0 = bool3x2(true, false, false, true, true, false);
bool b0 = (true);
bool3x2 r0 = bool3x2(true, false, false, true, true, false);
TestUtils.AreEqual(r0, a0 & b0);
bool3x2 a1 = bool3x2(false, false, false, true, true, true);
bool b1 = (false);
bool3x2 r1 = bool3x2(false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 & b1);
bool3x2 a2 = bool3x2(false, true, true, true, false, true);
bool b2 = (false);
bool3x2 r2 = bool3x2(false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 & b2);
bool3x2 a3 = bool3x2(false, true, true, false, false, false);
bool b3 = (true);
bool3x2 r3 = bool3x2(false, true, true, false, false, false);
TestUtils.AreEqual(r3, a3 & b3);
}
[TestCompiler]
public static void bool3x2_operator_bitwise_and_scalar_wide()
{
bool a0 = (false);
bool3x2 b0 = bool3x2(false, false, true, true, true, false);
bool3x2 r0 = bool3x2(false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 & b0);
bool a1 = (true);
bool3x2 b1 = bool3x2(false, false, false, true, false, false);
bool3x2 r1 = bool3x2(false, false, false, true, false, false);
TestUtils.AreEqual(r1, a1 & b1);
bool a2 = (false);
bool3x2 b2 = bool3x2(true, true, true, true, false, true);
bool3x2 r2 = bool3x2(false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 & b2);
bool a3 = (true);
bool3x2 b3 = bool3x2(true, true, true, false, true, false);
bool3x2 r3 = bool3x2(true, true, true, false, true, false);
TestUtils.AreEqual(r3, a3 & b3);
}
[TestCompiler]
public static void bool3x2_operator_bitwise_or_wide_wide()
{
bool3x2 a0 = bool3x2(true, true, true, false, true, false);
bool3x2 b0 = bool3x2(false, false, false, false, true, true);
bool3x2 r0 = bool3x2(true, true, true, false, true, true);
TestUtils.AreEqual(r0, a0 | b0);
bool3x2 a1 = bool3x2(true, true, false, true, true, true);
bool3x2 b1 = bool3x2(true, false, false, true, false, false);
bool3x2 r1 = bool3x2(true, true, false, true, true, true);
TestUtils.AreEqual(r1, a1 | b1);
bool3x2 a2 = bool3x2(true, true, true, false, true, true);
bool3x2 b2 = bool3x2(true, true, true, true, true, true);
bool3x2 r2 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 | b2);
bool3x2 a3 = bool3x2(false, true, true, false, true, false);
bool3x2 b3 = bool3x2(false, true, true, true, false, true);
bool3x2 r3 = bool3x2(false, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 | b3);
}
[TestCompiler]
public static void bool3x2_operator_bitwise_or_wide_scalar()
{
bool3x2 a0 = bool3x2(true, true, false, true, true, true);
bool b0 = (true);
bool3x2 r0 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 | b0);
bool3x2 a1 = bool3x2(true, true, false, false, true, false);
bool b1 = (false);
bool3x2 r1 = bool3x2(true, true, false, false, true, false);
TestUtils.AreEqual(r1, a1 | b1);
bool3x2 a2 = bool3x2(false, false, true, true, true, true);
bool b2 = (true);
bool3x2 r2 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 | b2);
bool3x2 a3 = bool3x2(true, true, true, false, true, false);
bool b3 = (true);
bool3x2 r3 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 | b3);
}
[TestCompiler]
public static void bool3x2_operator_bitwise_or_scalar_wide()
{
bool a0 = (true);
bool3x2 b0 = bool3x2(true, true, false, false, true, true);
bool3x2 r0 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 | b0);
bool a1 = (true);
bool3x2 b1 = bool3x2(false, false, true, true, false, true);
bool3x2 r1 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 | b1);
bool a2 = (true);
bool3x2 b2 = bool3x2(false, false, false, false, true, true);
bool3x2 r2 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 | b2);
bool a3 = (true);
bool3x2 b3 = bool3x2(true, true, false, true, false, true);
bool3x2 r3 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 | b3);
}
[TestCompiler]
public static void bool3x2_operator_bitwise_xor_wide_wide()
{
bool3x2 a0 = bool3x2(true, false, false, true, false, false);
bool3x2 b0 = bool3x2(true, true, false, true, false, true);
bool3x2 r0 = bool3x2(false, true, false, false, false, true);
TestUtils.AreEqual(r0, a0 ^ b0);
bool3x2 a1 = bool3x2(false, true, false, false, true, true);
bool3x2 b1 = bool3x2(false, true, false, false, false, true);
bool3x2 r1 = bool3x2(false, false, false, false, true, false);
TestUtils.AreEqual(r1, a1 ^ b1);
bool3x2 a2 = bool3x2(false, false, true, false, true, false);
bool3x2 b2 = bool3x2(false, false, true, true, false, false);
bool3x2 r2 = bool3x2(false, false, false, true, true, false);
TestUtils.AreEqual(r2, a2 ^ b2);
bool3x2 a3 = bool3x2(false, false, true, false, true, false);
bool3x2 b3 = bool3x2(false, false, false, true, false, false);
bool3x2 r3 = bool3x2(false, false, true, true, true, false);
TestUtils.AreEqual(r3, a3 ^ b3);
}
[TestCompiler]
public static void bool3x2_operator_bitwise_xor_wide_scalar()
{
bool3x2 a0 = bool3x2(false, false, true, true, false, false);
bool b0 = (false);
bool3x2 r0 = bool3x2(false, false, true, true, false, false);
TestUtils.AreEqual(r0, a0 ^ b0);
bool3x2 a1 = bool3x2(false, false, false, false, true, false);
bool b1 = (false);
bool3x2 r1 = bool3x2(false, false, false, false, true, false);
TestUtils.AreEqual(r1, a1 ^ b1);
bool3x2 a2 = bool3x2(true, true, true, false, true, false);
bool b2 = (true);
bool3x2 r2 = bool3x2(false, false, false, true, false, true);
TestUtils.AreEqual(r2, a2 ^ b2);
bool3x2 a3 = bool3x2(false, false, false, false, true, false);
bool b3 = (true);
bool3x2 r3 = bool3x2(true, true, true, true, false, true);
TestUtils.AreEqual(r3, a3 ^ b3);
}
[TestCompiler]
public static void bool3x2_operator_bitwise_xor_scalar_wide()
{
bool a0 = (true);
bool3x2 b0 = bool3x2(true, false, true, true, false, true);
bool3x2 r0 = bool3x2(false, true, false, false, true, false);
TestUtils.AreEqual(r0, a0 ^ b0);
bool a1 = (true);
bool3x2 b1 = bool3x2(false, false, true, true, false, false);
bool3x2 r1 = bool3x2(true, true, false, false, true, true);
TestUtils.AreEqual(r1, a1 ^ b1);
bool a2 = (true);
bool3x2 b2 = bool3x2(false, true, true, false, true, true);
bool3x2 r2 = bool3x2(true, false, false, true, false, false);
TestUtils.AreEqual(r2, a2 ^ b2);
bool a3 = (true);
bool3x2 b3 = bool3x2(false, false, false, true, true, true);
bool3x2 r3 = bool3x2(true, true, true, false, false, false);
TestUtils.AreEqual(r3, a3 ^ b3);
}
[TestCompiler]
public static void bool3x2_operator_logical_not()
{
bool3x2 a0 = bool3x2(true, true, false, false, true, false);
bool3x2 r0 = bool3x2(false, false, true, true, false, true);
TestUtils.AreEqual(r0, !a0);
bool3x2 a1 = bool3x2(true, true, false, false, false, false);
bool3x2 r1 = bool3x2(false, false, true, true, true, true);
TestUtils.AreEqual(r1, !a1);
bool3x2 a2 = bool3x2(true, false, false, true, true, true);
bool3x2 r2 = bool3x2(false, true, true, false, false, false);
TestUtils.AreEqual(r2, !a2);
bool3x2 a3 = bool3x2(false, true, true, false, false, false);
bool3x2 r3 = bool3x2(true, false, false, true, true, true);
TestUtils.AreEqual(r3, !a3);
}
}
}

View File

@@ -0,0 +1,400 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using NUnit.Framework;
using static Unity.Mathematics.math;
using Burst.Compiler.IL.Tests;
namespace Unity.Mathematics.Tests
{
[TestFixture]
public class TestBool3x3
{
[TestCompiler]
public static void bool3x3_operator_equal_wide_wide()
{
bool3x3 a0 = bool3x3(true, false, true, false, false, true, false, false, true);
bool3x3 b0 = bool3x3(true, false, false, false, true, false, false, true, false);
bool3x3 r0 = bool3x3(true, true, false, true, false, false, true, false, false);
TestUtils.AreEqual(r0, a0 == b0);
bool3x3 a1 = bool3x3(false, true, false, true, true, false, true, true, false);
bool3x3 b1 = bool3x3(false, false, false, true, false, false, false, true, false);
bool3x3 r1 = bool3x3(true, false, true, true, false, true, false, true, true);
TestUtils.AreEqual(r1, a1 == b1);
bool3x3 a2 = bool3x3(false, true, true, true, false, true, true, true, false);
bool3x3 b2 = bool3x3(false, true, false, true, false, true, true, true, true);
bool3x3 r2 = bool3x3(true, true, false, true, true, true, true, true, false);
TestUtils.AreEqual(r2, a2 == b2);
bool3x3 a3 = bool3x3(true, true, true, false, true, false, true, false, true);
bool3x3 b3 = bool3x3(true, true, false, false, false, false, true, false, false);
bool3x3 r3 = bool3x3(true, true, false, true, false, true, true, true, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void bool3x3_operator_equal_wide_scalar()
{
bool3x3 a0 = bool3x3(false, true, false, false, false, false, true, false, false);
bool b0 = (true);
bool3x3 r0 = bool3x3(false, true, false, false, false, false, true, false, false);
TestUtils.AreEqual(r0, a0 == b0);
bool3x3 a1 = bool3x3(false, true, false, true, false, true, false, false, false);
bool b1 = (true);
bool3x3 r1 = bool3x3(false, true, false, true, false, true, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
bool3x3 a2 = bool3x3(true, false, false, false, false, false, false, false, false);
bool b2 = (false);
bool3x3 r2 = bool3x3(false, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 == b2);
bool3x3 a3 = bool3x3(false, false, true, true, false, false, false, false, true);
bool b3 = (false);
bool3x3 r3 = bool3x3(true, true, false, false, true, true, true, true, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void bool3x3_operator_equal_scalar_wide()
{
bool a0 = (false);
bool3x3 b0 = bool3x3(true, false, true, false, false, true, false, false, true);
bool3x3 r0 = bool3x3(false, true, false, true, true, false, true, true, false);
TestUtils.AreEqual(r0, a0 == b0);
bool a1 = (false);
bool3x3 b1 = bool3x3(true, true, false, true, false, true, true, true, false);
bool3x3 r1 = bool3x3(false, false, true, false, true, false, false, false, true);
TestUtils.AreEqual(r1, a1 == b1);
bool a2 = (false);
bool3x3 b2 = bool3x3(true, false, true, true, false, true, true, true, true);
bool3x3 r2 = bool3x3(false, true, false, false, true, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
bool a3 = (true);
bool3x3 b3 = bool3x3(true, false, true, true, false, false, false, true, true);
bool3x3 r3 = bool3x3(true, false, true, true, false, false, false, true, true);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void bool3x3_operator_not_equal_wide_wide()
{
bool3x3 a0 = bool3x3(true, true, true, false, false, true, false, false, false);
bool3x3 b0 = bool3x3(true, false, false, false, true, false, false, false, false);
bool3x3 r0 = bool3x3(false, true, true, false, true, true, false, false, false);
TestUtils.AreEqual(r0, a0 != b0);
bool3x3 a1 = bool3x3(false, true, true, true, true, true, true, true, true);
bool3x3 b1 = bool3x3(true, true, true, false, false, true, true, true, false);
bool3x3 r1 = bool3x3(true, false, false, true, true, false, false, false, true);
TestUtils.AreEqual(r1, a1 != b1);
bool3x3 a2 = bool3x3(false, true, false, true, true, true, true, false, false);
bool3x3 b2 = bool3x3(true, true, false, false, true, false, false, false, true);
bool3x3 r2 = bool3x3(true, false, false, true, false, true, true, false, true);
TestUtils.AreEqual(r2, a2 != b2);
bool3x3 a3 = bool3x3(true, false, true, true, true, true, true, false, true);
bool3x3 b3 = bool3x3(false, true, false, true, false, false, false, false, false);
bool3x3 r3 = bool3x3(true, true, true, false, true, true, true, false, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void bool3x3_operator_not_equal_wide_scalar()
{
bool3x3 a0 = bool3x3(false, true, false, true, true, false, false, false, false);
bool b0 = (false);
bool3x3 r0 = bool3x3(false, true, false, true, true, false, false, false, false);
TestUtils.AreEqual(r0, a0 != b0);
bool3x3 a1 = bool3x3(false, false, false, true, false, false, false, false, true);
bool b1 = (false);
bool3x3 r1 = bool3x3(false, false, false, true, false, false, false, false, true);
TestUtils.AreEqual(r1, a1 != b1);
bool3x3 a2 = bool3x3(true, true, true, true, true, true, true, false, true);
bool b2 = (false);
bool3x3 r2 = bool3x3(true, true, true, true, true, true, true, false, true);
TestUtils.AreEqual(r2, a2 != b2);
bool3x3 a3 = bool3x3(true, false, false, true, false, true, false, true, false);
bool b3 = (true);
bool3x3 r3 = bool3x3(false, true, true, false, true, false, true, false, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void bool3x3_operator_not_equal_scalar_wide()
{
bool a0 = (true);
bool3x3 b0 = bool3x3(false, false, true, false, false, false, true, true, true);
bool3x3 r0 = bool3x3(true, true, false, true, true, true, false, false, false);
TestUtils.AreEqual(r0, a0 != b0);
bool a1 = (false);
bool3x3 b1 = bool3x3(false, false, false, false, true, false, false, true, false);
bool3x3 r1 = bool3x3(false, false, false, false, true, false, false, true, false);
TestUtils.AreEqual(r1, a1 != b1);
bool a2 = (false);
bool3x3 b2 = bool3x3(false, true, true, false, false, true, false, false, true);
bool3x3 r2 = bool3x3(false, true, true, false, false, true, false, false, true);
TestUtils.AreEqual(r2, a2 != b2);
bool a3 = (true);
bool3x3 b3 = bool3x3(false, true, false, false, true, true, true, true, true);
bool3x3 r3 = bool3x3(true, false, true, true, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void bool3x3_operator_bitwise_and_wide_wide()
{
bool3x3 a0 = bool3x3(false, false, true, true, false, false, true, true, true);
bool3x3 b0 = bool3x3(false, false, true, false, true, true, false, false, true);
bool3x3 r0 = bool3x3(false, false, true, false, false, false, false, false, true);
TestUtils.AreEqual(r0, a0 & b0);
bool3x3 a1 = bool3x3(false, true, true, true, true, false, false, true, true);
bool3x3 b1 = bool3x3(true, false, false, false, false, true, false, true, false);
bool3x3 r1 = bool3x3(false, false, false, false, false, false, false, true, false);
TestUtils.AreEqual(r1, a1 & b1);
bool3x3 a2 = bool3x3(true, false, true, true, false, true, true, false, true);
bool3x3 b2 = bool3x3(true, true, true, true, true, true, true, true, true);
bool3x3 r2 = bool3x3(true, false, true, true, false, true, true, false, true);
TestUtils.AreEqual(r2, a2 & b2);
bool3x3 a3 = bool3x3(true, true, false, false, true, true, false, false, true);
bool3x3 b3 = bool3x3(false, false, false, true, false, false, true, true, true);
bool3x3 r3 = bool3x3(false, false, false, false, false, false, false, false, true);
TestUtils.AreEqual(r3, a3 & b3);
}
[TestCompiler]
public static void bool3x3_operator_bitwise_and_wide_scalar()
{
bool3x3 a0 = bool3x3(true, false, false, true, true, false, false, false, false);
bool b0 = (true);
bool3x3 r0 = bool3x3(true, false, false, true, true, false, false, false, false);
TestUtils.AreEqual(r0, a0 & b0);
bool3x3 a1 = bool3x3(false, true, true, false, false, true, true, true, false);
bool b1 = (true);
bool3x3 r1 = bool3x3(false, true, true, false, false, true, true, true, false);
TestUtils.AreEqual(r1, a1 & b1);
bool3x3 a2 = bool3x3(true, true, true, true, false, false, false, false, false);
bool b2 = (false);
bool3x3 r2 = bool3x3(false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 & b2);
bool3x3 a3 = bool3x3(true, true, false, false, false, false, true, false, true);
bool b3 = (false);
bool3x3 r3 = bool3x3(false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 & b3);
}
[TestCompiler]
public static void bool3x3_operator_bitwise_and_scalar_wide()
{
bool a0 = (false);
bool3x3 b0 = bool3x3(false, false, true, true, true, false, true, false, false);
bool3x3 r0 = bool3x3(false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 & b0);
bool a1 = (false);
bool3x3 b1 = bool3x3(true, false, false, false, true, true, true, true, false);
bool3x3 r1 = bool3x3(false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 & b1);
bool a2 = (true);
bool3x3 b2 = bool3x3(true, true, true, true, false, true, false, true, false);
bool3x3 r2 = bool3x3(true, true, true, true, false, true, false, true, false);
TestUtils.AreEqual(r2, a2 & b2);
bool a3 = (false);
bool3x3 b3 = bool3x3(false, true, true, true, true, true, false, true, false);
bool3x3 r3 = bool3x3(false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 & b3);
}
[TestCompiler]
public static void bool3x3_operator_bitwise_or_wide_wide()
{
bool3x3 a0 = bool3x3(true, true, true, false, true, false, true, true, false);
bool3x3 b0 = bool3x3(false, false, false, false, true, true, true, false, false);
bool3x3 r0 = bool3x3(true, true, true, false, true, true, true, true, false);
TestUtils.AreEqual(r0, a0 | b0);
bool3x3 a1 = bool3x3(true, true, true, true, true, true, false, true, true);
bool3x3 b1 = bool3x3(true, false, false, true, true, true, true, true, true);
bool3x3 r1 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 | b1);
bool3x3 a2 = bool3x3(false, true, true, false, true, false, true, true, false);
bool3x3 b2 = bool3x3(false, true, true, true, false, true, false, true, false);
bool3x3 r2 = bool3x3(false, true, true, true, true, true, true, true, false);
TestUtils.AreEqual(r2, a2 | b2);
bool3x3 a3 = bool3x3(true, false, false, false, false, false, false, true, true);
bool3x3 b3 = bool3x3(false, true, true, true, true, false, false, false, true);
bool3x3 r3 = bool3x3(true, true, true, true, true, false, false, true, true);
TestUtils.AreEqual(r3, a3 | b3);
}
[TestCompiler]
public static void bool3x3_operator_bitwise_or_wide_scalar()
{
bool3x3 a0 = bool3x3(true, true, false, true, true, true, true, false, true);
bool b0 = (true);
bool3x3 r0 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 | b0);
bool3x3 a1 = bool3x3(false, true, false, false, true, false, true, true, true);
bool b1 = (false);
bool3x3 r1 = bool3x3(false, true, false, false, true, false, true, true, true);
TestUtils.AreEqual(r1, a1 | b1);
bool3x3 a2 = bool3x3(true, true, true, true, false, true, false, false, false);
bool b2 = (true);
bool3x3 r2 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 | b2);
bool3x3 a3 = bool3x3(true, true, true, true, true, false, true, false, false);
bool b3 = (true);
bool3x3 r3 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 | b3);
}
[TestCompiler]
public static void bool3x3_operator_bitwise_or_scalar_wide()
{
bool a0 = (true);
bool3x3 b0 = bool3x3(true, true, false, false, true, true, true, false, false);
bool3x3 r0 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 | b0);
bool a1 = (true);
bool3x3 b1 = bool3x3(true, false, true, true, false, false, false, false, true);
bool3x3 r1 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 | b1);
bool a2 = (true);
bool3x3 b2 = bool3x3(true, true, true, false, true, false, true, true, false);
bool3x3 r2 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 | b2);
bool a3 = (true);
bool3x3 b3 = bool3x3(true, false, true, true, false, false, true, true, true);
bool3x3 r3 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 | b3);
}
[TestCompiler]
public static void bool3x3_operator_bitwise_xor_wide_wide()
{
bool3x3 a0 = bool3x3(true, false, false, true, false, false, false, true, false);
bool3x3 b0 = bool3x3(true, true, false, true, false, true, false, true, false);
bool3x3 r0 = bool3x3(false, true, false, false, false, true, false, false, false);
TestUtils.AreEqual(r0, a0 ^ b0);
bool3x3 a1 = bool3x3(false, true, true, false, false, true, false, true, false);
bool3x3 b1 = bool3x3(false, false, true, false, false, true, true, false, false);
bool3x3 r1 = bool3x3(false, true, false, false, false, false, true, true, false);
TestUtils.AreEqual(r1, a1 ^ b1);
bool3x3 a2 = bool3x3(false, false, true, false, true, false, true, false, false);
bool3x3 b2 = bool3x3(false, false, false, true, false, false, false, true, false);
bool3x3 r2 = bool3x3(false, false, true, true, true, false, true, true, false);
TestUtils.AreEqual(r2, a2 ^ b2);
bool3x3 a3 = bool3x3(false, true, true, true, true, true, true, false, false);
bool3x3 b3 = bool3x3(true, true, false, false, true, false, true, true, false);
bool3x3 r3 = bool3x3(true, false, true, true, false, true, false, true, false);
TestUtils.AreEqual(r3, a3 ^ b3);
}
[TestCompiler]
public static void bool3x3_operator_bitwise_xor_wide_scalar()
{
bool3x3 a0 = bool3x3(false, false, true, true, false, false, false, false, false);
bool b0 = (false);
bool3x3 r0 = bool3x3(false, false, true, true, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 ^ b0);
bool3x3 a1 = bool3x3(false, true, false, true, true, true, true, false, true);
bool b1 = (false);
bool3x3 r1 = bool3x3(false, true, false, true, true, true, true, false, true);
TestUtils.AreEqual(r1, a1 ^ b1);
bool3x3 a2 = bool3x3(false, true, false, false, false, true, false, true, true);
bool b2 = (false);
bool3x3 r2 = bool3x3(false, true, false, false, false, true, false, true, true);
TestUtils.AreEqual(r2, a2 ^ b2);
bool3x3 a3 = bool3x3(true, false, true, false, false, true, true, false, true);
bool b3 = (true);
bool3x3 r3 = bool3x3(false, true, false, true, true, false, false, true, false);
TestUtils.AreEqual(r3, a3 ^ b3);
}
[TestCompiler]
public static void bool3x3_operator_bitwise_xor_scalar_wide()
{
bool a0 = (true);
bool3x3 b0 = bool3x3(true, false, true, true, false, true, true, false, false);
bool3x3 r0 = bool3x3(false, true, false, false, true, false, false, true, true);
TestUtils.AreEqual(r0, a0 ^ b0);
bool a1 = (true);
bool3x3 b1 = bool3x3(true, false, false, true, false, true, true, false, true);
bool3x3 r1 = bool3x3(false, true, true, false, true, false, false, true, false);
TestUtils.AreEqual(r1, a1 ^ b1);
bool a2 = (true);
bool3x3 b2 = bool3x3(true, false, false, false, true, true, true, false, false);
bool3x3 r2 = bool3x3(false, true, true, true, false, false, false, true, true);
TestUtils.AreEqual(r2, a2 ^ b2);
bool a3 = (false);
bool3x3 b3 = bool3x3(true, true, false, true, false, false, true, true, true);
bool3x3 r3 = bool3x3(true, true, false, true, false, false, true, true, true);
TestUtils.AreEqual(r3, a3 ^ b3);
}
[TestCompiler]
public static void bool3x3_operator_logical_not()
{
bool3x3 a0 = bool3x3(true, true, false, false, true, false, true, false, true);
bool3x3 r0 = bool3x3(false, false, true, true, false, true, false, true, false);
TestUtils.AreEqual(r0, !a0);
bool3x3 a1 = bool3x3(false, false, false, true, true, false, false, true, true);
bool3x3 r1 = bool3x3(true, true, true, false, false, true, true, false, false);
TestUtils.AreEqual(r1, !a1);
bool3x3 a2 = bool3x3(true, true, true, true, false, false, false, true, false);
bool3x3 r2 = bool3x3(false, false, false, false, true, true, true, false, true);
TestUtils.AreEqual(r2, !a2);
bool3x3 a3 = bool3x3(true, false, true, true, false, true, false, false, false);
bool3x3 r3 = bool3x3(false, true, false, false, true, false, true, true, true);
TestUtils.AreEqual(r3, !a3);
}
}
}

View File

@@ -0,0 +1,400 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using NUnit.Framework;
using static Unity.Mathematics.math;
using Burst.Compiler.IL.Tests;
namespace Unity.Mathematics.Tests
{
[TestFixture]
public class TestBool3x4
{
[TestCompiler]
public static void bool3x4_operator_equal_wide_wide()
{
bool3x4 a0 = bool3x4(true, false, true, false, false, true, false, false, true, false, true, false);
bool3x4 b0 = bool3x4(true, false, false, false, true, false, false, true, false, false, false, false);
bool3x4 r0 = bool3x4(true, true, false, true, false, false, true, false, false, true, false, true);
TestUtils.AreEqual(r0, a0 == b0);
bool3x4 a1 = bool3x4(true, true, false, true, true, false, false, true, true, true, false, true);
bool3x4 b1 = bool3x4(true, false, false, false, true, false, false, true, false, true, false, true);
bool3x4 r1 = bool3x4(true, false, true, false, true, true, true, true, false, true, true, true);
TestUtils.AreEqual(r1, a1 == b1);
bool3x4 a2 = bool3x4(true, true, false, true, true, true, false, true, false, true, false, true);
bool3x4 b2 = bool3x4(true, true, true, true, true, false, false, false, false, true, false, false);
bool3x4 r2 = bool3x4(true, true, false, true, true, false, true, false, true, true, true, false);
TestUtils.AreEqual(r2, a2 == b2);
bool3x4 a3 = bool3x4(false, true, true, false, true, false, false, false, false, true, true, false);
bool3x4 b3 = bool3x4(true, true, false, true, false, false, false, true, true, true, true, false);
bool3x4 r3 = bool3x4(false, true, false, false, false, true, true, false, false, true, true, true);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void bool3x4_operator_equal_wide_scalar()
{
bool3x4 a0 = bool3x4(false, true, false, false, false, false, true, false, false, false, true, true);
bool b0 = (true);
bool3x4 r0 = bool3x4(false, true, false, false, false, false, true, false, false, false, true, true);
TestUtils.AreEqual(r0, a0 == b0);
bool3x4 a1 = bool3x4(false, false, true, false, false, false, true, false, false, false, false, false);
bool b1 = (true);
bool3x4 r1 = bool3x4(false, false, true, false, false, false, true, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
bool3x4 a2 = bool3x4(false, false, false, false, false, false, true, true, false, false, false, false);
bool b2 = (false);
bool3x4 r2 = bool3x4(true, true, true, true, true, true, false, false, true, true, true, true);
TestUtils.AreEqual(r2, a2 == b2);
bool3x4 a3 = bool3x4(true, false, true, true, false, false, true, false, true, true, false, false);
bool b3 = (true);
bool3x4 r3 = bool3x4(true, false, true, true, false, false, true, false, true, true, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void bool3x4_operator_equal_scalar_wide()
{
bool a0 = (false);
bool3x4 b0 = bool3x4(true, false, true, false, false, true, false, false, true, false, true, true);
bool3x4 r0 = bool3x4(false, true, false, true, true, false, true, true, false, true, false, false);
TestUtils.AreEqual(r0, a0 == b0);
bool a1 = (false);
bool3x4 b1 = bool3x4(true, false, true, true, true, false, false, true, false, true, true, false);
bool3x4 r1 = bool3x4(false, true, false, false, false, true, true, false, true, false, false, true);
TestUtils.AreEqual(r1, a1 == b1);
bool a2 = (true);
bool3x4 b2 = bool3x4(true, true, true, true, true, false, true, true, false, false, false, true);
bool3x4 r2 = bool3x4(true, true, true, true, true, false, true, true, false, false, false, true);
TestUtils.AreEqual(r2, a2 == b2);
bool a3 = (true);
bool3x4 b3 = bool3x4(true, false, true, true, true, false, false, true, false, true, true, false);
bool3x4 r3 = bool3x4(true, false, true, true, true, false, false, true, false, true, true, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void bool3x4_operator_not_equal_wide_wide()
{
bool3x4 a0 = bool3x4(true, true, true, false, false, true, false, false, false, false, true, true);
bool3x4 b0 = bool3x4(true, false, false, false, true, false, false, false, false, true, true, true);
bool3x4 r0 = bool3x4(false, true, true, false, true, true, false, false, false, true, false, false);
TestUtils.AreEqual(r0, a0 != b0);
bool3x4 a1 = bool3x4(true, true, true, true, true, true, false, true, false, true, true, true);
bool3x4 b1 = bool3x4(false, false, true, true, true, false, true, true, false, false, true, false);
bool3x4 r1 = bool3x4(true, true, false, false, false, true, true, false, false, true, false, true);
TestUtils.AreEqual(r1, a1 != b1);
bool3x4 a2 = bool3x4(true, false, false, true, false, true, true, true, true, true, false, true);
bool3x4 b2 = bool3x4(false, false, true, false, true, false, true, false, false, false, false, false);
bool3x4 r2 = bool3x4(true, false, true, true, true, true, false, true, true, true, false, true);
TestUtils.AreEqual(r2, a2 != b2);
bool3x4 a3 = bool3x4(true, true, true, false, true, true, true, false, true, false, false, false);
bool3x4 b3 = bool3x4(false, true, false, true, false, true, false, false, false, true, false, false);
bool3x4 r3 = bool3x4(true, false, true, true, true, false, true, false, true, true, false, false);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void bool3x4_operator_not_equal_wide_scalar()
{
bool3x4 a0 = bool3x4(false, true, false, true, true, false, false, false, false, false, false, false);
bool b0 = (false);
bool3x4 r0 = bool3x4(false, true, false, true, true, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 != b0);
bool3x4 a1 = bool3x4(false, false, false, false, false, true, true, false, true, true, true, true);
bool b1 = (true);
bool3x4 r1 = bool3x4(true, true, true, true, true, false, false, true, false, false, false, false);
TestUtils.AreEqual(r1, a1 != b1);
bool3x4 a2 = bool3x4(true, false, true, true, true, false, false, true, false, true, false, true);
bool b2 = (true);
bool3x4 r2 = bool3x4(false, true, false, false, false, true, true, false, true, false, true, false);
TestUtils.AreEqual(r2, a2 != b2);
bool3x4 a3 = bool3x4(false, false, true, true, true, false, false, true, false, true, false, true);
bool b3 = (false);
bool3x4 r3 = bool3x4(false, false, true, true, true, false, false, true, false, true, false, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void bool3x4_operator_not_equal_scalar_wide()
{
bool a0 = (true);
bool3x4 b0 = bool3x4(false, false, true, false, false, false, true, true, true, false, false, false);
bool3x4 r0 = bool3x4(true, true, false, true, true, true, false, false, false, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
bool a1 = (false);
bool3x4 b1 = bool3x4(false, true, false, false, true, false, false, false, true, true, false, false);
bool3x4 r1 = bool3x4(false, true, false, false, true, false, false, false, true, true, false, false);
TestUtils.AreEqual(r1, a1 != b1);
bool a2 = (true);
bool3x4 b2 = bool3x4(false, false, true, true, false, true, false, false, true, true, true, true);
bool3x4 r2 = bool3x4(true, true, false, false, true, false, true, true, false, false, false, false);
TestUtils.AreEqual(r2, a2 != b2);
bool a3 = (true);
bool3x4 b3 = bool3x4(true, true, true, false, false, true, true, false, false, false, true, true);
bool3x4 r3 = bool3x4(false, false, false, true, true, false, false, true, true, true, false, false);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void bool3x4_operator_bitwise_and_wide_wide()
{
bool3x4 a0 = bool3x4(false, false, true, true, false, false, true, true, true, false, true, true);
bool3x4 b0 = bool3x4(false, false, true, false, true, true, false, false, true, true, false, false);
bool3x4 r0 = bool3x4(false, false, true, false, false, false, false, false, true, false, false, false);
TestUtils.AreEqual(r0, a0 & b0);
bool3x4 a1 = bool3x4(true, true, false, false, true, true, true, false, true, true, false, true);
bool3x4 b1 = bool3x4(false, false, true, false, true, false, true, true, true, true, true, true);
bool3x4 r1 = bool3x4(false, false, false, false, true, false, true, false, true, true, false, true);
TestUtils.AreEqual(r1, a1 & b1);
bool3x4 a2 = bool3x4(true, false, true, true, true, false, false, true, true, false, false, true);
bool3x4 b2 = bool3x4(true, true, true, false, false, false, true, false, false, true, true, true);
bool3x4 r2 = bool3x4(true, false, true, false, false, false, false, false, false, false, false, true);
TestUtils.AreEqual(r2, a2 & b2);
bool3x4 a3 = bool3x4(true, false, true, false, false, false, true, false, false, true, false, true);
bool3x4 b3 = bool3x4(false, true, true, false, true, true, false, false, false, true, true, true);
bool3x4 r3 = bool3x4(false, false, true, false, false, false, false, false, false, true, false, true);
TestUtils.AreEqual(r3, a3 & b3);
}
[TestCompiler]
public static void bool3x4_operator_bitwise_and_wide_scalar()
{
bool3x4 a0 = bool3x4(true, false, false, true, true, false, false, false, false, false, true, true);
bool b0 = (true);
bool3x4 r0 = bool3x4(true, false, false, true, true, false, false, false, false, false, true, true);
TestUtils.AreEqual(r0, a0 & b0);
bool3x4 a1 = bool3x4(true, false, true, true, true, false, true, false, true, true, true, false);
bool b1 = (false);
bool3x4 r1 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 & b1);
bool3x4 a2 = bool3x4(false, false, false, true, false, true, false, false, false, false, true, false);
bool b2 = (false);
bool3x4 r2 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 & b2);
bool3x4 a3 = bool3x4(true, true, false, false, true, false, true, false, true, false, true, false);
bool b3 = (false);
bool3x4 r3 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 & b3);
}
[TestCompiler]
public static void bool3x4_operator_bitwise_and_scalar_wide()
{
bool a0 = (false);
bool3x4 b0 = bool3x4(false, false, true, true, true, false, true, false, false, false, true, false);
bool3x4 r0 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 & b0);
bool a1 = (false);
bool3x4 b1 = bool3x4(false, true, true, true, true, false, true, true, true, true, true, false);
bool3x4 r1 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 & b1);
bool a2 = (true);
bool3x4 b2 = bool3x4(false, true, false, false, false, true, true, true, true, true, false, true);
bool3x4 r2 = bool3x4(false, true, false, false, false, true, true, true, true, true, false, true);
TestUtils.AreEqual(r2, a2 & b2);
bool a3 = (false);
bool3x4 b3 = bool3x4(false, true, true, true, false, true, true, true, true, true, false, false);
bool3x4 r3 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 & b3);
}
[TestCompiler]
public static void bool3x4_operator_bitwise_or_wide_wide()
{
bool3x4 a0 = bool3x4(true, true, true, false, true, false, true, true, false, true, true, true);
bool3x4 b0 = bool3x4(false, false, false, false, true, true, true, false, false, true, false, false);
bool3x4 r0 = bool3x4(true, true, true, false, true, true, true, true, false, true, true, true);
TestUtils.AreEqual(r0, a0 | b0);
bool3x4 a1 = bool3x4(true, true, true, false, true, true, false, true, true, false, true, false);
bool3x4 b1 = bool3x4(true, true, true, true, true, true, false, true, true, true, false, true);
bool3x4 r1 = bool3x4(true, true, true, true, true, true, false, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 | b1);
bool3x4 a2 = bool3x4(true, true, false, true, false, false, false, false, false, false, true, true);
bool3x4 b2 = bool3x4(false, true, false, false, true, true, true, true, false, false, false, true);
bool3x4 r2 = bool3x4(true, true, false, true, true, true, true, true, false, false, true, true);
TestUtils.AreEqual(r2, a2 | b2);
bool3x4 a3 = bool3x4(true, false, false, false, false, true, false, false, true, false, true, false);
bool3x4 b3 = bool3x4(false, false, false, true, false, false, true, true, true, true, true, false);
bool3x4 r3 = bool3x4(true, false, false, true, false, true, true, true, true, true, true, false);
TestUtils.AreEqual(r3, a3 | b3);
}
[TestCompiler]
public static void bool3x4_operator_bitwise_or_wide_scalar()
{
bool3x4 a0 = bool3x4(true, true, false, true, true, true, true, false, true, false, false, true);
bool b0 = (true);
bool3x4 r0 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 | b0);
bool3x4 a1 = bool3x4(false, true, false, true, true, true, true, true, true, true, true, false);
bool b1 = (false);
bool3x4 r1 = bool3x4(false, true, false, true, true, true, true, true, true, true, true, false);
TestUtils.AreEqual(r1, a1 | b1);
bool3x4 a2 = bool3x4(true, false, false, true, true, true, true, true, true, false, true, false);
bool b2 = (false);
bool3x4 r2 = bool3x4(true, false, false, true, true, true, true, true, true, false, true, false);
TestUtils.AreEqual(r2, a2 | b2);
bool3x4 a3 = bool3x4(false, false, true, false, true, true, false, true, true, false, true, false);
bool b3 = (true);
bool3x4 r3 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 | b3);
}
[TestCompiler]
public static void bool3x4_operator_bitwise_or_scalar_wide()
{
bool a0 = (true);
bool3x4 b0 = bool3x4(true, true, false, false, true, true, true, false, false, true, true, false);
bool3x4 r0 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 | b0);
bool a1 = (true);
bool3x4 b1 = bool3x4(true, false, false, false, false, true, true, true, true, true, false, true);
bool3x4 r1 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 | b1);
bool a2 = (false);
bool3x4 b2 = bool3x4(true, true, false, true, true, false, true, true, false, false, true, true);
bool3x4 r2 = bool3x4(true, true, false, true, true, false, true, true, false, false, true, true);
TestUtils.AreEqual(r2, a2 | b2);
bool a3 = (true);
bool3x4 b3 = bool3x4(false, false, false, false, false, false, true, true, false, true, true, true);
bool3x4 r3 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 | b3);
}
[TestCompiler]
public static void bool3x4_operator_bitwise_xor_wide_wide()
{
bool3x4 a0 = bool3x4(true, false, false, true, false, false, false, true, false, false, true, true);
bool3x4 b0 = bool3x4(true, true, false, true, false, true, false, true, false, false, false, true);
bool3x4 r0 = bool3x4(false, true, false, false, false, true, false, false, false, false, true, false);
TestUtils.AreEqual(r0, a0 ^ b0);
bool3x4 a1 = bool3x4(false, false, true, false, true, false, false, false, true, false, true, false);
bool3x4 b1 = bool3x4(false, false, true, true, false, false, false, false, false, true, false, false);
bool3x4 r1 = bool3x4(false, false, false, true, true, false, false, false, true, true, true, false);
TestUtils.AreEqual(r1, a1 ^ b1);
bool3x4 a2 = bool3x4(true, false, false, false, true, true, true, true, true, true, false, false);
bool3x4 b2 = bool3x4(false, true, false, true, true, false, false, true, false, true, true, false);
bool3x4 r2 = bool3x4(true, true, false, true, false, true, true, false, true, false, true, false);
TestUtils.AreEqual(r2, a2 ^ b2);
bool3x4 a3 = bool3x4(true, true, true, true, true, true, false, true, false, false, true, true);
bool3x4 b3 = bool3x4(true, false, false, false, false, true, false, true, false, true, true, true);
bool3x4 r3 = bool3x4(false, true, true, true, true, false, false, false, false, true, false, false);
TestUtils.AreEqual(r3, a3 ^ b3);
}
[TestCompiler]
public static void bool3x4_operator_bitwise_xor_wide_scalar()
{
bool3x4 a0 = bool3x4(false, false, true, true, false, false, false, false, false, false, false, true);
bool b0 = (false);
bool3x4 r0 = bool3x4(false, false, true, true, false, false, false, false, false, false, false, true);
TestUtils.AreEqual(r0, a0 ^ b0);
bool3x4 a1 = bool3x4(false, true, true, true, false, true, false, false, true, false, false, false);
bool b1 = (true);
bool3x4 r1 = bool3x4(true, false, false, false, true, false, true, true, false, true, true, true);
TestUtils.AreEqual(r1, a1 ^ b1);
bool3x4 a2 = bool3x4(true, true, true, true, true, false, true, false, false, true, true, false);
bool b2 = (false);
bool3x4 r2 = bool3x4(true, true, true, true, true, false, true, false, false, true, true, false);
TestUtils.AreEqual(r2, a2 ^ b2);
bool3x4 a3 = bool3x4(true, false, false, true, false, true, false, false, true, true, false, true);
bool b3 = (true);
bool3x4 r3 = bool3x4(false, true, true, false, true, false, true, true, false, false, true, false);
TestUtils.AreEqual(r3, a3 ^ b3);
}
[TestCompiler]
public static void bool3x4_operator_bitwise_xor_scalar_wide()
{
bool a0 = (true);
bool3x4 b0 = bool3x4(true, false, true, true, false, true, true, false, false, true, true, false);
bool3x4 r0 = bool3x4(false, true, false, false, true, false, false, true, true, false, false, true);
TestUtils.AreEqual(r0, a0 ^ b0);
bool a1 = (false);
bool3x4 b1 = bool3x4(true, false, true, true, false, true, true, true, false, false, false, true);
bool3x4 r1 = bool3x4(true, false, true, true, false, true, true, true, false, false, false, true);
TestUtils.AreEqual(r1, a1 ^ b1);
bool a2 = (true);
bool3x4 b2 = bool3x4(true, false, false, false, true, true, false, true, false, false, true, true);
bool3x4 r2 = bool3x4(false, true, true, true, false, false, true, false, true, true, false, false);
TestUtils.AreEqual(r2, a2 ^ b2);
bool a3 = (true);
bool3x4 b3 = bool3x4(true, false, false, false, true, false, false, false, true, true, false, false);
bool3x4 r3 = bool3x4(false, true, true, true, false, true, true, true, false, false, true, true);
TestUtils.AreEqual(r3, a3 ^ b3);
}
[TestCompiler]
public static void bool3x4_operator_logical_not()
{
bool3x4 a0 = bool3x4(true, true, false, false, true, false, true, false, true, false, false, false);
bool3x4 r0 = bool3x4(false, false, true, true, false, true, false, true, false, true, true, true);
TestUtils.AreEqual(r0, !a0);
bool3x4 a1 = bool3x4(false, true, false, false, true, true, true, false, true, true, true, false);
bool3x4 r1 = bool3x4(true, false, true, true, false, false, false, true, false, false, false, true);
TestUtils.AreEqual(r1, !a1);
bool3x4 a2 = bool3x4(false, true, false, true, false, false, true, true, false, true, false, false);
bool3x4 r2 = bool3x4(true, false, true, false, true, true, false, false, true, false, true, true);
TestUtils.AreEqual(r2, !a2);
bool3x4 a3 = bool3x4(false, true, true, false, false, true, false, true, false, true, false, true);
bool3x4 r3 = bool3x4(true, false, false, true, true, false, true, false, true, false, true, false);
TestUtils.AreEqual(r3, !a3);
}
}
}

View File

@@ -0,0 +1,440 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using NUnit.Framework;
using static Unity.Mathematics.math;
using Burst.Compiler.IL.Tests;
namespace Unity.Mathematics.Tests
{
[TestFixture]
public class TestBool4
{
[TestCompiler]
public static void bool4_constructor()
{
bool4 a = new bool4(false, true, false, true);
TestUtils.AreEqual(false, a.x);
TestUtils.AreEqual(true, a.y);
TestUtils.AreEqual(false, a.z);
TestUtils.AreEqual(true, a.w);
}
[TestCompiler]
public static void bool4_scalar_constructor()
{
bool4 a = new bool4(true);
TestUtils.AreEqual(true, a.x);
TestUtils.AreEqual(true, a.y);
TestUtils.AreEqual(true, a.z);
TestUtils.AreEqual(true, a.w);
}
[TestCompiler]
public static void bool4_static_constructor()
{
bool4 a = bool4(false, true, false, true);
TestUtils.AreEqual(false, a.x);
TestUtils.AreEqual(true, a.y);
TestUtils.AreEqual(false, a.z);
TestUtils.AreEqual(true, a.w);
}
[TestCompiler]
public static void bool4_static_scalar_constructor()
{
bool4 a = bool4(true);
TestUtils.AreEqual(true, a.x);
TestUtils.AreEqual(true, a.y);
TestUtils.AreEqual(true, a.z);
TestUtils.AreEqual(true, a.w);
}
[TestCompiler]
public static void bool4_operator_equal_wide_wide()
{
bool4 a0 = bool4(true, false, true, false);
bool4 b0 = bool4(true, false, false, false);
bool4 r0 = bool4(true, true, false, true);
TestUtils.AreEqual(r0, a0 == b0);
bool4 a1 = bool4(false, true, false, false);
bool4 b1 = bool4(true, false, false, true);
bool4 r1 = bool4(false, false, true, false);
TestUtils.AreEqual(r1, a1 == b1);
bool4 a2 = bool4(true, false, true, false);
bool4 b2 = bool4(false, false, false, false);
bool4 r2 = bool4(false, true, false, true);
TestUtils.AreEqual(r2, a2 == b2);
bool4 a3 = bool4(true, true, false, true);
bool4 b3 = bool4(true, false, false, false);
bool4 r3 = bool4(true, false, true, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void bool4_operator_equal_wide_scalar()
{
bool4 a0 = bool4(false, true, false, false);
bool b0 = (true);
bool4 r0 = bool4(false, true, false, false);
TestUtils.AreEqual(r0, a0 == b0);
bool4 a1 = bool4(false, true, false, false);
bool b1 = (false);
bool4 r1 = bool4(true, false, true, true);
TestUtils.AreEqual(r1, a1 == b1);
bool4 a2 = bool4(false, true, false, true);
bool b2 = (true);
bool4 r2 = bool4(false, true, false, true);
TestUtils.AreEqual(r2, a2 == b2);
bool4 a3 = bool4(false, false, false, false);
bool b3 = (true);
bool4 r3 = bool4(false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void bool4_operator_equal_scalar_wide()
{
bool a0 = (false);
bool4 b0 = bool4(true, false, true, false);
bool4 r0 = bool4(false, true, false, true);
TestUtils.AreEqual(r0, a0 == b0);
bool a1 = (false);
bool4 b1 = bool4(true, false, false, true);
bool4 r1 = bool4(false, true, true, false);
TestUtils.AreEqual(r1, a1 == b1);
bool a2 = (false);
bool4 b2 = bool4(true, true, false, true);
bool4 r2 = bool4(false, false, true, false);
TestUtils.AreEqual(r2, a2 == b2);
bool a3 = (false);
bool4 b3 = bool4(true, true, true, false);
bool4 r3 = bool4(false, false, false, true);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void bool4_operator_not_equal_wide_wide()
{
bool4 a0 = bool4(true, true, true, false);
bool4 b0 = bool4(true, false, false, false);
bool4 r0 = bool4(false, true, true, false);
TestUtils.AreEqual(r0, a0 != b0);
bool4 a1 = bool4(false, true, false, false);
bool4 b1 = bool4(true, false, false, false);
bool4 r1 = bool4(true, true, false, false);
TestUtils.AreEqual(r1, a1 != b1);
bool4 a2 = bool4(false, false, true, true);
bool4 b2 = bool4(false, true, true, true);
bool4 r2 = bool4(false, true, false, false);
TestUtils.AreEqual(r2, a2 != b2);
bool4 a3 = bool4(true, true, true, true);
bool4 b3 = bool4(false, false, true, true);
bool4 r3 = bool4(true, true, false, false);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void bool4_operator_not_equal_wide_scalar()
{
bool4 a0 = bool4(false, true, false, true);
bool b0 = (false);
bool4 r0 = bool4(false, true, false, true);
TestUtils.AreEqual(r0, a0 != b0);
bool4 a1 = bool4(true, false, false, false);
bool b1 = (false);
bool4 r1 = bool4(true, false, false, false);
TestUtils.AreEqual(r1, a1 != b1);
bool4 a2 = bool4(false, false, false, true);
bool b2 = (false);
bool4 r2 = bool4(false, false, false, true);
TestUtils.AreEqual(r2, a2 != b2);
bool4 a3 = bool4(false, false, false, true);
bool b3 = (false);
bool4 r3 = bool4(false, false, false, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void bool4_operator_not_equal_scalar_wide()
{
bool a0 = (true);
bool4 b0 = bool4(false, false, true, false);
bool4 r0 = bool4(true, true, false, true);
TestUtils.AreEqual(r0, a0 != b0);
bool a1 = (false);
bool4 b1 = bool4(false, true, true, true);
bool4 r1 = bool4(false, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
bool a2 = (false);
bool4 b2 = bool4(false, false, false, false);
bool4 r2 = bool4(false, false, false, false);
TestUtils.AreEqual(r2, a2 != b2);
bool a3 = (true);
bool4 b3 = bool4(false, false, true, false);
bool4 r3 = bool4(true, true, false, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void bool4_operator_bitwise_and_wide_wide()
{
bool4 a0 = bool4(false, false, true, true);
bool4 b0 = bool4(false, false, true, false);
bool4 r0 = bool4(false, false, true, false);
TestUtils.AreEqual(r0, a0 & b0);
bool4 a1 = bool4(false, false, true, true);
bool4 b1 = bool4(true, true, false, false);
bool4 r1 = bool4(false, false, false, false);
TestUtils.AreEqual(r1, a1 & b1);
bool4 a2 = bool4(true, false, true, true);
bool4 b2 = bool4(true, true, false, false);
bool4 r2 = bool4(true, false, false, false);
TestUtils.AreEqual(r2, a2 & b2);
bool4 a3 = bool4(true, true, false, false);
bool4 b3 = bool4(false, false, true, false);
bool4 r3 = bool4(false, false, false, false);
TestUtils.AreEqual(r3, a3 & b3);
}
[TestCompiler]
public static void bool4_operator_bitwise_and_wide_scalar()
{
bool4 a0 = bool4(true, false, false, true);
bool b0 = (true);
bool4 r0 = bool4(true, false, false, true);
TestUtils.AreEqual(r0, a0 & b0);
bool4 a1 = bool4(true, false, false, false);
bool b1 = (false);
bool4 r1 = bool4(false, false, false, false);
TestUtils.AreEqual(r1, a1 & b1);
bool4 a2 = bool4(false, true, true, false);
bool b2 = (true);
bool4 r2 = bool4(false, true, true, false);
TestUtils.AreEqual(r2, a2 & b2);
bool4 a3 = bool4(false, true, true, false);
bool b3 = (true);
bool4 r3 = bool4(false, true, true, false);
TestUtils.AreEqual(r3, a3 & b3);
}
[TestCompiler]
public static void bool4_operator_bitwise_and_scalar_wide()
{
bool a0 = (false);
bool4 b0 = bool4(false, false, true, true);
bool4 r0 = bool4(false, false, false, false);
TestUtils.AreEqual(r0, a0 & b0);
bool a1 = (true);
bool4 b1 = bool4(false, true, false, false);
bool4 r1 = bool4(false, true, false, false);
TestUtils.AreEqual(r1, a1 & b1);
bool a2 = (false);
bool4 b2 = bool4(true, false, false, false);
bool4 r2 = bool4(false, false, false, false);
TestUtils.AreEqual(r2, a2 & b2);
bool a3 = (true);
bool4 b3 = bool4(true, true, true, false);
bool4 r3 = bool4(true, true, true, false);
TestUtils.AreEqual(r3, a3 & b3);
}
[TestCompiler]
public static void bool4_operator_bitwise_or_wide_wide()
{
bool4 a0 = bool4(true, true, true, false);
bool4 b0 = bool4(false, false, false, false);
bool4 r0 = bool4(true, true, true, false);
TestUtils.AreEqual(r0, a0 | b0);
bool4 a1 = bool4(true, false, true, true);
bool4 b1 = bool4(true, true, true, false);
bool4 r1 = bool4(true, true, true, true);
TestUtils.AreEqual(r1, a1 | b1);
bool4 a2 = bool4(false, true, true, true);
bool4 b2 = bool4(false, true, false, false);
bool4 r2 = bool4(false, true, true, true);
TestUtils.AreEqual(r2, a2 | b2);
bool4 a3 = bool4(true, true, true, false);
bool4 b3 = bool4(true, true, true, true);
bool4 r3 = bool4(true, true, true, true);
TestUtils.AreEqual(r3, a3 | b3);
}
[TestCompiler]
public static void bool4_operator_bitwise_or_wide_scalar()
{
bool4 a0 = bool4(true, true, false, true);
bool b0 = (true);
bool4 r0 = bool4(true, true, true, true);
TestUtils.AreEqual(r0, a0 | b0);
bool4 a1 = bool4(true, true, false, true);
bool b1 = (true);
bool4 r1 = bool4(true, true, true, true);
TestUtils.AreEqual(r1, a1 | b1);
bool4 a2 = bool4(false, true, false, false);
bool b2 = (false);
bool4 r2 = bool4(false, true, false, false);
TestUtils.AreEqual(r2, a2 | b2);
bool4 a3 = bool4(true, true, true, true);
bool b3 = (false);
bool4 r3 = bool4(true, true, true, true);
TestUtils.AreEqual(r3, a3 | b3);
}
[TestCompiler]
public static void bool4_operator_bitwise_or_scalar_wide()
{
bool a0 = (true);
bool4 b0 = bool4(true, true, false, false);
bool4 r0 = bool4(true, true, true, true);
TestUtils.AreEqual(r0, a0 | b0);
bool a1 = (true);
bool4 b1 = bool4(true, true, false, false);
bool4 r1 = bool4(true, true, true, true);
TestUtils.AreEqual(r1, a1 | b1);
bool a2 = (true);
bool4 b2 = bool4(true, false, true, true);
bool4 r2 = bool4(true, true, true, true);
TestUtils.AreEqual(r2, a2 | b2);
bool a3 = (false);
bool4 b3 = bool4(false, false, false, true);
bool4 r3 = bool4(false, false, false, true);
TestUtils.AreEqual(r3, a3 | b3);
}
[TestCompiler]
public static void bool4_operator_bitwise_xor_wide_wide()
{
bool4 a0 = bool4(true, false, false, true);
bool4 b0 = bool4(true, true, false, true);
bool4 r0 = bool4(false, true, false, false);
TestUtils.AreEqual(r0, a0 ^ b0);
bool4 a1 = bool4(false, false, false, true);
bool4 b1 = bool4(false, true, false, true);
bool4 r1 = bool4(false, true, false, false);
TestUtils.AreEqual(r1, a1 ^ b1);
bool4 a2 = bool4(false, false, true, true);
bool4 b2 = bool4(false, false, false, true);
bool4 r2 = bool4(false, false, true, false);
TestUtils.AreEqual(r2, a2 ^ b2);
bool4 a3 = bool4(false, false, true, false);
bool4 b3 = bool4(false, false, true, true);
bool4 r3 = bool4(false, false, false, true);
TestUtils.AreEqual(r3, a3 ^ b3);
}
[TestCompiler]
public static void bool4_operator_bitwise_xor_wide_scalar()
{
bool4 a0 = bool4(false, false, true, true);
bool b0 = (false);
bool4 r0 = bool4(false, false, true, true);
TestUtils.AreEqual(r0, a0 ^ b0);
bool4 a1 = bool4(false, false, false, false);
bool b1 = (false);
bool4 r1 = bool4(false, false, false, false);
TestUtils.AreEqual(r1, a1 ^ b1);
bool4 a2 = bool4(false, true, false, true);
bool b2 = (false);
bool4 r2 = bool4(false, true, false, true);
TestUtils.AreEqual(r2, a2 ^ b2);
bool4 a3 = bool4(true, true, false, true);
bool b3 = (true);
bool4 r3 = bool4(false, false, true, false);
TestUtils.AreEqual(r3, a3 ^ b3);
}
[TestCompiler]
public static void bool4_operator_bitwise_xor_scalar_wide()
{
bool a0 = (true);
bool4 b0 = bool4(true, false, true, true);
bool4 r0 = bool4(false, true, false, false);
TestUtils.AreEqual(r0, a0 ^ b0);
bool a1 = (false);
bool4 b1 = bool4(true, true, false, false);
bool4 r1 = bool4(true, true, false, false);
TestUtils.AreEqual(r1, a1 ^ b1);
bool a2 = (true);
bool4 b2 = bool4(true, false, false, true);
bool4 r2 = bool4(false, true, true, false);
TestUtils.AreEqual(r2, a2 ^ b2);
bool a3 = (false);
bool4 b3 = bool4(true, true, false, true);
bool4 r3 = bool4(true, true, false, true);
TestUtils.AreEqual(r3, a3 ^ b3);
}
[TestCompiler]
public static void bool4_operator_logical_not()
{
bool4 a0 = bool4(true, true, false, false);
bool4 r0 = bool4(false, false, true, true);
TestUtils.AreEqual(r0, !a0);
bool4 a1 = bool4(true, true, false, true);
bool4 r1 = bool4(false, false, true, false);
TestUtils.AreEqual(r1, !a1);
bool4 a2 = bool4(false, false, false, true);
bool4 r2 = bool4(true, true, true, false);
TestUtils.AreEqual(r2, !a2);
bool4 a3 = bool4(true, false, true, true);
bool4 r3 = bool4(false, true, false, false);
TestUtils.AreEqual(r3, !a3);
}
}
}

View File

@@ -0,0 +1,400 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using NUnit.Framework;
using static Unity.Mathematics.math;
using Burst.Compiler.IL.Tests;
namespace Unity.Mathematics.Tests
{
[TestFixture]
public class TestBool4x2
{
[TestCompiler]
public static void bool4x2_operator_equal_wide_wide()
{
bool4x2 a0 = bool4x2(true, false, true, false, false, true, false, false);
bool4x2 b0 = bool4x2(true, false, false, false, true, false, false, true);
bool4x2 r0 = bool4x2(true, true, false, true, false, false, true, false);
TestUtils.AreEqual(r0, a0 == b0);
bool4x2 a1 = bool4x2(true, false, true, false, true, true, false, true);
bool4x2 b1 = bool4x2(false, false, false, false, true, false, false, false);
bool4x2 r1 = bool4x2(false, true, false, true, true, false, true, false);
TestUtils.AreEqual(r1, a1 == b1);
bool4x2 a2 = bool4x2(true, false, false, true, true, true, false, true);
bool4x2 b2 = bool4x2(true, false, false, true, false, true, false, true);
bool4x2 r2 = bool4x2(true, true, true, true, false, true, true, true);
TestUtils.AreEqual(r2, a2 == b2);
bool4x2 a3 = bool4x2(true, true, false, true, true, true, false, true);
bool4x2 b3 = bool4x2(true, true, true, true, true, false, false, false);
bool4x2 r3 = bool4x2(true, true, false, true, true, false, true, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void bool4x2_operator_equal_wide_scalar()
{
bool4x2 a0 = bool4x2(false, true, false, false, false, false, true, false);
bool b0 = (true);
bool4x2 r0 = bool4x2(false, true, false, false, false, false, true, false);
TestUtils.AreEqual(r0, a0 == b0);
bool4x2 a1 = bool4x2(false, true, true, false, true, false, true, false);
bool b1 = (false);
bool4x2 r1 = bool4x2(true, false, false, true, false, true, false, true);
TestUtils.AreEqual(r1, a1 == b1);
bool4x2 a2 = bool4x2(false, true, false, false, false, false, false, false);
bool b2 = (false);
bool4x2 r2 = bool4x2(true, false, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 == b2);
bool4x2 a3 = bool4x2(false, false, false, false, false, true, true, false);
bool b3 = (false);
bool4x2 r3 = bool4x2(true, true, true, true, true, false, false, true);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void bool4x2_operator_equal_scalar_wide()
{
bool a0 = (false);
bool4x2 b0 = bool4x2(true, false, true, false, false, true, false, false);
bool4x2 r0 = bool4x2(false, true, false, true, true, false, true, true);
TestUtils.AreEqual(r0, a0 == b0);
bool a1 = (true);
bool4x2 b1 = bool4x2(false, true, true, false, true, false, true, true);
bool4x2 r1 = bool4x2(false, true, true, false, true, false, true, true);
TestUtils.AreEqual(r1, a1 == b1);
bool a2 = (true);
bool4x2 b2 = bool4x2(false, false, true, false, true, true, false, true);
bool4x2 r2 = bool4x2(false, false, true, false, true, true, false, true);
TestUtils.AreEqual(r2, a2 == b2);
bool a3 = (true);
bool4x2 b3 = bool4x2(true, true, true, true, false, true, true, false);
bool4x2 r3 = bool4x2(true, true, true, true, false, true, true, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void bool4x2_operator_not_equal_wide_wide()
{
bool4x2 a0 = bool4x2(true, true, true, false, false, true, false, false);
bool4x2 b0 = bool4x2(true, false, false, false, true, false, false, false);
bool4x2 r0 = bool4x2(false, true, true, false, true, true, false, false);
TestUtils.AreEqual(r0, a0 != b0);
bool4x2 a1 = bool4x2(false, false, true, true, true, true, true, true);
bool4x2 b1 = bool4x2(false, true, true, true, false, false, true, true);
bool4x2 r1 = bool4x2(false, true, false, false, true, true, false, false);
TestUtils.AreEqual(r1, a1 != b1);
bool4x2 a2 = bool4x2(true, true, false, true, false, true, true, true);
bool4x2 b2 = bool4x2(true, false, true, true, false, false, true, false);
bool4x2 r2 = bool4x2(false, true, true, false, false, true, false, true);
TestUtils.AreEqual(r2, a2 != b2);
bool4x2 a3 = bool4x2(true, false, false, true, false, true, true, true);
bool4x2 b3 = bool4x2(false, false, true, false, true, false, true, false);
bool4x2 r3 = bool4x2(true, false, true, true, true, true, false, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void bool4x2_operator_not_equal_wide_scalar()
{
bool4x2 a0 = bool4x2(false, true, false, true, true, false, false, false);
bool b0 = (false);
bool4x2 r0 = bool4x2(false, true, false, true, true, false, false, false);
TestUtils.AreEqual(r0, a0 != b0);
bool4x2 a1 = bool4x2(false, false, false, false, true, false, false, false);
bool b1 = (false);
bool4x2 r1 = bool4x2(false, false, false, false, true, false, false, false);
TestUtils.AreEqual(r1, a1 != b1);
bool4x2 a2 = bool4x2(false, true, false, true, true, true, true, true);
bool b2 = (true);
bool4x2 r2 = bool4x2(true, false, true, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 != b2);
bool4x2 a3 = bool4x2(true, true, true, true, false, false, true, false);
bool b3 = (false);
bool4x2 r3 = bool4x2(true, true, true, true, false, false, true, false);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void bool4x2_operator_not_equal_scalar_wide()
{
bool a0 = (true);
bool4x2 b0 = bool4x2(false, false, true, false, false, false, true, true);
bool4x2 r0 = bool4x2(true, true, false, true, true, true, false, false);
TestUtils.AreEqual(r0, a0 != b0);
bool a1 = (true);
bool4x2 b1 = bool4x2(false, false, false, false, false, true, false, false);
bool4x2 r1 = bool4x2(true, true, true, true, true, false, true, true);
TestUtils.AreEqual(r1, a1 != b1);
bool a2 = (true);
bool4x2 b2 = bool4x2(false, false, false, true, true, false, false, true);
bool4x2 r2 = bool4x2(true, true, true, false, false, true, true, false);
TestUtils.AreEqual(r2, a2 != b2);
bool a3 = (false);
bool4x2 b3 = bool4x2(false, true, true, false, true, false, false, true);
bool4x2 r3 = bool4x2(false, true, true, false, true, false, false, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void bool4x2_operator_bitwise_and_wide_wide()
{
bool4x2 a0 = bool4x2(false, false, true, true, false, false, true, true);
bool4x2 b0 = bool4x2(false, false, true, false, true, true, false, false);
bool4x2 r0 = bool4x2(false, false, true, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 & b0);
bool4x2 a1 = bool4x2(true, false, true, true, true, true, false, false);
bool4x2 b1 = bool4x2(true, true, false, false, false, false, true, false);
bool4x2 r1 = bool4x2(true, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 & b1);
bool4x2 a2 = bool4x2(true, true, true, false, true, true, false, true);
bool4x2 b2 = bool4x2(true, false, true, true, true, true, true, true);
bool4x2 r2 = bool4x2(true, false, true, false, true, true, false, true);
TestUtils.AreEqual(r2, a2 & b2);
bool4x2 a3 = bool4x2(true, false, true, true, true, false, false, true);
bool4x2 b3 = bool4x2(true, true, true, false, false, false, true, false);
bool4x2 r3 = bool4x2(true, false, true, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 & b3);
}
[TestCompiler]
public static void bool4x2_operator_bitwise_and_wide_scalar()
{
bool4x2 a0 = bool4x2(true, false, false, true, true, false, false, false);
bool b0 = (true);
bool4x2 r0 = bool4x2(true, false, false, true, true, false, false, false);
TestUtils.AreEqual(r0, a0 & b0);
bool4x2 a1 = bool4x2(false, true, true, true, false, false, true, true);
bool b1 = (false);
bool4x2 r1 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 & b1);
bool4x2 a2 = bool4x2(true, true, false, true, true, true, false, false);
bool b2 = (false);
bool4x2 r2 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 & b2);
bool4x2 a3 = bool4x2(false, false, true, false, true, false, false, false);
bool b3 = (false);
bool4x2 r3 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 & b3);
}
[TestCompiler]
public static void bool4x2_operator_bitwise_and_scalar_wide()
{
bool a0 = (false);
bool4x2 b0 = bool4x2(false, false, true, true, true, false, true, false);
bool4x2 r0 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 & b0);
bool a1 = (false);
bool4x2 b1 = bool4x2(false, true, false, false, false, true, true, true);
bool4x2 r1 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 & b1);
bool a2 = (true);
bool4x2 b2 = bool4x2(false, true, true, true, true, true, false, true);
bool4x2 r2 = bool4x2(false, true, true, true, true, true, false, true);
TestUtils.AreEqual(r2, a2 & b2);
bool a3 = (false);
bool4x2 b3 = bool4x2(true, false, false, false, true, true, true, true);
bool4x2 r3 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 & b3);
}
[TestCompiler]
public static void bool4x2_operator_bitwise_or_wide_wide()
{
bool4x2 a0 = bool4x2(true, true, true, false, true, false, true, true);
bool4x2 b0 = bool4x2(false, false, false, false, true, true, true, false);
bool4x2 r0 = bool4x2(true, true, true, false, true, true, true, true);
TestUtils.AreEqual(r0, a0 | b0);
bool4x2 a1 = bool4x2(false, true, true, true, true, true, true, false);
bool4x2 b1 = bool4x2(false, true, false, false, true, true, true, true);
bool4x2 r1 = bool4x2(false, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 | b1);
bool4x2 a2 = bool4x2(true, true, false, true, true, false, true, false);
bool4x2 b2 = bool4x2(true, true, false, true, true, true, false, true);
bool4x2 r2 = bool4x2(true, true, false, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 | b2);
bool4x2 a3 = bool4x2(true, true, false, true, false, false, false, false);
bool4x2 b3 = bool4x2(false, true, false, false, true, true, true, true);
bool4x2 r3 = bool4x2(true, true, false, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 | b3);
}
[TestCompiler]
public static void bool4x2_operator_bitwise_or_wide_scalar()
{
bool4x2 a0 = bool4x2(true, true, false, true, true, true, true, false);
bool b0 = (true);
bool4x2 r0 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 | b0);
bool4x2 a1 = bool4x2(true, false, true, false, false, true, false, true);
bool b1 = (false);
bool4x2 r1 = bool4x2(true, false, true, false, false, true, false, true);
TestUtils.AreEqual(r1, a1 | b1);
bool4x2 a2 = bool4x2(true, true, true, true, true, true, false, true);
bool b2 = (true);
bool4x2 r2 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 | b2);
bool4x2 a3 = bool4x2(false, false, true, true, true, true, true, true);
bool b3 = (false);
bool4x2 r3 = bool4x2(false, false, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 | b3);
}
[TestCompiler]
public static void bool4x2_operator_bitwise_or_scalar_wide()
{
bool a0 = (true);
bool4x2 b0 = bool4x2(true, true, false, false, true, true, true, false);
bool4x2 r0 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 | b0);
bool a1 = (false);
bool4x2 b1 = bool4x2(true, true, false, true, true, false, false, false);
bool4x2 r1 = bool4x2(true, true, false, true, true, false, false, false);
TestUtils.AreEqual(r1, a1 | b1);
bool a2 = (false);
bool4x2 b2 = bool4x2(true, true, true, true, true, false, true, false);
bool4x2 r2 = bool4x2(true, true, true, true, true, false, true, false);
TestUtils.AreEqual(r2, a2 | b2);
bool a3 = (true);
bool4x2 b3 = bool4x2(true, false, true, true, false, true, true, false);
bool4x2 r3 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 | b3);
}
[TestCompiler]
public static void bool4x2_operator_bitwise_xor_wide_wide()
{
bool4x2 a0 = bool4x2(true, false, false, true, false, false, false, true);
bool4x2 b0 = bool4x2(true, true, false, true, false, true, false, true);
bool4x2 r0 = bool4x2(false, true, false, false, false, true, false, false);
TestUtils.AreEqual(r0, a0 ^ b0);
bool4x2 a1 = bool4x2(false, false, true, true, false, false, true, false);
bool4x2 b1 = bool4x2(false, false, false, true, false, false, true, true);
bool4x2 r1 = bool4x2(false, false, true, false, false, false, false, true);
TestUtils.AreEqual(r1, a1 ^ b1);
bool4x2 a2 = bool4x2(true, false, false, false, true, false, true, false);
bool4x2 b2 = bool4x2(false, false, false, false, false, true, false, false);
bool4x2 r2 = bool4x2(true, false, false, false, true, true, true, false);
TestUtils.AreEqual(r2, a2 ^ b2);
bool4x2 a3 = bool4x2(true, false, false, false, true, true, true, true);
bool4x2 b3 = bool4x2(false, true, false, true, true, false, false, true);
bool4x2 r3 = bool4x2(true, true, false, true, false, true, true, false);
TestUtils.AreEqual(r3, a3 ^ b3);
}
[TestCompiler]
public static void bool4x2_operator_bitwise_xor_wide_scalar()
{
bool4x2 a0 = bool4x2(false, false, true, true, false, false, false, false);
bool b0 = (false);
bool4x2 r0 = bool4x2(false, false, true, true, false, false, false, false);
TestUtils.AreEqual(r0, a0 ^ b0);
bool4x2 a1 = bool4x2(false, false, true, false, true, true, true, true);
bool b1 = (false);
bool4x2 r1 = bool4x2(false, false, true, false, true, true, true, true);
TestUtils.AreEqual(r1, a1 ^ b1);
bool4x2 a2 = bool4x2(false, false, false, true, false, false, false, true);
bool b2 = (true);
bool4x2 r2 = bool4x2(true, true, true, false, true, true, true, false);
TestUtils.AreEqual(r2, a2 ^ b2);
bool4x2 a3 = bool4x2(false, true, true, true, false, true, false, false);
bool b3 = (true);
bool4x2 r3 = bool4x2(true, false, false, false, true, false, true, true);
TestUtils.AreEqual(r3, a3 ^ b3);
}
[TestCompiler]
public static void bool4x2_operator_bitwise_xor_scalar_wide()
{
bool a0 = (true);
bool4x2 b0 = bool4x2(true, false, true, true, false, true, true, false);
bool4x2 r0 = bool4x2(false, true, false, false, true, false, false, true);
TestUtils.AreEqual(r0, a0 ^ b0);
bool a1 = (false);
bool4x2 b1 = bool4x2(true, true, false, false, true, false, true, true);
bool4x2 r1 = bool4x2(true, true, false, false, true, false, true, true);
TestUtils.AreEqual(r1, a1 ^ b1);
bool a2 = (false);
bool4x2 b2 = bool4x2(true, true, true, false, false, false, true, true);
bool4x2 r2 = bool4x2(true, true, true, false, false, false, true, true);
TestUtils.AreEqual(r2, a2 ^ b2);
bool a3 = (true);
bool4x2 b3 = bool4x2(false, false, false, true, true, false, true, false);
bool4x2 r3 = bool4x2(true, true, true, false, false, true, false, true);
TestUtils.AreEqual(r3, a3 ^ b3);
}
[TestCompiler]
public static void bool4x2_operator_logical_not()
{
bool4x2 a0 = bool4x2(true, true, false, false, true, false, true, false);
bool4x2 r0 = bool4x2(false, false, true, true, false, true, false, true);
TestUtils.AreEqual(r0, !a0);
bool4x2 a1 = bool4x2(true, false, false, false, true, true, false, false);
bool4x2 r1 = bool4x2(false, true, true, true, false, false, true, true);
TestUtils.AreEqual(r1, !a1);
bool4x2 a2 = bool4x2(true, true, false, true, true, true, false, false);
bool4x2 r2 = bool4x2(false, false, true, false, false, false, true, true);
TestUtils.AreEqual(r2, !a2);
bool4x2 a3 = bool4x2(false, false, true, false, false, true, true, false);
bool4x2 r3 = bool4x2(true, true, false, true, true, false, false, true);
TestUtils.AreEqual(r3, !a3);
}
}
}

View File

@@ -0,0 +1,400 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using NUnit.Framework;
using static Unity.Mathematics.math;
using Burst.Compiler.IL.Tests;
namespace Unity.Mathematics.Tests
{
[TestFixture]
public class TestBool4x3
{
[TestCompiler]
public static void bool4x3_operator_equal_wide_wide()
{
bool4x3 a0 = bool4x3(true, false, true, false, false, true, false, false, true, false, true, false);
bool4x3 b0 = bool4x3(true, false, false, false, true, false, false, true, false, false, false, false);
bool4x3 r0 = bool4x3(true, true, false, true, false, false, true, false, false, true, false, true);
TestUtils.AreEqual(r0, a0 == b0);
bool4x3 a1 = bool4x3(true, true, false, true, true, false, false, true, true, true, false, true);
bool4x3 b1 = bool4x3(true, false, false, false, true, false, false, true, false, true, false, true);
bool4x3 r1 = bool4x3(true, false, true, false, true, true, true, true, false, true, true, true);
TestUtils.AreEqual(r1, a1 == b1);
bool4x3 a2 = bool4x3(true, true, false, true, true, true, false, true, false, true, false, true);
bool4x3 b2 = bool4x3(true, true, true, true, true, false, false, false, false, true, false, false);
bool4x3 r2 = bool4x3(true, true, false, true, true, false, true, false, true, true, true, false);
TestUtils.AreEqual(r2, a2 == b2);
bool4x3 a3 = bool4x3(false, true, true, false, true, false, false, false, false, true, true, false);
bool4x3 b3 = bool4x3(true, true, false, true, false, false, false, true, true, true, true, false);
bool4x3 r3 = bool4x3(false, true, false, false, false, true, true, false, false, true, true, true);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void bool4x3_operator_equal_wide_scalar()
{
bool4x3 a0 = bool4x3(false, true, false, false, false, false, true, false, false, false, true, true);
bool b0 = (true);
bool4x3 r0 = bool4x3(false, true, false, false, false, false, true, false, false, false, true, true);
TestUtils.AreEqual(r0, a0 == b0);
bool4x3 a1 = bool4x3(false, false, true, false, false, false, true, false, false, false, false, false);
bool b1 = (true);
bool4x3 r1 = bool4x3(false, false, true, false, false, false, true, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
bool4x3 a2 = bool4x3(false, false, false, false, false, false, true, true, false, false, false, false);
bool b2 = (false);
bool4x3 r2 = bool4x3(true, true, true, true, true, true, false, false, true, true, true, true);
TestUtils.AreEqual(r2, a2 == b2);
bool4x3 a3 = bool4x3(true, false, true, true, false, false, true, false, true, true, false, false);
bool b3 = (true);
bool4x3 r3 = bool4x3(true, false, true, true, false, false, true, false, true, true, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void bool4x3_operator_equal_scalar_wide()
{
bool a0 = (false);
bool4x3 b0 = bool4x3(true, false, true, false, false, true, false, false, true, false, true, true);
bool4x3 r0 = bool4x3(false, true, false, true, true, false, true, true, false, true, false, false);
TestUtils.AreEqual(r0, a0 == b0);
bool a1 = (false);
bool4x3 b1 = bool4x3(true, false, true, true, true, false, false, true, false, true, true, false);
bool4x3 r1 = bool4x3(false, true, false, false, false, true, true, false, true, false, false, true);
TestUtils.AreEqual(r1, a1 == b1);
bool a2 = (true);
bool4x3 b2 = bool4x3(true, true, true, true, true, false, true, true, false, false, false, true);
bool4x3 r2 = bool4x3(true, true, true, true, true, false, true, true, false, false, false, true);
TestUtils.AreEqual(r2, a2 == b2);
bool a3 = (true);
bool4x3 b3 = bool4x3(true, false, true, true, true, false, false, true, false, true, true, false);
bool4x3 r3 = bool4x3(true, false, true, true, true, false, false, true, false, true, true, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void bool4x3_operator_not_equal_wide_wide()
{
bool4x3 a0 = bool4x3(true, true, true, false, false, true, false, false, false, false, true, true);
bool4x3 b0 = bool4x3(true, false, false, false, true, false, false, false, false, true, true, true);
bool4x3 r0 = bool4x3(false, true, true, false, true, true, false, false, false, true, false, false);
TestUtils.AreEqual(r0, a0 != b0);
bool4x3 a1 = bool4x3(true, true, true, true, true, true, false, true, false, true, true, true);
bool4x3 b1 = bool4x3(false, false, true, true, true, false, true, true, false, false, true, false);
bool4x3 r1 = bool4x3(true, true, false, false, false, true, true, false, false, true, false, true);
TestUtils.AreEqual(r1, a1 != b1);
bool4x3 a2 = bool4x3(true, false, false, true, false, true, true, true, true, true, false, true);
bool4x3 b2 = bool4x3(false, false, true, false, true, false, true, false, false, false, false, false);
bool4x3 r2 = bool4x3(true, false, true, true, true, true, false, true, true, true, false, true);
TestUtils.AreEqual(r2, a2 != b2);
bool4x3 a3 = bool4x3(true, true, true, false, true, true, true, false, true, false, false, false);
bool4x3 b3 = bool4x3(false, true, false, true, false, true, false, false, false, true, false, false);
bool4x3 r3 = bool4x3(true, false, true, true, true, false, true, false, true, true, false, false);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void bool4x3_operator_not_equal_wide_scalar()
{
bool4x3 a0 = bool4x3(false, true, false, true, true, false, false, false, false, false, false, false);
bool b0 = (false);
bool4x3 r0 = bool4x3(false, true, false, true, true, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 != b0);
bool4x3 a1 = bool4x3(false, false, false, false, false, true, true, false, true, true, true, true);
bool b1 = (true);
bool4x3 r1 = bool4x3(true, true, true, true, true, false, false, true, false, false, false, false);
TestUtils.AreEqual(r1, a1 != b1);
bool4x3 a2 = bool4x3(true, false, true, true, true, false, false, true, false, true, false, true);
bool b2 = (true);
bool4x3 r2 = bool4x3(false, true, false, false, false, true, true, false, true, false, true, false);
TestUtils.AreEqual(r2, a2 != b2);
bool4x3 a3 = bool4x3(false, false, true, true, true, false, false, true, false, true, false, true);
bool b3 = (false);
bool4x3 r3 = bool4x3(false, false, true, true, true, false, false, true, false, true, false, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void bool4x3_operator_not_equal_scalar_wide()
{
bool a0 = (true);
bool4x3 b0 = bool4x3(false, false, true, false, false, false, true, true, true, false, false, false);
bool4x3 r0 = bool4x3(true, true, false, true, true, true, false, false, false, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
bool a1 = (false);
bool4x3 b1 = bool4x3(false, true, false, false, true, false, false, false, true, true, false, false);
bool4x3 r1 = bool4x3(false, true, false, false, true, false, false, false, true, true, false, false);
TestUtils.AreEqual(r1, a1 != b1);
bool a2 = (true);
bool4x3 b2 = bool4x3(false, false, true, true, false, true, false, false, true, true, true, true);
bool4x3 r2 = bool4x3(true, true, false, false, true, false, true, true, false, false, false, false);
TestUtils.AreEqual(r2, a2 != b2);
bool a3 = (true);
bool4x3 b3 = bool4x3(true, true, true, false, false, true, true, false, false, false, true, true);
bool4x3 r3 = bool4x3(false, false, false, true, true, false, false, true, true, true, false, false);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void bool4x3_operator_bitwise_and_wide_wide()
{
bool4x3 a0 = bool4x3(false, false, true, true, false, false, true, true, true, false, true, true);
bool4x3 b0 = bool4x3(false, false, true, false, true, true, false, false, true, true, false, false);
bool4x3 r0 = bool4x3(false, false, true, false, false, false, false, false, true, false, false, false);
TestUtils.AreEqual(r0, a0 & b0);
bool4x3 a1 = bool4x3(true, true, false, false, true, true, true, false, true, true, false, true);
bool4x3 b1 = bool4x3(false, false, true, false, true, false, true, true, true, true, true, true);
bool4x3 r1 = bool4x3(false, false, false, false, true, false, true, false, true, true, false, true);
TestUtils.AreEqual(r1, a1 & b1);
bool4x3 a2 = bool4x3(true, false, true, true, true, false, false, true, true, false, false, true);
bool4x3 b2 = bool4x3(true, true, true, false, false, false, true, false, false, true, true, true);
bool4x3 r2 = bool4x3(true, false, true, false, false, false, false, false, false, false, false, true);
TestUtils.AreEqual(r2, a2 & b2);
bool4x3 a3 = bool4x3(true, false, true, false, false, false, true, false, false, true, false, true);
bool4x3 b3 = bool4x3(false, true, true, false, true, true, false, false, false, true, true, true);
bool4x3 r3 = bool4x3(false, false, true, false, false, false, false, false, false, true, false, true);
TestUtils.AreEqual(r3, a3 & b3);
}
[TestCompiler]
public static void bool4x3_operator_bitwise_and_wide_scalar()
{
bool4x3 a0 = bool4x3(true, false, false, true, true, false, false, false, false, false, true, true);
bool b0 = (true);
bool4x3 r0 = bool4x3(true, false, false, true, true, false, false, false, false, false, true, true);
TestUtils.AreEqual(r0, a0 & b0);
bool4x3 a1 = bool4x3(true, false, true, true, true, false, true, false, true, true, true, false);
bool b1 = (false);
bool4x3 r1 = bool4x3(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 & b1);
bool4x3 a2 = bool4x3(false, false, false, true, false, true, false, false, false, false, true, false);
bool b2 = (false);
bool4x3 r2 = bool4x3(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 & b2);
bool4x3 a3 = bool4x3(true, true, false, false, true, false, true, false, true, false, true, false);
bool b3 = (false);
bool4x3 r3 = bool4x3(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 & b3);
}
[TestCompiler]
public static void bool4x3_operator_bitwise_and_scalar_wide()
{
bool a0 = (false);
bool4x3 b0 = bool4x3(false, false, true, true, true, false, true, false, false, false, true, false);
bool4x3 r0 = bool4x3(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 & b0);
bool a1 = (false);
bool4x3 b1 = bool4x3(false, true, true, true, true, false, true, true, true, true, true, false);
bool4x3 r1 = bool4x3(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 & b1);
bool a2 = (true);
bool4x3 b2 = bool4x3(false, true, false, false, false, true, true, true, true, true, false, true);
bool4x3 r2 = bool4x3(false, true, false, false, false, true, true, true, true, true, false, true);
TestUtils.AreEqual(r2, a2 & b2);
bool a3 = (false);
bool4x3 b3 = bool4x3(false, true, true, true, false, true, true, true, true, true, false, false);
bool4x3 r3 = bool4x3(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 & b3);
}
[TestCompiler]
public static void bool4x3_operator_bitwise_or_wide_wide()
{
bool4x3 a0 = bool4x3(true, true, true, false, true, false, true, true, false, true, true, true);
bool4x3 b0 = bool4x3(false, false, false, false, true, true, true, false, false, true, false, false);
bool4x3 r0 = bool4x3(true, true, true, false, true, true, true, true, false, true, true, true);
TestUtils.AreEqual(r0, a0 | b0);
bool4x3 a1 = bool4x3(true, true, true, false, true, true, false, true, true, false, true, false);
bool4x3 b1 = bool4x3(true, true, true, true, true, true, false, true, true, true, false, true);
bool4x3 r1 = bool4x3(true, true, true, true, true, true, false, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 | b1);
bool4x3 a2 = bool4x3(true, true, false, true, false, false, false, false, false, false, true, true);
bool4x3 b2 = bool4x3(false, true, false, false, true, true, true, true, false, false, false, true);
bool4x3 r2 = bool4x3(true, true, false, true, true, true, true, true, false, false, true, true);
TestUtils.AreEqual(r2, a2 | b2);
bool4x3 a3 = bool4x3(true, false, false, false, false, true, false, false, true, false, true, false);
bool4x3 b3 = bool4x3(false, false, false, true, false, false, true, true, true, true, true, false);
bool4x3 r3 = bool4x3(true, false, false, true, false, true, true, true, true, true, true, false);
TestUtils.AreEqual(r3, a3 | b3);
}
[TestCompiler]
public static void bool4x3_operator_bitwise_or_wide_scalar()
{
bool4x3 a0 = bool4x3(true, true, false, true, true, true, true, false, true, false, false, true);
bool b0 = (true);
bool4x3 r0 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 | b0);
bool4x3 a1 = bool4x3(false, true, false, true, true, true, true, true, true, true, true, false);
bool b1 = (false);
bool4x3 r1 = bool4x3(false, true, false, true, true, true, true, true, true, true, true, false);
TestUtils.AreEqual(r1, a1 | b1);
bool4x3 a2 = bool4x3(true, false, false, true, true, true, true, true, true, false, true, false);
bool b2 = (false);
bool4x3 r2 = bool4x3(true, false, false, true, true, true, true, true, true, false, true, false);
TestUtils.AreEqual(r2, a2 | b2);
bool4x3 a3 = bool4x3(false, false, true, false, true, true, false, true, true, false, true, false);
bool b3 = (true);
bool4x3 r3 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 | b3);
}
[TestCompiler]
public static void bool4x3_operator_bitwise_or_scalar_wide()
{
bool a0 = (true);
bool4x3 b0 = bool4x3(true, true, false, false, true, true, true, false, false, true, true, false);
bool4x3 r0 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 | b0);
bool a1 = (true);
bool4x3 b1 = bool4x3(true, false, false, false, false, true, true, true, true, true, false, true);
bool4x3 r1 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 | b1);
bool a2 = (false);
bool4x3 b2 = bool4x3(true, true, false, true, true, false, true, true, false, false, true, true);
bool4x3 r2 = bool4x3(true, true, false, true, true, false, true, true, false, false, true, true);
TestUtils.AreEqual(r2, a2 | b2);
bool a3 = (true);
bool4x3 b3 = bool4x3(false, false, false, false, false, false, true, true, false, true, true, true);
bool4x3 r3 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 | b3);
}
[TestCompiler]
public static void bool4x3_operator_bitwise_xor_wide_wide()
{
bool4x3 a0 = bool4x3(true, false, false, true, false, false, false, true, false, false, true, true);
bool4x3 b0 = bool4x3(true, true, false, true, false, true, false, true, false, false, false, true);
bool4x3 r0 = bool4x3(false, true, false, false, false, true, false, false, false, false, true, false);
TestUtils.AreEqual(r0, a0 ^ b0);
bool4x3 a1 = bool4x3(false, false, true, false, true, false, false, false, true, false, true, false);
bool4x3 b1 = bool4x3(false, false, true, true, false, false, false, false, false, true, false, false);
bool4x3 r1 = bool4x3(false, false, false, true, true, false, false, false, true, true, true, false);
TestUtils.AreEqual(r1, a1 ^ b1);
bool4x3 a2 = bool4x3(true, false, false, false, true, true, true, true, true, true, false, false);
bool4x3 b2 = bool4x3(false, true, false, true, true, false, false, true, false, true, true, false);
bool4x3 r2 = bool4x3(true, true, false, true, false, true, true, false, true, false, true, false);
TestUtils.AreEqual(r2, a2 ^ b2);
bool4x3 a3 = bool4x3(true, true, true, true, true, true, false, true, false, false, true, true);
bool4x3 b3 = bool4x3(true, false, false, false, false, true, false, true, false, true, true, true);
bool4x3 r3 = bool4x3(false, true, true, true, true, false, false, false, false, true, false, false);
TestUtils.AreEqual(r3, a3 ^ b3);
}
[TestCompiler]
public static void bool4x3_operator_bitwise_xor_wide_scalar()
{
bool4x3 a0 = bool4x3(false, false, true, true, false, false, false, false, false, false, false, true);
bool b0 = (false);
bool4x3 r0 = bool4x3(false, false, true, true, false, false, false, false, false, false, false, true);
TestUtils.AreEqual(r0, a0 ^ b0);
bool4x3 a1 = bool4x3(false, true, true, true, false, true, false, false, true, false, false, false);
bool b1 = (true);
bool4x3 r1 = bool4x3(true, false, false, false, true, false, true, true, false, true, true, true);
TestUtils.AreEqual(r1, a1 ^ b1);
bool4x3 a2 = bool4x3(true, true, true, true, true, false, true, false, false, true, true, false);
bool b2 = (false);
bool4x3 r2 = bool4x3(true, true, true, true, true, false, true, false, false, true, true, false);
TestUtils.AreEqual(r2, a2 ^ b2);
bool4x3 a3 = bool4x3(true, false, false, true, false, true, false, false, true, true, false, true);
bool b3 = (true);
bool4x3 r3 = bool4x3(false, true, true, false, true, false, true, true, false, false, true, false);
TestUtils.AreEqual(r3, a3 ^ b3);
}
[TestCompiler]
public static void bool4x3_operator_bitwise_xor_scalar_wide()
{
bool a0 = (true);
bool4x3 b0 = bool4x3(true, false, true, true, false, true, true, false, false, true, true, false);
bool4x3 r0 = bool4x3(false, true, false, false, true, false, false, true, true, false, false, true);
TestUtils.AreEqual(r0, a0 ^ b0);
bool a1 = (false);
bool4x3 b1 = bool4x3(true, false, true, true, false, true, true, true, false, false, false, true);
bool4x3 r1 = bool4x3(true, false, true, true, false, true, true, true, false, false, false, true);
TestUtils.AreEqual(r1, a1 ^ b1);
bool a2 = (true);
bool4x3 b2 = bool4x3(true, false, false, false, true, true, false, true, false, false, true, true);
bool4x3 r2 = bool4x3(false, true, true, true, false, false, true, false, true, true, false, false);
TestUtils.AreEqual(r2, a2 ^ b2);
bool a3 = (true);
bool4x3 b3 = bool4x3(true, false, false, false, true, false, false, false, true, true, false, false);
bool4x3 r3 = bool4x3(false, true, true, true, false, true, true, true, false, false, true, true);
TestUtils.AreEqual(r3, a3 ^ b3);
}
[TestCompiler]
public static void bool4x3_operator_logical_not()
{
bool4x3 a0 = bool4x3(true, true, false, false, true, false, true, false, true, false, false, false);
bool4x3 r0 = bool4x3(false, false, true, true, false, true, false, true, false, true, true, true);
TestUtils.AreEqual(r0, !a0);
bool4x3 a1 = bool4x3(false, true, false, false, true, true, true, false, true, true, true, false);
bool4x3 r1 = bool4x3(true, false, true, true, false, false, false, true, false, false, false, true);
TestUtils.AreEqual(r1, !a1);
bool4x3 a2 = bool4x3(false, true, false, true, false, false, true, true, false, true, false, false);
bool4x3 r2 = bool4x3(true, false, true, false, true, true, false, false, true, false, true, true);
TestUtils.AreEqual(r2, !a2);
bool4x3 a3 = bool4x3(false, true, true, false, false, true, false, true, false, true, false, true);
bool4x3 r3 = bool4x3(true, false, false, true, true, false, true, false, true, false, true, false);
TestUtils.AreEqual(r3, !a3);
}
}
}

View File

@@ -0,0 +1,400 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using NUnit.Framework;
using static Unity.Mathematics.math;
using Burst.Compiler.IL.Tests;
namespace Unity.Mathematics.Tests
{
[TestFixture]
public class TestBool4x4
{
[TestCompiler]
public static void bool4x4_operator_equal_wide_wide()
{
bool4x4 a0 = bool4x4(true, false, true, false, false, true, false, false, true, false, true, false, true, true, false, true);
bool4x4 b0 = bool4x4(true, false, false, false, true, false, false, true, false, false, false, false, true, false, false, false);
bool4x4 r0 = bool4x4(true, true, false, true, false, false, true, false, false, true, false, true, true, false, true, false);
TestUtils.AreEqual(r0, a0 == b0);
bool4x4 a1 = bool4x4(true, false, false, true, true, true, false, true, true, true, false, true, true, true, false, true);
bool4x4 b1 = bool4x4(true, false, false, true, false, true, false, true, true, true, true, true, true, false, false, false);
bool4x4 r1 = bool4x4(true, true, true, true, false, true, true, true, true, true, false, true, true, false, true, false);
TestUtils.AreEqual(r1, a1 == b1);
bool4x4 a2 = bool4x4(false, true, false, true, false, true, true, false, true, false, false, false, false, true, true, false);
bool4x4 b2 = bool4x4(false, true, false, false, true, true, false, true, false, false, false, true, true, true, true, false);
bool4x4 r2 = bool4x4(true, true, true, false, false, true, false, false, false, true, true, false, false, true, true, true);
TestUtils.AreEqual(r2, a2 == b2);
bool4x4 a3 = bool4x4(false, true, false, false, false, true, false, true, false, false, false, true, false, false, false, false);
bool4x4 b3 = bool4x4(false, true, false, true, true, false, false, false, false, true, true, false, false, false, true, false);
bool4x4 r3 = bool4x4(true, true, true, false, false, false, true, false, true, false, false, false, true, true, false, true);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void bool4x4_operator_equal_wide_scalar()
{
bool4x4 a0 = bool4x4(false, true, false, false, false, false, true, false, false, false, true, true, false, true, false, true);
bool b0 = (true);
bool4x4 r0 = bool4x4(false, true, false, false, false, false, true, false, false, false, true, true, false, true, false, true);
TestUtils.AreEqual(r0, a0 == b0);
bool4x4 a1 = bool4x4(false, false, true, false, false, false, false, false, false, false, false, false, false, false, false, true);
bool b1 = (false);
bool4x4 r1 = bool4x4(true, true, false, true, true, true, true, true, true, true, true, true, true, true, true, false);
TestUtils.AreEqual(r1, a1 == b1);
bool4x4 a2 = bool4x4(true, false, false, false, true, true, false, true, true, false, false, true, false, true, true, false);
bool b2 = (false);
bool4x4 r2 = bool4x4(false, true, true, true, false, false, true, false, false, true, true, false, true, false, false, true);
TestUtils.AreEqual(r2, a2 == b2);
bool4x4 a3 = bool4x4(false, false, true, false, true, true, true, false, true, false, true, false, false, false, false, false);
bool b3 = (true);
bool4x4 r3 = bool4x4(false, false, true, false, true, true, true, false, true, false, true, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void bool4x4_operator_equal_scalar_wide()
{
bool a0 = (false);
bool4x4 b0 = bool4x4(true, false, true, false, false, true, false, false, true, false, true, true, false, true, false, true);
bool4x4 r0 = bool4x4(false, true, false, true, true, false, true, true, false, true, false, false, true, false, true, false);
TestUtils.AreEqual(r0, a0 == b0);
bool a1 = (true);
bool4x4 b1 = bool4x4(true, false, false, true, false, true, true, false, true, true, true, true, true, true, false, true);
bool4x4 r1 = bool4x4(true, false, false, true, false, true, true, false, true, true, true, true, true, true, false, true);
TestUtils.AreEqual(r1, a1 == b1);
bool a2 = (true);
bool4x4 b2 = bool4x4(false, false, false, true, true, true, false, true, true, true, false, false, true, false, true, true);
bool4x4 r2 = bool4x4(false, false, false, true, true, true, false, true, true, true, false, false, true, false, true, true);
TestUtils.AreEqual(r2, a2 == b2);
bool a3 = (false);
bool4x4 b3 = bool4x4(false, false, false, true, true, true, true, false, false, true, false, true, false, false, false, false);
bool4x4 r3 = bool4x4(true, true, true, false, false, false, false, true, true, false, true, false, true, true, true, true);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void bool4x4_operator_not_equal_wide_wide()
{
bool4x4 a0 = bool4x4(true, true, true, false, false, true, false, false, false, false, true, true, true, true, true, true);
bool4x4 b0 = bool4x4(true, false, false, false, true, false, false, false, false, true, true, true, false, false, true, true);
bool4x4 r0 = bool4x4(false, true, true, false, true, true, false, false, false, true, false, false, true, true, false, false);
TestUtils.AreEqual(r0, a0 != b0);
bool4x4 a1 = bool4x4(true, true, false, true, false, true, true, true, true, false, false, true, false, true, true, true);
bool4x4 b1 = bool4x4(true, false, true, true, false, false, true, false, false, false, true, false, true, false, true, false);
bool4x4 r1 = bool4x4(false, true, true, false, false, true, false, true, true, false, true, true, true, true, false, true);
TestUtils.AreEqual(r1, a1 != b1);
bool4x4 a2 = bool4x4(true, true, false, true, true, true, true, false, true, true, true, false, true, false, false, false);
bool4x4 b2 = bool4x4(false, false, false, false, false, true, false, true, false, true, false, false, false, true, false, false);
bool4x4 r2 = bool4x4(true, true, false, true, true, false, true, true, true, false, true, false, true, true, false, false);
TestUtils.AreEqual(r2, a2 != b2);
bool4x4 a3 = bool4x4(true, false, false, true, false, true, true, true, true, true, false, false, true, false, false, false);
bool4x4 b3 = bool4x4(true, true, true, false, true, false, false, true, false, false, false, true, true, false, false, false);
bool4x4 r3 = bool4x4(false, true, true, true, true, true, true, false, true, true, false, true, false, false, false, false);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void bool4x4_operator_not_equal_wide_scalar()
{
bool4x4 a0 = bool4x4(false, true, false, true, true, false, false, false, false, false, false, false, false, true, false, false);
bool b0 = (false);
bool4x4 r0 = bool4x4(false, true, false, true, true, false, false, false, false, false, false, false, false, true, false, false);
TestUtils.AreEqual(r0, a0 != b0);
bool4x4 a1 = bool4x4(false, true, true, false, true, true, true, true, true, true, false, true, true, true, false, false);
bool b1 = (false);
bool4x4 r1 = bool4x4(false, true, true, false, true, true, true, true, true, true, false, true, true, true, false, false);
TestUtils.AreEqual(r1, a1 != b1);
bool4x4 a2 = bool4x4(true, true, false, true, false, false, false, true, true, true, false, false, true, false, true, false);
bool b2 = (false);
bool4x4 r2 = bool4x4(true, true, false, true, false, false, false, true, true, true, false, false, true, false, true, false);
TestUtils.AreEqual(r2, a2 != b2);
bool4x4 a3 = bool4x4(true, true, false, false, true, true, false, false, false, false, false, true, false, false, false, true);
bool b3 = (true);
bool4x4 r3 = bool4x4(false, false, true, true, false, false, true, true, true, true, true, false, true, true, true, false);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void bool4x4_operator_not_equal_scalar_wide()
{
bool a0 = (true);
bool4x4 b0 = bool4x4(false, false, true, false, false, false, true, true, true, false, false, false, false, false, true, false);
bool4x4 r0 = bool4x4(true, true, false, true, true, true, false, false, false, true, true, true, true, true, false, true);
TestUtils.AreEqual(r0, a0 != b0);
bool a1 = (false);
bool4x4 b1 = bool4x4(true, false, false, false, true, true, false, false, true, false, false, true, true, false, true, false);
bool4x4 r1 = bool4x4(true, false, false, false, true, true, false, false, true, false, false, true, true, false, true, false);
TestUtils.AreEqual(r1, a1 != b1);
bool a2 = (false);
bool4x4 b2 = bool4x4(true, true, true, true, true, true, true, true, false, false, true, true, false, false, false, true);
bool4x4 r2 = bool4x4(true, true, true, true, true, true, true, true, false, false, true, true, false, false, false, true);
TestUtils.AreEqual(r2, a2 != b2);
bool a3 = (true);
bool4x4 b3 = bool4x4(false, true, false, false, true, true, false, true, false, true, true, false, true, true, true, true);
bool4x4 r3 = bool4x4(true, false, true, true, false, false, true, false, true, false, false, true, false, false, false, false);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void bool4x4_operator_bitwise_and_wide_wide()
{
bool4x4 a0 = bool4x4(false, false, true, true, false, false, true, true, true, false, true, true, true, true, false, false);
bool4x4 b0 = bool4x4(false, false, true, false, true, true, false, false, true, true, false, false, false, false, true, false);
bool4x4 r0 = bool4x4(false, false, true, false, false, false, false, false, true, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 & b0);
bool4x4 a1 = bool4x4(true, true, true, false, true, true, false, true, true, false, true, true, true, false, false, true);
bool4x4 b1 = bool4x4(true, false, true, true, true, true, true, true, true, true, true, false, false, false, true, false);
bool4x4 r1 = bool4x4(true, false, true, false, true, true, false, true, true, false, true, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 & b1);
bool4x4 a2 = bool4x4(true, false, false, true, true, false, true, false, false, false, true, false, false, true, false, true);
bool4x4 b2 = bool4x4(false, true, true, true, false, true, true, false, true, true, false, false, false, true, true, true);
bool4x4 r2 = bool4x4(false, false, false, true, false, false, true, false, false, false, false, false, false, true, false, true);
TestUtils.AreEqual(r2, a2 & b2);
bool4x4 a3 = bool4x4(false, false, true, true, false, false, false, false, false, true, false, true, false, false, true, true);
bool4x4 b3 = bool4x4(false, true, false, false, false, true, true, false, false, false, false, false, true, false, false, true);
bool4x4 r3 = bool4x4(false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, true);
TestUtils.AreEqual(r3, a3 & b3);
}
[TestCompiler]
public static void bool4x4_operator_bitwise_and_wide_scalar()
{
bool4x4 a0 = bool4x4(true, false, false, true, true, false, false, false, false, false, true, true, true, false, false, true);
bool b0 = (true);
bool4x4 r0 = bool4x4(true, false, false, true, true, false, false, false, false, false, true, true, true, false, false, true);
TestUtils.AreEqual(r0, a0 & b0);
bool4x4 a1 = bool4x4(true, false, true, false, true, true, true, false, false, false, false, false, true, false, true, false);
bool b1 = (true);
bool4x4 r1 = bool4x4(true, false, true, false, true, true, true, false, false, false, false, false, true, false, true, false);
TestUtils.AreEqual(r1, a1 & b1);
bool4x4 a2 = bool4x4(false, false, true, false, true, false, true, false, false, true, false, true, false, true, false, true);
bool b2 = (false);
bool4x4 r2 = bool4x4(false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 & b2);
bool4x4 a3 = bool4x4(false, false, true, false, true, false, false, false, false, true, false, false, true, true, true, true);
bool b3 = (true);
bool4x4 r3 = bool4x4(false, false, true, false, true, false, false, false, false, true, false, false, true, true, true, true);
TestUtils.AreEqual(r3, a3 & b3);
}
[TestCompiler]
public static void bool4x4_operator_bitwise_and_scalar_wide()
{
bool a0 = (false);
bool4x4 b0 = bool4x4(false, false, true, true, true, false, true, false, false, false, true, false, false, false, true, true);
bool4x4 r0 = bool4x4(false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 & b0);
bool a1 = (true);
bool4x4 b1 = bool4x4(true, false, true, true, true, true, true, false, true, false, true, false, false, false, true, true);
bool4x4 r1 = bool4x4(true, false, true, true, true, true, true, false, true, false, true, false, false, false, true, true);
TestUtils.AreEqual(r1, a1 & b1);
bool a2 = (true);
bool4x4 b2 = bool4x4(true, true, false, true, false, false, true, true, true, false, true, true, true, true, true, false);
bool4x4 r2 = bool4x4(true, true, false, true, false, false, true, true, true, false, true, true, true, true, true, false);
TestUtils.AreEqual(r2, a2 & b2);
bool a3 = (false);
bool4x4 b3 = bool4x4(true, true, false, true, true, true, false, true, false, false, true, true, true, false, false, true);
bool4x4 r3 = bool4x4(false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 & b3);
}
[TestCompiler]
public static void bool4x4_operator_bitwise_or_wide_wide()
{
bool4x4 a0 = bool4x4(true, true, true, false, true, false, true, true, false, true, true, true, true, true, true, false);
bool4x4 b0 = bool4x4(false, false, false, false, true, true, true, false, false, true, false, false, true, true, true, true);
bool4x4 r0 = bool4x4(true, true, true, false, true, true, true, true, false, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 | b0);
bool4x4 a1 = bool4x4(true, true, false, true, true, false, true, false, true, true, false, true, false, false, false, false);
bool4x4 b1 = bool4x4(true, true, false, true, true, true, false, true, false, true, false, false, true, true, true, true);
bool4x4 r1 = bool4x4(true, true, false, true, true, true, true, true, true, true, false, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 | b1);
bool4x4 a2 = bool4x4(false, false, true, true, true, false, false, false, false, true, false, false, true, false, true, false);
bool4x4 b2 = bool4x4(false, false, false, true, false, false, false, true, false, false, true, true, true, true, true, false);
bool4x4 r2 = bool4x4(false, false, true, true, true, false, false, true, false, true, true, true, true, true, true, false);
TestUtils.AreEqual(r2, a2 | b2);
bool4x4 a3 = bool4x4(false, false, false, true, false, false, false, false, true, false, true, false, true, true, true, false);
bool4x4 b3 = bool4x4(true, true, false, true, true, false, true, false, true, true, false, true, false, false, false, false);
bool4x4 r3 = bool4x4(true, true, false, true, true, false, true, false, true, true, true, true, true, true, true, false);
TestUtils.AreEqual(r3, a3 | b3);
}
[TestCompiler]
public static void bool4x4_operator_bitwise_or_wide_scalar()
{
bool4x4 a0 = bool4x4(true, true, false, true, true, true, true, false, true, false, false, true, false, false, true, false);
bool b0 = (true);
bool4x4 r0 = bool4x4(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 | b0);
bool4x4 a1 = bool4x4(true, true, true, true, true, true, true, false, true, false, false, false, true, true, true, true);
bool b1 = (true);
bool4x4 r1 = bool4x4(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 | b1);
bool4x4 a2 = bool4x4(true, false, true, false, false, true, false, true, false, true, true, false, true, true, false, true);
bool b2 = (true);
bool4x4 r2 = bool4x4(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 | b2);
bool4x4 a3 = bool4x4(false, true, true, true, true, true, false, false, false, true, true, false, false, true, true, false);
bool b3 = (true);
bool4x4 r3 = bool4x4(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 | b3);
}
[TestCompiler]
public static void bool4x4_operator_bitwise_or_scalar_wide()
{
bool a0 = (true);
bool4x4 b0 = bool4x4(true, true, false, false, true, true, true, false, false, true, true, false, true, true, false, false);
bool4x4 r0 = bool4x4(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 | b0);
bool a1 = (false);
bool4x4 b1 = bool4x4(false, true, true, true, true, true, false, true, false, true, true, false, true, true, false, true);
bool4x4 r1 = bool4x4(false, true, true, true, true, true, false, true, false, true, true, false, true, true, false, true);
TestUtils.AreEqual(r1, a1 | b1);
bool a2 = (true);
bool4x4 b2 = bool4x4(false, false, true, true, true, false, false, false, false, false, false, true, true, false, true, true);
bool4x4 r2 = bool4x4(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 | b2);
bool a3 = (true);
bool4x4 b3 = bool4x4(true, true, false, false, false, true, true, true, true, false, true, false, false, true, true, true);
bool4x4 r3 = bool4x4(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 | b3);
}
[TestCompiler]
public static void bool4x4_operator_bitwise_xor_wide_wide()
{
bool4x4 a0 = bool4x4(true, false, false, true, false, false, false, true, false, false, true, true, false, false, true, false);
bool4x4 b0 = bool4x4(true, true, false, true, false, true, false, true, false, false, false, true, false, false, true, true);
bool4x4 r0 = bool4x4(false, true, false, false, false, true, false, false, false, false, true, false, false, false, false, true);
TestUtils.AreEqual(r0, a0 ^ b0);
bool4x4 a1 = bool4x4(true, false, false, false, true, false, true, false, true, false, false, false, true, true, true, true);
bool4x4 b1 = bool4x4(false, false, false, false, false, true, false, false, false, true, false, true, true, false, false, true);
bool4x4 r1 = bool4x4(true, false, false, false, true, true, true, false, true, true, false, true, false, true, true, false);
TestUtils.AreEqual(r1, a1 ^ b1);
bool4x4 a2 = bool4x4(true, true, false, false, true, true, true, true, true, true, false, true, false, false, true, true);
bool4x4 b2 = bool4x4(false, true, true, false, true, false, false, false, false, true, false, true, false, true, true, true);
bool4x4 r2 = bool4x4(true, false, true, false, false, true, true, true, true, false, false, false, false, true, false, false);
TestUtils.AreEqual(r2, a2 ^ b2);
bool4x4 a3 = bool4x4(true, true, false, false, true, true, true, false, true, false, true, false, true, true, true, true);
bool4x4 b3 = bool4x4(true, false, true, false, false, false, false, true, true, false, false, true, false, true, true, true);
bool4x4 r3 = bool4x4(false, true, true, false, true, true, true, true, false, false, true, true, true, false, false, false);
TestUtils.AreEqual(r3, a3 ^ b3);
}
[TestCompiler]
public static void bool4x4_operator_bitwise_xor_wide_scalar()
{
bool4x4 a0 = bool4x4(false, false, true, true, false, false, false, false, false, false, false, true, false, true, true, true);
bool b0 = (false);
bool4x4 r0 = bool4x4(false, false, true, true, false, false, false, false, false, false, false, true, false, true, true, true);
TestUtils.AreEqual(r0, a0 ^ b0);
bool4x4 a1 = bool4x4(true, true, false, false, true, false, false, false, true, false, true, true, true, true, false, true);
bool b1 = (false);
bool4x4 r1 = bool4x4(true, true, false, false, true, false, false, false, true, false, true, true, true, true, false, true);
TestUtils.AreEqual(r1, a1 ^ b1);
bool4x4 a2 = bool4x4(false, true, true, false, true, true, false, false, true, false, true, false, false, true, true, false);
bool b2 = (false);
bool4x4 r2 = bool4x4(false, true, true, false, true, true, false, false, true, false, true, false, false, true, true, false);
TestUtils.AreEqual(r2, a2 ^ b2);
bool4x4 a3 = bool4x4(true, true, true, false, true, true, true, true, true, true, true, true, false, true, false, false);
bool b3 = (true);
bool4x4 r3 = bool4x4(false, false, false, true, false, false, false, false, false, false, false, false, true, false, true, true);
TestUtils.AreEqual(r3, a3 ^ b3);
}
[TestCompiler]
public static void bool4x4_operator_bitwise_xor_scalar_wide()
{
bool a0 = (true);
bool4x4 b0 = bool4x4(true, false, true, true, false, true, true, false, false, true, true, false, false, true, false, true);
bool4x4 r0 = bool4x4(false, true, false, false, true, false, false, true, true, false, false, true, true, false, true, false);
TestUtils.AreEqual(r0, a0 ^ b0);
bool a1 = (true);
bool4x4 b1 = bool4x4(false, true, true, true, false, false, false, true, true, true, false, false, false, true, true, false);
bool4x4 r1 = bool4x4(true, false, false, false, true, true, true, false, false, false, true, true, true, false, false, true);
TestUtils.AreEqual(r1, a1 ^ b1);
bool a2 = (true);
bool4x4 b2 = bool4x4(false, false, true, true, true, true, false, false, false, true, false, false, false, true, true, false);
bool4x4 r2 = bool4x4(true, true, false, false, false, false, true, true, true, false, true, true, true, false, false, true);
TestUtils.AreEqual(r2, a2 ^ b2);
bool a3 = (false);
bool4x4 b3 = bool4x4(false, true, true, true, true, true, true, true, true, true, false, false, true, false, true, false);
bool4x4 r3 = bool4x4(false, true, true, true, true, true, true, true, true, true, false, false, true, false, true, false);
TestUtils.AreEqual(r3, a3 ^ b3);
}
[TestCompiler]
public static void bool4x4_operator_logical_not()
{
bool4x4 a0 = bool4x4(true, true, false, false, true, false, true, false, true, false, false, false, false, true, true, false);
bool4x4 r0 = bool4x4(false, false, true, true, false, true, false, true, false, true, true, true, true, false, false, true);
TestUtils.AreEqual(r0, !a0);
bool4x4 a1 = bool4x4(false, true, true, false, true, true, true, false, false, false, true, false, true, false, false, true);
bool4x4 r1 = bool4x4(true, false, false, true, false, false, false, true, true, true, false, true, false, true, true, false);
TestUtils.AreEqual(r1, !a1);
bool4x4 a2 = bool4x4(true, true, false, false, false, true, true, true, false, false, true, false, true, false, true, false);
bool4x4 r2 = bool4x4(false, false, true, true, true, false, false, false, true, true, false, true, false, true, false, true);
TestUtils.AreEqual(r2, !a2);
bool4x4 a3 = bool4x4(true, false, false, false, false, false, true, true, false, true, false, false, false, false, false, true);
bool4x4 r3 = bool4x4(false, true, true, true, true, true, false, false, true, false, true, true, true, true, true, false);
TestUtils.AreEqual(r3, !a3);
}
}
}

View File

@@ -0,0 +1,950 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using NUnit.Framework;
using static Unity.Mathematics.math;
using Burst.Compiler.IL.Tests;
namespace Unity.Mathematics.Tests
{
[TestFixture]
public class TestDouble2x2
{
[TestCompiler]
public static void double2x2_zero()
{
TestUtils.AreEqual(0.0, double2x2.zero.c0.x);
TestUtils.AreEqual(0.0, double2x2.zero.c0.y);
TestUtils.AreEqual(0.0, double2x2.zero.c1.x);
TestUtils.AreEqual(0.0, double2x2.zero.c1.y);
}
[TestCompiler]
public static void double2x2_identity()
{
TestUtils.AreEqual(1.0, double2x2.identity.c0.x);
TestUtils.AreEqual(0.0, double2x2.identity.c0.y);
TestUtils.AreEqual(0.0, double2x2.identity.c1.x);
TestUtils.AreEqual(1.0, double2x2.identity.c1.y);
}
[TestCompiler]
public static void double2x2_operator_equal_wide_wide()
{
double2x2 a0 = double2x2(492.15758275061728, -495.20632027797694, 227.45765195947968, -147.37405950733182);
double2x2 b0 = double2x2(192.56880888369346, -235.61102472786376, -254.04311740307281, -412.62472052715009);
bool2x2 r0 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
double2x2 a1 = double2x2(-222.68201909897942, 64.093720704360749, -23.890404473939157, -16.8197190839889);
double2x2 b1 = double2x2(471.90480945627428, -6.4727852374654162, -339.10237447316865, 488.1875700839737);
bool2x2 r1 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
double2x2 a2 = double2x2(163.23210890741655, -165.27101071424363, 470.87767980568003, -423.94255967808078);
double2x2 b2 = double2x2(-379.5965842584132, -308.41700258311675, -82.333374300195544, -102.92108087563935);
bool2x2 r2 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
double2x2 a3 = double2x2(109.63436918595539, 462.69031283943468, -335.38147727371262, 357.23446934168896);
double2x2 b3 = double2x2(226.51573835430463, -356.90132896830391, -362.91277544708589, -427.89843746083716);
bool2x2 r3 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void double2x2_operator_equal_wide_scalar()
{
double2x2 a0 = double2x2(-303.2300766926399, 451.52631327674089, -253.65587413201848, -105.20363502632995);
double b0 = (123.5445759871717);
bool2x2 r0 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
double2x2 a1 = double2x2(-500.6910920090466, 159.87609656149334, -59.558379439431405, -57.477391031327386);
double b1 = (-426.19248338518315);
bool2x2 r1 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
double2x2 a2 = double2x2(-182.04973968400139, 370.88599866017978, -172.03530629539642, 455.40001198993991);
double b2 = (406.51375861024189);
bool2x2 r2 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
double2x2 a3 = double2x2(-11.338988547836891, -27.150561106927, -325.97606507221985, -290.35904254129116);
double b3 = (363.93823044557973);
bool2x2 r3 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void double2x2_operator_equal_scalar_wide()
{
double a0 = (-253.39728534100453);
double2x2 b0 = double2x2(19.952187785856495, -185.79199346610903, 407.8136052600172, -87.2766969610363);
bool2x2 r0 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
double a1 = (-206.27469382354741);
double2x2 b1 = double2x2(160.503138855334, -274.77081478516141, -2.6315281403397535, 448.35453602688131);
bool2x2 r1 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
double a2 = (-410.03524251004461);
double2x2 b2 = double2x2(247.32901465489022, 355.53915350303942, -298.06671180299793, 414.10151429385951);
bool2x2 r2 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
double a3 = (-481.30262707234482);
double2x2 b3 = double2x2(196.55074438664633, 34.60100008668428, 113.76156645350227, -386.45337861890596);
bool2x2 r3 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void double2x2_operator_not_equal_wide_wide()
{
double2x2 a0 = double2x2(430.8425316432689, 104.69001798736394, 225.80243478799355, -310.57017841496048);
double2x2 b0 = double2x2(210.02470622305975, -55.203330304102678, -269.92533672504373, -234.54673372700194);
bool2x2 r0 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
double2x2 a1 = double2x2(-418.61945815506363, 304.12820281839379, -509.32682561749908, -160.53807719076895);
double2x2 b1 = double2x2(25.917412054686565, -63.726991444699024, -484.55371092471933, -425.333599050219);
bool2x2 r1 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
double2x2 a2 = double2x2(-203.30197606016975, -505.76325368590807, 162.17220623892365, 1.1561973100324394);
double2x2 b2 = double2x2(-53.274394775402925, 328.1944192984115, 15.963139303011417, 461.71412417931208);
bool2x2 r2 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
double2x2 a3 = double2x2(65.662074358045174, 102.78780250567377, 172.93008120960098, 26.621009123800832);
double2x2 b3 = double2x2(-113.36304455313973, -240.07297264787974, 495.11916970420589, 203.5583661550462);
bool2x2 r3 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void double2x2_operator_not_equal_wide_scalar()
{
double2x2 a0 = double2x2(-16.914588697680529, 168.83411486858233, -462.71352145760949, 130.30776959765137);
double b0 = (-145.37277109239847);
bool2x2 r0 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
double2x2 a1 = double2x2(214.50161443208424, -197.12796053529155, -169.09985860115842, -386.61117595555783);
double b1 = (-440.26328178879959);
bool2x2 r1 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
double2x2 a2 = double2x2(-281.02101362916687, -403.96372313236992, -269.80570877241234, 299.65422763473089);
double b2 = (-270.26885593601912);
bool2x2 r2 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
double2x2 a3 = double2x2(-71.750904831919286, -457.36312100727258, -13.519590622521719, 273.87305773136814);
double b3 = (-432.75573917513515);
bool2x2 r3 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void double2x2_operator_not_equal_scalar_wide()
{
double a0 = (275.79582823244664);
double2x2 b0 = double2x2(-57.196896341255353, -382.4325279586169, 97.820359990848374, -161.46364529499022);
bool2x2 r0 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
double a1 = (-458.39563367254829);
double2x2 b1 = double2x2(-499.61786364932448, 327.92217818271467, 367.57121699283425, 59.7863667289663);
bool2x2 r1 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
double a2 = (-209.58068118318016);
double2x2 b2 = double2x2(-62.580453186566217, -479.97497604786184, -49.494519495169868, -114.68521338081229);
bool2x2 r2 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
double a3 = (109.93924599044919);
double2x2 b3 = double2x2(-176.28482755286842, -347.48529903380449, 85.540928165214609, -356.65954868712441);
bool2x2 r3 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void double2x2_operator_less_wide_wide()
{
double2x2 a0 = double2x2(196.84256825076534, 336.40979997087732, 251.96372115424072, 257.65591466503963);
double2x2 b0 = double2x2(-465.34502313348696, -256.15239751346053, -314.814018634527, 364.56673662949663);
bool2x2 r0 = bool2x2(false, false, false, true);
TestUtils.AreEqual(r0, a0 < b0);
double2x2 a1 = double2x2(430.04588647840819, -62.419644146421774, 8.8392293494376872, -333.81671563434259);
double2x2 b1 = double2x2(100.21050290959442, 182.56098636545289, 3.116978885194726, -259.43047893207074);
bool2x2 r1 = bool2x2(false, true, false, true);
TestUtils.AreEqual(r1, a1 < b1);
double2x2 a2 = double2x2(164.67880662003472, -350.94487516532877, 3.84143662631584, 125.40972024081725);
double2x2 b2 = double2x2(-437.33490749696966, -456.0437321402336, -394.2559718537405, 401.91369099259077);
bool2x2 r2 = bool2x2(false, false, false, true);
TestUtils.AreEqual(r2, a2 < b2);
double2x2 a3 = double2x2(-111.12994127680076, 70.005523475820951, 448.19828173527412, -419.98711200244122);
double2x2 b3 = double2x2(313.43916454605721, 121.28668194696616, -28.012290729215522, -282.96589697663012);
bool2x2 r3 = bool2x2(true, true, false, true);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void double2x2_operator_less_wide_scalar()
{
double2x2 a0 = double2x2(-132.05731708000292, -192.46500477216438, -66.834607870706634, -379.01750081545561);
double b0 = (-156.01021845452965);
bool2x2 r0 = bool2x2(false, true, false, true);
TestUtils.AreEqual(r0, a0 < b0);
double2x2 a1 = double2x2(-360.28242199508588, -158.24074537970159, 437.34587522845061, -20.452607402788772);
double b1 = (20.927834282129879);
bool2x2 r1 = bool2x2(true, true, false, true);
TestUtils.AreEqual(r1, a1 < b1);
double2x2 a2 = double2x2(225.29148517609178, 274.01523292903562, 373.54965584983563, 398.52368301829495);
double b2 = (307.48418607725023);
bool2x2 r2 = bool2x2(true, true, false, false);
TestUtils.AreEqual(r2, a2 < b2);
double2x2 a3 = double2x2(105.0301654827922, 109.67008810381878, -108.853174498702, -44.971252223929014);
double b3 = (-58.010895994496934);
bool2x2 r3 = bool2x2(false, false, true, false);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void double2x2_operator_less_scalar_wide()
{
double a0 = (-423.117411095238);
double2x2 b0 = double2x2(385.09483617595151, -123.93348532725753, 86.376572887588509, 133.44217378154497);
bool2x2 r0 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r0, a0 < b0);
double a1 = (161.45794947513286);
double2x2 b1 = double2x2(229.75426660746064, 222.57159934871436, 315.53116360098647, -447.20351883731945);
bool2x2 r1 = bool2x2(true, true, true, false);
TestUtils.AreEqual(r1, a1 < b1);
double a2 = (271.83385790131695);
double2x2 b2 = double2x2(-393.60531324595462, 317.48689737798964, -164.6051085761772, -282.87605370342544);
bool2x2 r2 = bool2x2(false, true, false, false);
TestUtils.AreEqual(r2, a2 < b2);
double a3 = (296.97953071118309);
double2x2 b3 = double2x2(-254.40115582868509, 365.61562054493265, -441.98425671178114, -131.42866021554391);
bool2x2 r3 = bool2x2(false, true, false, false);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void double2x2_operator_greater_wide_wide()
{
double2x2 a0 = double2x2(483.50140141113729, 310.81563415695712, 106.9661896726891, 295.73526038589671);
double2x2 b0 = double2x2(-471.39802454011425, -371.98528617060992, 36.900723236101044, -316.76360407320954);
bool2x2 r0 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r0, a0 > b0);
double2x2 a1 = double2x2(116.95757179938141, -478.29977653841479, -14.897393471979228, -33.817441717636484);
double2x2 b1 = double2x2(19.683055648432628, 207.3091381561519, 362.79748861994483, 324.95341816775192);
bool2x2 r1 = bool2x2(true, false, false, false);
TestUtils.AreEqual(r1, a1 > b1);
double2x2 a2 = double2x2(-24.740548383789417, 319.78262701620474, -120.15856581561201, -289.00857962714906);
double2x2 b2 = double2x2(340.94807140014507, 25.986035120666997, -114.2111352021858, 240.80346428640348);
bool2x2 r2 = bool2x2(false, true, false, false);
TestUtils.AreEqual(r2, a2 > b2);
double2x2 a3 = double2x2(455.85146662958505, 144.70691139283917, 63.931990891663304, -285.68304099034663);
double2x2 b3 = double2x2(273.42244757033063, 325.51576224226312, 27.341068995809678, 64.479532510265472);
bool2x2 r3 = bool2x2(true, false, true, false);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void double2x2_operator_greater_wide_scalar()
{
double2x2 a0 = double2x2(64.317918092160426, -397.70346445483318, 431.87690826499693, 85.702980796668157);
double b0 = (305.85991992888034);
bool2x2 r0 = bool2x2(false, false, true, false);
TestUtils.AreEqual(r0, a0 > b0);
double2x2 a1 = double2x2(246.26305233978803, 286.1994608781298, 280.81334818564972, -405.78459210218148);
double b1 = (197.49155602114809);
bool2x2 r1 = bool2x2(true, true, true, false);
TestUtils.AreEqual(r1, a1 > b1);
double2x2 a2 = double2x2(171.56538661362856, 333.57817498481745, 370.27919524269146, -413.70138116073861);
double b2 = (-241.80727326209063);
bool2x2 r2 = bool2x2(true, true, true, false);
TestUtils.AreEqual(r2, a2 > b2);
double2x2 a3 = double2x2(-356.5923551789449, 396.64532608382649, 467.22205541432936, -240.0134228393498);
double b3 = (-353.03129522550444);
bool2x2 r3 = bool2x2(false, true, true, true);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void double2x2_operator_greater_scalar_wide()
{
double a0 = (-282.67049635698572);
double2x2 b0 = double2x2(358.09997360692353, -72.5964134077525, -232.16380106292843, -60.706723956720282);
bool2x2 r0 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r0, a0 > b0);
double a1 = (75.156642710397364);
double2x2 b1 = double2x2(150.88350040786133, 339.53917924479538, -498.19602965665797, 459.74610326241054);
bool2x2 r1 = bool2x2(false, false, true, false);
TestUtils.AreEqual(r1, a1 > b1);
double a2 = (-227.96872316485678);
double2x2 b2 = double2x2(335.86213485145106, 76.178844248959308, 296.85993899817572, 177.49000390688423);
bool2x2 r2 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r2, a2 > b2);
double a3 = (-281.20120657663847);
double2x2 b3 = double2x2(244.72285162877427, 137.32857257562159, -385.33824724021287, 443.16345879210326);
bool2x2 r3 = bool2x2(false, false, true, false);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void double2x2_operator_less_equal_wide_wide()
{
double2x2 a0 = double2x2(-438.52313753521219, 210.48942837980087, 4.8773329280677444, -137.29793817237857);
double2x2 b0 = double2x2(-474.8141498392514, 304.3710555063426, 234.8241737982371, -390.48543209139513);
bool2x2 r0 = bool2x2(false, true, true, false);
TestUtils.AreEqual(r0, a0 <= b0);
double2x2 a1 = double2x2(156.09410174009111, -363.92412035722475, -97.948485181642923, 437.29539009430232);
double2x2 b1 = double2x2(-297.17535295019638, -326.29239121372461, 107.2538764976216, -413.13107342884462);
bool2x2 r1 = bool2x2(false, true, true, false);
TestUtils.AreEqual(r1, a1 <= b1);
double2x2 a2 = double2x2(458.53029153241323, -294.06474675520542, 23.622613679441884, -34.284056441059363);
double2x2 b2 = double2x2(67.094432623635271, 470.07522724106684, -84.499104777583455, 392.78422683886447);
bool2x2 r2 = bool2x2(false, true, false, true);
TestUtils.AreEqual(r2, a2 <= b2);
double2x2 a3 = double2x2(149.736484835733, -418.8866781754823, -197.50252899783783, -88.2055118494693);
double2x2 b3 = double2x2(-263.53175485484849, 369.30090039284005, -333.32529298091555, 238.41347443238533);
bool2x2 r3 = bool2x2(false, true, false, true);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void double2x2_operator_less_equal_wide_scalar()
{
double2x2 a0 = double2x2(193.4958237118534, 168.91555197952107, -313.9930695565385, 81.826965131716292);
double b0 = (443.85054299042122);
bool2x2 r0 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r0, a0 <= b0);
double2x2 a1 = double2x2(18.503590830836288, 241.36115776810846, -463.81641242644582, -1.3577692515020203);
double b1 = (-0.35819602029312136);
bool2x2 r1 = bool2x2(false, false, true, true);
TestUtils.AreEqual(r1, a1 <= b1);
double2x2 a2 = double2x2(-268.89945591096739, -471.253072242836, -264.93778264938749, 82.258299150624453);
double b2 = (398.9919504593089);
bool2x2 r2 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r2, a2 <= b2);
double2x2 a3 = double2x2(11.246050124636895, 426.48223157715154, 56.319978501796754, -196.28791126808522);
double b3 = (424.7040156911612);
bool2x2 r3 = bool2x2(true, false, true, true);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void double2x2_operator_less_equal_scalar_wide()
{
double a0 = (393.60626644343427);
double2x2 b0 = double2x2(-75.688363825757222, -44.2638714519627, 125.86491566797019, 191.96488174794467);
bool2x2 r0 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r0, a0 <= b0);
double a1 = (13.543054825413492);
double2x2 b1 = double2x2(-197.0519259893577, -423.945100743298, -330.04861680141119, 420.16553779140372);
bool2x2 r1 = bool2x2(false, false, false, true);
TestUtils.AreEqual(r1, a1 <= b1);
double a2 = (105.54730777887039);
double2x2 b2 = double2x2(174.82126363311954, 296.71757831085358, -469.70041845259277, 123.26718979853536);
bool2x2 r2 = bool2x2(true, true, false, true);
TestUtils.AreEqual(r2, a2 <= b2);
double a3 = (112.9969695140594);
double2x2 b3 = double2x2(495.14339493920249, -488.65789364681478, 388.53941148730894, -493.24077080806751);
bool2x2 r3 = bool2x2(true, false, true, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void double2x2_operator_greater_equal_wide_wide()
{
double2x2 a0 = double2x2(-507.92858409692, 504.49748181947393, -385.43449205226938, -262.32340944107784);
double2x2 b0 = double2x2(-81.346509732933043, 297.66615047010885, 171.06540616371922, -431.03805538222105);
bool2x2 r0 = bool2x2(false, true, false, true);
TestUtils.AreEqual(r0, a0 >= b0);
double2x2 a1 = double2x2(-37.550928848586466, -111.59527759980193, -463.70202157632542, 387.44885772627265);
double2x2 b1 = double2x2(-6.859075311040101, 319.72570362674333, 254.079170106947, 396.5724000393285);
bool2x2 r1 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r1, a1 >= b1);
double2x2 a2 = double2x2(456.96878573716094, -211.01015506079892, 182.41135391146474, -53.596053863687473);
double2x2 b2 = double2x2(178.83927615864172, -447.06336304501787, 288.49268569075161, 474.88929460704765);
bool2x2 r2 = bool2x2(true, true, false, false);
TestUtils.AreEqual(r2, a2 >= b2);
double2x2 a3 = double2x2(-309.57021608463032, -136.02249127999994, 280.73629082401112, -96.9958942388165);
double2x2 b3 = double2x2(-321.75022831640683, -395.97722048125104, -158.69246037243516, 391.48869318118727);
bool2x2 r3 = bool2x2(true, true, true, false);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void double2x2_operator_greater_equal_wide_scalar()
{
double2x2 a0 = double2x2(465.15218732559686, -424.8860745024337, -209.22109685150025, 58.779852656079356);
double b0 = (-5.5998842742293391);
bool2x2 r0 = bool2x2(true, false, false, true);
TestUtils.AreEqual(r0, a0 >= b0);
double2x2 a1 = double2x2(-302.26910533675414, 16.353385694489475, -344.55997316192838, 393.27804846003562);
double b1 = (140.12558252183976);
bool2x2 r1 = bool2x2(false, false, false, true);
TestUtils.AreEqual(r1, a1 >= b1);
double2x2 a2 = double2x2(-315.70155086913218, -509.78156757251435, -36.994287269652943, 494.82028865014217);
double b2 = (441.0115565923096);
bool2x2 r2 = bool2x2(false, false, false, true);
TestUtils.AreEqual(r2, a2 >= b2);
double2x2 a3 = double2x2(-164.97393830352183, -123.8137477020797, 215.65121779947128, 104.99569730879534);
double b3 = (-466.12009046325466);
bool2x2 r3 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void double2x2_operator_greater_equal_scalar_wide()
{
double a0 = (374.82703393270594);
double2x2 b0 = double2x2(-1.609757185731894, 338.61524049314448, -116.18140392945213, -332.15732375353451);
bool2x2 r0 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r0, a0 >= b0);
double a1 = (-355.9793509710484);
double2x2 b1 = double2x2(-468.90144107719021, 38.579884785497484, -332.34754697063357, 2.8901150240051265);
bool2x2 r1 = bool2x2(true, false, false, false);
TestUtils.AreEqual(r1, a1 >= b1);
double a2 = (467.77776477661814);
double2x2 b2 = double2x2(121.40638762405445, -305.02337303060267, -58.428812292604164, -226.51955209789776);
bool2x2 r2 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r2, a2 >= b2);
double a3 = (-47.020994446715804);
double2x2 b3 = double2x2(305.3026770582901, -427.40123315686418, 92.263649745035764, -497.17853736187266);
bool2x2 r3 = bool2x2(false, true, false, true);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void double2x2_operator_add_wide_wide()
{
double2x2 a0 = double2x2(506.12905263627374, -501.77980803967444, 420.08479638587903, -186.03206476291274);
double2x2 b0 = double2x2(-28.757987751047096, -337.135153689019, -340.676816860529, 152.31202633320913);
double2x2 r0 = double2x2(477.37106488522664, -838.91496172869347, 79.407979525350015, -33.720038429703607);
TestUtils.AreEqual(r0, a0 + b0);
double2x2 a1 = double2x2(-9.3123953385801883, 328.51179686585056, 424.34407659263536, 87.791079800478656);
double2x2 b1 = double2x2(423.66745420157326, 90.374096674087468, 376.18866246574964, 1.7671887882831925);
double2x2 r1 = double2x2(414.35505886299308, 418.885893539938, 800.532739058385, 89.558268588761848);
TestUtils.AreEqual(r1, a1 + b1);
double2x2 a2 = double2x2(462.41368148402012, -46.178705952213477, 401.17006296718966, -454.12414643453627);
double2x2 b2 = double2x2(-120.18586045139745, -279.62936628965167, -344.66710273580026, 242.8391956029642);
double2x2 r2 = double2x2(342.22782103262267, -325.80807224186515, 56.502960231389409, -211.28495083157208);
TestUtils.AreEqual(r2, a2 + b2);
double2x2 a3 = double2x2(69.195687564646732, -177.95734485329939, 299.60415544156183, 340.7048587001417);
double2x2 b3 = double2x2(418.5930504363929, -23.312797318823982, -95.099945827899489, 147.92812568877275);
double2x2 r3 = double2x2(487.78873800103963, -201.27014217212337, 204.50420961366234, 488.63298438891445);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void double2x2_operator_add_wide_scalar()
{
double2x2 a0 = double2x2(-194.51420387742769, 338.54838696985894, 246.97140252169754, 100.51093797595752);
double b0 = (124.121678171736);
double2x2 r0 = double2x2(-70.3925257056917, 462.67006514159493, 371.09308069343354, 224.63261614769351);
TestUtils.AreEqual(r0, a0 + b0);
double2x2 a1 = double2x2(-45.724677822424439, 30.916145577522116, 60.37435224483454, -242.1187475855084);
double b1 = (-478.11131094308166);
double2x2 r1 = double2x2(-523.835988765506, -447.19516536555955, -417.73695869824712, -720.23005852859);
TestUtils.AreEqual(r1, a1 + b1);
double2x2 a2 = double2x2(82.50134495762245, -484.69981287638649, -188.26501068298938, -213.52673087526426);
double b2 = (6.7993848355483806);
double2x2 r2 = double2x2(89.300729793170831, -477.90042804083811, -181.465625847441, -206.72734603971588);
TestUtils.AreEqual(r2, a2 + b2);
double2x2 a3 = double2x2(-267.78430688929944, 198.53359684652355, 187.53610023648298, -424.92567582844089);
double b3 = (189.25996669999324);
double2x2 r3 = double2x2(-78.5243401893062, 387.79356354651679, 376.79606693647622, -235.66570912844765);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void double2x2_operator_add_scalar_wide()
{
double a0 = (-340.35468284243473);
double2x2 b0 = double2x2(511.36225652665007, -146.21663791789518, -106.21042661844308, -363.45024960276214);
double2x2 r0 = double2x2(171.00757368421534, -486.57132076032991, -446.56510946087781, -703.80493244519687);
TestUtils.AreEqual(r0, a0 + b0);
double a1 = (199.08958325120136);
double2x2 b1 = double2x2(-27.108407271610758, 419.84900041103788, 284.95503748811552, -164.92418129971446);
double2x2 r1 = double2x2(171.9811759795906, 618.93858366223924, 484.04462073931688, 34.1654019514869);
TestUtils.AreEqual(r1, a1 + b1);
double a2 = (-249.19032561461921);
double2x2 b2 = double2x2(150.92817718858282, 298.17509784278229, -457.15341803857751, 424.71807094324288);
double2x2 r2 = double2x2(-98.26214842603639, 48.984772228163081, -706.34374365319673, 175.52774532862367);
TestUtils.AreEqual(r2, a2 + b2);
double a3 = (-301.85750283946163);
double2x2 b3 = double2x2(230.28885208363124, -423.58759351428023, -67.060037882560891, 68.7241366229598);
double2x2 r3 = double2x2(-71.56865075583039, -725.44509635374186, -368.91754072202252, -233.13336621650183);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void double2x2_operator_sub_wide_wide()
{
double2x2 a0 = double2x2(160.4922617229131, 11.223957305412682, 359.20010607279846, -498.22830485656311);
double2x2 b0 = double2x2(115.46876078260539, -130.98230630298252, 241.54083716196044, 9.9870860623135513);
double2x2 r0 = double2x2(45.023500940307713, 142.2062636083952, 117.65926891083802, -508.21539091887666);
TestUtils.AreEqual(r0, a0 - b0);
double2x2 a1 = double2x2(-355.25362913462038, -94.534852787170053, -410.46404786150163, -401.38464398001537);
double2x2 b1 = double2x2(419.89512582304656, 59.124466208333388, -402.38163847587145, -75.370143687059226);
double2x2 r1 = double2x2(-775.14875495766694, -153.65931899550344, -8.0824093856301715, -326.01450029295614);
TestUtils.AreEqual(r1, a1 - b1);
double2x2 a2 = double2x2(317.70681944382693, 447.0604133303558, -489.07414482956477, -230.00838218909149);
double2x2 b2 = double2x2(320.97960796997859, -73.908757482612884, -31.444742455819949, -389.25194734579509);
double2x2 r2 = double2x2(-3.2727885261516576, 520.96917081296874, -457.62940237374482, 159.2435651567036);
TestUtils.AreEqual(r2, a2 - b2);
double2x2 a3 = double2x2(24.875419389864192, 366.61447136784648, -107.3741567634857, -219.0081404275299);
double2x2 b3 = double2x2(-375.02884000122026, 259.18275821357167, 276.648654351313, -453.06919905779381);
double2x2 r3 = double2x2(399.90425939108445, 107.4317131542748, -384.02281111479869, 234.06105863026391);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void double2x2_operator_sub_wide_scalar()
{
double2x2 a0 = double2x2(207.38960108877609, 248.45773684627272, -384.82393211164697, -205.34476122881506);
double b0 = (-36.112476604111691);
double2x2 r0 = double2x2(243.50207769288778, 284.57021345038441, -348.71145550753528, -169.23228462470337);
TestUtils.AreEqual(r0, a0 - b0);
double2x2 a1 = double2x2(-374.81156152058929, 18.856238135535364, -44.96160151667965, 480.85798738936796);
double b1 = (191.64204820973896);
double2x2 r1 = double2x2(-566.45360973032825, -172.7858100742036, -236.60364972641861, 289.215939179629);
TestUtils.AreEqual(r1, a1 - b1);
double2x2 a2 = double2x2(16.338193185784917, -35.523088233323335, 349.39776460705218, 439.07729336203886);
double b2 = (-366.86545269883493);
double2x2 r2 = double2x2(383.20364588461985, 331.34236446551159, 716.26321730588711, 805.94274606087379);
TestUtils.AreEqual(r2, a2 - b2);
double2x2 a3 = double2x2(490.2222661870635, -384.84940952102158, 189.05188545447402, 55.602777745389744);
double b3 = (195.02405104181923);
double2x2 r3 = double2x2(295.19821514524426, -579.87346056284082, -5.9721655873452164, -139.42127329642949);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void double2x2_operator_sub_scalar_wide()
{
double a0 = (-86.008225719448262);
double2x2 b0 = double2x2(466.42511413359318, 298.48694219183506, -300.95010652251085, 315.38003006362362);
double2x2 r0 = double2x2(-552.43333985304139, -384.49516791128332, 214.94188080306259, -401.38825578307188);
TestUtils.AreEqual(r0, a0 - b0);
double a1 = (-381.09218543632522);
double2x2 b1 = double2x2(-125.00837546447684, 58.466194418476107, 214.74609361158036, -257.54942739082009);
double2x2 r1 = double2x2(-256.08380997184838, -439.55837985480133, -595.83827904790564, -123.54275804550514);
TestUtils.AreEqual(r1, a1 - b1);
double a2 = (480.22459505508868);
double2x2 b2 = double2x2(-443.35507723472784, 260.79503858312728, 29.681931747906788, 139.85773164586055);
double2x2 r2 = double2x2(923.57967228981647, 219.4295564719614, 450.5426633071819, 340.36686340922813);
TestUtils.AreEqual(r2, a2 - b2);
double a3 = (-247.78996216868512);
double2x2 b3 = double2x2(-248.4662297929014, 91.445112509394562, 86.384162704639266, 373.81828206303453);
double2x2 r3 = double2x2(0.67626762421627973, -339.23507467807968, -334.17412487332439, -621.60824423171971);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void double2x2_operator_mul_wide_wide()
{
double2x2 a0 = double2x2(-482.71381710596097, -407.29348559272171, 137.70058995937029, 208.54113278563182);
double2x2 b0 = double2x2(-236.36788355389979, 260.72759139757954, -416.38629718142852, -364.49561541364324);
double2x2 r0 = double2x2(114098.04331156026, -106192.64949051509, -57336.638772880389, -76012.328533757158);
TestUtils.AreEqual(r0, a0 * b0);
double2x2 a1 = double2x2(194.296573967811, -484.24241684574747, 183.98730739578014, -241.33547770294149);
double2x2 b1 = double2x2(-253.14750897751537, -369.20287220981106, 193.54791531038836, 169.08491976982214);
double2x2 r1 = double2x2(-49185.69370281692, 178783.69114527057, 35610.359790024842, -40806.189885013562);
TestUtils.AreEqual(r1, a1 * b1);
double2x2 a2 = double2x2(45.868758938214114, 363.32610266438041, -328.11893692990714, -471.02307413100408);
double2x2 b2 = double2x2(201.96966442930034, 249.45608317547294, -308.19319810913555, -385.57964843585137);
double2x2 r2 = double2x2(9264.0978505395742, 90633.9064860661, 101124.02453259782, 181616.91132860651);
TestUtils.AreEqual(r2, a2 * b2);
double2x2 a3 = double2x2(-262.68257415605831, -379.26274674910246, -374.09058182970182, 481.44738720424812);
double2x2 b3 = double2x2(-183.27959522198864, 22.275629292370581, -265.52144229855458, -95.677454277722859);
double2x2 r3 = double2x2(48144.355863192381, -8448.3163509892329, 99329.070837727879, -46063.660376363579);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void double2x2_operator_mul_wide_scalar()
{
double2x2 a0 = double2x2(-96.318821236639678, -277.14229239017811, -239.93690191951436, 509.53140544776409);
double b0 = (-301.20720424373042);
double2x2 r0 = double2x2(29011.922860739887, 83477.255068544036, 72270.723422079071, -153474.5301092997);
TestUtils.AreEqual(r0, a0 * b0);
double2x2 a1 = double2x2(255.85810172551226, -455.50827500573746, -389.24327367788334, -338.29248658674419);
double b1 = (215.73149667295229);
double2x2 r1 = double2x2(55196.651221145235, -98267.481913902491, -83972.034000409345, -72980.344444572955);
TestUtils.AreEqual(r1, a1 * b1);
double2x2 a2 = double2x2(53.796284939067618, 135.35469991311186, -207.35010275959507, -383.93960946795517);
double b2 = (243.75734459783757);
double2x2 r2 = double2x2(13113.239565975766, 32993.702229657305, -50543.11045076765, -93588.099689839524);
TestUtils.AreEqual(r2, a2 * b2);
double2x2 a3 = double2x2(-31.425238862366086, 260.38388049806645, 176.86755927692525, 25.672123205695357);
double b3 = (42.676120539510634);
double2x2 r3 = double2x2(-1341.1072816732492, 11112.173870681016, 7548.021279231104, 1095.5866244314232);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void double2x2_operator_mul_scalar_wide()
{
double a0 = (37.432166355397612);
double2x2 b0 = double2x2(96.747546479454058, 492.18539427788244, -274.05458534604617, -452.87096926796761);
double2x2 r0 = double2x2(3621.4702542954869, 18423.565556306661, -10258.456829132712, -16951.941459168724);
TestUtils.AreEqual(r0, a0 * b0);
double a1 = (420.85330434369541);
double2x2 b1 = double2x2(102.18292694081686, -114.94887762654054, -351.12003843445336, -464.66496799172131);
double2x2 r1 = double2x2(43004.022450553188, -48376.614979728663, -147770.02839642504, -195555.78719207339);
TestUtils.AreEqual(r1, a1 * b1);
double a2 = (444.08484646495663);
double2x2 b2 = double2x2(447.10525605040846, 130.82935124767448, -321.41334191030512, 445.30131861441828);
double2x2 r2 = double2x2(198552.66898682076, 58099.332361933404, -142734.79459402646, 197751.56770752667);
TestUtils.AreEqual(r2, a2 * b2);
double a3 = (478.24357317306271);
double2x2 b3 = double2x2(358.57170622356784, -144.89011222910608, -438.89383741789209, -3.536441089369589);
double2x2 r3 = double2x2(171484.61402312081, -69292.764989893767, -209898.15705036998, -1691.2802228961507);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void double2x2_operator_div_wide_wide()
{
double2x2 a0 = double2x2(-353.13144390337703, -102.79985456485292, 51.319128298814917, -191.87167868012176);
double2x2 b0 = double2x2(-178.73954805114283, -302.09628381491467, -199.40583739029518, 278.85077561012042);
double2x2 r0 = double2x2(1.97567604793504, 0.34028837848212429, -0.25736021056579439, -0.68808013268139567);
TestUtils.AreEqual(r0, a0 / b0);
double2x2 a1 = double2x2(8.0418245829836223, -128.73764210973758, -136.05959779399427, -370.4710053738537);
double2x2 b1 = double2x2(502.33758782890516, -361.48483078623417, 353.121059820578, -38.894930142394685);
double2x2 r1 = double2x2(0.016008805189634039, 0.35613566917796119, -0.3853058151307277, 9.5249176182488586);
TestUtils.AreEqual(r1, a1 / b1);
double2x2 a2 = double2x2(-237.69456326109105, -432.54687496300176, 200.26549181727012, 361.44157068871039);
double2x2 b2 = double2x2(-75.764737402910725, -195.21784719974636, -405.03399224068687, -394.2300085473014);
double2x2 r2 = double2x2(3.1372716570909582, 2.2157137842034547, -0.49444119667433889, -0.9168291678773689);
TestUtils.AreEqual(r2, a2 / b2);
double2x2 a3 = double2x2(-416.22613234828509, -450.01919362042992, -273.49744594911925, -286.90817011841955);
double2x2 b3 = double2x2(-375.82771342612227, -121.24548655433836, 447.623344391409, 338.28628007429018);
double2x2 r3 = double2x2(1.1074918572499153, 3.7116366671409717, -0.61099906735420106, -0.84812239519560884);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void double2x2_operator_div_wide_scalar()
{
double2x2 a0 = double2x2(171.34242184988341, 0.10338377957384637, 57.888263967767443, -256.13074529177078);
double b0 = (171.79682191265601);
double2x2 r0 = double2x2(0.99735501473360411, 0.00060177934855167557, 0.33695771157628673, -1.4908933846400916);
TestUtils.AreEqual(r0, a0 / b0);
double2x2 a1 = double2x2(95.6696842162263, -127.44869118903239, -79.7448890580539, 146.46688110496234);
double b1 = (-290.38690461329509);
double2x2 r1 = double2x2(-0.32945591793689361, 0.43889269510536072, 0.27461599607685222, -0.50438528314494968);
TestUtils.AreEqual(r1, a1 / b1);
double2x2 a2 = double2x2(-499.84355687529012, -453.20579859856787, -205.03382143985192, 481.73814247629514);
double b2 = (58.686315802245531);
double2x2 r2 = double2x2(-8.5172079733136776, -7.7225123506769311, -3.4937245358995028, 8.2086962844899229);
TestUtils.AreEqual(r2, a2 / b2);
double2x2 a3 = double2x2(464.47907159499778, -158.50557930697948, -289.5822156824089, 494.12860535743118);
double b3 = (-293.46349753693841);
double2x2 r3 = double2x2(-1.5827490488370997, 0.54012025562745947, 0.9867742261402, -1.683782172245238);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void double2x2_operator_div_scalar_wide()
{
double a0 = (-264.44250095283729);
double2x2 b0 = double2x2(105.58908157497137, -142.34910137129441, -288.94890679463231, 39.644133824689334);
double2x2 r0 = double2x2(-2.5044492954044237, 1.85770404172122, 0.915187753732487, -6.670406827961755);
TestUtils.AreEqual(r0, a0 / b0);
double a1 = (-363.99138396046658);
double2x2 b1 = double2x2(-149.71822006521666, -395.72912306139671, 258.71868693955184, -9.6662514254759344);
double2x2 r1 = double2x2(2.4311762710103912, 0.91979933431382543, -1.4069002446874319, 37.655898645585339);
TestUtils.AreEqual(r1, a1 / b1);
double a2 = (117.72553282497711);
double2x2 b2 = double2x2(-331.38655797177296, -509.98602676297821, 427.8964666928614, 467.61712882836218);
double2x2 r2 = double2x2(-0.35525138239012338, -0.23084070277810059, 0.275126209232008, 0.25175624579866063);
TestUtils.AreEqual(r2, a2 / b2);
double a3 = (-407.12461943511136);
double2x2 b3 = double2x2(252.69070994699871, 444.59937664708093, -88.313306134340053, 199.95503411067421);
double2x2 r3 = double2x2(-1.6111578439923842, -0.91571117914158318, 4.6100031496477243, -2.0360808681104259);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void double2x2_operator_mod_wide_wide()
{
double2x2 a0 = double2x2(-388.81249422059045, 181.68118842955732, -167.07872470052854, 432.82015319951813);
double2x2 b0 = double2x2(436.94417187056695, 58.940049437312382, -201.11623368091705, 279.2893537391393);
double2x2 r0 = double2x2(-388.81249422059045, 4.8610401176201776, -167.07872470052854, 153.53079946037883);
TestUtils.AreEqual(r0, a0 % b0);
double2x2 a1 = double2x2(-258.43895995730486, -170.11079629236406, 283.318293464984, 122.71651297561664);
double2x2 b1 = double2x2(-397.07975954426445, 377.89994758083481, 174.69386657266591, -228.17652736798698);
double2x2 r1 = double2x2(-258.43895995730486, -170.11079629236406, 108.62442689231807, 122.71651297561664);
TestUtils.AreEqual(r1, a1 % b1);
double2x2 a2 = double2x2(335.27101413126616, -503.60851668920765, 191.02251848532933, 289.74269379756538);
double2x2 b2 = double2x2(-317.06019106370405, -417.48011107811709, -249.9759434433542, -397.57157177364991);
double2x2 r2 = double2x2(18.210823067562103, -86.128405611090557, 191.02251848532933, 289.74269379756538);
TestUtils.AreEqual(r2, a2 % b2);
double2x2 a3 = double2x2(-124.03371745163281, 259.27395761165485, -274.35845030208975, -140.03080398404541);
double2x2 b3 = double2x2(-358.74544947163452, -198.1592100589346, 208.73709378425826, -12.119406944196385);
double2x2 r3 = double2x2(-124.03371745163281, 61.114747552720246, -65.621356517831487, -6.7173275978851734);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void double2x2_operator_mod_wide_scalar()
{
double2x2 a0 = double2x2(-244.49962889612635, -211.81931958525411, -145.92677576184587, -304.91822090042672);
double b0 = (39.634963769295723);
double2x2 r0 = double2x2(-6.6898462803520147, -13.644500738775491, -27.021884453958705, -27.473474515356656);
TestUtils.AreEqual(r0, a0 % b0);
double2x2 a1 = double2x2(155.47946436492703, 281.30965412841624, -226.53575311719243, 335.16613046041039);
double b1 = (-133.90778428591221);
double2x2 r1 = double2x2(21.571680079014811, 13.494085556591813, -92.627968831280214, 67.350561888585958);
TestUtils.AreEqual(r1, a1 % b1);
double2x2 a2 = double2x2(101.70649032560482, -285.40231646476423, -355.84685985923136, 259.37800061860025);
double b2 = (319.47152033423606);
double2x2 r2 = double2x2(101.70649032560482, -285.40231646476423, -36.3753395249953, 259.37800061860025);
TestUtils.AreEqual(r2, a2 % b2);
double2x2 a3 = double2x2(-330.87193957477433, -102.68343811048356, -172.14173921017988, 206.41684517935698);
double b3 = (-284.34358109363518);
double2x2 r3 = double2x2(-46.528358481139151, -102.68343811048356, -172.14173921017988, 206.41684517935698);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void double2x2_operator_mod_scalar_wide()
{
double a0 = (-66.945025236785909);
double2x2 b0 = double2x2(-249.77609479137516, -396.07375664081133, 386.49204582091977, 168.93948109864232);
double2x2 r0 = double2x2(-66.945025236785909, -66.945025236785909, -66.945025236785909, -66.945025236785909);
TestUtils.AreEqual(r0, a0 % b0);
double a1 = (-199.4182442163202);
double2x2 b1 = double2x2(261.7517141130528, 16.127438791155555, 257.66814744550186, -75.788451945310669);
double2x2 r1 = double2x2(-199.4182442163202, -5.8889787224535439, -199.4182442163202, -47.841340325698866);
TestUtils.AreEqual(r1, a1 % b1);
double a2 = (170.95630439136005);
double2x2 b2 = double2x2(-242.85828005655588, 425.94531913564788, 303.27240409668184, 3.033060790520608);
double2x2 r2 = double2x2(170.95630439136005, 170.95630439136005, 170.95630439136005, 1.1049001222060042);
TestUtils.AreEqual(r2, a2 % b2);
double a3 = (-505.74352788633831);
double2x2 b3 = double2x2(461.95706126743789, 205.97275672013529, 270.04063642678807, -47.480711720642034);
double2x2 r3 = double2x2(-43.78646661890042, -93.798014446067725, -235.70289145955024, -30.936410679917969);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void double2x2_operator_plus()
{
double2x2 a0 = double2x2(-418.82956357432045, -405.79894823851015, -34.041791216489742, 236.99924456188421);
double2x2 r0 = double2x2(-418.82956357432045, -405.79894823851015, -34.041791216489742, 236.99924456188421);
TestUtils.AreEqual(r0, +a0);
double2x2 a1 = double2x2(-459.83910129025537, 293.74197902052754, -373.015422279488, -386.059833944803);
double2x2 r1 = double2x2(-459.83910129025537, 293.74197902052754, -373.015422279488, -386.059833944803);
TestUtils.AreEqual(r1, +a1);
double2x2 a2 = double2x2(4.9544198536101476, 504.47483062393724, -170.74650843941907, 439.55937572920664);
double2x2 r2 = double2x2(4.9544198536101476, 504.47483062393724, -170.74650843941907, 439.55937572920664);
TestUtils.AreEqual(r2, +a2);
double2x2 a3 = double2x2(-478.74939916969714, 421.40964742256779, -258.5960806620289, 447.86609122150867);
double2x2 r3 = double2x2(-478.74939916969714, 421.40964742256779, -258.5960806620289, 447.86609122150867);
TestUtils.AreEqual(r3, +a3);
}
[TestCompiler]
public static void double2x2_operator_neg()
{
double2x2 a0 = double2x2(148.46174890755753, -467.12267873581624, 132.04719954917539, 183.52262290917463);
double2x2 r0 = double2x2(-148.46174890755753, 467.12267873581624, -132.04719954917539, -183.52262290917463);
TestUtils.AreEqual(r0, -a0);
double2x2 a1 = double2x2(473.7010145009034, -54.958759571872065, -382.98981803608581, -299.09338893512887);
double2x2 r1 = double2x2(-473.7010145009034, 54.958759571872065, 382.98981803608581, 299.09338893512887);
TestUtils.AreEqual(r1, -a1);
double2x2 a2 = double2x2(-383.01406377508027, 168.73550351370852, 466.44152829909763, 171.90249474900895);
double2x2 r2 = double2x2(383.01406377508027, -168.73550351370852, -466.44152829909763, -171.90249474900895);
TestUtils.AreEqual(r2, -a2);
double2x2 a3 = double2x2(-280.55831564616335, 318.69633522569029, -39.91539694737429, 140.34000284054321);
double2x2 r3 = double2x2(280.55831564616335, -318.69633522569029, 39.91539694737429, -140.34000284054321);
TestUtils.AreEqual(r3, -a3);
}
[TestCompiler]
public static void double2x2_operator_prefix_inc()
{
double2x2 a0 = double2x2(-139.84208137348389, -56.743654039103376, -381.955324589254, 509.79634380237962);
double2x2 r0 = double2x2(-138.84208137348389, -55.743654039103376, -380.955324589254, 510.79634380237962);
TestUtils.AreEqual(r0, ++a0);
double2x2 a1 = double2x2(-222.89634452708827, -392.73151058365193, -300.19410218866267, 362.21273939787068);
double2x2 r1 = double2x2(-221.89634452708827, -391.73151058365193, -299.19410218866267, 363.21273939787068);
TestUtils.AreEqual(r1, ++a1);
double2x2 a2 = double2x2(401.614830919362, -450.23016402229212, 243.54693114177644, 46.19202735190845);
double2x2 r2 = double2x2(402.614830919362, -449.23016402229212, 244.54693114177644, 47.19202735190845);
TestUtils.AreEqual(r2, ++a2);
double2x2 a3 = double2x2(-41.497298975241051, 154.35656530892311, -281.23327435237974, 200.70599922943211);
double2x2 r3 = double2x2(-40.497298975241051, 155.35656530892311, -280.23327435237974, 201.70599922943211);
TestUtils.AreEqual(r3, ++a3);
}
[TestCompiler]
public static void double2x2_operator_postfix_inc()
{
double2x2 a0 = double2x2(-396.6697396695007, 511.20749378167443, 249.11127030528678, -128.81731301584153);
double2x2 r0 = double2x2(-396.6697396695007, 511.20749378167443, 249.11127030528678, -128.81731301584153);
TestUtils.AreEqual(r0, a0++);
double2x2 a1 = double2x2(-259.49027669592306, -81.393423356764686, 66.719732554033271, 167.85212691493894);
double2x2 r1 = double2x2(-259.49027669592306, -81.393423356764686, 66.719732554033271, 167.85212691493894);
TestUtils.AreEqual(r1, a1++);
double2x2 a2 = double2x2(147.94395048354932, 41.033564825092185, 128.5304239394751, 73.155582223625629);
double2x2 r2 = double2x2(147.94395048354932, 41.033564825092185, 128.5304239394751, 73.155582223625629);
TestUtils.AreEqual(r2, a2++);
double2x2 a3 = double2x2(-60.132380275117384, -296.93783797739906, 267.29380071689081, 446.22930714405572);
double2x2 r3 = double2x2(-60.132380275117384, -296.93783797739906, 267.29380071689081, 446.22930714405572);
TestUtils.AreEqual(r3, a3++);
}
[TestCompiler]
public static void double2x2_operator_prefix_dec()
{
double2x2 a0 = double2x2(123.12869626056806, 256.8437465433235, 156.33078844674435, 461.73742530389563);
double2x2 r0 = double2x2(122.12869626056806, 255.8437465433235, 155.33078844674435, 460.73742530389563);
TestUtils.AreEqual(r0, --a0);
double2x2 a1 = double2x2(325.86799755965728, 187.87412580655609, -236.2252043393558, 125.10963517292851);
double2x2 r1 = double2x2(324.86799755965728, 186.87412580655609, -237.2252043393558, 124.10963517292851);
TestUtils.AreEqual(r1, --a1);
double2x2 a2 = double2x2(469.8447313112415, 376.04684680329956, -363.07547991493504, -22.028951416736902);
double2x2 r2 = double2x2(468.8447313112415, 375.04684680329956, -364.07547991493504, -23.028951416736902);
TestUtils.AreEqual(r2, --a2);
double2x2 a3 = double2x2(248.79012667797042, 168.26565011230559, -190.284744112885, 166.9455474200405);
double2x2 r3 = double2x2(247.79012667797042, 167.26565011230559, -191.284744112885, 165.9455474200405);
TestUtils.AreEqual(r3, --a3);
}
[TestCompiler]
public static void double2x2_operator_postfix_dec()
{
double2x2 a0 = double2x2(379.68831723727669, 302.69287814884115, -176.07134040448409, -291.25267066212962);
double2x2 r0 = double2x2(379.68831723727669, 302.69287814884115, -176.07134040448409, -291.25267066212962);
TestUtils.AreEqual(r0, a0--);
double2x2 a1 = double2x2(470.56758401848731, -63.655158787805192, 355.26110069605568, -27.889220489137415);
double2x2 r1 = double2x2(470.56758401848731, -63.655158787805192, 355.26110069605568, -27.889220489137415);
TestUtils.AreEqual(r1, a1--);
double2x2 a2 = double2x2(-100.76183824462902, 479.94519613680677, -200.30429491787419, -445.0269393609031);
double2x2 r2 = double2x2(-100.76183824462902, 479.94519613680677, -200.30429491787419, -445.0269393609031);
TestUtils.AreEqual(r2, a2--);
double2x2 a3 = double2x2(407.42034907239508, 48.0602071509046, -209.66798100698179, -38.435048836485976);
double2x2 r3 = double2x2(407.42034907239508, 48.0602071509046, -209.66798100698179, -38.435048836485976);
TestUtils.AreEqual(r3, a3--);
}
}
}

View File

@@ -0,0 +1,943 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using NUnit.Framework;
using static Unity.Mathematics.math;
using Burst.Compiler.IL.Tests;
namespace Unity.Mathematics.Tests
{
[TestFixture]
public class TestDouble2x3
{
[TestCompiler]
public static void double2x3_zero()
{
TestUtils.AreEqual(0.0, double2x3.zero.c0.x);
TestUtils.AreEqual(0.0, double2x3.zero.c0.y);
TestUtils.AreEqual(0.0, double2x3.zero.c1.x);
TestUtils.AreEqual(0.0, double2x3.zero.c1.y);
TestUtils.AreEqual(0.0, double2x3.zero.c2.x);
TestUtils.AreEqual(0.0, double2x3.zero.c2.y);
}
[TestCompiler]
public static void double2x3_operator_equal_wide_wide()
{
double2x3 a0 = double2x3(492.15758275061728, -495.20632027797694, 227.45765195947968, -147.37405950733182, -222.68201909897942, 64.093720704360749);
double2x3 b0 = double2x3(192.56880888369346, -235.61102472786376, -254.04311740307281, -412.62472052715009, 471.90480945627428, -6.4727852374654162);
bool2x3 r0 = bool2x3(false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
double2x3 a1 = double2x3(-23.890404473939157, -16.8197190839889, 163.23210890741655, -165.27101071424363, 470.87767980568003, -423.94255967808078);
double2x3 b1 = double2x3(-339.10237447316865, 488.1875700839737, -379.5965842584132, -308.41700258311675, -82.333374300195544, -102.92108087563935);
bool2x3 r1 = bool2x3(false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
double2x3 a2 = double2x3(109.63436918595539, 462.69031283943468, -335.38147727371262, 357.23446934168896, 1.5455777652308598, -347.38824741327585);
double2x3 b2 = double2x3(226.51573835430463, -356.90132896830391, -362.91277544708589, -427.89843746083716, 466.65013978753711, -102.79904680270658);
bool2x3 r2 = bool2x3(false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
double2x3 a3 = double2x3(-114.47217302884542, 435.84865804940864, 194.23808607563285, 138.76554710174241, -467.34914205379278, 370.43337767684523);
double2x3 b3 = double2x3(-43.355954428834821, 85.045664111639212, -91.127054972167628, 422.19208856215334, -477.43130873024057, 1.8770024785198984);
bool2x3 r3 = bool2x3(false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void double2x3_operator_equal_wide_scalar()
{
double2x3 a0 = double2x3(-303.2300766926399, 451.52631327674089, -253.65587413201848, -105.20363502632995, -500.6910920090466, -426.19248338518315);
double b0 = (123.5445759871717);
bool2x3 r0 = bool2x3(false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
double2x3 a1 = double2x3(159.87609656149334, -57.477391031327386, -182.04973968400139, 406.51375861024189, 370.88599866017978, -172.03530629539642);
double b1 = (-59.558379439431405);
bool2x3 r1 = bool2x3(false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
double2x3 a2 = double2x3(455.40001198993991, 363.93823044557973, -27.150561106927, -325.97606507221985, -290.35904254129116, 180.19686635779067);
double b2 = (-11.338988547836891);
bool2x3 r2 = bool2x3(false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
double2x3 a3 = double2x3(-374.12832015293105, -126.54608899287234, -197.2617896521752, -227.15933357326281, -479.8991937487848, -439.77767750237962);
double b3 = (-439.35894295170851);
bool2x3 r3 = bool2x3(false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void double2x3_operator_equal_scalar_wide()
{
double a0 = (-253.39728534100453);
double2x3 b0 = double2x3(19.952187785856495, -185.79199346610903, 407.8136052600172, -87.2766969610363, -206.27469382354741, 160.503138855334);
bool2x3 r0 = bool2x3(false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
double a1 = (-274.77081478516141);
double2x3 b1 = double2x3(-2.6315281403397535, 448.35453602688131, -410.03524251004461, 247.32901465489022, 355.53915350303942, -298.06671180299793);
bool2x3 r1 = bool2x3(false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
double a2 = (414.10151429385951);
double2x3 b2 = double2x3(-481.30262707234482, 196.55074438664633, 34.60100008668428, 113.76156645350227, -386.45337861890596, -124.49174672201821);
bool2x3 r2 = bool2x3(false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
double a3 = (243.8866447153905);
double2x3 b3 = double2x3(-492.6181826501238, 145.424413033493, 421.55070968230757, -95.409988209330493, 336.80928746648567, 209.58380589707929);
bool2x3 r3 = bool2x3(false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void double2x3_operator_not_equal_wide_wide()
{
double2x3 a0 = double2x3(430.8425316432689, 104.69001798736394, 225.80243478799355, -310.57017841496048, -418.61945815506363, 304.12820281839379);
double2x3 b0 = double2x3(210.02470622305975, -55.203330304102678, -269.92533672504373, -234.54673372700194, 25.917412054686565, -63.726991444699024);
bool2x3 r0 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
double2x3 a1 = double2x3(-509.32682561749908, -160.53807719076895, -203.30197606016975, -505.76325368590807, 162.17220623892365, 1.1561973100324394);
double2x3 b1 = double2x3(-484.55371092471933, -425.333599050219, -53.274394775402925, 328.1944192984115, 15.963139303011417, 461.71412417931208);
bool2x3 r1 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
double2x3 a2 = double2x3(65.662074358045174, 102.78780250567377, 172.93008120960098, 26.621009123800832, 235.12595259171258, 128.54198533321824);
double2x3 b2 = double2x3(-113.36304455313973, -240.07297264787974, 495.11916970420589, 203.5583661550462, 340.49345103860526, -241.90719448863865);
bool2x3 r2 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
double2x3 a3 = double2x3(-354.99697630246959, 334.35948220564023, -495.83200692377613, 468.30740163675853, 458.37094733601941, 299.93733300824522);
double2x3 b3 = double2x3(459.56982896270688, 213.0737384357833, -384.7828506831, -255.07233846144396, 477.66343115161328, -248.03662621604121);
bool2x3 r3 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void double2x3_operator_not_equal_wide_scalar()
{
double2x3 a0 = double2x3(-16.914588697680529, 168.83411486858233, -462.71352145760949, 130.30776959765137, 214.50161443208424, -440.26328178879959);
double b0 = (-145.37277109239847);
bool2x3 r0 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
double2x3 a1 = double2x3(-197.12796053529155, -386.61117595555783, -281.02101362916687, -270.26885593601912, -403.96372313236992, -269.80570877241234);
double b1 = (-169.09985860115842);
bool2x3 r1 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
double2x3 a2 = double2x3(299.65422763473089, -432.75573917513515, -457.36312100727258, -13.519590622521719, 273.87305773136814, 185.042454567292);
double b2 = (-71.750904831919286);
bool2x3 r2 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
double2x3 a3 = double2x3(-482.53069351731364, 511.73495578753523, 230.50753628020527, 100.27476768394683, 129.68240863163135, 321.17879048044733);
double b3 = (116.39514427836764);
bool2x3 r3 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void double2x3_operator_not_equal_scalar_wide()
{
double a0 = (275.79582823244664);
double2x3 b0 = double2x3(-57.196896341255353, -382.4325279586169, 97.820359990848374, -161.46364529499022, -458.39563367254829, -499.61786364932448);
bool2x3 r0 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
double a1 = (327.92217818271467);
double2x3 b1 = double2x3(367.57121699283425, 59.7863667289663, -209.58068118318016, -62.580453186566217, -479.97497604786184, -49.494519495169868);
bool2x3 r1 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
double a2 = (-114.68521338081229);
double2x3 b2 = double2x3(109.93924599044919, -176.28482755286842, -347.48529903380449, 85.540928165214609, -356.65954868712441, -104.24357490625397);
bool2x3 r2 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
double a3 = (-133.54918605347592);
double2x3 b3 = double2x3(243.53971135036079, 13.141311890045813, -379.98594754747393, -41.281226892620907, 87.911684792447659, -339.07727996403224);
bool2x3 r3 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void double2x3_operator_less_wide_wide()
{
double2x3 a0 = double2x3(196.84256825076534, 336.40979997087732, 251.96372115424072, 257.65591466503963, 430.04588647840819, -62.419644146421774);
double2x3 b0 = double2x3(-465.34502313348696, -256.15239751346053, -314.814018634527, 364.56673662949663, 100.21050290959442, 182.56098636545289);
bool2x3 r0 = bool2x3(false, false, false, true, false, true);
TestUtils.AreEqual(r0, a0 < b0);
double2x3 a1 = double2x3(8.8392293494376872, -333.81671563434259, 164.67880662003472, -350.94487516532877, 3.84143662631584, 125.40972024081725);
double2x3 b1 = double2x3(3.116978885194726, -259.43047893207074, -437.33490749696966, -456.0437321402336, -394.2559718537405, 401.91369099259077);
bool2x3 r1 = bool2x3(false, true, false, false, false, true);
TestUtils.AreEqual(r1, a1 < b1);
double2x3 a2 = double2x3(-111.12994127680076, 70.005523475820951, 448.19828173527412, -419.98711200244122, -258.30166757213965, -34.832201735504043);
double2x3 b2 = double2x3(313.43916454605721, 121.28668194696616, -28.012290729215522, -282.96589697663012, 330.06440631023816, 124.09937077579059);
bool2x3 r2 = bool2x3(true, true, false, true, true, true);
TestUtils.AreEqual(r2, a2 < b2);
double2x3 a3 = double2x3(-69.859397682295821, 67.767227442826766, -139.77729207825723, 385.43464130229995, 133.707390609061, 506.18837117878184);
double2x3 b3 = double2x3(-183.69031700104955, 373.0607623406969, 109.75094013556418, -203.57134232463841, 45.6486556742567, -360.95226280808089);
bool2x3 r3 = bool2x3(false, true, true, false, false, false);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void double2x3_operator_less_wide_scalar()
{
double2x3 a0 = double2x3(-132.05731708000292, -192.46500477216438, -66.834607870706634, -379.01750081545561, -360.28242199508588, 20.927834282129879);
double b0 = (-156.01021845452965);
bool2x3 r0 = bool2x3(false, true, false, true, true, false);
TestUtils.AreEqual(r0, a0 < b0);
double2x3 a1 = double2x3(-158.24074537970159, -20.452607402788772, 225.29148517609178, 307.48418607725023, 274.01523292903562, 373.54965584983563);
double b1 = (437.34587522845061);
bool2x3 r1 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 < b1);
double2x3 a2 = double2x3(398.52368301829495, -58.010895994496934, 109.67008810381878, -108.853174498702, -44.971252223929014, 140.42607147080173);
double b2 = (105.0301654827922);
bool2x3 r2 = bool2x3(false, true, false, true, true, false);
TestUtils.AreEqual(r2, a2 < b2);
double2x3 a3 = double2x3(-500.08827638071415, -197.50074610370245, -7.27149987559369, -432.99049898283113, 62.158315449095426, -72.254720959931035);
double b3 = (172.10334857371788);
bool2x3 r3 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void double2x3_operator_less_scalar_wide()
{
double a0 = (-423.117411095238);
double2x3 b0 = double2x3(385.09483617595151, -123.93348532725753, 86.376572887588509, 133.44217378154497, 161.45794947513286, 229.75426660746064);
bool2x3 r0 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 < b0);
double a1 = (222.57159934871436);
double2x3 b1 = double2x3(315.53116360098647, -447.20351883731945, 271.83385790131695, -393.60531324595462, 317.48689737798964, -164.6051085761772);
bool2x3 r1 = bool2x3(true, false, true, false, true, false);
TestUtils.AreEqual(r1, a1 < b1);
double a2 = (-282.87605370342544);
double2x3 b2 = double2x3(296.97953071118309, -254.40115582868509, 365.61562054493265, -441.98425671178114, -131.42866021554391, 442.62897631275882);
bool2x3 r2 = bool2x3(true, true, true, false, true, true);
TestUtils.AreEqual(r2, a2 < b2);
double a3 = (-29.792842163607872);
double2x3 b3 = double2x3(-138.37379533535511, 9.2169721169476588, -226.7305482489665, 171.02944310523083, 376.62522595777421, -462.58872697436658);
bool2x3 r3 = bool2x3(false, true, false, true, true, false);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void double2x3_operator_greater_wide_wide()
{
double2x3 a0 = double2x3(483.50140141113729, 310.81563415695712, 106.9661896726891, 295.73526038589671, 116.95757179938141, -478.29977653841479);
double2x3 b0 = double2x3(-471.39802454011425, -371.98528617060992, 36.900723236101044, -316.76360407320954, 19.683055648432628, 207.3091381561519);
bool2x3 r0 = bool2x3(true, true, true, true, true, false);
TestUtils.AreEqual(r0, a0 > b0);
double2x3 a1 = double2x3(-14.897393471979228, -33.817441717636484, -24.740548383789417, 319.78262701620474, -120.15856581561201, -289.00857962714906);
double2x3 b1 = double2x3(362.79748861994483, 324.95341816775192, 340.94807140014507, 25.986035120666997, -114.2111352021858, 240.80346428640348);
bool2x3 r1 = bool2x3(false, false, false, true, false, false);
TestUtils.AreEqual(r1, a1 > b1);
double2x3 a2 = double2x3(455.85146662958505, 144.70691139283917, 63.931990891663304, -285.68304099034663, -502.0907201720824, -337.19446412529538);
double2x3 b2 = double2x3(273.42244757033063, 325.51576224226312, 27.341068995809678, 64.479532510265472, 200.94836983501375, 100.12266998184964);
bool2x3 r2 = bool2x3(true, false, true, false, false, false);
TestUtils.AreEqual(r2, a2 > b2);
double2x3 a3 = double2x3(474.31734274063137, -507.14510679018923, -133.56559735795742, -443.10913654934109, -464.34137056038776, -68.361549647693323);
double2x3 b3 = double2x3(-79.00710896356361, -315.137945560337, -122.98542815213347, -163.77920229908972, -492.56600617457462, -90.797273439726439);
bool2x3 r3 = bool2x3(true, false, false, false, true, true);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void double2x3_operator_greater_wide_scalar()
{
double2x3 a0 = double2x3(64.317918092160426, -397.70346445483318, 431.87690826499693, 85.702980796668157, 246.26305233978803, 197.49155602114809);
double b0 = (305.85991992888034);
bool2x3 r0 = bool2x3(false, false, true, false, false, false);
TestUtils.AreEqual(r0, a0 > b0);
double2x3 a1 = double2x3(286.1994608781298, -405.78459210218148, 171.56538661362856, -241.80727326209063, 333.57817498481745, 370.27919524269146);
double b1 = (280.81334818564972);
bool2x3 r1 = bool2x3(true, false, false, false, true, true);
TestUtils.AreEqual(r1, a1 > b1);
double2x3 a2 = double2x3(-413.70138116073861, -353.03129522550444, 396.64532608382649, 467.22205541432936, -240.0134228393498, 502.91505193287276);
double b2 = (-356.5923551789449);
bool2x3 r2 = bool2x3(false, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 > b2);
double2x3 a3 = double2x3(315.46759024051369, 281.23064554912537, 428.79219909608, 245.15306460352292, -279.17542494422543, -453.86309668694764);
double b3 = (-259.28970134411458);
bool2x3 r3 = bool2x3(true, true, true, true, false, false);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void double2x3_operator_greater_scalar_wide()
{
double a0 = (-282.67049635698572);
double2x3 b0 = double2x3(358.09997360692353, -72.5964134077525, -232.16380106292843, -60.706723956720282, 75.156642710397364, 150.88350040786133);
bool2x3 r0 = bool2x3(false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 > b0);
double a1 = (339.53917924479538);
double2x3 b1 = double2x3(-498.19602965665797, 459.74610326241054, -227.96872316485678, 335.86213485145106, 76.178844248959308, 296.85993899817572);
bool2x3 r1 = bool2x3(true, false, true, true, true, true);
TestUtils.AreEqual(r1, a1 > b1);
double a2 = (177.49000390688423);
double2x3 b2 = double2x3(-281.20120657663847, 244.72285162877427, 137.32857257562159, -385.33824724021287, 443.16345879210326, -353.56254141105455);
bool2x3 r2 = bool2x3(true, false, true, true, false, true);
TestUtils.AreEqual(r2, a2 > b2);
double a3 = (26.040673983302327);
double2x3 b3 = double2x3(-331.7939499969566, -43.691963454565041, 20.949428806523542, -211.17984423934473, 227.42171894173214, -84.7797711290325);
bool2x3 r3 = bool2x3(true, true, true, true, false, true);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void double2x3_operator_less_equal_wide_wide()
{
double2x3 a0 = double2x3(-438.52313753521219, 210.48942837980087, 4.8773329280677444, -137.29793817237857, 156.09410174009111, -363.92412035722475);
double2x3 b0 = double2x3(-474.8141498392514, 304.3710555063426, 234.8241737982371, -390.48543209139513, -297.17535295019638, -326.29239121372461);
bool2x3 r0 = bool2x3(false, true, true, false, false, true);
TestUtils.AreEqual(r0, a0 <= b0);
double2x3 a1 = double2x3(-97.948485181642923, 437.29539009430232, 458.53029153241323, -294.06474675520542, 23.622613679441884, -34.284056441059363);
double2x3 b1 = double2x3(107.2538764976216, -413.13107342884462, 67.094432623635271, 470.07522724106684, -84.499104777583455, 392.78422683886447);
bool2x3 r1 = bool2x3(true, false, false, true, false, true);
TestUtils.AreEqual(r1, a1 <= b1);
double2x3 a2 = double2x3(149.736484835733, -418.8866781754823, -197.50252899783783, -88.2055118494693, -376.71814292330208, 341.62712899857536);
double2x3 b2 = double2x3(-263.53175485484849, 369.30090039284005, -333.32529298091555, 238.41347443238533, 486.24259279959028, 279.65021408705513);
bool2x3 r2 = bool2x3(false, true, false, true, true, false);
TestUtils.AreEqual(r2, a2 <= b2);
double2x3 a3 = double2x3(-83.309179106405566, -107.49073295830317, 319.46688833807912, 205.35738501574724, 345.56372968552807, 395.32190746596177);
double2x3 b3 = double2x3(236.05201803709008, 132.75898248178839, 66.294708998079727, 183.00210699020056, 200.13055071613314, 339.043800750302);
bool2x3 r3 = bool2x3(true, true, false, false, false, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void double2x3_operator_less_equal_wide_scalar()
{
double2x3 a0 = double2x3(193.4958237118534, 168.91555197952107, -313.9930695565385, 81.826965131716292, 18.503590830836288, -0.35819602029312136);
double b0 = (443.85054299042122);
bool2x3 r0 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 <= b0);
double2x3 a1 = double2x3(241.36115776810846, -1.3577692515020203, -268.89945591096739, 398.9919504593089, -471.253072242836, -264.93778264938749);
double b1 = (-463.81641242644582);
bool2x3 r1 = bool2x3(false, false, false, false, true, false);
TestUtils.AreEqual(r1, a1 <= b1);
double2x3 a2 = double2x3(82.258299150624453, 424.7040156911612, 426.48223157715154, 56.319978501796754, -196.28791126808522, 31.901173844887467);
double b2 = (11.246050124636895);
bool2x3 r2 = bool2x3(false, false, false, false, true, false);
TestUtils.AreEqual(r2, a2 <= b2);
double2x3 a3 = double2x3(-152.2575724833913, -37.104814785115821, -47.144214413661587, 333.6230348710078, -274.80387438219225, 358.67627804292192);
double b3 = (-437.92645975478297);
bool2x3 r3 = bool2x3(false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void double2x3_operator_less_equal_scalar_wide()
{
double a0 = (393.60626644343427);
double2x3 b0 = double2x3(-75.688363825757222, -44.2638714519627, 125.86491566797019, 191.96488174794467, 13.543054825413492, -197.0519259893577);
bool2x3 r0 = bool2x3(false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 <= b0);
double a1 = (-423.945100743298);
double2x3 b1 = double2x3(-330.04861680141119, 420.16553779140372, 105.54730777887039, 174.82126363311954, 296.71757831085358, -469.70041845259277);
bool2x3 r1 = bool2x3(true, true, true, true, true, false);
TestUtils.AreEqual(r1, a1 <= b1);
double a2 = (123.26718979853536);
double2x3 b2 = double2x3(112.9969695140594, 495.14339493920249, -488.65789364681478, 388.53941148730894, -493.24077080806751, 16.451064832718657);
bool2x3 r2 = bool2x3(false, true, false, true, false, false);
TestUtils.AreEqual(r2, a2 <= b2);
double a3 = (-387.6516336815672);
double2x3 b3 = double2x3(-229.1773127192526, -373.01533930982248, -391.142134610164, 90.994149488859875, -178.39613517485378, -69.621067317957568);
bool2x3 r3 = bool2x3(true, true, false, true, true, true);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void double2x3_operator_greater_equal_wide_wide()
{
double2x3 a0 = double2x3(-507.92858409692, 504.49748181947393, -385.43449205226938, -262.32340944107784, -37.550928848586466, -111.59527759980193);
double2x3 b0 = double2x3(-81.346509732933043, 297.66615047010885, 171.06540616371922, -431.03805538222105, -6.859075311040101, 319.72570362674333);
bool2x3 r0 = bool2x3(false, true, false, true, false, false);
TestUtils.AreEqual(r0, a0 >= b0);
double2x3 a1 = double2x3(-463.70202157632542, 387.44885772627265, 456.96878573716094, -211.01015506079892, 182.41135391146474, -53.596053863687473);
double2x3 b1 = double2x3(254.079170106947, 396.5724000393285, 178.83927615864172, -447.06336304501787, 288.49268569075161, 474.88929460704765);
bool2x3 r1 = bool2x3(false, false, true, true, false, false);
TestUtils.AreEqual(r1, a1 >= b1);
double2x3 a2 = double2x3(-309.57021608463032, -136.02249127999994, 280.73629082401112, -96.9958942388165, -174.05950673579213, 88.9019382413951);
double2x3 b2 = double2x3(-321.75022831640683, -395.97722048125104, -158.69246037243516, 391.48869318118727, -368.10924141859135, 89.1238043723273);
bool2x3 r2 = bool2x3(true, true, true, false, true, false);
TestUtils.AreEqual(r2, a2 >= b2);
double2x3 a3 = double2x3(43.816040774721728, -446.07842585354967, 16.645595796706857, 409.83252043734888, -191.32987245886113, 222.99782548798146);
double2x3 b3 = double2x3(-510.27932214656812, -486.92979525352354, -81.215552606254619, 274.21882046117389, -212.88155494112596, 288.99530591117);
bool2x3 r3 = bool2x3(true, true, true, true, true, false);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void double2x3_operator_greater_equal_wide_scalar()
{
double2x3 a0 = double2x3(465.15218732559686, -424.8860745024337, -209.22109685150025, 58.779852656079356, -302.26910533675414, 140.12558252183976);
double b0 = (-5.5998842742293391);
bool2x3 r0 = bool2x3(true, false, false, true, false, true);
TestUtils.AreEqual(r0, a0 >= b0);
double2x3 a1 = double2x3(16.353385694489475, 393.27804846003562, -315.70155086913218, 441.0115565923096, -509.78156757251435, -36.994287269652943);
double b1 = (-344.55997316192838);
bool2x3 r1 = bool2x3(true, true, true, true, false, true);
TestUtils.AreEqual(r1, a1 >= b1);
double2x3 a2 = double2x3(494.82028865014217, -466.12009046325466, -123.8137477020797, 215.65121779947128, 104.99569730879534, 314.34603014325069);
double b2 = (-164.97393830352183);
bool2x3 r2 = bool2x3(true, false, true, true, true, true);
TestUtils.AreEqual(r2, a2 >= b2);
double2x3 a3 = double2x3(190.51609882643265, -23.836435567511444, 143.04935962662535, -264.91997945724052, -169.70222457205051, 329.70751610850334);
double b3 = (-83.111429014760745);
bool2x3 r3 = bool2x3(true, true, true, false, false, true);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void double2x3_operator_greater_equal_scalar_wide()
{
double a0 = (374.82703393270594);
double2x3 b0 = double2x3(-1.609757185731894, 338.61524049314448, -116.18140392945213, -332.15732375353451, -355.9793509710484, -468.90144107719021);
bool2x3 r0 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 >= b0);
double a1 = (38.579884785497484);
double2x3 b1 = double2x3(-332.34754697063357, 2.8901150240051265, 467.77776477661814, 121.40638762405445, -305.02337303060267, -58.428812292604164);
bool2x3 r1 = bool2x3(true, true, false, false, true, true);
TestUtils.AreEqual(r1, a1 >= b1);
double a2 = (-226.51955209789776);
double2x3 b2 = double2x3(-47.020994446715804, 305.3026770582901, -427.40123315686418, 92.263649745035764, -497.17853736187266, -408.62564225151465);
bool2x3 r2 = bool2x3(false, false, true, false, true, true);
TestUtils.AreEqual(r2, a2 >= b2);
double a3 = (-455.23049113491106);
double2x3 b3 = double2x3(396.42608637196292, -469.29488561548987, -485.7540130493017, -182.34619268325446, -291.54536284671417, 278.740809331993);
bool2x3 r3 = bool2x3(false, true, true, false, false, false);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void double2x3_operator_add_wide_wide()
{
double2x3 a0 = double2x3(506.12905263627374, -501.77980803967444, 420.08479638587903, -186.03206476291274, -9.3123953385801883, 328.51179686585056);
double2x3 b0 = double2x3(-28.757987751047096, -337.135153689019, -340.676816860529, 152.31202633320913, 423.66745420157326, 90.374096674087468);
double2x3 r0 = double2x3(477.37106488522664, -838.91496172869347, 79.407979525350015, -33.720038429703607, 414.35505886299308, 418.885893539938);
TestUtils.AreEqual(r0, a0 + b0);
double2x3 a1 = double2x3(424.34407659263536, 87.791079800478656, 462.41368148402012, -46.178705952213477, 401.17006296718966, -454.12414643453627);
double2x3 b1 = double2x3(376.18866246574964, 1.7671887882831925, -120.18586045139745, -279.62936628965167, -344.66710273580026, 242.8391956029642);
double2x3 r1 = double2x3(800.532739058385, 89.558268588761848, 342.22782103262267, -325.80807224186515, 56.502960231389409, -211.28495083157208);
TestUtils.AreEqual(r1, a1 + b1);
double2x3 a2 = double2x3(69.195687564646732, -177.95734485329939, 299.60415544156183, 340.7048587001417, 219.91602740991675, -321.90838232725321);
double2x3 b2 = double2x3(418.5930504363929, -23.312797318823982, -95.099945827899489, 147.92812568877275, 331.03287926830023, -82.502564230236487);
double2x3 r2 = double2x3(487.78873800103963, -201.27014217212337, 204.50420961366234, 488.63298438891445, 550.948906678217, -404.41094655748969);
TestUtils.AreEqual(r2, a2 + b2);
double2x3 a3 = double2x3(286.35534037573041, -333.41949311523672, -118.93216973120911, 68.607509406566351, 23.190902005504313, -205.57787547147734);
double2x3 b3 = double2x3(279.44956291813844, 342.6227215931857, -300.35853185335105, -209.69408736456842, 446.55942150883345, -351.98918955027557);
double2x3 r3 = double2x3(565.80490329386885, 9.2032284779489828, -419.29070158456017, -141.08657795800207, 469.75032351433777, -557.56706502175291);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void double2x3_operator_add_wide_scalar()
{
double2x3 a0 = double2x3(-194.51420387742769, 338.54838696985894, 246.97140252169754, 100.51093797595752, -45.724677822424439, -478.11131094308166);
double b0 = (124.121678171736);
double2x3 r0 = double2x3(-70.3925257056917, 462.67006514159493, 371.09308069343354, 224.63261614769351, 78.397000349311554, -353.98963277134567);
TestUtils.AreEqual(r0, a0 + b0);
double2x3 a1 = double2x3(30.916145577522116, -242.1187475855084, 82.50134495762245, 6.7993848355483806, -484.69981287638649, -188.26501068298938);
double b1 = (60.37435224483454);
double2x3 r1 = double2x3(91.290497822356656, -181.74439534067386, 142.875697202457, 67.173737080382921, -424.32546063155195, -127.89065843815484);
TestUtils.AreEqual(r1, a1 + b1);
double2x3 a2 = double2x3(-213.52673087526426, 189.25996669999324, 198.53359684652355, 187.53610023648298, -424.92567582844089, 302.10236730338181);
double b2 = (-267.78430688929944);
double2x3 r2 = double2x3(-481.31103776456371, -78.5243401893062, -69.250710042775893, -80.248206652816464, -692.70998271774033, 34.318060414082368);
TestUtils.AreEqual(r2, a2 + b2);
double2x3 a3 = double2x3(300.39907970111778, -200.16134295247559, 31.37822701007974, 362.52213518811493, -423.98885961248953, 432.41331907380993);
double b3 = (124.02158909850823);
double2x3 r3 = double2x3(424.420668799626, -76.139753853967363, 155.39981610858797, 486.54372428662316, -299.9672705139813, 556.43490817231816);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void double2x3_operator_add_scalar_wide()
{
double a0 = (-340.35468284243473);
double2x3 b0 = double2x3(511.36225652665007, -146.21663791789518, -106.21042661844308, -363.45024960276214, 199.08958325120136, -27.108407271610758);
double2x3 r0 = double2x3(171.00757368421534, -486.57132076032991, -446.56510946087781, -703.80493244519687, -141.26509959123337, -367.46309011404549);
TestUtils.AreEqual(r0, a0 + b0);
double a1 = (419.84900041103788);
double2x3 b1 = double2x3(284.95503748811552, -164.92418129971446, -249.19032561461921, 150.92817718858282, 298.17509784278229, -457.15341803857751);
double2x3 r1 = double2x3(704.8040378991534, 254.92481911132342, 170.65867479641867, 570.7771775996207, 718.02409825382017, -37.304417627539635);
TestUtils.AreEqual(r1, a1 + b1);
double a2 = (424.71807094324288);
double2x3 b2 = double2x3(-301.85750283946163, 230.28885208363124, -423.58759351428023, -67.060037882560891, 68.7241366229598, -164.02241833695325);
double2x3 r2 = double2x3(122.86056810378125, 655.00692302687412, 1.1304774289626494, 357.658033060682, 493.44220756620268, 260.69565260628963);
TestUtils.AreEqual(r2, a2 + b2);
double a3 = (318.93515339444161);
double2x3 b3 = double2x3(7.8045504129512437, 187.69836029210046, -3.6569664495331153, -446.0830535581722, -209.28724227160552, -38.212905186327589);
double2x3 r3 = double2x3(326.73970380739286, 506.63351368654207, 315.2781869449085, -127.14790016373058, 109.64791112283609, 280.722248208114);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void double2x3_operator_sub_wide_wide()
{
double2x3 a0 = double2x3(160.4922617229131, 11.223957305412682, 359.20010607279846, -498.22830485656311, -355.25362913462038, -94.534852787170053);
double2x3 b0 = double2x3(115.46876078260539, -130.98230630298252, 241.54083716196044, 9.9870860623135513, 419.89512582304656, 59.124466208333388);
double2x3 r0 = double2x3(45.023500940307713, 142.2062636083952, 117.65926891083802, -508.21539091887666, -775.14875495766694, -153.65931899550344);
TestUtils.AreEqual(r0, a0 - b0);
double2x3 a1 = double2x3(-410.46404786150163, -401.38464398001537, 317.70681944382693, 447.0604133303558, -489.07414482956477, -230.00838218909149);
double2x3 b1 = double2x3(-402.38163847587145, -75.370143687059226, 320.97960796997859, -73.908757482612884, -31.444742455819949, -389.25194734579509);
double2x3 r1 = double2x3(-8.0824093856301715, -326.01450029295614, -3.2727885261516576, 520.96917081296874, -457.62940237374482, 159.2435651567036);
TestUtils.AreEqual(r1, a1 - b1);
double2x3 a2 = double2x3(24.875419389864192, 366.61447136784648, -107.3741567634857, -219.0081404275299, 473.90756891384137, 259.63620793988753);
double2x3 b2 = double2x3(-375.02884000122026, 259.18275821357167, 276.648654351313, -453.06919905779381, -272.57653225240136, -191.14805301984217);
double2x3 r2 = double2x3(399.90425939108445, 107.4317131542748, -384.02281111479869, 234.06105863026391, 746.48410116624268, 450.78426095972969);
TestUtils.AreEqual(r2, a2 - b2);
double2x3 a3 = double2x3(-360.119631219711, 7.8096120393879573, 437.42847439154446, -59.1991718091067, 418.74433322378638, 183.14215072576985);
double2x3 b3 = double2x3(87.136884968325944, 430.02477594373033, 343.65711538105143, 121.02942067060133, -354.1881703595576, 249.05200373802893);
double2x3 r3 = double2x3(-447.25651618803693, -422.21516390434238, 93.771359010493029, -180.22859247970803, 772.932503583344, -65.909853012259077);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void double2x3_operator_sub_wide_scalar()
{
double2x3 a0 = double2x3(207.38960108877609, 248.45773684627272, -384.82393211164697, -205.34476122881506, -374.81156152058929, 191.64204820973896);
double b0 = (-36.112476604111691);
double2x3 r0 = double2x3(243.50207769288778, 284.57021345038441, -348.71145550753528, -169.23228462470337, -338.6990849164776, 227.75452481385065);
TestUtils.AreEqual(r0, a0 - b0);
double2x3 a1 = double2x3(18.856238135535364, 480.85798738936796, 16.338193185784917, -366.86545269883493, -35.523088233323335, 349.39776460705218);
double b1 = (-44.96160151667965);
double2x3 r1 = double2x3(63.817839652215014, 525.81958890604756, 61.299794702464567, -321.90385118215528, 9.4385132833563148, 394.35936612373183);
TestUtils.AreEqual(r1, a1 - b1);
double2x3 a2 = double2x3(439.07729336203886, 195.02405104181923, -384.84940952102158, 189.05188545447402, 55.602777745389744, -54.931482579061537);
double b2 = (490.2222661870635);
double2x3 r2 = double2x3(-51.144972825024638, -295.19821514524426, -875.07167570808508, -301.17038073258948, -434.61948844167375, -545.15374876612509);
TestUtils.AreEqual(r2, a2 - b2);
double2x3 a3 = double2x3(53.088051582261983, -273.80670917863335, 256.88723695319482, 297.17363156805447, 101.82901363346218, 136.60794765157993);
double b3 = (316.80250730961677);
double2x3 r3 = double2x3(-263.71445572735479, -590.60921648825013, -59.915270356421956, -19.628875741562297, -214.97349367615459, -180.19455965803684);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void double2x3_operator_sub_scalar_wide()
{
double a0 = (-86.008225719448262);
double2x3 b0 = double2x3(466.42511413359318, 298.48694219183506, -300.95010652251085, 315.38003006362362, -381.09218543632522, -125.00837546447684);
double2x3 r0 = double2x3(-552.43333985304139, -384.49516791128332, 214.94188080306259, -401.38825578307188, 295.08395971687696, 39.00014974502858);
TestUtils.AreEqual(r0, a0 - b0);
double a1 = (58.466194418476107);
double2x3 b1 = double2x3(214.74609361158036, -257.54942739082009, 480.22459505508868, -443.35507723472784, 260.79503858312728, 29.681931747906788);
double2x3 r1 = double2x3(-156.27989919310426, 316.01562180929619, -421.75840063661258, 501.82127165320395, -202.32884416465117, 28.784262670569319);
TestUtils.AreEqual(r1, a1 - b1);
double a2 = (139.85773164586055);
double2x3 b2 = double2x3(-247.78996216868512, -248.4662297929014, 91.445112509394562, 86.384162704639266, 373.81828206303453, 260.41195428576873);
double2x3 r2 = double2x3(387.64769381454568, 388.32396143876196, 48.412619136465992, 53.473568941221288, -233.96055041717398, -120.55422263990818);
TestUtils.AreEqual(r2, a2 - b2);
double a3 = (114.35393171867076);
double2x3 b3 = double2x3(-464.40545318294573, -109.74146156652898, -311.67535057276268, 107.86401586787031, -258.7951592219971, 14.097560173877355);
double2x3 r3 = double2x3(578.7593849016165, 224.09539328519975, 426.02928229143345, 6.4899158508004575, 373.14909094066786, 100.25637154479341);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void double2x3_operator_mul_wide_wide()
{
double2x3 a0 = double2x3(-482.71381710596097, -407.29348559272171, 137.70058995937029, 208.54113278563182, 194.296573967811, -484.24241684574747);
double2x3 b0 = double2x3(-236.36788355389979, 260.72759139757954, -416.38629718142852, -364.49561541364324, -253.14750897751537, -369.20287220981106);
double2x3 r0 = double2x3(114098.04331156026, -106192.64949051509, -57336.638772880389, -76012.328533757158, -49185.69370281692, 178783.69114527057);
TestUtils.AreEqual(r0, a0 * b0);
double2x3 a1 = double2x3(183.98730739578014, -241.33547770294149, 45.868758938214114, 363.32610266438041, -328.11893692990714, -471.02307413100408);
double2x3 b1 = double2x3(193.54791531038836, 169.08491976982214, 201.96966442930034, 249.45608317547294, -308.19319810913555, -385.57964843585137);
double2x3 r1 = double2x3(35610.359790024842, -40806.189885013562, 9264.0978505395742, 90633.9064860661, 101124.02453259782, 181616.91132860651);
TestUtils.AreEqual(r1, a1 * b1);
double2x3 a2 = double2x3(-262.68257415605831, -379.26274674910246, -374.09058182970182, 481.44738720424812, 104.62807397946165, 412.93539948618752);
double2x3 b2 = double2x3(-183.27959522198864, 22.275629292370581, -265.52144229855458, -95.677454277722859, 133.25437146669924, 148.31146080247663);
double2x3 r2 = double2x3(48144.355863192381, -8448.3163509892329, 99329.070837727879, -46063.660376363579, 13942.148235904471, 61243.052314850727);
TestUtils.AreEqual(r2, a2 * b2);
double2x3 a3 = double2x3(477.87724731763694, 20.377821216535722, 291.99596299417124, -138.48832399141429, -393.46498483860165, 9.36312318284206);
double2x3 b3 = double2x3(249.284127113076, 500.00547503866505, -19.331578978957396, -36.691062705913112, 30.5238278054278, -401.36701054189678);
double2x3 r3 = double2x3(119127.21246477668, 10189.022177626932, -5644.7430201585421, 5081.2837796057929, -12010.057444678736, -3758.048761232847);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void double2x3_operator_mul_wide_scalar()
{
double2x3 a0 = double2x3(-96.318821236639678, -277.14229239017811, -239.93690191951436, 509.53140544776409, 255.85810172551226, 215.73149667295229);
double b0 = (-301.20720424373042);
double2x3 r0 = double2x3(29011.922860739887, 83477.255068544036, 72270.723422079071, -153474.5301092997, -77066.303503849529, -64979.880980175592);
TestUtils.AreEqual(r0, a0 * b0);
double2x3 a1 = double2x3(-455.50827500573746, -338.29248658674419, 53.796284939067618, 243.75734459783757, 135.35469991311186, -207.35010275959507);
double b1 = (-389.24327367788334);
double2x3 r1 = double2x3(177303.53215059882, 131678.07493965575, -20939.842061390889, -94880.9067942902, -52685.906501867168, 80709.6327955903);
TestUtils.AreEqual(r1, a1 * b1);
double2x3 a2 = double2x3(-383.93960946795517, 42.676120539510634, 260.38388049806645, 176.86755927692525, 25.672123205695357, -290.50059689697838);
double b2 = (-31.425238862366086);
double2x3 r2 = double2x3(12065.393936254042, -1341.1072816732492, -8182.625640561525, -5558.1052972810685, -806.752603843068, 9129.05064714747);
TestUtils.AreEqual(r2, a2 * b2);
double2x3 a3 = double2x3(207.09101805793637, -208.4020064847553, 370.94506400215676, -341.59844247512444, 10.270311121954705, -176.88876565587185);
double b3 = (-156.52330858843555);
double2x3 r3 = double2x3(-32414.571325375655, 32619.7715714625, -58061.548722166561, 53468.118424862856, -1607.5430770409582, 27687.214852581492);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void double2x3_operator_mul_scalar_wide()
{
double a0 = (37.432166355397612);
double2x3 b0 = double2x3(96.747546479454058, 492.18539427788244, -274.05458534604617, -452.87096926796761, 420.85330434369541, 102.18292694081686);
double2x3 r0 = double2x3(3621.4702542954869, 18423.565556306661, -10258.456829132712, -16951.941459168724, 15753.450899411988, 3824.9283199300971);
TestUtils.AreEqual(r0, a0 * b0);
double a1 = (-114.94887762654054);
double2x3 b1 = double2x3(-351.12003843445336, -464.66496799172131, 444.08484646495663, 447.10525605040846, 130.82935124767448, -321.41334191030512);
double2x3 r1 = double2x3(40360.854330228191, 53412.716543020746, -51047.054672101345, -51394.247363921473, -15038.687086528622, 36946.1029067851);
TestUtils.AreEqual(r1, a1 * b1);
double a2 = (445.30131861441828);
double2x3 b2 = double2x3(478.24357317306271, 358.57170622356784, -144.89011222910608, -438.89383741789209, -3.536441089369589, -471.80755470311624);
double2x3 r2 = double2x3(212962.49375283587, 159672.45359917657, -64519.758029811986, -195440.00453392946, -1574.7818802984877, -210096.52624154196);
TestUtils.AreEqual(r2, a2 * b2);
double a3 = (-42.560401697904069);
double2x3 b3 = double2x3(119.91104155402218, 271.9000023677479, 239.6840079946835, 487.44143389511919, -79.188288010278825, -112.92564468873928);
double2x3 r3 = double2x3(-5103.4620965532513, -11572.173322432418, -10201.047660817379, -20745.703230778625, 3370.2853474867875, 4806.1607999475309);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void double2x3_operator_div_wide_wide()
{
double2x3 a0 = double2x3(-353.13144390337703, -102.79985456485292, 51.319128298814917, -191.87167868012176, 8.0418245829836223, -128.73764210973758);
double2x3 b0 = double2x3(-178.73954805114283, -302.09628381491467, -199.40583739029518, 278.85077561012042, 502.33758782890516, -361.48483078623417);
double2x3 r0 = double2x3(1.97567604793504, 0.34028837848212429, -0.25736021056579439, -0.68808013268139567, 0.016008805189634039, 0.35613566917796119);
TestUtils.AreEqual(r0, a0 / b0);
double2x3 a1 = double2x3(-136.05959779399427, -370.4710053738537, -237.69456326109105, -432.54687496300176, 200.26549181727012, 361.44157068871039);
double2x3 b1 = double2x3(353.121059820578, -38.894930142394685, -75.764737402910725, -195.21784719974636, -405.03399224068687, -394.2300085473014);
double2x3 r1 = double2x3(-0.3853058151307277, 9.5249176182488586, 3.1372716570909582, 2.2157137842034547, -0.49444119667433889, -0.9168291678773689);
TestUtils.AreEqual(r1, a1 / b1);
double2x3 a2 = double2x3(-416.22613234828509, -450.01919362042992, -273.49744594911925, -286.90817011841955, -314.25606241554772, 177.76210340194507);
double2x3 b2 = double2x3(-375.82771342612227, -121.24548655433836, 447.623344391409, 338.28628007429018, -405.54420752336466, -431.16893526127978);
double2x3 r2 = double2x3(1.1074918572499153, 3.7116366671409717, -0.61099906735420106, -0.84812239519560884, 0.77489964493560781, -0.41227947763496636);
TestUtils.AreEqual(r2, a2 / b2);
double2x3 a3 = double2x3(97.626988217992221, -68.107280047660367, -386.45074027890837, 263.69934690357161, -297.0270885420158, -501.77703046322659);
double2x3 b3 = double2x3(296.20513095343722, 437.939790691221, 39.21061684527001, 331.2897075765253, -310.61955156485533, 207.26946959610541);
double2x3 r3 = double2x3(0.32959249525403717, -0.15551745124635385, -9.855767936625206, 0.79597808465769837, 0.95624080018671487, -2.420892143165184);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void double2x3_operator_div_wide_scalar()
{
double2x3 a0 = double2x3(171.34242184988341, 0.10338377957384637, 57.888263967767443, -256.13074529177078, 95.6696842162263, -290.38690461329509);
double b0 = (171.79682191265601);
double2x3 r0 = double2x3(0.99735501473360411, 0.00060177934855167557, 0.33695771157628673, -1.4908933846400916, 0.55687691513214455, -1.6902926455818372);
TestUtils.AreEqual(r0, a0 / b0);
double2x3 a1 = double2x3(-127.44869118903239, 146.46688110496234, -499.84355687529012, 58.686315802245531, -453.20579859856787, -205.03382143985192);
double b1 = (-79.7448890580539);
double2x3 r1 = double2x3(1.5982051350808244, -1.8366930198916591, 6.2680325069034382, -0.73592573135968842, 5.6831955496061468, 2.5711217842511296);
TestUtils.AreEqual(r1, a1 / b1);
double2x3 a2 = double2x3(481.73814247629514, -293.46349753693841, -158.50557930697948, -289.5822156824089, 494.12860535743118, 203.58342680874443);
double b2 = (464.47907159499778);
double2x3 r2 = double2x3(1.0371579085835463, -0.631812099798597, -0.34125451285174013, -0.62345589584477534, 1.0638339498497067, 0.4383048435522599);
TestUtils.AreEqual(r2, a2 / b2);
double2x3 a3 = double2x3(180.97040160976837, 460.84470603468117, 490.95625924084163, -280.47805536933151, -320.24387112271222, 192.41448912043802);
double b3 = (259.11918723728468);
double2x3 r3 = double2x3(0.69840602519352346, 1.778504752767186, 1.8947120993832676, -1.082428740070444, -1.2358940861814818, 0.7425713671455646);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void double2x3_operator_div_scalar_wide()
{
double a0 = (-264.44250095283729);
double2x3 b0 = double2x3(105.58908157497137, -142.34910137129441, -288.94890679463231, 39.644133824689334, -363.99138396046658, -149.71822006521666);
double2x3 r0 = double2x3(-2.5044492954044237, 1.85770404172122, 0.915187753732487, -6.670406827961755, 0.72650758398599513, 1.7662679988958405);
TestUtils.AreEqual(r0, a0 / b0);
double a1 = (-395.72912306139671);
double2x3 b1 = double2x3(258.71868693955184, -9.6662514254759344, 117.72553282497711, -331.38655797177296, -509.98602676297821, 427.8964666928614);
double2x3 r1 = double2x3(-1.5295730190291843, 40.939254075104124, -3.3614553577746666, 1.1941616626921372, 0.77596071714591563, -0.92482447008716717);
TestUtils.AreEqual(r1, a1 / b1);
double a2 = (467.61712882836218);
double2x3 b2 = double2x3(-407.12461943511136, 252.69070994699871, 444.59937664708093, -88.313306134340053, 199.95503411067421, -218.34692607556792);
double2x3 r2 = double2x3(-1.1485847490067898, 1.8505513278523131, 1.0517718948570469, -5.2949793105586425, 2.33861143285614, -2.1416245111988621);
TestUtils.AreEqual(r2, a2 / b2);
double a3 = (-13.417186028052697);
double2x3 b3 = double2x3(-296.13107575854804, 0.561349630617201, -289.29929865957206, 196.21833929615946, 334.73346845001606, -282.39273203648293);
double2x3 r3 = double2x3(0.045308267609821762, -23.901656465508974, 0.04637821830270366, -0.068378858348207977, -0.04008319242823552, 0.04751250477055232);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void double2x3_operator_mod_wide_wide()
{
double2x3 a0 = double2x3(-388.81249422059045, 181.68118842955732, -167.07872470052854, 432.82015319951813, -258.43895995730486, -170.11079629236406);
double2x3 b0 = double2x3(436.94417187056695, 58.940049437312382, -201.11623368091705, 279.2893537391393, -397.07975954426445, 377.89994758083481);
double2x3 r0 = double2x3(-388.81249422059045, 4.8610401176201776, -167.07872470052854, 153.53079946037883, -258.43895995730486, -170.11079629236406);
TestUtils.AreEqual(r0, a0 % b0);
double2x3 a1 = double2x3(283.318293464984, 122.71651297561664, 335.27101413126616, -503.60851668920765, 191.02251848532933, 289.74269379756538);
double2x3 b1 = double2x3(174.69386657266591, -228.17652736798698, -317.06019106370405, -417.48011107811709, -249.9759434433542, -397.57157177364991);
double2x3 r1 = double2x3(108.62442689231807, 122.71651297561664, 18.210823067562103, -86.128405611090557, 191.02251848532933, 289.74269379756538);
TestUtils.AreEqual(r1, a1 % b1);
double2x3 a2 = double2x3(-124.03371745163281, 259.27395761165485, -274.35845030208975, -140.03080398404541, 324.5775689205982, -200.51308903494527);
double2x3 b2 = double2x3(-358.74544947163452, -198.1592100589346, 208.73709378425826, -12.119406944196385, 25.27141596063575, -194.12068495253135);
double2x3 r2 = double2x3(-124.03371745163281, 61.114747552720246, -65.621356517831487, -6.7173275978851734, 21.3205773929692, -6.3924040824139183);
TestUtils.AreEqual(r2, a2 % b2);
double2x3 a3 = double2x3(211.42317328761476, -51.272212767634642, -230.63392483006879, 99.989400671790122, 399.18986649028489, 24.903281461868119);
double2x3 b3 = double2x3(-493.8717965995296, -312.3016990685378, -216.98060546488529, 413.57096047586344, -436.39440151508637, 3.4912750737235);
double2x3 r3 = double2x3(211.42317328761476, -51.272212767634642, -13.653319365183506, 99.989400671790122, 399.18986649028489, 0.46435594580361794);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void double2x3_operator_mod_wide_scalar()
{
double2x3 a0 = double2x3(-244.49962889612635, -211.81931958525411, -145.92677576184587, -304.91822090042672, 155.47946436492703, -133.90778428591221);
double b0 = (39.634963769295723);
double2x3 r0 = double2x3(-6.6898462803520147, -13.644500738775491, -27.021884453958705, -27.473474515356656, 36.574573057039856, -15.002892978025045);
TestUtils.AreEqual(r0, a0 % b0);
double2x3 a1 = double2x3(281.30965412841624, 335.16613046041039, 101.70649032560482, 319.47152033423606, -285.40231646476423, -355.84685985923136);
double b1 = (-226.53575311719243);
double2x3 r1 = double2x3(54.773901011223813, 108.63037734321796, 101.70649032560482, 92.935767217043633, -58.8665633475718, -129.31110674203893);
TestUtils.AreEqual(r1, a1 % b1);
double2x3 a2 = double2x3(259.37800061860025, -284.34358109363518, -102.68343811048356, -172.14173921017988, 206.41684517935698, -416.71365447375626);
double b2 = (-330.87193957477433);
double2x3 r2 = double2x3(259.37800061860025, -284.34358109363518, -102.68343811048356, -172.14173921017988, 206.41684517935698, -85.841714898981934);
TestUtils.AreEqual(r2, a2 % b2);
double2x3 a3 = double2x3(-339.256669917729, 132.55290490600885, 226.94410215455298, -306.11827268550093, 115.43844633709568, 281.88292015804109);
double b3 = (435.29751440291182);
double2x3 r3 = double2x3(-339.256669917729, 132.55290490600885, 226.94410215455298, -306.11827268550093, 115.43844633709568, 281.88292015804109);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void double2x3_operator_mod_scalar_wide()
{
double a0 = (-66.945025236785909);
double2x3 b0 = double2x3(-249.77609479137516, -396.07375664081133, 386.49204582091977, 168.93948109864232, -199.4182442163202, 261.7517141130528);
double2x3 r0 = double2x3(-66.945025236785909, -66.945025236785909, -66.945025236785909, -66.945025236785909, -66.945025236785909, -66.945025236785909);
TestUtils.AreEqual(r0, a0 % b0);
double a1 = (16.127438791155555);
double2x3 b1 = double2x3(257.66814744550186, -75.788451945310669, 170.95630439136005, -242.85828005655588, 425.94531913564788, 303.27240409668184);
double2x3 r1 = double2x3(16.127438791155555, 16.127438791155555, 16.127438791155555, 16.127438791155555, 16.127438791155555, 16.127438791155555);
TestUtils.AreEqual(r1, a1 % b1);
double a2 = (3.033060790520608);
double2x3 b2 = double2x3(-505.74352788633831, 461.95706126743789, 205.97275672013529, 270.04063642678807, -47.480711720642034, -150.254496405951);
double2x3 r2 = double2x3(3.033060790520608, 3.033060790520608, 3.033060790520608, 3.033060790520608, 3.033060790520608, 3.033060790520608);
TestUtils.AreEqual(r2, a2 % b2);
double a3 = (149.49949009227544);
double2x3 b3 = double2x3(-220.29804263836616, 31.118842377848409, 400.63568348467152, 6.2314283876826266, -39.050740021770252, -71.941097054603063);
double2x3 r3 = double2x3(149.49949009227544, 25.0241205808818, 149.49949009227544, 6.1766371755750242, 32.347270026964679, 5.6172959830693117);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void double2x3_operator_plus()
{
double2x3 a0 = double2x3(-418.82956357432045, -405.79894823851015, -34.041791216489742, 236.99924456188421, -459.83910129025537, 210.8614223985287);
double2x3 r0 = double2x3(-418.82956357432045, -405.79894823851015, -34.041791216489742, 236.99924456188421, -459.83910129025537, 210.8614223985287);
TestUtils.AreEqual(r0, +a0);
double2x3 a1 = double2x3(293.74197902052754, -386.059833944803, 4.9544198536101476, -418.64524932328857, 504.47483062393724, -170.74650843941907);
double2x3 r1 = double2x3(293.74197902052754, -386.059833944803, 4.9544198536101476, -418.64524932328857, 504.47483062393724, -170.74650843941907);
TestUtils.AreEqual(r1, +a1);
double2x3 a2 = double2x3(439.55937572920664, 116.40075665172219, 421.40964742256779, -258.5960806620289, 447.86609122150867, 124.16434031546316);
double2x3 r2 = double2x3(439.55937572920664, 116.40075665172219, 421.40964742256779, -258.5960806620289, 447.86609122150867, 124.16434031546316);
TestUtils.AreEqual(r2, +a2);
double2x3 a3 = double2x3(222.17254386757156, 239.04183947250328, 498.4495329793773, -139.382530515726, 279.07295549990283, 108.7758186370022);
double2x3 r3 = double2x3(222.17254386757156, 239.04183947250328, 498.4495329793773, -139.382530515726, 279.07295549990283, 108.7758186370022);
TestUtils.AreEqual(r3, +a3);
}
[TestCompiler]
public static void double2x3_operator_neg()
{
double2x3 a0 = double2x3(148.46174890755753, -467.12267873581624, 132.04719954917539, 183.52262290917463, 473.7010145009034, -407.99109024926605);
double2x3 r0 = double2x3(-148.46174890755753, 467.12267873581624, -132.04719954917539, -183.52262290917463, -473.7010145009034, 407.99109024926605);
TestUtils.AreEqual(r0, -a0);
double2x3 a1 = double2x3(-54.958759571872065, -299.09338893512887, -383.01406377508027, 407.70980305583669, 168.73550351370852, 466.44152829909763);
double2x3 r1 = double2x3(54.958759571872065, 299.09338893512887, 383.01406377508027, -407.70980305583669, -168.73550351370852, -466.44152829909763);
TestUtils.AreEqual(r1, -a1);
double2x3 a2 = double2x3(171.90249474900895, -78.85761622286293, 318.69633522569029, -39.91539694737429, 140.34000284054321, 132.19563180403577);
double2x3 r2 = double2x3(-171.90249474900895, 78.85761622286293, -318.69633522569029, 39.91539694737429, -140.34000284054321, -132.19563180403577);
TestUtils.AreEqual(r2, -a2);
double2x3 a3 = double2x3(-505.89525127126615, -237.05693375182193, -137.617827241131, -245.34998547534923, 422.52133222227974, -434.57134386271764);
double2x3 r3 = double2x3(505.89525127126615, 237.05693375182193, 137.617827241131, 245.34998547534923, -422.52133222227974, 434.57134386271764);
TestUtils.AreEqual(r3, -a3);
}
[TestCompiler]
public static void double2x3_operator_prefix_inc()
{
double2x3 a0 = double2x3(-139.84208137348389, -56.743654039103376, -381.955324589254, 509.79634380237962, -222.89634452708827, 210.31986556310198);
double2x3 r0 = double2x3(-138.84208137348389, -55.743654039103376, -380.955324589254, 510.79634380237962, -221.89634452708827, 211.31986556310198);
TestUtils.AreEqual(r0, ++a0);
double2x3 a1 = double2x3(-392.73151058365193, 362.21273939787068, 401.614830919362, 130.90919429199266, -450.23016402229212, 243.54693114177644);
double2x3 r1 = double2x3(-391.73151058365193, 363.21273939787068, 402.614830919362, 131.90919429199266, -449.23016402229212, 244.54693114177644);
TestUtils.AreEqual(r1, ++a1);
double2x3 a2 = double2x3(46.19202735190845, 299.18547000511808, 154.35656530892311, -281.23327435237974, 200.70599922943211, 92.957765384091886);
double2x3 r2 = double2x3(47.19202735190845, 300.18547000511808, 155.35656530892311, -280.23327435237974, 201.70599922943211, 93.957765384091886);
TestUtils.AreEqual(r2, ++a2);
double2x3 a3 = double2x3(448.60215565590283, 18.499063262016989, -215.71113381893895, 471.94723651928234, 257.07660090973445, 41.625937719655212);
double2x3 r3 = double2x3(449.60215565590283, 19.499063262016989, -214.71113381893895, 472.94723651928234, 258.07660090973445, 42.625937719655212);
TestUtils.AreEqual(r3, ++a3);
}
[TestCompiler]
public static void double2x3_operator_postfix_inc()
{
double2x3 a0 = double2x3(-396.6697396695007, 511.20749378167443, 249.11127030528678, -128.81731301584153, -259.49027669592306, 278.00817764830219);
double2x3 r0 = double2x3(-396.6697396695007, 511.20749378167443, 249.11127030528678, -128.81731301584153, -259.49027669592306, 278.00817764830219);
TestUtils.AreEqual(r0, a0++);
double2x3 a1 = double2x3(-81.393423356764686, 167.85212691493894, 147.94395048354932, -326.10758486674524, 41.033564825092185, 128.5304239394751);
double2x3 r1 = double2x3(-81.393423356764686, 167.85212691493894, 147.94395048354932, -326.10758486674524, 41.033564825092185, 128.5304239394751);
TestUtils.AreEqual(r1, a1++);
double2x3 a2 = double2x3(73.155582223625629, -446.22976490772783, -296.93783797739906, 267.29380071689081, 446.22930714405572, 49.200223230384381);
double2x3 r2 = double2x3(73.155582223625629, -446.22976490772783, -296.93783797739906, 267.29380071689081, 446.22930714405572, 49.200223230384381);
TestUtils.AreEqual(r2, a2++);
double2x3 a3 = double2x3(-326.64314738225335, 471.64748762159024, -171.01308186865089, 310.72735967800361, -298.91717185588425, 489.98497008252184);
double2x3 r3 = double2x3(-326.64314738225335, 471.64748762159024, -171.01308186865089, 310.72735967800361, -298.91717185588425, 489.98497008252184);
TestUtils.AreEqual(r3, a3++);
}
[TestCompiler]
public static void double2x3_operator_prefix_dec()
{
double2x3 a0 = double2x3(123.12869626056806, 256.8437465433235, 156.33078844674435, 461.73742530389563, 325.86799755965728, 392.01561731473339);
double2x3 r0 = double2x3(122.12869626056806, 255.8437465433235, 155.33078844674435, 460.73742530389563, 324.86799755965728, 391.01561731473339);
TestUtils.AreEqual(r0, --a0);
double2x3 a1 = double2x3(187.87412580655609, 125.10963517292851, 469.8447313112415, 45.536655685648611, 376.04684680329956, -363.07547991493504);
double2x3 r1 = double2x3(186.87412580655609, 124.10963517292851, 468.8447313112415, 44.536655685648611, 375.04684680329956, -364.07547991493504);
TestUtils.AreEqual(r1, --a1);
double2x3 a2 = double2x3(-22.028951416736902, 168.0950144120003, 168.26565011230559, -190.284744112885, 166.9455474200405, 183.95795854551625);
double2x3 r2 = double2x3(-23.028951416736902, 167.0950144120003, 167.26565011230559, -191.284744112885, 165.9455474200405, 182.95795854551625);
TestUtils.AreEqual(r2, --a2);
double2x3 a3 = double2x3(485.69469259944492, 89.569894117102876, -267.42982090051743, 201.75623450137505, -141.21688682456357, -217.48409782046645);
double2x3 r3 = double2x3(484.69469259944492, 88.569894117102876, -268.42982090051743, 200.75623450137505, -142.21688682456357, -218.48409782046645);
TestUtils.AreEqual(r3, --a3);
}
[TestCompiler]
public static void double2x3_operator_postfix_dec()
{
double2x3 a0 = double2x3(379.68831723727669, 302.69287814884115, -176.07134040448409, -291.25267066212962, 470.56758401848731, -402.92594666170231);
double2x3 r0 = double2x3(379.68831723727669, 302.69287814884115, -176.07134040448409, -291.25267066212962, 470.56758401848731, -402.92594666170231);
TestUtils.AreEqual(r0, a0--);
double2x3 a1 = double2x3(-63.655158787805192, -27.889220489137415, -100.76183824462902, 156.14034969924967, 479.94519613680677, -200.30429491787419);
double2x3 r1 = double2x3(-63.655158787805192, -27.889220489137415, -100.76183824462902, 156.14034969924967, 479.94519613680677, -200.30429491787419);
TestUtils.AreEqual(r1, a1--);
double2x3 a2 = double2x3(-445.0269393609031, 327.67032519340069, 48.0602071509046, -209.66798100698179, -38.435048836485976, 283.941595924991);
double2x3 r2 = double2x3(-445.0269393609031, 327.67032519340069, 48.0602071509046, -209.66798100698179, -38.435048836485976, 283.941595924991);
TestUtils.AreEqual(r2, a2--);
double2x3 a3 = double2x3(-94.802087112703418, -287.262531175866, -215.94803939384781, -407.04635567546188, 159.23357136511879, -359.45648663093175);
double2x3 r3 = double2x3(-94.802087112703418, -287.262531175866, -215.94803939384781, -407.04635567546188, 159.23357136511879, -359.45648663093175);
TestUtils.AreEqual(r3, a3--);
}
}
}

View File

@@ -0,0 +1,945 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using NUnit.Framework;
using static Unity.Mathematics.math;
using Burst.Compiler.IL.Tests;
namespace Unity.Mathematics.Tests
{
[TestFixture]
public class TestDouble2x4
{
[TestCompiler]
public static void double2x4_zero()
{
TestUtils.AreEqual(0.0, double2x4.zero.c0.x);
TestUtils.AreEqual(0.0, double2x4.zero.c0.y);
TestUtils.AreEqual(0.0, double2x4.zero.c1.x);
TestUtils.AreEqual(0.0, double2x4.zero.c1.y);
TestUtils.AreEqual(0.0, double2x4.zero.c2.x);
TestUtils.AreEqual(0.0, double2x4.zero.c2.y);
TestUtils.AreEqual(0.0, double2x4.zero.c3.x);
TestUtils.AreEqual(0.0, double2x4.zero.c3.y);
}
[TestCompiler]
public static void double2x4_operator_equal_wide_wide()
{
double2x4 a0 = double2x4(492.15758275061728, -495.20632027797694, 227.45765195947968, -147.37405950733182, -222.68201909897942, 64.093720704360749, -23.890404473939157, -16.8197190839889);
double2x4 b0 = double2x4(192.56880888369346, -235.61102472786376, -254.04311740307281, -412.62472052715009, 471.90480945627428, -6.4727852374654162, -339.10237447316865, 488.1875700839737);
bool2x4 r0 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
double2x4 a1 = double2x4(163.23210890741655, -165.27101071424363, 470.87767980568003, -423.94255967808078, 109.63436918595539, 462.69031283943468, -335.38147727371262, 357.23446934168896);
double2x4 b1 = double2x4(-379.5965842584132, -308.41700258311675, -82.333374300195544, -102.92108087563935, 226.51573835430463, -356.90132896830391, -362.91277544708589, -427.89843746083716);
bool2x4 r1 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
double2x4 a2 = double2x4(1.5455777652308598, -347.38824741327585, -114.47217302884542, 435.84865804940864, 194.23808607563285, 138.76554710174241, -467.34914205379278, 370.43337767684523);
double2x4 b2 = double2x4(466.65013978753711, -102.79904680270658, -43.355954428834821, 85.045664111639212, -91.127054972167628, 422.19208856215334, -477.43130873024057, 1.8770024785198984);
bool2x4 r2 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
double2x4 a3 = double2x4(476.70826147343416, 320.55264702465047, -498.59197377534207, 92.4169581366782, 104.51136856177425, 166.75460608618084, -204.73343024250744, 434.75675674656259);
double2x4 b3 = double2x4(312.5800799394865, 254.59934365684137, 352.72583763335172, 62.490957050812881, 119.71476059766246, -511.05808639482507, -302.47273053902791, -371.76924365189359);
bool2x4 r3 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void double2x4_operator_equal_wide_scalar()
{
double2x4 a0 = double2x4(-303.2300766926399, 451.52631327674089, -253.65587413201848, -105.20363502632995, -500.6910920090466, -426.19248338518315, 159.87609656149334, -59.558379439431405);
double b0 = (123.5445759871717);
bool2x4 r0 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
double2x4 a1 = double2x4(-57.477391031327386, 406.51375861024189, 370.88599866017978, -172.03530629539642, 455.40001198993991, -11.338988547836891, 363.93823044557973, -27.150561106927);
double b1 = (-182.04973968400139);
bool2x4 r1 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
double2x4 a2 = double2x4(-325.97606507221985, 180.19686635779067, -374.12832015293105, -439.35894295170851, -126.54608899287234, -197.2617896521752, -227.15933357326281, -479.8991937487848);
double b2 = (-290.35904254129116);
bool2x4 r2 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
double2x4 a3 = double2x4(-439.77767750237962, -224.51705013239621, -422.83322616239695, -450.19627043707123, -20.106708774392814, 297.37999906082632, 185.9665759475746, -102.97598962810633);
double b3 = (-495.23734902555);
bool2x4 r3 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void double2x4_operator_equal_scalar_wide()
{
double a0 = (-253.39728534100453);
double2x4 b0 = double2x4(19.952187785856495, -185.79199346610903, 407.8136052600172, -87.2766969610363, -206.27469382354741, 160.503138855334, -274.77081478516141, -2.6315281403397535);
bool2x4 r0 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
double a1 = (448.35453602688131);
double2x4 b1 = double2x4(-410.03524251004461, 247.32901465489022, 355.53915350303942, -298.06671180299793, 414.10151429385951, -481.30262707234482, 196.55074438664633, 34.60100008668428);
bool2x4 r1 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
double a2 = (113.76156645350227);
double2x4 b2 = double2x4(-386.45337861890596, -124.49174672201821, 243.8866447153905, -492.6181826501238, 145.424413033493, 421.55070968230757, -95.409988209330493, 336.80928746648567);
bool2x4 r2 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
double a3 = (209.58380589707929);
double2x4 b3 = double2x4(487.441424358376, 161.80653365040507, 149.84247095409899, 225.723996505944, -71.21880176999548, 85.780251781353854, 192.547256797807, -49.887493395194156);
bool2x4 r3 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void double2x4_operator_not_equal_wide_wide()
{
double2x4 a0 = double2x4(430.8425316432689, 104.69001798736394, 225.80243478799355, -310.57017841496048, -418.61945815506363, 304.12820281839379, -509.32682561749908, -160.53807719076895);
double2x4 b0 = double2x4(210.02470622305975, -55.203330304102678, -269.92533672504373, -234.54673372700194, 25.917412054686565, -63.726991444699024, -484.55371092471933, -425.333599050219);
bool2x4 r0 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
double2x4 a1 = double2x4(-203.30197606016975, -505.76325368590807, 162.17220623892365, 1.1561973100324394, 65.662074358045174, 102.78780250567377, 172.93008120960098, 26.621009123800832);
double2x4 b1 = double2x4(-53.274394775402925, 328.1944192984115, 15.963139303011417, 461.71412417931208, -113.36304455313973, -240.07297264787974, 495.11916970420589, 203.5583661550462);
bool2x4 r1 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
double2x4 a2 = double2x4(235.12595259171258, 128.54198533321824, -354.99697630246959, 334.35948220564023, -495.83200692377613, 468.30740163675853, 458.37094733601941, 299.93733300824522);
double2x4 b2 = double2x4(340.49345103860526, -241.90719448863865, 459.56982896270688, 213.0737384357833, -384.7828506831, -255.07233846144396, 477.66343115161328, -248.03662621604121);
bool2x4 r2 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
double2x4 a3 = double2x4(43.12718560319729, -354.71349994964595, -145.28719551176169, 390.80186218340032, -303.13149108697263, 391.13459533785215, 139.2868607692825, 104.52318506339714);
double2x4 b3 = double2x4(-407.92344565313471, -199.78886971240343, 151.84326488889906, -97.120607659742518, 154.97589380805186, -172.83452065886672, 441.5027942329192, -401.73862785926957);
bool2x4 r3 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void double2x4_operator_not_equal_wide_scalar()
{
double2x4 a0 = double2x4(-16.914588697680529, 168.83411486858233, -462.71352145760949, 130.30776959765137, 214.50161443208424, -440.26328178879959, -197.12796053529155, -169.09985860115842);
double b0 = (-145.37277109239847);
bool2x4 r0 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
double2x4 a1 = double2x4(-386.61117595555783, -270.26885593601912, -403.96372313236992, -269.80570877241234, 299.65422763473089, -71.750904831919286, -432.75573917513515, -457.36312100727258);
double b1 = (-281.02101362916687);
bool2x4 r1 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
double2x4 a2 = double2x4(-13.519590622521719, 185.042454567292, -482.53069351731364, 116.39514427836764, 511.73495578753523, 230.50753628020527, 100.27476768394683, 129.68240863163135);
double b2 = (273.87305773136814);
bool2x4 r2 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
double2x4 a3 = double2x4(321.17879048044733, 140.33521921016984, 369.2123617461009, 453.81121489676241, -333.66624871532724, -373.93775218256644, 150.20429451307484, -442.16476627912596);
double b3 = (-220.63900409482375);
bool2x4 r3 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void double2x4_operator_not_equal_scalar_wide()
{
double a0 = (275.79582823244664);
double2x4 b0 = double2x4(-57.196896341255353, -382.4325279586169, 97.820359990848374, -161.46364529499022, -458.39563367254829, -499.61786364932448, 327.92217818271467, 367.57121699283425);
bool2x4 r0 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
double a1 = (59.7863667289663);
double2x4 b1 = double2x4(-209.58068118318016, -62.580453186566217, -479.97497604786184, -49.494519495169868, -114.68521338081229, 109.93924599044919, -176.28482755286842, -347.48529903380449);
bool2x4 r1 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
double a2 = (85.540928165214609);
double2x4 b2 = double2x4(-356.65954868712441, -104.24357490625397, -133.54918605347592, 243.53971135036079, 13.141311890045813, -379.98594754747393, -41.281226892620907, 87.911684792447659);
bool2x4 r2 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
double a3 = (-339.07727996403224);
double2x4 b3 = double2x4(-371.82034533648766, 333.14425936953364, 294.81196011920088, -187.14565977228136, 220.19225774528093, -228.18207250730234, -499.72373914146971, 97.4059055305114);
bool2x4 r3 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void double2x4_operator_less_wide_wide()
{
double2x4 a0 = double2x4(196.84256825076534, 336.40979997087732, 251.96372115424072, 257.65591466503963, 430.04588647840819, -62.419644146421774, 8.8392293494376872, -333.81671563434259);
double2x4 b0 = double2x4(-465.34502313348696, -256.15239751346053, -314.814018634527, 364.56673662949663, 100.21050290959442, 182.56098636545289, 3.116978885194726, -259.43047893207074);
bool2x4 r0 = bool2x4(false, false, false, true, false, true, false, true);
TestUtils.AreEqual(r0, a0 < b0);
double2x4 a1 = double2x4(164.67880662003472, -350.94487516532877, 3.84143662631584, 125.40972024081725, -111.12994127680076, 70.005523475820951, 448.19828173527412, -419.98711200244122);
double2x4 b1 = double2x4(-437.33490749696966, -456.0437321402336, -394.2559718537405, 401.91369099259077, 313.43916454605721, 121.28668194696616, -28.012290729215522, -282.96589697663012);
bool2x4 r1 = bool2x4(false, false, false, true, true, true, false, true);
TestUtils.AreEqual(r1, a1 < b1);
double2x4 a2 = double2x4(-258.30166757213965, -34.832201735504043, -69.859397682295821, 67.767227442826766, -139.77729207825723, 385.43464130229995, 133.707390609061, 506.18837117878184);
double2x4 b2 = double2x4(330.06440631023816, 124.09937077579059, -183.69031700104955, 373.0607623406969, 109.75094013556418, -203.57134232463841, 45.6486556742567, -360.95226280808089);
bool2x4 r2 = bool2x4(true, true, false, true, true, false, false, false);
TestUtils.AreEqual(r2, a2 < b2);
double2x4 a3 = double2x4(34.442885653322037, 412.11373896715872, -84.809773246203463, 444.78534504621541, -78.754743374304269, 366.97754376334024, 127.18045788965208, 428.36845489422251);
double2x4 b3 = double2x4(211.91309867236441, -313.28636207863985, -259.66108691862837, 79.0985401045059, 446.49610897828643, 450.52455660818362, -375.63076728192658, -53.941822792376286);
bool2x4 r3 = bool2x4(true, false, false, false, true, true, false, false);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void double2x4_operator_less_wide_scalar()
{
double2x4 a0 = double2x4(-132.05731708000292, -192.46500477216438, -66.834607870706634, -379.01750081545561, -360.28242199508588, 20.927834282129879, -158.24074537970159, 437.34587522845061);
double b0 = (-156.01021845452965);
bool2x4 r0 = bool2x4(false, true, false, true, true, false, true, false);
TestUtils.AreEqual(r0, a0 < b0);
double2x4 a1 = double2x4(-20.452607402788772, 307.48418607725023, 274.01523292903562, 373.54965584983563, 398.52368301829495, 105.0301654827922, -58.010895994496934, 109.67008810381878);
double b1 = (225.29148517609178);
bool2x4 r1 = bool2x4(true, false, false, false, false, true, true, true);
TestUtils.AreEqual(r1, a1 < b1);
double2x4 a2 = double2x4(-108.853174498702, 140.42607147080173, -500.08827638071415, 172.10334857371788, -197.50074610370245, -7.27149987559369, -432.99049898283113, 62.158315449095426);
double b2 = (-44.971252223929014);
bool2x4 r2 = bool2x4(true, false, true, false, true, false, true, false);
TestUtils.AreEqual(r2, a2 < b2);
double2x4 a3 = double2x4(-72.254720959931035, -500.25573586870718, 149.1149638393498, 119.88061695912882, 202.63918909925928, 274.95066393304182, 66.4120323967245, 274.99944580486022);
double b3 = (-377.85232299279994);
bool2x4 r3 = bool2x4(false, true, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void double2x4_operator_less_scalar_wide()
{
double a0 = (-423.117411095238);
double2x4 b0 = double2x4(385.09483617595151, -123.93348532725753, 86.376572887588509, 133.44217378154497, 161.45794947513286, 229.75426660746064, 222.57159934871436, 315.53116360098647);
bool2x4 r0 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 < b0);
double a1 = (-447.20351883731945);
double2x4 b1 = double2x4(271.83385790131695, -393.60531324595462, 317.48689737798964, -164.6051085761772, -282.87605370342544, 296.97953071118309, -254.40115582868509, 365.61562054493265);
bool2x4 r1 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 < b1);
double a2 = (-441.98425671178114);
double2x4 b2 = double2x4(-131.42866021554391, 442.62897631275882, -29.792842163607872, -138.37379533535511, 9.2169721169476588, -226.7305482489665, 171.02944310523083, 376.62522595777421);
bool2x4 r2 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 < b2);
double a3 = (-462.58872697436658);
double2x4 b3 = double2x4(-142.36729795409707, -456.25377414014832, 66.6102416825529, 169.37875779409831, 327.44439450253003, 64.0879266560487, -153.50390369887646, 199.38014921889646);
bool2x4 r3 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void double2x4_operator_greater_wide_wide()
{
double2x4 a0 = double2x4(483.50140141113729, 310.81563415695712, 106.9661896726891, 295.73526038589671, 116.95757179938141, -478.29977653841479, -14.897393471979228, -33.817441717636484);
double2x4 b0 = double2x4(-471.39802454011425, -371.98528617060992, 36.900723236101044, -316.76360407320954, 19.683055648432628, 207.3091381561519, 362.79748861994483, 324.95341816775192);
bool2x4 r0 = bool2x4(true, true, true, true, true, false, false, false);
TestUtils.AreEqual(r0, a0 > b0);
double2x4 a1 = double2x4(-24.740548383789417, 319.78262701620474, -120.15856581561201, -289.00857962714906, 455.85146662958505, 144.70691139283917, 63.931990891663304, -285.68304099034663);
double2x4 b1 = double2x4(340.94807140014507, 25.986035120666997, -114.2111352021858, 240.80346428640348, 273.42244757033063, 325.51576224226312, 27.341068995809678, 64.479532510265472);
bool2x4 r1 = bool2x4(false, true, false, false, true, false, true, false);
TestUtils.AreEqual(r1, a1 > b1);
double2x4 a2 = double2x4(-502.0907201720824, -337.19446412529538, 474.31734274063137, -507.14510679018923, -133.56559735795742, -443.10913654934109, -464.34137056038776, -68.361549647693323);
double2x4 b2 = double2x4(200.94836983501375, 100.12266998184964, -79.00710896356361, -315.137945560337, -122.98542815213347, -163.77920229908972, -492.56600617457462, -90.797273439726439);
bool2x4 r2 = bool2x4(false, false, true, false, false, false, true, true);
TestUtils.AreEqual(r2, a2 > b2);
double2x4 a3 = double2x4(-185.99299987870876, -157.80389340119615, -74.124229227250567, -94.471165939453613, 329.61055508703487, -315.83675280019486, 404.193811843262, 131.30440503512716);
double2x4 b3 = double2x4(-284.9012335673446, -23.653687249707843, 174.93002112905026, 85.7125366133231, -441.98783012944637, 345.54374210235835, 482.21949814363359, -422.38349719642827);
bool2x4 r3 = bool2x4(true, false, false, false, true, false, false, true);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void double2x4_operator_greater_wide_scalar()
{
double2x4 a0 = double2x4(64.317918092160426, -397.70346445483318, 431.87690826499693, 85.702980796668157, 246.26305233978803, 197.49155602114809, 286.1994608781298, 280.81334818564972);
double b0 = (305.85991992888034);
bool2x4 r0 = bool2x4(false, false, true, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 > b0);
double2x4 a1 = double2x4(-405.78459210218148, -241.80727326209063, 333.57817498481745, 370.27919524269146, -413.70138116073861, -356.5923551789449, -353.03129522550444, 396.64532608382649);
double b1 = (171.56538661362856);
bool2x4 r1 = bool2x4(false, false, true, true, false, false, false, true);
TestUtils.AreEqual(r1, a1 > b1);
double2x4 a2 = double2x4(467.22205541432936, 502.91505193287276, 315.46759024051369, -259.28970134411458, 281.23064554912537, 428.79219909608, 245.15306460352292, -279.17542494422543);
double b2 = (-240.0134228393498);
bool2x4 r2 = bool2x4(true, true, true, false, true, true, true, false);
TestUtils.AreEqual(r2, a2 > b2);
double2x4 a3 = double2x4(-453.86309668694764, -425.65293451103054, 99.132852838902181, 355.0605339273161, -456.43941256796916, 154.48902208846482, 405.52974409867534, -157.73379643155903);
double b3 = (-124.77154856769909);
bool2x4 r3 = bool2x4(false, false, true, true, false, true, true, false);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void double2x4_operator_greater_scalar_wide()
{
double a0 = (-282.67049635698572);
double2x4 b0 = double2x4(358.09997360692353, -72.5964134077525, -232.16380106292843, -60.706723956720282, 75.156642710397364, 150.88350040786133, 339.53917924479538, -498.19602965665797);
bool2x4 r0 = bool2x4(false, false, false, false, false, false, false, true);
TestUtils.AreEqual(r0, a0 > b0);
double a1 = (459.74610326241054);
double2x4 b1 = double2x4(-227.96872316485678, 335.86213485145106, 76.178844248959308, 296.85993899817572, 177.49000390688423, -281.20120657663847, 244.72285162877427, 137.32857257562159);
bool2x4 r1 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 > b1);
double a2 = (-385.33824724021287);
double2x4 b2 = double2x4(443.16345879210326, -353.56254141105455, 26.040673983302327, -331.7939499969566, -43.691963454565041, 20.949428806523542, -211.17984423934473, 227.42171894173214);
bool2x4 r2 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 > b2);
double a3 = (-84.7797711290325);
double2x4 b3 = double2x4(-375.13548701588786, -205.17813096064054, -197.04714617368165, -219.63402305340117, -210.01563344244641, -266.773715858708, 144.77848703450456, -471.71120069535039);
bool2x4 r3 = bool2x4(true, true, true, true, true, true, false, true);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void double2x4_operator_less_equal_wide_wide()
{
double2x4 a0 = double2x4(-438.52313753521219, 210.48942837980087, 4.8773329280677444, -137.29793817237857, 156.09410174009111, -363.92412035722475, -97.948485181642923, 437.29539009430232);
double2x4 b0 = double2x4(-474.8141498392514, 304.3710555063426, 234.8241737982371, -390.48543209139513, -297.17535295019638, -326.29239121372461, 107.2538764976216, -413.13107342884462);
bool2x4 r0 = bool2x4(false, true, true, false, false, true, true, false);
TestUtils.AreEqual(r0, a0 <= b0);
double2x4 a1 = double2x4(458.53029153241323, -294.06474675520542, 23.622613679441884, -34.284056441059363, 149.736484835733, -418.8866781754823, -197.50252899783783, -88.2055118494693);
double2x4 b1 = double2x4(67.094432623635271, 470.07522724106684, -84.499104777583455, 392.78422683886447, -263.53175485484849, 369.30090039284005, -333.32529298091555, 238.41347443238533);
bool2x4 r1 = bool2x4(false, true, false, true, false, true, false, true);
TestUtils.AreEqual(r1, a1 <= b1);
double2x4 a2 = double2x4(-376.71814292330208, 341.62712899857536, -83.309179106405566, -107.49073295830317, 319.46688833807912, 205.35738501574724, 345.56372968552807, 395.32190746596177);
double2x4 b2 = double2x4(486.24259279959028, 279.65021408705513, 236.05201803709008, 132.75898248178839, 66.294708998079727, 183.00210699020056, 200.13055071613314, 339.043800750302);
bool2x4 r2 = bool2x4(true, false, true, true, false, false, false, false);
TestUtils.AreEqual(r2, a2 <= b2);
double2x4 a3 = double2x4(-222.87415490992095, 439.02200790821666, -368.0755667016262, -200.03860173003682, 71.46990660180802, -357.36542932939039, 141.7108519737194, 319.0170969064427);
double2x4 b3 = double2x4(438.53791710293751, 145.40187866306019, 178.16310199450845, 157.97596724237133, 329.7052015409364, -243.59091221708383, 5.4011614347813293, -22.580605278993289);
bool2x4 r3 = bool2x4(true, false, true, true, true, true, false, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void double2x4_operator_less_equal_wide_scalar()
{
double2x4 a0 = double2x4(193.4958237118534, 168.91555197952107, -313.9930695565385, 81.826965131716292, 18.503590830836288, -0.35819602029312136, 241.36115776810846, -463.81641242644582);
double b0 = (443.85054299042122);
bool2x4 r0 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 <= b0);
double2x4 a1 = double2x4(-1.3577692515020203, 398.9919504593089, -471.253072242836, -264.93778264938749, 82.258299150624453, 11.246050124636895, 424.7040156911612, 426.48223157715154);
double b1 = (-268.89945591096739);
bool2x4 r1 = bool2x4(false, false, true, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 <= b1);
double2x4 a2 = double2x4(56.319978501796754, 31.901173844887467, -152.2575724833913, -437.92645975478297, -37.104814785115821, -47.144214413661587, 333.6230348710078, -274.80387438219225);
double b2 = (-196.28791126808522);
bool2x4 r2 = bool2x4(false, false, false, true, false, false, false, true);
TestUtils.AreEqual(r2, a2 <= b2);
double2x4 a3 = double2x4(358.67627804292192, 192.30916008367626, 145.30606777281787, -466.13296363602063, -494.26732968458316, -111.57013922164691, -139.54120332540072, -146.58935148389514);
double b3 = (-260.46056926458169);
bool2x4 r3 = bool2x4(false, false, false, true, true, false, false, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void double2x4_operator_less_equal_scalar_wide()
{
double a0 = (393.60626644343427);
double2x4 b0 = double2x4(-75.688363825757222, -44.2638714519627, 125.86491566797019, 191.96488174794467, 13.543054825413492, -197.0519259893577, -423.945100743298, -330.04861680141119);
bool2x4 r0 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 <= b0);
double a1 = (420.16553779140372);
double2x4 b1 = double2x4(105.54730777887039, 174.82126363311954, 296.71757831085358, -469.70041845259277, 123.26718979853536, 112.9969695140594, 495.14339493920249, -488.65789364681478);
bool2x4 r1 = bool2x4(false, false, false, false, false, false, true, false);
TestUtils.AreEqual(r1, a1 <= b1);
double a2 = (388.53941148730894);
double2x4 b2 = double2x4(-493.24077080806751, 16.451064832718657, -387.6516336815672, -229.1773127192526, -373.01533930982248, -391.142134610164, 90.994149488859875, -178.39613517485378);
bool2x4 r2 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 <= b2);
double a3 = (-69.621067317957568);
double2x4 b3 = double2x4(471.7908458522478, -67.4667532758167, 45.305359623071467, -154.69219000390365, 385.73888248286153, -431.652945004242, -331.67304841227508, -349.89271013340573);
bool2x4 r3 = bool2x4(true, true, true, false, true, false, false, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void double2x4_operator_greater_equal_wide_wide()
{
double2x4 a0 = double2x4(-507.92858409692, 504.49748181947393, -385.43449205226938, -262.32340944107784, -37.550928848586466, -111.59527759980193, -463.70202157632542, 387.44885772627265);
double2x4 b0 = double2x4(-81.346509732933043, 297.66615047010885, 171.06540616371922, -431.03805538222105, -6.859075311040101, 319.72570362674333, 254.079170106947, 396.5724000393285);
bool2x4 r0 = bool2x4(false, true, false, true, false, false, false, false);
TestUtils.AreEqual(r0, a0 >= b0);
double2x4 a1 = double2x4(456.96878573716094, -211.01015506079892, 182.41135391146474, -53.596053863687473, -309.57021608463032, -136.02249127999994, 280.73629082401112, -96.9958942388165);
double2x4 b1 = double2x4(178.83927615864172, -447.06336304501787, 288.49268569075161, 474.88929460704765, -321.75022831640683, -395.97722048125104, -158.69246037243516, 391.48869318118727);
bool2x4 r1 = bool2x4(true, true, false, false, true, true, true, false);
TestUtils.AreEqual(r1, a1 >= b1);
double2x4 a2 = double2x4(-174.05950673579213, 88.9019382413951, 43.816040774721728, -446.07842585354967, 16.645595796706857, 409.83252043734888, -191.32987245886113, 222.99782548798146);
double2x4 b2 = double2x4(-368.10924141859135, 89.1238043723273, -510.27932214656812, -486.92979525352354, -81.215552606254619, 274.21882046117389, -212.88155494112596, 288.99530591117);
bool2x4 r2 = bool2x4(true, false, true, true, true, true, true, false);
TestUtils.AreEqual(r2, a2 >= b2);
double2x4 a3 = double2x4(404.28838915577546, 230.60328136691976, -441.78928228923553, -86.293056289801882, 484.24954413075443, 95.2363665547391, -204.91210255628084, -199.77434620623211);
double2x4 b3 = double2x4(307.73173131967508, 307.24516620638087, -199.39178213821339, -284.42126978767163, -482.39181278757371, 448.3157362641374, -378.3461889598268, -390.8584684761513);
bool2x4 r3 = bool2x4(true, false, false, true, true, false, true, true);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void double2x4_operator_greater_equal_wide_scalar()
{
double2x4 a0 = double2x4(465.15218732559686, -424.8860745024337, -209.22109685150025, 58.779852656079356, -302.26910533675414, 140.12558252183976, 16.353385694489475, -344.55997316192838);
double b0 = (-5.5998842742293391);
bool2x4 r0 = bool2x4(true, false, false, true, false, true, true, false);
TestUtils.AreEqual(r0, a0 >= b0);
double2x4 a1 = double2x4(393.27804846003562, 441.0115565923096, -509.78156757251435, -36.994287269652943, 494.82028865014217, -164.97393830352183, -466.12009046325466, -123.8137477020797);
double b1 = (-315.70155086913218);
bool2x4 r1 = bool2x4(true, true, false, true, true, true, false, true);
TestUtils.AreEqual(r1, a1 >= b1);
double2x4 a2 = double2x4(215.65121779947128, 314.34603014325069, 190.51609882643265, -83.111429014760745, -23.836435567511444, 143.04935962662535, -264.91997945724052, -169.70222457205051);
double b2 = (104.99569730879534);
bool2x4 r2 = bool2x4(true, true, true, false, false, true, false, false);
TestUtils.AreEqual(r2, a2 >= b2);
double2x4 a3 = double2x4(329.70751610850334, -260.42331016269668, 354.19514219565087, -111.84533768140028, 33.309096113456917, 355.63126938214123, -435.36056753404466, -38.39930893778768);
double b3 = (359.09582035573931);
bool2x4 r3 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void double2x4_operator_greater_equal_scalar_wide()
{
double a0 = (374.82703393270594);
double2x4 b0 = double2x4(-1.609757185731894, 338.61524049314448, -116.18140392945213, -332.15732375353451, -355.9793509710484, -468.90144107719021, 38.579884785497484, -332.34754697063357);
bool2x4 r0 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 >= b0);
double a1 = (2.8901150240051265);
double2x4 b1 = double2x4(467.77776477661814, 121.40638762405445, -305.02337303060267, -58.428812292604164, -226.51955209789776, -47.020994446715804, 305.3026770582901, -427.40123315686418);
bool2x4 r1 = bool2x4(false, false, true, true, true, true, false, true);
TestUtils.AreEqual(r1, a1 >= b1);
double a2 = (92.263649745035764);
double2x4 b2 = double2x4(-497.17853736187266, -408.62564225151465, -455.23049113491106, 396.42608637196292, -469.29488561548987, -485.7540130493017, -182.34619268325446, -291.54536284671417);
bool2x4 r2 = bool2x4(true, true, true, false, true, true, true, true);
TestUtils.AreEqual(r2, a2 >= b2);
double a3 = (278.740809331993);
double2x4 b3 = double2x4(-75.87113932327884, 28.907059921374071, 287.72014988945807, 420.50978990109161, 473.62684152723614, 181.514540518408, -369.20287220981106, 243.74977385427326);
bool2x4 r3 = bool2x4(true, true, false, false, false, true, true, true);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void double2x4_operator_add_wide_wide()
{
double2x4 a0 = double2x4(506.12905263627374, -501.77980803967444, 420.08479638587903, -186.03206476291274, -9.3123953385801883, 328.51179686585056, 424.34407659263536, 87.791079800478656);
double2x4 b0 = double2x4(-28.757987751047096, -337.135153689019, -340.676816860529, 152.31202633320913, 423.66745420157326, 90.374096674087468, 376.18866246574964, 1.7671887882831925);
double2x4 r0 = double2x4(477.37106488522664, -838.91496172869347, 79.407979525350015, -33.720038429703607, 414.35505886299308, 418.885893539938, 800.532739058385, 89.558268588761848);
TestUtils.AreEqual(r0, a0 + b0);
double2x4 a1 = double2x4(462.41368148402012, -46.178705952213477, 401.17006296718966, -454.12414643453627, 69.195687564646732, -177.95734485329939, 299.60415544156183, 340.7048587001417);
double2x4 b1 = double2x4(-120.18586045139745, -279.62936628965167, -344.66710273580026, 242.8391956029642, 418.5930504363929, -23.312797318823982, -95.099945827899489, 147.92812568877275);
double2x4 r1 = double2x4(342.22782103262267, -325.80807224186515, 56.502960231389409, -211.28495083157208, 487.78873800103963, -201.27014217212337, 204.50420961366234, 488.63298438891445);
TestUtils.AreEqual(r1, a1 + b1);
double2x4 a2 = double2x4(219.91602740991675, -321.90838232725321, 286.35534037573041, -333.41949311523672, -118.93216973120911, 68.607509406566351, 23.190902005504313, -205.57787547147734);
double2x4 b2 = double2x4(331.03287926830023, -82.502564230236487, 279.44956291813844, 342.6227215931857, -300.35853185335105, -209.69408736456842, 446.55942150883345, -351.98918955027557);
double2x4 r2 = double2x4(550.948906678217, -404.41094655748969, 565.80490329386885, 9.2032284779489828, -419.29070158456017, -141.08657795800207, 469.75032351433777, -557.56706502175291);
TestUtils.AreEqual(r2, a2 + b2);
double2x4 a3 = double2x4(11.521422629953122, -340.7950796283759, -68.931167873056211, 304.8532370556394, -86.633841316510825, 105.66915874633435, 349.28052799277032, 364.7078708916473);
double2x4 b3 = double2x4(-263.12385642860261, -252.4585670216282, 289.82535542632706, 338.79615537207394, -232.61900364263869, -510.50825405051387, 349.2807325559113, -426.2124495106807);
double2x4 r3 = double2x4(-251.60243379864949, -593.25364665000416, 220.89418755327085, 643.64939242771334, -319.25284495914951, -404.83909530417952, 698.56126054868162, -61.504578619033396);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void double2x4_operator_add_wide_scalar()
{
double2x4 a0 = double2x4(-194.51420387742769, 338.54838696985894, 246.97140252169754, 100.51093797595752, -45.724677822424439, -478.11131094308166, 30.916145577522116, 60.37435224483454);
double b0 = (124.121678171736);
double2x4 r0 = double2x4(-70.3925257056917, 462.67006514159493, 371.09308069343354, 224.63261614769351, 78.397000349311554, -353.98963277134567, 155.03782374925811, 184.49603041657053);
TestUtils.AreEqual(r0, a0 + b0);
double2x4 a1 = double2x4(-242.1187475855084, 6.7993848355483806, -484.69981287638649, -188.26501068298938, -213.52673087526426, -267.78430688929944, 189.25996669999324, 198.53359684652355);
double b1 = (82.50134495762245);
double2x4 r1 = double2x4(-159.61740262788595, 89.300729793170831, -402.19846791876404, -105.76366572536693, -131.02538591764181, -185.282961931677, 271.76131165761569, 281.034941804146);
TestUtils.AreEqual(r1, a1 + b1);
double2x4 a2 = double2x4(187.53610023648298, 302.10236730338181, 300.39907970111778, 124.02158909850823, -200.16134295247559, 31.37822701007974, 362.52213518811493, -423.98885961248953);
double b2 = (-424.92567582844089);
double2x4 r2 = double2x4(-237.38957559195791, -122.82330852505908, -124.5265961273231, -300.90408672993266, -625.08701878091642, -393.54744881836115, -62.403540640325957, -848.91453544093042);
TestUtils.AreEqual(r2, a2 + b2);
double2x4 a3 = double2x4(432.41331907380993, -465.69948957194549, -311.04303779781003, 84.918990413154916, -432.44245716204978, 235.75065886031405, -472.63775394514096, -257.57773721291579);
double b3 = (374.21141474983256);
double2x4 r3 = double2x4(806.62473382364249, -91.488074822112935, 63.168376952022527, 459.13040516298747, -58.231042412217221, 609.9620736101466, -98.4263391953084, 116.63367753691676);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void double2x4_operator_add_scalar_wide()
{
double a0 = (-340.35468284243473);
double2x4 b0 = double2x4(511.36225652665007, -146.21663791789518, -106.21042661844308, -363.45024960276214, 199.08958325120136, -27.108407271610758, 419.84900041103788, 284.95503748811552);
double2x4 r0 = double2x4(171.00757368421534, -486.57132076032991, -446.56510946087781, -703.80493244519687, -141.26509959123337, -367.46309011404549, 79.494317568603151, -55.399645354319205);
TestUtils.AreEqual(r0, a0 + b0);
double a1 = (-164.92418129971446);
double2x4 b1 = double2x4(-249.19032561461921, 150.92817718858282, 298.17509784278229, -457.15341803857751, 424.71807094324288, -301.85750283946163, 230.28885208363124, -423.58759351428023);
double2x4 r1 = double2x4(-414.11450691433367, -13.99600411113164, 133.25091654306783, -622.077599338292, 259.79388964352842, -466.78168413917609, 65.364670783916779, -588.51177481399463);
TestUtils.AreEqual(r1, a1 + b1);
double a2 = (-67.060037882560891);
double2x4 b2 = double2x4(68.7241366229598, -164.02241833695325, 318.93515339444161, 7.8045504129512437, 187.69836029210046, -3.6569664495331153, -446.0830535581722, -209.28724227160552);
double2x4 r2 = double2x4(1.6640987403989129, -231.08245621951414, 251.87511551188072, -59.255487469609648, 120.63832240953957, -70.717004332094, -513.14309144073309, -276.34728015416641);
TestUtils.AreEqual(r2, a2 + b2);
double a3 = (-38.212905186327589);
double2x4 b3 = double2x4(-346.25717870623674, 465.60741708502519, -192.18595108398512, 278.69379843338106, 381.97845548297209, 481.24367283342576, -97.228162095522578, -455.51374289743313);
double2x4 r3 = double2x4(-384.47008389256433, 427.3945118986976, -230.39885627031271, 240.48089324705347, 343.76555029664451, 443.03076764709817, -135.44106728185017, -493.72664808376072);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void double2x4_operator_sub_wide_wide()
{
double2x4 a0 = double2x4(160.4922617229131, 11.223957305412682, 359.20010607279846, -498.22830485656311, -355.25362913462038, -94.534852787170053, -410.46404786150163, -401.38464398001537);
double2x4 b0 = double2x4(115.46876078260539, -130.98230630298252, 241.54083716196044, 9.9870860623135513, 419.89512582304656, 59.124466208333388, -402.38163847587145, -75.370143687059226);
double2x4 r0 = double2x4(45.023500940307713, 142.2062636083952, 117.65926891083802, -508.21539091887666, -775.14875495766694, -153.65931899550344, -8.0824093856301715, -326.01450029295614);
TestUtils.AreEqual(r0, a0 - b0);
double2x4 a1 = double2x4(317.70681944382693, 447.0604133303558, -489.07414482956477, -230.00838218909149, 24.875419389864192, 366.61447136784648, -107.3741567634857, -219.0081404275299);
double2x4 b1 = double2x4(320.97960796997859, -73.908757482612884, -31.444742455819949, -389.25194734579509, -375.02884000122026, 259.18275821357167, 276.648654351313, -453.06919905779381);
double2x4 r1 = double2x4(-3.2727885261516576, 520.96917081296874, -457.62940237374482, 159.2435651567036, 399.90425939108445, 107.4317131542748, -384.02281111479869, 234.06105863026391);
TestUtils.AreEqual(r1, a1 - b1);
double2x4 a2 = double2x4(473.90756891384137, 259.63620793988753, -360.119631219711, 7.8096120393879573, 437.42847439154446, -59.1991718091067, 418.74433322378638, 183.14215072576985);
double2x4 b2 = double2x4(-272.57653225240136, -191.14805301984217, 87.136884968325944, 430.02477594373033, 343.65711538105143, 121.02942067060133, -354.1881703595576, 249.05200373802893);
double2x4 r2 = double2x4(746.48410116624268, 450.78426095972969, -447.25651618803693, -422.21516390434238, 93.771359010493029, -180.22859247970803, 772.932503583344, -65.909853012259077);
TestUtils.AreEqual(r2, a2 - b2);
double2x4 a3 = double2x4(271.23036516421962, 496.20853709439211, 165.35493691514944, -227.40367113212295, -166.52285702830312, 356.14227430715334, 386.92636579411396, -394.63875717420075);
double2x4 b3 = double2x4(-2.2254426489702723, 22.447240601502017, 478.1129555544411, -320.0629958212669, -111.52409534879217, 222.22894607401872, -245.41106307013473, -119.90228348593337);
double2x4 r3 = double2x4(273.45580781318989, 473.7612964928901, -312.75801863929166, 92.659324689143943, -54.998761679510949, 133.91332823313462, 632.33742886424875, -274.73647368826738);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void double2x4_operator_sub_wide_scalar()
{
double2x4 a0 = double2x4(207.38960108877609, 248.45773684627272, -384.82393211164697, -205.34476122881506, -374.81156152058929, 191.64204820973896, 18.856238135535364, -44.96160151667965);
double b0 = (-36.112476604111691);
double2x4 r0 = double2x4(243.50207769288778, 284.57021345038441, -348.71145550753528, -169.23228462470337, -338.6990849164776, 227.75452481385065, 54.968714739647055, -8.8491249125679587);
TestUtils.AreEqual(r0, a0 - b0);
double2x4 a1 = double2x4(480.85798738936796, -366.86545269883493, -35.523088233323335, 349.39776460705218, 439.07729336203886, 490.2222661870635, 195.02405104181923, -384.84940952102158);
double b1 = (16.338193185784917);
double2x4 r1 = double2x4(464.51979420358305, -383.20364588461985, -51.861281419108252, 333.05957142126726, 422.73910017625394, 473.88407300127858, 178.68585785603432, -401.1876027068065);
TestUtils.AreEqual(r1, a1 - b1);
double2x4 a2 = double2x4(189.05188545447402, -54.931482579061537, 53.088051582261983, 316.80250730961677, -273.80670917863335, 256.88723695319482, 297.17363156805447, 101.82901363346218);
double b2 = (55.602777745389744);
double2x4 r2 = double2x4(133.44910770908427, -110.53426032445128, -2.5147261631277615, 261.199729564227, -329.4094869240231, 201.28445920780507, 241.57085382266473, 46.226235888072438);
TestUtils.AreEqual(r2, a2 - b2);
double2x4 a3 = double2x4(136.60794765157993, 336.58969966349639, -51.876563334780087, 317.34576311583896, -467.05592773251976, -50.167055391784345, 477.804535373023, -60.821922092149919);
double b3 = (-19.732211837420323);
double2x4 r3 = double2x4(156.34015948900026, 356.32191150091671, -32.144351497359764, 337.07797495325929, -447.32371589509944, -30.434843554364022, 497.53674721044331, -41.089710254729596);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void double2x4_operator_sub_scalar_wide()
{
double a0 = (-86.008225719448262);
double2x4 b0 = double2x4(466.42511413359318, 298.48694219183506, -300.95010652251085, 315.38003006362362, -381.09218543632522, -125.00837546447684, 58.466194418476107, 214.74609361158036);
double2x4 r0 = double2x4(-552.43333985304139, -384.49516791128332, 214.94188080306259, -401.38825578307188, 295.08395971687696, 39.00014974502858, -144.47442013792437, -300.75431933102863);
TestUtils.AreEqual(r0, a0 - b0);
double a1 = (-257.54942739082009);
double2x4 b1 = double2x4(480.22459505508868, -443.35507723472784, 260.79503858312728, 29.681931747906788, 139.85773164586055, -247.78996216868512, -248.4662297929014, 91.445112509394562);
double2x4 r1 = double2x4(-737.77402244590871, 185.80564984390776, -518.34446597394731, -287.23135913872687, -397.40715903668064, -9.7594652221349634, -9.0831975979186836, -348.99453990021465);
TestUtils.AreEqual(r1, a1 - b1);
double a2 = (86.384162704639266);
double2x4 b2 = double2x4(373.81828206303453, 260.41195428576873, 114.35393171867076, -464.40545318294573, -109.74146156652898, -311.67535057276268, 107.86401586787031, -258.7951592219971);
double2x4 r2 = double2x4(-287.43411935839526, -174.02779158112946, -27.9697690140315, 550.789615887585, 196.12562427116825, 398.05951327740195, -21.479853163231041, 345.17932192663636);
TestUtils.AreEqual(r2, a2 - b2);
double a3 = (14.097560173877355);
double2x4 b3 = double2x4(-461.97019527012958, 30.310863747406188, 63.701105862716759, -462.67674634544028, 39.759483117498235, 47.998150132595583, -177.61928113625351, 202.47706017386031);
double2x4 r3 = double2x4(476.06775544400693, -16.213303573528833, -49.603545688839404, 476.77430651931763, -25.66192294362088, -33.900589958718228, 191.71684131013086, -188.37949999998295);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void double2x4_operator_mul_wide_wide()
{
double2x4 a0 = double2x4(-482.71381710596097, -407.29348559272171, 137.70058995937029, 208.54113278563182, 194.296573967811, -484.24241684574747, 183.98730739578014, -241.33547770294149);
double2x4 b0 = double2x4(-236.36788355389979, 260.72759139757954, -416.38629718142852, -364.49561541364324, -253.14750897751537, -369.20287220981106, 193.54791531038836, 169.08491976982214);
double2x4 r0 = double2x4(114098.04331156026, -106192.64949051509, -57336.638772880389, -76012.328533757158, -49185.69370281692, 178783.69114527057, 35610.359790024842, -40806.189885013562);
TestUtils.AreEqual(r0, a0 * b0);
double2x4 a1 = double2x4(45.868758938214114, 363.32610266438041, -328.11893692990714, -471.02307413100408, -262.68257415605831, -379.26274674910246, -374.09058182970182, 481.44738720424812);
double2x4 b1 = double2x4(201.96966442930034, 249.45608317547294, -308.19319810913555, -385.57964843585137, -183.27959522198864, 22.275629292370581, -265.52144229855458, -95.677454277722859);
double2x4 r1 = double2x4(9264.0978505395742, 90633.9064860661, 101124.02453259782, 181616.91132860651, 48144.355863192381, -8448.3163509892329, 99329.070837727879, -46063.660376363579);
TestUtils.AreEqual(r1, a1 * b1);
double2x4 a2 = double2x4(104.62807397946165, 412.93539948618752, 477.87724731763694, 20.377821216535722, 291.99596299417124, -138.48832399141429, -393.46498483860165, 9.36312318284206);
double2x4 b2 = double2x4(133.25437146669924, 148.31146080247663, 249.284127113076, 500.00547503866505, -19.331578978957396, -36.691062705913112, 30.5238278054278, -401.36701054189678);
double2x4 r2 = double2x4(13942.148235904471, 61243.052314850727, 119127.21246477668, 10189.022177626932, -5644.7430201585421, 5081.2837796057929, -12010.057444678736, -3758.048761232847);
TestUtils.AreEqual(r2, a2 * b2);
double2x4 a3 = double2x4(-131.94228917543882, 364.44964258952518, 390.61597866128011, 418.79794974755396, -277.34480942289565, 11.410165553637853, 474.87644956767394, -502.40503358394142);
double2x4 b3 = double2x4(3.4372422711165882, 257.24176681099539, -290.97193516929258, 337.47938100317469, 490.28616284312966, -191.01981481864107, -325.73449650673871, -52.181983733634468);
double2x4 r3 = double2x4(-453.51761370170692, 93751.669973365249, -113658.28721911977, 141335.67284620318, -135978.32239641057, -2179.56771110594, -154683.64120283397, 26216.491290173308);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void double2x4_operator_mul_wide_scalar()
{
double2x4 a0 = double2x4(-96.318821236639678, -277.14229239017811, -239.93690191951436, 509.53140544776409, 255.85810172551226, 215.73149667295229, -455.50827500573746, -389.24327367788334);
double b0 = (-301.20720424373042);
double2x4 r0 = double2x4(29011.922860739887, 83477.255068544036, 72270.723422079071, -153474.5301092997, -77066.303503849529, -64979.880980175592, 137202.37402436248, 117242.87823519246);
TestUtils.AreEqual(r0, a0 * b0);
double2x4 a1 = double2x4(-338.29248658674419, 243.75734459783757, 135.35469991311186, -207.35010275959507, -383.93960946795517, -31.425238862366086, 42.676120539510634, 260.38388049806645);
double b1 = (53.796284939067618);
double2x4 r1 = double2x4(-18198.879001166202, 13113.239565975766, 7281.5800043677564, -11154.665210200128, -20654.52463033246, -1690.5611041181071, 2295.81674063751, 14007.685428814115);
TestUtils.AreEqual(r1, a1 * b1);
double2x4 a2 = double2x4(176.86755927692525, -290.50059689697838, 207.09101805793637, -156.52330858843555, -208.4020064847553, 370.94506400215676, -341.59844247512444, 10.270311121954705);
double b2 = (25.672123205695357);
double2x4 r2 = double2x4(4540.5657728478518, -7457.7671148672716, 5316.4661303762241, -4018.2856626453918, -5350.1219867907612, 9522.9473856079185, -8769.5573020950324, 263.66069248364448);
TestUtils.AreEqual(r2, a2 * b2);
double2x4 a3 = double2x4(-176.88876565587185, 186.27978214355176, -487.65221785365242, -129.37681800191143, -317.71628990663044, -207.62735686433842, 388.87138933170183, -233.33533274072005);
double b3 = (-61.006107120311867);
double2x4 r3 = double2x4(10791.294985981862, -11364.204343797875, 29749.763439837578, 7892.7760179097013, 19382.634015911957, 12666.53677397305, -23723.529633594302, 14234.88030413398);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void double2x4_operator_mul_scalar_wide()
{
double a0 = (37.432166355397612);
double2x4 b0 = double2x4(96.747546479454058, 492.18539427788244, -274.05458534604617, -452.87096926796761, 420.85330434369541, 102.18292694081686, -114.94887762654054, -351.12003843445336);
double2x4 r0 = double2x4(3621.4702542954869, 18423.565556306661, -10258.456829132712, -16951.941459168724, 15753.450899411988, 3824.9283199300971, -4302.785509682908, -13143.183689392061);
TestUtils.AreEqual(r0, a0 * b0);
double a1 = (-464.66496799172131);
double2x4 b1 = double2x4(444.08484646495663, 447.10525605040846, 130.82935124767448, -321.41334191030512, 445.30131861441828, 478.24357317306271, 358.57170622356784, -144.89011222910608);
double2x4 r1 = double2x4(-206350.67096824755, -207754.14949159342, -60791.816309878326, 149349.52023086412, -206915.92296063996, -222223.03462070762, -166615.71039511106, 67325.359361254479);
TestUtils.AreEqual(r1, a1 * b1);
double a2 = (-438.89383741789209);
double2x4 b2 = double2x4(-3.536441089369589, -471.80755470311624, -42.560401697904069, 119.91104155402218, 271.9000023677479, 239.6840079946835, 487.44143389511919, -79.188288010278825);
double2x4 r2 = double2x4(1552.1222005157297, 207073.42820640272, 18679.498023240089, -52628.217176421109, -119335.23543311482, -105195.83403648737, -213935.04143870863, 34755.251603384531);
TestUtils.AreEqual(r2, a2 * b2);
double a3 = (-112.92564468873928);
double2x4 b3 = double2x4(161.3700478828373, 459.75914332818195, -337.19599811043406, -276.83451689259823, 469.72386405883537, -274.56515110403541, 506.78586625810055, 65.882571966332648);
double2x4 r3 = double2x4(-18222.81669062213, -51918.597661877429, 38078.075473083678, 31261.716292192341, -53043.870174529715, 31005.446697484316, -57229.120666337207, -7439.831913050376);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void double2x4_operator_div_wide_wide()
{
double2x4 a0 = double2x4(-353.13144390337703, -102.79985456485292, 51.319128298814917, -191.87167868012176, 8.0418245829836223, -128.73764210973758, -136.05959779399427, -370.4710053738537);
double2x4 b0 = double2x4(-178.73954805114283, -302.09628381491467, -199.40583739029518, 278.85077561012042, 502.33758782890516, -361.48483078623417, 353.121059820578, -38.894930142394685);
double2x4 r0 = double2x4(1.97567604793504, 0.34028837848212429, -0.25736021056579439, -0.68808013268139567, 0.016008805189634039, 0.35613566917796119, -0.3853058151307277, 9.5249176182488586);
TestUtils.AreEqual(r0, a0 / b0);
double2x4 a1 = double2x4(-237.69456326109105, -432.54687496300176, 200.26549181727012, 361.44157068871039, -416.22613234828509, -450.01919362042992, -273.49744594911925, -286.90817011841955);
double2x4 b1 = double2x4(-75.764737402910725, -195.21784719974636, -405.03399224068687, -394.2300085473014, -375.82771342612227, -121.24548655433836, 447.623344391409, 338.28628007429018);
double2x4 r1 = double2x4(3.1372716570909582, 2.2157137842034547, -0.49444119667433889, -0.9168291678773689, 1.1074918572499153, 3.7116366671409717, -0.61099906735420106, -0.84812239519560884);
TestUtils.AreEqual(r1, a1 / b1);
double2x4 a2 = double2x4(-314.25606241554772, 177.76210340194507, 97.626988217992221, -68.107280047660367, -386.45074027890837, 263.69934690357161, -297.0270885420158, -501.77703046322659);
double2x4 b2 = double2x4(-405.54420752336466, -431.16893526127978, 296.20513095343722, 437.939790691221, 39.21061684527001, 331.2897075765253, -310.61955156485533, 207.26946959610541);
double2x4 r2 = double2x4(0.77489964493560781, -0.41227947763496636, 0.32959249525403717, -0.15551745124635385, -9.855767936625206, 0.79597808465769837, 0.95624080018671487, -2.420892143165184);
TestUtils.AreEqual(r2, a2 / b2);
double2x4 a3 = double2x4(-263.40686071263946, -451.08085248017721, -416.34552903489464, -315.27873411554788, -28.181118739853218, -397.87015146662952, -261.38664376986526, 40.348221559239619);
double2x4 b3 = double2x4(-223.2929938879297, -480.091406807346, 448.67593666942605, -460.0974516626901, -220.56984601755153, -84.853158275062754, 441.3738078742166, 72.418480191574645);
double2x4 r3 = double2x4(1.1796467776541293, 0.93957285234474042, -0.92794263076704353, 0.68524338262731188, 0.12776505605218016, 4.6889256635195675, -0.59221149761645042, 0.55715366371267527);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void double2x4_operator_div_wide_scalar()
{
double2x4 a0 = double2x4(171.34242184988341, 0.10338377957384637, 57.888263967767443, -256.13074529177078, 95.6696842162263, -290.38690461329509, -127.44869118903239, -79.7448890580539);
double b0 = (171.79682191265601);
double2x4 r0 = double2x4(0.99735501473360411, 0.00060177934855167557, 0.33695771157628673, -1.4908933846400916, 0.55687691513214455, -1.6902926455818372, -0.74185709473618289, -0.46418139852783397);
TestUtils.AreEqual(r0, a0 / b0);
double2x4 a1 = double2x4(146.46688110496234, 58.686315802245531, -453.20579859856787, -205.03382143985192, 481.73814247629514, 464.47907159499778, -293.46349753693841, -158.50557930697948);
double b1 = (-499.84355687529012);
double2x4 r1 = double2x4(-0.29302544584265894, -0.11740936738109768, 0.906695289685692, 0.41019598756377973, -0.96377783778552883, -0.92924889239071318, 0.587110693936897, 0.31711037809081188);
TestUtils.AreEqual(r1, a1 / b1);
double2x4 a2 = double2x4(-289.5822156824089, 203.58342680874443, 180.97040160976837, 259.11918723728468, 460.84470603468117, 490.95625924084163, -280.47805536933151, -320.24387112271222);
double b2 = (494.12860535743118);
double2x4 r2 = double2x4(-0.58604624897791069, 0.41200494082199718, 0.3662414999812898, 0.5243962491300197, 0.93264122141102535, 0.99357991809785062, -0.5676215712434739, -0.64809822311554233);
TestUtils.AreEqual(r2, a2 / b2);
double2x4 a3 = double2x4(192.41448912043802, 226.85298524929817, -192.23568949114332, 460.97652957447644, -437.89221760159927, -413.23271794488312, 249.47184693509337, 313.03501739773662);
double b3 = (264.80085885934568);
double2x4 r3 = double2x4(0.72663846314276059, 0.85669278501017143, -0.7259632401466386, 1.74084227505974, -1.6536661530776777, -1.5605414564171789, 0.94211116991733534, 1.1821525758872689);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void double2x4_operator_div_scalar_wide()
{
double a0 = (-264.44250095283729);
double2x4 b0 = double2x4(105.58908157497137, -142.34910137129441, -288.94890679463231, 39.644133824689334, -363.99138396046658, -149.71822006521666, -395.72912306139671, 258.71868693955184);
double2x4 r0 = double2x4(-2.5044492954044237, 1.85770404172122, 0.915187753732487, -6.670406827961755, 0.72650758398599513, 1.7662679988958405, 0.66824119212426392, -1.0221236976771717);
TestUtils.AreEqual(r0, a0 / b0);
double a1 = (-9.6662514254759344);
double2x4 b1 = double2x4(117.72553282497711, -331.38655797177296, -509.98602676297821, 427.8964666928614, 467.61712882836218, -407.12461943511136, 252.69070994699871, 444.59937664708093);
double2x4 r1 = double2x4(-0.082108368452634473, 0.029169111398595994, 0.018953953477569365, -0.022590164158598314, -0.020671294590288436, 0.023742733708631857, -0.0382532916524846, -0.021741486680375892);
TestUtils.AreEqual(r1, a1 / b1);
double a2 = (-88.313306134340053);
double2x4 b2 = double2x4(199.95503411067421, -218.34692607556792, -13.417186028052697, -296.13107575854804, 0.561349630617201, -289.29929865957206, 196.21833929615946, 334.73346845001606);
double2x4 r2 = double2x4(-0.44166583015588912, 0.40446324444144272, 6.5821034268805914, 0.29822370350063077, -157.32317492974929, 0.30526622962284194, -0.45007671785992226, -0.26383171824220319);
TestUtils.AreEqual(r2, a2 / b2);
double a3 = (-282.39273203648293);
double2x4 b3 = double2x4(-479.50358436978587, -473.43943927876626, 105.0507777226394, -287.63127841038227, 77.299297130340392, -210.89436421678141, -184.0682357214709, -315.14843645465953);
double2x4 r3 = double2x4(0.588927259861119, 0.59647065412775435, -2.6881546063568527, 0.98178728543414817, -3.6532380308752153, 1.3390245542370554, 1.5341741660619548, 0.89606261485327354);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void double2x4_operator_mod_wide_wide()
{
double2x4 a0 = double2x4(-388.81249422059045, 181.68118842955732, -167.07872470052854, 432.82015319951813, -258.43895995730486, -170.11079629236406, 283.318293464984, 122.71651297561664);
double2x4 b0 = double2x4(436.94417187056695, 58.940049437312382, -201.11623368091705, 279.2893537391393, -397.07975954426445, 377.89994758083481, 174.69386657266591, -228.17652736798698);
double2x4 r0 = double2x4(-388.81249422059045, 4.8610401176201776, -167.07872470052854, 153.53079946037883, -258.43895995730486, -170.11079629236406, 108.62442689231807, 122.71651297561664);
TestUtils.AreEqual(r0, a0 % b0);
double2x4 a1 = double2x4(335.27101413126616, -503.60851668920765, 191.02251848532933, 289.74269379756538, -124.03371745163281, 259.27395761165485, -274.35845030208975, -140.03080398404541);
double2x4 b1 = double2x4(-317.06019106370405, -417.48011107811709, -249.9759434433542, -397.57157177364991, -358.74544947163452, -198.1592100589346, 208.73709378425826, -12.119406944196385);
double2x4 r1 = double2x4(18.210823067562103, -86.128405611090557, 191.02251848532933, 289.74269379756538, -124.03371745163281, 61.114747552720246, -65.621356517831487, -6.7173275978851734);
TestUtils.AreEqual(r1, a1 % b1);
double2x4 a2 = double2x4(324.5775689205982, -200.51308903494527, 211.42317328761476, -51.272212767634642, -230.63392483006879, 99.989400671790122, 399.18986649028489, 24.903281461868119);
double2x4 b2 = double2x4(25.27141596063575, -194.12068495253135, -493.8717965995296, -312.3016990685378, -216.98060546488529, 413.57096047586344, -436.39440151508637, 3.4912750737235);
double2x4 r2 = double2x4(21.3205773929692, -6.3924040824139183, 211.42317328761476, -51.272212767634642, -13.653319365183506, 99.989400671790122, 399.18986649028489, 0.46435594580361794);
TestUtils.AreEqual(r2, a2 % b2);
double2x4 a3 = double2x4(50.92402961241271, -364.86367886367429, -252.62662398658068, -281.28977955565313, -364.79852192699843, -329.02623311105475, 51.6098087074281, 41.647804041229051);
double2x4 b3 = double2x4(-308.23343076754054, -441.37506195594324, 84.6008532441225, 373.16344922276369, 67.252760203207231, -320.33327522889397, 118.97936325845274, 44.823946258436877);
double2x4 r3 = double2x4(50.92402961241271, -364.86367886367429, -83.424917498335674, -281.28977955565313, -28.534720910962278, -8.6929578821607834, 51.6098087074281, 41.647804041229051);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void double2x4_operator_mod_wide_scalar()
{
double2x4 a0 = double2x4(-244.49962889612635, -211.81931958525411, -145.92677576184587, -304.91822090042672, 155.47946436492703, -133.90778428591221, 281.30965412841624, -226.53575311719243);
double b0 = (39.634963769295723);
double2x4 r0 = double2x4(-6.6898462803520147, -13.644500738775491, -27.021884453958705, -27.473474515356656, 36.574573057039856, -15.002892978025045, 3.86490774334618, -28.360934270713813);
TestUtils.AreEqual(r0, a0 % b0);
double2x4 a1 = double2x4(335.16613046041039, 319.47152033423606, -285.40231646476423, -355.84685985923136, 259.37800061860025, -330.87193957477433, -284.34358109363518, -102.68343811048356);
double b1 = (101.70649032560482);
double2x4 r1 = double2x4(30.046659483595931, 14.352049357421606, -81.98933581355459, -50.7273888824169, 55.965019967390617, -25.752468597959876, -80.930600442425543, -0.976947784878746);
TestUtils.AreEqual(r1, a1 % b1);
double2x4 a2 = double2x4(-172.14173921017988, -416.71365447375626, -339.256669917729, 435.29751440291182, 132.55290490600885, 226.94410215455298, -306.11827268550093, 115.43844633709568);
double b2 = (206.41684517935698);
double2x4 r2 = double2x4(-172.14173921017988, -3.8799641150422985, -132.83982473837204, 22.46382404419785, 132.55290490600885, 20.527256975195996, -99.701427506143943, 115.43844633709568);
TestUtils.AreEqual(r2, a2 % b2);
double2x4 a3 = double2x4(281.88292015804109, -140.04050237501065, -462.32346961569203, -211.60869822819188, 351.33104555277669, 321.04701176334504, 346.08518497370426, -94.407745643708722);
double b3 = (-218.3474491659307);
double2x4 r3 = double2x4(63.53547099211039, -140.04050237501065, -25.628571283830638, -211.60869822819188, 132.983596386846, 102.69956259741434, 127.73773580777356, -94.407745643708722);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void double2x4_operator_mod_scalar_wide()
{
double a0 = (-66.945025236785909);
double2x4 b0 = double2x4(-249.77609479137516, -396.07375664081133, 386.49204582091977, 168.93948109864232, -199.4182442163202, 261.7517141130528, 16.127438791155555, 257.66814744550186);
double2x4 r0 = double2x4(-66.945025236785909, -66.945025236785909, -66.945025236785909, -66.945025236785909, -66.945025236785909, -66.945025236785909, -2.4352700721636893, -66.945025236785909);
TestUtils.AreEqual(r0, a0 % b0);
double a1 = (-75.788451945310669);
double2x4 b1 = double2x4(170.95630439136005, -242.85828005655588, 425.94531913564788, 303.27240409668184, 3.033060790520608, -505.74352788633831, 461.95706126743789, 205.97275672013529);
double2x4 r1 = double2x4(-75.788451945310669, -75.788451945310669, -75.788451945310669, -75.788451945310669, -2.9949929728160782, -75.788451945310669, -75.788451945310669, -75.788451945310669);
TestUtils.AreEqual(r1, a1 % b1);
double a2 = (270.04063642678807);
double2x4 b2 = double2x4(-47.480711720642034, -150.254496405951, 149.49949009227544, -220.29804263836616, 31.118842377848409, 400.63568348467152, 6.2314283876826266, -39.050740021770252);
double2x4 r2 = double2x4(32.6370778235779, 119.78614002083708, 120.54114633451263, 49.742593788421914, 21.089897404000794, 270.04063642678807, 2.0892157564351237, 35.736196296166554);
TestUtils.AreEqual(r2, a2 % b2);
double a3 = (-71.941097054603063);
double2x4 b3 = double2x4(-495.30713843521994, -86.71961859926563, -436.97006365143233, -472.2947320753218, -130.00875359867177, -251.51684605866524, 281.97637022751212, 388.86081928241106);
double2x4 r3 = double2x4(-71.941097054603063, -71.941097054603063, -71.941097054603063, -71.941097054603063, -71.941097054603063, -71.941097054603063, -71.941097054603063, -71.941097054603063);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void double2x4_operator_plus()
{
double2x4 a0 = double2x4(-418.82956357432045, -405.79894823851015, -34.041791216489742, 236.99924456188421, -459.83910129025537, 210.8614223985287, 293.74197902052754, -373.015422279488);
double2x4 r0 = double2x4(-418.82956357432045, -405.79894823851015, -34.041791216489742, 236.99924456188421, -459.83910129025537, 210.8614223985287, 293.74197902052754, -373.015422279488);
TestUtils.AreEqual(r0, +a0);
double2x4 a1 = double2x4(-386.059833944803, -418.64524932328857, 504.47483062393724, -170.74650843941907, 439.55937572920664, -478.74939916969714, 116.40075665172219, 421.40964742256779);
double2x4 r1 = double2x4(-386.059833944803, -418.64524932328857, 504.47483062393724, -170.74650843941907, 439.55937572920664, -478.74939916969714, 116.40075665172219, 421.40964742256779);
TestUtils.AreEqual(r1, +a1);
double2x4 a2 = double2x4(-258.5960806620289, 124.16434031546316, 222.17254386757156, -65.949277193261878, 239.04183947250328, 498.4495329793773, -139.382530515726, 279.07295549990283);
double2x4 r2 = double2x4(-258.5960806620289, 124.16434031546316, 222.17254386757156, -65.949277193261878, 239.04183947250328, 498.4495329793773, -139.382530515726, 279.07295549990283);
TestUtils.AreEqual(r2, +a2);
double2x4 a3 = double2x4(108.7758186370022, 136.81214934997831, -236.03003965878395, -440.3083276414817, 342.2791270419392, 102.4722116470673, -161.454825714908, -355.27087919566355);
double2x4 r3 = double2x4(108.7758186370022, 136.81214934997831, -236.03003965878395, -440.3083276414817, 342.2791270419392, 102.4722116470673, -161.454825714908, -355.27087919566355);
TestUtils.AreEqual(r3, +a3);
}
[TestCompiler]
public static void double2x4_operator_neg()
{
double2x4 a0 = double2x4(148.46174890755753, -467.12267873581624, 132.04719954917539, 183.52262290917463, 473.7010145009034, -407.99109024926605, -54.958759571872065, -382.98981803608581);
double2x4 r0 = double2x4(-148.46174890755753, 467.12267873581624, -132.04719954917539, -183.52262290917463, -473.7010145009034, 407.99109024926605, 54.958759571872065, 382.98981803608581);
TestUtils.AreEqual(r0, -a0);
double2x4 a1 = double2x4(-299.09338893512887, 407.70980305583669, 168.73550351370852, 466.44152829909763, 171.90249474900895, -280.55831564616335, -78.85761622286293, 318.69633522569029);
double2x4 r1 = double2x4(299.09338893512887, -407.70980305583669, -168.73550351370852, -466.44152829909763, -171.90249474900895, 280.55831564616335, 78.85761622286293, -318.69633522569029);
TestUtils.AreEqual(r1, -a1);
double2x4 a2 = double2x4(-39.91539694737429, 132.19563180403577, -505.89525127126615, 410.38058466947666, -237.05693375182193, -137.617827241131, -245.34998547534923, 422.52133222227974);
double2x4 r2 = double2x4(39.91539694737429, -132.19563180403577, 505.89525127126615, -410.38058466947666, 237.05693375182193, 137.617827241131, 245.34998547534923, -422.52133222227974);
TestUtils.AreEqual(r2, -a2);
double2x4 a3 = double2x4(-434.57134386271764, -466.56631515294606, 426.89450116962871, 146.64955885086658, -391.37208408460583, 423.23773809114368, 254.29757296959758, -114.84889536483627);
double2x4 r3 = double2x4(434.57134386271764, 466.56631515294606, -426.89450116962871, -146.64955885086658, 391.37208408460583, -423.23773809114368, -254.29757296959758, 114.84889536483627);
TestUtils.AreEqual(r3, -a3);
}
[TestCompiler]
public static void double2x4_operator_prefix_inc()
{
double2x4 a0 = double2x4(-139.84208137348389, -56.743654039103376, -381.955324589254, 509.79634380237962, -222.89634452708827, 210.31986556310198, -392.73151058365193, -300.19410218866267);
double2x4 r0 = double2x4(-138.84208137348389, -55.743654039103376, -380.955324589254, 510.79634380237962, -221.89634452708827, 211.31986556310198, -391.73151058365193, -299.19410218866267);
TestUtils.AreEqual(r0, ++a0);
double2x4 a1 = double2x4(362.21273939787068, 130.90919429199266, -450.23016402229212, 243.54693114177644, 46.19202735190845, -41.497298975241051, 299.18547000511808, 154.35656530892311);
double2x4 r1 = double2x4(363.21273939787068, 131.90919429199266, -449.23016402229212, 244.54693114177644, 47.19202735190845, -40.497298975241051, 300.18547000511808, 155.35656530892311);
TestUtils.AreEqual(r1, ++a1);
double2x4 a2 = double2x4(-281.23327435237974, 92.957765384091886, 448.60215565590283, -295.58701171334229, 18.499063262016989, -215.71113381893895, 471.94723651928234, 257.07660090973445);
double2x4 r2 = double2x4(-280.23327435237974, 93.957765384091886, 449.60215565590283, -294.58701171334229, 19.499063262016989, -214.71113381893895, 472.94723651928234, 258.07660090973445);
TestUtils.AreEqual(r2, ++a2);
double2x4 a3 = double2x4(41.625937719655212, 243.00478588929627, -472.61902330472088, -125.7202084649914, -477.45955227197129, 9.8914859340952717, -76.922842299995409, -29.767583622488928);
double2x4 r3 = double2x4(42.625937719655212, 244.00478588929627, -471.61902330472088, -124.7202084649914, -476.45955227197129, 10.891485934095272, -75.922842299995409, -28.767583622488928);
TestUtils.AreEqual(r3, ++a3);
}
[TestCompiler]
public static void double2x4_operator_postfix_inc()
{
double2x4 a0 = double2x4(-396.6697396695007, 511.20749378167443, 249.11127030528678, -128.81731301584153, -259.49027669592306, 278.00817764830219, -81.393423356764686, 66.719732554033271);
double2x4 r0 = double2x4(-396.6697396695007, 511.20749378167443, 249.11127030528678, -128.81731301584153, -259.49027669592306, 278.00817764830219, -81.393423356764686, 66.719732554033271);
TestUtils.AreEqual(r0, a0++);
double2x4 a1 = double2x4(167.85212691493894, -326.10758486674524, 41.033564825092185, 128.5304239394751, 73.155582223625629, -60.132380275117384, -446.22976490772783, -296.93783797739906);
double2x4 r1 = double2x4(167.85212691493894, -326.10758486674524, 41.033564825092185, 128.5304239394751, 73.155582223625629, -60.132380275117384, -446.22976490772783, -296.93783797739906);
TestUtils.AreEqual(r1, a1++);
double2x4 a2 = double2x4(267.29380071689081, 49.200223230384381, -326.64314738225335, -510.86424064583343, 471.64748762159024, -171.01308186865089, 310.72735967800361, -298.91717185588425);
double2x4 r2 = double2x4(267.29380071689081, 49.200223230384381, -326.64314738225335, -510.86424064583343, 471.64748762159024, -171.01308186865089, 310.72735967800361, -298.91717185588425);
TestUtils.AreEqual(r2, a2++);
double2x4 a3 = double2x4(489.98497008252184, 290.69102896875279, 117.1923401901463, 164.44293578175962, 412.36778874526158, -229.38657079887884, 239.59693848322934, 36.624316947825378);
double2x4 r3 = double2x4(489.98497008252184, 290.69102896875279, 117.1923401901463, 164.44293578175962, 412.36778874526158, -229.38657079887884, 239.59693848322934, 36.624316947825378);
TestUtils.AreEqual(r3, a3++);
}
[TestCompiler]
public static void double2x4_operator_prefix_dec()
{
double2x4 a0 = double2x4(123.12869626056806, 256.8437465433235, 156.33078844674435, 461.73742530389563, 325.86799755965728, 392.01561731473339, 187.87412580655609, -236.2252043393558);
double2x4 r0 = double2x4(122.12869626056806, 255.8437465433235, 155.33078844674435, 460.73742530389563, 324.86799755965728, 391.01561731473339, 186.87412580655609, -237.2252043393558);
TestUtils.AreEqual(r0, --a0);
double2x4 a1 = double2x4(125.10963517292851, 45.536655685648611, 376.04684680329956, -363.07547991493504, -22.028951416736902, 248.79012667797042, 168.0950144120003, 168.26565011230559);
double2x4 r1 = double2x4(124.10963517292851, 44.536655685648611, 375.04684680329956, -364.07547991493504, -23.028951416736902, 247.79012667797042, 167.0950144120003, 167.26565011230559);
TestUtils.AreEqual(r1, --a1);
double2x4 a2 = double2x4(-190.284744112885, 183.95795854551625, 485.69469259944492, -460.73930261132273, 89.569894117102876, -267.42982090051743, 201.75623450137505, -141.21688682456357);
double2x4 r2 = double2x4(-191.284744112885, 182.95795854551625, 484.69469259944492, -461.73930261132273, 88.569894117102876, -268.42982090051743, 200.75623450137505, -142.21688682456357);
TestUtils.AreEqual(r2, --a2);
double2x4 a3 = double2x4(-217.48409782046645, -213.54412732531506, 180.74062570405226, -128.31251412644633, 478.04553888647149, -454.56614062495817, -386.89835256473083, 387.85698408068015);
double2x4 r3 = double2x4(-218.48409782046645, -214.54412732531506, 179.74062570405226, -129.31251412644633, 477.04553888647149, -455.56614062495817, -387.89835256473083, 386.85698408068015);
TestUtils.AreEqual(r3, --a3);
}
[TestCompiler]
public static void double2x4_operator_postfix_dec()
{
double2x4 a0 = double2x4(379.68831723727669, 302.69287814884115, -176.07134040448409, -291.25267066212962, 470.56758401848731, -402.92594666170231, -63.655158787805192, 355.26110069605568);
double2x4 r0 = double2x4(379.68831723727669, 302.69287814884115, -176.07134040448409, -291.25267066212962, 470.56758401848731, -402.92594666170231, -63.655158787805192, 355.26110069605568);
TestUtils.AreEqual(r0, a0--);
double2x4 a1 = double2x4(-27.889220489137415, 156.14034969924967, 479.94519613680677, -200.30429491787419, -445.0269393609031, 407.42034907239508, 327.67032519340069, 48.0602071509046);
double2x4 r1 = double2x4(-27.889220489137415, 156.14034969924967, 479.94519613680677, -200.30429491787419, -445.0269393609031, 407.42034907239508, 327.67032519340069, 48.0602071509046);
TestUtils.AreEqual(r1, a1--);
double2x4 a2 = double2x4(-209.66798100698179, 283.941595924991, -94.802087112703418, 152.51066334196867, -287.262531175866, -215.94803939384781, -407.04635567546188, 159.23357136511879);
double2x4 r2 = double2x4(-209.66798100698179, 283.941595924991, -94.802087112703418, 152.51066334196867, -287.262531175866, -215.94803939384781, -407.04635567546188, 159.23357136511879);
TestUtils.AreEqual(r2, a2--);
double2x4 a3 = double2x4(-359.45648663093175, -278.93379868144814, 289.91284073978329, 402.03954691534841, 470.71654937729079, -208.56061873611094, 145.89674789546837, -296.79095258228062);
double2x4 r3 = double2x4(-359.45648663093175, -278.93379868144814, 289.91284073978329, 402.03954691534841, 470.71654937729079, -208.56061873611094, 145.89674789546837, -296.79095258228062);
TestUtils.AreEqual(r3, a3--);
}
}
}

View File

@@ -0,0 +1,943 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using NUnit.Framework;
using static Unity.Mathematics.math;
using Burst.Compiler.IL.Tests;
namespace Unity.Mathematics.Tests
{
[TestFixture]
public class TestDouble3x2
{
[TestCompiler]
public static void double3x2_zero()
{
TestUtils.AreEqual(0.0, double3x2.zero.c0.x);
TestUtils.AreEqual(0.0, double3x2.zero.c0.y);
TestUtils.AreEqual(0.0, double3x2.zero.c0.z);
TestUtils.AreEqual(0.0, double3x2.zero.c1.x);
TestUtils.AreEqual(0.0, double3x2.zero.c1.y);
TestUtils.AreEqual(0.0, double3x2.zero.c1.z);
}
[TestCompiler]
public static void double3x2_operator_equal_wide_wide()
{
double3x2 a0 = double3x2(492.15758275061728, -495.20632027797694, 227.45765195947968, -147.37405950733182, -222.68201909897942, 64.093720704360749);
double3x2 b0 = double3x2(192.56880888369346, -235.61102472786376, -254.04311740307281, -412.62472052715009, 471.90480945627428, -6.4727852374654162);
bool3x2 r0 = bool3x2(false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
double3x2 a1 = double3x2(-23.890404473939157, -16.8197190839889, 163.23210890741655, -165.27101071424363, 470.87767980568003, -423.94255967808078);
double3x2 b1 = double3x2(-339.10237447316865, 488.1875700839737, -379.5965842584132, -308.41700258311675, -82.333374300195544, -102.92108087563935);
bool3x2 r1 = bool3x2(false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
double3x2 a2 = double3x2(109.63436918595539, 462.69031283943468, -335.38147727371262, 357.23446934168896, 1.5455777652308598, -347.38824741327585);
double3x2 b2 = double3x2(226.51573835430463, -356.90132896830391, -362.91277544708589, -427.89843746083716, 466.65013978753711, -102.79904680270658);
bool3x2 r2 = bool3x2(false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
double3x2 a3 = double3x2(-114.47217302884542, 435.84865804940864, 194.23808607563285, 138.76554710174241, -467.34914205379278, 370.43337767684523);
double3x2 b3 = double3x2(-43.355954428834821, 85.045664111639212, -91.127054972167628, 422.19208856215334, -477.43130873024057, 1.8770024785198984);
bool3x2 r3 = bool3x2(false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void double3x2_operator_equal_wide_scalar()
{
double3x2 a0 = double3x2(-303.2300766926399, 451.52631327674089, -253.65587413201848, -105.20363502632995, -500.6910920090466, -426.19248338518315);
double b0 = (123.5445759871717);
bool3x2 r0 = bool3x2(false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
double3x2 a1 = double3x2(159.87609656149334, -57.477391031327386, -182.04973968400139, 406.51375861024189, 370.88599866017978, -172.03530629539642);
double b1 = (-59.558379439431405);
bool3x2 r1 = bool3x2(false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
double3x2 a2 = double3x2(455.40001198993991, 363.93823044557973, -27.150561106927, -325.97606507221985, -290.35904254129116, 180.19686635779067);
double b2 = (-11.338988547836891);
bool3x2 r2 = bool3x2(false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
double3x2 a3 = double3x2(-374.12832015293105, -126.54608899287234, -197.2617896521752, -227.15933357326281, -479.8991937487848, -439.77767750237962);
double b3 = (-439.35894295170851);
bool3x2 r3 = bool3x2(false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void double3x2_operator_equal_scalar_wide()
{
double a0 = (-253.39728534100453);
double3x2 b0 = double3x2(19.952187785856495, -185.79199346610903, 407.8136052600172, -87.2766969610363, -206.27469382354741, 160.503138855334);
bool3x2 r0 = bool3x2(false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
double a1 = (-274.77081478516141);
double3x2 b1 = double3x2(-2.6315281403397535, 448.35453602688131, -410.03524251004461, 247.32901465489022, 355.53915350303942, -298.06671180299793);
bool3x2 r1 = bool3x2(false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
double a2 = (414.10151429385951);
double3x2 b2 = double3x2(-481.30262707234482, 196.55074438664633, 34.60100008668428, 113.76156645350227, -386.45337861890596, -124.49174672201821);
bool3x2 r2 = bool3x2(false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
double a3 = (243.8866447153905);
double3x2 b3 = double3x2(-492.6181826501238, 145.424413033493, 421.55070968230757, -95.409988209330493, 336.80928746648567, 209.58380589707929);
bool3x2 r3 = bool3x2(false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void double3x2_operator_not_equal_wide_wide()
{
double3x2 a0 = double3x2(430.8425316432689, 104.69001798736394, 225.80243478799355, -310.57017841496048, -418.61945815506363, 304.12820281839379);
double3x2 b0 = double3x2(210.02470622305975, -55.203330304102678, -269.92533672504373, -234.54673372700194, 25.917412054686565, -63.726991444699024);
bool3x2 r0 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
double3x2 a1 = double3x2(-509.32682561749908, -160.53807719076895, -203.30197606016975, -505.76325368590807, 162.17220623892365, 1.1561973100324394);
double3x2 b1 = double3x2(-484.55371092471933, -425.333599050219, -53.274394775402925, 328.1944192984115, 15.963139303011417, 461.71412417931208);
bool3x2 r1 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
double3x2 a2 = double3x2(65.662074358045174, 102.78780250567377, 172.93008120960098, 26.621009123800832, 235.12595259171258, 128.54198533321824);
double3x2 b2 = double3x2(-113.36304455313973, -240.07297264787974, 495.11916970420589, 203.5583661550462, 340.49345103860526, -241.90719448863865);
bool3x2 r2 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
double3x2 a3 = double3x2(-354.99697630246959, 334.35948220564023, -495.83200692377613, 468.30740163675853, 458.37094733601941, 299.93733300824522);
double3x2 b3 = double3x2(459.56982896270688, 213.0737384357833, -384.7828506831, -255.07233846144396, 477.66343115161328, -248.03662621604121);
bool3x2 r3 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void double3x2_operator_not_equal_wide_scalar()
{
double3x2 a0 = double3x2(-16.914588697680529, 168.83411486858233, -462.71352145760949, 130.30776959765137, 214.50161443208424, -440.26328178879959);
double b0 = (-145.37277109239847);
bool3x2 r0 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
double3x2 a1 = double3x2(-197.12796053529155, -386.61117595555783, -281.02101362916687, -270.26885593601912, -403.96372313236992, -269.80570877241234);
double b1 = (-169.09985860115842);
bool3x2 r1 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
double3x2 a2 = double3x2(299.65422763473089, -432.75573917513515, -457.36312100727258, -13.519590622521719, 273.87305773136814, 185.042454567292);
double b2 = (-71.750904831919286);
bool3x2 r2 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
double3x2 a3 = double3x2(-482.53069351731364, 511.73495578753523, 230.50753628020527, 100.27476768394683, 129.68240863163135, 321.17879048044733);
double b3 = (116.39514427836764);
bool3x2 r3 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void double3x2_operator_not_equal_scalar_wide()
{
double a0 = (275.79582823244664);
double3x2 b0 = double3x2(-57.196896341255353, -382.4325279586169, 97.820359990848374, -161.46364529499022, -458.39563367254829, -499.61786364932448);
bool3x2 r0 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
double a1 = (327.92217818271467);
double3x2 b1 = double3x2(367.57121699283425, 59.7863667289663, -209.58068118318016, -62.580453186566217, -479.97497604786184, -49.494519495169868);
bool3x2 r1 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
double a2 = (-114.68521338081229);
double3x2 b2 = double3x2(109.93924599044919, -176.28482755286842, -347.48529903380449, 85.540928165214609, -356.65954868712441, -104.24357490625397);
bool3x2 r2 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
double a3 = (-133.54918605347592);
double3x2 b3 = double3x2(243.53971135036079, 13.141311890045813, -379.98594754747393, -41.281226892620907, 87.911684792447659, -339.07727996403224);
bool3x2 r3 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void double3x2_operator_less_wide_wide()
{
double3x2 a0 = double3x2(196.84256825076534, 336.40979997087732, 251.96372115424072, 257.65591466503963, 430.04588647840819, -62.419644146421774);
double3x2 b0 = double3x2(-465.34502313348696, -256.15239751346053, -314.814018634527, 364.56673662949663, 100.21050290959442, 182.56098636545289);
bool3x2 r0 = bool3x2(false, false, false, true, false, true);
TestUtils.AreEqual(r0, a0 < b0);
double3x2 a1 = double3x2(8.8392293494376872, -333.81671563434259, 164.67880662003472, -350.94487516532877, 3.84143662631584, 125.40972024081725);
double3x2 b1 = double3x2(3.116978885194726, -259.43047893207074, -437.33490749696966, -456.0437321402336, -394.2559718537405, 401.91369099259077);
bool3x2 r1 = bool3x2(false, true, false, false, false, true);
TestUtils.AreEqual(r1, a1 < b1);
double3x2 a2 = double3x2(-111.12994127680076, 70.005523475820951, 448.19828173527412, -419.98711200244122, -258.30166757213965, -34.832201735504043);
double3x2 b2 = double3x2(313.43916454605721, 121.28668194696616, -28.012290729215522, -282.96589697663012, 330.06440631023816, 124.09937077579059);
bool3x2 r2 = bool3x2(true, true, false, true, true, true);
TestUtils.AreEqual(r2, a2 < b2);
double3x2 a3 = double3x2(-69.859397682295821, 67.767227442826766, -139.77729207825723, 385.43464130229995, 133.707390609061, 506.18837117878184);
double3x2 b3 = double3x2(-183.69031700104955, 373.0607623406969, 109.75094013556418, -203.57134232463841, 45.6486556742567, -360.95226280808089);
bool3x2 r3 = bool3x2(false, true, true, false, false, false);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void double3x2_operator_less_wide_scalar()
{
double3x2 a0 = double3x2(-132.05731708000292, -192.46500477216438, -66.834607870706634, -379.01750081545561, -360.28242199508588, 20.927834282129879);
double b0 = (-156.01021845452965);
bool3x2 r0 = bool3x2(false, true, false, true, true, false);
TestUtils.AreEqual(r0, a0 < b0);
double3x2 a1 = double3x2(-158.24074537970159, -20.452607402788772, 225.29148517609178, 307.48418607725023, 274.01523292903562, 373.54965584983563);
double b1 = (437.34587522845061);
bool3x2 r1 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 < b1);
double3x2 a2 = double3x2(398.52368301829495, -58.010895994496934, 109.67008810381878, -108.853174498702, -44.971252223929014, 140.42607147080173);
double b2 = (105.0301654827922);
bool3x2 r2 = bool3x2(false, true, false, true, true, false);
TestUtils.AreEqual(r2, a2 < b2);
double3x2 a3 = double3x2(-500.08827638071415, -197.50074610370245, -7.27149987559369, -432.99049898283113, 62.158315449095426, -72.254720959931035);
double b3 = (172.10334857371788);
bool3x2 r3 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void double3x2_operator_less_scalar_wide()
{
double a0 = (-423.117411095238);
double3x2 b0 = double3x2(385.09483617595151, -123.93348532725753, 86.376572887588509, 133.44217378154497, 161.45794947513286, 229.75426660746064);
bool3x2 r0 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 < b0);
double a1 = (222.57159934871436);
double3x2 b1 = double3x2(315.53116360098647, -447.20351883731945, 271.83385790131695, -393.60531324595462, 317.48689737798964, -164.6051085761772);
bool3x2 r1 = bool3x2(true, false, true, false, true, false);
TestUtils.AreEqual(r1, a1 < b1);
double a2 = (-282.87605370342544);
double3x2 b2 = double3x2(296.97953071118309, -254.40115582868509, 365.61562054493265, -441.98425671178114, -131.42866021554391, 442.62897631275882);
bool3x2 r2 = bool3x2(true, true, true, false, true, true);
TestUtils.AreEqual(r2, a2 < b2);
double a3 = (-29.792842163607872);
double3x2 b3 = double3x2(-138.37379533535511, 9.2169721169476588, -226.7305482489665, 171.02944310523083, 376.62522595777421, -462.58872697436658);
bool3x2 r3 = bool3x2(false, true, false, true, true, false);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void double3x2_operator_greater_wide_wide()
{
double3x2 a0 = double3x2(483.50140141113729, 310.81563415695712, 106.9661896726891, 295.73526038589671, 116.95757179938141, -478.29977653841479);
double3x2 b0 = double3x2(-471.39802454011425, -371.98528617060992, 36.900723236101044, -316.76360407320954, 19.683055648432628, 207.3091381561519);
bool3x2 r0 = bool3x2(true, true, true, true, true, false);
TestUtils.AreEqual(r0, a0 > b0);
double3x2 a1 = double3x2(-14.897393471979228, -33.817441717636484, -24.740548383789417, 319.78262701620474, -120.15856581561201, -289.00857962714906);
double3x2 b1 = double3x2(362.79748861994483, 324.95341816775192, 340.94807140014507, 25.986035120666997, -114.2111352021858, 240.80346428640348);
bool3x2 r1 = bool3x2(false, false, false, true, false, false);
TestUtils.AreEqual(r1, a1 > b1);
double3x2 a2 = double3x2(455.85146662958505, 144.70691139283917, 63.931990891663304, -285.68304099034663, -502.0907201720824, -337.19446412529538);
double3x2 b2 = double3x2(273.42244757033063, 325.51576224226312, 27.341068995809678, 64.479532510265472, 200.94836983501375, 100.12266998184964);
bool3x2 r2 = bool3x2(true, false, true, false, false, false);
TestUtils.AreEqual(r2, a2 > b2);
double3x2 a3 = double3x2(474.31734274063137, -507.14510679018923, -133.56559735795742, -443.10913654934109, -464.34137056038776, -68.361549647693323);
double3x2 b3 = double3x2(-79.00710896356361, -315.137945560337, -122.98542815213347, -163.77920229908972, -492.56600617457462, -90.797273439726439);
bool3x2 r3 = bool3x2(true, false, false, false, true, true);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void double3x2_operator_greater_wide_scalar()
{
double3x2 a0 = double3x2(64.317918092160426, -397.70346445483318, 431.87690826499693, 85.702980796668157, 246.26305233978803, 197.49155602114809);
double b0 = (305.85991992888034);
bool3x2 r0 = bool3x2(false, false, true, false, false, false);
TestUtils.AreEqual(r0, a0 > b0);
double3x2 a1 = double3x2(286.1994608781298, -405.78459210218148, 171.56538661362856, -241.80727326209063, 333.57817498481745, 370.27919524269146);
double b1 = (280.81334818564972);
bool3x2 r1 = bool3x2(true, false, false, false, true, true);
TestUtils.AreEqual(r1, a1 > b1);
double3x2 a2 = double3x2(-413.70138116073861, -353.03129522550444, 396.64532608382649, 467.22205541432936, -240.0134228393498, 502.91505193287276);
double b2 = (-356.5923551789449);
bool3x2 r2 = bool3x2(false, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 > b2);
double3x2 a3 = double3x2(315.46759024051369, 281.23064554912537, 428.79219909608, 245.15306460352292, -279.17542494422543, -453.86309668694764);
double b3 = (-259.28970134411458);
bool3x2 r3 = bool3x2(true, true, true, true, false, false);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void double3x2_operator_greater_scalar_wide()
{
double a0 = (-282.67049635698572);
double3x2 b0 = double3x2(358.09997360692353, -72.5964134077525, -232.16380106292843, -60.706723956720282, 75.156642710397364, 150.88350040786133);
bool3x2 r0 = bool3x2(false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 > b0);
double a1 = (339.53917924479538);
double3x2 b1 = double3x2(-498.19602965665797, 459.74610326241054, -227.96872316485678, 335.86213485145106, 76.178844248959308, 296.85993899817572);
bool3x2 r1 = bool3x2(true, false, true, true, true, true);
TestUtils.AreEqual(r1, a1 > b1);
double a2 = (177.49000390688423);
double3x2 b2 = double3x2(-281.20120657663847, 244.72285162877427, 137.32857257562159, -385.33824724021287, 443.16345879210326, -353.56254141105455);
bool3x2 r2 = bool3x2(true, false, true, true, false, true);
TestUtils.AreEqual(r2, a2 > b2);
double a3 = (26.040673983302327);
double3x2 b3 = double3x2(-331.7939499969566, -43.691963454565041, 20.949428806523542, -211.17984423934473, 227.42171894173214, -84.7797711290325);
bool3x2 r3 = bool3x2(true, true, true, true, false, true);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void double3x2_operator_less_equal_wide_wide()
{
double3x2 a0 = double3x2(-438.52313753521219, 210.48942837980087, 4.8773329280677444, -137.29793817237857, 156.09410174009111, -363.92412035722475);
double3x2 b0 = double3x2(-474.8141498392514, 304.3710555063426, 234.8241737982371, -390.48543209139513, -297.17535295019638, -326.29239121372461);
bool3x2 r0 = bool3x2(false, true, true, false, false, true);
TestUtils.AreEqual(r0, a0 <= b0);
double3x2 a1 = double3x2(-97.948485181642923, 437.29539009430232, 458.53029153241323, -294.06474675520542, 23.622613679441884, -34.284056441059363);
double3x2 b1 = double3x2(107.2538764976216, -413.13107342884462, 67.094432623635271, 470.07522724106684, -84.499104777583455, 392.78422683886447);
bool3x2 r1 = bool3x2(true, false, false, true, false, true);
TestUtils.AreEqual(r1, a1 <= b1);
double3x2 a2 = double3x2(149.736484835733, -418.8866781754823, -197.50252899783783, -88.2055118494693, -376.71814292330208, 341.62712899857536);
double3x2 b2 = double3x2(-263.53175485484849, 369.30090039284005, -333.32529298091555, 238.41347443238533, 486.24259279959028, 279.65021408705513);
bool3x2 r2 = bool3x2(false, true, false, true, true, false);
TestUtils.AreEqual(r2, a2 <= b2);
double3x2 a3 = double3x2(-83.309179106405566, -107.49073295830317, 319.46688833807912, 205.35738501574724, 345.56372968552807, 395.32190746596177);
double3x2 b3 = double3x2(236.05201803709008, 132.75898248178839, 66.294708998079727, 183.00210699020056, 200.13055071613314, 339.043800750302);
bool3x2 r3 = bool3x2(true, true, false, false, false, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void double3x2_operator_less_equal_wide_scalar()
{
double3x2 a0 = double3x2(193.4958237118534, 168.91555197952107, -313.9930695565385, 81.826965131716292, 18.503590830836288, -0.35819602029312136);
double b0 = (443.85054299042122);
bool3x2 r0 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 <= b0);
double3x2 a1 = double3x2(241.36115776810846, -1.3577692515020203, -268.89945591096739, 398.9919504593089, -471.253072242836, -264.93778264938749);
double b1 = (-463.81641242644582);
bool3x2 r1 = bool3x2(false, false, false, false, true, false);
TestUtils.AreEqual(r1, a1 <= b1);
double3x2 a2 = double3x2(82.258299150624453, 424.7040156911612, 426.48223157715154, 56.319978501796754, -196.28791126808522, 31.901173844887467);
double b2 = (11.246050124636895);
bool3x2 r2 = bool3x2(false, false, false, false, true, false);
TestUtils.AreEqual(r2, a2 <= b2);
double3x2 a3 = double3x2(-152.2575724833913, -37.104814785115821, -47.144214413661587, 333.6230348710078, -274.80387438219225, 358.67627804292192);
double b3 = (-437.92645975478297);
bool3x2 r3 = bool3x2(false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void double3x2_operator_less_equal_scalar_wide()
{
double a0 = (393.60626644343427);
double3x2 b0 = double3x2(-75.688363825757222, -44.2638714519627, 125.86491566797019, 191.96488174794467, 13.543054825413492, -197.0519259893577);
bool3x2 r0 = bool3x2(false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 <= b0);
double a1 = (-423.945100743298);
double3x2 b1 = double3x2(-330.04861680141119, 420.16553779140372, 105.54730777887039, 174.82126363311954, 296.71757831085358, -469.70041845259277);
bool3x2 r1 = bool3x2(true, true, true, true, true, false);
TestUtils.AreEqual(r1, a1 <= b1);
double a2 = (123.26718979853536);
double3x2 b2 = double3x2(112.9969695140594, 495.14339493920249, -488.65789364681478, 388.53941148730894, -493.24077080806751, 16.451064832718657);
bool3x2 r2 = bool3x2(false, true, false, true, false, false);
TestUtils.AreEqual(r2, a2 <= b2);
double a3 = (-387.6516336815672);
double3x2 b3 = double3x2(-229.1773127192526, -373.01533930982248, -391.142134610164, 90.994149488859875, -178.39613517485378, -69.621067317957568);
bool3x2 r3 = bool3x2(true, true, false, true, true, true);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void double3x2_operator_greater_equal_wide_wide()
{
double3x2 a0 = double3x2(-507.92858409692, 504.49748181947393, -385.43449205226938, -262.32340944107784, -37.550928848586466, -111.59527759980193);
double3x2 b0 = double3x2(-81.346509732933043, 297.66615047010885, 171.06540616371922, -431.03805538222105, -6.859075311040101, 319.72570362674333);
bool3x2 r0 = bool3x2(false, true, false, true, false, false);
TestUtils.AreEqual(r0, a0 >= b0);
double3x2 a1 = double3x2(-463.70202157632542, 387.44885772627265, 456.96878573716094, -211.01015506079892, 182.41135391146474, -53.596053863687473);
double3x2 b1 = double3x2(254.079170106947, 396.5724000393285, 178.83927615864172, -447.06336304501787, 288.49268569075161, 474.88929460704765);
bool3x2 r1 = bool3x2(false, false, true, true, false, false);
TestUtils.AreEqual(r1, a1 >= b1);
double3x2 a2 = double3x2(-309.57021608463032, -136.02249127999994, 280.73629082401112, -96.9958942388165, -174.05950673579213, 88.9019382413951);
double3x2 b2 = double3x2(-321.75022831640683, -395.97722048125104, -158.69246037243516, 391.48869318118727, -368.10924141859135, 89.1238043723273);
bool3x2 r2 = bool3x2(true, true, true, false, true, false);
TestUtils.AreEqual(r2, a2 >= b2);
double3x2 a3 = double3x2(43.816040774721728, -446.07842585354967, 16.645595796706857, 409.83252043734888, -191.32987245886113, 222.99782548798146);
double3x2 b3 = double3x2(-510.27932214656812, -486.92979525352354, -81.215552606254619, 274.21882046117389, -212.88155494112596, 288.99530591117);
bool3x2 r3 = bool3x2(true, true, true, true, true, false);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void double3x2_operator_greater_equal_wide_scalar()
{
double3x2 a0 = double3x2(465.15218732559686, -424.8860745024337, -209.22109685150025, 58.779852656079356, -302.26910533675414, 140.12558252183976);
double b0 = (-5.5998842742293391);
bool3x2 r0 = bool3x2(true, false, false, true, false, true);
TestUtils.AreEqual(r0, a0 >= b0);
double3x2 a1 = double3x2(16.353385694489475, 393.27804846003562, -315.70155086913218, 441.0115565923096, -509.78156757251435, -36.994287269652943);
double b1 = (-344.55997316192838);
bool3x2 r1 = bool3x2(true, true, true, true, false, true);
TestUtils.AreEqual(r1, a1 >= b1);
double3x2 a2 = double3x2(494.82028865014217, -466.12009046325466, -123.8137477020797, 215.65121779947128, 104.99569730879534, 314.34603014325069);
double b2 = (-164.97393830352183);
bool3x2 r2 = bool3x2(true, false, true, true, true, true);
TestUtils.AreEqual(r2, a2 >= b2);
double3x2 a3 = double3x2(190.51609882643265, -23.836435567511444, 143.04935962662535, -264.91997945724052, -169.70222457205051, 329.70751610850334);
double b3 = (-83.111429014760745);
bool3x2 r3 = bool3x2(true, true, true, false, false, true);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void double3x2_operator_greater_equal_scalar_wide()
{
double a0 = (374.82703393270594);
double3x2 b0 = double3x2(-1.609757185731894, 338.61524049314448, -116.18140392945213, -332.15732375353451, -355.9793509710484, -468.90144107719021);
bool3x2 r0 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 >= b0);
double a1 = (38.579884785497484);
double3x2 b1 = double3x2(-332.34754697063357, 2.8901150240051265, 467.77776477661814, 121.40638762405445, -305.02337303060267, -58.428812292604164);
bool3x2 r1 = bool3x2(true, true, false, false, true, true);
TestUtils.AreEqual(r1, a1 >= b1);
double a2 = (-226.51955209789776);
double3x2 b2 = double3x2(-47.020994446715804, 305.3026770582901, -427.40123315686418, 92.263649745035764, -497.17853736187266, -408.62564225151465);
bool3x2 r2 = bool3x2(false, false, true, false, true, true);
TestUtils.AreEqual(r2, a2 >= b2);
double a3 = (-455.23049113491106);
double3x2 b3 = double3x2(396.42608637196292, -469.29488561548987, -485.7540130493017, -182.34619268325446, -291.54536284671417, 278.740809331993);
bool3x2 r3 = bool3x2(false, true, true, false, false, false);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void double3x2_operator_add_wide_wide()
{
double3x2 a0 = double3x2(506.12905263627374, -501.77980803967444, 420.08479638587903, -186.03206476291274, -9.3123953385801883, 328.51179686585056);
double3x2 b0 = double3x2(-28.757987751047096, -337.135153689019, -340.676816860529, 152.31202633320913, 423.66745420157326, 90.374096674087468);
double3x2 r0 = double3x2(477.37106488522664, -838.91496172869347, 79.407979525350015, -33.720038429703607, 414.35505886299308, 418.885893539938);
TestUtils.AreEqual(r0, a0 + b0);
double3x2 a1 = double3x2(424.34407659263536, 87.791079800478656, 462.41368148402012, -46.178705952213477, 401.17006296718966, -454.12414643453627);
double3x2 b1 = double3x2(376.18866246574964, 1.7671887882831925, -120.18586045139745, -279.62936628965167, -344.66710273580026, 242.8391956029642);
double3x2 r1 = double3x2(800.532739058385, 89.558268588761848, 342.22782103262267, -325.80807224186515, 56.502960231389409, -211.28495083157208);
TestUtils.AreEqual(r1, a1 + b1);
double3x2 a2 = double3x2(69.195687564646732, -177.95734485329939, 299.60415544156183, 340.7048587001417, 219.91602740991675, -321.90838232725321);
double3x2 b2 = double3x2(418.5930504363929, -23.312797318823982, -95.099945827899489, 147.92812568877275, 331.03287926830023, -82.502564230236487);
double3x2 r2 = double3x2(487.78873800103963, -201.27014217212337, 204.50420961366234, 488.63298438891445, 550.948906678217, -404.41094655748969);
TestUtils.AreEqual(r2, a2 + b2);
double3x2 a3 = double3x2(286.35534037573041, -333.41949311523672, -118.93216973120911, 68.607509406566351, 23.190902005504313, -205.57787547147734);
double3x2 b3 = double3x2(279.44956291813844, 342.6227215931857, -300.35853185335105, -209.69408736456842, 446.55942150883345, -351.98918955027557);
double3x2 r3 = double3x2(565.80490329386885, 9.2032284779489828, -419.29070158456017, -141.08657795800207, 469.75032351433777, -557.56706502175291);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void double3x2_operator_add_wide_scalar()
{
double3x2 a0 = double3x2(-194.51420387742769, 338.54838696985894, 246.97140252169754, 100.51093797595752, -45.724677822424439, -478.11131094308166);
double b0 = (124.121678171736);
double3x2 r0 = double3x2(-70.3925257056917, 462.67006514159493, 371.09308069343354, 224.63261614769351, 78.397000349311554, -353.98963277134567);
TestUtils.AreEqual(r0, a0 + b0);
double3x2 a1 = double3x2(30.916145577522116, -242.1187475855084, 82.50134495762245, 6.7993848355483806, -484.69981287638649, -188.26501068298938);
double b1 = (60.37435224483454);
double3x2 r1 = double3x2(91.290497822356656, -181.74439534067386, 142.875697202457, 67.173737080382921, -424.32546063155195, -127.89065843815484);
TestUtils.AreEqual(r1, a1 + b1);
double3x2 a2 = double3x2(-213.52673087526426, 189.25996669999324, 198.53359684652355, 187.53610023648298, -424.92567582844089, 302.10236730338181);
double b2 = (-267.78430688929944);
double3x2 r2 = double3x2(-481.31103776456371, -78.5243401893062, -69.250710042775893, -80.248206652816464, -692.70998271774033, 34.318060414082368);
TestUtils.AreEqual(r2, a2 + b2);
double3x2 a3 = double3x2(300.39907970111778, -200.16134295247559, 31.37822701007974, 362.52213518811493, -423.98885961248953, 432.41331907380993);
double b3 = (124.02158909850823);
double3x2 r3 = double3x2(424.420668799626, -76.139753853967363, 155.39981610858797, 486.54372428662316, -299.9672705139813, 556.43490817231816);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void double3x2_operator_add_scalar_wide()
{
double a0 = (-340.35468284243473);
double3x2 b0 = double3x2(511.36225652665007, -146.21663791789518, -106.21042661844308, -363.45024960276214, 199.08958325120136, -27.108407271610758);
double3x2 r0 = double3x2(171.00757368421534, -486.57132076032991, -446.56510946087781, -703.80493244519687, -141.26509959123337, -367.46309011404549);
TestUtils.AreEqual(r0, a0 + b0);
double a1 = (419.84900041103788);
double3x2 b1 = double3x2(284.95503748811552, -164.92418129971446, -249.19032561461921, 150.92817718858282, 298.17509784278229, -457.15341803857751);
double3x2 r1 = double3x2(704.8040378991534, 254.92481911132342, 170.65867479641867, 570.7771775996207, 718.02409825382017, -37.304417627539635);
TestUtils.AreEqual(r1, a1 + b1);
double a2 = (424.71807094324288);
double3x2 b2 = double3x2(-301.85750283946163, 230.28885208363124, -423.58759351428023, -67.060037882560891, 68.7241366229598, -164.02241833695325);
double3x2 r2 = double3x2(122.86056810378125, 655.00692302687412, 1.1304774289626494, 357.658033060682, 493.44220756620268, 260.69565260628963);
TestUtils.AreEqual(r2, a2 + b2);
double a3 = (318.93515339444161);
double3x2 b3 = double3x2(7.8045504129512437, 187.69836029210046, -3.6569664495331153, -446.0830535581722, -209.28724227160552, -38.212905186327589);
double3x2 r3 = double3x2(326.73970380739286, 506.63351368654207, 315.2781869449085, -127.14790016373058, 109.64791112283609, 280.722248208114);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void double3x2_operator_sub_wide_wide()
{
double3x2 a0 = double3x2(160.4922617229131, 11.223957305412682, 359.20010607279846, -498.22830485656311, -355.25362913462038, -94.534852787170053);
double3x2 b0 = double3x2(115.46876078260539, -130.98230630298252, 241.54083716196044, 9.9870860623135513, 419.89512582304656, 59.124466208333388);
double3x2 r0 = double3x2(45.023500940307713, 142.2062636083952, 117.65926891083802, -508.21539091887666, -775.14875495766694, -153.65931899550344);
TestUtils.AreEqual(r0, a0 - b0);
double3x2 a1 = double3x2(-410.46404786150163, -401.38464398001537, 317.70681944382693, 447.0604133303558, -489.07414482956477, -230.00838218909149);
double3x2 b1 = double3x2(-402.38163847587145, -75.370143687059226, 320.97960796997859, -73.908757482612884, -31.444742455819949, -389.25194734579509);
double3x2 r1 = double3x2(-8.0824093856301715, -326.01450029295614, -3.2727885261516576, 520.96917081296874, -457.62940237374482, 159.2435651567036);
TestUtils.AreEqual(r1, a1 - b1);
double3x2 a2 = double3x2(24.875419389864192, 366.61447136784648, -107.3741567634857, -219.0081404275299, 473.90756891384137, 259.63620793988753);
double3x2 b2 = double3x2(-375.02884000122026, 259.18275821357167, 276.648654351313, -453.06919905779381, -272.57653225240136, -191.14805301984217);
double3x2 r2 = double3x2(399.90425939108445, 107.4317131542748, -384.02281111479869, 234.06105863026391, 746.48410116624268, 450.78426095972969);
TestUtils.AreEqual(r2, a2 - b2);
double3x2 a3 = double3x2(-360.119631219711, 7.8096120393879573, 437.42847439154446, -59.1991718091067, 418.74433322378638, 183.14215072576985);
double3x2 b3 = double3x2(87.136884968325944, 430.02477594373033, 343.65711538105143, 121.02942067060133, -354.1881703595576, 249.05200373802893);
double3x2 r3 = double3x2(-447.25651618803693, -422.21516390434238, 93.771359010493029, -180.22859247970803, 772.932503583344, -65.909853012259077);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void double3x2_operator_sub_wide_scalar()
{
double3x2 a0 = double3x2(207.38960108877609, 248.45773684627272, -384.82393211164697, -205.34476122881506, -374.81156152058929, 191.64204820973896);
double b0 = (-36.112476604111691);
double3x2 r0 = double3x2(243.50207769288778, 284.57021345038441, -348.71145550753528, -169.23228462470337, -338.6990849164776, 227.75452481385065);
TestUtils.AreEqual(r0, a0 - b0);
double3x2 a1 = double3x2(18.856238135535364, 480.85798738936796, 16.338193185784917, -366.86545269883493, -35.523088233323335, 349.39776460705218);
double b1 = (-44.96160151667965);
double3x2 r1 = double3x2(63.817839652215014, 525.81958890604756, 61.299794702464567, -321.90385118215528, 9.4385132833563148, 394.35936612373183);
TestUtils.AreEqual(r1, a1 - b1);
double3x2 a2 = double3x2(439.07729336203886, 195.02405104181923, -384.84940952102158, 189.05188545447402, 55.602777745389744, -54.931482579061537);
double b2 = (490.2222661870635);
double3x2 r2 = double3x2(-51.144972825024638, -295.19821514524426, -875.07167570808508, -301.17038073258948, -434.61948844167375, -545.15374876612509);
TestUtils.AreEqual(r2, a2 - b2);
double3x2 a3 = double3x2(53.088051582261983, -273.80670917863335, 256.88723695319482, 297.17363156805447, 101.82901363346218, 136.60794765157993);
double b3 = (316.80250730961677);
double3x2 r3 = double3x2(-263.71445572735479, -590.60921648825013, -59.915270356421956, -19.628875741562297, -214.97349367615459, -180.19455965803684);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void double3x2_operator_sub_scalar_wide()
{
double a0 = (-86.008225719448262);
double3x2 b0 = double3x2(466.42511413359318, 298.48694219183506, -300.95010652251085, 315.38003006362362, -381.09218543632522, -125.00837546447684);
double3x2 r0 = double3x2(-552.43333985304139, -384.49516791128332, 214.94188080306259, -401.38825578307188, 295.08395971687696, 39.00014974502858);
TestUtils.AreEqual(r0, a0 - b0);
double a1 = (58.466194418476107);
double3x2 b1 = double3x2(214.74609361158036, -257.54942739082009, 480.22459505508868, -443.35507723472784, 260.79503858312728, 29.681931747906788);
double3x2 r1 = double3x2(-156.27989919310426, 316.01562180929619, -421.75840063661258, 501.82127165320395, -202.32884416465117, 28.784262670569319);
TestUtils.AreEqual(r1, a1 - b1);
double a2 = (139.85773164586055);
double3x2 b2 = double3x2(-247.78996216868512, -248.4662297929014, 91.445112509394562, 86.384162704639266, 373.81828206303453, 260.41195428576873);
double3x2 r2 = double3x2(387.64769381454568, 388.32396143876196, 48.412619136465992, 53.473568941221288, -233.96055041717398, -120.55422263990818);
TestUtils.AreEqual(r2, a2 - b2);
double a3 = (114.35393171867076);
double3x2 b3 = double3x2(-464.40545318294573, -109.74146156652898, -311.67535057276268, 107.86401586787031, -258.7951592219971, 14.097560173877355);
double3x2 r3 = double3x2(578.7593849016165, 224.09539328519975, 426.02928229143345, 6.4899158508004575, 373.14909094066786, 100.25637154479341);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void double3x2_operator_mul_wide_wide()
{
double3x2 a0 = double3x2(-482.71381710596097, -407.29348559272171, 137.70058995937029, 208.54113278563182, 194.296573967811, -484.24241684574747);
double3x2 b0 = double3x2(-236.36788355389979, 260.72759139757954, -416.38629718142852, -364.49561541364324, -253.14750897751537, -369.20287220981106);
double3x2 r0 = double3x2(114098.04331156026, -106192.64949051509, -57336.638772880389, -76012.328533757158, -49185.69370281692, 178783.69114527057);
TestUtils.AreEqual(r0, a0 * b0);
double3x2 a1 = double3x2(183.98730739578014, -241.33547770294149, 45.868758938214114, 363.32610266438041, -328.11893692990714, -471.02307413100408);
double3x2 b1 = double3x2(193.54791531038836, 169.08491976982214, 201.96966442930034, 249.45608317547294, -308.19319810913555, -385.57964843585137);
double3x2 r1 = double3x2(35610.359790024842, -40806.189885013562, 9264.0978505395742, 90633.9064860661, 101124.02453259782, 181616.91132860651);
TestUtils.AreEqual(r1, a1 * b1);
double3x2 a2 = double3x2(-262.68257415605831, -379.26274674910246, -374.09058182970182, 481.44738720424812, 104.62807397946165, 412.93539948618752);
double3x2 b2 = double3x2(-183.27959522198864, 22.275629292370581, -265.52144229855458, -95.677454277722859, 133.25437146669924, 148.31146080247663);
double3x2 r2 = double3x2(48144.355863192381, -8448.3163509892329, 99329.070837727879, -46063.660376363579, 13942.148235904471, 61243.052314850727);
TestUtils.AreEqual(r2, a2 * b2);
double3x2 a3 = double3x2(477.87724731763694, 20.377821216535722, 291.99596299417124, -138.48832399141429, -393.46498483860165, 9.36312318284206);
double3x2 b3 = double3x2(249.284127113076, 500.00547503866505, -19.331578978957396, -36.691062705913112, 30.5238278054278, -401.36701054189678);
double3x2 r3 = double3x2(119127.21246477668, 10189.022177626932, -5644.7430201585421, 5081.2837796057929, -12010.057444678736, -3758.048761232847);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void double3x2_operator_mul_wide_scalar()
{
double3x2 a0 = double3x2(-96.318821236639678, -277.14229239017811, -239.93690191951436, 509.53140544776409, 255.85810172551226, 215.73149667295229);
double b0 = (-301.20720424373042);
double3x2 r0 = double3x2(29011.922860739887, 83477.255068544036, 72270.723422079071, -153474.5301092997, -77066.303503849529, -64979.880980175592);
TestUtils.AreEqual(r0, a0 * b0);
double3x2 a1 = double3x2(-455.50827500573746, -338.29248658674419, 53.796284939067618, 243.75734459783757, 135.35469991311186, -207.35010275959507);
double b1 = (-389.24327367788334);
double3x2 r1 = double3x2(177303.53215059882, 131678.07493965575, -20939.842061390889, -94880.9067942902, -52685.906501867168, 80709.6327955903);
TestUtils.AreEqual(r1, a1 * b1);
double3x2 a2 = double3x2(-383.93960946795517, 42.676120539510634, 260.38388049806645, 176.86755927692525, 25.672123205695357, -290.50059689697838);
double b2 = (-31.425238862366086);
double3x2 r2 = double3x2(12065.393936254042, -1341.1072816732492, -8182.625640561525, -5558.1052972810685, -806.752603843068, 9129.05064714747);
TestUtils.AreEqual(r2, a2 * b2);
double3x2 a3 = double3x2(207.09101805793637, -208.4020064847553, 370.94506400215676, -341.59844247512444, 10.270311121954705, -176.88876565587185);
double b3 = (-156.52330858843555);
double3x2 r3 = double3x2(-32414.571325375655, 32619.7715714625, -58061.548722166561, 53468.118424862856, -1607.5430770409582, 27687.214852581492);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void double3x2_operator_mul_scalar_wide()
{
double a0 = (37.432166355397612);
double3x2 b0 = double3x2(96.747546479454058, 492.18539427788244, -274.05458534604617, -452.87096926796761, 420.85330434369541, 102.18292694081686);
double3x2 r0 = double3x2(3621.4702542954869, 18423.565556306661, -10258.456829132712, -16951.941459168724, 15753.450899411988, 3824.9283199300971);
TestUtils.AreEqual(r0, a0 * b0);
double a1 = (-114.94887762654054);
double3x2 b1 = double3x2(-351.12003843445336, -464.66496799172131, 444.08484646495663, 447.10525605040846, 130.82935124767448, -321.41334191030512);
double3x2 r1 = double3x2(40360.854330228191, 53412.716543020746, -51047.054672101345, -51394.247363921473, -15038.687086528622, 36946.1029067851);
TestUtils.AreEqual(r1, a1 * b1);
double a2 = (445.30131861441828);
double3x2 b2 = double3x2(478.24357317306271, 358.57170622356784, -144.89011222910608, -438.89383741789209, -3.536441089369589, -471.80755470311624);
double3x2 r2 = double3x2(212962.49375283587, 159672.45359917657, -64519.758029811986, -195440.00453392946, -1574.7818802984877, -210096.52624154196);
TestUtils.AreEqual(r2, a2 * b2);
double a3 = (-42.560401697904069);
double3x2 b3 = double3x2(119.91104155402218, 271.9000023677479, 239.6840079946835, 487.44143389511919, -79.188288010278825, -112.92564468873928);
double3x2 r3 = double3x2(-5103.4620965532513, -11572.173322432418, -10201.047660817379, -20745.703230778625, 3370.2853474867875, 4806.1607999475309);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void double3x2_operator_div_wide_wide()
{
double3x2 a0 = double3x2(-353.13144390337703, -102.79985456485292, 51.319128298814917, -191.87167868012176, 8.0418245829836223, -128.73764210973758);
double3x2 b0 = double3x2(-178.73954805114283, -302.09628381491467, -199.40583739029518, 278.85077561012042, 502.33758782890516, -361.48483078623417);
double3x2 r0 = double3x2(1.97567604793504, 0.34028837848212429, -0.25736021056579439, -0.68808013268139567, 0.016008805189634039, 0.35613566917796119);
TestUtils.AreEqual(r0, a0 / b0);
double3x2 a1 = double3x2(-136.05959779399427, -370.4710053738537, -237.69456326109105, -432.54687496300176, 200.26549181727012, 361.44157068871039);
double3x2 b1 = double3x2(353.121059820578, -38.894930142394685, -75.764737402910725, -195.21784719974636, -405.03399224068687, -394.2300085473014);
double3x2 r1 = double3x2(-0.3853058151307277, 9.5249176182488586, 3.1372716570909582, 2.2157137842034547, -0.49444119667433889, -0.9168291678773689);
TestUtils.AreEqual(r1, a1 / b1);
double3x2 a2 = double3x2(-416.22613234828509, -450.01919362042992, -273.49744594911925, -286.90817011841955, -314.25606241554772, 177.76210340194507);
double3x2 b2 = double3x2(-375.82771342612227, -121.24548655433836, 447.623344391409, 338.28628007429018, -405.54420752336466, -431.16893526127978);
double3x2 r2 = double3x2(1.1074918572499153, 3.7116366671409717, -0.61099906735420106, -0.84812239519560884, 0.77489964493560781, -0.41227947763496636);
TestUtils.AreEqual(r2, a2 / b2);
double3x2 a3 = double3x2(97.626988217992221, -68.107280047660367, -386.45074027890837, 263.69934690357161, -297.0270885420158, -501.77703046322659);
double3x2 b3 = double3x2(296.20513095343722, 437.939790691221, 39.21061684527001, 331.2897075765253, -310.61955156485533, 207.26946959610541);
double3x2 r3 = double3x2(0.32959249525403717, -0.15551745124635385, -9.855767936625206, 0.79597808465769837, 0.95624080018671487, -2.420892143165184);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void double3x2_operator_div_wide_scalar()
{
double3x2 a0 = double3x2(171.34242184988341, 0.10338377957384637, 57.888263967767443, -256.13074529177078, 95.6696842162263, -290.38690461329509);
double b0 = (171.79682191265601);
double3x2 r0 = double3x2(0.99735501473360411, 0.00060177934855167557, 0.33695771157628673, -1.4908933846400916, 0.55687691513214455, -1.6902926455818372);
TestUtils.AreEqual(r0, a0 / b0);
double3x2 a1 = double3x2(-127.44869118903239, 146.46688110496234, -499.84355687529012, 58.686315802245531, -453.20579859856787, -205.03382143985192);
double b1 = (-79.7448890580539);
double3x2 r1 = double3x2(1.5982051350808244, -1.8366930198916591, 6.2680325069034382, -0.73592573135968842, 5.6831955496061468, 2.5711217842511296);
TestUtils.AreEqual(r1, a1 / b1);
double3x2 a2 = double3x2(481.73814247629514, -293.46349753693841, -158.50557930697948, -289.5822156824089, 494.12860535743118, 203.58342680874443);
double b2 = (464.47907159499778);
double3x2 r2 = double3x2(1.0371579085835463, -0.631812099798597, -0.34125451285174013, -0.62345589584477534, 1.0638339498497067, 0.4383048435522599);
TestUtils.AreEqual(r2, a2 / b2);
double3x2 a3 = double3x2(180.97040160976837, 460.84470603468117, 490.95625924084163, -280.47805536933151, -320.24387112271222, 192.41448912043802);
double b3 = (259.11918723728468);
double3x2 r3 = double3x2(0.69840602519352346, 1.778504752767186, 1.8947120993832676, -1.082428740070444, -1.2358940861814818, 0.7425713671455646);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void double3x2_operator_div_scalar_wide()
{
double a0 = (-264.44250095283729);
double3x2 b0 = double3x2(105.58908157497137, -142.34910137129441, -288.94890679463231, 39.644133824689334, -363.99138396046658, -149.71822006521666);
double3x2 r0 = double3x2(-2.5044492954044237, 1.85770404172122, 0.915187753732487, -6.670406827961755, 0.72650758398599513, 1.7662679988958405);
TestUtils.AreEqual(r0, a0 / b0);
double a1 = (-395.72912306139671);
double3x2 b1 = double3x2(258.71868693955184, -9.6662514254759344, 117.72553282497711, -331.38655797177296, -509.98602676297821, 427.8964666928614);
double3x2 r1 = double3x2(-1.5295730190291843, 40.939254075104124, -3.3614553577746666, 1.1941616626921372, 0.77596071714591563, -0.92482447008716717);
TestUtils.AreEqual(r1, a1 / b1);
double a2 = (467.61712882836218);
double3x2 b2 = double3x2(-407.12461943511136, 252.69070994699871, 444.59937664708093, -88.313306134340053, 199.95503411067421, -218.34692607556792);
double3x2 r2 = double3x2(-1.1485847490067898, 1.8505513278523131, 1.0517718948570469, -5.2949793105586425, 2.33861143285614, -2.1416245111988621);
TestUtils.AreEqual(r2, a2 / b2);
double a3 = (-13.417186028052697);
double3x2 b3 = double3x2(-296.13107575854804, 0.561349630617201, -289.29929865957206, 196.21833929615946, 334.73346845001606, -282.39273203648293);
double3x2 r3 = double3x2(0.045308267609821762, -23.901656465508974, 0.04637821830270366, -0.068378858348207977, -0.04008319242823552, 0.04751250477055232);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void double3x2_operator_mod_wide_wide()
{
double3x2 a0 = double3x2(-388.81249422059045, 181.68118842955732, -167.07872470052854, 432.82015319951813, -258.43895995730486, -170.11079629236406);
double3x2 b0 = double3x2(436.94417187056695, 58.940049437312382, -201.11623368091705, 279.2893537391393, -397.07975954426445, 377.89994758083481);
double3x2 r0 = double3x2(-388.81249422059045, 4.8610401176201776, -167.07872470052854, 153.53079946037883, -258.43895995730486, -170.11079629236406);
TestUtils.AreEqual(r0, a0 % b0);
double3x2 a1 = double3x2(283.318293464984, 122.71651297561664, 335.27101413126616, -503.60851668920765, 191.02251848532933, 289.74269379756538);
double3x2 b1 = double3x2(174.69386657266591, -228.17652736798698, -317.06019106370405, -417.48011107811709, -249.9759434433542, -397.57157177364991);
double3x2 r1 = double3x2(108.62442689231807, 122.71651297561664, 18.210823067562103, -86.128405611090557, 191.02251848532933, 289.74269379756538);
TestUtils.AreEqual(r1, a1 % b1);
double3x2 a2 = double3x2(-124.03371745163281, 259.27395761165485, -274.35845030208975, -140.03080398404541, 324.5775689205982, -200.51308903494527);
double3x2 b2 = double3x2(-358.74544947163452, -198.1592100589346, 208.73709378425826, -12.119406944196385, 25.27141596063575, -194.12068495253135);
double3x2 r2 = double3x2(-124.03371745163281, 61.114747552720246, -65.621356517831487, -6.7173275978851734, 21.3205773929692, -6.3924040824139183);
TestUtils.AreEqual(r2, a2 % b2);
double3x2 a3 = double3x2(211.42317328761476, -51.272212767634642, -230.63392483006879, 99.989400671790122, 399.18986649028489, 24.903281461868119);
double3x2 b3 = double3x2(-493.8717965995296, -312.3016990685378, -216.98060546488529, 413.57096047586344, -436.39440151508637, 3.4912750737235);
double3x2 r3 = double3x2(211.42317328761476, -51.272212767634642, -13.653319365183506, 99.989400671790122, 399.18986649028489, 0.46435594580361794);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void double3x2_operator_mod_wide_scalar()
{
double3x2 a0 = double3x2(-244.49962889612635, -211.81931958525411, -145.92677576184587, -304.91822090042672, 155.47946436492703, -133.90778428591221);
double b0 = (39.634963769295723);
double3x2 r0 = double3x2(-6.6898462803520147, -13.644500738775491, -27.021884453958705, -27.473474515356656, 36.574573057039856, -15.002892978025045);
TestUtils.AreEqual(r0, a0 % b0);
double3x2 a1 = double3x2(281.30965412841624, 335.16613046041039, 101.70649032560482, 319.47152033423606, -285.40231646476423, -355.84685985923136);
double b1 = (-226.53575311719243);
double3x2 r1 = double3x2(54.773901011223813, 108.63037734321796, 101.70649032560482, 92.935767217043633, -58.8665633475718, -129.31110674203893);
TestUtils.AreEqual(r1, a1 % b1);
double3x2 a2 = double3x2(259.37800061860025, -284.34358109363518, -102.68343811048356, -172.14173921017988, 206.41684517935698, -416.71365447375626);
double b2 = (-330.87193957477433);
double3x2 r2 = double3x2(259.37800061860025, -284.34358109363518, -102.68343811048356, -172.14173921017988, 206.41684517935698, -85.841714898981934);
TestUtils.AreEqual(r2, a2 % b2);
double3x2 a3 = double3x2(-339.256669917729, 132.55290490600885, 226.94410215455298, -306.11827268550093, 115.43844633709568, 281.88292015804109);
double b3 = (435.29751440291182);
double3x2 r3 = double3x2(-339.256669917729, 132.55290490600885, 226.94410215455298, -306.11827268550093, 115.43844633709568, 281.88292015804109);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void double3x2_operator_mod_scalar_wide()
{
double a0 = (-66.945025236785909);
double3x2 b0 = double3x2(-249.77609479137516, -396.07375664081133, 386.49204582091977, 168.93948109864232, -199.4182442163202, 261.7517141130528);
double3x2 r0 = double3x2(-66.945025236785909, -66.945025236785909, -66.945025236785909, -66.945025236785909, -66.945025236785909, -66.945025236785909);
TestUtils.AreEqual(r0, a0 % b0);
double a1 = (16.127438791155555);
double3x2 b1 = double3x2(257.66814744550186, -75.788451945310669, 170.95630439136005, -242.85828005655588, 425.94531913564788, 303.27240409668184);
double3x2 r1 = double3x2(16.127438791155555, 16.127438791155555, 16.127438791155555, 16.127438791155555, 16.127438791155555, 16.127438791155555);
TestUtils.AreEqual(r1, a1 % b1);
double a2 = (3.033060790520608);
double3x2 b2 = double3x2(-505.74352788633831, 461.95706126743789, 205.97275672013529, 270.04063642678807, -47.480711720642034, -150.254496405951);
double3x2 r2 = double3x2(3.033060790520608, 3.033060790520608, 3.033060790520608, 3.033060790520608, 3.033060790520608, 3.033060790520608);
TestUtils.AreEqual(r2, a2 % b2);
double a3 = (149.49949009227544);
double3x2 b3 = double3x2(-220.29804263836616, 31.118842377848409, 400.63568348467152, 6.2314283876826266, -39.050740021770252, -71.941097054603063);
double3x2 r3 = double3x2(149.49949009227544, 25.0241205808818, 149.49949009227544, 6.1766371755750242, 32.347270026964679, 5.6172959830693117);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void double3x2_operator_plus()
{
double3x2 a0 = double3x2(-418.82956357432045, -405.79894823851015, -34.041791216489742, 236.99924456188421, -459.83910129025537, 210.8614223985287);
double3x2 r0 = double3x2(-418.82956357432045, -405.79894823851015, -34.041791216489742, 236.99924456188421, -459.83910129025537, 210.8614223985287);
TestUtils.AreEqual(r0, +a0);
double3x2 a1 = double3x2(293.74197902052754, -386.059833944803, 4.9544198536101476, -418.64524932328857, 504.47483062393724, -170.74650843941907);
double3x2 r1 = double3x2(293.74197902052754, -386.059833944803, 4.9544198536101476, -418.64524932328857, 504.47483062393724, -170.74650843941907);
TestUtils.AreEqual(r1, +a1);
double3x2 a2 = double3x2(439.55937572920664, 116.40075665172219, 421.40964742256779, -258.5960806620289, 447.86609122150867, 124.16434031546316);
double3x2 r2 = double3x2(439.55937572920664, 116.40075665172219, 421.40964742256779, -258.5960806620289, 447.86609122150867, 124.16434031546316);
TestUtils.AreEqual(r2, +a2);
double3x2 a3 = double3x2(222.17254386757156, 239.04183947250328, 498.4495329793773, -139.382530515726, 279.07295549990283, 108.7758186370022);
double3x2 r3 = double3x2(222.17254386757156, 239.04183947250328, 498.4495329793773, -139.382530515726, 279.07295549990283, 108.7758186370022);
TestUtils.AreEqual(r3, +a3);
}
[TestCompiler]
public static void double3x2_operator_neg()
{
double3x2 a0 = double3x2(148.46174890755753, -467.12267873581624, 132.04719954917539, 183.52262290917463, 473.7010145009034, -407.99109024926605);
double3x2 r0 = double3x2(-148.46174890755753, 467.12267873581624, -132.04719954917539, -183.52262290917463, -473.7010145009034, 407.99109024926605);
TestUtils.AreEqual(r0, -a0);
double3x2 a1 = double3x2(-54.958759571872065, -299.09338893512887, -383.01406377508027, 407.70980305583669, 168.73550351370852, 466.44152829909763);
double3x2 r1 = double3x2(54.958759571872065, 299.09338893512887, 383.01406377508027, -407.70980305583669, -168.73550351370852, -466.44152829909763);
TestUtils.AreEqual(r1, -a1);
double3x2 a2 = double3x2(171.90249474900895, -78.85761622286293, 318.69633522569029, -39.91539694737429, 140.34000284054321, 132.19563180403577);
double3x2 r2 = double3x2(-171.90249474900895, 78.85761622286293, -318.69633522569029, 39.91539694737429, -140.34000284054321, -132.19563180403577);
TestUtils.AreEqual(r2, -a2);
double3x2 a3 = double3x2(-505.89525127126615, -237.05693375182193, -137.617827241131, -245.34998547534923, 422.52133222227974, -434.57134386271764);
double3x2 r3 = double3x2(505.89525127126615, 237.05693375182193, 137.617827241131, 245.34998547534923, -422.52133222227974, 434.57134386271764);
TestUtils.AreEqual(r3, -a3);
}
[TestCompiler]
public static void double3x2_operator_prefix_inc()
{
double3x2 a0 = double3x2(-139.84208137348389, -56.743654039103376, -381.955324589254, 509.79634380237962, -222.89634452708827, 210.31986556310198);
double3x2 r0 = double3x2(-138.84208137348389, -55.743654039103376, -380.955324589254, 510.79634380237962, -221.89634452708827, 211.31986556310198);
TestUtils.AreEqual(r0, ++a0);
double3x2 a1 = double3x2(-392.73151058365193, 362.21273939787068, 401.614830919362, 130.90919429199266, -450.23016402229212, 243.54693114177644);
double3x2 r1 = double3x2(-391.73151058365193, 363.21273939787068, 402.614830919362, 131.90919429199266, -449.23016402229212, 244.54693114177644);
TestUtils.AreEqual(r1, ++a1);
double3x2 a2 = double3x2(46.19202735190845, 299.18547000511808, 154.35656530892311, -281.23327435237974, 200.70599922943211, 92.957765384091886);
double3x2 r2 = double3x2(47.19202735190845, 300.18547000511808, 155.35656530892311, -280.23327435237974, 201.70599922943211, 93.957765384091886);
TestUtils.AreEqual(r2, ++a2);
double3x2 a3 = double3x2(448.60215565590283, 18.499063262016989, -215.71113381893895, 471.94723651928234, 257.07660090973445, 41.625937719655212);
double3x2 r3 = double3x2(449.60215565590283, 19.499063262016989, -214.71113381893895, 472.94723651928234, 258.07660090973445, 42.625937719655212);
TestUtils.AreEqual(r3, ++a3);
}
[TestCompiler]
public static void double3x2_operator_postfix_inc()
{
double3x2 a0 = double3x2(-396.6697396695007, 511.20749378167443, 249.11127030528678, -128.81731301584153, -259.49027669592306, 278.00817764830219);
double3x2 r0 = double3x2(-396.6697396695007, 511.20749378167443, 249.11127030528678, -128.81731301584153, -259.49027669592306, 278.00817764830219);
TestUtils.AreEqual(r0, a0++);
double3x2 a1 = double3x2(-81.393423356764686, 167.85212691493894, 147.94395048354932, -326.10758486674524, 41.033564825092185, 128.5304239394751);
double3x2 r1 = double3x2(-81.393423356764686, 167.85212691493894, 147.94395048354932, -326.10758486674524, 41.033564825092185, 128.5304239394751);
TestUtils.AreEqual(r1, a1++);
double3x2 a2 = double3x2(73.155582223625629, -446.22976490772783, -296.93783797739906, 267.29380071689081, 446.22930714405572, 49.200223230384381);
double3x2 r2 = double3x2(73.155582223625629, -446.22976490772783, -296.93783797739906, 267.29380071689081, 446.22930714405572, 49.200223230384381);
TestUtils.AreEqual(r2, a2++);
double3x2 a3 = double3x2(-326.64314738225335, 471.64748762159024, -171.01308186865089, 310.72735967800361, -298.91717185588425, 489.98497008252184);
double3x2 r3 = double3x2(-326.64314738225335, 471.64748762159024, -171.01308186865089, 310.72735967800361, -298.91717185588425, 489.98497008252184);
TestUtils.AreEqual(r3, a3++);
}
[TestCompiler]
public static void double3x2_operator_prefix_dec()
{
double3x2 a0 = double3x2(123.12869626056806, 256.8437465433235, 156.33078844674435, 461.73742530389563, 325.86799755965728, 392.01561731473339);
double3x2 r0 = double3x2(122.12869626056806, 255.8437465433235, 155.33078844674435, 460.73742530389563, 324.86799755965728, 391.01561731473339);
TestUtils.AreEqual(r0, --a0);
double3x2 a1 = double3x2(187.87412580655609, 125.10963517292851, 469.8447313112415, 45.536655685648611, 376.04684680329956, -363.07547991493504);
double3x2 r1 = double3x2(186.87412580655609, 124.10963517292851, 468.8447313112415, 44.536655685648611, 375.04684680329956, -364.07547991493504);
TestUtils.AreEqual(r1, --a1);
double3x2 a2 = double3x2(-22.028951416736902, 168.0950144120003, 168.26565011230559, -190.284744112885, 166.9455474200405, 183.95795854551625);
double3x2 r2 = double3x2(-23.028951416736902, 167.0950144120003, 167.26565011230559, -191.284744112885, 165.9455474200405, 182.95795854551625);
TestUtils.AreEqual(r2, --a2);
double3x2 a3 = double3x2(485.69469259944492, 89.569894117102876, -267.42982090051743, 201.75623450137505, -141.21688682456357, -217.48409782046645);
double3x2 r3 = double3x2(484.69469259944492, 88.569894117102876, -268.42982090051743, 200.75623450137505, -142.21688682456357, -218.48409782046645);
TestUtils.AreEqual(r3, --a3);
}
[TestCompiler]
public static void double3x2_operator_postfix_dec()
{
double3x2 a0 = double3x2(379.68831723727669, 302.69287814884115, -176.07134040448409, -291.25267066212962, 470.56758401848731, -402.92594666170231);
double3x2 r0 = double3x2(379.68831723727669, 302.69287814884115, -176.07134040448409, -291.25267066212962, 470.56758401848731, -402.92594666170231);
TestUtils.AreEqual(r0, a0--);
double3x2 a1 = double3x2(-63.655158787805192, -27.889220489137415, -100.76183824462902, 156.14034969924967, 479.94519613680677, -200.30429491787419);
double3x2 r1 = double3x2(-63.655158787805192, -27.889220489137415, -100.76183824462902, 156.14034969924967, 479.94519613680677, -200.30429491787419);
TestUtils.AreEqual(r1, a1--);
double3x2 a2 = double3x2(-445.0269393609031, 327.67032519340069, 48.0602071509046, -209.66798100698179, -38.435048836485976, 283.941595924991);
double3x2 r2 = double3x2(-445.0269393609031, 327.67032519340069, 48.0602071509046, -209.66798100698179, -38.435048836485976, 283.941595924991);
TestUtils.AreEqual(r2, a2--);
double3x2 a3 = double3x2(-94.802087112703418, -287.262531175866, -215.94803939384781, -407.04635567546188, 159.23357136511879, -359.45648663093175);
double3x2 r3 = double3x2(-94.802087112703418, -287.262531175866, -215.94803939384781, -407.04635567546188, 159.23357136511879, -359.45648663093175);
TestUtils.AreEqual(r3, a3--);
}
}
}

View File

@@ -0,0 +1,960 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using NUnit.Framework;
using static Unity.Mathematics.math;
using Burst.Compiler.IL.Tests;
namespace Unity.Mathematics.Tests
{
[TestFixture]
public class TestDouble3x3
{
[TestCompiler]
public static void double3x3_zero()
{
TestUtils.AreEqual(0.0, double3x3.zero.c0.x);
TestUtils.AreEqual(0.0, double3x3.zero.c0.y);
TestUtils.AreEqual(0.0, double3x3.zero.c0.z);
TestUtils.AreEqual(0.0, double3x3.zero.c1.x);
TestUtils.AreEqual(0.0, double3x3.zero.c1.y);
TestUtils.AreEqual(0.0, double3x3.zero.c1.z);
TestUtils.AreEqual(0.0, double3x3.zero.c2.x);
TestUtils.AreEqual(0.0, double3x3.zero.c2.y);
TestUtils.AreEqual(0.0, double3x3.zero.c2.z);
}
[TestCompiler]
public static void double3x3_identity()
{
TestUtils.AreEqual(1.0, double3x3.identity.c0.x);
TestUtils.AreEqual(0.0, double3x3.identity.c0.y);
TestUtils.AreEqual(0.0, double3x3.identity.c0.z);
TestUtils.AreEqual(0.0, double3x3.identity.c1.x);
TestUtils.AreEqual(1.0, double3x3.identity.c1.y);
TestUtils.AreEqual(0.0, double3x3.identity.c1.z);
TestUtils.AreEqual(0.0, double3x3.identity.c2.x);
TestUtils.AreEqual(0.0, double3x3.identity.c2.y);
TestUtils.AreEqual(1.0, double3x3.identity.c2.z);
}
[TestCompiler]
public static void double3x3_operator_equal_wide_wide()
{
double3x3 a0 = double3x3(492.15758275061728, -495.20632027797694, 227.45765195947968, -147.37405950733182, -222.68201909897942, 64.093720704360749, -23.890404473939157, -16.8197190839889, 163.23210890741655);
double3x3 b0 = double3x3(192.56880888369346, -235.61102472786376, -254.04311740307281, -412.62472052715009, 471.90480945627428, -6.4727852374654162, -339.10237447316865, 488.1875700839737, -379.5965842584132);
bool3x3 r0 = bool3x3(false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
double3x3 a1 = double3x3(-165.27101071424363, 470.87767980568003, -423.94255967808078, 109.63436918595539, 462.69031283943468, -335.38147727371262, 357.23446934168896, 1.5455777652308598, -347.38824741327585);
double3x3 b1 = double3x3(-308.41700258311675, -82.333374300195544, -102.92108087563935, 226.51573835430463, -356.90132896830391, -362.91277544708589, -427.89843746083716, 466.65013978753711, -102.79904680270658);
bool3x3 r1 = bool3x3(false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
double3x3 a2 = double3x3(-114.47217302884542, 435.84865804940864, 194.23808607563285, 138.76554710174241, -467.34914205379278, 370.43337767684523, 476.70826147343416, 320.55264702465047, -498.59197377534207);
double3x3 b2 = double3x3(-43.355954428834821, 85.045664111639212, -91.127054972167628, 422.19208856215334, -477.43130873024057, 1.8770024785198984, 312.5800799394865, 254.59934365684137, 352.72583763335172);
bool3x3 r2 = bool3x3(false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
double3x3 a3 = double3x3(92.4169581366782, 104.51136856177425, 166.75460608618084, -204.73343024250744, 434.75675674656259, -397.32965988541469, 503.98163699730378, -503.7141270598928, 90.659743112819115);
double3x3 b3 = double3x3(62.490957050812881, 119.71476059766246, -511.05808639482507, -302.47273053902791, -371.76924365189359, -20.007841834802093, 21.459455738523729, -426.02067228128232, -305.41193666374863);
bool3x3 r3 = bool3x3(false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void double3x3_operator_equal_wide_scalar()
{
double3x3 a0 = double3x3(-303.2300766926399, 451.52631327674089, -253.65587413201848, -105.20363502632995, -500.6910920090466, -426.19248338518315, 159.87609656149334, -59.558379439431405, -57.477391031327386);
double b0 = (123.5445759871717);
bool3x3 r0 = bool3x3(false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
double3x3 a1 = double3x3(-182.04973968400139, 370.88599866017978, -172.03530629539642, 455.40001198993991, -11.338988547836891, 363.93823044557973, -27.150561106927, -325.97606507221985, -290.35904254129116);
double b1 = (406.51375861024189);
bool3x3 r1 = bool3x3(false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
double3x3 a2 = double3x3(180.19686635779067, -439.35894295170851, -126.54608899287234, -197.2617896521752, -227.15933357326281, -479.8991937487848, -439.77767750237962, -495.23734902555, -224.51705013239621);
double b2 = (-374.12832015293105);
bool3x3 r2 = bool3x3(false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
double3x3 a3 = double3x3(-422.83322616239695, -20.106708774392814, 297.37999906082632, 185.9665759475746, -102.97598962810633, -220.59704910060253, -228.686854707397, -333.00125972041917, 434.2130317325765);
double b3 = (-450.19627043707123);
bool3x3 r3 = bool3x3(false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void double3x3_operator_equal_scalar_wide()
{
double a0 = (-253.39728534100453);
double3x3 b0 = double3x3(19.952187785856495, -185.79199346610903, 407.8136052600172, -87.2766969610363, -206.27469382354741, 160.503138855334, -274.77081478516141, -2.6315281403397535, 448.35453602688131);
bool3x3 r0 = bool3x3(false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
double a1 = (-410.03524251004461);
double3x3 b1 = double3x3(247.32901465489022, 355.53915350303942, -298.06671180299793, 414.10151429385951, -481.30262707234482, 196.55074438664633, 34.60100008668428, 113.76156645350227, -386.45337861890596);
bool3x3 r1 = bool3x3(false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
double a2 = (-124.49174672201821);
double3x3 b2 = double3x3(243.8866447153905, -492.6181826501238, 145.424413033493, 421.55070968230757, -95.409988209330493, 336.80928746648567, 209.58380589707929, 487.441424358376, 161.80653365040507);
bool3x3 r2 = bool3x3(false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
double a3 = (149.84247095409899);
double3x3 b3 = double3x3(225.723996505944, -71.21880176999548, 85.780251781353854, 192.547256797807, -49.887493395194156, -229.80195652218629, -103.40733413743197, 19.215747126944279, 492.88110827509365);
bool3x3 r3 = bool3x3(false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void double3x3_operator_not_equal_wide_wide()
{
double3x3 a0 = double3x3(430.8425316432689, 104.69001798736394, 225.80243478799355, -310.57017841496048, -418.61945815506363, 304.12820281839379, -509.32682561749908, -160.53807719076895, -203.30197606016975);
double3x3 b0 = double3x3(210.02470622305975, -55.203330304102678, -269.92533672504373, -234.54673372700194, 25.917412054686565, -63.726991444699024, -484.55371092471933, -425.333599050219, -53.274394775402925);
bool3x3 r0 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
double3x3 a1 = double3x3(-505.76325368590807, 162.17220623892365, 1.1561973100324394, 65.662074358045174, 102.78780250567377, 172.93008120960098, 26.621009123800832, 235.12595259171258, 128.54198533321824);
double3x3 b1 = double3x3(328.1944192984115, 15.963139303011417, 461.71412417931208, -113.36304455313973, -240.07297264787974, 495.11916970420589, 203.5583661550462, 340.49345103860526, -241.90719448863865);
bool3x3 r1 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
double3x3 a2 = double3x3(-354.99697630246959, 334.35948220564023, -495.83200692377613, 468.30740163675853, 458.37094733601941, 299.93733300824522, 43.12718560319729, -354.71349994964595, -145.28719551176169);
double3x3 b2 = double3x3(459.56982896270688, 213.0737384357833, -384.7828506831, -255.07233846144396, 477.66343115161328, -248.03662621604121, -407.92344565313471, -199.78886971240343, 151.84326488889906);
bool3x3 r2 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
double3x3 a3 = double3x3(390.80186218340032, -303.13149108697263, 391.13459533785215, 139.2868607692825, 104.52318506339714, 511.29640293088573, 213.1470559635884, -101.09569625793756, 441.6633772522506);
double3x3 b3 = double3x3(-97.120607659742518, 154.97589380805186, -172.83452065886672, 441.5027942329192, -401.73862785926957, -411.43016333665241, -337.8202766561044, -430.63088270213029, -150.87180502287663);
bool3x3 r3 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void double3x3_operator_not_equal_wide_scalar()
{
double3x3 a0 = double3x3(-16.914588697680529, 168.83411486858233, -462.71352145760949, 130.30776959765137, 214.50161443208424, -440.26328178879959, -197.12796053529155, -169.09985860115842, -386.61117595555783);
double b0 = (-145.37277109239847);
bool3x3 r0 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
double3x3 a1 = double3x3(-281.02101362916687, -403.96372313236992, -269.80570877241234, 299.65422763473089, -71.750904831919286, -432.75573917513515, -457.36312100727258, -13.519590622521719, 273.87305773136814);
double b1 = (-270.26885593601912);
bool3x3 r1 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
double3x3 a2 = double3x3(185.042454567292, 116.39514427836764, 511.73495578753523, 230.50753628020527, 100.27476768394683, 129.68240863163135, 321.17879048044733, -220.63900409482375, 140.33521921016984);
double b2 = (-482.53069351731364);
bool3x3 r2 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
double3x3 a3 = double3x3(369.2123617461009, -333.66624871532724, -373.93775218256644, 150.20429451307484, -442.16476627912596, 372.32001488856974, -95.837970539852051, 495.56669663617697, -5.385580780629823);
double b3 = (453.81121489676241);
bool3x3 r3 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void double3x3_operator_not_equal_scalar_wide()
{
double a0 = (275.79582823244664);
double3x3 b0 = double3x3(-57.196896341255353, -382.4325279586169, 97.820359990848374, -161.46364529499022, -458.39563367254829, -499.61786364932448, 327.92217818271467, 367.57121699283425, 59.7863667289663);
bool3x3 r0 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
double a1 = (-209.58068118318016);
double3x3 b1 = double3x3(-62.580453186566217, -479.97497604786184, -49.494519495169868, -114.68521338081229, 109.93924599044919, -176.28482755286842, -347.48529903380449, 85.540928165214609, -356.65954868712441);
bool3x3 r1 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
double a2 = (-104.24357490625397);
double3x3 b2 = double3x3(-133.54918605347592, 243.53971135036079, 13.141311890045813, -379.98594754747393, -41.281226892620907, 87.911684792447659, -339.07727996403224, -371.82034533648766, 333.14425936953364);
bool3x3 r2 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
double a3 = (294.81196011920088);
double3x3 b3 = double3x3(-187.14565977228136, 220.19225774528093, -228.18207250730234, -499.72373914146971, 97.4059055305114, 501.60439395420462, 459.67539880223353, 158.09812290877949, 358.48858921531985);
bool3x3 r3 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void double3x3_operator_less_wide_wide()
{
double3x3 a0 = double3x3(196.84256825076534, 336.40979997087732, 251.96372115424072, 257.65591466503963, 430.04588647840819, -62.419644146421774, 8.8392293494376872, -333.81671563434259, 164.67880662003472);
double3x3 b0 = double3x3(-465.34502313348696, -256.15239751346053, -314.814018634527, 364.56673662949663, 100.21050290959442, 182.56098636545289, 3.116978885194726, -259.43047893207074, -437.33490749696966);
bool3x3 r0 = bool3x3(false, false, false, true, false, true, false, true, false);
TestUtils.AreEqual(r0, a0 < b0);
double3x3 a1 = double3x3(-350.94487516532877, 3.84143662631584, 125.40972024081725, -111.12994127680076, 70.005523475820951, 448.19828173527412, -419.98711200244122, -258.30166757213965, -34.832201735504043);
double3x3 b1 = double3x3(-456.0437321402336, -394.2559718537405, 401.91369099259077, 313.43916454605721, 121.28668194696616, -28.012290729215522, -282.96589697663012, 330.06440631023816, 124.09937077579059);
bool3x3 r1 = bool3x3(false, false, true, true, true, false, true, true, true);
TestUtils.AreEqual(r1, a1 < b1);
double3x3 a2 = double3x3(-69.859397682295821, 67.767227442826766, -139.77729207825723, 385.43464130229995, 133.707390609061, 506.18837117878184, 34.442885653322037, 412.11373896715872, -84.809773246203463);
double3x3 b2 = double3x3(-183.69031700104955, 373.0607623406969, 109.75094013556418, -203.57134232463841, 45.6486556742567, -360.95226280808089, 211.91309867236441, -313.28636207863985, -259.66108691862837);
bool3x3 r2 = bool3x3(false, true, true, false, false, false, true, false, false);
TestUtils.AreEqual(r2, a2 < b2);
double3x3 a3 = double3x3(444.78534504621541, -78.754743374304269, 366.97754376334024, 127.18045788965208, 428.36845489422251, 8.1976149120356467, -71.137346062407516, -474.05081937930117, 322.42891875022508);
double3x3 b3 = double3x3(79.0985401045059, 446.49610897828643, 450.52455660818362, -375.63076728192658, -53.941822792376286, -291.4537471697916, 190.77482303919965, 54.083913589866825, -163.63087637891567);
bool3x3 r3 = bool3x3(false, true, true, false, false, false, true, true, false);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void double3x3_operator_less_wide_scalar()
{
double3x3 a0 = double3x3(-132.05731708000292, -192.46500477216438, -66.834607870706634, -379.01750081545561, -360.28242199508588, 20.927834282129879, -158.24074537970159, 437.34587522845061, -20.452607402788772);
double b0 = (-156.01021845452965);
bool3x3 r0 = bool3x3(false, true, false, true, true, false, true, false, false);
TestUtils.AreEqual(r0, a0 < b0);
double3x3 a1 = double3x3(225.29148517609178, 274.01523292903562, 373.54965584983563, 398.52368301829495, 105.0301654827922, -58.010895994496934, 109.67008810381878, -108.853174498702, -44.971252223929014);
double b1 = (307.48418607725023);
bool3x3 r1 = bool3x3(true, true, false, false, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 < b1);
double3x3 a2 = double3x3(140.42607147080173, 172.10334857371788, -197.50074610370245, -7.27149987559369, -432.99049898283113, 62.158315449095426, -72.254720959931035, -377.85232299279994, -500.25573586870718);
double b2 = (-500.08827638071415);
bool3x3 r2 = bool3x3(false, false, false, false, false, false, false, false, true);
TestUtils.AreEqual(r2, a2 < b2);
double3x3 a3 = double3x3(149.1149638393498, 202.63918909925928, 274.95066393304182, 66.4120323967245, 274.99944580486022, -149.63581402117194, 223.75870834279749, 73.266824041151835, 213.09497390179661);
double b3 = (119.88061695912882);
bool3x3 r3 = bool3x3(false, false, false, true, false, true, false, true, false);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void double3x3_operator_less_scalar_wide()
{
double a0 = (-423.117411095238);
double3x3 b0 = double3x3(385.09483617595151, -123.93348532725753, 86.376572887588509, 133.44217378154497, 161.45794947513286, 229.75426660746064, 222.57159934871436, 315.53116360098647, -447.20351883731945);
bool3x3 r0 = bool3x3(true, true, true, true, true, true, true, true, false);
TestUtils.AreEqual(r0, a0 < b0);
double a1 = (271.83385790131695);
double3x3 b1 = double3x3(-393.60531324595462, 317.48689737798964, -164.6051085761772, -282.87605370342544, 296.97953071118309, -254.40115582868509, 365.61562054493265, -441.98425671178114, -131.42866021554391);
bool3x3 r1 = bool3x3(false, true, false, false, true, false, true, false, false);
TestUtils.AreEqual(r1, a1 < b1);
double a2 = (442.62897631275882);
double3x3 b2 = double3x3(-29.792842163607872, -138.37379533535511, 9.2169721169476588, -226.7305482489665, 171.02944310523083, 376.62522595777421, -462.58872697436658, -142.36729795409707, -456.25377414014832);
bool3x3 r2 = bool3x3(false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 < b2);
double a3 = (66.6102416825529);
double3x3 b3 = double3x3(169.37875779409831, 327.44439450253003, 64.0879266560487, -153.50390369887646, 199.38014921889646, -244.96905314408662, 472.74382112582396, -363.78010075342843, -179.48750575794259);
bool3x3 r3 = bool3x3(true, true, false, false, true, false, true, false, false);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void double3x3_operator_greater_wide_wide()
{
double3x3 a0 = double3x3(483.50140141113729, 310.81563415695712, 106.9661896726891, 295.73526038589671, 116.95757179938141, -478.29977653841479, -14.897393471979228, -33.817441717636484, -24.740548383789417);
double3x3 b0 = double3x3(-471.39802454011425, -371.98528617060992, 36.900723236101044, -316.76360407320954, 19.683055648432628, 207.3091381561519, 362.79748861994483, 324.95341816775192, 340.94807140014507);
bool3x3 r0 = bool3x3(true, true, true, true, true, false, false, false, false);
TestUtils.AreEqual(r0, a0 > b0);
double3x3 a1 = double3x3(319.78262701620474, -120.15856581561201, -289.00857962714906, 455.85146662958505, 144.70691139283917, 63.931990891663304, -285.68304099034663, -502.0907201720824, -337.19446412529538);
double3x3 b1 = double3x3(25.986035120666997, -114.2111352021858, 240.80346428640348, 273.42244757033063, 325.51576224226312, 27.341068995809678, 64.479532510265472, 200.94836983501375, 100.12266998184964);
bool3x3 r1 = bool3x3(true, false, false, true, false, true, false, false, false);
TestUtils.AreEqual(r1, a1 > b1);
double3x3 a2 = double3x3(474.31734274063137, -507.14510679018923, -133.56559735795742, -443.10913654934109, -464.34137056038776, -68.361549647693323, -185.99299987870876, -157.80389340119615, -74.124229227250567);
double3x3 b2 = double3x3(-79.00710896356361, -315.137945560337, -122.98542815213347, -163.77920229908972, -492.56600617457462, -90.797273439726439, -284.9012335673446, -23.653687249707843, 174.93002112905026);
bool3x3 r2 = bool3x3(true, false, false, false, true, true, true, false, false);
TestUtils.AreEqual(r2, a2 > b2);
double3x3 a3 = double3x3(-94.471165939453613, 329.61055508703487, -315.83675280019486, 404.193811843262, 131.30440503512716, -206.6339033612208, 197.39985832823436, 187.99195274524016, 362.63607542712055);
double3x3 b3 = double3x3(85.7125366133231, -441.98783012944637, 345.54374210235835, 482.21949814363359, -422.38349719642827, -30.779309048680261, 296.15423669300708, 378.05988830051376, -457.73343942022575);
bool3x3 r3 = bool3x3(false, true, false, false, true, false, false, false, true);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void double3x3_operator_greater_wide_scalar()
{
double3x3 a0 = double3x3(64.317918092160426, -397.70346445483318, 431.87690826499693, 85.702980796668157, 246.26305233978803, 197.49155602114809, 286.1994608781298, 280.81334818564972, -405.78459210218148);
double b0 = (305.85991992888034);
bool3x3 r0 = bool3x3(false, false, true, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 > b0);
double3x3 a1 = double3x3(171.56538661362856, 333.57817498481745, 370.27919524269146, -413.70138116073861, -356.5923551789449, -353.03129522550444, 396.64532608382649, 467.22205541432936, -240.0134228393498);
double b1 = (-241.80727326209063);
bool3x3 r1 = bool3x3(true, true, true, false, false, false, true, true, true);
TestUtils.AreEqual(r1, a1 > b1);
double3x3 a2 = double3x3(502.91505193287276, -259.28970134411458, 281.23064554912537, 428.79219909608, 245.15306460352292, -279.17542494422543, -453.86309668694764, -124.77154856769909, -425.65293451103054);
double b2 = (315.46759024051369);
bool3x3 r2 = bool3x3(true, false, false, true, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 > b2);
double3x3 a3 = double3x3(99.132852838902181, -456.43941256796916, 154.48902208846482, 405.52974409867534, -157.73379643155903, 186.08628639303436, 249.99909531790718, -110.0969179189284, -435.3045134187231);
double b3 = (355.0605339273161);
bool3x3 r3 = bool3x3(false, false, false, true, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void double3x3_operator_greater_scalar_wide()
{
double a0 = (-282.67049635698572);
double3x3 b0 = double3x3(358.09997360692353, -72.5964134077525, -232.16380106292843, -60.706723956720282, 75.156642710397364, 150.88350040786133, 339.53917924479538, -498.19602965665797, 459.74610326241054);
bool3x3 r0 = bool3x3(false, false, false, false, false, false, false, true, false);
TestUtils.AreEqual(r0, a0 > b0);
double a1 = (-227.96872316485678);
double3x3 b1 = double3x3(335.86213485145106, 76.178844248959308, 296.85993899817572, 177.49000390688423, -281.20120657663847, 244.72285162877427, 137.32857257562159, -385.33824724021287, 443.16345879210326);
bool3x3 r1 = bool3x3(false, false, false, false, true, false, false, true, false);
TestUtils.AreEqual(r1, a1 > b1);
double a2 = (-353.56254141105455);
double3x3 b2 = double3x3(26.040673983302327, -331.7939499969566, -43.691963454565041, 20.949428806523542, -211.17984423934473, 227.42171894173214, -84.7797711290325, -375.13548701588786, -205.17813096064054);
bool3x3 r2 = bool3x3(false, false, false, false, false, false, false, true, false);
TestUtils.AreEqual(r2, a2 > b2);
double a3 = (-197.04714617368165);
double3x3 b3 = double3x3(-219.63402305340117, -210.01563344244641, -266.773715858708, 144.77848703450456, -471.71120069535039, -155.91317494023275, 99.724721716588647, -230.94484316135981, -338.86889640375455);
bool3x3 r3 = bool3x3(true, true, true, false, true, false, false, true, true);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void double3x3_operator_less_equal_wide_wide()
{
double3x3 a0 = double3x3(-438.52313753521219, 210.48942837980087, 4.8773329280677444, -137.29793817237857, 156.09410174009111, -363.92412035722475, -97.948485181642923, 437.29539009430232, 458.53029153241323);
double3x3 b0 = double3x3(-474.8141498392514, 304.3710555063426, 234.8241737982371, -390.48543209139513, -297.17535295019638, -326.29239121372461, 107.2538764976216, -413.13107342884462, 67.094432623635271);
bool3x3 r0 = bool3x3(false, true, true, false, false, true, true, false, false);
TestUtils.AreEqual(r0, a0 <= b0);
double3x3 a1 = double3x3(-294.06474675520542, 23.622613679441884, -34.284056441059363, 149.736484835733, -418.8866781754823, -197.50252899783783, -88.2055118494693, -376.71814292330208, 341.62712899857536);
double3x3 b1 = double3x3(470.07522724106684, -84.499104777583455, 392.78422683886447, -263.53175485484849, 369.30090039284005, -333.32529298091555, 238.41347443238533, 486.24259279959028, 279.65021408705513);
bool3x3 r1 = bool3x3(true, false, true, false, true, false, true, true, false);
TestUtils.AreEqual(r1, a1 <= b1);
double3x3 a2 = double3x3(-83.309179106405566, -107.49073295830317, 319.46688833807912, 205.35738501574724, 345.56372968552807, 395.32190746596177, -222.87415490992095, 439.02200790821666, -368.0755667016262);
double3x3 b2 = double3x3(236.05201803709008, 132.75898248178839, 66.294708998079727, 183.00210699020056, 200.13055071613314, 339.043800750302, 438.53791710293751, 145.40187866306019, 178.16310199450845);
bool3x3 r2 = bool3x3(true, true, false, false, false, false, true, false, true);
TestUtils.AreEqual(r2, a2 <= b2);
double3x3 a3 = double3x3(-200.03860173003682, 71.46990660180802, -357.36542932939039, 141.7108519737194, 319.0170969064427, 303.03015889927292, -461.57424829042247, 277.62674749904625, 182.178105677561);
double3x3 b3 = double3x3(157.97596724237133, 329.7052015409364, -243.59091221708383, 5.4011614347813293, -22.580605278993289, -90.33759478961008, -72.19107798123315, -354.35482399275281, -289.52172650467685);
bool3x3 r3 = bool3x3(true, true, true, false, false, false, true, false, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void double3x3_operator_less_equal_wide_scalar()
{
double3x3 a0 = double3x3(193.4958237118534, 168.91555197952107, -313.9930695565385, 81.826965131716292, 18.503590830836288, -0.35819602029312136, 241.36115776810846, -463.81641242644582, -1.3577692515020203);
double b0 = (443.85054299042122);
bool3x3 r0 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 <= b0);
double3x3 a1 = double3x3(-268.89945591096739, -471.253072242836, -264.93778264938749, 82.258299150624453, 11.246050124636895, 424.7040156911612, 426.48223157715154, 56.319978501796754, -196.28791126808522);
double b1 = (398.9919504593089);
bool3x3 r1 = bool3x3(true, true, true, true, true, false, false, true, true);
TestUtils.AreEqual(r1, a1 <= b1);
double3x3 a2 = double3x3(31.901173844887467, -437.92645975478297, -37.104814785115821, -47.144214413661587, 333.6230348710078, -274.80387438219225, 358.67627804292192, -260.46056926458169, 192.30916008367626);
double b2 = (-152.2575724833913);
bool3x3 r2 = bool3x3(false, true, false, false, false, true, false, true, false);
TestUtils.AreEqual(r2, a2 <= b2);
double3x3 a3 = double3x3(145.30606777281787, -494.26732968458316, -111.57013922164691, -139.54120332540072, -146.58935148389514, 33.984021917909445, -445.70445248377717, -451.04219624541804, -122.03926115950537);
double b3 = (-466.13296363602063);
bool3x3 r3 = bool3x3(false, true, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void double3x3_operator_less_equal_scalar_wide()
{
double a0 = (393.60626644343427);
double3x3 b0 = double3x3(-75.688363825757222, -44.2638714519627, 125.86491566797019, 191.96488174794467, 13.543054825413492, -197.0519259893577, -423.945100743298, -330.04861680141119, 420.16553779140372);
bool3x3 r0 = bool3x3(false, false, false, false, false, false, false, false, true);
TestUtils.AreEqual(r0, a0 <= b0);
double a1 = (105.54730777887039);
double3x3 b1 = double3x3(174.82126363311954, 296.71757831085358, -469.70041845259277, 123.26718979853536, 112.9969695140594, 495.14339493920249, -488.65789364681478, 388.53941148730894, -493.24077080806751);
bool3x3 r1 = bool3x3(true, true, false, true, true, true, false, true, false);
TestUtils.AreEqual(r1, a1 <= b1);
double a2 = (16.451064832718657);
double3x3 b2 = double3x3(-387.6516336815672, -229.1773127192526, -373.01533930982248, -391.142134610164, 90.994149488859875, -178.39613517485378, -69.621067317957568, 471.7908458522478, -67.4667532758167);
bool3x3 r2 = bool3x3(false, false, false, false, true, false, false, true, false);
TestUtils.AreEqual(r2, a2 <= b2);
double a3 = (45.305359623071467);
double3x3 b3 = double3x3(-154.69219000390365, 385.73888248286153, -431.652945004242, -331.67304841227508, -349.89271013340573, -114.83913021666888, -245.21782671903156, -486.69548224224496, 391.95091957224111);
bool3x3 r3 = bool3x3(false, true, false, false, false, false, false, false, true);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void double3x3_operator_greater_equal_wide_wide()
{
double3x3 a0 = double3x3(-507.92858409692, 504.49748181947393, -385.43449205226938, -262.32340944107784, -37.550928848586466, -111.59527759980193, -463.70202157632542, 387.44885772627265, 456.96878573716094);
double3x3 b0 = double3x3(-81.346509732933043, 297.66615047010885, 171.06540616371922, -431.03805538222105, -6.859075311040101, 319.72570362674333, 254.079170106947, 396.5724000393285, 178.83927615864172);
bool3x3 r0 = bool3x3(false, true, false, true, false, false, false, false, true);
TestUtils.AreEqual(r0, a0 >= b0);
double3x3 a1 = double3x3(-211.01015506079892, 182.41135391146474, -53.596053863687473, -309.57021608463032, -136.02249127999994, 280.73629082401112, -96.9958942388165, -174.05950673579213, 88.9019382413951);
double3x3 b1 = double3x3(-447.06336304501787, 288.49268569075161, 474.88929460704765, -321.75022831640683, -395.97722048125104, -158.69246037243516, 391.48869318118727, -368.10924141859135, 89.1238043723273);
bool3x3 r1 = bool3x3(true, false, false, true, true, true, false, true, false);
TestUtils.AreEqual(r1, a1 >= b1);
double3x3 a2 = double3x3(43.816040774721728, -446.07842585354967, 16.645595796706857, 409.83252043734888, -191.32987245886113, 222.99782548798146, 404.28838915577546, 230.60328136691976, -441.78928228923553);
double3x3 b2 = double3x3(-510.27932214656812, -486.92979525352354, -81.215552606254619, 274.21882046117389, -212.88155494112596, 288.99530591117, 307.73173131967508, 307.24516620638087, -199.39178213821339);
bool3x3 r2 = bool3x3(true, true, true, true, true, false, true, false, false);
TestUtils.AreEqual(r2, a2 >= b2);
double3x3 a3 = double3x3(-86.293056289801882, 484.24954413075443, 95.2363665547391, -204.91210255628084, -199.77434620623211, -421.86318107222354, -18.214789637464492, -346.8227681344481, -159.24364073539323);
double3x3 b3 = double3x3(-284.42126978767163, -482.39181278757371, 448.3157362641374, -378.3461889598268, -390.8584684761513, 8.9160292190108521, 416.40721984226593, -213.67494664605471, 455.24810788372906);
bool3x3 r3 = bool3x3(true, true, false, true, true, false, false, false, false);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void double3x3_operator_greater_equal_wide_scalar()
{
double3x3 a0 = double3x3(465.15218732559686, -424.8860745024337, -209.22109685150025, 58.779852656079356, -302.26910533675414, 140.12558252183976, 16.353385694489475, -344.55997316192838, 393.27804846003562);
double b0 = (-5.5998842742293391);
bool3x3 r0 = bool3x3(true, false, false, true, false, true, true, false, true);
TestUtils.AreEqual(r0, a0 >= b0);
double3x3 a1 = double3x3(-315.70155086913218, -509.78156757251435, -36.994287269652943, 494.82028865014217, -164.97393830352183, -466.12009046325466, -123.8137477020797, 215.65121779947128, 104.99569730879534);
double b1 = (441.0115565923096);
bool3x3 r1 = bool3x3(false, false, false, true, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 >= b1);
double3x3 a2 = double3x3(314.34603014325069, -83.111429014760745, -23.836435567511444, 143.04935962662535, -264.91997945724052, -169.70222457205051, 329.70751610850334, 359.09582035573931, -260.42331016269668);
double b2 = (190.51609882643265);
bool3x3 r2 = bool3x3(true, false, false, false, false, false, true, true, false);
TestUtils.AreEqual(r2, a2 >= b2);
double3x3 a3 = double3x3(354.19514219565087, 33.309096113456917, 355.63126938214123, -435.36056753404466, -38.39930893778768, -93.29572896533449, -338.84962169213668, 436.89581676800537, 511.08413982348713);
double b3 = (-111.84533768140028);
bool3x3 r3 = bool3x3(true, true, true, false, true, true, false, true, true);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void double3x3_operator_greater_equal_scalar_wide()
{
double a0 = (374.82703393270594);
double3x3 b0 = double3x3(-1.609757185731894, 338.61524049314448, -116.18140392945213, -332.15732375353451, -355.9793509710484, -468.90144107719021, 38.579884785497484, -332.34754697063357, 2.8901150240051265);
bool3x3 r0 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 >= b0);
double a1 = (467.77776477661814);
double3x3 b1 = double3x3(121.40638762405445, -305.02337303060267, -58.428812292604164, -226.51955209789776, -47.020994446715804, 305.3026770582901, -427.40123315686418, 92.263649745035764, -497.17853736187266);
bool3x3 r1 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 >= b1);
double a2 = (-408.62564225151465);
double3x3 b2 = double3x3(-455.23049113491106, 396.42608637196292, -469.29488561548987, -485.7540130493017, -182.34619268325446, -291.54536284671417, 278.740809331993, -75.87113932327884, 28.907059921374071);
bool3x3 r2 = bool3x3(true, false, true, true, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 >= b2);
double a3 = (287.72014988945807);
double3x3 b3 = double3x3(420.50978990109161, 473.62684152723614, 181.514540518408, -369.20287220981106, 243.74977385427326, -244.12415825767636, -242.9933451353541, -322.11536780098237, 192.974957794405);
bool3x3 r3 = bool3x3(false, false, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void double3x3_operator_add_wide_wide()
{
double3x3 a0 = double3x3(506.12905263627374, -501.77980803967444, 420.08479638587903, -186.03206476291274, -9.3123953385801883, 328.51179686585056, 424.34407659263536, 87.791079800478656, 462.41368148402012);
double3x3 b0 = double3x3(-28.757987751047096, -337.135153689019, -340.676816860529, 152.31202633320913, 423.66745420157326, 90.374096674087468, 376.18866246574964, 1.7671887882831925, -120.18586045139745);
double3x3 r0 = double3x3(477.37106488522664, -838.91496172869347, 79.407979525350015, -33.720038429703607, 414.35505886299308, 418.885893539938, 800.532739058385, 89.558268588761848, 342.22782103262267);
TestUtils.AreEqual(r0, a0 + b0);
double3x3 a1 = double3x3(-46.178705952213477, 401.17006296718966, -454.12414643453627, 69.195687564646732, -177.95734485329939, 299.60415544156183, 340.7048587001417, 219.91602740991675, -321.90838232725321);
double3x3 b1 = double3x3(-279.62936628965167, -344.66710273580026, 242.8391956029642, 418.5930504363929, -23.312797318823982, -95.099945827899489, 147.92812568877275, 331.03287926830023, -82.502564230236487);
double3x3 r1 = double3x3(-325.80807224186515, 56.502960231389409, -211.28495083157208, 487.78873800103963, -201.27014217212337, 204.50420961366234, 488.63298438891445, 550.948906678217, -404.41094655748969);
TestUtils.AreEqual(r1, a1 + b1);
double3x3 a2 = double3x3(286.35534037573041, -333.41949311523672, -118.93216973120911, 68.607509406566351, 23.190902005504313, -205.57787547147734, 11.521422629953122, -340.7950796283759, -68.931167873056211);
double3x3 b2 = double3x3(279.44956291813844, 342.6227215931857, -300.35853185335105, -209.69408736456842, 446.55942150883345, -351.98918955027557, -263.12385642860261, -252.4585670216282, 289.82535542632706);
double3x3 r2 = double3x3(565.80490329386885, 9.2032284779489828, -419.29070158456017, -141.08657795800207, 469.75032351433777, -557.56706502175291, -251.60243379864949, -593.25364665000416, 220.89418755327085);
TestUtils.AreEqual(r2, a2 + b2);
double3x3 a3 = double3x3(304.8532370556394, -86.633841316510825, 105.66915874633435, 349.28052799277032, 364.7078708916473, -429.03740449856843, 382.45806926417072, 186.09704479300274, 227.41184841255279);
double3x3 b3 = double3x3(338.79615537207394, -232.61900364263869, -510.50825405051387, 349.2807325559113, -426.2124495106807, -331.41632882292208, -418.68880267566482, -341.7063559692848, -329.03588143411832);
double3x3 r3 = double3x3(643.64939242771334, -319.25284495914951, -404.83909530417952, 698.56126054868162, -61.504578619033396, -760.45373332149052, -36.2307334114941, -155.60931117628206, -101.62403302156554);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void double3x3_operator_add_wide_scalar()
{
double3x3 a0 = double3x3(-194.51420387742769, 338.54838696985894, 246.97140252169754, 100.51093797595752, -45.724677822424439, -478.11131094308166, 30.916145577522116, 60.37435224483454, -242.1187475855084);
double b0 = (124.121678171736);
double3x3 r0 = double3x3(-70.3925257056917, 462.67006514159493, 371.09308069343354, 224.63261614769351, 78.397000349311554, -353.98963277134567, 155.03782374925811, 184.49603041657053, -117.99706941377241);
TestUtils.AreEqual(r0, a0 + b0);
double3x3 a1 = double3x3(82.50134495762245, -484.69981287638649, -188.26501068298938, -213.52673087526426, -267.78430688929944, 189.25996669999324, 198.53359684652355, 187.53610023648298, -424.92567582844089);
double b1 = (6.7993848355483806);
double3x3 r1 = double3x3(89.300729793170831, -477.90042804083811, -181.465625847441, -206.72734603971588, -260.98492205375106, 196.05935153554162, 205.33298168207193, 194.33548507203136, -418.12629099289251);
TestUtils.AreEqual(r1, a1 + b1);
double3x3 a2 = double3x3(302.10236730338181, 124.02158909850823, -200.16134295247559, 31.37822701007974, 362.52213518811493, -423.98885961248953, 432.41331907380993, 374.21141474983256, -465.69948957194549);
double b2 = (300.39907970111778);
double3x3 r2 = double3x3(602.5014470044996, 424.420668799626, 100.23773674864219, 331.77730671119753, 662.92121488923271, -123.58977991137175, 732.81239877492771, 674.61049445095034, -165.30040987082771);
TestUtils.AreEqual(r2, a2 + b2);
double3x3 a3 = double3x3(-311.04303779781003, -432.44245716204978, 235.75065886031405, -472.63775394514096, -257.57773721291579, 186.120703068618, -170.29822667422621, -115.27248840931452, -101.16882686557659);
double b3 = (84.918990413154916);
double3x3 r3 = double3x3(-226.12404738465511, -347.52346674889486, 320.66964927346896, -387.71876353198604, -172.65874679976088, 271.03969348177293, -85.3792362610713, -30.353497996159604, -16.249836452421675);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void double3x3_operator_add_scalar_wide()
{
double a0 = (-340.35468284243473);
double3x3 b0 = double3x3(511.36225652665007, -146.21663791789518, -106.21042661844308, -363.45024960276214, 199.08958325120136, -27.108407271610758, 419.84900041103788, 284.95503748811552, -164.92418129971446);
double3x3 r0 = double3x3(171.00757368421534, -486.57132076032991, -446.56510946087781, -703.80493244519687, -141.26509959123337, -367.46309011404549, 79.494317568603151, -55.399645354319205, -505.27886414214919);
TestUtils.AreEqual(r0, a0 + b0);
double a1 = (-249.19032561461921);
double3x3 b1 = double3x3(150.92817718858282, 298.17509784278229, -457.15341803857751, 424.71807094324288, -301.85750283946163, 230.28885208363124, -423.58759351428023, -67.060037882560891, 68.7241366229598);
double3x3 r1 = double3x3(-98.26214842603639, 48.984772228163081, -706.34374365319673, 175.52774532862367, -551.0478284540809, -18.901473530987971, -672.77791912889938, -316.2503634971801, -180.46618899165941);
TestUtils.AreEqual(r1, a1 + b1);
double a2 = (-164.02241833695325);
double3x3 b2 = double3x3(318.93515339444161, 7.8045504129512437, 187.69836029210046, -3.6569664495331153, -446.0830535581722, -209.28724227160552, -38.212905186327589, -346.25717870623674, 465.60741708502519);
double3x3 r2 = double3x3(154.91273505748836, -156.217867924002, 23.675941955147209, -167.67938478648637, -610.10547189512545, -373.30966060855877, -202.23532352328084, -510.27959704319, 301.58499874807194);
TestUtils.AreEqual(r2, a2 + b2);
double a3 = (-192.18595108398512);
double3x3 b3 = double3x3(278.69379843338106, 381.97845548297209, 481.24367283342576, -97.228162095522578, -455.51374289743313, 501.83498858932171, 358.70657818331688, 430.69978519468555, 256.987155795557);
double3x3 r3 = double3x3(86.507847349395945, 189.79250439898698, 289.05772174944065, -289.41411317950769, -647.69969398141825, 309.64903750533659, 166.52062709933176, 238.51383411070043, 64.80120471157187);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void double3x3_operator_sub_wide_wide()
{
double3x3 a0 = double3x3(160.4922617229131, 11.223957305412682, 359.20010607279846, -498.22830485656311, -355.25362913462038, -94.534852787170053, -410.46404786150163, -401.38464398001537, 317.70681944382693);
double3x3 b0 = double3x3(115.46876078260539, -130.98230630298252, 241.54083716196044, 9.9870860623135513, 419.89512582304656, 59.124466208333388, -402.38163847587145, -75.370143687059226, 320.97960796997859);
double3x3 r0 = double3x3(45.023500940307713, 142.2062636083952, 117.65926891083802, -508.21539091887666, -775.14875495766694, -153.65931899550344, -8.0824093856301715, -326.01450029295614, -3.2727885261516576);
TestUtils.AreEqual(r0, a0 - b0);
double3x3 a1 = double3x3(447.0604133303558, -489.07414482956477, -230.00838218909149, 24.875419389864192, 366.61447136784648, -107.3741567634857, -219.0081404275299, 473.90756891384137, 259.63620793988753);
double3x3 b1 = double3x3(-73.908757482612884, -31.444742455819949, -389.25194734579509, -375.02884000122026, 259.18275821357167, 276.648654351313, -453.06919905779381, -272.57653225240136, -191.14805301984217);
double3x3 r1 = double3x3(520.96917081296874, -457.62940237374482, 159.2435651567036, 399.90425939108445, 107.4317131542748, -384.02281111479869, 234.06105863026391, 746.48410116624268, 450.78426095972969);
TestUtils.AreEqual(r1, a1 - b1);
double3x3 a2 = double3x3(-360.119631219711, 7.8096120393879573, 437.42847439154446, -59.1991718091067, 418.74433322378638, 183.14215072576985, 271.23036516421962, 496.20853709439211, 165.35493691514944);
double3x3 b2 = double3x3(87.136884968325944, 430.02477594373033, 343.65711538105143, 121.02942067060133, -354.1881703595576, 249.05200373802893, -2.2254426489702723, 22.447240601502017, 478.1129555544411);
double3x3 r2 = double3x3(-447.25651618803693, -422.21516390434238, 93.771359010493029, -180.22859247970803, 772.932503583344, -65.909853012259077, 273.45580781318989, 473.7612964928901, -312.75801863929166);
TestUtils.AreEqual(r2, a2 - b2);
double3x3 a3 = double3x3(-227.40367113212295, -166.52285702830312, 356.14227430715334, 386.92636579411396, -394.63875717420075, 126.90326625057651, 97.2168972944919, -150.01784641575898, -227.25051246734824);
double3x3 b3 = double3x3(-320.0629958212669, -111.52409534879217, 222.22894607401872, -245.41106307013473, -119.90228348593337, -153.46565372937624, 374.11248439089979, 301.7634090398268, -281.43006552449896);
double3x3 r3 = double3x3(92.659324689143943, -54.998761679510949, 133.91332823313462, 632.33742886424875, -274.73647368826738, 280.36891997995275, -276.89558709640789, -451.78125545558578, 54.179553057150713);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void double3x3_operator_sub_wide_scalar()
{
double3x3 a0 = double3x3(207.38960108877609, 248.45773684627272, -384.82393211164697, -205.34476122881506, -374.81156152058929, 191.64204820973896, 18.856238135535364, -44.96160151667965, 480.85798738936796);
double b0 = (-36.112476604111691);
double3x3 r0 = double3x3(243.50207769288778, 284.57021345038441, -348.71145550753528, -169.23228462470337, -338.6990849164776, 227.75452481385065, 54.968714739647055, -8.8491249125679587, 516.9704639934796);
TestUtils.AreEqual(r0, a0 - b0);
double3x3 a1 = double3x3(16.338193185784917, -35.523088233323335, 349.39776460705218, 439.07729336203886, 490.2222661870635, 195.02405104181923, -384.84940952102158, 189.05188545447402, 55.602777745389744);
double b1 = (-366.86545269883493);
double3x3 r1 = double3x3(383.20364588461985, 331.34236446551159, 716.26321730588711, 805.94274606087379, 857.08771888589843, 561.88950374065416, -17.983956822186656, 555.917338153309, 422.46823044422467);
TestUtils.AreEqual(r1, a1 - b1);
double3x3 a2 = double3x3(-54.931482579061537, 316.80250730961677, -273.80670917863335, 256.88723695319482, 297.17363156805447, 101.82901363346218, 136.60794765157993, -19.732211837420323, 336.58969966349639);
double b2 = (53.088051582261983);
double3x3 r2 = double3x3(-108.01953416132352, 263.71445572735479, -326.89476076089534, 203.79918537093283, 244.08557998579249, 48.7409620512002, 83.519896069317952, -72.8202634196823, 283.50164808123441);
TestUtils.AreEqual(r2, a2 - b2);
double3x3 a3 = double3x3(-51.876563334780087, -467.05592773251976, -50.167055391784345, 477.804535373023, -60.821922092149919, 0.41113877315592617, 46.660927078994405, -19.241408595462076, 396.80972809195976);
double b3 = (317.34576311583896);
double3x3 r3 = double3x3(-369.22232645061905, -784.40169084835873, -367.51281850762331, 160.45877225718402, -378.16768520798888, -316.93462434268304, -270.68483603684456, -336.58717171130104, 79.463964976120792);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void double3x3_operator_sub_scalar_wide()
{
double a0 = (-86.008225719448262);
double3x3 b0 = double3x3(466.42511413359318, 298.48694219183506, -300.95010652251085, 315.38003006362362, -381.09218543632522, -125.00837546447684, 58.466194418476107, 214.74609361158036, -257.54942739082009);
double3x3 r0 = double3x3(-552.43333985304139, -384.49516791128332, 214.94188080306259, -401.38825578307188, 295.08395971687696, 39.00014974502858, -144.47442013792437, -300.75431933102863, 171.54120167137182);
TestUtils.AreEqual(r0, a0 - b0);
double a1 = (480.22459505508868);
double3x3 b1 = double3x3(-443.35507723472784, 260.79503858312728, 29.681931747906788, 139.85773164586055, -247.78996216868512, -248.4662297929014, 91.445112509394562, 86.384162704639266, 373.81828206303453);
double3x3 r1 = double3x3(923.57967228981647, 219.4295564719614, 450.5426633071819, 340.36686340922813, 728.01455722377386, 728.69082484799014, 388.77948254569412, 393.84043235044942, 106.40631299205415);
TestUtils.AreEqual(r1, a1 - b1);
double a2 = (260.41195428576873);
double3x3 b2 = double3x3(114.35393171867076, -464.40545318294573, -109.74146156652898, -311.67535057276268, 107.86401586787031, -258.7951592219971, 14.097560173877355, -461.97019527012958, 30.310863747406188);
double3x3 r2 = double3x3(146.05802256709796, 724.81740746871446, 370.15341585229771, 572.08730485853141, 152.54793841789842, 519.20711350776583, 246.31439411189137, 722.38214955589831, 230.10109053836254);
TestUtils.AreEqual(r2, a2 - b2);
double a3 = (63.701105862716759);
double3x3 b3 = double3x3(-462.67674634544028, 39.759483117498235, 47.998150132595583, -177.61928113625351, 202.47706017386031, -289.30880250097664, -459.92539832551284, 248.38668715599306, 85.3297222057962);
double3x3 r3 = double3x3(526.377852208157, 23.941622745218524, 15.702955730121175, 241.32038699897026, -138.77595431114355, 353.0099083636934, 523.62650418822955, -184.6855812932763, -21.628616343079443);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void double3x3_operator_mul_wide_wide()
{
double3x3 a0 = double3x3(-482.71381710596097, -407.29348559272171, 137.70058995937029, 208.54113278563182, 194.296573967811, -484.24241684574747, 183.98730739578014, -241.33547770294149, 45.868758938214114);
double3x3 b0 = double3x3(-236.36788355389979, 260.72759139757954, -416.38629718142852, -364.49561541364324, -253.14750897751537, -369.20287220981106, 193.54791531038836, 169.08491976982214, 201.96966442930034);
double3x3 r0 = double3x3(114098.04331156026, -106192.64949051509, -57336.638772880389, -76012.328533757158, -49185.69370281692, 178783.69114527057, 35610.359790024842, -40806.189885013562, 9264.0978505395742);
TestUtils.AreEqual(r0, a0 * b0);
double3x3 a1 = double3x3(363.32610266438041, -328.11893692990714, -471.02307413100408, -262.68257415605831, -379.26274674910246, -374.09058182970182, 481.44738720424812, 104.62807397946165, 412.93539948618752);
double3x3 b1 = double3x3(249.45608317547294, -308.19319810913555, -385.57964843585137, -183.27959522198864, 22.275629292370581, -265.52144229855458, -95.677454277722859, 133.25437146669924, 148.31146080247663);
double3x3 r1 = double3x3(90633.9064860661, 101124.02453259782, 181616.91132860651, 48144.355863192381, -8448.3163509892329, 99329.070837727879, -46063.660376363579, 13942.148235904471, 61243.052314850727);
TestUtils.AreEqual(r1, a1 * b1);
double3x3 a2 = double3x3(477.87724731763694, 20.377821216535722, 291.99596299417124, -138.48832399141429, -393.46498483860165, 9.36312318284206, -131.94228917543882, 364.44964258952518, 390.61597866128011);
double3x3 b2 = double3x3(249.284127113076, 500.00547503866505, -19.331578978957396, -36.691062705913112, 30.5238278054278, -401.36701054189678, 3.4372422711165882, 257.24176681099539, -290.97193516929258);
double3x3 r2 = double3x3(119127.21246477668, 10189.022177626932, -5644.7430201585421, 5081.2837796057929, -12010.057444678736, -3758.048761232847, -453.51761370170692, 93751.669973365249, -113658.28721911977);
TestUtils.AreEqual(r2, a2 * b2);
double3x3 a3 = double3x3(418.79794974755396, -277.34480942289565, 11.410165553637853, 474.87644956767394, -502.40503358394142, -222.59489618176354, 38.169053810727291, 292.61251582420084, 203.20767245218519);
double3x3 b3 = double3x3(337.47938100317469, 490.28616284312966, -191.01981481864107, -325.73449650673871, -52.181983733634468, 123.43503743197539, -461.2670640709191, 122.35306149458188, 308.58463182513822);
double3x3 r3 = double3x3(141335.67284620318, -135978.32239641057, -2179.56771110594, -154683.64120283397, 26216.491290173308, -27476.00934236266, -17606.127389639103, 35802.037142722758, 62706.764787700849);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void double3x3_operator_mul_wide_scalar()
{
double3x3 a0 = double3x3(-96.318821236639678, -277.14229239017811, -239.93690191951436, 509.53140544776409, 255.85810172551226, 215.73149667295229, -455.50827500573746, -389.24327367788334, -338.29248658674419);
double b0 = (-301.20720424373042);
double3x3 r0 = double3x3(29011.922860739887, 83477.255068544036, 72270.723422079071, -153474.5301092997, -77066.303503849529, -64979.880980175592, 137202.37402436248, 117242.87823519246, 101896.13410145289);
TestUtils.AreEqual(r0, a0 * b0);
double3x3 a1 = double3x3(53.796284939067618, 135.35469991311186, -207.35010275959507, -383.93960946795517, -31.425238862366086, 42.676120539510634, 260.38388049806645, 176.86755927692525, 25.672123205695357);
double b1 = (243.75734459783757);
double3x3 r1 = double3x3(13113.239565975766, 32993.702229657305, -50543.11045076765, -93588.099689839524, -7660.1327784431269, 10402.617820448348, 63470.483286289338, 43112.766594843932, 6257.7685828088261);
TestUtils.AreEqual(r1, a1 * b1);
double3x3 a2 = double3x3(-290.50059689697838, -156.52330858843555, -208.4020064847553, 370.94506400215676, -341.59844247512444, 10.270311121954705, -176.88876565587185, -61.006107120311867, 186.27978214355176);
double b2 = (207.09101805793637);
double3x3 r2 = double3x3(-60160.064357833442, -32414.571325375655, -43158.18368824463, 76819.390947773, -70741.969219178936, 2126.8891860173467, -36632.074562686234, -12633.816831296905, 38576.869727718731);
TestUtils.AreEqual(r2, a2 * b2);
double3x3 a3 = double3x3(-487.65221785365242, -317.71628990663044, -207.62735686433842, 388.87138933170183, -233.33533274072005, 128.4155209662465, 510.38953399583215, 267.57635486665015, -309.20967569444781);
double b3 = (-129.37681800191143);
double3x3 r3 = double3x3(63090.892237480453, 41105.122615492655, 26862.166761255427, -50310.942963718029, 30188.182877411582, -16613.991484670714, -66032.573849859167, -34618.177365197465, 40004.56393675063);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void double3x3_operator_mul_scalar_wide()
{
double a0 = (37.432166355397612);
double3x3 b0 = double3x3(96.747546479454058, 492.18539427788244, -274.05458534604617, -452.87096926796761, 420.85330434369541, 102.18292694081686, -114.94887762654054, -351.12003843445336, -464.66496799172131);
double3x3 r0 = double3x3(3621.4702542954869, 18423.565556306661, -10258.456829132712, -16951.941459168724, 15753.450899411988, 3824.9283199300971, -4302.785509682908, -13143.183689392061, -17393.41638139162);
TestUtils.AreEqual(r0, a0 * b0);
double a1 = (444.08484646495663);
double3x3 b1 = double3x3(447.10525605040846, 130.82935124767448, -321.41334191030512, 445.30131861441828, 478.24357317306271, 358.57170622356784, -144.89011222910608, -438.89383741789209, -3.536441089369589);
double3x3 r1 = double3x3(198552.66898682076, 58099.332361933404, -142734.79459402646, 197751.56770752667, 212380.72376541179, 159236.26110497065, -64343.503243552906, -194906.10240414026, -1570.4798982050579);
TestUtils.AreEqual(r1, a1 * b1);
double a2 = (-471.80755470311624);
double3x3 b2 = double3x3(-42.560401697904069, 119.91104155402218, 271.9000023677479, 239.6840079946835, 487.44143389511919, -79.188288010278825, -112.92564468873928, 161.3700478828373, 459.75914332818195);
double3x3 r2 = double3x3(20080.319052270475, -56574.935297506963, -128284.47524089865, -113084.72571341379, -229978.55098703687, 37361.632527255751, 53279.172283867025, -76135.607693926242, -216917.83716606908);
TestUtils.AreEqual(r2, a2 * b2);
double a3 = (-337.19599811043406);
double3x3 b3 = double3x3(-276.83451689259823, 469.72386405883537, -274.56515110403541, 506.78586625810055, 65.882571966332648, 495.8556585236712, -347.27959148365983, -343.60605232026711, -183.70378860444936);
double3x3 r3 = double3x3(93347.491235019479, -158389.00717760884, 92582.270172867371, -170886.16600116115, -22215.33961227004, -167200.54369459586, 117101.28847371647, 115862.58576891849, 61944.182355145487);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void double3x3_operator_div_wide_wide()
{
double3x3 a0 = double3x3(-353.13144390337703, -102.79985456485292, 51.319128298814917, -191.87167868012176, 8.0418245829836223, -128.73764210973758, -136.05959779399427, -370.4710053738537, -237.69456326109105);
double3x3 b0 = double3x3(-178.73954805114283, -302.09628381491467, -199.40583739029518, 278.85077561012042, 502.33758782890516, -361.48483078623417, 353.121059820578, -38.894930142394685, -75.764737402910725);
double3x3 r0 = double3x3(1.97567604793504, 0.34028837848212429, -0.25736021056579439, -0.68808013268139567, 0.016008805189634039, 0.35613566917796119, -0.3853058151307277, 9.5249176182488586, 3.1372716570909582);
TestUtils.AreEqual(r0, a0 / b0);
double3x3 a1 = double3x3(-432.54687496300176, 200.26549181727012, 361.44157068871039, -416.22613234828509, -450.01919362042992, -273.49744594911925, -286.90817011841955, -314.25606241554772, 177.76210340194507);
double3x3 b1 = double3x3(-195.21784719974636, -405.03399224068687, -394.2300085473014, -375.82771342612227, -121.24548655433836, 447.623344391409, 338.28628007429018, -405.54420752336466, -431.16893526127978);
double3x3 r1 = double3x3(2.2157137842034547, -0.49444119667433889, -0.9168291678773689, 1.1074918572499153, 3.7116366671409717, -0.61099906735420106, -0.84812239519560884, 0.77489964493560781, -0.41227947763496636);
TestUtils.AreEqual(r1, a1 / b1);
double3x3 a2 = double3x3(97.626988217992221, -68.107280047660367, -386.45074027890837, 263.69934690357161, -297.0270885420158, -501.77703046322659, -263.40686071263946, -451.08085248017721, -416.34552903489464);
double3x3 b2 = double3x3(296.20513095343722, 437.939790691221, 39.21061684527001, 331.2897075765253, -310.61955156485533, 207.26946959610541, -223.2929938879297, -480.091406807346, 448.67593666942605);
double3x3 r2 = double3x3(0.32959249525403717, -0.15551745124635385, -9.855767936625206, 0.79597808465769837, 0.95624080018671487, -2.420892143165184, 1.1796467776541293, 0.93957285234474042, -0.92794263076704353);
TestUtils.AreEqual(r2, a2 / b2);
double3x3 a3 = double3x3(-315.27873411554788, -28.181118739853218, -397.87015146662952, -261.38664376986526, 40.348221559239619, 277.24575794732471, 464.77123162931355, -336.64104358136706, 375.47808163961304);
double3x3 b3 = double3x3(-460.0974516626901, -220.56984601755153, -84.853158275062754, 441.3738078742166, 72.418480191574645, 44.9760778159723, -242.51539027062961, -451.30207011257392, -21.899694214528267);
double3x3 r3 = double3x3(0.68524338262731188, 0.12776505605218016, 4.6889256635195675, -0.59221149761645042, 0.55715366371267527, 6.1642938070706279, -1.9164607702243661, 0.74593285933165443, -17.145357280400777);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void double3x3_operator_div_wide_scalar()
{
double3x3 a0 = double3x3(171.34242184988341, 0.10338377957384637, 57.888263967767443, -256.13074529177078, 95.6696842162263, -290.38690461329509, -127.44869118903239, -79.7448890580539, 146.46688110496234);
double b0 = (171.79682191265601);
double3x3 r0 = double3x3(0.99735501473360411, 0.00060177934855167557, 0.33695771157628673, -1.4908933846400916, 0.55687691513214455, -1.6902926455818372, -0.74185709473618289, -0.46418139852783397, 0.85255873463962106);
TestUtils.AreEqual(r0, a0 / b0);
double3x3 a1 = double3x3(-499.84355687529012, -453.20579859856787, -205.03382143985192, 481.73814247629514, 464.47907159499778, -293.46349753693841, -158.50557930697948, -289.5822156824089, 494.12860535743118);
double b1 = (58.686315802245531);
double3x3 r1 = double3x3(-8.5172079733136776, -7.7225123506769311, -3.4937245358995028, 8.2086962844899229, 7.9146060754630856, -5.0005438836170653, -2.7008950406955781, -4.9344078210363405, 8.41982664276438);
TestUtils.AreEqual(r1, a1 / b1);
double3x3 a2 = double3x3(203.58342680874443, 259.11918723728468, 460.84470603468117, 490.95625924084163, -280.47805536933151, -320.24387112271222, 192.41448912043802, 264.80085885934568, 226.85298524929817);
double b2 = (180.97040160976837);
double3x3 r2 = double3x3(1.1249542742781615, 1.4318318627375914, 2.5465197730422995, 2.7129091546113964, -1.5498559591757679, -1.7695925315636045, 1.0632373438356337, 1.46322744771459, 1.253536397285937);
TestUtils.AreEqual(r2, a2 / b2);
double3x3 a3 = double3x3(-192.23568949114332, -437.89221760159927, -413.23271794488312, 249.47184693509337, 313.03501739773662, 216.78560195527302, 383.73890298592812, 82.023314752626789, 189.57466062790468);
double b3 = (460.97652957447644);
double3x3 r3 = double3x3(-0.41701838848193523, -0.94992302103930082, -0.89642897508542307, 0.54118123359854942, 0.67906931766503731, 0.4702747060796913, 0.83244781104182086, 0.17793381981581974, 0.41124579770449365);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void double3x3_operator_div_scalar_wide()
{
double a0 = (-264.44250095283729);
double3x3 b0 = double3x3(105.58908157497137, -142.34910137129441, -288.94890679463231, 39.644133824689334, -363.99138396046658, -149.71822006521666, -395.72912306139671, 258.71868693955184, -9.6662514254759344);
double3x3 r0 = double3x3(-2.5044492954044237, 1.85770404172122, 0.915187753732487, -6.670406827961755, 0.72650758398599513, 1.7662679988958405, 0.66824119212426392, -1.0221236976771717, 27.357295947825712);
TestUtils.AreEqual(r0, a0 / b0);
double a1 = (117.72553282497711);
double3x3 b1 = double3x3(-331.38655797177296, -509.98602676297821, 427.8964666928614, 467.61712882836218, -407.12461943511136, 252.69070994699871, 444.59937664708093, -88.313306134340053, 199.95503411067421);
double3x3 r1 = double3x3(-0.35525138239012338, -0.23084070277810059, 0.275126209232008, 0.25175624579866063, -0.28916338439154632, 0.46588785495782481, 0.26479014368575376, -1.3330441128078241, 0.58876003471768834);
TestUtils.AreEqual(r1, a1 / b1);
double a2 = (-218.34692607556792);
double3x3 b2 = double3x3(-13.417186028052697, -296.13107575854804, 0.561349630617201, -289.29929865957206, 196.21833929615946, 334.73346845001606, -282.39273203648293, -479.50358436978587, -473.43943927876626);
double3x3 r2 = double3x3(16.273675092455857, 0.737332026084281, -388.96779149118993, 0.7547440560251889, -1.1127753239517995, -0.65230085024549167, 0.77320306546472739, 0.4553603626603594, 0.46119293823133078);
TestUtils.AreEqual(r2, a2 / b2);
double a3 = (105.0507777226394);
double3x3 b3 = double3x3(-287.63127841038227, 77.299297130340392, -210.89436421678141, -184.0682357214709, -315.14843645465953, 87.86691264429453, 101.5905373569534, 345.93639890567226, -146.31811744827689);
double3x3 r3 = double3x3(-0.36522723920434208, 1.3590133626377618, -0.49812036520168057, -0.57071649169061711, -0.3333374548972356, 1.195566961000543, 1.0340606561960384, 0.30367078473081976, -0.71796151805858621);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void double3x3_operator_mod_wide_wide()
{
double3x3 a0 = double3x3(-388.81249422059045, 181.68118842955732, -167.07872470052854, 432.82015319951813, -258.43895995730486, -170.11079629236406, 283.318293464984, 122.71651297561664, 335.27101413126616);
double3x3 b0 = double3x3(436.94417187056695, 58.940049437312382, -201.11623368091705, 279.2893537391393, -397.07975954426445, 377.89994758083481, 174.69386657266591, -228.17652736798698, -317.06019106370405);
double3x3 r0 = double3x3(-388.81249422059045, 4.8610401176201776, -167.07872470052854, 153.53079946037883, -258.43895995730486, -170.11079629236406, 108.62442689231807, 122.71651297561664, 18.210823067562103);
TestUtils.AreEqual(r0, a0 % b0);
double3x3 a1 = double3x3(-503.60851668920765, 191.02251848532933, 289.74269379756538, -124.03371745163281, 259.27395761165485, -274.35845030208975, -140.03080398404541, 324.5775689205982, -200.51308903494527);
double3x3 b1 = double3x3(-417.48011107811709, -249.9759434433542, -397.57157177364991, -358.74544947163452, -198.1592100589346, 208.73709378425826, -12.119406944196385, 25.27141596063575, -194.12068495253135);
double3x3 r1 = double3x3(-86.128405611090557, 191.02251848532933, 289.74269379756538, -124.03371745163281, 61.114747552720246, -65.621356517831487, -6.7173275978851734, 21.3205773929692, -6.3924040824139183);
TestUtils.AreEqual(r1, a1 % b1);
double3x3 a2 = double3x3(211.42317328761476, -51.272212767634642, -230.63392483006879, 99.989400671790122, 399.18986649028489, 24.903281461868119, 50.92402961241271, -364.86367886367429, -252.62662398658068);
double3x3 b2 = double3x3(-493.8717965995296, -312.3016990685378, -216.98060546488529, 413.57096047586344, -436.39440151508637, 3.4912750737235, -308.23343076754054, -441.37506195594324, 84.6008532441225);
double3x3 r2 = double3x3(211.42317328761476, -51.272212767634642, -13.653319365183506, 99.989400671790122, 399.18986649028489, 0.46435594580361794, 50.92402961241271, -364.86367886367429, -83.424917498335674);
TestUtils.AreEqual(r2, a2 % b2);
double3x3 a3 = double3x3(-281.28977955565313, -364.79852192699843, -329.02623311105475, 51.6098087074281, 41.647804041229051, 254.95104443978096, -458.67762133976333, -136.79304439238882, 72.400299344398263);
double3x3 b3 = double3x3(373.16344922276369, 67.252760203207231, -320.33327522889397, 118.97936325845274, 44.823946258436877, 354.00861065183233, -253.95312249565177, -195.16280207185207, 317.14281073079576);
double3x3 r3 = double3x3(-281.28977955565313, -28.534720910962278, -8.6929578821607834, 51.6098087074281, 41.647804041229051, 254.95104443978096, -204.72449884411157, -136.79304439238882, 72.400299344398263);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void double3x3_operator_mod_wide_scalar()
{
double3x3 a0 = double3x3(-244.49962889612635, -211.81931958525411, -145.92677576184587, -304.91822090042672, 155.47946436492703, -133.90778428591221, 281.30965412841624, -226.53575311719243, 335.16613046041039);
double b0 = (39.634963769295723);
double3x3 r0 = double3x3(-6.6898462803520147, -13.644500738775491, -27.021884453958705, -27.473474515356656, 36.574573057039856, -15.002892978025045, 3.86490774334618, -28.360934270713813, 18.0864203060446);
TestUtils.AreEqual(r0, a0 % b0);
double3x3 a1 = double3x3(101.70649032560482, -285.40231646476423, -355.84685985923136, 259.37800061860025, -330.87193957477433, -284.34358109363518, -102.68343811048356, -172.14173921017988, 206.41684517935698);
double b1 = (319.47152033423606);
double3x3 r1 = double3x3(101.70649032560482, -285.40231646476423, -36.3753395249953, 259.37800061860025, -11.40041924053827, -284.34358109363518, -102.68343811048356, -172.14173921017988, 206.41684517935698);
TestUtils.AreEqual(r1, a1 % b1);
double3x3 a2 = double3x3(-416.71365447375626, 435.29751440291182, 132.55290490600885, 226.94410215455298, -306.11827268550093, 115.43844633709568, 281.88292015804109, -218.3474491659307, -140.04050237501065);
double b2 = (-339.256669917729);
double3x3 r2 = double3x3(-77.456984556027237, 96.040844485182788, 132.55290490600885, 226.94410215455298, -306.11827268550093, 115.43844633709568, 281.88292015804109, -218.3474491659307, -140.04050237501065);
TestUtils.AreEqual(r2, a2 % b2);
double3x3 a3 = double3x3(-462.32346961569203, 351.33104555277669, 321.04701176334504, 346.08518497370426, -94.407745643708722, 465.40920446133669, -367.19701617173712, -467.51058957889239, 415.21510215067076);
double b3 = (-211.60869822819188);
double3x3 r3 = double3x3(-39.106073159308266, 139.7223473245848, 109.43831353515316, 134.47648674551237, -94.407745643708722, 42.191808004952918, -155.58831794354523, -44.293193122508626, 203.60640392247888);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void double3x3_operator_mod_scalar_wide()
{
double a0 = (-66.945025236785909);
double3x3 b0 = double3x3(-249.77609479137516, -396.07375664081133, 386.49204582091977, 168.93948109864232, -199.4182442163202, 261.7517141130528, 16.127438791155555, 257.66814744550186, -75.788451945310669);
double3x3 r0 = double3x3(-66.945025236785909, -66.945025236785909, -66.945025236785909, -66.945025236785909, -66.945025236785909, -66.945025236785909, -2.4352700721636893, -66.945025236785909, -66.945025236785909);
TestUtils.AreEqual(r0, a0 % b0);
double a1 = (170.95630439136005);
double3x3 b1 = double3x3(-242.85828005655588, 425.94531913564788, 303.27240409668184, 3.033060790520608, -505.74352788633831, 461.95706126743789, 205.97275672013529, 270.04063642678807, -47.480711720642034);
double3x3 r1 = double3x3(170.95630439136005, 170.95630439136005, 170.95630439136005, 1.1049001222060042, 170.95630439136005, 170.95630439136005, 170.95630439136005, 170.95630439136005, 28.514169229433946);
TestUtils.AreEqual(r1, a1 % b1);
double a2 = (-150.254496405951);
double3x3 b2 = double3x3(149.49949009227544, -220.29804263836616, 31.118842377848409, 400.63568348467152, 6.2314283876826266, -39.050740021770252, -71.941097054603063, -495.30713843521994, -86.71961859926563);
double3x3 r2 = double3x3(-0.75500631367555116, -150.254496405951, -25.779126894557351, -150.254496405951, -0.70021510156794875, -33.102276340640231, -6.3723022967448628, -150.254496405951, -63.534877806685358);
TestUtils.AreEqual(r2, a2 % b2);
double a3 = (-436.97006365143233);
double3x3 b3 = double3x3(-472.2947320753218, -130.00875359867177, -251.51684605866524, 281.97637022751212, 388.86081928241106, 50.615297579493017, 293.870868581287, 123.74424820940203, 422.90433211946129);
double3x3 r3 = double3x3(-436.97006365143233, -46.943802855417005, -185.45321759276709, -154.99369342392021, -48.109244369021269, -32.04768301548819, -143.0991950701453, -65.737319023226235, -14.065731531971039);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void double3x3_operator_plus()
{
double3x3 a0 = double3x3(-418.82956357432045, -405.79894823851015, -34.041791216489742, 236.99924456188421, -459.83910129025537, 210.8614223985287, 293.74197902052754, -373.015422279488, -386.059833944803);
double3x3 r0 = double3x3(-418.82956357432045, -405.79894823851015, -34.041791216489742, 236.99924456188421, -459.83910129025537, 210.8614223985287, 293.74197902052754, -373.015422279488, -386.059833944803);
TestUtils.AreEqual(r0, +a0);
double3x3 a1 = double3x3(4.9544198536101476, 504.47483062393724, -170.74650843941907, 439.55937572920664, -478.74939916969714, 116.40075665172219, 421.40964742256779, -258.5960806620289, 447.86609122150867);
double3x3 r1 = double3x3(4.9544198536101476, 504.47483062393724, -170.74650843941907, 439.55937572920664, -478.74939916969714, 116.40075665172219, 421.40964742256779, -258.5960806620289, 447.86609122150867);
TestUtils.AreEqual(r1, +a1);
double3x3 a2 = double3x3(124.16434031546316, -65.949277193261878, 239.04183947250328, 498.4495329793773, -139.382530515726, 279.07295549990283, 108.7758186370022, 37.999210613779383, 136.81214934997831);
double3x3 r2 = double3x3(124.16434031546316, -65.949277193261878, 239.04183947250328, 498.4495329793773, -139.382530515726, 279.07295549990283, 108.7758186370022, 37.999210613779383, 136.81214934997831);
TestUtils.AreEqual(r2, +a2);
double3x3 a3 = double3x3(-236.03003965878395, 342.2791270419392, 102.4722116470673, -161.454825714908, -355.27087919566355, 141.31435949230308, 239.32088600812517, -494.60408543730347, 361.59198134094106);
double3x3 r3 = double3x3(-236.03003965878395, 342.2791270419392, 102.4722116470673, -161.454825714908, -355.27087919566355, 141.31435949230308, 239.32088600812517, -494.60408543730347, 361.59198134094106);
TestUtils.AreEqual(r3, +a3);
}
[TestCompiler]
public static void double3x3_operator_neg()
{
double3x3 a0 = double3x3(148.46174890755753, -467.12267873581624, 132.04719954917539, 183.52262290917463, 473.7010145009034, -407.99109024926605, -54.958759571872065, -382.98981803608581, -299.09338893512887);
double3x3 r0 = double3x3(-148.46174890755753, 467.12267873581624, -132.04719954917539, -183.52262290917463, -473.7010145009034, 407.99109024926605, 54.958759571872065, 382.98981803608581, 299.09338893512887);
TestUtils.AreEqual(r0, -a0);
double3x3 a1 = double3x3(-383.01406377508027, 168.73550351370852, 466.44152829909763, 171.90249474900895, -280.55831564616335, -78.85761622286293, 318.69633522569029, -39.91539694737429, 140.34000284054321);
double3x3 r1 = double3x3(383.01406377508027, -168.73550351370852, -466.44152829909763, -171.90249474900895, 280.55831564616335, 78.85761622286293, -318.69633522569029, 39.91539694737429, -140.34000284054321);
TestUtils.AreEqual(r1, -a1);
double3x3 a2 = double3x3(132.19563180403577, 410.38058466947666, -237.05693375182193, -137.617827241131, -245.34998547534923, 422.52133222227974, -434.57134386271764, 60.222219256787639, -466.56631515294606);
double3x3 r2 = double3x3(-132.19563180403577, -410.38058466947666, 237.05693375182193, 137.617827241131, 245.34998547534923, -422.52133222227974, 434.57134386271764, -60.222219256787639, 466.56631515294606);
TestUtils.AreEqual(r2, -a2);
double3x3 a3 = double3x3(426.89450116962871, -391.37208408460583, 423.23773809114368, 254.29757296959758, -114.84889536483627, 108.05966263080927, -507.97628688624889, -306.24571456864743, 219.66627298093692);
double3x3 r3 = double3x3(-426.89450116962871, 391.37208408460583, -423.23773809114368, -254.29757296959758, 114.84889536483627, -108.05966263080927, 507.97628688624889, 306.24571456864743, -219.66627298093692);
TestUtils.AreEqual(r3, -a3);
}
[TestCompiler]
public static void double3x3_operator_prefix_inc()
{
double3x3 a0 = double3x3(-139.84208137348389, -56.743654039103376, -381.955324589254, 509.79634380237962, -222.89634452708827, 210.31986556310198, -392.73151058365193, -300.19410218866267, 362.21273939787068);
double3x3 r0 = double3x3(-138.84208137348389, -55.743654039103376, -380.955324589254, 510.79634380237962, -221.89634452708827, 211.31986556310198, -391.73151058365193, -299.19410218866267, 363.21273939787068);
TestUtils.AreEqual(r0, ++a0);
double3x3 a1 = double3x3(401.614830919362, -450.23016402229212, 243.54693114177644, 46.19202735190845, -41.497298975241051, 299.18547000511808, 154.35656530892311, -281.23327435237974, 200.70599922943211);
double3x3 r1 = double3x3(402.614830919362, -449.23016402229212, 244.54693114177644, 47.19202735190845, -40.497298975241051, 300.18547000511808, 155.35656530892311, -280.23327435237974, 201.70599922943211);
TestUtils.AreEqual(r1, ++a1);
double3x3 a2 = double3x3(92.957765384091886, -295.58701171334229, 18.499063262016989, -215.71113381893895, 471.94723651928234, 257.07660090973445, 41.625937719655212, 4.8254301570474354, 243.00478588929627);
double3x3 r2 = double3x3(93.957765384091886, -294.58701171334229, 19.499063262016989, -214.71113381893895, 472.94723651928234, 258.07660090973445, 42.625937719655212, 5.8254301570474354, 244.00478588929627);
TestUtils.AreEqual(r2, ++a2);
double3x3 a3 = double3x3(-472.61902330472088, -477.45955227197129, 9.8914859340952717, -76.922842299995409, -29.767583622488928, -387.17744344620849, 461.70929906410595, 13.699699169816313, -46.303758404359087);
double3x3 r3 = double3x3(-471.61902330472088, -476.45955227197129, 10.891485934095272, -75.922842299995409, -28.767583622488928, -386.17744344620849, 462.70929906410595, 14.699699169816313, -45.303758404359087);
TestUtils.AreEqual(r3, ++a3);
}
[TestCompiler]
public static void double3x3_operator_postfix_inc()
{
double3x3 a0 = double3x3(-396.6697396695007, 511.20749378167443, 249.11127030528678, -128.81731301584153, -259.49027669592306, 278.00817764830219, -81.393423356764686, 66.719732554033271, 167.85212691493894);
double3x3 r0 = double3x3(-396.6697396695007, 511.20749378167443, 249.11127030528678, -128.81731301584153, -259.49027669592306, 278.00817764830219, -81.393423356764686, 66.719732554033271, 167.85212691493894);
TestUtils.AreEqual(r0, a0++);
double3x3 a1 = double3x3(147.94395048354932, 41.033564825092185, 128.5304239394751, 73.155582223625629, -60.132380275117384, -446.22976490772783, -296.93783797739906, 267.29380071689081, 446.22930714405572);
double3x3 r1 = double3x3(147.94395048354932, 41.033564825092185, 128.5304239394751, 73.155582223625629, -60.132380275117384, -446.22976490772783, -296.93783797739906, 267.29380071689081, 446.22930714405572);
TestUtils.AreEqual(r1, a1++);
double3x3 a2 = double3x3(49.200223230384381, -510.86424064583343, 471.64748762159024, -171.01308186865089, 310.72735967800361, -298.91717185588425, 489.98497008252184, 184.60345109952777, 290.69102896875279);
double3x3 r2 = double3x3(49.200223230384381, -510.86424064583343, 471.64748762159024, -171.01308186865089, 310.72735967800361, -298.91717185588425, 489.98497008252184, 184.60345109952777, 290.69102896875279);
TestUtils.AreEqual(r2, a2++);
double3x3 a3 = double3x3(117.1923401901463, 412.36778874526158, -229.38657079887884, 239.59693848322934, 36.624316947825378, -80.708194531830145, -391.03352016538076, -478.22714136458336, 166.86049159190645);
double3x3 r3 = double3x3(117.1923401901463, 412.36778874526158, -229.38657079887884, 239.59693848322934, 36.624316947825378, -80.708194531830145, -391.03352016538076, -478.22714136458336, 166.86049159190645);
TestUtils.AreEqual(r3, a3++);
}
[TestCompiler]
public static void double3x3_operator_prefix_dec()
{
double3x3 a0 = double3x3(123.12869626056806, 256.8437465433235, 156.33078844674435, 461.73742530389563, 325.86799755965728, 392.01561731473339, 187.87412580655609, -236.2252043393558, 125.10963517292851);
double3x3 r0 = double3x3(122.12869626056806, 255.8437465433235, 155.33078844674435, 460.73742530389563, 324.86799755965728, 391.01561731473339, 186.87412580655609, -237.2252043393558, 124.10963517292851);
TestUtils.AreEqual(r0, --a0);
double3x3 a1 = double3x3(469.8447313112415, 376.04684680329956, -363.07547991493504, -22.028951416736902, 248.79012667797042, 168.0950144120003, 168.26565011230559, -190.284744112885, 166.9455474200405);
double3x3 r1 = double3x3(468.8447313112415, 375.04684680329956, -364.07547991493504, -23.028951416736902, 247.79012667797042, 167.0950144120003, 167.26565011230559, -191.284744112885, 165.9455474200405);
TestUtils.AreEqual(r1, --a1);
double3x3 a2 = double3x3(183.95795854551625, -460.73930261132273, 89.569894117102876, -267.42982090051743, 201.75623450137505, -141.21688682456357, -217.48409782046645, 197.36173281323249, -213.54412732531506);
double3x3 r2 = double3x3(182.95795854551625, -461.73930261132273, 88.569894117102876, -268.42982090051743, 200.75623450137505, -142.21688682456357, -218.48409782046645, 196.36173281323249, -214.54412732531506);
TestUtils.AreEqual(r2, --a2);
double3x3 a3 = double3x3(180.74062570405226, 478.04553888647149, -454.56614062495817, -386.89835256473083, 387.85698408068015, -315.11044969927076, -108.28654556548526, -286.31702937107394, -375.60158007945938);
double3x3 r3 = double3x3(179.74062570405226, 477.04553888647149, -455.56614062495817, -387.89835256473083, 386.85698408068015, -316.11044969927076, -109.28654556548526, -287.31702937107394, -376.60158007945938);
TestUtils.AreEqual(r3, --a3);
}
[TestCompiler]
public static void double3x3_operator_postfix_dec()
{
double3x3 a0 = double3x3(379.68831723727669, 302.69287814884115, -176.07134040448409, -291.25267066212962, 470.56758401848731, -402.92594666170231, -63.655158787805192, 355.26110069605568, -27.889220489137415);
double3x3 r0 = double3x3(379.68831723727669, 302.69287814884115, -176.07134040448409, -291.25267066212962, 470.56758401848731, -402.92594666170231, -63.655158787805192, 355.26110069605568, -27.889220489137415);
TestUtils.AreEqual(r0, a0--);
double3x3 a1 = double3x3(-100.76183824462902, 479.94519613680677, -200.30429491787419, -445.0269393609031, 407.42034907239508, 327.67032519340069, 48.0602071509046, -209.66798100698179, -38.435048836485976);
double3x3 r1 = double3x3(-100.76183824462902, 479.94519613680677, -200.30429491787419, -445.0269393609031, 407.42034907239508, 327.67032519340069, 48.0602071509046, -209.66798100698179, -38.435048836485976);
TestUtils.AreEqual(r1, a1--);
double3x3 a2 = double3x3(283.941595924991, 152.51066334196867, -287.262531175866, -215.94803939384781, -407.04635567546188, 159.23357136511879, -359.45648663093175, 168.4139531442961, -278.93379868144814);
double3x3 r2 = double3x3(283.941595924991, 152.51066334196867, -287.262531175866, -215.94803939384781, -407.04635567546188, 159.23357136511879, -359.45648663093175, 168.4139531442961, -278.93379868144814);
TestUtils.AreEqual(r2, a2--);
double3x3 a3 = double3x3(289.91284073978329, 470.71654937729079, -208.56061873611094, 145.89674789546837, -296.79095258228062, -274.57083309561517, -250.04125630578085, -70.856303486440481, -485.627825724719);
double3x3 r3 = double3x3(289.91284073978329, 470.71654937729079, -208.56061873611094, 145.89674789546837, -296.79095258228062, -274.57083309561517, -250.04125630578085, -70.856303486440481, -485.627825724719);
TestUtils.AreEqual(r3, a3--);
}
}
}

View File

@@ -0,0 +1,949 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using NUnit.Framework;
using static Unity.Mathematics.math;
using Burst.Compiler.IL.Tests;
namespace Unity.Mathematics.Tests
{
[TestFixture]
public class TestDouble3x4
{
[TestCompiler]
public static void double3x4_zero()
{
TestUtils.AreEqual(0.0, double3x4.zero.c0.x);
TestUtils.AreEqual(0.0, double3x4.zero.c0.y);
TestUtils.AreEqual(0.0, double3x4.zero.c0.z);
TestUtils.AreEqual(0.0, double3x4.zero.c1.x);
TestUtils.AreEqual(0.0, double3x4.zero.c1.y);
TestUtils.AreEqual(0.0, double3x4.zero.c1.z);
TestUtils.AreEqual(0.0, double3x4.zero.c2.x);
TestUtils.AreEqual(0.0, double3x4.zero.c2.y);
TestUtils.AreEqual(0.0, double3x4.zero.c2.z);
TestUtils.AreEqual(0.0, double3x4.zero.c3.x);
TestUtils.AreEqual(0.0, double3x4.zero.c3.y);
TestUtils.AreEqual(0.0, double3x4.zero.c3.z);
}
[TestCompiler]
public static void double3x4_operator_equal_wide_wide()
{
double3x4 a0 = double3x4(492.15758275061728, -495.20632027797694, 227.45765195947968, -147.37405950733182, -222.68201909897942, 64.093720704360749, -23.890404473939157, -16.8197190839889, 163.23210890741655, -165.27101071424363, 470.87767980568003, -423.94255967808078);
double3x4 b0 = double3x4(192.56880888369346, -235.61102472786376, -254.04311740307281, -412.62472052715009, 471.90480945627428, -6.4727852374654162, -339.10237447316865, 488.1875700839737, -379.5965842584132, -308.41700258311675, -82.333374300195544, -102.92108087563935);
bool3x4 r0 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
double3x4 a1 = double3x4(109.63436918595539, 462.69031283943468, -335.38147727371262, 357.23446934168896, 1.5455777652308598, -347.38824741327585, -114.47217302884542, 435.84865804940864, 194.23808607563285, 138.76554710174241, -467.34914205379278, 370.43337767684523);
double3x4 b1 = double3x4(226.51573835430463, -356.90132896830391, -362.91277544708589, -427.89843746083716, 466.65013978753711, -102.79904680270658, -43.355954428834821, 85.045664111639212, -91.127054972167628, 422.19208856215334, -477.43130873024057, 1.8770024785198984);
bool3x4 r1 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
double3x4 a2 = double3x4(476.70826147343416, 320.55264702465047, -498.59197377534207, 92.4169581366782, 104.51136856177425, 166.75460608618084, -204.73343024250744, 434.75675674656259, -397.32965988541469, 503.98163699730378, -503.7141270598928, 90.659743112819115);
double3x4 b2 = double3x4(312.5800799394865, 254.59934365684137, 352.72583763335172, 62.490957050812881, 119.71476059766246, -511.05808639482507, -302.47273053902791, -371.76924365189359, -20.007841834802093, 21.459455738523729, -426.02067228128232, -305.41193666374863);
bool3x4 r2 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
double3x4 a3 = double3x4(-303.4452423078219, 9.3449113412503948, 290.9010785980621, -147.57193882184657, 368.08236067745941, -321.60959044173808, -171.4654224717363, -441.30646368549503, -137.76681834914109, 304.68958463551928, 301.88943948498434, -222.22090564585335);
double3x4 b3 = double3x4(261.68332517411716, 50.0047347778476, -334.13464824023407, 75.065677916196023, -51.186689639085273, -135.96155721319911, -409.36487431515235, 160.81974013187914, 102.12079553591127, 277.81306637349212, 434.90674444423371, -15.289183385339186);
bool3x4 r3 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void double3x4_operator_equal_wide_scalar()
{
double3x4 a0 = double3x4(-303.2300766926399, 451.52631327674089, -253.65587413201848, -105.20363502632995, -500.6910920090466, -426.19248338518315, 159.87609656149334, -59.558379439431405, -57.477391031327386, -182.04973968400139, 406.51375861024189, 370.88599866017978);
double b0 = (123.5445759871717);
bool3x4 r0 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
double3x4 a1 = double3x4(-172.03530629539642, -11.338988547836891, 363.93823044557973, -27.150561106927, -325.97606507221985, -290.35904254129116, 180.19686635779067, -374.12832015293105, -439.35894295170851, -126.54608899287234, -197.2617896521752, -227.15933357326281);
double b1 = (455.40001198993991);
bool3x4 r1 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
double3x4 a2 = double3x4(-479.8991937487848, -495.23734902555, -224.51705013239621, -422.83322616239695, -450.19627043707123, -20.106708774392814, 297.37999906082632, 185.9665759475746, -102.97598962810633, -220.59704910060253, -228.686854707397, -333.00125972041917);
double b2 = (-439.77767750237962);
bool3x4 r2 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
double3x4 a3 = double3x4(434.2130317325765, -239.86977707588568, 380.93927281952426, 90.349506658664723, -361.32792751925433, -453.59993836544453, 157.73248799039629, -491.04621457077855, 296.61425055964582, 482.26513432071783, -305.87698259292029, -290.10212601819171);
double b3 = (406.24874062382094);
bool3x4 r3 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void double3x4_operator_equal_scalar_wide()
{
double a0 = (-253.39728534100453);
double3x4 b0 = double3x4(19.952187785856495, -185.79199346610903, 407.8136052600172, -87.2766969610363, -206.27469382354741, 160.503138855334, -274.77081478516141, -2.6315281403397535, 448.35453602688131, -410.03524251004461, 247.32901465489022, 355.53915350303942);
bool3x4 r0 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
double a1 = (-298.06671180299793);
double3x4 b1 = double3x4(414.10151429385951, -481.30262707234482, 196.55074438664633, 34.60100008668428, 113.76156645350227, -386.45337861890596, -124.49174672201821, 243.8866447153905, -492.6181826501238, 145.424413033493, 421.55070968230757, -95.409988209330493);
bool3x4 r1 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
double a2 = (336.80928746648567);
double3x4 b2 = double3x4(209.58380589707929, 487.441424358376, 161.80653365040507, 149.84247095409899, 225.723996505944, -71.21880176999548, 85.780251781353854, 192.547256797807, -49.887493395194156, -229.80195652218629, -103.40733413743197, 19.215747126944279);
bool3x4 r2 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
double a3 = (492.88110827509365);
double3x4 b3 = double3x4(140.40315849166507, -267.53641546309757, 125.9727018466092, 478.00049398746364, 116.14462071105118, -368.95778220191494, -225.02866350162247, 2.7237255585955609, -452.2632198055569, 87.456553261474028, 401.30651802630462, -18.645524272064449);
bool3x4 r3 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void double3x4_operator_not_equal_wide_wide()
{
double3x4 a0 = double3x4(430.8425316432689, 104.69001798736394, 225.80243478799355, -310.57017841496048, -418.61945815506363, 304.12820281839379, -509.32682561749908, -160.53807719076895, -203.30197606016975, -505.76325368590807, 162.17220623892365, 1.1561973100324394);
double3x4 b0 = double3x4(210.02470622305975, -55.203330304102678, -269.92533672504373, -234.54673372700194, 25.917412054686565, -63.726991444699024, -484.55371092471933, -425.333599050219, -53.274394775402925, 328.1944192984115, 15.963139303011417, 461.71412417931208);
bool3x4 r0 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
double3x4 a1 = double3x4(65.662074358045174, 102.78780250567377, 172.93008120960098, 26.621009123800832, 235.12595259171258, 128.54198533321824, -354.99697630246959, 334.35948220564023, -495.83200692377613, 468.30740163675853, 458.37094733601941, 299.93733300824522);
double3x4 b1 = double3x4(-113.36304455313973, -240.07297264787974, 495.11916970420589, 203.5583661550462, 340.49345103860526, -241.90719448863865, 459.56982896270688, 213.0737384357833, -384.7828506831, -255.07233846144396, 477.66343115161328, -248.03662621604121);
bool3x4 r1 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
double3x4 a2 = double3x4(43.12718560319729, -354.71349994964595, -145.28719551176169, 390.80186218340032, -303.13149108697263, 391.13459533785215, 139.2868607692825, 104.52318506339714, 511.29640293088573, 213.1470559635884, -101.09569625793756, 441.6633772522506);
double3x4 b2 = double3x4(-407.92344565313471, -199.78886971240343, 151.84326488889906, -97.120607659742518, 154.97589380805186, -172.83452065886672, 441.5027942329192, -401.73862785926957, -411.43016333665241, -337.8202766561044, -430.63088270213029, -150.87180502287663);
bool3x4 r2 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
double3x4 a3 = double3x4(124.36612301895684, 312.02642622218764, 59.65573766625289, -508.65682315670739, 98.699622438615052, 228.79984174892297, 337.83266965385189, -163.1544383331921, 461.69158885520494, -450.77570340166596, -443.56476637514527, -438.2131223334992);
double3x4 b3 = double3x4(-206.83699212169137, 34.955056922023687, -255.77146422852366, 99.99864320643178, -161.17557127828502, 68.853526862735634, -285.59012116379574, -428.71731229718648, -286.33740700703925, 2.0271298894784877, -4.8059971354929871, -425.33480115669539);
bool3x4 r3 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void double3x4_operator_not_equal_wide_scalar()
{
double3x4 a0 = double3x4(-16.914588697680529, 168.83411486858233, -462.71352145760949, 130.30776959765137, 214.50161443208424, -440.26328178879959, -197.12796053529155, -169.09985860115842, -386.61117595555783, -281.02101362916687, -270.26885593601912, -403.96372313236992);
double b0 = (-145.37277109239847);
bool3x4 r0 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
double3x4 a1 = double3x4(-269.80570877241234, -71.750904831919286, -432.75573917513515, -457.36312100727258, -13.519590622521719, 273.87305773136814, 185.042454567292, -482.53069351731364, 116.39514427836764, 511.73495578753523, 230.50753628020527, 100.27476768394683);
double b1 = (299.65422763473089);
bool3x4 r1 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
double3x4 a2 = double3x4(129.68240863163135, -220.63900409482375, 140.33521921016984, 369.2123617461009, 453.81121489676241, -333.66624871532724, -373.93775218256644, 150.20429451307484, -442.16476627912596, 372.32001488856974, -95.837970539852051, 495.56669663617697);
double b2 = (321.17879048044733);
bool3x4 r2 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
double3x4 a3 = double3x4(-5.385580780629823, -459.61274812166243, 243.3090676010163, 314.10215702378287, 96.745011136282756, -168.16192944727931, -71.905446324453408, 216.60847983910162, -377.37381356646017, 142.35499841643264, -432.27255722148, 94.290808959999481);
double b3 = (-210.50298581388915);
bool3x4 r3 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void double3x4_operator_not_equal_scalar_wide()
{
double a0 = (275.79582823244664);
double3x4 b0 = double3x4(-57.196896341255353, -382.4325279586169, 97.820359990848374, -161.46364529499022, -458.39563367254829, -499.61786364932448, 327.92217818271467, 367.57121699283425, 59.7863667289663, -209.58068118318016, -62.580453186566217, -479.97497604786184);
bool3x4 r0 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
double a1 = (-49.494519495169868);
double3x4 b1 = double3x4(-114.68521338081229, 109.93924599044919, -176.28482755286842, -347.48529903380449, 85.540928165214609, -356.65954868712441, -104.24357490625397, -133.54918605347592, 243.53971135036079, 13.141311890045813, -379.98594754747393, -41.281226892620907);
bool3x4 r1 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
double a2 = (87.911684792447659);
double3x4 b2 = double3x4(-339.07727996403224, -371.82034533648766, 333.14425936953364, 294.81196011920088, -187.14565977228136, 220.19225774528093, -228.18207250730234, -499.72373914146971, 97.4059055305114, 501.60439395420462, 459.67539880223353, 158.09812290877949);
bool3x4 r2 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
double a3 = (358.48858921531985);
double3x4 b3 = double3x4(243.51259171381253, 336.70294991913386, 89.953149122164177, -65.578377515812576, -159.26015503670095, 410.58855528877518, 123.96303206494224, -239.6251271886868, -299.42983808155628, -491.29190443981992, 207.71164641515895, 271.56546724567443);
bool3x4 r3 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void double3x4_operator_less_wide_wide()
{
double3x4 a0 = double3x4(196.84256825076534, 336.40979997087732, 251.96372115424072, 257.65591466503963, 430.04588647840819, -62.419644146421774, 8.8392293494376872, -333.81671563434259, 164.67880662003472, -350.94487516532877, 3.84143662631584, 125.40972024081725);
double3x4 b0 = double3x4(-465.34502313348696, -256.15239751346053, -314.814018634527, 364.56673662949663, 100.21050290959442, 182.56098636545289, 3.116978885194726, -259.43047893207074, -437.33490749696966, -456.0437321402336, -394.2559718537405, 401.91369099259077);
bool3x4 r0 = bool3x4(false, false, false, true, false, true, false, true, false, false, false, true);
TestUtils.AreEqual(r0, a0 < b0);
double3x4 a1 = double3x4(-111.12994127680076, 70.005523475820951, 448.19828173527412, -419.98711200244122, -258.30166757213965, -34.832201735504043, -69.859397682295821, 67.767227442826766, -139.77729207825723, 385.43464130229995, 133.707390609061, 506.18837117878184);
double3x4 b1 = double3x4(313.43916454605721, 121.28668194696616, -28.012290729215522, -282.96589697663012, 330.06440631023816, 124.09937077579059, -183.69031700104955, 373.0607623406969, 109.75094013556418, -203.57134232463841, 45.6486556742567, -360.95226280808089);
bool3x4 r1 = bool3x4(true, true, false, true, true, true, false, true, true, false, false, false);
TestUtils.AreEqual(r1, a1 < b1);
double3x4 a2 = double3x4(34.442885653322037, 412.11373896715872, -84.809773246203463, 444.78534504621541, -78.754743374304269, 366.97754376334024, 127.18045788965208, 428.36845489422251, 8.1976149120356467, -71.137346062407516, -474.05081937930117, 322.42891875022508);
double3x4 b2 = double3x4(211.91309867236441, -313.28636207863985, -259.66108691862837, 79.0985401045059, 446.49610897828643, 450.52455660818362, -375.63076728192658, -53.941822792376286, -291.4537471697916, 190.77482303919965, 54.083913589866825, -163.63087637891567);
bool3x4 r2 = bool3x4(true, false, false, false, true, true, false, false, false, true, true, false);
TestUtils.AreEqual(r2, a2 < b2);
double3x4 a3 = double3x4(6.8978650602036851, 195.73355993802363, -267.69061315604051, -243.79369961647024, 319.25079336727538, -425.15620370635588, 71.873970303625811, 313.84387626957334, 397.27906126402274, -309.14588584990514, -38.667860764389786, -266.11969554895518);
double3x4 b3 = double3x4(-212.00563750602566, 406.09049649075166, -183.01893743454428, 355.22140304894253, -81.042213716098217, -275.71481693709029, 405.29925007619863, -510.64058065351128, 398.06925815999011, -4.35550666058225, 129.24267083464315, -276.1465247963306);
bool3x4 r3 = bool3x4(false, true, true, true, false, true, true, false, true, true, true, false);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void double3x4_operator_less_wide_scalar()
{
double3x4 a0 = double3x4(-132.05731708000292, -192.46500477216438, -66.834607870706634, -379.01750081545561, -360.28242199508588, 20.927834282129879, -158.24074537970159, 437.34587522845061, -20.452607402788772, 225.29148517609178, 307.48418607725023, 274.01523292903562);
double b0 = (-156.01021845452965);
bool3x4 r0 = bool3x4(false, true, false, true, true, false, true, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 < b0);
double3x4 a1 = double3x4(373.54965584983563, 105.0301654827922, -58.010895994496934, 109.67008810381878, -108.853174498702, -44.971252223929014, 140.42607147080173, -500.08827638071415, 172.10334857371788, -197.50074610370245, -7.27149987559369, -432.99049898283113);
double b1 = (398.52368301829495);
bool3x4 r1 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 < b1);
double3x4 a2 = double3x4(62.158315449095426, -377.85232299279994, -500.25573586870718, 149.1149638393498, 119.88061695912882, 202.63918909925928, 274.95066393304182, 66.4120323967245, 274.99944580486022, -149.63581402117194, 223.75870834279749, 73.266824041151835);
double b2 = (-72.254720959931035);
bool3x4 r2 = bool3x4(false, true, true, false, false, false, false, false, false, true, false, false);
TestUtils.AreEqual(r2, a2 < b2);
double3x4 a3 = double3x4(213.09497390179661, 418.3772096197946, 421.10357947885223, -187.16683658732421, 389.10944313048822, 401.33542818638284, -106.28507929029178, 380.60798162063952, 385.65284484701829, 120.65986376659009, -13.830871826890359, -500.12711238308208);
double b3 = (322.85949459805124);
bool3x4 r3 = bool3x4(true, false, false, true, false, false, true, false, false, true, true, true);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void double3x4_operator_less_scalar_wide()
{
double a0 = (-423.117411095238);
double3x4 b0 = double3x4(385.09483617595151, -123.93348532725753, 86.376572887588509, 133.44217378154497, 161.45794947513286, 229.75426660746064, 222.57159934871436, 315.53116360098647, -447.20351883731945, 271.83385790131695, -393.60531324595462, 317.48689737798964);
bool3x4 r0 = bool3x4(true, true, true, true, true, true, true, true, false, true, true, true);
TestUtils.AreEqual(r0, a0 < b0);
double a1 = (-164.6051085761772);
double3x4 b1 = double3x4(-282.87605370342544, 296.97953071118309, -254.40115582868509, 365.61562054493265, -441.98425671178114, -131.42866021554391, 442.62897631275882, -29.792842163607872, -138.37379533535511, 9.2169721169476588, -226.7305482489665, 171.02944310523083);
bool3x4 r1 = bool3x4(false, true, false, true, false, true, true, true, true, true, false, true);
TestUtils.AreEqual(r1, a1 < b1);
double a2 = (376.62522595777421);
double3x4 b2 = double3x4(-462.58872697436658, -142.36729795409707, -456.25377414014832, 66.6102416825529, 169.37875779409831, 327.44439450253003, 64.0879266560487, -153.50390369887646, 199.38014921889646, -244.96905314408662, 472.74382112582396, -363.78010075342843);
bool3x4 r2 = bool3x4(false, false, false, false, false, false, false, false, false, false, true, false);
TestUtils.AreEqual(r2, a2 < b2);
double a3 = (-179.48750575794259);
double3x4 b3 = double3x4(-83.4251511485433, 178.88648828253451, 62.155780582761281, 409.74679560668153, -117.16365366669544, 316.60167684992848, 285.51627339307049, 18.674469718092382, 282.52931298060776, 132.92379075518056, -318.21533957040651, 314.83989181874313);
bool3x4 r3 = bool3x4(true, true, true, true, true, true, true, true, true, true, false, true);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void double3x4_operator_greater_wide_wide()
{
double3x4 a0 = double3x4(483.50140141113729, 310.81563415695712, 106.9661896726891, 295.73526038589671, 116.95757179938141, -478.29977653841479, -14.897393471979228, -33.817441717636484, -24.740548383789417, 319.78262701620474, -120.15856581561201, -289.00857962714906);
double3x4 b0 = double3x4(-471.39802454011425, -371.98528617060992, 36.900723236101044, -316.76360407320954, 19.683055648432628, 207.3091381561519, 362.79748861994483, 324.95341816775192, 340.94807140014507, 25.986035120666997, -114.2111352021858, 240.80346428640348);
bool3x4 r0 = bool3x4(true, true, true, true, true, false, false, false, false, true, false, false);
TestUtils.AreEqual(r0, a0 > b0);
double3x4 a1 = double3x4(455.85146662958505, 144.70691139283917, 63.931990891663304, -285.68304099034663, -502.0907201720824, -337.19446412529538, 474.31734274063137, -507.14510679018923, -133.56559735795742, -443.10913654934109, -464.34137056038776, -68.361549647693323);
double3x4 b1 = double3x4(273.42244757033063, 325.51576224226312, 27.341068995809678, 64.479532510265472, 200.94836983501375, 100.12266998184964, -79.00710896356361, -315.137945560337, -122.98542815213347, -163.77920229908972, -492.56600617457462, -90.797273439726439);
bool3x4 r1 = bool3x4(true, false, true, false, false, false, true, false, false, false, true, true);
TestUtils.AreEqual(r1, a1 > b1);
double3x4 a2 = double3x4(-185.99299987870876, -157.80389340119615, -74.124229227250567, -94.471165939453613, 329.61055508703487, -315.83675280019486, 404.193811843262, 131.30440503512716, -206.6339033612208, 197.39985832823436, 187.99195274524016, 362.63607542712055);
double3x4 b2 = double3x4(-284.9012335673446, -23.653687249707843, 174.93002112905026, 85.7125366133231, -441.98783012944637, 345.54374210235835, 482.21949814363359, -422.38349719642827, -30.779309048680261, 296.15423669300708, 378.05988830051376, -457.73343942022575);
bool3x4 r2 = bool3x4(true, false, false, false, true, false, false, true, false, false, false, true);
TestUtils.AreEqual(r2, a2 > b2);
double3x4 a3 = double3x4(336.09317819033436, -352.44836752137559, -183.10199865284471, 193.14483484679124, -170.216002781976, -0.49123787902817639, -326.85503760299412, -373.39623826248396, -216.58046422553269, 282.51211489481489, -275.17035616336875, -207.331757403599);
double3x4 b3 = double3x4(122.92057257654176, -509.17313766347854, 386.7706226719406, 436.41747280415962, -276.49581516743444, -163.16677554099203, 249.97064625936127, -165.02074130113272, 89.092999261381578, 404.30517287007774, -340.68884889254758, -103.78509550159106);
bool3x4 r3 = bool3x4(true, true, false, false, true, true, false, false, false, false, true, false);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void double3x4_operator_greater_wide_scalar()
{
double3x4 a0 = double3x4(64.317918092160426, -397.70346445483318, 431.87690826499693, 85.702980796668157, 246.26305233978803, 197.49155602114809, 286.1994608781298, 280.81334818564972, -405.78459210218148, 171.56538661362856, -241.80727326209063, 333.57817498481745);
double b0 = (305.85991992888034);
bool3x4 r0 = bool3x4(false, false, true, false, false, false, false, false, false, false, false, true);
TestUtils.AreEqual(r0, a0 > b0);
double3x4 a1 = double3x4(370.27919524269146, -356.5923551789449, -353.03129522550444, 396.64532608382649, 467.22205541432936, -240.0134228393498, 502.91505193287276, 315.46759024051369, -259.28970134411458, 281.23064554912537, 428.79219909608, 245.15306460352292);
double b1 = (-413.70138116073861);
bool3x4 r1 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 > b1);
double3x4 a2 = double3x4(-279.17542494422543, -124.77154856769909, -425.65293451103054, 99.132852838902181, 355.0605339273161, -456.43941256796916, 154.48902208846482, 405.52974409867534, -157.73379643155903, 186.08628639303436, 249.99909531790718, -110.0969179189284);
double b2 = (-453.86309668694764);
bool3x4 r2 = bool3x4(true, true, true, true, true, false, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 > b2);
double3x4 a3 = double3x4(-435.3045134187231, -254.34657037181154, -428.98794980951953, 255.37367761105941, -309.11230459302305, 185.50160678918553, -201.33417687254689, 23.321151029002408, -143.97610027341921, -111.77951412637697, -356.65661852278589, -318.31356945555359);
double b3 = (72.752033029101767);
bool3x4 r3 = bool3x4(false, false, false, true, false, true, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void double3x4_operator_greater_scalar_wide()
{
double a0 = (-282.67049635698572);
double3x4 b0 = double3x4(358.09997360692353, -72.5964134077525, -232.16380106292843, -60.706723956720282, 75.156642710397364, 150.88350040786133, 339.53917924479538, -498.19602965665797, 459.74610326241054, -227.96872316485678, 335.86213485145106, 76.178844248959308);
bool3x4 r0 = bool3x4(false, false, false, false, false, false, false, true, false, false, false, false);
TestUtils.AreEqual(r0, a0 > b0);
double a1 = (296.85993899817572);
double3x4 b1 = double3x4(177.49000390688423, -281.20120657663847, 244.72285162877427, 137.32857257562159, -385.33824724021287, 443.16345879210326, -353.56254141105455, 26.040673983302327, -331.7939499969566, -43.691963454565041, 20.949428806523542, -211.17984423934473);
bool3x4 r1 = bool3x4(true, true, true, true, true, false, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 > b1);
double a2 = (227.42171894173214);
double3x4 b2 = double3x4(-84.7797711290325, -375.13548701588786, -205.17813096064054, -197.04714617368165, -219.63402305340117, -210.01563344244641, -266.773715858708, 144.77848703450456, -471.71120069535039, -155.91317494023275, 99.724721716588647, -230.94484316135981);
bool3x4 r2 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 > b2);
double a3 = (-338.86889640375455);
double3x4 b3 = double3x4(334.06826630889827, -158.66085703608621, -315.01822414762262, -177.19281991626735, 171.959285100903, 198.38915047347041, 303.67832603290594, 400.69957346501735, 351.87867252523017, -31.76966072608235, 386.07330077983124, -360.34885733218346);
bool3x4 r3 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, true);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void double3x4_operator_less_equal_wide_wide()
{
double3x4 a0 = double3x4(-438.52313753521219, 210.48942837980087, 4.8773329280677444, -137.29793817237857, 156.09410174009111, -363.92412035722475, -97.948485181642923, 437.29539009430232, 458.53029153241323, -294.06474675520542, 23.622613679441884, -34.284056441059363);
double3x4 b0 = double3x4(-474.8141498392514, 304.3710555063426, 234.8241737982371, -390.48543209139513, -297.17535295019638, -326.29239121372461, 107.2538764976216, -413.13107342884462, 67.094432623635271, 470.07522724106684, -84.499104777583455, 392.78422683886447);
bool3x4 r0 = bool3x4(false, true, true, false, false, true, true, false, false, true, false, true);
TestUtils.AreEqual(r0, a0 <= b0);
double3x4 a1 = double3x4(149.736484835733, -418.8866781754823, -197.50252899783783, -88.2055118494693, -376.71814292330208, 341.62712899857536, -83.309179106405566, -107.49073295830317, 319.46688833807912, 205.35738501574724, 345.56372968552807, 395.32190746596177);
double3x4 b1 = double3x4(-263.53175485484849, 369.30090039284005, -333.32529298091555, 238.41347443238533, 486.24259279959028, 279.65021408705513, 236.05201803709008, 132.75898248178839, 66.294708998079727, 183.00210699020056, 200.13055071613314, 339.043800750302);
bool3x4 r1 = bool3x4(false, true, false, true, true, false, true, true, false, false, false, false);
TestUtils.AreEqual(r1, a1 <= b1);
double3x4 a2 = double3x4(-222.87415490992095, 439.02200790821666, -368.0755667016262, -200.03860173003682, 71.46990660180802, -357.36542932939039, 141.7108519737194, 319.0170969064427, 303.03015889927292, -461.57424829042247, 277.62674749904625, 182.178105677561);
double3x4 b2 = double3x4(438.53791710293751, 145.40187866306019, 178.16310199450845, 157.97596724237133, 329.7052015409364, -243.59091221708383, 5.4011614347813293, -22.580605278993289, -90.33759478961008, -72.19107798123315, -354.35482399275281, -289.52172650467685);
bool3x4 r2 = bool3x4(true, false, true, true, true, true, false, false, false, true, false, false);
TestUtils.AreEqual(r2, a2 <= b2);
double3x4 a3 = double3x4(-337.41483441806156, -361.39166109701227, 222.14351020666936, -464.7795028466636, -146.8536623208102, 80.175055302761052, -260.34730088913221, 94.489041134011472, 174.2811945296271, -303.81969251475283, 81.417447366480474, 503.048130508069);
double3x4 b3 = double3x4(85.176270763006187, 469.32790468136216, 294.71383656874013, 461.60593411959985, -245.93047892578431, -124.04044610077534, 278.39260948747051, -42.881244917810534, -328.34883824379597, 98.985619352658091, -375.8998207412194, -197.93427309670221);
bool3x4 r3 = bool3x4(true, true, true, true, false, false, true, false, false, true, false, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void double3x4_operator_less_equal_wide_scalar()
{
double3x4 a0 = double3x4(193.4958237118534, 168.91555197952107, -313.9930695565385, 81.826965131716292, 18.503590830836288, -0.35819602029312136, 241.36115776810846, -463.81641242644582, -1.3577692515020203, -268.89945591096739, 398.9919504593089, -471.253072242836);
double b0 = (443.85054299042122);
bool3x4 r0 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 <= b0);
double3x4 a1 = double3x4(-264.93778264938749, 11.246050124636895, 424.7040156911612, 426.48223157715154, 56.319978501796754, -196.28791126808522, 31.901173844887467, -152.2575724833913, -437.92645975478297, -37.104814785115821, -47.144214413661587, 333.6230348710078);
double b1 = (82.258299150624453);
bool3x4 r1 = bool3x4(true, true, false, false, true, true, true, true, true, true, true, false);
TestUtils.AreEqual(r1, a1 <= b1);
double3x4 a2 = double3x4(-274.80387438219225, -260.46056926458169, 192.30916008367626, 145.30606777281787, -466.13296363602063, -494.26732968458316, -111.57013922164691, -139.54120332540072, -146.58935148389514, 33.984021917909445, -445.70445248377717, -451.04219624541804);
double b2 = (358.67627804292192);
bool3x4 r2 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 <= b2);
double3x4 a3 = double3x4(-122.03926115950537, -202.46552119146361, -76.564869677910963, 218.03280482908372, -103.5359361653849, -283.35842312656268, -374.76167910860931, -213.49586568283655, 477.49183891596829, -383.37006849021191, 23.964948426915726, -5.9607760933976692);
double b3 = (83.327714720427821);
bool3x4 r3 = bool3x4(true, true, true, false, true, true, true, true, false, true, true, true);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void double3x4_operator_less_equal_scalar_wide()
{
double a0 = (393.60626644343427);
double3x4 b0 = double3x4(-75.688363825757222, -44.2638714519627, 125.86491566797019, 191.96488174794467, 13.543054825413492, -197.0519259893577, -423.945100743298, -330.04861680141119, 420.16553779140372, 105.54730777887039, 174.82126363311954, 296.71757831085358);
bool3x4 r0 = bool3x4(false, false, false, false, false, false, false, false, true, false, false, false);
TestUtils.AreEqual(r0, a0 <= b0);
double a1 = (-469.70041845259277);
double3x4 b1 = double3x4(123.26718979853536, 112.9969695140594, 495.14339493920249, -488.65789364681478, 388.53941148730894, -493.24077080806751, 16.451064832718657, -387.6516336815672, -229.1773127192526, -373.01533930982248, -391.142134610164, 90.994149488859875);
bool3x4 r1 = bool3x4(true, true, true, false, true, false, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 <= b1);
double a2 = (-178.39613517485378);
double3x4 b2 = double3x4(-69.621067317957568, 471.7908458522478, -67.4667532758167, 45.305359623071467, -154.69219000390365, 385.73888248286153, -431.652945004242, -331.67304841227508, -349.89271013340573, -114.83913021666888, -245.21782671903156, -486.69548224224496);
bool3x4 r2 = bool3x4(true, true, true, true, true, true, false, false, false, true, false, false);
TestUtils.AreEqual(r2, a2 <= b2);
double a3 = (391.95091957224111);
double3x4 b3 = double3x4(-125.77055150166643, -229.81227527829458, 289.44901265271426, -200.49423680104979, 281.59270991086623, 99.901066588191838, -146.02742845659492, 124.14839774190841, 94.357016368935319, 93.920113845691162, -484.92414711645068, -270.79689396116737);
bool3x4 r3 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void double3x4_operator_greater_equal_wide_wide()
{
double3x4 a0 = double3x4(-507.92858409692, 504.49748181947393, -385.43449205226938, -262.32340944107784, -37.550928848586466, -111.59527759980193, -463.70202157632542, 387.44885772627265, 456.96878573716094, -211.01015506079892, 182.41135391146474, -53.596053863687473);
double3x4 b0 = double3x4(-81.346509732933043, 297.66615047010885, 171.06540616371922, -431.03805538222105, -6.859075311040101, 319.72570362674333, 254.079170106947, 396.5724000393285, 178.83927615864172, -447.06336304501787, 288.49268569075161, 474.88929460704765);
bool3x4 r0 = bool3x4(false, true, false, true, false, false, false, false, true, true, false, false);
TestUtils.AreEqual(r0, a0 >= b0);
double3x4 a1 = double3x4(-309.57021608463032, -136.02249127999994, 280.73629082401112, -96.9958942388165, -174.05950673579213, 88.9019382413951, 43.816040774721728, -446.07842585354967, 16.645595796706857, 409.83252043734888, -191.32987245886113, 222.99782548798146);
double3x4 b1 = double3x4(-321.75022831640683, -395.97722048125104, -158.69246037243516, 391.48869318118727, -368.10924141859135, 89.1238043723273, -510.27932214656812, -486.92979525352354, -81.215552606254619, 274.21882046117389, -212.88155494112596, 288.99530591117);
bool3x4 r1 = bool3x4(true, true, true, false, true, false, true, true, true, true, true, false);
TestUtils.AreEqual(r1, a1 >= b1);
double3x4 a2 = double3x4(404.28838915577546, 230.60328136691976, -441.78928228923553, -86.293056289801882, 484.24954413075443, 95.2363665547391, -204.91210255628084, -199.77434620623211, -421.86318107222354, -18.214789637464492, -346.8227681344481, -159.24364073539323);
double3x4 b2 = double3x4(307.73173131967508, 307.24516620638087, -199.39178213821339, -284.42126978767163, -482.39181278757371, 448.3157362641374, -378.3461889598268, -390.8584684761513, 8.9160292190108521, 416.40721984226593, -213.67494664605471, 455.24810788372906);
bool3x4 r2 = bool3x4(true, false, false, true, true, false, true, true, false, false, false, false);
TestUtils.AreEqual(r2, a2 >= b2);
double3x4 a3 = double3x4(112.9177020121914, 48.29104115827522, 390.66016525340274, 154.21916706590878, -32.748053804388292, -288.2656096370265, 122.70425826064513, 321.2779754704228, 230.18381487121053, 116.87426024157287, -93.515688701307283, 229.98230730275736);
double3x4 b3 = double3x4(-236.08035980727539, -248.37309348228064, 184.18512567513858, 415.31133885649558, 86.982202808830039, 485.00455950433604, 107.75893955480262, -486.66772459757874, -138.67679197093321, 14.207853562295327, -382.39416211768713, -117.00821524346628);
bool3x4 r3 = bool3x4(true, true, true, false, false, false, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void double3x4_operator_greater_equal_wide_scalar()
{
double3x4 a0 = double3x4(465.15218732559686, -424.8860745024337, -209.22109685150025, 58.779852656079356, -302.26910533675414, 140.12558252183976, 16.353385694489475, -344.55997316192838, 393.27804846003562, -315.70155086913218, 441.0115565923096, -509.78156757251435);
double b0 = (-5.5998842742293391);
bool3x4 r0 = bool3x4(true, false, false, true, false, true, true, false, true, false, true, false);
TestUtils.AreEqual(r0, a0 >= b0);
double3x4 a1 = double3x4(-36.994287269652943, -164.97393830352183, -466.12009046325466, -123.8137477020797, 215.65121779947128, 104.99569730879534, 314.34603014325069, 190.51609882643265, -83.111429014760745, -23.836435567511444, 143.04935962662535, -264.91997945724052);
double b1 = (494.82028865014217);
bool3x4 r1 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 >= b1);
double3x4 a2 = double3x4(-169.70222457205051, 359.09582035573931, -260.42331016269668, 354.19514219565087, -111.84533768140028, 33.309096113456917, 355.63126938214123, -435.36056753404466, -38.39930893778768, -93.29572896533449, -338.84962169213668, 436.89581676800537);
double b2 = (329.70751610850334);
bool3x4 r2 = bool3x4(false, true, false, true, false, false, true, false, false, false, false, true);
TestUtils.AreEqual(r2, a2 >= b2);
double3x4 a3 = double3x4(511.08413982348713, -453.79924771459741, 170.91899998994495, -182.82575591971437, -207.51692710049309, -319.500592142111, -240.5086177515372, 436.34132286363342, -66.956061632817637, 303.32088174639307, 180.19605907248149, 337.9651765012951);
double b3 = (-277.67452419813469);
bool3x4 r3 = bool3x4(true, false, true, true, true, false, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void double3x4_operator_greater_equal_scalar_wide()
{
double a0 = (374.82703393270594);
double3x4 b0 = double3x4(-1.609757185731894, 338.61524049314448, -116.18140392945213, -332.15732375353451, -355.9793509710484, -468.90144107719021, 38.579884785497484, -332.34754697063357, 2.8901150240051265, 467.77776477661814, 121.40638762405445, -305.02337303060267);
bool3x4 r0 = bool3x4(true, true, true, true, true, true, true, true, true, false, true, true);
TestUtils.AreEqual(r0, a0 >= b0);
double a1 = (-58.428812292604164);
double3x4 b1 = double3x4(-226.51955209789776, -47.020994446715804, 305.3026770582901, -427.40123315686418, 92.263649745035764, -497.17853736187266, -408.62564225151465, -455.23049113491106, 396.42608637196292, -469.29488561548987, -485.7540130493017, -182.34619268325446);
bool3x4 r1 = bool3x4(true, false, false, true, false, true, true, true, false, true, true, true);
TestUtils.AreEqual(r1, a1 >= b1);
double a2 = (-291.54536284671417);
double3x4 b2 = double3x4(278.740809331993, -75.87113932327884, 28.907059921374071, 287.72014988945807, 420.50978990109161, 473.62684152723614, 181.514540518408, -369.20287220981106, 243.74977385427326, -244.12415825767636, -242.9933451353541, -322.11536780098237);
bool3x4 r2 = bool3x4(false, false, false, false, false, false, false, true, false, false, false, true);
TestUtils.AreEqual(r2, a2 >= b2);
double a3 = (192.974957794405);
double3x4 b3 = double3x4(-54.725568558427312, -166.00083907228003, 244.29344117096321, 438.24940105818655, -162.69282610839832, 37.185346382290732, -506.66736459483735, -205.1630781652234, 368.3899807261256, -35.459948317827639, -20.916435966694905, 9.041354422011068);
bool3x4 r3 = bool3x4(true, true, false, false, true, true, true, true, false, true, true, true);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void double3x4_operator_add_wide_wide()
{
double3x4 a0 = double3x4(506.12905263627374, -501.77980803967444, 420.08479638587903, -186.03206476291274, -9.3123953385801883, 328.51179686585056, 424.34407659263536, 87.791079800478656, 462.41368148402012, -46.178705952213477, 401.17006296718966, -454.12414643453627);
double3x4 b0 = double3x4(-28.757987751047096, -337.135153689019, -340.676816860529, 152.31202633320913, 423.66745420157326, 90.374096674087468, 376.18866246574964, 1.7671887882831925, -120.18586045139745, -279.62936628965167, -344.66710273580026, 242.8391956029642);
double3x4 r0 = double3x4(477.37106488522664, -838.91496172869347, 79.407979525350015, -33.720038429703607, 414.35505886299308, 418.885893539938, 800.532739058385, 89.558268588761848, 342.22782103262267, -325.80807224186515, 56.502960231389409, -211.28495083157208);
TestUtils.AreEqual(r0, a0 + b0);
double3x4 a1 = double3x4(69.195687564646732, -177.95734485329939, 299.60415544156183, 340.7048587001417, 219.91602740991675, -321.90838232725321, 286.35534037573041, -333.41949311523672, -118.93216973120911, 68.607509406566351, 23.190902005504313, -205.57787547147734);
double3x4 b1 = double3x4(418.5930504363929, -23.312797318823982, -95.099945827899489, 147.92812568877275, 331.03287926830023, -82.502564230236487, 279.44956291813844, 342.6227215931857, -300.35853185335105, -209.69408736456842, 446.55942150883345, -351.98918955027557);
double3x4 r1 = double3x4(487.78873800103963, -201.27014217212337, 204.50420961366234, 488.63298438891445, 550.948906678217, -404.41094655748969, 565.80490329386885, 9.2032284779489828, -419.29070158456017, -141.08657795800207, 469.75032351433777, -557.56706502175291);
TestUtils.AreEqual(r1, a1 + b1);
double3x4 a2 = double3x4(11.521422629953122, -340.7950796283759, -68.931167873056211, 304.8532370556394, -86.633841316510825, 105.66915874633435, 349.28052799277032, 364.7078708916473, -429.03740449856843, 382.45806926417072, 186.09704479300274, 227.41184841255279);
double3x4 b2 = double3x4(-263.12385642860261, -252.4585670216282, 289.82535542632706, 338.79615537207394, -232.61900364263869, -510.50825405051387, 349.2807325559113, -426.2124495106807, -331.41632882292208, -418.68880267566482, -341.7063559692848, -329.03588143411832);
double3x4 r2 = double3x4(-251.60243379864949, -593.25364665000416, 220.89418755327085, 643.64939242771334, -319.25284495914951, -404.83909530417952, 698.56126054868162, -61.504578619033396, -760.45373332149052, -36.2307334114941, -155.60931117628206, -101.62403302156554);
TestUtils.AreEqual(r2, a2 + b2);
double3x4 a3 = double3x4(-298.76636733616067, 351.30280344155744, 98.725387857633336, -292.35170640254006, 112.17092590787024, 477.1657800512229, -266.30486619952364, -295.14070643817104, -485.82035778733916, -507.86872291372566, -338.21959582819585, 505.34219360041538);
double3x4 b3 = double3x4(123.19857245460082, 189.52859482054066, 267.56994093003209, 134.63626605581317, -337.96815530302382, 50.728011870164437, 81.16342572176984, 442.09067198358969, -148.70453769932715, 6.9743440183691519, -334.91123906472291, 43.787097712879586);
double3x4 r3 = double3x4(-175.56779488155985, 540.83139826209811, 366.29532878766543, -157.71544034672689, -225.79722939515358, 527.89379192138733, -185.1414404777538, 146.94996554541865, -634.52489548666631, -500.89437889535651, -673.13083489291876, 549.129291313295);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void double3x4_operator_add_wide_scalar()
{
double3x4 a0 = double3x4(-194.51420387742769, 338.54838696985894, 246.97140252169754, 100.51093797595752, -45.724677822424439, -478.11131094308166, 30.916145577522116, 60.37435224483454, -242.1187475855084, 82.50134495762245, 6.7993848355483806, -484.69981287638649);
double b0 = (124.121678171736);
double3x4 r0 = double3x4(-70.3925257056917, 462.67006514159493, 371.09308069343354, 224.63261614769351, 78.397000349311554, -353.98963277134567, 155.03782374925811, 184.49603041657053, -117.99706941377241, 206.62302312935844, 130.92106300728437, -360.57813470465049);
TestUtils.AreEqual(r0, a0 + b0);
double3x4 a1 = double3x4(-188.26501068298938, -267.78430688929944, 189.25996669999324, 198.53359684652355, 187.53610023648298, -424.92567582844089, 302.10236730338181, 300.39907970111778, 124.02158909850823, -200.16134295247559, 31.37822701007974, 362.52213518811493);
double b1 = (-213.52673087526426);
double3x4 r1 = double3x4(-401.79174155825365, -481.31103776456371, -24.266764175271021, -14.993134028740712, -25.990630638781283, -638.45240670370515, 88.575636428117548, 86.872348825853521, -89.505141776756034, -413.68807382773986, -182.14850386518452, 148.99540431285067);
TestUtils.AreEqual(r1, a1 + b1);
double3x4 a2 = double3x4(-423.98885961248953, 374.21141474983256, -465.69948957194549, -311.04303779781003, 84.918990413154916, -432.44245716204978, 235.75065886031405, -472.63775394514096, -257.57773721291579, 186.120703068618, -170.29822667422621, -115.27248840931452);
double b2 = (432.41331907380993);
double3x4 r2 = double3x4(8.4244594613203958, 806.62473382364249, -33.286170498135562, 121.3702812759999, 517.33230948696485, -0.029138088239847093, 668.163977934124, -40.224434871331027, 174.83558186089414, 618.534022142428, 262.11509239958372, 317.14083066449541);
TestUtils.AreEqual(r2, a2 + b2);
double3x4 a3 = double3x4(-101.16882686557659, 246.5492557243208, -397.53459066782824, -199.04838213652761, 20.585038433123827, 207.3238519203494, 197.93518671669779, -201.54056439247938, -106.63866453368155, -179.38222631224534, 203.81710610343941, -364.82094853223344);
double b3 = (257.77516973101308);
double3x4 r3 = double3x4(156.60634286543649, 504.32442545533388, -139.75942093681516, 58.726787594485472, 278.36020816413691, 465.09902165136248, 455.71035644771086, 56.2346053385337, 151.13650519733153, 78.392943418767743, 461.59227583445249, -107.04577880122037);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void double3x4_operator_add_scalar_wide()
{
double a0 = (-340.35468284243473);
double3x4 b0 = double3x4(511.36225652665007, -146.21663791789518, -106.21042661844308, -363.45024960276214, 199.08958325120136, -27.108407271610758, 419.84900041103788, 284.95503748811552, -164.92418129971446, -249.19032561461921, 150.92817718858282, 298.17509784278229);
double3x4 r0 = double3x4(171.00757368421534, -486.57132076032991, -446.56510946087781, -703.80493244519687, -141.26509959123337, -367.46309011404549, 79.494317568603151, -55.399645354319205, -505.27886414214919, -589.54500845705388, -189.4265056538519, -42.179584999652434);
TestUtils.AreEqual(r0, a0 + b0);
double a1 = (-457.15341803857751);
double3x4 b1 = double3x4(424.71807094324288, -301.85750283946163, 230.28885208363124, -423.58759351428023, -67.060037882560891, 68.7241366229598, -164.02241833695325, 318.93515339444161, 7.8045504129512437, 187.69836029210046, -3.6569664495331153, -446.0830535581722);
double3x4 r1 = double3x4(-32.435347095334635, -759.01092087803909, -226.86456595494627, -880.7410115528578, -524.21345592113835, -388.42928141561771, -621.17583637553071, -138.2182646441359, -449.34886762562627, -269.45505774647705, -460.81038448811063, -903.23647159674965);
TestUtils.AreEqual(r1, a1 + b1);
double a2 = (-209.28724227160552);
double3x4 b2 = double3x4(-38.212905186327589, -346.25717870623674, 465.60741708502519, -192.18595108398512, 278.69379843338106, 381.97845548297209, 481.24367283342576, -97.228162095522578, -455.51374289743313, 501.83498858932171, 358.70657818331688, 430.69978519468555);
double3x4 r2 = double3x4(-247.50014745793311, -555.54442097784226, 256.32017481341967, -401.47319335559064, 69.406556161775541, 172.69121321136657, 271.95643056182024, -306.5154043671281, -664.80098516903865, 292.54774631771619, 149.41933591171136, 221.41254292308003);
TestUtils.AreEqual(r2, a2 + b2);
double a3 = (256.987155795557);
double3x4 b3 = double3x4(207.65164837970008, -376.96518605619912, -428.08534093763927, -373.493553097124, -468.89328573126966, -467.65843818507085, 297.48495139623287, -506.89978646994558, -233.35846315760097, 434.55879493921941, -387.3151673690021, 171.59027751329836);
double3x4 r3 = double3x4(464.63880417525706, -119.97803026064213, -171.09818514208229, -116.506397301567, -211.90612993571267, -210.67128238951386, 554.47210719178986, -249.91263067438859, 23.628692637956021, 691.5459507347764, -130.32801157344511, 428.57743330885535);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void double3x4_operator_sub_wide_wide()
{
double3x4 a0 = double3x4(160.4922617229131, 11.223957305412682, 359.20010607279846, -498.22830485656311, -355.25362913462038, -94.534852787170053, -410.46404786150163, -401.38464398001537, 317.70681944382693, 447.0604133303558, -489.07414482956477, -230.00838218909149);
double3x4 b0 = double3x4(115.46876078260539, -130.98230630298252, 241.54083716196044, 9.9870860623135513, 419.89512582304656, 59.124466208333388, -402.38163847587145, -75.370143687059226, 320.97960796997859, -73.908757482612884, -31.444742455819949, -389.25194734579509);
double3x4 r0 = double3x4(45.023500940307713, 142.2062636083952, 117.65926891083802, -508.21539091887666, -775.14875495766694, -153.65931899550344, -8.0824093856301715, -326.01450029295614, -3.2727885261516576, 520.96917081296874, -457.62940237374482, 159.2435651567036);
TestUtils.AreEqual(r0, a0 - b0);
double3x4 a1 = double3x4(24.875419389864192, 366.61447136784648, -107.3741567634857, -219.0081404275299, 473.90756891384137, 259.63620793988753, -360.119631219711, 7.8096120393879573, 437.42847439154446, -59.1991718091067, 418.74433322378638, 183.14215072576985);
double3x4 b1 = double3x4(-375.02884000122026, 259.18275821357167, 276.648654351313, -453.06919905779381, -272.57653225240136, -191.14805301984217, 87.136884968325944, 430.02477594373033, 343.65711538105143, 121.02942067060133, -354.1881703595576, 249.05200373802893);
double3x4 r1 = double3x4(399.90425939108445, 107.4317131542748, -384.02281111479869, 234.06105863026391, 746.48410116624268, 450.78426095972969, -447.25651618803693, -422.21516390434238, 93.771359010493029, -180.22859247970803, 772.932503583344, -65.909853012259077);
TestUtils.AreEqual(r1, a1 - b1);
double3x4 a2 = double3x4(271.23036516421962, 496.20853709439211, 165.35493691514944, -227.40367113212295, -166.52285702830312, 356.14227430715334, 386.92636579411396, -394.63875717420075, 126.90326625057651, 97.2168972944919, -150.01784641575898, -227.25051246734824);
double3x4 b2 = double3x4(-2.2254426489702723, 22.447240601502017, 478.1129555544411, -320.0629958212669, -111.52409534879217, 222.22894607401872, -245.41106307013473, -119.90228348593337, -153.46565372937624, 374.11248439089979, 301.7634090398268, -281.43006552449896);
double3x4 r2 = double3x4(273.45580781318989, 473.7612964928901, -312.75801863929166, 92.659324689143943, -54.998761679510949, 133.91332823313462, 632.33742886424875, -274.73647368826738, 280.36891997995275, -276.89558709640789, -451.78125545558578, 54.179553057150713);
TestUtils.AreEqual(r2, a2 - b2);
double3x4 a3 = double3x4(-198.83000406940931, 0.66276812584271738, -484.2455706467133, -295.99628056958147, -46.170990726990169, 499.95239304935205, 292.44011725692087, -106.42413597294325, 466.82713887972159, 487.37480400846096, 242.9946106611726, -468.90158985038363);
double3x4 b3 = double3x4(-494.96436261337453, -320.73126021061614, 160.96219714030724, -132.93641025057826, -394.43753237018245, 406.85128588548457, 270.54461897096814, 507.79461335940039, 67.699203761154422, 263.40446412908125, 297.58066596536923, 170.83953746167924);
double3x4 r3 = double3x4(296.13435854396522, 321.39402833645886, -645.20776778702054, -163.05987031900321, 348.26654164319228, 93.101107163867482, 21.895498285952726, -614.21874933234358, 399.12793511856717, 223.97033987937971, -54.586055304196634, -639.74112731206287);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void double3x4_operator_sub_wide_scalar()
{
double3x4 a0 = double3x4(207.38960108877609, 248.45773684627272, -384.82393211164697, -205.34476122881506, -374.81156152058929, 191.64204820973896, 18.856238135535364, -44.96160151667965, 480.85798738936796, 16.338193185784917, -366.86545269883493, -35.523088233323335);
double b0 = (-36.112476604111691);
double3x4 r0 = double3x4(243.50207769288778, 284.57021345038441, -348.71145550753528, -169.23228462470337, -338.6990849164776, 227.75452481385065, 54.968714739647055, -8.8491249125679587, 516.9704639934796, 52.450669789896608, -330.75297609472324, 0.589388370788356);
TestUtils.AreEqual(r0, a0 - b0);
double3x4 a1 = double3x4(349.39776460705218, 490.2222661870635, 195.02405104181923, -384.84940952102158, 189.05188545447402, 55.602777745389744, -54.931482579061537, 53.088051582261983, 316.80250730961677, -273.80670917863335, 256.88723695319482, 297.17363156805447);
double b1 = (439.07729336203886);
double3x4 r1 = double3x4(-89.679528754986677, 51.144972825024638, -244.05324232021962, -823.92670288306044, -250.02540790756484, -383.47451561664911, -494.0087759411004, -385.98924177977688, -122.27478605242209, -712.88400254067221, -182.19005640884404, -141.90366179398438);
TestUtils.AreEqual(r1, a1 - b1);
double3x4 a2 = double3x4(101.82901363346218, -19.732211837420323, 336.58969966349639, -51.876563334780087, 317.34576311583896, -467.05592773251976, -50.167055391784345, 477.804535373023, -60.821922092149919, 0.41113877315592617, 46.660927078994405, -19.241408595462076);
double b2 = (136.60794765157993);
double3x4 r2 = double3x4(-34.778934018117752, -156.34015948900026, 199.98175201191646, -188.48451098636002, 180.73781546425903, -603.6638753840997, -186.77500304336428, 341.19658772144305, -197.42986974372985, -136.196808878424, -89.947020572585529, -155.849356247042);
TestUtils.AreEqual(r2, a2 - b2);
double3x4 a3 = double3x4(396.80972809195976, -334.27423373529416, -198.07713684722648, -239.20061432532992, -339.68122665010446, -14.514425522887336, 219.99709211103482, -180.26066621591366, -438.89060398512083, 186.35550102328671, -365.06679241967703, -478.80124615076988);
double b3 = (69.590537342052244);
double3x4 r3 = double3x4(327.21919074990751, -403.8647710773464, -267.66767418927873, -308.79115166738217, -409.27176399215671, -84.10496286493958, 150.40655476898257, -249.8512035579659, -508.48114132717308, 116.76496368123446, -434.65732976172927, -548.39178349282213);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void double3x4_operator_sub_scalar_wide()
{
double a0 = (-86.008225719448262);
double3x4 b0 = double3x4(466.42511413359318, 298.48694219183506, -300.95010652251085, 315.38003006362362, -381.09218543632522, -125.00837546447684, 58.466194418476107, 214.74609361158036, -257.54942739082009, 480.22459505508868, -443.35507723472784, 260.79503858312728);
double3x4 r0 = double3x4(-552.43333985304139, -384.49516791128332, 214.94188080306259, -401.38825578307188, 295.08395971687696, 39.00014974502858, -144.47442013792437, -300.75431933102863, 171.54120167137182, -566.232820774537, 357.34685151527958, -346.80326430257554);
TestUtils.AreEqual(r0, a0 - b0);
double a1 = (29.681931747906788);
double3x4 b1 = double3x4(139.85773164586055, -247.78996216868512, -248.4662297929014, 91.445112509394562, 86.384162704639266, 373.81828206303453, 260.41195428576873, 114.35393171867076, -464.40545318294573, -109.74146156652898, -311.67535057276268, 107.86401586787031);
double3x4 r1 = double3x4(-110.17579989795377, 277.47189391659191, 278.14816154080819, -61.763180761487774, -56.702230956732478, -344.13635031512774, -230.73002253786194, -84.671999970763977, 494.08738493085252, 139.42339331443577, 341.35728232066947, -78.18208411996352);
TestUtils.AreEqual(r1, a1 - b1);
double a2 = (-258.7951592219971);
double3x4 b2 = double3x4(14.097560173877355, -461.97019527012958, 30.310863747406188, 63.701105862716759, -462.67674634544028, 39.759483117498235, 47.998150132595583, -177.61928113625351, 202.47706017386031, -289.30880250097664, -459.92539832551284, 248.38668715599306);
double3x4 r2 = double3x4(-272.89271939587445, 203.17503604813248, -289.10602296940328, -322.49626508471385, 203.88158712344318, -298.55464233949533, -306.79330935459268, -81.175878085743591, -461.27221939585741, 30.513643278979544, 201.13023910351575, -507.18184637799015);
TestUtils.AreEqual(r2, a2 - b2);
double a3 = (85.3297222057962);
double3x4 b3 = double3x4(-73.374776159122, -510.65201044019869, 426.96324535224733, 239.5901807470201, 477.85233257610923, 256.01360785961788, 338.620331683485, -483.83120440125055, 330.39224139339865, -263.41821706640451, 123.92803603221103, -269.11598194256237);
double3x4 r3 = double3x4(158.70449836491821, 595.981732645995, -341.63352314645113, -154.2604585412239, -392.52261037031303, -170.68388565382168, -253.2906094776888, 569.1609266070468, -245.06251918760245, 348.74793927220071, -38.598313826414824, 354.44570414835857);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void double3x4_operator_mul_wide_wide()
{
double3x4 a0 = double3x4(-482.71381710596097, -407.29348559272171, 137.70058995937029, 208.54113278563182, 194.296573967811, -484.24241684574747, 183.98730739578014, -241.33547770294149, 45.868758938214114, 363.32610266438041, -328.11893692990714, -471.02307413100408);
double3x4 b0 = double3x4(-236.36788355389979, 260.72759139757954, -416.38629718142852, -364.49561541364324, -253.14750897751537, -369.20287220981106, 193.54791531038836, 169.08491976982214, 201.96966442930034, 249.45608317547294, -308.19319810913555, -385.57964843585137);
double3x4 r0 = double3x4(114098.04331156026, -106192.64949051509, -57336.638772880389, -76012.328533757158, -49185.69370281692, 178783.69114527057, 35610.359790024842, -40806.189885013562, 9264.0978505395742, 90633.9064860661, 101124.02453259782, 181616.91132860651);
TestUtils.AreEqual(r0, a0 * b0);
double3x4 a1 = double3x4(-262.68257415605831, -379.26274674910246, -374.09058182970182, 481.44738720424812, 104.62807397946165, 412.93539948618752, 477.87724731763694, 20.377821216535722, 291.99596299417124, -138.48832399141429, -393.46498483860165, 9.36312318284206);
double3x4 b1 = double3x4(-183.27959522198864, 22.275629292370581, -265.52144229855458, -95.677454277722859, 133.25437146669924, 148.31146080247663, 249.284127113076, 500.00547503866505, -19.331578978957396, -36.691062705913112, 30.5238278054278, -401.36701054189678);
double3x4 r1 = double3x4(48144.355863192381, -8448.3163509892329, 99329.070837727879, -46063.660376363579, 13942.148235904471, 61243.052314850727, 119127.21246477668, 10189.022177626932, -5644.7430201585421, 5081.2837796057929, -12010.057444678736, -3758.048761232847);
TestUtils.AreEqual(r1, a1 * b1);
double3x4 a2 = double3x4(-131.94228917543882, 364.44964258952518, 390.61597866128011, 418.79794974755396, -277.34480942289565, 11.410165553637853, 474.87644956767394, -502.40503358394142, -222.59489618176354, 38.169053810727291, 292.61251582420084, 203.20767245218519);
double3x4 b2 = double3x4(3.4372422711165882, 257.24176681099539, -290.97193516929258, 337.47938100317469, 490.28616284312966, -191.01981481864107, -325.73449650673871, -52.181983733634468, 123.43503743197539, -461.2670640709191, 122.35306149458188, 308.58463182513822);
double3x4 r2 = double3x4(-453.51761370170692, 93751.669973365249, -113658.28721911977, 141335.67284620318, -135978.32239641057, -2179.56771110594, -154683.64120283397, 26216.491290173308, -27476.00934236266, -17606.127389639103, 35802.037142722758, 62706.764787700849);
TestUtils.AreEqual(r2, a2 * b2);
double3x4 a3 = double3x4(-330.40815678723538, 469.4601201813017, 342.29512588227874, -504.11466359724972, 319.35728159516918, -357.7820815321906, -117.9710848880797, 25.706567060997031, 226.45642171914528, -86.343729774627718, -274.12603844056184, -486.87097452900883);
double3x4 b3 = double3x4(375.32062762571525, 203.21264204905026, 77.667988574909032, 218.793598038514, -489.89573620720569, 134.47217589918159, -287.79437960674727, -116.39999085124583, -436.54398151698706, 499.59108447450728, -300.60236396482321, 105.73045950091);
double3x4 r3 = double3x4(-124008.99677804091, 95400.23135870698, 26585.373926271874, -110297.06107241736, -156451.77058019731, -48111.735001372064, 33951.415186899816, -2992.2441707169919, -98858.187977365582, -43136.557595680068, 82402.935179544889, -51477.091854607956);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void double3x4_operator_mul_wide_scalar()
{
double3x4 a0 = double3x4(-96.318821236639678, -277.14229239017811, -239.93690191951436, 509.53140544776409, 255.85810172551226, 215.73149667295229, -455.50827500573746, -389.24327367788334, -338.29248658674419, 53.796284939067618, 243.75734459783757, 135.35469991311186);
double b0 = (-301.20720424373042);
double3x4 r0 = double3x4(29011.922860739887, 83477.255068544036, 72270.723422079071, -153474.5301092997, -77066.303503849529, -64979.880980175592, 137202.37402436248, 117242.87823519246, 101896.13410145289, -16203.828585195659, -73421.468280190238, -40769.81074207752);
TestUtils.AreEqual(r0, a0 * b0);
double3x4 a1 = double3x4(-207.35010275959507, -31.425238862366086, 42.676120539510634, 260.38388049806645, 176.86755927692525, 25.672123205695357, -290.50059689697838, 207.09101805793637, -156.52330858843555, -208.4020064847553, 370.94506400215676, -341.59844247512444);
double b1 = (-383.93960946795517);
double3x4 r1 = double3x4(79609.9174766593, 12065.393936254042, -16385.053053547093, -99971.685390178332, -67906.461636333086, -9856.5449578079042, 111534.68572283375, -79510.444597485344, 60095.497972076177, 80013.784982095211, -142420.50300705369, 131153.17259876104);
TestUtils.AreEqual(r1, a1 * b1);
double3x4 a2 = double3x4(10.270311121954705, -61.006107120311867, 186.27978214355176, -487.65221785365242, -129.37681800191143, -317.71628990663044, -207.62735686433842, 388.87138933170183, -233.33533274072005, 128.4155209662465, 510.38953399583215, 267.57635486665015);
double b2 = (-176.88876565587185);
double3x4 r2 = double3x4(-1816.7026572643401, 10791.294985981862, -32950.800730017589, 86260.198885480888, 22885.305640842493, 56200.442350346995, 36726.946872124034, -68786.980057768713, 41274.398992408111, -22715.262994775076, -90282.1746721984, -47331.251131059282);
TestUtils.AreEqual(r2, a2 * b2);
double3x4 a3 = double3x4(-309.20967569444781, -189.56950983291932, 233.20923887622041, -331.08696261564592, -98.644771860281367, -214.18099389513071, -87.880760949049488, -493.16573475914345, -407.30606551063528, -411.37138362013332, 477.93567512833317, 364.7485498696326);
double b3 = (-36.482969062627717);
double3x4 r3 = double3x4(11280.88703222569, 6916.0585624518963, -8508.1654470401063, 12079.03541414599, 3598.8541599686141, 7813.95857407891, 3206.1510829043546, 17992.150243965898, 14859.734587045124, 15008.049461863682, -17436.512449633072, -13307.11006053213);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void double3x4_operator_mul_scalar_wide()
{
double a0 = (37.432166355397612);
double3x4 b0 = double3x4(96.747546479454058, 492.18539427788244, -274.05458534604617, -452.87096926796761, 420.85330434369541, 102.18292694081686, -114.94887762654054, -351.12003843445336, -464.66496799172131, 444.08484646495663, 447.10525605040846, 130.82935124767448);
double3x4 r0 = double3x4(3621.4702542954869, 18423.565556306661, -10258.456829132712, -16951.941459168724, 15753.450899411988, 3824.9283199300971, -4302.785509682908, -13143.183689392061, -17393.41638139162, 16623.057848787463, 16736.118322851533, 4897.2260400716978);
TestUtils.AreEqual(r0, a0 * b0);
double a1 = (-321.41334191030512);
double3x4 b1 = double3x4(445.30131861441828, 478.24357317306271, 358.57170622356784, -144.89011222910608, -438.89383741789209, -3.536441089369589, -471.80755470311624, -42.560401697904069, 119.91104155402218, 271.9000023677479, 239.6840079946835, 487.44143389511919);
double3x4 r1 = double3x4(-143125.78497292573, -153713.86510067963, -115249.73041179709, 46569.615181316156, 141066.33502832282, 1136.6593490031996, 151645.24289565769, 13679.48094276837, -38541.008597823733, -87392.288426437735, -77037.638012027513, -156670.18025378135);
TestUtils.AreEqual(r1, a1 * b1);
double a2 = (-79.188288010278825);
double3x4 b2 = double3x4(-112.92564468873928, 161.3700478828373, 459.75914332818195, -337.19599811043406, -276.83451689259823, 469.72386405883537, -274.56515110403541, 506.78586625810055, 65.882571966332648, 495.8556585236712, -347.27959148365983, -343.60605232026711);
double3x4 r2 = double3x4(8942.3884753582988, -12778.617827978605, -36407.539457231134, 26701.973814282486, 21922.051454877466, -37196.628632392116, 21742.344263212082, -40131.505136785112, -5217.1280837278719, -39265.960698698946, 27500.476310500027, 27209.575033212248);
TestUtils.AreEqual(r2, a2 * b2);
double a3 = (-183.70378860444936);
double3x4 b3 = double3x4(460.26475808595524, 437.513251746778, -324.55724755141756, -112.28778343661122, 273.13543070160574, -283.09366072485864, 1.8802692898923397, -310.81670322586626, 326.01218357962193, 243.64321982285162, 78.179342067884022, -308.66400184699523);
double3x4 r3 = double3x4(-84552.379821500348, -80372.841910535339, 59622.395994227547, 20627.691231301418, -50176.013421993011, 52005.378005059138, -345.41259214982045, 57098.205944136411, -59889.673254785805, -44758.18254924452, -14361.841328473502, 56702.746545103779);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void double3x4_operator_div_wide_wide()
{
double3x4 a0 = double3x4(-353.13144390337703, -102.79985456485292, 51.319128298814917, -191.87167868012176, 8.0418245829836223, -128.73764210973758, -136.05959779399427, -370.4710053738537, -237.69456326109105, -432.54687496300176, 200.26549181727012, 361.44157068871039);
double3x4 b0 = double3x4(-178.73954805114283, -302.09628381491467, -199.40583739029518, 278.85077561012042, 502.33758782890516, -361.48483078623417, 353.121059820578, -38.894930142394685, -75.764737402910725, -195.21784719974636, -405.03399224068687, -394.2300085473014);
double3x4 r0 = double3x4(1.97567604793504, 0.34028837848212429, -0.25736021056579439, -0.68808013268139567, 0.016008805189634039, 0.35613566917796119, -0.3853058151307277, 9.5249176182488586, 3.1372716570909582, 2.2157137842034547, -0.49444119667433889, -0.9168291678773689);
TestUtils.AreEqual(r0, a0 / b0);
double3x4 a1 = double3x4(-416.22613234828509, -450.01919362042992, -273.49744594911925, -286.90817011841955, -314.25606241554772, 177.76210340194507, 97.626988217992221, -68.107280047660367, -386.45074027890837, 263.69934690357161, -297.0270885420158, -501.77703046322659);
double3x4 b1 = double3x4(-375.82771342612227, -121.24548655433836, 447.623344391409, 338.28628007429018, -405.54420752336466, -431.16893526127978, 296.20513095343722, 437.939790691221, 39.21061684527001, 331.2897075765253, -310.61955156485533, 207.26946959610541);
double3x4 r1 = double3x4(1.1074918572499153, 3.7116366671409717, -0.61099906735420106, -0.84812239519560884, 0.77489964493560781, -0.41227947763496636, 0.32959249525403717, -0.15551745124635385, -9.855767936625206, 0.79597808465769837, 0.95624080018671487, -2.420892143165184);
TestUtils.AreEqual(r1, a1 / b1);
double3x4 a2 = double3x4(-263.40686071263946, -451.08085248017721, -416.34552903489464, -315.27873411554788, -28.181118739853218, -397.87015146662952, -261.38664376986526, 40.348221559239619, 277.24575794732471, 464.77123162931355, -336.64104358136706, 375.47808163961304);
double3x4 b2 = double3x4(-223.2929938879297, -480.091406807346, 448.67593666942605, -460.0974516626901, -220.56984601755153, -84.853158275062754, 441.3738078742166, 72.418480191574645, 44.9760778159723, -242.51539027062961, -451.30207011257392, -21.899694214528267);
double3x4 r2 = double3x4(1.1796467776541293, 0.93957285234474042, -0.92794263076704353, 0.68524338262731188, 0.12776505605218016, 4.6889256635195675, -0.59221149761645042, 0.55715366371267527, 6.1642938070706279, -1.9164607702243661, 0.74593285933165443, -17.145357280400777);
TestUtils.AreEqual(r2, a2 / b2);
double3x4 a3 = double3x4(504.34254264474964, -320.76710692083793, -156.73333914425848, 414.79707999471441, -386.05068296289568, -369.8386258416989, 386.70419687158619, 242.63180910918481, 421.73452659218322, 109.01218347857343, 182.07528242006674, 187.32643446108625);
double3x4 b3 = double3x4(-358.4866656542228, -350.94512502799978, -481.84813688781492, 406.39341921657012, -145.28866321653533, 461.7955479388105, -318.81676331107354, -250.93199908497371, 125.85955506463517, -193.80316576445625, -495.25412177259761, -315.82454815312497);
double3x4 r3 = double3x4(-1.4068655572567703, 0.914009296739044, 0.32527538688138485, 1.0206786340053058, 2.6571287422992764, -0.80087092110880154, -1.2129355836106837, -0.96692255269931449, 3.3508343993080341, -0.56248917838145251, -0.36764011527736257, -0.59313449684811248);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void double3x4_operator_div_wide_scalar()
{
double3x4 a0 = double3x4(171.34242184988341, 0.10338377957384637, 57.888263967767443, -256.13074529177078, 95.6696842162263, -290.38690461329509, -127.44869118903239, -79.7448890580539, 146.46688110496234, -499.84355687529012, 58.686315802245531, -453.20579859856787);
double b0 = (171.79682191265601);
double3x4 r0 = double3x4(0.99735501473360411, 0.00060177934855167557, 0.33695771157628673, -1.4908933846400916, 0.55687691513214455, -1.6902926455818372, -0.74185709473618289, -0.46418139852783397, 0.85255873463962106, -2.909504095072363, 0.34160303519515922, -2.6380336583233435);
TestUtils.AreEqual(r0, a0 / b0);
double3x4 a1 = double3x4(-205.03382143985192, 464.47907159499778, -293.46349753693841, -158.50557930697948, -289.5822156824089, 494.12860535743118, 203.58342680874443, 180.97040160976837, 259.11918723728468, 460.84470603468117, 490.95625924084163, -280.47805536933151);
double b1 = (481.73814247629514);
double3x4 r1 = double3x4(-0.42561259605874163, 0.96417333534650185, -0.60917637957509008, -0.32902850185830795, -0.60111955053809829, 1.0257203276814348, 0.42260184290630909, 0.37566135137134876, 0.53788389249255919, 0.95662905923493058, 1.0191351191690206, -0.582220984054907);
TestUtils.AreEqual(r1, a1 / b1);
double3x4 a2 = double3x4(-320.24387112271222, 264.80085885934568, 226.85298524929817, -192.23568949114332, 460.97652957447644, -437.89221760159927, -413.23271794488312, 249.47184693509337, 313.03501739773662, 216.78560195527302, 383.73890298592812, 82.023314752626789);
double b2 = (192.41448912043802);
double3x4 r2 = double3x4(-1.6643438474233712, 1.3762002023329898, 1.1789807840682105, -0.99907075797611689, 2.3957474911670364, -2.2757756944567169, -2.14761746807034, 1.2965335826604067, 1.6268786141245246, 1.126659447249736, 1.9943347548309338, 0.4262845024175177);
TestUtils.AreEqual(r2, a2 / b2);
double3x4 a3 = double3x4(189.57466062790468, -391.92216343056509, 121.28058701440716, 417.90175147443165, -133.26287013537382, -428.74240299162568, -188.53187641339929, 356.25952570338711, 181.96896823773579, -140.8904808223669, 474.08261678837357, -451.35772511519383);
double b3 = (314.50384273869167);
double3x4 r3 = double3x4(0.60277374984385956, -1.2461601741260666, 0.38562513563681389, 1.3287651681307089, -0.42372413950470061, -1.3632342271501279, -0.59945810127999832, 1.1327668450760029, 0.57859060370504389, -0.44797697730970815, 1.5073984872810262, -1.4351421629217054);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void double3x4_operator_div_scalar_wide()
{
double a0 = (-264.44250095283729);
double3x4 b0 = double3x4(105.58908157497137, -142.34910137129441, -288.94890679463231, 39.644133824689334, -363.99138396046658, -149.71822006521666, -395.72912306139671, 258.71868693955184, -9.6662514254759344, 117.72553282497711, -331.38655797177296, -509.98602676297821);
double3x4 r0 = double3x4(-2.5044492954044237, 1.85770404172122, 0.915187753732487, -6.670406827961755, 0.72650758398599513, 1.7662679988958405, 0.66824119212426392, -1.0221236976771717, 27.357295947825712, -2.2462629355518375, 0.79798801306648692, 0.51852891466718543);
TestUtils.AreEqual(r0, a0 / b0);
double a1 = (427.8964666928614);
double3x4 b1 = double3x4(467.61712882836218, -407.12461943511136, 252.69070994699871, 444.59937664708093, -88.313306134340053, 199.95503411067421, -218.34692607556792, -13.417186028052697, -296.13107575854804, 0.561349630617201, -289.29929865957206, 196.21833929615946);
double3x4 r1 = double3x4(0.915057298617305, -1.0510208576591884, 1.6933604990172044, 0.96243154886949345, -4.8452094641543111, 2.1399634602648847, -1.9597091398702369, -31.891669817964367, -1.4449563106364052, 762.26373610042538, -1.4790788248552968, 2.1807159729704049);
TestUtils.AreEqual(r1, a1 / b1);
double a2 = (334.73346845001606);
double3x4 b2 = double3x4(-282.39273203648293, -479.50358436978587, -473.43943927876626, 105.0507777226394, -287.63127841038227, 77.299297130340392, -210.89436421678141, -184.0682357214709, -315.14843645465953, 87.86691264429453, 101.5905373569534, 345.93639890567226);
double3x4 r2 = double3x4(-1.1853473212149495, -0.698083349866838, -0.70702489205366215, 3.1863968616567222, -1.1637589287922645, 4.3303559136585132, -1.5872091684059353, -1.818529238018717, -1.0621454201571907, 3.8095508124325947, 3.2949276296657475, 0.96761563544311813);
TestUtils.AreEqual(r2, a2 / b2);
double a3 = (-146.31811744827689);
double3x4 b3 = double3x4(479.99991177022457, -172.67688401633728, -178.0136545533378, 361.76045315422141, 349.37693111476347, -398.68612951724145, -243.7800091448147, 296.62295045360133, 477.81065224009126, 486.60035942802222, 256.91724622292315, -89.8642156542578);
double3x4 r3 = double3x4(-0.3048294673819007, 0.84735208352748281, 0.82194884328064821, -0.40446133946515234, -0.41879730576777624, 0.36700077232546224, 0.60020556222622135, -0.4932798262053712, -0.30622615205898479, -0.30069463495725229, -0.56951457949739548, 1.6282133703944957);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void double3x4_operator_mod_wide_wide()
{
double3x4 a0 = double3x4(-388.81249422059045, 181.68118842955732, -167.07872470052854, 432.82015319951813, -258.43895995730486, -170.11079629236406, 283.318293464984, 122.71651297561664, 335.27101413126616, -503.60851668920765, 191.02251848532933, 289.74269379756538);
double3x4 b0 = double3x4(436.94417187056695, 58.940049437312382, -201.11623368091705, 279.2893537391393, -397.07975954426445, 377.89994758083481, 174.69386657266591, -228.17652736798698, -317.06019106370405, -417.48011107811709, -249.9759434433542, -397.57157177364991);
double3x4 r0 = double3x4(-388.81249422059045, 4.8610401176201776, -167.07872470052854, 153.53079946037883, -258.43895995730486, -170.11079629236406, 108.62442689231807, 122.71651297561664, 18.210823067562103, -86.128405611090557, 191.02251848532933, 289.74269379756538);
TestUtils.AreEqual(r0, a0 % b0);
double3x4 a1 = double3x4(-124.03371745163281, 259.27395761165485, -274.35845030208975, -140.03080398404541, 324.5775689205982, -200.51308903494527, 211.42317328761476, -51.272212767634642, -230.63392483006879, 99.989400671790122, 399.18986649028489, 24.903281461868119);
double3x4 b1 = double3x4(-358.74544947163452, -198.1592100589346, 208.73709378425826, -12.119406944196385, 25.27141596063575, -194.12068495253135, -493.8717965995296, -312.3016990685378, -216.98060546488529, 413.57096047586344, -436.39440151508637, 3.4912750737235);
double3x4 r1 = double3x4(-124.03371745163281, 61.114747552720246, -65.621356517831487, -6.7173275978851734, 21.3205773929692, -6.3924040824139183, 211.42317328761476, -51.272212767634642, -13.653319365183506, 99.989400671790122, 399.18986649028489, 0.46435594580361794);
TestUtils.AreEqual(r1, a1 % b1);
double3x4 a2 = double3x4(50.92402961241271, -364.86367886367429, -252.62662398658068, -281.28977955565313, -364.79852192699843, -329.02623311105475, 51.6098087074281, 41.647804041229051, 254.95104443978096, -458.67762133976333, -136.79304439238882, 72.400299344398263);
double3x4 b2 = double3x4(-308.23343076754054, -441.37506195594324, 84.6008532441225, 373.16344922276369, 67.252760203207231, -320.33327522889397, 118.97936325845274, 44.823946258436877, 354.00861065183233, -253.95312249565177, -195.16280207185207, 317.14281073079576);
double3x4 r2 = double3x4(50.92402961241271, -364.86367886367429, -83.424917498335674, -281.28977955565313, -28.534720910962278, -8.6929578821607834, 51.6098087074281, 41.647804041229051, 254.95104443978096, -204.72449884411157, -136.79304439238882, 72.400299344398263);
TestUtils.AreEqual(r2, a2 % b2);
double3x4 a3 = double3x4(246.21202170393053, 325.1538137519517, 162.03465588485574, -284.76143826393479, 128.35126906649737, 262.91676032865269, 61.600772647932558, -271.4927829576157, -205.43880448371118, -341.32216302553292, 347.1544365115252, 148.0884922240341);
double3x4 b3 = double3x4(320.6931823793301, -103.99687604978533, 388.17173332170194, -199.63931593654644, -256.21731746206865, -478.12501953454921, -210.65574202810217, -272.02328432352431, -61.676538257709012, -367.82958691559247, -242.93893753874067, 162.38671191147841);
double3x4 r3 = double3x4(246.21202170393053, 13.163185602595718, 162.03465588485574, -85.122122327388354, 128.35126906649737, 262.91676032865269, 61.600772647932558, -271.4927829576157, -20.409189710584144, -341.32216302553292, 104.21549897278453, 148.0884922240341);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void double3x4_operator_mod_wide_scalar()
{
double3x4 a0 = double3x4(-244.49962889612635, -211.81931958525411, -145.92677576184587, -304.91822090042672, 155.47946436492703, -133.90778428591221, 281.30965412841624, -226.53575311719243, 335.16613046041039, 101.70649032560482, 319.47152033423606, -285.40231646476423);
double b0 = (39.634963769295723);
double3x4 r0 = double3x4(-6.6898462803520147, -13.644500738775491, -27.021884453958705, -27.473474515356656, 36.574573057039856, -15.002892978025045, 3.86490774334618, -28.360934270713813, 18.0864203060446, 22.436562787013372, 2.3918101798702764, -7.9575700796941646);
TestUtils.AreEqual(r0, a0 % b0);
double3x4 a1 = double3x4(-355.84685985923136, -330.87193957477433, -284.34358109363518, -102.68343811048356, -172.14173921017988, 206.41684517935698, -416.71365447375626, -339.256669917729, 435.29751440291182, 132.55290490600885, 226.94410215455298, -306.11827268550093);
double b1 = (259.37800061860025);
double3x4 r1 = double3x4(-96.4688592406311, -71.493938956174077, -24.965580475034926, -102.68343811048356, -172.14173921017988, 206.41684517935698, -157.335653855156, -79.878669299128774, 175.91951378431156, 132.55290490600885, 226.94410215455298, -46.740272066900673);
TestUtils.AreEqual(r1, a1 % b1);
double3x4 a2 = double3x4(115.43844633709568, -218.3474491659307, -140.04050237501065, -462.32346961569203, -211.60869822819188, 351.33104555277669, 321.04701176334504, 346.08518497370426, -94.407745643708722, 465.40920446133669, -367.19701617173712, -467.51058957889239);
double b2 = (281.88292015804109);
double3x4 r2 = double3x4(115.43844633709568, -218.3474491659307, -140.04050237501065, -180.44054945765095, -211.60869822819188, 69.4481253947356, 39.164091605303952, 64.20226481566317, -94.407745643708722, 183.5262843032956, -85.31409601369603, -185.6276694208513);
TestUtils.AreEqual(r2, a2 % b2);
double3x4 a3 = double3x4(415.21510215067076, -3.729830982037754, 128.24987822782714, 134.94156104649494, 247.61696230974837, -285.28786553316183, 433.76666017704019, -141.83102209019989, -229.7818902608854, 471.21804283150379, 377.68146651689028, 433.40759559786306);
double b3 = (506.18618011203887);
double3x4 r3 = double3x4(415.21510215067076, -3.729830982037754, 128.24987822782714, 134.94156104649494, 247.61696230974837, -285.28786553316183, 433.76666017704019, -141.83102209019989, -229.7818902608854, 471.21804283150379, 377.68146651689028, 433.40759559786306);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void double3x4_operator_mod_scalar_wide()
{
double a0 = (-66.945025236785909);
double3x4 b0 = double3x4(-249.77609479137516, -396.07375664081133, 386.49204582091977, 168.93948109864232, -199.4182442163202, 261.7517141130528, 16.127438791155555, 257.66814744550186, -75.788451945310669, 170.95630439136005, -242.85828005655588, 425.94531913564788);
double3x4 r0 = double3x4(-66.945025236785909, -66.945025236785909, -66.945025236785909, -66.945025236785909, -66.945025236785909, -66.945025236785909, -2.4352700721636893, -66.945025236785909, -66.945025236785909, -66.945025236785909, -66.945025236785909, -66.945025236785909);
TestUtils.AreEqual(r0, a0 % b0);
double a1 = (303.27240409668184);
double3x4 b1 = double3x4(3.033060790520608, -505.74352788633831, 461.95706126743789, 205.97275672013529, 270.04063642678807, -47.480711720642034, -150.254496405951, 149.49949009227544, -220.29804263836616, 31.118842377848409, 400.63568348467152, 6.2314283876826266);
double3x4 r1 = double3x4(2.999385835141652, 303.27240409668184, 303.27240409668184, 97.299647376546545, 33.23176766989377, 18.388133772829633, 2.7634112847798633, 4.2734239121309656, 82.974361458315684, 23.202822696046155, 303.27240409668184, 4.1638414879157608);
TestUtils.AreEqual(r1, a1 % b1);
double a2 = (-39.050740021770252);
double3x4 b2 = double3x4(-71.941097054603063, -495.30713843521994, -86.71961859926563, -436.97006365143233, -472.2947320753218, -130.00875359867177, -251.51684605866524, 281.97637022751212, 388.86081928241106, 50.615297579493017, 293.870868581287, 123.74424820940203);
double3x4 r2 = double3x4(-39.050740021770252, -39.050740021770252, -39.050740021770252, -39.050740021770252, -39.050740021770252, -39.050740021770252, -39.050740021770252, -39.050740021770252, -39.050740021770252, -39.050740021770252, -39.050740021770252, -39.050740021770252);
TestUtils.AreEqual(r2, a2 % b2);
double a3 = (422.90433211946129);
double3x4 b3 = double3x4(-53.8761976016109, -178.85765966161046, -362.27595799149753, 361.08526747351755, 465.27609822958527, -269.88963306596952, -159.40897734435691, -29.095214618879936, 484.49945067078784, -354.95061008769585, -328.69059411095952, -171.73922236810404);
double3x4 r3 = double3x4(45.770948908185005, 65.189012796240377, 60.628374127963752, 61.81906464594374, 422.90433211946129, 153.01469905349177, 104.08637743074746, 15.571327455142182, 422.90433211946129, 67.953722031765437, 94.213738008501764, 79.425887383253212);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void double3x4_operator_plus()
{
double3x4 a0 = double3x4(-418.82956357432045, -405.79894823851015, -34.041791216489742, 236.99924456188421, -459.83910129025537, 210.8614223985287, 293.74197902052754, -373.015422279488, -386.059833944803, 4.9544198536101476, -418.64524932328857, 504.47483062393724);
double3x4 r0 = double3x4(-418.82956357432045, -405.79894823851015, -34.041791216489742, 236.99924456188421, -459.83910129025537, 210.8614223985287, 293.74197902052754, -373.015422279488, -386.059833944803, 4.9544198536101476, -418.64524932328857, 504.47483062393724);
TestUtils.AreEqual(r0, +a0);
double3x4 a1 = double3x4(-170.74650843941907, -478.74939916969714, 116.40075665172219, 421.40964742256779, -258.5960806620289, 447.86609122150867, 124.16434031546316, 222.17254386757156, -65.949277193261878, 239.04183947250328, 498.4495329793773, -139.382530515726);
double3x4 r1 = double3x4(-170.74650843941907, -478.74939916969714, 116.40075665172219, 421.40964742256779, -258.5960806620289, 447.86609122150867, 124.16434031546316, 222.17254386757156, -65.949277193261878, 239.04183947250328, 498.4495329793773, -139.382530515726);
TestUtils.AreEqual(r1, +a1);
double3x4 a2 = double3x4(279.07295549990283, 37.999210613779383, 136.81214934997831, -236.03003965878395, -440.3083276414817, 342.2791270419392, 102.4722116470673, -161.454825714908, -355.27087919566355, 141.31435949230308, 239.32088600812517, -494.60408543730347);
double3x4 r2 = double3x4(279.07295549990283, 37.999210613779383, 136.81214934997831, -236.03003965878395, -440.3083276414817, 342.2791270419392, 102.4722116470673, -161.454825714908, -355.27087919566355, 141.31435949230308, 239.32088600812517, -494.60408543730347);
TestUtils.AreEqual(r2, +a2);
double3x4 a3 = double3x4(361.59198134094106, 141.71249515456725, 25.25630880578251, -268.22689569565784, 106.77467613423926, 176.74438079481217, 104.11991005023935, 144.61861736356218, 289.45191372998613, -393.01668781461973, -198.95573506083139, -419.00921388110578);
double3x4 r3 = double3x4(361.59198134094106, 141.71249515456725, 25.25630880578251, -268.22689569565784, 106.77467613423926, 176.74438079481217, 104.11991005023935, 144.61861736356218, 289.45191372998613, -393.01668781461973, -198.95573506083139, -419.00921388110578);
TestUtils.AreEqual(r3, +a3);
}
[TestCompiler]
public static void double3x4_operator_neg()
{
double3x4 a0 = double3x4(148.46174890755753, -467.12267873581624, 132.04719954917539, 183.52262290917463, 473.7010145009034, -407.99109024926605, -54.958759571872065, -382.98981803608581, -299.09338893512887, -383.01406377508027, 407.70980305583669, 168.73550351370852);
double3x4 r0 = double3x4(-148.46174890755753, 467.12267873581624, -132.04719954917539, -183.52262290917463, -473.7010145009034, 407.99109024926605, 54.958759571872065, 382.98981803608581, 299.09338893512887, 383.01406377508027, -407.70980305583669, -168.73550351370852);
TestUtils.AreEqual(r0, -a0);
double3x4 a1 = double3x4(466.44152829909763, -280.55831564616335, -78.85761622286293, 318.69633522569029, -39.91539694737429, 140.34000284054321, 132.19563180403577, -505.89525127126615, 410.38058466947666, -237.05693375182193, -137.617827241131, -245.34998547534923);
double3x4 r1 = double3x4(-466.44152829909763, 280.55831564616335, 78.85761622286293, -318.69633522569029, 39.91539694737429, -140.34000284054321, -132.19563180403577, 505.89525127126615, -410.38058466947666, 237.05693375182193, 137.617827241131, 245.34998547534923);
TestUtils.AreEqual(r1, -a1);
double3x4 a2 = double3x4(422.52133222227974, 60.222219256787639, -466.56631515294606, 426.89450116962871, 146.64955885086658, -391.37208408460583, 423.23773809114368, 254.29757296959758, -114.84889536483627, 108.05966263080927, -507.97628688624889, -306.24571456864743);
double3x4 r2 = double3x4(-422.52133222227974, -60.222219256787639, 466.56631515294606, -426.89450116962871, -146.64955885086658, 391.37208408460583, -423.23773809114368, -254.29757296959758, 114.84889536483627, -108.05966263080927, 507.97628688624889, 306.24571456864743);
TestUtils.AreEqual(r2, -a2);
double3x4 a3 = double3x4(219.66627298093692, -98.760666177962264, 492.11106156376707, 84.0458290968304, 300.97664298721429, -483.86463307024195, -389.157431545275, -324.68608418325243, 378.8543824529529, 190.2192524365239, -69.102404865018286, 507.49539184360549);
double3x4 r3 = double3x4(-219.66627298093692, 98.760666177962264, -492.11106156376707, -84.0458290968304, -300.97664298721429, 483.86463307024195, 389.157431545275, 324.68608418325243, -378.8543824529529, -190.2192524365239, 69.102404865018286, -507.49539184360549);
TestUtils.AreEqual(r3, -a3);
}
[TestCompiler]
public static void double3x4_operator_prefix_inc()
{
double3x4 a0 = double3x4(-139.84208137348389, -56.743654039103376, -381.955324589254, 509.79634380237962, -222.89634452708827, 210.31986556310198, -392.73151058365193, -300.19410218866267, 362.21273939787068, 401.614830919362, 130.90919429199266, -450.23016402229212);
double3x4 r0 = double3x4(-138.84208137348389, -55.743654039103376, -380.955324589254, 510.79634380237962, -221.89634452708827, 211.31986556310198, -391.73151058365193, -299.19410218866267, 363.21273939787068, 402.614830919362, 131.90919429199266, -449.23016402229212);
TestUtils.AreEqual(r0, ++a0);
double3x4 a1 = double3x4(243.54693114177644, -41.497298975241051, 299.18547000511808, 154.35656530892311, -281.23327435237974, 200.70599922943211, 92.957765384091886, 448.60215565590283, -295.58701171334229, 18.499063262016989, -215.71113381893895, 471.94723651928234);
double3x4 r1 = double3x4(244.54693114177644, -40.497298975241051, 300.18547000511808, 155.35656530892311, -280.23327435237974, 201.70599922943211, 93.957765384091886, 449.60215565590283, -294.58701171334229, 19.499063262016989, -214.71113381893895, 472.94723651928234);
TestUtils.AreEqual(r1, ++a1);
double3x4 a2 = double3x4(257.07660090973445, 4.8254301570474354, 243.00478588929627, -472.61902330472088, -125.7202084649914, -477.45955227197129, 9.8914859340952717, -76.922842299995409, -29.767583622488928, -387.17744344620849, 461.70929906410595, 13.699699169816313);
double3x4 r2 = double3x4(258.07660090973445, 5.8254301570474354, 244.00478588929627, -471.61902330472088, -124.7202084649914, -476.45955227197129, 10.891485934095272, -75.922842299995409, -28.767583622488928, -386.17744344620849, 462.70929906410595, 14.699699169816313);
TestUtils.AreEqual(r2, ++a2);
double3x4 a3 = double3x4(-46.303758404359087, -222.22908626414329, 340.81780807153223, 399.74125046270956, -311.37233772472121, 300.17795457512977, -272.77828777617697, 351.01916782512296, 436.57524010007046, -137.06332475369021, 312.57995453131377, -315.99901380948677);
double3x4 r3 = double3x4(-45.303758404359087, -221.22908626414329, 341.81780807153223, 400.74125046270956, -310.37233772472121, 301.17795457512977, -271.77828777617697, 352.01916782512296, 437.57524010007046, -136.06332475369021, 313.57995453131377, -314.99901380948677);
TestUtils.AreEqual(r3, ++a3);
}
[TestCompiler]
public static void double3x4_operator_postfix_inc()
{
double3x4 a0 = double3x4(-396.6697396695007, 511.20749378167443, 249.11127030528678, -128.81731301584153, -259.49027669592306, 278.00817764830219, -81.393423356764686, 66.719732554033271, 167.85212691493894, 147.94395048354932, -326.10758486674524, 41.033564825092185);
double3x4 r0 = double3x4(-396.6697396695007, 511.20749378167443, 249.11127030528678, -128.81731301584153, -259.49027669592306, 278.00817764830219, -81.393423356764686, 66.719732554033271, 167.85212691493894, 147.94395048354932, -326.10758486674524, 41.033564825092185);
TestUtils.AreEqual(r0, a0++);
double3x4 a1 = double3x4(128.5304239394751, -60.132380275117384, -446.22976490772783, -296.93783797739906, 267.29380071689081, 446.22930714405572, 49.200223230384381, -326.64314738225335, -510.86424064583343, 471.64748762159024, -171.01308186865089, 310.72735967800361);
double3x4 r1 = double3x4(128.5304239394751, -60.132380275117384, -446.22976490772783, -296.93783797739906, 267.29380071689081, 446.22930714405572, 49.200223230384381, -326.64314738225335, -510.86424064583343, 471.64748762159024, -171.01308186865089, 310.72735967800361);
TestUtils.AreEqual(r1, a1++);
double3x4 a2 = double3x4(-298.91717185588425, 184.60345109952777, 290.69102896875279, 117.1923401901463, 164.44293578175962, 412.36778874526158, -229.38657079887884, 239.59693848322934, 36.624316947825378, -80.708194531830145, -391.03352016538076, -478.22714136458336);
double3x4 r2 = double3x4(-298.91717185588425, 184.60345109952777, 290.69102896875279, 117.1923401901463, 164.44293578175962, 412.36778874526158, -229.38657079887884, 239.59693848322934, 36.624316947825378, -80.708194531830145, -391.03352016538076, -478.22714136458336);
TestUtils.AreEqual(r2, a2++);
double3x4 a3 = double3x4(166.86049159190645, -389.39665216458809, -52.132133269744031, 35.755328910311391, 356.05211298356392, 6.5294592410929226, -285.34983052189921, 418.0164985219094, 47.142905018824536, 31.451607480389839, 148.9468749263076, -219.80038200123255);
double3x4 r3 = double3x4(166.86049159190645, -389.39665216458809, -52.132133269744031, 35.755328910311391, 356.05211298356392, 6.5294592410929226, -285.34983052189921, 418.0164985219094, 47.142905018824536, 31.451607480389839, 148.9468749263076, -219.80038200123255);
TestUtils.AreEqual(r3, a3++);
}
[TestCompiler]
public static void double3x4_operator_prefix_dec()
{
double3x4 a0 = double3x4(123.12869626056806, 256.8437465433235, 156.33078844674435, 461.73742530389563, 325.86799755965728, 392.01561731473339, 187.87412580655609, -236.2252043393558, 125.10963517292851, 469.8447313112415, 45.536655685648611, 376.04684680329956);
double3x4 r0 = double3x4(122.12869626056806, 255.8437465433235, 155.33078844674435, 460.73742530389563, 324.86799755965728, 391.01561731473339, 186.87412580655609, -237.2252043393558, 124.10963517292851, 468.8447313112415, 44.536655685648611, 375.04684680329956);
TestUtils.AreEqual(r0, --a0);
double3x4 a1 = double3x4(-363.07547991493504, 248.79012667797042, 168.0950144120003, 168.26565011230559, -190.284744112885, 166.9455474200405, 183.95795854551625, 485.69469259944492, -460.73930261132273, 89.569894117102876, -267.42982090051743, 201.75623450137505);
double3x4 r1 = double3x4(-364.07547991493504, 247.79012667797042, 167.0950144120003, 167.26565011230559, -191.284744112885, 165.9455474200405, 182.95795854551625, 484.69469259944492, -461.73930261132273, 88.569894117102876, -268.42982090051743, 200.75623450137505);
TestUtils.AreEqual(r1, --a1);
double3x4 a2 = double3x4(-141.21688682456357, 197.36173281323249, -213.54412732531506, 180.74062570405226, -128.31251412644633, 478.04553888647149, -454.56614062495817, -386.89835256473083, 387.85698408068015, -315.11044969927076, -108.28654556548526, -286.31702937107394);
double3x4 r2 = double3x4(-142.21688682456357, 196.36173281323249, -214.54412732531506, 179.74062570405226, -129.31251412644633, 477.04553888647149, -455.56614062495817, -387.89835256473083, 386.85698408068015, -316.11044969927076, -109.28654556548526, -287.31702937107394);
TestUtils.AreEqual(r2, --a2);
double3x4 a3 = double3x4(-375.60158007945938, 78.275426662655263, 161.5319641388636, -346.8479546731561, -57.540783670517044, 455.37286231265068, 444.79814478605897, 129.82014638270255, 134.71065455987616, 61.323015956824179, -274.54334486394345, -43.3955581390278);
double3x4 r3 = double3x4(-376.60158007945938, 77.275426662655263, 160.5319641388636, -347.8479546731561, -58.540783670517044, 454.37286231265068, 443.79814478605897, 128.82014638270255, 133.71065455987616, 60.323015956824179, -275.54334486394345, -44.3955581390278);
TestUtils.AreEqual(r3, --a3);
}
[TestCompiler]
public static void double3x4_operator_postfix_dec()
{
double3x4 a0 = double3x4(379.68831723727669, 302.69287814884115, -176.07134040448409, -291.25267066212962, 470.56758401848731, -402.92594666170231, -63.655158787805192, 355.26110069605568, -27.889220489137415, -100.76183824462902, 156.14034969924967, 479.94519613680677);
double3x4 r0 = double3x4(379.68831723727669, 302.69287814884115, -176.07134040448409, -291.25267066212962, 470.56758401848731, -402.92594666170231, -63.655158787805192, 355.26110069605568, -27.889220489137415, -100.76183824462902, 156.14034969924967, 479.94519613680677);
TestUtils.AreEqual(r0, a0--);
double3x4 a1 = double3x4(-200.30429491787419, 407.42034907239508, 327.67032519340069, 48.0602071509046, -209.66798100698179, -38.435048836485976, 283.941595924991, -94.802087112703418, 152.51066334196867, -287.262531175866, -215.94803939384781, -407.04635567546188);
double3x4 r1 = double3x4(-200.30429491787419, 407.42034907239508, 327.67032519340069, 48.0602071509046, -209.66798100698179, -38.435048836485976, 283.941595924991, -94.802087112703418, 152.51066334196867, -287.262531175866, -215.94803939384781, -407.04635567546188);
TestUtils.AreEqual(r1, a1--);
double3x4 a2 = double3x4(159.23357136511879, 168.4139531442961, -278.93379868144814, 289.91284073978329, 402.03954691534841, 470.71654937729079, -208.56061873611094, 145.89674789546837, -296.79095258228062, -274.57083309561517, -250.04125630578085, -70.856303486440481);
double3x4 r2 = double3x4(159.23357136511879, 168.4139531442961, -278.93379868144814, 289.91284073978329, 402.03954691534841, 470.71654937729079, -208.56061873611094, 145.89674789546837, -296.79095258228062, -274.57083309561517, -250.04125630578085, -70.856303486440481);
TestUtils.AreEqual(r2, a2--);
double3x4 a3 = double3x4(-485.627825724719, -503.19208335466317, 397.64861387649955, 446.6215557747621, -292.8101204805123, 126.6225212209963, -250.44240700939781, 470.81648204793055, 26.943619502216393, -186.92351945998308, 45.746085426651916, -206.45597586708885);
double3x4 r3 = double3x4(-485.627825724719, -503.19208335466317, 397.64861387649955, 446.6215557747621, -292.8101204805123, 126.6225212209963, -250.44240700939781, 470.81648204793055, 26.943619502216393, -186.92351945998308, 45.746085426651916, -206.45597586708885);
TestUtils.AreEqual(r3, a3--);
}
}
}

View File

@@ -0,0 +1,945 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using NUnit.Framework;
using static Unity.Mathematics.math;
using Burst.Compiler.IL.Tests;
namespace Unity.Mathematics.Tests
{
[TestFixture]
public class TestDouble4x2
{
[TestCompiler]
public static void double4x2_zero()
{
TestUtils.AreEqual(0.0, double4x2.zero.c0.x);
TestUtils.AreEqual(0.0, double4x2.zero.c0.y);
TestUtils.AreEqual(0.0, double4x2.zero.c0.z);
TestUtils.AreEqual(0.0, double4x2.zero.c0.w);
TestUtils.AreEqual(0.0, double4x2.zero.c1.x);
TestUtils.AreEqual(0.0, double4x2.zero.c1.y);
TestUtils.AreEqual(0.0, double4x2.zero.c1.z);
TestUtils.AreEqual(0.0, double4x2.zero.c1.w);
}
[TestCompiler]
public static void double4x2_operator_equal_wide_wide()
{
double4x2 a0 = double4x2(492.15758275061728, -495.20632027797694, 227.45765195947968, -147.37405950733182, -222.68201909897942, 64.093720704360749, -23.890404473939157, -16.8197190839889);
double4x2 b0 = double4x2(192.56880888369346, -235.61102472786376, -254.04311740307281, -412.62472052715009, 471.90480945627428, -6.4727852374654162, -339.10237447316865, 488.1875700839737);
bool4x2 r0 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
double4x2 a1 = double4x2(163.23210890741655, -165.27101071424363, 470.87767980568003, -423.94255967808078, 109.63436918595539, 462.69031283943468, -335.38147727371262, 357.23446934168896);
double4x2 b1 = double4x2(-379.5965842584132, -308.41700258311675, -82.333374300195544, -102.92108087563935, 226.51573835430463, -356.90132896830391, -362.91277544708589, -427.89843746083716);
bool4x2 r1 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
double4x2 a2 = double4x2(1.5455777652308598, -347.38824741327585, -114.47217302884542, 435.84865804940864, 194.23808607563285, 138.76554710174241, -467.34914205379278, 370.43337767684523);
double4x2 b2 = double4x2(466.65013978753711, -102.79904680270658, -43.355954428834821, 85.045664111639212, -91.127054972167628, 422.19208856215334, -477.43130873024057, 1.8770024785198984);
bool4x2 r2 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
double4x2 a3 = double4x2(476.70826147343416, 320.55264702465047, -498.59197377534207, 92.4169581366782, 104.51136856177425, 166.75460608618084, -204.73343024250744, 434.75675674656259);
double4x2 b3 = double4x2(312.5800799394865, 254.59934365684137, 352.72583763335172, 62.490957050812881, 119.71476059766246, -511.05808639482507, -302.47273053902791, -371.76924365189359);
bool4x2 r3 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void double4x2_operator_equal_wide_scalar()
{
double4x2 a0 = double4x2(-303.2300766926399, 451.52631327674089, -253.65587413201848, -105.20363502632995, -500.6910920090466, -426.19248338518315, 159.87609656149334, -59.558379439431405);
double b0 = (123.5445759871717);
bool4x2 r0 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
double4x2 a1 = double4x2(-57.477391031327386, 406.51375861024189, 370.88599866017978, -172.03530629539642, 455.40001198993991, -11.338988547836891, 363.93823044557973, -27.150561106927);
double b1 = (-182.04973968400139);
bool4x2 r1 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
double4x2 a2 = double4x2(-325.97606507221985, 180.19686635779067, -374.12832015293105, -439.35894295170851, -126.54608899287234, -197.2617896521752, -227.15933357326281, -479.8991937487848);
double b2 = (-290.35904254129116);
bool4x2 r2 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
double4x2 a3 = double4x2(-439.77767750237962, -224.51705013239621, -422.83322616239695, -450.19627043707123, -20.106708774392814, 297.37999906082632, 185.9665759475746, -102.97598962810633);
double b3 = (-495.23734902555);
bool4x2 r3 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void double4x2_operator_equal_scalar_wide()
{
double a0 = (-253.39728534100453);
double4x2 b0 = double4x2(19.952187785856495, -185.79199346610903, 407.8136052600172, -87.2766969610363, -206.27469382354741, 160.503138855334, -274.77081478516141, -2.6315281403397535);
bool4x2 r0 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
double a1 = (448.35453602688131);
double4x2 b1 = double4x2(-410.03524251004461, 247.32901465489022, 355.53915350303942, -298.06671180299793, 414.10151429385951, -481.30262707234482, 196.55074438664633, 34.60100008668428);
bool4x2 r1 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
double a2 = (113.76156645350227);
double4x2 b2 = double4x2(-386.45337861890596, -124.49174672201821, 243.8866447153905, -492.6181826501238, 145.424413033493, 421.55070968230757, -95.409988209330493, 336.80928746648567);
bool4x2 r2 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
double a3 = (209.58380589707929);
double4x2 b3 = double4x2(487.441424358376, 161.80653365040507, 149.84247095409899, 225.723996505944, -71.21880176999548, 85.780251781353854, 192.547256797807, -49.887493395194156);
bool4x2 r3 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void double4x2_operator_not_equal_wide_wide()
{
double4x2 a0 = double4x2(430.8425316432689, 104.69001798736394, 225.80243478799355, -310.57017841496048, -418.61945815506363, 304.12820281839379, -509.32682561749908, -160.53807719076895);
double4x2 b0 = double4x2(210.02470622305975, -55.203330304102678, -269.92533672504373, -234.54673372700194, 25.917412054686565, -63.726991444699024, -484.55371092471933, -425.333599050219);
bool4x2 r0 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
double4x2 a1 = double4x2(-203.30197606016975, -505.76325368590807, 162.17220623892365, 1.1561973100324394, 65.662074358045174, 102.78780250567377, 172.93008120960098, 26.621009123800832);
double4x2 b1 = double4x2(-53.274394775402925, 328.1944192984115, 15.963139303011417, 461.71412417931208, -113.36304455313973, -240.07297264787974, 495.11916970420589, 203.5583661550462);
bool4x2 r1 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
double4x2 a2 = double4x2(235.12595259171258, 128.54198533321824, -354.99697630246959, 334.35948220564023, -495.83200692377613, 468.30740163675853, 458.37094733601941, 299.93733300824522);
double4x2 b2 = double4x2(340.49345103860526, -241.90719448863865, 459.56982896270688, 213.0737384357833, -384.7828506831, -255.07233846144396, 477.66343115161328, -248.03662621604121);
bool4x2 r2 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
double4x2 a3 = double4x2(43.12718560319729, -354.71349994964595, -145.28719551176169, 390.80186218340032, -303.13149108697263, 391.13459533785215, 139.2868607692825, 104.52318506339714);
double4x2 b3 = double4x2(-407.92344565313471, -199.78886971240343, 151.84326488889906, -97.120607659742518, 154.97589380805186, -172.83452065886672, 441.5027942329192, -401.73862785926957);
bool4x2 r3 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void double4x2_operator_not_equal_wide_scalar()
{
double4x2 a0 = double4x2(-16.914588697680529, 168.83411486858233, -462.71352145760949, 130.30776959765137, 214.50161443208424, -440.26328178879959, -197.12796053529155, -169.09985860115842);
double b0 = (-145.37277109239847);
bool4x2 r0 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
double4x2 a1 = double4x2(-386.61117595555783, -270.26885593601912, -403.96372313236992, -269.80570877241234, 299.65422763473089, -71.750904831919286, -432.75573917513515, -457.36312100727258);
double b1 = (-281.02101362916687);
bool4x2 r1 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
double4x2 a2 = double4x2(-13.519590622521719, 185.042454567292, -482.53069351731364, 116.39514427836764, 511.73495578753523, 230.50753628020527, 100.27476768394683, 129.68240863163135);
double b2 = (273.87305773136814);
bool4x2 r2 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
double4x2 a3 = double4x2(321.17879048044733, 140.33521921016984, 369.2123617461009, 453.81121489676241, -333.66624871532724, -373.93775218256644, 150.20429451307484, -442.16476627912596);
double b3 = (-220.63900409482375);
bool4x2 r3 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void double4x2_operator_not_equal_scalar_wide()
{
double a0 = (275.79582823244664);
double4x2 b0 = double4x2(-57.196896341255353, -382.4325279586169, 97.820359990848374, -161.46364529499022, -458.39563367254829, -499.61786364932448, 327.92217818271467, 367.57121699283425);
bool4x2 r0 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
double a1 = (59.7863667289663);
double4x2 b1 = double4x2(-209.58068118318016, -62.580453186566217, -479.97497604786184, -49.494519495169868, -114.68521338081229, 109.93924599044919, -176.28482755286842, -347.48529903380449);
bool4x2 r1 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
double a2 = (85.540928165214609);
double4x2 b2 = double4x2(-356.65954868712441, -104.24357490625397, -133.54918605347592, 243.53971135036079, 13.141311890045813, -379.98594754747393, -41.281226892620907, 87.911684792447659);
bool4x2 r2 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
double a3 = (-339.07727996403224);
double4x2 b3 = double4x2(-371.82034533648766, 333.14425936953364, 294.81196011920088, -187.14565977228136, 220.19225774528093, -228.18207250730234, -499.72373914146971, 97.4059055305114);
bool4x2 r3 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void double4x2_operator_less_wide_wide()
{
double4x2 a0 = double4x2(196.84256825076534, 336.40979997087732, 251.96372115424072, 257.65591466503963, 430.04588647840819, -62.419644146421774, 8.8392293494376872, -333.81671563434259);
double4x2 b0 = double4x2(-465.34502313348696, -256.15239751346053, -314.814018634527, 364.56673662949663, 100.21050290959442, 182.56098636545289, 3.116978885194726, -259.43047893207074);
bool4x2 r0 = bool4x2(false, false, false, true, false, true, false, true);
TestUtils.AreEqual(r0, a0 < b0);
double4x2 a1 = double4x2(164.67880662003472, -350.94487516532877, 3.84143662631584, 125.40972024081725, -111.12994127680076, 70.005523475820951, 448.19828173527412, -419.98711200244122);
double4x2 b1 = double4x2(-437.33490749696966, -456.0437321402336, -394.2559718537405, 401.91369099259077, 313.43916454605721, 121.28668194696616, -28.012290729215522, -282.96589697663012);
bool4x2 r1 = bool4x2(false, false, false, true, true, true, false, true);
TestUtils.AreEqual(r1, a1 < b1);
double4x2 a2 = double4x2(-258.30166757213965, -34.832201735504043, -69.859397682295821, 67.767227442826766, -139.77729207825723, 385.43464130229995, 133.707390609061, 506.18837117878184);
double4x2 b2 = double4x2(330.06440631023816, 124.09937077579059, -183.69031700104955, 373.0607623406969, 109.75094013556418, -203.57134232463841, 45.6486556742567, -360.95226280808089);
bool4x2 r2 = bool4x2(true, true, false, true, true, false, false, false);
TestUtils.AreEqual(r2, a2 < b2);
double4x2 a3 = double4x2(34.442885653322037, 412.11373896715872, -84.809773246203463, 444.78534504621541, -78.754743374304269, 366.97754376334024, 127.18045788965208, 428.36845489422251);
double4x2 b3 = double4x2(211.91309867236441, -313.28636207863985, -259.66108691862837, 79.0985401045059, 446.49610897828643, 450.52455660818362, -375.63076728192658, -53.941822792376286);
bool4x2 r3 = bool4x2(true, false, false, false, true, true, false, false);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void double4x2_operator_less_wide_scalar()
{
double4x2 a0 = double4x2(-132.05731708000292, -192.46500477216438, -66.834607870706634, -379.01750081545561, -360.28242199508588, 20.927834282129879, -158.24074537970159, 437.34587522845061);
double b0 = (-156.01021845452965);
bool4x2 r0 = bool4x2(false, true, false, true, true, false, true, false);
TestUtils.AreEqual(r0, a0 < b0);
double4x2 a1 = double4x2(-20.452607402788772, 307.48418607725023, 274.01523292903562, 373.54965584983563, 398.52368301829495, 105.0301654827922, -58.010895994496934, 109.67008810381878);
double b1 = (225.29148517609178);
bool4x2 r1 = bool4x2(true, false, false, false, false, true, true, true);
TestUtils.AreEqual(r1, a1 < b1);
double4x2 a2 = double4x2(-108.853174498702, 140.42607147080173, -500.08827638071415, 172.10334857371788, -197.50074610370245, -7.27149987559369, -432.99049898283113, 62.158315449095426);
double b2 = (-44.971252223929014);
bool4x2 r2 = bool4x2(true, false, true, false, true, false, true, false);
TestUtils.AreEqual(r2, a2 < b2);
double4x2 a3 = double4x2(-72.254720959931035, -500.25573586870718, 149.1149638393498, 119.88061695912882, 202.63918909925928, 274.95066393304182, 66.4120323967245, 274.99944580486022);
double b3 = (-377.85232299279994);
bool4x2 r3 = bool4x2(false, true, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void double4x2_operator_less_scalar_wide()
{
double a0 = (-423.117411095238);
double4x2 b0 = double4x2(385.09483617595151, -123.93348532725753, 86.376572887588509, 133.44217378154497, 161.45794947513286, 229.75426660746064, 222.57159934871436, 315.53116360098647);
bool4x2 r0 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 < b0);
double a1 = (-447.20351883731945);
double4x2 b1 = double4x2(271.83385790131695, -393.60531324595462, 317.48689737798964, -164.6051085761772, -282.87605370342544, 296.97953071118309, -254.40115582868509, 365.61562054493265);
bool4x2 r1 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 < b1);
double a2 = (-441.98425671178114);
double4x2 b2 = double4x2(-131.42866021554391, 442.62897631275882, -29.792842163607872, -138.37379533535511, 9.2169721169476588, -226.7305482489665, 171.02944310523083, 376.62522595777421);
bool4x2 r2 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 < b2);
double a3 = (-462.58872697436658);
double4x2 b3 = double4x2(-142.36729795409707, -456.25377414014832, 66.6102416825529, 169.37875779409831, 327.44439450253003, 64.0879266560487, -153.50390369887646, 199.38014921889646);
bool4x2 r3 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void double4x2_operator_greater_wide_wide()
{
double4x2 a0 = double4x2(483.50140141113729, 310.81563415695712, 106.9661896726891, 295.73526038589671, 116.95757179938141, -478.29977653841479, -14.897393471979228, -33.817441717636484);
double4x2 b0 = double4x2(-471.39802454011425, -371.98528617060992, 36.900723236101044, -316.76360407320954, 19.683055648432628, 207.3091381561519, 362.79748861994483, 324.95341816775192);
bool4x2 r0 = bool4x2(true, true, true, true, true, false, false, false);
TestUtils.AreEqual(r0, a0 > b0);
double4x2 a1 = double4x2(-24.740548383789417, 319.78262701620474, -120.15856581561201, -289.00857962714906, 455.85146662958505, 144.70691139283917, 63.931990891663304, -285.68304099034663);
double4x2 b1 = double4x2(340.94807140014507, 25.986035120666997, -114.2111352021858, 240.80346428640348, 273.42244757033063, 325.51576224226312, 27.341068995809678, 64.479532510265472);
bool4x2 r1 = bool4x2(false, true, false, false, true, false, true, false);
TestUtils.AreEqual(r1, a1 > b1);
double4x2 a2 = double4x2(-502.0907201720824, -337.19446412529538, 474.31734274063137, -507.14510679018923, -133.56559735795742, -443.10913654934109, -464.34137056038776, -68.361549647693323);
double4x2 b2 = double4x2(200.94836983501375, 100.12266998184964, -79.00710896356361, -315.137945560337, -122.98542815213347, -163.77920229908972, -492.56600617457462, -90.797273439726439);
bool4x2 r2 = bool4x2(false, false, true, false, false, false, true, true);
TestUtils.AreEqual(r2, a2 > b2);
double4x2 a3 = double4x2(-185.99299987870876, -157.80389340119615, -74.124229227250567, -94.471165939453613, 329.61055508703487, -315.83675280019486, 404.193811843262, 131.30440503512716);
double4x2 b3 = double4x2(-284.9012335673446, -23.653687249707843, 174.93002112905026, 85.7125366133231, -441.98783012944637, 345.54374210235835, 482.21949814363359, -422.38349719642827);
bool4x2 r3 = bool4x2(true, false, false, false, true, false, false, true);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void double4x2_operator_greater_wide_scalar()
{
double4x2 a0 = double4x2(64.317918092160426, -397.70346445483318, 431.87690826499693, 85.702980796668157, 246.26305233978803, 197.49155602114809, 286.1994608781298, 280.81334818564972);
double b0 = (305.85991992888034);
bool4x2 r0 = bool4x2(false, false, true, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 > b0);
double4x2 a1 = double4x2(-405.78459210218148, -241.80727326209063, 333.57817498481745, 370.27919524269146, -413.70138116073861, -356.5923551789449, -353.03129522550444, 396.64532608382649);
double b1 = (171.56538661362856);
bool4x2 r1 = bool4x2(false, false, true, true, false, false, false, true);
TestUtils.AreEqual(r1, a1 > b1);
double4x2 a2 = double4x2(467.22205541432936, 502.91505193287276, 315.46759024051369, -259.28970134411458, 281.23064554912537, 428.79219909608, 245.15306460352292, -279.17542494422543);
double b2 = (-240.0134228393498);
bool4x2 r2 = bool4x2(true, true, true, false, true, true, true, false);
TestUtils.AreEqual(r2, a2 > b2);
double4x2 a3 = double4x2(-453.86309668694764, -425.65293451103054, 99.132852838902181, 355.0605339273161, -456.43941256796916, 154.48902208846482, 405.52974409867534, -157.73379643155903);
double b3 = (-124.77154856769909);
bool4x2 r3 = bool4x2(false, false, true, true, false, true, true, false);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void double4x2_operator_greater_scalar_wide()
{
double a0 = (-282.67049635698572);
double4x2 b0 = double4x2(358.09997360692353, -72.5964134077525, -232.16380106292843, -60.706723956720282, 75.156642710397364, 150.88350040786133, 339.53917924479538, -498.19602965665797);
bool4x2 r0 = bool4x2(false, false, false, false, false, false, false, true);
TestUtils.AreEqual(r0, a0 > b0);
double a1 = (459.74610326241054);
double4x2 b1 = double4x2(-227.96872316485678, 335.86213485145106, 76.178844248959308, 296.85993899817572, 177.49000390688423, -281.20120657663847, 244.72285162877427, 137.32857257562159);
bool4x2 r1 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 > b1);
double a2 = (-385.33824724021287);
double4x2 b2 = double4x2(443.16345879210326, -353.56254141105455, 26.040673983302327, -331.7939499969566, -43.691963454565041, 20.949428806523542, -211.17984423934473, 227.42171894173214);
bool4x2 r2 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 > b2);
double a3 = (-84.7797711290325);
double4x2 b3 = double4x2(-375.13548701588786, -205.17813096064054, -197.04714617368165, -219.63402305340117, -210.01563344244641, -266.773715858708, 144.77848703450456, -471.71120069535039);
bool4x2 r3 = bool4x2(true, true, true, true, true, true, false, true);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void double4x2_operator_less_equal_wide_wide()
{
double4x2 a0 = double4x2(-438.52313753521219, 210.48942837980087, 4.8773329280677444, -137.29793817237857, 156.09410174009111, -363.92412035722475, -97.948485181642923, 437.29539009430232);
double4x2 b0 = double4x2(-474.8141498392514, 304.3710555063426, 234.8241737982371, -390.48543209139513, -297.17535295019638, -326.29239121372461, 107.2538764976216, -413.13107342884462);
bool4x2 r0 = bool4x2(false, true, true, false, false, true, true, false);
TestUtils.AreEqual(r0, a0 <= b0);
double4x2 a1 = double4x2(458.53029153241323, -294.06474675520542, 23.622613679441884, -34.284056441059363, 149.736484835733, -418.8866781754823, -197.50252899783783, -88.2055118494693);
double4x2 b1 = double4x2(67.094432623635271, 470.07522724106684, -84.499104777583455, 392.78422683886447, -263.53175485484849, 369.30090039284005, -333.32529298091555, 238.41347443238533);
bool4x2 r1 = bool4x2(false, true, false, true, false, true, false, true);
TestUtils.AreEqual(r1, a1 <= b1);
double4x2 a2 = double4x2(-376.71814292330208, 341.62712899857536, -83.309179106405566, -107.49073295830317, 319.46688833807912, 205.35738501574724, 345.56372968552807, 395.32190746596177);
double4x2 b2 = double4x2(486.24259279959028, 279.65021408705513, 236.05201803709008, 132.75898248178839, 66.294708998079727, 183.00210699020056, 200.13055071613314, 339.043800750302);
bool4x2 r2 = bool4x2(true, false, true, true, false, false, false, false);
TestUtils.AreEqual(r2, a2 <= b2);
double4x2 a3 = double4x2(-222.87415490992095, 439.02200790821666, -368.0755667016262, -200.03860173003682, 71.46990660180802, -357.36542932939039, 141.7108519737194, 319.0170969064427);
double4x2 b3 = double4x2(438.53791710293751, 145.40187866306019, 178.16310199450845, 157.97596724237133, 329.7052015409364, -243.59091221708383, 5.4011614347813293, -22.580605278993289);
bool4x2 r3 = bool4x2(true, false, true, true, true, true, false, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void double4x2_operator_less_equal_wide_scalar()
{
double4x2 a0 = double4x2(193.4958237118534, 168.91555197952107, -313.9930695565385, 81.826965131716292, 18.503590830836288, -0.35819602029312136, 241.36115776810846, -463.81641242644582);
double b0 = (443.85054299042122);
bool4x2 r0 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 <= b0);
double4x2 a1 = double4x2(-1.3577692515020203, 398.9919504593089, -471.253072242836, -264.93778264938749, 82.258299150624453, 11.246050124636895, 424.7040156911612, 426.48223157715154);
double b1 = (-268.89945591096739);
bool4x2 r1 = bool4x2(false, false, true, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 <= b1);
double4x2 a2 = double4x2(56.319978501796754, 31.901173844887467, -152.2575724833913, -437.92645975478297, -37.104814785115821, -47.144214413661587, 333.6230348710078, -274.80387438219225);
double b2 = (-196.28791126808522);
bool4x2 r2 = bool4x2(false, false, false, true, false, false, false, true);
TestUtils.AreEqual(r2, a2 <= b2);
double4x2 a3 = double4x2(358.67627804292192, 192.30916008367626, 145.30606777281787, -466.13296363602063, -494.26732968458316, -111.57013922164691, -139.54120332540072, -146.58935148389514);
double b3 = (-260.46056926458169);
bool4x2 r3 = bool4x2(false, false, false, true, true, false, false, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void double4x2_operator_less_equal_scalar_wide()
{
double a0 = (393.60626644343427);
double4x2 b0 = double4x2(-75.688363825757222, -44.2638714519627, 125.86491566797019, 191.96488174794467, 13.543054825413492, -197.0519259893577, -423.945100743298, -330.04861680141119);
bool4x2 r0 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 <= b0);
double a1 = (420.16553779140372);
double4x2 b1 = double4x2(105.54730777887039, 174.82126363311954, 296.71757831085358, -469.70041845259277, 123.26718979853536, 112.9969695140594, 495.14339493920249, -488.65789364681478);
bool4x2 r1 = bool4x2(false, false, false, false, false, false, true, false);
TestUtils.AreEqual(r1, a1 <= b1);
double a2 = (388.53941148730894);
double4x2 b2 = double4x2(-493.24077080806751, 16.451064832718657, -387.6516336815672, -229.1773127192526, -373.01533930982248, -391.142134610164, 90.994149488859875, -178.39613517485378);
bool4x2 r2 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 <= b2);
double a3 = (-69.621067317957568);
double4x2 b3 = double4x2(471.7908458522478, -67.4667532758167, 45.305359623071467, -154.69219000390365, 385.73888248286153, -431.652945004242, -331.67304841227508, -349.89271013340573);
bool4x2 r3 = bool4x2(true, true, true, false, true, false, false, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void double4x2_operator_greater_equal_wide_wide()
{
double4x2 a0 = double4x2(-507.92858409692, 504.49748181947393, -385.43449205226938, -262.32340944107784, -37.550928848586466, -111.59527759980193, -463.70202157632542, 387.44885772627265);
double4x2 b0 = double4x2(-81.346509732933043, 297.66615047010885, 171.06540616371922, -431.03805538222105, -6.859075311040101, 319.72570362674333, 254.079170106947, 396.5724000393285);
bool4x2 r0 = bool4x2(false, true, false, true, false, false, false, false);
TestUtils.AreEqual(r0, a0 >= b0);
double4x2 a1 = double4x2(456.96878573716094, -211.01015506079892, 182.41135391146474, -53.596053863687473, -309.57021608463032, -136.02249127999994, 280.73629082401112, -96.9958942388165);
double4x2 b1 = double4x2(178.83927615864172, -447.06336304501787, 288.49268569075161, 474.88929460704765, -321.75022831640683, -395.97722048125104, -158.69246037243516, 391.48869318118727);
bool4x2 r1 = bool4x2(true, true, false, false, true, true, true, false);
TestUtils.AreEqual(r1, a1 >= b1);
double4x2 a2 = double4x2(-174.05950673579213, 88.9019382413951, 43.816040774721728, -446.07842585354967, 16.645595796706857, 409.83252043734888, -191.32987245886113, 222.99782548798146);
double4x2 b2 = double4x2(-368.10924141859135, 89.1238043723273, -510.27932214656812, -486.92979525352354, -81.215552606254619, 274.21882046117389, -212.88155494112596, 288.99530591117);
bool4x2 r2 = bool4x2(true, false, true, true, true, true, true, false);
TestUtils.AreEqual(r2, a2 >= b2);
double4x2 a3 = double4x2(404.28838915577546, 230.60328136691976, -441.78928228923553, -86.293056289801882, 484.24954413075443, 95.2363665547391, -204.91210255628084, -199.77434620623211);
double4x2 b3 = double4x2(307.73173131967508, 307.24516620638087, -199.39178213821339, -284.42126978767163, -482.39181278757371, 448.3157362641374, -378.3461889598268, -390.8584684761513);
bool4x2 r3 = bool4x2(true, false, false, true, true, false, true, true);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void double4x2_operator_greater_equal_wide_scalar()
{
double4x2 a0 = double4x2(465.15218732559686, -424.8860745024337, -209.22109685150025, 58.779852656079356, -302.26910533675414, 140.12558252183976, 16.353385694489475, -344.55997316192838);
double b0 = (-5.5998842742293391);
bool4x2 r0 = bool4x2(true, false, false, true, false, true, true, false);
TestUtils.AreEqual(r0, a0 >= b0);
double4x2 a1 = double4x2(393.27804846003562, 441.0115565923096, -509.78156757251435, -36.994287269652943, 494.82028865014217, -164.97393830352183, -466.12009046325466, -123.8137477020797);
double b1 = (-315.70155086913218);
bool4x2 r1 = bool4x2(true, true, false, true, true, true, false, true);
TestUtils.AreEqual(r1, a1 >= b1);
double4x2 a2 = double4x2(215.65121779947128, 314.34603014325069, 190.51609882643265, -83.111429014760745, -23.836435567511444, 143.04935962662535, -264.91997945724052, -169.70222457205051);
double b2 = (104.99569730879534);
bool4x2 r2 = bool4x2(true, true, true, false, false, true, false, false);
TestUtils.AreEqual(r2, a2 >= b2);
double4x2 a3 = double4x2(329.70751610850334, -260.42331016269668, 354.19514219565087, -111.84533768140028, 33.309096113456917, 355.63126938214123, -435.36056753404466, -38.39930893778768);
double b3 = (359.09582035573931);
bool4x2 r3 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void double4x2_operator_greater_equal_scalar_wide()
{
double a0 = (374.82703393270594);
double4x2 b0 = double4x2(-1.609757185731894, 338.61524049314448, -116.18140392945213, -332.15732375353451, -355.9793509710484, -468.90144107719021, 38.579884785497484, -332.34754697063357);
bool4x2 r0 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 >= b0);
double a1 = (2.8901150240051265);
double4x2 b1 = double4x2(467.77776477661814, 121.40638762405445, -305.02337303060267, -58.428812292604164, -226.51955209789776, -47.020994446715804, 305.3026770582901, -427.40123315686418);
bool4x2 r1 = bool4x2(false, false, true, true, true, true, false, true);
TestUtils.AreEqual(r1, a1 >= b1);
double a2 = (92.263649745035764);
double4x2 b2 = double4x2(-497.17853736187266, -408.62564225151465, -455.23049113491106, 396.42608637196292, -469.29488561548987, -485.7540130493017, -182.34619268325446, -291.54536284671417);
bool4x2 r2 = bool4x2(true, true, true, false, true, true, true, true);
TestUtils.AreEqual(r2, a2 >= b2);
double a3 = (278.740809331993);
double4x2 b3 = double4x2(-75.87113932327884, 28.907059921374071, 287.72014988945807, 420.50978990109161, 473.62684152723614, 181.514540518408, -369.20287220981106, 243.74977385427326);
bool4x2 r3 = bool4x2(true, true, false, false, false, true, true, true);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void double4x2_operator_add_wide_wide()
{
double4x2 a0 = double4x2(506.12905263627374, -501.77980803967444, 420.08479638587903, -186.03206476291274, -9.3123953385801883, 328.51179686585056, 424.34407659263536, 87.791079800478656);
double4x2 b0 = double4x2(-28.757987751047096, -337.135153689019, -340.676816860529, 152.31202633320913, 423.66745420157326, 90.374096674087468, 376.18866246574964, 1.7671887882831925);
double4x2 r0 = double4x2(477.37106488522664, -838.91496172869347, 79.407979525350015, -33.720038429703607, 414.35505886299308, 418.885893539938, 800.532739058385, 89.558268588761848);
TestUtils.AreEqual(r0, a0 + b0);
double4x2 a1 = double4x2(462.41368148402012, -46.178705952213477, 401.17006296718966, -454.12414643453627, 69.195687564646732, -177.95734485329939, 299.60415544156183, 340.7048587001417);
double4x2 b1 = double4x2(-120.18586045139745, -279.62936628965167, -344.66710273580026, 242.8391956029642, 418.5930504363929, -23.312797318823982, -95.099945827899489, 147.92812568877275);
double4x2 r1 = double4x2(342.22782103262267, -325.80807224186515, 56.502960231389409, -211.28495083157208, 487.78873800103963, -201.27014217212337, 204.50420961366234, 488.63298438891445);
TestUtils.AreEqual(r1, a1 + b1);
double4x2 a2 = double4x2(219.91602740991675, -321.90838232725321, 286.35534037573041, -333.41949311523672, -118.93216973120911, 68.607509406566351, 23.190902005504313, -205.57787547147734);
double4x2 b2 = double4x2(331.03287926830023, -82.502564230236487, 279.44956291813844, 342.6227215931857, -300.35853185335105, -209.69408736456842, 446.55942150883345, -351.98918955027557);
double4x2 r2 = double4x2(550.948906678217, -404.41094655748969, 565.80490329386885, 9.2032284779489828, -419.29070158456017, -141.08657795800207, 469.75032351433777, -557.56706502175291);
TestUtils.AreEqual(r2, a2 + b2);
double4x2 a3 = double4x2(11.521422629953122, -340.7950796283759, -68.931167873056211, 304.8532370556394, -86.633841316510825, 105.66915874633435, 349.28052799277032, 364.7078708916473);
double4x2 b3 = double4x2(-263.12385642860261, -252.4585670216282, 289.82535542632706, 338.79615537207394, -232.61900364263869, -510.50825405051387, 349.2807325559113, -426.2124495106807);
double4x2 r3 = double4x2(-251.60243379864949, -593.25364665000416, 220.89418755327085, 643.64939242771334, -319.25284495914951, -404.83909530417952, 698.56126054868162, -61.504578619033396);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void double4x2_operator_add_wide_scalar()
{
double4x2 a0 = double4x2(-194.51420387742769, 338.54838696985894, 246.97140252169754, 100.51093797595752, -45.724677822424439, -478.11131094308166, 30.916145577522116, 60.37435224483454);
double b0 = (124.121678171736);
double4x2 r0 = double4x2(-70.3925257056917, 462.67006514159493, 371.09308069343354, 224.63261614769351, 78.397000349311554, -353.98963277134567, 155.03782374925811, 184.49603041657053);
TestUtils.AreEqual(r0, a0 + b0);
double4x2 a1 = double4x2(-242.1187475855084, 6.7993848355483806, -484.69981287638649, -188.26501068298938, -213.52673087526426, -267.78430688929944, 189.25996669999324, 198.53359684652355);
double b1 = (82.50134495762245);
double4x2 r1 = double4x2(-159.61740262788595, 89.300729793170831, -402.19846791876404, -105.76366572536693, -131.02538591764181, -185.282961931677, 271.76131165761569, 281.034941804146);
TestUtils.AreEqual(r1, a1 + b1);
double4x2 a2 = double4x2(187.53610023648298, 302.10236730338181, 300.39907970111778, 124.02158909850823, -200.16134295247559, 31.37822701007974, 362.52213518811493, -423.98885961248953);
double b2 = (-424.92567582844089);
double4x2 r2 = double4x2(-237.38957559195791, -122.82330852505908, -124.5265961273231, -300.90408672993266, -625.08701878091642, -393.54744881836115, -62.403540640325957, -848.91453544093042);
TestUtils.AreEqual(r2, a2 + b2);
double4x2 a3 = double4x2(432.41331907380993, -465.69948957194549, -311.04303779781003, 84.918990413154916, -432.44245716204978, 235.75065886031405, -472.63775394514096, -257.57773721291579);
double b3 = (374.21141474983256);
double4x2 r3 = double4x2(806.62473382364249, -91.488074822112935, 63.168376952022527, 459.13040516298747, -58.231042412217221, 609.9620736101466, -98.4263391953084, 116.63367753691676);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void double4x2_operator_add_scalar_wide()
{
double a0 = (-340.35468284243473);
double4x2 b0 = double4x2(511.36225652665007, -146.21663791789518, -106.21042661844308, -363.45024960276214, 199.08958325120136, -27.108407271610758, 419.84900041103788, 284.95503748811552);
double4x2 r0 = double4x2(171.00757368421534, -486.57132076032991, -446.56510946087781, -703.80493244519687, -141.26509959123337, -367.46309011404549, 79.494317568603151, -55.399645354319205);
TestUtils.AreEqual(r0, a0 + b0);
double a1 = (-164.92418129971446);
double4x2 b1 = double4x2(-249.19032561461921, 150.92817718858282, 298.17509784278229, -457.15341803857751, 424.71807094324288, -301.85750283946163, 230.28885208363124, -423.58759351428023);
double4x2 r1 = double4x2(-414.11450691433367, -13.99600411113164, 133.25091654306783, -622.077599338292, 259.79388964352842, -466.78168413917609, 65.364670783916779, -588.51177481399463);
TestUtils.AreEqual(r1, a1 + b1);
double a2 = (-67.060037882560891);
double4x2 b2 = double4x2(68.7241366229598, -164.02241833695325, 318.93515339444161, 7.8045504129512437, 187.69836029210046, -3.6569664495331153, -446.0830535581722, -209.28724227160552);
double4x2 r2 = double4x2(1.6640987403989129, -231.08245621951414, 251.87511551188072, -59.255487469609648, 120.63832240953957, -70.717004332094, -513.14309144073309, -276.34728015416641);
TestUtils.AreEqual(r2, a2 + b2);
double a3 = (-38.212905186327589);
double4x2 b3 = double4x2(-346.25717870623674, 465.60741708502519, -192.18595108398512, 278.69379843338106, 381.97845548297209, 481.24367283342576, -97.228162095522578, -455.51374289743313);
double4x2 r3 = double4x2(-384.47008389256433, 427.3945118986976, -230.39885627031271, 240.48089324705347, 343.76555029664451, 443.03076764709817, -135.44106728185017, -493.72664808376072);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void double4x2_operator_sub_wide_wide()
{
double4x2 a0 = double4x2(160.4922617229131, 11.223957305412682, 359.20010607279846, -498.22830485656311, -355.25362913462038, -94.534852787170053, -410.46404786150163, -401.38464398001537);
double4x2 b0 = double4x2(115.46876078260539, -130.98230630298252, 241.54083716196044, 9.9870860623135513, 419.89512582304656, 59.124466208333388, -402.38163847587145, -75.370143687059226);
double4x2 r0 = double4x2(45.023500940307713, 142.2062636083952, 117.65926891083802, -508.21539091887666, -775.14875495766694, -153.65931899550344, -8.0824093856301715, -326.01450029295614);
TestUtils.AreEqual(r0, a0 - b0);
double4x2 a1 = double4x2(317.70681944382693, 447.0604133303558, -489.07414482956477, -230.00838218909149, 24.875419389864192, 366.61447136784648, -107.3741567634857, -219.0081404275299);
double4x2 b1 = double4x2(320.97960796997859, -73.908757482612884, -31.444742455819949, -389.25194734579509, -375.02884000122026, 259.18275821357167, 276.648654351313, -453.06919905779381);
double4x2 r1 = double4x2(-3.2727885261516576, 520.96917081296874, -457.62940237374482, 159.2435651567036, 399.90425939108445, 107.4317131542748, -384.02281111479869, 234.06105863026391);
TestUtils.AreEqual(r1, a1 - b1);
double4x2 a2 = double4x2(473.90756891384137, 259.63620793988753, -360.119631219711, 7.8096120393879573, 437.42847439154446, -59.1991718091067, 418.74433322378638, 183.14215072576985);
double4x2 b2 = double4x2(-272.57653225240136, -191.14805301984217, 87.136884968325944, 430.02477594373033, 343.65711538105143, 121.02942067060133, -354.1881703595576, 249.05200373802893);
double4x2 r2 = double4x2(746.48410116624268, 450.78426095972969, -447.25651618803693, -422.21516390434238, 93.771359010493029, -180.22859247970803, 772.932503583344, -65.909853012259077);
TestUtils.AreEqual(r2, a2 - b2);
double4x2 a3 = double4x2(271.23036516421962, 496.20853709439211, 165.35493691514944, -227.40367113212295, -166.52285702830312, 356.14227430715334, 386.92636579411396, -394.63875717420075);
double4x2 b3 = double4x2(-2.2254426489702723, 22.447240601502017, 478.1129555544411, -320.0629958212669, -111.52409534879217, 222.22894607401872, -245.41106307013473, -119.90228348593337);
double4x2 r3 = double4x2(273.45580781318989, 473.7612964928901, -312.75801863929166, 92.659324689143943, -54.998761679510949, 133.91332823313462, 632.33742886424875, -274.73647368826738);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void double4x2_operator_sub_wide_scalar()
{
double4x2 a0 = double4x2(207.38960108877609, 248.45773684627272, -384.82393211164697, -205.34476122881506, -374.81156152058929, 191.64204820973896, 18.856238135535364, -44.96160151667965);
double b0 = (-36.112476604111691);
double4x2 r0 = double4x2(243.50207769288778, 284.57021345038441, -348.71145550753528, -169.23228462470337, -338.6990849164776, 227.75452481385065, 54.968714739647055, -8.8491249125679587);
TestUtils.AreEqual(r0, a0 - b0);
double4x2 a1 = double4x2(480.85798738936796, -366.86545269883493, -35.523088233323335, 349.39776460705218, 439.07729336203886, 490.2222661870635, 195.02405104181923, -384.84940952102158);
double b1 = (16.338193185784917);
double4x2 r1 = double4x2(464.51979420358305, -383.20364588461985, -51.861281419108252, 333.05957142126726, 422.73910017625394, 473.88407300127858, 178.68585785603432, -401.1876027068065);
TestUtils.AreEqual(r1, a1 - b1);
double4x2 a2 = double4x2(189.05188545447402, -54.931482579061537, 53.088051582261983, 316.80250730961677, -273.80670917863335, 256.88723695319482, 297.17363156805447, 101.82901363346218);
double b2 = (55.602777745389744);
double4x2 r2 = double4x2(133.44910770908427, -110.53426032445128, -2.5147261631277615, 261.199729564227, -329.4094869240231, 201.28445920780507, 241.57085382266473, 46.226235888072438);
TestUtils.AreEqual(r2, a2 - b2);
double4x2 a3 = double4x2(136.60794765157993, 336.58969966349639, -51.876563334780087, 317.34576311583896, -467.05592773251976, -50.167055391784345, 477.804535373023, -60.821922092149919);
double b3 = (-19.732211837420323);
double4x2 r3 = double4x2(156.34015948900026, 356.32191150091671, -32.144351497359764, 337.07797495325929, -447.32371589509944, -30.434843554364022, 497.53674721044331, -41.089710254729596);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void double4x2_operator_sub_scalar_wide()
{
double a0 = (-86.008225719448262);
double4x2 b0 = double4x2(466.42511413359318, 298.48694219183506, -300.95010652251085, 315.38003006362362, -381.09218543632522, -125.00837546447684, 58.466194418476107, 214.74609361158036);
double4x2 r0 = double4x2(-552.43333985304139, -384.49516791128332, 214.94188080306259, -401.38825578307188, 295.08395971687696, 39.00014974502858, -144.47442013792437, -300.75431933102863);
TestUtils.AreEqual(r0, a0 - b0);
double a1 = (-257.54942739082009);
double4x2 b1 = double4x2(480.22459505508868, -443.35507723472784, 260.79503858312728, 29.681931747906788, 139.85773164586055, -247.78996216868512, -248.4662297929014, 91.445112509394562);
double4x2 r1 = double4x2(-737.77402244590871, 185.80564984390776, -518.34446597394731, -287.23135913872687, -397.40715903668064, -9.7594652221349634, -9.0831975979186836, -348.99453990021465);
TestUtils.AreEqual(r1, a1 - b1);
double a2 = (86.384162704639266);
double4x2 b2 = double4x2(373.81828206303453, 260.41195428576873, 114.35393171867076, -464.40545318294573, -109.74146156652898, -311.67535057276268, 107.86401586787031, -258.7951592219971);
double4x2 r2 = double4x2(-287.43411935839526, -174.02779158112946, -27.9697690140315, 550.789615887585, 196.12562427116825, 398.05951327740195, -21.479853163231041, 345.17932192663636);
TestUtils.AreEqual(r2, a2 - b2);
double a3 = (14.097560173877355);
double4x2 b3 = double4x2(-461.97019527012958, 30.310863747406188, 63.701105862716759, -462.67674634544028, 39.759483117498235, 47.998150132595583, -177.61928113625351, 202.47706017386031);
double4x2 r3 = double4x2(476.06775544400693, -16.213303573528833, -49.603545688839404, 476.77430651931763, -25.66192294362088, -33.900589958718228, 191.71684131013086, -188.37949999998295);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void double4x2_operator_mul_wide_wide()
{
double4x2 a0 = double4x2(-482.71381710596097, -407.29348559272171, 137.70058995937029, 208.54113278563182, 194.296573967811, -484.24241684574747, 183.98730739578014, -241.33547770294149);
double4x2 b0 = double4x2(-236.36788355389979, 260.72759139757954, -416.38629718142852, -364.49561541364324, -253.14750897751537, -369.20287220981106, 193.54791531038836, 169.08491976982214);
double4x2 r0 = double4x2(114098.04331156026, -106192.64949051509, -57336.638772880389, -76012.328533757158, -49185.69370281692, 178783.69114527057, 35610.359790024842, -40806.189885013562);
TestUtils.AreEqual(r0, a0 * b0);
double4x2 a1 = double4x2(45.868758938214114, 363.32610266438041, -328.11893692990714, -471.02307413100408, -262.68257415605831, -379.26274674910246, -374.09058182970182, 481.44738720424812);
double4x2 b1 = double4x2(201.96966442930034, 249.45608317547294, -308.19319810913555, -385.57964843585137, -183.27959522198864, 22.275629292370581, -265.52144229855458, -95.677454277722859);
double4x2 r1 = double4x2(9264.0978505395742, 90633.9064860661, 101124.02453259782, 181616.91132860651, 48144.355863192381, -8448.3163509892329, 99329.070837727879, -46063.660376363579);
TestUtils.AreEqual(r1, a1 * b1);
double4x2 a2 = double4x2(104.62807397946165, 412.93539948618752, 477.87724731763694, 20.377821216535722, 291.99596299417124, -138.48832399141429, -393.46498483860165, 9.36312318284206);
double4x2 b2 = double4x2(133.25437146669924, 148.31146080247663, 249.284127113076, 500.00547503866505, -19.331578978957396, -36.691062705913112, 30.5238278054278, -401.36701054189678);
double4x2 r2 = double4x2(13942.148235904471, 61243.052314850727, 119127.21246477668, 10189.022177626932, -5644.7430201585421, 5081.2837796057929, -12010.057444678736, -3758.048761232847);
TestUtils.AreEqual(r2, a2 * b2);
double4x2 a3 = double4x2(-131.94228917543882, 364.44964258952518, 390.61597866128011, 418.79794974755396, -277.34480942289565, 11.410165553637853, 474.87644956767394, -502.40503358394142);
double4x2 b3 = double4x2(3.4372422711165882, 257.24176681099539, -290.97193516929258, 337.47938100317469, 490.28616284312966, -191.01981481864107, -325.73449650673871, -52.181983733634468);
double4x2 r3 = double4x2(-453.51761370170692, 93751.669973365249, -113658.28721911977, 141335.67284620318, -135978.32239641057, -2179.56771110594, -154683.64120283397, 26216.491290173308);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void double4x2_operator_mul_wide_scalar()
{
double4x2 a0 = double4x2(-96.318821236639678, -277.14229239017811, -239.93690191951436, 509.53140544776409, 255.85810172551226, 215.73149667295229, -455.50827500573746, -389.24327367788334);
double b0 = (-301.20720424373042);
double4x2 r0 = double4x2(29011.922860739887, 83477.255068544036, 72270.723422079071, -153474.5301092997, -77066.303503849529, -64979.880980175592, 137202.37402436248, 117242.87823519246);
TestUtils.AreEqual(r0, a0 * b0);
double4x2 a1 = double4x2(-338.29248658674419, 243.75734459783757, 135.35469991311186, -207.35010275959507, -383.93960946795517, -31.425238862366086, 42.676120539510634, 260.38388049806645);
double b1 = (53.796284939067618);
double4x2 r1 = double4x2(-18198.879001166202, 13113.239565975766, 7281.5800043677564, -11154.665210200128, -20654.52463033246, -1690.5611041181071, 2295.81674063751, 14007.685428814115);
TestUtils.AreEqual(r1, a1 * b1);
double4x2 a2 = double4x2(176.86755927692525, -290.50059689697838, 207.09101805793637, -156.52330858843555, -208.4020064847553, 370.94506400215676, -341.59844247512444, 10.270311121954705);
double b2 = (25.672123205695357);
double4x2 r2 = double4x2(4540.5657728478518, -7457.7671148672716, 5316.4661303762241, -4018.2856626453918, -5350.1219867907612, 9522.9473856079185, -8769.5573020950324, 263.66069248364448);
TestUtils.AreEqual(r2, a2 * b2);
double4x2 a3 = double4x2(-176.88876565587185, 186.27978214355176, -487.65221785365242, -129.37681800191143, -317.71628990663044, -207.62735686433842, 388.87138933170183, -233.33533274072005);
double b3 = (-61.006107120311867);
double4x2 r3 = double4x2(10791.294985981862, -11364.204343797875, 29749.763439837578, 7892.7760179097013, 19382.634015911957, 12666.53677397305, -23723.529633594302, 14234.88030413398);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void double4x2_operator_mul_scalar_wide()
{
double a0 = (37.432166355397612);
double4x2 b0 = double4x2(96.747546479454058, 492.18539427788244, -274.05458534604617, -452.87096926796761, 420.85330434369541, 102.18292694081686, -114.94887762654054, -351.12003843445336);
double4x2 r0 = double4x2(3621.4702542954869, 18423.565556306661, -10258.456829132712, -16951.941459168724, 15753.450899411988, 3824.9283199300971, -4302.785509682908, -13143.183689392061);
TestUtils.AreEqual(r0, a0 * b0);
double a1 = (-464.66496799172131);
double4x2 b1 = double4x2(444.08484646495663, 447.10525605040846, 130.82935124767448, -321.41334191030512, 445.30131861441828, 478.24357317306271, 358.57170622356784, -144.89011222910608);
double4x2 r1 = double4x2(-206350.67096824755, -207754.14949159342, -60791.816309878326, 149349.52023086412, -206915.92296063996, -222223.03462070762, -166615.71039511106, 67325.359361254479);
TestUtils.AreEqual(r1, a1 * b1);
double a2 = (-438.89383741789209);
double4x2 b2 = double4x2(-3.536441089369589, -471.80755470311624, -42.560401697904069, 119.91104155402218, 271.9000023677479, 239.6840079946835, 487.44143389511919, -79.188288010278825);
double4x2 r2 = double4x2(1552.1222005157297, 207073.42820640272, 18679.498023240089, -52628.217176421109, -119335.23543311482, -105195.83403648737, -213935.04143870863, 34755.251603384531);
TestUtils.AreEqual(r2, a2 * b2);
double a3 = (-112.92564468873928);
double4x2 b3 = double4x2(161.3700478828373, 459.75914332818195, -337.19599811043406, -276.83451689259823, 469.72386405883537, -274.56515110403541, 506.78586625810055, 65.882571966332648);
double4x2 r3 = double4x2(-18222.81669062213, -51918.597661877429, 38078.075473083678, 31261.716292192341, -53043.870174529715, 31005.446697484316, -57229.120666337207, -7439.831913050376);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void double4x2_operator_div_wide_wide()
{
double4x2 a0 = double4x2(-353.13144390337703, -102.79985456485292, 51.319128298814917, -191.87167868012176, 8.0418245829836223, -128.73764210973758, -136.05959779399427, -370.4710053738537);
double4x2 b0 = double4x2(-178.73954805114283, -302.09628381491467, -199.40583739029518, 278.85077561012042, 502.33758782890516, -361.48483078623417, 353.121059820578, -38.894930142394685);
double4x2 r0 = double4x2(1.97567604793504, 0.34028837848212429, -0.25736021056579439, -0.68808013268139567, 0.016008805189634039, 0.35613566917796119, -0.3853058151307277, 9.5249176182488586);
TestUtils.AreEqual(r0, a0 / b0);
double4x2 a1 = double4x2(-237.69456326109105, -432.54687496300176, 200.26549181727012, 361.44157068871039, -416.22613234828509, -450.01919362042992, -273.49744594911925, -286.90817011841955);
double4x2 b1 = double4x2(-75.764737402910725, -195.21784719974636, -405.03399224068687, -394.2300085473014, -375.82771342612227, -121.24548655433836, 447.623344391409, 338.28628007429018);
double4x2 r1 = double4x2(3.1372716570909582, 2.2157137842034547, -0.49444119667433889, -0.9168291678773689, 1.1074918572499153, 3.7116366671409717, -0.61099906735420106, -0.84812239519560884);
TestUtils.AreEqual(r1, a1 / b1);
double4x2 a2 = double4x2(-314.25606241554772, 177.76210340194507, 97.626988217992221, -68.107280047660367, -386.45074027890837, 263.69934690357161, -297.0270885420158, -501.77703046322659);
double4x2 b2 = double4x2(-405.54420752336466, -431.16893526127978, 296.20513095343722, 437.939790691221, 39.21061684527001, 331.2897075765253, -310.61955156485533, 207.26946959610541);
double4x2 r2 = double4x2(0.77489964493560781, -0.41227947763496636, 0.32959249525403717, -0.15551745124635385, -9.855767936625206, 0.79597808465769837, 0.95624080018671487, -2.420892143165184);
TestUtils.AreEqual(r2, a2 / b2);
double4x2 a3 = double4x2(-263.40686071263946, -451.08085248017721, -416.34552903489464, -315.27873411554788, -28.181118739853218, -397.87015146662952, -261.38664376986526, 40.348221559239619);
double4x2 b3 = double4x2(-223.2929938879297, -480.091406807346, 448.67593666942605, -460.0974516626901, -220.56984601755153, -84.853158275062754, 441.3738078742166, 72.418480191574645);
double4x2 r3 = double4x2(1.1796467776541293, 0.93957285234474042, -0.92794263076704353, 0.68524338262731188, 0.12776505605218016, 4.6889256635195675, -0.59221149761645042, 0.55715366371267527);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void double4x2_operator_div_wide_scalar()
{
double4x2 a0 = double4x2(171.34242184988341, 0.10338377957384637, 57.888263967767443, -256.13074529177078, 95.6696842162263, -290.38690461329509, -127.44869118903239, -79.7448890580539);
double b0 = (171.79682191265601);
double4x2 r0 = double4x2(0.99735501473360411, 0.00060177934855167557, 0.33695771157628673, -1.4908933846400916, 0.55687691513214455, -1.6902926455818372, -0.74185709473618289, -0.46418139852783397);
TestUtils.AreEqual(r0, a0 / b0);
double4x2 a1 = double4x2(146.46688110496234, 58.686315802245531, -453.20579859856787, -205.03382143985192, 481.73814247629514, 464.47907159499778, -293.46349753693841, -158.50557930697948);
double b1 = (-499.84355687529012);
double4x2 r1 = double4x2(-0.29302544584265894, -0.11740936738109768, 0.906695289685692, 0.41019598756377973, -0.96377783778552883, -0.92924889239071318, 0.587110693936897, 0.31711037809081188);
TestUtils.AreEqual(r1, a1 / b1);
double4x2 a2 = double4x2(-289.5822156824089, 203.58342680874443, 180.97040160976837, 259.11918723728468, 460.84470603468117, 490.95625924084163, -280.47805536933151, -320.24387112271222);
double b2 = (494.12860535743118);
double4x2 r2 = double4x2(-0.58604624897791069, 0.41200494082199718, 0.3662414999812898, 0.5243962491300197, 0.93264122141102535, 0.99357991809785062, -0.5676215712434739, -0.64809822311554233);
TestUtils.AreEqual(r2, a2 / b2);
double4x2 a3 = double4x2(192.41448912043802, 226.85298524929817, -192.23568949114332, 460.97652957447644, -437.89221760159927, -413.23271794488312, 249.47184693509337, 313.03501739773662);
double b3 = (264.80085885934568);
double4x2 r3 = double4x2(0.72663846314276059, 0.85669278501017143, -0.7259632401466386, 1.74084227505974, -1.6536661530776777, -1.5605414564171789, 0.94211116991733534, 1.1821525758872689);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void double4x2_operator_div_scalar_wide()
{
double a0 = (-264.44250095283729);
double4x2 b0 = double4x2(105.58908157497137, -142.34910137129441, -288.94890679463231, 39.644133824689334, -363.99138396046658, -149.71822006521666, -395.72912306139671, 258.71868693955184);
double4x2 r0 = double4x2(-2.5044492954044237, 1.85770404172122, 0.915187753732487, -6.670406827961755, 0.72650758398599513, 1.7662679988958405, 0.66824119212426392, -1.0221236976771717);
TestUtils.AreEqual(r0, a0 / b0);
double a1 = (-9.6662514254759344);
double4x2 b1 = double4x2(117.72553282497711, -331.38655797177296, -509.98602676297821, 427.8964666928614, 467.61712882836218, -407.12461943511136, 252.69070994699871, 444.59937664708093);
double4x2 r1 = double4x2(-0.082108368452634473, 0.029169111398595994, 0.018953953477569365, -0.022590164158598314, -0.020671294590288436, 0.023742733708631857, -0.0382532916524846, -0.021741486680375892);
TestUtils.AreEqual(r1, a1 / b1);
double a2 = (-88.313306134340053);
double4x2 b2 = double4x2(199.95503411067421, -218.34692607556792, -13.417186028052697, -296.13107575854804, 0.561349630617201, -289.29929865957206, 196.21833929615946, 334.73346845001606);
double4x2 r2 = double4x2(-0.44166583015588912, 0.40446324444144272, 6.5821034268805914, 0.29822370350063077, -157.32317492974929, 0.30526622962284194, -0.45007671785992226, -0.26383171824220319);
TestUtils.AreEqual(r2, a2 / b2);
double a3 = (-282.39273203648293);
double4x2 b3 = double4x2(-479.50358436978587, -473.43943927876626, 105.0507777226394, -287.63127841038227, 77.299297130340392, -210.89436421678141, -184.0682357214709, -315.14843645465953);
double4x2 r3 = double4x2(0.588927259861119, 0.59647065412775435, -2.6881546063568527, 0.98178728543414817, -3.6532380308752153, 1.3390245542370554, 1.5341741660619548, 0.89606261485327354);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void double4x2_operator_mod_wide_wide()
{
double4x2 a0 = double4x2(-388.81249422059045, 181.68118842955732, -167.07872470052854, 432.82015319951813, -258.43895995730486, -170.11079629236406, 283.318293464984, 122.71651297561664);
double4x2 b0 = double4x2(436.94417187056695, 58.940049437312382, -201.11623368091705, 279.2893537391393, -397.07975954426445, 377.89994758083481, 174.69386657266591, -228.17652736798698);
double4x2 r0 = double4x2(-388.81249422059045, 4.8610401176201776, -167.07872470052854, 153.53079946037883, -258.43895995730486, -170.11079629236406, 108.62442689231807, 122.71651297561664);
TestUtils.AreEqual(r0, a0 % b0);
double4x2 a1 = double4x2(335.27101413126616, -503.60851668920765, 191.02251848532933, 289.74269379756538, -124.03371745163281, 259.27395761165485, -274.35845030208975, -140.03080398404541);
double4x2 b1 = double4x2(-317.06019106370405, -417.48011107811709, -249.9759434433542, -397.57157177364991, -358.74544947163452, -198.1592100589346, 208.73709378425826, -12.119406944196385);
double4x2 r1 = double4x2(18.210823067562103, -86.128405611090557, 191.02251848532933, 289.74269379756538, -124.03371745163281, 61.114747552720246, -65.621356517831487, -6.7173275978851734);
TestUtils.AreEqual(r1, a1 % b1);
double4x2 a2 = double4x2(324.5775689205982, -200.51308903494527, 211.42317328761476, -51.272212767634642, -230.63392483006879, 99.989400671790122, 399.18986649028489, 24.903281461868119);
double4x2 b2 = double4x2(25.27141596063575, -194.12068495253135, -493.8717965995296, -312.3016990685378, -216.98060546488529, 413.57096047586344, -436.39440151508637, 3.4912750737235);
double4x2 r2 = double4x2(21.3205773929692, -6.3924040824139183, 211.42317328761476, -51.272212767634642, -13.653319365183506, 99.989400671790122, 399.18986649028489, 0.46435594580361794);
TestUtils.AreEqual(r2, a2 % b2);
double4x2 a3 = double4x2(50.92402961241271, -364.86367886367429, -252.62662398658068, -281.28977955565313, -364.79852192699843, -329.02623311105475, 51.6098087074281, 41.647804041229051);
double4x2 b3 = double4x2(-308.23343076754054, -441.37506195594324, 84.6008532441225, 373.16344922276369, 67.252760203207231, -320.33327522889397, 118.97936325845274, 44.823946258436877);
double4x2 r3 = double4x2(50.92402961241271, -364.86367886367429, -83.424917498335674, -281.28977955565313, -28.534720910962278, -8.6929578821607834, 51.6098087074281, 41.647804041229051);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void double4x2_operator_mod_wide_scalar()
{
double4x2 a0 = double4x2(-244.49962889612635, -211.81931958525411, -145.92677576184587, -304.91822090042672, 155.47946436492703, -133.90778428591221, 281.30965412841624, -226.53575311719243);
double b0 = (39.634963769295723);
double4x2 r0 = double4x2(-6.6898462803520147, -13.644500738775491, -27.021884453958705, -27.473474515356656, 36.574573057039856, -15.002892978025045, 3.86490774334618, -28.360934270713813);
TestUtils.AreEqual(r0, a0 % b0);
double4x2 a1 = double4x2(335.16613046041039, 319.47152033423606, -285.40231646476423, -355.84685985923136, 259.37800061860025, -330.87193957477433, -284.34358109363518, -102.68343811048356);
double b1 = (101.70649032560482);
double4x2 r1 = double4x2(30.046659483595931, 14.352049357421606, -81.98933581355459, -50.7273888824169, 55.965019967390617, -25.752468597959876, -80.930600442425543, -0.976947784878746);
TestUtils.AreEqual(r1, a1 % b1);
double4x2 a2 = double4x2(-172.14173921017988, -416.71365447375626, -339.256669917729, 435.29751440291182, 132.55290490600885, 226.94410215455298, -306.11827268550093, 115.43844633709568);
double b2 = (206.41684517935698);
double4x2 r2 = double4x2(-172.14173921017988, -3.8799641150422985, -132.83982473837204, 22.46382404419785, 132.55290490600885, 20.527256975195996, -99.701427506143943, 115.43844633709568);
TestUtils.AreEqual(r2, a2 % b2);
double4x2 a3 = double4x2(281.88292015804109, -140.04050237501065, -462.32346961569203, -211.60869822819188, 351.33104555277669, 321.04701176334504, 346.08518497370426, -94.407745643708722);
double b3 = (-218.3474491659307);
double4x2 r3 = double4x2(63.53547099211039, -140.04050237501065, -25.628571283830638, -211.60869822819188, 132.983596386846, 102.69956259741434, 127.73773580777356, -94.407745643708722);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void double4x2_operator_mod_scalar_wide()
{
double a0 = (-66.945025236785909);
double4x2 b0 = double4x2(-249.77609479137516, -396.07375664081133, 386.49204582091977, 168.93948109864232, -199.4182442163202, 261.7517141130528, 16.127438791155555, 257.66814744550186);
double4x2 r0 = double4x2(-66.945025236785909, -66.945025236785909, -66.945025236785909, -66.945025236785909, -66.945025236785909, -66.945025236785909, -2.4352700721636893, -66.945025236785909);
TestUtils.AreEqual(r0, a0 % b0);
double a1 = (-75.788451945310669);
double4x2 b1 = double4x2(170.95630439136005, -242.85828005655588, 425.94531913564788, 303.27240409668184, 3.033060790520608, -505.74352788633831, 461.95706126743789, 205.97275672013529);
double4x2 r1 = double4x2(-75.788451945310669, -75.788451945310669, -75.788451945310669, -75.788451945310669, -2.9949929728160782, -75.788451945310669, -75.788451945310669, -75.788451945310669);
TestUtils.AreEqual(r1, a1 % b1);
double a2 = (270.04063642678807);
double4x2 b2 = double4x2(-47.480711720642034, -150.254496405951, 149.49949009227544, -220.29804263836616, 31.118842377848409, 400.63568348467152, 6.2314283876826266, -39.050740021770252);
double4x2 r2 = double4x2(32.6370778235779, 119.78614002083708, 120.54114633451263, 49.742593788421914, 21.089897404000794, 270.04063642678807, 2.0892157564351237, 35.736196296166554);
TestUtils.AreEqual(r2, a2 % b2);
double a3 = (-71.941097054603063);
double4x2 b3 = double4x2(-495.30713843521994, -86.71961859926563, -436.97006365143233, -472.2947320753218, -130.00875359867177, -251.51684605866524, 281.97637022751212, 388.86081928241106);
double4x2 r3 = double4x2(-71.941097054603063, -71.941097054603063, -71.941097054603063, -71.941097054603063, -71.941097054603063, -71.941097054603063, -71.941097054603063, -71.941097054603063);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void double4x2_operator_plus()
{
double4x2 a0 = double4x2(-418.82956357432045, -405.79894823851015, -34.041791216489742, 236.99924456188421, -459.83910129025537, 210.8614223985287, 293.74197902052754, -373.015422279488);
double4x2 r0 = double4x2(-418.82956357432045, -405.79894823851015, -34.041791216489742, 236.99924456188421, -459.83910129025537, 210.8614223985287, 293.74197902052754, -373.015422279488);
TestUtils.AreEqual(r0, +a0);
double4x2 a1 = double4x2(-386.059833944803, -418.64524932328857, 504.47483062393724, -170.74650843941907, 439.55937572920664, -478.74939916969714, 116.40075665172219, 421.40964742256779);
double4x2 r1 = double4x2(-386.059833944803, -418.64524932328857, 504.47483062393724, -170.74650843941907, 439.55937572920664, -478.74939916969714, 116.40075665172219, 421.40964742256779);
TestUtils.AreEqual(r1, +a1);
double4x2 a2 = double4x2(-258.5960806620289, 124.16434031546316, 222.17254386757156, -65.949277193261878, 239.04183947250328, 498.4495329793773, -139.382530515726, 279.07295549990283);
double4x2 r2 = double4x2(-258.5960806620289, 124.16434031546316, 222.17254386757156, -65.949277193261878, 239.04183947250328, 498.4495329793773, -139.382530515726, 279.07295549990283);
TestUtils.AreEqual(r2, +a2);
double4x2 a3 = double4x2(108.7758186370022, 136.81214934997831, -236.03003965878395, -440.3083276414817, 342.2791270419392, 102.4722116470673, -161.454825714908, -355.27087919566355);
double4x2 r3 = double4x2(108.7758186370022, 136.81214934997831, -236.03003965878395, -440.3083276414817, 342.2791270419392, 102.4722116470673, -161.454825714908, -355.27087919566355);
TestUtils.AreEqual(r3, +a3);
}
[TestCompiler]
public static void double4x2_operator_neg()
{
double4x2 a0 = double4x2(148.46174890755753, -467.12267873581624, 132.04719954917539, 183.52262290917463, 473.7010145009034, -407.99109024926605, -54.958759571872065, -382.98981803608581);
double4x2 r0 = double4x2(-148.46174890755753, 467.12267873581624, -132.04719954917539, -183.52262290917463, -473.7010145009034, 407.99109024926605, 54.958759571872065, 382.98981803608581);
TestUtils.AreEqual(r0, -a0);
double4x2 a1 = double4x2(-299.09338893512887, 407.70980305583669, 168.73550351370852, 466.44152829909763, 171.90249474900895, -280.55831564616335, -78.85761622286293, 318.69633522569029);
double4x2 r1 = double4x2(299.09338893512887, -407.70980305583669, -168.73550351370852, -466.44152829909763, -171.90249474900895, 280.55831564616335, 78.85761622286293, -318.69633522569029);
TestUtils.AreEqual(r1, -a1);
double4x2 a2 = double4x2(-39.91539694737429, 132.19563180403577, -505.89525127126615, 410.38058466947666, -237.05693375182193, -137.617827241131, -245.34998547534923, 422.52133222227974);
double4x2 r2 = double4x2(39.91539694737429, -132.19563180403577, 505.89525127126615, -410.38058466947666, 237.05693375182193, 137.617827241131, 245.34998547534923, -422.52133222227974);
TestUtils.AreEqual(r2, -a2);
double4x2 a3 = double4x2(-434.57134386271764, -466.56631515294606, 426.89450116962871, 146.64955885086658, -391.37208408460583, 423.23773809114368, 254.29757296959758, -114.84889536483627);
double4x2 r3 = double4x2(434.57134386271764, 466.56631515294606, -426.89450116962871, -146.64955885086658, 391.37208408460583, -423.23773809114368, -254.29757296959758, 114.84889536483627);
TestUtils.AreEqual(r3, -a3);
}
[TestCompiler]
public static void double4x2_operator_prefix_inc()
{
double4x2 a0 = double4x2(-139.84208137348389, -56.743654039103376, -381.955324589254, 509.79634380237962, -222.89634452708827, 210.31986556310198, -392.73151058365193, -300.19410218866267);
double4x2 r0 = double4x2(-138.84208137348389, -55.743654039103376, -380.955324589254, 510.79634380237962, -221.89634452708827, 211.31986556310198, -391.73151058365193, -299.19410218866267);
TestUtils.AreEqual(r0, ++a0);
double4x2 a1 = double4x2(362.21273939787068, 130.90919429199266, -450.23016402229212, 243.54693114177644, 46.19202735190845, -41.497298975241051, 299.18547000511808, 154.35656530892311);
double4x2 r1 = double4x2(363.21273939787068, 131.90919429199266, -449.23016402229212, 244.54693114177644, 47.19202735190845, -40.497298975241051, 300.18547000511808, 155.35656530892311);
TestUtils.AreEqual(r1, ++a1);
double4x2 a2 = double4x2(-281.23327435237974, 92.957765384091886, 448.60215565590283, -295.58701171334229, 18.499063262016989, -215.71113381893895, 471.94723651928234, 257.07660090973445);
double4x2 r2 = double4x2(-280.23327435237974, 93.957765384091886, 449.60215565590283, -294.58701171334229, 19.499063262016989, -214.71113381893895, 472.94723651928234, 258.07660090973445);
TestUtils.AreEqual(r2, ++a2);
double4x2 a3 = double4x2(41.625937719655212, 243.00478588929627, -472.61902330472088, -125.7202084649914, -477.45955227197129, 9.8914859340952717, -76.922842299995409, -29.767583622488928);
double4x2 r3 = double4x2(42.625937719655212, 244.00478588929627, -471.61902330472088, -124.7202084649914, -476.45955227197129, 10.891485934095272, -75.922842299995409, -28.767583622488928);
TestUtils.AreEqual(r3, ++a3);
}
[TestCompiler]
public static void double4x2_operator_postfix_inc()
{
double4x2 a0 = double4x2(-396.6697396695007, 511.20749378167443, 249.11127030528678, -128.81731301584153, -259.49027669592306, 278.00817764830219, -81.393423356764686, 66.719732554033271);
double4x2 r0 = double4x2(-396.6697396695007, 511.20749378167443, 249.11127030528678, -128.81731301584153, -259.49027669592306, 278.00817764830219, -81.393423356764686, 66.719732554033271);
TestUtils.AreEqual(r0, a0++);
double4x2 a1 = double4x2(167.85212691493894, -326.10758486674524, 41.033564825092185, 128.5304239394751, 73.155582223625629, -60.132380275117384, -446.22976490772783, -296.93783797739906);
double4x2 r1 = double4x2(167.85212691493894, -326.10758486674524, 41.033564825092185, 128.5304239394751, 73.155582223625629, -60.132380275117384, -446.22976490772783, -296.93783797739906);
TestUtils.AreEqual(r1, a1++);
double4x2 a2 = double4x2(267.29380071689081, 49.200223230384381, -326.64314738225335, -510.86424064583343, 471.64748762159024, -171.01308186865089, 310.72735967800361, -298.91717185588425);
double4x2 r2 = double4x2(267.29380071689081, 49.200223230384381, -326.64314738225335, -510.86424064583343, 471.64748762159024, -171.01308186865089, 310.72735967800361, -298.91717185588425);
TestUtils.AreEqual(r2, a2++);
double4x2 a3 = double4x2(489.98497008252184, 290.69102896875279, 117.1923401901463, 164.44293578175962, 412.36778874526158, -229.38657079887884, 239.59693848322934, 36.624316947825378);
double4x2 r3 = double4x2(489.98497008252184, 290.69102896875279, 117.1923401901463, 164.44293578175962, 412.36778874526158, -229.38657079887884, 239.59693848322934, 36.624316947825378);
TestUtils.AreEqual(r3, a3++);
}
[TestCompiler]
public static void double4x2_operator_prefix_dec()
{
double4x2 a0 = double4x2(123.12869626056806, 256.8437465433235, 156.33078844674435, 461.73742530389563, 325.86799755965728, 392.01561731473339, 187.87412580655609, -236.2252043393558);
double4x2 r0 = double4x2(122.12869626056806, 255.8437465433235, 155.33078844674435, 460.73742530389563, 324.86799755965728, 391.01561731473339, 186.87412580655609, -237.2252043393558);
TestUtils.AreEqual(r0, --a0);
double4x2 a1 = double4x2(125.10963517292851, 45.536655685648611, 376.04684680329956, -363.07547991493504, -22.028951416736902, 248.79012667797042, 168.0950144120003, 168.26565011230559);
double4x2 r1 = double4x2(124.10963517292851, 44.536655685648611, 375.04684680329956, -364.07547991493504, -23.028951416736902, 247.79012667797042, 167.0950144120003, 167.26565011230559);
TestUtils.AreEqual(r1, --a1);
double4x2 a2 = double4x2(-190.284744112885, 183.95795854551625, 485.69469259944492, -460.73930261132273, 89.569894117102876, -267.42982090051743, 201.75623450137505, -141.21688682456357);
double4x2 r2 = double4x2(-191.284744112885, 182.95795854551625, 484.69469259944492, -461.73930261132273, 88.569894117102876, -268.42982090051743, 200.75623450137505, -142.21688682456357);
TestUtils.AreEqual(r2, --a2);
double4x2 a3 = double4x2(-217.48409782046645, -213.54412732531506, 180.74062570405226, -128.31251412644633, 478.04553888647149, -454.56614062495817, -386.89835256473083, 387.85698408068015);
double4x2 r3 = double4x2(-218.48409782046645, -214.54412732531506, 179.74062570405226, -129.31251412644633, 477.04553888647149, -455.56614062495817, -387.89835256473083, 386.85698408068015);
TestUtils.AreEqual(r3, --a3);
}
[TestCompiler]
public static void double4x2_operator_postfix_dec()
{
double4x2 a0 = double4x2(379.68831723727669, 302.69287814884115, -176.07134040448409, -291.25267066212962, 470.56758401848731, -402.92594666170231, -63.655158787805192, 355.26110069605568);
double4x2 r0 = double4x2(379.68831723727669, 302.69287814884115, -176.07134040448409, -291.25267066212962, 470.56758401848731, -402.92594666170231, -63.655158787805192, 355.26110069605568);
TestUtils.AreEqual(r0, a0--);
double4x2 a1 = double4x2(-27.889220489137415, 156.14034969924967, 479.94519613680677, -200.30429491787419, -445.0269393609031, 407.42034907239508, 327.67032519340069, 48.0602071509046);
double4x2 r1 = double4x2(-27.889220489137415, 156.14034969924967, 479.94519613680677, -200.30429491787419, -445.0269393609031, 407.42034907239508, 327.67032519340069, 48.0602071509046);
TestUtils.AreEqual(r1, a1--);
double4x2 a2 = double4x2(-209.66798100698179, 283.941595924991, -94.802087112703418, 152.51066334196867, -287.262531175866, -215.94803939384781, -407.04635567546188, 159.23357136511879);
double4x2 r2 = double4x2(-209.66798100698179, 283.941595924991, -94.802087112703418, 152.51066334196867, -287.262531175866, -215.94803939384781, -407.04635567546188, 159.23357136511879);
TestUtils.AreEqual(r2, a2--);
double4x2 a3 = double4x2(-359.45648663093175, -278.93379868144814, 289.91284073978329, 402.03954691534841, 470.71654937729079, -208.56061873611094, 145.89674789546837, -296.79095258228062);
double4x2 r3 = double4x2(-359.45648663093175, -278.93379868144814, 289.91284073978329, 402.03954691534841, 470.71654937729079, -208.56061873611094, 145.89674789546837, -296.79095258228062);
TestUtils.AreEqual(r3, a3--);
}
}
}

View File

@@ -0,0 +1,949 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using NUnit.Framework;
using static Unity.Mathematics.math;
using Burst.Compiler.IL.Tests;
namespace Unity.Mathematics.Tests
{
[TestFixture]
public class TestDouble4x3
{
[TestCompiler]
public static void double4x3_zero()
{
TestUtils.AreEqual(0.0, double4x3.zero.c0.x);
TestUtils.AreEqual(0.0, double4x3.zero.c0.y);
TestUtils.AreEqual(0.0, double4x3.zero.c0.z);
TestUtils.AreEqual(0.0, double4x3.zero.c0.w);
TestUtils.AreEqual(0.0, double4x3.zero.c1.x);
TestUtils.AreEqual(0.0, double4x3.zero.c1.y);
TestUtils.AreEqual(0.0, double4x3.zero.c1.z);
TestUtils.AreEqual(0.0, double4x3.zero.c1.w);
TestUtils.AreEqual(0.0, double4x3.zero.c2.x);
TestUtils.AreEqual(0.0, double4x3.zero.c2.y);
TestUtils.AreEqual(0.0, double4x3.zero.c2.z);
TestUtils.AreEqual(0.0, double4x3.zero.c2.w);
}
[TestCompiler]
public static void double4x3_operator_equal_wide_wide()
{
double4x3 a0 = double4x3(492.15758275061728, -495.20632027797694, 227.45765195947968, -147.37405950733182, -222.68201909897942, 64.093720704360749, -23.890404473939157, -16.8197190839889, 163.23210890741655, -165.27101071424363, 470.87767980568003, -423.94255967808078);
double4x3 b0 = double4x3(192.56880888369346, -235.61102472786376, -254.04311740307281, -412.62472052715009, 471.90480945627428, -6.4727852374654162, -339.10237447316865, 488.1875700839737, -379.5965842584132, -308.41700258311675, -82.333374300195544, -102.92108087563935);
bool4x3 r0 = bool4x3(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
double4x3 a1 = double4x3(109.63436918595539, 462.69031283943468, -335.38147727371262, 357.23446934168896, 1.5455777652308598, -347.38824741327585, -114.47217302884542, 435.84865804940864, 194.23808607563285, 138.76554710174241, -467.34914205379278, 370.43337767684523);
double4x3 b1 = double4x3(226.51573835430463, -356.90132896830391, -362.91277544708589, -427.89843746083716, 466.65013978753711, -102.79904680270658, -43.355954428834821, 85.045664111639212, -91.127054972167628, 422.19208856215334, -477.43130873024057, 1.8770024785198984);
bool4x3 r1 = bool4x3(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
double4x3 a2 = double4x3(476.70826147343416, 320.55264702465047, -498.59197377534207, 92.4169581366782, 104.51136856177425, 166.75460608618084, -204.73343024250744, 434.75675674656259, -397.32965988541469, 503.98163699730378, -503.7141270598928, 90.659743112819115);
double4x3 b2 = double4x3(312.5800799394865, 254.59934365684137, 352.72583763335172, 62.490957050812881, 119.71476059766246, -511.05808639482507, -302.47273053902791, -371.76924365189359, -20.007841834802093, 21.459455738523729, -426.02067228128232, -305.41193666374863);
bool4x3 r2 = bool4x3(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
double4x3 a3 = double4x3(-303.4452423078219, 9.3449113412503948, 290.9010785980621, -147.57193882184657, 368.08236067745941, -321.60959044173808, -171.4654224717363, -441.30646368549503, -137.76681834914109, 304.68958463551928, 301.88943948498434, -222.22090564585335);
double4x3 b3 = double4x3(261.68332517411716, 50.0047347778476, -334.13464824023407, 75.065677916196023, -51.186689639085273, -135.96155721319911, -409.36487431515235, 160.81974013187914, 102.12079553591127, 277.81306637349212, 434.90674444423371, -15.289183385339186);
bool4x3 r3 = bool4x3(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void double4x3_operator_equal_wide_scalar()
{
double4x3 a0 = double4x3(-303.2300766926399, 451.52631327674089, -253.65587413201848, -105.20363502632995, -500.6910920090466, -426.19248338518315, 159.87609656149334, -59.558379439431405, -57.477391031327386, -182.04973968400139, 406.51375861024189, 370.88599866017978);
double b0 = (123.5445759871717);
bool4x3 r0 = bool4x3(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
double4x3 a1 = double4x3(-172.03530629539642, -11.338988547836891, 363.93823044557973, -27.150561106927, -325.97606507221985, -290.35904254129116, 180.19686635779067, -374.12832015293105, -439.35894295170851, -126.54608899287234, -197.2617896521752, -227.15933357326281);
double b1 = (455.40001198993991);
bool4x3 r1 = bool4x3(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
double4x3 a2 = double4x3(-479.8991937487848, -495.23734902555, -224.51705013239621, -422.83322616239695, -450.19627043707123, -20.106708774392814, 297.37999906082632, 185.9665759475746, -102.97598962810633, -220.59704910060253, -228.686854707397, -333.00125972041917);
double b2 = (-439.77767750237962);
bool4x3 r2 = bool4x3(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
double4x3 a3 = double4x3(434.2130317325765, -239.86977707588568, 380.93927281952426, 90.349506658664723, -361.32792751925433, -453.59993836544453, 157.73248799039629, -491.04621457077855, 296.61425055964582, 482.26513432071783, -305.87698259292029, -290.10212601819171);
double b3 = (406.24874062382094);
bool4x3 r3 = bool4x3(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void double4x3_operator_equal_scalar_wide()
{
double a0 = (-253.39728534100453);
double4x3 b0 = double4x3(19.952187785856495, -185.79199346610903, 407.8136052600172, -87.2766969610363, -206.27469382354741, 160.503138855334, -274.77081478516141, -2.6315281403397535, 448.35453602688131, -410.03524251004461, 247.32901465489022, 355.53915350303942);
bool4x3 r0 = bool4x3(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
double a1 = (-298.06671180299793);
double4x3 b1 = double4x3(414.10151429385951, -481.30262707234482, 196.55074438664633, 34.60100008668428, 113.76156645350227, -386.45337861890596, -124.49174672201821, 243.8866447153905, -492.6181826501238, 145.424413033493, 421.55070968230757, -95.409988209330493);
bool4x3 r1 = bool4x3(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
double a2 = (336.80928746648567);
double4x3 b2 = double4x3(209.58380589707929, 487.441424358376, 161.80653365040507, 149.84247095409899, 225.723996505944, -71.21880176999548, 85.780251781353854, 192.547256797807, -49.887493395194156, -229.80195652218629, -103.40733413743197, 19.215747126944279);
bool4x3 r2 = bool4x3(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
double a3 = (492.88110827509365);
double4x3 b3 = double4x3(140.40315849166507, -267.53641546309757, 125.9727018466092, 478.00049398746364, 116.14462071105118, -368.95778220191494, -225.02866350162247, 2.7237255585955609, -452.2632198055569, 87.456553261474028, 401.30651802630462, -18.645524272064449);
bool4x3 r3 = bool4x3(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void double4x3_operator_not_equal_wide_wide()
{
double4x3 a0 = double4x3(430.8425316432689, 104.69001798736394, 225.80243478799355, -310.57017841496048, -418.61945815506363, 304.12820281839379, -509.32682561749908, -160.53807719076895, -203.30197606016975, -505.76325368590807, 162.17220623892365, 1.1561973100324394);
double4x3 b0 = double4x3(210.02470622305975, -55.203330304102678, -269.92533672504373, -234.54673372700194, 25.917412054686565, -63.726991444699024, -484.55371092471933, -425.333599050219, -53.274394775402925, 328.1944192984115, 15.963139303011417, 461.71412417931208);
bool4x3 r0 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
double4x3 a1 = double4x3(65.662074358045174, 102.78780250567377, 172.93008120960098, 26.621009123800832, 235.12595259171258, 128.54198533321824, -354.99697630246959, 334.35948220564023, -495.83200692377613, 468.30740163675853, 458.37094733601941, 299.93733300824522);
double4x3 b1 = double4x3(-113.36304455313973, -240.07297264787974, 495.11916970420589, 203.5583661550462, 340.49345103860526, -241.90719448863865, 459.56982896270688, 213.0737384357833, -384.7828506831, -255.07233846144396, 477.66343115161328, -248.03662621604121);
bool4x3 r1 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
double4x3 a2 = double4x3(43.12718560319729, -354.71349994964595, -145.28719551176169, 390.80186218340032, -303.13149108697263, 391.13459533785215, 139.2868607692825, 104.52318506339714, 511.29640293088573, 213.1470559635884, -101.09569625793756, 441.6633772522506);
double4x3 b2 = double4x3(-407.92344565313471, -199.78886971240343, 151.84326488889906, -97.120607659742518, 154.97589380805186, -172.83452065886672, 441.5027942329192, -401.73862785926957, -411.43016333665241, -337.8202766561044, -430.63088270213029, -150.87180502287663);
bool4x3 r2 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
double4x3 a3 = double4x3(124.36612301895684, 312.02642622218764, 59.65573766625289, -508.65682315670739, 98.699622438615052, 228.79984174892297, 337.83266965385189, -163.1544383331921, 461.69158885520494, -450.77570340166596, -443.56476637514527, -438.2131223334992);
double4x3 b3 = double4x3(-206.83699212169137, 34.955056922023687, -255.77146422852366, 99.99864320643178, -161.17557127828502, 68.853526862735634, -285.59012116379574, -428.71731229718648, -286.33740700703925, 2.0271298894784877, -4.8059971354929871, -425.33480115669539);
bool4x3 r3 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void double4x3_operator_not_equal_wide_scalar()
{
double4x3 a0 = double4x3(-16.914588697680529, 168.83411486858233, -462.71352145760949, 130.30776959765137, 214.50161443208424, -440.26328178879959, -197.12796053529155, -169.09985860115842, -386.61117595555783, -281.02101362916687, -270.26885593601912, -403.96372313236992);
double b0 = (-145.37277109239847);
bool4x3 r0 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
double4x3 a1 = double4x3(-269.80570877241234, -71.750904831919286, -432.75573917513515, -457.36312100727258, -13.519590622521719, 273.87305773136814, 185.042454567292, -482.53069351731364, 116.39514427836764, 511.73495578753523, 230.50753628020527, 100.27476768394683);
double b1 = (299.65422763473089);
bool4x3 r1 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
double4x3 a2 = double4x3(129.68240863163135, -220.63900409482375, 140.33521921016984, 369.2123617461009, 453.81121489676241, -333.66624871532724, -373.93775218256644, 150.20429451307484, -442.16476627912596, 372.32001488856974, -95.837970539852051, 495.56669663617697);
double b2 = (321.17879048044733);
bool4x3 r2 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
double4x3 a3 = double4x3(-5.385580780629823, -459.61274812166243, 243.3090676010163, 314.10215702378287, 96.745011136282756, -168.16192944727931, -71.905446324453408, 216.60847983910162, -377.37381356646017, 142.35499841643264, -432.27255722148, 94.290808959999481);
double b3 = (-210.50298581388915);
bool4x3 r3 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void double4x3_operator_not_equal_scalar_wide()
{
double a0 = (275.79582823244664);
double4x3 b0 = double4x3(-57.196896341255353, -382.4325279586169, 97.820359990848374, -161.46364529499022, -458.39563367254829, -499.61786364932448, 327.92217818271467, 367.57121699283425, 59.7863667289663, -209.58068118318016, -62.580453186566217, -479.97497604786184);
bool4x3 r0 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
double a1 = (-49.494519495169868);
double4x3 b1 = double4x3(-114.68521338081229, 109.93924599044919, -176.28482755286842, -347.48529903380449, 85.540928165214609, -356.65954868712441, -104.24357490625397, -133.54918605347592, 243.53971135036079, 13.141311890045813, -379.98594754747393, -41.281226892620907);
bool4x3 r1 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
double a2 = (87.911684792447659);
double4x3 b2 = double4x3(-339.07727996403224, -371.82034533648766, 333.14425936953364, 294.81196011920088, -187.14565977228136, 220.19225774528093, -228.18207250730234, -499.72373914146971, 97.4059055305114, 501.60439395420462, 459.67539880223353, 158.09812290877949);
bool4x3 r2 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
double a3 = (358.48858921531985);
double4x3 b3 = double4x3(243.51259171381253, 336.70294991913386, 89.953149122164177, -65.578377515812576, -159.26015503670095, 410.58855528877518, 123.96303206494224, -239.6251271886868, -299.42983808155628, -491.29190443981992, 207.71164641515895, 271.56546724567443);
bool4x3 r3 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void double4x3_operator_less_wide_wide()
{
double4x3 a0 = double4x3(196.84256825076534, 336.40979997087732, 251.96372115424072, 257.65591466503963, 430.04588647840819, -62.419644146421774, 8.8392293494376872, -333.81671563434259, 164.67880662003472, -350.94487516532877, 3.84143662631584, 125.40972024081725);
double4x3 b0 = double4x3(-465.34502313348696, -256.15239751346053, -314.814018634527, 364.56673662949663, 100.21050290959442, 182.56098636545289, 3.116978885194726, -259.43047893207074, -437.33490749696966, -456.0437321402336, -394.2559718537405, 401.91369099259077);
bool4x3 r0 = bool4x3(false, false, false, true, false, true, false, true, false, false, false, true);
TestUtils.AreEqual(r0, a0 < b0);
double4x3 a1 = double4x3(-111.12994127680076, 70.005523475820951, 448.19828173527412, -419.98711200244122, -258.30166757213965, -34.832201735504043, -69.859397682295821, 67.767227442826766, -139.77729207825723, 385.43464130229995, 133.707390609061, 506.18837117878184);
double4x3 b1 = double4x3(313.43916454605721, 121.28668194696616, -28.012290729215522, -282.96589697663012, 330.06440631023816, 124.09937077579059, -183.69031700104955, 373.0607623406969, 109.75094013556418, -203.57134232463841, 45.6486556742567, -360.95226280808089);
bool4x3 r1 = bool4x3(true, true, false, true, true, true, false, true, true, false, false, false);
TestUtils.AreEqual(r1, a1 < b1);
double4x3 a2 = double4x3(34.442885653322037, 412.11373896715872, -84.809773246203463, 444.78534504621541, -78.754743374304269, 366.97754376334024, 127.18045788965208, 428.36845489422251, 8.1976149120356467, -71.137346062407516, -474.05081937930117, 322.42891875022508);
double4x3 b2 = double4x3(211.91309867236441, -313.28636207863985, -259.66108691862837, 79.0985401045059, 446.49610897828643, 450.52455660818362, -375.63076728192658, -53.941822792376286, -291.4537471697916, 190.77482303919965, 54.083913589866825, -163.63087637891567);
bool4x3 r2 = bool4x3(true, false, false, false, true, true, false, false, false, true, true, false);
TestUtils.AreEqual(r2, a2 < b2);
double4x3 a3 = double4x3(6.8978650602036851, 195.73355993802363, -267.69061315604051, -243.79369961647024, 319.25079336727538, -425.15620370635588, 71.873970303625811, 313.84387626957334, 397.27906126402274, -309.14588584990514, -38.667860764389786, -266.11969554895518);
double4x3 b3 = double4x3(-212.00563750602566, 406.09049649075166, -183.01893743454428, 355.22140304894253, -81.042213716098217, -275.71481693709029, 405.29925007619863, -510.64058065351128, 398.06925815999011, -4.35550666058225, 129.24267083464315, -276.1465247963306);
bool4x3 r3 = bool4x3(false, true, true, true, false, true, true, false, true, true, true, false);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void double4x3_operator_less_wide_scalar()
{
double4x3 a0 = double4x3(-132.05731708000292, -192.46500477216438, -66.834607870706634, -379.01750081545561, -360.28242199508588, 20.927834282129879, -158.24074537970159, 437.34587522845061, -20.452607402788772, 225.29148517609178, 307.48418607725023, 274.01523292903562);
double b0 = (-156.01021845452965);
bool4x3 r0 = bool4x3(false, true, false, true, true, false, true, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 < b0);
double4x3 a1 = double4x3(373.54965584983563, 105.0301654827922, -58.010895994496934, 109.67008810381878, -108.853174498702, -44.971252223929014, 140.42607147080173, -500.08827638071415, 172.10334857371788, -197.50074610370245, -7.27149987559369, -432.99049898283113);
double b1 = (398.52368301829495);
bool4x3 r1 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 < b1);
double4x3 a2 = double4x3(62.158315449095426, -377.85232299279994, -500.25573586870718, 149.1149638393498, 119.88061695912882, 202.63918909925928, 274.95066393304182, 66.4120323967245, 274.99944580486022, -149.63581402117194, 223.75870834279749, 73.266824041151835);
double b2 = (-72.254720959931035);
bool4x3 r2 = bool4x3(false, true, true, false, false, false, false, false, false, true, false, false);
TestUtils.AreEqual(r2, a2 < b2);
double4x3 a3 = double4x3(213.09497390179661, 418.3772096197946, 421.10357947885223, -187.16683658732421, 389.10944313048822, 401.33542818638284, -106.28507929029178, 380.60798162063952, 385.65284484701829, 120.65986376659009, -13.830871826890359, -500.12711238308208);
double b3 = (322.85949459805124);
bool4x3 r3 = bool4x3(true, false, false, true, false, false, true, false, false, true, true, true);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void double4x3_operator_less_scalar_wide()
{
double a0 = (-423.117411095238);
double4x3 b0 = double4x3(385.09483617595151, -123.93348532725753, 86.376572887588509, 133.44217378154497, 161.45794947513286, 229.75426660746064, 222.57159934871436, 315.53116360098647, -447.20351883731945, 271.83385790131695, -393.60531324595462, 317.48689737798964);
bool4x3 r0 = bool4x3(true, true, true, true, true, true, true, true, false, true, true, true);
TestUtils.AreEqual(r0, a0 < b0);
double a1 = (-164.6051085761772);
double4x3 b1 = double4x3(-282.87605370342544, 296.97953071118309, -254.40115582868509, 365.61562054493265, -441.98425671178114, -131.42866021554391, 442.62897631275882, -29.792842163607872, -138.37379533535511, 9.2169721169476588, -226.7305482489665, 171.02944310523083);
bool4x3 r1 = bool4x3(false, true, false, true, false, true, true, true, true, true, false, true);
TestUtils.AreEqual(r1, a1 < b1);
double a2 = (376.62522595777421);
double4x3 b2 = double4x3(-462.58872697436658, -142.36729795409707, -456.25377414014832, 66.6102416825529, 169.37875779409831, 327.44439450253003, 64.0879266560487, -153.50390369887646, 199.38014921889646, -244.96905314408662, 472.74382112582396, -363.78010075342843);
bool4x3 r2 = bool4x3(false, false, false, false, false, false, false, false, false, false, true, false);
TestUtils.AreEqual(r2, a2 < b2);
double a3 = (-179.48750575794259);
double4x3 b3 = double4x3(-83.4251511485433, 178.88648828253451, 62.155780582761281, 409.74679560668153, -117.16365366669544, 316.60167684992848, 285.51627339307049, 18.674469718092382, 282.52931298060776, 132.92379075518056, -318.21533957040651, 314.83989181874313);
bool4x3 r3 = bool4x3(true, true, true, true, true, true, true, true, true, true, false, true);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void double4x3_operator_greater_wide_wide()
{
double4x3 a0 = double4x3(483.50140141113729, 310.81563415695712, 106.9661896726891, 295.73526038589671, 116.95757179938141, -478.29977653841479, -14.897393471979228, -33.817441717636484, -24.740548383789417, 319.78262701620474, -120.15856581561201, -289.00857962714906);
double4x3 b0 = double4x3(-471.39802454011425, -371.98528617060992, 36.900723236101044, -316.76360407320954, 19.683055648432628, 207.3091381561519, 362.79748861994483, 324.95341816775192, 340.94807140014507, 25.986035120666997, -114.2111352021858, 240.80346428640348);
bool4x3 r0 = bool4x3(true, true, true, true, true, false, false, false, false, true, false, false);
TestUtils.AreEqual(r0, a0 > b0);
double4x3 a1 = double4x3(455.85146662958505, 144.70691139283917, 63.931990891663304, -285.68304099034663, -502.0907201720824, -337.19446412529538, 474.31734274063137, -507.14510679018923, -133.56559735795742, -443.10913654934109, -464.34137056038776, -68.361549647693323);
double4x3 b1 = double4x3(273.42244757033063, 325.51576224226312, 27.341068995809678, 64.479532510265472, 200.94836983501375, 100.12266998184964, -79.00710896356361, -315.137945560337, -122.98542815213347, -163.77920229908972, -492.56600617457462, -90.797273439726439);
bool4x3 r1 = bool4x3(true, false, true, false, false, false, true, false, false, false, true, true);
TestUtils.AreEqual(r1, a1 > b1);
double4x3 a2 = double4x3(-185.99299987870876, -157.80389340119615, -74.124229227250567, -94.471165939453613, 329.61055508703487, -315.83675280019486, 404.193811843262, 131.30440503512716, -206.6339033612208, 197.39985832823436, 187.99195274524016, 362.63607542712055);
double4x3 b2 = double4x3(-284.9012335673446, -23.653687249707843, 174.93002112905026, 85.7125366133231, -441.98783012944637, 345.54374210235835, 482.21949814363359, -422.38349719642827, -30.779309048680261, 296.15423669300708, 378.05988830051376, -457.73343942022575);
bool4x3 r2 = bool4x3(true, false, false, false, true, false, false, true, false, false, false, true);
TestUtils.AreEqual(r2, a2 > b2);
double4x3 a3 = double4x3(336.09317819033436, -352.44836752137559, -183.10199865284471, 193.14483484679124, -170.216002781976, -0.49123787902817639, -326.85503760299412, -373.39623826248396, -216.58046422553269, 282.51211489481489, -275.17035616336875, -207.331757403599);
double4x3 b3 = double4x3(122.92057257654176, -509.17313766347854, 386.7706226719406, 436.41747280415962, -276.49581516743444, -163.16677554099203, 249.97064625936127, -165.02074130113272, 89.092999261381578, 404.30517287007774, -340.68884889254758, -103.78509550159106);
bool4x3 r3 = bool4x3(true, true, false, false, true, true, false, false, false, false, true, false);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void double4x3_operator_greater_wide_scalar()
{
double4x3 a0 = double4x3(64.317918092160426, -397.70346445483318, 431.87690826499693, 85.702980796668157, 246.26305233978803, 197.49155602114809, 286.1994608781298, 280.81334818564972, -405.78459210218148, 171.56538661362856, -241.80727326209063, 333.57817498481745);
double b0 = (305.85991992888034);
bool4x3 r0 = bool4x3(false, false, true, false, false, false, false, false, false, false, false, true);
TestUtils.AreEqual(r0, a0 > b0);
double4x3 a1 = double4x3(370.27919524269146, -356.5923551789449, -353.03129522550444, 396.64532608382649, 467.22205541432936, -240.0134228393498, 502.91505193287276, 315.46759024051369, -259.28970134411458, 281.23064554912537, 428.79219909608, 245.15306460352292);
double b1 = (-413.70138116073861);
bool4x3 r1 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 > b1);
double4x3 a2 = double4x3(-279.17542494422543, -124.77154856769909, -425.65293451103054, 99.132852838902181, 355.0605339273161, -456.43941256796916, 154.48902208846482, 405.52974409867534, -157.73379643155903, 186.08628639303436, 249.99909531790718, -110.0969179189284);
double b2 = (-453.86309668694764);
bool4x3 r2 = bool4x3(true, true, true, true, true, false, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 > b2);
double4x3 a3 = double4x3(-435.3045134187231, -254.34657037181154, -428.98794980951953, 255.37367761105941, -309.11230459302305, 185.50160678918553, -201.33417687254689, 23.321151029002408, -143.97610027341921, -111.77951412637697, -356.65661852278589, -318.31356945555359);
double b3 = (72.752033029101767);
bool4x3 r3 = bool4x3(false, false, false, true, false, true, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void double4x3_operator_greater_scalar_wide()
{
double a0 = (-282.67049635698572);
double4x3 b0 = double4x3(358.09997360692353, -72.5964134077525, -232.16380106292843, -60.706723956720282, 75.156642710397364, 150.88350040786133, 339.53917924479538, -498.19602965665797, 459.74610326241054, -227.96872316485678, 335.86213485145106, 76.178844248959308);
bool4x3 r0 = bool4x3(false, false, false, false, false, false, false, true, false, false, false, false);
TestUtils.AreEqual(r0, a0 > b0);
double a1 = (296.85993899817572);
double4x3 b1 = double4x3(177.49000390688423, -281.20120657663847, 244.72285162877427, 137.32857257562159, -385.33824724021287, 443.16345879210326, -353.56254141105455, 26.040673983302327, -331.7939499969566, -43.691963454565041, 20.949428806523542, -211.17984423934473);
bool4x3 r1 = bool4x3(true, true, true, true, true, false, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 > b1);
double a2 = (227.42171894173214);
double4x3 b2 = double4x3(-84.7797711290325, -375.13548701588786, -205.17813096064054, -197.04714617368165, -219.63402305340117, -210.01563344244641, -266.773715858708, 144.77848703450456, -471.71120069535039, -155.91317494023275, 99.724721716588647, -230.94484316135981);
bool4x3 r2 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 > b2);
double a3 = (-338.86889640375455);
double4x3 b3 = double4x3(334.06826630889827, -158.66085703608621, -315.01822414762262, -177.19281991626735, 171.959285100903, 198.38915047347041, 303.67832603290594, 400.69957346501735, 351.87867252523017, -31.76966072608235, 386.07330077983124, -360.34885733218346);
bool4x3 r3 = bool4x3(false, false, false, false, false, false, false, false, false, false, false, true);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void double4x3_operator_less_equal_wide_wide()
{
double4x3 a0 = double4x3(-438.52313753521219, 210.48942837980087, 4.8773329280677444, -137.29793817237857, 156.09410174009111, -363.92412035722475, -97.948485181642923, 437.29539009430232, 458.53029153241323, -294.06474675520542, 23.622613679441884, -34.284056441059363);
double4x3 b0 = double4x3(-474.8141498392514, 304.3710555063426, 234.8241737982371, -390.48543209139513, -297.17535295019638, -326.29239121372461, 107.2538764976216, -413.13107342884462, 67.094432623635271, 470.07522724106684, -84.499104777583455, 392.78422683886447);
bool4x3 r0 = bool4x3(false, true, true, false, false, true, true, false, false, true, false, true);
TestUtils.AreEqual(r0, a0 <= b0);
double4x3 a1 = double4x3(149.736484835733, -418.8866781754823, -197.50252899783783, -88.2055118494693, -376.71814292330208, 341.62712899857536, -83.309179106405566, -107.49073295830317, 319.46688833807912, 205.35738501574724, 345.56372968552807, 395.32190746596177);
double4x3 b1 = double4x3(-263.53175485484849, 369.30090039284005, -333.32529298091555, 238.41347443238533, 486.24259279959028, 279.65021408705513, 236.05201803709008, 132.75898248178839, 66.294708998079727, 183.00210699020056, 200.13055071613314, 339.043800750302);
bool4x3 r1 = bool4x3(false, true, false, true, true, false, true, true, false, false, false, false);
TestUtils.AreEqual(r1, a1 <= b1);
double4x3 a2 = double4x3(-222.87415490992095, 439.02200790821666, -368.0755667016262, -200.03860173003682, 71.46990660180802, -357.36542932939039, 141.7108519737194, 319.0170969064427, 303.03015889927292, -461.57424829042247, 277.62674749904625, 182.178105677561);
double4x3 b2 = double4x3(438.53791710293751, 145.40187866306019, 178.16310199450845, 157.97596724237133, 329.7052015409364, -243.59091221708383, 5.4011614347813293, -22.580605278993289, -90.33759478961008, -72.19107798123315, -354.35482399275281, -289.52172650467685);
bool4x3 r2 = bool4x3(true, false, true, true, true, true, false, false, false, true, false, false);
TestUtils.AreEqual(r2, a2 <= b2);
double4x3 a3 = double4x3(-337.41483441806156, -361.39166109701227, 222.14351020666936, -464.7795028466636, -146.8536623208102, 80.175055302761052, -260.34730088913221, 94.489041134011472, 174.2811945296271, -303.81969251475283, 81.417447366480474, 503.048130508069);
double4x3 b3 = double4x3(85.176270763006187, 469.32790468136216, 294.71383656874013, 461.60593411959985, -245.93047892578431, -124.04044610077534, 278.39260948747051, -42.881244917810534, -328.34883824379597, 98.985619352658091, -375.8998207412194, -197.93427309670221);
bool4x3 r3 = bool4x3(true, true, true, true, false, false, true, false, false, true, false, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void double4x3_operator_less_equal_wide_scalar()
{
double4x3 a0 = double4x3(193.4958237118534, 168.91555197952107, -313.9930695565385, 81.826965131716292, 18.503590830836288, -0.35819602029312136, 241.36115776810846, -463.81641242644582, -1.3577692515020203, -268.89945591096739, 398.9919504593089, -471.253072242836);
double b0 = (443.85054299042122);
bool4x3 r0 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 <= b0);
double4x3 a1 = double4x3(-264.93778264938749, 11.246050124636895, 424.7040156911612, 426.48223157715154, 56.319978501796754, -196.28791126808522, 31.901173844887467, -152.2575724833913, -437.92645975478297, -37.104814785115821, -47.144214413661587, 333.6230348710078);
double b1 = (82.258299150624453);
bool4x3 r1 = bool4x3(true, true, false, false, true, true, true, true, true, true, true, false);
TestUtils.AreEqual(r1, a1 <= b1);
double4x3 a2 = double4x3(-274.80387438219225, -260.46056926458169, 192.30916008367626, 145.30606777281787, -466.13296363602063, -494.26732968458316, -111.57013922164691, -139.54120332540072, -146.58935148389514, 33.984021917909445, -445.70445248377717, -451.04219624541804);
double b2 = (358.67627804292192);
bool4x3 r2 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 <= b2);
double4x3 a3 = double4x3(-122.03926115950537, -202.46552119146361, -76.564869677910963, 218.03280482908372, -103.5359361653849, -283.35842312656268, -374.76167910860931, -213.49586568283655, 477.49183891596829, -383.37006849021191, 23.964948426915726, -5.9607760933976692);
double b3 = (83.327714720427821);
bool4x3 r3 = bool4x3(true, true, true, false, true, true, true, true, false, true, true, true);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void double4x3_operator_less_equal_scalar_wide()
{
double a0 = (393.60626644343427);
double4x3 b0 = double4x3(-75.688363825757222, -44.2638714519627, 125.86491566797019, 191.96488174794467, 13.543054825413492, -197.0519259893577, -423.945100743298, -330.04861680141119, 420.16553779140372, 105.54730777887039, 174.82126363311954, 296.71757831085358);
bool4x3 r0 = bool4x3(false, false, false, false, false, false, false, false, true, false, false, false);
TestUtils.AreEqual(r0, a0 <= b0);
double a1 = (-469.70041845259277);
double4x3 b1 = double4x3(123.26718979853536, 112.9969695140594, 495.14339493920249, -488.65789364681478, 388.53941148730894, -493.24077080806751, 16.451064832718657, -387.6516336815672, -229.1773127192526, -373.01533930982248, -391.142134610164, 90.994149488859875);
bool4x3 r1 = bool4x3(true, true, true, false, true, false, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 <= b1);
double a2 = (-178.39613517485378);
double4x3 b2 = double4x3(-69.621067317957568, 471.7908458522478, -67.4667532758167, 45.305359623071467, -154.69219000390365, 385.73888248286153, -431.652945004242, -331.67304841227508, -349.89271013340573, -114.83913021666888, -245.21782671903156, -486.69548224224496);
bool4x3 r2 = bool4x3(true, true, true, true, true, true, false, false, false, true, false, false);
TestUtils.AreEqual(r2, a2 <= b2);
double a3 = (391.95091957224111);
double4x3 b3 = double4x3(-125.77055150166643, -229.81227527829458, 289.44901265271426, -200.49423680104979, 281.59270991086623, 99.901066588191838, -146.02742845659492, 124.14839774190841, 94.357016368935319, 93.920113845691162, -484.92414711645068, -270.79689396116737);
bool4x3 r3 = bool4x3(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void double4x3_operator_greater_equal_wide_wide()
{
double4x3 a0 = double4x3(-507.92858409692, 504.49748181947393, -385.43449205226938, -262.32340944107784, -37.550928848586466, -111.59527759980193, -463.70202157632542, 387.44885772627265, 456.96878573716094, -211.01015506079892, 182.41135391146474, -53.596053863687473);
double4x3 b0 = double4x3(-81.346509732933043, 297.66615047010885, 171.06540616371922, -431.03805538222105, -6.859075311040101, 319.72570362674333, 254.079170106947, 396.5724000393285, 178.83927615864172, -447.06336304501787, 288.49268569075161, 474.88929460704765);
bool4x3 r0 = bool4x3(false, true, false, true, false, false, false, false, true, true, false, false);
TestUtils.AreEqual(r0, a0 >= b0);
double4x3 a1 = double4x3(-309.57021608463032, -136.02249127999994, 280.73629082401112, -96.9958942388165, -174.05950673579213, 88.9019382413951, 43.816040774721728, -446.07842585354967, 16.645595796706857, 409.83252043734888, -191.32987245886113, 222.99782548798146);
double4x3 b1 = double4x3(-321.75022831640683, -395.97722048125104, -158.69246037243516, 391.48869318118727, -368.10924141859135, 89.1238043723273, -510.27932214656812, -486.92979525352354, -81.215552606254619, 274.21882046117389, -212.88155494112596, 288.99530591117);
bool4x3 r1 = bool4x3(true, true, true, false, true, false, true, true, true, true, true, false);
TestUtils.AreEqual(r1, a1 >= b1);
double4x3 a2 = double4x3(404.28838915577546, 230.60328136691976, -441.78928228923553, -86.293056289801882, 484.24954413075443, 95.2363665547391, -204.91210255628084, -199.77434620623211, -421.86318107222354, -18.214789637464492, -346.8227681344481, -159.24364073539323);
double4x3 b2 = double4x3(307.73173131967508, 307.24516620638087, -199.39178213821339, -284.42126978767163, -482.39181278757371, 448.3157362641374, -378.3461889598268, -390.8584684761513, 8.9160292190108521, 416.40721984226593, -213.67494664605471, 455.24810788372906);
bool4x3 r2 = bool4x3(true, false, false, true, true, false, true, true, false, false, false, false);
TestUtils.AreEqual(r2, a2 >= b2);
double4x3 a3 = double4x3(112.9177020121914, 48.29104115827522, 390.66016525340274, 154.21916706590878, -32.748053804388292, -288.2656096370265, 122.70425826064513, 321.2779754704228, 230.18381487121053, 116.87426024157287, -93.515688701307283, 229.98230730275736);
double4x3 b3 = double4x3(-236.08035980727539, -248.37309348228064, 184.18512567513858, 415.31133885649558, 86.982202808830039, 485.00455950433604, 107.75893955480262, -486.66772459757874, -138.67679197093321, 14.207853562295327, -382.39416211768713, -117.00821524346628);
bool4x3 r3 = bool4x3(true, true, true, false, false, false, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void double4x3_operator_greater_equal_wide_scalar()
{
double4x3 a0 = double4x3(465.15218732559686, -424.8860745024337, -209.22109685150025, 58.779852656079356, -302.26910533675414, 140.12558252183976, 16.353385694489475, -344.55997316192838, 393.27804846003562, -315.70155086913218, 441.0115565923096, -509.78156757251435);
double b0 = (-5.5998842742293391);
bool4x3 r0 = bool4x3(true, false, false, true, false, true, true, false, true, false, true, false);
TestUtils.AreEqual(r0, a0 >= b0);
double4x3 a1 = double4x3(-36.994287269652943, -164.97393830352183, -466.12009046325466, -123.8137477020797, 215.65121779947128, 104.99569730879534, 314.34603014325069, 190.51609882643265, -83.111429014760745, -23.836435567511444, 143.04935962662535, -264.91997945724052);
double b1 = (494.82028865014217);
bool4x3 r1 = bool4x3(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 >= b1);
double4x3 a2 = double4x3(-169.70222457205051, 359.09582035573931, -260.42331016269668, 354.19514219565087, -111.84533768140028, 33.309096113456917, 355.63126938214123, -435.36056753404466, -38.39930893778768, -93.29572896533449, -338.84962169213668, 436.89581676800537);
double b2 = (329.70751610850334);
bool4x3 r2 = bool4x3(false, true, false, true, false, false, true, false, false, false, false, true);
TestUtils.AreEqual(r2, a2 >= b2);
double4x3 a3 = double4x3(511.08413982348713, -453.79924771459741, 170.91899998994495, -182.82575591971437, -207.51692710049309, -319.500592142111, -240.5086177515372, 436.34132286363342, -66.956061632817637, 303.32088174639307, 180.19605907248149, 337.9651765012951);
double b3 = (-277.67452419813469);
bool4x3 r3 = bool4x3(true, false, true, true, true, false, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void double4x3_operator_greater_equal_scalar_wide()
{
double a0 = (374.82703393270594);
double4x3 b0 = double4x3(-1.609757185731894, 338.61524049314448, -116.18140392945213, -332.15732375353451, -355.9793509710484, -468.90144107719021, 38.579884785497484, -332.34754697063357, 2.8901150240051265, 467.77776477661814, 121.40638762405445, -305.02337303060267);
bool4x3 r0 = bool4x3(true, true, true, true, true, true, true, true, true, false, true, true);
TestUtils.AreEqual(r0, a0 >= b0);
double a1 = (-58.428812292604164);
double4x3 b1 = double4x3(-226.51955209789776, -47.020994446715804, 305.3026770582901, -427.40123315686418, 92.263649745035764, -497.17853736187266, -408.62564225151465, -455.23049113491106, 396.42608637196292, -469.29488561548987, -485.7540130493017, -182.34619268325446);
bool4x3 r1 = bool4x3(true, false, false, true, false, true, true, true, false, true, true, true);
TestUtils.AreEqual(r1, a1 >= b1);
double a2 = (-291.54536284671417);
double4x3 b2 = double4x3(278.740809331993, -75.87113932327884, 28.907059921374071, 287.72014988945807, 420.50978990109161, 473.62684152723614, 181.514540518408, -369.20287220981106, 243.74977385427326, -244.12415825767636, -242.9933451353541, -322.11536780098237);
bool4x3 r2 = bool4x3(false, false, false, false, false, false, false, true, false, false, false, true);
TestUtils.AreEqual(r2, a2 >= b2);
double a3 = (192.974957794405);
double4x3 b3 = double4x3(-54.725568558427312, -166.00083907228003, 244.29344117096321, 438.24940105818655, -162.69282610839832, 37.185346382290732, -506.66736459483735, -205.1630781652234, 368.3899807261256, -35.459948317827639, -20.916435966694905, 9.041354422011068);
bool4x3 r3 = bool4x3(true, true, false, false, true, true, true, true, false, true, true, true);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void double4x3_operator_add_wide_wide()
{
double4x3 a0 = double4x3(506.12905263627374, -501.77980803967444, 420.08479638587903, -186.03206476291274, -9.3123953385801883, 328.51179686585056, 424.34407659263536, 87.791079800478656, 462.41368148402012, -46.178705952213477, 401.17006296718966, -454.12414643453627);
double4x3 b0 = double4x3(-28.757987751047096, -337.135153689019, -340.676816860529, 152.31202633320913, 423.66745420157326, 90.374096674087468, 376.18866246574964, 1.7671887882831925, -120.18586045139745, -279.62936628965167, -344.66710273580026, 242.8391956029642);
double4x3 r0 = double4x3(477.37106488522664, -838.91496172869347, 79.407979525350015, -33.720038429703607, 414.35505886299308, 418.885893539938, 800.532739058385, 89.558268588761848, 342.22782103262267, -325.80807224186515, 56.502960231389409, -211.28495083157208);
TestUtils.AreEqual(r0, a0 + b0);
double4x3 a1 = double4x3(69.195687564646732, -177.95734485329939, 299.60415544156183, 340.7048587001417, 219.91602740991675, -321.90838232725321, 286.35534037573041, -333.41949311523672, -118.93216973120911, 68.607509406566351, 23.190902005504313, -205.57787547147734);
double4x3 b1 = double4x3(418.5930504363929, -23.312797318823982, -95.099945827899489, 147.92812568877275, 331.03287926830023, -82.502564230236487, 279.44956291813844, 342.6227215931857, -300.35853185335105, -209.69408736456842, 446.55942150883345, -351.98918955027557);
double4x3 r1 = double4x3(487.78873800103963, -201.27014217212337, 204.50420961366234, 488.63298438891445, 550.948906678217, -404.41094655748969, 565.80490329386885, 9.2032284779489828, -419.29070158456017, -141.08657795800207, 469.75032351433777, -557.56706502175291);
TestUtils.AreEqual(r1, a1 + b1);
double4x3 a2 = double4x3(11.521422629953122, -340.7950796283759, -68.931167873056211, 304.8532370556394, -86.633841316510825, 105.66915874633435, 349.28052799277032, 364.7078708916473, -429.03740449856843, 382.45806926417072, 186.09704479300274, 227.41184841255279);
double4x3 b2 = double4x3(-263.12385642860261, -252.4585670216282, 289.82535542632706, 338.79615537207394, -232.61900364263869, -510.50825405051387, 349.2807325559113, -426.2124495106807, -331.41632882292208, -418.68880267566482, -341.7063559692848, -329.03588143411832);
double4x3 r2 = double4x3(-251.60243379864949, -593.25364665000416, 220.89418755327085, 643.64939242771334, -319.25284495914951, -404.83909530417952, 698.56126054868162, -61.504578619033396, -760.45373332149052, -36.2307334114941, -155.60931117628206, -101.62403302156554);
TestUtils.AreEqual(r2, a2 + b2);
double4x3 a3 = double4x3(-298.76636733616067, 351.30280344155744, 98.725387857633336, -292.35170640254006, 112.17092590787024, 477.1657800512229, -266.30486619952364, -295.14070643817104, -485.82035778733916, -507.86872291372566, -338.21959582819585, 505.34219360041538);
double4x3 b3 = double4x3(123.19857245460082, 189.52859482054066, 267.56994093003209, 134.63626605581317, -337.96815530302382, 50.728011870164437, 81.16342572176984, 442.09067198358969, -148.70453769932715, 6.9743440183691519, -334.91123906472291, 43.787097712879586);
double4x3 r3 = double4x3(-175.56779488155985, 540.83139826209811, 366.29532878766543, -157.71544034672689, -225.79722939515358, 527.89379192138733, -185.1414404777538, 146.94996554541865, -634.52489548666631, -500.89437889535651, -673.13083489291876, 549.129291313295);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void double4x3_operator_add_wide_scalar()
{
double4x3 a0 = double4x3(-194.51420387742769, 338.54838696985894, 246.97140252169754, 100.51093797595752, -45.724677822424439, -478.11131094308166, 30.916145577522116, 60.37435224483454, -242.1187475855084, 82.50134495762245, 6.7993848355483806, -484.69981287638649);
double b0 = (124.121678171736);
double4x3 r0 = double4x3(-70.3925257056917, 462.67006514159493, 371.09308069343354, 224.63261614769351, 78.397000349311554, -353.98963277134567, 155.03782374925811, 184.49603041657053, -117.99706941377241, 206.62302312935844, 130.92106300728437, -360.57813470465049);
TestUtils.AreEqual(r0, a0 + b0);
double4x3 a1 = double4x3(-188.26501068298938, -267.78430688929944, 189.25996669999324, 198.53359684652355, 187.53610023648298, -424.92567582844089, 302.10236730338181, 300.39907970111778, 124.02158909850823, -200.16134295247559, 31.37822701007974, 362.52213518811493);
double b1 = (-213.52673087526426);
double4x3 r1 = double4x3(-401.79174155825365, -481.31103776456371, -24.266764175271021, -14.993134028740712, -25.990630638781283, -638.45240670370515, 88.575636428117548, 86.872348825853521, -89.505141776756034, -413.68807382773986, -182.14850386518452, 148.99540431285067);
TestUtils.AreEqual(r1, a1 + b1);
double4x3 a2 = double4x3(-423.98885961248953, 374.21141474983256, -465.69948957194549, -311.04303779781003, 84.918990413154916, -432.44245716204978, 235.75065886031405, -472.63775394514096, -257.57773721291579, 186.120703068618, -170.29822667422621, -115.27248840931452);
double b2 = (432.41331907380993);
double4x3 r2 = double4x3(8.4244594613203958, 806.62473382364249, -33.286170498135562, 121.3702812759999, 517.33230948696485, -0.029138088239847093, 668.163977934124, -40.224434871331027, 174.83558186089414, 618.534022142428, 262.11509239958372, 317.14083066449541);
TestUtils.AreEqual(r2, a2 + b2);
double4x3 a3 = double4x3(-101.16882686557659, 246.5492557243208, -397.53459066782824, -199.04838213652761, 20.585038433123827, 207.3238519203494, 197.93518671669779, -201.54056439247938, -106.63866453368155, -179.38222631224534, 203.81710610343941, -364.82094853223344);
double b3 = (257.77516973101308);
double4x3 r3 = double4x3(156.60634286543649, 504.32442545533388, -139.75942093681516, 58.726787594485472, 278.36020816413691, 465.09902165136248, 455.71035644771086, 56.2346053385337, 151.13650519733153, 78.392943418767743, 461.59227583445249, -107.04577880122037);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void double4x3_operator_add_scalar_wide()
{
double a0 = (-340.35468284243473);
double4x3 b0 = double4x3(511.36225652665007, -146.21663791789518, -106.21042661844308, -363.45024960276214, 199.08958325120136, -27.108407271610758, 419.84900041103788, 284.95503748811552, -164.92418129971446, -249.19032561461921, 150.92817718858282, 298.17509784278229);
double4x3 r0 = double4x3(171.00757368421534, -486.57132076032991, -446.56510946087781, -703.80493244519687, -141.26509959123337, -367.46309011404549, 79.494317568603151, -55.399645354319205, -505.27886414214919, -589.54500845705388, -189.4265056538519, -42.179584999652434);
TestUtils.AreEqual(r0, a0 + b0);
double a1 = (-457.15341803857751);
double4x3 b1 = double4x3(424.71807094324288, -301.85750283946163, 230.28885208363124, -423.58759351428023, -67.060037882560891, 68.7241366229598, -164.02241833695325, 318.93515339444161, 7.8045504129512437, 187.69836029210046, -3.6569664495331153, -446.0830535581722);
double4x3 r1 = double4x3(-32.435347095334635, -759.01092087803909, -226.86456595494627, -880.7410115528578, -524.21345592113835, -388.42928141561771, -621.17583637553071, -138.2182646441359, -449.34886762562627, -269.45505774647705, -460.81038448811063, -903.23647159674965);
TestUtils.AreEqual(r1, a1 + b1);
double a2 = (-209.28724227160552);
double4x3 b2 = double4x3(-38.212905186327589, -346.25717870623674, 465.60741708502519, -192.18595108398512, 278.69379843338106, 381.97845548297209, 481.24367283342576, -97.228162095522578, -455.51374289743313, 501.83498858932171, 358.70657818331688, 430.69978519468555);
double4x3 r2 = double4x3(-247.50014745793311, -555.54442097784226, 256.32017481341967, -401.47319335559064, 69.406556161775541, 172.69121321136657, 271.95643056182024, -306.5154043671281, -664.80098516903865, 292.54774631771619, 149.41933591171136, 221.41254292308003);
TestUtils.AreEqual(r2, a2 + b2);
double a3 = (256.987155795557);
double4x3 b3 = double4x3(207.65164837970008, -376.96518605619912, -428.08534093763927, -373.493553097124, -468.89328573126966, -467.65843818507085, 297.48495139623287, -506.89978646994558, -233.35846315760097, 434.55879493921941, -387.3151673690021, 171.59027751329836);
double4x3 r3 = double4x3(464.63880417525706, -119.97803026064213, -171.09818514208229, -116.506397301567, -211.90612993571267, -210.67128238951386, 554.47210719178986, -249.91263067438859, 23.628692637956021, 691.5459507347764, -130.32801157344511, 428.57743330885535);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void double4x3_operator_sub_wide_wide()
{
double4x3 a0 = double4x3(160.4922617229131, 11.223957305412682, 359.20010607279846, -498.22830485656311, -355.25362913462038, -94.534852787170053, -410.46404786150163, -401.38464398001537, 317.70681944382693, 447.0604133303558, -489.07414482956477, -230.00838218909149);
double4x3 b0 = double4x3(115.46876078260539, -130.98230630298252, 241.54083716196044, 9.9870860623135513, 419.89512582304656, 59.124466208333388, -402.38163847587145, -75.370143687059226, 320.97960796997859, -73.908757482612884, -31.444742455819949, -389.25194734579509);
double4x3 r0 = double4x3(45.023500940307713, 142.2062636083952, 117.65926891083802, -508.21539091887666, -775.14875495766694, -153.65931899550344, -8.0824093856301715, -326.01450029295614, -3.2727885261516576, 520.96917081296874, -457.62940237374482, 159.2435651567036);
TestUtils.AreEqual(r0, a0 - b0);
double4x3 a1 = double4x3(24.875419389864192, 366.61447136784648, -107.3741567634857, -219.0081404275299, 473.90756891384137, 259.63620793988753, -360.119631219711, 7.8096120393879573, 437.42847439154446, -59.1991718091067, 418.74433322378638, 183.14215072576985);
double4x3 b1 = double4x3(-375.02884000122026, 259.18275821357167, 276.648654351313, -453.06919905779381, -272.57653225240136, -191.14805301984217, 87.136884968325944, 430.02477594373033, 343.65711538105143, 121.02942067060133, -354.1881703595576, 249.05200373802893);
double4x3 r1 = double4x3(399.90425939108445, 107.4317131542748, -384.02281111479869, 234.06105863026391, 746.48410116624268, 450.78426095972969, -447.25651618803693, -422.21516390434238, 93.771359010493029, -180.22859247970803, 772.932503583344, -65.909853012259077);
TestUtils.AreEqual(r1, a1 - b1);
double4x3 a2 = double4x3(271.23036516421962, 496.20853709439211, 165.35493691514944, -227.40367113212295, -166.52285702830312, 356.14227430715334, 386.92636579411396, -394.63875717420075, 126.90326625057651, 97.2168972944919, -150.01784641575898, -227.25051246734824);
double4x3 b2 = double4x3(-2.2254426489702723, 22.447240601502017, 478.1129555544411, -320.0629958212669, -111.52409534879217, 222.22894607401872, -245.41106307013473, -119.90228348593337, -153.46565372937624, 374.11248439089979, 301.7634090398268, -281.43006552449896);
double4x3 r2 = double4x3(273.45580781318989, 473.7612964928901, -312.75801863929166, 92.659324689143943, -54.998761679510949, 133.91332823313462, 632.33742886424875, -274.73647368826738, 280.36891997995275, -276.89558709640789, -451.78125545558578, 54.179553057150713);
TestUtils.AreEqual(r2, a2 - b2);
double4x3 a3 = double4x3(-198.83000406940931, 0.66276812584271738, -484.2455706467133, -295.99628056958147, -46.170990726990169, 499.95239304935205, 292.44011725692087, -106.42413597294325, 466.82713887972159, 487.37480400846096, 242.9946106611726, -468.90158985038363);
double4x3 b3 = double4x3(-494.96436261337453, -320.73126021061614, 160.96219714030724, -132.93641025057826, -394.43753237018245, 406.85128588548457, 270.54461897096814, 507.79461335940039, 67.699203761154422, 263.40446412908125, 297.58066596536923, 170.83953746167924);
double4x3 r3 = double4x3(296.13435854396522, 321.39402833645886, -645.20776778702054, -163.05987031900321, 348.26654164319228, 93.101107163867482, 21.895498285952726, -614.21874933234358, 399.12793511856717, 223.97033987937971, -54.586055304196634, -639.74112731206287);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void double4x3_operator_sub_wide_scalar()
{
double4x3 a0 = double4x3(207.38960108877609, 248.45773684627272, -384.82393211164697, -205.34476122881506, -374.81156152058929, 191.64204820973896, 18.856238135535364, -44.96160151667965, 480.85798738936796, 16.338193185784917, -366.86545269883493, -35.523088233323335);
double b0 = (-36.112476604111691);
double4x3 r0 = double4x3(243.50207769288778, 284.57021345038441, -348.71145550753528, -169.23228462470337, -338.6990849164776, 227.75452481385065, 54.968714739647055, -8.8491249125679587, 516.9704639934796, 52.450669789896608, -330.75297609472324, 0.589388370788356);
TestUtils.AreEqual(r0, a0 - b0);
double4x3 a1 = double4x3(349.39776460705218, 490.2222661870635, 195.02405104181923, -384.84940952102158, 189.05188545447402, 55.602777745389744, -54.931482579061537, 53.088051582261983, 316.80250730961677, -273.80670917863335, 256.88723695319482, 297.17363156805447);
double b1 = (439.07729336203886);
double4x3 r1 = double4x3(-89.679528754986677, 51.144972825024638, -244.05324232021962, -823.92670288306044, -250.02540790756484, -383.47451561664911, -494.0087759411004, -385.98924177977688, -122.27478605242209, -712.88400254067221, -182.19005640884404, -141.90366179398438);
TestUtils.AreEqual(r1, a1 - b1);
double4x3 a2 = double4x3(101.82901363346218, -19.732211837420323, 336.58969966349639, -51.876563334780087, 317.34576311583896, -467.05592773251976, -50.167055391784345, 477.804535373023, -60.821922092149919, 0.41113877315592617, 46.660927078994405, -19.241408595462076);
double b2 = (136.60794765157993);
double4x3 r2 = double4x3(-34.778934018117752, -156.34015948900026, 199.98175201191646, -188.48451098636002, 180.73781546425903, -603.6638753840997, -186.77500304336428, 341.19658772144305, -197.42986974372985, -136.196808878424, -89.947020572585529, -155.849356247042);
TestUtils.AreEqual(r2, a2 - b2);
double4x3 a3 = double4x3(396.80972809195976, -334.27423373529416, -198.07713684722648, -239.20061432532992, -339.68122665010446, -14.514425522887336, 219.99709211103482, -180.26066621591366, -438.89060398512083, 186.35550102328671, -365.06679241967703, -478.80124615076988);
double b3 = (69.590537342052244);
double4x3 r3 = double4x3(327.21919074990751, -403.8647710773464, -267.66767418927873, -308.79115166738217, -409.27176399215671, -84.10496286493958, 150.40655476898257, -249.8512035579659, -508.48114132717308, 116.76496368123446, -434.65732976172927, -548.39178349282213);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void double4x3_operator_sub_scalar_wide()
{
double a0 = (-86.008225719448262);
double4x3 b0 = double4x3(466.42511413359318, 298.48694219183506, -300.95010652251085, 315.38003006362362, -381.09218543632522, -125.00837546447684, 58.466194418476107, 214.74609361158036, -257.54942739082009, 480.22459505508868, -443.35507723472784, 260.79503858312728);
double4x3 r0 = double4x3(-552.43333985304139, -384.49516791128332, 214.94188080306259, -401.38825578307188, 295.08395971687696, 39.00014974502858, -144.47442013792437, -300.75431933102863, 171.54120167137182, -566.232820774537, 357.34685151527958, -346.80326430257554);
TestUtils.AreEqual(r0, a0 - b0);
double a1 = (29.681931747906788);
double4x3 b1 = double4x3(139.85773164586055, -247.78996216868512, -248.4662297929014, 91.445112509394562, 86.384162704639266, 373.81828206303453, 260.41195428576873, 114.35393171867076, -464.40545318294573, -109.74146156652898, -311.67535057276268, 107.86401586787031);
double4x3 r1 = double4x3(-110.17579989795377, 277.47189391659191, 278.14816154080819, -61.763180761487774, -56.702230956732478, -344.13635031512774, -230.73002253786194, -84.671999970763977, 494.08738493085252, 139.42339331443577, 341.35728232066947, -78.18208411996352);
TestUtils.AreEqual(r1, a1 - b1);
double a2 = (-258.7951592219971);
double4x3 b2 = double4x3(14.097560173877355, -461.97019527012958, 30.310863747406188, 63.701105862716759, -462.67674634544028, 39.759483117498235, 47.998150132595583, -177.61928113625351, 202.47706017386031, -289.30880250097664, -459.92539832551284, 248.38668715599306);
double4x3 r2 = double4x3(-272.89271939587445, 203.17503604813248, -289.10602296940328, -322.49626508471385, 203.88158712344318, -298.55464233949533, -306.79330935459268, -81.175878085743591, -461.27221939585741, 30.513643278979544, 201.13023910351575, -507.18184637799015);
TestUtils.AreEqual(r2, a2 - b2);
double a3 = (85.3297222057962);
double4x3 b3 = double4x3(-73.374776159122, -510.65201044019869, 426.96324535224733, 239.5901807470201, 477.85233257610923, 256.01360785961788, 338.620331683485, -483.83120440125055, 330.39224139339865, -263.41821706640451, 123.92803603221103, -269.11598194256237);
double4x3 r3 = double4x3(158.70449836491821, 595.981732645995, -341.63352314645113, -154.2604585412239, -392.52261037031303, -170.68388565382168, -253.2906094776888, 569.1609266070468, -245.06251918760245, 348.74793927220071, -38.598313826414824, 354.44570414835857);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void double4x3_operator_mul_wide_wide()
{
double4x3 a0 = double4x3(-482.71381710596097, -407.29348559272171, 137.70058995937029, 208.54113278563182, 194.296573967811, -484.24241684574747, 183.98730739578014, -241.33547770294149, 45.868758938214114, 363.32610266438041, -328.11893692990714, -471.02307413100408);
double4x3 b0 = double4x3(-236.36788355389979, 260.72759139757954, -416.38629718142852, -364.49561541364324, -253.14750897751537, -369.20287220981106, 193.54791531038836, 169.08491976982214, 201.96966442930034, 249.45608317547294, -308.19319810913555, -385.57964843585137);
double4x3 r0 = double4x3(114098.04331156026, -106192.64949051509, -57336.638772880389, -76012.328533757158, -49185.69370281692, 178783.69114527057, 35610.359790024842, -40806.189885013562, 9264.0978505395742, 90633.9064860661, 101124.02453259782, 181616.91132860651);
TestUtils.AreEqual(r0, a0 * b0);
double4x3 a1 = double4x3(-262.68257415605831, -379.26274674910246, -374.09058182970182, 481.44738720424812, 104.62807397946165, 412.93539948618752, 477.87724731763694, 20.377821216535722, 291.99596299417124, -138.48832399141429, -393.46498483860165, 9.36312318284206);
double4x3 b1 = double4x3(-183.27959522198864, 22.275629292370581, -265.52144229855458, -95.677454277722859, 133.25437146669924, 148.31146080247663, 249.284127113076, 500.00547503866505, -19.331578978957396, -36.691062705913112, 30.5238278054278, -401.36701054189678);
double4x3 r1 = double4x3(48144.355863192381, -8448.3163509892329, 99329.070837727879, -46063.660376363579, 13942.148235904471, 61243.052314850727, 119127.21246477668, 10189.022177626932, -5644.7430201585421, 5081.2837796057929, -12010.057444678736, -3758.048761232847);
TestUtils.AreEqual(r1, a1 * b1);
double4x3 a2 = double4x3(-131.94228917543882, 364.44964258952518, 390.61597866128011, 418.79794974755396, -277.34480942289565, 11.410165553637853, 474.87644956767394, -502.40503358394142, -222.59489618176354, 38.169053810727291, 292.61251582420084, 203.20767245218519);
double4x3 b2 = double4x3(3.4372422711165882, 257.24176681099539, -290.97193516929258, 337.47938100317469, 490.28616284312966, -191.01981481864107, -325.73449650673871, -52.181983733634468, 123.43503743197539, -461.2670640709191, 122.35306149458188, 308.58463182513822);
double4x3 r2 = double4x3(-453.51761370170692, 93751.669973365249, -113658.28721911977, 141335.67284620318, -135978.32239641057, -2179.56771110594, -154683.64120283397, 26216.491290173308, -27476.00934236266, -17606.127389639103, 35802.037142722758, 62706.764787700849);
TestUtils.AreEqual(r2, a2 * b2);
double4x3 a3 = double4x3(-330.40815678723538, 469.4601201813017, 342.29512588227874, -504.11466359724972, 319.35728159516918, -357.7820815321906, -117.9710848880797, 25.706567060997031, 226.45642171914528, -86.343729774627718, -274.12603844056184, -486.87097452900883);
double4x3 b3 = double4x3(375.32062762571525, 203.21264204905026, 77.667988574909032, 218.793598038514, -489.89573620720569, 134.47217589918159, -287.79437960674727, -116.39999085124583, -436.54398151698706, 499.59108447450728, -300.60236396482321, 105.73045950091);
double4x3 r3 = double4x3(-124008.99677804091, 95400.23135870698, 26585.373926271874, -110297.06107241736, -156451.77058019731, -48111.735001372064, 33951.415186899816, -2992.2441707169919, -98858.187977365582, -43136.557595680068, 82402.935179544889, -51477.091854607956);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void double4x3_operator_mul_wide_scalar()
{
double4x3 a0 = double4x3(-96.318821236639678, -277.14229239017811, -239.93690191951436, 509.53140544776409, 255.85810172551226, 215.73149667295229, -455.50827500573746, -389.24327367788334, -338.29248658674419, 53.796284939067618, 243.75734459783757, 135.35469991311186);
double b0 = (-301.20720424373042);
double4x3 r0 = double4x3(29011.922860739887, 83477.255068544036, 72270.723422079071, -153474.5301092997, -77066.303503849529, -64979.880980175592, 137202.37402436248, 117242.87823519246, 101896.13410145289, -16203.828585195659, -73421.468280190238, -40769.81074207752);
TestUtils.AreEqual(r0, a0 * b0);
double4x3 a1 = double4x3(-207.35010275959507, -31.425238862366086, 42.676120539510634, 260.38388049806645, 176.86755927692525, 25.672123205695357, -290.50059689697838, 207.09101805793637, -156.52330858843555, -208.4020064847553, 370.94506400215676, -341.59844247512444);
double b1 = (-383.93960946795517);
double4x3 r1 = double4x3(79609.9174766593, 12065.393936254042, -16385.053053547093, -99971.685390178332, -67906.461636333086, -9856.5449578079042, 111534.68572283375, -79510.444597485344, 60095.497972076177, 80013.784982095211, -142420.50300705369, 131153.17259876104);
TestUtils.AreEqual(r1, a1 * b1);
double4x3 a2 = double4x3(10.270311121954705, -61.006107120311867, 186.27978214355176, -487.65221785365242, -129.37681800191143, -317.71628990663044, -207.62735686433842, 388.87138933170183, -233.33533274072005, 128.4155209662465, 510.38953399583215, 267.57635486665015);
double b2 = (-176.88876565587185);
double4x3 r2 = double4x3(-1816.7026572643401, 10791.294985981862, -32950.800730017589, 86260.198885480888, 22885.305640842493, 56200.442350346995, 36726.946872124034, -68786.980057768713, 41274.398992408111, -22715.262994775076, -90282.1746721984, -47331.251131059282);
TestUtils.AreEqual(r2, a2 * b2);
double4x3 a3 = double4x3(-309.20967569444781, -189.56950983291932, 233.20923887622041, -331.08696261564592, -98.644771860281367, -214.18099389513071, -87.880760949049488, -493.16573475914345, -407.30606551063528, -411.37138362013332, 477.93567512833317, 364.7485498696326);
double b3 = (-36.482969062627717);
double4x3 r3 = double4x3(11280.88703222569, 6916.0585624518963, -8508.1654470401063, 12079.03541414599, 3598.8541599686141, 7813.95857407891, 3206.1510829043546, 17992.150243965898, 14859.734587045124, 15008.049461863682, -17436.512449633072, -13307.11006053213);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void double4x3_operator_mul_scalar_wide()
{
double a0 = (37.432166355397612);
double4x3 b0 = double4x3(96.747546479454058, 492.18539427788244, -274.05458534604617, -452.87096926796761, 420.85330434369541, 102.18292694081686, -114.94887762654054, -351.12003843445336, -464.66496799172131, 444.08484646495663, 447.10525605040846, 130.82935124767448);
double4x3 r0 = double4x3(3621.4702542954869, 18423.565556306661, -10258.456829132712, -16951.941459168724, 15753.450899411988, 3824.9283199300971, -4302.785509682908, -13143.183689392061, -17393.41638139162, 16623.057848787463, 16736.118322851533, 4897.2260400716978);
TestUtils.AreEqual(r0, a0 * b0);
double a1 = (-321.41334191030512);
double4x3 b1 = double4x3(445.30131861441828, 478.24357317306271, 358.57170622356784, -144.89011222910608, -438.89383741789209, -3.536441089369589, -471.80755470311624, -42.560401697904069, 119.91104155402218, 271.9000023677479, 239.6840079946835, 487.44143389511919);
double4x3 r1 = double4x3(-143125.78497292573, -153713.86510067963, -115249.73041179709, 46569.615181316156, 141066.33502832282, 1136.6593490031996, 151645.24289565769, 13679.48094276837, -38541.008597823733, -87392.288426437735, -77037.638012027513, -156670.18025378135);
TestUtils.AreEqual(r1, a1 * b1);
double a2 = (-79.188288010278825);
double4x3 b2 = double4x3(-112.92564468873928, 161.3700478828373, 459.75914332818195, -337.19599811043406, -276.83451689259823, 469.72386405883537, -274.56515110403541, 506.78586625810055, 65.882571966332648, 495.8556585236712, -347.27959148365983, -343.60605232026711);
double4x3 r2 = double4x3(8942.3884753582988, -12778.617827978605, -36407.539457231134, 26701.973814282486, 21922.051454877466, -37196.628632392116, 21742.344263212082, -40131.505136785112, -5217.1280837278719, -39265.960698698946, 27500.476310500027, 27209.575033212248);
TestUtils.AreEqual(r2, a2 * b2);
double a3 = (-183.70378860444936);
double4x3 b3 = double4x3(460.26475808595524, 437.513251746778, -324.55724755141756, -112.28778343661122, 273.13543070160574, -283.09366072485864, 1.8802692898923397, -310.81670322586626, 326.01218357962193, 243.64321982285162, 78.179342067884022, -308.66400184699523);
double4x3 r3 = double4x3(-84552.379821500348, -80372.841910535339, 59622.395994227547, 20627.691231301418, -50176.013421993011, 52005.378005059138, -345.41259214982045, 57098.205944136411, -59889.673254785805, -44758.18254924452, -14361.841328473502, 56702.746545103779);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void double4x3_operator_div_wide_wide()
{
double4x3 a0 = double4x3(-353.13144390337703, -102.79985456485292, 51.319128298814917, -191.87167868012176, 8.0418245829836223, -128.73764210973758, -136.05959779399427, -370.4710053738537, -237.69456326109105, -432.54687496300176, 200.26549181727012, 361.44157068871039);
double4x3 b0 = double4x3(-178.73954805114283, -302.09628381491467, -199.40583739029518, 278.85077561012042, 502.33758782890516, -361.48483078623417, 353.121059820578, -38.894930142394685, -75.764737402910725, -195.21784719974636, -405.03399224068687, -394.2300085473014);
double4x3 r0 = double4x3(1.97567604793504, 0.34028837848212429, -0.25736021056579439, -0.68808013268139567, 0.016008805189634039, 0.35613566917796119, -0.3853058151307277, 9.5249176182488586, 3.1372716570909582, 2.2157137842034547, -0.49444119667433889, -0.9168291678773689);
TestUtils.AreEqual(r0, a0 / b0);
double4x3 a1 = double4x3(-416.22613234828509, -450.01919362042992, -273.49744594911925, -286.90817011841955, -314.25606241554772, 177.76210340194507, 97.626988217992221, -68.107280047660367, -386.45074027890837, 263.69934690357161, -297.0270885420158, -501.77703046322659);
double4x3 b1 = double4x3(-375.82771342612227, -121.24548655433836, 447.623344391409, 338.28628007429018, -405.54420752336466, -431.16893526127978, 296.20513095343722, 437.939790691221, 39.21061684527001, 331.2897075765253, -310.61955156485533, 207.26946959610541);
double4x3 r1 = double4x3(1.1074918572499153, 3.7116366671409717, -0.61099906735420106, -0.84812239519560884, 0.77489964493560781, -0.41227947763496636, 0.32959249525403717, -0.15551745124635385, -9.855767936625206, 0.79597808465769837, 0.95624080018671487, -2.420892143165184);
TestUtils.AreEqual(r1, a1 / b1);
double4x3 a2 = double4x3(-263.40686071263946, -451.08085248017721, -416.34552903489464, -315.27873411554788, -28.181118739853218, -397.87015146662952, -261.38664376986526, 40.348221559239619, 277.24575794732471, 464.77123162931355, -336.64104358136706, 375.47808163961304);
double4x3 b2 = double4x3(-223.2929938879297, -480.091406807346, 448.67593666942605, -460.0974516626901, -220.56984601755153, -84.853158275062754, 441.3738078742166, 72.418480191574645, 44.9760778159723, -242.51539027062961, -451.30207011257392, -21.899694214528267);
double4x3 r2 = double4x3(1.1796467776541293, 0.93957285234474042, -0.92794263076704353, 0.68524338262731188, 0.12776505605218016, 4.6889256635195675, -0.59221149761645042, 0.55715366371267527, 6.1642938070706279, -1.9164607702243661, 0.74593285933165443, -17.145357280400777);
TestUtils.AreEqual(r2, a2 / b2);
double4x3 a3 = double4x3(504.34254264474964, -320.76710692083793, -156.73333914425848, 414.79707999471441, -386.05068296289568, -369.8386258416989, 386.70419687158619, 242.63180910918481, 421.73452659218322, 109.01218347857343, 182.07528242006674, 187.32643446108625);
double4x3 b3 = double4x3(-358.4866656542228, -350.94512502799978, -481.84813688781492, 406.39341921657012, -145.28866321653533, 461.7955479388105, -318.81676331107354, -250.93199908497371, 125.85955506463517, -193.80316576445625, -495.25412177259761, -315.82454815312497);
double4x3 r3 = double4x3(-1.4068655572567703, 0.914009296739044, 0.32527538688138485, 1.0206786340053058, 2.6571287422992764, -0.80087092110880154, -1.2129355836106837, -0.96692255269931449, 3.3508343993080341, -0.56248917838145251, -0.36764011527736257, -0.59313449684811248);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void double4x3_operator_div_wide_scalar()
{
double4x3 a0 = double4x3(171.34242184988341, 0.10338377957384637, 57.888263967767443, -256.13074529177078, 95.6696842162263, -290.38690461329509, -127.44869118903239, -79.7448890580539, 146.46688110496234, -499.84355687529012, 58.686315802245531, -453.20579859856787);
double b0 = (171.79682191265601);
double4x3 r0 = double4x3(0.99735501473360411, 0.00060177934855167557, 0.33695771157628673, -1.4908933846400916, 0.55687691513214455, -1.6902926455818372, -0.74185709473618289, -0.46418139852783397, 0.85255873463962106, -2.909504095072363, 0.34160303519515922, -2.6380336583233435);
TestUtils.AreEqual(r0, a0 / b0);
double4x3 a1 = double4x3(-205.03382143985192, 464.47907159499778, -293.46349753693841, -158.50557930697948, -289.5822156824089, 494.12860535743118, 203.58342680874443, 180.97040160976837, 259.11918723728468, 460.84470603468117, 490.95625924084163, -280.47805536933151);
double b1 = (481.73814247629514);
double4x3 r1 = double4x3(-0.42561259605874163, 0.96417333534650185, -0.60917637957509008, -0.32902850185830795, -0.60111955053809829, 1.0257203276814348, 0.42260184290630909, 0.37566135137134876, 0.53788389249255919, 0.95662905923493058, 1.0191351191690206, -0.582220984054907);
TestUtils.AreEqual(r1, a1 / b1);
double4x3 a2 = double4x3(-320.24387112271222, 264.80085885934568, 226.85298524929817, -192.23568949114332, 460.97652957447644, -437.89221760159927, -413.23271794488312, 249.47184693509337, 313.03501739773662, 216.78560195527302, 383.73890298592812, 82.023314752626789);
double b2 = (192.41448912043802);
double4x3 r2 = double4x3(-1.6643438474233712, 1.3762002023329898, 1.1789807840682105, -0.99907075797611689, 2.3957474911670364, -2.2757756944567169, -2.14761746807034, 1.2965335826604067, 1.6268786141245246, 1.126659447249736, 1.9943347548309338, 0.4262845024175177);
TestUtils.AreEqual(r2, a2 / b2);
double4x3 a3 = double4x3(189.57466062790468, -391.92216343056509, 121.28058701440716, 417.90175147443165, -133.26287013537382, -428.74240299162568, -188.53187641339929, 356.25952570338711, 181.96896823773579, -140.8904808223669, 474.08261678837357, -451.35772511519383);
double b3 = (314.50384273869167);
double4x3 r3 = double4x3(0.60277374984385956, -1.2461601741260666, 0.38562513563681389, 1.3287651681307089, -0.42372413950470061, -1.3632342271501279, -0.59945810127999832, 1.1327668450760029, 0.57859060370504389, -0.44797697730970815, 1.5073984872810262, -1.4351421629217054);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void double4x3_operator_div_scalar_wide()
{
double a0 = (-264.44250095283729);
double4x3 b0 = double4x3(105.58908157497137, -142.34910137129441, -288.94890679463231, 39.644133824689334, -363.99138396046658, -149.71822006521666, -395.72912306139671, 258.71868693955184, -9.6662514254759344, 117.72553282497711, -331.38655797177296, -509.98602676297821);
double4x3 r0 = double4x3(-2.5044492954044237, 1.85770404172122, 0.915187753732487, -6.670406827961755, 0.72650758398599513, 1.7662679988958405, 0.66824119212426392, -1.0221236976771717, 27.357295947825712, -2.2462629355518375, 0.79798801306648692, 0.51852891466718543);
TestUtils.AreEqual(r0, a0 / b0);
double a1 = (427.8964666928614);
double4x3 b1 = double4x3(467.61712882836218, -407.12461943511136, 252.69070994699871, 444.59937664708093, -88.313306134340053, 199.95503411067421, -218.34692607556792, -13.417186028052697, -296.13107575854804, 0.561349630617201, -289.29929865957206, 196.21833929615946);
double4x3 r1 = double4x3(0.915057298617305, -1.0510208576591884, 1.6933604990172044, 0.96243154886949345, -4.8452094641543111, 2.1399634602648847, -1.9597091398702369, -31.891669817964367, -1.4449563106364052, 762.26373610042538, -1.4790788248552968, 2.1807159729704049);
TestUtils.AreEqual(r1, a1 / b1);
double a2 = (334.73346845001606);
double4x3 b2 = double4x3(-282.39273203648293, -479.50358436978587, -473.43943927876626, 105.0507777226394, -287.63127841038227, 77.299297130340392, -210.89436421678141, -184.0682357214709, -315.14843645465953, 87.86691264429453, 101.5905373569534, 345.93639890567226);
double4x3 r2 = double4x3(-1.1853473212149495, -0.698083349866838, -0.70702489205366215, 3.1863968616567222, -1.1637589287922645, 4.3303559136585132, -1.5872091684059353, -1.818529238018717, -1.0621454201571907, 3.8095508124325947, 3.2949276296657475, 0.96761563544311813);
TestUtils.AreEqual(r2, a2 / b2);
double a3 = (-146.31811744827689);
double4x3 b3 = double4x3(479.99991177022457, -172.67688401633728, -178.0136545533378, 361.76045315422141, 349.37693111476347, -398.68612951724145, -243.7800091448147, 296.62295045360133, 477.81065224009126, 486.60035942802222, 256.91724622292315, -89.8642156542578);
double4x3 r3 = double4x3(-0.3048294673819007, 0.84735208352748281, 0.82194884328064821, -0.40446133946515234, -0.41879730576777624, 0.36700077232546224, 0.60020556222622135, -0.4932798262053712, -0.30622615205898479, -0.30069463495725229, -0.56951457949739548, 1.6282133703944957);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void double4x3_operator_mod_wide_wide()
{
double4x3 a0 = double4x3(-388.81249422059045, 181.68118842955732, -167.07872470052854, 432.82015319951813, -258.43895995730486, -170.11079629236406, 283.318293464984, 122.71651297561664, 335.27101413126616, -503.60851668920765, 191.02251848532933, 289.74269379756538);
double4x3 b0 = double4x3(436.94417187056695, 58.940049437312382, -201.11623368091705, 279.2893537391393, -397.07975954426445, 377.89994758083481, 174.69386657266591, -228.17652736798698, -317.06019106370405, -417.48011107811709, -249.9759434433542, -397.57157177364991);
double4x3 r0 = double4x3(-388.81249422059045, 4.8610401176201776, -167.07872470052854, 153.53079946037883, -258.43895995730486, -170.11079629236406, 108.62442689231807, 122.71651297561664, 18.210823067562103, -86.128405611090557, 191.02251848532933, 289.74269379756538);
TestUtils.AreEqual(r0, a0 % b0);
double4x3 a1 = double4x3(-124.03371745163281, 259.27395761165485, -274.35845030208975, -140.03080398404541, 324.5775689205982, -200.51308903494527, 211.42317328761476, -51.272212767634642, -230.63392483006879, 99.989400671790122, 399.18986649028489, 24.903281461868119);
double4x3 b1 = double4x3(-358.74544947163452, -198.1592100589346, 208.73709378425826, -12.119406944196385, 25.27141596063575, -194.12068495253135, -493.8717965995296, -312.3016990685378, -216.98060546488529, 413.57096047586344, -436.39440151508637, 3.4912750737235);
double4x3 r1 = double4x3(-124.03371745163281, 61.114747552720246, -65.621356517831487, -6.7173275978851734, 21.3205773929692, -6.3924040824139183, 211.42317328761476, -51.272212767634642, -13.653319365183506, 99.989400671790122, 399.18986649028489, 0.46435594580361794);
TestUtils.AreEqual(r1, a1 % b1);
double4x3 a2 = double4x3(50.92402961241271, -364.86367886367429, -252.62662398658068, -281.28977955565313, -364.79852192699843, -329.02623311105475, 51.6098087074281, 41.647804041229051, 254.95104443978096, -458.67762133976333, -136.79304439238882, 72.400299344398263);
double4x3 b2 = double4x3(-308.23343076754054, -441.37506195594324, 84.6008532441225, 373.16344922276369, 67.252760203207231, -320.33327522889397, 118.97936325845274, 44.823946258436877, 354.00861065183233, -253.95312249565177, -195.16280207185207, 317.14281073079576);
double4x3 r2 = double4x3(50.92402961241271, -364.86367886367429, -83.424917498335674, -281.28977955565313, -28.534720910962278, -8.6929578821607834, 51.6098087074281, 41.647804041229051, 254.95104443978096, -204.72449884411157, -136.79304439238882, 72.400299344398263);
TestUtils.AreEqual(r2, a2 % b2);
double4x3 a3 = double4x3(246.21202170393053, 325.1538137519517, 162.03465588485574, -284.76143826393479, 128.35126906649737, 262.91676032865269, 61.600772647932558, -271.4927829576157, -205.43880448371118, -341.32216302553292, 347.1544365115252, 148.0884922240341);
double4x3 b3 = double4x3(320.6931823793301, -103.99687604978533, 388.17173332170194, -199.63931593654644, -256.21731746206865, -478.12501953454921, -210.65574202810217, -272.02328432352431, -61.676538257709012, -367.82958691559247, -242.93893753874067, 162.38671191147841);
double4x3 r3 = double4x3(246.21202170393053, 13.163185602595718, 162.03465588485574, -85.122122327388354, 128.35126906649737, 262.91676032865269, 61.600772647932558, -271.4927829576157, -20.409189710584144, -341.32216302553292, 104.21549897278453, 148.0884922240341);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void double4x3_operator_mod_wide_scalar()
{
double4x3 a0 = double4x3(-244.49962889612635, -211.81931958525411, -145.92677576184587, -304.91822090042672, 155.47946436492703, -133.90778428591221, 281.30965412841624, -226.53575311719243, 335.16613046041039, 101.70649032560482, 319.47152033423606, -285.40231646476423);
double b0 = (39.634963769295723);
double4x3 r0 = double4x3(-6.6898462803520147, -13.644500738775491, -27.021884453958705, -27.473474515356656, 36.574573057039856, -15.002892978025045, 3.86490774334618, -28.360934270713813, 18.0864203060446, 22.436562787013372, 2.3918101798702764, -7.9575700796941646);
TestUtils.AreEqual(r0, a0 % b0);
double4x3 a1 = double4x3(-355.84685985923136, -330.87193957477433, -284.34358109363518, -102.68343811048356, -172.14173921017988, 206.41684517935698, -416.71365447375626, -339.256669917729, 435.29751440291182, 132.55290490600885, 226.94410215455298, -306.11827268550093);
double b1 = (259.37800061860025);
double4x3 r1 = double4x3(-96.4688592406311, -71.493938956174077, -24.965580475034926, -102.68343811048356, -172.14173921017988, 206.41684517935698, -157.335653855156, -79.878669299128774, 175.91951378431156, 132.55290490600885, 226.94410215455298, -46.740272066900673);
TestUtils.AreEqual(r1, a1 % b1);
double4x3 a2 = double4x3(115.43844633709568, -218.3474491659307, -140.04050237501065, -462.32346961569203, -211.60869822819188, 351.33104555277669, 321.04701176334504, 346.08518497370426, -94.407745643708722, 465.40920446133669, -367.19701617173712, -467.51058957889239);
double b2 = (281.88292015804109);
double4x3 r2 = double4x3(115.43844633709568, -218.3474491659307, -140.04050237501065, -180.44054945765095, -211.60869822819188, 69.4481253947356, 39.164091605303952, 64.20226481566317, -94.407745643708722, 183.5262843032956, -85.31409601369603, -185.6276694208513);
TestUtils.AreEqual(r2, a2 % b2);
double4x3 a3 = double4x3(415.21510215067076, -3.729830982037754, 128.24987822782714, 134.94156104649494, 247.61696230974837, -285.28786553316183, 433.76666017704019, -141.83102209019989, -229.7818902608854, 471.21804283150379, 377.68146651689028, 433.40759559786306);
double b3 = (506.18618011203887);
double4x3 r3 = double4x3(415.21510215067076, -3.729830982037754, 128.24987822782714, 134.94156104649494, 247.61696230974837, -285.28786553316183, 433.76666017704019, -141.83102209019989, -229.7818902608854, 471.21804283150379, 377.68146651689028, 433.40759559786306);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void double4x3_operator_mod_scalar_wide()
{
double a0 = (-66.945025236785909);
double4x3 b0 = double4x3(-249.77609479137516, -396.07375664081133, 386.49204582091977, 168.93948109864232, -199.4182442163202, 261.7517141130528, 16.127438791155555, 257.66814744550186, -75.788451945310669, 170.95630439136005, -242.85828005655588, 425.94531913564788);
double4x3 r0 = double4x3(-66.945025236785909, -66.945025236785909, -66.945025236785909, -66.945025236785909, -66.945025236785909, -66.945025236785909, -2.4352700721636893, -66.945025236785909, -66.945025236785909, -66.945025236785909, -66.945025236785909, -66.945025236785909);
TestUtils.AreEqual(r0, a0 % b0);
double a1 = (303.27240409668184);
double4x3 b1 = double4x3(3.033060790520608, -505.74352788633831, 461.95706126743789, 205.97275672013529, 270.04063642678807, -47.480711720642034, -150.254496405951, 149.49949009227544, -220.29804263836616, 31.118842377848409, 400.63568348467152, 6.2314283876826266);
double4x3 r1 = double4x3(2.999385835141652, 303.27240409668184, 303.27240409668184, 97.299647376546545, 33.23176766989377, 18.388133772829633, 2.7634112847798633, 4.2734239121309656, 82.974361458315684, 23.202822696046155, 303.27240409668184, 4.1638414879157608);
TestUtils.AreEqual(r1, a1 % b1);
double a2 = (-39.050740021770252);
double4x3 b2 = double4x3(-71.941097054603063, -495.30713843521994, -86.71961859926563, -436.97006365143233, -472.2947320753218, -130.00875359867177, -251.51684605866524, 281.97637022751212, 388.86081928241106, 50.615297579493017, 293.870868581287, 123.74424820940203);
double4x3 r2 = double4x3(-39.050740021770252, -39.050740021770252, -39.050740021770252, -39.050740021770252, -39.050740021770252, -39.050740021770252, -39.050740021770252, -39.050740021770252, -39.050740021770252, -39.050740021770252, -39.050740021770252, -39.050740021770252);
TestUtils.AreEqual(r2, a2 % b2);
double a3 = (422.90433211946129);
double4x3 b3 = double4x3(-53.8761976016109, -178.85765966161046, -362.27595799149753, 361.08526747351755, 465.27609822958527, -269.88963306596952, -159.40897734435691, -29.095214618879936, 484.49945067078784, -354.95061008769585, -328.69059411095952, -171.73922236810404);
double4x3 r3 = double4x3(45.770948908185005, 65.189012796240377, 60.628374127963752, 61.81906464594374, 422.90433211946129, 153.01469905349177, 104.08637743074746, 15.571327455142182, 422.90433211946129, 67.953722031765437, 94.213738008501764, 79.425887383253212);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void double4x3_operator_plus()
{
double4x3 a0 = double4x3(-418.82956357432045, -405.79894823851015, -34.041791216489742, 236.99924456188421, -459.83910129025537, 210.8614223985287, 293.74197902052754, -373.015422279488, -386.059833944803, 4.9544198536101476, -418.64524932328857, 504.47483062393724);
double4x3 r0 = double4x3(-418.82956357432045, -405.79894823851015, -34.041791216489742, 236.99924456188421, -459.83910129025537, 210.8614223985287, 293.74197902052754, -373.015422279488, -386.059833944803, 4.9544198536101476, -418.64524932328857, 504.47483062393724);
TestUtils.AreEqual(r0, +a0);
double4x3 a1 = double4x3(-170.74650843941907, -478.74939916969714, 116.40075665172219, 421.40964742256779, -258.5960806620289, 447.86609122150867, 124.16434031546316, 222.17254386757156, -65.949277193261878, 239.04183947250328, 498.4495329793773, -139.382530515726);
double4x3 r1 = double4x3(-170.74650843941907, -478.74939916969714, 116.40075665172219, 421.40964742256779, -258.5960806620289, 447.86609122150867, 124.16434031546316, 222.17254386757156, -65.949277193261878, 239.04183947250328, 498.4495329793773, -139.382530515726);
TestUtils.AreEqual(r1, +a1);
double4x3 a2 = double4x3(279.07295549990283, 37.999210613779383, 136.81214934997831, -236.03003965878395, -440.3083276414817, 342.2791270419392, 102.4722116470673, -161.454825714908, -355.27087919566355, 141.31435949230308, 239.32088600812517, -494.60408543730347);
double4x3 r2 = double4x3(279.07295549990283, 37.999210613779383, 136.81214934997831, -236.03003965878395, -440.3083276414817, 342.2791270419392, 102.4722116470673, -161.454825714908, -355.27087919566355, 141.31435949230308, 239.32088600812517, -494.60408543730347);
TestUtils.AreEqual(r2, +a2);
double4x3 a3 = double4x3(361.59198134094106, 141.71249515456725, 25.25630880578251, -268.22689569565784, 106.77467613423926, 176.74438079481217, 104.11991005023935, 144.61861736356218, 289.45191372998613, -393.01668781461973, -198.95573506083139, -419.00921388110578);
double4x3 r3 = double4x3(361.59198134094106, 141.71249515456725, 25.25630880578251, -268.22689569565784, 106.77467613423926, 176.74438079481217, 104.11991005023935, 144.61861736356218, 289.45191372998613, -393.01668781461973, -198.95573506083139, -419.00921388110578);
TestUtils.AreEqual(r3, +a3);
}
[TestCompiler]
public static void double4x3_operator_neg()
{
double4x3 a0 = double4x3(148.46174890755753, -467.12267873581624, 132.04719954917539, 183.52262290917463, 473.7010145009034, -407.99109024926605, -54.958759571872065, -382.98981803608581, -299.09338893512887, -383.01406377508027, 407.70980305583669, 168.73550351370852);
double4x3 r0 = double4x3(-148.46174890755753, 467.12267873581624, -132.04719954917539, -183.52262290917463, -473.7010145009034, 407.99109024926605, 54.958759571872065, 382.98981803608581, 299.09338893512887, 383.01406377508027, -407.70980305583669, -168.73550351370852);
TestUtils.AreEqual(r0, -a0);
double4x3 a1 = double4x3(466.44152829909763, -280.55831564616335, -78.85761622286293, 318.69633522569029, -39.91539694737429, 140.34000284054321, 132.19563180403577, -505.89525127126615, 410.38058466947666, -237.05693375182193, -137.617827241131, -245.34998547534923);
double4x3 r1 = double4x3(-466.44152829909763, 280.55831564616335, 78.85761622286293, -318.69633522569029, 39.91539694737429, -140.34000284054321, -132.19563180403577, 505.89525127126615, -410.38058466947666, 237.05693375182193, 137.617827241131, 245.34998547534923);
TestUtils.AreEqual(r1, -a1);
double4x3 a2 = double4x3(422.52133222227974, 60.222219256787639, -466.56631515294606, 426.89450116962871, 146.64955885086658, -391.37208408460583, 423.23773809114368, 254.29757296959758, -114.84889536483627, 108.05966263080927, -507.97628688624889, -306.24571456864743);
double4x3 r2 = double4x3(-422.52133222227974, -60.222219256787639, 466.56631515294606, -426.89450116962871, -146.64955885086658, 391.37208408460583, -423.23773809114368, -254.29757296959758, 114.84889536483627, -108.05966263080927, 507.97628688624889, 306.24571456864743);
TestUtils.AreEqual(r2, -a2);
double4x3 a3 = double4x3(219.66627298093692, -98.760666177962264, 492.11106156376707, 84.0458290968304, 300.97664298721429, -483.86463307024195, -389.157431545275, -324.68608418325243, 378.8543824529529, 190.2192524365239, -69.102404865018286, 507.49539184360549);
double4x3 r3 = double4x3(-219.66627298093692, 98.760666177962264, -492.11106156376707, -84.0458290968304, -300.97664298721429, 483.86463307024195, 389.157431545275, 324.68608418325243, -378.8543824529529, -190.2192524365239, 69.102404865018286, -507.49539184360549);
TestUtils.AreEqual(r3, -a3);
}
[TestCompiler]
public static void double4x3_operator_prefix_inc()
{
double4x3 a0 = double4x3(-139.84208137348389, -56.743654039103376, -381.955324589254, 509.79634380237962, -222.89634452708827, 210.31986556310198, -392.73151058365193, -300.19410218866267, 362.21273939787068, 401.614830919362, 130.90919429199266, -450.23016402229212);
double4x3 r0 = double4x3(-138.84208137348389, -55.743654039103376, -380.955324589254, 510.79634380237962, -221.89634452708827, 211.31986556310198, -391.73151058365193, -299.19410218866267, 363.21273939787068, 402.614830919362, 131.90919429199266, -449.23016402229212);
TestUtils.AreEqual(r0, ++a0);
double4x3 a1 = double4x3(243.54693114177644, -41.497298975241051, 299.18547000511808, 154.35656530892311, -281.23327435237974, 200.70599922943211, 92.957765384091886, 448.60215565590283, -295.58701171334229, 18.499063262016989, -215.71113381893895, 471.94723651928234);
double4x3 r1 = double4x3(244.54693114177644, -40.497298975241051, 300.18547000511808, 155.35656530892311, -280.23327435237974, 201.70599922943211, 93.957765384091886, 449.60215565590283, -294.58701171334229, 19.499063262016989, -214.71113381893895, 472.94723651928234);
TestUtils.AreEqual(r1, ++a1);
double4x3 a2 = double4x3(257.07660090973445, 4.8254301570474354, 243.00478588929627, -472.61902330472088, -125.7202084649914, -477.45955227197129, 9.8914859340952717, -76.922842299995409, -29.767583622488928, -387.17744344620849, 461.70929906410595, 13.699699169816313);
double4x3 r2 = double4x3(258.07660090973445, 5.8254301570474354, 244.00478588929627, -471.61902330472088, -124.7202084649914, -476.45955227197129, 10.891485934095272, -75.922842299995409, -28.767583622488928, -386.17744344620849, 462.70929906410595, 14.699699169816313);
TestUtils.AreEqual(r2, ++a2);
double4x3 a3 = double4x3(-46.303758404359087, -222.22908626414329, 340.81780807153223, 399.74125046270956, -311.37233772472121, 300.17795457512977, -272.77828777617697, 351.01916782512296, 436.57524010007046, -137.06332475369021, 312.57995453131377, -315.99901380948677);
double4x3 r3 = double4x3(-45.303758404359087, -221.22908626414329, 341.81780807153223, 400.74125046270956, -310.37233772472121, 301.17795457512977, -271.77828777617697, 352.01916782512296, 437.57524010007046, -136.06332475369021, 313.57995453131377, -314.99901380948677);
TestUtils.AreEqual(r3, ++a3);
}
[TestCompiler]
public static void double4x3_operator_postfix_inc()
{
double4x3 a0 = double4x3(-396.6697396695007, 511.20749378167443, 249.11127030528678, -128.81731301584153, -259.49027669592306, 278.00817764830219, -81.393423356764686, 66.719732554033271, 167.85212691493894, 147.94395048354932, -326.10758486674524, 41.033564825092185);
double4x3 r0 = double4x3(-396.6697396695007, 511.20749378167443, 249.11127030528678, -128.81731301584153, -259.49027669592306, 278.00817764830219, -81.393423356764686, 66.719732554033271, 167.85212691493894, 147.94395048354932, -326.10758486674524, 41.033564825092185);
TestUtils.AreEqual(r0, a0++);
double4x3 a1 = double4x3(128.5304239394751, -60.132380275117384, -446.22976490772783, -296.93783797739906, 267.29380071689081, 446.22930714405572, 49.200223230384381, -326.64314738225335, -510.86424064583343, 471.64748762159024, -171.01308186865089, 310.72735967800361);
double4x3 r1 = double4x3(128.5304239394751, -60.132380275117384, -446.22976490772783, -296.93783797739906, 267.29380071689081, 446.22930714405572, 49.200223230384381, -326.64314738225335, -510.86424064583343, 471.64748762159024, -171.01308186865089, 310.72735967800361);
TestUtils.AreEqual(r1, a1++);
double4x3 a2 = double4x3(-298.91717185588425, 184.60345109952777, 290.69102896875279, 117.1923401901463, 164.44293578175962, 412.36778874526158, -229.38657079887884, 239.59693848322934, 36.624316947825378, -80.708194531830145, -391.03352016538076, -478.22714136458336);
double4x3 r2 = double4x3(-298.91717185588425, 184.60345109952777, 290.69102896875279, 117.1923401901463, 164.44293578175962, 412.36778874526158, -229.38657079887884, 239.59693848322934, 36.624316947825378, -80.708194531830145, -391.03352016538076, -478.22714136458336);
TestUtils.AreEqual(r2, a2++);
double4x3 a3 = double4x3(166.86049159190645, -389.39665216458809, -52.132133269744031, 35.755328910311391, 356.05211298356392, 6.5294592410929226, -285.34983052189921, 418.0164985219094, 47.142905018824536, 31.451607480389839, 148.9468749263076, -219.80038200123255);
double4x3 r3 = double4x3(166.86049159190645, -389.39665216458809, -52.132133269744031, 35.755328910311391, 356.05211298356392, 6.5294592410929226, -285.34983052189921, 418.0164985219094, 47.142905018824536, 31.451607480389839, 148.9468749263076, -219.80038200123255);
TestUtils.AreEqual(r3, a3++);
}
[TestCompiler]
public static void double4x3_operator_prefix_dec()
{
double4x3 a0 = double4x3(123.12869626056806, 256.8437465433235, 156.33078844674435, 461.73742530389563, 325.86799755965728, 392.01561731473339, 187.87412580655609, -236.2252043393558, 125.10963517292851, 469.8447313112415, 45.536655685648611, 376.04684680329956);
double4x3 r0 = double4x3(122.12869626056806, 255.8437465433235, 155.33078844674435, 460.73742530389563, 324.86799755965728, 391.01561731473339, 186.87412580655609, -237.2252043393558, 124.10963517292851, 468.8447313112415, 44.536655685648611, 375.04684680329956);
TestUtils.AreEqual(r0, --a0);
double4x3 a1 = double4x3(-363.07547991493504, 248.79012667797042, 168.0950144120003, 168.26565011230559, -190.284744112885, 166.9455474200405, 183.95795854551625, 485.69469259944492, -460.73930261132273, 89.569894117102876, -267.42982090051743, 201.75623450137505);
double4x3 r1 = double4x3(-364.07547991493504, 247.79012667797042, 167.0950144120003, 167.26565011230559, -191.284744112885, 165.9455474200405, 182.95795854551625, 484.69469259944492, -461.73930261132273, 88.569894117102876, -268.42982090051743, 200.75623450137505);
TestUtils.AreEqual(r1, --a1);
double4x3 a2 = double4x3(-141.21688682456357, 197.36173281323249, -213.54412732531506, 180.74062570405226, -128.31251412644633, 478.04553888647149, -454.56614062495817, -386.89835256473083, 387.85698408068015, -315.11044969927076, -108.28654556548526, -286.31702937107394);
double4x3 r2 = double4x3(-142.21688682456357, 196.36173281323249, -214.54412732531506, 179.74062570405226, -129.31251412644633, 477.04553888647149, -455.56614062495817, -387.89835256473083, 386.85698408068015, -316.11044969927076, -109.28654556548526, -287.31702937107394);
TestUtils.AreEqual(r2, --a2);
double4x3 a3 = double4x3(-375.60158007945938, 78.275426662655263, 161.5319641388636, -346.8479546731561, -57.540783670517044, 455.37286231265068, 444.79814478605897, 129.82014638270255, 134.71065455987616, 61.323015956824179, -274.54334486394345, -43.3955581390278);
double4x3 r3 = double4x3(-376.60158007945938, 77.275426662655263, 160.5319641388636, -347.8479546731561, -58.540783670517044, 454.37286231265068, 443.79814478605897, 128.82014638270255, 133.71065455987616, 60.323015956824179, -275.54334486394345, -44.3955581390278);
TestUtils.AreEqual(r3, --a3);
}
[TestCompiler]
public static void double4x3_operator_postfix_dec()
{
double4x3 a0 = double4x3(379.68831723727669, 302.69287814884115, -176.07134040448409, -291.25267066212962, 470.56758401848731, -402.92594666170231, -63.655158787805192, 355.26110069605568, -27.889220489137415, -100.76183824462902, 156.14034969924967, 479.94519613680677);
double4x3 r0 = double4x3(379.68831723727669, 302.69287814884115, -176.07134040448409, -291.25267066212962, 470.56758401848731, -402.92594666170231, -63.655158787805192, 355.26110069605568, -27.889220489137415, -100.76183824462902, 156.14034969924967, 479.94519613680677);
TestUtils.AreEqual(r0, a0--);
double4x3 a1 = double4x3(-200.30429491787419, 407.42034907239508, 327.67032519340069, 48.0602071509046, -209.66798100698179, -38.435048836485976, 283.941595924991, -94.802087112703418, 152.51066334196867, -287.262531175866, -215.94803939384781, -407.04635567546188);
double4x3 r1 = double4x3(-200.30429491787419, 407.42034907239508, 327.67032519340069, 48.0602071509046, -209.66798100698179, -38.435048836485976, 283.941595924991, -94.802087112703418, 152.51066334196867, -287.262531175866, -215.94803939384781, -407.04635567546188);
TestUtils.AreEqual(r1, a1--);
double4x3 a2 = double4x3(159.23357136511879, 168.4139531442961, -278.93379868144814, 289.91284073978329, 402.03954691534841, 470.71654937729079, -208.56061873611094, 145.89674789546837, -296.79095258228062, -274.57083309561517, -250.04125630578085, -70.856303486440481);
double4x3 r2 = double4x3(159.23357136511879, 168.4139531442961, -278.93379868144814, 289.91284073978329, 402.03954691534841, 470.71654937729079, -208.56061873611094, 145.89674789546837, -296.79095258228062, -274.57083309561517, -250.04125630578085, -70.856303486440481);
TestUtils.AreEqual(r2, a2--);
double4x3 a3 = double4x3(-485.627825724719, -503.19208335466317, 397.64861387649955, 446.6215557747621, -292.8101204805123, 126.6225212209963, -250.44240700939781, 470.81648204793055, 26.943619502216393, -186.92351945998308, 45.746085426651916, -206.45597586708885);
double4x3 r3 = double4x3(-485.627825724719, -503.19208335466317, 397.64861387649955, 446.6215557747621, -292.8101204805123, 126.6225212209963, -250.44240700939781, 470.81648204793055, 26.943619502216393, -186.92351945998308, 45.746085426651916, -206.45597586708885);
TestUtils.AreEqual(r3, a3--);
}
}
}

View File

@@ -0,0 +1,974 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using NUnit.Framework;
using static Unity.Mathematics.math;
using Burst.Compiler.IL.Tests;
namespace Unity.Mathematics.Tests
{
[TestFixture]
public class TestDouble4x4
{
[TestCompiler]
public static void double4x4_zero()
{
TestUtils.AreEqual(0.0, double4x4.zero.c0.x);
TestUtils.AreEqual(0.0, double4x4.zero.c0.y);
TestUtils.AreEqual(0.0, double4x4.zero.c0.z);
TestUtils.AreEqual(0.0, double4x4.zero.c0.w);
TestUtils.AreEqual(0.0, double4x4.zero.c1.x);
TestUtils.AreEqual(0.0, double4x4.zero.c1.y);
TestUtils.AreEqual(0.0, double4x4.zero.c1.z);
TestUtils.AreEqual(0.0, double4x4.zero.c1.w);
TestUtils.AreEqual(0.0, double4x4.zero.c2.x);
TestUtils.AreEqual(0.0, double4x4.zero.c2.y);
TestUtils.AreEqual(0.0, double4x4.zero.c2.z);
TestUtils.AreEqual(0.0, double4x4.zero.c2.w);
TestUtils.AreEqual(0.0, double4x4.zero.c3.x);
TestUtils.AreEqual(0.0, double4x4.zero.c3.y);
TestUtils.AreEqual(0.0, double4x4.zero.c3.z);
TestUtils.AreEqual(0.0, double4x4.zero.c3.w);
}
[TestCompiler]
public static void double4x4_identity()
{
TestUtils.AreEqual(1.0, double4x4.identity.c0.x);
TestUtils.AreEqual(0.0, double4x4.identity.c0.y);
TestUtils.AreEqual(0.0, double4x4.identity.c0.z);
TestUtils.AreEqual(0.0, double4x4.identity.c0.w);
TestUtils.AreEqual(0.0, double4x4.identity.c1.x);
TestUtils.AreEqual(1.0, double4x4.identity.c1.y);
TestUtils.AreEqual(0.0, double4x4.identity.c1.z);
TestUtils.AreEqual(0.0, double4x4.identity.c1.w);
TestUtils.AreEqual(0.0, double4x4.identity.c2.x);
TestUtils.AreEqual(0.0, double4x4.identity.c2.y);
TestUtils.AreEqual(1.0, double4x4.identity.c2.z);
TestUtils.AreEqual(0.0, double4x4.identity.c2.w);
TestUtils.AreEqual(0.0, double4x4.identity.c3.x);
TestUtils.AreEqual(0.0, double4x4.identity.c3.y);
TestUtils.AreEqual(0.0, double4x4.identity.c3.z);
TestUtils.AreEqual(1.0, double4x4.identity.c3.w);
}
[TestCompiler]
public static void double4x4_operator_equal_wide_wide()
{
double4x4 a0 = double4x4(492.15758275061728, -495.20632027797694, 227.45765195947968, -147.37405950733182, -222.68201909897942, 64.093720704360749, -23.890404473939157, -16.8197190839889, 163.23210890741655, -165.27101071424363, 470.87767980568003, -423.94255967808078, 109.63436918595539, 462.69031283943468, -335.38147727371262, 357.23446934168896);
double4x4 b0 = double4x4(192.56880888369346, -235.61102472786376, -254.04311740307281, -412.62472052715009, 471.90480945627428, -6.4727852374654162, -339.10237447316865, 488.1875700839737, -379.5965842584132, -308.41700258311675, -82.333374300195544, -102.92108087563935, 226.51573835430463, -356.90132896830391, -362.91277544708589, -427.89843746083716);
bool4x4 r0 = bool4x4(false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
double4x4 a1 = double4x4(1.5455777652308598, -347.38824741327585, -114.47217302884542, 435.84865804940864, 194.23808607563285, 138.76554710174241, -467.34914205379278, 370.43337767684523, 476.70826147343416, 320.55264702465047, -498.59197377534207, 92.4169581366782, 104.51136856177425, 166.75460608618084, -204.73343024250744, 434.75675674656259);
double4x4 b1 = double4x4(466.65013978753711, -102.79904680270658, -43.355954428834821, 85.045664111639212, -91.127054972167628, 422.19208856215334, -477.43130873024057, 1.8770024785198984, 312.5800799394865, 254.59934365684137, 352.72583763335172, 62.490957050812881, 119.71476059766246, -511.05808639482507, -302.47273053902791, -371.76924365189359);
bool4x4 r1 = bool4x4(false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
double4x4 a2 = double4x4(-397.32965988541469, 503.98163699730378, -503.7141270598928, 90.659743112819115, -303.4452423078219, 9.3449113412503948, 290.9010785980621, -147.57193882184657, 368.08236067745941, -321.60959044173808, -171.4654224717363, -441.30646368549503, -137.76681834914109, 304.68958463551928, 301.88943948498434, -222.22090564585335);
double4x4 b2 = double4x4(-20.007841834802093, 21.459455738523729, -426.02067228128232, -305.41193666374863, 261.68332517411716, 50.0047347778476, -334.13464824023407, 75.065677916196023, -51.186689639085273, -135.96155721319911, -409.36487431515235, 160.81974013187914, 102.12079553591127, 277.81306637349212, 434.90674444423371, -15.289183385339186);
bool4x4 r2 = bool4x4(false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
double4x4 a3 = double4x4(-13.883811718730158, 307.52174844756803, -469.41294572754435, -6.4088704615872416, -290.07966317333262, 46.04458596466327, -168.61907370789862, 283.58987845275078, -244.71330058049097, -367.14044707228447, -492.86314009728989, 311.69617881984277, -90.701378149307061, -352.77372591233518, -218.71025691680154, -95.301376148733027);
double4x4 b3 = double4x4(-1.4652092463640543, 64.658699781009318, -163.0260780616785, 390.72893375471654, 113.9645836883991, -248.27529894945923, -469.58777664116946, -73.353983197991738, -420.31107183001518, 358.45325939657789, 58.718313959761645, -499.96478557026239, -168.83810313457536, -93.834922595804073, 324.846676739327, -226.35198675205555);
bool4x4 r3 = bool4x4(false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void double4x4_operator_equal_wide_scalar()
{
double4x4 a0 = double4x4(-303.2300766926399, 451.52631327674089, -253.65587413201848, -105.20363502632995, -500.6910920090466, -426.19248338518315, 159.87609656149334, -59.558379439431405, -57.477391031327386, -182.04973968400139, 406.51375861024189, 370.88599866017978, -172.03530629539642, 455.40001198993991, -11.338988547836891, 363.93823044557973);
double b0 = (123.5445759871717);
bool4x4 r0 = bool4x4(false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
double4x4 a1 = double4x4(-27.150561106927, -290.35904254129116, 180.19686635779067, -374.12832015293105, -439.35894295170851, -126.54608899287234, -197.2617896521752, -227.15933357326281, -479.8991937487848, -439.77767750237962, -495.23734902555, -224.51705013239621, -422.83322616239695, -450.19627043707123, -20.106708774392814, 297.37999906082632);
double b1 = (-325.97606507221985);
bool4x4 r1 = bool4x4(false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
double4x4 a2 = double4x4(185.9665759475746, -220.59704910060253, -228.686854707397, -333.00125972041917, 434.2130317325765, 406.24874062382094, -239.86977707588568, 380.93927281952426, 90.349506658664723, -361.32792751925433, -453.59993836544453, 157.73248799039629, -491.04621457077855, 296.61425055964582, 482.26513432071783, -305.87698259292029);
double b2 = (-102.97598962810633);
bool4x4 r2 = bool4x4(false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
double4x4 a3 = double4x4(-290.10212601819171, -110.52835588833705, 496.86356782208361, -441.10175653970884, 50.903518938880211, 66.072402269613235, 455.60591552015671, -390.04430145306713, 491.20810173973814, -498.41480588280353, 143.11344558704343, -347.0413293070352, -146.64416486893043, -243.85346924693022, -85.379532615365235, -438.4940004006466);
double b3 = (115.24653988482737);
bool4x4 r3 = bool4x4(false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void double4x4_operator_equal_scalar_wide()
{
double a0 = (-253.39728534100453);
double4x4 b0 = double4x4(19.952187785856495, -185.79199346610903, 407.8136052600172, -87.2766969610363, -206.27469382354741, 160.503138855334, -274.77081478516141, -2.6315281403397535, 448.35453602688131, -410.03524251004461, 247.32901465489022, 355.53915350303942, -298.06671180299793, 414.10151429385951, -481.30262707234482, 196.55074438664633);
bool4x4 r0 = bool4x4(false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
double a1 = (34.60100008668428);
double4x4 b1 = double4x4(113.76156645350227, -386.45337861890596, -124.49174672201821, 243.8866447153905, -492.6181826501238, 145.424413033493, 421.55070968230757, -95.409988209330493, 336.80928746648567, 209.58380589707929, 487.441424358376, 161.80653365040507, 149.84247095409899, 225.723996505944, -71.21880176999548, 85.780251781353854);
bool4x4 r1 = bool4x4(false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
double a2 = (192.547256797807);
double4x4 b2 = double4x4(-49.887493395194156, -229.80195652218629, -103.40733413743197, 19.215747126944279, 492.88110827509365, 140.40315849166507, -267.53641546309757, 125.9727018466092, 478.00049398746364, 116.14462071105118, -368.95778220191494, -225.02866350162247, 2.7237255585955609, -452.2632198055569, 87.456553261474028, 401.30651802630462);
bool4x4 r2 = bool4x4(false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
double a3 = (-18.645524272064449);
double4x4 b3 = double4x4(-294.21400060048978, -32.7313416156598, -1.252336741076931, 14.716069943605021, 0.57037043598029413, 180.78359350039796, 498.26289557770963, -503.8667087517058, -31.08398129003308, 462.9193329582547, -250.21223914353749, 347.56193820925523, -213.48793492721762, -123.75923901598867, -193.4521835751143, -242.24109827831438);
bool4x4 r3 = bool4x4(false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void double4x4_operator_not_equal_wide_wide()
{
double4x4 a0 = double4x4(430.8425316432689, 104.69001798736394, 225.80243478799355, -310.57017841496048, -418.61945815506363, 304.12820281839379, -509.32682561749908, -160.53807719076895, -203.30197606016975, -505.76325368590807, 162.17220623892365, 1.1561973100324394, 65.662074358045174, 102.78780250567377, 172.93008120960098, 26.621009123800832);
double4x4 b0 = double4x4(210.02470622305975, -55.203330304102678, -269.92533672504373, -234.54673372700194, 25.917412054686565, -63.726991444699024, -484.55371092471933, -425.333599050219, -53.274394775402925, 328.1944192984115, 15.963139303011417, 461.71412417931208, -113.36304455313973, -240.07297264787974, 495.11916970420589, 203.5583661550462);
bool4x4 r0 = bool4x4(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
double4x4 a1 = double4x4(235.12595259171258, 128.54198533321824, -354.99697630246959, 334.35948220564023, -495.83200692377613, 468.30740163675853, 458.37094733601941, 299.93733300824522, 43.12718560319729, -354.71349994964595, -145.28719551176169, 390.80186218340032, -303.13149108697263, 391.13459533785215, 139.2868607692825, 104.52318506339714);
double4x4 b1 = double4x4(340.49345103860526, -241.90719448863865, 459.56982896270688, 213.0737384357833, -384.7828506831, -255.07233846144396, 477.66343115161328, -248.03662621604121, -407.92344565313471, -199.78886971240343, 151.84326488889906, -97.120607659742518, 154.97589380805186, -172.83452065886672, 441.5027942329192, -401.73862785926957);
bool4x4 r1 = bool4x4(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
double4x4 a2 = double4x4(511.29640293088573, 213.1470559635884, -101.09569625793756, 441.6633772522506, 124.36612301895684, 312.02642622218764, 59.65573766625289, -508.65682315670739, 98.699622438615052, 228.79984174892297, 337.83266965385189, -163.1544383331921, 461.69158885520494, -450.77570340166596, -443.56476637514527, -438.2131223334992);
double4x4 b2 = double4x4(-411.43016333665241, -337.8202766561044, -430.63088270213029, -150.87180502287663, -206.83699212169137, 34.955056922023687, -255.77146422852366, 99.99864320643178, -161.17557127828502, 68.853526862735634, -285.59012116379574, -428.71731229718648, -286.33740700703925, 2.0271298894784877, -4.8059971354929871, -425.33480115669539);
bool4x4 r2 = bool4x4(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
double4x4 a3 = double4x4(22.693964253502827, -254.3687413923297, -247.48362481197512, 365.05907004189635, -337.58682290538536, 187.84500726863973, 351.81683866671142, 355.22365467400459, 151.63271696475931, 240.46585690251823, -299.29704751600377, -227.57129751312141, 263.72427499653975, -287.51186551130928, -491.85517930046433, -219.3070386477313);
double4x4 b3 = double4x4(358.04602949602815, 357.80111067267183, 125.75760966434962, -38.241931694672417, 308.15830507323062, -450.45020339007033, -156.15319473862331, 464.63997314155097, -220.86404786857963, -211.53756795243248, -476.3303417993385, 284.88652409468148, 129.86436826077488, -326.75828925089832, -72.36375263722789, -382.82787984555023);
bool4x4 r3 = bool4x4(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void double4x4_operator_not_equal_wide_scalar()
{
double4x4 a0 = double4x4(-16.914588697680529, 168.83411486858233, -462.71352145760949, 130.30776959765137, 214.50161443208424, -440.26328178879959, -197.12796053529155, -169.09985860115842, -386.61117595555783, -281.02101362916687, -270.26885593601912, -403.96372313236992, -269.80570877241234, 299.65422763473089, -71.750904831919286, -432.75573917513515);
double b0 = (-145.37277109239847);
bool4x4 r0 = bool4x4(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
double4x4 a1 = double4x4(-457.36312100727258, 273.87305773136814, 185.042454567292, -482.53069351731364, 116.39514427836764, 511.73495578753523, 230.50753628020527, 100.27476768394683, 129.68240863163135, 321.17879048044733, -220.63900409482375, 140.33521921016984, 369.2123617461009, 453.81121489676241, -333.66624871532724, -373.93775218256644);
double b1 = (-13.519590622521719);
bool4x4 r1 = bool4x4(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
double4x4 a2 = double4x4(150.20429451307484, 372.32001488856974, -95.837970539852051, 495.56669663617697, -5.385580780629823, -210.50298581388915, -459.61274812166243, 243.3090676010163, 314.10215702378287, 96.745011136282756, -168.16192944727931, -71.905446324453408, 216.60847983910162, -377.37381356646017, 142.35499841643264, -432.27255722148);
double b2 = (-442.16476627912596);
bool4x4 r2 = bool4x4(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
double4x4 a3 = double4x4(94.290808959999481, 337.81056205267578, -197.66150746013108, -46.383895180366892, 250.232084629234, 169.099159081047, -181.22105773781476, -481.96699808629558, -427.18079419954717, -249.44207226924692, -488.48895644046786, 202.56492218867174, -243.82353770165867, -222.83222852592928, -448.60260722069188, 481.97402905019658);
double b3 = (331.65338889307031);
bool4x4 r3 = bool4x4(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void double4x4_operator_not_equal_scalar_wide()
{
double a0 = (275.79582823244664);
double4x4 b0 = double4x4(-57.196896341255353, -382.4325279586169, 97.820359990848374, -161.46364529499022, -458.39563367254829, -499.61786364932448, 327.92217818271467, 367.57121699283425, 59.7863667289663, -209.58068118318016, -62.580453186566217, -479.97497604786184, -49.494519495169868, -114.68521338081229, 109.93924599044919, -176.28482755286842);
bool4x4 r0 = bool4x4(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
double a1 = (-347.48529903380449);
double4x4 b1 = double4x4(85.540928165214609, -356.65954868712441, -104.24357490625397, -133.54918605347592, 243.53971135036079, 13.141311890045813, -379.98594754747393, -41.281226892620907, 87.911684792447659, -339.07727996403224, -371.82034533648766, 333.14425936953364, 294.81196011920088, -187.14565977228136, 220.19225774528093, -228.18207250730234);
bool4x4 r1 = bool4x4(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
double a2 = (-499.72373914146971);
double4x4 b2 = double4x4(97.4059055305114, 501.60439395420462, 459.67539880223353, 158.09812290877949, 358.48858921531985, 243.51259171381253, 336.70294991913386, 89.953149122164177, -65.578377515812576, -159.26015503670095, 410.58855528877518, 123.96303206494224, -239.6251271886868, -299.42983808155628, -491.29190443981992, 207.71164641515895);
bool4x4 r2 = bool4x4(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
double a3 = (271.56546724567443);
double4x4 b3 = double4x4(-329.03772202554984, 461.00740334997295, -317.16052523123125, -102.6549857140775, 211.26339230838391, 116.4261601513374, -34.1936924616777, 391.81758159763069, -34.307318464996, 351.45941631470782, 187.74252351920234, -477.57304237669939, 276.97440660976542, 489.5649785891012, 229.2272890681528, 260.20709645944044);
bool4x4 r3 = bool4x4(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void double4x4_operator_less_wide_wide()
{
double4x4 a0 = double4x4(196.84256825076534, 336.40979997087732, 251.96372115424072, 257.65591466503963, 430.04588647840819, -62.419644146421774, 8.8392293494376872, -333.81671563434259, 164.67880662003472, -350.94487516532877, 3.84143662631584, 125.40972024081725, -111.12994127680076, 70.005523475820951, 448.19828173527412, -419.98711200244122);
double4x4 b0 = double4x4(-465.34502313348696, -256.15239751346053, -314.814018634527, 364.56673662949663, 100.21050290959442, 182.56098636545289, 3.116978885194726, -259.43047893207074, -437.33490749696966, -456.0437321402336, -394.2559718537405, 401.91369099259077, 313.43916454605721, 121.28668194696616, -28.012290729215522, -282.96589697663012);
bool4x4 r0 = bool4x4(false, false, false, true, false, true, false, true, false, false, false, true, true, true, false, true);
TestUtils.AreEqual(r0, a0 < b0);
double4x4 a1 = double4x4(-258.30166757213965, -34.832201735504043, -69.859397682295821, 67.767227442826766, -139.77729207825723, 385.43464130229995, 133.707390609061, 506.18837117878184, 34.442885653322037, 412.11373896715872, -84.809773246203463, 444.78534504621541, -78.754743374304269, 366.97754376334024, 127.18045788965208, 428.36845489422251);
double4x4 b1 = double4x4(330.06440631023816, 124.09937077579059, -183.69031700104955, 373.0607623406969, 109.75094013556418, -203.57134232463841, 45.6486556742567, -360.95226280808089, 211.91309867236441, -313.28636207863985, -259.66108691862837, 79.0985401045059, 446.49610897828643, 450.52455660818362, -375.63076728192658, -53.941822792376286);
bool4x4 r1 = bool4x4(true, true, false, true, true, false, false, false, true, false, false, false, true, true, false, false);
TestUtils.AreEqual(r1, a1 < b1);
double4x4 a2 = double4x4(8.1976149120356467, -71.137346062407516, -474.05081937930117, 322.42891875022508, 6.8978650602036851, 195.73355993802363, -267.69061315604051, -243.79369961647024, 319.25079336727538, -425.15620370635588, 71.873970303625811, 313.84387626957334, 397.27906126402274, -309.14588584990514, -38.667860764389786, -266.11969554895518);
double4x4 b2 = double4x4(-291.4537471697916, 190.77482303919965, 54.083913589866825, -163.63087637891567, -212.00563750602566, 406.09049649075166, -183.01893743454428, 355.22140304894253, -81.042213716098217, -275.71481693709029, 405.29925007619863, -510.64058065351128, 398.06925815999011, -4.35550666058225, 129.24267083464315, -276.1465247963306);
bool4x4 r2 = bool4x4(false, true, true, false, false, true, true, true, false, true, true, false, true, true, true, false);
TestUtils.AreEqual(r2, a2 < b2);
double4x4 a3 = double4x4(193.38248524134167, 300.23104276332583, -395.21399826333578, -398.90144342877966, 401.48417992213933, 191.81577286115646, 56.605353143348111, -165.21084673945364, 178.28980859475666, -380.72623675909188, -462.47456357557076, 386.18420690399796, -93.297623439364884, 305.4957617751769, -148.77020056022803, 387.03698438547406);
double4x4 b3 = double4x4(-72.6235359053237, -86.838862221147338, -196.58645186041781, 492.35897206345521, 63.7446153460744, -384.8041357401778, -473.30515144453625, -407.73580593976, -500.2438592856023, -303.77732839424971, 192.0832718313128, 114.89836483583713, -72.4967654088963, -360.12007753929129, -185.21557458919267, 389.65519422556054);
bool4x4 r3 = bool4x4(false, false, true, true, false, false, false, false, false, true, true, false, true, false, false, true);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void double4x4_operator_less_wide_scalar()
{
double4x4 a0 = double4x4(-132.05731708000292, -192.46500477216438, -66.834607870706634, -379.01750081545561, -360.28242199508588, 20.927834282129879, -158.24074537970159, 437.34587522845061, -20.452607402788772, 225.29148517609178, 307.48418607725023, 274.01523292903562, 373.54965584983563, 398.52368301829495, 105.0301654827922, -58.010895994496934);
double b0 = (-156.01021845452965);
bool4x4 r0 = bool4x4(false, true, false, true, true, false, true, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 < b0);
double4x4 a1 = double4x4(109.67008810381878, -44.971252223929014, 140.42607147080173, -500.08827638071415, 172.10334857371788, -197.50074610370245, -7.27149987559369, -432.99049898283113, 62.158315449095426, -72.254720959931035, -377.85232299279994, -500.25573586870718, 149.1149638393498, 119.88061695912882, 202.63918909925928, 274.95066393304182);
double b1 = (-108.853174498702);
bool4x4 r1 = bool4x4(false, false, false, true, false, true, false, true, false, false, true, true, false, false, false, false);
TestUtils.AreEqual(r1, a1 < b1);
double4x4 a2 = double4x4(66.4120323967245, -149.63581402117194, 223.75870834279749, 73.266824041151835, 213.09497390179661, 322.85949459805124, 418.3772096197946, 421.10357947885223, -187.16683658732421, 389.10944313048822, 401.33542818638284, -106.28507929029178, 380.60798162063952, 385.65284484701829, 120.65986376659009, -13.830871826890359);
double b2 = (274.99944580486022);
bool4x4 r2 = bool4x4(true, true, true, true, true, false, false, false, true, false, false, true, false, false, true, true);
TestUtils.AreEqual(r2, a2 < b2);
double4x4 a3 = double4x4(-500.12711238308208, 431.94365926829335, 129.68896704990834, -143.96904069928871, 183.88643297175247, -506.96425866846192, 452.43689200488711, -458.02700183262442, 89.559262555818691, -418.81744475793903, -292.38842238690165, 425.60161109715773, 342.43242875786143, -406.58913178303703, -407.15500302200905, 511.0645689959938);
double b3 = (487.52823494725317);
bool4x4 r3 = bool4x4(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, false);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void double4x4_operator_less_scalar_wide()
{
double a0 = (-423.117411095238);
double4x4 b0 = double4x4(385.09483617595151, -123.93348532725753, 86.376572887588509, 133.44217378154497, 161.45794947513286, 229.75426660746064, 222.57159934871436, 315.53116360098647, -447.20351883731945, 271.83385790131695, -393.60531324595462, 317.48689737798964, -164.6051085761772, -282.87605370342544, 296.97953071118309, -254.40115582868509);
bool4x4 r0 = bool4x4(true, true, true, true, true, true, true, true, false, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 < b0);
double a1 = (365.61562054493265);
double4x4 b1 = double4x4(-441.98425671178114, -131.42866021554391, 442.62897631275882, -29.792842163607872, -138.37379533535511, 9.2169721169476588, -226.7305482489665, 171.02944310523083, 376.62522595777421, -462.58872697436658, -142.36729795409707, -456.25377414014832, 66.6102416825529, 169.37875779409831, 327.44439450253003, 64.0879266560487);
bool4x4 r1 = bool4x4(false, false, true, false, false, false, false, false, true, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 < b1);
double a2 = (-153.50390369887646);
double4x4 b2 = double4x4(199.38014921889646, -244.96905314408662, 472.74382112582396, -363.78010075342843, -179.48750575794259, -83.4251511485433, 178.88648828253451, 62.155780582761281, 409.74679560668153, -117.16365366669544, 316.60167684992848, 285.51627339307049, 18.674469718092382, 282.52931298060776, 132.92379075518056, -318.21533957040651);
bool4x4 r2 = bool4x4(true, false, true, false, false, true, true, true, true, true, true, true, true, true, true, false);
TestUtils.AreEqual(r2, a2 < b2);
double a3 = (314.83989181874313);
double4x4 b3 = double4x4(78.003720081413007, 116.83946638779685, -134.37564212380704, 118.6754310683699, 11.468631511306739, 378.84954255579487, -198.89287886344493, 474.41273067631425, 296.83272351735866, 180.34299358182727, -147.06110269718857, 259.78493774113474, -1.8137605198722895, -409.54489989278136, -209.04970774848465, -258.60102927805906);
bool4x4 r3 = bool4x4(false, false, false, false, false, true, false, true, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void double4x4_operator_greater_wide_wide()
{
double4x4 a0 = double4x4(483.50140141113729, 310.81563415695712, 106.9661896726891, 295.73526038589671, 116.95757179938141, -478.29977653841479, -14.897393471979228, -33.817441717636484, -24.740548383789417, 319.78262701620474, -120.15856581561201, -289.00857962714906, 455.85146662958505, 144.70691139283917, 63.931990891663304, -285.68304099034663);
double4x4 b0 = double4x4(-471.39802454011425, -371.98528617060992, 36.900723236101044, -316.76360407320954, 19.683055648432628, 207.3091381561519, 362.79748861994483, 324.95341816775192, 340.94807140014507, 25.986035120666997, -114.2111352021858, 240.80346428640348, 273.42244757033063, 325.51576224226312, 27.341068995809678, 64.479532510265472);
bool4x4 r0 = bool4x4(true, true, true, true, true, false, false, false, false, true, false, false, true, false, true, false);
TestUtils.AreEqual(r0, a0 > b0);
double4x4 a1 = double4x4(-502.0907201720824, -337.19446412529538, 474.31734274063137, -507.14510679018923, -133.56559735795742, -443.10913654934109, -464.34137056038776, -68.361549647693323, -185.99299987870876, -157.80389340119615, -74.124229227250567, -94.471165939453613, 329.61055508703487, -315.83675280019486, 404.193811843262, 131.30440503512716);
double4x4 b1 = double4x4(200.94836983501375, 100.12266998184964, -79.00710896356361, -315.137945560337, -122.98542815213347, -163.77920229908972, -492.56600617457462, -90.797273439726439, -284.9012335673446, -23.653687249707843, 174.93002112905026, 85.7125366133231, -441.98783012944637, 345.54374210235835, 482.21949814363359, -422.38349719642827);
bool4x4 r1 = bool4x4(false, false, true, false, false, false, true, true, true, false, false, false, true, false, false, true);
TestUtils.AreEqual(r1, a1 > b1);
double4x4 a2 = double4x4(-206.6339033612208, 197.39985832823436, 187.99195274524016, 362.63607542712055, 336.09317819033436, -352.44836752137559, -183.10199865284471, 193.14483484679124, -170.216002781976, -0.49123787902817639, -326.85503760299412, -373.39623826248396, -216.58046422553269, 282.51211489481489, -275.17035616336875, -207.331757403599);
double4x4 b2 = double4x4(-30.779309048680261, 296.15423669300708, 378.05988830051376, -457.73343942022575, 122.92057257654176, -509.17313766347854, 386.7706226719406, 436.41747280415962, -276.49581516743444, -163.16677554099203, 249.97064625936127, -165.02074130113272, 89.092999261381578, 404.30517287007774, -340.68884889254758, -103.78509550159106);
bool4x4 r2 = bool4x4(false, false, false, true, true, true, false, false, true, true, false, false, false, false, true, false);
TestUtils.AreEqual(r2, a2 > b2);
double4x4 a3 = double4x4(257.71016681273943, -469.14529893786892, -177.96586450280893, 233.21077381503335, -135.53730899446521, 152.25313455995786, 15.378388650425904, -243.18546473383225, -123.13266497623766, 3.7597448843343955, -29.289263977338237, 416.47154040656585, -169.3830707861963, 0.73470091853971553, -416.45222659430107, 329.436916743143);
double4x4 b3 = double4x4(491.27436064708718, 78.4379384882925, 147.4842136592996, -52.052888179222521, -212.0704539809704, 314.95519819620768, -97.298028275975014, 454.83993241509415, -240.25422560435453, 168.68962701069643, -217.5288194238808, 55.39545037941798, -149.57940037063292, -413.10104651614142, 470.3309025570428, 164.78202708288188);
bool4x4 r3 = bool4x4(false, false, false, true, true, false, true, false, true, false, true, true, false, true, false, true);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void double4x4_operator_greater_wide_scalar()
{
double4x4 a0 = double4x4(64.317918092160426, -397.70346445483318, 431.87690826499693, 85.702980796668157, 246.26305233978803, 197.49155602114809, 286.1994608781298, 280.81334818564972, -405.78459210218148, 171.56538661362856, -241.80727326209063, 333.57817498481745, 370.27919524269146, -413.70138116073861, -356.5923551789449, -353.03129522550444);
double b0 = (305.85991992888034);
bool4x4 r0 = bool4x4(false, false, true, false, false, false, false, false, false, false, false, true, true, false, false, false);
TestUtils.AreEqual(r0, a0 > b0);
double4x4 a1 = double4x4(396.64532608382649, -240.0134228393498, 502.91505193287276, 315.46759024051369, -259.28970134411458, 281.23064554912537, 428.79219909608, 245.15306460352292, -279.17542494422543, -453.86309668694764, -124.77154856769909, -425.65293451103054, 99.132852838902181, 355.0605339273161, -456.43941256796916, 154.48902208846482);
double b1 = (467.22205541432936);
bool4x4 r1 = bool4x4(false, false, true, false, false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 > b1);
double4x4 a2 = double4x4(405.52974409867534, 186.08628639303436, 249.99909531790718, -110.0969179189284, -435.3045134187231, 72.752033029101767, -254.34657037181154, -428.98794980951953, 255.37367761105941, -309.11230459302305, 185.50160678918553, -201.33417687254689, 23.321151029002408, -143.97610027341921, -111.77951412637697, -356.65661852278589);
double b2 = (-157.73379643155903);
bool4x4 r2 = bool4x4(true, true, true, true, false, true, false, false, true, false, true, false, true, true, true, false);
TestUtils.AreEqual(r2, a2 > b2);
double4x4 a3 = double4x4(-318.31356945555359, 490.18712567267335, -305.57897224350785, 260.85032785164674, 53.149621272994978, -166.93411000395849, -508.9152908310831, 352.54991619314524, 13.438477284013516, 139.35465270809584, -101.02899055417112, 194.46628269668031, 7.0825550589163413, 328.50485268631246, -297.36786069412153, -332.91084710364737);
double b3 = (287.20765961669747);
bool4x4 r3 = bool4x4(false, true, false, false, false, false, false, true, false, false, false, false, false, true, false, false);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void double4x4_operator_greater_scalar_wide()
{
double a0 = (-282.67049635698572);
double4x4 b0 = double4x4(358.09997360692353, -72.5964134077525, -232.16380106292843, -60.706723956720282, 75.156642710397364, 150.88350040786133, 339.53917924479538, -498.19602965665797, 459.74610326241054, -227.96872316485678, 335.86213485145106, 76.178844248959308, 296.85993899817572, 177.49000390688423, -281.20120657663847, 244.72285162877427);
bool4x4 r0 = bool4x4(false, false, false, false, false, false, false, true, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 > b0);
double a1 = (137.32857257562159);
double4x4 b1 = double4x4(-385.33824724021287, 443.16345879210326, -353.56254141105455, 26.040673983302327, -331.7939499969566, -43.691963454565041, 20.949428806523542, -211.17984423934473, 227.42171894173214, -84.7797711290325, -375.13548701588786, -205.17813096064054, -197.04714617368165, -219.63402305340117, -210.01563344244641, -266.773715858708);
bool4x4 r1 = bool4x4(true, false, true, true, true, true, true, true, false, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 > b1);
double a2 = (144.77848703450456);
double4x4 b2 = double4x4(-471.71120069535039, -155.91317494023275, 99.724721716588647, -230.94484316135981, -338.86889640375455, 334.06826630889827, -158.66085703608621, -315.01822414762262, -177.19281991626735, 171.959285100903, 198.38915047347041, 303.67832603290594, 400.69957346501735, 351.87867252523017, -31.76966072608235, 386.07330077983124);
bool4x4 r2 = bool4x4(true, true, true, true, true, false, true, true, true, false, false, false, false, false, true, false);
TestUtils.AreEqual(r2, a2 > b2);
double a3 = (-360.34885733218346);
double4x4 b3 = double4x4(-499.82369088559585, 428.29035755074131, 425.83018441956028, 203.28882965971195, 177.89392360388024, 483.09555004681249, 258.88677013054803, -361.52687971737555, 359.73492376866511, -276.33672846310617, 202.67466626068324, 218.98210130398263, 144.7932494360922, 503.66529988854438, 33.877768293897475, -169.04743989233276);
bool4x4 r3 = bool4x4(true, false, false, false, false, false, false, true, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void double4x4_operator_less_equal_wide_wide()
{
double4x4 a0 = double4x4(-438.52313753521219, 210.48942837980087, 4.8773329280677444, -137.29793817237857, 156.09410174009111, -363.92412035722475, -97.948485181642923, 437.29539009430232, 458.53029153241323, -294.06474675520542, 23.622613679441884, -34.284056441059363, 149.736484835733, -418.8866781754823, -197.50252899783783, -88.2055118494693);
double4x4 b0 = double4x4(-474.8141498392514, 304.3710555063426, 234.8241737982371, -390.48543209139513, -297.17535295019638, -326.29239121372461, 107.2538764976216, -413.13107342884462, 67.094432623635271, 470.07522724106684, -84.499104777583455, 392.78422683886447, -263.53175485484849, 369.30090039284005, -333.32529298091555, 238.41347443238533);
bool4x4 r0 = bool4x4(false, true, true, false, false, true, true, false, false, true, false, true, false, true, false, true);
TestUtils.AreEqual(r0, a0 <= b0);
double4x4 a1 = double4x4(-376.71814292330208, 341.62712899857536, -83.309179106405566, -107.49073295830317, 319.46688833807912, 205.35738501574724, 345.56372968552807, 395.32190746596177, -222.87415490992095, 439.02200790821666, -368.0755667016262, -200.03860173003682, 71.46990660180802, -357.36542932939039, 141.7108519737194, 319.0170969064427);
double4x4 b1 = double4x4(486.24259279959028, 279.65021408705513, 236.05201803709008, 132.75898248178839, 66.294708998079727, 183.00210699020056, 200.13055071613314, 339.043800750302, 438.53791710293751, 145.40187866306019, 178.16310199450845, 157.97596724237133, 329.7052015409364, -243.59091221708383, 5.4011614347813293, -22.580605278993289);
bool4x4 r1 = bool4x4(true, false, true, true, false, false, false, false, true, false, true, true, true, true, false, false);
TestUtils.AreEqual(r1, a1 <= b1);
double4x4 a2 = double4x4(303.03015889927292, -461.57424829042247, 277.62674749904625, 182.178105677561, -337.41483441806156, -361.39166109701227, 222.14351020666936, -464.7795028466636, -146.8536623208102, 80.175055302761052, -260.34730088913221, 94.489041134011472, 174.2811945296271, -303.81969251475283, 81.417447366480474, 503.048130508069);
double4x4 b2 = double4x4(-90.33759478961008, -72.19107798123315, -354.35482399275281, -289.52172650467685, 85.176270763006187, 469.32790468136216, 294.71383656874013, 461.60593411959985, -245.93047892578431, -124.04044610077534, 278.39260948747051, -42.881244917810534, -328.34883824379597, 98.985619352658091, -375.8998207412194, -197.93427309670221);
bool4x4 r2 = bool4x4(false, true, false, false, true, true, true, true, false, false, true, false, false, true, false, false);
TestUtils.AreEqual(r2, a2 <= b2);
double4x4 a3 = double4x4(259.277612091637, 391.97194809092764, 149.70479900655562, -450.58294674874423, -255.64018857462338, -29.183286918878196, 27.554763091520726, 447.83245703570196, 282.48470438759989, 415.26275010372638, 437.22610613202028, -274.23330438986108, 327.17336407637845, 265.52772748913981, 461.46486852199996, 141.06082612884268);
double4x4 b3 = double4x4(-284.06200970525947, -76.098675524861846, -44.487014552805135, -380.51933091716808, 216.54373441289351, 58.748162535367555, -157.36650641139897, 288.75607003306789, -306.97136344899025, -124.35866910049629, -68.942456992781956, -487.36245058819765, 93.306996627388, 93.975585742842213, -428.80751367509714, -473.51501367684222);
bool4x4 r3 = bool4x4(false, false, false, true, true, true, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void double4x4_operator_less_equal_wide_scalar()
{
double4x4 a0 = double4x4(193.4958237118534, 168.91555197952107, -313.9930695565385, 81.826965131716292, 18.503590830836288, -0.35819602029312136, 241.36115776810846, -463.81641242644582, -1.3577692515020203, -268.89945591096739, 398.9919504593089, -471.253072242836, -264.93778264938749, 82.258299150624453, 11.246050124636895, 424.7040156911612);
double b0 = (443.85054299042122);
bool4x4 r0 = bool4x4(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 <= b0);
double4x4 a1 = double4x4(426.48223157715154, -196.28791126808522, 31.901173844887467, -152.2575724833913, -437.92645975478297, -37.104814785115821, -47.144214413661587, 333.6230348710078, -274.80387438219225, 358.67627804292192, -260.46056926458169, 192.30916008367626, 145.30606777281787, -466.13296363602063, -494.26732968458316, -111.57013922164691);
double b1 = (56.319978501796754);
bool4x4 r1 = bool4x4(false, true, true, true, true, true, true, false, true, false, true, false, false, true, true, true);
TestUtils.AreEqual(r1, a1 <= b1);
double4x4 a2 = double4x4(-139.54120332540072, 33.984021917909445, -445.70445248377717, -451.04219624541804, -122.03926115950537, 83.327714720427821, -202.46552119146361, -76.564869677910963, 218.03280482908372, -103.5359361653849, -283.35842312656268, -374.76167910860931, -213.49586568283655, 477.49183891596829, -383.37006849021191, 23.964948426915726);
double b2 = (-146.58935148389514);
bool4x4 r2 = bool4x4(false, false, true, true, false, false, true, false, false, false, true, true, true, false, true, false);
TestUtils.AreEqual(r2, a2 <= b2);
double4x4 a3 = double4x4(-5.9607760933976692, 164.9914258294699, -117.63179808372252, -166.2466038047553, 369.77700274520419, -305.97963323536311, 245.15114485712309, 260.20393026070849, -218.69253478697152, 152.96552593678496, -10.178272967309795, -144.12557251012214, 365.33616297568017, -314.76649227494676, 381.25928014389206, 152.31706697881089);
double b3 = (-283.961719883588);
bool4x4 r3 = bool4x4(false, false, false, false, false, true, false, false, false, false, false, false, false, true, false, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void double4x4_operator_less_equal_scalar_wide()
{
double a0 = (393.60626644343427);
double4x4 b0 = double4x4(-75.688363825757222, -44.2638714519627, 125.86491566797019, 191.96488174794467, 13.543054825413492, -197.0519259893577, -423.945100743298, -330.04861680141119, 420.16553779140372, 105.54730777887039, 174.82126363311954, 296.71757831085358, -469.70041845259277, 123.26718979853536, 112.9969695140594, 495.14339493920249);
bool4x4 r0 = bool4x4(false, false, false, false, false, false, false, false, true, false, false, false, false, false, false, true);
TestUtils.AreEqual(r0, a0 <= b0);
double a1 = (-488.65789364681478);
double4x4 b1 = double4x4(388.53941148730894, -493.24077080806751, 16.451064832718657, -387.6516336815672, -229.1773127192526, -373.01533930982248, -391.142134610164, 90.994149488859875, -178.39613517485378, -69.621067317957568, 471.7908458522478, -67.4667532758167, 45.305359623071467, -154.69219000390365, 385.73888248286153, -431.652945004242);
bool4x4 r1 = bool4x4(true, false, true, true, true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 <= b1);
double a2 = (-331.67304841227508);
double4x4 b2 = double4x4(-349.89271013340573, -114.83913021666888, -245.21782671903156, -486.69548224224496, 391.95091957224111, -125.77055150166643, -229.81227527829458, 289.44901265271426, -200.49423680104979, 281.59270991086623, 99.901066588191838, -146.02742845659492, 124.14839774190841, 94.357016368935319, 93.920113845691162, -484.92414711645068);
bool4x4 r2 = bool4x4(false, true, true, false, true, true, true, true, true, true, true, true, true, true, true, false);
TestUtils.AreEqual(r2, a2 <= b2);
double a3 = (-270.79689396116737);
double4x4 b3 = double4x4(-313.37407245923487, 252.96782815315191, -302.89972772398016, 269.25790012500147, -358.51105110650462, -183.24853214214022, 5.0070502781342157, -411.0292677409152, -320.06080999973267, 384.56914132859981, -383.73594659554584, 249.41813647440551, -137.13982183166769, -251.76050221722596, 301.0823811502579, 216.37052331509562);
bool4x4 r3 = bool4x4(false, true, false, true, false, true, true, false, false, true, false, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void double4x4_operator_greater_equal_wide_wide()
{
double4x4 a0 = double4x4(-507.92858409692, 504.49748181947393, -385.43449205226938, -262.32340944107784, -37.550928848586466, -111.59527759980193, -463.70202157632542, 387.44885772627265, 456.96878573716094, -211.01015506079892, 182.41135391146474, -53.596053863687473, -309.57021608463032, -136.02249127999994, 280.73629082401112, -96.9958942388165);
double4x4 b0 = double4x4(-81.346509732933043, 297.66615047010885, 171.06540616371922, -431.03805538222105, -6.859075311040101, 319.72570362674333, 254.079170106947, 396.5724000393285, 178.83927615864172, -447.06336304501787, 288.49268569075161, 474.88929460704765, -321.75022831640683, -395.97722048125104, -158.69246037243516, 391.48869318118727);
bool4x4 r0 = bool4x4(false, true, false, true, false, false, false, false, true, true, false, false, true, true, true, false);
TestUtils.AreEqual(r0, a0 >= b0);
double4x4 a1 = double4x4(-174.05950673579213, 88.9019382413951, 43.816040774721728, -446.07842585354967, 16.645595796706857, 409.83252043734888, -191.32987245886113, 222.99782548798146, 404.28838915577546, 230.60328136691976, -441.78928228923553, -86.293056289801882, 484.24954413075443, 95.2363665547391, -204.91210255628084, -199.77434620623211);
double4x4 b1 = double4x4(-368.10924141859135, 89.1238043723273, -510.27932214656812, -486.92979525352354, -81.215552606254619, 274.21882046117389, -212.88155494112596, 288.99530591117, 307.73173131967508, 307.24516620638087, -199.39178213821339, -284.42126978767163, -482.39181278757371, 448.3157362641374, -378.3461889598268, -390.8584684761513);
bool4x4 r1 = bool4x4(true, false, true, true, true, true, true, false, true, false, false, true, true, false, true, true);
TestUtils.AreEqual(r1, a1 >= b1);
double4x4 a2 = double4x4(-421.86318107222354, -18.214789637464492, -346.8227681344481, -159.24364073539323, 112.9177020121914, 48.29104115827522, 390.66016525340274, 154.21916706590878, -32.748053804388292, -288.2656096370265, 122.70425826064513, 321.2779754704228, 230.18381487121053, 116.87426024157287, -93.515688701307283, 229.98230730275736);
double4x4 b2 = double4x4(8.9160292190108521, 416.40721984226593, -213.67494664605471, 455.24810788372906, -236.08035980727539, -248.37309348228064, 184.18512567513858, 415.31133885649558, 86.982202808830039, 485.00455950433604, 107.75893955480262, -486.66772459757874, -138.67679197093321, 14.207853562295327, -382.39416211768713, -117.00821524346628);
bool4x4 r2 = bool4x4(false, false, false, false, true, true, true, false, false, false, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 >= b2);
double4x4 a3 = double4x4(-393.44120640002245, 184.08200153339749, 317.33323469633854, 123.81807404561812, -45.024627944931694, -317.67253580581053, 264.31717670351134, -163.08143504107437, -124.61097985348243, -30.936209931474252, 421.9194206771997, -1.562726736796435, 199.63805374858805, -325.7765950289446, 181.45079311237237, 36.7637965850364);
double4x4 b3 = double4x4(288.69098891350018, 311.754098322128, 318.59060564571553, 105.96333580183023, 287.3551734831907, 306.29107751803986, -349.91996280752119, -211.93558154438415, 191.92502769824353, 220.10569463488912, -172.77890571056815, -17.622120627026106, -43.547065039885752, 303.85402383648511, 338.54850570231145, -16.688135870121471);
bool4x4 r3 = bool4x4(false, false, false, true, false, false, true, true, false, false, true, true, true, false, false, true);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void double4x4_operator_greater_equal_wide_scalar()
{
double4x4 a0 = double4x4(465.15218732559686, -424.8860745024337, -209.22109685150025, 58.779852656079356, -302.26910533675414, 140.12558252183976, 16.353385694489475, -344.55997316192838, 393.27804846003562, -315.70155086913218, 441.0115565923096, -509.78156757251435, -36.994287269652943, 494.82028865014217, -164.97393830352183, -466.12009046325466);
double b0 = (-5.5998842742293391);
bool4x4 r0 = bool4x4(true, false, false, true, false, true, true, false, true, false, true, false, false, true, false, false);
TestUtils.AreEqual(r0, a0 >= b0);
double4x4 a1 = double4x4(-123.8137477020797, 104.99569730879534, 314.34603014325069, 190.51609882643265, -83.111429014760745, -23.836435567511444, 143.04935962662535, -264.91997945724052, -169.70222457205051, 329.70751610850334, 359.09582035573931, -260.42331016269668, 354.19514219565087, -111.84533768140028, 33.309096113456917, 355.63126938214123);
double b1 = (215.65121779947128);
bool4x4 r1 = bool4x4(false, false, true, false, false, false, false, false, false, true, true, false, true, false, false, true);
TestUtils.AreEqual(r1, a1 >= b1);
double4x4 a2 = double4x4(-435.36056753404466, -93.29572896533449, -338.84962169213668, 436.89581676800537, 511.08413982348713, -277.67452419813469, -453.79924771459741, 170.91899998994495, -182.82575591971437, -207.51692710049309, -319.500592142111, -240.5086177515372, 436.34132286363342, -66.956061632817637, 303.32088174639307, 180.19605907248149);
double b2 = (-38.39930893778768);
bool4x4 r2 = bool4x4(false, false, false, true, true, false, false, true, false, false, false, false, true, false, true, true);
TestUtils.AreEqual(r2, a2 >= b2);
double4x4 a3 = double4x4(337.9651765012951, 107.35668545000101, -501.20867633317067, -237.36391150083574, -434.48845525946865, 110.9503610650778, 159.72954352187435, -188.30016788668007, 379.43311923529632, 322.41806641333642, 169.25756533875017, 427.8633370007683, -472.91709373561531, 308.1437868122681, -104.29753952114726, -353.41283695465552);
double b3 = (-84.4359534179959);
bool4x4 r3 = bool4x4(true, true, false, false, false, true, true, false, true, true, true, true, false, true, false, false);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void double4x4_operator_greater_equal_scalar_wide()
{
double a0 = (374.82703393270594);
double4x4 b0 = double4x4(-1.609757185731894, 338.61524049314448, -116.18140392945213, -332.15732375353451, -355.9793509710484, -468.90144107719021, 38.579884785497484, -332.34754697063357, 2.8901150240051265, 467.77776477661814, 121.40638762405445, -305.02337303060267, -58.428812292604164, -226.51955209789776, -47.020994446715804, 305.3026770582901);
bool4x4 r0 = bool4x4(true, true, true, true, true, true, true, true, true, false, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 >= b0);
double a1 = (-427.40123315686418);
double4x4 b1 = double4x4(92.263649745035764, -497.17853736187266, -408.62564225151465, -455.23049113491106, 396.42608637196292, -469.29488561548987, -485.7540130493017, -182.34619268325446, -291.54536284671417, 278.740809331993, -75.87113932327884, 28.907059921374071, 287.72014988945807, 420.50978990109161, 473.62684152723614, 181.514540518408);
bool4x4 r1 = bool4x4(false, true, false, true, false, true, true, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 >= b1);
double a2 = (-369.20287220981106);
double4x4 b2 = double4x4(243.74977385427326, -244.12415825767636, -242.9933451353541, -322.11536780098237, 192.974957794405, -54.725568558427312, -166.00083907228003, 244.29344117096321, 438.24940105818655, -162.69282610839832, 37.185346382290732, -506.66736459483735, -205.1630781652234, 368.3899807261256, -35.459948317827639, -20.916435966694905);
bool4x4 r2 = bool4x4(false, false, false, false, false, false, false, false, false, false, false, true, false, false, false, false);
TestUtils.AreEqual(r2, a2 >= b2);
double a3 = (9.041354422011068);
double4x4 b3 = double4x4(-377.58709901272653, -18.980614432590357, 59.219140318790096, 318.057525067617, 113.96415644230512, 295.91012610863436, -142.42739088015043, 362.18886892972, 447.56601187566571, -235.64225040918319, -397.54897589122362, 150.7453931079923, 227.16996513454706, -464.73202512447352, 159.77954609681831, 25.462086450989432);
bool4x4 r3 = bool4x4(true, true, false, false, false, false, true, false, false, true, true, false, false, true, false, false);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void double4x4_operator_add_wide_wide()
{
double4x4 a0 = double4x4(506.12905263627374, -501.77980803967444, 420.08479638587903, -186.03206476291274, -9.3123953385801883, 328.51179686585056, 424.34407659263536, 87.791079800478656, 462.41368148402012, -46.178705952213477, 401.17006296718966, -454.12414643453627, 69.195687564646732, -177.95734485329939, 299.60415544156183, 340.7048587001417);
double4x4 b0 = double4x4(-28.757987751047096, -337.135153689019, -340.676816860529, 152.31202633320913, 423.66745420157326, 90.374096674087468, 376.18866246574964, 1.7671887882831925, -120.18586045139745, -279.62936628965167, -344.66710273580026, 242.8391956029642, 418.5930504363929, -23.312797318823982, -95.099945827899489, 147.92812568877275);
double4x4 r0 = double4x4(477.37106488522664, -838.91496172869347, 79.407979525350015, -33.720038429703607, 414.35505886299308, 418.885893539938, 800.532739058385, 89.558268588761848, 342.22782103262267, -325.80807224186515, 56.502960231389409, -211.28495083157208, 487.78873800103963, -201.27014217212337, 204.50420961366234, 488.63298438891445);
TestUtils.AreEqual(r0, a0 + b0);
double4x4 a1 = double4x4(219.91602740991675, -321.90838232725321, 286.35534037573041, -333.41949311523672, -118.93216973120911, 68.607509406566351, 23.190902005504313, -205.57787547147734, 11.521422629953122, -340.7950796283759, -68.931167873056211, 304.8532370556394, -86.633841316510825, 105.66915874633435, 349.28052799277032, 364.7078708916473);
double4x4 b1 = double4x4(331.03287926830023, -82.502564230236487, 279.44956291813844, 342.6227215931857, -300.35853185335105, -209.69408736456842, 446.55942150883345, -351.98918955027557, -263.12385642860261, -252.4585670216282, 289.82535542632706, 338.79615537207394, -232.61900364263869, -510.50825405051387, 349.2807325559113, -426.2124495106807);
double4x4 r1 = double4x4(550.948906678217, -404.41094655748969, 565.80490329386885, 9.2032284779489828, -419.29070158456017, -141.08657795800207, 469.75032351433777, -557.56706502175291, -251.60243379864949, -593.25364665000416, 220.89418755327085, 643.64939242771334, -319.25284495914951, -404.83909530417952, 698.56126054868162, -61.504578619033396);
TestUtils.AreEqual(r1, a1 + b1);
double4x4 a2 = double4x4(-429.03740449856843, 382.45806926417072, 186.09704479300274, 227.41184841255279, -298.76636733616067, 351.30280344155744, 98.725387857633336, -292.35170640254006, 112.17092590787024, 477.1657800512229, -266.30486619952364, -295.14070643817104, -485.82035778733916, -507.86872291372566, -338.21959582819585, 505.34219360041538);
double4x4 b2 = double4x4(-331.41632882292208, -418.68880267566482, -341.7063559692848, -329.03588143411832, 123.19857245460082, 189.52859482054066, 267.56994093003209, 134.63626605581317, -337.96815530302382, 50.728011870164437, 81.16342572176984, 442.09067198358969, -148.70453769932715, 6.9743440183691519, -334.91123906472291, 43.787097712879586);
double4x4 r2 = double4x4(-760.45373332149052, -36.2307334114941, -155.60931117628206, -101.62403302156554, -175.56779488155985, 540.83139826209811, 366.29532878766543, -157.71544034672689, -225.79722939515358, 527.89379192138733, -185.1414404777538, 146.94996554541865, -634.52489548666631, -500.89437889535651, -673.13083489291876, 549.129291313295);
TestUtils.AreEqual(r2, a2 + b2);
double4x4 a3 = double4x4(-153.06640274499841, -292.656682866, -447.89864775533727, -26.086234343278306, 21.464295158844607, -465.69219968546747, 450.52255198476951, -271.9292324855594, -452.26729724009863, -110.67917995838411, 384.1149525046884, 352.09241668884295, 475.72437761524895, -444.8684448883256, -345.83763305555919, -502.81628560592247);
double4x4 b3 = double4x4(-17.180041082752894, -157.3927691715736, -298.88907279581258, -158.77222140076208, 500.24080180574242, 319.87025967234297, -396.67535776490126, 157.79621775345697, 483.03289269052118, 175.24868329579419, -198.02014097851708, 1.7991697796616108, 452.36739728058103, -177.19841750767006, -291.56249560581637, -475.85512827143776);
double4x4 r3 = double4x4(-170.24644382775131, -450.04945203757359, -746.78772055114985, -184.85845574404038, 521.705096964587, -145.8219400131245, 53.847194219868243, -114.13301473210242, 30.765595450422552, 64.569503337410083, 186.09481152617133, 353.89158646850456, 928.09177489583, -622.06686239599571, -637.40012866137556, -978.67141387736024);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void double4x4_operator_add_wide_scalar()
{
double4x4 a0 = double4x4(-194.51420387742769, 338.54838696985894, 246.97140252169754, 100.51093797595752, -45.724677822424439, -478.11131094308166, 30.916145577522116, 60.37435224483454, -242.1187475855084, 82.50134495762245, 6.7993848355483806, -484.69981287638649, -188.26501068298938, -213.52673087526426, -267.78430688929944, 189.25996669999324);
double b0 = (124.121678171736);
double4x4 r0 = double4x4(-70.3925257056917, 462.67006514159493, 371.09308069343354, 224.63261614769351, 78.397000349311554, -353.98963277134567, 155.03782374925811, 184.49603041657053, -117.99706941377241, 206.62302312935844, 130.92106300728437, -360.57813470465049, -64.143332511253391, -89.40505270352827, -143.66262871756345, 313.38164487172924);
TestUtils.AreEqual(r0, a0 + b0);
double4x4 a1 = double4x4(198.53359684652355, -424.92567582844089, 302.10236730338181, 300.39907970111778, 124.02158909850823, -200.16134295247559, 31.37822701007974, 362.52213518811493, -423.98885961248953, 432.41331907380993, 374.21141474983256, -465.69948957194549, -311.04303779781003, 84.918990413154916, -432.44245716204978, 235.75065886031405);
double b1 = (187.53610023648298);
double4x4 r1 = double4x4(386.06969708300653, -237.38957559195791, 489.63846753986479, 487.93517993760076, 311.55768933499121, -12.625242715992613, 218.91432724656272, 550.05823542459791, -236.45275937600655, 619.94941931029291, 561.74751498631554, -278.16338933546251, -123.50693756132705, 272.4550906496379, -244.9063569255668, 423.286759096797);
TestUtils.AreEqual(r1, a1 + b1);
double4x4 a2 = double4x4(-472.63775394514096, 186.120703068618, -170.29822667422621, -115.27248840931452, -101.16882686557659, 257.77516973101308, 246.5492557243208, -397.53459066782824, -199.04838213652761, 20.585038433123827, 207.3238519203494, 197.93518671669779, -201.54056439247938, -106.63866453368155, -179.38222631224534, 203.81710610343941);
double b2 = (-257.57773721291579);
double4x4 r2 = double4x4(-730.21549115805669, -71.457034144297779, -427.875963887142, -372.85022562223031, -358.74656407849238, 0.1974325180972869, -11.028481488594991, -655.112327880744, -456.6261193494434, -236.99269877979197, -50.253885292566395, -59.642550496218007, -459.11830160539517, -364.21640174659734, -436.95996352516113, -53.760631109476378);
TestUtils.AreEqual(r2, a2 + b2);
double4x4 a3 = double4x4(-364.82094853223344, 77.3942611577894, 185.27890333220307, 17.086716421454526, -511.89991092677224, 26.709729922334532, -296.4068244883822, 249.98880278784259, -133.73581820993491, -398.52463001689159, 168.70473082768956, 14.073841816780032, -443.07570978769832, 509.58235454446742, -72.758158002401785, -208.45047173670048);
double b3 = (154.5262444738886);
double4x4 r3 = double4x4(-210.29470405834485, 231.920505631678, 339.80514780609167, 171.61296089534312, -357.37366645288364, 181.23597439622313, -141.8805800144936, 404.51504726173118, 20.790426263953691, -243.998385543003, 323.23097530157816, 168.60008629066863, -288.54946531380972, 664.108599018356, 81.768086471486811, -53.924227262811883);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void double4x4_operator_add_scalar_wide()
{
double a0 = (-340.35468284243473);
double4x4 b0 = double4x4(511.36225652665007, -146.21663791789518, -106.21042661844308, -363.45024960276214, 199.08958325120136, -27.108407271610758, 419.84900041103788, 284.95503748811552, -164.92418129971446, -249.19032561461921, 150.92817718858282, 298.17509784278229, -457.15341803857751, 424.71807094324288, -301.85750283946163, 230.28885208363124);
double4x4 r0 = double4x4(171.00757368421534, -486.57132076032991, -446.56510946087781, -703.80493244519687, -141.26509959123337, -367.46309011404549, 79.494317568603151, -55.399645354319205, -505.27886414214919, -589.54500845705388, -189.4265056538519, -42.179584999652434, -797.5081008810123, 84.363388100808152, -642.21218568189636, -110.06583075880349);
TestUtils.AreEqual(r0, a0 + b0);
double a1 = (-423.58759351428023);
double4x4 b1 = double4x4(-67.060037882560891, 68.7241366229598, -164.02241833695325, 318.93515339444161, 7.8045504129512437, 187.69836029210046, -3.6569664495331153, -446.0830535581722, -209.28724227160552, -38.212905186327589, -346.25717870623674, 465.60741708502519, -192.18595108398512, 278.69379843338106, 381.97845548297209, 481.24367283342576);
double4x4 r1 = double4x4(-490.64763139684112, -354.86345689132042, -587.61001185123348, -104.65244011983862, -415.783043101329, -235.88923322217977, -427.24455996381334, -869.67064707245243, -632.87483578588581, -461.80049870060782, -769.84477222051692, 42.019823570744961, -615.77354459826529, -144.89379508089917, -41.609138031308134, 57.656079319145533);
TestUtils.AreEqual(r1, a1 + b1);
double a2 = (-97.228162095522578);
double4x4 b2 = double4x4(-455.51374289743313, 501.83498858932171, 358.70657818331688, 430.69978519468555, 256.987155795557, 207.65164837970008, -376.96518605619912, -428.08534093763927, -373.493553097124, -468.89328573126966, -467.65843818507085, 297.48495139623287, -506.89978646994558, -233.35846315760097, 434.55879493921941, -387.3151673690021);
double4x4 r2 = double4x4(-552.74190499295571, 404.60682649379913, 261.4784160877943, 333.47162309916297, 159.75899370003441, 110.4234862841775, -474.19334815172169, -525.31350303316185, -470.72171519264657, -566.12144782679229, -564.88660028059348, 200.2567893007103, -604.12794856546816, -330.58662525312354, 337.33063284369683, -484.54332946452467);
TestUtils.AreEqual(r2, a2 + b2);
double a3 = (171.59027751329836);
double4x4 b3 = double4x4(245.0575402924128, 200.50275597372217, 353.49684421787822, -147.28983623687634, -8.44229388630123, 178.0850017900043, 409.44653983109004, -429.36719604458995, -103.62317447719312, -500.89550208528317, 254.10617911727456, 331.34762040309033, -484.73823021572935, -15.884124048000274, 280.94972170561073, 328.93142500935653);
double4x4 r3 = double4x4(416.64781780571116, 372.09303348702053, 525.08712173117658, 24.300441276422021, 163.14798362699713, 349.67527930330266, 581.0368173443884, -257.77691853129159, 67.967103036105243, -329.30522457198481, 425.69645663057292, 502.93789791638869, -313.147952702431, 155.70615346529809, 452.53999921890909, 500.52170252265489);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void double4x4_operator_sub_wide_wide()
{
double4x4 a0 = double4x4(160.4922617229131, 11.223957305412682, 359.20010607279846, -498.22830485656311, -355.25362913462038, -94.534852787170053, -410.46404786150163, -401.38464398001537, 317.70681944382693, 447.0604133303558, -489.07414482956477, -230.00838218909149, 24.875419389864192, 366.61447136784648, -107.3741567634857, -219.0081404275299);
double4x4 b0 = double4x4(115.46876078260539, -130.98230630298252, 241.54083716196044, 9.9870860623135513, 419.89512582304656, 59.124466208333388, -402.38163847587145, -75.370143687059226, 320.97960796997859, -73.908757482612884, -31.444742455819949, -389.25194734579509, -375.02884000122026, 259.18275821357167, 276.648654351313, -453.06919905779381);
double4x4 r0 = double4x4(45.023500940307713, 142.2062636083952, 117.65926891083802, -508.21539091887666, -775.14875495766694, -153.65931899550344, -8.0824093856301715, -326.01450029295614, -3.2727885261516576, 520.96917081296874, -457.62940237374482, 159.2435651567036, 399.90425939108445, 107.4317131542748, -384.02281111479869, 234.06105863026391);
TestUtils.AreEqual(r0, a0 - b0);
double4x4 a1 = double4x4(473.90756891384137, 259.63620793988753, -360.119631219711, 7.8096120393879573, 437.42847439154446, -59.1991718091067, 418.74433322378638, 183.14215072576985, 271.23036516421962, 496.20853709439211, 165.35493691514944, -227.40367113212295, -166.52285702830312, 356.14227430715334, 386.92636579411396, -394.63875717420075);
double4x4 b1 = double4x4(-272.57653225240136, -191.14805301984217, 87.136884968325944, 430.02477594373033, 343.65711538105143, 121.02942067060133, -354.1881703595576, 249.05200373802893, -2.2254426489702723, 22.447240601502017, 478.1129555544411, -320.0629958212669, -111.52409534879217, 222.22894607401872, -245.41106307013473, -119.90228348593337);
double4x4 r1 = double4x4(746.48410116624268, 450.78426095972969, -447.25651618803693, -422.21516390434238, 93.771359010493029, -180.22859247970803, 772.932503583344, -65.909853012259077, 273.45580781318989, 473.7612964928901, -312.75801863929166, 92.659324689143943, -54.998761679510949, 133.91332823313462, 632.33742886424875, -274.73647368826738);
TestUtils.AreEqual(r1, a1 - b1);
double4x4 a2 = double4x4(126.90326625057651, 97.2168972944919, -150.01784641575898, -227.25051246734824, -198.83000406940931, 0.66276812584271738, -484.2455706467133, -295.99628056958147, -46.170990726990169, 499.95239304935205, 292.44011725692087, -106.42413597294325, 466.82713887972159, 487.37480400846096, 242.9946106611726, -468.90158985038363);
double4x4 b2 = double4x4(-153.46565372937624, 374.11248439089979, 301.7634090398268, -281.43006552449896, -494.96436261337453, -320.73126021061614, 160.96219714030724, -132.93641025057826, -394.43753237018245, 406.85128588548457, 270.54461897096814, 507.79461335940039, 67.699203761154422, 263.40446412908125, 297.58066596536923, 170.83953746167924);
double4x4 r2 = double4x4(280.36891997995275, -276.89558709640789, -451.78125545558578, 54.179553057150713, 296.13435854396522, 321.39402833645886, -645.20776778702054, -163.05987031900321, 348.26654164319228, 93.101107163867482, 21.895498285952726, -614.21874933234358, 399.12793511856717, 223.97033987937971, -54.586055304196634, -639.74112731206287);
TestUtils.AreEqual(r2, a2 - b2);
double4x4 a3 = double4x4(226.29587255525212, 506.12615442002482, 60.5949323459505, -112.93014984621209, -286.97493018162197, -290.72275532908867, -34.549812571401617, -347.81742517455359, -327.52781477921076, -243.60006319899117, -233.36345611948678, 99.657599257145876, 464.958482243567, 419.28534551117821, 326.38860503136584, -12.424676185671558);
double4x4 b3 = double4x4(-451.29688832317333, 60.20998695316257, 321.02966633487017, 481.46695612439282, 265.63860261889113, 148.31929952852397, -418.67241092150675, 184.51494583138958, -22.921315442268394, 269.36389816429653, -289.49004305968526, 368.35864727960836, 101.42228393509163, 294.2829498230866, 21.345023403570508, 15.589329965221395);
double4x4 r3 = double4x4(677.59276087842545, 445.91616746686225, -260.43473398891967, -594.39710597060491, -552.6135328005131, -439.04205485761264, 384.12259835010514, -532.33237100594317, -304.60649933694236, -512.96396136328769, 56.126586940198479, -268.70104802246249, 363.53619830847538, 125.00239568809161, 305.04358162779533, -28.014006150892953);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void double4x4_operator_sub_wide_scalar()
{
double4x4 a0 = double4x4(207.38960108877609, 248.45773684627272, -384.82393211164697, -205.34476122881506, -374.81156152058929, 191.64204820973896, 18.856238135535364, -44.96160151667965, 480.85798738936796, 16.338193185784917, -366.86545269883493, -35.523088233323335, 349.39776460705218, 439.07729336203886, 490.2222661870635, 195.02405104181923);
double b0 = (-36.112476604111691);
double4x4 r0 = double4x4(243.50207769288778, 284.57021345038441, -348.71145550753528, -169.23228462470337, -338.6990849164776, 227.75452481385065, 54.968714739647055, -8.8491249125679587, 516.9704639934796, 52.450669789896608, -330.75297609472324, 0.589388370788356, 385.51024121116387, 475.18976996615055, 526.33474279117513, 231.13652764593093);
TestUtils.AreEqual(r0, a0 - b0);
double4x4 a1 = double4x4(-384.84940952102158, 55.602777745389744, -54.931482579061537, 53.088051582261983, 316.80250730961677, -273.80670917863335, 256.88723695319482, 297.17363156805447, 101.82901363346218, 136.60794765157993, -19.732211837420323, 336.58969966349639, -51.876563334780087, 317.34576311583896, -467.05592773251976, -50.167055391784345);
double b1 = (189.05188545447402);
double4x4 r1 = double4x4(-573.9012949754956, -133.44910770908427, -243.98336803353556, -135.96383387221204, 127.75062185514275, -462.85859463310737, 67.8353514987208, 108.12174611358046, -87.222871821011836, -52.443937802894084, -208.78409729189434, 147.53781420902237, -240.92844878925411, 128.29387766136495, -656.10781318699378, -239.21894084625836);
TestUtils.AreEqual(r1, a1 - b1);
double4x4 a2 = double4x4(477.804535373023, 0.41113877315592617, 46.660927078994405, -19.241408595462076, 396.80972809195976, 69.590537342052244, -334.27423373529416, -198.07713684722648, -239.20061432532992, -339.68122665010446, -14.514425522887336, 219.99709211103482, -180.26066621591366, -438.89060398512083, 186.35550102328671, -365.06679241967703);
double b2 = (-60.821922092149919);
double4x4 r2 = double4x4(538.626457465173, 61.233060865305845, 107.48284917114432, 41.580513496687843, 457.63165018410967, 130.41245943420216, -273.45231164314424, -137.25521475507657, -178.37869223318, -278.85930455795454, 46.307496569262582, 280.81901420318474, -119.43874412376374, -378.06868189297091, 247.17742311543662, -304.24487032752711);
TestUtils.AreEqual(r2, a2 - b2);
double4x4 a3 = double4x4(-478.80124615076988, 57.560462740045296, 306.90591611848492, -357.69845049348589, 159.08501608627148, 10.264446024906078, -129.71116906484178, 9.4816072031304657, 35.359424845948524, -456.96589944184103, -473.41155002704426, 130.4486988198239, 20.734550724148107, 210.99243006994595, -411.80952496631517, -497.35603284153905);
double b3 = (-193.2267821734896);
double4x4 r3 = double4x4(-285.57446397728029, 250.78724491353489, 500.13269829197452, -164.4716683199963, 352.31179825976108, 203.49122819839567, 63.515613108647813, 202.70838937662006, 228.58620701943812, -263.73911726835144, -280.18476785355466, 323.6754809933135, 213.9613328976377, 404.21921224343555, -218.58274279282557, -304.12925066804945);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void double4x4_operator_sub_scalar_wide()
{
double a0 = (-86.008225719448262);
double4x4 b0 = double4x4(466.42511413359318, 298.48694219183506, -300.95010652251085, 315.38003006362362, -381.09218543632522, -125.00837546447684, 58.466194418476107, 214.74609361158036, -257.54942739082009, 480.22459505508868, -443.35507723472784, 260.79503858312728, 29.681931747906788, 139.85773164586055, -247.78996216868512, -248.4662297929014);
double4x4 r0 = double4x4(-552.43333985304139, -384.49516791128332, 214.94188080306259, -401.38825578307188, 295.08395971687696, 39.00014974502858, -144.47442013792437, -300.75431933102863, 171.54120167137182, -566.232820774537, 357.34685151527958, -346.80326430257554, -115.69015746735505, -225.86595736530882, 161.78173644923686, 162.45800407345314);
TestUtils.AreEqual(r0, a0 - b0);
double a1 = (91.445112509394562);
double4x4 b1 = double4x4(86.384162704639266, 373.81828206303453, 260.41195428576873, 114.35393171867076, -464.40545318294573, -109.74146156652898, -311.67535057276268, 107.86401586787031, -258.7951592219971, 14.097560173877355, -461.97019527012958, 30.310863747406188, 63.701105862716759, -462.67674634544028, 39.759483117498235, 47.998150132595583);
double4x4 r1 = double4x4(5.0609498047552961, -282.37316955363997, -168.96684177637417, -22.908819209276203, 555.8505656923403, 201.18657407592355, 403.12046308215724, -16.418903358475745, 350.24027173139166, 77.347552335517207, 553.41530777952414, 61.134248761988374, 27.744006646677803, 554.12185885483484, 51.685629391896327, 43.446962376798979);
TestUtils.AreEqual(r1, a1 - b1);
double a2 = (-177.61928113625351);
double4x4 b2 = double4x4(202.47706017386031, -289.30880250097664, -459.92539832551284, 248.38668715599306, 85.3297222057962, -73.374776159122, -510.65201044019869, 426.96324535224733, 239.5901807470201, 477.85233257610923, 256.01360785961788, 338.620331683485, -483.83120440125055, 330.39224139339865, -263.41821706640451, 123.92803603221103);
double4x4 r2 = double4x4(-380.09634131011381, 111.68952136472313, 282.30611718925934, -426.00596829224656, -262.94900334204971, -104.2445049771315, 333.03272930394519, -604.58252648850089, -417.2094618832736, -655.4716137123628, -433.63288899587138, -516.23961281973857, 306.21192326499704, -508.01152252965215, 85.798935930151, -301.54731716846453);
TestUtils.AreEqual(r2, a2 - b2);
double a3 = (-269.11598194256237);
double4x4 b3 = double4x4(-265.63821256609549, 484.58034657155179, -304.01562585682404, 311.63784256188103, 418.83056731653892, -103.77159624163602, -501.27475594974811, -304.48398580424674, 389.70297378567182, 372.89406436164586, 8.4363896886055727, -327.56477013582582, 190.74946674646321, 430.90134140052896, 28.885439647773978, -299.2031115494683);
double4x4 r3 = double4x4(-3.4777693764668811, -753.69632851411416, 34.899643914261674, -580.7538245044434, -687.94654925910129, -165.34438570092635, 232.15877400718574, 35.368003861684372, -658.81895572823419, -642.01004630420823, -277.55237163116794, 58.448788193263454, -459.86544868902558, -700.01732334309133, -298.00142159033635, 30.087129606905933);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void double4x4_operator_mul_wide_wide()
{
double4x4 a0 = double4x4(-482.71381710596097, -407.29348559272171, 137.70058995937029, 208.54113278563182, 194.296573967811, -484.24241684574747, 183.98730739578014, -241.33547770294149, 45.868758938214114, 363.32610266438041, -328.11893692990714, -471.02307413100408, -262.68257415605831, -379.26274674910246, -374.09058182970182, 481.44738720424812);
double4x4 b0 = double4x4(-236.36788355389979, 260.72759139757954, -416.38629718142852, -364.49561541364324, -253.14750897751537, -369.20287220981106, 193.54791531038836, 169.08491976982214, 201.96966442930034, 249.45608317547294, -308.19319810913555, -385.57964843585137, -183.27959522198864, 22.275629292370581, -265.52144229855458, -95.677454277722859);
double4x4 r0 = double4x4(114098.04331156026, -106192.64949051509, -57336.638772880389, -76012.328533757158, -49185.69370281692, 178783.69114527057, 35610.359790024842, -40806.189885013562, 9264.0978505395742, 90633.9064860661, 101124.02453259782, 181616.91132860651, 48144.355863192381, -8448.3163509892329, 99329.070837727879, -46063.660376363579);
TestUtils.AreEqual(r0, a0 * b0);
double4x4 a1 = double4x4(104.62807397946165, 412.93539948618752, 477.87724731763694, 20.377821216535722, 291.99596299417124, -138.48832399141429, -393.46498483860165, 9.36312318284206, -131.94228917543882, 364.44964258952518, 390.61597866128011, 418.79794974755396, -277.34480942289565, 11.410165553637853, 474.87644956767394, -502.40503358394142);
double4x4 b1 = double4x4(133.25437146669924, 148.31146080247663, 249.284127113076, 500.00547503866505, -19.331578978957396, -36.691062705913112, 30.5238278054278, -401.36701054189678, 3.4372422711165882, 257.24176681099539, -290.97193516929258, 337.47938100317469, 490.28616284312966, -191.01981481864107, -325.73449650673871, -52.181983733634468);
double4x4 r1 = double4x4(13942.148235904471, 61243.052314850727, 119127.21246477668, 10189.022177626932, -5644.7430201585421, 5081.2837796057929, -12010.057444678736, -3758.048761232847, -453.51761370170692, 93751.669973365249, -113658.28721911977, 141335.67284620318, -135978.32239641057, -2179.56771110594, -154683.64120283397, 26216.491290173308);
TestUtils.AreEqual(r1, a1 * b1);
double4x4 a2 = double4x4(-222.59489618176354, 38.169053810727291, 292.61251582420084, 203.20767245218519, -330.40815678723538, 469.4601201813017, 342.29512588227874, -504.11466359724972, 319.35728159516918, -357.7820815321906, -117.9710848880797, 25.706567060997031, 226.45642171914528, -86.343729774627718, -274.12603844056184, -486.87097452900883);
double4x4 b2 = double4x4(123.43503743197539, -461.2670640709191, 122.35306149458188, 308.58463182513822, 375.32062762571525, 203.21264204905026, 77.667988574909032, 218.793598038514, -489.89573620720569, 134.47217589918159, -287.79437960674727, -116.39999085124583, -436.54398151698706, 499.59108447450728, -300.60236396482321, 105.73045950091);
double4x4 r2 = double4x4(-27476.00934236266, -17606.127389639103, 35802.037142722758, 62706.764787700849, -124008.99677804091, 95400.23135870698, 26585.373926271874, -110297.06107241736, -156451.77058019731, -48111.735001372064, 33951.415186899816, -2992.2441707169919, -98858.187977365582, -43136.557595680068, 82402.935179544889, -51477.091854607956);
TestUtils.AreEqual(r2, a2 * b2);
double4x4 a3 = double4x4(-28.926545395015978, -326.09616652414957, 504.35477399470039, -181.97952636609762, 312.2295698189314, 75.649923598230771, -248.43205535059423, 507.18425512089595, 482.40082644037943, 1.6229035861896364, -479.95241497454811, -446.21089884555477, -414.27152962902164, -175.72348579006433, -303.3032087307904, 70.71067026570006);
double4x4 b3 = double4x4(425.69365974222012, -4.90002227057704, -41.369812746238836, 257.70464932997925, -456.13498923561303, -496.70464896443514, -296.41469230149625, 156.98720200219532, 304.61656751512385, 452.77218577487963, -124.87720948312301, -446.80051657501633, -357.43095533802682, 217.1564973411879, 215.61658797767791, 482.19420717758783);
double4x4 r3 = double4x4(-12313.846972903815, 1597.8784783181318, -20865.062557832363, -46896.9700274109, -142418.83146839836, -37575.66874504555, 73638.911244574672, 79621.437110997053, 146947.28391672738, 734.8056040209724, 59935.118266707432, 199367.26010559621, 148073.46860464689, -38159.496674754373, -65397.202989214478, 34096.275587765071);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void double4x4_operator_mul_wide_scalar()
{
double4x4 a0 = double4x4(-96.318821236639678, -277.14229239017811, -239.93690191951436, 509.53140544776409, 255.85810172551226, 215.73149667295229, -455.50827500573746, -389.24327367788334, -338.29248658674419, 53.796284939067618, 243.75734459783757, 135.35469991311186, -207.35010275959507, -383.93960946795517, -31.425238862366086, 42.676120539510634);
double b0 = (-301.20720424373042);
double4x4 r0 = double4x4(29011.922860739887, 83477.255068544036, 72270.723422079071, -153474.5301092997, -77066.303503849529, -64979.880980175592, 137202.37402436248, 117242.87823519246, 101896.13410145289, -16203.828585195659, -73421.468280190238, -40769.81074207752, 62455.344751867844, 115645.37636627247, 9465.5083404247162, -12854.354955674438);
TestUtils.AreEqual(r0, a0 * b0);
double4x4 a1 = double4x4(260.38388049806645, 25.672123205695357, -290.50059689697838, 207.09101805793637, -156.52330858843555, -208.4020064847553, 370.94506400215676, -341.59844247512444, 10.270311121954705, -176.88876565587185, -61.006107120311867, 186.27978214355176, -487.65221785365242, -129.37681800191143, -317.71628990663044, -207.62735686433842);
double b1 = (176.86755927692525);
double4x4 r1 = double4x4(46053.461418747589, 4540.5657728478518, -51380.131541658491, 36627.682912080854, -27683.895559985587, -36859.55423537262, 65608.148095884288, -60417.682773374414, 1816.4848611547886, -31285.884245062054, -10790.001267356211, 32946.850410367362, -86249.857547754931, -22882.562027013038, -56193.704738305729, -36722.543847714689);
TestUtils.AreEqual(r1, a1 * b1);
double4x4 a2 = double4x4(388.87138933170183, 128.4155209662465, 510.38953399583215, 267.57635486665015, -309.20967569444781, -36.482969062627717, -189.56950983291932, 233.20923887622041, -331.08696261564592, -98.644771860281367, -214.18099389513071, -87.880760949049488, -493.16573475914345, -407.30606551063528, -411.37138362013332, 477.93567512833317);
double b2 = (-233.33533274072005);
double4x4 r2 = double4x4(-90737.435023058744, -29963.878313732039, -119091.91174229854, -62435.0177963588, 72149.54256481411, 8512.7657255976337, 44233.264654359431, -54415.955351392957, 77254.286588036077, 23017.31066515117, 49975.993477258453, 20505.68659755414, 115072.99081634643, 95038.8963232376, 95987.4786770142, -111519.2797847303);
TestUtils.AreEqual(r2, a2 * b2);
double4x4 a3 = double4x4(364.7485498696326, -187.4824174323503, -287.95763768253738, 208.59016070542395, 367.3161043447052, 443.25971409457725, -98.88196592167111, 339.12984792288853, -266.41220939644251, -119.37973767117586, 117.49783211457441, -63.523055821435094, -362.64026873309177, -328.826897059021, 49.473634504468009, -169.01794322254972);
double b3 = (-8.0584857501361853);
double4x4 r3 = double4x4(-2939.3209915072721, 1510.8243892796788, 2320.5025199076063, -1680.9208376632757, -2960.011592657343, -3572.0020896405904, 796.83891332523854, -2732.8730469324487, 2146.8789930835296, 962.01991487816667, -946.85460576719174, 511.89964014214013, 2922.3314380111769, 2649.846864211619, -398.68257866170137, 1362.0286869762438);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void double4x4_operator_mul_scalar_wide()
{
double a0 = (37.432166355397612);
double4x4 b0 = double4x4(96.747546479454058, 492.18539427788244, -274.05458534604617, -452.87096926796761, 420.85330434369541, 102.18292694081686, -114.94887762654054, -351.12003843445336, -464.66496799172131, 444.08484646495663, 447.10525605040846, 130.82935124767448, -321.41334191030512, 445.30131861441828, 478.24357317306271, 358.57170622356784);
double4x4 r0 = double4x4(3621.4702542954869, 18423.565556306661, -10258.456829132712, -16951.941459168724, 15753.450899411988, 3824.9283199300971, -4302.785509682908, -13143.183689392061, -17393.41638139162, 16623.057848787463, 16736.118322851533, 4897.2260400716978, -12031.197683230832, 16668.593036652819, 17901.692989413856, 13422.115757699354);
TestUtils.AreEqual(r0, a0 * b0);
double a1 = (-144.89011222910608);
double4x4 b1 = double4x4(-438.89383741789209, -3.536441089369589, -471.80755470311624, -42.560401697904069, 119.91104155402218, 271.9000023677479, 239.6840079946835, 487.44143389511919, -79.188288010278825, -112.92564468873928, 161.3700478828373, 459.75914332818195, -337.19599811043406, -276.83451689259823, 469.72386405883537, -274.56515110403541);
double4x4 r1 = double4x4(63591.377360141421, 512.39534633038193, 68360.249551474612, 6166.5813785251576, -17373.924268271276, -39395.6218581572, -34727.842817871649, -70625.4440621802, 11473.599937040075, 16361.809332495592, -23380.924348160519, -66614.553875177953, 48856.36600942623, 40110.584221458921, -68058.343380174032, 39781.775557665162);
TestUtils.AreEqual(r1, a1 * b1);
double a2 = (506.78586625810055);
double4x4 b2 = double4x4(65.882571966332648, 495.8556585236712, -347.27959148365983, -343.60605232026711, -183.70378860444936, 460.26475808595524, 437.513251746778, -324.55724755141756, -112.28778343661122, 273.13543070160574, -283.09366072485864, 1.8802692898923397, -310.81670322586626, 326.01218357962193, 243.64321982285162, 78.179342067884022);
double4x4 r2 = double4x4(33388.356305269539, 251292.63944389962, -175996.38860380583, -174134.69087665278, -93098.483642800842, 233255.67413466593, 221725.53228588932, -164481.02585068994, -56905.861599125012, 138421.17585389267, -143467.8660826243, 952.893900876593, -157517.51219180759, 165218.36686609359, 123474.94021583667, 39620.18559336097);
TestUtils.AreEqual(r2, a2 * b2);
double a3 = (-308.66400184699523);
double4x4 b3 = double4x4(-382.20924562132416, -134.17188865233766, -173.00490363547806, -432.00743194669832, 488.83650492543188, -291.71460808986546, -1.7385933407296648, -428.3124031630868, -11.958407646025705, -296.8914283704438, 235.68107449062222, -298.87918176263531, 384.53103011871269, 208.91936335755486, 489.38139199157308, -106.60549764829011);
double4x4 r3 = double4x4(117974.23529639906, 41414.032086799991, 53400.385895280429, 133345.14277231134, -150886.23185918221, 90041.798330245729, 536.64117813415487, 132204.620401022, 3691.1299597400002, 91639.696394891726, -72746.263611875242, 92253.244311610484, -118690.88659078932, -64485.886757269378, -151054.41888157203, 32905.279523011668);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void double4x4_operator_div_wide_wide()
{
double4x4 a0 = double4x4(-353.13144390337703, -102.79985456485292, 51.319128298814917, -191.87167868012176, 8.0418245829836223, -128.73764210973758, -136.05959779399427, -370.4710053738537, -237.69456326109105, -432.54687496300176, 200.26549181727012, 361.44157068871039, -416.22613234828509, -450.01919362042992, -273.49744594911925, -286.90817011841955);
double4x4 b0 = double4x4(-178.73954805114283, -302.09628381491467, -199.40583739029518, 278.85077561012042, 502.33758782890516, -361.48483078623417, 353.121059820578, -38.894930142394685, -75.764737402910725, -195.21784719974636, -405.03399224068687, -394.2300085473014, -375.82771342612227, -121.24548655433836, 447.623344391409, 338.28628007429018);
double4x4 r0 = double4x4(1.97567604793504, 0.34028837848212429, -0.25736021056579439, -0.68808013268139567, 0.016008805189634039, 0.35613566917796119, -0.3853058151307277, 9.5249176182488586, 3.1372716570909582, 2.2157137842034547, -0.49444119667433889, -0.9168291678773689, 1.1074918572499153, 3.7116366671409717, -0.61099906735420106, -0.84812239519560884);
TestUtils.AreEqual(r0, a0 / b0);
double4x4 a1 = double4x4(-314.25606241554772, 177.76210340194507, 97.626988217992221, -68.107280047660367, -386.45074027890837, 263.69934690357161, -297.0270885420158, -501.77703046322659, -263.40686071263946, -451.08085248017721, -416.34552903489464, -315.27873411554788, -28.181118739853218, -397.87015146662952, -261.38664376986526, 40.348221559239619);
double4x4 b1 = double4x4(-405.54420752336466, -431.16893526127978, 296.20513095343722, 437.939790691221, 39.21061684527001, 331.2897075765253, -310.61955156485533, 207.26946959610541, -223.2929938879297, -480.091406807346, 448.67593666942605, -460.0974516626901, -220.56984601755153, -84.853158275062754, 441.3738078742166, 72.418480191574645);
double4x4 r1 = double4x4(0.77489964493560781, -0.41227947763496636, 0.32959249525403717, -0.15551745124635385, -9.855767936625206, 0.79597808465769837, 0.95624080018671487, -2.420892143165184, 1.1796467776541293, 0.93957285234474042, -0.92794263076704353, 0.68524338262731188, 0.12776505605218016, 4.6889256635195675, -0.59221149761645042, 0.55715366371267527);
TestUtils.AreEqual(r1, a1 / b1);
double4x4 a2 = double4x4(277.24575794732471, 464.77123162931355, -336.64104358136706, 375.47808163961304, 504.34254264474964, -320.76710692083793, -156.73333914425848, 414.79707999471441, -386.05068296289568, -369.8386258416989, 386.70419687158619, 242.63180910918481, 421.73452659218322, 109.01218347857343, 182.07528242006674, 187.32643446108625);
double4x4 b2 = double4x4(44.9760778159723, -242.51539027062961, -451.30207011257392, -21.899694214528267, -358.4866656542228, -350.94512502799978, -481.84813688781492, 406.39341921657012, -145.28866321653533, 461.7955479388105, -318.81676331107354, -250.93199908497371, 125.85955506463517, -193.80316576445625, -495.25412177259761, -315.82454815312497);
double4x4 r2 = double4x4(6.1642938070706279, -1.9164607702243661, 0.74593285933165443, -17.145357280400777, -1.4068655572567703, 0.914009296739044, 0.32527538688138485, 1.0206786340053058, 2.6571287422992764, -0.80087092110880154, -1.2129355836106837, -0.96692255269931449, 3.3508343993080341, -0.56248917838145251, -0.36764011527736257, -0.59313449684811248);
TestUtils.AreEqual(r2, a2 / b2);
double4x4 a3 = double4x4(510.86239528603028, -457.9560503707994, -263.39078319416888, 31.910513177472353, -86.771075527542791, -472.43394945209565, 257.443043590264, 208.63588748156837, -123.36692601226594, -210.80247531216708, 299.21243371591549, 197.71428331998845, 314.34426870678749, -152.24991686281277, -48.314253591147349, 308.02502336540488);
double4x4 b3 = double4x4(-320.71913328800309, 169.99683364201189, 252.73835980740296, -324.10479060006548, 82.818841734351054, 454.14113661932811, -476.33360908754804, -58.3329818520383, -292.2635706831997, 395.90201944667012, 90.552673620429232, 84.062521258398192, 203.7032307142872, 49.499401353997882, 57.28124740406929, 487.59666441734726);
double4x4 r3 = double4x4(-1.5928653524617757, -2.6939092956000987, -1.0421480276871444, -0.098457394345796215, -1.047721432833713, -1.040280017284805, -0.54046793818184491, -3.5766367646141188, 0.42210846094804616, -0.53246122767141668, 3.3042915438380978, 2.3519908796482354, 1.5431481749432079, -3.0757930944252947, -0.84345672939578964, 0.63172094036672466);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void double4x4_operator_div_wide_scalar()
{
double4x4 a0 = double4x4(171.34242184988341, 0.10338377957384637, 57.888263967767443, -256.13074529177078, 95.6696842162263, -290.38690461329509, -127.44869118903239, -79.7448890580539, 146.46688110496234, -499.84355687529012, 58.686315802245531, -453.20579859856787, -205.03382143985192, 481.73814247629514, 464.47907159499778, -293.46349753693841);
double b0 = (171.79682191265601);
double4x4 r0 = double4x4(0.99735501473360411, 0.00060177934855167557, 0.33695771157628673, -1.4908933846400916, 0.55687691513214455, -1.6902926455818372, -0.74185709473618289, -0.46418139852783397, 0.85255873463962106, -2.909504095072363, 0.34160303519515922, -2.6380336583233435, -1.193466905599069, 2.8041155657769838, 2.7036534577522375, -1.7082009682701784);
TestUtils.AreEqual(r0, a0 / b0);
double4x4 a1 = double4x4(-158.50557930697948, 494.12860535743118, 203.58342680874443, 180.97040160976837, 259.11918723728468, 460.84470603468117, 490.95625924084163, -280.47805536933151, -320.24387112271222, 192.41448912043802, 264.80085885934568, 226.85298524929817, -192.23568949114332, 460.97652957447644, -437.89221760159927, -413.23271794488312);
double b1 = (-289.5822156824089);
double4x4 r1 = double4x4(0.54735950870966465, -1.706349971088531, -0.70302461885994683, -0.624936172904494, -0.89480352454194323, -1.5914123211906754, -1.6953950645204126, 0.9685610516805282, 1.1058823842757342, -0.66445547654578063, -0.91442376126356639, -0.78338023871636087, 0.663838036593975, -1.5918675409267515, 1.5121516235715426, 1.4269961881847206);
TestUtils.AreEqual(r1, a1 / b1);
double4x4 a2 = double4x4(249.47184693509337, 216.78560195527302, 383.73890298592812, 82.023314752626789, 189.57466062790468, 314.50384273869167, -391.92216343056509, 121.28058701440716, 417.90175147443165, -133.26287013537382, -428.74240299162568, -188.53187641339929, 356.25952570338711, 181.96896823773579, -140.8904808223669, 474.08261678837357);
double b2 = (313.03501739773662);
double4x4 r2 = double4x4(0.79694549513647206, 0.69252827928777427, 1.2258657391621985, 0.26202600410167354, 0.60560208951650463, 1.0046922077701255, -1.252007416577922, 0.38743456889460465, 1.3350000103772839, -0.42571234120447432, -1.3696308053832627, -0.602270883240689, 1.1380820224682091, 0.58130547103147034, -0.4500789783634781, 1.5144715141757217);
TestUtils.AreEqual(r2, a2 / b2);
double4x4 a3 = double4x4(-451.35772511519383, -220.99979816237453, 463.01120946510287, 502.37202024011503, 424.67763467537134, 51.258677744892793, 78.932004726925811, -487.65268992243927, -96.086444661061478, 29.198606266266893, 119.75044995162193, 205.40212569264793, -173.29742940389434, -448.82008644976656, -15.421466596155199, 472.02691934631525);
double b3 = (390.12471097992955);
double4x4 r3 = double4x4(-1.156957537966403, -0.56648500323719342, 1.1868287151103409, 1.2877216082473695, 1.0885689184072715, 0.13139049207146958, 0.2023250578735746, -1.2499918005643256, -0.24629674039285546, 0.074844288107063922, 0.30695428046797746, 0.52650375613662448, -0.44421033717295044, -1.1504528521723318, -0.0395295815981997, 1.2099385300681433);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void double4x4_operator_div_scalar_wide()
{
double a0 = (-264.44250095283729);
double4x4 b0 = double4x4(105.58908157497137, -142.34910137129441, -288.94890679463231, 39.644133824689334, -363.99138396046658, -149.71822006521666, -395.72912306139671, 258.71868693955184, -9.6662514254759344, 117.72553282497711, -331.38655797177296, -509.98602676297821, 427.8964666928614, 467.61712882836218, -407.12461943511136, 252.69070994699871);
double4x4 r0 = double4x4(-2.5044492954044237, 1.85770404172122, 0.915187753732487, -6.670406827961755, 0.72650758398599513, 1.7662679988958405, 0.66824119212426392, -1.0221236976771717, 27.357295947825712, -2.2462629355518375, 0.79798801306648692, 0.51852891466718543, -0.6180058063967393, -0.56551072373120947, 0.64953699267745924, -1.0465066207155123);
TestUtils.AreEqual(r0, a0 / b0);
double a1 = (444.59937664708093);
double4x4 b1 = double4x4(-88.313306134340053, 199.95503411067421, -218.34692607556792, -13.417186028052697, -296.13107575854804, 0.561349630617201, -289.29929865957206, 196.21833929615946, 334.73346845001606, -282.39273203648293, -479.50358436978587, -473.43943927876626, 105.0507777226394, -287.63127841038227, 77.299297130340392, -210.89436421678141);
double4x4 r1 = double4x4(-5.0343418914785865, 2.2234967907884591, -2.0362062550548985, -33.136559015989725, -1.5013600835651144, 792.01865004925048, -1.5368145678439944, 2.2658400751013947, 1.3282190714474986, -1.5744009183269, -0.92720761875309077, -0.93908394561378317, 4.2322330808529154, -1.5457268037891974, 5.7516613106766954, -2.1081614878530881);
TestUtils.AreEqual(r1, a1 / b1);
double a2 = (-184.0682357214709);
double4x4 b2 = double4x4(-315.14843645465953, 87.86691264429453, 101.5905373569534, 345.93639890567226, -146.31811744827689, 479.99991177022457, -172.67688401633728, -178.0136545533378, 361.76045315422141, 349.37693111476347, -398.68612951724145, -243.7800091448147, 296.62295045360133, 477.81065224009126, 486.60035942802222, 256.91724622292315);
double4x4 r2 = double4x4(0.58406837676934764, -2.0948526604846291, -1.8118639836968269, -0.53208692783918776, 1.2580003005201223, -0.38347556157381996, 1.0659691757239254, 1.0340118918592225, -0.50881248659593292, -0.52684713651288007, 0.46168708187654856, 0.75505877765443552, -0.6205461696068707, -0.38523259131732357, -0.37827394114101187, -0.71644951215831465);
TestUtils.AreEqual(r2, a2 / b2);
double a3 = (-89.8642156542578);
double4x4 b3 = double4x4(-148.20586330639469, 388.35636657679288, 76.937261855666179, 260.97468507521535, -110.27984266648059, 369.08954899808839, -511.64960813506025, 355.42579452852988, -186.72485241048264, -379.32548802873373, -428.22553869161084, 220.1581262183181, 397.28297085188467, -106.64318876464068, 103.31414489788665, 212.90833745380326);
double4x4 r3 = double4x4(0.60634723653595424, -0.23139627256886547, -1.1680194159085426, -0.34434073798521148, 0.81487435492662263, -0.2434753731125647, 0.17563624446387993, -0.25283537952967688, 0.48126542607572503, 0.23690529239482749, 0.20985253688704927, -0.40818032564986789, -0.22619699873257604, 0.84266249626674494, -0.86981521981406851, -0.42207936395988482);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void double4x4_operator_mod_wide_wide()
{
double4x4 a0 = double4x4(-388.81249422059045, 181.68118842955732, -167.07872470052854, 432.82015319951813, -258.43895995730486, -170.11079629236406, 283.318293464984, 122.71651297561664, 335.27101413126616, -503.60851668920765, 191.02251848532933, 289.74269379756538, -124.03371745163281, 259.27395761165485, -274.35845030208975, -140.03080398404541);
double4x4 b0 = double4x4(436.94417187056695, 58.940049437312382, -201.11623368091705, 279.2893537391393, -397.07975954426445, 377.89994758083481, 174.69386657266591, -228.17652736798698, -317.06019106370405, -417.48011107811709, -249.9759434433542, -397.57157177364991, -358.74544947163452, -198.1592100589346, 208.73709378425826, -12.119406944196385);
double4x4 r0 = double4x4(-388.81249422059045, 4.8610401176201776, -167.07872470052854, 153.53079946037883, -258.43895995730486, -170.11079629236406, 108.62442689231807, 122.71651297561664, 18.210823067562103, -86.128405611090557, 191.02251848532933, 289.74269379756538, -124.03371745163281, 61.114747552720246, -65.621356517831487, -6.7173275978851734);
TestUtils.AreEqual(r0, a0 % b0);
double4x4 a1 = double4x4(324.5775689205982, -200.51308903494527, 211.42317328761476, -51.272212767634642, -230.63392483006879, 99.989400671790122, 399.18986649028489, 24.903281461868119, 50.92402961241271, -364.86367886367429, -252.62662398658068, -281.28977955565313, -364.79852192699843, -329.02623311105475, 51.6098087074281, 41.647804041229051);
double4x4 b1 = double4x4(25.27141596063575, -194.12068495253135, -493.8717965995296, -312.3016990685378, -216.98060546488529, 413.57096047586344, -436.39440151508637, 3.4912750737235, -308.23343076754054, -441.37506195594324, 84.6008532441225, 373.16344922276369, 67.252760203207231, -320.33327522889397, 118.97936325845274, 44.823946258436877);
double4x4 r1 = double4x4(21.3205773929692, -6.3924040824139183, 211.42317328761476, -51.272212767634642, -13.653319365183506, 99.989400671790122, 399.18986649028489, 0.46435594580361794, 50.92402961241271, -364.86367886367429, -83.424917498335674, -281.28977955565313, -28.534720910962278, -8.6929578821607834, 51.6098087074281, 41.647804041229051);
TestUtils.AreEqual(r1, a1 % b1);
double4x4 a2 = double4x4(254.95104443978096, -458.67762133976333, -136.79304439238882, 72.400299344398263, 246.21202170393053, 325.1538137519517, 162.03465588485574, -284.76143826393479, 128.35126906649737, 262.91676032865269, 61.600772647932558, -271.4927829576157, -205.43880448371118, -341.32216302553292, 347.1544365115252, 148.0884922240341);
double4x4 b2 = double4x4(354.00861065183233, -253.95312249565177, -195.16280207185207, 317.14281073079576, 320.6931823793301, -103.99687604978533, 388.17173332170194, -199.63931593654644, -256.21731746206865, -478.12501953454921, -210.65574202810217, -272.02328432352431, -61.676538257709012, -367.82958691559247, -242.93893753874067, 162.38671191147841);
double4x4 r2 = double4x4(254.95104443978096, -204.72449884411157, -136.79304439238882, 72.400299344398263, 246.21202170393053, 13.163185602595718, 162.03465588485574, -85.122122327388354, 128.35126906649737, 262.91676032865269, 61.600772647932558, -271.4927829576157, -20.409189710584144, -341.32216302553292, 104.21549897278453, 148.0884922240341);
TestUtils.AreEqual(r2, a2 % b2);
double4x4 a3 = double4x4(253.37159049388561, -353.38008396391763, -489.71678017532304, -371.71568053388768, 131.3662698880612, -175.58708365987383, 271.4470394921708, -300.871206662092, -159.98580153285798, 63.315455704608667, 368.06260292980005, 495.22317361050432, 113.50139360944809, 463.48568198805935, -365.8406390463191, 481.98837421927055);
double4x4 b3 = double4x4(-456.83454558664681, -466.8187441615475, -233.14359604248011, -265.91316831573522, -170.00648959447, -61.319806365910836, 334.7070964941322, -240.97025524870037, 382.61308282549169, -204.17287383050325, 7.7728235757782613, -46.393213532116818, 325.34566298376103, 436.88349386532025, -71.770113740009322, -22.849040757328737);
double4x4 r3 = double4x4(253.37159049388561, -353.38008396391763, -23.429588090362813, -105.80251221815246, 131.3662698880612, -52.947470928052155, 271.4470394921708, -59.900951413391624, -159.98580153285798, 63.315455704608667, 2.7398948682217679, 31.291038289336143, 113.50139360944809, 26.602188122739108, -6.9900703462724891, 2.1585183153670755);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void double4x4_operator_mod_wide_scalar()
{
double4x4 a0 = double4x4(-244.49962889612635, -211.81931958525411, -145.92677576184587, -304.91822090042672, 155.47946436492703, -133.90778428591221, 281.30965412841624, -226.53575311719243, 335.16613046041039, 101.70649032560482, 319.47152033423606, -285.40231646476423, -355.84685985923136, 259.37800061860025, -330.87193957477433, -284.34358109363518);
double b0 = (39.634963769295723);
double4x4 r0 = double4x4(-6.6898462803520147, -13.644500738775491, -27.021884453958705, -27.473474515356656, 36.574573057039856, -15.002892978025045, 3.86490774334618, -28.360934270713813, 18.0864203060446, 22.436562787013372, 2.3918101798702764, -7.9575700796941646, -38.767149704865574, 21.568218002825915, -13.792229420408546, -6.8988347085651185);
TestUtils.AreEqual(r0, a0 % b0);
double4x4 a1 = double4x4(-102.68343811048356, 206.41684517935698, -416.71365447375626, -339.256669917729, 435.29751440291182, 132.55290490600885, 226.94410215455298, -306.11827268550093, 115.43844633709568, 281.88292015804109, -218.3474491659307, -140.04050237501065, -462.32346961569203, -211.60869822819188, 351.33104555277669, 321.04701176334504);
double b1 = (-172.14173921017988);
double4x4 r1 = double4x4(-102.68343811048356, 34.275105969177105, -72.430176053396508, -167.11493070754915, 91.014035982552059, 132.55290490600885, 54.8023629443731, -133.97653347532105, 115.43844633709568, 109.74118094786121, -46.20570995575082, -140.04050237501065, -118.03999119533228, -39.466959018012005, 7.04756713241693, 148.90527255316516);
TestUtils.AreEqual(r1, a1 % b1);
double4x4 a2 = double4x4(346.08518497370426, 465.40920446133669, -367.19701617173712, -467.51058957889239, 415.21510215067076, 506.18618011203887, -3.729830982037754, 128.24987822782714, 134.94156104649494, 247.61696230974837, -285.28786553316183, 433.76666017704019, -141.83102209019989, -229.7818902608854, 471.21804283150379, 377.68146651689028);
double b2 = (-94.407745643708722);
double4x4 r2 = double4x4(62.861948042578092, 87.7782218865018, -83.973779240610952, -89.8796070040575, 37.584119575835871, 34.147451893495258, -3.729830982037754, 33.842132584118417, 40.533815402786217, 58.801471022330929, -2.0646286020356683, 56.135677602205305, -47.423276446491172, -40.96639897346796, 93.5870602566689, 0.050483942055393527);
TestUtils.AreEqual(r2, a2 % b2);
double4x4 a3 = double4x4(433.40759559786306, -333.35813084866766, 403.17845625578354, -417.24295897839727, 116.33744936638391, 167.62777550873705, 139.12912208360115, -510.79994821492579, -471.95898197216866, 96.209295556046641, -12.342896705653004, 425.50474925781816, 285.48960007610242, -198.6848114462033, 480.14047478145937, -94.449328228109209);
double b3 = (-99.44909791808999);
double4x4 r3 = double4x4(35.611203925503105, -35.010837094397687, 5.3820645834235847, -19.446567306037309, 16.888351448293918, 68.178677590647055, 39.680024165511156, -13.554458624475842, -74.1625902998087, 96.209295556046641, -12.342896705653004, 27.708357585458202, 86.59140423992244, -99.235713528113308, 82.344083109099415, -94.449328228109209);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void double4x4_operator_mod_scalar_wide()
{
double a0 = (-66.945025236785909);
double4x4 b0 = double4x4(-249.77609479137516, -396.07375664081133, 386.49204582091977, 168.93948109864232, -199.4182442163202, 261.7517141130528, 16.127438791155555, 257.66814744550186, -75.788451945310669, 170.95630439136005, -242.85828005655588, 425.94531913564788, 303.27240409668184, 3.033060790520608, -505.74352788633831, 461.95706126743789);
double4x4 r0 = double4x4(-66.945025236785909, -66.945025236785909, -66.945025236785909, -66.945025236785909, -66.945025236785909, -66.945025236785909, -2.4352700721636893, -66.945025236785909, -66.945025236785909, -66.945025236785909, -66.945025236785909, -66.945025236785909, -66.945025236785909, -0.21768784533253438, -66.945025236785909, -66.945025236785909);
TestUtils.AreEqual(r0, a0 % b0);
double a1 = (205.97275672013529);
double4x4 b1 = double4x4(270.04063642678807, -47.480711720642034, -150.254496405951, 149.49949009227544, -220.29804263836616, 31.118842377848409, 400.63568348467152, 6.2314283876826266, -39.050740021770252, -71.941097054603063, -495.30713843521994, -86.71961859926563, -436.97006365143233, -472.2947320753218, -130.00875359867177, -251.51684605866524);
double4x4 r1 = double4x4(205.97275672013529, 16.049909837567157, 55.718260314184306, 56.473266627859857, 205.97275672013529, 19.259702453044838, 205.97275672013529, 0.33561992660861506, 10.719056611284032, 62.090562610929169, 205.97275672013529, 32.533519521604035, 205.97275672013529, 205.97275672013529, 75.96400312146352, 205.97275672013529);
TestUtils.AreEqual(r1, a1 % b1);
double a2 = (281.97637022751212);
double4x4 b2 = double4x4(388.86081928241106, 50.615297579493017, 293.870868581287, 123.74424820940203, 422.90433211946129, -53.8761976016109, -178.85765966161046, -362.27595799149753, 361.08526747351755, 465.27609822958527, -269.88963306596952, -159.40897734435691, -29.095214618879936, 484.49945067078784, -354.95061008769585, -328.69059411095952);
double4x4 r2 = double4x4(281.97637022751212, 28.899882330047035, 281.97637022751212, 34.487873808708059, 281.97637022751212, 12.595382219457633, 103.11871056590167, 281.97637022751212, 281.97637022751212, 281.97637022751212, 12.086737161542601, 122.56739288315521, 20.119438657592696, 281.97637022751212, 281.97637022751212, 281.97637022751212);
TestUtils.AreEqual(r2, a2 % b2);
double a3 = (-171.73922236810404);
double4x4 b3 = double4x4(-300.49299468681818, -64.589186936891281, 400.00459475070454, 295.55548467093865, 482.521947846991, 84.807400981340265, 497.85636233624837, -349.29194728904031, 351.63249580545005, -178.30718883234408, -0.56542277362450477, -167.61223395523251, -150.81838829387834, 131.25103646668185, 399.15047354211583, 165.46216519431312);
double4x4 r3 = double4x4(-171.73922236810404, -42.560848494321476, -171.73922236810404, -171.73922236810404, -171.73922236810404, -2.124420405423507, -171.73922236810404, -171.73922236810404, -171.73922236810404, -171.73922236810404, -0.41612195987909217, -4.1269884128715262, -20.920834074225695, -40.488185901422185, -171.73922236810404, -6.2770571737909222);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void double4x4_operator_plus()
{
double4x4 a0 = double4x4(-418.82956357432045, -405.79894823851015, -34.041791216489742, 236.99924456188421, -459.83910129025537, 210.8614223985287, 293.74197902052754, -373.015422279488, -386.059833944803, 4.9544198536101476, -418.64524932328857, 504.47483062393724, -170.74650843941907, 439.55937572920664, -478.74939916969714, 116.40075665172219);
double4x4 r0 = double4x4(-418.82956357432045, -405.79894823851015, -34.041791216489742, 236.99924456188421, -459.83910129025537, 210.8614223985287, 293.74197902052754, -373.015422279488, -386.059833944803, 4.9544198536101476, -418.64524932328857, 504.47483062393724, -170.74650843941907, 439.55937572920664, -478.74939916969714, 116.40075665172219);
TestUtils.AreEqual(r0, +a0);
double4x4 a1 = double4x4(421.40964742256779, 447.86609122150867, 124.16434031546316, 222.17254386757156, -65.949277193261878, 239.04183947250328, 498.4495329793773, -139.382530515726, 279.07295549990283, 108.7758186370022, 37.999210613779383, 136.81214934997831, -236.03003965878395, -440.3083276414817, 342.2791270419392, 102.4722116470673);
double4x4 r1 = double4x4(421.40964742256779, 447.86609122150867, 124.16434031546316, 222.17254386757156, -65.949277193261878, 239.04183947250328, 498.4495329793773, -139.382530515726, 279.07295549990283, 108.7758186370022, 37.999210613779383, 136.81214934997831, -236.03003965878395, -440.3083276414817, 342.2791270419392, 102.4722116470673);
TestUtils.AreEqual(r1, +a1);
double4x4 a2 = double4x4(-161.454825714908, 141.31435949230308, 239.32088600812517, -494.60408543730347, 361.59198134094106, -14.601737267617921, 141.71249515456725, 25.25630880578251, -268.22689569565784, 106.77467613423926, 176.74438079481217, 104.11991005023935, 144.61861736356218, 289.45191372998613, -393.01668781461973, -198.95573506083139);
double4x4 r2 = double4x4(-161.454825714908, 141.31435949230308, 239.32088600812517, -494.60408543730347, 361.59198134094106, -14.601737267617921, 141.71249515456725, 25.25630880578251, -268.22689569565784, 106.77467613423926, 176.74438079481217, 104.11991005023935, 144.61861736356218, 289.45191372998613, -393.01668781461973, -198.95573506083139);
TestUtils.AreEqual(r2, +a2);
double4x4 a3 = double4x4(-419.00921388110578, 233.29548727408769, 407.3215832222819, -129.00210744189195, 321.17217436487419, -132.84078771101349, -20.491324195867094, -135.6182249223898, -226.9120567901582, -409.91439623847344, -256.25723159325179, 2.17242837053368, 361.97020571398093, -66.737252504908156, -248.92437636522777, -109.99738102313012);
double4x4 r3 = double4x4(-419.00921388110578, 233.29548727408769, 407.3215832222819, -129.00210744189195, 321.17217436487419, -132.84078771101349, -20.491324195867094, -135.6182249223898, -226.9120567901582, -409.91439623847344, -256.25723159325179, 2.17242837053368, 361.97020571398093, -66.737252504908156, -248.92437636522777, -109.99738102313012);
TestUtils.AreEqual(r3, +a3);
}
[TestCompiler]
public static void double4x4_operator_neg()
{
double4x4 a0 = double4x4(148.46174890755753, -467.12267873581624, 132.04719954917539, 183.52262290917463, 473.7010145009034, -407.99109024926605, -54.958759571872065, -382.98981803608581, -299.09338893512887, -383.01406377508027, 407.70980305583669, 168.73550351370852, 466.44152829909763, 171.90249474900895, -280.55831564616335, -78.85761622286293);
double4x4 r0 = double4x4(-148.46174890755753, 467.12267873581624, -132.04719954917539, -183.52262290917463, -473.7010145009034, 407.99109024926605, 54.958759571872065, 382.98981803608581, 299.09338893512887, 383.01406377508027, -407.70980305583669, -168.73550351370852, -466.44152829909763, -171.90249474900895, 280.55831564616335, 78.85761622286293);
TestUtils.AreEqual(r0, -a0);
double4x4 a1 = double4x4(318.69633522569029, 140.34000284054321, 132.19563180403577, -505.89525127126615, 410.38058466947666, -237.05693375182193, -137.617827241131, -245.34998547534923, 422.52133222227974, -434.57134386271764, 60.222219256787639, -466.56631515294606, 426.89450116962871, 146.64955885086658, -391.37208408460583, 423.23773809114368);
double4x4 r1 = double4x4(-318.69633522569029, -140.34000284054321, -132.19563180403577, 505.89525127126615, -410.38058466947666, 237.05693375182193, 137.617827241131, 245.34998547534923, -422.52133222227974, 434.57134386271764, -60.222219256787639, 466.56631515294606, -426.89450116962871, -146.64955885086658, 391.37208408460583, -423.23773809114368);
TestUtils.AreEqual(r1, -a1);
double4x4 a2 = double4x4(254.29757296959758, 108.05966263080927, -507.97628688624889, -306.24571456864743, 219.66627298093692, 474.66795252015254, -98.760666177962264, 492.11106156376707, 84.0458290968304, 300.97664298721429, -483.86463307024195, -389.157431545275, -324.68608418325243, 378.8543824529529, 190.2192524365239, -69.102404865018286);
double4x4 r2 = double4x4(-254.29757296959758, -108.05966263080927, 507.97628688624889, 306.24571456864743, -219.66627298093692, -474.66795252015254, 98.760666177962264, -492.11106156376707, -84.0458290968304, -300.97664298721429, 483.86463307024195, 389.157431545275, 324.68608418325243, -378.8543824529529, -190.2192524365239, 69.102404865018286);
TestUtils.AreEqual(r2, -a2);
double4x4 a3 = double4x4(507.49539184360549, 245.01338517154261, 429.61580034234362, 142.35700017882368, -430.84906765019946, 281.93425501600575, -242.33497320969354, -83.1273916154762, -460.82031772137634, -485.41974638654841, 396.8190211713403, -428.42350288313975, -213.98789010475758, -17.6636226259468, 287.08188714044252, 257.49776542256484);
double4x4 r3 = double4x4(-507.49539184360549, -245.01338517154261, -429.61580034234362, -142.35700017882368, 430.84906765019946, -281.93425501600575, 242.33497320969354, 83.1273916154762, 460.82031772137634, 485.41974638654841, -396.8190211713403, 428.42350288313975, 213.98789010475758, 17.6636226259468, -287.08188714044252, -257.49776542256484);
TestUtils.AreEqual(r3, -a3);
}
[TestCompiler]
public static void double4x4_operator_prefix_inc()
{
double4x4 a0 = double4x4(-139.84208137348389, -56.743654039103376, -381.955324589254, 509.79634380237962, -222.89634452708827, 210.31986556310198, -392.73151058365193, -300.19410218866267, 362.21273939787068, 401.614830919362, 130.90919429199266, -450.23016402229212, 243.54693114177644, 46.19202735190845, -41.497298975241051, 299.18547000511808);
double4x4 r0 = double4x4(-138.84208137348389, -55.743654039103376, -380.955324589254, 510.79634380237962, -221.89634452708827, 211.31986556310198, -391.73151058365193, -299.19410218866267, 363.21273939787068, 402.614830919362, 131.90919429199266, -449.23016402229212, 244.54693114177644, 47.19202735190845, -40.497298975241051, 300.18547000511808);
TestUtils.AreEqual(r0, ++a0);
double4x4 a1 = double4x4(154.35656530892311, 200.70599922943211, 92.957765384091886, 448.60215565590283, -295.58701171334229, 18.499063262016989, -215.71113381893895, 471.94723651928234, 257.07660090973445, 41.625937719655212, 4.8254301570474354, 243.00478588929627, -472.61902330472088, -125.7202084649914, -477.45955227197129, 9.8914859340952717);
double4x4 r1 = double4x4(155.35656530892311, 201.70599922943211, 93.957765384091886, 449.60215565590283, -294.58701171334229, 19.499063262016989, -214.71113381893895, 472.94723651928234, 258.07660090973445, 42.625937719655212, 5.8254301570474354, 244.00478588929627, -471.61902330472088, -124.7202084649914, -476.45955227197129, 10.891485934095272);
TestUtils.AreEqual(r1, ++a1);
double4x4 a2 = double4x4(-76.922842299995409, -387.17744344620849, 461.70929906410595, 13.699699169816313, -46.303758404359087, 89.366049569736219, -222.22908626414329, 340.81780807153223, 399.74125046270956, -311.37233772472121, 300.17795457512977, -272.77828777617697, 351.01916782512296, 436.57524010007046, -137.06332475369021, 312.57995453131377);
double4x4 r2 = double4x4(-75.922842299995409, -386.17744344620849, 462.70929906410595, 14.699699169816313, -45.303758404359087, 90.366049569736219, -221.22908626414329, 341.81780807153223, 400.74125046270956, -310.37233772472121, 301.17795457512977, -271.77828777617697, 352.01916782512296, 437.57524010007046, -136.06332475369021, 313.57995453131377);
TestUtils.AreEqual(r2, ++a2);
double4x4 a3 = double4x4(-315.99901380948677, -442.44696041683062, -93.810562415891582, -76.444237029386784, -8.3283851185479989, 436.75728269887964, 345.75580922968493, -474.15089271690272, 32.02705456317733, -343.30607215655323, 114.44305925930064, -31.198888077958884, 322.83176270259162, 15.335039384353422, 96.3687465639639, 51.878350043612727);
double4x4 r3 = double4x4(-314.99901380948677, -441.44696041683062, -92.810562415891582, -75.444237029386784, -7.3283851185479989, 437.75728269887964, 346.75580922968493, -473.15089271690272, 33.02705456317733, -342.30607215655323, 115.44305925930064, -30.198888077958884, 323.83176270259162, 16.335039384353422, 97.3687465639639, 52.878350043612727);
TestUtils.AreEqual(r3, ++a3);
}
[TestCompiler]
public static void double4x4_operator_postfix_inc()
{
double4x4 a0 = double4x4(-396.6697396695007, 511.20749378167443, 249.11127030528678, -128.81731301584153, -259.49027669592306, 278.00817764830219, -81.393423356764686, 66.719732554033271, 167.85212691493894, 147.94395048354932, -326.10758486674524, 41.033564825092185, 128.5304239394751, 73.155582223625629, -60.132380275117384, -446.22976490772783);
double4x4 r0 = double4x4(-396.6697396695007, 511.20749378167443, 249.11127030528678, -128.81731301584153, -259.49027669592306, 278.00817764830219, -81.393423356764686, 66.719732554033271, 167.85212691493894, 147.94395048354932, -326.10758486674524, 41.033564825092185, 128.5304239394751, 73.155582223625629, -60.132380275117384, -446.22976490772783);
TestUtils.AreEqual(r0, a0++);
double4x4 a1 = double4x4(-296.93783797739906, 446.22930714405572, 49.200223230384381, -326.64314738225335, -510.86424064583343, 471.64748762159024, -171.01308186865089, 310.72735967800361, -298.91717185588425, 489.98497008252184, 184.60345109952777, 290.69102896875279, 117.1923401901463, 164.44293578175962, 412.36778874526158, -229.38657079887884);
double4x4 r1 = double4x4(-296.93783797739906, 446.22930714405572, 49.200223230384381, -326.64314738225335, -510.86424064583343, 471.64748762159024, -171.01308186865089, 310.72735967800361, -298.91717185588425, 489.98497008252184, 184.60345109952777, 290.69102896875279, 117.1923401901463, 164.44293578175962, 412.36778874526158, -229.38657079887884);
TestUtils.AreEqual(r1, a1++);
double4x4 a2 = double4x4(239.59693848322934, -80.708194531830145, -391.03352016538076, -478.22714136458336, 166.86049159190645, -291.17449321000583, -389.39665216458809, -52.132133269744031, 35.755328910311391, 356.05211298356392, 6.5294592410929226, -285.34983052189921, 418.0164985219094, 47.142905018824536, 31.451607480389839, 148.9468749263076);
double4x4 r2 = double4x4(239.59693848322934, -80.708194531830145, -391.03352016538076, -478.22714136458336, 166.86049159190645, -291.17449321000583, -389.39665216458809, -52.132133269744031, 35.755328910311391, 356.05211298356392, 6.5294592410929226, -285.34983052189921, 418.0164985219094, 47.142905018824536, 31.451607480389839, 148.9468749263076);
TestUtils.AreEqual(r2, a2++);
double4x4 a3 = double4x4(-219.80038200123255, 448.954246014801, -32.546052232638942, 441.97340771275265, -128.24944478285005, -472.43999383991581, -91.875647826062334, 72.4553273061548, -472.57310484003887, 300.02320756578035, 246.0031255437076, 288.02870358528048, -461.3402132752073, 495.5010147017897, -226.47537361200682, -241.57986437602892);
double4x4 r3 = double4x4(-219.80038200123255, 448.954246014801, -32.546052232638942, 441.97340771275265, -128.24944478285005, -472.43999383991581, -91.875647826062334, 72.4553273061548, -472.57310484003887, 300.02320756578035, 246.0031255437076, 288.02870358528048, -461.3402132752073, 495.5010147017897, -226.47537361200682, -241.57986437602892);
TestUtils.AreEqual(r3, a3++);
}
[TestCompiler]
public static void double4x4_operator_prefix_dec()
{
double4x4 a0 = double4x4(123.12869626056806, 256.8437465433235, 156.33078844674435, 461.73742530389563, 325.86799755965728, 392.01561731473339, 187.87412580655609, -236.2252043393558, 125.10963517292851, 469.8447313112415, 45.536655685648611, 376.04684680329956, -363.07547991493504, -22.028951416736902, 248.79012667797042, 168.0950144120003);
double4x4 r0 = double4x4(122.12869626056806, 255.8437465433235, 155.33078844674435, 460.73742530389563, 324.86799755965728, 391.01561731473339, 186.87412580655609, -237.2252043393558, 124.10963517292851, 468.8447313112415, 44.536655685648611, 375.04684680329956, -364.07547991493504, -23.028951416736902, 247.79012667797042, 167.0950144120003);
TestUtils.AreEqual(r0, --a0);
double4x4 a1 = double4x4(168.26565011230559, 166.9455474200405, 183.95795854551625, 485.69469259944492, -460.73930261132273, 89.569894117102876, -267.42982090051743, 201.75623450137505, -141.21688682456357, -217.48409782046645, 197.36173281323249, -213.54412732531506, 180.74062570405226, -128.31251412644633, 478.04553888647149, -454.56614062495817);
double4x4 r1 = double4x4(167.26565011230559, 165.9455474200405, 182.95795854551625, 484.69469259944492, -461.73930261132273, 88.569894117102876, -268.42982090051743, 200.75623450137505, -142.21688682456357, -218.48409782046645, 196.36173281323249, -214.54412732531506, 179.74062570405226, -129.31251412644633, 477.04553888647149, -455.56614062495817);
TestUtils.AreEqual(r1, --a1);
double4x4 a2 = double4x4(-386.89835256473083, -315.11044969927076, -108.28654556548526, -286.31702937107394, -375.60158007945938, -87.60597113874087, 78.275426662655263, 161.5319641388636, -346.8479546731561, -57.540783670517044, 455.37286231265068, 444.79814478605897, 129.82014638270255, 134.71065455987616, 61.323015956824179, -274.54334486394345);
double4x4 r2 = double4x4(-387.89835256473083, -316.11044969927076, -109.28654556548526, -287.31702937107394, -376.60158007945938, -88.60597113874087, 77.275426662655263, 160.5319641388636, -347.8479546731561, -58.540783670517044, 454.37286231265068, 443.79814478605897, 128.82014638270255, 133.71065455987616, 60.323015956824179, -275.54334486394345);
TestUtils.AreEqual(r2, --a2);
double4x4 a3 = double4x4(-43.3955581390278, 211.51068673446343, -161.216324642867, 149.43400366112314, 90.4325187627378, -344.72614757377937, -88.239390652738223, -252.0188091974793, -44.915115615779143, 97.499715135199835, 502.51239299332372, 489.31892298595926, 456.36900946887624, 86.157245437687834, 79.491116799177234, 318.61298742825772);
double4x4 r3 = double4x4(-44.3955581390278, 210.51068673446343, -162.216324642867, 148.43400366112314, 89.4325187627378, -345.72614757377937, -89.239390652738223, -253.0188091974793, -45.915115615779143, 96.499715135199835, 501.51239299332372, 488.31892298595926, 455.36900946887624, 85.157245437687834, 78.491116799177234, 317.61298742825772);
TestUtils.AreEqual(r3, --a3);
}
[TestCompiler]
public static void double4x4_operator_postfix_dec()
{
double4x4 a0 = double4x4(379.68831723727669, 302.69287814884115, -176.07134040448409, -291.25267066212962, 470.56758401848731, -402.92594666170231, -63.655158787805192, 355.26110069605568, -27.889220489137415, -100.76183824462902, 156.14034969924967, 479.94519613680677, -200.30429491787419, -445.0269393609031, 407.42034907239508, 327.67032519340069);
double4x4 r0 = double4x4(379.68831723727669, 302.69287814884115, -176.07134040448409, -291.25267066212962, 470.56758401848731, -402.92594666170231, -63.655158787805192, 355.26110069605568, -27.889220489137415, -100.76183824462902, 156.14034969924967, 479.94519613680677, -200.30429491787419, -445.0269393609031, 407.42034907239508, 327.67032519340069);
TestUtils.AreEqual(r0, a0--);
double4x4 a1 = double4x4(48.0602071509046, -38.435048836485976, 283.941595924991, -94.802087112703418, 152.51066334196867, -287.262531175866, -215.94803939384781, -407.04635567546188, 159.23357136511879, -359.45648663093175, 168.4139531442961, -278.93379868144814, 289.91284073978329, 402.03954691534841, 470.71654937729079, -208.56061873611094);
double4x4 r1 = double4x4(48.0602071509046, -38.435048836485976, 283.941595924991, -94.802087112703418, 152.51066334196867, -287.262531175866, -215.94803939384781, -407.04635567546188, 159.23357136511879, -359.45648663093175, 168.4139531442961, -278.93379868144814, 289.91284073978329, 402.03954691534841, 470.71654937729079, -208.56061873611094);
TestUtils.AreEqual(r1, a1--);
double4x4 a2 = double4x4(145.89674789546837, -274.57083309561517, -250.04125630578085, -70.856303486440481, -485.627825724719, -341.09452668814663, -503.19208335466317, 397.64861387649955, 446.6215557747621, -292.8101204805123, 126.6225212209963, -250.44240700939781, 470.81648204793055, 26.943619502216393, -186.92351945998308, 45.746085426651916);
double4x4 r2 = double4x4(145.89674789546837, -274.57083309561517, -250.04125630578085, -70.856303486440481, -485.627825724719, -341.09452668814663, -503.19208335466317, 397.64861387649955, 446.6215557747621, -292.8101204805123, 126.6225212209963, -250.44240700939781, 470.81648204793055, 26.943619502216393, -186.92351945998308, 45.746085426651916);
TestUtils.AreEqual(r2, a2--);
double4x4 a3 = double4x4(-206.45597586708885, -350.94811527382029, -92.184192461978739, -37.509595650019889, 114.51668577758437, 77.955409324707148, -472.12330101063628, -396.20631498666773, -200.66598734663148, 468.53053996922938, 279.93088806789876, 122.19489937750382, 194.19793877107929, 9.1986148400226284, 197.42380032195888, 176.50581487291765);
double4x4 r3 = double4x4(-206.45597586708885, -350.94811527382029, -92.184192461978739, -37.509595650019889, 114.51668577758437, 77.955409324707148, -472.12330101063628, -396.20631498666773, -200.66598734663148, 468.53053996922938, 279.93088806789876, 122.19489937750382, 194.19793877107929, 9.1986148400226284, 197.42380032195888, 176.50581487291765);
TestUtils.AreEqual(r3, a3--);
}
}
}

View File

@@ -0,0 +1,950 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using NUnit.Framework;
using static Unity.Mathematics.math;
using Burst.Compiler.IL.Tests;
namespace Unity.Mathematics.Tests
{
[TestFixture]
public class TestFloat2x2
{
[TestCompiler]
public static void float2x2_zero()
{
TestUtils.AreEqual(0.0f, float2x2.zero.c0.x);
TestUtils.AreEqual(0.0f, float2x2.zero.c0.y);
TestUtils.AreEqual(0.0f, float2x2.zero.c1.x);
TestUtils.AreEqual(0.0f, float2x2.zero.c1.y);
}
[TestCompiler]
public static void float2x2_identity()
{
TestUtils.AreEqual(1.0f, float2x2.identity.c0.x);
TestUtils.AreEqual(0.0f, float2x2.identity.c0.y);
TestUtils.AreEqual(0.0f, float2x2.identity.c1.x);
TestUtils.AreEqual(1.0f, float2x2.identity.c1.y);
}
[TestCompiler]
public static void float2x2_operator_equal_wide_wide()
{
float2x2 a0 = float2x2(492.1576f, -495.206329f, 227.457642f, -147.374054f);
float2x2 b0 = float2x2(192.568787f, -235.611023f, -254.043121f, -412.624725f);
bool2x2 r0 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
float2x2 a1 = float2x2(-222.682f, 64.09375f, -23.8904114f, -16.8197327f);
float2x2 b1 = float2x2(471.9048f, -6.47277832f, -339.102356f, 488.187561f);
bool2x2 r1 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
float2x2 a2 = float2x2(163.232117f, -165.271f, 470.8777f, -423.942566f);
float2x2 b2 = float2x2(-379.5966f, -308.417f, -82.333374f, -102.921082f);
bool2x2 r2 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
float2x2 a3 = float2x2(109.6344f, 462.6903f, -335.38147f, 357.2345f);
float2x2 b3 = float2x2(226.515747f, -356.9013f, -362.912781f, -427.898438f);
bool2x2 r3 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void float2x2_operator_equal_wide_scalar()
{
float2x2 a0 = float2x2(-303.230072f, 451.5263f, -253.655884f, -105.203644f);
float b0 = (123.544556f);
bool2x2 r0 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
float2x2 a1 = float2x2(-500.6911f, 159.8761f, -59.55838f, -57.4773865f);
float b1 = (-426.192474f);
bool2x2 r1 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
float2x2 a2 = float2x2(-182.049744f, 370.886f, -172.035309f, 455.400024f);
float b2 = (406.513733f);
bool2x2 r2 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
float2x2 a3 = float2x2(-11.3389893f, -27.1505737f, -325.976074f, -290.359039f);
float b3 = (363.938232f);
bool2x2 r3 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void float2x2_operator_equal_scalar_wide()
{
float a0 = (-253.397278f);
float2x2 b0 = float2x2(19.95221f, -185.791992f, 407.8136f, -87.2767f);
bool2x2 r0 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
float a1 = (-206.274689f);
float2x2 b1 = float2x2(160.503113f, -274.7708f, -2.63153076f, 448.354553f);
bool2x2 r1 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
float a2 = (-410.035248f);
float2x2 b2 = float2x2(247.329041f, 355.539124f, -298.0667f, 414.1015f);
bool2x2 r2 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
float a3 = (-481.3026f);
float2x2 b3 = float2x2(196.55072f, 34.6010132f, 113.7616f, -386.453369f);
bool2x2 r3 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void float2x2_operator_not_equal_wide_wide()
{
float2x2 a0 = float2x2(430.842529f, 104.69f, 225.802429f, -310.5702f);
float2x2 b0 = float2x2(210.024719f, -55.20334f, -269.925354f, -234.546722f);
bool2x2 r0 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
float2x2 a1 = float2x2(-418.619446f, 304.128174f, -509.3268f, -160.538086f);
float2x2 b1 = float2x2(25.91742f, -63.72699f, -484.5537f, -425.3336f);
bool2x2 r1 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
float2x2 a2 = float2x2(-203.301971f, -505.763245f, 162.17218f, 1.156189f);
float2x2 b2 = float2x2(-53.2743835f, 328.1944f, 15.9631348f, 461.7141f);
bool2x2 r2 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
float2x2 a3 = float2x2(65.66205f, 102.787781f, 172.930054f, 26.6210327f);
float2x2 b3 = float2x2(-113.363037f, -240.072968f, 495.119141f, 203.55835f);
bool2x2 r3 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void float2x2_operator_not_equal_wide_scalar()
{
float2x2 a0 = float2x2(-16.9145813f, 168.8341f, -462.713531f, 130.307739f);
float b0 = (-145.372772f);
bool2x2 r0 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
float2x2 a1 = float2x2(214.501587f, -197.12796f, -169.099854f, -386.611176f);
float b1 = (-440.263275f);
bool2x2 r1 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
float2x2 a2 = float2x2(-281.021f, -403.9637f, -269.805725f, 299.654236f);
float b2 = (-270.26886f);
bool2x2 r2 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
float2x2 a3 = float2x2(-71.7509155f, -457.363129f, -13.5195923f, 273.873047f);
float b3 = (-432.755737f);
bool2x2 r3 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void float2x2_operator_not_equal_scalar_wide()
{
float a0 = (275.795837f);
float2x2 b0 = float2x2(-57.1969f, -382.432526f, 97.82037f, -161.463654f);
bool2x2 r0 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
float a1 = (-458.39563f);
float2x2 b1 = float2x2(-499.617859f, 327.92218f, 367.571228f, 59.786377f);
bool2x2 r1 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
float a2 = (-209.580688f);
float2x2 b2 = float2x2(-62.5804443f, -479.974976f, -49.4945068f, -114.685211f);
bool2x2 r2 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
float a3 = (109.93927f);
float2x2 b3 = float2x2(-176.284821f, -347.4853f, 85.5409546f, -356.659546f);
bool2x2 r3 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void float2x2_operator_less_wide_wide()
{
float2x2 a0 = float2x2(196.84259f, 336.4098f, 251.963745f, 257.655945f);
float2x2 b0 = float2x2(-465.345032f, -256.1524f, -314.814026f, 364.5667f);
bool2x2 r0 = bool2x2(false, false, false, true);
TestUtils.AreEqual(r0, a0 < b0);
float2x2 a1 = float2x2(430.0459f, -62.4196472f, 8.839233f, -333.8167f);
float2x2 b1 = float2x2(100.21051f, 182.560974f, 3.11700439f, -259.430481f);
bool2x2 r1 = bool2x2(false, true, false, true);
TestUtils.AreEqual(r1, a1 < b1);
float2x2 a2 = float2x2(164.678833f, -350.9449f, 3.84143066f, 125.409729f);
float2x2 b2 = float2x2(-437.3349f, -456.043732f, -394.255981f, 401.9137f);
bool2x2 r2 = bool2x2(false, false, false, true);
TestUtils.AreEqual(r2, a2 < b2);
float2x2 a3 = float2x2(-111.129944f, 70.00549f, 448.1983f, -419.987122f);
float2x2 b3 = float2x2(313.439148f, 121.286682f, -28.0122986f, -282.965881f);
bool2x2 r3 = bool2x2(true, true, false, true);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void float2x2_operator_less_wide_scalar()
{
float2x2 a0 = float2x2(-132.057312f, -192.465f, -66.8345947f, -379.017517f);
float b0 = (-156.010223f);
bool2x2 r0 = bool2x2(false, true, false, true);
TestUtils.AreEqual(r0, a0 < b0);
float2x2 a1 = float2x2(-360.2824f, -158.240753f, 437.3459f, -20.4526062f);
float b1 = (20.9278564f);
bool2x2 r1 = bool2x2(true, true, false, true);
TestUtils.AreEqual(r1, a1 < b1);
float2x2 a2 = float2x2(225.2915f, 274.015259f, 373.549683f, 398.523682f);
float b2 = (307.4842f);
bool2x2 r2 = bool2x2(true, true, false, false);
TestUtils.AreEqual(r2, a2 < b2);
float2x2 a3 = float2x2(105.030151f, 109.670105f, -108.85318f, -44.9712524f);
float b3 = (-58.0108948f);
bool2x2 r3 = bool2x2(false, false, true, false);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void float2x2_operator_less_scalar_wide()
{
float a0 = (-423.1174f);
float2x2 b0 = float2x2(385.094849f, -123.933472f, 86.37659f, 133.4422f);
bool2x2 r0 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r0, a0 < b0);
float a1 = (161.457947f);
float2x2 b1 = float2x2(229.754272f, 222.5716f, 315.5312f, -447.203522f);
bool2x2 r1 = bool2x2(true, true, true, false);
TestUtils.AreEqual(r1, a1 < b1);
float a2 = (271.833862f);
float2x2 b2 = float2x2(-393.605316f, 317.486877f, -164.6051f, -282.876038f);
bool2x2 r2 = bool2x2(false, true, false, false);
TestUtils.AreEqual(r2, a2 < b2);
float a3 = (296.979553f);
float2x2 b3 = float2x2(-254.401154f, 365.6156f, -441.984253f, -131.42865f);
bool2x2 r3 = bool2x2(false, true, false, false);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void float2x2_operator_greater_wide_wide()
{
float2x2 a0 = float2x2(483.5014f, 310.8156f, 106.966187f, 295.7353f);
float2x2 b0 = float2x2(-471.398f, -371.9853f, 36.9006958f, -316.7636f);
bool2x2 r0 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r0, a0 > b0);
float2x2 a1 = float2x2(116.957581f, -478.299774f, -14.8974f, -33.8174438f);
float2x2 b1 = float2x2(19.6830444f, 207.309143f, 362.7975f, 324.95343f);
bool2x2 r1 = bool2x2(true, false, false, false);
TestUtils.AreEqual(r1, a1 > b1);
float2x2 a2 = float2x2(-24.74054f, 319.782654f, -120.158569f, -289.008575f);
float2x2 b2 = float2x2(340.948059f, 25.9860229f, -114.211121f, 240.803467f);
bool2x2 r2 = bool2x2(false, true, false, false);
TestUtils.AreEqual(r2, a2 > b2);
float2x2 a3 = float2x2(455.85144f, 144.706909f, 63.9320068f, -285.683044f);
float2x2 b3 = float2x2(273.422424f, 325.515747f, 27.3410645f, 64.47955f);
bool2x2 r3 = bool2x2(true, false, true, false);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void float2x2_operator_greater_wide_scalar()
{
float2x2 a0 = float2x2(64.31793f, -397.703461f, 431.8769f, 85.703f);
float b0 = (305.859924f);
bool2x2 r0 = bool2x2(false, false, true, false);
TestUtils.AreEqual(r0, a0 > b0);
float2x2 a1 = float2x2(246.263062f, 286.199463f, 280.813354f, -405.7846f);
float b1 = (197.491577f);
bool2x2 r1 = bool2x2(true, true, true, false);
TestUtils.AreEqual(r1, a1 > b1);
float2x2 a2 = float2x2(171.565369f, 333.5782f, 370.279175f, -413.7014f);
float b2 = (-241.807281f);
bool2x2 r2 = bool2x2(true, true, true, false);
TestUtils.AreEqual(r2, a2 > b2);
float2x2 a3 = float2x2(-356.592346f, 396.645325f, 467.222046f, -240.013428f);
float b3 = (-353.0313f);
bool2x2 r3 = bool2x2(false, true, true, true);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void float2x2_operator_greater_scalar_wide()
{
float a0 = (-282.6705f);
float2x2 b0 = float2x2(358.099976f, -72.596405f, -232.163788f, -60.7067261f);
bool2x2 r0 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r0, a0 > b0);
float a1 = (75.15662f);
float2x2 b1 = float2x2(150.883484f, 339.539185f, -498.196045f, 459.7461f);
bool2x2 r1 = bool2x2(false, false, true, false);
TestUtils.AreEqual(r1, a1 > b1);
float a2 = (-227.968719f);
float2x2 b2 = float2x2(335.862122f, 76.17883f, 296.859924f, 177.48999f);
bool2x2 r2 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r2, a2 > b2);
float a3 = (-281.2012f);
float2x2 b3 = float2x2(244.722839f, 137.328552f, -385.338257f, 443.163452f);
bool2x2 r3 = bool2x2(false, false, true, false);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void float2x2_operator_less_equal_wide_wide()
{
float2x2 a0 = float2x2(-438.523132f, 210.489441f, 4.87731934f, -137.297943f);
float2x2 b0 = float2x2(-474.814148f, 304.371033f, 234.824158f, -390.485443f);
bool2x2 r0 = bool2x2(false, true, true, false);
TestUtils.AreEqual(r0, a0 <= b0);
float2x2 a1 = float2x2(156.094116f, -363.924133f, -97.94849f, 437.2954f);
float2x2 b1 = float2x2(-297.175354f, -326.2924f, 107.253906f, -413.131073f);
bool2x2 r1 = bool2x2(false, true, true, false);
TestUtils.AreEqual(r1, a1 <= b1);
float2x2 a2 = float2x2(458.530273f, -294.064758f, 23.62262f, -34.2840576f);
float2x2 b2 = float2x2(67.09442f, 470.075256f, -84.499115f, 392.784241f);
bool2x2 r2 = bool2x2(false, true, false, true);
TestUtils.AreEqual(r2, a2 <= b2);
float2x2 a3 = float2x2(149.736511f, -418.8867f, -197.502533f, -88.2055054f);
float2x2 b3 = float2x2(-263.531738f, 369.3009f, -333.3253f, 238.413452f);
bool2x2 r3 = bool2x2(false, true, false, true);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void float2x2_operator_less_equal_wide_scalar()
{
float2x2 a0 = float2x2(193.49585f, 168.915527f, -313.993073f, 81.8269653f);
float b0 = (443.850525f);
bool2x2 r0 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r0, a0 <= b0);
float2x2 a1 = float2x2(18.5036011f, 241.361145f, -463.8164f, -1.35775757f);
float b1 = (-0.3581848f);
bool2x2 r1 = bool2x2(false, false, true, true);
TestUtils.AreEqual(r1, a1 <= b1);
float2x2 a2 = float2x2(-268.899475f, -471.253082f, -264.9378f, 82.2583f);
float b2 = (398.991943f);
bool2x2 r2 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r2, a2 <= b2);
float2x2 a3 = float2x2(11.2460327f, 426.482239f, 56.3200073f, -196.2879f);
float b3 = (424.704041f);
bool2x2 r3 = bool2x2(true, false, true, true);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void float2x2_operator_less_equal_scalar_wide()
{
float a0 = (393.606262f);
float2x2 b0 = float2x2(-75.6883545f, -44.2638855f, 125.864929f, 191.9649f);
bool2x2 r0 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r0, a0 <= b0);
float a1 = (13.54303f);
float2x2 b1 = float2x2(-197.051941f, -423.9451f, -330.0486f, 420.165527f);
bool2x2 r1 = bool2x2(false, false, false, true);
TestUtils.AreEqual(r1, a1 <= b1);
float a2 = (105.5473f);
float2x2 b2 = float2x2(174.821289f, 296.7176f, -469.7004f, 123.267212f);
bool2x2 r2 = bool2x2(true, true, false, true);
TestUtils.AreEqual(r2, a2 <= b2);
float a3 = (112.996948f);
float2x2 b3 = float2x2(495.143372f, -488.6579f, 388.539429f, -493.240784f);
bool2x2 r3 = bool2x2(true, false, true, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void float2x2_operator_greater_equal_wide_wide()
{
float2x2 a0 = float2x2(-507.9286f, 504.4975f, -385.4345f, -262.323425f);
float2x2 b0 = float2x2(-81.3465f, 297.666138f, 171.06543f, -431.038055f);
bool2x2 r0 = bool2x2(false, true, false, true);
TestUtils.AreEqual(r0, a0 >= b0);
float2x2 a1 = float2x2(-37.5509338f, -111.595276f, -463.702026f, 387.448853f);
float2x2 b1 = float2x2(-6.85907f, 319.7257f, 254.079163f, 396.5724f);
bool2x2 r1 = bool2x2(false, false, false, false);
TestUtils.AreEqual(r1, a1 >= b1);
float2x2 a2 = float2x2(456.9688f, -211.010162f, 182.411377f, -53.59604f);
float2x2 b2 = float2x2(178.8393f, -447.063354f, 288.492676f, 474.889282f);
bool2x2 r2 = bool2x2(true, true, false, false);
TestUtils.AreEqual(r2, a2 >= b2);
float2x2 a3 = float2x2(-309.570221f, -136.022491f, 280.736267f, -96.99588f);
float2x2 b3 = float2x2(-321.750244f, -395.977234f, -158.692474f, 391.4887f);
bool2x2 r3 = bool2x2(true, true, true, false);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void float2x2_operator_greater_equal_wide_scalar()
{
float2x2 a0 = float2x2(465.152161f, -424.886078f, -209.2211f, 58.7798462f);
float b0 = (-5.599884f);
bool2x2 r0 = bool2x2(true, false, false, true);
TestUtils.AreEqual(r0, a0 >= b0);
float2x2 a1 = float2x2(-302.2691f, 16.3533936f, -344.559967f, 393.278076f);
float b1 = (140.12561f);
bool2x2 r1 = bool2x2(false, false, false, true);
TestUtils.AreEqual(r1, a1 >= b1);
float2x2 a2 = float2x2(-315.701538f, -509.781555f, -36.9942932f, 494.8203f);
float b2 = (441.011536f);
bool2x2 r2 = bool2x2(false, false, false, true);
TestUtils.AreEqual(r2, a2 >= b2);
float2x2 a3 = float2x2(-164.973938f, -123.813751f, 215.651245f, 104.995728f);
float b3 = (-466.1201f);
bool2x2 r3 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void float2x2_operator_greater_equal_scalar_wide()
{
float a0 = (374.827026f);
float2x2 b0 = float2x2(-1.60977173f, 338.615234f, -116.1814f, -332.157318f);
bool2x2 r0 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r0, a0 >= b0);
float a1 = (-355.97937f);
float2x2 b1 = float2x2(-468.901428f, 38.579895f, -332.347534f, 2.89013672f);
bool2x2 r1 = bool2x2(true, false, false, false);
TestUtils.AreEqual(r1, a1 >= b1);
float a2 = (467.777771f);
float2x2 b2 = float2x2(121.406372f, -305.023376f, -58.4288025f, -226.519562f);
bool2x2 r2 = bool2x2(true, true, true, true);
TestUtils.AreEqual(r2, a2 >= b2);
float a3 = (-47.0209961f);
float2x2 b3 = float2x2(305.302673f, -427.401245f, 92.26367f, -497.178528f);
bool2x2 r3 = bool2x2(false, true, false, true);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void float2x2_operator_add_wide_wide()
{
float2x2 a0 = float2x2(506.129028f, -501.779816f, 420.084778f, -186.032074f);
float2x2 b0 = float2x2(-28.7579956f, -337.135132f, -340.676819f, 152.312012f);
float2x2 r0 = float2x2(477.371033f, -838.9149f, 79.40796f, -33.7200623f);
TestUtils.AreEqual(r0, a0 + b0);
float2x2 a1 = float2x2(-9.312408f, 328.51178f, 424.344055f, 87.79108f);
float2x2 b1 = float2x2(423.66748f, 90.3740845f, 376.18866f, 1.76721191f);
float2x2 r1 = float2x2(414.355072f, 418.885864f, 800.5327f, 89.55829f);
TestUtils.AreEqual(r1, a1 + b1);
float2x2 a2 = float2x2(462.4137f, -46.17871f, 401.170044f, -454.124146f);
float2x2 b2 = float2x2(-120.185852f, -279.629364f, -344.6671f, 242.839172f);
float2x2 r2 = float2x2(342.227844f, -325.808075f, 56.50293f, -211.284973f);
TestUtils.AreEqual(r2, a2 + b2);
float2x2 a3 = float2x2(69.19568f, -177.957336f, 299.604126f, 340.704834f);
float2x2 b3 = float2x2(418.593079f, -23.3128052f, -95.0999451f, 147.9281f);
float2x2 r3 = float2x2(487.788757f, -201.270142f, 204.504181f, 488.632935f);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void float2x2_operator_add_wide_scalar()
{
float2x2 a0 = float2x2(-194.514191f, 338.5484f, 246.971375f, 100.510925f);
float b0 = (124.121704f);
float2x2 r0 = float2x2(-70.39249f, 462.6701f, 371.093079f, 224.632629f);
TestUtils.AreEqual(r0, a0 + b0);
float2x2 a1 = float2x2(-45.72467f, 30.9161377f, 60.37433f, -242.118744f);
float b1 = (-478.1113f);
float2x2 r1 = float2x2(-523.835938f, -447.19516f, -417.736969f, -720.230042f);
TestUtils.AreEqual(r1, a1 + b1);
float2x2 a2 = float2x2(82.50134f, -484.6998f, -188.265015f, -213.526733f);
float b2 = (6.79937744f);
float2x2 r2 = float2x2(89.30072f, -477.900421f, -181.465637f, -206.727356f);
TestUtils.AreEqual(r2, a2 + b2);
float2x2 a3 = float2x2(-267.7843f, 198.533569f, 187.536072f, -424.925659f);
float b3 = (189.259949f);
float2x2 r3 = float2x2(-78.52435f, 387.793518f, 376.796021f, -235.66571f);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void float2x2_operator_add_scalar_wide()
{
float a0 = (-340.354675f);
float2x2 b0 = float2x2(511.362244f, -146.216644f, -106.210419f, -363.450256f);
float2x2 r0 = float2x2(171.007568f, -486.57132f, -446.5651f, -703.804932f);
TestUtils.AreEqual(r0, a0 + b0);
float a1 = (199.0896f);
float2x2 b1 = float2x2(-27.1083984f, 419.849f, 284.955017f, -164.9242f);
float2x2 r1 = float2x2(171.9812f, 618.9386f, 484.044617f, 34.1654053f);
TestUtils.AreEqual(r1, a1 + b1);
float a2 = (-249.190338f);
float2x2 b2 = float2x2(150.928162f, 298.1751f, -457.1534f, 424.718079f);
float2x2 r2 = float2x2(-98.26218f, 48.98477f, -706.34375f, 175.52774f);
TestUtils.AreEqual(r2, a2 + b2);
float a3 = (-301.857483f);
float2x2 b3 = float2x2(230.288879f, -423.5876f, -67.06003f, 68.72412f);
float2x2 r3 = float2x2(-71.5686f, -725.445068f, -368.9175f, -233.133362f);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void float2x2_operator_sub_wide_wide()
{
float2x2 a0 = float2x2(160.492249f, 11.223938f, 359.200134f, -498.2283f);
float2x2 b0 = float2x2(115.46875f, -130.9823f, 241.540833f, 9.987061f);
float2x2 r0 = float2x2(45.0235f, 142.206238f, 117.6593f, -508.215363f);
TestUtils.AreEqual(r0, a0 - b0);
float2x2 a1 = float2x2(-355.253632f, -94.53485f, -410.46405f, -401.384644f);
float2x2 b1 = float2x2(419.895142f, 59.12445f, -402.381653f, -75.37015f);
float2x2 r1 = float2x2(-775.1488f, -153.6593f, -8.082397f, -326.0145f);
TestUtils.AreEqual(r1, a1 - b1);
float2x2 a2 = float2x2(317.706848f, 447.060425f, -489.074158f, -230.008392f);
float2x2 b2 = float2x2(320.9796f, -73.90875f, -31.4447327f, -389.251953f);
float2x2 r2 = float2x2(-3.272766f, 520.9692f, -457.629425f, 159.243561f);
TestUtils.AreEqual(r2, a2 - b2);
float2x2 a3 = float2x2(24.8754272f, 366.614441f, -107.374146f, -219.008148f);
float2x2 b3 = float2x2(-375.028839f, 259.182739f, 276.648682f, -453.0692f);
float2x2 r3 = float2x2(399.904266f, 107.4317f, -384.022827f, 234.061066f);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void float2x2_operator_sub_wide_scalar()
{
float2x2 a0 = float2x2(207.389587f, 248.457764f, -384.8239f, -205.344757f);
float b0 = (-36.1124878f);
float2x2 r0 = float2x2(243.502075f, 284.570251f, -348.711426f, -169.232269f);
TestUtils.AreEqual(r0, a0 - b0);
float2x2 a1 = float2x2(-374.811554f, 18.8562622f, -44.96161f, 480.857971f);
float b1 = (191.642029f);
float2x2 r1 = float2x2(-566.4536f, -172.785767f, -236.603638f, 289.215942f);
TestUtils.AreEqual(r1, a1 - b1);
float2x2 a2 = float2x2(16.3381958f, -35.5231f, 349.397766f, 439.077271f);
float b2 = (-366.865448f);
float2x2 r2 = float2x2(383.203644f, 331.342346f, 716.2632f, 805.942749f);
TestUtils.AreEqual(r2, a2 - b2);
float2x2 a3 = float2x2(490.2223f, -384.849426f, 189.05188f, 55.6027832f);
float b3 = (195.024048f);
float2x2 r3 = float2x2(295.198242f, -579.8735f, -5.972168f, -139.421265f);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void float2x2_operator_sub_scalar_wide()
{
float a0 = (-86.00824f);
float2x2 b0 = float2x2(466.4251f, 298.486938f, -300.9501f, 315.38f);
float2x2 r0 = float2x2(-552.43335f, -384.495178f, 214.941864f, -401.388245f);
TestUtils.AreEqual(r0, a0 - b0);
float a1 = (-381.092163f);
float2x2 b1 = float2x2(-125.008362f, 58.4661865f, 214.7461f, -257.549438f);
float2x2 r1 = float2x2(-256.0838f, -439.55835f, -595.838257f, -123.542725f);
TestUtils.AreEqual(r1, a1 - b1);
float a2 = (480.2246f);
float2x2 b2 = float2x2(-443.355072f, 260.795044f, 29.6819458f, 139.857727f);
float2x2 r2 = float2x2(923.5797f, 219.429565f, 450.542664f, 340.366882f);
TestUtils.AreEqual(r2, a2 - b2);
float a3 = (-247.789948f);
float2x2 b3 = float2x2(-248.466217f, 91.44513f, 86.3841553f, 373.8183f);
float2x2 r3 = float2x2(0.676269531f, -339.235077f, -334.1741f, -621.6083f);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void float2x2_operator_mul_wide_wide()
{
float2x2 a0 = float2x2(-482.7138f, -407.2935f, 137.700562f, 208.541138f);
float2x2 b0 = float2x2(-236.367889f, 260.7276f, -416.3863f, -364.4956f);
float2x2 r0 = float2x2(114098.047f, -106192.656f, -57336.625f, -76012.33f);
TestUtils.AreEqual(r0, a0 * b0);
float2x2 a1 = float2x2(194.29657f, -484.242432f, 183.9873f, -241.33548f);
float2x2 b1 = float2x2(-253.147522f, -369.202881f, 193.547913f, 169.0849f);
float2x2 r1 = float2x2(-49185.6953f, 178783.7f, 35610.36f, -40806.1836f);
TestUtils.AreEqual(r1, a1 * b1);
float2x2 a2 = float2x2(45.8687744f, 363.3261f, -328.118958f, -471.023071f);
float2x2 b2 = float2x2(201.969666f, 249.456055f, -308.193176f, -385.579651f);
float2x2 r2 = float2x2(9264.101f, 90633.9f, 101124.023f, 181616.9f);
TestUtils.AreEqual(r2, a2 * b2);
float2x2 a3 = float2x2(-262.682556f, -379.262756f, -374.090576f, 481.4474f);
float2x2 b3 = float2x2(-183.2796f, 22.2756348f, -265.521423f, -95.67746f);
float2x2 r3 = float2x2(48144.3555f, -8448.318f, 99329.06f, -46063.6641f);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void float2x2_operator_mul_wide_scalar()
{
float2x2 a0 = float2x2(-96.31882f, -277.142273f, -239.93689f, 509.531433f);
float b0 = (-301.2072f);
float2x2 r0 = float2x2(29011.9219f, 83477.25f, 72270.72f, -153474.547f);
TestUtils.AreEqual(r0, a0 * b0);
float2x2 a1 = float2x2(255.8581f, -455.50827f, -389.2433f, -338.29248f);
float b1 = (215.7315f);
float2x2 r1 = float2x2(55196.6523f, -98267.4844f, -83972.04f, -72980.34f);
TestUtils.AreEqual(r1, a1 * b1);
float2x2 a2 = float2x2(53.7962646f, 135.354675f, -207.3501f, -383.9396f);
float b2 = (243.757324f);
float2x2 r2 = float2x2(13113.2334f, 32993.6953f, -50543.1055f, -93588.09f);
TestUtils.AreEqual(r2, a2 * b2);
float2x2 a3 = float2x2(-31.4252319f, 260.38385f, 176.867554f, 25.67212f);
float b3 = (42.6761475f);
float2x2 r3 = float2x2(-1341.10779f, 11112.18f, 7548.026f, 1095.58716f);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void float2x2_operator_mul_scalar_wide()
{
float a0 = (37.43219f);
float2x2 b0 = float2x2(96.74756f, 492.185364f, -274.054565f, -452.870972f);
float2x2 r0 = float2x2(3621.473f, 18423.5762f, -10258.4629f, -16951.9531f);
TestUtils.AreEqual(r0, a0 * b0);
float a1 = (420.853333f);
float2x2 b1 = float2x2(102.182922f, -114.948883f, -351.120056f, -464.664978f);
float2x2 r1 = float2x2(43004.0234f, -48376.62f, -147770.047f, -195555.8f);
TestUtils.AreEqual(r1, a1 * b1);
float a2 = (444.084839f);
float2x2 b2 = float2x2(447.1053f, 130.829346f, -321.41333f, 445.301331f);
float2x2 r2 = float2x2(198552.672f, 58099.33f, -142734.781f, 197751.563f);
TestUtils.AreEqual(r2, a2 * b2);
float a3 = (478.2436f);
float2x2 b3 = float2x2(358.571716f, -144.8901f, -438.893829f, -3.536438f);
float2x2 r3 = float2x2(171484.625f, -69292.7656f, -209898.156f, -1691.27881f);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void float2x2_operator_div_wide_wide()
{
float2x2 a0 = float2x2(-353.131439f, -102.799866f, 51.3191528f, -191.871674f);
float2x2 b0 = float2x2(-178.739563f, -302.096283f, -199.405823f, 278.850769f);
float2x2 r0 = float2x2(1.97567582f, 0.34028843f, -0.257360339f, -0.688080132f);
TestUtils.AreEqual(r0, a0 / b0);
float2x2 a1 = float2x2(8.041809f, -128.73764f, -136.0596f, -370.471f);
float2x2 b1 = float2x2(502.3376f, -361.484833f, 353.121033f, -38.894928f);
float2x2 r1 = float2x2(0.0160087738f, 0.356135666f, -0.385305852f, 9.524919f);
TestUtils.AreEqual(r1, a1 / b1);
float2x2 a2 = float2x2(-237.69455f, -432.546875f, 200.2655f, 361.4416f);
float2x2 b2 = float2x2(-75.76474f, -195.217834f, -405.034f, -394.23f);
float2x2 r2 = float2x2(3.1372714f, 2.215714f, -0.4944412f, -0.9168292f);
TestUtils.AreEqual(r2, a2 / b2);
float2x2 a3 = float2x2(-416.226135f, -450.0192f, -273.497437f, -286.908173f);
float2x2 b3 = float2x2(-375.8277f, -121.245483f, 447.623352f, 338.286255f);
float2x2 r3 = float2x2(1.107492f, 3.71163678f, -0.610999048f, -0.8481225f);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void float2x2_operator_div_wide_scalar()
{
float2x2 a0 = float2x2(171.3424f, 0.103393555f, 57.8882446f, -256.130737f);
float b0 = (171.796814f);
float2x2 r0 = float2x2(0.997355f, 0.000601836247f, 0.3369576f, -1.49089336f);
TestUtils.AreEqual(r0, a0 / b0);
float2x2 a1 = float2x2(95.66968f, -127.4487f, -79.7449f, 146.466858f);
float b1 = (-290.3869f);
float2x2 r1 = float2x2(-0.3294559f, 0.438892722f, 0.274616063f, -0.504385233f);
TestUtils.AreEqual(r1, a1 / b1);
float2x2 a2 = float2x2(-499.843567f, -453.2058f, -205.033813f, 481.738159f);
float b2 = (58.68634f);
float2x2 r2 = float2x2(-8.517204f, -7.72250938f, -3.493723f, 8.2086935f);
TestUtils.AreEqual(r2, a2 / b2);
float2x2 a3 = float2x2(464.479065f, -158.505585f, -289.5822f, 494.1286f);
float b3 = (-293.4635f);
float2x2 r3 = float2x2(-1.582749f, 0.540120244f, 0.9867742f, -1.6837821f);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void float2x2_operator_div_scalar_wide()
{
float a0 = (-264.4425f);
float2x2 b0 = float2x2(105.589111f, -142.349091f, -288.9489f, 39.644104f);
float2x2 r0 = float2x2(-2.50444865f, 1.85770416f, 0.9151877f, -6.670412f);
TestUtils.AreEqual(r0, a0 / b0);
float a1 = (-363.9914f);
float2x2 b1 = float2x2(-149.718231f, -395.729126f, 258.7187f, -9.66626f);
float2x2 r1 = float2x2(2.43117619f, 0.9197993f, -1.40690029f, 37.65587f);
TestUtils.AreEqual(r1, a1 / b1);
float a2 = (117.725525f);
float2x2 b2 = float2x2(-331.386536f, -509.986023f, 427.896484f, 467.617126f);
float2x2 r2 = float2x2(-0.355251372f, -0.230840683f, 0.2751262f, 0.251756221f);
TestUtils.AreEqual(r2, a2 / b2);
float a3 = (-407.124634f);
float2x2 b3 = float2x2(252.690735f, 444.599365f, -88.31329f, 199.955017f);
float2x2 r3 = float2x2(-1.61115777f, -0.9157112f, 4.610004f, -2.036081f);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void float2x2_operator_mod_wide_wide()
{
float2x2 a0 = float2x2(-388.8125f, 181.681213f, -167.078735f, 432.820129f);
float2x2 b0 = float2x2(436.944153f, 58.9400635f, -201.116241f, 279.289368f);
float2x2 r0 = float2x2(-388.8125f, 4.861023f, -167.078735f, 153.530762f);
TestUtils.AreEqual(r0, a0 % b0);
float2x2 a1 = float2x2(-258.438965f, -170.110809f, 283.3183f, 122.716492f);
float2x2 b1 = float2x2(-397.079773f, 377.899963f, 174.693848f, -228.176514f);
float2x2 r1 = float2x2(-258.438965f, -170.110809f, 108.624451f, 122.716492f);
TestUtils.AreEqual(r1, a1 % b1);
float2x2 a2 = float2x2(335.271f, -503.608521f, 191.022522f, 289.742676f);
float2x2 b2 = float2x2(-317.060181f, -417.4801f, -249.975952f, -397.571564f);
float2x2 r2 = float2x2(18.2108154f, -86.12842f, 191.022522f, 289.742676f);
TestUtils.AreEqual(r2, a2 % b2);
float2x2 a3 = float2x2(-124.033722f, 259.274f, -274.358459f, -140.030792f);
float2x2 b3 = float2x2(-358.745453f, -198.15921f, 208.737122f, -12.1194153f);
float2x2 r3 = float2x2(-124.033722f, 61.1147766f, -65.62134f, -6.717224f);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void float2x2_operator_mod_wide_scalar()
{
float2x2 a0 = float2x2(-244.499634f, -211.8193f, -145.926788f, -304.9182f);
float b0 = (39.63495f);
float2x2 r0 = float2x2(-6.68994141f, -13.6445618f, -27.0219421f, -27.4735718f);
TestUtils.AreEqual(r0, a0 % b0);
float2x2 a1 = float2x2(155.479492f, 281.309631f, -226.535767f, 335.166138f);
float b1 = (-133.907776f);
float2x2 r1 = float2x2(21.5717163f, 13.49408f, -92.62799f, 67.3505859f);
TestUtils.AreEqual(r1, a1 % b1);
float2x2 a2 = float2x2(101.706482f, -285.4023f, -355.846863f, 259.378f);
float b2 = (319.4715f);
float2x2 r2 = float2x2(101.706482f, -285.4023f, -36.3753662f, 259.378f);
TestUtils.AreEqual(r2, a2 % b2);
float2x2 a3 = float2x2(-330.871948f, -102.683441f, -172.141754f, 206.41687f);
float b3 = (-284.343567f);
float2x2 r3 = float2x2(-46.52838f, -102.683441f, -172.141754f, 206.41687f);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void float2x2_operator_mod_scalar_wide()
{
float a0 = (-66.94504f);
float2x2 b0 = float2x2(-249.7761f, -396.073761f, 386.492065f, 168.939453f);
float2x2 r0 = float2x2(-66.94504f, -66.94504f, -66.94504f, -66.94504f);
TestUtils.AreEqual(r0, a0 % b0);
float a1 = (-199.418243f);
float2x2 b1 = float2x2(261.7517f, 16.1274414f, 257.668152f, -75.78845f);
float2x2 r1 = float2x2(-199.418243f, -5.88894653f, -199.418243f, -47.84134f);
TestUtils.AreEqual(r1, a1 % b1);
float a2 = (170.9563f);
float2x2 b2 = float2x2(-242.858276f, 425.9453f, 303.2724f, 3.033081f);
float2x2 r2 = float2x2(170.9563f, 170.9563f, 170.9563f, 1.10375977f);
TestUtils.AreEqual(r2, a2 % b2);
float a3 = (-505.74353f);
float2x2 b3 = float2x2(461.957031f, 205.972778f, 270.040649f, -47.4807129f);
float2x2 r3 = float2x2(-43.7865f, -93.79797f, -235.702881f, -30.9364014f);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void float2x2_operator_plus()
{
float2x2 a0 = float2x2(-418.829559f, -405.79895f, -34.04178f, 236.999268f);
float2x2 r0 = float2x2(-418.829559f, -405.79895f, -34.04178f, 236.999268f);
TestUtils.AreEqual(r0, +a0);
float2x2 a1 = float2x2(-459.8391f, 293.742f, -373.015442f, -386.059845f);
float2x2 r1 = float2x2(-459.8391f, 293.742f, -373.015442f, -386.059845f);
TestUtils.AreEqual(r1, +a1);
float2x2 a2 = float2x2(4.95440674f, 504.474854f, -170.746521f, 439.5594f);
float2x2 r2 = float2x2(4.95440674f, 504.474854f, -170.746521f, 439.5594f);
TestUtils.AreEqual(r2, +a2);
float2x2 a3 = float2x2(-478.7494f, 421.409668f, -258.596069f, 447.8661f);
float2x2 r3 = float2x2(-478.7494f, 421.409668f, -258.596069f, 447.8661f);
TestUtils.AreEqual(r3, +a3);
}
[TestCompiler]
public static void float2x2_operator_neg()
{
float2x2 a0 = float2x2(148.461731f, -467.122681f, 132.04718f, 183.522644f);
float2x2 r0 = float2x2(-148.461731f, 467.122681f, -132.04718f, -183.522644f);
TestUtils.AreEqual(r0, -a0);
float2x2 a1 = float2x2(473.701f, -54.95877f, -382.9898f, -299.093384f);
float2x2 r1 = float2x2(-473.701f, 54.95877f, 382.9898f, 299.093384f);
TestUtils.AreEqual(r1, -a1);
float2x2 a2 = float2x2(-383.014069f, 168.735474f, 466.441528f, 171.902466f);
float2x2 r2 = float2x2(383.014069f, -168.735474f, -466.441528f, -171.902466f);
TestUtils.AreEqual(r2, -a2);
float2x2 a3 = float2x2(-280.558319f, 318.69635f, -39.9154053f, 140.340027f);
float2x2 r3 = float2x2(280.558319f, -318.69635f, 39.9154053f, -140.340027f);
TestUtils.AreEqual(r3, -a3);
}
[TestCompiler]
public static void float2x2_operator_prefix_inc()
{
float2x2 a0 = float2x2(-139.842072f, -56.7436523f, -381.955322f, 509.796326f);
float2x2 r0 = float2x2(-138.842072f, -55.7436523f, -380.955322f, 510.796326f);
TestUtils.AreEqual(r0, ++a0);
float2x2 a1 = float2x2(-222.896332f, -392.7315f, -300.1941f, 362.212769f);
float2x2 r1 = float2x2(-221.896332f, -391.7315f, -299.1941f, 363.212769f);
TestUtils.AreEqual(r1, ++a1);
float2x2 a2 = float2x2(401.6148f, -450.230164f, 243.546936f, 46.1920166f);
float2x2 r2 = float2x2(402.6148f, -449.230164f, 244.546936f, 47.1920166f);
TestUtils.AreEqual(r2, ++a2);
float2x2 a3 = float2x2(-41.4972839f, 154.356567f, -281.233276f, 200.706f);
float2x2 r3 = float2x2(-40.4972839f, 155.356567f, -280.233276f, 201.706f);
TestUtils.AreEqual(r3, ++a3);
}
[TestCompiler]
public static void float2x2_operator_postfix_inc()
{
float2x2 a0 = float2x2(-396.669739f, 511.20752f, 249.111267f, -128.817322f);
float2x2 r0 = float2x2(-396.669739f, 511.20752f, 249.111267f, -128.817322f);
TestUtils.AreEqual(r0, a0++);
float2x2 a1 = float2x2(-259.4903f, -81.39343f, 66.71973f, 167.852112f);
float2x2 r1 = float2x2(-259.4903f, -81.39343f, 66.71973f, 167.852112f);
TestUtils.AreEqual(r1, a1++);
float2x2 a2 = float2x2(147.94397f, 41.03357f, 128.5304f, 73.15558f);
float2x2 r2 = float2x2(147.94397f, 41.03357f, 128.5304f, 73.15558f);
TestUtils.AreEqual(r2, a2++);
float2x2 a3 = float2x2(-60.1323853f, -296.937836f, 267.293823f, 446.2293f);
float2x2 r3 = float2x2(-60.1323853f, -296.937836f, 267.293823f, 446.2293f);
TestUtils.AreEqual(r3, a3++);
}
[TestCompiler]
public static void float2x2_operator_prefix_dec()
{
float2x2 a0 = float2x2(123.128723f, 256.84375f, 156.330811f, 461.737427f);
float2x2 r0 = float2x2(122.128723f, 255.84375f, 155.330811f, 460.737427f);
TestUtils.AreEqual(r0, --a0);
float2x2 a1 = float2x2(325.867981f, 187.874146f, -236.225189f, 125.109619f);
float2x2 r1 = float2x2(324.867981f, 186.874146f, -237.225189f, 124.109619f);
TestUtils.AreEqual(r1, --a1);
float2x2 a2 = float2x2(469.844727f, 376.046875f, -363.0755f, -22.0289612f);
float2x2 r2 = float2x2(468.844727f, 375.046875f, -364.0755f, -23.0289612f);
TestUtils.AreEqual(r2, --a2);
float2x2 a3 = float2x2(248.7901f, 168.265625f, -190.284729f, 166.945557f);
float2x2 r3 = float2x2(247.7901f, 167.265625f, -191.284729f, 165.945557f);
TestUtils.AreEqual(r3, --a3);
}
[TestCompiler]
public static void float2x2_operator_postfix_dec()
{
float2x2 a0 = float2x2(379.6883f, 302.692871f, -176.07135f, -291.2527f);
float2x2 r0 = float2x2(379.6883f, 302.692871f, -176.07135f, -291.2527f);
TestUtils.AreEqual(r0, a0--);
float2x2 a1 = float2x2(470.567566f, -63.65515f, 355.2611f, -27.8892212f);
float2x2 r1 = float2x2(470.567566f, -63.65515f, 355.2611f, -27.8892212f);
TestUtils.AreEqual(r1, a1--);
float2x2 a2 = float2x2(-100.761841f, 479.9452f, -200.304291f, -445.026947f);
float2x2 r2 = float2x2(-100.761841f, 479.9452f, -200.304291f, -445.026947f);
TestUtils.AreEqual(r2, a2--);
float2x2 a3 = float2x2(407.420349f, 48.06018f, -209.667969f, -38.43506f);
float2x2 r3 = float2x2(407.420349f, 48.06018f, -209.667969f, -38.43506f);
TestUtils.AreEqual(r3, a3--);
}
}
}

View File

@@ -0,0 +1,943 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using NUnit.Framework;
using static Unity.Mathematics.math;
using Burst.Compiler.IL.Tests;
namespace Unity.Mathematics.Tests
{
[TestFixture]
public class TestFloat2x3
{
[TestCompiler]
public static void float2x3_zero()
{
TestUtils.AreEqual(0.0f, float2x3.zero.c0.x);
TestUtils.AreEqual(0.0f, float2x3.zero.c0.y);
TestUtils.AreEqual(0.0f, float2x3.zero.c1.x);
TestUtils.AreEqual(0.0f, float2x3.zero.c1.y);
TestUtils.AreEqual(0.0f, float2x3.zero.c2.x);
TestUtils.AreEqual(0.0f, float2x3.zero.c2.y);
}
[TestCompiler]
public static void float2x3_operator_equal_wide_wide()
{
float2x3 a0 = float2x3(492.1576f, -495.206329f, 227.457642f, -147.374054f, -222.682f, 64.09375f);
float2x3 b0 = float2x3(192.568787f, -235.611023f, -254.043121f, -412.624725f, 471.9048f, -6.47277832f);
bool2x3 r0 = bool2x3(false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
float2x3 a1 = float2x3(-23.8904114f, -16.8197327f, 163.232117f, -165.271f, 470.8777f, -423.942566f);
float2x3 b1 = float2x3(-339.102356f, 488.187561f, -379.5966f, -308.417f, -82.333374f, -102.921082f);
bool2x3 r1 = bool2x3(false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
float2x3 a2 = float2x3(109.6344f, 462.6903f, -335.38147f, 357.2345f, 1.54559326f, -347.388245f);
float2x3 b2 = float2x3(226.515747f, -356.9013f, -362.912781f, -427.898438f, 466.650146f, -102.799042f);
bool2x3 r2 = bool2x3(false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
float2x3 a3 = float2x3(-114.472168f, 435.848633f, 194.2381f, 138.765564f, -467.349152f, 370.43335f);
float2x3 b3 = float2x3(-43.355957f, 85.0456543f, -91.1270447f, 422.192078f, -477.4313f, 1.87701416f);
bool2x3 r3 = bool2x3(false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void float2x3_operator_equal_wide_scalar()
{
float2x3 a0 = float2x3(-303.230072f, 451.5263f, -253.655884f, -105.203644f, -500.6911f, -426.192474f);
float b0 = (123.544556f);
bool2x3 r0 = bool2x3(false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
float2x3 a1 = float2x3(159.8761f, -57.4773865f, -182.049744f, 406.513733f, 370.886f, -172.035309f);
float b1 = (-59.55838f);
bool2x3 r1 = bool2x3(false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
float2x3 a2 = float2x3(455.400024f, 363.938232f, -27.1505737f, -325.976074f, -290.359039f, 180.196838f);
float b2 = (-11.3389893f);
bool2x3 r2 = bool2x3(false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
float2x3 a3 = float2x3(-374.128326f, -126.546082f, -197.26178f, -227.159332f, -479.8992f, -439.777679f);
float b3 = (-439.358948f);
bool2x3 r3 = bool2x3(false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void float2x3_operator_equal_scalar_wide()
{
float a0 = (-253.397278f);
float2x3 b0 = float2x3(19.95221f, -185.791992f, 407.8136f, -87.2767f, -206.274689f, 160.503113f);
bool2x3 r0 = bool2x3(false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
float a1 = (-274.7708f);
float2x3 b1 = float2x3(-2.63153076f, 448.354553f, -410.035248f, 247.329041f, 355.539124f, -298.0667f);
bool2x3 r1 = bool2x3(false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
float a2 = (414.1015f);
float2x3 b2 = float2x3(-481.3026f, 196.55072f, 34.6010132f, 113.7616f, -386.453369f, -124.49176f);
bool2x3 r2 = bool2x3(false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
float a3 = (243.886658f);
float2x3 b3 = float2x3(-492.6182f, 145.424438f, 421.55072f, -95.40997f, 336.809265f, 209.5838f);
bool2x3 r3 = bool2x3(false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void float2x3_operator_not_equal_wide_wide()
{
float2x3 a0 = float2x3(430.842529f, 104.69f, 225.802429f, -310.5702f, -418.619446f, 304.128174f);
float2x3 b0 = float2x3(210.024719f, -55.20334f, -269.925354f, -234.546722f, 25.91742f, -63.72699f);
bool2x3 r0 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
float2x3 a1 = float2x3(-509.3268f, -160.538086f, -203.301971f, -505.763245f, 162.17218f, 1.156189f);
float2x3 b1 = float2x3(-484.5537f, -425.3336f, -53.2743835f, 328.1944f, 15.9631348f, 461.7141f);
bool2x3 r1 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
float2x3 a2 = float2x3(65.66205f, 102.787781f, 172.930054f, 26.6210327f, 235.125977f, 128.541992f);
float2x3 b2 = float2x3(-113.363037f, -240.072968f, 495.119141f, 203.55835f, 340.493469f, -241.9072f);
bool2x3 r2 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
float2x3 a3 = float2x3(-354.996979f, 334.3595f, -495.832f, 468.307373f, 458.370972f, 299.937317f);
float2x3 b3 = float2x3(459.569824f, 213.07373f, -384.782837f, -255.072327f, 477.663452f, -248.036621f);
bool2x3 r3 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void float2x3_operator_not_equal_wide_scalar()
{
float2x3 a0 = float2x3(-16.9145813f, 168.8341f, -462.713531f, 130.307739f, 214.501587f, -440.263275f);
float b0 = (-145.372772f);
bool2x3 r0 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
float2x3 a1 = float2x3(-197.12796f, -386.611176f, -281.021f, -270.26886f, -403.9637f, -269.805725f);
float b1 = (-169.099854f);
bool2x3 r1 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
float2x3 a2 = float2x3(299.654236f, -432.755737f, -457.363129f, -13.5195923f, 273.873047f, 185.04248f);
float b2 = (-71.7509155f);
bool2x3 r2 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
float2x3 a3 = float2x3(-482.5307f, 511.735f, 230.5075f, 100.27478f, 129.682434f, 321.178772f);
float b3 = (116.395142f);
bool2x3 r3 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void float2x3_operator_not_equal_scalar_wide()
{
float a0 = (275.795837f);
float2x3 b0 = float2x3(-57.1969f, -382.432526f, 97.82037f, -161.463654f, -458.39563f, -499.617859f);
bool2x3 r0 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
float a1 = (327.92218f);
float2x3 b1 = float2x3(367.571228f, 59.786377f, -209.580688f, -62.5804443f, -479.974976f, -49.4945068f);
bool2x3 r1 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
float a2 = (-114.685211f);
float2x3 b2 = float2x3(109.93927f, -176.284821f, -347.4853f, 85.5409546f, -356.659546f, -104.243561f);
bool2x3 r2 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
float a3 = (-133.5492f);
float2x3 b3 = float2x3(243.539734f, 13.1412964f, -379.985962f, -41.28122f, 87.91168f, -339.077271f);
bool2x3 r3 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void float2x3_operator_less_wide_wide()
{
float2x3 a0 = float2x3(196.84259f, 336.4098f, 251.963745f, 257.655945f, 430.0459f, -62.4196472f);
float2x3 b0 = float2x3(-465.345032f, -256.1524f, -314.814026f, 364.5667f, 100.21051f, 182.560974f);
bool2x3 r0 = bool2x3(false, false, false, true, false, true);
TestUtils.AreEqual(r0, a0 < b0);
float2x3 a1 = float2x3(8.839233f, -333.8167f, 164.678833f, -350.9449f, 3.84143066f, 125.409729f);
float2x3 b1 = float2x3(3.11700439f, -259.430481f, -437.3349f, -456.043732f, -394.255981f, 401.9137f);
bool2x3 r1 = bool2x3(false, true, false, false, false, true);
TestUtils.AreEqual(r1, a1 < b1);
float2x3 a2 = float2x3(-111.129944f, 70.00549f, 448.1983f, -419.987122f, -258.301666f, -34.8322144f);
float2x3 b2 = float2x3(313.439148f, 121.286682f, -28.0122986f, -282.965881f, 330.0644f, 124.099365f);
bool2x3 r2 = bool2x3(true, true, false, true, true, true);
TestUtils.AreEqual(r2, a2 < b2);
float2x3 a3 = float2x3(-69.8594055f, 67.76721f, -139.777283f, 385.434631f, 133.7074f, 506.188354f);
float2x3 b3 = float2x3(-183.6903f, 373.0608f, 109.750916f, -203.57135f, 45.64868f, -360.952271f);
bool2x3 r3 = bool2x3(false, true, true, false, false, false);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void float2x3_operator_less_wide_scalar()
{
float2x3 a0 = float2x3(-132.057312f, -192.465f, -66.8345947f, -379.017517f, -360.2824f, 20.9278564f);
float b0 = (-156.010223f);
bool2x3 r0 = bool2x3(false, true, false, true, true, false);
TestUtils.AreEqual(r0, a0 < b0);
float2x3 a1 = float2x3(-158.240753f, -20.4526062f, 225.2915f, 307.4842f, 274.015259f, 373.549683f);
float b1 = (437.3459f);
bool2x3 r1 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 < b1);
float2x3 a2 = float2x3(398.523682f, -58.0108948f, 109.670105f, -108.85318f, -44.9712524f, 140.426086f);
float b2 = (105.030151f);
bool2x3 r2 = bool2x3(false, true, false, true, true, false);
TestUtils.AreEqual(r2, a2 < b2);
float2x3 a3 = float2x3(-500.0883f, -197.500732f, -7.271515f, -432.9905f, 62.1583252f, -72.25473f);
float b3 = (172.103333f);
bool2x3 r3 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void float2x3_operator_less_scalar_wide()
{
float a0 = (-423.1174f);
float2x3 b0 = float2x3(385.094849f, -123.933472f, 86.37659f, 133.4422f, 161.457947f, 229.754272f);
bool2x3 r0 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 < b0);
float a1 = (222.5716f);
float2x3 b1 = float2x3(315.5312f, -447.203522f, 271.833862f, -393.605316f, 317.486877f, -164.6051f);
bool2x3 r1 = bool2x3(true, false, true, false, true, false);
TestUtils.AreEqual(r1, a1 < b1);
float a2 = (-282.876038f);
float2x3 b2 = float2x3(296.979553f, -254.401154f, 365.6156f, -441.984253f, -131.42865f, 442.628967f);
bool2x3 r2 = bool2x3(true, true, true, false, true, true);
TestUtils.AreEqual(r2, a2 < b2);
float a3 = (-29.7928467f);
float2x3 b3 = float2x3(-138.37381f, 9.21698f, -226.73056f, 171.029419f, 376.625244f, -462.5887f);
bool2x3 r3 = bool2x3(false, true, false, true, true, false);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void float2x3_operator_greater_wide_wide()
{
float2x3 a0 = float2x3(483.5014f, 310.8156f, 106.966187f, 295.7353f, 116.957581f, -478.299774f);
float2x3 b0 = float2x3(-471.398f, -371.9853f, 36.9006958f, -316.7636f, 19.6830444f, 207.309143f);
bool2x3 r0 = bool2x3(true, true, true, true, true, false);
TestUtils.AreEqual(r0, a0 > b0);
float2x3 a1 = float2x3(-14.8974f, -33.8174438f, -24.74054f, 319.782654f, -120.158569f, -289.008575f);
float2x3 b1 = float2x3(362.7975f, 324.95343f, 340.948059f, 25.9860229f, -114.211121f, 240.803467f);
bool2x3 r1 = bool2x3(false, false, false, true, false, false);
TestUtils.AreEqual(r1, a1 > b1);
float2x3 a2 = float2x3(455.85144f, 144.706909f, 63.9320068f, -285.683044f, -502.090729f, -337.194458f);
float2x3 b2 = float2x3(273.422424f, 325.515747f, 27.3410645f, 64.47955f, 200.948364f, 100.122681f);
bool2x3 r2 = bool2x3(true, false, true, false, false, false);
TestUtils.AreEqual(r2, a2 > b2);
float2x3 a3 = float2x3(474.317322f, -507.1451f, -133.565582f, -443.109131f, -464.34137f, -68.36154f);
float2x3 b3 = float2x3(-79.00711f, -315.137939f, -122.985443f, -163.7792f, -492.566f, -90.79727f);
bool2x3 r3 = bool2x3(true, false, false, false, true, true);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void float2x3_operator_greater_wide_scalar()
{
float2x3 a0 = float2x3(64.31793f, -397.703461f, 431.8769f, 85.703f, 246.263062f, 197.491577f);
float b0 = (305.859924f);
bool2x3 r0 = bool2x3(false, false, true, false, false, false);
TestUtils.AreEqual(r0, a0 > b0);
float2x3 a1 = float2x3(286.199463f, -405.7846f, 171.565369f, -241.807281f, 333.5782f, 370.279175f);
float b1 = (280.813354f);
bool2x3 r1 = bool2x3(true, false, false, false, true, true);
TestUtils.AreEqual(r1, a1 > b1);
float2x3 a2 = float2x3(-413.7014f, -353.0313f, 396.645325f, 467.222046f, -240.013428f, 502.915039f);
float b2 = (-356.592346f);
bool2x3 r2 = bool2x3(false, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 > b2);
float2x3 a3 = float2x3(315.4676f, 281.230652f, 428.792175f, 245.153076f, -279.1754f, -453.8631f);
float b3 = (-259.2897f);
bool2x3 r3 = bool2x3(true, true, true, true, false, false);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void float2x3_operator_greater_scalar_wide()
{
float a0 = (-282.6705f);
float2x3 b0 = float2x3(358.099976f, -72.596405f, -232.163788f, -60.7067261f, 75.15662f, 150.883484f);
bool2x3 r0 = bool2x3(false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 > b0);
float a1 = (339.539185f);
float2x3 b1 = float2x3(-498.196045f, 459.7461f, -227.968719f, 335.862122f, 76.17883f, 296.859924f);
bool2x3 r1 = bool2x3(true, false, true, true, true, true);
TestUtils.AreEqual(r1, a1 > b1);
float a2 = (177.48999f);
float2x3 b2 = float2x3(-281.2012f, 244.722839f, 137.328552f, -385.338257f, 443.163452f, -353.562561f);
bool2x3 r2 = bool2x3(true, false, true, true, false, true);
TestUtils.AreEqual(r2, a2 > b2);
float a3 = (26.04065f);
float2x3 b3 = float2x3(-331.793945f, -43.6919556f, 20.9494019f, -211.17984f, 227.421692f, -84.7797852f);
bool2x3 r3 = bool2x3(true, true, true, true, false, true);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void float2x3_operator_less_equal_wide_wide()
{
float2x3 a0 = float2x3(-438.523132f, 210.489441f, 4.87731934f, -137.297943f, 156.094116f, -363.924133f);
float2x3 b0 = float2x3(-474.814148f, 304.371033f, 234.824158f, -390.485443f, -297.175354f, -326.2924f);
bool2x3 r0 = bool2x3(false, true, true, false, false, true);
TestUtils.AreEqual(r0, a0 <= b0);
float2x3 a1 = float2x3(-97.94849f, 437.2954f, 458.530273f, -294.064758f, 23.62262f, -34.2840576f);
float2x3 b1 = float2x3(107.253906f, -413.131073f, 67.09442f, 470.075256f, -84.499115f, 392.784241f);
bool2x3 r1 = bool2x3(true, false, false, true, false, true);
TestUtils.AreEqual(r1, a1 <= b1);
float2x3 a2 = float2x3(149.736511f, -418.8867f, -197.502533f, -88.2055054f, -376.71814f, 341.627136f);
float2x3 b2 = float2x3(-263.531738f, 369.3009f, -333.3253f, 238.413452f, 486.2426f, 279.6502f);
bool2x3 r2 = bool2x3(false, true, false, true, true, false);
TestUtils.AreEqual(r2, a2 <= b2);
float2x3 a3 = float2x3(-83.30917f, -107.490723f, 319.466858f, 205.357361f, 345.563721f, 395.3219f);
float2x3 b3 = float2x3(236.052f, 132.758972f, 66.29474f, 183.002136f, 200.130554f, 339.043823f);
bool2x3 r3 = bool2x3(true, true, false, false, false, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void float2x3_operator_less_equal_wide_scalar()
{
float2x3 a0 = float2x3(193.49585f, 168.915527f, -313.993073f, 81.8269653f, 18.5036011f, -0.3581848f);
float b0 = (443.850525f);
bool2x3 r0 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 <= b0);
float2x3 a1 = float2x3(241.361145f, -1.35775757f, -268.899475f, 398.991943f, -471.253082f, -264.9378f);
float b1 = (-463.8164f);
bool2x3 r1 = bool2x3(false, false, false, false, true, false);
TestUtils.AreEqual(r1, a1 <= b1);
float2x3 a2 = float2x3(82.2583f, 424.704041f, 426.482239f, 56.3200073f, -196.2879f, 31.9011841f);
float b2 = (11.2460327f);
bool2x3 r2 = bool2x3(false, false, false, false, true, false);
TestUtils.AreEqual(r2, a2 <= b2);
float2x3 a3 = float2x3(-152.257568f, -37.1048279f, -47.1442261f, 333.623047f, -274.8039f, 358.67627f);
float b3 = (-437.926453f);
bool2x3 r3 = bool2x3(false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void float2x3_operator_less_equal_scalar_wide()
{
float a0 = (393.606262f);
float2x3 b0 = float2x3(-75.6883545f, -44.2638855f, 125.864929f, 191.9649f, 13.54303f, -197.051941f);
bool2x3 r0 = bool2x3(false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 <= b0);
float a1 = (-423.9451f);
float2x3 b1 = float2x3(-330.0486f, 420.165527f, 105.5473f, 174.821289f, 296.7176f, -469.7004f);
bool2x3 r1 = bool2x3(true, true, true, true, true, false);
TestUtils.AreEqual(r1, a1 <= b1);
float a2 = (123.267212f);
float2x3 b2 = float2x3(112.996948f, 495.143372f, -488.6579f, 388.539429f, -493.240784f, 16.45105f);
bool2x3 r2 = bool2x3(false, true, false, true, false, false);
TestUtils.AreEqual(r2, a2 <= b2);
float a3 = (-387.651642f);
float2x3 b3 = float2x3(-229.1773f, -373.01532f, -391.142151f, 90.99414f, -178.396149f, -69.62106f);
bool2x3 r3 = bool2x3(true, true, false, true, true, true);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void float2x3_operator_greater_equal_wide_wide()
{
float2x3 a0 = float2x3(-507.9286f, 504.4975f, -385.4345f, -262.323425f, -37.5509338f, -111.595276f);
float2x3 b0 = float2x3(-81.3465f, 297.666138f, 171.06543f, -431.038055f, -6.85907f, 319.7257f);
bool2x3 r0 = bool2x3(false, true, false, true, false, false);
TestUtils.AreEqual(r0, a0 >= b0);
float2x3 a1 = float2x3(-463.702026f, 387.448853f, 456.9688f, -211.010162f, 182.411377f, -53.59604f);
float2x3 b1 = float2x3(254.079163f, 396.5724f, 178.8393f, -447.063354f, 288.492676f, 474.889282f);
bool2x3 r1 = bool2x3(false, false, true, true, false, false);
TestUtils.AreEqual(r1, a1 >= b1);
float2x3 a2 = float2x3(-309.570221f, -136.022491f, 280.736267f, -96.99588f, -174.059509f, 88.90192f);
float2x3 b2 = float2x3(-321.750244f, -395.977234f, -158.692474f, 391.4887f, -368.109253f, 89.12378f);
bool2x3 r2 = bool2x3(true, true, true, false, true, false);
TestUtils.AreEqual(r2, a2 >= b2);
float2x3 a3 = float2x3(43.81604f, -446.07843f, 16.6455688f, 409.83252f, -191.329865f, 222.9978f);
float2x3 b3 = float2x3(-510.279327f, -486.9298f, -81.2155457f, 274.2188f, -212.881561f, 288.9953f);
bool2x3 r3 = bool2x3(true, true, true, true, true, false);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void float2x3_operator_greater_equal_wide_scalar()
{
float2x3 a0 = float2x3(465.152161f, -424.886078f, -209.2211f, 58.7798462f, -302.2691f, 140.12561f);
float b0 = (-5.599884f);
bool2x3 r0 = bool2x3(true, false, false, true, false, true);
TestUtils.AreEqual(r0, a0 >= b0);
float2x3 a1 = float2x3(16.3533936f, 393.278076f, -315.701538f, 441.011536f, -509.781555f, -36.9942932f);
float b1 = (-344.559967f);
bool2x3 r1 = bool2x3(true, true, true, true, false, true);
TestUtils.AreEqual(r1, a1 >= b1);
float2x3 a2 = float2x3(494.8203f, -466.1201f, -123.813751f, 215.651245f, 104.995728f, 314.346f);
float b2 = (-164.973938f);
bool2x3 r2 = bool2x3(true, false, true, true, true, true);
TestUtils.AreEqual(r2, a2 >= b2);
float2x3 a3 = float2x3(190.516113f, -23.8364258f, 143.049377f, -264.919983f, -169.702209f, 329.70752f);
float b3 = (-83.11142f);
bool2x3 r3 = bool2x3(true, true, true, false, false, true);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void float2x3_operator_greater_equal_scalar_wide()
{
float a0 = (374.827026f);
float2x3 b0 = float2x3(-1.60977173f, 338.615234f, -116.1814f, -332.157318f, -355.97937f, -468.901428f);
bool2x3 r0 = bool2x3(true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 >= b0);
float a1 = (38.579895f);
float2x3 b1 = float2x3(-332.347534f, 2.89013672f, 467.777771f, 121.406372f, -305.023376f, -58.4288025f);
bool2x3 r1 = bool2x3(true, true, false, false, true, true);
TestUtils.AreEqual(r1, a1 >= b1);
float a2 = (-226.519562f);
float2x3 b2 = float2x3(-47.0209961f, 305.302673f, -427.401245f, 92.26367f, -497.178528f, -408.625641f);
bool2x3 r2 = bool2x3(false, false, true, false, true, true);
TestUtils.AreEqual(r2, a2 >= b2);
float a3 = (-455.2305f);
float2x3 b3 = float2x3(396.4261f, -469.2949f, -485.754028f, -182.346191f, -291.545349f, 278.740784f);
bool2x3 r3 = bool2x3(false, true, true, false, false, false);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void float2x3_operator_add_wide_wide()
{
float2x3 a0 = float2x3(506.129028f, -501.779816f, 420.084778f, -186.032074f, -9.312408f, 328.51178f);
float2x3 b0 = float2x3(-28.7579956f, -337.135132f, -340.676819f, 152.312012f, 423.66748f, 90.3740845f);
float2x3 r0 = float2x3(477.371033f, -838.9149f, 79.40796f, -33.7200623f, 414.355072f, 418.885864f);
TestUtils.AreEqual(r0, a0 + b0);
float2x3 a1 = float2x3(424.344055f, 87.79108f, 462.4137f, -46.17871f, 401.170044f, -454.124146f);
float2x3 b1 = float2x3(376.18866f, 1.76721191f, -120.185852f, -279.629364f, -344.6671f, 242.839172f);
float2x3 r1 = float2x3(800.5327f, 89.55829f, 342.227844f, -325.808075f, 56.50293f, -211.284973f);
TestUtils.AreEqual(r1, a1 + b1);
float2x3 a2 = float2x3(69.19568f, -177.957336f, 299.604126f, 340.704834f, 219.916016f, -321.9084f);
float2x3 b2 = float2x3(418.593079f, -23.3128052f, -95.0999451f, 147.9281f, 331.0329f, -82.50256f);
float2x3 r2 = float2x3(487.788757f, -201.270142f, 204.504181f, 488.632935f, 550.9489f, -404.41095f);
TestUtils.AreEqual(r2, a2 + b2);
float2x3 a3 = float2x3(286.355347f, -333.4195f, -118.932159f, 68.60748f, 23.190918f, -205.577881f);
float2x3 b3 = float2x3(279.4496f, 342.622742f, -300.358521f, -209.694092f, 446.559448f, -351.9892f);
float2x3 r3 = float2x3(565.804932f, 9.203247f, -419.29068f, -141.086609f, 469.750366f, -557.5671f);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void float2x3_operator_add_wide_scalar()
{
float2x3 a0 = float2x3(-194.514191f, 338.5484f, 246.971375f, 100.510925f, -45.72467f, -478.1113f);
float b0 = (124.121704f);
float2x3 r0 = float2x3(-70.39249f, 462.6701f, 371.093079f, 224.632629f, 78.39703f, -353.9896f);
TestUtils.AreEqual(r0, a0 + b0);
float2x3 a1 = float2x3(30.9161377f, -242.118744f, 82.50134f, 6.79937744f, -484.6998f, -188.265015f);
float b1 = (60.37433f);
float2x3 r1 = float2x3(91.29047f, -181.744415f, 142.875671f, 67.1737061f, -424.32547f, -127.890686f);
TestUtils.AreEqual(r1, a1 + b1);
float2x3 a2 = float2x3(-213.526733f, 189.259949f, 198.533569f, 187.536072f, -424.925659f, 302.102356f);
float b2 = (-267.7843f);
float2x3 r2 = float2x3(-481.311035f, -78.52435f, -69.25073f, -80.24823f, -692.709961f, 34.3180542f);
TestUtils.AreEqual(r2, a2 + b2);
float2x3 a3 = float2x3(300.3991f, -200.161346f, 31.3782349f, 362.522156f, -423.988861f, 432.41333f);
float b3 = (124.021606f);
float2x3 r3 = float2x3(424.420715f, -76.13974f, 155.399841f, 486.543762f, -299.967255f, 556.434937f);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void float2x3_operator_add_scalar_wide()
{
float a0 = (-340.354675f);
float2x3 b0 = float2x3(511.362244f, -146.216644f, -106.210419f, -363.450256f, 199.0896f, -27.1083984f);
float2x3 r0 = float2x3(171.007568f, -486.57132f, -446.5651f, -703.804932f, -141.265076f, -367.463074f);
TestUtils.AreEqual(r0, a0 + b0);
float a1 = (419.849f);
float2x3 b1 = float2x3(284.955017f, -164.9242f, -249.190338f, 150.928162f, 298.1751f, -457.1534f);
float2x3 r1 = float2x3(704.804f, 254.9248f, 170.658661f, 570.777161f, 718.0241f, -37.3044128f);
TestUtils.AreEqual(r1, a1 + b1);
float a2 = (424.718079f);
float2x3 b2 = float2x3(-301.857483f, 230.288879f, -423.5876f, -67.06003f, 68.72412f, -164.02243f);
float2x3 r2 = float2x3(122.860596f, 655.006958f, 1.13049316f, 357.658051f, 493.4422f, 260.695648f);
TestUtils.AreEqual(r2, a2 + b2);
float a3 = (318.935181f);
float2x3 b3 = float2x3(7.80456543f, 187.698364f, -3.656952f, -446.083069f, -209.287231f, -38.21289f);
float2x3 r3 = float2x3(326.739746f, 506.633545f, 315.278229f, -127.147888f, 109.647949f, 280.7223f);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void float2x3_operator_sub_wide_wide()
{
float2x3 a0 = float2x3(160.492249f, 11.223938f, 359.200134f, -498.2283f, -355.253632f, -94.53485f);
float2x3 b0 = float2x3(115.46875f, -130.9823f, 241.540833f, 9.987061f, 419.895142f, 59.12445f);
float2x3 r0 = float2x3(45.0235f, 142.206238f, 117.6593f, -508.215363f, -775.1488f, -153.6593f);
TestUtils.AreEqual(r0, a0 - b0);
float2x3 a1 = float2x3(-410.46405f, -401.384644f, 317.706848f, 447.060425f, -489.074158f, -230.008392f);
float2x3 b1 = float2x3(-402.381653f, -75.37015f, 320.9796f, -73.90875f, -31.4447327f, -389.251953f);
float2x3 r1 = float2x3(-8.082397f, -326.0145f, -3.272766f, 520.9692f, -457.629425f, 159.243561f);
TestUtils.AreEqual(r1, a1 - b1);
float2x3 a2 = float2x3(24.8754272f, 366.614441f, -107.374146f, -219.008148f, 473.9076f, 259.63623f);
float2x3 b2 = float2x3(-375.028839f, 259.182739f, 276.648682f, -453.0692f, -272.576538f, -191.148041f);
float2x3 r2 = float2x3(399.904266f, 107.4317f, -384.022827f, 234.061066f, 746.484131f, 450.784271f);
TestUtils.AreEqual(r2, a2 - b2);
float2x3 a3 = float2x3(-360.119629f, 7.80963135f, 437.428467f, -59.1991577f, 418.744324f, 183.142151f);
float2x3 b3 = float2x3(87.1369f, 430.02478f, 343.6571f, 121.029419f, -354.188171f, 249.052f);
float2x3 r3 = float2x3(-447.256531f, -422.215149f, 93.77136f, -180.228577f, 772.9325f, -65.90985f);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void float2x3_operator_sub_wide_scalar()
{
float2x3 a0 = float2x3(207.389587f, 248.457764f, -384.8239f, -205.344757f, -374.811554f, 191.642029f);
float b0 = (-36.1124878f);
float2x3 r0 = float2x3(243.502075f, 284.570251f, -348.711426f, -169.232269f, -338.699066f, 227.754517f);
TestUtils.AreEqual(r0, a0 - b0);
float2x3 a1 = float2x3(18.8562622f, 480.857971f, 16.3381958f, -366.865448f, -35.5231f, 349.397766f);
float b1 = (-44.96161f);
float2x3 r1 = float2x3(63.81787f, 525.8196f, 61.2998047f, -321.903839f, 9.438507f, 394.359375f);
TestUtils.AreEqual(r1, a1 - b1);
float2x3 a2 = float2x3(439.077271f, 195.024048f, -384.849426f, 189.05188f, 55.6027832f, -54.931488f);
float b2 = (490.2223f);
float2x3 r2 = float2x3(-51.14502f, -295.198242f, -875.0717f, -301.1704f, -434.6195f, -545.1538f);
TestUtils.AreEqual(r2, a2 - b2);
float2x3 a3 = float2x3(53.0880737f, -273.8067f, 256.8872f, 297.173645f, 101.829041f, 136.607971f);
float b3 = (316.8025f);
float2x3 r3 = float2x3(-263.714417f, -590.6092f, -59.9152832f, -19.6288452f, -214.97345f, -180.194519f);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void float2x3_operator_sub_scalar_wide()
{
float a0 = (-86.00824f);
float2x3 b0 = float2x3(466.4251f, 298.486938f, -300.9501f, 315.38f, -381.092163f, -125.008362f);
float2x3 r0 = float2x3(-552.43335f, -384.495178f, 214.941864f, -401.388245f, 295.083923f, 39.0001221f);
TestUtils.AreEqual(r0, a0 - b0);
float a1 = (58.4661865f);
float2x3 b1 = float2x3(214.7461f, -257.549438f, 480.2246f, -443.355072f, 260.795044f, 29.6819458f);
float2x3 r1 = float2x3(-156.2799f, 316.015625f, -421.758423f, 501.821259f, -202.328857f, 28.78424f);
TestUtils.AreEqual(r1, a1 - b1);
float a2 = (139.857727f);
float2x3 b2 = float2x3(-247.789948f, -248.466217f, 91.44513f, 86.3841553f, 373.8183f, 260.411926f);
float2x3 r2 = float2x3(387.647675f, 388.323944f, 48.4125977f, 53.47357f, -233.960571f, -120.5542f);
TestUtils.AreEqual(r2, a2 - b2);
float a3 = (114.353943f);
float2x3 b3 = float2x3(-464.405457f, -109.741455f, -311.675354f, 107.864014f, -258.795166f, 14.0975342f);
float2x3 r3 = float2x3(578.7594f, 224.0954f, 426.0293f, 6.489929f, 373.1491f, 100.256409f);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void float2x3_operator_mul_wide_wide()
{
float2x3 a0 = float2x3(-482.7138f, -407.2935f, 137.700562f, 208.541138f, 194.29657f, -484.242432f);
float2x3 b0 = float2x3(-236.367889f, 260.7276f, -416.3863f, -364.4956f, -253.147522f, -369.202881f);
float2x3 r0 = float2x3(114098.047f, -106192.656f, -57336.625f, -76012.33f, -49185.6953f, 178783.7f);
TestUtils.AreEqual(r0, a0 * b0);
float2x3 a1 = float2x3(183.9873f, -241.33548f, 45.8687744f, 363.3261f, -328.118958f, -471.023071f);
float2x3 b1 = float2x3(193.547913f, 169.0849f, 201.969666f, 249.456055f, -308.193176f, -385.579651f);
float2x3 r1 = float2x3(35610.36f, -40806.1836f, 9264.101f, 90633.9f, 101124.023f, 181616.9f);
TestUtils.AreEqual(r1, a1 * b1);
float2x3 a2 = float2x3(-262.682556f, -379.262756f, -374.090576f, 481.4474f, 104.628052f, 412.935425f);
float2x3 b2 = float2x3(-183.2796f, 22.2756348f, -265.521423f, -95.67746f, 133.2544f, 148.311462f);
float2x3 r2 = float2x3(48144.3555f, -8448.318f, 99329.06f, -46063.6641f, 13942.1475f, 61243.06f);
TestUtils.AreEqual(r2, a2 * b2);
float2x3 a3 = float2x3(477.877258f, 20.3778076f, 291.995972f, -138.488312f, -393.464966f, 9.363098f);
float2x3 b3 = float2x3(249.284119f, 500.0055f, -19.3315735f, -36.69107f, 30.5238037f, -401.367f);
float2x3 r3 = float2x3(119127.211f, 10189.0156f, -5644.7417f, 5081.284f, -12010.0479f, -3758.03857f);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void float2x3_operator_mul_wide_scalar()
{
float2x3 a0 = float2x3(-96.31882f, -277.142273f, -239.93689f, 509.531433f, 255.8581f, 215.7315f);
float b0 = (-301.2072f);
float2x3 r0 = float2x3(29011.9219f, 83477.25f, 72270.72f, -153474.547f, -77066.3047f, -64979.8867f);
TestUtils.AreEqual(r0, a0 * b0);
float2x3 a1 = float2x3(-455.50827f, -338.29248f, 53.7962646f, 243.757324f, 135.354675f, -207.3501f);
float b1 = (-389.2433f);
float2x3 r1 = float2x3(177303.531f, 131678.078f, -20939.834f, -94880.9f, -52685.9f, 80709.63f);
TestUtils.AreEqual(r1, a1 * b1);
float2x3 a2 = float2x3(-383.9396f, 42.6761475f, 260.38385f, 176.867554f, 25.67212f, -290.5006f);
float b2 = (-31.4252319f);
float2x3 r2 = float2x3(12065.3916f, -1341.10779f, -8182.623f, -5558.104f, -806.7523f, 9129.049f);
TestUtils.AreEqual(r2, a2 * b2);
float2x3 a3 = float2x3(207.091f, -208.402008f, 370.945068f, -341.59845f, 10.2703247f, -176.888763f);
float b3 = (-156.523315f);
float2x3 r3 = float2x3(-32414.57f, 32619.7734f, -58061.55f, 53468.12f, -1607.54529f, 27687.2148f);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void float2x3_operator_mul_scalar_wide()
{
float a0 = (37.43219f);
float2x3 b0 = float2x3(96.74756f, 492.185364f, -274.054565f, -452.870972f, 420.853333f, 102.182922f);
float2x3 r0 = float2x3(3621.473f, 18423.5762f, -10258.4629f, -16951.9531f, 15753.4619f, 3824.93066f);
TestUtils.AreEqual(r0, a0 * b0);
float a1 = (-114.948883f);
float2x3 b1 = float2x3(-351.120056f, -464.664978f, 444.084839f, 447.1053f, 130.829346f, -321.41333f);
float2x3 r1 = float2x3(40360.86f, 53412.72f, -51047.0547f, -51394.2539f, -15038.6875f, 36946.1f);
TestUtils.AreEqual(r1, a1 * b1);
float a2 = (445.301331f);
float2x3 b2 = float2x3(478.2436f, 358.571716f, -144.8901f, -438.893829f, -3.536438f, -471.807556f);
float2x3 r2 = float2x3(212962.5f, 159672.469f, -64519.7578f, -195440f, -1574.78052f, -210096.531f);
TestUtils.AreEqual(r2, a2 * b2);
float a3 = (-42.5603943f);
float2x3 b3 = float2x3(119.911072f, 271.900024f, 239.684021f, 487.4414f, -79.18829f, -112.925659f);
float2x3 r3 = float2x3(-5103.4624f, -11572.1719f, -10201.0469f, -20745.7f, 3370.285f, 4806.16064f);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void float2x3_operator_div_wide_wide()
{
float2x3 a0 = float2x3(-353.131439f, -102.799866f, 51.3191528f, -191.871674f, 8.041809f, -128.73764f);
float2x3 b0 = float2x3(-178.739563f, -302.096283f, -199.405823f, 278.850769f, 502.3376f, -361.484833f);
float2x3 r0 = float2x3(1.97567582f, 0.34028843f, -0.257360339f, -0.688080132f, 0.0160087738f, 0.356135666f);
TestUtils.AreEqual(r0, a0 / b0);
float2x3 a1 = float2x3(-136.0596f, -370.471f, -237.69455f, -432.546875f, 200.2655f, 361.4416f);
float2x3 b1 = float2x3(353.121033f, -38.894928f, -75.76474f, -195.217834f, -405.034f, -394.23f);
float2x3 r1 = float2x3(-0.385305852f, 9.524919f, 3.1372714f, 2.215714f, -0.4944412f, -0.9168292f);
TestUtils.AreEqual(r1, a1 / b1);
float2x3 a2 = float2x3(-416.226135f, -450.0192f, -273.497437f, -286.908173f, -314.256042f, 177.762085f);
float2x3 b2 = float2x3(-375.8277f, -121.245483f, 447.623352f, 338.286255f, -405.5442f, -431.168945f);
float2x3 r2 = float2x3(1.107492f, 3.71163678f, -0.610999048f, -0.8481225f, 0.7748996f, -0.412279427f);
TestUtils.AreEqual(r2, a2 / b2);
float2x3 a3 = float2x3(97.6270142f, -68.10727f, -386.450745f, 263.699341f, -297.0271f, -501.777039f);
float2x3 b3 = float2x3(296.205139f, 437.939819f, 39.2106323f, 331.289734f, -310.619568f, 207.26947f);
float2x3 r3 = float2x3(0.3295926f, -0.155517414f, -9.855764f, 0.795978f, 0.9562408f, -2.42089224f);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void float2x3_operator_div_wide_scalar()
{
float2x3 a0 = float2x3(171.3424f, 0.103393555f, 57.8882446f, -256.130737f, 95.66968f, -290.3869f);
float b0 = (171.796814f);
float2x3 r0 = float2x3(0.997355f, 0.000601836247f, 0.3369576f, -1.49089336f, 0.5568769f, -1.69029272f);
TestUtils.AreEqual(r0, a0 / b0);
float2x3 a1 = float2x3(-127.4487f, 146.466858f, -499.843567f, 58.68634f, -453.2058f, -205.033813f);
float b1 = (-79.7449f);
float2x3 r1 = float2x3(1.598205f, -1.83669245f, 6.2680316f, -0.7359259f, 5.68319464f, 2.57112122f);
TestUtils.AreEqual(r1, a1 / b1);
float2x3 a2 = float2x3(481.738159f, -293.4635f, -158.505585f, -289.5822f, 494.1286f, 203.583435f);
float b2 = (464.479065f);
float2x3 r2 = float2x3(1.037158f, -0.6318121f, -0.341254532f, -0.6234559f, 1.063834f, 0.438304871f);
TestUtils.AreEqual(r2, a2 / b2);
float2x3 a3 = float2x3(180.9704f, 460.844727f, 490.956238f, -280.478058f, -320.243866f, 192.41449f);
float b3 = (259.1192f);
float2x3 r3 = float2x3(0.698406f, 1.77850473f, 1.89471185f, -1.08242869f, -1.235894f, 0.742571354f);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void float2x3_operator_div_scalar_wide()
{
float a0 = (-264.4425f);
float2x3 b0 = float2x3(105.589111f, -142.349091f, -288.9489f, 39.644104f, -363.9914f, -149.718231f);
float2x3 r0 = float2x3(-2.50444865f, 1.85770416f, 0.9151877f, -6.670412f, 0.7265076f, 1.7662679f);
TestUtils.AreEqual(r0, a0 / b0);
float a1 = (-395.729126f);
float2x3 b1 = float2x3(258.7187f, -9.66626f, 117.725525f, -331.386536f, -509.986023f, 427.896484f);
float2x3 r1 = float2x3(-1.529573f, 40.93922f, -3.36145568f, 1.19416177f, 0.775960743f, -0.9248244f);
TestUtils.AreEqual(r1, a1 / b1);
float a2 = (467.617126f);
float2x3 b2 = float2x3(-407.124634f, 252.690735f, 444.599365f, -88.31329f, 199.955017f, -218.346924f);
float2x3 r2 = float2x3(-1.14858472f, 1.85055113f, 1.05177188f, -5.29498f, 2.3386116f, -2.14162445f);
TestUtils.AreEqual(r2, a2 / b2);
float a3 = (-13.4171753f);
float2x3 b3 = float2x3(-296.131073f, 0.561340332f, -289.299316f, 196.218323f, 334.733459f, -282.392731f);
float2x3 r3 = float2x3(0.0453082323f, -23.9020329f, 0.0463781767f, -0.0683788061f, -0.0400831625f, 0.047512468f);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void float2x3_operator_mod_wide_wide()
{
float2x3 a0 = float2x3(-388.8125f, 181.681213f, -167.078735f, 432.820129f, -258.438965f, -170.110809f);
float2x3 b0 = float2x3(436.944153f, 58.9400635f, -201.116241f, 279.289368f, -397.079773f, 377.899963f);
float2x3 r0 = float2x3(-388.8125f, 4.861023f, -167.078735f, 153.530762f, -258.438965f, -170.110809f);
TestUtils.AreEqual(r0, a0 % b0);
float2x3 a1 = float2x3(283.3183f, 122.716492f, 335.271f, -503.608521f, 191.022522f, 289.742676f);
float2x3 b1 = float2x3(174.693848f, -228.176514f, -317.060181f, -417.4801f, -249.975952f, -397.571564f);
float2x3 r1 = float2x3(108.624451f, 122.716492f, 18.2108154f, -86.12842f, 191.022522f, 289.742676f);
TestUtils.AreEqual(r1, a1 % b1);
float2x3 a2 = float2x3(-124.033722f, 259.274f, -274.358459f, -140.030792f, 324.577576f, -200.513092f);
float2x3 b2 = float2x3(-358.745453f, -198.15921f, 208.737122f, -12.1194153f, 25.2714233f, -194.1207f);
float2x3 r2 = float2x3(-124.033722f, 61.1147766f, -65.62134f, -6.717224f, 21.3204956f, -6.392395f);
TestUtils.AreEqual(r2, a2 % b2);
float2x3 a3 = float2x3(211.423157f, -51.2722168f, -230.633911f, 99.98938f, 399.18988f, 24.90326f);
float2x3 b3 = float2x3(-493.8718f, -312.3017f, -216.980591f, 413.570984f, -436.3944f, 3.491272f);
float2x3 r3 = float2x3(211.423157f, -51.2722168f, -13.65332f, 99.98938f, 399.18988f, 0.464355469f);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void float2x3_operator_mod_wide_scalar()
{
float2x3 a0 = float2x3(-244.499634f, -211.8193f, -145.926788f, -304.9182f, 155.479492f, -133.907776f);
float b0 = (39.63495f);
float2x3 r0 = float2x3(-6.68994141f, -13.6445618f, -27.0219421f, -27.4735718f, 36.574646f, -15.00293f);
TestUtils.AreEqual(r0, a0 % b0);
float2x3 a1 = float2x3(281.309631f, 335.166138f, 101.706482f, 319.4715f, -285.4023f, -355.846863f);
float b1 = (-226.535767f);
float2x3 r1 = float2x3(54.7738647f, 108.630371f, 101.706482f, 92.93573f, -58.8665466f, -129.3111f);
TestUtils.AreEqual(r1, a1 % b1);
float2x3 a2 = float2x3(259.378f, -284.343567f, -102.683441f, -172.141754f, 206.41687f, -416.713654f);
float b2 = (-330.871948f);
float2x3 r2 = float2x3(259.378f, -284.343567f, -102.683441f, -172.141754f, 206.41687f, -85.8417053f);
TestUtils.AreEqual(r2, a2 % b2);
float2x3 a3 = float2x3(-339.256653f, 132.552917f, 226.944092f, -306.1183f, 115.438477f, 281.882935f);
float b3 = (435.2975f);
float2x3 r3 = float2x3(-339.256653f, 132.552917f, 226.944092f, -306.1183f, 115.438477f, 281.882935f);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void float2x3_operator_mod_scalar_wide()
{
float a0 = (-66.94504f);
float2x3 b0 = float2x3(-249.7761f, -396.073761f, 386.492065f, 168.939453f, -199.418243f, 261.7517f);
float2x3 r0 = float2x3(-66.94504f, -66.94504f, -66.94504f, -66.94504f, -66.94504f, -66.94504f);
TestUtils.AreEqual(r0, a0 % b0);
float a1 = (16.1274414f);
float2x3 b1 = float2x3(257.668152f, -75.78845f, 170.9563f, -242.858276f, 425.9453f, 303.2724f);
float2x3 r1 = float2x3(16.1274414f, 16.1274414f, 16.1274414f, 16.1274414f, 16.1274414f, 16.1274414f);
TestUtils.AreEqual(r1, a1 % b1);
float a2 = (3.033081f);
float2x3 b2 = float2x3(-505.74353f, 461.957031f, 205.972778f, 270.040649f, -47.4807129f, -150.254486f);
float2x3 r2 = float2x3(3.033081f, 3.033081f, 3.033081f, 3.033081f, 3.033081f, 3.033081f);
TestUtils.AreEqual(r2, a2 % b2);
float a3 = (149.499512f);
float2x3 b3 = float2x3(-220.298035f, 31.1188354f, 400.635681f, 6.23144531f, -39.05075f, -71.9411f);
float2x3 r3 = float2x3(149.499512f, 25.02417f, 149.499512f, 6.17626953f, 32.34726f, 5.61730957f);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void float2x3_operator_plus()
{
float2x3 a0 = float2x3(-418.829559f, -405.79895f, -34.04178f, 236.999268f, -459.8391f, 210.86145f);
float2x3 r0 = float2x3(-418.829559f, -405.79895f, -34.04178f, 236.999268f, -459.8391f, 210.86145f);
TestUtils.AreEqual(r0, +a0);
float2x3 a1 = float2x3(293.742f, -386.059845f, 4.95440674f, -418.645264f, 504.474854f, -170.746521f);
float2x3 r1 = float2x3(293.742f, -386.059845f, 4.95440674f, -418.645264f, 504.474854f, -170.746521f);
TestUtils.AreEqual(r1, +a1);
float2x3 a2 = float2x3(439.5594f, 116.400757f, 421.409668f, -258.596069f, 447.8661f, 124.164368f);
float2x3 r2 = float2x3(439.5594f, 116.400757f, 421.409668f, -258.596069f, 447.8661f, 124.164368f);
TestUtils.AreEqual(r2, +a2);
float2x3 a3 = float2x3(222.172546f, 239.041809f, 498.449524f, -139.382538f, 279.072937f, 108.775818f);
float2x3 r3 = float2x3(222.172546f, 239.041809f, 498.449524f, -139.382538f, 279.072937f, 108.775818f);
TestUtils.AreEqual(r3, +a3);
}
[TestCompiler]
public static void float2x3_operator_neg()
{
float2x3 a0 = float2x3(148.461731f, -467.122681f, 132.04718f, 183.522644f, 473.701f, -407.9911f);
float2x3 r0 = float2x3(-148.461731f, 467.122681f, -132.04718f, -183.522644f, -473.701f, 407.9911f);
TestUtils.AreEqual(r0, -a0);
float2x3 a1 = float2x3(-54.95877f, -299.093384f, -383.014069f, 407.709778f, 168.735474f, 466.441528f);
float2x3 r1 = float2x3(54.95877f, 299.093384f, 383.014069f, -407.709778f, -168.735474f, -466.441528f);
TestUtils.AreEqual(r1, -a1);
float2x3 a2 = float2x3(171.902466f, -78.857605f, 318.69635f, -39.9154053f, 140.340027f, 132.195618f);
float2x3 r2 = float2x3(-171.902466f, 78.857605f, -318.69635f, 39.9154053f, -140.340027f, -132.195618f);
TestUtils.AreEqual(r2, -a2);
float2x3 a3 = float2x3(-505.895264f, -237.056946f, -137.617828f, -245.349976f, 422.521362f, -434.57135f);
float2x3 r3 = float2x3(505.895264f, 237.056946f, 137.617828f, 245.349976f, -422.521362f, 434.57135f);
TestUtils.AreEqual(r3, -a3);
}
[TestCompiler]
public static void float2x3_operator_prefix_inc()
{
float2x3 a0 = float2x3(-139.842072f, -56.7436523f, -381.955322f, 509.796326f, -222.896332f, 210.319885f);
float2x3 r0 = float2x3(-138.842072f, -55.7436523f, -380.955322f, 510.796326f, -221.896332f, 211.319885f);
TestUtils.AreEqual(r0, ++a0);
float2x3 a1 = float2x3(-392.7315f, 362.212769f, 401.6148f, 130.90918f, -450.230164f, 243.546936f);
float2x3 r1 = float2x3(-391.7315f, 363.212769f, 402.6148f, 131.90918f, -449.230164f, 244.546936f);
TestUtils.AreEqual(r1, ++a1);
float2x3 a2 = float2x3(46.1920166f, 299.1855f, 154.356567f, -281.233276f, 200.706f, 92.95776f);
float2x3 r2 = float2x3(47.1920166f, 300.1855f, 155.356567f, -280.233276f, 201.706f, 93.95776f);
TestUtils.AreEqual(r2, ++a2);
float2x3 a3 = float2x3(448.602173f, 18.4990845f, -215.711121f, 471.947266f, 257.0766f, 41.6259155f);
float2x3 r3 = float2x3(449.602173f, 19.4990845f, -214.711121f, 472.947266f, 258.0766f, 42.6259155f);
TestUtils.AreEqual(r3, ++a3);
}
[TestCompiler]
public static void float2x3_operator_postfix_inc()
{
float2x3 a0 = float2x3(-396.669739f, 511.20752f, 249.111267f, -128.817322f, -259.4903f, 278.008179f);
float2x3 r0 = float2x3(-396.669739f, 511.20752f, 249.111267f, -128.817322f, -259.4903f, 278.008179f);
TestUtils.AreEqual(r0, a0++);
float2x3 a1 = float2x3(-81.39343f, 167.852112f, 147.94397f, -326.1076f, 41.03357f, 128.5304f);
float2x3 r1 = float2x3(-81.39343f, 167.852112f, 147.94397f, -326.1076f, 41.03357f, 128.5304f);
TestUtils.AreEqual(r1, a1++);
float2x3 a2 = float2x3(73.15558f, -446.229767f, -296.937836f, 267.293823f, 446.2293f, 49.2001953f);
float2x3 r2 = float2x3(73.15558f, -446.229767f, -296.937836f, 267.293823f, 446.2293f, 49.2001953f);
TestUtils.AreEqual(r2, a2++);
float2x3 a3 = float2x3(-326.643127f, 471.647461f, -171.013092f, 310.727356f, -298.917175f, 489.985f);
float2x3 r3 = float2x3(-326.643127f, 471.647461f, -171.013092f, 310.727356f, -298.917175f, 489.985f);
TestUtils.AreEqual(r3, a3++);
}
[TestCompiler]
public static void float2x3_operator_prefix_dec()
{
float2x3 a0 = float2x3(123.128723f, 256.84375f, 156.330811f, 461.737427f, 325.867981f, 392.015625f);
float2x3 r0 = float2x3(122.128723f, 255.84375f, 155.330811f, 460.737427f, 324.867981f, 391.015625f);
TestUtils.AreEqual(r0, --a0);
float2x3 a1 = float2x3(187.874146f, 125.109619f, 469.844727f, 45.5366821f, 376.046875f, -363.0755f);
float2x3 r1 = float2x3(186.874146f, 124.109619f, 468.844727f, 44.5366821f, 375.046875f, -364.0755f);
TestUtils.AreEqual(r1, --a1);
float2x3 a2 = float2x3(-22.0289612f, 168.095032f, 168.265625f, -190.284729f, 166.945557f, 183.957947f);
float2x3 r2 = float2x3(-23.0289612f, 167.095032f, 167.265625f, -191.284729f, 165.945557f, 182.957947f);
TestUtils.AreEqual(r2, --a2);
float2x3 a3 = float2x3(485.6947f, 89.5698853f, -267.4298f, 201.756226f, -141.216888f, -217.4841f);
float2x3 r3 = float2x3(484.6947f, 88.5698853f, -268.4298f, 200.756226f, -142.216888f, -218.4841f);
TestUtils.AreEqual(r3, --a3);
}
[TestCompiler]
public static void float2x3_operator_postfix_dec()
{
float2x3 a0 = float2x3(379.6883f, 302.692871f, -176.07135f, -291.2527f, 470.567566f, -402.925964f);
float2x3 r0 = float2x3(379.6883f, 302.692871f, -176.07135f, -291.2527f, 470.567566f, -402.925964f);
TestUtils.AreEqual(r0, a0--);
float2x3 a1 = float2x3(-63.65515f, -27.8892212f, -100.761841f, 156.14032f, 479.9452f, -200.304291f);
float2x3 r1 = float2x3(-63.65515f, -27.8892212f, -100.761841f, 156.14032f, 479.9452f, -200.304291f);
TestUtils.AreEqual(r1, a1--);
float2x3 a2 = float2x3(-445.026947f, 327.670349f, 48.06018f, -209.667969f, -38.43506f, 283.9416f);
float2x3 r2 = float2x3(-445.026947f, 327.670349f, 48.06018f, -209.667969f, -38.43506f, 283.9416f);
TestUtils.AreEqual(r2, a2--);
float2x3 a3 = float2x3(-94.80209f, -287.2625f, -215.948029f, -407.046356f, 159.233582f, -359.456482f);
float2x3 r3 = float2x3(-94.80209f, -287.2625f, -215.948029f, -407.046356f, 159.233582f, -359.456482f);
TestUtils.AreEqual(r3, a3--);
}
}
}

View File

@@ -0,0 +1,945 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using NUnit.Framework;
using static Unity.Mathematics.math;
using Burst.Compiler.IL.Tests;
namespace Unity.Mathematics.Tests
{
[TestFixture]
public class TestFloat2x4
{
[TestCompiler]
public static void float2x4_zero()
{
TestUtils.AreEqual(0.0f, float2x4.zero.c0.x);
TestUtils.AreEqual(0.0f, float2x4.zero.c0.y);
TestUtils.AreEqual(0.0f, float2x4.zero.c1.x);
TestUtils.AreEqual(0.0f, float2x4.zero.c1.y);
TestUtils.AreEqual(0.0f, float2x4.zero.c2.x);
TestUtils.AreEqual(0.0f, float2x4.zero.c2.y);
TestUtils.AreEqual(0.0f, float2x4.zero.c3.x);
TestUtils.AreEqual(0.0f, float2x4.zero.c3.y);
}
[TestCompiler]
public static void float2x4_operator_equal_wide_wide()
{
float2x4 a0 = float2x4(492.1576f, -495.206329f, 227.457642f, -147.374054f, -222.682f, 64.09375f, -23.8904114f, -16.8197327f);
float2x4 b0 = float2x4(192.568787f, -235.611023f, -254.043121f, -412.624725f, 471.9048f, -6.47277832f, -339.102356f, 488.187561f);
bool2x4 r0 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
float2x4 a1 = float2x4(163.232117f, -165.271f, 470.8777f, -423.942566f, 109.6344f, 462.6903f, -335.38147f, 357.2345f);
float2x4 b1 = float2x4(-379.5966f, -308.417f, -82.333374f, -102.921082f, 226.515747f, -356.9013f, -362.912781f, -427.898438f);
bool2x4 r1 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
float2x4 a2 = float2x4(1.54559326f, -347.388245f, -114.472168f, 435.848633f, 194.2381f, 138.765564f, -467.349152f, 370.43335f);
float2x4 b2 = float2x4(466.650146f, -102.799042f, -43.355957f, 85.0456543f, -91.1270447f, 422.192078f, -477.4313f, 1.87701416f);
bool2x4 r2 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
float2x4 a3 = float2x4(476.708252f, 320.552673f, -498.59198f, 92.41693f, 104.511353f, 166.754578f, -204.733429f, 434.756775f);
float2x4 b3 = float2x4(312.580078f, 254.599365f, 352.72583f, 62.4909668f, 119.714783f, -511.058075f, -302.472717f, -371.769226f);
bool2x4 r3 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void float2x4_operator_equal_wide_scalar()
{
float2x4 a0 = float2x4(-303.230072f, 451.5263f, -253.655884f, -105.203644f, -500.6911f, -426.192474f, 159.8761f, -59.55838f);
float b0 = (123.544556f);
bool2x4 r0 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
float2x4 a1 = float2x4(-57.4773865f, 406.513733f, 370.886f, -172.035309f, 455.400024f, -11.3389893f, 363.938232f, -27.1505737f);
float b1 = (-182.049744f);
bool2x4 r1 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
float2x4 a2 = float2x4(-325.976074f, 180.196838f, -374.128326f, -439.358948f, -126.546082f, -197.26178f, -227.159332f, -479.8992f);
float b2 = (-290.359039f);
bool2x4 r2 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
float2x4 a3 = float2x4(-439.777679f, -224.517059f, -422.833221f, -450.196259f, -20.10672f, 297.38f, 185.966553f, -102.975983f);
float b3 = (-495.237335f);
bool2x4 r3 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void float2x4_operator_equal_scalar_wide()
{
float a0 = (-253.397278f);
float2x4 b0 = float2x4(19.95221f, -185.791992f, 407.8136f, -87.2767f, -206.274689f, 160.503113f, -274.7708f, -2.63153076f);
bool2x4 r0 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
float a1 = (448.354553f);
float2x4 b1 = float2x4(-410.035248f, 247.329041f, 355.539124f, -298.0667f, 414.1015f, -481.3026f, 196.55072f, 34.6010132f);
bool2x4 r1 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
float a2 = (113.7616f);
float2x4 b2 = float2x4(-386.453369f, -124.49176f, 243.886658f, -492.6182f, 145.424438f, 421.55072f, -95.40997f, 336.809265f);
bool2x4 r2 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
float a3 = (209.5838f);
float2x4 b3 = float2x4(487.4414f, 161.806519f, 149.842468f, 225.724f, -71.21881f, 85.78027f, 192.547241f, -49.88748f);
bool2x4 r3 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void float2x4_operator_not_equal_wide_wide()
{
float2x4 a0 = float2x4(430.842529f, 104.69f, 225.802429f, -310.5702f, -418.619446f, 304.128174f, -509.3268f, -160.538086f);
float2x4 b0 = float2x4(210.024719f, -55.20334f, -269.925354f, -234.546722f, 25.91742f, -63.72699f, -484.5537f, -425.3336f);
bool2x4 r0 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
float2x4 a1 = float2x4(-203.301971f, -505.763245f, 162.17218f, 1.156189f, 65.66205f, 102.787781f, 172.930054f, 26.6210327f);
float2x4 b1 = float2x4(-53.2743835f, 328.1944f, 15.9631348f, 461.7141f, -113.363037f, -240.072968f, 495.119141f, 203.55835f);
bool2x4 r1 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
float2x4 a2 = float2x4(235.125977f, 128.541992f, -354.996979f, 334.3595f, -495.832f, 468.307373f, 458.370972f, 299.937317f);
float2x4 b2 = float2x4(340.493469f, -241.9072f, 459.569824f, 213.07373f, -384.782837f, -255.072327f, 477.663452f, -248.036621f);
bool2x4 r2 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
float2x4 a3 = float2x4(43.1271973f, -354.7135f, -145.2872f, 390.80188f, -303.13147f, 391.134583f, 139.286865f, 104.523193f);
float2x4 b3 = float2x4(-407.923462f, -199.788879f, 151.843262f, -97.1206055f, 154.975891f, -172.834534f, 441.5028f, -401.738617f);
bool2x4 r3 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void float2x4_operator_not_equal_wide_scalar()
{
float2x4 a0 = float2x4(-16.9145813f, 168.8341f, -462.713531f, 130.307739f, 214.501587f, -440.263275f, -197.12796f, -169.099854f);
float b0 = (-145.372772f);
bool2x4 r0 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
float2x4 a1 = float2x4(-386.611176f, -270.26886f, -403.9637f, -269.805725f, 299.654236f, -71.7509155f, -432.755737f, -457.363129f);
float b1 = (-281.021f);
bool2x4 r1 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
float2x4 a2 = float2x4(-13.5195923f, 185.04248f, -482.5307f, 116.395142f, 511.735f, 230.5075f, 100.27478f, 129.682434f);
float b2 = (273.873047f);
bool2x4 r2 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
float2x4 a3 = float2x4(321.178772f, 140.3352f, 369.212341f, 453.811218f, -333.66626f, -373.937744f, 150.204285f, -442.164764f);
float b3 = (-220.639f);
bool2x4 r3 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void float2x4_operator_not_equal_scalar_wide()
{
float a0 = (275.795837f);
float2x4 b0 = float2x4(-57.1969f, -382.432526f, 97.82037f, -161.463654f, -458.39563f, -499.617859f, 327.92218f, 367.571228f);
bool2x4 r0 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
float a1 = (59.786377f);
float2x4 b1 = float2x4(-209.580688f, -62.5804443f, -479.974976f, -49.4945068f, -114.685211f, 109.93927f, -176.284821f, -347.4853f);
bool2x4 r1 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
float a2 = (85.5409546f);
float2x4 b2 = float2x4(-356.659546f, -104.243561f, -133.5492f, 243.539734f, 13.1412964f, -379.985962f, -41.28122f, 87.91168f);
bool2x4 r2 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
float a3 = (-339.077271f);
float2x4 b3 = float2x4(-371.820343f, 333.1443f, 294.811951f, -187.14566f, 220.192261f, -228.182068f, -499.723724f, 97.40588f);
bool2x4 r3 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void float2x4_operator_less_wide_wide()
{
float2x4 a0 = float2x4(196.84259f, 336.4098f, 251.963745f, 257.655945f, 430.0459f, -62.4196472f, 8.839233f, -333.8167f);
float2x4 b0 = float2x4(-465.345032f, -256.1524f, -314.814026f, 364.5667f, 100.21051f, 182.560974f, 3.11700439f, -259.430481f);
bool2x4 r0 = bool2x4(false, false, false, true, false, true, false, true);
TestUtils.AreEqual(r0, a0 < b0);
float2x4 a1 = float2x4(164.678833f, -350.9449f, 3.84143066f, 125.409729f, -111.129944f, 70.00549f, 448.1983f, -419.987122f);
float2x4 b1 = float2x4(-437.3349f, -456.043732f, -394.255981f, 401.9137f, 313.439148f, 121.286682f, -28.0122986f, -282.965881f);
bool2x4 r1 = bool2x4(false, false, false, true, true, true, false, true);
TestUtils.AreEqual(r1, a1 < b1);
float2x4 a2 = float2x4(-258.301666f, -34.8322144f, -69.8594055f, 67.76721f, -139.777283f, 385.434631f, 133.7074f, 506.188354f);
float2x4 b2 = float2x4(330.0644f, 124.099365f, -183.6903f, 373.0608f, 109.750916f, -203.57135f, 45.64868f, -360.952271f);
bool2x4 r2 = bool2x4(true, true, false, true, true, false, false, false);
TestUtils.AreEqual(r2, a2 < b2);
float2x4 a3 = float2x4(34.44287f, 412.1137f, -84.8097839f, 444.785339f, -78.75473f, 366.977539f, 127.180481f, 428.368469f);
float2x4 b3 = float2x4(211.913086f, -313.286377f, -259.661072f, 79.09851f, 446.4961f, 450.524536f, -375.630768f, -53.9418335f);
bool2x4 r3 = bool2x4(true, false, false, false, true, true, false, false);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void float2x4_operator_less_wide_scalar()
{
float2x4 a0 = float2x4(-132.057312f, -192.465f, -66.8345947f, -379.017517f, -360.2824f, 20.9278564f, -158.240753f, 437.3459f);
float b0 = (-156.010223f);
bool2x4 r0 = bool2x4(false, true, false, true, true, false, true, false);
TestUtils.AreEqual(r0, a0 < b0);
float2x4 a1 = float2x4(-20.4526062f, 307.4842f, 274.015259f, 373.549683f, 398.523682f, 105.030151f, -58.0108948f, 109.670105f);
float b1 = (225.2915f);
bool2x4 r1 = bool2x4(true, false, false, false, false, true, true, true);
TestUtils.AreEqual(r1, a1 < b1);
float2x4 a2 = float2x4(-108.85318f, 140.426086f, -500.0883f, 172.103333f, -197.500732f, -7.271515f, -432.9905f, 62.1583252f);
float b2 = (-44.9712524f);
bool2x4 r2 = bool2x4(true, false, true, false, true, false, true, false);
TestUtils.AreEqual(r2, a2 < b2);
float2x4 a3 = float2x4(-72.25473f, -500.255737f, 149.11499f, 119.880615f, 202.63916f, 274.950684f, 66.41205f, 274.999451f);
float b3 = (-377.852325f);
bool2x4 r3 = bool2x4(false, true, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void float2x4_operator_less_scalar_wide()
{
float a0 = (-423.1174f);
float2x4 b0 = float2x4(385.094849f, -123.933472f, 86.37659f, 133.4422f, 161.457947f, 229.754272f, 222.5716f, 315.5312f);
bool2x4 r0 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 < b0);
float a1 = (-447.203522f);
float2x4 b1 = float2x4(271.833862f, -393.605316f, 317.486877f, -164.6051f, -282.876038f, 296.979553f, -254.401154f, 365.6156f);
bool2x4 r1 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 < b1);
float a2 = (-441.984253f);
float2x4 b2 = float2x4(-131.42865f, 442.628967f, -29.7928467f, -138.37381f, 9.21698f, -226.73056f, 171.029419f, 376.625244f);
bool2x4 r2 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 < b2);
float a3 = (-462.5887f);
float2x4 b3 = float2x4(-142.36731f, -456.253784f, 66.61023f, 169.378784f, 327.4444f, 64.08795f, -153.5039f, 199.380127f);
bool2x4 r3 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void float2x4_operator_greater_wide_wide()
{
float2x4 a0 = float2x4(483.5014f, 310.8156f, 106.966187f, 295.7353f, 116.957581f, -478.299774f, -14.8974f, -33.8174438f);
float2x4 b0 = float2x4(-471.398f, -371.9853f, 36.9006958f, -316.7636f, 19.6830444f, 207.309143f, 362.7975f, 324.95343f);
bool2x4 r0 = bool2x4(true, true, true, true, true, false, false, false);
TestUtils.AreEqual(r0, a0 > b0);
float2x4 a1 = float2x4(-24.74054f, 319.782654f, -120.158569f, -289.008575f, 455.85144f, 144.706909f, 63.9320068f, -285.683044f);
float2x4 b1 = float2x4(340.948059f, 25.9860229f, -114.211121f, 240.803467f, 273.422424f, 325.515747f, 27.3410645f, 64.47955f);
bool2x4 r1 = bool2x4(false, true, false, false, true, false, true, false);
TestUtils.AreEqual(r1, a1 > b1);
float2x4 a2 = float2x4(-502.090729f, -337.194458f, 474.317322f, -507.1451f, -133.565582f, -443.109131f, -464.34137f, -68.36154f);
float2x4 b2 = float2x4(200.948364f, 100.122681f, -79.00711f, -315.137939f, -122.985443f, -163.7792f, -492.566f, -90.79727f);
bool2x4 r2 = bool2x4(false, false, true, false, false, false, true, true);
TestUtils.AreEqual(r2, a2 > b2);
float2x4 a3 = float2x4(-185.993011f, -157.8039f, -74.12424f, -94.47116f, 329.610535f, -315.836731f, 404.1938f, 131.304382f);
float2x4 b3 = float2x4(-284.901245f, -23.6536865f, 174.93f, 85.7125244f, -441.987823f, 345.543762f, 482.219482f, -422.383484f);
bool2x4 r3 = bool2x4(true, false, false, false, true, false, false, true);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void float2x4_operator_greater_wide_scalar()
{
float2x4 a0 = float2x4(64.31793f, -397.703461f, 431.8769f, 85.703f, 246.263062f, 197.491577f, 286.199463f, 280.813354f);
float b0 = (305.859924f);
bool2x4 r0 = bool2x4(false, false, true, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 > b0);
float2x4 a1 = float2x4(-405.7846f, -241.807281f, 333.5782f, 370.279175f, -413.7014f, -356.592346f, -353.0313f, 396.645325f);
float b1 = (171.565369f);
bool2x4 r1 = bool2x4(false, false, true, true, false, false, false, true);
TestUtils.AreEqual(r1, a1 > b1);
float2x4 a2 = float2x4(467.222046f, 502.915039f, 315.4676f, -259.2897f, 281.230652f, 428.792175f, 245.153076f, -279.1754f);
float b2 = (-240.013428f);
bool2x4 r2 = bool2x4(true, true, true, false, true, true, true, false);
TestUtils.AreEqual(r2, a2 > b2);
float2x4 a3 = float2x4(-453.8631f, -425.652924f, 99.13287f, 355.060547f, -456.439423f, 154.489014f, 405.529724f, -157.7338f);
float b3 = (-124.771545f);
bool2x4 r3 = bool2x4(false, false, true, true, false, true, true, false);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void float2x4_operator_greater_scalar_wide()
{
float a0 = (-282.6705f);
float2x4 b0 = float2x4(358.099976f, -72.596405f, -232.163788f, -60.7067261f, 75.15662f, 150.883484f, 339.539185f, -498.196045f);
bool2x4 r0 = bool2x4(false, false, false, false, false, false, false, true);
TestUtils.AreEqual(r0, a0 > b0);
float a1 = (459.7461f);
float2x4 b1 = float2x4(-227.968719f, 335.862122f, 76.17883f, 296.859924f, 177.48999f, -281.2012f, 244.722839f, 137.328552f);
bool2x4 r1 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 > b1);
float a2 = (-385.338257f);
float2x4 b2 = float2x4(443.163452f, -353.562561f, 26.04065f, -331.793945f, -43.6919556f, 20.9494019f, -211.17984f, 227.421692f);
bool2x4 r2 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 > b2);
float a3 = (-84.7797852f);
float2x4 b3 = float2x4(-375.1355f, -205.178131f, -197.04715f, -219.634033f, -210.015625f, -266.7737f, 144.7785f, -471.7112f);
bool2x4 r3 = bool2x4(true, true, true, true, true, true, false, true);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void float2x4_operator_less_equal_wide_wide()
{
float2x4 a0 = float2x4(-438.523132f, 210.489441f, 4.87731934f, -137.297943f, 156.094116f, -363.924133f, -97.94849f, 437.2954f);
float2x4 b0 = float2x4(-474.814148f, 304.371033f, 234.824158f, -390.485443f, -297.175354f, -326.2924f, 107.253906f, -413.131073f);
bool2x4 r0 = bool2x4(false, true, true, false, false, true, true, false);
TestUtils.AreEqual(r0, a0 <= b0);
float2x4 a1 = float2x4(458.530273f, -294.064758f, 23.62262f, -34.2840576f, 149.736511f, -418.8867f, -197.502533f, -88.2055054f);
float2x4 b1 = float2x4(67.09442f, 470.075256f, -84.499115f, 392.784241f, -263.531738f, 369.3009f, -333.3253f, 238.413452f);
bool2x4 r1 = bool2x4(false, true, false, true, false, true, false, true);
TestUtils.AreEqual(r1, a1 <= b1);
float2x4 a2 = float2x4(-376.71814f, 341.627136f, -83.30917f, -107.490723f, 319.466858f, 205.357361f, 345.563721f, 395.3219f);
float2x4 b2 = float2x4(486.2426f, 279.6502f, 236.052f, 132.758972f, 66.29474f, 183.002136f, 200.130554f, 339.043823f);
bool2x4 r2 = bool2x4(true, false, true, true, false, false, false, false);
TestUtils.AreEqual(r2, a2 <= b2);
float2x4 a3 = float2x4(-222.874146f, 439.022034f, -368.075562f, -200.0386f, 71.46991f, -357.365417f, 141.710876f, 319.0171f);
float2x4 b3 = float2x4(438.5379f, 145.401855f, 178.163086f, 157.975952f, 329.7052f, -243.590912f, 5.401184f, -22.5805969f);
bool2x4 r3 = bool2x4(true, false, true, true, true, true, false, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void float2x4_operator_less_equal_wide_scalar()
{
float2x4 a0 = float2x4(193.49585f, 168.915527f, -313.993073f, 81.8269653f, 18.5036011f, -0.3581848f, 241.361145f, -463.8164f);
float b0 = (443.850525f);
bool2x4 r0 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 <= b0);
float2x4 a1 = float2x4(-1.35775757f, 398.991943f, -471.253082f, -264.9378f, 82.2583f, 11.2460327f, 424.704041f, 426.482239f);
float b1 = (-268.899475f);
bool2x4 r1 = bool2x4(false, false, true, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 <= b1);
float2x4 a2 = float2x4(56.3200073f, 31.9011841f, -152.257568f, -437.926453f, -37.1048279f, -47.1442261f, 333.623047f, -274.8039f);
float b2 = (-196.2879f);
bool2x4 r2 = bool2x4(false, false, false, true, false, false, false, true);
TestUtils.AreEqual(r2, a2 <= b2);
float2x4 a3 = float2x4(358.67627f, 192.309143f, 145.306091f, -466.132965f, -494.267334f, -111.570129f, -139.5412f, -146.589355f);
float b3 = (-260.460571f);
bool2x4 r3 = bool2x4(false, false, false, true, true, false, false, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void float2x4_operator_less_equal_scalar_wide()
{
float a0 = (393.606262f);
float2x4 b0 = float2x4(-75.6883545f, -44.2638855f, 125.864929f, 191.9649f, 13.54303f, -197.051941f, -423.9451f, -330.0486f);
bool2x4 r0 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 <= b0);
float a1 = (420.165527f);
float2x4 b1 = float2x4(105.5473f, 174.821289f, 296.7176f, -469.7004f, 123.267212f, 112.996948f, 495.143372f, -488.6579f);
bool2x4 r1 = bool2x4(false, false, false, false, false, false, true, false);
TestUtils.AreEqual(r1, a1 <= b1);
float a2 = (388.539429f);
float2x4 b2 = float2x4(-493.240784f, 16.45105f, -387.651642f, -229.1773f, -373.01532f, -391.142151f, 90.99414f, -178.396149f);
bool2x4 r2 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 <= b2);
float a3 = (-69.62106f);
float2x4 b3 = float2x4(471.790833f, -67.46677f, 45.30536f, -154.6922f, 385.7389f, -431.652954f, -331.673035f, -349.8927f);
bool2x4 r3 = bool2x4(true, true, true, false, true, false, false, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void float2x4_operator_greater_equal_wide_wide()
{
float2x4 a0 = float2x4(-507.9286f, 504.4975f, -385.4345f, -262.323425f, -37.5509338f, -111.595276f, -463.702026f, 387.448853f);
float2x4 b0 = float2x4(-81.3465f, 297.666138f, 171.06543f, -431.038055f, -6.85907f, 319.7257f, 254.079163f, 396.5724f);
bool2x4 r0 = bool2x4(false, true, false, true, false, false, false, false);
TestUtils.AreEqual(r0, a0 >= b0);
float2x4 a1 = float2x4(456.9688f, -211.010162f, 182.411377f, -53.59604f, -309.570221f, -136.022491f, 280.736267f, -96.99588f);
float2x4 b1 = float2x4(178.8393f, -447.063354f, 288.492676f, 474.889282f, -321.750244f, -395.977234f, -158.692474f, 391.4887f);
bool2x4 r1 = bool2x4(true, true, false, false, true, true, true, false);
TestUtils.AreEqual(r1, a1 >= b1);
float2x4 a2 = float2x4(-174.059509f, 88.90192f, 43.81604f, -446.07843f, 16.6455688f, 409.83252f, -191.329865f, 222.9978f);
float2x4 b2 = float2x4(-368.109253f, 89.12378f, -510.279327f, -486.9298f, -81.2155457f, 274.2188f, -212.881561f, 288.9953f);
bool2x4 r2 = bool2x4(true, false, true, true, true, true, true, false);
TestUtils.AreEqual(r2, a2 >= b2);
float2x4 a3 = float2x4(404.2884f, 230.603271f, -441.789276f, -86.29306f, 484.249573f, 95.23639f, -204.912109f, -199.774353f);
float2x4 b3 = float2x4(307.73175f, 307.245178f, -199.391785f, -284.421265f, -482.3918f, 448.315735f, -378.3462f, -390.858459f);
bool2x4 r3 = bool2x4(true, false, false, true, true, false, true, true);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void float2x4_operator_greater_equal_wide_scalar()
{
float2x4 a0 = float2x4(465.152161f, -424.886078f, -209.2211f, 58.7798462f, -302.2691f, 140.12561f, 16.3533936f, -344.559967f);
float b0 = (-5.599884f);
bool2x4 r0 = bool2x4(true, false, false, true, false, true, true, false);
TestUtils.AreEqual(r0, a0 >= b0);
float2x4 a1 = float2x4(393.278076f, 441.011536f, -509.781555f, -36.9942932f, 494.8203f, -164.973938f, -466.1201f, -123.813751f);
float b1 = (-315.701538f);
bool2x4 r1 = bool2x4(true, true, false, true, true, true, false, true);
TestUtils.AreEqual(r1, a1 >= b1);
float2x4 a2 = float2x4(215.651245f, 314.346f, 190.516113f, -83.11142f, -23.8364258f, 143.049377f, -264.919983f, -169.702209f);
float b2 = (104.995728f);
bool2x4 r2 = bool2x4(true, true, true, false, false, true, false, false);
TestUtils.AreEqual(r2, a2 >= b2);
float2x4 a3 = float2x4(329.70752f, -260.4233f, 354.195129f, -111.845337f, 33.309082f, 355.6313f, -435.360565f, -38.3993225f);
float b3 = (359.095825f);
bool2x4 r3 = bool2x4(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void float2x4_operator_greater_equal_scalar_wide()
{
float a0 = (374.827026f);
float2x4 b0 = float2x4(-1.60977173f, 338.615234f, -116.1814f, -332.157318f, -355.97937f, -468.901428f, 38.579895f, -332.347534f);
bool2x4 r0 = bool2x4(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 >= b0);
float a1 = (2.89013672f);
float2x4 b1 = float2x4(467.777771f, 121.406372f, -305.023376f, -58.4288025f, -226.519562f, -47.0209961f, 305.302673f, -427.401245f);
bool2x4 r1 = bool2x4(false, false, true, true, true, true, false, true);
TestUtils.AreEqual(r1, a1 >= b1);
float a2 = (92.26367f);
float2x4 b2 = float2x4(-497.178528f, -408.625641f, -455.2305f, 396.4261f, -469.2949f, -485.754028f, -182.346191f, -291.545349f);
bool2x4 r2 = bool2x4(true, true, true, false, true, true, true, true);
TestUtils.AreEqual(r2, a2 >= b2);
float a3 = (278.740784f);
float2x4 b3 = float2x4(-75.8711243f, 28.9070435f, 287.720154f, 420.509766f, 473.626831f, 181.514526f, -369.202881f, 243.749756f);
bool2x4 r3 = bool2x4(true, true, false, false, false, true, true, true);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void float2x4_operator_add_wide_wide()
{
float2x4 a0 = float2x4(506.129028f, -501.779816f, 420.084778f, -186.032074f, -9.312408f, 328.51178f, 424.344055f, 87.79108f);
float2x4 b0 = float2x4(-28.7579956f, -337.135132f, -340.676819f, 152.312012f, 423.66748f, 90.3740845f, 376.18866f, 1.76721191f);
float2x4 r0 = float2x4(477.371033f, -838.9149f, 79.40796f, -33.7200623f, 414.355072f, 418.885864f, 800.5327f, 89.55829f);
TestUtils.AreEqual(r0, a0 + b0);
float2x4 a1 = float2x4(462.4137f, -46.17871f, 401.170044f, -454.124146f, 69.19568f, -177.957336f, 299.604126f, 340.704834f);
float2x4 b1 = float2x4(-120.185852f, -279.629364f, -344.6671f, 242.839172f, 418.593079f, -23.3128052f, -95.0999451f, 147.9281f);
float2x4 r1 = float2x4(342.227844f, -325.808075f, 56.50293f, -211.284973f, 487.788757f, -201.270142f, 204.504181f, 488.632935f);
TestUtils.AreEqual(r1, a1 + b1);
float2x4 a2 = float2x4(219.916016f, -321.9084f, 286.355347f, -333.4195f, -118.932159f, 68.60748f, 23.190918f, -205.577881f);
float2x4 b2 = float2x4(331.0329f, -82.50256f, 279.4496f, 342.622742f, -300.358521f, -209.694092f, 446.559448f, -351.9892f);
float2x4 r2 = float2x4(550.9489f, -404.41095f, 565.804932f, 9.203247f, -419.29068f, -141.086609f, 469.750366f, -557.5671f);
TestUtils.AreEqual(r2, a2 + b2);
float2x4 a3 = float2x4(11.5214233f, -340.795074f, -68.93118f, 304.8532f, -86.63385f, 105.669128f, 349.280518f, 364.7079f);
float2x4 b3 = float2x4(-263.12384f, -252.458557f, 289.825378f, 338.796143f, -232.619019f, -510.50824f, 349.280762f, -426.212463f);
float2x4 r3 = float2x4(-251.602417f, -593.253662f, 220.8942f, 643.649353f, -319.252869f, -404.8391f, 698.5613f, -61.5045776f);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void float2x4_operator_add_wide_scalar()
{
float2x4 a0 = float2x4(-194.514191f, 338.5484f, 246.971375f, 100.510925f, -45.72467f, -478.1113f, 30.9161377f, 60.37433f);
float b0 = (124.121704f);
float2x4 r0 = float2x4(-70.39249f, 462.6701f, 371.093079f, 224.632629f, 78.39703f, -353.9896f, 155.037842f, 184.496033f);
TestUtils.AreEqual(r0, a0 + b0);
float2x4 a1 = float2x4(-242.118744f, 6.79937744f, -484.6998f, -188.265015f, -213.526733f, -267.7843f, 189.259949f, 198.533569f);
float b1 = (82.50134f);
float2x4 r1 = float2x4(-159.6174f, 89.30072f, -402.198456f, -105.763672f, -131.025391f, -185.282959f, 271.7613f, 281.0349f);
TestUtils.AreEqual(r1, a1 + b1);
float2x4 a2 = float2x4(187.536072f, 302.102356f, 300.3991f, 124.021606f, -200.161346f, 31.3782349f, 362.522156f, -423.988861f);
float b2 = (-424.925659f);
float2x4 r2 = float2x4(-237.389587f, -122.8233f, -124.52655f, -300.904053f, -625.087036f, -393.547424f, -62.4035034f, -848.914551f);
TestUtils.AreEqual(r2, a2 + b2);
float2x4 a3 = float2x4(432.41333f, -465.6995f, -311.04303f, 84.91901f, -432.442444f, 235.750671f, -472.637756f, -257.577759f);
float b3 = (374.211426f);
float2x4 r3 = float2x4(806.624756f, -91.48807f, 63.168396f, 459.130432f, -58.2310181f, 609.9621f, -98.42633f, 116.633667f);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void float2x4_operator_add_scalar_wide()
{
float a0 = (-340.354675f);
float2x4 b0 = float2x4(511.362244f, -146.216644f, -106.210419f, -363.450256f, 199.0896f, -27.1083984f, 419.849f, 284.955017f);
float2x4 r0 = float2x4(171.007568f, -486.57132f, -446.5651f, -703.804932f, -141.265076f, -367.463074f, 79.49432f, -55.39966f);
TestUtils.AreEqual(r0, a0 + b0);
float a1 = (-164.9242f);
float2x4 b1 = float2x4(-249.190338f, 150.928162f, 298.1751f, -457.1534f, 424.718079f, -301.857483f, 230.288879f, -423.5876f);
float2x4 r1 = float2x4(-414.114532f, -13.9960327f, 133.250916f, -622.077637f, 259.793884f, -466.781677f, 65.3646851f, -588.5118f);
TestUtils.AreEqual(r1, a1 + b1);
float a2 = (-67.06003f);
float2x4 b2 = float2x4(68.72412f, -164.02243f, 318.935181f, 7.80456543f, 187.698364f, -3.656952f, -446.083069f, -209.287231f);
float2x4 r2 = float2x4(1.664093f, -231.082458f, 251.875153f, -59.2554626f, 120.638336f, -70.71698f, -513.143066f, -276.34726f);
TestUtils.AreEqual(r2, a2 + b2);
float a3 = (-38.21289f);
float2x4 b3 = float2x4(-346.257172f, 465.607422f, -192.185944f, 278.6938f, 381.978455f, 481.243652f, -97.22815f, -455.513733f);
float2x4 r3 = float2x4(-384.470062f, 427.394531f, -230.398834f, 240.4809f, 343.765564f, 443.030762f, -135.44104f, -493.726624f);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void float2x4_operator_sub_wide_wide()
{
float2x4 a0 = float2x4(160.492249f, 11.223938f, 359.200134f, -498.2283f, -355.253632f, -94.53485f, -410.46405f, -401.384644f);
float2x4 b0 = float2x4(115.46875f, -130.9823f, 241.540833f, 9.987061f, 419.895142f, 59.12445f, -402.381653f, -75.37015f);
float2x4 r0 = float2x4(45.0235f, 142.206238f, 117.6593f, -508.215363f, -775.1488f, -153.6593f, -8.082397f, -326.0145f);
TestUtils.AreEqual(r0, a0 - b0);
float2x4 a1 = float2x4(317.706848f, 447.060425f, -489.074158f, -230.008392f, 24.8754272f, 366.614441f, -107.374146f, -219.008148f);
float2x4 b1 = float2x4(320.9796f, -73.90875f, -31.4447327f, -389.251953f, -375.028839f, 259.182739f, 276.648682f, -453.0692f);
float2x4 r1 = float2x4(-3.272766f, 520.9692f, -457.629425f, 159.243561f, 399.904266f, 107.4317f, -384.022827f, 234.061066f);
TestUtils.AreEqual(r1, a1 - b1);
float2x4 a2 = float2x4(473.9076f, 259.63623f, -360.119629f, 7.80963135f, 437.428467f, -59.1991577f, 418.744324f, 183.142151f);
float2x4 b2 = float2x4(-272.576538f, -191.148041f, 87.1369f, 430.02478f, 343.6571f, 121.029419f, -354.188171f, 249.052f);
float2x4 r2 = float2x4(746.484131f, 450.784271f, -447.256531f, -422.215149f, 93.77136f, -180.228577f, 772.9325f, -65.90985f);
TestUtils.AreEqual(r2, a2 - b2);
float2x4 a3 = float2x4(271.230347f, 496.208557f, 165.354919f, -227.403656f, -166.522858f, 356.142273f, 386.9264f, -394.638763f);
float2x4 b3 = float2x4(-2.22543335f, 22.4472656f, 478.112976f, -320.063f, -111.524109f, 222.228943f, -245.411072f, -119.902283f);
float2x4 r3 = float2x4(273.45578f, 473.7613f, -312.758057f, 92.65933f, -54.99875f, 133.91333f, 632.337463f, -274.736481f);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void float2x4_operator_sub_wide_scalar()
{
float2x4 a0 = float2x4(207.389587f, 248.457764f, -384.8239f, -205.344757f, -374.811554f, 191.642029f, 18.8562622f, -44.96161f);
float b0 = (-36.1124878f);
float2x4 r0 = float2x4(243.502075f, 284.570251f, -348.711426f, -169.232269f, -338.699066f, 227.754517f, 54.96875f, -8.849121f);
TestUtils.AreEqual(r0, a0 - b0);
float2x4 a1 = float2x4(480.857971f, -366.865448f, -35.5231f, 349.397766f, 439.077271f, 490.2223f, 195.024048f, -384.849426f);
float b1 = (16.3381958f);
float2x4 r1 = float2x4(464.519775f, -383.203644f, -51.8612976f, 333.05957f, 422.739075f, 473.8841f, 178.685852f, -401.187622f);
TestUtils.AreEqual(r1, a1 - b1);
float2x4 a2 = float2x4(189.05188f, -54.931488f, 53.0880737f, 316.8025f, -273.8067f, 256.8872f, 297.173645f, 101.829041f);
float b2 = (55.6027832f);
float2x4 r2 = float2x4(133.4491f, -110.534271f, -2.51470947f, 261.1997f, -329.4095f, 201.284424f, 241.570862f, 46.2262573f);
TestUtils.AreEqual(r2, a2 - b2);
float2x4 a3 = float2x4(136.607971f, 336.589722f, -51.8765564f, 317.345764f, -467.055939f, -50.1670532f, 477.804565f, -60.82193f);
float b3 = (-19.7322083f);
float2x4 r3 = float2x4(156.340179f, 356.32193f, -32.14435f, 337.077972f, -447.32373f, -30.434845f, 497.536774f, -41.08972f);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void float2x4_operator_sub_scalar_wide()
{
float a0 = (-86.00824f);
float2x4 b0 = float2x4(466.4251f, 298.486938f, -300.9501f, 315.38f, -381.092163f, -125.008362f, 58.4661865f, 214.7461f);
float2x4 r0 = float2x4(-552.43335f, -384.495178f, 214.941864f, -401.388245f, 295.083923f, 39.0001221f, -144.474426f, -300.754333f);
TestUtils.AreEqual(r0, a0 - b0);
float a1 = (-257.549438f);
float2x4 b1 = float2x4(480.2246f, -443.355072f, 260.795044f, 29.6819458f, 139.857727f, -247.789948f, -248.466217f, 91.44513f);
float2x4 r1 = float2x4(-737.774048f, 185.805634f, -518.3445f, -287.231384f, -397.407166f, -9.759491f, -9.083221f, -348.994568f);
TestUtils.AreEqual(r1, a1 - b1);
float a2 = (86.3841553f);
float2x4 b2 = float2x4(373.8183f, 260.411926f, 114.353943f, -464.405457f, -109.741455f, -311.675354f, 107.864014f, -258.795166f);
float2x4 r2 = float2x4(-287.434143f, -174.027771f, -27.9697876f, 550.7896f, 196.12561f, 398.0595f, -21.4798584f, 345.179321f);
TestUtils.AreEqual(r2, a2 - b2);
float a3 = (14.0975342f);
float2x4 b3 = float2x4(-461.970184f, 30.3108521f, 63.70111f, -462.676758f, 39.75946f, 47.99817f, -177.6193f, 202.477051f);
float2x4 r3 = float2x4(476.067719f, -16.2133179f, -49.6035767f, 476.7743f, -25.6619263f, -33.9006348f, 191.716827f, -188.379517f);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void float2x4_operator_mul_wide_wide()
{
float2x4 a0 = float2x4(-482.7138f, -407.2935f, 137.700562f, 208.541138f, 194.29657f, -484.242432f, 183.9873f, -241.33548f);
float2x4 b0 = float2x4(-236.367889f, 260.7276f, -416.3863f, -364.4956f, -253.147522f, -369.202881f, 193.547913f, 169.0849f);
float2x4 r0 = float2x4(114098.047f, -106192.656f, -57336.625f, -76012.33f, -49185.6953f, 178783.7f, 35610.36f, -40806.1836f);
TestUtils.AreEqual(r0, a0 * b0);
float2x4 a1 = float2x4(45.8687744f, 363.3261f, -328.118958f, -471.023071f, -262.682556f, -379.262756f, -374.090576f, 481.4474f);
float2x4 b1 = float2x4(201.969666f, 249.456055f, -308.193176f, -385.579651f, -183.2796f, 22.2756348f, -265.521423f, -95.67746f);
float2x4 r1 = float2x4(9264.101f, 90633.9f, 101124.023f, 181616.9f, 48144.3555f, -8448.318f, 99329.06f, -46063.6641f);
TestUtils.AreEqual(r1, a1 * b1);
float2x4 a2 = float2x4(104.628052f, 412.935425f, 477.877258f, 20.3778076f, 291.995972f, -138.488312f, -393.464966f, 9.363098f);
float2x4 b2 = float2x4(133.2544f, 148.311462f, 249.284119f, 500.0055f, -19.3315735f, -36.69107f, 30.5238037f, -401.367f);
float2x4 r2 = float2x4(13942.1475f, 61243.06f, 119127.211f, 10189.0156f, -5644.7417f, 5081.284f, -12010.0479f, -3758.03857f);
TestUtils.AreEqual(r2, a2 * b2);
float2x4 a3 = float2x4(-131.942291f, 364.449646f, 390.615967f, 418.797974f, -277.3448f, 11.4101563f, 474.876465f, -502.405029f);
float2x4 b3 = float2x4(3.43725586f, 257.24176f, -290.971924f, 337.47937f, 490.286133f, -191.0198f, -325.7345f, -52.1819763f);
float2x4 r3 = float2x4(-453.5194f, 93751.67f, -113658.281f, 141335.672f, -135978.3f, -2179.566f, -154683.641f, 26216.4883f);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void float2x4_operator_mul_wide_scalar()
{
float2x4 a0 = float2x4(-96.31882f, -277.142273f, -239.93689f, 509.531433f, 255.8581f, 215.7315f, -455.50827f, -389.2433f);
float b0 = (-301.2072f);
float2x4 r0 = float2x4(29011.9219f, 83477.25f, 72270.72f, -153474.547f, -77066.3047f, -64979.8867f, 137202.375f, 117242.883f);
TestUtils.AreEqual(r0, a0 * b0);
float2x4 a1 = float2x4(-338.29248f, 243.757324f, 135.354675f, -207.3501f, -383.9396f, -31.4252319f, 42.6761475f, 260.38385f);
float b1 = (53.7962646f);
float2x4 r1 = float2x4(-18198.8711f, 13113.2334f, 7281.576f, -11154.6611f, -20654.5176f, -1690.56f, 2295.81738f, 14007.6787f);
TestUtils.AreEqual(r1, a1 * b1);
float2x4 a2 = float2x4(176.867554f, -290.5006f, 207.091f, -156.523315f, -208.402008f, 370.945068f, -341.59845f, 10.2703247f);
float b2 = (25.67212f);
float2x4 r2 = float2x4(4540.565f, -7457.766f, 5316.465f, -4018.28516f, -5350.121f, 9522.946f, -8769.556f, 263.661f);
TestUtils.AreEqual(r2, a2 * b2);
float2x4 a3 = float2x4(-176.888763f, 186.279785f, -487.652222f, -129.376831f, -317.7163f, -207.62735f, 388.8714f, -233.335327f);
float b3 = (-61.0061035f);
float2x4 r3 = float2x4(10791.2939f, -11364.2041f, 29749.7617f, 7892.77637f, 19382.6348f, 12666.5352f, -23723.53f, 14234.8789f);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void float2x4_operator_mul_scalar_wide()
{
float a0 = (37.43219f);
float2x4 b0 = float2x4(96.74756f, 492.185364f, -274.054565f, -452.870972f, 420.853333f, 102.182922f, -114.948883f, -351.120056f);
float2x4 r0 = float2x4(3621.473f, 18423.5762f, -10258.4629f, -16951.9531f, 15753.4619f, 3824.93066f, -4302.78857f, -13143.1924f);
TestUtils.AreEqual(r0, a0 * b0);
float a1 = (-464.664978f);
float2x4 b1 = float2x4(444.084839f, 447.1053f, 130.829346f, -321.41333f, 445.301331f, 478.2436f, 358.571716f, -144.8901f);
float2x4 r1 = float2x4(-206350.672f, -207754.172f, -60791.8164f, 149349.516f, -206915.938f, -222223.047f, -166615.719f, 67325.36f);
TestUtils.AreEqual(r1, a1 * b1);
float a2 = (-438.893829f);
float2x4 b2 = float2x4(-3.536438f, -471.807556f, -42.5603943f, 119.911072f, 271.900024f, 239.684021f, 487.4414f, -79.18829f);
float2x4 r2 = float2x4(1552.12085f, 207073.422f, 18679.4941f, -52628.23f, -119335.242f, -105195.836f, -213935.031f, 34755.2539f);
TestUtils.AreEqual(r2, a2 * b2);
float a3 = (-112.925659f);
float2x4 b3 = float2x4(161.370056f, 459.759155f, -337.195984f, -276.834534f, 469.723877f, -274.565155f, 506.7859f, 65.88257f);
float2x4 r3 = float2x4(-18222.82f, -51918.6055f, 38078.08f, 31261.7227f, -53043.88f, 31005.4512f, -57229.13f, -7439.83252f);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void float2x4_operator_div_wide_wide()
{
float2x4 a0 = float2x4(-353.131439f, -102.799866f, 51.3191528f, -191.871674f, 8.041809f, -128.73764f, -136.0596f, -370.471f);
float2x4 b0 = float2x4(-178.739563f, -302.096283f, -199.405823f, 278.850769f, 502.3376f, -361.484833f, 353.121033f, -38.894928f);
float2x4 r0 = float2x4(1.97567582f, 0.34028843f, -0.257360339f, -0.688080132f, 0.0160087738f, 0.356135666f, -0.385305852f, 9.524919f);
TestUtils.AreEqual(r0, a0 / b0);
float2x4 a1 = float2x4(-237.69455f, -432.546875f, 200.2655f, 361.4416f, -416.226135f, -450.0192f, -273.497437f, -286.908173f);
float2x4 b1 = float2x4(-75.76474f, -195.217834f, -405.034f, -394.23f, -375.8277f, -121.245483f, 447.623352f, 338.286255f);
float2x4 r1 = float2x4(3.1372714f, 2.215714f, -0.4944412f, -0.9168292f, 1.107492f, 3.71163678f, -0.610999048f, -0.8481225f);
TestUtils.AreEqual(r1, a1 / b1);
float2x4 a2 = float2x4(-314.256042f, 177.762085f, 97.6270142f, -68.10727f, -386.450745f, 263.699341f, -297.0271f, -501.777039f);
float2x4 b2 = float2x4(-405.5442f, -431.168945f, 296.205139f, 437.939819f, 39.2106323f, 331.289734f, -310.619568f, 207.26947f);
float2x4 r2 = float2x4(0.7748996f, -0.412279427f, 0.3295926f, -0.155517414f, -9.855764f, 0.795978f, 0.9562408f, -2.42089224f);
TestUtils.AreEqual(r2, a2 / b2);
float2x4 a3 = float2x4(-263.40686f, -451.080841f, -416.34552f, -315.278748f, -28.1811218f, -397.870148f, -261.386658f, 40.3482056f);
float2x4 b3 = float2x4(-223.293f, -480.0914f, 448.675964f, -460.097443f, -220.569855f, -84.85315f, 441.373779f, 72.41846f);
float2x4 r3 = float2x4(1.17964673f, 0.9395729f, -0.9279426f, 0.6852434f, 0.127765059f, 4.688926f, -0.592211545f, 0.557153642f);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void float2x4_operator_div_wide_scalar()
{
float2x4 a0 = float2x4(171.3424f, 0.103393555f, 57.8882446f, -256.130737f, 95.66968f, -290.3869f, -127.4487f, -79.7449f);
float b0 = (171.796814f);
float2x4 r0 = float2x4(0.997355f, 0.000601836247f, 0.3369576f, -1.49089336f, 0.5568769f, -1.69029272f, -0.7418572f, -0.4641815f);
TestUtils.AreEqual(r0, a0 / b0);
float2x4 a1 = float2x4(146.466858f, 58.68634f, -453.2058f, -205.033813f, 481.738159f, 464.479065f, -293.4635f, -158.505585f);
float b1 = (-499.843567f);
float2x4 r1 = float2x4(-0.2930254f, -0.117409416f, 0.9066953f, 0.410195976f, -0.96377784f, -0.929248869f, 0.5871107f, 0.3171104f);
TestUtils.AreEqual(r1, a1 / b1);
float2x4 a2 = float2x4(-289.5822f, 203.583435f, 180.9704f, 259.1192f, 460.844727f, 490.956238f, -280.478058f, -320.243866f);
float b2 = (494.1286f);
float2x4 r2 = float2x4(-0.5860463f, 0.412004948f, 0.366241485f, 0.5243963f, 0.932641268f, 0.993579865f, -0.5676216f, -0.64809823f);
TestUtils.AreEqual(r2, a2 / b2);
float2x4 a3 = float2x4(192.41449f, 226.852966f, -192.235687f, 460.9765f, -437.8922f, -413.232727f, 249.471863f, 313.035034f);
float b3 = (264.800842f);
float2x4 r3 = float2x4(0.7266385f, 0.8566928f, -0.7259633f, 1.74084222f, -1.65366626f, -1.56054163f, 0.9421113f, 1.18215275f);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void float2x4_operator_div_scalar_wide()
{
float a0 = (-264.4425f);
float2x4 b0 = float2x4(105.589111f, -142.349091f, -288.9489f, 39.644104f, -363.9914f, -149.718231f, -395.729126f, 258.7187f);
float2x4 r0 = float2x4(-2.50444865f, 1.85770416f, 0.9151877f, -6.670412f, 0.7265076f, 1.7662679f, 0.6682412f, -1.02212369f);
TestUtils.AreEqual(r0, a0 / b0);
float a1 = (-9.66626f);
float2x4 b1 = float2x4(117.725525f, -331.386536f, -509.986023f, 427.896484f, 467.617126f, -407.124634f, 252.690735f, 444.599365f);
float2x4 r1 = float2x4(-0.0821084455f, 0.0291691385f, 0.01895397f, -0.0225901827f, -0.0206713118f, 0.023742754f, -0.0382533222f, -0.0217415057f);
TestUtils.AreEqual(r1, a1 / b1);
float a2 = (-88.31329f);
float2x4 b2 = float2x4(199.955017f, -218.346924f, -13.4171753f, -296.131073f, 0.561340332f, -289.299316f, 196.218323f, 334.733459f);
float2x4 r2 = float2x4(-0.4416658f, 0.4044632f, 6.58210754f, 0.298223674f, -157.32576f, 0.305266172f, -0.4500767f, -0.263831675f);
TestUtils.AreEqual(r2, a2 / b2);
float a3 = (-282.392731f);
float2x4 b3 = float2x4(-479.5036f, -473.439453f, 105.050781f, -287.6313f, 77.29932f, -210.894379f, -184.068237f, -315.148438f);
float2x4 r3 = float2x4(0.5889272f, 0.596470654f, -2.68815446f, 0.981787264f, -3.653237f, 1.33902442f, 1.5341742f, 0.8960626f);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void float2x4_operator_mod_wide_wide()
{
float2x4 a0 = float2x4(-388.8125f, 181.681213f, -167.078735f, 432.820129f, -258.438965f, -170.110809f, 283.3183f, 122.716492f);
float2x4 b0 = float2x4(436.944153f, 58.9400635f, -201.116241f, 279.289368f, -397.079773f, 377.899963f, 174.693848f, -228.176514f);
float2x4 r0 = float2x4(-388.8125f, 4.861023f, -167.078735f, 153.530762f, -258.438965f, -170.110809f, 108.624451f, 122.716492f);
TestUtils.AreEqual(r0, a0 % b0);
float2x4 a1 = float2x4(335.271f, -503.608521f, 191.022522f, 289.742676f, -124.033722f, 259.274f, -274.358459f, -140.030792f);
float2x4 b1 = float2x4(-317.060181f, -417.4801f, -249.975952f, -397.571564f, -358.745453f, -198.15921f, 208.737122f, -12.1194153f);
float2x4 r1 = float2x4(18.2108154f, -86.12842f, 191.022522f, 289.742676f, -124.033722f, 61.1147766f, -65.62134f, -6.717224f);
TestUtils.AreEqual(r1, a1 % b1);
float2x4 a2 = float2x4(324.577576f, -200.513092f, 211.423157f, -51.2722168f, -230.633911f, 99.98938f, 399.18988f, 24.90326f);
float2x4 b2 = float2x4(25.2714233f, -194.1207f, -493.8718f, -312.3017f, -216.980591f, 413.570984f, -436.3944f, 3.491272f);
float2x4 r2 = float2x4(21.3204956f, -6.392395f, 211.423157f, -51.2722168f, -13.65332f, 99.98938f, 399.18988f, 0.464355469f);
TestUtils.AreEqual(r2, a2 % b2);
float2x4 a3 = float2x4(50.92401f, -364.863678f, -252.626617f, -281.2898f, -364.798523f, -329.026245f, 51.6098022f, 41.6478271f);
float2x4 b3 = float2x4(-308.233429f, -441.375061f, 84.60083f, 373.163452f, 67.25275f, -320.333282f, 118.97937f, 44.8239746f);
float2x4 r3 = float2x4(50.92401f, -364.863678f, -83.42496f, -281.2898f, -28.53479f, -8.692963f, 51.6098022f, 41.6478271f);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void float2x4_operator_mod_wide_scalar()
{
float2x4 a0 = float2x4(-244.499634f, -211.8193f, -145.926788f, -304.9182f, 155.479492f, -133.907776f, 281.309631f, -226.535767f);
float b0 = (39.63495f);
float2x4 r0 = float2x4(-6.68994141f, -13.6445618f, -27.0219421f, -27.4735718f, 36.574646f, -15.00293f, 3.86499023f, -28.3610229f);
TestUtils.AreEqual(r0, a0 % b0);
float2x4 a1 = float2x4(335.166138f, 319.4715f, -285.4023f, -355.846863f, 259.378f, -330.871948f, -284.343567f, -102.683441f);
float b1 = (101.706482f);
float2x4 r1 = float2x4(30.0466919f, 14.3520508f, -81.98935f, -50.727417f, 55.9650269f, -25.7525024f, -80.9306f, -0.9769592f);
TestUtils.AreEqual(r1, a1 % b1);
float2x4 a2 = float2x4(-172.141754f, -416.713654f, -339.256653f, 435.2975f, 132.552917f, 226.944092f, -306.1183f, 115.438477f);
float b2 = (206.41687f);
float2x4 r2 = float2x4(-172.141754f, -3.87991333f, -132.839783f, 22.4637451f, 132.552917f, 20.5272217f, -99.701416f, 115.438477f);
TestUtils.AreEqual(r2, a2 % b2);
float2x4 a3 = float2x4(281.882935f, -140.0405f, -462.3235f, -211.6087f, 351.331055f, 321.047f, 346.0852f, -94.4077454f);
float b3 = (-218.347443f);
float2x4 r3 = float2x4(63.5354919f, -140.0405f, -25.6286011f, -211.6087f, 132.983612f, 102.699554f, 127.737762f, -94.4077454f);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void float2x4_operator_mod_scalar_wide()
{
float a0 = (-66.94504f);
float2x4 b0 = float2x4(-249.7761f, -396.073761f, 386.492065f, 168.939453f, -199.418243f, 261.7517f, 16.1274414f, 257.668152f);
float2x4 r0 = float2x4(-66.94504f, -66.94504f, -66.94504f, -66.94504f, -66.94504f, -66.94504f, -2.43527222f, -66.94504f);
TestUtils.AreEqual(r0, a0 % b0);
float a1 = (-75.78845f);
float2x4 b1 = float2x4(170.9563f, -242.858276f, 425.9453f, 303.2724f, 3.033081f, -505.74353f, 461.957031f, 205.972778f);
float2x4 r1 = float2x4(-75.78845f, -75.78845f, -75.78845f, -75.78845f, -2.99450684f, -75.78845f, -75.78845f, -75.78845f);
TestUtils.AreEqual(r1, a1 % b1);
float a2 = (270.040649f);
float2x4 b2 = float2x4(-47.4807129f, -150.254486f, 149.499512f, -220.298035f, 31.1188354f, 400.635681f, 6.23144531f, -39.05075f);
float2x4 r2 = float2x4(32.637085f, 119.786163f, 120.541138f, 49.7426147f, 21.0899658f, 270.040649f, 2.088501f, 35.736145f);
TestUtils.AreEqual(r2, a2 % b2);
float a3 = (-71.9411f);
float2x4 b3 = float2x4(-495.307129f, -86.7196045f, -436.970062f, -472.294739f, -130.008759f, -251.516846f, 281.976379f, 388.86084f);
float2x4 r3 = float2x4(-71.9411f, -71.9411f, -71.9411f, -71.9411f, -71.9411f, -71.9411f, -71.9411f, -71.9411f);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void float2x4_operator_plus()
{
float2x4 a0 = float2x4(-418.829559f, -405.79895f, -34.04178f, 236.999268f, -459.8391f, 210.86145f, 293.742f, -373.015442f);
float2x4 r0 = float2x4(-418.829559f, -405.79895f, -34.04178f, 236.999268f, -459.8391f, 210.86145f, 293.742f, -373.015442f);
TestUtils.AreEqual(r0, +a0);
float2x4 a1 = float2x4(-386.059845f, -418.645264f, 504.474854f, -170.746521f, 439.5594f, -478.7494f, 116.400757f, 421.409668f);
float2x4 r1 = float2x4(-386.059845f, -418.645264f, 504.474854f, -170.746521f, 439.5594f, -478.7494f, 116.400757f, 421.409668f);
TestUtils.AreEqual(r1, +a1);
float2x4 a2 = float2x4(-258.596069f, 124.164368f, 222.172546f, -65.94928f, 239.041809f, 498.449524f, -139.382538f, 279.072937f);
float2x4 r2 = float2x4(-258.596069f, 124.164368f, 222.172546f, -65.94928f, 239.041809f, 498.449524f, -139.382538f, 279.072937f);
TestUtils.AreEqual(r2, +a2);
float2x4 a3 = float2x4(108.775818f, 136.812134f, -236.030029f, -440.308319f, 342.2791f, 102.472229f, -161.454834f, -355.270874f);
float2x4 r3 = float2x4(108.775818f, 136.812134f, -236.030029f, -440.308319f, 342.2791f, 102.472229f, -161.454834f, -355.270874f);
TestUtils.AreEqual(r3, +a3);
}
[TestCompiler]
public static void float2x4_operator_neg()
{
float2x4 a0 = float2x4(148.461731f, -467.122681f, 132.04718f, 183.522644f, 473.701f, -407.9911f, -54.95877f, -382.9898f);
float2x4 r0 = float2x4(-148.461731f, 467.122681f, -132.04718f, -183.522644f, -473.701f, 407.9911f, 54.95877f, 382.9898f);
TestUtils.AreEqual(r0, -a0);
float2x4 a1 = float2x4(-299.093384f, 407.709778f, 168.735474f, 466.441528f, 171.902466f, -280.558319f, -78.857605f, 318.69635f);
float2x4 r1 = float2x4(299.093384f, -407.709778f, -168.735474f, -466.441528f, -171.902466f, 280.558319f, 78.857605f, -318.69635f);
TestUtils.AreEqual(r1, -a1);
float2x4 a2 = float2x4(-39.9154053f, 132.195618f, -505.895264f, 410.380554f, -237.056946f, -137.617828f, -245.349976f, 422.521362f);
float2x4 r2 = float2x4(39.9154053f, -132.195618f, 505.895264f, -410.380554f, 237.056946f, 137.617828f, 245.349976f, -422.521362f);
TestUtils.AreEqual(r2, -a2);
float2x4 a3 = float2x4(-434.57135f, -466.5663f, 426.894531f, 146.649536f, -391.37207f, 423.237732f, 254.297546f, -114.848907f);
float2x4 r3 = float2x4(434.57135f, 466.5663f, -426.894531f, -146.649536f, 391.37207f, -423.237732f, -254.297546f, 114.848907f);
TestUtils.AreEqual(r3, -a3);
}
[TestCompiler]
public static void float2x4_operator_prefix_inc()
{
float2x4 a0 = float2x4(-139.842072f, -56.7436523f, -381.955322f, 509.796326f, -222.896332f, 210.319885f, -392.7315f, -300.1941f);
float2x4 r0 = float2x4(-138.842072f, -55.7436523f, -380.955322f, 510.796326f, -221.896332f, 211.319885f, -391.7315f, -299.1941f);
TestUtils.AreEqual(r0, ++a0);
float2x4 a1 = float2x4(362.212769f, 130.90918f, -450.230164f, 243.546936f, 46.1920166f, -41.4972839f, 299.1855f, 154.356567f);
float2x4 r1 = float2x4(363.212769f, 131.90918f, -449.230164f, 244.546936f, 47.1920166f, -40.4972839f, 300.1855f, 155.356567f);
TestUtils.AreEqual(r1, ++a1);
float2x4 a2 = float2x4(-281.233276f, 92.95776f, 448.602173f, -295.587f, 18.4990845f, -215.711121f, 471.947266f, 257.0766f);
float2x4 r2 = float2x4(-280.233276f, 93.95776f, 449.602173f, -294.587f, 19.4990845f, -214.711121f, 472.947266f, 258.0766f);
TestUtils.AreEqual(r2, ++a2);
float2x4 a3 = float2x4(41.6259155f, 243.004761f, -472.619019f, -125.720215f, -477.459564f, 9.89147949f, -76.92285f, -29.7675781f);
float2x4 r3 = float2x4(42.6259155f, 244.004761f, -471.619019f, -124.720215f, -476.459564f, 10.8914795f, -75.92285f, -28.7675781f);
TestUtils.AreEqual(r3, ++a3);
}
[TestCompiler]
public static void float2x4_operator_postfix_inc()
{
float2x4 a0 = float2x4(-396.669739f, 511.20752f, 249.111267f, -128.817322f, -259.4903f, 278.008179f, -81.39343f, 66.71973f);
float2x4 r0 = float2x4(-396.669739f, 511.20752f, 249.111267f, -128.817322f, -259.4903f, 278.008179f, -81.39343f, 66.71973f);
TestUtils.AreEqual(r0, a0++);
float2x4 a1 = float2x4(167.852112f, -326.1076f, 41.03357f, 128.5304f, 73.15558f, -60.1323853f, -446.229767f, -296.937836f);
float2x4 r1 = float2x4(167.852112f, -326.1076f, 41.03357f, 128.5304f, 73.15558f, -60.1323853f, -446.229767f, -296.937836f);
TestUtils.AreEqual(r1, a1++);
float2x4 a2 = float2x4(267.293823f, 49.2001953f, -326.643127f, -510.864227f, 471.647461f, -171.013092f, 310.727356f, -298.917175f);
float2x4 r2 = float2x4(267.293823f, 49.2001953f, -326.643127f, -510.864227f, 471.647461f, -171.013092f, 310.727356f, -298.917175f);
TestUtils.AreEqual(r2, a2++);
float2x4 a3 = float2x4(489.985f, 290.69104f, 117.192322f, 164.442932f, 412.3678f, -229.386566f, 239.596924f, 36.62433f);
float2x4 r3 = float2x4(489.985f, 290.69104f, 117.192322f, 164.442932f, 412.3678f, -229.386566f, 239.596924f, 36.62433f);
TestUtils.AreEqual(r3, a3++);
}
[TestCompiler]
public static void float2x4_operator_prefix_dec()
{
float2x4 a0 = float2x4(123.128723f, 256.84375f, 156.330811f, 461.737427f, 325.867981f, 392.015625f, 187.874146f, -236.225189f);
float2x4 r0 = float2x4(122.128723f, 255.84375f, 155.330811f, 460.737427f, 324.867981f, 391.015625f, 186.874146f, -237.225189f);
TestUtils.AreEqual(r0, --a0);
float2x4 a1 = float2x4(125.109619f, 45.5366821f, 376.046875f, -363.0755f, -22.0289612f, 248.7901f, 168.095032f, 168.265625f);
float2x4 r1 = float2x4(124.109619f, 44.5366821f, 375.046875f, -364.0755f, -23.0289612f, 247.7901f, 167.095032f, 167.265625f);
TestUtils.AreEqual(r1, --a1);
float2x4 a2 = float2x4(-190.284729f, 183.957947f, 485.6947f, -460.739319f, 89.5698853f, -267.4298f, 201.756226f, -141.216888f);
float2x4 r2 = float2x4(-191.284729f, 182.957947f, 484.6947f, -461.739319f, 88.5698853f, -268.4298f, 200.756226f, -142.216888f);
TestUtils.AreEqual(r2, --a2);
float2x4 a3 = float2x4(-217.4841f, -213.544128f, 180.7406f, -128.3125f, 478.045532f, -454.566132f, -386.898346f, 387.857f);
float2x4 r3 = float2x4(-218.4841f, -214.544128f, 179.7406f, -129.3125f, 477.045532f, -455.566132f, -387.898346f, 386.857f);
TestUtils.AreEqual(r3, --a3);
}
[TestCompiler]
public static void float2x4_operator_postfix_dec()
{
float2x4 a0 = float2x4(379.6883f, 302.692871f, -176.07135f, -291.2527f, 470.567566f, -402.925964f, -63.65515f, 355.2611f);
float2x4 r0 = float2x4(379.6883f, 302.692871f, -176.07135f, -291.2527f, 470.567566f, -402.925964f, -63.65515f, 355.2611f);
TestUtils.AreEqual(r0, a0--);
float2x4 a1 = float2x4(-27.8892212f, 156.14032f, 479.9452f, -200.304291f, -445.026947f, 407.420349f, 327.670349f, 48.06018f);
float2x4 r1 = float2x4(-27.8892212f, 156.14032f, 479.9452f, -200.304291f, -445.026947f, 407.420349f, 327.670349f, 48.06018f);
TestUtils.AreEqual(r1, a1--);
float2x4 a2 = float2x4(-209.667969f, 283.9416f, -94.80209f, 152.510681f, -287.2625f, -215.948029f, -407.046356f, 159.233582f);
float2x4 r2 = float2x4(-209.667969f, 283.9416f, -94.80209f, 152.510681f, -287.2625f, -215.948029f, -407.046356f, 159.233582f);
TestUtils.AreEqual(r2, a2--);
float2x4 a3 = float2x4(-359.456482f, -278.933777f, 289.912842f, 402.039551f, 470.716553f, -208.560608f, 145.896729f, -296.790955f);
float2x4 r3 = float2x4(-359.456482f, -278.933777f, 289.912842f, 402.039551f, 470.716553f, -208.560608f, 145.896729f, -296.790955f);
TestUtils.AreEqual(r3, a3--);
}
}
}

View File

@@ -0,0 +1,943 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using NUnit.Framework;
using static Unity.Mathematics.math;
using Burst.Compiler.IL.Tests;
namespace Unity.Mathematics.Tests
{
[TestFixture]
public class TestFloat3x2
{
[TestCompiler]
public static void float3x2_zero()
{
TestUtils.AreEqual(0.0f, float3x2.zero.c0.x);
TestUtils.AreEqual(0.0f, float3x2.zero.c0.y);
TestUtils.AreEqual(0.0f, float3x2.zero.c0.z);
TestUtils.AreEqual(0.0f, float3x2.zero.c1.x);
TestUtils.AreEqual(0.0f, float3x2.zero.c1.y);
TestUtils.AreEqual(0.0f, float3x2.zero.c1.z);
}
[TestCompiler]
public static void float3x2_operator_equal_wide_wide()
{
float3x2 a0 = float3x2(492.1576f, -495.206329f, 227.457642f, -147.374054f, -222.682f, 64.09375f);
float3x2 b0 = float3x2(192.568787f, -235.611023f, -254.043121f, -412.624725f, 471.9048f, -6.47277832f);
bool3x2 r0 = bool3x2(false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
float3x2 a1 = float3x2(-23.8904114f, -16.8197327f, 163.232117f, -165.271f, 470.8777f, -423.942566f);
float3x2 b1 = float3x2(-339.102356f, 488.187561f, -379.5966f, -308.417f, -82.333374f, -102.921082f);
bool3x2 r1 = bool3x2(false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
float3x2 a2 = float3x2(109.6344f, 462.6903f, -335.38147f, 357.2345f, 1.54559326f, -347.388245f);
float3x2 b2 = float3x2(226.515747f, -356.9013f, -362.912781f, -427.898438f, 466.650146f, -102.799042f);
bool3x2 r2 = bool3x2(false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
float3x2 a3 = float3x2(-114.472168f, 435.848633f, 194.2381f, 138.765564f, -467.349152f, 370.43335f);
float3x2 b3 = float3x2(-43.355957f, 85.0456543f, -91.1270447f, 422.192078f, -477.4313f, 1.87701416f);
bool3x2 r3 = bool3x2(false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void float3x2_operator_equal_wide_scalar()
{
float3x2 a0 = float3x2(-303.230072f, 451.5263f, -253.655884f, -105.203644f, -500.6911f, -426.192474f);
float b0 = (123.544556f);
bool3x2 r0 = bool3x2(false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
float3x2 a1 = float3x2(159.8761f, -57.4773865f, -182.049744f, 406.513733f, 370.886f, -172.035309f);
float b1 = (-59.55838f);
bool3x2 r1 = bool3x2(false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
float3x2 a2 = float3x2(455.400024f, 363.938232f, -27.1505737f, -325.976074f, -290.359039f, 180.196838f);
float b2 = (-11.3389893f);
bool3x2 r2 = bool3x2(false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
float3x2 a3 = float3x2(-374.128326f, -126.546082f, -197.26178f, -227.159332f, -479.8992f, -439.777679f);
float b3 = (-439.358948f);
bool3x2 r3 = bool3x2(false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void float3x2_operator_equal_scalar_wide()
{
float a0 = (-253.397278f);
float3x2 b0 = float3x2(19.95221f, -185.791992f, 407.8136f, -87.2767f, -206.274689f, 160.503113f);
bool3x2 r0 = bool3x2(false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
float a1 = (-274.7708f);
float3x2 b1 = float3x2(-2.63153076f, 448.354553f, -410.035248f, 247.329041f, 355.539124f, -298.0667f);
bool3x2 r1 = bool3x2(false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
float a2 = (414.1015f);
float3x2 b2 = float3x2(-481.3026f, 196.55072f, 34.6010132f, 113.7616f, -386.453369f, -124.49176f);
bool3x2 r2 = bool3x2(false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
float a3 = (243.886658f);
float3x2 b3 = float3x2(-492.6182f, 145.424438f, 421.55072f, -95.40997f, 336.809265f, 209.5838f);
bool3x2 r3 = bool3x2(false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void float3x2_operator_not_equal_wide_wide()
{
float3x2 a0 = float3x2(430.842529f, 104.69f, 225.802429f, -310.5702f, -418.619446f, 304.128174f);
float3x2 b0 = float3x2(210.024719f, -55.20334f, -269.925354f, -234.546722f, 25.91742f, -63.72699f);
bool3x2 r0 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
float3x2 a1 = float3x2(-509.3268f, -160.538086f, -203.301971f, -505.763245f, 162.17218f, 1.156189f);
float3x2 b1 = float3x2(-484.5537f, -425.3336f, -53.2743835f, 328.1944f, 15.9631348f, 461.7141f);
bool3x2 r1 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
float3x2 a2 = float3x2(65.66205f, 102.787781f, 172.930054f, 26.6210327f, 235.125977f, 128.541992f);
float3x2 b2 = float3x2(-113.363037f, -240.072968f, 495.119141f, 203.55835f, 340.493469f, -241.9072f);
bool3x2 r2 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
float3x2 a3 = float3x2(-354.996979f, 334.3595f, -495.832f, 468.307373f, 458.370972f, 299.937317f);
float3x2 b3 = float3x2(459.569824f, 213.07373f, -384.782837f, -255.072327f, 477.663452f, -248.036621f);
bool3x2 r3 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void float3x2_operator_not_equal_wide_scalar()
{
float3x2 a0 = float3x2(-16.9145813f, 168.8341f, -462.713531f, 130.307739f, 214.501587f, -440.263275f);
float b0 = (-145.372772f);
bool3x2 r0 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
float3x2 a1 = float3x2(-197.12796f, -386.611176f, -281.021f, -270.26886f, -403.9637f, -269.805725f);
float b1 = (-169.099854f);
bool3x2 r1 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
float3x2 a2 = float3x2(299.654236f, -432.755737f, -457.363129f, -13.5195923f, 273.873047f, 185.04248f);
float b2 = (-71.7509155f);
bool3x2 r2 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
float3x2 a3 = float3x2(-482.5307f, 511.735f, 230.5075f, 100.27478f, 129.682434f, 321.178772f);
float b3 = (116.395142f);
bool3x2 r3 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void float3x2_operator_not_equal_scalar_wide()
{
float a0 = (275.795837f);
float3x2 b0 = float3x2(-57.1969f, -382.432526f, 97.82037f, -161.463654f, -458.39563f, -499.617859f);
bool3x2 r0 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
float a1 = (327.92218f);
float3x2 b1 = float3x2(367.571228f, 59.786377f, -209.580688f, -62.5804443f, -479.974976f, -49.4945068f);
bool3x2 r1 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
float a2 = (-114.685211f);
float3x2 b2 = float3x2(109.93927f, -176.284821f, -347.4853f, 85.5409546f, -356.659546f, -104.243561f);
bool3x2 r2 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
float a3 = (-133.5492f);
float3x2 b3 = float3x2(243.539734f, 13.1412964f, -379.985962f, -41.28122f, 87.91168f, -339.077271f);
bool3x2 r3 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void float3x2_operator_less_wide_wide()
{
float3x2 a0 = float3x2(196.84259f, 336.4098f, 251.963745f, 257.655945f, 430.0459f, -62.4196472f);
float3x2 b0 = float3x2(-465.345032f, -256.1524f, -314.814026f, 364.5667f, 100.21051f, 182.560974f);
bool3x2 r0 = bool3x2(false, false, false, true, false, true);
TestUtils.AreEqual(r0, a0 < b0);
float3x2 a1 = float3x2(8.839233f, -333.8167f, 164.678833f, -350.9449f, 3.84143066f, 125.409729f);
float3x2 b1 = float3x2(3.11700439f, -259.430481f, -437.3349f, -456.043732f, -394.255981f, 401.9137f);
bool3x2 r1 = bool3x2(false, true, false, false, false, true);
TestUtils.AreEqual(r1, a1 < b1);
float3x2 a2 = float3x2(-111.129944f, 70.00549f, 448.1983f, -419.987122f, -258.301666f, -34.8322144f);
float3x2 b2 = float3x2(313.439148f, 121.286682f, -28.0122986f, -282.965881f, 330.0644f, 124.099365f);
bool3x2 r2 = bool3x2(true, true, false, true, true, true);
TestUtils.AreEqual(r2, a2 < b2);
float3x2 a3 = float3x2(-69.8594055f, 67.76721f, -139.777283f, 385.434631f, 133.7074f, 506.188354f);
float3x2 b3 = float3x2(-183.6903f, 373.0608f, 109.750916f, -203.57135f, 45.64868f, -360.952271f);
bool3x2 r3 = bool3x2(false, true, true, false, false, false);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void float3x2_operator_less_wide_scalar()
{
float3x2 a0 = float3x2(-132.057312f, -192.465f, -66.8345947f, -379.017517f, -360.2824f, 20.9278564f);
float b0 = (-156.010223f);
bool3x2 r0 = bool3x2(false, true, false, true, true, false);
TestUtils.AreEqual(r0, a0 < b0);
float3x2 a1 = float3x2(-158.240753f, -20.4526062f, 225.2915f, 307.4842f, 274.015259f, 373.549683f);
float b1 = (437.3459f);
bool3x2 r1 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 < b1);
float3x2 a2 = float3x2(398.523682f, -58.0108948f, 109.670105f, -108.85318f, -44.9712524f, 140.426086f);
float b2 = (105.030151f);
bool3x2 r2 = bool3x2(false, true, false, true, true, false);
TestUtils.AreEqual(r2, a2 < b2);
float3x2 a3 = float3x2(-500.0883f, -197.500732f, -7.271515f, -432.9905f, 62.1583252f, -72.25473f);
float b3 = (172.103333f);
bool3x2 r3 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void float3x2_operator_less_scalar_wide()
{
float a0 = (-423.1174f);
float3x2 b0 = float3x2(385.094849f, -123.933472f, 86.37659f, 133.4422f, 161.457947f, 229.754272f);
bool3x2 r0 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 < b0);
float a1 = (222.5716f);
float3x2 b1 = float3x2(315.5312f, -447.203522f, 271.833862f, -393.605316f, 317.486877f, -164.6051f);
bool3x2 r1 = bool3x2(true, false, true, false, true, false);
TestUtils.AreEqual(r1, a1 < b1);
float a2 = (-282.876038f);
float3x2 b2 = float3x2(296.979553f, -254.401154f, 365.6156f, -441.984253f, -131.42865f, 442.628967f);
bool3x2 r2 = bool3x2(true, true, true, false, true, true);
TestUtils.AreEqual(r2, a2 < b2);
float a3 = (-29.7928467f);
float3x2 b3 = float3x2(-138.37381f, 9.21698f, -226.73056f, 171.029419f, 376.625244f, -462.5887f);
bool3x2 r3 = bool3x2(false, true, false, true, true, false);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void float3x2_operator_greater_wide_wide()
{
float3x2 a0 = float3x2(483.5014f, 310.8156f, 106.966187f, 295.7353f, 116.957581f, -478.299774f);
float3x2 b0 = float3x2(-471.398f, -371.9853f, 36.9006958f, -316.7636f, 19.6830444f, 207.309143f);
bool3x2 r0 = bool3x2(true, true, true, true, true, false);
TestUtils.AreEqual(r0, a0 > b0);
float3x2 a1 = float3x2(-14.8974f, -33.8174438f, -24.74054f, 319.782654f, -120.158569f, -289.008575f);
float3x2 b1 = float3x2(362.7975f, 324.95343f, 340.948059f, 25.9860229f, -114.211121f, 240.803467f);
bool3x2 r1 = bool3x2(false, false, false, true, false, false);
TestUtils.AreEqual(r1, a1 > b1);
float3x2 a2 = float3x2(455.85144f, 144.706909f, 63.9320068f, -285.683044f, -502.090729f, -337.194458f);
float3x2 b2 = float3x2(273.422424f, 325.515747f, 27.3410645f, 64.47955f, 200.948364f, 100.122681f);
bool3x2 r2 = bool3x2(true, false, true, false, false, false);
TestUtils.AreEqual(r2, a2 > b2);
float3x2 a3 = float3x2(474.317322f, -507.1451f, -133.565582f, -443.109131f, -464.34137f, -68.36154f);
float3x2 b3 = float3x2(-79.00711f, -315.137939f, -122.985443f, -163.7792f, -492.566f, -90.79727f);
bool3x2 r3 = bool3x2(true, false, false, false, true, true);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void float3x2_operator_greater_wide_scalar()
{
float3x2 a0 = float3x2(64.31793f, -397.703461f, 431.8769f, 85.703f, 246.263062f, 197.491577f);
float b0 = (305.859924f);
bool3x2 r0 = bool3x2(false, false, true, false, false, false);
TestUtils.AreEqual(r0, a0 > b0);
float3x2 a1 = float3x2(286.199463f, -405.7846f, 171.565369f, -241.807281f, 333.5782f, 370.279175f);
float b1 = (280.813354f);
bool3x2 r1 = bool3x2(true, false, false, false, true, true);
TestUtils.AreEqual(r1, a1 > b1);
float3x2 a2 = float3x2(-413.7014f, -353.0313f, 396.645325f, 467.222046f, -240.013428f, 502.915039f);
float b2 = (-356.592346f);
bool3x2 r2 = bool3x2(false, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 > b2);
float3x2 a3 = float3x2(315.4676f, 281.230652f, 428.792175f, 245.153076f, -279.1754f, -453.8631f);
float b3 = (-259.2897f);
bool3x2 r3 = bool3x2(true, true, true, true, false, false);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void float3x2_operator_greater_scalar_wide()
{
float a0 = (-282.6705f);
float3x2 b0 = float3x2(358.099976f, -72.596405f, -232.163788f, -60.7067261f, 75.15662f, 150.883484f);
bool3x2 r0 = bool3x2(false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 > b0);
float a1 = (339.539185f);
float3x2 b1 = float3x2(-498.196045f, 459.7461f, -227.968719f, 335.862122f, 76.17883f, 296.859924f);
bool3x2 r1 = bool3x2(true, false, true, true, true, true);
TestUtils.AreEqual(r1, a1 > b1);
float a2 = (177.48999f);
float3x2 b2 = float3x2(-281.2012f, 244.722839f, 137.328552f, -385.338257f, 443.163452f, -353.562561f);
bool3x2 r2 = bool3x2(true, false, true, true, false, true);
TestUtils.AreEqual(r2, a2 > b2);
float a3 = (26.04065f);
float3x2 b3 = float3x2(-331.793945f, -43.6919556f, 20.9494019f, -211.17984f, 227.421692f, -84.7797852f);
bool3x2 r3 = bool3x2(true, true, true, true, false, true);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void float3x2_operator_less_equal_wide_wide()
{
float3x2 a0 = float3x2(-438.523132f, 210.489441f, 4.87731934f, -137.297943f, 156.094116f, -363.924133f);
float3x2 b0 = float3x2(-474.814148f, 304.371033f, 234.824158f, -390.485443f, -297.175354f, -326.2924f);
bool3x2 r0 = bool3x2(false, true, true, false, false, true);
TestUtils.AreEqual(r0, a0 <= b0);
float3x2 a1 = float3x2(-97.94849f, 437.2954f, 458.530273f, -294.064758f, 23.62262f, -34.2840576f);
float3x2 b1 = float3x2(107.253906f, -413.131073f, 67.09442f, 470.075256f, -84.499115f, 392.784241f);
bool3x2 r1 = bool3x2(true, false, false, true, false, true);
TestUtils.AreEqual(r1, a1 <= b1);
float3x2 a2 = float3x2(149.736511f, -418.8867f, -197.502533f, -88.2055054f, -376.71814f, 341.627136f);
float3x2 b2 = float3x2(-263.531738f, 369.3009f, -333.3253f, 238.413452f, 486.2426f, 279.6502f);
bool3x2 r2 = bool3x2(false, true, false, true, true, false);
TestUtils.AreEqual(r2, a2 <= b2);
float3x2 a3 = float3x2(-83.30917f, -107.490723f, 319.466858f, 205.357361f, 345.563721f, 395.3219f);
float3x2 b3 = float3x2(236.052f, 132.758972f, 66.29474f, 183.002136f, 200.130554f, 339.043823f);
bool3x2 r3 = bool3x2(true, true, false, false, false, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void float3x2_operator_less_equal_wide_scalar()
{
float3x2 a0 = float3x2(193.49585f, 168.915527f, -313.993073f, 81.8269653f, 18.5036011f, -0.3581848f);
float b0 = (443.850525f);
bool3x2 r0 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 <= b0);
float3x2 a1 = float3x2(241.361145f, -1.35775757f, -268.899475f, 398.991943f, -471.253082f, -264.9378f);
float b1 = (-463.8164f);
bool3x2 r1 = bool3x2(false, false, false, false, true, false);
TestUtils.AreEqual(r1, a1 <= b1);
float3x2 a2 = float3x2(82.2583f, 424.704041f, 426.482239f, 56.3200073f, -196.2879f, 31.9011841f);
float b2 = (11.2460327f);
bool3x2 r2 = bool3x2(false, false, false, false, true, false);
TestUtils.AreEqual(r2, a2 <= b2);
float3x2 a3 = float3x2(-152.257568f, -37.1048279f, -47.1442261f, 333.623047f, -274.8039f, 358.67627f);
float b3 = (-437.926453f);
bool3x2 r3 = bool3x2(false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void float3x2_operator_less_equal_scalar_wide()
{
float a0 = (393.606262f);
float3x2 b0 = float3x2(-75.6883545f, -44.2638855f, 125.864929f, 191.9649f, 13.54303f, -197.051941f);
bool3x2 r0 = bool3x2(false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 <= b0);
float a1 = (-423.9451f);
float3x2 b1 = float3x2(-330.0486f, 420.165527f, 105.5473f, 174.821289f, 296.7176f, -469.7004f);
bool3x2 r1 = bool3x2(true, true, true, true, true, false);
TestUtils.AreEqual(r1, a1 <= b1);
float a2 = (123.267212f);
float3x2 b2 = float3x2(112.996948f, 495.143372f, -488.6579f, 388.539429f, -493.240784f, 16.45105f);
bool3x2 r2 = bool3x2(false, true, false, true, false, false);
TestUtils.AreEqual(r2, a2 <= b2);
float a3 = (-387.651642f);
float3x2 b3 = float3x2(-229.1773f, -373.01532f, -391.142151f, 90.99414f, -178.396149f, -69.62106f);
bool3x2 r3 = bool3x2(true, true, false, true, true, true);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void float3x2_operator_greater_equal_wide_wide()
{
float3x2 a0 = float3x2(-507.9286f, 504.4975f, -385.4345f, -262.323425f, -37.5509338f, -111.595276f);
float3x2 b0 = float3x2(-81.3465f, 297.666138f, 171.06543f, -431.038055f, -6.85907f, 319.7257f);
bool3x2 r0 = bool3x2(false, true, false, true, false, false);
TestUtils.AreEqual(r0, a0 >= b0);
float3x2 a1 = float3x2(-463.702026f, 387.448853f, 456.9688f, -211.010162f, 182.411377f, -53.59604f);
float3x2 b1 = float3x2(254.079163f, 396.5724f, 178.8393f, -447.063354f, 288.492676f, 474.889282f);
bool3x2 r1 = bool3x2(false, false, true, true, false, false);
TestUtils.AreEqual(r1, a1 >= b1);
float3x2 a2 = float3x2(-309.570221f, -136.022491f, 280.736267f, -96.99588f, -174.059509f, 88.90192f);
float3x2 b2 = float3x2(-321.750244f, -395.977234f, -158.692474f, 391.4887f, -368.109253f, 89.12378f);
bool3x2 r2 = bool3x2(true, true, true, false, true, false);
TestUtils.AreEqual(r2, a2 >= b2);
float3x2 a3 = float3x2(43.81604f, -446.07843f, 16.6455688f, 409.83252f, -191.329865f, 222.9978f);
float3x2 b3 = float3x2(-510.279327f, -486.9298f, -81.2155457f, 274.2188f, -212.881561f, 288.9953f);
bool3x2 r3 = bool3x2(true, true, true, true, true, false);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void float3x2_operator_greater_equal_wide_scalar()
{
float3x2 a0 = float3x2(465.152161f, -424.886078f, -209.2211f, 58.7798462f, -302.2691f, 140.12561f);
float b0 = (-5.599884f);
bool3x2 r0 = bool3x2(true, false, false, true, false, true);
TestUtils.AreEqual(r0, a0 >= b0);
float3x2 a1 = float3x2(16.3533936f, 393.278076f, -315.701538f, 441.011536f, -509.781555f, -36.9942932f);
float b1 = (-344.559967f);
bool3x2 r1 = bool3x2(true, true, true, true, false, true);
TestUtils.AreEqual(r1, a1 >= b1);
float3x2 a2 = float3x2(494.8203f, -466.1201f, -123.813751f, 215.651245f, 104.995728f, 314.346f);
float b2 = (-164.973938f);
bool3x2 r2 = bool3x2(true, false, true, true, true, true);
TestUtils.AreEqual(r2, a2 >= b2);
float3x2 a3 = float3x2(190.516113f, -23.8364258f, 143.049377f, -264.919983f, -169.702209f, 329.70752f);
float b3 = (-83.11142f);
bool3x2 r3 = bool3x2(true, true, true, false, false, true);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void float3x2_operator_greater_equal_scalar_wide()
{
float a0 = (374.827026f);
float3x2 b0 = float3x2(-1.60977173f, 338.615234f, -116.1814f, -332.157318f, -355.97937f, -468.901428f);
bool3x2 r0 = bool3x2(true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 >= b0);
float a1 = (38.579895f);
float3x2 b1 = float3x2(-332.347534f, 2.89013672f, 467.777771f, 121.406372f, -305.023376f, -58.4288025f);
bool3x2 r1 = bool3x2(true, true, false, false, true, true);
TestUtils.AreEqual(r1, a1 >= b1);
float a2 = (-226.519562f);
float3x2 b2 = float3x2(-47.0209961f, 305.302673f, -427.401245f, 92.26367f, -497.178528f, -408.625641f);
bool3x2 r2 = bool3x2(false, false, true, false, true, true);
TestUtils.AreEqual(r2, a2 >= b2);
float a3 = (-455.2305f);
float3x2 b3 = float3x2(396.4261f, -469.2949f, -485.754028f, -182.346191f, -291.545349f, 278.740784f);
bool3x2 r3 = bool3x2(false, true, true, false, false, false);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void float3x2_operator_add_wide_wide()
{
float3x2 a0 = float3x2(506.129028f, -501.779816f, 420.084778f, -186.032074f, -9.312408f, 328.51178f);
float3x2 b0 = float3x2(-28.7579956f, -337.135132f, -340.676819f, 152.312012f, 423.66748f, 90.3740845f);
float3x2 r0 = float3x2(477.371033f, -838.9149f, 79.40796f, -33.7200623f, 414.355072f, 418.885864f);
TestUtils.AreEqual(r0, a0 + b0);
float3x2 a1 = float3x2(424.344055f, 87.79108f, 462.4137f, -46.17871f, 401.170044f, -454.124146f);
float3x2 b1 = float3x2(376.18866f, 1.76721191f, -120.185852f, -279.629364f, -344.6671f, 242.839172f);
float3x2 r1 = float3x2(800.5327f, 89.55829f, 342.227844f, -325.808075f, 56.50293f, -211.284973f);
TestUtils.AreEqual(r1, a1 + b1);
float3x2 a2 = float3x2(69.19568f, -177.957336f, 299.604126f, 340.704834f, 219.916016f, -321.9084f);
float3x2 b2 = float3x2(418.593079f, -23.3128052f, -95.0999451f, 147.9281f, 331.0329f, -82.50256f);
float3x2 r2 = float3x2(487.788757f, -201.270142f, 204.504181f, 488.632935f, 550.9489f, -404.41095f);
TestUtils.AreEqual(r2, a2 + b2);
float3x2 a3 = float3x2(286.355347f, -333.4195f, -118.932159f, 68.60748f, 23.190918f, -205.577881f);
float3x2 b3 = float3x2(279.4496f, 342.622742f, -300.358521f, -209.694092f, 446.559448f, -351.9892f);
float3x2 r3 = float3x2(565.804932f, 9.203247f, -419.29068f, -141.086609f, 469.750366f, -557.5671f);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void float3x2_operator_add_wide_scalar()
{
float3x2 a0 = float3x2(-194.514191f, 338.5484f, 246.971375f, 100.510925f, -45.72467f, -478.1113f);
float b0 = (124.121704f);
float3x2 r0 = float3x2(-70.39249f, 462.6701f, 371.093079f, 224.632629f, 78.39703f, -353.9896f);
TestUtils.AreEqual(r0, a0 + b0);
float3x2 a1 = float3x2(30.9161377f, -242.118744f, 82.50134f, 6.79937744f, -484.6998f, -188.265015f);
float b1 = (60.37433f);
float3x2 r1 = float3x2(91.29047f, -181.744415f, 142.875671f, 67.1737061f, -424.32547f, -127.890686f);
TestUtils.AreEqual(r1, a1 + b1);
float3x2 a2 = float3x2(-213.526733f, 189.259949f, 198.533569f, 187.536072f, -424.925659f, 302.102356f);
float b2 = (-267.7843f);
float3x2 r2 = float3x2(-481.311035f, -78.52435f, -69.25073f, -80.24823f, -692.709961f, 34.3180542f);
TestUtils.AreEqual(r2, a2 + b2);
float3x2 a3 = float3x2(300.3991f, -200.161346f, 31.3782349f, 362.522156f, -423.988861f, 432.41333f);
float b3 = (124.021606f);
float3x2 r3 = float3x2(424.420715f, -76.13974f, 155.399841f, 486.543762f, -299.967255f, 556.434937f);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void float3x2_operator_add_scalar_wide()
{
float a0 = (-340.354675f);
float3x2 b0 = float3x2(511.362244f, -146.216644f, -106.210419f, -363.450256f, 199.0896f, -27.1083984f);
float3x2 r0 = float3x2(171.007568f, -486.57132f, -446.5651f, -703.804932f, -141.265076f, -367.463074f);
TestUtils.AreEqual(r0, a0 + b0);
float a1 = (419.849f);
float3x2 b1 = float3x2(284.955017f, -164.9242f, -249.190338f, 150.928162f, 298.1751f, -457.1534f);
float3x2 r1 = float3x2(704.804f, 254.9248f, 170.658661f, 570.777161f, 718.0241f, -37.3044128f);
TestUtils.AreEqual(r1, a1 + b1);
float a2 = (424.718079f);
float3x2 b2 = float3x2(-301.857483f, 230.288879f, -423.5876f, -67.06003f, 68.72412f, -164.02243f);
float3x2 r2 = float3x2(122.860596f, 655.006958f, 1.13049316f, 357.658051f, 493.4422f, 260.695648f);
TestUtils.AreEqual(r2, a2 + b2);
float a3 = (318.935181f);
float3x2 b3 = float3x2(7.80456543f, 187.698364f, -3.656952f, -446.083069f, -209.287231f, -38.21289f);
float3x2 r3 = float3x2(326.739746f, 506.633545f, 315.278229f, -127.147888f, 109.647949f, 280.7223f);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void float3x2_operator_sub_wide_wide()
{
float3x2 a0 = float3x2(160.492249f, 11.223938f, 359.200134f, -498.2283f, -355.253632f, -94.53485f);
float3x2 b0 = float3x2(115.46875f, -130.9823f, 241.540833f, 9.987061f, 419.895142f, 59.12445f);
float3x2 r0 = float3x2(45.0235f, 142.206238f, 117.6593f, -508.215363f, -775.1488f, -153.6593f);
TestUtils.AreEqual(r0, a0 - b0);
float3x2 a1 = float3x2(-410.46405f, -401.384644f, 317.706848f, 447.060425f, -489.074158f, -230.008392f);
float3x2 b1 = float3x2(-402.381653f, -75.37015f, 320.9796f, -73.90875f, -31.4447327f, -389.251953f);
float3x2 r1 = float3x2(-8.082397f, -326.0145f, -3.272766f, 520.9692f, -457.629425f, 159.243561f);
TestUtils.AreEqual(r1, a1 - b1);
float3x2 a2 = float3x2(24.8754272f, 366.614441f, -107.374146f, -219.008148f, 473.9076f, 259.63623f);
float3x2 b2 = float3x2(-375.028839f, 259.182739f, 276.648682f, -453.0692f, -272.576538f, -191.148041f);
float3x2 r2 = float3x2(399.904266f, 107.4317f, -384.022827f, 234.061066f, 746.484131f, 450.784271f);
TestUtils.AreEqual(r2, a2 - b2);
float3x2 a3 = float3x2(-360.119629f, 7.80963135f, 437.428467f, -59.1991577f, 418.744324f, 183.142151f);
float3x2 b3 = float3x2(87.1369f, 430.02478f, 343.6571f, 121.029419f, -354.188171f, 249.052f);
float3x2 r3 = float3x2(-447.256531f, -422.215149f, 93.77136f, -180.228577f, 772.9325f, -65.90985f);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void float3x2_operator_sub_wide_scalar()
{
float3x2 a0 = float3x2(207.389587f, 248.457764f, -384.8239f, -205.344757f, -374.811554f, 191.642029f);
float b0 = (-36.1124878f);
float3x2 r0 = float3x2(243.502075f, 284.570251f, -348.711426f, -169.232269f, -338.699066f, 227.754517f);
TestUtils.AreEqual(r0, a0 - b0);
float3x2 a1 = float3x2(18.8562622f, 480.857971f, 16.3381958f, -366.865448f, -35.5231f, 349.397766f);
float b1 = (-44.96161f);
float3x2 r1 = float3x2(63.81787f, 525.8196f, 61.2998047f, -321.903839f, 9.438507f, 394.359375f);
TestUtils.AreEqual(r1, a1 - b1);
float3x2 a2 = float3x2(439.077271f, 195.024048f, -384.849426f, 189.05188f, 55.6027832f, -54.931488f);
float b2 = (490.2223f);
float3x2 r2 = float3x2(-51.14502f, -295.198242f, -875.0717f, -301.1704f, -434.6195f, -545.1538f);
TestUtils.AreEqual(r2, a2 - b2);
float3x2 a3 = float3x2(53.0880737f, -273.8067f, 256.8872f, 297.173645f, 101.829041f, 136.607971f);
float b3 = (316.8025f);
float3x2 r3 = float3x2(-263.714417f, -590.6092f, -59.9152832f, -19.6288452f, -214.97345f, -180.194519f);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void float3x2_operator_sub_scalar_wide()
{
float a0 = (-86.00824f);
float3x2 b0 = float3x2(466.4251f, 298.486938f, -300.9501f, 315.38f, -381.092163f, -125.008362f);
float3x2 r0 = float3x2(-552.43335f, -384.495178f, 214.941864f, -401.388245f, 295.083923f, 39.0001221f);
TestUtils.AreEqual(r0, a0 - b0);
float a1 = (58.4661865f);
float3x2 b1 = float3x2(214.7461f, -257.549438f, 480.2246f, -443.355072f, 260.795044f, 29.6819458f);
float3x2 r1 = float3x2(-156.2799f, 316.015625f, -421.758423f, 501.821259f, -202.328857f, 28.78424f);
TestUtils.AreEqual(r1, a1 - b1);
float a2 = (139.857727f);
float3x2 b2 = float3x2(-247.789948f, -248.466217f, 91.44513f, 86.3841553f, 373.8183f, 260.411926f);
float3x2 r2 = float3x2(387.647675f, 388.323944f, 48.4125977f, 53.47357f, -233.960571f, -120.5542f);
TestUtils.AreEqual(r2, a2 - b2);
float a3 = (114.353943f);
float3x2 b3 = float3x2(-464.405457f, -109.741455f, -311.675354f, 107.864014f, -258.795166f, 14.0975342f);
float3x2 r3 = float3x2(578.7594f, 224.0954f, 426.0293f, 6.489929f, 373.1491f, 100.256409f);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void float3x2_operator_mul_wide_wide()
{
float3x2 a0 = float3x2(-482.7138f, -407.2935f, 137.700562f, 208.541138f, 194.29657f, -484.242432f);
float3x2 b0 = float3x2(-236.367889f, 260.7276f, -416.3863f, -364.4956f, -253.147522f, -369.202881f);
float3x2 r0 = float3x2(114098.047f, -106192.656f, -57336.625f, -76012.33f, -49185.6953f, 178783.7f);
TestUtils.AreEqual(r0, a0 * b0);
float3x2 a1 = float3x2(183.9873f, -241.33548f, 45.8687744f, 363.3261f, -328.118958f, -471.023071f);
float3x2 b1 = float3x2(193.547913f, 169.0849f, 201.969666f, 249.456055f, -308.193176f, -385.579651f);
float3x2 r1 = float3x2(35610.36f, -40806.1836f, 9264.101f, 90633.9f, 101124.023f, 181616.9f);
TestUtils.AreEqual(r1, a1 * b1);
float3x2 a2 = float3x2(-262.682556f, -379.262756f, -374.090576f, 481.4474f, 104.628052f, 412.935425f);
float3x2 b2 = float3x2(-183.2796f, 22.2756348f, -265.521423f, -95.67746f, 133.2544f, 148.311462f);
float3x2 r2 = float3x2(48144.3555f, -8448.318f, 99329.06f, -46063.6641f, 13942.1475f, 61243.06f);
TestUtils.AreEqual(r2, a2 * b2);
float3x2 a3 = float3x2(477.877258f, 20.3778076f, 291.995972f, -138.488312f, -393.464966f, 9.363098f);
float3x2 b3 = float3x2(249.284119f, 500.0055f, -19.3315735f, -36.69107f, 30.5238037f, -401.367f);
float3x2 r3 = float3x2(119127.211f, 10189.0156f, -5644.7417f, 5081.284f, -12010.0479f, -3758.03857f);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void float3x2_operator_mul_wide_scalar()
{
float3x2 a0 = float3x2(-96.31882f, -277.142273f, -239.93689f, 509.531433f, 255.8581f, 215.7315f);
float b0 = (-301.2072f);
float3x2 r0 = float3x2(29011.9219f, 83477.25f, 72270.72f, -153474.547f, -77066.3047f, -64979.8867f);
TestUtils.AreEqual(r0, a0 * b0);
float3x2 a1 = float3x2(-455.50827f, -338.29248f, 53.7962646f, 243.757324f, 135.354675f, -207.3501f);
float b1 = (-389.2433f);
float3x2 r1 = float3x2(177303.531f, 131678.078f, -20939.834f, -94880.9f, -52685.9f, 80709.63f);
TestUtils.AreEqual(r1, a1 * b1);
float3x2 a2 = float3x2(-383.9396f, 42.6761475f, 260.38385f, 176.867554f, 25.67212f, -290.5006f);
float b2 = (-31.4252319f);
float3x2 r2 = float3x2(12065.3916f, -1341.10779f, -8182.623f, -5558.104f, -806.7523f, 9129.049f);
TestUtils.AreEqual(r2, a2 * b2);
float3x2 a3 = float3x2(207.091f, -208.402008f, 370.945068f, -341.59845f, 10.2703247f, -176.888763f);
float b3 = (-156.523315f);
float3x2 r3 = float3x2(-32414.57f, 32619.7734f, -58061.55f, 53468.12f, -1607.54529f, 27687.2148f);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void float3x2_operator_mul_scalar_wide()
{
float a0 = (37.43219f);
float3x2 b0 = float3x2(96.74756f, 492.185364f, -274.054565f, -452.870972f, 420.853333f, 102.182922f);
float3x2 r0 = float3x2(3621.473f, 18423.5762f, -10258.4629f, -16951.9531f, 15753.4619f, 3824.93066f);
TestUtils.AreEqual(r0, a0 * b0);
float a1 = (-114.948883f);
float3x2 b1 = float3x2(-351.120056f, -464.664978f, 444.084839f, 447.1053f, 130.829346f, -321.41333f);
float3x2 r1 = float3x2(40360.86f, 53412.72f, -51047.0547f, -51394.2539f, -15038.6875f, 36946.1f);
TestUtils.AreEqual(r1, a1 * b1);
float a2 = (445.301331f);
float3x2 b2 = float3x2(478.2436f, 358.571716f, -144.8901f, -438.893829f, -3.536438f, -471.807556f);
float3x2 r2 = float3x2(212962.5f, 159672.469f, -64519.7578f, -195440f, -1574.78052f, -210096.531f);
TestUtils.AreEqual(r2, a2 * b2);
float a3 = (-42.5603943f);
float3x2 b3 = float3x2(119.911072f, 271.900024f, 239.684021f, 487.4414f, -79.18829f, -112.925659f);
float3x2 r3 = float3x2(-5103.4624f, -11572.1719f, -10201.0469f, -20745.7f, 3370.285f, 4806.16064f);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void float3x2_operator_div_wide_wide()
{
float3x2 a0 = float3x2(-353.131439f, -102.799866f, 51.3191528f, -191.871674f, 8.041809f, -128.73764f);
float3x2 b0 = float3x2(-178.739563f, -302.096283f, -199.405823f, 278.850769f, 502.3376f, -361.484833f);
float3x2 r0 = float3x2(1.97567582f, 0.34028843f, -0.257360339f, -0.688080132f, 0.0160087738f, 0.356135666f);
TestUtils.AreEqual(r0, a0 / b0);
float3x2 a1 = float3x2(-136.0596f, -370.471f, -237.69455f, -432.546875f, 200.2655f, 361.4416f);
float3x2 b1 = float3x2(353.121033f, -38.894928f, -75.76474f, -195.217834f, -405.034f, -394.23f);
float3x2 r1 = float3x2(-0.385305852f, 9.524919f, 3.1372714f, 2.215714f, -0.4944412f, -0.9168292f);
TestUtils.AreEqual(r1, a1 / b1);
float3x2 a2 = float3x2(-416.226135f, -450.0192f, -273.497437f, -286.908173f, -314.256042f, 177.762085f);
float3x2 b2 = float3x2(-375.8277f, -121.245483f, 447.623352f, 338.286255f, -405.5442f, -431.168945f);
float3x2 r2 = float3x2(1.107492f, 3.71163678f, -0.610999048f, -0.8481225f, 0.7748996f, -0.412279427f);
TestUtils.AreEqual(r2, a2 / b2);
float3x2 a3 = float3x2(97.6270142f, -68.10727f, -386.450745f, 263.699341f, -297.0271f, -501.777039f);
float3x2 b3 = float3x2(296.205139f, 437.939819f, 39.2106323f, 331.289734f, -310.619568f, 207.26947f);
float3x2 r3 = float3x2(0.3295926f, -0.155517414f, -9.855764f, 0.795978f, 0.9562408f, -2.42089224f);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void float3x2_operator_div_wide_scalar()
{
float3x2 a0 = float3x2(171.3424f, 0.103393555f, 57.8882446f, -256.130737f, 95.66968f, -290.3869f);
float b0 = (171.796814f);
float3x2 r0 = float3x2(0.997355f, 0.000601836247f, 0.3369576f, -1.49089336f, 0.5568769f, -1.69029272f);
TestUtils.AreEqual(r0, a0 / b0);
float3x2 a1 = float3x2(-127.4487f, 146.466858f, -499.843567f, 58.68634f, -453.2058f, -205.033813f);
float b1 = (-79.7449f);
float3x2 r1 = float3x2(1.598205f, -1.83669245f, 6.2680316f, -0.7359259f, 5.68319464f, 2.57112122f);
TestUtils.AreEqual(r1, a1 / b1);
float3x2 a2 = float3x2(481.738159f, -293.4635f, -158.505585f, -289.5822f, 494.1286f, 203.583435f);
float b2 = (464.479065f);
float3x2 r2 = float3x2(1.037158f, -0.6318121f, -0.341254532f, -0.6234559f, 1.063834f, 0.438304871f);
TestUtils.AreEqual(r2, a2 / b2);
float3x2 a3 = float3x2(180.9704f, 460.844727f, 490.956238f, -280.478058f, -320.243866f, 192.41449f);
float b3 = (259.1192f);
float3x2 r3 = float3x2(0.698406f, 1.77850473f, 1.89471185f, -1.08242869f, -1.235894f, 0.742571354f);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void float3x2_operator_div_scalar_wide()
{
float a0 = (-264.4425f);
float3x2 b0 = float3x2(105.589111f, -142.349091f, -288.9489f, 39.644104f, -363.9914f, -149.718231f);
float3x2 r0 = float3x2(-2.50444865f, 1.85770416f, 0.9151877f, -6.670412f, 0.7265076f, 1.7662679f);
TestUtils.AreEqual(r0, a0 / b0);
float a1 = (-395.729126f);
float3x2 b1 = float3x2(258.7187f, -9.66626f, 117.725525f, -331.386536f, -509.986023f, 427.896484f);
float3x2 r1 = float3x2(-1.529573f, 40.93922f, -3.36145568f, 1.19416177f, 0.775960743f, -0.9248244f);
TestUtils.AreEqual(r1, a1 / b1);
float a2 = (467.617126f);
float3x2 b2 = float3x2(-407.124634f, 252.690735f, 444.599365f, -88.31329f, 199.955017f, -218.346924f);
float3x2 r2 = float3x2(-1.14858472f, 1.85055113f, 1.05177188f, -5.29498f, 2.3386116f, -2.14162445f);
TestUtils.AreEqual(r2, a2 / b2);
float a3 = (-13.4171753f);
float3x2 b3 = float3x2(-296.131073f, 0.561340332f, -289.299316f, 196.218323f, 334.733459f, -282.392731f);
float3x2 r3 = float3x2(0.0453082323f, -23.9020329f, 0.0463781767f, -0.0683788061f, -0.0400831625f, 0.047512468f);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void float3x2_operator_mod_wide_wide()
{
float3x2 a0 = float3x2(-388.8125f, 181.681213f, -167.078735f, 432.820129f, -258.438965f, -170.110809f);
float3x2 b0 = float3x2(436.944153f, 58.9400635f, -201.116241f, 279.289368f, -397.079773f, 377.899963f);
float3x2 r0 = float3x2(-388.8125f, 4.861023f, -167.078735f, 153.530762f, -258.438965f, -170.110809f);
TestUtils.AreEqual(r0, a0 % b0);
float3x2 a1 = float3x2(283.3183f, 122.716492f, 335.271f, -503.608521f, 191.022522f, 289.742676f);
float3x2 b1 = float3x2(174.693848f, -228.176514f, -317.060181f, -417.4801f, -249.975952f, -397.571564f);
float3x2 r1 = float3x2(108.624451f, 122.716492f, 18.2108154f, -86.12842f, 191.022522f, 289.742676f);
TestUtils.AreEqual(r1, a1 % b1);
float3x2 a2 = float3x2(-124.033722f, 259.274f, -274.358459f, -140.030792f, 324.577576f, -200.513092f);
float3x2 b2 = float3x2(-358.745453f, -198.15921f, 208.737122f, -12.1194153f, 25.2714233f, -194.1207f);
float3x2 r2 = float3x2(-124.033722f, 61.1147766f, -65.62134f, -6.717224f, 21.3204956f, -6.392395f);
TestUtils.AreEqual(r2, a2 % b2);
float3x2 a3 = float3x2(211.423157f, -51.2722168f, -230.633911f, 99.98938f, 399.18988f, 24.90326f);
float3x2 b3 = float3x2(-493.8718f, -312.3017f, -216.980591f, 413.570984f, -436.3944f, 3.491272f);
float3x2 r3 = float3x2(211.423157f, -51.2722168f, -13.65332f, 99.98938f, 399.18988f, 0.464355469f);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void float3x2_operator_mod_wide_scalar()
{
float3x2 a0 = float3x2(-244.499634f, -211.8193f, -145.926788f, -304.9182f, 155.479492f, -133.907776f);
float b0 = (39.63495f);
float3x2 r0 = float3x2(-6.68994141f, -13.6445618f, -27.0219421f, -27.4735718f, 36.574646f, -15.00293f);
TestUtils.AreEqual(r0, a0 % b0);
float3x2 a1 = float3x2(281.309631f, 335.166138f, 101.706482f, 319.4715f, -285.4023f, -355.846863f);
float b1 = (-226.535767f);
float3x2 r1 = float3x2(54.7738647f, 108.630371f, 101.706482f, 92.93573f, -58.8665466f, -129.3111f);
TestUtils.AreEqual(r1, a1 % b1);
float3x2 a2 = float3x2(259.378f, -284.343567f, -102.683441f, -172.141754f, 206.41687f, -416.713654f);
float b2 = (-330.871948f);
float3x2 r2 = float3x2(259.378f, -284.343567f, -102.683441f, -172.141754f, 206.41687f, -85.8417053f);
TestUtils.AreEqual(r2, a2 % b2);
float3x2 a3 = float3x2(-339.256653f, 132.552917f, 226.944092f, -306.1183f, 115.438477f, 281.882935f);
float b3 = (435.2975f);
float3x2 r3 = float3x2(-339.256653f, 132.552917f, 226.944092f, -306.1183f, 115.438477f, 281.882935f);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void float3x2_operator_mod_scalar_wide()
{
float a0 = (-66.94504f);
float3x2 b0 = float3x2(-249.7761f, -396.073761f, 386.492065f, 168.939453f, -199.418243f, 261.7517f);
float3x2 r0 = float3x2(-66.94504f, -66.94504f, -66.94504f, -66.94504f, -66.94504f, -66.94504f);
TestUtils.AreEqual(r0, a0 % b0);
float a1 = (16.1274414f);
float3x2 b1 = float3x2(257.668152f, -75.78845f, 170.9563f, -242.858276f, 425.9453f, 303.2724f);
float3x2 r1 = float3x2(16.1274414f, 16.1274414f, 16.1274414f, 16.1274414f, 16.1274414f, 16.1274414f);
TestUtils.AreEqual(r1, a1 % b1);
float a2 = (3.033081f);
float3x2 b2 = float3x2(-505.74353f, 461.957031f, 205.972778f, 270.040649f, -47.4807129f, -150.254486f);
float3x2 r2 = float3x2(3.033081f, 3.033081f, 3.033081f, 3.033081f, 3.033081f, 3.033081f);
TestUtils.AreEqual(r2, a2 % b2);
float a3 = (149.499512f);
float3x2 b3 = float3x2(-220.298035f, 31.1188354f, 400.635681f, 6.23144531f, -39.05075f, -71.9411f);
float3x2 r3 = float3x2(149.499512f, 25.02417f, 149.499512f, 6.17626953f, 32.34726f, 5.61730957f);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void float3x2_operator_plus()
{
float3x2 a0 = float3x2(-418.829559f, -405.79895f, -34.04178f, 236.999268f, -459.8391f, 210.86145f);
float3x2 r0 = float3x2(-418.829559f, -405.79895f, -34.04178f, 236.999268f, -459.8391f, 210.86145f);
TestUtils.AreEqual(r0, +a0);
float3x2 a1 = float3x2(293.742f, -386.059845f, 4.95440674f, -418.645264f, 504.474854f, -170.746521f);
float3x2 r1 = float3x2(293.742f, -386.059845f, 4.95440674f, -418.645264f, 504.474854f, -170.746521f);
TestUtils.AreEqual(r1, +a1);
float3x2 a2 = float3x2(439.5594f, 116.400757f, 421.409668f, -258.596069f, 447.8661f, 124.164368f);
float3x2 r2 = float3x2(439.5594f, 116.400757f, 421.409668f, -258.596069f, 447.8661f, 124.164368f);
TestUtils.AreEqual(r2, +a2);
float3x2 a3 = float3x2(222.172546f, 239.041809f, 498.449524f, -139.382538f, 279.072937f, 108.775818f);
float3x2 r3 = float3x2(222.172546f, 239.041809f, 498.449524f, -139.382538f, 279.072937f, 108.775818f);
TestUtils.AreEqual(r3, +a3);
}
[TestCompiler]
public static void float3x2_operator_neg()
{
float3x2 a0 = float3x2(148.461731f, -467.122681f, 132.04718f, 183.522644f, 473.701f, -407.9911f);
float3x2 r0 = float3x2(-148.461731f, 467.122681f, -132.04718f, -183.522644f, -473.701f, 407.9911f);
TestUtils.AreEqual(r0, -a0);
float3x2 a1 = float3x2(-54.95877f, -299.093384f, -383.014069f, 407.709778f, 168.735474f, 466.441528f);
float3x2 r1 = float3x2(54.95877f, 299.093384f, 383.014069f, -407.709778f, -168.735474f, -466.441528f);
TestUtils.AreEqual(r1, -a1);
float3x2 a2 = float3x2(171.902466f, -78.857605f, 318.69635f, -39.9154053f, 140.340027f, 132.195618f);
float3x2 r2 = float3x2(-171.902466f, 78.857605f, -318.69635f, 39.9154053f, -140.340027f, -132.195618f);
TestUtils.AreEqual(r2, -a2);
float3x2 a3 = float3x2(-505.895264f, -237.056946f, -137.617828f, -245.349976f, 422.521362f, -434.57135f);
float3x2 r3 = float3x2(505.895264f, 237.056946f, 137.617828f, 245.349976f, -422.521362f, 434.57135f);
TestUtils.AreEqual(r3, -a3);
}
[TestCompiler]
public static void float3x2_operator_prefix_inc()
{
float3x2 a0 = float3x2(-139.842072f, -56.7436523f, -381.955322f, 509.796326f, -222.896332f, 210.319885f);
float3x2 r0 = float3x2(-138.842072f, -55.7436523f, -380.955322f, 510.796326f, -221.896332f, 211.319885f);
TestUtils.AreEqual(r0, ++a0);
float3x2 a1 = float3x2(-392.7315f, 362.212769f, 401.6148f, 130.90918f, -450.230164f, 243.546936f);
float3x2 r1 = float3x2(-391.7315f, 363.212769f, 402.6148f, 131.90918f, -449.230164f, 244.546936f);
TestUtils.AreEqual(r1, ++a1);
float3x2 a2 = float3x2(46.1920166f, 299.1855f, 154.356567f, -281.233276f, 200.706f, 92.95776f);
float3x2 r2 = float3x2(47.1920166f, 300.1855f, 155.356567f, -280.233276f, 201.706f, 93.95776f);
TestUtils.AreEqual(r2, ++a2);
float3x2 a3 = float3x2(448.602173f, 18.4990845f, -215.711121f, 471.947266f, 257.0766f, 41.6259155f);
float3x2 r3 = float3x2(449.602173f, 19.4990845f, -214.711121f, 472.947266f, 258.0766f, 42.6259155f);
TestUtils.AreEqual(r3, ++a3);
}
[TestCompiler]
public static void float3x2_operator_postfix_inc()
{
float3x2 a0 = float3x2(-396.669739f, 511.20752f, 249.111267f, -128.817322f, -259.4903f, 278.008179f);
float3x2 r0 = float3x2(-396.669739f, 511.20752f, 249.111267f, -128.817322f, -259.4903f, 278.008179f);
TestUtils.AreEqual(r0, a0++);
float3x2 a1 = float3x2(-81.39343f, 167.852112f, 147.94397f, -326.1076f, 41.03357f, 128.5304f);
float3x2 r1 = float3x2(-81.39343f, 167.852112f, 147.94397f, -326.1076f, 41.03357f, 128.5304f);
TestUtils.AreEqual(r1, a1++);
float3x2 a2 = float3x2(73.15558f, -446.229767f, -296.937836f, 267.293823f, 446.2293f, 49.2001953f);
float3x2 r2 = float3x2(73.15558f, -446.229767f, -296.937836f, 267.293823f, 446.2293f, 49.2001953f);
TestUtils.AreEqual(r2, a2++);
float3x2 a3 = float3x2(-326.643127f, 471.647461f, -171.013092f, 310.727356f, -298.917175f, 489.985f);
float3x2 r3 = float3x2(-326.643127f, 471.647461f, -171.013092f, 310.727356f, -298.917175f, 489.985f);
TestUtils.AreEqual(r3, a3++);
}
[TestCompiler]
public static void float3x2_operator_prefix_dec()
{
float3x2 a0 = float3x2(123.128723f, 256.84375f, 156.330811f, 461.737427f, 325.867981f, 392.015625f);
float3x2 r0 = float3x2(122.128723f, 255.84375f, 155.330811f, 460.737427f, 324.867981f, 391.015625f);
TestUtils.AreEqual(r0, --a0);
float3x2 a1 = float3x2(187.874146f, 125.109619f, 469.844727f, 45.5366821f, 376.046875f, -363.0755f);
float3x2 r1 = float3x2(186.874146f, 124.109619f, 468.844727f, 44.5366821f, 375.046875f, -364.0755f);
TestUtils.AreEqual(r1, --a1);
float3x2 a2 = float3x2(-22.0289612f, 168.095032f, 168.265625f, -190.284729f, 166.945557f, 183.957947f);
float3x2 r2 = float3x2(-23.0289612f, 167.095032f, 167.265625f, -191.284729f, 165.945557f, 182.957947f);
TestUtils.AreEqual(r2, --a2);
float3x2 a3 = float3x2(485.6947f, 89.5698853f, -267.4298f, 201.756226f, -141.216888f, -217.4841f);
float3x2 r3 = float3x2(484.6947f, 88.5698853f, -268.4298f, 200.756226f, -142.216888f, -218.4841f);
TestUtils.AreEqual(r3, --a3);
}
[TestCompiler]
public static void float3x2_operator_postfix_dec()
{
float3x2 a0 = float3x2(379.6883f, 302.692871f, -176.07135f, -291.2527f, 470.567566f, -402.925964f);
float3x2 r0 = float3x2(379.6883f, 302.692871f, -176.07135f, -291.2527f, 470.567566f, -402.925964f);
TestUtils.AreEqual(r0, a0--);
float3x2 a1 = float3x2(-63.65515f, -27.8892212f, -100.761841f, 156.14032f, 479.9452f, -200.304291f);
float3x2 r1 = float3x2(-63.65515f, -27.8892212f, -100.761841f, 156.14032f, 479.9452f, -200.304291f);
TestUtils.AreEqual(r1, a1--);
float3x2 a2 = float3x2(-445.026947f, 327.670349f, 48.06018f, -209.667969f, -38.43506f, 283.9416f);
float3x2 r2 = float3x2(-445.026947f, 327.670349f, 48.06018f, -209.667969f, -38.43506f, 283.9416f);
TestUtils.AreEqual(r2, a2--);
float3x2 a3 = float3x2(-94.80209f, -287.2625f, -215.948029f, -407.046356f, 159.233582f, -359.456482f);
float3x2 r3 = float3x2(-94.80209f, -287.2625f, -215.948029f, -407.046356f, 159.233582f, -359.456482f);
TestUtils.AreEqual(r3, a3--);
}
}
}

View File

@@ -0,0 +1,960 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using NUnit.Framework;
using static Unity.Mathematics.math;
using Burst.Compiler.IL.Tests;
namespace Unity.Mathematics.Tests
{
[TestFixture]
public class TestFloat3x3
{
[TestCompiler]
public static void float3x3_zero()
{
TestUtils.AreEqual(0.0f, float3x3.zero.c0.x);
TestUtils.AreEqual(0.0f, float3x3.zero.c0.y);
TestUtils.AreEqual(0.0f, float3x3.zero.c0.z);
TestUtils.AreEqual(0.0f, float3x3.zero.c1.x);
TestUtils.AreEqual(0.0f, float3x3.zero.c1.y);
TestUtils.AreEqual(0.0f, float3x3.zero.c1.z);
TestUtils.AreEqual(0.0f, float3x3.zero.c2.x);
TestUtils.AreEqual(0.0f, float3x3.zero.c2.y);
TestUtils.AreEqual(0.0f, float3x3.zero.c2.z);
}
[TestCompiler]
public static void float3x3_identity()
{
TestUtils.AreEqual(1.0f, float3x3.identity.c0.x);
TestUtils.AreEqual(0.0f, float3x3.identity.c0.y);
TestUtils.AreEqual(0.0f, float3x3.identity.c0.z);
TestUtils.AreEqual(0.0f, float3x3.identity.c1.x);
TestUtils.AreEqual(1.0f, float3x3.identity.c1.y);
TestUtils.AreEqual(0.0f, float3x3.identity.c1.z);
TestUtils.AreEqual(0.0f, float3x3.identity.c2.x);
TestUtils.AreEqual(0.0f, float3x3.identity.c2.y);
TestUtils.AreEqual(1.0f, float3x3.identity.c2.z);
}
[TestCompiler]
public static void float3x3_operator_equal_wide_wide()
{
float3x3 a0 = float3x3(492.1576f, -495.206329f, 227.457642f, -147.374054f, -222.682f, 64.09375f, -23.8904114f, -16.8197327f, 163.232117f);
float3x3 b0 = float3x3(192.568787f, -235.611023f, -254.043121f, -412.624725f, 471.9048f, -6.47277832f, -339.102356f, 488.187561f, -379.5966f);
bool3x3 r0 = bool3x3(false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
float3x3 a1 = float3x3(-165.271f, 470.8777f, -423.942566f, 109.6344f, 462.6903f, -335.38147f, 357.2345f, 1.54559326f, -347.388245f);
float3x3 b1 = float3x3(-308.417f, -82.333374f, -102.921082f, 226.515747f, -356.9013f, -362.912781f, -427.898438f, 466.650146f, -102.799042f);
bool3x3 r1 = bool3x3(false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
float3x3 a2 = float3x3(-114.472168f, 435.848633f, 194.2381f, 138.765564f, -467.349152f, 370.43335f, 476.708252f, 320.552673f, -498.59198f);
float3x3 b2 = float3x3(-43.355957f, 85.0456543f, -91.1270447f, 422.192078f, -477.4313f, 1.87701416f, 312.580078f, 254.599365f, 352.72583f);
bool3x3 r2 = bool3x3(false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
float3x3 a3 = float3x3(92.41693f, 104.511353f, 166.754578f, -204.733429f, 434.756775f, -397.329651f, 503.981628f, -503.7141f, 90.65973f);
float3x3 b3 = float3x3(62.4909668f, 119.714783f, -511.058075f, -302.472717f, -371.769226f, -20.007843f, 21.4594727f, -426.0207f, -305.411926f);
bool3x3 r3 = bool3x3(false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void float3x3_operator_equal_wide_scalar()
{
float3x3 a0 = float3x3(-303.230072f, 451.5263f, -253.655884f, -105.203644f, -500.6911f, -426.192474f, 159.8761f, -59.55838f, -57.4773865f);
float b0 = (123.544556f);
bool3x3 r0 = bool3x3(false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
float3x3 a1 = float3x3(-182.049744f, 370.886f, -172.035309f, 455.400024f, -11.3389893f, 363.938232f, -27.1505737f, -325.976074f, -290.359039f);
float b1 = (406.513733f);
bool3x3 r1 = bool3x3(false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
float3x3 a2 = float3x3(180.196838f, -439.358948f, -126.546082f, -197.26178f, -227.159332f, -479.8992f, -439.777679f, -495.237335f, -224.517059f);
float b2 = (-374.128326f);
bool3x3 r2 = bool3x3(false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
float3x3 a3 = float3x3(-422.833221f, -20.10672f, 297.38f, 185.966553f, -102.975983f, -220.597046f, -228.686859f, -333.001282f, 434.213f);
float b3 = (-450.196259f);
bool3x3 r3 = bool3x3(false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void float3x3_operator_equal_scalar_wide()
{
float a0 = (-253.397278f);
float3x3 b0 = float3x3(19.95221f, -185.791992f, 407.8136f, -87.2767f, -206.274689f, 160.503113f, -274.7708f, -2.63153076f, 448.354553f);
bool3x3 r0 = bool3x3(false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
float a1 = (-410.035248f);
float3x3 b1 = float3x3(247.329041f, 355.539124f, -298.0667f, 414.1015f, -481.3026f, 196.55072f, 34.6010132f, 113.7616f, -386.453369f);
bool3x3 r1 = bool3x3(false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
float a2 = (-124.49176f);
float3x3 b2 = float3x3(243.886658f, -492.6182f, 145.424438f, 421.55072f, -95.40997f, 336.809265f, 209.5838f, 487.4414f, 161.806519f);
bool3x3 r2 = bool3x3(false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
float a3 = (149.842468f);
float3x3 b3 = float3x3(225.724f, -71.21881f, 85.78027f, 192.547241f, -49.88748f, -229.801971f, -103.407349f, 19.21576f, 492.8811f);
bool3x3 r3 = bool3x3(false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void float3x3_operator_not_equal_wide_wide()
{
float3x3 a0 = float3x3(430.842529f, 104.69f, 225.802429f, -310.5702f, -418.619446f, 304.128174f, -509.3268f, -160.538086f, -203.301971f);
float3x3 b0 = float3x3(210.024719f, -55.20334f, -269.925354f, -234.546722f, 25.91742f, -63.72699f, -484.5537f, -425.3336f, -53.2743835f);
bool3x3 r0 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
float3x3 a1 = float3x3(-505.763245f, 162.17218f, 1.156189f, 65.66205f, 102.787781f, 172.930054f, 26.6210327f, 235.125977f, 128.541992f);
float3x3 b1 = float3x3(328.1944f, 15.9631348f, 461.7141f, -113.363037f, -240.072968f, 495.119141f, 203.55835f, 340.493469f, -241.9072f);
bool3x3 r1 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
float3x3 a2 = float3x3(-354.996979f, 334.3595f, -495.832f, 468.307373f, 458.370972f, 299.937317f, 43.1271973f, -354.7135f, -145.2872f);
float3x3 b2 = float3x3(459.569824f, 213.07373f, -384.782837f, -255.072327f, 477.663452f, -248.036621f, -407.923462f, -199.788879f, 151.843262f);
bool3x3 r2 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
float3x3 a3 = float3x3(390.80188f, -303.13147f, 391.134583f, 139.286865f, 104.523193f, 511.2964f, 213.147034f, -101.0957f, 441.6634f);
float3x3 b3 = float3x3(-97.1206055f, 154.975891f, -172.834534f, 441.5028f, -401.738617f, -411.430176f, -337.820282f, -430.6309f, -150.8718f);
bool3x3 r3 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void float3x3_operator_not_equal_wide_scalar()
{
float3x3 a0 = float3x3(-16.9145813f, 168.8341f, -462.713531f, 130.307739f, 214.501587f, -440.263275f, -197.12796f, -169.099854f, -386.611176f);
float b0 = (-145.372772f);
bool3x3 r0 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
float3x3 a1 = float3x3(-281.021f, -403.9637f, -269.805725f, 299.654236f, -71.7509155f, -432.755737f, -457.363129f, -13.5195923f, 273.873047f);
float b1 = (-270.26886f);
bool3x3 r1 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
float3x3 a2 = float3x3(185.04248f, 116.395142f, 511.735f, 230.5075f, 100.27478f, 129.682434f, 321.178772f, -220.639f, 140.3352f);
float b2 = (-482.5307f);
bool3x3 r2 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
float3x3 a3 = float3x3(369.212341f, -333.66626f, -373.937744f, 150.204285f, -442.164764f, 372.32f, -95.83798f, 495.5667f, -5.3855896f);
float b3 = (453.811218f);
bool3x3 r3 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void float3x3_operator_not_equal_scalar_wide()
{
float a0 = (275.795837f);
float3x3 b0 = float3x3(-57.1969f, -382.432526f, 97.82037f, -161.463654f, -458.39563f, -499.617859f, 327.92218f, 367.571228f, 59.786377f);
bool3x3 r0 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
float a1 = (-209.580688f);
float3x3 b1 = float3x3(-62.5804443f, -479.974976f, -49.4945068f, -114.685211f, 109.93927f, -176.284821f, -347.4853f, 85.5409546f, -356.659546f);
bool3x3 r1 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
float a2 = (-104.243561f);
float3x3 b2 = float3x3(-133.5492f, 243.539734f, 13.1412964f, -379.985962f, -41.28122f, 87.91168f, -339.077271f, -371.820343f, 333.1443f);
bool3x3 r2 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
float a3 = (294.811951f);
float3x3 b3 = float3x3(-187.14566f, 220.192261f, -228.182068f, -499.723724f, 97.40588f, 501.60437f, 459.6754f, 158.098145f, 358.4886f);
bool3x3 r3 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void float3x3_operator_less_wide_wide()
{
float3x3 a0 = float3x3(196.84259f, 336.4098f, 251.963745f, 257.655945f, 430.0459f, -62.4196472f, 8.839233f, -333.8167f, 164.678833f);
float3x3 b0 = float3x3(-465.345032f, -256.1524f, -314.814026f, 364.5667f, 100.21051f, 182.560974f, 3.11700439f, -259.430481f, -437.3349f);
bool3x3 r0 = bool3x3(false, false, false, true, false, true, false, true, false);
TestUtils.AreEqual(r0, a0 < b0);
float3x3 a1 = float3x3(-350.9449f, 3.84143066f, 125.409729f, -111.129944f, 70.00549f, 448.1983f, -419.987122f, -258.301666f, -34.8322144f);
float3x3 b1 = float3x3(-456.043732f, -394.255981f, 401.9137f, 313.439148f, 121.286682f, -28.0122986f, -282.965881f, 330.0644f, 124.099365f);
bool3x3 r1 = bool3x3(false, false, true, true, true, false, true, true, true);
TestUtils.AreEqual(r1, a1 < b1);
float3x3 a2 = float3x3(-69.8594055f, 67.76721f, -139.777283f, 385.434631f, 133.7074f, 506.188354f, 34.44287f, 412.1137f, -84.8097839f);
float3x3 b2 = float3x3(-183.6903f, 373.0608f, 109.750916f, -203.57135f, 45.64868f, -360.952271f, 211.913086f, -313.286377f, -259.661072f);
bool3x3 r2 = bool3x3(false, true, true, false, false, false, true, false, false);
TestUtils.AreEqual(r2, a2 < b2);
float3x3 a3 = float3x3(444.785339f, -78.75473f, 366.977539f, 127.180481f, 428.368469f, 8.197632f, -71.13736f, -474.0508f, 322.4289f);
float3x3 b3 = float3x3(79.09851f, 446.4961f, 450.524536f, -375.630768f, -53.9418335f, -291.453735f, 190.774841f, 54.0839233f, -163.63089f);
bool3x3 r3 = bool3x3(false, true, true, false, false, false, true, true, false);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void float3x3_operator_less_wide_scalar()
{
float3x3 a0 = float3x3(-132.057312f, -192.465f, -66.8345947f, -379.017517f, -360.2824f, 20.9278564f, -158.240753f, 437.3459f, -20.4526062f);
float b0 = (-156.010223f);
bool3x3 r0 = bool3x3(false, true, false, true, true, false, true, false, false);
TestUtils.AreEqual(r0, a0 < b0);
float3x3 a1 = float3x3(225.2915f, 274.015259f, 373.549683f, 398.523682f, 105.030151f, -58.0108948f, 109.670105f, -108.85318f, -44.9712524f);
float b1 = (307.4842f);
bool3x3 r1 = bool3x3(true, true, false, false, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 < b1);
float3x3 a2 = float3x3(140.426086f, 172.103333f, -197.500732f, -7.271515f, -432.9905f, 62.1583252f, -72.25473f, -377.852325f, -500.255737f);
float b2 = (-500.0883f);
bool3x3 r2 = bool3x3(false, false, false, false, false, false, false, false, true);
TestUtils.AreEqual(r2, a2 < b2);
float3x3 a3 = float3x3(149.11499f, 202.63916f, 274.950684f, 66.41205f, 274.999451f, -149.6358f, 223.758728f, 73.2668457f, 213.094971f);
float b3 = (119.880615f);
bool3x3 r3 = bool3x3(false, false, false, true, false, true, false, true, false);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void float3x3_operator_less_scalar_wide()
{
float a0 = (-423.1174f);
float3x3 b0 = float3x3(385.094849f, -123.933472f, 86.37659f, 133.4422f, 161.457947f, 229.754272f, 222.5716f, 315.5312f, -447.203522f);
bool3x3 r0 = bool3x3(true, true, true, true, true, true, true, true, false);
TestUtils.AreEqual(r0, a0 < b0);
float a1 = (271.833862f);
float3x3 b1 = float3x3(-393.605316f, 317.486877f, -164.6051f, -282.876038f, 296.979553f, -254.401154f, 365.6156f, -441.984253f, -131.42865f);
bool3x3 r1 = bool3x3(false, true, false, false, true, false, true, false, false);
TestUtils.AreEqual(r1, a1 < b1);
float a2 = (442.628967f);
float3x3 b2 = float3x3(-29.7928467f, -138.37381f, 9.21698f, -226.73056f, 171.029419f, 376.625244f, -462.5887f, -142.36731f, -456.253784f);
bool3x3 r2 = bool3x3(false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 < b2);
float a3 = (66.61023f);
float3x3 b3 = float3x3(169.378784f, 327.4444f, 64.08795f, -153.5039f, 199.380127f, -244.969055f, 472.743835f, -363.7801f, -179.487518f);
bool3x3 r3 = bool3x3(true, true, false, false, true, false, true, false, false);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void float3x3_operator_greater_wide_wide()
{
float3x3 a0 = float3x3(483.5014f, 310.8156f, 106.966187f, 295.7353f, 116.957581f, -478.299774f, -14.8974f, -33.8174438f, -24.74054f);
float3x3 b0 = float3x3(-471.398f, -371.9853f, 36.9006958f, -316.7636f, 19.6830444f, 207.309143f, 362.7975f, 324.95343f, 340.948059f);
bool3x3 r0 = bool3x3(true, true, true, true, true, false, false, false, false);
TestUtils.AreEqual(r0, a0 > b0);
float3x3 a1 = float3x3(319.782654f, -120.158569f, -289.008575f, 455.85144f, 144.706909f, 63.9320068f, -285.683044f, -502.090729f, -337.194458f);
float3x3 b1 = float3x3(25.9860229f, -114.211121f, 240.803467f, 273.422424f, 325.515747f, 27.3410645f, 64.47955f, 200.948364f, 100.122681f);
bool3x3 r1 = bool3x3(true, false, false, true, false, true, false, false, false);
TestUtils.AreEqual(r1, a1 > b1);
float3x3 a2 = float3x3(474.317322f, -507.1451f, -133.565582f, -443.109131f, -464.34137f, -68.36154f, -185.993011f, -157.8039f, -74.12424f);
float3x3 b2 = float3x3(-79.00711f, -315.137939f, -122.985443f, -163.7792f, -492.566f, -90.79727f, -284.901245f, -23.6536865f, 174.93f);
bool3x3 r2 = bool3x3(true, false, false, false, true, true, true, false, false);
TestUtils.AreEqual(r2, a2 > b2);
float3x3 a3 = float3x3(-94.47116f, 329.610535f, -315.836731f, 404.1938f, 131.304382f, -206.633911f, 197.399841f, 187.991943f, 362.636047f);
float3x3 b3 = float3x3(85.7125244f, -441.987823f, 345.543762f, 482.219482f, -422.383484f, -30.7792969f, 296.154236f, 378.059875f, -457.733429f);
bool3x3 r3 = bool3x3(false, true, false, false, true, false, false, false, true);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void float3x3_operator_greater_wide_scalar()
{
float3x3 a0 = float3x3(64.31793f, -397.703461f, 431.8769f, 85.703f, 246.263062f, 197.491577f, 286.199463f, 280.813354f, -405.7846f);
float b0 = (305.859924f);
bool3x3 r0 = bool3x3(false, false, true, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 > b0);
float3x3 a1 = float3x3(171.565369f, 333.5782f, 370.279175f, -413.7014f, -356.592346f, -353.0313f, 396.645325f, 467.222046f, -240.013428f);
float b1 = (-241.807281f);
bool3x3 r1 = bool3x3(true, true, true, false, false, false, true, true, true);
TestUtils.AreEqual(r1, a1 > b1);
float3x3 a2 = float3x3(502.915039f, -259.2897f, 281.230652f, 428.792175f, 245.153076f, -279.1754f, -453.8631f, -124.771545f, -425.652924f);
float b2 = (315.4676f);
bool3x3 r2 = bool3x3(true, false, false, true, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 > b2);
float3x3 a3 = float3x3(99.13287f, -456.439423f, 154.489014f, 405.529724f, -157.7338f, 186.0863f, 249.999084f, -110.096924f, -435.3045f);
float b3 = (355.060547f);
bool3x3 r3 = bool3x3(false, false, false, true, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void float3x3_operator_greater_scalar_wide()
{
float a0 = (-282.6705f);
float3x3 b0 = float3x3(358.099976f, -72.596405f, -232.163788f, -60.7067261f, 75.15662f, 150.883484f, 339.539185f, -498.196045f, 459.7461f);
bool3x3 r0 = bool3x3(false, false, false, false, false, false, false, true, false);
TestUtils.AreEqual(r0, a0 > b0);
float a1 = (-227.968719f);
float3x3 b1 = float3x3(335.862122f, 76.17883f, 296.859924f, 177.48999f, -281.2012f, 244.722839f, 137.328552f, -385.338257f, 443.163452f);
bool3x3 r1 = bool3x3(false, false, false, false, true, false, false, true, false);
TestUtils.AreEqual(r1, a1 > b1);
float a2 = (-353.562561f);
float3x3 b2 = float3x3(26.04065f, -331.793945f, -43.6919556f, 20.9494019f, -211.17984f, 227.421692f, -84.7797852f, -375.1355f, -205.178131f);
bool3x3 r2 = bool3x3(false, false, false, false, false, false, false, true, false);
TestUtils.AreEqual(r2, a2 > b2);
float a3 = (-197.04715f);
float3x3 b3 = float3x3(-219.634033f, -210.015625f, -266.7737f, 144.7785f, -471.7112f, -155.913177f, 99.72473f, -230.944855f, -338.8689f);
bool3x3 r3 = bool3x3(true, true, true, false, true, false, false, true, true);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void float3x3_operator_less_equal_wide_wide()
{
float3x3 a0 = float3x3(-438.523132f, 210.489441f, 4.87731934f, -137.297943f, 156.094116f, -363.924133f, -97.94849f, 437.2954f, 458.530273f);
float3x3 b0 = float3x3(-474.814148f, 304.371033f, 234.824158f, -390.485443f, -297.175354f, -326.2924f, 107.253906f, -413.131073f, 67.09442f);
bool3x3 r0 = bool3x3(false, true, true, false, false, true, true, false, false);
TestUtils.AreEqual(r0, a0 <= b0);
float3x3 a1 = float3x3(-294.064758f, 23.62262f, -34.2840576f, 149.736511f, -418.8867f, -197.502533f, -88.2055054f, -376.71814f, 341.627136f);
float3x3 b1 = float3x3(470.075256f, -84.499115f, 392.784241f, -263.531738f, 369.3009f, -333.3253f, 238.413452f, 486.2426f, 279.6502f);
bool3x3 r1 = bool3x3(true, false, true, false, true, false, true, true, false);
TestUtils.AreEqual(r1, a1 <= b1);
float3x3 a2 = float3x3(-83.30917f, -107.490723f, 319.466858f, 205.357361f, 345.563721f, 395.3219f, -222.874146f, 439.022034f, -368.075562f);
float3x3 b2 = float3x3(236.052f, 132.758972f, 66.29474f, 183.002136f, 200.130554f, 339.043823f, 438.5379f, 145.401855f, 178.163086f);
bool3x3 r2 = bool3x3(true, true, false, false, false, false, true, false, true);
TestUtils.AreEqual(r2, a2 <= b2);
float3x3 a3 = float3x3(-200.0386f, 71.46991f, -357.365417f, 141.710876f, 319.0171f, 303.030151f, -461.574249f, 277.62677f, 182.1781f);
float3x3 b3 = float3x3(157.975952f, 329.7052f, -243.590912f, 5.401184f, -22.5805969f, -90.3375854f, -72.19107f, -354.354828f, -289.521729f);
bool3x3 r3 = bool3x3(true, true, true, false, false, false, true, false, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void float3x3_operator_less_equal_wide_scalar()
{
float3x3 a0 = float3x3(193.49585f, 168.915527f, -313.993073f, 81.8269653f, 18.5036011f, -0.3581848f, 241.361145f, -463.8164f, -1.35775757f);
float b0 = (443.850525f);
bool3x3 r0 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 <= b0);
float3x3 a1 = float3x3(-268.899475f, -471.253082f, -264.9378f, 82.2583f, 11.2460327f, 424.704041f, 426.482239f, 56.3200073f, -196.2879f);
float b1 = (398.991943f);
bool3x3 r1 = bool3x3(true, true, true, true, true, false, false, true, true);
TestUtils.AreEqual(r1, a1 <= b1);
float3x3 a2 = float3x3(31.9011841f, -437.926453f, -37.1048279f, -47.1442261f, 333.623047f, -274.8039f, 358.67627f, -260.460571f, 192.309143f);
float b2 = (-152.257568f);
bool3x3 r2 = bool3x3(false, true, false, false, false, true, false, true, false);
TestUtils.AreEqual(r2, a2 <= b2);
float3x3 a3 = float3x3(145.306091f, -494.267334f, -111.570129f, -139.5412f, -146.589355f, 33.98401f, -445.704468f, -451.0422f, -122.039276f);
float b3 = (-466.132965f);
bool3x3 r3 = bool3x3(false, true, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void float3x3_operator_less_equal_scalar_wide()
{
float a0 = (393.606262f);
float3x3 b0 = float3x3(-75.6883545f, -44.2638855f, 125.864929f, 191.9649f, 13.54303f, -197.051941f, -423.9451f, -330.0486f, 420.165527f);
bool3x3 r0 = bool3x3(false, false, false, false, false, false, false, false, true);
TestUtils.AreEqual(r0, a0 <= b0);
float a1 = (105.5473f);
float3x3 b1 = float3x3(174.821289f, 296.7176f, -469.7004f, 123.267212f, 112.996948f, 495.143372f, -488.6579f, 388.539429f, -493.240784f);
bool3x3 r1 = bool3x3(true, true, false, true, true, true, false, true, false);
TestUtils.AreEqual(r1, a1 <= b1);
float a2 = (16.45105f);
float3x3 b2 = float3x3(-387.651642f, -229.1773f, -373.01532f, -391.142151f, 90.99414f, -178.396149f, -69.62106f, 471.790833f, -67.46677f);
bool3x3 r2 = bool3x3(false, false, false, false, true, false, false, true, false);
TestUtils.AreEqual(r2, a2 <= b2);
float a3 = (45.30536f);
float3x3 b3 = float3x3(-154.6922f, 385.7389f, -431.652954f, -331.673035f, -349.8927f, -114.839142f, -245.217834f, -486.6955f, 391.950928f);
bool3x3 r3 = bool3x3(false, true, false, false, false, false, false, false, true);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void float3x3_operator_greater_equal_wide_wide()
{
float3x3 a0 = float3x3(-507.9286f, 504.4975f, -385.4345f, -262.323425f, -37.5509338f, -111.595276f, -463.702026f, 387.448853f, 456.9688f);
float3x3 b0 = float3x3(-81.3465f, 297.666138f, 171.06543f, -431.038055f, -6.85907f, 319.7257f, 254.079163f, 396.5724f, 178.8393f);
bool3x3 r0 = bool3x3(false, true, false, true, false, false, false, false, true);
TestUtils.AreEqual(r0, a0 >= b0);
float3x3 a1 = float3x3(-211.010162f, 182.411377f, -53.59604f, -309.570221f, -136.022491f, 280.736267f, -96.99588f, -174.059509f, 88.90192f);
float3x3 b1 = float3x3(-447.063354f, 288.492676f, 474.889282f, -321.750244f, -395.977234f, -158.692474f, 391.4887f, -368.109253f, 89.12378f);
bool3x3 r1 = bool3x3(true, false, false, true, true, true, false, true, false);
TestUtils.AreEqual(r1, a1 >= b1);
float3x3 a2 = float3x3(43.81604f, -446.07843f, 16.6455688f, 409.83252f, -191.329865f, 222.9978f, 404.2884f, 230.603271f, -441.789276f);
float3x3 b2 = float3x3(-510.279327f, -486.9298f, -81.2155457f, 274.2188f, -212.881561f, 288.9953f, 307.73175f, 307.245178f, -199.391785f);
bool3x3 r2 = bool3x3(true, true, true, true, true, false, true, false, false);
TestUtils.AreEqual(r2, a2 >= b2);
float3x3 a3 = float3x3(-86.29306f, 484.249573f, 95.23639f, -204.912109f, -199.774353f, -421.8632f, -18.2147827f, -346.822754f, -159.243652f);
float3x3 b3 = float3x3(-284.421265f, -482.3918f, 448.315735f, -378.3462f, -390.858459f, 8.916016f, 416.407227f, -213.674957f, 455.2481f);
bool3x3 r3 = bool3x3(true, true, false, true, true, false, false, false, false);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void float3x3_operator_greater_equal_wide_scalar()
{
float3x3 a0 = float3x3(465.152161f, -424.886078f, -209.2211f, 58.7798462f, -302.2691f, 140.12561f, 16.3533936f, -344.559967f, 393.278076f);
float b0 = (-5.599884f);
bool3x3 r0 = bool3x3(true, false, false, true, false, true, true, false, true);
TestUtils.AreEqual(r0, a0 >= b0);
float3x3 a1 = float3x3(-315.701538f, -509.781555f, -36.9942932f, 494.8203f, -164.973938f, -466.1201f, -123.813751f, 215.651245f, 104.995728f);
float b1 = (441.011536f);
bool3x3 r1 = bool3x3(false, false, false, true, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 >= b1);
float3x3 a2 = float3x3(314.346f, -83.11142f, -23.8364258f, 143.049377f, -264.919983f, -169.702209f, 329.70752f, 359.095825f, -260.4233f);
float b2 = (190.516113f);
bool3x3 r2 = bool3x3(true, false, false, false, false, false, true, true, false);
TestUtils.AreEqual(r2, a2 >= b2);
float3x3 a3 = float3x3(354.195129f, 33.309082f, 355.6313f, -435.360565f, -38.3993225f, -93.2957153f, -338.8496f, 436.8958f, 511.084167f);
float b3 = (-111.845337f);
bool3x3 r3 = bool3x3(true, true, true, false, true, true, false, true, true);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void float3x3_operator_greater_equal_scalar_wide()
{
float a0 = (374.827026f);
float3x3 b0 = float3x3(-1.60977173f, 338.615234f, -116.1814f, -332.157318f, -355.97937f, -468.901428f, 38.579895f, -332.347534f, 2.89013672f);
bool3x3 r0 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 >= b0);
float a1 = (467.777771f);
float3x3 b1 = float3x3(121.406372f, -305.023376f, -58.4288025f, -226.519562f, -47.0209961f, 305.302673f, -427.401245f, 92.26367f, -497.178528f);
bool3x3 r1 = bool3x3(true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 >= b1);
float a2 = (-408.625641f);
float3x3 b2 = float3x3(-455.2305f, 396.4261f, -469.2949f, -485.754028f, -182.346191f, -291.545349f, 278.740784f, -75.8711243f, 28.9070435f);
bool3x3 r2 = bool3x3(true, false, true, true, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 >= b2);
float a3 = (287.720154f);
float3x3 b3 = float3x3(420.509766f, 473.626831f, 181.514526f, -369.202881f, 243.749756f, -244.124146f, -242.993347f, -322.115356f, 192.974976f);
bool3x3 r3 = bool3x3(false, false, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void float3x3_operator_add_wide_wide()
{
float3x3 a0 = float3x3(506.129028f, -501.779816f, 420.084778f, -186.032074f, -9.312408f, 328.51178f, 424.344055f, 87.79108f, 462.4137f);
float3x3 b0 = float3x3(-28.7579956f, -337.135132f, -340.676819f, 152.312012f, 423.66748f, 90.3740845f, 376.18866f, 1.76721191f, -120.185852f);
float3x3 r0 = float3x3(477.371033f, -838.9149f, 79.40796f, -33.7200623f, 414.355072f, 418.885864f, 800.5327f, 89.55829f, 342.227844f);
TestUtils.AreEqual(r0, a0 + b0);
float3x3 a1 = float3x3(-46.17871f, 401.170044f, -454.124146f, 69.19568f, -177.957336f, 299.604126f, 340.704834f, 219.916016f, -321.9084f);
float3x3 b1 = float3x3(-279.629364f, -344.6671f, 242.839172f, 418.593079f, -23.3128052f, -95.0999451f, 147.9281f, 331.0329f, -82.50256f);
float3x3 r1 = float3x3(-325.808075f, 56.50293f, -211.284973f, 487.788757f, -201.270142f, 204.504181f, 488.632935f, 550.9489f, -404.41095f);
TestUtils.AreEqual(r1, a1 + b1);
float3x3 a2 = float3x3(286.355347f, -333.4195f, -118.932159f, 68.60748f, 23.190918f, -205.577881f, 11.5214233f, -340.795074f, -68.93118f);
float3x3 b2 = float3x3(279.4496f, 342.622742f, -300.358521f, -209.694092f, 446.559448f, -351.9892f, -263.12384f, -252.458557f, 289.825378f);
float3x3 r2 = float3x3(565.804932f, 9.203247f, -419.29068f, -141.086609f, 469.750366f, -557.5671f, -251.602417f, -593.253662f, 220.8942f);
TestUtils.AreEqual(r2, a2 + b2);
float3x3 a3 = float3x3(304.8532f, -86.63385f, 105.669128f, 349.280518f, 364.7079f, -429.0374f, 382.458069f, 186.097046f, 227.411865f);
float3x3 b3 = float3x3(338.796143f, -232.619019f, -510.50824f, 349.280762f, -426.212463f, -331.416321f, -418.6888f, -341.70636f, -329.0359f);
float3x3 r3 = float3x3(643.649353f, -319.252869f, -404.8391f, 698.5613f, -61.5045776f, -760.453735f, -36.2307434f, -155.609314f, -101.624023f);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void float3x3_operator_add_wide_scalar()
{
float3x3 a0 = float3x3(-194.514191f, 338.5484f, 246.971375f, 100.510925f, -45.72467f, -478.1113f, 30.9161377f, 60.37433f, -242.118744f);
float b0 = (124.121704f);
float3x3 r0 = float3x3(-70.39249f, 462.6701f, 371.093079f, 224.632629f, 78.39703f, -353.9896f, 155.037842f, 184.496033f, -117.99704f);
TestUtils.AreEqual(r0, a0 + b0);
float3x3 a1 = float3x3(82.50134f, -484.6998f, -188.265015f, -213.526733f, -267.7843f, 189.259949f, 198.533569f, 187.536072f, -424.925659f);
float b1 = (6.79937744f);
float3x3 r1 = float3x3(89.30072f, -477.900421f, -181.465637f, -206.727356f, -260.984924f, 196.059326f, 205.332947f, 194.335449f, -418.126282f);
TestUtils.AreEqual(r1, a1 + b1);
float3x3 a2 = float3x3(302.102356f, 124.021606f, -200.161346f, 31.3782349f, 362.522156f, -423.988861f, 432.41333f, 374.211426f, -465.6995f);
float b2 = (300.3991f);
float3x3 r2 = float3x3(602.501465f, 424.420715f, 100.237762f, 331.777344f, 662.921265f, -123.589752f, 732.812439f, 674.610535f, -165.300385f);
TestUtils.AreEqual(r2, a2 + b2);
float3x3 a3 = float3x3(-311.04303f, -432.442444f, 235.750671f, -472.637756f, -257.577759f, 186.120728f, -170.298218f, -115.272491f, -101.168823f);
float b3 = (84.91901f);
float3x3 r3 = float3x3(-226.124023f, -347.523438f, 320.669678f, -387.71875f, -172.658752f, 271.039734f, -85.37921f, -30.3534851f, -16.2498169f);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void float3x3_operator_add_scalar_wide()
{
float a0 = (-340.354675f);
float3x3 b0 = float3x3(511.362244f, -146.216644f, -106.210419f, -363.450256f, 199.0896f, -27.1083984f, 419.849f, 284.955017f, -164.9242f);
float3x3 r0 = float3x3(171.007568f, -486.57132f, -446.5651f, -703.804932f, -141.265076f, -367.463074f, 79.49432f, -55.39966f, -505.27887f);
TestUtils.AreEqual(r0, a0 + b0);
float a1 = (-249.190338f);
float3x3 b1 = float3x3(150.928162f, 298.1751f, -457.1534f, 424.718079f, -301.857483f, 230.288879f, -423.5876f, -67.06003f, 68.72412f);
float3x3 r1 = float3x3(-98.26218f, 48.98477f, -706.34375f, 175.52774f, -551.047852f, -18.9014587f, -672.777954f, -316.250366f, -180.466217f);
TestUtils.AreEqual(r1, a1 + b1);
float a2 = (-164.02243f);
float3x3 b2 = float3x3(318.935181f, 7.80456543f, 187.698364f, -3.656952f, -446.083069f, -209.287231f, -38.21289f, -346.257172f, 465.607422f);
float3x3 r2 = float3x3(154.91275f, -156.217865f, 23.6759338f, -167.679382f, -610.105469f, -373.309662f, -202.235321f, -510.2796f, 301.585f);
TestUtils.AreEqual(r2, a2 + b2);
float a3 = (-192.185944f);
float3x3 b3 = float3x3(278.6938f, 381.978455f, 481.243652f, -97.22815f, -455.513733f, 501.834961f, 358.7066f, 430.699768f, 256.987183f);
float3x3 r3 = float3x3(86.50784f, 189.792511f, 289.0577f, -289.4141f, -647.6997f, 309.649017f, 166.52066f, 238.513824f, 64.80124f);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void float3x3_operator_sub_wide_wide()
{
float3x3 a0 = float3x3(160.492249f, 11.223938f, 359.200134f, -498.2283f, -355.253632f, -94.53485f, -410.46405f, -401.384644f, 317.706848f);
float3x3 b0 = float3x3(115.46875f, -130.9823f, 241.540833f, 9.987061f, 419.895142f, 59.12445f, -402.381653f, -75.37015f, 320.9796f);
float3x3 r0 = float3x3(45.0235f, 142.206238f, 117.6593f, -508.215363f, -775.1488f, -153.6593f, -8.082397f, -326.0145f, -3.272766f);
TestUtils.AreEqual(r0, a0 - b0);
float3x3 a1 = float3x3(447.060425f, -489.074158f, -230.008392f, 24.8754272f, 366.614441f, -107.374146f, -219.008148f, 473.9076f, 259.63623f);
float3x3 b1 = float3x3(-73.90875f, -31.4447327f, -389.251953f, -375.028839f, 259.182739f, 276.648682f, -453.0692f, -272.576538f, -191.148041f);
float3x3 r1 = float3x3(520.9692f, -457.629425f, 159.243561f, 399.904266f, 107.4317f, -384.022827f, 234.061066f, 746.484131f, 450.784271f);
TestUtils.AreEqual(r1, a1 - b1);
float3x3 a2 = float3x3(-360.119629f, 7.80963135f, 437.428467f, -59.1991577f, 418.744324f, 183.142151f, 271.230347f, 496.208557f, 165.354919f);
float3x3 b2 = float3x3(87.1369f, 430.02478f, 343.6571f, 121.029419f, -354.188171f, 249.052f, -2.22543335f, 22.4472656f, 478.112976f);
float3x3 r2 = float3x3(-447.256531f, -422.215149f, 93.77136f, -180.228577f, 772.9325f, -65.90985f, 273.45578f, 473.7613f, -312.758057f);
TestUtils.AreEqual(r2, a2 - b2);
float3x3 a3 = float3x3(-227.403656f, -166.522858f, 356.142273f, 386.9264f, -394.638763f, 126.903259f, 97.21692f, -150.017853f, -227.250519f);
float3x3 b3 = float3x3(-320.063f, -111.524109f, 222.228943f, -245.411072f, -119.902283f, -153.465668f, 374.1125f, 301.763428f, -281.430054f);
float3x3 r3 = float3x3(92.65933f, -54.99875f, 133.91333f, 632.337463f, -274.736481f, 280.368927f, -276.895569f, -451.781281f, 54.1795349f);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void float3x3_operator_sub_wide_scalar()
{
float3x3 a0 = float3x3(207.389587f, 248.457764f, -384.8239f, -205.344757f, -374.811554f, 191.642029f, 18.8562622f, -44.96161f, 480.857971f);
float b0 = (-36.1124878f);
float3x3 r0 = float3x3(243.502075f, 284.570251f, -348.711426f, -169.232269f, -338.699066f, 227.754517f, 54.96875f, -8.849121f, 516.970459f);
TestUtils.AreEqual(r0, a0 - b0);
float3x3 a1 = float3x3(16.3381958f, -35.5231f, 349.397766f, 439.077271f, 490.2223f, 195.024048f, -384.849426f, 189.05188f, 55.6027832f);
float b1 = (-366.865448f);
float3x3 r1 = float3x3(383.203644f, 331.342346f, 716.2632f, 805.942749f, 857.087769f, 561.8895f, -17.9839783f, 555.917358f, 422.468231f);
TestUtils.AreEqual(r1, a1 - b1);
float3x3 a2 = float3x3(-54.931488f, 316.8025f, -273.8067f, 256.8872f, 297.173645f, 101.829041f, 136.607971f, -19.7322083f, 336.589722f);
float b2 = (53.0880737f);
float3x3 r2 = float3x3(-108.019562f, 263.714417f, -326.894775f, 203.799133f, 244.085571f, 48.7409668f, 83.5199f, -72.82028f, 283.501648f);
TestUtils.AreEqual(r2, a2 - b2);
float3x3 a3 = float3x3(-51.8765564f, -467.055939f, -50.1670532f, 477.804565f, -60.82193f, 0.4111328f, 46.66095f, -19.241394f, 396.809753f);
float b3 = (317.345764f);
float3x3 r3 = float3x3(-369.222321f, -784.401733f, -367.512817f, 160.4588f, -378.1677f, -316.934631f, -270.6848f, -336.587158f, 79.46399f);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void float3x3_operator_sub_scalar_wide()
{
float a0 = (-86.00824f);
float3x3 b0 = float3x3(466.4251f, 298.486938f, -300.9501f, 315.38f, -381.092163f, -125.008362f, 58.4661865f, 214.7461f, -257.549438f);
float3x3 r0 = float3x3(-552.43335f, -384.495178f, 214.941864f, -401.388245f, 295.083923f, 39.0001221f, -144.474426f, -300.754333f, 171.5412f);
TestUtils.AreEqual(r0, a0 - b0);
float a1 = (480.2246f);
float3x3 b1 = float3x3(-443.355072f, 260.795044f, 29.6819458f, 139.857727f, -247.789948f, -248.466217f, 91.44513f, 86.3841553f, 373.8183f);
float3x3 r1 = float3x3(923.5797f, 219.429565f, 450.542664f, 340.366882f, 728.0145f, 728.6908f, 388.77948f, 393.840454f, 106.406311f);
TestUtils.AreEqual(r1, a1 - b1);
float a2 = (260.411926f);
float3x3 b2 = float3x3(114.353943f, -464.405457f, -109.741455f, -311.675354f, 107.864014f, -258.795166f, 14.0975342f, -461.970184f, 30.3108521f);
float3x3 r2 = float3x3(146.057983f, 724.8174f, 370.153381f, 572.0873f, 152.547913f, 519.2071f, 246.314392f, 722.3821f, 230.101074f);
TestUtils.AreEqual(r2, a2 - b2);
float a3 = (63.70111f);
float3x3 b3 = float3x3(-462.676758f, 39.75946f, 47.99817f, -177.6193f, 202.477051f, -289.3088f, -459.9254f, 248.386658f, 85.32971f);
float3x3 r3 = float3x3(526.377869f, 23.94165f, 15.7029419f, 241.3204f, -138.77594f, 353.009918f, 523.6265f, -184.685547f, -21.6286011f);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void float3x3_operator_mul_wide_wide()
{
float3x3 a0 = float3x3(-482.7138f, -407.2935f, 137.700562f, 208.541138f, 194.29657f, -484.242432f, 183.9873f, -241.33548f, 45.8687744f);
float3x3 b0 = float3x3(-236.367889f, 260.7276f, -416.3863f, -364.4956f, -253.147522f, -369.202881f, 193.547913f, 169.0849f, 201.969666f);
float3x3 r0 = float3x3(114098.047f, -106192.656f, -57336.625f, -76012.33f, -49185.6953f, 178783.7f, 35610.36f, -40806.1836f, 9264.101f);
TestUtils.AreEqual(r0, a0 * b0);
float3x3 a1 = float3x3(363.3261f, -328.118958f, -471.023071f, -262.682556f, -379.262756f, -374.090576f, 481.4474f, 104.628052f, 412.935425f);
float3x3 b1 = float3x3(249.456055f, -308.193176f, -385.579651f, -183.2796f, 22.2756348f, -265.521423f, -95.67746f, 133.2544f, 148.311462f);
float3x3 r1 = float3x3(90633.9f, 101124.023f, 181616.9f, 48144.3555f, -8448.318f, 99329.06f, -46063.6641f, 13942.1475f, 61243.06f);
TestUtils.AreEqual(r1, a1 * b1);
float3x3 a2 = float3x3(477.877258f, 20.3778076f, 291.995972f, -138.488312f, -393.464966f, 9.363098f, -131.942291f, 364.449646f, 390.615967f);
float3x3 b2 = float3x3(249.284119f, 500.0055f, -19.3315735f, -36.69107f, 30.5238037f, -401.367f, 3.43725586f, 257.24176f, -290.971924f);
float3x3 r2 = float3x3(119127.211f, 10189.0156f, -5644.7417f, 5081.284f, -12010.0479f, -3758.03857f, -453.5194f, 93751.67f, -113658.281f);
TestUtils.AreEqual(r2, a2 * b2);
float3x3 a3 = float3x3(418.797974f, -277.3448f, 11.4101563f, 474.876465f, -502.405029f, -222.59491f, 38.1690674f, 292.6125f, 203.2077f);
float3x3 b3 = float3x3(337.47937f, 490.286133f, -191.0198f, -325.7345f, -52.1819763f, 123.435059f, -461.267059f, 122.353088f, 308.584656f);
float3x3 r3 = float3x3(141335.672f, -135978.3f, -2179.566f, -154683.641f, 26216.4883f, -27476.0156f, -17606.1328f, 35802.043f, 62706.7773f);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void float3x3_operator_mul_wide_scalar()
{
float3x3 a0 = float3x3(-96.31882f, -277.142273f, -239.93689f, 509.531433f, 255.8581f, 215.7315f, -455.50827f, -389.2433f, -338.29248f);
float b0 = (-301.2072f);
float3x3 r0 = float3x3(29011.9219f, 83477.25f, 72270.72f, -153474.547f, -77066.3047f, -64979.8867f, 137202.375f, 117242.883f, 101896.133f);
TestUtils.AreEqual(r0, a0 * b0);
float3x3 a1 = float3x3(53.7962646f, 135.354675f, -207.3501f, -383.9396f, -31.4252319f, 42.6761475f, 260.38385f, 176.867554f, 25.67212f);
float b1 = (243.757324f);
float3x3 r1 = float3x3(13113.2334f, 32993.6953f, -50543.1055f, -93588.09f, -7660.13037f, 10402.623f, 63470.47f, 43112.76f, 6257.767f);
TestUtils.AreEqual(r1, a1 * b1);
float3x3 a2 = float3x3(-290.5006f, -156.523315f, -208.402008f, 370.945068f, -341.59845f, 10.2703247f, -176.888763f, -61.0061035f, 186.279785f);
float b2 = (207.091f);
float3x3 r2 = float3x3(-60160.0625f, -32414.57f, -43158.18f, 76819.38f, -70741.97f, 2126.89185f, -36632.07f, -12633.8154f, 38576.8672f);
TestUtils.AreEqual(r2, a2 * b2);
float3x3 a3 = float3x3(-487.652222f, -317.7163f, -207.62735f, 388.8714f, -233.335327f, 128.415527f, 510.389526f, 267.576355f, -309.209656f);
float b3 = (-129.376831f);
float3x3 r3 = float3x3(63090.9f, 41105.13f, 26862.168f, -50310.95f, 30188.1855f, -16613.9941f, -66032.58f, -34618.18f, 40004.5664f);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void float3x3_operator_mul_scalar_wide()
{
float a0 = (37.43219f);
float3x3 b0 = float3x3(96.74756f, 492.185364f, -274.054565f, -452.870972f, 420.853333f, 102.182922f, -114.948883f, -351.120056f, -464.664978f);
float3x3 r0 = float3x3(3621.473f, 18423.5762f, -10258.4629f, -16951.9531f, 15753.4619f, 3824.93066f, -4302.78857f, -13143.1924f, -17393.4277f);
TestUtils.AreEqual(r0, a0 * b0);
float a1 = (444.084839f);
float3x3 b1 = float3x3(447.1053f, 130.829346f, -321.41333f, 445.301331f, 478.2436f, 358.571716f, -144.8901f, -438.893829f, -3.536438f);
float3x3 r1 = float3x3(198552.672f, 58099.33f, -142734.781f, 197751.563f, 212380.734f, 159236.266f, -64343.5f, -194906.1f, -1570.47852f);
TestUtils.AreEqual(r1, a1 * b1);
float a2 = (-471.807556f);
float3x3 b2 = float3x3(-42.5603943f, 119.911072f, 271.900024f, 239.684021f, 487.4414f, -79.18829f, -112.925659f, 161.370056f, 459.759155f);
float3x3 r2 = float3x3(20080.3164f, -56574.95f, -128284.484f, -113084.734f, -229978.531f, 37361.6367f, 53279.18f, -76135.61f, -216917.844f);
TestUtils.AreEqual(r2, a2 * b2);
float a3 = (-337.195984f);
float3x3 b3 = float3x3(-276.834534f, 469.723877f, -274.565155f, 506.7859f, 65.88257f, 495.855652f, -347.2796f, -343.606049f, -183.7038f);
float3x3 r3 = float3x3(93347.49f, -158389f, 92582.2656f, -170886.172f, -22215.3379f, -167200.531f, 117101.289f, 115862.578f, 61944.1836f);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void float3x3_operator_div_wide_wide()
{
float3x3 a0 = float3x3(-353.131439f, -102.799866f, 51.3191528f, -191.871674f, 8.041809f, -128.73764f, -136.0596f, -370.471f, -237.69455f);
float3x3 b0 = float3x3(-178.739563f, -302.096283f, -199.405823f, 278.850769f, 502.3376f, -361.484833f, 353.121033f, -38.894928f, -75.76474f);
float3x3 r0 = float3x3(1.97567582f, 0.34028843f, -0.257360339f, -0.688080132f, 0.0160087738f, 0.356135666f, -0.385305852f, 9.524919f, 3.1372714f);
TestUtils.AreEqual(r0, a0 / b0);
float3x3 a1 = float3x3(-432.546875f, 200.2655f, 361.4416f, -416.226135f, -450.0192f, -273.497437f, -286.908173f, -314.256042f, 177.762085f);
float3x3 b1 = float3x3(-195.217834f, -405.034f, -394.23f, -375.8277f, -121.245483f, 447.623352f, 338.286255f, -405.5442f, -431.168945f);
float3x3 r1 = float3x3(2.215714f, -0.4944412f, -0.9168292f, 1.107492f, 3.71163678f, -0.610999048f, -0.8481225f, 0.7748996f, -0.412279427f);
TestUtils.AreEqual(r1, a1 / b1);
float3x3 a2 = float3x3(97.6270142f, -68.10727f, -386.450745f, 263.699341f, -297.0271f, -501.777039f, -263.40686f, -451.080841f, -416.34552f);
float3x3 b2 = float3x3(296.205139f, 437.939819f, 39.2106323f, 331.289734f, -310.619568f, 207.26947f, -223.293f, -480.0914f, 448.675964f);
float3x3 r2 = float3x3(0.3295926f, -0.155517414f, -9.855764f, 0.795978f, 0.9562408f, -2.42089224f, 1.17964673f, 0.9395729f, -0.9279426f);
TestUtils.AreEqual(r2, a2 / b2);
float3x3 a3 = float3x3(-315.278748f, -28.1811218f, -397.870148f, -261.386658f, 40.3482056f, 277.245728f, 464.77124f, -336.641052f, 375.4781f);
float3x3 b3 = float3x3(-460.097443f, -220.569855f, -84.85315f, 441.373779f, 72.41846f, 44.9760742f, -242.515381f, -451.302063f, -21.8996887f);
float3x3 r3 = float3x3(0.6852434f, 0.127765059f, 4.688926f, -0.592211545f, 0.557153642f, 6.164294f, -1.91646087f, 0.7459329f, -17.14536f);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void float3x3_operator_div_wide_scalar()
{
float3x3 a0 = float3x3(171.3424f, 0.103393555f, 57.8882446f, -256.130737f, 95.66968f, -290.3869f, -127.4487f, -79.7449f, 146.466858f);
float b0 = (171.796814f);
float3x3 r0 = float3x3(0.997355f, 0.000601836247f, 0.3369576f, -1.49089336f, 0.5568769f, -1.69029272f, -0.7418572f, -0.4641815f, 0.8525586f);
TestUtils.AreEqual(r0, a0 / b0);
float3x3 a1 = float3x3(-499.843567f, -453.2058f, -205.033813f, 481.738159f, 464.479065f, -293.4635f, -158.505585f, -289.5822f, 494.1286f);
float b1 = (58.68634f);
float3x3 r1 = float3x3(-8.517204f, -7.72250938f, -3.493723f, 8.2086935f, 7.91460276f, -5.00054169f, -2.700894f, -4.934406f, 8.419823f);
TestUtils.AreEqual(r1, a1 / b1);
float3x3 a2 = float3x3(203.583435f, 259.1192f, 460.844727f, 490.956238f, -280.478058f, -320.243866f, 192.41449f, 264.800842f, 226.852966f);
float b2 = (180.9704f);
float3x3 r2 = float3x3(1.12495434f, 1.431832f, 2.54652f, 2.712909f, -1.549856f, -1.76959252f, 1.06323731f, 1.46322739f, 1.25353634f);
TestUtils.AreEqual(r2, a2 / b2);
float3x3 a3 = float3x3(-192.235687f, -437.8922f, -413.232727f, 249.471863f, 313.035034f, 216.785583f, 383.7389f, 82.0233154f, 189.574646f);
float b3 = (460.9765f);
float3x3 r3 = float3x3(-0.4170184f, -0.949923038f, -0.896429062f, 0.5411813f, 0.6790694f, 0.4702747f, 0.8324478f, 0.177933827f, 0.4112458f);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void float3x3_operator_div_scalar_wide()
{
float a0 = (-264.4425f);
float3x3 b0 = float3x3(105.589111f, -142.349091f, -288.9489f, 39.644104f, -363.9914f, -149.718231f, -395.729126f, 258.7187f, -9.66626f);
float3x3 r0 = float3x3(-2.50444865f, 1.85770416f, 0.9151877f, -6.670412f, 0.7265076f, 1.7662679f, 0.6682412f, -1.02212369f, 27.3572731f);
TestUtils.AreEqual(r0, a0 / b0);
float a1 = (117.725525f);
float3x3 b1 = float3x3(-331.386536f, -509.986023f, 427.896484f, 467.617126f, -407.124634f, 252.690735f, 444.599365f, -88.31329f, 199.955017f);
float3x3 r1 = float3x3(-0.355251372f, -0.230840683f, 0.2751262f, 0.251756221f, -0.289163351f, 0.465887785f, 0.264790148f, -1.33304417f, 0.58876f);
TestUtils.AreEqual(r1, a1 / b1);
float a2 = (-218.346924f);
float3x3 b2 = float3x3(-13.4171753f, -296.131073f, 0.561340332f, -289.299316f, 196.218323f, 334.733459f, -282.392731f, -479.5036f, -473.439453f);
float3x3 r2 = float3x3(16.2736874f, 0.737332046f, -388.974243f, 0.754744f, -1.11277544f, -0.652300835f, 0.7732031f, 0.455360353f, 0.4611929f);
TestUtils.AreEqual(r2, a2 / b2);
float a3 = (105.050781f);
float3x3 b3 = float3x3(-287.6313f, 77.29932f, -210.894379f, -184.068237f, -315.148438f, 87.86688f, 101.590515f, 345.9364f, -146.318115f);
float3x3 r3 = float3x3(-0.365227252f, 1.35901308f, -0.498120338f, -0.5707165f, -0.333337456f, 1.19556737f, 1.034061f, 0.3036708f, -0.71796155f);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void float3x3_operator_mod_wide_wide()
{
float3x3 a0 = float3x3(-388.8125f, 181.681213f, -167.078735f, 432.820129f, -258.438965f, -170.110809f, 283.3183f, 122.716492f, 335.271f);
float3x3 b0 = float3x3(436.944153f, 58.9400635f, -201.116241f, 279.289368f, -397.079773f, 377.899963f, 174.693848f, -228.176514f, -317.060181f);
float3x3 r0 = float3x3(-388.8125f, 4.861023f, -167.078735f, 153.530762f, -258.438965f, -170.110809f, 108.624451f, 122.716492f, 18.2108154f);
TestUtils.AreEqual(r0, a0 % b0);
float3x3 a1 = float3x3(-503.608521f, 191.022522f, 289.742676f, -124.033722f, 259.274f, -274.358459f, -140.030792f, 324.577576f, -200.513092f);
float3x3 b1 = float3x3(-417.4801f, -249.975952f, -397.571564f, -358.745453f, -198.15921f, 208.737122f, -12.1194153f, 25.2714233f, -194.1207f);
float3x3 r1 = float3x3(-86.12842f, 191.022522f, 289.742676f, -124.033722f, 61.1147766f, -65.62134f, -6.717224f, 21.3204956f, -6.392395f);
TestUtils.AreEqual(r1, a1 % b1);
float3x3 a2 = float3x3(211.423157f, -51.2722168f, -230.633911f, 99.98938f, 399.18988f, 24.90326f, 50.92401f, -364.863678f, -252.626617f);
float3x3 b2 = float3x3(-493.8718f, -312.3017f, -216.980591f, 413.570984f, -436.3944f, 3.491272f, -308.233429f, -441.375061f, 84.60083f);
float3x3 r2 = float3x3(211.423157f, -51.2722168f, -13.65332f, 99.98938f, 399.18988f, 0.464355469f, 50.92401f, -364.863678f, -83.42496f);
TestUtils.AreEqual(r2, a2 % b2);
float3x3 a3 = float3x3(-281.2898f, -364.798523f, -329.026245f, 51.6098022f, 41.6478271f, 254.95105f, -458.6776f, -136.79303f, 72.40033f);
float3x3 b3 = float3x3(373.163452f, 67.25275f, -320.333282f, 118.97937f, 44.8239746f, 354.0086f, -253.953125f, -195.162811f, 317.142822f);
float3x3 r3 = float3x3(-281.2898f, -28.53479f, -8.692963f, 51.6098022f, 41.6478271f, 254.95105f, -204.724487f, -136.79303f, 72.40033f);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void float3x3_operator_mod_wide_scalar()
{
float3x3 a0 = float3x3(-244.499634f, -211.8193f, -145.926788f, -304.9182f, 155.479492f, -133.907776f, 281.309631f, -226.535767f, 335.166138f);
float b0 = (39.63495f);
float3x3 r0 = float3x3(-6.68994141f, -13.6445618f, -27.0219421f, -27.4735718f, 36.574646f, -15.00293f, 3.86499023f, -28.3610229f, 18.0865479f);
TestUtils.AreEqual(r0, a0 % b0);
float3x3 a1 = float3x3(101.706482f, -285.4023f, -355.846863f, 259.378f, -330.871948f, -284.343567f, -102.683441f, -172.141754f, 206.41687f);
float b1 = (319.4715f);
float3x3 r1 = float3x3(101.706482f, -285.4023f, -36.3753662f, 259.378f, -11.4004517f, -284.343567f, -102.683441f, -172.141754f, 206.41687f);
TestUtils.AreEqual(r1, a1 % b1);
float3x3 a2 = float3x3(-416.713654f, 435.2975f, 132.552917f, 226.944092f, -306.1183f, 115.438477f, 281.882935f, -218.347443f, -140.0405f);
float b2 = (-339.256653f);
float3x3 r2 = float3x3(-77.457f, 96.04083f, 132.552917f, 226.944092f, -306.1183f, 115.438477f, 281.882935f, -218.347443f, -140.0405f);
TestUtils.AreEqual(r2, a2 % b2);
float3x3 a3 = float3x3(-462.3235f, 351.331055f, 321.047f, 346.0852f, -94.4077454f, 465.40918f, -367.197021f, -467.5106f, 415.2151f);
float b3 = (-211.6087f);
float3x3 r3 = float3x3(-39.10608f, 139.722351f, 109.438293f, 134.4765f, -94.4077454f, 42.1917725f, -155.588318f, -44.2931824f, 203.606384f);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void float3x3_operator_mod_scalar_wide()
{
float a0 = (-66.94504f);
float3x3 b0 = float3x3(-249.7761f, -396.073761f, 386.492065f, 168.939453f, -199.418243f, 261.7517f, 16.1274414f, 257.668152f, -75.78845f);
float3x3 r0 = float3x3(-66.94504f, -66.94504f, -66.94504f, -66.94504f, -66.94504f, -66.94504f, -2.43527222f, -66.94504f, -66.94504f);
TestUtils.AreEqual(r0, a0 % b0);
float a1 = (170.9563f);
float3x3 b1 = float3x3(-242.858276f, 425.9453f, 303.2724f, 3.033081f, -505.74353f, 461.957031f, 205.972778f, 270.040649f, -47.4807129f);
float3x3 r1 = float3x3(170.9563f, 170.9563f, 170.9563f, 1.10375977f, 170.9563f, 170.9563f, 170.9563f, 170.9563f, 28.51416f);
TestUtils.AreEqual(r1, a1 % b1);
float a2 = (-150.254486f);
float3x3 b2 = float3x3(149.499512f, -220.298035f, 31.1188354f, 400.635681f, 6.23144531f, -39.05075f, -71.9411f, -495.307129f, -86.7196045f);
float3x3 r2 = float3x3(-0.754974365f, -150.254486f, -25.7791443f, -150.254486f, -0.6997986f, -33.1022339f, -6.372284f, -150.254486f, -63.53488f);
TestUtils.AreEqual(r2, a2 % b2);
float a3 = (-436.970062f);
float3x3 b3 = float3x3(-472.294739f, -130.008759f, -251.516846f, 281.976379f, 388.86084f, 50.6152954f, 293.87085f, 123.744263f, 422.904358f);
float3x3 r3 = float3x3(-436.970062f, -46.9437866f, -185.453217f, -154.993683f, -48.1092224f, -32.0477f, -143.099213f, -65.7372742f, -14.0657043f);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void float3x3_operator_plus()
{
float3x3 a0 = float3x3(-418.829559f, -405.79895f, -34.04178f, 236.999268f, -459.8391f, 210.86145f, 293.742f, -373.015442f, -386.059845f);
float3x3 r0 = float3x3(-418.829559f, -405.79895f, -34.04178f, 236.999268f, -459.8391f, 210.86145f, 293.742f, -373.015442f, -386.059845f);
TestUtils.AreEqual(r0, +a0);
float3x3 a1 = float3x3(4.95440674f, 504.474854f, -170.746521f, 439.5594f, -478.7494f, 116.400757f, 421.409668f, -258.596069f, 447.8661f);
float3x3 r1 = float3x3(4.95440674f, 504.474854f, -170.746521f, 439.5594f, -478.7494f, 116.400757f, 421.409668f, -258.596069f, 447.8661f);
TestUtils.AreEqual(r1, +a1);
float3x3 a2 = float3x3(124.164368f, -65.94928f, 239.041809f, 498.449524f, -139.382538f, 279.072937f, 108.775818f, 37.9992065f, 136.812134f);
float3x3 r2 = float3x3(124.164368f, -65.94928f, 239.041809f, 498.449524f, -139.382538f, 279.072937f, 108.775818f, 37.9992065f, 136.812134f);
TestUtils.AreEqual(r2, +a2);
float3x3 a3 = float3x3(-236.030029f, 342.2791f, 102.472229f, -161.454834f, -355.270874f, 141.314331f, 239.320862f, -494.6041f, 361.59198f);
float3x3 r3 = float3x3(-236.030029f, 342.2791f, 102.472229f, -161.454834f, -355.270874f, 141.314331f, 239.320862f, -494.6041f, 361.59198f);
TestUtils.AreEqual(r3, +a3);
}
[TestCompiler]
public static void float3x3_operator_neg()
{
float3x3 a0 = float3x3(148.461731f, -467.122681f, 132.04718f, 183.522644f, 473.701f, -407.9911f, -54.95877f, -382.9898f, -299.093384f);
float3x3 r0 = float3x3(-148.461731f, 467.122681f, -132.04718f, -183.522644f, -473.701f, 407.9911f, 54.95877f, 382.9898f, 299.093384f);
TestUtils.AreEqual(r0, -a0);
float3x3 a1 = float3x3(-383.014069f, 168.735474f, 466.441528f, 171.902466f, -280.558319f, -78.857605f, 318.69635f, -39.9154053f, 140.340027f);
float3x3 r1 = float3x3(383.014069f, -168.735474f, -466.441528f, -171.902466f, 280.558319f, 78.857605f, -318.69635f, 39.9154053f, -140.340027f);
TestUtils.AreEqual(r1, -a1);
float3x3 a2 = float3x3(132.195618f, 410.380554f, -237.056946f, -137.617828f, -245.349976f, 422.521362f, -434.57135f, 60.22223f, -466.5663f);
float3x3 r2 = float3x3(-132.195618f, -410.380554f, 237.056946f, 137.617828f, 245.349976f, -422.521362f, 434.57135f, -60.22223f, 466.5663f);
TestUtils.AreEqual(r2, -a2);
float3x3 a3 = float3x3(426.894531f, -391.37207f, 423.237732f, 254.297546f, -114.848907f, 108.059692f, -507.9763f, -306.245728f, 219.66626f);
float3x3 r3 = float3x3(-426.894531f, 391.37207f, -423.237732f, -254.297546f, 114.848907f, -108.059692f, 507.9763f, 306.245728f, -219.66626f);
TestUtils.AreEqual(r3, -a3);
}
[TestCompiler]
public static void float3x3_operator_prefix_inc()
{
float3x3 a0 = float3x3(-139.842072f, -56.7436523f, -381.955322f, 509.796326f, -222.896332f, 210.319885f, -392.7315f, -300.1941f, 362.212769f);
float3x3 r0 = float3x3(-138.842072f, -55.7436523f, -380.955322f, 510.796326f, -221.896332f, 211.319885f, -391.7315f, -299.1941f, 363.212769f);
TestUtils.AreEqual(r0, ++a0);
float3x3 a1 = float3x3(401.6148f, -450.230164f, 243.546936f, 46.1920166f, -41.4972839f, 299.1855f, 154.356567f, -281.233276f, 200.706f);
float3x3 r1 = float3x3(402.6148f, -449.230164f, 244.546936f, 47.1920166f, -40.4972839f, 300.1855f, 155.356567f, -280.233276f, 201.706f);
TestUtils.AreEqual(r1, ++a1);
float3x3 a2 = float3x3(92.95776f, -295.587f, 18.4990845f, -215.711121f, 471.947266f, 257.0766f, 41.6259155f, 4.82543945f, 243.004761f);
float3x3 r2 = float3x3(93.95776f, -294.587f, 19.4990845f, -214.711121f, 472.947266f, 258.0766f, 42.6259155f, 5.82543945f, 244.004761f);
TestUtils.AreEqual(r2, ++a2);
float3x3 a3 = float3x3(-472.619019f, -477.459564f, 9.89147949f, -76.92285f, -29.7675781f, -387.177429f, 461.7093f, 13.699707f, -46.303772f);
float3x3 r3 = float3x3(-471.619019f, -476.459564f, 10.8914795f, -75.92285f, -28.7675781f, -386.177429f, 462.7093f, 14.699707f, -45.303772f);
TestUtils.AreEqual(r3, ++a3);
}
[TestCompiler]
public static void float3x3_operator_postfix_inc()
{
float3x3 a0 = float3x3(-396.669739f, 511.20752f, 249.111267f, -128.817322f, -259.4903f, 278.008179f, -81.39343f, 66.71973f, 167.852112f);
float3x3 r0 = float3x3(-396.669739f, 511.20752f, 249.111267f, -128.817322f, -259.4903f, 278.008179f, -81.39343f, 66.71973f, 167.852112f);
TestUtils.AreEqual(r0, a0++);
float3x3 a1 = float3x3(147.94397f, 41.03357f, 128.5304f, 73.15558f, -60.1323853f, -446.229767f, -296.937836f, 267.293823f, 446.2293f);
float3x3 r1 = float3x3(147.94397f, 41.03357f, 128.5304f, 73.15558f, -60.1323853f, -446.229767f, -296.937836f, 267.293823f, 446.2293f);
TestUtils.AreEqual(r1, a1++);
float3x3 a2 = float3x3(49.2001953f, -510.864227f, 471.647461f, -171.013092f, 310.727356f, -298.917175f, 489.985f, 184.603455f, 290.69104f);
float3x3 r2 = float3x3(49.2001953f, -510.864227f, 471.647461f, -171.013092f, 310.727356f, -298.917175f, 489.985f, 184.603455f, 290.69104f);
TestUtils.AreEqual(r2, a2++);
float3x3 a3 = float3x3(117.192322f, 412.3678f, -229.386566f, 239.596924f, 36.62433f, -80.70819f, -391.0335f, -478.227142f, 166.860474f);
float3x3 r3 = float3x3(117.192322f, 412.3678f, -229.386566f, 239.596924f, 36.62433f, -80.70819f, -391.0335f, -478.227142f, 166.860474f);
TestUtils.AreEqual(r3, a3++);
}
[TestCompiler]
public static void float3x3_operator_prefix_dec()
{
float3x3 a0 = float3x3(123.128723f, 256.84375f, 156.330811f, 461.737427f, 325.867981f, 392.015625f, 187.874146f, -236.225189f, 125.109619f);
float3x3 r0 = float3x3(122.128723f, 255.84375f, 155.330811f, 460.737427f, 324.867981f, 391.015625f, 186.874146f, -237.225189f, 124.109619f);
TestUtils.AreEqual(r0, --a0);
float3x3 a1 = float3x3(469.844727f, 376.046875f, -363.0755f, -22.0289612f, 248.7901f, 168.095032f, 168.265625f, -190.284729f, 166.945557f);
float3x3 r1 = float3x3(468.844727f, 375.046875f, -364.0755f, -23.0289612f, 247.7901f, 167.095032f, 167.265625f, -191.284729f, 165.945557f);
TestUtils.AreEqual(r1, --a1);
float3x3 a2 = float3x3(183.957947f, -460.739319f, 89.5698853f, -267.4298f, 201.756226f, -141.216888f, -217.4841f, 197.361755f, -213.544128f);
float3x3 r2 = float3x3(182.957947f, -461.739319f, 88.5698853f, -268.4298f, 200.756226f, -142.216888f, -218.4841f, 196.361755f, -214.544128f);
TestUtils.AreEqual(r2, --a2);
float3x3 a3 = float3x3(180.7406f, 478.045532f, -454.566132f, -386.898346f, 387.857f, -315.110443f, -108.28656f, -286.317017f, -375.601563f);
float3x3 r3 = float3x3(179.7406f, 477.045532f, -455.566132f, -387.898346f, 386.857f, -316.110443f, -109.28656f, -287.317017f, -376.601563f);
TestUtils.AreEqual(r3, --a3);
}
[TestCompiler]
public static void float3x3_operator_postfix_dec()
{
float3x3 a0 = float3x3(379.6883f, 302.692871f, -176.07135f, -291.2527f, 470.567566f, -402.925964f, -63.65515f, 355.2611f, -27.8892212f);
float3x3 r0 = float3x3(379.6883f, 302.692871f, -176.07135f, -291.2527f, 470.567566f, -402.925964f, -63.65515f, 355.2611f, -27.8892212f);
TestUtils.AreEqual(r0, a0--);
float3x3 a1 = float3x3(-100.761841f, 479.9452f, -200.304291f, -445.026947f, 407.420349f, 327.670349f, 48.06018f, -209.667969f, -38.43506f);
float3x3 r1 = float3x3(-100.761841f, 479.9452f, -200.304291f, -445.026947f, 407.420349f, 327.670349f, 48.06018f, -209.667969f, -38.43506f);
TestUtils.AreEqual(r1, a1--);
float3x3 a2 = float3x3(283.9416f, 152.510681f, -287.2625f, -215.948029f, -407.046356f, 159.233582f, -359.456482f, 168.41394f, -278.933777f);
float3x3 r2 = float3x3(283.9416f, 152.510681f, -287.2625f, -215.948029f, -407.046356f, 159.233582f, -359.456482f, 168.41394f, -278.933777f);
TestUtils.AreEqual(r2, a2--);
float3x3 a3 = float3x3(289.912842f, 470.716553f, -208.560608f, 145.896729f, -296.790955f, -274.570831f, -250.04126f, -70.85629f, -485.627838f);
float3x3 r3 = float3x3(289.912842f, 470.716553f, -208.560608f, 145.896729f, -296.790955f, -274.570831f, -250.04126f, -70.85629f, -485.627838f);
TestUtils.AreEqual(r3, a3--);
}
}
}

View File

@@ -0,0 +1,949 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using NUnit.Framework;
using static Unity.Mathematics.math;
using Burst.Compiler.IL.Tests;
namespace Unity.Mathematics.Tests
{
[TestFixture]
public class TestFloat3x4
{
[TestCompiler]
public static void float3x4_zero()
{
TestUtils.AreEqual(0.0f, float3x4.zero.c0.x);
TestUtils.AreEqual(0.0f, float3x4.zero.c0.y);
TestUtils.AreEqual(0.0f, float3x4.zero.c0.z);
TestUtils.AreEqual(0.0f, float3x4.zero.c1.x);
TestUtils.AreEqual(0.0f, float3x4.zero.c1.y);
TestUtils.AreEqual(0.0f, float3x4.zero.c1.z);
TestUtils.AreEqual(0.0f, float3x4.zero.c2.x);
TestUtils.AreEqual(0.0f, float3x4.zero.c2.y);
TestUtils.AreEqual(0.0f, float3x4.zero.c2.z);
TestUtils.AreEqual(0.0f, float3x4.zero.c3.x);
TestUtils.AreEqual(0.0f, float3x4.zero.c3.y);
TestUtils.AreEqual(0.0f, float3x4.zero.c3.z);
}
[TestCompiler]
public static void float3x4_operator_equal_wide_wide()
{
float3x4 a0 = float3x4(492.1576f, -495.206329f, 227.457642f, -147.374054f, -222.682f, 64.09375f, -23.8904114f, -16.8197327f, 163.232117f, -165.271f, 470.8777f, -423.942566f);
float3x4 b0 = float3x4(192.568787f, -235.611023f, -254.043121f, -412.624725f, 471.9048f, -6.47277832f, -339.102356f, 488.187561f, -379.5966f, -308.417f, -82.333374f, -102.921082f);
bool3x4 r0 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
float3x4 a1 = float3x4(109.6344f, 462.6903f, -335.38147f, 357.2345f, 1.54559326f, -347.388245f, -114.472168f, 435.848633f, 194.2381f, 138.765564f, -467.349152f, 370.43335f);
float3x4 b1 = float3x4(226.515747f, -356.9013f, -362.912781f, -427.898438f, 466.650146f, -102.799042f, -43.355957f, 85.0456543f, -91.1270447f, 422.192078f, -477.4313f, 1.87701416f);
bool3x4 r1 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
float3x4 a2 = float3x4(476.708252f, 320.552673f, -498.59198f, 92.41693f, 104.511353f, 166.754578f, -204.733429f, 434.756775f, -397.329651f, 503.981628f, -503.7141f, 90.65973f);
float3x4 b2 = float3x4(312.580078f, 254.599365f, 352.72583f, 62.4909668f, 119.714783f, -511.058075f, -302.472717f, -371.769226f, -20.007843f, 21.4594727f, -426.0207f, -305.411926f);
bool3x4 r2 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
float3x4 a3 = float3x4(-303.445251f, 9.34491f, 290.901062f, -147.57193f, 368.082336f, -321.6096f, -171.465424f, -441.306458f, -137.766815f, 304.689575f, 301.889465f, -222.220917f);
float3x4 b3 = float3x4(261.68335f, 50.00476f, -334.134644f, 75.0656738f, -51.186676f, -135.961548f, -409.364868f, 160.819763f, 102.120789f, 277.813049f, 434.906738f, -15.2891846f);
bool3x4 r3 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void float3x4_operator_equal_wide_scalar()
{
float3x4 a0 = float3x4(-303.230072f, 451.5263f, -253.655884f, -105.203644f, -500.6911f, -426.192474f, 159.8761f, -59.55838f, -57.4773865f, -182.049744f, 406.513733f, 370.886f);
float b0 = (123.544556f);
bool3x4 r0 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
float3x4 a1 = float3x4(-172.035309f, -11.3389893f, 363.938232f, -27.1505737f, -325.976074f, -290.359039f, 180.196838f, -374.128326f, -439.358948f, -126.546082f, -197.26178f, -227.159332f);
float b1 = (455.400024f);
bool3x4 r1 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
float3x4 a2 = float3x4(-479.8992f, -495.237335f, -224.517059f, -422.833221f, -450.196259f, -20.10672f, 297.38f, 185.966553f, -102.975983f, -220.597046f, -228.686859f, -333.001282f);
float b2 = (-439.777679f);
bool3x4 r2 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
float3x4 a3 = float3x4(434.213f, -239.869781f, 380.93927f, 90.34949f, -361.327942f, -453.599945f, 157.732483f, -491.0462f, 296.614258f, 482.265137f, -305.876984f, -290.1021f);
float b3 = (406.248718f);
bool3x4 r3 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void float3x4_operator_equal_scalar_wide()
{
float a0 = (-253.397278f);
float3x4 b0 = float3x4(19.95221f, -185.791992f, 407.8136f, -87.2767f, -206.274689f, 160.503113f, -274.7708f, -2.63153076f, 448.354553f, -410.035248f, 247.329041f, 355.539124f);
bool3x4 r0 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
float a1 = (-298.0667f);
float3x4 b1 = float3x4(414.1015f, -481.3026f, 196.55072f, 34.6010132f, 113.7616f, -386.453369f, -124.49176f, 243.886658f, -492.6182f, 145.424438f, 421.55072f, -95.40997f);
bool3x4 r1 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
float a2 = (336.809265f);
float3x4 b2 = float3x4(209.5838f, 487.4414f, 161.806519f, 149.842468f, 225.724f, -71.21881f, 85.78027f, 192.547241f, -49.88748f, -229.801971f, -103.407349f, 19.21576f);
bool3x4 r2 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
float a3 = (492.8811f);
float3x4 b3 = float3x4(140.403137f, -267.536438f, 125.972717f, 478.0005f, 116.144592f, -368.957764f, -225.028656f, 2.723755f, -452.2632f, 87.45654f, 401.306519f, -18.6455383f);
bool3x4 r3 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void float3x4_operator_not_equal_wide_wide()
{
float3x4 a0 = float3x4(430.842529f, 104.69f, 225.802429f, -310.5702f, -418.619446f, 304.128174f, -509.3268f, -160.538086f, -203.301971f, -505.763245f, 162.17218f, 1.156189f);
float3x4 b0 = float3x4(210.024719f, -55.20334f, -269.925354f, -234.546722f, 25.91742f, -63.72699f, -484.5537f, -425.3336f, -53.2743835f, 328.1944f, 15.9631348f, 461.7141f);
bool3x4 r0 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
float3x4 a1 = float3x4(65.66205f, 102.787781f, 172.930054f, 26.6210327f, 235.125977f, 128.541992f, -354.996979f, 334.3595f, -495.832f, 468.307373f, 458.370972f, 299.937317f);
float3x4 b1 = float3x4(-113.363037f, -240.072968f, 495.119141f, 203.55835f, 340.493469f, -241.9072f, 459.569824f, 213.07373f, -384.782837f, -255.072327f, 477.663452f, -248.036621f);
bool3x4 r1 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
float3x4 a2 = float3x4(43.1271973f, -354.7135f, -145.2872f, 390.80188f, -303.13147f, 391.134583f, 139.286865f, 104.523193f, 511.2964f, 213.147034f, -101.0957f, 441.6634f);
float3x4 b2 = float3x4(-407.923462f, -199.788879f, 151.843262f, -97.1206055f, 154.975891f, -172.834534f, 441.5028f, -401.738617f, -411.430176f, -337.820282f, -430.6309f, -150.8718f);
bool3x4 r2 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
float3x4 a3 = float3x4(124.36615f, 312.026428f, 59.65576f, -508.65683f, 98.699646f, 228.799866f, 337.832642f, -163.154449f, 461.6916f, -450.7757f, -443.564758f, -438.213135f);
float3x4 b3 = float3x4(-206.837f, 34.95508f, -255.771454f, 99.99866f, -161.175568f, 68.8535156f, -285.590118f, -428.717316f, -286.3374f, 2.02709961f, -4.80599976f, -425.3348f);
bool3x4 r3 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void float3x4_operator_not_equal_wide_scalar()
{
float3x4 a0 = float3x4(-16.9145813f, 168.8341f, -462.713531f, 130.307739f, 214.501587f, -440.263275f, -197.12796f, -169.099854f, -386.611176f, -281.021f, -270.26886f, -403.9637f);
float b0 = (-145.372772f);
bool3x4 r0 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
float3x4 a1 = float3x4(-269.805725f, -71.7509155f, -432.755737f, -457.363129f, -13.5195923f, 273.873047f, 185.04248f, -482.5307f, 116.395142f, 511.735f, 230.5075f, 100.27478f);
float b1 = (299.654236f);
bool3x4 r1 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
float3x4 a2 = float3x4(129.682434f, -220.639f, 140.3352f, 369.212341f, 453.811218f, -333.66626f, -373.937744f, 150.204285f, -442.164764f, 372.32f, -95.83798f, 495.5667f);
float b2 = (321.178772f);
bool3x4 r2 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
float3x4 a3 = float3x4(-5.3855896f, -459.612732f, 243.309082f, 314.102173f, 96.7449951f, -168.161926f, -71.90546f, 216.608459f, -377.3738f, 142.35498f, -432.272552f, 94.29083f);
float b3 = (-210.502991f);
bool3x4 r3 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void float3x4_operator_not_equal_scalar_wide()
{
float a0 = (275.795837f);
float3x4 b0 = float3x4(-57.1969f, -382.432526f, 97.82037f, -161.463654f, -458.39563f, -499.617859f, 327.92218f, 367.571228f, 59.786377f, -209.580688f, -62.5804443f, -479.974976f);
bool3x4 r0 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
float a1 = (-49.4945068f);
float3x4 b1 = float3x4(-114.685211f, 109.93927f, -176.284821f, -347.4853f, 85.5409546f, -356.659546f, -104.243561f, -133.5492f, 243.539734f, 13.1412964f, -379.985962f, -41.28122f);
bool3x4 r1 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
float a2 = (87.91168f);
float3x4 b2 = float3x4(-339.077271f, -371.820343f, 333.1443f, 294.811951f, -187.14566f, 220.192261f, -228.182068f, -499.723724f, 97.40588f, 501.60437f, 459.6754f, 158.098145f);
bool3x4 r2 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
float a3 = (358.4886f);
float3x4 b3 = float3x4(243.512573f, 336.702942f, 89.953125f, -65.57837f, -159.260162f, 410.588562f, 123.963013f, -239.625122f, -299.42984f, -491.2919f, 207.71167f, 271.5655f);
bool3x4 r3 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void float3x4_operator_less_wide_wide()
{
float3x4 a0 = float3x4(196.84259f, 336.4098f, 251.963745f, 257.655945f, 430.0459f, -62.4196472f, 8.839233f, -333.8167f, 164.678833f, -350.9449f, 3.84143066f, 125.409729f);
float3x4 b0 = float3x4(-465.345032f, -256.1524f, -314.814026f, 364.5667f, 100.21051f, 182.560974f, 3.11700439f, -259.430481f, -437.3349f, -456.043732f, -394.255981f, 401.9137f);
bool3x4 r0 = bool3x4(false, false, false, true, false, true, false, true, false, false, false, true);
TestUtils.AreEqual(r0, a0 < b0);
float3x4 a1 = float3x4(-111.129944f, 70.00549f, 448.1983f, -419.987122f, -258.301666f, -34.8322144f, -69.8594055f, 67.76721f, -139.777283f, 385.434631f, 133.7074f, 506.188354f);
float3x4 b1 = float3x4(313.439148f, 121.286682f, -28.0122986f, -282.965881f, 330.0644f, 124.099365f, -183.6903f, 373.0608f, 109.750916f, -203.57135f, 45.64868f, -360.952271f);
bool3x4 r1 = bool3x4(true, true, false, true, true, true, false, true, true, false, false, false);
TestUtils.AreEqual(r1, a1 < b1);
float3x4 a2 = float3x4(34.44287f, 412.1137f, -84.8097839f, 444.785339f, -78.75473f, 366.977539f, 127.180481f, 428.368469f, 8.197632f, -71.13736f, -474.0508f, 322.4289f);
float3x4 b2 = float3x4(211.913086f, -313.286377f, -259.661072f, 79.09851f, 446.4961f, 450.524536f, -375.630768f, -53.9418335f, -291.453735f, 190.774841f, 54.0839233f, -163.63089f);
bool3x4 r2 = bool3x4(true, false, false, false, true, true, false, false, false, true, true, false);
TestUtils.AreEqual(r2, a2 < b2);
float3x4 a3 = float3x4(6.897888f, 195.733582f, -267.6906f, -243.7937f, 319.2508f, -425.1562f, 71.87396f, 313.843872f, 397.279053f, -309.145874f, -38.6678467f, -266.1197f);
float3x4 b3 = float3x4(-212.005646f, 406.0905f, -183.018951f, 355.221375f, -81.0422058f, -275.7148f, 405.299255f, -510.6406f, 398.069275f, -4.35549927f, 129.242676f, -276.146545f);
bool3x4 r3 = bool3x4(false, true, true, true, false, true, true, false, true, true, true, false);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void float3x4_operator_less_wide_scalar()
{
float3x4 a0 = float3x4(-132.057312f, -192.465f, -66.8345947f, -379.017517f, -360.2824f, 20.9278564f, -158.240753f, 437.3459f, -20.4526062f, 225.2915f, 307.4842f, 274.015259f);
float b0 = (-156.010223f);
bool3x4 r0 = bool3x4(false, true, false, true, true, false, true, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 < b0);
float3x4 a1 = float3x4(373.549683f, 105.030151f, -58.0108948f, 109.670105f, -108.85318f, -44.9712524f, 140.426086f, -500.0883f, 172.103333f, -197.500732f, -7.271515f, -432.9905f);
float b1 = (398.523682f);
bool3x4 r1 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 < b1);
float3x4 a2 = float3x4(62.1583252f, -377.852325f, -500.255737f, 149.11499f, 119.880615f, 202.63916f, 274.950684f, 66.41205f, 274.999451f, -149.6358f, 223.758728f, 73.2668457f);
float b2 = (-72.25473f);
bool3x4 r2 = bool3x4(false, true, true, false, false, false, false, false, false, true, false, false);
TestUtils.AreEqual(r2, a2 < b2);
float3x4 a3 = float3x4(213.094971f, 418.3772f, 421.103577f, -187.16684f, 389.109436f, 401.335449f, -106.285065f, 380.607971f, 385.652832f, 120.659851f, -13.8308716f, -500.1271f);
float b3 = (322.8595f);
bool3x4 r3 = bool3x4(true, false, false, true, false, false, true, false, false, true, true, true);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void float3x4_operator_less_scalar_wide()
{
float a0 = (-423.1174f);
float3x4 b0 = float3x4(385.094849f, -123.933472f, 86.37659f, 133.4422f, 161.457947f, 229.754272f, 222.5716f, 315.5312f, -447.203522f, 271.833862f, -393.605316f, 317.486877f);
bool3x4 r0 = bool3x4(true, true, true, true, true, true, true, true, false, true, true, true);
TestUtils.AreEqual(r0, a0 < b0);
float a1 = (-164.6051f);
float3x4 b1 = float3x4(-282.876038f, 296.979553f, -254.401154f, 365.6156f, -441.984253f, -131.42865f, 442.628967f, -29.7928467f, -138.37381f, 9.21698f, -226.73056f, 171.029419f);
bool3x4 r1 = bool3x4(false, true, false, true, false, true, true, true, true, true, false, true);
TestUtils.AreEqual(r1, a1 < b1);
float a2 = (376.625244f);
float3x4 b2 = float3x4(-462.5887f, -142.36731f, -456.253784f, 66.61023f, 169.378784f, 327.4444f, 64.08795f, -153.5039f, 199.380127f, -244.969055f, 472.743835f, -363.7801f);
bool3x4 r2 = bool3x4(false, false, false, false, false, false, false, false, false, false, true, false);
TestUtils.AreEqual(r2, a2 < b2);
float a3 = (-179.487518f);
float3x4 b3 = float3x4(-83.42514f, 178.886475f, 62.15576f, 409.746765f, -117.163666f, 316.601685f, 285.5163f, 18.6745f, 282.5293f, 132.923767f, -318.215332f, 314.8399f);
bool3x4 r3 = bool3x4(true, true, true, true, true, true, true, true, true, true, false, true);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void float3x4_operator_greater_wide_wide()
{
float3x4 a0 = float3x4(483.5014f, 310.8156f, 106.966187f, 295.7353f, 116.957581f, -478.299774f, -14.8974f, -33.8174438f, -24.74054f, 319.782654f, -120.158569f, -289.008575f);
float3x4 b0 = float3x4(-471.398f, -371.9853f, 36.9006958f, -316.7636f, 19.6830444f, 207.309143f, 362.7975f, 324.95343f, 340.948059f, 25.9860229f, -114.211121f, 240.803467f);
bool3x4 r0 = bool3x4(true, true, true, true, true, false, false, false, false, true, false, false);
TestUtils.AreEqual(r0, a0 > b0);
float3x4 a1 = float3x4(455.85144f, 144.706909f, 63.9320068f, -285.683044f, -502.090729f, -337.194458f, 474.317322f, -507.1451f, -133.565582f, -443.109131f, -464.34137f, -68.36154f);
float3x4 b1 = float3x4(273.422424f, 325.515747f, 27.3410645f, 64.47955f, 200.948364f, 100.122681f, -79.00711f, -315.137939f, -122.985443f, -163.7792f, -492.566f, -90.79727f);
bool3x4 r1 = bool3x4(true, false, true, false, false, false, true, false, false, false, true, true);
TestUtils.AreEqual(r1, a1 > b1);
float3x4 a2 = float3x4(-185.993011f, -157.8039f, -74.12424f, -94.47116f, 329.610535f, -315.836731f, 404.1938f, 131.304382f, -206.633911f, 197.399841f, 187.991943f, 362.636047f);
float3x4 b2 = float3x4(-284.901245f, -23.6536865f, 174.93f, 85.7125244f, -441.987823f, 345.543762f, 482.219482f, -422.383484f, -30.7792969f, 296.154236f, 378.059875f, -457.733429f);
bool3x4 r2 = bool3x4(true, false, false, false, true, false, false, true, false, false, false, true);
TestUtils.AreEqual(r2, a2 > b2);
float3x4 a3 = float3x4(336.0932f, -352.448364f, -183.10199f, 193.144836f, -170.216f, -0.491241455f, -326.855042f, -373.39624f, -216.580475f, 282.5121f, -275.170349f, -207.331757f);
float3x4 b3 = float3x4(122.920593f, -509.173126f, 386.77063f, 436.41748f, -276.495819f, -163.166779f, 249.970642f, -165.020752f, 89.09302f, 404.305176f, -340.688843f, -103.785095f);
bool3x4 r3 = bool3x4(true, true, false, false, true, true, false, false, false, false, true, false);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void float3x4_operator_greater_wide_scalar()
{
float3x4 a0 = float3x4(64.31793f, -397.703461f, 431.8769f, 85.703f, 246.263062f, 197.491577f, 286.199463f, 280.813354f, -405.7846f, 171.565369f, -241.807281f, 333.5782f);
float b0 = (305.859924f);
bool3x4 r0 = bool3x4(false, false, true, false, false, false, false, false, false, false, false, true);
TestUtils.AreEqual(r0, a0 > b0);
float3x4 a1 = float3x4(370.279175f, -356.592346f, -353.0313f, 396.645325f, 467.222046f, -240.013428f, 502.915039f, 315.4676f, -259.2897f, 281.230652f, 428.792175f, 245.153076f);
float b1 = (-413.7014f);
bool3x4 r1 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 > b1);
float3x4 a2 = float3x4(-279.1754f, -124.771545f, -425.652924f, 99.13287f, 355.060547f, -456.439423f, 154.489014f, 405.529724f, -157.7338f, 186.0863f, 249.999084f, -110.096924f);
float b2 = (-453.8631f);
bool3x4 r2 = bool3x4(true, true, true, true, true, false, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 > b2);
float3x4 a3 = float3x4(-435.3045f, -254.346558f, -428.987946f, 255.373657f, -309.1123f, 185.501587f, -201.334167f, 23.321167f, -143.9761f, -111.77951f, -356.656616f, -318.313568f);
float b3 = (72.7520142f);
bool3x4 r3 = bool3x4(false, false, false, true, false, true, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void float3x4_operator_greater_scalar_wide()
{
float a0 = (-282.6705f);
float3x4 b0 = float3x4(358.099976f, -72.596405f, -232.163788f, -60.7067261f, 75.15662f, 150.883484f, 339.539185f, -498.196045f, 459.7461f, -227.968719f, 335.862122f, 76.17883f);
bool3x4 r0 = bool3x4(false, false, false, false, false, false, false, true, false, false, false, false);
TestUtils.AreEqual(r0, a0 > b0);
float a1 = (296.859924f);
float3x4 b1 = float3x4(177.48999f, -281.2012f, 244.722839f, 137.328552f, -385.338257f, 443.163452f, -353.562561f, 26.04065f, -331.793945f, -43.6919556f, 20.9494019f, -211.17984f);
bool3x4 r1 = bool3x4(true, true, true, true, true, false, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 > b1);
float a2 = (227.421692f);
float3x4 b2 = float3x4(-84.7797852f, -375.1355f, -205.178131f, -197.04715f, -219.634033f, -210.015625f, -266.7737f, 144.7785f, -471.7112f, -155.913177f, 99.72473f, -230.944855f);
bool3x4 r2 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 > b2);
float a3 = (-338.8689f);
float3x4 b3 = float3x4(334.068237f, -158.660858f, -315.018219f, -177.19281f, 171.95929f, 198.38916f, 303.678345f, 400.6996f, 351.878662f, -31.7696533f, 386.0733f, -360.348877f);
bool3x4 r3 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, true);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void float3x4_operator_less_equal_wide_wide()
{
float3x4 a0 = float3x4(-438.523132f, 210.489441f, 4.87731934f, -137.297943f, 156.094116f, -363.924133f, -97.94849f, 437.2954f, 458.530273f, -294.064758f, 23.62262f, -34.2840576f);
float3x4 b0 = float3x4(-474.814148f, 304.371033f, 234.824158f, -390.485443f, -297.175354f, -326.2924f, 107.253906f, -413.131073f, 67.09442f, 470.075256f, -84.499115f, 392.784241f);
bool3x4 r0 = bool3x4(false, true, true, false, false, true, true, false, false, true, false, true);
TestUtils.AreEqual(r0, a0 <= b0);
float3x4 a1 = float3x4(149.736511f, -418.8867f, -197.502533f, -88.2055054f, -376.71814f, 341.627136f, -83.30917f, -107.490723f, 319.466858f, 205.357361f, 345.563721f, 395.3219f);
float3x4 b1 = float3x4(-263.531738f, 369.3009f, -333.3253f, 238.413452f, 486.2426f, 279.6502f, 236.052f, 132.758972f, 66.29474f, 183.002136f, 200.130554f, 339.043823f);
bool3x4 r1 = bool3x4(false, true, false, true, true, false, true, true, false, false, false, false);
TestUtils.AreEqual(r1, a1 <= b1);
float3x4 a2 = float3x4(-222.874146f, 439.022034f, -368.075562f, -200.0386f, 71.46991f, -357.365417f, 141.710876f, 319.0171f, 303.030151f, -461.574249f, 277.62677f, 182.1781f);
float3x4 b2 = float3x4(438.5379f, 145.401855f, 178.163086f, 157.975952f, 329.7052f, -243.590912f, 5.401184f, -22.5805969f, -90.3375854f, -72.19107f, -354.354828f, -289.521729f);
bool3x4 r2 = bool3x4(true, false, true, true, true, true, false, false, false, true, false, false);
TestUtils.AreEqual(r2, a2 <= b2);
float3x4 a3 = float3x4(-337.414856f, -361.391663f, 222.1435f, -464.7795f, -146.853668f, 80.17505f, -260.3473f, 94.48901f, 174.281189f, -303.8197f, 81.41742f, 503.048157f);
float3x4 b3 = float3x4(85.17627f, 469.327881f, 294.7138f, 461.605957f, -245.930481f, -124.040436f, 278.392639f, -42.8812561f, -328.348816f, 98.9855957f, -375.899841f, -197.934265f);
bool3x4 r3 = bool3x4(true, true, true, true, false, false, true, false, false, true, false, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void float3x4_operator_less_equal_wide_scalar()
{
float3x4 a0 = float3x4(193.49585f, 168.915527f, -313.993073f, 81.8269653f, 18.5036011f, -0.3581848f, 241.361145f, -463.8164f, -1.35775757f, -268.899475f, 398.991943f, -471.253082f);
float b0 = (443.850525f);
bool3x4 r0 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 <= b0);
float3x4 a1 = float3x4(-264.9378f, 11.2460327f, 424.704041f, 426.482239f, 56.3200073f, -196.2879f, 31.9011841f, -152.257568f, -437.926453f, -37.1048279f, -47.1442261f, 333.623047f);
float b1 = (82.2583f);
bool3x4 r1 = bool3x4(true, true, false, false, true, true, true, true, true, true, true, false);
TestUtils.AreEqual(r1, a1 <= b1);
float3x4 a2 = float3x4(-274.8039f, -260.460571f, 192.309143f, 145.306091f, -466.132965f, -494.267334f, -111.570129f, -139.5412f, -146.589355f, 33.98401f, -445.704468f, -451.0422f);
float b2 = (358.67627f);
bool3x4 r2 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 <= b2);
float3x4 a3 = float3x4(-122.039276f, -202.465515f, -76.56488f, 218.032776f, -103.53595f, -283.358429f, -374.761658f, -213.49588f, 477.491821f, -383.370056f, 23.9649658f, -5.960785f);
float b3 = (83.3277f);
bool3x4 r3 = bool3x4(true, true, true, false, true, true, true, true, false, true, true, true);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void float3x4_operator_less_equal_scalar_wide()
{
float a0 = (393.606262f);
float3x4 b0 = float3x4(-75.6883545f, -44.2638855f, 125.864929f, 191.9649f, 13.54303f, -197.051941f, -423.9451f, -330.0486f, 420.165527f, 105.5473f, 174.821289f, 296.7176f);
bool3x4 r0 = bool3x4(false, false, false, false, false, false, false, false, true, false, false, false);
TestUtils.AreEqual(r0, a0 <= b0);
float a1 = (-469.7004f);
float3x4 b1 = float3x4(123.267212f, 112.996948f, 495.143372f, -488.6579f, 388.539429f, -493.240784f, 16.45105f, -387.651642f, -229.1773f, -373.01532f, -391.142151f, 90.99414f);
bool3x4 r1 = bool3x4(true, true, true, false, true, false, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 <= b1);
float a2 = (-178.396149f);
float3x4 b2 = float3x4(-69.62106f, 471.790833f, -67.46677f, 45.30536f, -154.6922f, 385.7389f, -431.652954f, -331.673035f, -349.8927f, -114.839142f, -245.217834f, -486.6955f);
bool3x4 r2 = bool3x4(true, true, true, true, true, true, false, false, false, true, false, false);
TestUtils.AreEqual(r2, a2 <= b2);
float a3 = (391.950928f);
float3x4 b3 = float3x4(-125.770538f, -229.812286f, 289.449036f, -200.494232f, 281.5927f, 99.90106f, -146.027435f, 124.148376f, 94.3569946f, 93.920105f, -484.924133f, -270.796875f);
bool3x4 r3 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void float3x4_operator_greater_equal_wide_wide()
{
float3x4 a0 = float3x4(-507.9286f, 504.4975f, -385.4345f, -262.323425f, -37.5509338f, -111.595276f, -463.702026f, 387.448853f, 456.9688f, -211.010162f, 182.411377f, -53.59604f);
float3x4 b0 = float3x4(-81.3465f, 297.666138f, 171.06543f, -431.038055f, -6.85907f, 319.7257f, 254.079163f, 396.5724f, 178.8393f, -447.063354f, 288.492676f, 474.889282f);
bool3x4 r0 = bool3x4(false, true, false, true, false, false, false, false, true, true, false, false);
TestUtils.AreEqual(r0, a0 >= b0);
float3x4 a1 = float3x4(-309.570221f, -136.022491f, 280.736267f, -96.99588f, -174.059509f, 88.90192f, 43.81604f, -446.07843f, 16.6455688f, 409.83252f, -191.329865f, 222.9978f);
float3x4 b1 = float3x4(-321.750244f, -395.977234f, -158.692474f, 391.4887f, -368.109253f, 89.12378f, -510.279327f, -486.9298f, -81.2155457f, 274.2188f, -212.881561f, 288.9953f);
bool3x4 r1 = bool3x4(true, true, true, false, true, false, true, true, true, true, true, false);
TestUtils.AreEqual(r1, a1 >= b1);
float3x4 a2 = float3x4(404.2884f, 230.603271f, -441.789276f, -86.29306f, 484.249573f, 95.23639f, -204.912109f, -199.774353f, -421.8632f, -18.2147827f, -346.822754f, -159.243652f);
float3x4 b2 = float3x4(307.73175f, 307.245178f, -199.391785f, -284.421265f, -482.3918f, 448.315735f, -378.3462f, -390.858459f, 8.916016f, 416.407227f, -213.674957f, 455.2481f);
bool3x4 r2 = bool3x4(true, false, false, true, true, false, true, true, false, false, false, false);
TestUtils.AreEqual(r2, a2 >= b2);
float3x4 a3 = float3x4(112.917725f, 48.2910156f, 390.660156f, 154.219177f, -32.7480469f, -288.265625f, 122.704285f, 321.277954f, 230.183838f, 116.874268f, -93.515686f, 229.9823f);
float3x4 b3 = float3x4(-236.080353f, -248.373108f, 184.18512f, 415.31134f, 86.98218f, 485.004578f, 107.758911f, -486.667725f, -138.676788f, 14.2078247f, -382.394165f, -117.008209f);
bool3x4 r3 = bool3x4(true, true, true, false, false, false, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void float3x4_operator_greater_equal_wide_scalar()
{
float3x4 a0 = float3x4(465.152161f, -424.886078f, -209.2211f, 58.7798462f, -302.2691f, 140.12561f, 16.3533936f, -344.559967f, 393.278076f, -315.701538f, 441.011536f, -509.781555f);
float b0 = (-5.599884f);
bool3x4 r0 = bool3x4(true, false, false, true, false, true, true, false, true, false, true, false);
TestUtils.AreEqual(r0, a0 >= b0);
float3x4 a1 = float3x4(-36.9942932f, -164.973938f, -466.1201f, -123.813751f, 215.651245f, 104.995728f, 314.346f, 190.516113f, -83.11142f, -23.8364258f, 143.049377f, -264.919983f);
float b1 = (494.8203f);
bool3x4 r1 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 >= b1);
float3x4 a2 = float3x4(-169.702209f, 359.095825f, -260.4233f, 354.195129f, -111.845337f, 33.309082f, 355.6313f, -435.360565f, -38.3993225f, -93.2957153f, -338.8496f, 436.8958f);
float b2 = (329.70752f);
bool3x4 r2 = bool3x4(false, true, false, true, false, false, true, false, false, false, false, true);
TestUtils.AreEqual(r2, a2 >= b2);
float3x4 a3 = float3x4(511.084167f, -453.799255f, 170.919f, -182.825745f, -207.516937f, -319.5006f, -240.5086f, 436.3413f, -66.9560547f, 303.320862f, 180.196045f, 337.965149f);
float b3 = (-277.67453f);
bool3x4 r3 = bool3x4(true, false, true, true, true, false, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void float3x4_operator_greater_equal_scalar_wide()
{
float a0 = (374.827026f);
float3x4 b0 = float3x4(-1.60977173f, 338.615234f, -116.1814f, -332.157318f, -355.97937f, -468.901428f, 38.579895f, -332.347534f, 2.89013672f, 467.777771f, 121.406372f, -305.023376f);
bool3x4 r0 = bool3x4(true, true, true, true, true, true, true, true, true, false, true, true);
TestUtils.AreEqual(r0, a0 >= b0);
float a1 = (-58.4288025f);
float3x4 b1 = float3x4(-226.519562f, -47.0209961f, 305.302673f, -427.401245f, 92.26367f, -497.178528f, -408.625641f, -455.2305f, 396.4261f, -469.2949f, -485.754028f, -182.346191f);
bool3x4 r1 = bool3x4(true, false, false, true, false, true, true, true, false, true, true, true);
TestUtils.AreEqual(r1, a1 >= b1);
float a2 = (-291.545349f);
float3x4 b2 = float3x4(278.740784f, -75.8711243f, 28.9070435f, 287.720154f, 420.509766f, 473.626831f, 181.514526f, -369.202881f, 243.749756f, -244.124146f, -242.993347f, -322.115356f);
bool3x4 r2 = bool3x4(false, false, false, false, false, false, false, true, false, false, false, true);
TestUtils.AreEqual(r2, a2 >= b2);
float a3 = (192.974976f);
float3x4 b3 = float3x4(-54.7255554f, -166.000824f, 244.293457f, 438.2494f, -162.692841f, 37.1853638f, -506.667358f, -205.163086f, 368.389954f, -35.45996f, -20.9164429f, 9.041382f);
bool3x4 r3 = bool3x4(true, true, false, false, true, true, true, true, false, true, true, true);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void float3x4_operator_add_wide_wide()
{
float3x4 a0 = float3x4(506.129028f, -501.779816f, 420.084778f, -186.032074f, -9.312408f, 328.51178f, 424.344055f, 87.79108f, 462.4137f, -46.17871f, 401.170044f, -454.124146f);
float3x4 b0 = float3x4(-28.7579956f, -337.135132f, -340.676819f, 152.312012f, 423.66748f, 90.3740845f, 376.18866f, 1.76721191f, -120.185852f, -279.629364f, -344.6671f, 242.839172f);
float3x4 r0 = float3x4(477.371033f, -838.9149f, 79.40796f, -33.7200623f, 414.355072f, 418.885864f, 800.5327f, 89.55829f, 342.227844f, -325.808075f, 56.50293f, -211.284973f);
TestUtils.AreEqual(r0, a0 + b0);
float3x4 a1 = float3x4(69.19568f, -177.957336f, 299.604126f, 340.704834f, 219.916016f, -321.9084f, 286.355347f, -333.4195f, -118.932159f, 68.60748f, 23.190918f, -205.577881f);
float3x4 b1 = float3x4(418.593079f, -23.3128052f, -95.0999451f, 147.9281f, 331.0329f, -82.50256f, 279.4496f, 342.622742f, -300.358521f, -209.694092f, 446.559448f, -351.9892f);
float3x4 r1 = float3x4(487.788757f, -201.270142f, 204.504181f, 488.632935f, 550.9489f, -404.41095f, 565.804932f, 9.203247f, -419.29068f, -141.086609f, 469.750366f, -557.5671f);
TestUtils.AreEqual(r1, a1 + b1);
float3x4 a2 = float3x4(11.5214233f, -340.795074f, -68.93118f, 304.8532f, -86.63385f, 105.669128f, 349.280518f, 364.7079f, -429.0374f, 382.458069f, 186.097046f, 227.411865f);
float3x4 b2 = float3x4(-263.12384f, -252.458557f, 289.825378f, 338.796143f, -232.619019f, -510.50824f, 349.280762f, -426.212463f, -331.416321f, -418.6888f, -341.70636f, -329.0359f);
float3x4 r2 = float3x4(-251.602417f, -593.253662f, 220.8942f, 643.649353f, -319.252869f, -404.8391f, 698.5613f, -61.5045776f, -760.453735f, -36.2307434f, -155.609314f, -101.624023f);
TestUtils.AreEqual(r2, a2 + b2);
float3x4 a3 = float3x4(-298.766357f, 351.3028f, 98.7254f, -292.351685f, 112.1709f, 477.165771f, -266.304871f, -295.1407f, -485.820374f, -507.8687f, -338.2196f, 505.342163f);
float3x4 b3 = float3x4(123.198547f, 189.528564f, 267.569946f, 134.636292f, -337.96814f, 50.7280273f, 81.16345f, 442.0907f, -148.704529f, 6.974365f, -334.911255f, 43.78711f);
float3x4 r3 = float3x4(-175.56781f, 540.83136f, 366.295349f, -157.7154f, -225.797241f, 527.8938f, -185.141418f, 146.950012f, -634.5249f, -500.894348f, -673.130859f, 549.1293f);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void float3x4_operator_add_wide_scalar()
{
float3x4 a0 = float3x4(-194.514191f, 338.5484f, 246.971375f, 100.510925f, -45.72467f, -478.1113f, 30.9161377f, 60.37433f, -242.118744f, 82.50134f, 6.79937744f, -484.6998f);
float b0 = (124.121704f);
float3x4 r0 = float3x4(-70.39249f, 462.6701f, 371.093079f, 224.632629f, 78.39703f, -353.9896f, 155.037842f, 184.496033f, -117.99704f, 206.623047f, 130.921082f, -360.5781f);
TestUtils.AreEqual(r0, a0 + b0);
float3x4 a1 = float3x4(-188.265015f, -267.7843f, 189.259949f, 198.533569f, 187.536072f, -424.925659f, 302.102356f, 300.3991f, 124.021606f, -200.161346f, 31.3782349f, 362.522156f);
float b1 = (-213.526733f);
float3x4 r1 = float3x4(-401.791748f, -481.311035f, -24.2667847f, -14.9931641f, -25.9906616f, -638.4524f, 88.57562f, 86.8723755f, -89.50513f, -413.68808f, -182.1485f, 148.995422f);
TestUtils.AreEqual(r1, a1 + b1);
float3x4 a2 = float3x4(-423.988861f, 374.211426f, -465.6995f, -311.04303f, 84.91901f, -432.442444f, 235.750671f, -472.637756f, -257.577759f, 186.120728f, -170.298218f, -115.272491f);
float b2 = (432.41333f);
float3x4 r2 = float3x4(8.424469f, 806.624756f, -33.2861633f, 121.3703f, 517.332336f, -0.02911377f, 668.164f, -40.2244263f, 174.835571f, 618.534058f, 262.1151f, 317.140839f);
TestUtils.AreEqual(r2, a2 + b2);
float3x4 a3 = float3x4(-101.168823f, 246.549255f, -397.5346f, -199.04837f, 20.585022f, 207.323853f, 197.935181f, -201.540558f, -106.638672f, -179.382233f, 203.817078f, -364.820953f);
float b3 = (257.775146f);
float3x4 r3 = float3x4(156.606323f, 504.3244f, -139.75946f, 58.7267761f, 278.360168f, 465.099f, 455.710327f, 56.23459f, 151.136475f, 78.3929138f, 461.592224f, -107.045807f);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void float3x4_operator_add_scalar_wide()
{
float a0 = (-340.354675f);
float3x4 b0 = float3x4(511.362244f, -146.216644f, -106.210419f, -363.450256f, 199.0896f, -27.1083984f, 419.849f, 284.955017f, -164.9242f, -249.190338f, 150.928162f, 298.1751f);
float3x4 r0 = float3x4(171.007568f, -486.57132f, -446.5651f, -703.804932f, -141.265076f, -367.463074f, 79.49432f, -55.39966f, -505.27887f, -589.545044f, -189.426514f, -42.1795654f);
TestUtils.AreEqual(r0, a0 + b0);
float a1 = (-457.1534f);
float3x4 b1 = float3x4(424.718079f, -301.857483f, 230.288879f, -423.5876f, -67.06003f, 68.72412f, -164.02243f, 318.935181f, 7.80456543f, 187.698364f, -3.656952f, -446.083069f);
float3x4 r1 = float3x4(-32.4353333f, -759.010864f, -226.864532f, -880.740967f, -524.21344f, -388.4293f, -621.175842f, -138.218231f, -449.348846f, -269.455048f, -460.810364f, -903.23645f);
TestUtils.AreEqual(r1, a1 + b1);
float a2 = (-209.287231f);
float3x4 b2 = float3x4(-38.21289f, -346.257172f, 465.607422f, -192.185944f, 278.6938f, 381.978455f, 481.243652f, -97.22815f, -455.513733f, 501.834961f, 358.7066f, 430.699768f);
float3x4 r2 = float3x4(-247.500122f, -555.544434f, 256.3202f, -401.473175f, 69.4065552f, 172.691223f, 271.956421f, -306.515381f, -664.800964f, 292.547729f, 149.419373f, 221.412537f);
TestUtils.AreEqual(r2, a2 + b2);
float a3 = (256.987183f);
float3x4 b3 = float3x4(207.651672f, -376.965179f, -428.085327f, -373.49353f, -468.89328f, -467.658447f, 297.484924f, -506.89978f, -233.358459f, 434.558777f, -387.3152f, 171.590271f);
float3x4 r3 = float3x4(464.638855f, -119.978f, -171.098145f, -116.506348f, -211.9061f, -210.671265f, 554.4721f, -249.9126f, 23.6287231f, 691.545959f, -130.328f, 428.577454f);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void float3x4_operator_sub_wide_wide()
{
float3x4 a0 = float3x4(160.492249f, 11.223938f, 359.200134f, -498.2283f, -355.253632f, -94.53485f, -410.46405f, -401.384644f, 317.706848f, 447.060425f, -489.074158f, -230.008392f);
float3x4 b0 = float3x4(115.46875f, -130.9823f, 241.540833f, 9.987061f, 419.895142f, 59.12445f, -402.381653f, -75.37015f, 320.9796f, -73.90875f, -31.4447327f, -389.251953f);
float3x4 r0 = float3x4(45.0235f, 142.206238f, 117.6593f, -508.215363f, -775.1488f, -153.6593f, -8.082397f, -326.0145f, -3.272766f, 520.9692f, -457.629425f, 159.243561f);
TestUtils.AreEqual(r0, a0 - b0);
float3x4 a1 = float3x4(24.8754272f, 366.614441f, -107.374146f, -219.008148f, 473.9076f, 259.63623f, -360.119629f, 7.80963135f, 437.428467f, -59.1991577f, 418.744324f, 183.142151f);
float3x4 b1 = float3x4(-375.028839f, 259.182739f, 276.648682f, -453.0692f, -272.576538f, -191.148041f, 87.1369f, 430.02478f, 343.6571f, 121.029419f, -354.188171f, 249.052f);
float3x4 r1 = float3x4(399.904266f, 107.4317f, -384.022827f, 234.061066f, 746.484131f, 450.784271f, -447.256531f, -422.215149f, 93.77136f, -180.228577f, 772.9325f, -65.90985f);
TestUtils.AreEqual(r1, a1 - b1);
float3x4 a2 = float3x4(271.230347f, 496.208557f, 165.354919f, -227.403656f, -166.522858f, 356.142273f, 386.9264f, -394.638763f, 126.903259f, 97.21692f, -150.017853f, -227.250519f);
float3x4 b2 = float3x4(-2.22543335f, 22.4472656f, 478.112976f, -320.063f, -111.524109f, 222.228943f, -245.411072f, -119.902283f, -153.465668f, 374.1125f, 301.763428f, -281.430054f);
float3x4 r2 = float3x4(273.45578f, 473.7613f, -312.758057f, 92.65933f, -54.99875f, 133.91333f, 632.337463f, -274.736481f, 280.368927f, -276.895569f, -451.781281f, 54.1795349f);
TestUtils.AreEqual(r2, a2 - b2);
float3x4 a3 = float3x4(-198.830017f, 0.662780762f, -484.245575f, -295.996277f, -46.17099f, 499.9524f, 292.440125f, -106.424133f, 466.827148f, 487.374817f, 242.994629f, -468.901581f);
float3x4 b3 = float3x4(-494.964355f, -320.731262f, 160.962219f, -132.9364f, -394.437531f, 406.851257f, 270.544617f, 507.794617f, 67.69922f, 263.40448f, 297.5807f, 170.839539f);
float3x4 r3 = float3x4(296.134338f, 321.394043f, -645.207764f, -163.059875f, 348.266541f, 93.1011353f, 21.8955078f, -614.21875f, 399.12793f, 223.970337f, -54.58606f, -639.7411f);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void float3x4_operator_sub_wide_scalar()
{
float3x4 a0 = float3x4(207.389587f, 248.457764f, -384.8239f, -205.344757f, -374.811554f, 191.642029f, 18.8562622f, -44.96161f, 480.857971f, 16.3381958f, -366.865448f, -35.5231f);
float b0 = (-36.1124878f);
float3x4 r0 = float3x4(243.502075f, 284.570251f, -348.711426f, -169.232269f, -338.699066f, 227.754517f, 54.96875f, -8.849121f, 516.970459f, 52.4506836f, -330.75296f, 0.589386f);
TestUtils.AreEqual(r0, a0 - b0);
float3x4 a1 = float3x4(349.397766f, 490.2223f, 195.024048f, -384.849426f, 189.05188f, 55.6027832f, -54.931488f, 53.0880737f, 316.8025f, -273.8067f, 256.8872f, 297.173645f);
float b1 = (439.077271f);
float3x4 r1 = float3x4(-89.6795044f, 51.14502f, -244.053223f, -823.9267f, -250.025391f, -383.4745f, -494.008759f, -385.9892f, -122.27478f, -712.884f, -182.190063f, -141.903625f);
TestUtils.AreEqual(r1, a1 - b1);
float3x4 a2 = float3x4(101.829041f, -19.7322083f, 336.589722f, -51.8765564f, 317.345764f, -467.055939f, -50.1670532f, 477.804565f, -60.82193f, 0.4111328f, 46.66095f, -19.241394f);
float b2 = (136.607971f);
float3x4 r2 = float3x4(-34.77893f, -156.340179f, 199.98175f, -188.484528f, 180.7378f, -603.66394f, -186.775024f, 341.1966f, -197.4299f, -136.196838f, -89.94702f, -155.849365f);
TestUtils.AreEqual(r2, a2 - b2);
float3x4 a3 = float3x4(396.809753f, -334.274231f, -198.077148f, -239.200623f, -339.6812f, -14.5144348f, 219.99707f, -180.260681f, -438.8906f, 186.35553f, -365.066772f, -478.801239f);
float b3 = (69.5905151f);
float3x4 r3 = float3x4(327.219238f, -403.864746f, -267.667664f, -308.791138f, -409.271729f, -84.10495f, 150.406555f, -249.8512f, -508.4811f, 116.765015f, -434.6573f, -548.3917f);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void float3x4_operator_sub_scalar_wide()
{
float a0 = (-86.00824f);
float3x4 b0 = float3x4(466.4251f, 298.486938f, -300.9501f, 315.38f, -381.092163f, -125.008362f, 58.4661865f, 214.7461f, -257.549438f, 480.2246f, -443.355072f, 260.795044f);
float3x4 r0 = float3x4(-552.43335f, -384.495178f, 214.941864f, -401.388245f, 295.083923f, 39.0001221f, -144.474426f, -300.754333f, 171.5412f, -566.232849f, 357.346832f, -346.803284f);
TestUtils.AreEqual(r0, a0 - b0);
float a1 = (29.6819458f);
float3x4 b1 = float3x4(139.857727f, -247.789948f, -248.466217f, 91.44513f, 86.3841553f, 373.8183f, 260.411926f, 114.353943f, -464.405457f, -109.741455f, -311.675354f, 107.864014f);
float3x4 r1 = float3x4(-110.175781f, 277.4719f, 278.148163f, -61.7631836f, -56.70221f, -344.136353f, -230.72998f, -84.672f, 494.0874f, 139.4234f, 341.3573f, -78.18207f);
TestUtils.AreEqual(r1, a1 - b1);
float a2 = (-258.795166f);
float3x4 b2 = float3x4(14.0975342f, -461.970184f, 30.3108521f, 63.70111f, -462.676758f, 39.75946f, 47.99817f, -177.6193f, 202.477051f, -289.3088f, -459.9254f, 248.386658f);
float3x4 r2 = float3x4(-272.8927f, 203.175018f, -289.106018f, -322.496277f, 203.881592f, -298.554626f, -306.793335f, -81.17587f, -461.272217f, 30.5136414f, 201.130249f, -507.181824f);
TestUtils.AreEqual(r2, a2 - b2);
float a3 = (85.32971f);
float3x4 b3 = float3x4(-73.37479f, -510.652f, 426.963257f, 239.59021f, 477.852356f, 256.0136f, 338.620361f, -483.8312f, 330.3922f, -263.4182f, 123.92804f, -269.115967f);
float3x4 r3 = float3x4(158.7045f, 595.9817f, -341.633545f, -154.2605f, -392.522644f, -170.6839f, -253.290649f, 569.1609f, -245.0625f, 348.747925f, -38.5983276f, 354.445679f);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void float3x4_operator_mul_wide_wide()
{
float3x4 a0 = float3x4(-482.7138f, -407.2935f, 137.700562f, 208.541138f, 194.29657f, -484.242432f, 183.9873f, -241.33548f, 45.8687744f, 363.3261f, -328.118958f, -471.023071f);
float3x4 b0 = float3x4(-236.367889f, 260.7276f, -416.3863f, -364.4956f, -253.147522f, -369.202881f, 193.547913f, 169.0849f, 201.969666f, 249.456055f, -308.193176f, -385.579651f);
float3x4 r0 = float3x4(114098.047f, -106192.656f, -57336.625f, -76012.33f, -49185.6953f, 178783.7f, 35610.36f, -40806.1836f, 9264.101f, 90633.9f, 101124.023f, 181616.9f);
TestUtils.AreEqual(r0, a0 * b0);
float3x4 a1 = float3x4(-262.682556f, -379.262756f, -374.090576f, 481.4474f, 104.628052f, 412.935425f, 477.877258f, 20.3778076f, 291.995972f, -138.488312f, -393.464966f, 9.363098f);
float3x4 b1 = float3x4(-183.2796f, 22.2756348f, -265.521423f, -95.67746f, 133.2544f, 148.311462f, 249.284119f, 500.0055f, -19.3315735f, -36.69107f, 30.5238037f, -401.367f);
float3x4 r1 = float3x4(48144.3555f, -8448.318f, 99329.06f, -46063.6641f, 13942.1475f, 61243.06f, 119127.211f, 10189.0156f, -5644.7417f, 5081.284f, -12010.0479f, -3758.03857f);
TestUtils.AreEqual(r1, a1 * b1);
float3x4 a2 = float3x4(-131.942291f, 364.449646f, 390.615967f, 418.797974f, -277.3448f, 11.4101563f, 474.876465f, -502.405029f, -222.59491f, 38.1690674f, 292.6125f, 203.2077f);
float3x4 b2 = float3x4(3.43725586f, 257.24176f, -290.971924f, 337.47937f, 490.286133f, -191.0198f, -325.7345f, -52.1819763f, 123.435059f, -461.267059f, 122.353088f, 308.584656f);
float3x4 r2 = float3x4(-453.5194f, 93751.67f, -113658.281f, 141335.672f, -135978.3f, -2179.566f, -154683.641f, 26216.4883f, -27476.0156f, -17606.1328f, 35802.043f, 62706.7773f);
TestUtils.AreEqual(r2, a2 * b2);
float3x4 a3 = float3x4(-330.408142f, 469.460144f, 342.2951f, -504.114655f, 319.3573f, -357.782074f, -117.9711f, 25.706543f, 226.456421f, -86.34372f, -274.126038f, -486.870972f);
float3x4 b3 = float3x4(375.320618f, 203.212646f, 77.66797f, 218.793579f, -489.895752f, 134.472168f, -287.794373f, -116.399994f, -436.543976f, 499.591064f, -300.602356f, 105.730469f);
float3x4 r3 = float3x4(-124008.984f, 95400.24f, 26585.3652f, -110297.047f, -156451.781f, -48111.73f, 33951.418f, -2992.24146f, -98858.19f, -43136.55f, 82402.93f, -51477.0977f);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void float3x4_operator_mul_wide_scalar()
{
float3x4 a0 = float3x4(-96.31882f, -277.142273f, -239.93689f, 509.531433f, 255.8581f, 215.7315f, -455.50827f, -389.2433f, -338.29248f, 53.7962646f, 243.757324f, 135.354675f);
float b0 = (-301.2072f);
float3x4 r0 = float3x4(29011.9219f, 83477.25f, 72270.72f, -153474.547f, -77066.3047f, -64979.8867f, 137202.375f, 117242.883f, 101896.133f, -16203.8232f, -73421.46f, -40769.8047f);
TestUtils.AreEqual(r0, a0 * b0);
float3x4 a1 = float3x4(-207.3501f, -31.4252319f, 42.6761475f, 260.38385f, 176.867554f, 25.67212f, -290.5006f, 207.091f, -156.523315f, -208.402008f, 370.945068f, -341.59845f);
float b1 = (-383.9396f);
float3x4 r1 = float3x4(79609.9141f, 12065.3916f, -16385.0625f, -99971.67f, -67906.46f, -9856.543f, 111534.688f, -79510.44f, 60095.5f, 80013.78f, -142420.5f, 131153.172f);
TestUtils.AreEqual(r1, a1 * b1);
float3x4 a2 = float3x4(10.2703247f, -61.0061035f, 186.279785f, -487.652222f, -129.376831f, -317.7163f, -207.62735f, 388.8714f, -233.335327f, 128.415527f, 510.389526f, 267.576355f);
float b2 = (-176.888763f);
float3x4 r2 = float3x4(-1816.70508f, 10791.2939f, -32950.8f, 86260.1953f, 22885.3086f, 56200.4453f, 36726.9453f, -68786.9844f, 41274.4f, -22715.2637f, -90282.17f, -47331.25f);
TestUtils.AreEqual(r2, a2 * b2);
float3x4 a3 = float3x4(-309.209656f, -189.569519f, 233.209229f, -331.086975f, -98.6447754f, -214.181f, -87.88077f, -493.165741f, -407.306061f, -411.3714f, 477.935669f, 364.748535f);
float b3 = (-36.48297f);
float3x4 r3 = float3x4(11280.8867f, 6916.059f, -8508.166f, 12079.0361f, 3598.85449f, 7813.95947f, 3206.15161f, 17992.1523f, 14859.7354f, 15008.0508f, -17436.5137f, -13307.11f);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void float3x4_operator_mul_scalar_wide()
{
float a0 = (37.43219f);
float3x4 b0 = float3x4(96.74756f, 492.185364f, -274.054565f, -452.870972f, 420.853333f, 102.182922f, -114.948883f, -351.120056f, -464.664978f, 444.084839f, 447.1053f, 130.829346f);
float3x4 r0 = float3x4(3621.473f, 18423.5762f, -10258.4629f, -16951.9531f, 15753.4619f, 3824.93066f, -4302.78857f, -13143.1924f, -17393.4277f, 16623.0684f, 16736.13f, 4897.229f);
TestUtils.AreEqual(r0, a0 * b0);
float a1 = (-321.41333f);
float3x4 b1 = float3x4(445.301331f, 478.2436f, 358.571716f, -144.8901f, -438.893829f, -3.536438f, -471.807556f, -42.5603943f, 119.911072f, 271.900024f, 239.684021f, 487.4414f);
float3x4 r1 = float3x4(-143125.781f, -153713.859f, -115249.727f, 46569.6133f, 141066.328f, 1136.65833f, 151645.234f, 13679.4785f, -38541.0156f, -87392.29f, -77037.64f, -156670.172f);
TestUtils.AreEqual(r1, a1 * b1);
float a2 = (-79.18829f);
float3x4 b2 = float3x4(-112.925659f, 161.370056f, 459.759155f, -337.195984f, -276.834534f, 469.723877f, -274.565155f, 506.7859f, 65.88257f, 495.855652f, -347.2796f, -343.606049f);
float3x4 r2 = float3x4(8942.391f, -12778.6191f, -36407.543f, 26701.9746f, 21922.0547f, -37196.6328f, 21742.3457f, -40131.5078f, -5217.128f, -39265.96f, 27500.4785f, 27209.5762f);
TestUtils.AreEqual(r2, a2 * b2);
float a3 = (-183.7038f);
float3x4 b3 = float3x4(460.264771f, 437.513245f, -324.557251f, -112.287781f, 273.135437f, -283.093658f, 1.880249f, -310.8167f, 326.0122f, 243.64325f, 78.17932f, -308.664f);
float3x4 r3 = float3x4(-84552.38f, -80372.84f, 59622.4f, 20627.6914f, -50176.0156f, 52005.38f, -345.408875f, 57098.21f, -59889.68f, -44758.19f, -14361.8379f, 56702.75f);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void float3x4_operator_div_wide_wide()
{
float3x4 a0 = float3x4(-353.131439f, -102.799866f, 51.3191528f, -191.871674f, 8.041809f, -128.73764f, -136.0596f, -370.471f, -237.69455f, -432.546875f, 200.2655f, 361.4416f);
float3x4 b0 = float3x4(-178.739563f, -302.096283f, -199.405823f, 278.850769f, 502.3376f, -361.484833f, 353.121033f, -38.894928f, -75.76474f, -195.217834f, -405.034f, -394.23f);
float3x4 r0 = float3x4(1.97567582f, 0.34028843f, -0.257360339f, -0.688080132f, 0.0160087738f, 0.356135666f, -0.385305852f, 9.524919f, 3.1372714f, 2.215714f, -0.4944412f, -0.9168292f);
TestUtils.AreEqual(r0, a0 / b0);
float3x4 a1 = float3x4(-416.226135f, -450.0192f, -273.497437f, -286.908173f, -314.256042f, 177.762085f, 97.6270142f, -68.10727f, -386.450745f, 263.699341f, -297.0271f, -501.777039f);
float3x4 b1 = float3x4(-375.8277f, -121.245483f, 447.623352f, 338.286255f, -405.5442f, -431.168945f, 296.205139f, 437.939819f, 39.2106323f, 331.289734f, -310.619568f, 207.26947f);
float3x4 r1 = float3x4(1.107492f, 3.71163678f, -0.610999048f, -0.8481225f, 0.7748996f, -0.412279427f, 0.3295926f, -0.155517414f, -9.855764f, 0.795978f, 0.9562408f, -2.42089224f);
TestUtils.AreEqual(r1, a1 / b1);
float3x4 a2 = float3x4(-263.40686f, -451.080841f, -416.34552f, -315.278748f, -28.1811218f, -397.870148f, -261.386658f, 40.3482056f, 277.245728f, 464.77124f, -336.641052f, 375.4781f);
float3x4 b2 = float3x4(-223.293f, -480.0914f, 448.675964f, -460.097443f, -220.569855f, -84.85315f, 441.373779f, 72.41846f, 44.9760742f, -242.515381f, -451.302063f, -21.8996887f);
float3x4 r2 = float3x4(1.17964673f, 0.9395729f, -0.9279426f, 0.6852434f, 0.127765059f, 4.688926f, -0.592211545f, 0.557153642f, 6.164294f, -1.91646087f, 0.7459329f, -17.14536f);
TestUtils.AreEqual(r2, a2 / b2);
float3x4 a3 = float3x4(504.342529f, -320.7671f, -156.733337f, 414.797058f, -386.0507f, -369.838623f, 386.704224f, 242.631836f, 421.7345f, 109.012207f, 182.075256f, 187.326416f);
float3x4 b3 = float3x4(-358.486664f, -350.945129f, -481.848145f, 406.393433f, -145.288666f, 461.795532f, -318.816772f, -250.932f, 125.859558f, -193.803162f, -495.25412f, -315.824554f);
float3x4 r3 = float3x4(-1.40686548f, 0.9140092f, 0.3252754f, 1.02067852f, 2.65712881f, -0.800870955f, -1.21293569f, -0.966922641f, 3.35083413f, -0.562489331f, -0.367640078f, -0.5931344f);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void float3x4_operator_div_wide_scalar()
{
float3x4 a0 = float3x4(171.3424f, 0.103393555f, 57.8882446f, -256.130737f, 95.66968f, -290.3869f, -127.4487f, -79.7449f, 146.466858f, -499.843567f, 58.68634f, -453.2058f);
float b0 = (171.796814f);
float3x4 r0 = float3x4(0.997355f, 0.000601836247f, 0.3369576f, -1.49089336f, 0.5568769f, -1.69029272f, -0.7418572f, -0.4641815f, 0.8525586f, -2.90950418f, 0.3416032f, -2.63803387f);
TestUtils.AreEqual(r0, a0 / b0);
float3x4 a1 = float3x4(-205.033813f, 464.479065f, -293.4635f, -158.505585f, -289.5822f, 494.1286f, 203.583435f, 180.9704f, 259.1192f, 460.844727f, 490.956238f, -280.478058f);
float b1 = (481.738159f);
float3x4 r1 = float3x4(-0.425612569f, 0.9641733f, -0.609176338f, -0.3290285f, -0.6011195f, 1.02572024f, 0.422601849f, 0.375661343f, 0.5378839f, 0.9566291f, 1.019135f, -0.582221f);
TestUtils.AreEqual(r1, a1 / b1);
float3x4 a2 = float3x4(-320.243866f, 264.800842f, 226.852966f, -192.235687f, 460.9765f, -437.8922f, -413.232727f, 249.471863f, 313.035034f, 216.785583f, 383.7389f, 82.0233154f);
float b2 = (192.41449f);
float3x4 r2 = float3x4(-1.66434383f, 1.37620008f, 1.17898071f, -0.999070764f, 2.39574742f, -2.27577567f, -2.14761758f, 1.2965337f, 1.62687874f, 1.12665939f, 1.9943347f, 0.4262845f);
TestUtils.AreEqual(r2, a2 / b2);
float3x4 a3 = float3x4(189.574646f, -391.92218f, 121.280579f, 417.901733f, -133.262878f, -428.7424f, -188.531891f, 356.259521f, 181.969f, -140.890472f, 474.082642f, -451.357727f);
float b3 = (314.503845f);
float3x4 r3 = float3x4(0.6027737f, -1.24616027f, 0.3856251f, 1.32876515f, -0.423724174f, -1.36323416f, -0.599458158f, 1.13276684f, 0.5785907f, -0.447976947f, 1.50739861f, -1.43514216f);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void float3x4_operator_div_scalar_wide()
{
float a0 = (-264.4425f);
float3x4 b0 = float3x4(105.589111f, -142.349091f, -288.9489f, 39.644104f, -363.9914f, -149.718231f, -395.729126f, 258.7187f, -9.66626f, 117.725525f, -331.386536f, -509.986023f);
float3x4 r0 = float3x4(-2.50444865f, 1.85770416f, 0.9151877f, -6.670412f, 0.7265076f, 1.7662679f, 0.6682412f, -1.02212369f, 27.3572731f, -2.246263f, 0.797988057f, 0.518528938f);
TestUtils.AreEqual(r0, a0 / b0);
float a1 = (427.896484f);
float3x4 b1 = float3x4(467.617126f, -407.124634f, 252.690735f, 444.599365f, -88.31329f, 199.955017f, -218.346924f, -13.4171753f, -296.131073f, 0.561340332f, -289.299316f, 196.218323f);
float3x4 r1 = float3x4(0.915057361f, -1.05102086f, 1.69336045f, 0.9624316f, -4.84521055f, 2.13996363f, -1.95970929f, -31.8916969f, -1.44495642f, 762.276367f, -1.47907877f, 2.18071628f);
TestUtils.AreEqual(r1, a1 / b1);
float a2 = (334.733459f);
float3x4 b2 = float3x4(-282.392731f, -479.5036f, -473.439453f, 105.050781f, -287.6313f, 77.29932f, -210.894379f, -184.068237f, -315.148438f, 87.86688f, 101.590515f, 345.9364f);
float3x4 r2 = float3x4(-1.18534732f, -0.6980833f, -0.7070249f, 3.1863966f, -1.16375887f, 4.33035469f, -1.587209f, -1.81852913f, -1.06214535f, 3.809552f, 3.29492831f, 0.9676156f);
TestUtils.AreEqual(r2, a2 / b2);
float a3 = (-146.318115f);
float3x4 b3 = float3x4(479.999939f, -172.67688f, -178.013641f, 361.760437f, 349.376953f, -398.686127f, -243.78f, 296.622925f, 477.810669f, 486.600342f, 256.917236f, -89.86423f);
float3x4 r3 = float3x4(-0.304829448f, 0.8473521f, 0.8219489f, -0.404461354f, -0.418797284f, 0.367000759f, 0.6002056f, -0.493279874f, -0.306226134f, -0.300694644f, -0.5695146f, 1.62821317f);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void float3x4_operator_mod_wide_wide()
{
float3x4 a0 = float3x4(-388.8125f, 181.681213f, -167.078735f, 432.820129f, -258.438965f, -170.110809f, 283.3183f, 122.716492f, 335.271f, -503.608521f, 191.022522f, 289.742676f);
float3x4 b0 = float3x4(436.944153f, 58.9400635f, -201.116241f, 279.289368f, -397.079773f, 377.899963f, 174.693848f, -228.176514f, -317.060181f, -417.4801f, -249.975952f, -397.571564f);
float3x4 r0 = float3x4(-388.8125f, 4.861023f, -167.078735f, 153.530762f, -258.438965f, -170.110809f, 108.624451f, 122.716492f, 18.2108154f, -86.12842f, 191.022522f, 289.742676f);
TestUtils.AreEqual(r0, a0 % b0);
float3x4 a1 = float3x4(-124.033722f, 259.274f, -274.358459f, -140.030792f, 324.577576f, -200.513092f, 211.423157f, -51.2722168f, -230.633911f, 99.98938f, 399.18988f, 24.90326f);
float3x4 b1 = float3x4(-358.745453f, -198.15921f, 208.737122f, -12.1194153f, 25.2714233f, -194.1207f, -493.8718f, -312.3017f, -216.980591f, 413.570984f, -436.3944f, 3.491272f);
float3x4 r1 = float3x4(-124.033722f, 61.1147766f, -65.62134f, -6.717224f, 21.3204956f, -6.392395f, 211.423157f, -51.2722168f, -13.65332f, 99.98938f, 399.18988f, 0.464355469f);
TestUtils.AreEqual(r1, a1 % b1);
float3x4 a2 = float3x4(50.92401f, -364.863678f, -252.626617f, -281.2898f, -364.798523f, -329.026245f, 51.6098022f, 41.6478271f, 254.95105f, -458.6776f, -136.79303f, 72.40033f);
float3x4 b2 = float3x4(-308.233429f, -441.375061f, 84.60083f, 373.163452f, 67.25275f, -320.333282f, 118.97937f, 44.8239746f, 354.0086f, -253.953125f, -195.162811f, 317.142822f);
float3x4 r2 = float3x4(50.92401f, -364.863678f, -83.42496f, -281.2898f, -28.53479f, -8.692963f, 51.6098022f, 41.6478271f, 254.95105f, -204.724487f, -136.79303f, 72.40033f);
TestUtils.AreEqual(r2, a2 % b2);
float3x4 a3 = float3x4(246.212036f, 325.1538f, 162.034668f, -284.761444f, 128.351257f, 262.916748f, 61.60077f, -271.4928f, -205.438812f, -341.322144f, 347.154419f, 148.0885f);
float3x4 b3 = float3x4(320.693176f, -103.996887f, 388.171753f, -199.639313f, -256.217316f, -478.125031f, -210.655731f, -272.0233f, -61.6765442f, -367.8296f, -242.938934f, 162.386719f);
float3x4 r3 = float3x4(246.212036f, 13.163147f, 162.034668f, -85.12213f, 128.351257f, 262.916748f, 61.60077f, -271.4928f, -20.40918f, -341.322144f, 104.215485f, 148.0885f);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void float3x4_operator_mod_wide_scalar()
{
float3x4 a0 = float3x4(-244.499634f, -211.8193f, -145.926788f, -304.9182f, 155.479492f, -133.907776f, 281.309631f, -226.535767f, 335.166138f, 101.706482f, 319.4715f, -285.4023f);
float b0 = (39.63495f);
float3x4 r0 = float3x4(-6.68994141f, -13.6445618f, -27.0219421f, -27.4735718f, 36.574646f, -15.00293f, 3.86499023f, -28.3610229f, 18.0865479f, 22.4365845f, 2.39190674f, -7.957672f);
TestUtils.AreEqual(r0, a0 % b0);
float3x4 a1 = float3x4(-355.846863f, -330.871948f, -284.343567f, -102.683441f, -172.141754f, 206.41687f, -416.713654f, -339.256653f, 435.2975f, 132.552917f, 226.944092f, -306.1183f);
float b1 = (259.378f);
float3x4 r1 = float3x4(-96.46887f, -71.49396f, -24.9655762f, -102.683441f, -172.141754f, 206.41687f, -157.335663f, -79.87866f, 175.9195f, 132.552917f, 226.944092f, -46.7402954f);
TestUtils.AreEqual(r1, a1 % b1);
float3x4 a2 = float3x4(115.438477f, -218.347443f, -140.0405f, -462.3235f, -211.6087f, 351.331055f, 321.047f, 346.0852f, -94.4077454f, 465.40918f, -367.197021f, -467.5106f);
float b2 = (281.882935f);
float3x4 r2 = float3x4(115.438477f, -218.347443f, -140.0405f, -180.440552f, -211.6087f, 69.44812f, 39.1640625f, 64.20227f, -94.4077454f, 183.526245f, -85.31409f, -185.627655f);
TestUtils.AreEqual(r2, a2 % b2);
float3x4 a3 = float3x4(415.2151f, -3.729828f, 128.249878f, 134.941589f, 247.616943f, -285.287872f, 433.766663f, -141.831024f, -229.781891f, 471.218018f, 377.681458f, 433.4076f);
float b3 = (506.186157f);
float3x4 r3 = float3x4(415.2151f, -3.729828f, 128.249878f, 134.941589f, 247.616943f, -285.287872f, 433.766663f, -141.831024f, -229.781891f, 471.218018f, 377.681458f, 433.4076f);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void float3x4_operator_mod_scalar_wide()
{
float a0 = (-66.94504f);
float3x4 b0 = float3x4(-249.7761f, -396.073761f, 386.492065f, 168.939453f, -199.418243f, 261.7517f, 16.1274414f, 257.668152f, -75.78845f, 170.9563f, -242.858276f, 425.9453f);
float3x4 r0 = float3x4(-66.94504f, -66.94504f, -66.94504f, -66.94504f, -66.94504f, -66.94504f, -2.43527222f, -66.94504f, -66.94504f, -66.94504f, -66.94504f, -66.94504f);
TestUtils.AreEqual(r0, a0 % b0);
float a1 = (303.2724f);
float3x4 b1 = float3x4(3.033081f, -505.74353f, 461.957031f, 205.972778f, 270.040649f, -47.4807129f, -150.254486f, 149.499512f, -220.298035f, 31.1188354f, 400.635681f, 6.23144531f);
float3x4 r1 = float3x4(2.99737549f, 303.2724f, 303.2724f, 97.29962f, 33.23175f, 18.3881226f, 2.76342773f, 4.27337646f, 82.9743652f, 23.20288f, 303.2724f, 4.163025f);
TestUtils.AreEqual(r1, a1 % b1);
float a2 = (-39.05075f);
float3x4 b2 = float3x4(-71.9411f, -495.307129f, -86.7196045f, -436.970062f, -472.294739f, -130.008759f, -251.516846f, 281.976379f, 388.86084f, 50.6152954f, 293.87085f, 123.744263f);
float3x4 r2 = float3x4(-39.05075f, -39.05075f, -39.05075f, -39.05075f, -39.05075f, -39.05075f, -39.05075f, -39.05075f, -39.05075f, -39.05075f, -39.05075f, -39.05075f);
TestUtils.AreEqual(r2, a2 % b2);
float a3 = (422.904358f);
float3x4 b3 = float3x4(-53.87619f, -178.857666f, -362.27594f, 361.085266f, 465.276123f, -269.889648f, -159.408966f, -29.0952148f, 484.499451f, -354.950623f, -328.6906f, -171.739227f);
float3x4 r3 = float3x4(45.7710266f, 65.1890259f, 60.628418f, 61.81909f, 422.904358f, 153.014709f, 104.086426f, 15.57135f, 422.904358f, 67.9537354f, 94.2137451f, 79.4259f);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void float3x4_operator_plus()
{
float3x4 a0 = float3x4(-418.829559f, -405.79895f, -34.04178f, 236.999268f, -459.8391f, 210.86145f, 293.742f, -373.015442f, -386.059845f, 4.95440674f, -418.645264f, 504.474854f);
float3x4 r0 = float3x4(-418.829559f, -405.79895f, -34.04178f, 236.999268f, -459.8391f, 210.86145f, 293.742f, -373.015442f, -386.059845f, 4.95440674f, -418.645264f, 504.474854f);
TestUtils.AreEqual(r0, +a0);
float3x4 a1 = float3x4(-170.746521f, -478.7494f, 116.400757f, 421.409668f, -258.596069f, 447.8661f, 124.164368f, 222.172546f, -65.94928f, 239.041809f, 498.449524f, -139.382538f);
float3x4 r1 = float3x4(-170.746521f, -478.7494f, 116.400757f, 421.409668f, -258.596069f, 447.8661f, 124.164368f, 222.172546f, -65.94928f, 239.041809f, 498.449524f, -139.382538f);
TestUtils.AreEqual(r1, +a1);
float3x4 a2 = float3x4(279.072937f, 37.9992065f, 136.812134f, -236.030029f, -440.308319f, 342.2791f, 102.472229f, -161.454834f, -355.270874f, 141.314331f, 239.320862f, -494.6041f);
float3x4 r2 = float3x4(279.072937f, 37.9992065f, 136.812134f, -236.030029f, -440.308319f, 342.2791f, 102.472229f, -161.454834f, -355.270874f, 141.314331f, 239.320862f, -494.6041f);
TestUtils.AreEqual(r2, +a2);
float3x4 a3 = float3x4(361.59198f, 141.712524f, 25.2562866f, -268.2269f, 106.774658f, 176.744385f, 104.119934f, 144.618591f, 289.4519f, -393.0167f, -198.95575f, -419.009216f);
float3x4 r3 = float3x4(361.59198f, 141.712524f, 25.2562866f, -268.2269f, 106.774658f, 176.744385f, 104.119934f, 144.618591f, 289.4519f, -393.0167f, -198.95575f, -419.009216f);
TestUtils.AreEqual(r3, +a3);
}
[TestCompiler]
public static void float3x4_operator_neg()
{
float3x4 a0 = float3x4(148.461731f, -467.122681f, 132.04718f, 183.522644f, 473.701f, -407.9911f, -54.95877f, -382.9898f, -299.093384f, -383.014069f, 407.709778f, 168.735474f);
float3x4 r0 = float3x4(-148.461731f, 467.122681f, -132.04718f, -183.522644f, -473.701f, 407.9911f, 54.95877f, 382.9898f, 299.093384f, 383.014069f, -407.709778f, -168.735474f);
TestUtils.AreEqual(r0, -a0);
float3x4 a1 = float3x4(466.441528f, -280.558319f, -78.857605f, 318.69635f, -39.9154053f, 140.340027f, 132.195618f, -505.895264f, 410.380554f, -237.056946f, -137.617828f, -245.349976f);
float3x4 r1 = float3x4(-466.441528f, 280.558319f, 78.857605f, -318.69635f, 39.9154053f, -140.340027f, -132.195618f, 505.895264f, -410.380554f, 237.056946f, 137.617828f, 245.349976f);
TestUtils.AreEqual(r1, -a1);
float3x4 a2 = float3x4(422.521362f, 60.22223f, -466.5663f, 426.894531f, 146.649536f, -391.37207f, 423.237732f, 254.297546f, -114.848907f, 108.059692f, -507.9763f, -306.245728f);
float3x4 r2 = float3x4(-422.521362f, -60.22223f, 466.5663f, -426.894531f, -146.649536f, 391.37207f, -423.237732f, -254.297546f, 114.848907f, -108.059692f, 507.9763f, 306.245728f);
TestUtils.AreEqual(r2, -a2);
float3x4 a3 = float3x4(219.66626f, -98.76068f, 492.111084f, 84.04584f, 300.976624f, -483.864624f, -389.15744f, -324.6861f, 378.85437f, 190.219238f, -69.10242f, 507.495361f);
float3x4 r3 = float3x4(-219.66626f, 98.76068f, -492.111084f, -84.04584f, -300.976624f, 483.864624f, 389.15744f, 324.6861f, -378.85437f, -190.219238f, 69.10242f, -507.495361f);
TestUtils.AreEqual(r3, -a3);
}
[TestCompiler]
public static void float3x4_operator_prefix_inc()
{
float3x4 a0 = float3x4(-139.842072f, -56.7436523f, -381.955322f, 509.796326f, -222.896332f, 210.319885f, -392.7315f, -300.1941f, 362.212769f, 401.6148f, 130.90918f, -450.230164f);
float3x4 r0 = float3x4(-138.842072f, -55.7436523f, -380.955322f, 510.796326f, -221.896332f, 211.319885f, -391.7315f, -299.1941f, 363.212769f, 402.6148f, 131.90918f, -449.230164f);
TestUtils.AreEqual(r0, ++a0);
float3x4 a1 = float3x4(243.546936f, -41.4972839f, 299.1855f, 154.356567f, -281.233276f, 200.706f, 92.95776f, 448.602173f, -295.587f, 18.4990845f, -215.711121f, 471.947266f);
float3x4 r1 = float3x4(244.546936f, -40.4972839f, 300.1855f, 155.356567f, -280.233276f, 201.706f, 93.95776f, 449.602173f, -294.587f, 19.4990845f, -214.711121f, 472.947266f);
TestUtils.AreEqual(r1, ++a1);
float3x4 a2 = float3x4(257.0766f, 4.82543945f, 243.004761f, -472.619019f, -125.720215f, -477.459564f, 9.89147949f, -76.92285f, -29.7675781f, -387.177429f, 461.7093f, 13.699707f);
float3x4 r2 = float3x4(258.0766f, 5.82543945f, 244.004761f, -471.619019f, -124.720215f, -476.459564f, 10.8914795f, -75.92285f, -28.7675781f, -386.177429f, 462.7093f, 14.699707f);
TestUtils.AreEqual(r2, ++a2);
float3x4 a3 = float3x4(-46.303772f, -222.2291f, 340.8178f, 399.741272f, -311.372345f, 300.177979f, -272.7783f, 351.019165f, 436.575256f, -137.063324f, 312.579956f, -315.999023f);
float3x4 r3 = float3x4(-45.303772f, -221.2291f, 341.8178f, 400.741272f, -310.372345f, 301.177979f, -271.7783f, 352.019165f, 437.575256f, -136.063324f, 313.579956f, -314.999023f);
TestUtils.AreEqual(r3, ++a3);
}
[TestCompiler]
public static void float3x4_operator_postfix_inc()
{
float3x4 a0 = float3x4(-396.669739f, 511.20752f, 249.111267f, -128.817322f, -259.4903f, 278.008179f, -81.39343f, 66.71973f, 167.852112f, 147.94397f, -326.1076f, 41.03357f);
float3x4 r0 = float3x4(-396.669739f, 511.20752f, 249.111267f, -128.817322f, -259.4903f, 278.008179f, -81.39343f, 66.71973f, 167.852112f, 147.94397f, -326.1076f, 41.03357f);
TestUtils.AreEqual(r0, a0++);
float3x4 a1 = float3x4(128.5304f, -60.1323853f, -446.229767f, -296.937836f, 267.293823f, 446.2293f, 49.2001953f, -326.643127f, -510.864227f, 471.647461f, -171.013092f, 310.727356f);
float3x4 r1 = float3x4(128.5304f, -60.1323853f, -446.229767f, -296.937836f, 267.293823f, 446.2293f, 49.2001953f, -326.643127f, -510.864227f, 471.647461f, -171.013092f, 310.727356f);
TestUtils.AreEqual(r1, a1++);
float3x4 a2 = float3x4(-298.917175f, 184.603455f, 290.69104f, 117.192322f, 164.442932f, 412.3678f, -229.386566f, 239.596924f, 36.62433f, -80.70819f, -391.0335f, -478.227142f);
float3x4 r2 = float3x4(-298.917175f, 184.603455f, 290.69104f, 117.192322f, 164.442932f, 412.3678f, -229.386566f, 239.596924f, 36.62433f, -80.70819f, -391.0335f, -478.227142f);
TestUtils.AreEqual(r2, a2++);
float3x4 a3 = float3x4(166.860474f, -389.396667f, -52.13214f, 35.75531f, 356.052124f, 6.52948f, -285.349823f, 418.016479f, 47.1428833f, 31.4516f, 148.9469f, -219.800385f);
float3x4 r3 = float3x4(166.860474f, -389.396667f, -52.13214f, 35.75531f, 356.052124f, 6.52948f, -285.349823f, 418.016479f, 47.1428833f, 31.4516f, 148.9469f, -219.800385f);
TestUtils.AreEqual(r3, a3++);
}
[TestCompiler]
public static void float3x4_operator_prefix_dec()
{
float3x4 a0 = float3x4(123.128723f, 256.84375f, 156.330811f, 461.737427f, 325.867981f, 392.015625f, 187.874146f, -236.225189f, 125.109619f, 469.844727f, 45.5366821f, 376.046875f);
float3x4 r0 = float3x4(122.128723f, 255.84375f, 155.330811f, 460.737427f, 324.867981f, 391.015625f, 186.874146f, -237.225189f, 124.109619f, 468.844727f, 44.5366821f, 375.046875f);
TestUtils.AreEqual(r0, --a0);
float3x4 a1 = float3x4(-363.0755f, 248.7901f, 168.095032f, 168.265625f, -190.284729f, 166.945557f, 183.957947f, 485.6947f, -460.739319f, 89.5698853f, -267.4298f, 201.756226f);
float3x4 r1 = float3x4(-364.0755f, 247.7901f, 167.095032f, 167.265625f, -191.284729f, 165.945557f, 182.957947f, 484.6947f, -461.739319f, 88.5698853f, -268.4298f, 200.756226f);
TestUtils.AreEqual(r1, --a1);
float3x4 a2 = float3x4(-141.216888f, 197.361755f, -213.544128f, 180.7406f, -128.3125f, 478.045532f, -454.566132f, -386.898346f, 387.857f, -315.110443f, -108.28656f, -286.317017f);
float3x4 r2 = float3x4(-142.216888f, 196.361755f, -214.544128f, 179.7406f, -129.3125f, 477.045532f, -455.566132f, -387.898346f, 386.857f, -316.110443f, -109.28656f, -287.317017f);
TestUtils.AreEqual(r2, --a2);
float3x4 a3 = float3x4(-375.601563f, 78.27545f, 161.531982f, -346.847961f, -57.54077f, 455.372864f, 444.798157f, 129.820129f, 134.710632f, 61.322998f, -274.543335f, -43.39557f);
float3x4 r3 = float3x4(-376.601563f, 77.27545f, 160.531982f, -347.847961f, -58.54077f, 454.372864f, 443.798157f, 128.820129f, 133.710632f, 60.322998f, -275.543335f, -44.39557f);
TestUtils.AreEqual(r3, --a3);
}
[TestCompiler]
public static void float3x4_operator_postfix_dec()
{
float3x4 a0 = float3x4(379.6883f, 302.692871f, -176.07135f, -291.2527f, 470.567566f, -402.925964f, -63.65515f, 355.2611f, -27.8892212f, -100.761841f, 156.14032f, 479.9452f);
float3x4 r0 = float3x4(379.6883f, 302.692871f, -176.07135f, -291.2527f, 470.567566f, -402.925964f, -63.65515f, 355.2611f, -27.8892212f, -100.761841f, 156.14032f, 479.9452f);
TestUtils.AreEqual(r0, a0--);
float3x4 a1 = float3x4(-200.304291f, 407.420349f, 327.670349f, 48.06018f, -209.667969f, -38.43506f, 283.9416f, -94.80209f, 152.510681f, -287.2625f, -215.948029f, -407.046356f);
float3x4 r1 = float3x4(-200.304291f, 407.420349f, 327.670349f, 48.06018f, -209.667969f, -38.43506f, 283.9416f, -94.80209f, 152.510681f, -287.2625f, -215.948029f, -407.046356f);
TestUtils.AreEqual(r1, a1--);
float3x4 a2 = float3x4(159.233582f, 168.41394f, -278.933777f, 289.912842f, 402.039551f, 470.716553f, -208.560608f, 145.896729f, -296.790955f, -274.570831f, -250.04126f, -70.85629f);
float3x4 r2 = float3x4(159.233582f, 168.41394f, -278.933777f, 289.912842f, 402.039551f, 470.716553f, -208.560608f, 145.896729f, -296.790955f, -274.570831f, -250.04126f, -70.85629f);
TestUtils.AreEqual(r2, a2--);
float3x4 a3 = float3x4(-485.627838f, -503.192078f, 397.648621f, 446.621582f, -292.81012f, 126.6225f, -250.442413f, 470.816467f, 26.9436035f, -186.923523f, 45.7460938f, -206.455963f);
float3x4 r3 = float3x4(-485.627838f, -503.192078f, 397.648621f, 446.621582f, -292.81012f, 126.6225f, -250.442413f, 470.816467f, 26.9436035f, -186.923523f, 45.7460938f, -206.455963f);
TestUtils.AreEqual(r3, a3--);
}
}
}

View File

@@ -0,0 +1,945 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using NUnit.Framework;
using static Unity.Mathematics.math;
using Burst.Compiler.IL.Tests;
namespace Unity.Mathematics.Tests
{
[TestFixture]
public class TestFloat4x2
{
[TestCompiler]
public static void float4x2_zero()
{
TestUtils.AreEqual(0.0f, float4x2.zero.c0.x);
TestUtils.AreEqual(0.0f, float4x2.zero.c0.y);
TestUtils.AreEqual(0.0f, float4x2.zero.c0.z);
TestUtils.AreEqual(0.0f, float4x2.zero.c0.w);
TestUtils.AreEqual(0.0f, float4x2.zero.c1.x);
TestUtils.AreEqual(0.0f, float4x2.zero.c1.y);
TestUtils.AreEqual(0.0f, float4x2.zero.c1.z);
TestUtils.AreEqual(0.0f, float4x2.zero.c1.w);
}
[TestCompiler]
public static void float4x2_operator_equal_wide_wide()
{
float4x2 a0 = float4x2(492.1576f, -495.206329f, 227.457642f, -147.374054f, -222.682f, 64.09375f, -23.8904114f, -16.8197327f);
float4x2 b0 = float4x2(192.568787f, -235.611023f, -254.043121f, -412.624725f, 471.9048f, -6.47277832f, -339.102356f, 488.187561f);
bool4x2 r0 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
float4x2 a1 = float4x2(163.232117f, -165.271f, 470.8777f, -423.942566f, 109.6344f, 462.6903f, -335.38147f, 357.2345f);
float4x2 b1 = float4x2(-379.5966f, -308.417f, -82.333374f, -102.921082f, 226.515747f, -356.9013f, -362.912781f, -427.898438f);
bool4x2 r1 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
float4x2 a2 = float4x2(1.54559326f, -347.388245f, -114.472168f, 435.848633f, 194.2381f, 138.765564f, -467.349152f, 370.43335f);
float4x2 b2 = float4x2(466.650146f, -102.799042f, -43.355957f, 85.0456543f, -91.1270447f, 422.192078f, -477.4313f, 1.87701416f);
bool4x2 r2 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
float4x2 a3 = float4x2(476.708252f, 320.552673f, -498.59198f, 92.41693f, 104.511353f, 166.754578f, -204.733429f, 434.756775f);
float4x2 b3 = float4x2(312.580078f, 254.599365f, 352.72583f, 62.4909668f, 119.714783f, -511.058075f, -302.472717f, -371.769226f);
bool4x2 r3 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void float4x2_operator_equal_wide_scalar()
{
float4x2 a0 = float4x2(-303.230072f, 451.5263f, -253.655884f, -105.203644f, -500.6911f, -426.192474f, 159.8761f, -59.55838f);
float b0 = (123.544556f);
bool4x2 r0 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
float4x2 a1 = float4x2(-57.4773865f, 406.513733f, 370.886f, -172.035309f, 455.400024f, -11.3389893f, 363.938232f, -27.1505737f);
float b1 = (-182.049744f);
bool4x2 r1 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
float4x2 a2 = float4x2(-325.976074f, 180.196838f, -374.128326f, -439.358948f, -126.546082f, -197.26178f, -227.159332f, -479.8992f);
float b2 = (-290.359039f);
bool4x2 r2 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
float4x2 a3 = float4x2(-439.777679f, -224.517059f, -422.833221f, -450.196259f, -20.10672f, 297.38f, 185.966553f, -102.975983f);
float b3 = (-495.237335f);
bool4x2 r3 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void float4x2_operator_equal_scalar_wide()
{
float a0 = (-253.397278f);
float4x2 b0 = float4x2(19.95221f, -185.791992f, 407.8136f, -87.2767f, -206.274689f, 160.503113f, -274.7708f, -2.63153076f);
bool4x2 r0 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
float a1 = (448.354553f);
float4x2 b1 = float4x2(-410.035248f, 247.329041f, 355.539124f, -298.0667f, 414.1015f, -481.3026f, 196.55072f, 34.6010132f);
bool4x2 r1 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
float a2 = (113.7616f);
float4x2 b2 = float4x2(-386.453369f, -124.49176f, 243.886658f, -492.6182f, 145.424438f, 421.55072f, -95.40997f, 336.809265f);
bool4x2 r2 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
float a3 = (209.5838f);
float4x2 b3 = float4x2(487.4414f, 161.806519f, 149.842468f, 225.724f, -71.21881f, 85.78027f, 192.547241f, -49.88748f);
bool4x2 r3 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void float4x2_operator_not_equal_wide_wide()
{
float4x2 a0 = float4x2(430.842529f, 104.69f, 225.802429f, -310.5702f, -418.619446f, 304.128174f, -509.3268f, -160.538086f);
float4x2 b0 = float4x2(210.024719f, -55.20334f, -269.925354f, -234.546722f, 25.91742f, -63.72699f, -484.5537f, -425.3336f);
bool4x2 r0 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
float4x2 a1 = float4x2(-203.301971f, -505.763245f, 162.17218f, 1.156189f, 65.66205f, 102.787781f, 172.930054f, 26.6210327f);
float4x2 b1 = float4x2(-53.2743835f, 328.1944f, 15.9631348f, 461.7141f, -113.363037f, -240.072968f, 495.119141f, 203.55835f);
bool4x2 r1 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
float4x2 a2 = float4x2(235.125977f, 128.541992f, -354.996979f, 334.3595f, -495.832f, 468.307373f, 458.370972f, 299.937317f);
float4x2 b2 = float4x2(340.493469f, -241.9072f, 459.569824f, 213.07373f, -384.782837f, -255.072327f, 477.663452f, -248.036621f);
bool4x2 r2 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
float4x2 a3 = float4x2(43.1271973f, -354.7135f, -145.2872f, 390.80188f, -303.13147f, 391.134583f, 139.286865f, 104.523193f);
float4x2 b3 = float4x2(-407.923462f, -199.788879f, 151.843262f, -97.1206055f, 154.975891f, -172.834534f, 441.5028f, -401.738617f);
bool4x2 r3 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void float4x2_operator_not_equal_wide_scalar()
{
float4x2 a0 = float4x2(-16.9145813f, 168.8341f, -462.713531f, 130.307739f, 214.501587f, -440.263275f, -197.12796f, -169.099854f);
float b0 = (-145.372772f);
bool4x2 r0 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
float4x2 a1 = float4x2(-386.611176f, -270.26886f, -403.9637f, -269.805725f, 299.654236f, -71.7509155f, -432.755737f, -457.363129f);
float b1 = (-281.021f);
bool4x2 r1 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
float4x2 a2 = float4x2(-13.5195923f, 185.04248f, -482.5307f, 116.395142f, 511.735f, 230.5075f, 100.27478f, 129.682434f);
float b2 = (273.873047f);
bool4x2 r2 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
float4x2 a3 = float4x2(321.178772f, 140.3352f, 369.212341f, 453.811218f, -333.66626f, -373.937744f, 150.204285f, -442.164764f);
float b3 = (-220.639f);
bool4x2 r3 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void float4x2_operator_not_equal_scalar_wide()
{
float a0 = (275.795837f);
float4x2 b0 = float4x2(-57.1969f, -382.432526f, 97.82037f, -161.463654f, -458.39563f, -499.617859f, 327.92218f, 367.571228f);
bool4x2 r0 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
float a1 = (59.786377f);
float4x2 b1 = float4x2(-209.580688f, -62.5804443f, -479.974976f, -49.4945068f, -114.685211f, 109.93927f, -176.284821f, -347.4853f);
bool4x2 r1 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
float a2 = (85.5409546f);
float4x2 b2 = float4x2(-356.659546f, -104.243561f, -133.5492f, 243.539734f, 13.1412964f, -379.985962f, -41.28122f, 87.91168f);
bool4x2 r2 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
float a3 = (-339.077271f);
float4x2 b3 = float4x2(-371.820343f, 333.1443f, 294.811951f, -187.14566f, 220.192261f, -228.182068f, -499.723724f, 97.40588f);
bool4x2 r3 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void float4x2_operator_less_wide_wide()
{
float4x2 a0 = float4x2(196.84259f, 336.4098f, 251.963745f, 257.655945f, 430.0459f, -62.4196472f, 8.839233f, -333.8167f);
float4x2 b0 = float4x2(-465.345032f, -256.1524f, -314.814026f, 364.5667f, 100.21051f, 182.560974f, 3.11700439f, -259.430481f);
bool4x2 r0 = bool4x2(false, false, false, true, false, true, false, true);
TestUtils.AreEqual(r0, a0 < b0);
float4x2 a1 = float4x2(164.678833f, -350.9449f, 3.84143066f, 125.409729f, -111.129944f, 70.00549f, 448.1983f, -419.987122f);
float4x2 b1 = float4x2(-437.3349f, -456.043732f, -394.255981f, 401.9137f, 313.439148f, 121.286682f, -28.0122986f, -282.965881f);
bool4x2 r1 = bool4x2(false, false, false, true, true, true, false, true);
TestUtils.AreEqual(r1, a1 < b1);
float4x2 a2 = float4x2(-258.301666f, -34.8322144f, -69.8594055f, 67.76721f, -139.777283f, 385.434631f, 133.7074f, 506.188354f);
float4x2 b2 = float4x2(330.0644f, 124.099365f, -183.6903f, 373.0608f, 109.750916f, -203.57135f, 45.64868f, -360.952271f);
bool4x2 r2 = bool4x2(true, true, false, true, true, false, false, false);
TestUtils.AreEqual(r2, a2 < b2);
float4x2 a3 = float4x2(34.44287f, 412.1137f, -84.8097839f, 444.785339f, -78.75473f, 366.977539f, 127.180481f, 428.368469f);
float4x2 b3 = float4x2(211.913086f, -313.286377f, -259.661072f, 79.09851f, 446.4961f, 450.524536f, -375.630768f, -53.9418335f);
bool4x2 r3 = bool4x2(true, false, false, false, true, true, false, false);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void float4x2_operator_less_wide_scalar()
{
float4x2 a0 = float4x2(-132.057312f, -192.465f, -66.8345947f, -379.017517f, -360.2824f, 20.9278564f, -158.240753f, 437.3459f);
float b0 = (-156.010223f);
bool4x2 r0 = bool4x2(false, true, false, true, true, false, true, false);
TestUtils.AreEqual(r0, a0 < b0);
float4x2 a1 = float4x2(-20.4526062f, 307.4842f, 274.015259f, 373.549683f, 398.523682f, 105.030151f, -58.0108948f, 109.670105f);
float b1 = (225.2915f);
bool4x2 r1 = bool4x2(true, false, false, false, false, true, true, true);
TestUtils.AreEqual(r1, a1 < b1);
float4x2 a2 = float4x2(-108.85318f, 140.426086f, -500.0883f, 172.103333f, -197.500732f, -7.271515f, -432.9905f, 62.1583252f);
float b2 = (-44.9712524f);
bool4x2 r2 = bool4x2(true, false, true, false, true, false, true, false);
TestUtils.AreEqual(r2, a2 < b2);
float4x2 a3 = float4x2(-72.25473f, -500.255737f, 149.11499f, 119.880615f, 202.63916f, 274.950684f, 66.41205f, 274.999451f);
float b3 = (-377.852325f);
bool4x2 r3 = bool4x2(false, true, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void float4x2_operator_less_scalar_wide()
{
float a0 = (-423.1174f);
float4x2 b0 = float4x2(385.094849f, -123.933472f, 86.37659f, 133.4422f, 161.457947f, 229.754272f, 222.5716f, 315.5312f);
bool4x2 r0 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 < b0);
float a1 = (-447.203522f);
float4x2 b1 = float4x2(271.833862f, -393.605316f, 317.486877f, -164.6051f, -282.876038f, 296.979553f, -254.401154f, 365.6156f);
bool4x2 r1 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 < b1);
float a2 = (-441.984253f);
float4x2 b2 = float4x2(-131.42865f, 442.628967f, -29.7928467f, -138.37381f, 9.21698f, -226.73056f, 171.029419f, 376.625244f);
bool4x2 r2 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 < b2);
float a3 = (-462.5887f);
float4x2 b3 = float4x2(-142.36731f, -456.253784f, 66.61023f, 169.378784f, 327.4444f, 64.08795f, -153.5039f, 199.380127f);
bool4x2 r3 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void float4x2_operator_greater_wide_wide()
{
float4x2 a0 = float4x2(483.5014f, 310.8156f, 106.966187f, 295.7353f, 116.957581f, -478.299774f, -14.8974f, -33.8174438f);
float4x2 b0 = float4x2(-471.398f, -371.9853f, 36.9006958f, -316.7636f, 19.6830444f, 207.309143f, 362.7975f, 324.95343f);
bool4x2 r0 = bool4x2(true, true, true, true, true, false, false, false);
TestUtils.AreEqual(r0, a0 > b0);
float4x2 a1 = float4x2(-24.74054f, 319.782654f, -120.158569f, -289.008575f, 455.85144f, 144.706909f, 63.9320068f, -285.683044f);
float4x2 b1 = float4x2(340.948059f, 25.9860229f, -114.211121f, 240.803467f, 273.422424f, 325.515747f, 27.3410645f, 64.47955f);
bool4x2 r1 = bool4x2(false, true, false, false, true, false, true, false);
TestUtils.AreEqual(r1, a1 > b1);
float4x2 a2 = float4x2(-502.090729f, -337.194458f, 474.317322f, -507.1451f, -133.565582f, -443.109131f, -464.34137f, -68.36154f);
float4x2 b2 = float4x2(200.948364f, 100.122681f, -79.00711f, -315.137939f, -122.985443f, -163.7792f, -492.566f, -90.79727f);
bool4x2 r2 = bool4x2(false, false, true, false, false, false, true, true);
TestUtils.AreEqual(r2, a2 > b2);
float4x2 a3 = float4x2(-185.993011f, -157.8039f, -74.12424f, -94.47116f, 329.610535f, -315.836731f, 404.1938f, 131.304382f);
float4x2 b3 = float4x2(-284.901245f, -23.6536865f, 174.93f, 85.7125244f, -441.987823f, 345.543762f, 482.219482f, -422.383484f);
bool4x2 r3 = bool4x2(true, false, false, false, true, false, false, true);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void float4x2_operator_greater_wide_scalar()
{
float4x2 a0 = float4x2(64.31793f, -397.703461f, 431.8769f, 85.703f, 246.263062f, 197.491577f, 286.199463f, 280.813354f);
float b0 = (305.859924f);
bool4x2 r0 = bool4x2(false, false, true, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 > b0);
float4x2 a1 = float4x2(-405.7846f, -241.807281f, 333.5782f, 370.279175f, -413.7014f, -356.592346f, -353.0313f, 396.645325f);
float b1 = (171.565369f);
bool4x2 r1 = bool4x2(false, false, true, true, false, false, false, true);
TestUtils.AreEqual(r1, a1 > b1);
float4x2 a2 = float4x2(467.222046f, 502.915039f, 315.4676f, -259.2897f, 281.230652f, 428.792175f, 245.153076f, -279.1754f);
float b2 = (-240.013428f);
bool4x2 r2 = bool4x2(true, true, true, false, true, true, true, false);
TestUtils.AreEqual(r2, a2 > b2);
float4x2 a3 = float4x2(-453.8631f, -425.652924f, 99.13287f, 355.060547f, -456.439423f, 154.489014f, 405.529724f, -157.7338f);
float b3 = (-124.771545f);
bool4x2 r3 = bool4x2(false, false, true, true, false, true, true, false);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void float4x2_operator_greater_scalar_wide()
{
float a0 = (-282.6705f);
float4x2 b0 = float4x2(358.099976f, -72.596405f, -232.163788f, -60.7067261f, 75.15662f, 150.883484f, 339.539185f, -498.196045f);
bool4x2 r0 = bool4x2(false, false, false, false, false, false, false, true);
TestUtils.AreEqual(r0, a0 > b0);
float a1 = (459.7461f);
float4x2 b1 = float4x2(-227.968719f, 335.862122f, 76.17883f, 296.859924f, 177.48999f, -281.2012f, 244.722839f, 137.328552f);
bool4x2 r1 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 > b1);
float a2 = (-385.338257f);
float4x2 b2 = float4x2(443.163452f, -353.562561f, 26.04065f, -331.793945f, -43.6919556f, 20.9494019f, -211.17984f, 227.421692f);
bool4x2 r2 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 > b2);
float a3 = (-84.7797852f);
float4x2 b3 = float4x2(-375.1355f, -205.178131f, -197.04715f, -219.634033f, -210.015625f, -266.7737f, 144.7785f, -471.7112f);
bool4x2 r3 = bool4x2(true, true, true, true, true, true, false, true);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void float4x2_operator_less_equal_wide_wide()
{
float4x2 a0 = float4x2(-438.523132f, 210.489441f, 4.87731934f, -137.297943f, 156.094116f, -363.924133f, -97.94849f, 437.2954f);
float4x2 b0 = float4x2(-474.814148f, 304.371033f, 234.824158f, -390.485443f, -297.175354f, -326.2924f, 107.253906f, -413.131073f);
bool4x2 r0 = bool4x2(false, true, true, false, false, true, true, false);
TestUtils.AreEqual(r0, a0 <= b0);
float4x2 a1 = float4x2(458.530273f, -294.064758f, 23.62262f, -34.2840576f, 149.736511f, -418.8867f, -197.502533f, -88.2055054f);
float4x2 b1 = float4x2(67.09442f, 470.075256f, -84.499115f, 392.784241f, -263.531738f, 369.3009f, -333.3253f, 238.413452f);
bool4x2 r1 = bool4x2(false, true, false, true, false, true, false, true);
TestUtils.AreEqual(r1, a1 <= b1);
float4x2 a2 = float4x2(-376.71814f, 341.627136f, -83.30917f, -107.490723f, 319.466858f, 205.357361f, 345.563721f, 395.3219f);
float4x2 b2 = float4x2(486.2426f, 279.6502f, 236.052f, 132.758972f, 66.29474f, 183.002136f, 200.130554f, 339.043823f);
bool4x2 r2 = bool4x2(true, false, true, true, false, false, false, false);
TestUtils.AreEqual(r2, a2 <= b2);
float4x2 a3 = float4x2(-222.874146f, 439.022034f, -368.075562f, -200.0386f, 71.46991f, -357.365417f, 141.710876f, 319.0171f);
float4x2 b3 = float4x2(438.5379f, 145.401855f, 178.163086f, 157.975952f, 329.7052f, -243.590912f, 5.401184f, -22.5805969f);
bool4x2 r3 = bool4x2(true, false, true, true, true, true, false, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void float4x2_operator_less_equal_wide_scalar()
{
float4x2 a0 = float4x2(193.49585f, 168.915527f, -313.993073f, 81.8269653f, 18.5036011f, -0.3581848f, 241.361145f, -463.8164f);
float b0 = (443.850525f);
bool4x2 r0 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 <= b0);
float4x2 a1 = float4x2(-1.35775757f, 398.991943f, -471.253082f, -264.9378f, 82.2583f, 11.2460327f, 424.704041f, 426.482239f);
float b1 = (-268.899475f);
bool4x2 r1 = bool4x2(false, false, true, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 <= b1);
float4x2 a2 = float4x2(56.3200073f, 31.9011841f, -152.257568f, -437.926453f, -37.1048279f, -47.1442261f, 333.623047f, -274.8039f);
float b2 = (-196.2879f);
bool4x2 r2 = bool4x2(false, false, false, true, false, false, false, true);
TestUtils.AreEqual(r2, a2 <= b2);
float4x2 a3 = float4x2(358.67627f, 192.309143f, 145.306091f, -466.132965f, -494.267334f, -111.570129f, -139.5412f, -146.589355f);
float b3 = (-260.460571f);
bool4x2 r3 = bool4x2(false, false, false, true, true, false, false, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void float4x2_operator_less_equal_scalar_wide()
{
float a0 = (393.606262f);
float4x2 b0 = float4x2(-75.6883545f, -44.2638855f, 125.864929f, 191.9649f, 13.54303f, -197.051941f, -423.9451f, -330.0486f);
bool4x2 r0 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 <= b0);
float a1 = (420.165527f);
float4x2 b1 = float4x2(105.5473f, 174.821289f, 296.7176f, -469.7004f, 123.267212f, 112.996948f, 495.143372f, -488.6579f);
bool4x2 r1 = bool4x2(false, false, false, false, false, false, true, false);
TestUtils.AreEqual(r1, a1 <= b1);
float a2 = (388.539429f);
float4x2 b2 = float4x2(-493.240784f, 16.45105f, -387.651642f, -229.1773f, -373.01532f, -391.142151f, 90.99414f, -178.396149f);
bool4x2 r2 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 <= b2);
float a3 = (-69.62106f);
float4x2 b3 = float4x2(471.790833f, -67.46677f, 45.30536f, -154.6922f, 385.7389f, -431.652954f, -331.673035f, -349.8927f);
bool4x2 r3 = bool4x2(true, true, true, false, true, false, false, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void float4x2_operator_greater_equal_wide_wide()
{
float4x2 a0 = float4x2(-507.9286f, 504.4975f, -385.4345f, -262.323425f, -37.5509338f, -111.595276f, -463.702026f, 387.448853f);
float4x2 b0 = float4x2(-81.3465f, 297.666138f, 171.06543f, -431.038055f, -6.85907f, 319.7257f, 254.079163f, 396.5724f);
bool4x2 r0 = bool4x2(false, true, false, true, false, false, false, false);
TestUtils.AreEqual(r0, a0 >= b0);
float4x2 a1 = float4x2(456.9688f, -211.010162f, 182.411377f, -53.59604f, -309.570221f, -136.022491f, 280.736267f, -96.99588f);
float4x2 b1 = float4x2(178.8393f, -447.063354f, 288.492676f, 474.889282f, -321.750244f, -395.977234f, -158.692474f, 391.4887f);
bool4x2 r1 = bool4x2(true, true, false, false, true, true, true, false);
TestUtils.AreEqual(r1, a1 >= b1);
float4x2 a2 = float4x2(-174.059509f, 88.90192f, 43.81604f, -446.07843f, 16.6455688f, 409.83252f, -191.329865f, 222.9978f);
float4x2 b2 = float4x2(-368.109253f, 89.12378f, -510.279327f, -486.9298f, -81.2155457f, 274.2188f, -212.881561f, 288.9953f);
bool4x2 r2 = bool4x2(true, false, true, true, true, true, true, false);
TestUtils.AreEqual(r2, a2 >= b2);
float4x2 a3 = float4x2(404.2884f, 230.603271f, -441.789276f, -86.29306f, 484.249573f, 95.23639f, -204.912109f, -199.774353f);
float4x2 b3 = float4x2(307.73175f, 307.245178f, -199.391785f, -284.421265f, -482.3918f, 448.315735f, -378.3462f, -390.858459f);
bool4x2 r3 = bool4x2(true, false, false, true, true, false, true, true);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void float4x2_operator_greater_equal_wide_scalar()
{
float4x2 a0 = float4x2(465.152161f, -424.886078f, -209.2211f, 58.7798462f, -302.2691f, 140.12561f, 16.3533936f, -344.559967f);
float b0 = (-5.599884f);
bool4x2 r0 = bool4x2(true, false, false, true, false, true, true, false);
TestUtils.AreEqual(r0, a0 >= b0);
float4x2 a1 = float4x2(393.278076f, 441.011536f, -509.781555f, -36.9942932f, 494.8203f, -164.973938f, -466.1201f, -123.813751f);
float b1 = (-315.701538f);
bool4x2 r1 = bool4x2(true, true, false, true, true, true, false, true);
TestUtils.AreEqual(r1, a1 >= b1);
float4x2 a2 = float4x2(215.651245f, 314.346f, 190.516113f, -83.11142f, -23.8364258f, 143.049377f, -264.919983f, -169.702209f);
float b2 = (104.995728f);
bool4x2 r2 = bool4x2(true, true, true, false, false, true, false, false);
TestUtils.AreEqual(r2, a2 >= b2);
float4x2 a3 = float4x2(329.70752f, -260.4233f, 354.195129f, -111.845337f, 33.309082f, 355.6313f, -435.360565f, -38.3993225f);
float b3 = (359.095825f);
bool4x2 r3 = bool4x2(false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void float4x2_operator_greater_equal_scalar_wide()
{
float a0 = (374.827026f);
float4x2 b0 = float4x2(-1.60977173f, 338.615234f, -116.1814f, -332.157318f, -355.97937f, -468.901428f, 38.579895f, -332.347534f);
bool4x2 r0 = bool4x2(true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 >= b0);
float a1 = (2.89013672f);
float4x2 b1 = float4x2(467.777771f, 121.406372f, -305.023376f, -58.4288025f, -226.519562f, -47.0209961f, 305.302673f, -427.401245f);
bool4x2 r1 = bool4x2(false, false, true, true, true, true, false, true);
TestUtils.AreEqual(r1, a1 >= b1);
float a2 = (92.26367f);
float4x2 b2 = float4x2(-497.178528f, -408.625641f, -455.2305f, 396.4261f, -469.2949f, -485.754028f, -182.346191f, -291.545349f);
bool4x2 r2 = bool4x2(true, true, true, false, true, true, true, true);
TestUtils.AreEqual(r2, a2 >= b2);
float a3 = (278.740784f);
float4x2 b3 = float4x2(-75.8711243f, 28.9070435f, 287.720154f, 420.509766f, 473.626831f, 181.514526f, -369.202881f, 243.749756f);
bool4x2 r3 = bool4x2(true, true, false, false, false, true, true, true);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void float4x2_operator_add_wide_wide()
{
float4x2 a0 = float4x2(506.129028f, -501.779816f, 420.084778f, -186.032074f, -9.312408f, 328.51178f, 424.344055f, 87.79108f);
float4x2 b0 = float4x2(-28.7579956f, -337.135132f, -340.676819f, 152.312012f, 423.66748f, 90.3740845f, 376.18866f, 1.76721191f);
float4x2 r0 = float4x2(477.371033f, -838.9149f, 79.40796f, -33.7200623f, 414.355072f, 418.885864f, 800.5327f, 89.55829f);
TestUtils.AreEqual(r0, a0 + b0);
float4x2 a1 = float4x2(462.4137f, -46.17871f, 401.170044f, -454.124146f, 69.19568f, -177.957336f, 299.604126f, 340.704834f);
float4x2 b1 = float4x2(-120.185852f, -279.629364f, -344.6671f, 242.839172f, 418.593079f, -23.3128052f, -95.0999451f, 147.9281f);
float4x2 r1 = float4x2(342.227844f, -325.808075f, 56.50293f, -211.284973f, 487.788757f, -201.270142f, 204.504181f, 488.632935f);
TestUtils.AreEqual(r1, a1 + b1);
float4x2 a2 = float4x2(219.916016f, -321.9084f, 286.355347f, -333.4195f, -118.932159f, 68.60748f, 23.190918f, -205.577881f);
float4x2 b2 = float4x2(331.0329f, -82.50256f, 279.4496f, 342.622742f, -300.358521f, -209.694092f, 446.559448f, -351.9892f);
float4x2 r2 = float4x2(550.9489f, -404.41095f, 565.804932f, 9.203247f, -419.29068f, -141.086609f, 469.750366f, -557.5671f);
TestUtils.AreEqual(r2, a2 + b2);
float4x2 a3 = float4x2(11.5214233f, -340.795074f, -68.93118f, 304.8532f, -86.63385f, 105.669128f, 349.280518f, 364.7079f);
float4x2 b3 = float4x2(-263.12384f, -252.458557f, 289.825378f, 338.796143f, -232.619019f, -510.50824f, 349.280762f, -426.212463f);
float4x2 r3 = float4x2(-251.602417f, -593.253662f, 220.8942f, 643.649353f, -319.252869f, -404.8391f, 698.5613f, -61.5045776f);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void float4x2_operator_add_wide_scalar()
{
float4x2 a0 = float4x2(-194.514191f, 338.5484f, 246.971375f, 100.510925f, -45.72467f, -478.1113f, 30.9161377f, 60.37433f);
float b0 = (124.121704f);
float4x2 r0 = float4x2(-70.39249f, 462.6701f, 371.093079f, 224.632629f, 78.39703f, -353.9896f, 155.037842f, 184.496033f);
TestUtils.AreEqual(r0, a0 + b0);
float4x2 a1 = float4x2(-242.118744f, 6.79937744f, -484.6998f, -188.265015f, -213.526733f, -267.7843f, 189.259949f, 198.533569f);
float b1 = (82.50134f);
float4x2 r1 = float4x2(-159.6174f, 89.30072f, -402.198456f, -105.763672f, -131.025391f, -185.282959f, 271.7613f, 281.0349f);
TestUtils.AreEqual(r1, a1 + b1);
float4x2 a2 = float4x2(187.536072f, 302.102356f, 300.3991f, 124.021606f, -200.161346f, 31.3782349f, 362.522156f, -423.988861f);
float b2 = (-424.925659f);
float4x2 r2 = float4x2(-237.389587f, -122.8233f, -124.52655f, -300.904053f, -625.087036f, -393.547424f, -62.4035034f, -848.914551f);
TestUtils.AreEqual(r2, a2 + b2);
float4x2 a3 = float4x2(432.41333f, -465.6995f, -311.04303f, 84.91901f, -432.442444f, 235.750671f, -472.637756f, -257.577759f);
float b3 = (374.211426f);
float4x2 r3 = float4x2(806.624756f, -91.48807f, 63.168396f, 459.130432f, -58.2310181f, 609.9621f, -98.42633f, 116.633667f);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void float4x2_operator_add_scalar_wide()
{
float a0 = (-340.354675f);
float4x2 b0 = float4x2(511.362244f, -146.216644f, -106.210419f, -363.450256f, 199.0896f, -27.1083984f, 419.849f, 284.955017f);
float4x2 r0 = float4x2(171.007568f, -486.57132f, -446.5651f, -703.804932f, -141.265076f, -367.463074f, 79.49432f, -55.39966f);
TestUtils.AreEqual(r0, a0 + b0);
float a1 = (-164.9242f);
float4x2 b1 = float4x2(-249.190338f, 150.928162f, 298.1751f, -457.1534f, 424.718079f, -301.857483f, 230.288879f, -423.5876f);
float4x2 r1 = float4x2(-414.114532f, -13.9960327f, 133.250916f, -622.077637f, 259.793884f, -466.781677f, 65.3646851f, -588.5118f);
TestUtils.AreEqual(r1, a1 + b1);
float a2 = (-67.06003f);
float4x2 b2 = float4x2(68.72412f, -164.02243f, 318.935181f, 7.80456543f, 187.698364f, -3.656952f, -446.083069f, -209.287231f);
float4x2 r2 = float4x2(1.664093f, -231.082458f, 251.875153f, -59.2554626f, 120.638336f, -70.71698f, -513.143066f, -276.34726f);
TestUtils.AreEqual(r2, a2 + b2);
float a3 = (-38.21289f);
float4x2 b3 = float4x2(-346.257172f, 465.607422f, -192.185944f, 278.6938f, 381.978455f, 481.243652f, -97.22815f, -455.513733f);
float4x2 r3 = float4x2(-384.470062f, 427.394531f, -230.398834f, 240.4809f, 343.765564f, 443.030762f, -135.44104f, -493.726624f);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void float4x2_operator_sub_wide_wide()
{
float4x2 a0 = float4x2(160.492249f, 11.223938f, 359.200134f, -498.2283f, -355.253632f, -94.53485f, -410.46405f, -401.384644f);
float4x2 b0 = float4x2(115.46875f, -130.9823f, 241.540833f, 9.987061f, 419.895142f, 59.12445f, -402.381653f, -75.37015f);
float4x2 r0 = float4x2(45.0235f, 142.206238f, 117.6593f, -508.215363f, -775.1488f, -153.6593f, -8.082397f, -326.0145f);
TestUtils.AreEqual(r0, a0 - b0);
float4x2 a1 = float4x2(317.706848f, 447.060425f, -489.074158f, -230.008392f, 24.8754272f, 366.614441f, -107.374146f, -219.008148f);
float4x2 b1 = float4x2(320.9796f, -73.90875f, -31.4447327f, -389.251953f, -375.028839f, 259.182739f, 276.648682f, -453.0692f);
float4x2 r1 = float4x2(-3.272766f, 520.9692f, -457.629425f, 159.243561f, 399.904266f, 107.4317f, -384.022827f, 234.061066f);
TestUtils.AreEqual(r1, a1 - b1);
float4x2 a2 = float4x2(473.9076f, 259.63623f, -360.119629f, 7.80963135f, 437.428467f, -59.1991577f, 418.744324f, 183.142151f);
float4x2 b2 = float4x2(-272.576538f, -191.148041f, 87.1369f, 430.02478f, 343.6571f, 121.029419f, -354.188171f, 249.052f);
float4x2 r2 = float4x2(746.484131f, 450.784271f, -447.256531f, -422.215149f, 93.77136f, -180.228577f, 772.9325f, -65.90985f);
TestUtils.AreEqual(r2, a2 - b2);
float4x2 a3 = float4x2(271.230347f, 496.208557f, 165.354919f, -227.403656f, -166.522858f, 356.142273f, 386.9264f, -394.638763f);
float4x2 b3 = float4x2(-2.22543335f, 22.4472656f, 478.112976f, -320.063f, -111.524109f, 222.228943f, -245.411072f, -119.902283f);
float4x2 r3 = float4x2(273.45578f, 473.7613f, -312.758057f, 92.65933f, -54.99875f, 133.91333f, 632.337463f, -274.736481f);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void float4x2_operator_sub_wide_scalar()
{
float4x2 a0 = float4x2(207.389587f, 248.457764f, -384.8239f, -205.344757f, -374.811554f, 191.642029f, 18.8562622f, -44.96161f);
float b0 = (-36.1124878f);
float4x2 r0 = float4x2(243.502075f, 284.570251f, -348.711426f, -169.232269f, -338.699066f, 227.754517f, 54.96875f, -8.849121f);
TestUtils.AreEqual(r0, a0 - b0);
float4x2 a1 = float4x2(480.857971f, -366.865448f, -35.5231f, 349.397766f, 439.077271f, 490.2223f, 195.024048f, -384.849426f);
float b1 = (16.3381958f);
float4x2 r1 = float4x2(464.519775f, -383.203644f, -51.8612976f, 333.05957f, 422.739075f, 473.8841f, 178.685852f, -401.187622f);
TestUtils.AreEqual(r1, a1 - b1);
float4x2 a2 = float4x2(189.05188f, -54.931488f, 53.0880737f, 316.8025f, -273.8067f, 256.8872f, 297.173645f, 101.829041f);
float b2 = (55.6027832f);
float4x2 r2 = float4x2(133.4491f, -110.534271f, -2.51470947f, 261.1997f, -329.4095f, 201.284424f, 241.570862f, 46.2262573f);
TestUtils.AreEqual(r2, a2 - b2);
float4x2 a3 = float4x2(136.607971f, 336.589722f, -51.8765564f, 317.345764f, -467.055939f, -50.1670532f, 477.804565f, -60.82193f);
float b3 = (-19.7322083f);
float4x2 r3 = float4x2(156.340179f, 356.32193f, -32.14435f, 337.077972f, -447.32373f, -30.434845f, 497.536774f, -41.08972f);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void float4x2_operator_sub_scalar_wide()
{
float a0 = (-86.00824f);
float4x2 b0 = float4x2(466.4251f, 298.486938f, -300.9501f, 315.38f, -381.092163f, -125.008362f, 58.4661865f, 214.7461f);
float4x2 r0 = float4x2(-552.43335f, -384.495178f, 214.941864f, -401.388245f, 295.083923f, 39.0001221f, -144.474426f, -300.754333f);
TestUtils.AreEqual(r0, a0 - b0);
float a1 = (-257.549438f);
float4x2 b1 = float4x2(480.2246f, -443.355072f, 260.795044f, 29.6819458f, 139.857727f, -247.789948f, -248.466217f, 91.44513f);
float4x2 r1 = float4x2(-737.774048f, 185.805634f, -518.3445f, -287.231384f, -397.407166f, -9.759491f, -9.083221f, -348.994568f);
TestUtils.AreEqual(r1, a1 - b1);
float a2 = (86.3841553f);
float4x2 b2 = float4x2(373.8183f, 260.411926f, 114.353943f, -464.405457f, -109.741455f, -311.675354f, 107.864014f, -258.795166f);
float4x2 r2 = float4x2(-287.434143f, -174.027771f, -27.9697876f, 550.7896f, 196.12561f, 398.0595f, -21.4798584f, 345.179321f);
TestUtils.AreEqual(r2, a2 - b2);
float a3 = (14.0975342f);
float4x2 b3 = float4x2(-461.970184f, 30.3108521f, 63.70111f, -462.676758f, 39.75946f, 47.99817f, -177.6193f, 202.477051f);
float4x2 r3 = float4x2(476.067719f, -16.2133179f, -49.6035767f, 476.7743f, -25.6619263f, -33.9006348f, 191.716827f, -188.379517f);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void float4x2_operator_mul_wide_wide()
{
float4x2 a0 = float4x2(-482.7138f, -407.2935f, 137.700562f, 208.541138f, 194.29657f, -484.242432f, 183.9873f, -241.33548f);
float4x2 b0 = float4x2(-236.367889f, 260.7276f, -416.3863f, -364.4956f, -253.147522f, -369.202881f, 193.547913f, 169.0849f);
float4x2 r0 = float4x2(114098.047f, -106192.656f, -57336.625f, -76012.33f, -49185.6953f, 178783.7f, 35610.36f, -40806.1836f);
TestUtils.AreEqual(r0, a0 * b0);
float4x2 a1 = float4x2(45.8687744f, 363.3261f, -328.118958f, -471.023071f, -262.682556f, -379.262756f, -374.090576f, 481.4474f);
float4x2 b1 = float4x2(201.969666f, 249.456055f, -308.193176f, -385.579651f, -183.2796f, 22.2756348f, -265.521423f, -95.67746f);
float4x2 r1 = float4x2(9264.101f, 90633.9f, 101124.023f, 181616.9f, 48144.3555f, -8448.318f, 99329.06f, -46063.6641f);
TestUtils.AreEqual(r1, a1 * b1);
float4x2 a2 = float4x2(104.628052f, 412.935425f, 477.877258f, 20.3778076f, 291.995972f, -138.488312f, -393.464966f, 9.363098f);
float4x2 b2 = float4x2(133.2544f, 148.311462f, 249.284119f, 500.0055f, -19.3315735f, -36.69107f, 30.5238037f, -401.367f);
float4x2 r2 = float4x2(13942.1475f, 61243.06f, 119127.211f, 10189.0156f, -5644.7417f, 5081.284f, -12010.0479f, -3758.03857f);
TestUtils.AreEqual(r2, a2 * b2);
float4x2 a3 = float4x2(-131.942291f, 364.449646f, 390.615967f, 418.797974f, -277.3448f, 11.4101563f, 474.876465f, -502.405029f);
float4x2 b3 = float4x2(3.43725586f, 257.24176f, -290.971924f, 337.47937f, 490.286133f, -191.0198f, -325.7345f, -52.1819763f);
float4x2 r3 = float4x2(-453.5194f, 93751.67f, -113658.281f, 141335.672f, -135978.3f, -2179.566f, -154683.641f, 26216.4883f);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void float4x2_operator_mul_wide_scalar()
{
float4x2 a0 = float4x2(-96.31882f, -277.142273f, -239.93689f, 509.531433f, 255.8581f, 215.7315f, -455.50827f, -389.2433f);
float b0 = (-301.2072f);
float4x2 r0 = float4x2(29011.9219f, 83477.25f, 72270.72f, -153474.547f, -77066.3047f, -64979.8867f, 137202.375f, 117242.883f);
TestUtils.AreEqual(r0, a0 * b0);
float4x2 a1 = float4x2(-338.29248f, 243.757324f, 135.354675f, -207.3501f, -383.9396f, -31.4252319f, 42.6761475f, 260.38385f);
float b1 = (53.7962646f);
float4x2 r1 = float4x2(-18198.8711f, 13113.2334f, 7281.576f, -11154.6611f, -20654.5176f, -1690.56f, 2295.81738f, 14007.6787f);
TestUtils.AreEqual(r1, a1 * b1);
float4x2 a2 = float4x2(176.867554f, -290.5006f, 207.091f, -156.523315f, -208.402008f, 370.945068f, -341.59845f, 10.2703247f);
float b2 = (25.67212f);
float4x2 r2 = float4x2(4540.565f, -7457.766f, 5316.465f, -4018.28516f, -5350.121f, 9522.946f, -8769.556f, 263.661f);
TestUtils.AreEqual(r2, a2 * b2);
float4x2 a3 = float4x2(-176.888763f, 186.279785f, -487.652222f, -129.376831f, -317.7163f, -207.62735f, 388.8714f, -233.335327f);
float b3 = (-61.0061035f);
float4x2 r3 = float4x2(10791.2939f, -11364.2041f, 29749.7617f, 7892.77637f, 19382.6348f, 12666.5352f, -23723.53f, 14234.8789f);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void float4x2_operator_mul_scalar_wide()
{
float a0 = (37.43219f);
float4x2 b0 = float4x2(96.74756f, 492.185364f, -274.054565f, -452.870972f, 420.853333f, 102.182922f, -114.948883f, -351.120056f);
float4x2 r0 = float4x2(3621.473f, 18423.5762f, -10258.4629f, -16951.9531f, 15753.4619f, 3824.93066f, -4302.78857f, -13143.1924f);
TestUtils.AreEqual(r0, a0 * b0);
float a1 = (-464.664978f);
float4x2 b1 = float4x2(444.084839f, 447.1053f, 130.829346f, -321.41333f, 445.301331f, 478.2436f, 358.571716f, -144.8901f);
float4x2 r1 = float4x2(-206350.672f, -207754.172f, -60791.8164f, 149349.516f, -206915.938f, -222223.047f, -166615.719f, 67325.36f);
TestUtils.AreEqual(r1, a1 * b1);
float a2 = (-438.893829f);
float4x2 b2 = float4x2(-3.536438f, -471.807556f, -42.5603943f, 119.911072f, 271.900024f, 239.684021f, 487.4414f, -79.18829f);
float4x2 r2 = float4x2(1552.12085f, 207073.422f, 18679.4941f, -52628.23f, -119335.242f, -105195.836f, -213935.031f, 34755.2539f);
TestUtils.AreEqual(r2, a2 * b2);
float a3 = (-112.925659f);
float4x2 b3 = float4x2(161.370056f, 459.759155f, -337.195984f, -276.834534f, 469.723877f, -274.565155f, 506.7859f, 65.88257f);
float4x2 r3 = float4x2(-18222.82f, -51918.6055f, 38078.08f, 31261.7227f, -53043.88f, 31005.4512f, -57229.13f, -7439.83252f);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void float4x2_operator_div_wide_wide()
{
float4x2 a0 = float4x2(-353.131439f, -102.799866f, 51.3191528f, -191.871674f, 8.041809f, -128.73764f, -136.0596f, -370.471f);
float4x2 b0 = float4x2(-178.739563f, -302.096283f, -199.405823f, 278.850769f, 502.3376f, -361.484833f, 353.121033f, -38.894928f);
float4x2 r0 = float4x2(1.97567582f, 0.34028843f, -0.257360339f, -0.688080132f, 0.0160087738f, 0.356135666f, -0.385305852f, 9.524919f);
TestUtils.AreEqual(r0, a0 / b0);
float4x2 a1 = float4x2(-237.69455f, -432.546875f, 200.2655f, 361.4416f, -416.226135f, -450.0192f, -273.497437f, -286.908173f);
float4x2 b1 = float4x2(-75.76474f, -195.217834f, -405.034f, -394.23f, -375.8277f, -121.245483f, 447.623352f, 338.286255f);
float4x2 r1 = float4x2(3.1372714f, 2.215714f, -0.4944412f, -0.9168292f, 1.107492f, 3.71163678f, -0.610999048f, -0.8481225f);
TestUtils.AreEqual(r1, a1 / b1);
float4x2 a2 = float4x2(-314.256042f, 177.762085f, 97.6270142f, -68.10727f, -386.450745f, 263.699341f, -297.0271f, -501.777039f);
float4x2 b2 = float4x2(-405.5442f, -431.168945f, 296.205139f, 437.939819f, 39.2106323f, 331.289734f, -310.619568f, 207.26947f);
float4x2 r2 = float4x2(0.7748996f, -0.412279427f, 0.3295926f, -0.155517414f, -9.855764f, 0.795978f, 0.9562408f, -2.42089224f);
TestUtils.AreEqual(r2, a2 / b2);
float4x2 a3 = float4x2(-263.40686f, -451.080841f, -416.34552f, -315.278748f, -28.1811218f, -397.870148f, -261.386658f, 40.3482056f);
float4x2 b3 = float4x2(-223.293f, -480.0914f, 448.675964f, -460.097443f, -220.569855f, -84.85315f, 441.373779f, 72.41846f);
float4x2 r3 = float4x2(1.17964673f, 0.9395729f, -0.9279426f, 0.6852434f, 0.127765059f, 4.688926f, -0.592211545f, 0.557153642f);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void float4x2_operator_div_wide_scalar()
{
float4x2 a0 = float4x2(171.3424f, 0.103393555f, 57.8882446f, -256.130737f, 95.66968f, -290.3869f, -127.4487f, -79.7449f);
float b0 = (171.796814f);
float4x2 r0 = float4x2(0.997355f, 0.000601836247f, 0.3369576f, -1.49089336f, 0.5568769f, -1.69029272f, -0.7418572f, -0.4641815f);
TestUtils.AreEqual(r0, a0 / b0);
float4x2 a1 = float4x2(146.466858f, 58.68634f, -453.2058f, -205.033813f, 481.738159f, 464.479065f, -293.4635f, -158.505585f);
float b1 = (-499.843567f);
float4x2 r1 = float4x2(-0.2930254f, -0.117409416f, 0.9066953f, 0.410195976f, -0.96377784f, -0.929248869f, 0.5871107f, 0.3171104f);
TestUtils.AreEqual(r1, a1 / b1);
float4x2 a2 = float4x2(-289.5822f, 203.583435f, 180.9704f, 259.1192f, 460.844727f, 490.956238f, -280.478058f, -320.243866f);
float b2 = (494.1286f);
float4x2 r2 = float4x2(-0.5860463f, 0.412004948f, 0.366241485f, 0.5243963f, 0.932641268f, 0.993579865f, -0.5676216f, -0.64809823f);
TestUtils.AreEqual(r2, a2 / b2);
float4x2 a3 = float4x2(192.41449f, 226.852966f, -192.235687f, 460.9765f, -437.8922f, -413.232727f, 249.471863f, 313.035034f);
float b3 = (264.800842f);
float4x2 r3 = float4x2(0.7266385f, 0.8566928f, -0.7259633f, 1.74084222f, -1.65366626f, -1.56054163f, 0.9421113f, 1.18215275f);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void float4x2_operator_div_scalar_wide()
{
float a0 = (-264.4425f);
float4x2 b0 = float4x2(105.589111f, -142.349091f, -288.9489f, 39.644104f, -363.9914f, -149.718231f, -395.729126f, 258.7187f);
float4x2 r0 = float4x2(-2.50444865f, 1.85770416f, 0.9151877f, -6.670412f, 0.7265076f, 1.7662679f, 0.6682412f, -1.02212369f);
TestUtils.AreEqual(r0, a0 / b0);
float a1 = (-9.66626f);
float4x2 b1 = float4x2(117.725525f, -331.386536f, -509.986023f, 427.896484f, 467.617126f, -407.124634f, 252.690735f, 444.599365f);
float4x2 r1 = float4x2(-0.0821084455f, 0.0291691385f, 0.01895397f, -0.0225901827f, -0.0206713118f, 0.023742754f, -0.0382533222f, -0.0217415057f);
TestUtils.AreEqual(r1, a1 / b1);
float a2 = (-88.31329f);
float4x2 b2 = float4x2(199.955017f, -218.346924f, -13.4171753f, -296.131073f, 0.561340332f, -289.299316f, 196.218323f, 334.733459f);
float4x2 r2 = float4x2(-0.4416658f, 0.4044632f, 6.58210754f, 0.298223674f, -157.32576f, 0.305266172f, -0.4500767f, -0.263831675f);
TestUtils.AreEqual(r2, a2 / b2);
float a3 = (-282.392731f);
float4x2 b3 = float4x2(-479.5036f, -473.439453f, 105.050781f, -287.6313f, 77.29932f, -210.894379f, -184.068237f, -315.148438f);
float4x2 r3 = float4x2(0.5889272f, 0.596470654f, -2.68815446f, 0.981787264f, -3.653237f, 1.33902442f, 1.5341742f, 0.8960626f);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void float4x2_operator_mod_wide_wide()
{
float4x2 a0 = float4x2(-388.8125f, 181.681213f, -167.078735f, 432.820129f, -258.438965f, -170.110809f, 283.3183f, 122.716492f);
float4x2 b0 = float4x2(436.944153f, 58.9400635f, -201.116241f, 279.289368f, -397.079773f, 377.899963f, 174.693848f, -228.176514f);
float4x2 r0 = float4x2(-388.8125f, 4.861023f, -167.078735f, 153.530762f, -258.438965f, -170.110809f, 108.624451f, 122.716492f);
TestUtils.AreEqual(r0, a0 % b0);
float4x2 a1 = float4x2(335.271f, -503.608521f, 191.022522f, 289.742676f, -124.033722f, 259.274f, -274.358459f, -140.030792f);
float4x2 b1 = float4x2(-317.060181f, -417.4801f, -249.975952f, -397.571564f, -358.745453f, -198.15921f, 208.737122f, -12.1194153f);
float4x2 r1 = float4x2(18.2108154f, -86.12842f, 191.022522f, 289.742676f, -124.033722f, 61.1147766f, -65.62134f, -6.717224f);
TestUtils.AreEqual(r1, a1 % b1);
float4x2 a2 = float4x2(324.577576f, -200.513092f, 211.423157f, -51.2722168f, -230.633911f, 99.98938f, 399.18988f, 24.90326f);
float4x2 b2 = float4x2(25.2714233f, -194.1207f, -493.8718f, -312.3017f, -216.980591f, 413.570984f, -436.3944f, 3.491272f);
float4x2 r2 = float4x2(21.3204956f, -6.392395f, 211.423157f, -51.2722168f, -13.65332f, 99.98938f, 399.18988f, 0.464355469f);
TestUtils.AreEqual(r2, a2 % b2);
float4x2 a3 = float4x2(50.92401f, -364.863678f, -252.626617f, -281.2898f, -364.798523f, -329.026245f, 51.6098022f, 41.6478271f);
float4x2 b3 = float4x2(-308.233429f, -441.375061f, 84.60083f, 373.163452f, 67.25275f, -320.333282f, 118.97937f, 44.8239746f);
float4x2 r3 = float4x2(50.92401f, -364.863678f, -83.42496f, -281.2898f, -28.53479f, -8.692963f, 51.6098022f, 41.6478271f);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void float4x2_operator_mod_wide_scalar()
{
float4x2 a0 = float4x2(-244.499634f, -211.8193f, -145.926788f, -304.9182f, 155.479492f, -133.907776f, 281.309631f, -226.535767f);
float b0 = (39.63495f);
float4x2 r0 = float4x2(-6.68994141f, -13.6445618f, -27.0219421f, -27.4735718f, 36.574646f, -15.00293f, 3.86499023f, -28.3610229f);
TestUtils.AreEqual(r0, a0 % b0);
float4x2 a1 = float4x2(335.166138f, 319.4715f, -285.4023f, -355.846863f, 259.378f, -330.871948f, -284.343567f, -102.683441f);
float b1 = (101.706482f);
float4x2 r1 = float4x2(30.0466919f, 14.3520508f, -81.98935f, -50.727417f, 55.9650269f, -25.7525024f, -80.9306f, -0.9769592f);
TestUtils.AreEqual(r1, a1 % b1);
float4x2 a2 = float4x2(-172.141754f, -416.713654f, -339.256653f, 435.2975f, 132.552917f, 226.944092f, -306.1183f, 115.438477f);
float b2 = (206.41687f);
float4x2 r2 = float4x2(-172.141754f, -3.87991333f, -132.839783f, 22.4637451f, 132.552917f, 20.5272217f, -99.701416f, 115.438477f);
TestUtils.AreEqual(r2, a2 % b2);
float4x2 a3 = float4x2(281.882935f, -140.0405f, -462.3235f, -211.6087f, 351.331055f, 321.047f, 346.0852f, -94.4077454f);
float b3 = (-218.347443f);
float4x2 r3 = float4x2(63.5354919f, -140.0405f, -25.6286011f, -211.6087f, 132.983612f, 102.699554f, 127.737762f, -94.4077454f);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void float4x2_operator_mod_scalar_wide()
{
float a0 = (-66.94504f);
float4x2 b0 = float4x2(-249.7761f, -396.073761f, 386.492065f, 168.939453f, -199.418243f, 261.7517f, 16.1274414f, 257.668152f);
float4x2 r0 = float4x2(-66.94504f, -66.94504f, -66.94504f, -66.94504f, -66.94504f, -66.94504f, -2.43527222f, -66.94504f);
TestUtils.AreEqual(r0, a0 % b0);
float a1 = (-75.78845f);
float4x2 b1 = float4x2(170.9563f, -242.858276f, 425.9453f, 303.2724f, 3.033081f, -505.74353f, 461.957031f, 205.972778f);
float4x2 r1 = float4x2(-75.78845f, -75.78845f, -75.78845f, -75.78845f, -2.99450684f, -75.78845f, -75.78845f, -75.78845f);
TestUtils.AreEqual(r1, a1 % b1);
float a2 = (270.040649f);
float4x2 b2 = float4x2(-47.4807129f, -150.254486f, 149.499512f, -220.298035f, 31.1188354f, 400.635681f, 6.23144531f, -39.05075f);
float4x2 r2 = float4x2(32.637085f, 119.786163f, 120.541138f, 49.7426147f, 21.0899658f, 270.040649f, 2.088501f, 35.736145f);
TestUtils.AreEqual(r2, a2 % b2);
float a3 = (-71.9411f);
float4x2 b3 = float4x2(-495.307129f, -86.7196045f, -436.970062f, -472.294739f, -130.008759f, -251.516846f, 281.976379f, 388.86084f);
float4x2 r3 = float4x2(-71.9411f, -71.9411f, -71.9411f, -71.9411f, -71.9411f, -71.9411f, -71.9411f, -71.9411f);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void float4x2_operator_plus()
{
float4x2 a0 = float4x2(-418.829559f, -405.79895f, -34.04178f, 236.999268f, -459.8391f, 210.86145f, 293.742f, -373.015442f);
float4x2 r0 = float4x2(-418.829559f, -405.79895f, -34.04178f, 236.999268f, -459.8391f, 210.86145f, 293.742f, -373.015442f);
TestUtils.AreEqual(r0, +a0);
float4x2 a1 = float4x2(-386.059845f, -418.645264f, 504.474854f, -170.746521f, 439.5594f, -478.7494f, 116.400757f, 421.409668f);
float4x2 r1 = float4x2(-386.059845f, -418.645264f, 504.474854f, -170.746521f, 439.5594f, -478.7494f, 116.400757f, 421.409668f);
TestUtils.AreEqual(r1, +a1);
float4x2 a2 = float4x2(-258.596069f, 124.164368f, 222.172546f, -65.94928f, 239.041809f, 498.449524f, -139.382538f, 279.072937f);
float4x2 r2 = float4x2(-258.596069f, 124.164368f, 222.172546f, -65.94928f, 239.041809f, 498.449524f, -139.382538f, 279.072937f);
TestUtils.AreEqual(r2, +a2);
float4x2 a3 = float4x2(108.775818f, 136.812134f, -236.030029f, -440.308319f, 342.2791f, 102.472229f, -161.454834f, -355.270874f);
float4x2 r3 = float4x2(108.775818f, 136.812134f, -236.030029f, -440.308319f, 342.2791f, 102.472229f, -161.454834f, -355.270874f);
TestUtils.AreEqual(r3, +a3);
}
[TestCompiler]
public static void float4x2_operator_neg()
{
float4x2 a0 = float4x2(148.461731f, -467.122681f, 132.04718f, 183.522644f, 473.701f, -407.9911f, -54.95877f, -382.9898f);
float4x2 r0 = float4x2(-148.461731f, 467.122681f, -132.04718f, -183.522644f, -473.701f, 407.9911f, 54.95877f, 382.9898f);
TestUtils.AreEqual(r0, -a0);
float4x2 a1 = float4x2(-299.093384f, 407.709778f, 168.735474f, 466.441528f, 171.902466f, -280.558319f, -78.857605f, 318.69635f);
float4x2 r1 = float4x2(299.093384f, -407.709778f, -168.735474f, -466.441528f, -171.902466f, 280.558319f, 78.857605f, -318.69635f);
TestUtils.AreEqual(r1, -a1);
float4x2 a2 = float4x2(-39.9154053f, 132.195618f, -505.895264f, 410.380554f, -237.056946f, -137.617828f, -245.349976f, 422.521362f);
float4x2 r2 = float4x2(39.9154053f, -132.195618f, 505.895264f, -410.380554f, 237.056946f, 137.617828f, 245.349976f, -422.521362f);
TestUtils.AreEqual(r2, -a2);
float4x2 a3 = float4x2(-434.57135f, -466.5663f, 426.894531f, 146.649536f, -391.37207f, 423.237732f, 254.297546f, -114.848907f);
float4x2 r3 = float4x2(434.57135f, 466.5663f, -426.894531f, -146.649536f, 391.37207f, -423.237732f, -254.297546f, 114.848907f);
TestUtils.AreEqual(r3, -a3);
}
[TestCompiler]
public static void float4x2_operator_prefix_inc()
{
float4x2 a0 = float4x2(-139.842072f, -56.7436523f, -381.955322f, 509.796326f, -222.896332f, 210.319885f, -392.7315f, -300.1941f);
float4x2 r0 = float4x2(-138.842072f, -55.7436523f, -380.955322f, 510.796326f, -221.896332f, 211.319885f, -391.7315f, -299.1941f);
TestUtils.AreEqual(r0, ++a0);
float4x2 a1 = float4x2(362.212769f, 130.90918f, -450.230164f, 243.546936f, 46.1920166f, -41.4972839f, 299.1855f, 154.356567f);
float4x2 r1 = float4x2(363.212769f, 131.90918f, -449.230164f, 244.546936f, 47.1920166f, -40.4972839f, 300.1855f, 155.356567f);
TestUtils.AreEqual(r1, ++a1);
float4x2 a2 = float4x2(-281.233276f, 92.95776f, 448.602173f, -295.587f, 18.4990845f, -215.711121f, 471.947266f, 257.0766f);
float4x2 r2 = float4x2(-280.233276f, 93.95776f, 449.602173f, -294.587f, 19.4990845f, -214.711121f, 472.947266f, 258.0766f);
TestUtils.AreEqual(r2, ++a2);
float4x2 a3 = float4x2(41.6259155f, 243.004761f, -472.619019f, -125.720215f, -477.459564f, 9.89147949f, -76.92285f, -29.7675781f);
float4x2 r3 = float4x2(42.6259155f, 244.004761f, -471.619019f, -124.720215f, -476.459564f, 10.8914795f, -75.92285f, -28.7675781f);
TestUtils.AreEqual(r3, ++a3);
}
[TestCompiler]
public static void float4x2_operator_postfix_inc()
{
float4x2 a0 = float4x2(-396.669739f, 511.20752f, 249.111267f, -128.817322f, -259.4903f, 278.008179f, -81.39343f, 66.71973f);
float4x2 r0 = float4x2(-396.669739f, 511.20752f, 249.111267f, -128.817322f, -259.4903f, 278.008179f, -81.39343f, 66.71973f);
TestUtils.AreEqual(r0, a0++);
float4x2 a1 = float4x2(167.852112f, -326.1076f, 41.03357f, 128.5304f, 73.15558f, -60.1323853f, -446.229767f, -296.937836f);
float4x2 r1 = float4x2(167.852112f, -326.1076f, 41.03357f, 128.5304f, 73.15558f, -60.1323853f, -446.229767f, -296.937836f);
TestUtils.AreEqual(r1, a1++);
float4x2 a2 = float4x2(267.293823f, 49.2001953f, -326.643127f, -510.864227f, 471.647461f, -171.013092f, 310.727356f, -298.917175f);
float4x2 r2 = float4x2(267.293823f, 49.2001953f, -326.643127f, -510.864227f, 471.647461f, -171.013092f, 310.727356f, -298.917175f);
TestUtils.AreEqual(r2, a2++);
float4x2 a3 = float4x2(489.985f, 290.69104f, 117.192322f, 164.442932f, 412.3678f, -229.386566f, 239.596924f, 36.62433f);
float4x2 r3 = float4x2(489.985f, 290.69104f, 117.192322f, 164.442932f, 412.3678f, -229.386566f, 239.596924f, 36.62433f);
TestUtils.AreEqual(r3, a3++);
}
[TestCompiler]
public static void float4x2_operator_prefix_dec()
{
float4x2 a0 = float4x2(123.128723f, 256.84375f, 156.330811f, 461.737427f, 325.867981f, 392.015625f, 187.874146f, -236.225189f);
float4x2 r0 = float4x2(122.128723f, 255.84375f, 155.330811f, 460.737427f, 324.867981f, 391.015625f, 186.874146f, -237.225189f);
TestUtils.AreEqual(r0, --a0);
float4x2 a1 = float4x2(125.109619f, 45.5366821f, 376.046875f, -363.0755f, -22.0289612f, 248.7901f, 168.095032f, 168.265625f);
float4x2 r1 = float4x2(124.109619f, 44.5366821f, 375.046875f, -364.0755f, -23.0289612f, 247.7901f, 167.095032f, 167.265625f);
TestUtils.AreEqual(r1, --a1);
float4x2 a2 = float4x2(-190.284729f, 183.957947f, 485.6947f, -460.739319f, 89.5698853f, -267.4298f, 201.756226f, -141.216888f);
float4x2 r2 = float4x2(-191.284729f, 182.957947f, 484.6947f, -461.739319f, 88.5698853f, -268.4298f, 200.756226f, -142.216888f);
TestUtils.AreEqual(r2, --a2);
float4x2 a3 = float4x2(-217.4841f, -213.544128f, 180.7406f, -128.3125f, 478.045532f, -454.566132f, -386.898346f, 387.857f);
float4x2 r3 = float4x2(-218.4841f, -214.544128f, 179.7406f, -129.3125f, 477.045532f, -455.566132f, -387.898346f, 386.857f);
TestUtils.AreEqual(r3, --a3);
}
[TestCompiler]
public static void float4x2_operator_postfix_dec()
{
float4x2 a0 = float4x2(379.6883f, 302.692871f, -176.07135f, -291.2527f, 470.567566f, -402.925964f, -63.65515f, 355.2611f);
float4x2 r0 = float4x2(379.6883f, 302.692871f, -176.07135f, -291.2527f, 470.567566f, -402.925964f, -63.65515f, 355.2611f);
TestUtils.AreEqual(r0, a0--);
float4x2 a1 = float4x2(-27.8892212f, 156.14032f, 479.9452f, -200.304291f, -445.026947f, 407.420349f, 327.670349f, 48.06018f);
float4x2 r1 = float4x2(-27.8892212f, 156.14032f, 479.9452f, -200.304291f, -445.026947f, 407.420349f, 327.670349f, 48.06018f);
TestUtils.AreEqual(r1, a1--);
float4x2 a2 = float4x2(-209.667969f, 283.9416f, -94.80209f, 152.510681f, -287.2625f, -215.948029f, -407.046356f, 159.233582f);
float4x2 r2 = float4x2(-209.667969f, 283.9416f, -94.80209f, 152.510681f, -287.2625f, -215.948029f, -407.046356f, 159.233582f);
TestUtils.AreEqual(r2, a2--);
float4x2 a3 = float4x2(-359.456482f, -278.933777f, 289.912842f, 402.039551f, 470.716553f, -208.560608f, 145.896729f, -296.790955f);
float4x2 r3 = float4x2(-359.456482f, -278.933777f, 289.912842f, 402.039551f, 470.716553f, -208.560608f, 145.896729f, -296.790955f);
TestUtils.AreEqual(r3, a3--);
}
}
}

View File

@@ -0,0 +1,949 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using NUnit.Framework;
using static Unity.Mathematics.math;
using Burst.Compiler.IL.Tests;
namespace Unity.Mathematics.Tests
{
[TestFixture]
public class TestFloat4x3
{
[TestCompiler]
public static void float4x3_zero()
{
TestUtils.AreEqual(0.0f, float4x3.zero.c0.x);
TestUtils.AreEqual(0.0f, float4x3.zero.c0.y);
TestUtils.AreEqual(0.0f, float4x3.zero.c0.z);
TestUtils.AreEqual(0.0f, float4x3.zero.c0.w);
TestUtils.AreEqual(0.0f, float4x3.zero.c1.x);
TestUtils.AreEqual(0.0f, float4x3.zero.c1.y);
TestUtils.AreEqual(0.0f, float4x3.zero.c1.z);
TestUtils.AreEqual(0.0f, float4x3.zero.c1.w);
TestUtils.AreEqual(0.0f, float4x3.zero.c2.x);
TestUtils.AreEqual(0.0f, float4x3.zero.c2.y);
TestUtils.AreEqual(0.0f, float4x3.zero.c2.z);
TestUtils.AreEqual(0.0f, float4x3.zero.c2.w);
}
[TestCompiler]
public static void float4x3_operator_equal_wide_wide()
{
float4x3 a0 = float4x3(492.1576f, -495.206329f, 227.457642f, -147.374054f, -222.682f, 64.09375f, -23.8904114f, -16.8197327f, 163.232117f, -165.271f, 470.8777f, -423.942566f);
float4x3 b0 = float4x3(192.568787f, -235.611023f, -254.043121f, -412.624725f, 471.9048f, -6.47277832f, -339.102356f, 488.187561f, -379.5966f, -308.417f, -82.333374f, -102.921082f);
bool4x3 r0 = bool4x3(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
float4x3 a1 = float4x3(109.6344f, 462.6903f, -335.38147f, 357.2345f, 1.54559326f, -347.388245f, -114.472168f, 435.848633f, 194.2381f, 138.765564f, -467.349152f, 370.43335f);
float4x3 b1 = float4x3(226.515747f, -356.9013f, -362.912781f, -427.898438f, 466.650146f, -102.799042f, -43.355957f, 85.0456543f, -91.1270447f, 422.192078f, -477.4313f, 1.87701416f);
bool4x3 r1 = bool4x3(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
float4x3 a2 = float4x3(476.708252f, 320.552673f, -498.59198f, 92.41693f, 104.511353f, 166.754578f, -204.733429f, 434.756775f, -397.329651f, 503.981628f, -503.7141f, 90.65973f);
float4x3 b2 = float4x3(312.580078f, 254.599365f, 352.72583f, 62.4909668f, 119.714783f, -511.058075f, -302.472717f, -371.769226f, -20.007843f, 21.4594727f, -426.0207f, -305.411926f);
bool4x3 r2 = bool4x3(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
float4x3 a3 = float4x3(-303.445251f, 9.34491f, 290.901062f, -147.57193f, 368.082336f, -321.6096f, -171.465424f, -441.306458f, -137.766815f, 304.689575f, 301.889465f, -222.220917f);
float4x3 b3 = float4x3(261.68335f, 50.00476f, -334.134644f, 75.0656738f, -51.186676f, -135.961548f, -409.364868f, 160.819763f, 102.120789f, 277.813049f, 434.906738f, -15.2891846f);
bool4x3 r3 = bool4x3(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void float4x3_operator_equal_wide_scalar()
{
float4x3 a0 = float4x3(-303.230072f, 451.5263f, -253.655884f, -105.203644f, -500.6911f, -426.192474f, 159.8761f, -59.55838f, -57.4773865f, -182.049744f, 406.513733f, 370.886f);
float b0 = (123.544556f);
bool4x3 r0 = bool4x3(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
float4x3 a1 = float4x3(-172.035309f, -11.3389893f, 363.938232f, -27.1505737f, -325.976074f, -290.359039f, 180.196838f, -374.128326f, -439.358948f, -126.546082f, -197.26178f, -227.159332f);
float b1 = (455.400024f);
bool4x3 r1 = bool4x3(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
float4x3 a2 = float4x3(-479.8992f, -495.237335f, -224.517059f, -422.833221f, -450.196259f, -20.10672f, 297.38f, 185.966553f, -102.975983f, -220.597046f, -228.686859f, -333.001282f);
float b2 = (-439.777679f);
bool4x3 r2 = bool4x3(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
float4x3 a3 = float4x3(434.213f, -239.869781f, 380.93927f, 90.34949f, -361.327942f, -453.599945f, 157.732483f, -491.0462f, 296.614258f, 482.265137f, -305.876984f, -290.1021f);
float b3 = (406.248718f);
bool4x3 r3 = bool4x3(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void float4x3_operator_equal_scalar_wide()
{
float a0 = (-253.397278f);
float4x3 b0 = float4x3(19.95221f, -185.791992f, 407.8136f, -87.2767f, -206.274689f, 160.503113f, -274.7708f, -2.63153076f, 448.354553f, -410.035248f, 247.329041f, 355.539124f);
bool4x3 r0 = bool4x3(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
float a1 = (-298.0667f);
float4x3 b1 = float4x3(414.1015f, -481.3026f, 196.55072f, 34.6010132f, 113.7616f, -386.453369f, -124.49176f, 243.886658f, -492.6182f, 145.424438f, 421.55072f, -95.40997f);
bool4x3 r1 = bool4x3(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
float a2 = (336.809265f);
float4x3 b2 = float4x3(209.5838f, 487.4414f, 161.806519f, 149.842468f, 225.724f, -71.21881f, 85.78027f, 192.547241f, -49.88748f, -229.801971f, -103.407349f, 19.21576f);
bool4x3 r2 = bool4x3(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
float a3 = (492.8811f);
float4x3 b3 = float4x3(140.403137f, -267.536438f, 125.972717f, 478.0005f, 116.144592f, -368.957764f, -225.028656f, 2.723755f, -452.2632f, 87.45654f, 401.306519f, -18.6455383f);
bool4x3 r3 = bool4x3(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void float4x3_operator_not_equal_wide_wide()
{
float4x3 a0 = float4x3(430.842529f, 104.69f, 225.802429f, -310.5702f, -418.619446f, 304.128174f, -509.3268f, -160.538086f, -203.301971f, -505.763245f, 162.17218f, 1.156189f);
float4x3 b0 = float4x3(210.024719f, -55.20334f, -269.925354f, -234.546722f, 25.91742f, -63.72699f, -484.5537f, -425.3336f, -53.2743835f, 328.1944f, 15.9631348f, 461.7141f);
bool4x3 r0 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
float4x3 a1 = float4x3(65.66205f, 102.787781f, 172.930054f, 26.6210327f, 235.125977f, 128.541992f, -354.996979f, 334.3595f, -495.832f, 468.307373f, 458.370972f, 299.937317f);
float4x3 b1 = float4x3(-113.363037f, -240.072968f, 495.119141f, 203.55835f, 340.493469f, -241.9072f, 459.569824f, 213.07373f, -384.782837f, -255.072327f, 477.663452f, -248.036621f);
bool4x3 r1 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
float4x3 a2 = float4x3(43.1271973f, -354.7135f, -145.2872f, 390.80188f, -303.13147f, 391.134583f, 139.286865f, 104.523193f, 511.2964f, 213.147034f, -101.0957f, 441.6634f);
float4x3 b2 = float4x3(-407.923462f, -199.788879f, 151.843262f, -97.1206055f, 154.975891f, -172.834534f, 441.5028f, -401.738617f, -411.430176f, -337.820282f, -430.6309f, -150.8718f);
bool4x3 r2 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
float4x3 a3 = float4x3(124.36615f, 312.026428f, 59.65576f, -508.65683f, 98.699646f, 228.799866f, 337.832642f, -163.154449f, 461.6916f, -450.7757f, -443.564758f, -438.213135f);
float4x3 b3 = float4x3(-206.837f, 34.95508f, -255.771454f, 99.99866f, -161.175568f, 68.8535156f, -285.590118f, -428.717316f, -286.3374f, 2.02709961f, -4.80599976f, -425.3348f);
bool4x3 r3 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void float4x3_operator_not_equal_wide_scalar()
{
float4x3 a0 = float4x3(-16.9145813f, 168.8341f, -462.713531f, 130.307739f, 214.501587f, -440.263275f, -197.12796f, -169.099854f, -386.611176f, -281.021f, -270.26886f, -403.9637f);
float b0 = (-145.372772f);
bool4x3 r0 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
float4x3 a1 = float4x3(-269.805725f, -71.7509155f, -432.755737f, -457.363129f, -13.5195923f, 273.873047f, 185.04248f, -482.5307f, 116.395142f, 511.735f, 230.5075f, 100.27478f);
float b1 = (299.654236f);
bool4x3 r1 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
float4x3 a2 = float4x3(129.682434f, -220.639f, 140.3352f, 369.212341f, 453.811218f, -333.66626f, -373.937744f, 150.204285f, -442.164764f, 372.32f, -95.83798f, 495.5667f);
float b2 = (321.178772f);
bool4x3 r2 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
float4x3 a3 = float4x3(-5.3855896f, -459.612732f, 243.309082f, 314.102173f, 96.7449951f, -168.161926f, -71.90546f, 216.608459f, -377.3738f, 142.35498f, -432.272552f, 94.29083f);
float b3 = (-210.502991f);
bool4x3 r3 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void float4x3_operator_not_equal_scalar_wide()
{
float a0 = (275.795837f);
float4x3 b0 = float4x3(-57.1969f, -382.432526f, 97.82037f, -161.463654f, -458.39563f, -499.617859f, 327.92218f, 367.571228f, 59.786377f, -209.580688f, -62.5804443f, -479.974976f);
bool4x3 r0 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
float a1 = (-49.4945068f);
float4x3 b1 = float4x3(-114.685211f, 109.93927f, -176.284821f, -347.4853f, 85.5409546f, -356.659546f, -104.243561f, -133.5492f, 243.539734f, 13.1412964f, -379.985962f, -41.28122f);
bool4x3 r1 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
float a2 = (87.91168f);
float4x3 b2 = float4x3(-339.077271f, -371.820343f, 333.1443f, 294.811951f, -187.14566f, 220.192261f, -228.182068f, -499.723724f, 97.40588f, 501.60437f, 459.6754f, 158.098145f);
bool4x3 r2 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
float a3 = (358.4886f);
float4x3 b3 = float4x3(243.512573f, 336.702942f, 89.953125f, -65.57837f, -159.260162f, 410.588562f, 123.963013f, -239.625122f, -299.42984f, -491.2919f, 207.71167f, 271.5655f);
bool4x3 r3 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void float4x3_operator_less_wide_wide()
{
float4x3 a0 = float4x3(196.84259f, 336.4098f, 251.963745f, 257.655945f, 430.0459f, -62.4196472f, 8.839233f, -333.8167f, 164.678833f, -350.9449f, 3.84143066f, 125.409729f);
float4x3 b0 = float4x3(-465.345032f, -256.1524f, -314.814026f, 364.5667f, 100.21051f, 182.560974f, 3.11700439f, -259.430481f, -437.3349f, -456.043732f, -394.255981f, 401.9137f);
bool4x3 r0 = bool4x3(false, false, false, true, false, true, false, true, false, false, false, true);
TestUtils.AreEqual(r0, a0 < b0);
float4x3 a1 = float4x3(-111.129944f, 70.00549f, 448.1983f, -419.987122f, -258.301666f, -34.8322144f, -69.8594055f, 67.76721f, -139.777283f, 385.434631f, 133.7074f, 506.188354f);
float4x3 b1 = float4x3(313.439148f, 121.286682f, -28.0122986f, -282.965881f, 330.0644f, 124.099365f, -183.6903f, 373.0608f, 109.750916f, -203.57135f, 45.64868f, -360.952271f);
bool4x3 r1 = bool4x3(true, true, false, true, true, true, false, true, true, false, false, false);
TestUtils.AreEqual(r1, a1 < b1);
float4x3 a2 = float4x3(34.44287f, 412.1137f, -84.8097839f, 444.785339f, -78.75473f, 366.977539f, 127.180481f, 428.368469f, 8.197632f, -71.13736f, -474.0508f, 322.4289f);
float4x3 b2 = float4x3(211.913086f, -313.286377f, -259.661072f, 79.09851f, 446.4961f, 450.524536f, -375.630768f, -53.9418335f, -291.453735f, 190.774841f, 54.0839233f, -163.63089f);
bool4x3 r2 = bool4x3(true, false, false, false, true, true, false, false, false, true, true, false);
TestUtils.AreEqual(r2, a2 < b2);
float4x3 a3 = float4x3(6.897888f, 195.733582f, -267.6906f, -243.7937f, 319.2508f, -425.1562f, 71.87396f, 313.843872f, 397.279053f, -309.145874f, -38.6678467f, -266.1197f);
float4x3 b3 = float4x3(-212.005646f, 406.0905f, -183.018951f, 355.221375f, -81.0422058f, -275.7148f, 405.299255f, -510.6406f, 398.069275f, -4.35549927f, 129.242676f, -276.146545f);
bool4x3 r3 = bool4x3(false, true, true, true, false, true, true, false, true, true, true, false);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void float4x3_operator_less_wide_scalar()
{
float4x3 a0 = float4x3(-132.057312f, -192.465f, -66.8345947f, -379.017517f, -360.2824f, 20.9278564f, -158.240753f, 437.3459f, -20.4526062f, 225.2915f, 307.4842f, 274.015259f);
float b0 = (-156.010223f);
bool4x3 r0 = bool4x3(false, true, false, true, true, false, true, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 < b0);
float4x3 a1 = float4x3(373.549683f, 105.030151f, -58.0108948f, 109.670105f, -108.85318f, -44.9712524f, 140.426086f, -500.0883f, 172.103333f, -197.500732f, -7.271515f, -432.9905f);
float b1 = (398.523682f);
bool4x3 r1 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 < b1);
float4x3 a2 = float4x3(62.1583252f, -377.852325f, -500.255737f, 149.11499f, 119.880615f, 202.63916f, 274.950684f, 66.41205f, 274.999451f, -149.6358f, 223.758728f, 73.2668457f);
float b2 = (-72.25473f);
bool4x3 r2 = bool4x3(false, true, true, false, false, false, false, false, false, true, false, false);
TestUtils.AreEqual(r2, a2 < b2);
float4x3 a3 = float4x3(213.094971f, 418.3772f, 421.103577f, -187.16684f, 389.109436f, 401.335449f, -106.285065f, 380.607971f, 385.652832f, 120.659851f, -13.8308716f, -500.1271f);
float b3 = (322.8595f);
bool4x3 r3 = bool4x3(true, false, false, true, false, false, true, false, false, true, true, true);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void float4x3_operator_less_scalar_wide()
{
float a0 = (-423.1174f);
float4x3 b0 = float4x3(385.094849f, -123.933472f, 86.37659f, 133.4422f, 161.457947f, 229.754272f, 222.5716f, 315.5312f, -447.203522f, 271.833862f, -393.605316f, 317.486877f);
bool4x3 r0 = bool4x3(true, true, true, true, true, true, true, true, false, true, true, true);
TestUtils.AreEqual(r0, a0 < b0);
float a1 = (-164.6051f);
float4x3 b1 = float4x3(-282.876038f, 296.979553f, -254.401154f, 365.6156f, -441.984253f, -131.42865f, 442.628967f, -29.7928467f, -138.37381f, 9.21698f, -226.73056f, 171.029419f);
bool4x3 r1 = bool4x3(false, true, false, true, false, true, true, true, true, true, false, true);
TestUtils.AreEqual(r1, a1 < b1);
float a2 = (376.625244f);
float4x3 b2 = float4x3(-462.5887f, -142.36731f, -456.253784f, 66.61023f, 169.378784f, 327.4444f, 64.08795f, -153.5039f, 199.380127f, -244.969055f, 472.743835f, -363.7801f);
bool4x3 r2 = bool4x3(false, false, false, false, false, false, false, false, false, false, true, false);
TestUtils.AreEqual(r2, a2 < b2);
float a3 = (-179.487518f);
float4x3 b3 = float4x3(-83.42514f, 178.886475f, 62.15576f, 409.746765f, -117.163666f, 316.601685f, 285.5163f, 18.6745f, 282.5293f, 132.923767f, -318.215332f, 314.8399f);
bool4x3 r3 = bool4x3(true, true, true, true, true, true, true, true, true, true, false, true);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void float4x3_operator_greater_wide_wide()
{
float4x3 a0 = float4x3(483.5014f, 310.8156f, 106.966187f, 295.7353f, 116.957581f, -478.299774f, -14.8974f, -33.8174438f, -24.74054f, 319.782654f, -120.158569f, -289.008575f);
float4x3 b0 = float4x3(-471.398f, -371.9853f, 36.9006958f, -316.7636f, 19.6830444f, 207.309143f, 362.7975f, 324.95343f, 340.948059f, 25.9860229f, -114.211121f, 240.803467f);
bool4x3 r0 = bool4x3(true, true, true, true, true, false, false, false, false, true, false, false);
TestUtils.AreEqual(r0, a0 > b0);
float4x3 a1 = float4x3(455.85144f, 144.706909f, 63.9320068f, -285.683044f, -502.090729f, -337.194458f, 474.317322f, -507.1451f, -133.565582f, -443.109131f, -464.34137f, -68.36154f);
float4x3 b1 = float4x3(273.422424f, 325.515747f, 27.3410645f, 64.47955f, 200.948364f, 100.122681f, -79.00711f, -315.137939f, -122.985443f, -163.7792f, -492.566f, -90.79727f);
bool4x3 r1 = bool4x3(true, false, true, false, false, false, true, false, false, false, true, true);
TestUtils.AreEqual(r1, a1 > b1);
float4x3 a2 = float4x3(-185.993011f, -157.8039f, -74.12424f, -94.47116f, 329.610535f, -315.836731f, 404.1938f, 131.304382f, -206.633911f, 197.399841f, 187.991943f, 362.636047f);
float4x3 b2 = float4x3(-284.901245f, -23.6536865f, 174.93f, 85.7125244f, -441.987823f, 345.543762f, 482.219482f, -422.383484f, -30.7792969f, 296.154236f, 378.059875f, -457.733429f);
bool4x3 r2 = bool4x3(true, false, false, false, true, false, false, true, false, false, false, true);
TestUtils.AreEqual(r2, a2 > b2);
float4x3 a3 = float4x3(336.0932f, -352.448364f, -183.10199f, 193.144836f, -170.216f, -0.491241455f, -326.855042f, -373.39624f, -216.580475f, 282.5121f, -275.170349f, -207.331757f);
float4x3 b3 = float4x3(122.920593f, -509.173126f, 386.77063f, 436.41748f, -276.495819f, -163.166779f, 249.970642f, -165.020752f, 89.09302f, 404.305176f, -340.688843f, -103.785095f);
bool4x3 r3 = bool4x3(true, true, false, false, true, true, false, false, false, false, true, false);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void float4x3_operator_greater_wide_scalar()
{
float4x3 a0 = float4x3(64.31793f, -397.703461f, 431.8769f, 85.703f, 246.263062f, 197.491577f, 286.199463f, 280.813354f, -405.7846f, 171.565369f, -241.807281f, 333.5782f);
float b0 = (305.859924f);
bool4x3 r0 = bool4x3(false, false, true, false, false, false, false, false, false, false, false, true);
TestUtils.AreEqual(r0, a0 > b0);
float4x3 a1 = float4x3(370.279175f, -356.592346f, -353.0313f, 396.645325f, 467.222046f, -240.013428f, 502.915039f, 315.4676f, -259.2897f, 281.230652f, 428.792175f, 245.153076f);
float b1 = (-413.7014f);
bool4x3 r1 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 > b1);
float4x3 a2 = float4x3(-279.1754f, -124.771545f, -425.652924f, 99.13287f, 355.060547f, -456.439423f, 154.489014f, 405.529724f, -157.7338f, 186.0863f, 249.999084f, -110.096924f);
float b2 = (-453.8631f);
bool4x3 r2 = bool4x3(true, true, true, true, true, false, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 > b2);
float4x3 a3 = float4x3(-435.3045f, -254.346558f, -428.987946f, 255.373657f, -309.1123f, 185.501587f, -201.334167f, 23.321167f, -143.9761f, -111.77951f, -356.656616f, -318.313568f);
float b3 = (72.7520142f);
bool4x3 r3 = bool4x3(false, false, false, true, false, true, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void float4x3_operator_greater_scalar_wide()
{
float a0 = (-282.6705f);
float4x3 b0 = float4x3(358.099976f, -72.596405f, -232.163788f, -60.7067261f, 75.15662f, 150.883484f, 339.539185f, -498.196045f, 459.7461f, -227.968719f, 335.862122f, 76.17883f);
bool4x3 r0 = bool4x3(false, false, false, false, false, false, false, true, false, false, false, false);
TestUtils.AreEqual(r0, a0 > b0);
float a1 = (296.859924f);
float4x3 b1 = float4x3(177.48999f, -281.2012f, 244.722839f, 137.328552f, -385.338257f, 443.163452f, -353.562561f, 26.04065f, -331.793945f, -43.6919556f, 20.9494019f, -211.17984f);
bool4x3 r1 = bool4x3(true, true, true, true, true, false, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 > b1);
float a2 = (227.421692f);
float4x3 b2 = float4x3(-84.7797852f, -375.1355f, -205.178131f, -197.04715f, -219.634033f, -210.015625f, -266.7737f, 144.7785f, -471.7112f, -155.913177f, 99.72473f, -230.944855f);
bool4x3 r2 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 > b2);
float a3 = (-338.8689f);
float4x3 b3 = float4x3(334.068237f, -158.660858f, -315.018219f, -177.19281f, 171.95929f, 198.38916f, 303.678345f, 400.6996f, 351.878662f, -31.7696533f, 386.0733f, -360.348877f);
bool4x3 r3 = bool4x3(false, false, false, false, false, false, false, false, false, false, false, true);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void float4x3_operator_less_equal_wide_wide()
{
float4x3 a0 = float4x3(-438.523132f, 210.489441f, 4.87731934f, -137.297943f, 156.094116f, -363.924133f, -97.94849f, 437.2954f, 458.530273f, -294.064758f, 23.62262f, -34.2840576f);
float4x3 b0 = float4x3(-474.814148f, 304.371033f, 234.824158f, -390.485443f, -297.175354f, -326.2924f, 107.253906f, -413.131073f, 67.09442f, 470.075256f, -84.499115f, 392.784241f);
bool4x3 r0 = bool4x3(false, true, true, false, false, true, true, false, false, true, false, true);
TestUtils.AreEqual(r0, a0 <= b0);
float4x3 a1 = float4x3(149.736511f, -418.8867f, -197.502533f, -88.2055054f, -376.71814f, 341.627136f, -83.30917f, -107.490723f, 319.466858f, 205.357361f, 345.563721f, 395.3219f);
float4x3 b1 = float4x3(-263.531738f, 369.3009f, -333.3253f, 238.413452f, 486.2426f, 279.6502f, 236.052f, 132.758972f, 66.29474f, 183.002136f, 200.130554f, 339.043823f);
bool4x3 r1 = bool4x3(false, true, false, true, true, false, true, true, false, false, false, false);
TestUtils.AreEqual(r1, a1 <= b1);
float4x3 a2 = float4x3(-222.874146f, 439.022034f, -368.075562f, -200.0386f, 71.46991f, -357.365417f, 141.710876f, 319.0171f, 303.030151f, -461.574249f, 277.62677f, 182.1781f);
float4x3 b2 = float4x3(438.5379f, 145.401855f, 178.163086f, 157.975952f, 329.7052f, -243.590912f, 5.401184f, -22.5805969f, -90.3375854f, -72.19107f, -354.354828f, -289.521729f);
bool4x3 r2 = bool4x3(true, false, true, true, true, true, false, false, false, true, false, false);
TestUtils.AreEqual(r2, a2 <= b2);
float4x3 a3 = float4x3(-337.414856f, -361.391663f, 222.1435f, -464.7795f, -146.853668f, 80.17505f, -260.3473f, 94.48901f, 174.281189f, -303.8197f, 81.41742f, 503.048157f);
float4x3 b3 = float4x3(85.17627f, 469.327881f, 294.7138f, 461.605957f, -245.930481f, -124.040436f, 278.392639f, -42.8812561f, -328.348816f, 98.9855957f, -375.899841f, -197.934265f);
bool4x3 r3 = bool4x3(true, true, true, true, false, false, true, false, false, true, false, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void float4x3_operator_less_equal_wide_scalar()
{
float4x3 a0 = float4x3(193.49585f, 168.915527f, -313.993073f, 81.8269653f, 18.5036011f, -0.3581848f, 241.361145f, -463.8164f, -1.35775757f, -268.899475f, 398.991943f, -471.253082f);
float b0 = (443.850525f);
bool4x3 r0 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 <= b0);
float4x3 a1 = float4x3(-264.9378f, 11.2460327f, 424.704041f, 426.482239f, 56.3200073f, -196.2879f, 31.9011841f, -152.257568f, -437.926453f, -37.1048279f, -47.1442261f, 333.623047f);
float b1 = (82.2583f);
bool4x3 r1 = bool4x3(true, true, false, false, true, true, true, true, true, true, true, false);
TestUtils.AreEqual(r1, a1 <= b1);
float4x3 a2 = float4x3(-274.8039f, -260.460571f, 192.309143f, 145.306091f, -466.132965f, -494.267334f, -111.570129f, -139.5412f, -146.589355f, 33.98401f, -445.704468f, -451.0422f);
float b2 = (358.67627f);
bool4x3 r2 = bool4x3(true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 <= b2);
float4x3 a3 = float4x3(-122.039276f, -202.465515f, -76.56488f, 218.032776f, -103.53595f, -283.358429f, -374.761658f, -213.49588f, 477.491821f, -383.370056f, 23.9649658f, -5.960785f);
float b3 = (83.3277f);
bool4x3 r3 = bool4x3(true, true, true, false, true, true, true, true, false, true, true, true);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void float4x3_operator_less_equal_scalar_wide()
{
float a0 = (393.606262f);
float4x3 b0 = float4x3(-75.6883545f, -44.2638855f, 125.864929f, 191.9649f, 13.54303f, -197.051941f, -423.9451f, -330.0486f, 420.165527f, 105.5473f, 174.821289f, 296.7176f);
bool4x3 r0 = bool4x3(false, false, false, false, false, false, false, false, true, false, false, false);
TestUtils.AreEqual(r0, a0 <= b0);
float a1 = (-469.7004f);
float4x3 b1 = float4x3(123.267212f, 112.996948f, 495.143372f, -488.6579f, 388.539429f, -493.240784f, 16.45105f, -387.651642f, -229.1773f, -373.01532f, -391.142151f, 90.99414f);
bool4x3 r1 = bool4x3(true, true, true, false, true, false, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 <= b1);
float a2 = (-178.396149f);
float4x3 b2 = float4x3(-69.62106f, 471.790833f, -67.46677f, 45.30536f, -154.6922f, 385.7389f, -431.652954f, -331.673035f, -349.8927f, -114.839142f, -245.217834f, -486.6955f);
bool4x3 r2 = bool4x3(true, true, true, true, true, true, false, false, false, true, false, false);
TestUtils.AreEqual(r2, a2 <= b2);
float a3 = (391.950928f);
float4x3 b3 = float4x3(-125.770538f, -229.812286f, 289.449036f, -200.494232f, 281.5927f, 99.90106f, -146.027435f, 124.148376f, 94.3569946f, 93.920105f, -484.924133f, -270.796875f);
bool4x3 r3 = bool4x3(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void float4x3_operator_greater_equal_wide_wide()
{
float4x3 a0 = float4x3(-507.9286f, 504.4975f, -385.4345f, -262.323425f, -37.5509338f, -111.595276f, -463.702026f, 387.448853f, 456.9688f, -211.010162f, 182.411377f, -53.59604f);
float4x3 b0 = float4x3(-81.3465f, 297.666138f, 171.06543f, -431.038055f, -6.85907f, 319.7257f, 254.079163f, 396.5724f, 178.8393f, -447.063354f, 288.492676f, 474.889282f);
bool4x3 r0 = bool4x3(false, true, false, true, false, false, false, false, true, true, false, false);
TestUtils.AreEqual(r0, a0 >= b0);
float4x3 a1 = float4x3(-309.570221f, -136.022491f, 280.736267f, -96.99588f, -174.059509f, 88.90192f, 43.81604f, -446.07843f, 16.6455688f, 409.83252f, -191.329865f, 222.9978f);
float4x3 b1 = float4x3(-321.750244f, -395.977234f, -158.692474f, 391.4887f, -368.109253f, 89.12378f, -510.279327f, -486.9298f, -81.2155457f, 274.2188f, -212.881561f, 288.9953f);
bool4x3 r1 = bool4x3(true, true, true, false, true, false, true, true, true, true, true, false);
TestUtils.AreEqual(r1, a1 >= b1);
float4x3 a2 = float4x3(404.2884f, 230.603271f, -441.789276f, -86.29306f, 484.249573f, 95.23639f, -204.912109f, -199.774353f, -421.8632f, -18.2147827f, -346.822754f, -159.243652f);
float4x3 b2 = float4x3(307.73175f, 307.245178f, -199.391785f, -284.421265f, -482.3918f, 448.315735f, -378.3462f, -390.858459f, 8.916016f, 416.407227f, -213.674957f, 455.2481f);
bool4x3 r2 = bool4x3(true, false, false, true, true, false, true, true, false, false, false, false);
TestUtils.AreEqual(r2, a2 >= b2);
float4x3 a3 = float4x3(112.917725f, 48.2910156f, 390.660156f, 154.219177f, -32.7480469f, -288.265625f, 122.704285f, 321.277954f, 230.183838f, 116.874268f, -93.515686f, 229.9823f);
float4x3 b3 = float4x3(-236.080353f, -248.373108f, 184.18512f, 415.31134f, 86.98218f, 485.004578f, 107.758911f, -486.667725f, -138.676788f, 14.2078247f, -382.394165f, -117.008209f);
bool4x3 r3 = bool4x3(true, true, true, false, false, false, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void float4x3_operator_greater_equal_wide_scalar()
{
float4x3 a0 = float4x3(465.152161f, -424.886078f, -209.2211f, 58.7798462f, -302.2691f, 140.12561f, 16.3533936f, -344.559967f, 393.278076f, -315.701538f, 441.011536f, -509.781555f);
float b0 = (-5.599884f);
bool4x3 r0 = bool4x3(true, false, false, true, false, true, true, false, true, false, true, false);
TestUtils.AreEqual(r0, a0 >= b0);
float4x3 a1 = float4x3(-36.9942932f, -164.973938f, -466.1201f, -123.813751f, 215.651245f, 104.995728f, 314.346f, 190.516113f, -83.11142f, -23.8364258f, 143.049377f, -264.919983f);
float b1 = (494.8203f);
bool4x3 r1 = bool4x3(false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 >= b1);
float4x3 a2 = float4x3(-169.702209f, 359.095825f, -260.4233f, 354.195129f, -111.845337f, 33.309082f, 355.6313f, -435.360565f, -38.3993225f, -93.2957153f, -338.8496f, 436.8958f);
float b2 = (329.70752f);
bool4x3 r2 = bool4x3(false, true, false, true, false, false, true, false, false, false, false, true);
TestUtils.AreEqual(r2, a2 >= b2);
float4x3 a3 = float4x3(511.084167f, -453.799255f, 170.919f, -182.825745f, -207.516937f, -319.5006f, -240.5086f, 436.3413f, -66.9560547f, 303.320862f, 180.196045f, 337.965149f);
float b3 = (-277.67453f);
bool4x3 r3 = bool4x3(true, false, true, true, true, false, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void float4x3_operator_greater_equal_scalar_wide()
{
float a0 = (374.827026f);
float4x3 b0 = float4x3(-1.60977173f, 338.615234f, -116.1814f, -332.157318f, -355.97937f, -468.901428f, 38.579895f, -332.347534f, 2.89013672f, 467.777771f, 121.406372f, -305.023376f);
bool4x3 r0 = bool4x3(true, true, true, true, true, true, true, true, true, false, true, true);
TestUtils.AreEqual(r0, a0 >= b0);
float a1 = (-58.4288025f);
float4x3 b1 = float4x3(-226.519562f, -47.0209961f, 305.302673f, -427.401245f, 92.26367f, -497.178528f, -408.625641f, -455.2305f, 396.4261f, -469.2949f, -485.754028f, -182.346191f);
bool4x3 r1 = bool4x3(true, false, false, true, false, true, true, true, false, true, true, true);
TestUtils.AreEqual(r1, a1 >= b1);
float a2 = (-291.545349f);
float4x3 b2 = float4x3(278.740784f, -75.8711243f, 28.9070435f, 287.720154f, 420.509766f, 473.626831f, 181.514526f, -369.202881f, 243.749756f, -244.124146f, -242.993347f, -322.115356f);
bool4x3 r2 = bool4x3(false, false, false, false, false, false, false, true, false, false, false, true);
TestUtils.AreEqual(r2, a2 >= b2);
float a3 = (192.974976f);
float4x3 b3 = float4x3(-54.7255554f, -166.000824f, 244.293457f, 438.2494f, -162.692841f, 37.1853638f, -506.667358f, -205.163086f, 368.389954f, -35.45996f, -20.9164429f, 9.041382f);
bool4x3 r3 = bool4x3(true, true, false, false, true, true, true, true, false, true, true, true);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void float4x3_operator_add_wide_wide()
{
float4x3 a0 = float4x3(506.129028f, -501.779816f, 420.084778f, -186.032074f, -9.312408f, 328.51178f, 424.344055f, 87.79108f, 462.4137f, -46.17871f, 401.170044f, -454.124146f);
float4x3 b0 = float4x3(-28.7579956f, -337.135132f, -340.676819f, 152.312012f, 423.66748f, 90.3740845f, 376.18866f, 1.76721191f, -120.185852f, -279.629364f, -344.6671f, 242.839172f);
float4x3 r0 = float4x3(477.371033f, -838.9149f, 79.40796f, -33.7200623f, 414.355072f, 418.885864f, 800.5327f, 89.55829f, 342.227844f, -325.808075f, 56.50293f, -211.284973f);
TestUtils.AreEqual(r0, a0 + b0);
float4x3 a1 = float4x3(69.19568f, -177.957336f, 299.604126f, 340.704834f, 219.916016f, -321.9084f, 286.355347f, -333.4195f, -118.932159f, 68.60748f, 23.190918f, -205.577881f);
float4x3 b1 = float4x3(418.593079f, -23.3128052f, -95.0999451f, 147.9281f, 331.0329f, -82.50256f, 279.4496f, 342.622742f, -300.358521f, -209.694092f, 446.559448f, -351.9892f);
float4x3 r1 = float4x3(487.788757f, -201.270142f, 204.504181f, 488.632935f, 550.9489f, -404.41095f, 565.804932f, 9.203247f, -419.29068f, -141.086609f, 469.750366f, -557.5671f);
TestUtils.AreEqual(r1, a1 + b1);
float4x3 a2 = float4x3(11.5214233f, -340.795074f, -68.93118f, 304.8532f, -86.63385f, 105.669128f, 349.280518f, 364.7079f, -429.0374f, 382.458069f, 186.097046f, 227.411865f);
float4x3 b2 = float4x3(-263.12384f, -252.458557f, 289.825378f, 338.796143f, -232.619019f, -510.50824f, 349.280762f, -426.212463f, -331.416321f, -418.6888f, -341.70636f, -329.0359f);
float4x3 r2 = float4x3(-251.602417f, -593.253662f, 220.8942f, 643.649353f, -319.252869f, -404.8391f, 698.5613f, -61.5045776f, -760.453735f, -36.2307434f, -155.609314f, -101.624023f);
TestUtils.AreEqual(r2, a2 + b2);
float4x3 a3 = float4x3(-298.766357f, 351.3028f, 98.7254f, -292.351685f, 112.1709f, 477.165771f, -266.304871f, -295.1407f, -485.820374f, -507.8687f, -338.2196f, 505.342163f);
float4x3 b3 = float4x3(123.198547f, 189.528564f, 267.569946f, 134.636292f, -337.96814f, 50.7280273f, 81.16345f, 442.0907f, -148.704529f, 6.974365f, -334.911255f, 43.78711f);
float4x3 r3 = float4x3(-175.56781f, 540.83136f, 366.295349f, -157.7154f, -225.797241f, 527.8938f, -185.141418f, 146.950012f, -634.5249f, -500.894348f, -673.130859f, 549.1293f);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void float4x3_operator_add_wide_scalar()
{
float4x3 a0 = float4x3(-194.514191f, 338.5484f, 246.971375f, 100.510925f, -45.72467f, -478.1113f, 30.9161377f, 60.37433f, -242.118744f, 82.50134f, 6.79937744f, -484.6998f);
float b0 = (124.121704f);
float4x3 r0 = float4x3(-70.39249f, 462.6701f, 371.093079f, 224.632629f, 78.39703f, -353.9896f, 155.037842f, 184.496033f, -117.99704f, 206.623047f, 130.921082f, -360.5781f);
TestUtils.AreEqual(r0, a0 + b0);
float4x3 a1 = float4x3(-188.265015f, -267.7843f, 189.259949f, 198.533569f, 187.536072f, -424.925659f, 302.102356f, 300.3991f, 124.021606f, -200.161346f, 31.3782349f, 362.522156f);
float b1 = (-213.526733f);
float4x3 r1 = float4x3(-401.791748f, -481.311035f, -24.2667847f, -14.9931641f, -25.9906616f, -638.4524f, 88.57562f, 86.8723755f, -89.50513f, -413.68808f, -182.1485f, 148.995422f);
TestUtils.AreEqual(r1, a1 + b1);
float4x3 a2 = float4x3(-423.988861f, 374.211426f, -465.6995f, -311.04303f, 84.91901f, -432.442444f, 235.750671f, -472.637756f, -257.577759f, 186.120728f, -170.298218f, -115.272491f);
float b2 = (432.41333f);
float4x3 r2 = float4x3(8.424469f, 806.624756f, -33.2861633f, 121.3703f, 517.332336f, -0.02911377f, 668.164f, -40.2244263f, 174.835571f, 618.534058f, 262.1151f, 317.140839f);
TestUtils.AreEqual(r2, a2 + b2);
float4x3 a3 = float4x3(-101.168823f, 246.549255f, -397.5346f, -199.04837f, 20.585022f, 207.323853f, 197.935181f, -201.540558f, -106.638672f, -179.382233f, 203.817078f, -364.820953f);
float b3 = (257.775146f);
float4x3 r3 = float4x3(156.606323f, 504.3244f, -139.75946f, 58.7267761f, 278.360168f, 465.099f, 455.710327f, 56.23459f, 151.136475f, 78.3929138f, 461.592224f, -107.045807f);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void float4x3_operator_add_scalar_wide()
{
float a0 = (-340.354675f);
float4x3 b0 = float4x3(511.362244f, -146.216644f, -106.210419f, -363.450256f, 199.0896f, -27.1083984f, 419.849f, 284.955017f, -164.9242f, -249.190338f, 150.928162f, 298.1751f);
float4x3 r0 = float4x3(171.007568f, -486.57132f, -446.5651f, -703.804932f, -141.265076f, -367.463074f, 79.49432f, -55.39966f, -505.27887f, -589.545044f, -189.426514f, -42.1795654f);
TestUtils.AreEqual(r0, a0 + b0);
float a1 = (-457.1534f);
float4x3 b1 = float4x3(424.718079f, -301.857483f, 230.288879f, -423.5876f, -67.06003f, 68.72412f, -164.02243f, 318.935181f, 7.80456543f, 187.698364f, -3.656952f, -446.083069f);
float4x3 r1 = float4x3(-32.4353333f, -759.010864f, -226.864532f, -880.740967f, -524.21344f, -388.4293f, -621.175842f, -138.218231f, -449.348846f, -269.455048f, -460.810364f, -903.23645f);
TestUtils.AreEqual(r1, a1 + b1);
float a2 = (-209.287231f);
float4x3 b2 = float4x3(-38.21289f, -346.257172f, 465.607422f, -192.185944f, 278.6938f, 381.978455f, 481.243652f, -97.22815f, -455.513733f, 501.834961f, 358.7066f, 430.699768f);
float4x3 r2 = float4x3(-247.500122f, -555.544434f, 256.3202f, -401.473175f, 69.4065552f, 172.691223f, 271.956421f, -306.515381f, -664.800964f, 292.547729f, 149.419373f, 221.412537f);
TestUtils.AreEqual(r2, a2 + b2);
float a3 = (256.987183f);
float4x3 b3 = float4x3(207.651672f, -376.965179f, -428.085327f, -373.49353f, -468.89328f, -467.658447f, 297.484924f, -506.89978f, -233.358459f, 434.558777f, -387.3152f, 171.590271f);
float4x3 r3 = float4x3(464.638855f, -119.978f, -171.098145f, -116.506348f, -211.9061f, -210.671265f, 554.4721f, -249.9126f, 23.6287231f, 691.545959f, -130.328f, 428.577454f);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void float4x3_operator_sub_wide_wide()
{
float4x3 a0 = float4x3(160.492249f, 11.223938f, 359.200134f, -498.2283f, -355.253632f, -94.53485f, -410.46405f, -401.384644f, 317.706848f, 447.060425f, -489.074158f, -230.008392f);
float4x3 b0 = float4x3(115.46875f, -130.9823f, 241.540833f, 9.987061f, 419.895142f, 59.12445f, -402.381653f, -75.37015f, 320.9796f, -73.90875f, -31.4447327f, -389.251953f);
float4x3 r0 = float4x3(45.0235f, 142.206238f, 117.6593f, -508.215363f, -775.1488f, -153.6593f, -8.082397f, -326.0145f, -3.272766f, 520.9692f, -457.629425f, 159.243561f);
TestUtils.AreEqual(r0, a0 - b0);
float4x3 a1 = float4x3(24.8754272f, 366.614441f, -107.374146f, -219.008148f, 473.9076f, 259.63623f, -360.119629f, 7.80963135f, 437.428467f, -59.1991577f, 418.744324f, 183.142151f);
float4x3 b1 = float4x3(-375.028839f, 259.182739f, 276.648682f, -453.0692f, -272.576538f, -191.148041f, 87.1369f, 430.02478f, 343.6571f, 121.029419f, -354.188171f, 249.052f);
float4x3 r1 = float4x3(399.904266f, 107.4317f, -384.022827f, 234.061066f, 746.484131f, 450.784271f, -447.256531f, -422.215149f, 93.77136f, -180.228577f, 772.9325f, -65.90985f);
TestUtils.AreEqual(r1, a1 - b1);
float4x3 a2 = float4x3(271.230347f, 496.208557f, 165.354919f, -227.403656f, -166.522858f, 356.142273f, 386.9264f, -394.638763f, 126.903259f, 97.21692f, -150.017853f, -227.250519f);
float4x3 b2 = float4x3(-2.22543335f, 22.4472656f, 478.112976f, -320.063f, -111.524109f, 222.228943f, -245.411072f, -119.902283f, -153.465668f, 374.1125f, 301.763428f, -281.430054f);
float4x3 r2 = float4x3(273.45578f, 473.7613f, -312.758057f, 92.65933f, -54.99875f, 133.91333f, 632.337463f, -274.736481f, 280.368927f, -276.895569f, -451.781281f, 54.1795349f);
TestUtils.AreEqual(r2, a2 - b2);
float4x3 a3 = float4x3(-198.830017f, 0.662780762f, -484.245575f, -295.996277f, -46.17099f, 499.9524f, 292.440125f, -106.424133f, 466.827148f, 487.374817f, 242.994629f, -468.901581f);
float4x3 b3 = float4x3(-494.964355f, -320.731262f, 160.962219f, -132.9364f, -394.437531f, 406.851257f, 270.544617f, 507.794617f, 67.69922f, 263.40448f, 297.5807f, 170.839539f);
float4x3 r3 = float4x3(296.134338f, 321.394043f, -645.207764f, -163.059875f, 348.266541f, 93.1011353f, 21.8955078f, -614.21875f, 399.12793f, 223.970337f, -54.58606f, -639.7411f);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void float4x3_operator_sub_wide_scalar()
{
float4x3 a0 = float4x3(207.389587f, 248.457764f, -384.8239f, -205.344757f, -374.811554f, 191.642029f, 18.8562622f, -44.96161f, 480.857971f, 16.3381958f, -366.865448f, -35.5231f);
float b0 = (-36.1124878f);
float4x3 r0 = float4x3(243.502075f, 284.570251f, -348.711426f, -169.232269f, -338.699066f, 227.754517f, 54.96875f, -8.849121f, 516.970459f, 52.4506836f, -330.75296f, 0.589386f);
TestUtils.AreEqual(r0, a0 - b0);
float4x3 a1 = float4x3(349.397766f, 490.2223f, 195.024048f, -384.849426f, 189.05188f, 55.6027832f, -54.931488f, 53.0880737f, 316.8025f, -273.8067f, 256.8872f, 297.173645f);
float b1 = (439.077271f);
float4x3 r1 = float4x3(-89.6795044f, 51.14502f, -244.053223f, -823.9267f, -250.025391f, -383.4745f, -494.008759f, -385.9892f, -122.27478f, -712.884f, -182.190063f, -141.903625f);
TestUtils.AreEqual(r1, a1 - b1);
float4x3 a2 = float4x3(101.829041f, -19.7322083f, 336.589722f, -51.8765564f, 317.345764f, -467.055939f, -50.1670532f, 477.804565f, -60.82193f, 0.4111328f, 46.66095f, -19.241394f);
float b2 = (136.607971f);
float4x3 r2 = float4x3(-34.77893f, -156.340179f, 199.98175f, -188.484528f, 180.7378f, -603.66394f, -186.775024f, 341.1966f, -197.4299f, -136.196838f, -89.94702f, -155.849365f);
TestUtils.AreEqual(r2, a2 - b2);
float4x3 a3 = float4x3(396.809753f, -334.274231f, -198.077148f, -239.200623f, -339.6812f, -14.5144348f, 219.99707f, -180.260681f, -438.8906f, 186.35553f, -365.066772f, -478.801239f);
float b3 = (69.5905151f);
float4x3 r3 = float4x3(327.219238f, -403.864746f, -267.667664f, -308.791138f, -409.271729f, -84.10495f, 150.406555f, -249.8512f, -508.4811f, 116.765015f, -434.6573f, -548.3917f);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void float4x3_operator_sub_scalar_wide()
{
float a0 = (-86.00824f);
float4x3 b0 = float4x3(466.4251f, 298.486938f, -300.9501f, 315.38f, -381.092163f, -125.008362f, 58.4661865f, 214.7461f, -257.549438f, 480.2246f, -443.355072f, 260.795044f);
float4x3 r0 = float4x3(-552.43335f, -384.495178f, 214.941864f, -401.388245f, 295.083923f, 39.0001221f, -144.474426f, -300.754333f, 171.5412f, -566.232849f, 357.346832f, -346.803284f);
TestUtils.AreEqual(r0, a0 - b0);
float a1 = (29.6819458f);
float4x3 b1 = float4x3(139.857727f, -247.789948f, -248.466217f, 91.44513f, 86.3841553f, 373.8183f, 260.411926f, 114.353943f, -464.405457f, -109.741455f, -311.675354f, 107.864014f);
float4x3 r1 = float4x3(-110.175781f, 277.4719f, 278.148163f, -61.7631836f, -56.70221f, -344.136353f, -230.72998f, -84.672f, 494.0874f, 139.4234f, 341.3573f, -78.18207f);
TestUtils.AreEqual(r1, a1 - b1);
float a2 = (-258.795166f);
float4x3 b2 = float4x3(14.0975342f, -461.970184f, 30.3108521f, 63.70111f, -462.676758f, 39.75946f, 47.99817f, -177.6193f, 202.477051f, -289.3088f, -459.9254f, 248.386658f);
float4x3 r2 = float4x3(-272.8927f, 203.175018f, -289.106018f, -322.496277f, 203.881592f, -298.554626f, -306.793335f, -81.17587f, -461.272217f, 30.5136414f, 201.130249f, -507.181824f);
TestUtils.AreEqual(r2, a2 - b2);
float a3 = (85.32971f);
float4x3 b3 = float4x3(-73.37479f, -510.652f, 426.963257f, 239.59021f, 477.852356f, 256.0136f, 338.620361f, -483.8312f, 330.3922f, -263.4182f, 123.92804f, -269.115967f);
float4x3 r3 = float4x3(158.7045f, 595.9817f, -341.633545f, -154.2605f, -392.522644f, -170.6839f, -253.290649f, 569.1609f, -245.0625f, 348.747925f, -38.5983276f, 354.445679f);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void float4x3_operator_mul_wide_wide()
{
float4x3 a0 = float4x3(-482.7138f, -407.2935f, 137.700562f, 208.541138f, 194.29657f, -484.242432f, 183.9873f, -241.33548f, 45.8687744f, 363.3261f, -328.118958f, -471.023071f);
float4x3 b0 = float4x3(-236.367889f, 260.7276f, -416.3863f, -364.4956f, -253.147522f, -369.202881f, 193.547913f, 169.0849f, 201.969666f, 249.456055f, -308.193176f, -385.579651f);
float4x3 r0 = float4x3(114098.047f, -106192.656f, -57336.625f, -76012.33f, -49185.6953f, 178783.7f, 35610.36f, -40806.1836f, 9264.101f, 90633.9f, 101124.023f, 181616.9f);
TestUtils.AreEqual(r0, a0 * b0);
float4x3 a1 = float4x3(-262.682556f, -379.262756f, -374.090576f, 481.4474f, 104.628052f, 412.935425f, 477.877258f, 20.3778076f, 291.995972f, -138.488312f, -393.464966f, 9.363098f);
float4x3 b1 = float4x3(-183.2796f, 22.2756348f, -265.521423f, -95.67746f, 133.2544f, 148.311462f, 249.284119f, 500.0055f, -19.3315735f, -36.69107f, 30.5238037f, -401.367f);
float4x3 r1 = float4x3(48144.3555f, -8448.318f, 99329.06f, -46063.6641f, 13942.1475f, 61243.06f, 119127.211f, 10189.0156f, -5644.7417f, 5081.284f, -12010.0479f, -3758.03857f);
TestUtils.AreEqual(r1, a1 * b1);
float4x3 a2 = float4x3(-131.942291f, 364.449646f, 390.615967f, 418.797974f, -277.3448f, 11.4101563f, 474.876465f, -502.405029f, -222.59491f, 38.1690674f, 292.6125f, 203.2077f);
float4x3 b2 = float4x3(3.43725586f, 257.24176f, -290.971924f, 337.47937f, 490.286133f, -191.0198f, -325.7345f, -52.1819763f, 123.435059f, -461.267059f, 122.353088f, 308.584656f);
float4x3 r2 = float4x3(-453.5194f, 93751.67f, -113658.281f, 141335.672f, -135978.3f, -2179.566f, -154683.641f, 26216.4883f, -27476.0156f, -17606.1328f, 35802.043f, 62706.7773f);
TestUtils.AreEqual(r2, a2 * b2);
float4x3 a3 = float4x3(-330.408142f, 469.460144f, 342.2951f, -504.114655f, 319.3573f, -357.782074f, -117.9711f, 25.706543f, 226.456421f, -86.34372f, -274.126038f, -486.870972f);
float4x3 b3 = float4x3(375.320618f, 203.212646f, 77.66797f, 218.793579f, -489.895752f, 134.472168f, -287.794373f, -116.399994f, -436.543976f, 499.591064f, -300.602356f, 105.730469f);
float4x3 r3 = float4x3(-124008.984f, 95400.24f, 26585.3652f, -110297.047f, -156451.781f, -48111.73f, 33951.418f, -2992.24146f, -98858.19f, -43136.55f, 82402.93f, -51477.0977f);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void float4x3_operator_mul_wide_scalar()
{
float4x3 a0 = float4x3(-96.31882f, -277.142273f, -239.93689f, 509.531433f, 255.8581f, 215.7315f, -455.50827f, -389.2433f, -338.29248f, 53.7962646f, 243.757324f, 135.354675f);
float b0 = (-301.2072f);
float4x3 r0 = float4x3(29011.9219f, 83477.25f, 72270.72f, -153474.547f, -77066.3047f, -64979.8867f, 137202.375f, 117242.883f, 101896.133f, -16203.8232f, -73421.46f, -40769.8047f);
TestUtils.AreEqual(r0, a0 * b0);
float4x3 a1 = float4x3(-207.3501f, -31.4252319f, 42.6761475f, 260.38385f, 176.867554f, 25.67212f, -290.5006f, 207.091f, -156.523315f, -208.402008f, 370.945068f, -341.59845f);
float b1 = (-383.9396f);
float4x3 r1 = float4x3(79609.9141f, 12065.3916f, -16385.0625f, -99971.67f, -67906.46f, -9856.543f, 111534.688f, -79510.44f, 60095.5f, 80013.78f, -142420.5f, 131153.172f);
TestUtils.AreEqual(r1, a1 * b1);
float4x3 a2 = float4x3(10.2703247f, -61.0061035f, 186.279785f, -487.652222f, -129.376831f, -317.7163f, -207.62735f, 388.8714f, -233.335327f, 128.415527f, 510.389526f, 267.576355f);
float b2 = (-176.888763f);
float4x3 r2 = float4x3(-1816.70508f, 10791.2939f, -32950.8f, 86260.1953f, 22885.3086f, 56200.4453f, 36726.9453f, -68786.9844f, 41274.4f, -22715.2637f, -90282.17f, -47331.25f);
TestUtils.AreEqual(r2, a2 * b2);
float4x3 a3 = float4x3(-309.209656f, -189.569519f, 233.209229f, -331.086975f, -98.6447754f, -214.181f, -87.88077f, -493.165741f, -407.306061f, -411.3714f, 477.935669f, 364.748535f);
float b3 = (-36.48297f);
float4x3 r3 = float4x3(11280.8867f, 6916.059f, -8508.166f, 12079.0361f, 3598.85449f, 7813.95947f, 3206.15161f, 17992.1523f, 14859.7354f, 15008.0508f, -17436.5137f, -13307.11f);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void float4x3_operator_mul_scalar_wide()
{
float a0 = (37.43219f);
float4x3 b0 = float4x3(96.74756f, 492.185364f, -274.054565f, -452.870972f, 420.853333f, 102.182922f, -114.948883f, -351.120056f, -464.664978f, 444.084839f, 447.1053f, 130.829346f);
float4x3 r0 = float4x3(3621.473f, 18423.5762f, -10258.4629f, -16951.9531f, 15753.4619f, 3824.93066f, -4302.78857f, -13143.1924f, -17393.4277f, 16623.0684f, 16736.13f, 4897.229f);
TestUtils.AreEqual(r0, a0 * b0);
float a1 = (-321.41333f);
float4x3 b1 = float4x3(445.301331f, 478.2436f, 358.571716f, -144.8901f, -438.893829f, -3.536438f, -471.807556f, -42.5603943f, 119.911072f, 271.900024f, 239.684021f, 487.4414f);
float4x3 r1 = float4x3(-143125.781f, -153713.859f, -115249.727f, 46569.6133f, 141066.328f, 1136.65833f, 151645.234f, 13679.4785f, -38541.0156f, -87392.29f, -77037.64f, -156670.172f);
TestUtils.AreEqual(r1, a1 * b1);
float a2 = (-79.18829f);
float4x3 b2 = float4x3(-112.925659f, 161.370056f, 459.759155f, -337.195984f, -276.834534f, 469.723877f, -274.565155f, 506.7859f, 65.88257f, 495.855652f, -347.2796f, -343.606049f);
float4x3 r2 = float4x3(8942.391f, -12778.6191f, -36407.543f, 26701.9746f, 21922.0547f, -37196.6328f, 21742.3457f, -40131.5078f, -5217.128f, -39265.96f, 27500.4785f, 27209.5762f);
TestUtils.AreEqual(r2, a2 * b2);
float a3 = (-183.7038f);
float4x3 b3 = float4x3(460.264771f, 437.513245f, -324.557251f, -112.287781f, 273.135437f, -283.093658f, 1.880249f, -310.8167f, 326.0122f, 243.64325f, 78.17932f, -308.664f);
float4x3 r3 = float4x3(-84552.38f, -80372.84f, 59622.4f, 20627.6914f, -50176.0156f, 52005.38f, -345.408875f, 57098.21f, -59889.68f, -44758.19f, -14361.8379f, 56702.75f);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void float4x3_operator_div_wide_wide()
{
float4x3 a0 = float4x3(-353.131439f, -102.799866f, 51.3191528f, -191.871674f, 8.041809f, -128.73764f, -136.0596f, -370.471f, -237.69455f, -432.546875f, 200.2655f, 361.4416f);
float4x3 b0 = float4x3(-178.739563f, -302.096283f, -199.405823f, 278.850769f, 502.3376f, -361.484833f, 353.121033f, -38.894928f, -75.76474f, -195.217834f, -405.034f, -394.23f);
float4x3 r0 = float4x3(1.97567582f, 0.34028843f, -0.257360339f, -0.688080132f, 0.0160087738f, 0.356135666f, -0.385305852f, 9.524919f, 3.1372714f, 2.215714f, -0.4944412f, -0.9168292f);
TestUtils.AreEqual(r0, a0 / b0);
float4x3 a1 = float4x3(-416.226135f, -450.0192f, -273.497437f, -286.908173f, -314.256042f, 177.762085f, 97.6270142f, -68.10727f, -386.450745f, 263.699341f, -297.0271f, -501.777039f);
float4x3 b1 = float4x3(-375.8277f, -121.245483f, 447.623352f, 338.286255f, -405.5442f, -431.168945f, 296.205139f, 437.939819f, 39.2106323f, 331.289734f, -310.619568f, 207.26947f);
float4x3 r1 = float4x3(1.107492f, 3.71163678f, -0.610999048f, -0.8481225f, 0.7748996f, -0.412279427f, 0.3295926f, -0.155517414f, -9.855764f, 0.795978f, 0.9562408f, -2.42089224f);
TestUtils.AreEqual(r1, a1 / b1);
float4x3 a2 = float4x3(-263.40686f, -451.080841f, -416.34552f, -315.278748f, -28.1811218f, -397.870148f, -261.386658f, 40.3482056f, 277.245728f, 464.77124f, -336.641052f, 375.4781f);
float4x3 b2 = float4x3(-223.293f, -480.0914f, 448.675964f, -460.097443f, -220.569855f, -84.85315f, 441.373779f, 72.41846f, 44.9760742f, -242.515381f, -451.302063f, -21.8996887f);
float4x3 r2 = float4x3(1.17964673f, 0.9395729f, -0.9279426f, 0.6852434f, 0.127765059f, 4.688926f, -0.592211545f, 0.557153642f, 6.164294f, -1.91646087f, 0.7459329f, -17.14536f);
TestUtils.AreEqual(r2, a2 / b2);
float4x3 a3 = float4x3(504.342529f, -320.7671f, -156.733337f, 414.797058f, -386.0507f, -369.838623f, 386.704224f, 242.631836f, 421.7345f, 109.012207f, 182.075256f, 187.326416f);
float4x3 b3 = float4x3(-358.486664f, -350.945129f, -481.848145f, 406.393433f, -145.288666f, 461.795532f, -318.816772f, -250.932f, 125.859558f, -193.803162f, -495.25412f, -315.824554f);
float4x3 r3 = float4x3(-1.40686548f, 0.9140092f, 0.3252754f, 1.02067852f, 2.65712881f, -0.800870955f, -1.21293569f, -0.966922641f, 3.35083413f, -0.562489331f, -0.367640078f, -0.5931344f);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void float4x3_operator_div_wide_scalar()
{
float4x3 a0 = float4x3(171.3424f, 0.103393555f, 57.8882446f, -256.130737f, 95.66968f, -290.3869f, -127.4487f, -79.7449f, 146.466858f, -499.843567f, 58.68634f, -453.2058f);
float b0 = (171.796814f);
float4x3 r0 = float4x3(0.997355f, 0.000601836247f, 0.3369576f, -1.49089336f, 0.5568769f, -1.69029272f, -0.7418572f, -0.4641815f, 0.8525586f, -2.90950418f, 0.3416032f, -2.63803387f);
TestUtils.AreEqual(r0, a0 / b0);
float4x3 a1 = float4x3(-205.033813f, 464.479065f, -293.4635f, -158.505585f, -289.5822f, 494.1286f, 203.583435f, 180.9704f, 259.1192f, 460.844727f, 490.956238f, -280.478058f);
float b1 = (481.738159f);
float4x3 r1 = float4x3(-0.425612569f, 0.9641733f, -0.609176338f, -0.3290285f, -0.6011195f, 1.02572024f, 0.422601849f, 0.375661343f, 0.5378839f, 0.9566291f, 1.019135f, -0.582221f);
TestUtils.AreEqual(r1, a1 / b1);
float4x3 a2 = float4x3(-320.243866f, 264.800842f, 226.852966f, -192.235687f, 460.9765f, -437.8922f, -413.232727f, 249.471863f, 313.035034f, 216.785583f, 383.7389f, 82.0233154f);
float b2 = (192.41449f);
float4x3 r2 = float4x3(-1.66434383f, 1.37620008f, 1.17898071f, -0.999070764f, 2.39574742f, -2.27577567f, -2.14761758f, 1.2965337f, 1.62687874f, 1.12665939f, 1.9943347f, 0.4262845f);
TestUtils.AreEqual(r2, a2 / b2);
float4x3 a3 = float4x3(189.574646f, -391.92218f, 121.280579f, 417.901733f, -133.262878f, -428.7424f, -188.531891f, 356.259521f, 181.969f, -140.890472f, 474.082642f, -451.357727f);
float b3 = (314.503845f);
float4x3 r3 = float4x3(0.6027737f, -1.24616027f, 0.3856251f, 1.32876515f, -0.423724174f, -1.36323416f, -0.599458158f, 1.13276684f, 0.5785907f, -0.447976947f, 1.50739861f, -1.43514216f);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void float4x3_operator_div_scalar_wide()
{
float a0 = (-264.4425f);
float4x3 b0 = float4x3(105.589111f, -142.349091f, -288.9489f, 39.644104f, -363.9914f, -149.718231f, -395.729126f, 258.7187f, -9.66626f, 117.725525f, -331.386536f, -509.986023f);
float4x3 r0 = float4x3(-2.50444865f, 1.85770416f, 0.9151877f, -6.670412f, 0.7265076f, 1.7662679f, 0.6682412f, -1.02212369f, 27.3572731f, -2.246263f, 0.797988057f, 0.518528938f);
TestUtils.AreEqual(r0, a0 / b0);
float a1 = (427.896484f);
float4x3 b1 = float4x3(467.617126f, -407.124634f, 252.690735f, 444.599365f, -88.31329f, 199.955017f, -218.346924f, -13.4171753f, -296.131073f, 0.561340332f, -289.299316f, 196.218323f);
float4x3 r1 = float4x3(0.915057361f, -1.05102086f, 1.69336045f, 0.9624316f, -4.84521055f, 2.13996363f, -1.95970929f, -31.8916969f, -1.44495642f, 762.276367f, -1.47907877f, 2.18071628f);
TestUtils.AreEqual(r1, a1 / b1);
float a2 = (334.733459f);
float4x3 b2 = float4x3(-282.392731f, -479.5036f, -473.439453f, 105.050781f, -287.6313f, 77.29932f, -210.894379f, -184.068237f, -315.148438f, 87.86688f, 101.590515f, 345.9364f);
float4x3 r2 = float4x3(-1.18534732f, -0.6980833f, -0.7070249f, 3.1863966f, -1.16375887f, 4.33035469f, -1.587209f, -1.81852913f, -1.06214535f, 3.809552f, 3.29492831f, 0.9676156f);
TestUtils.AreEqual(r2, a2 / b2);
float a3 = (-146.318115f);
float4x3 b3 = float4x3(479.999939f, -172.67688f, -178.013641f, 361.760437f, 349.376953f, -398.686127f, -243.78f, 296.622925f, 477.810669f, 486.600342f, 256.917236f, -89.86423f);
float4x3 r3 = float4x3(-0.304829448f, 0.8473521f, 0.8219489f, -0.404461354f, -0.418797284f, 0.367000759f, 0.6002056f, -0.493279874f, -0.306226134f, -0.300694644f, -0.5695146f, 1.62821317f);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void float4x3_operator_mod_wide_wide()
{
float4x3 a0 = float4x3(-388.8125f, 181.681213f, -167.078735f, 432.820129f, -258.438965f, -170.110809f, 283.3183f, 122.716492f, 335.271f, -503.608521f, 191.022522f, 289.742676f);
float4x3 b0 = float4x3(436.944153f, 58.9400635f, -201.116241f, 279.289368f, -397.079773f, 377.899963f, 174.693848f, -228.176514f, -317.060181f, -417.4801f, -249.975952f, -397.571564f);
float4x3 r0 = float4x3(-388.8125f, 4.861023f, -167.078735f, 153.530762f, -258.438965f, -170.110809f, 108.624451f, 122.716492f, 18.2108154f, -86.12842f, 191.022522f, 289.742676f);
TestUtils.AreEqual(r0, a0 % b0);
float4x3 a1 = float4x3(-124.033722f, 259.274f, -274.358459f, -140.030792f, 324.577576f, -200.513092f, 211.423157f, -51.2722168f, -230.633911f, 99.98938f, 399.18988f, 24.90326f);
float4x3 b1 = float4x3(-358.745453f, -198.15921f, 208.737122f, -12.1194153f, 25.2714233f, -194.1207f, -493.8718f, -312.3017f, -216.980591f, 413.570984f, -436.3944f, 3.491272f);
float4x3 r1 = float4x3(-124.033722f, 61.1147766f, -65.62134f, -6.717224f, 21.3204956f, -6.392395f, 211.423157f, -51.2722168f, -13.65332f, 99.98938f, 399.18988f, 0.464355469f);
TestUtils.AreEqual(r1, a1 % b1);
float4x3 a2 = float4x3(50.92401f, -364.863678f, -252.626617f, -281.2898f, -364.798523f, -329.026245f, 51.6098022f, 41.6478271f, 254.95105f, -458.6776f, -136.79303f, 72.40033f);
float4x3 b2 = float4x3(-308.233429f, -441.375061f, 84.60083f, 373.163452f, 67.25275f, -320.333282f, 118.97937f, 44.8239746f, 354.0086f, -253.953125f, -195.162811f, 317.142822f);
float4x3 r2 = float4x3(50.92401f, -364.863678f, -83.42496f, -281.2898f, -28.53479f, -8.692963f, 51.6098022f, 41.6478271f, 254.95105f, -204.724487f, -136.79303f, 72.40033f);
TestUtils.AreEqual(r2, a2 % b2);
float4x3 a3 = float4x3(246.212036f, 325.1538f, 162.034668f, -284.761444f, 128.351257f, 262.916748f, 61.60077f, -271.4928f, -205.438812f, -341.322144f, 347.154419f, 148.0885f);
float4x3 b3 = float4x3(320.693176f, -103.996887f, 388.171753f, -199.639313f, -256.217316f, -478.125031f, -210.655731f, -272.0233f, -61.6765442f, -367.8296f, -242.938934f, 162.386719f);
float4x3 r3 = float4x3(246.212036f, 13.163147f, 162.034668f, -85.12213f, 128.351257f, 262.916748f, 61.60077f, -271.4928f, -20.40918f, -341.322144f, 104.215485f, 148.0885f);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void float4x3_operator_mod_wide_scalar()
{
float4x3 a0 = float4x3(-244.499634f, -211.8193f, -145.926788f, -304.9182f, 155.479492f, -133.907776f, 281.309631f, -226.535767f, 335.166138f, 101.706482f, 319.4715f, -285.4023f);
float b0 = (39.63495f);
float4x3 r0 = float4x3(-6.68994141f, -13.6445618f, -27.0219421f, -27.4735718f, 36.574646f, -15.00293f, 3.86499023f, -28.3610229f, 18.0865479f, 22.4365845f, 2.39190674f, -7.957672f);
TestUtils.AreEqual(r0, a0 % b0);
float4x3 a1 = float4x3(-355.846863f, -330.871948f, -284.343567f, -102.683441f, -172.141754f, 206.41687f, -416.713654f, -339.256653f, 435.2975f, 132.552917f, 226.944092f, -306.1183f);
float b1 = (259.378f);
float4x3 r1 = float4x3(-96.46887f, -71.49396f, -24.9655762f, -102.683441f, -172.141754f, 206.41687f, -157.335663f, -79.87866f, 175.9195f, 132.552917f, 226.944092f, -46.7402954f);
TestUtils.AreEqual(r1, a1 % b1);
float4x3 a2 = float4x3(115.438477f, -218.347443f, -140.0405f, -462.3235f, -211.6087f, 351.331055f, 321.047f, 346.0852f, -94.4077454f, 465.40918f, -367.197021f, -467.5106f);
float b2 = (281.882935f);
float4x3 r2 = float4x3(115.438477f, -218.347443f, -140.0405f, -180.440552f, -211.6087f, 69.44812f, 39.1640625f, 64.20227f, -94.4077454f, 183.526245f, -85.31409f, -185.627655f);
TestUtils.AreEqual(r2, a2 % b2);
float4x3 a3 = float4x3(415.2151f, -3.729828f, 128.249878f, 134.941589f, 247.616943f, -285.287872f, 433.766663f, -141.831024f, -229.781891f, 471.218018f, 377.681458f, 433.4076f);
float b3 = (506.186157f);
float4x3 r3 = float4x3(415.2151f, -3.729828f, 128.249878f, 134.941589f, 247.616943f, -285.287872f, 433.766663f, -141.831024f, -229.781891f, 471.218018f, 377.681458f, 433.4076f);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void float4x3_operator_mod_scalar_wide()
{
float a0 = (-66.94504f);
float4x3 b0 = float4x3(-249.7761f, -396.073761f, 386.492065f, 168.939453f, -199.418243f, 261.7517f, 16.1274414f, 257.668152f, -75.78845f, 170.9563f, -242.858276f, 425.9453f);
float4x3 r0 = float4x3(-66.94504f, -66.94504f, -66.94504f, -66.94504f, -66.94504f, -66.94504f, -2.43527222f, -66.94504f, -66.94504f, -66.94504f, -66.94504f, -66.94504f);
TestUtils.AreEqual(r0, a0 % b0);
float a1 = (303.2724f);
float4x3 b1 = float4x3(3.033081f, -505.74353f, 461.957031f, 205.972778f, 270.040649f, -47.4807129f, -150.254486f, 149.499512f, -220.298035f, 31.1188354f, 400.635681f, 6.23144531f);
float4x3 r1 = float4x3(2.99737549f, 303.2724f, 303.2724f, 97.29962f, 33.23175f, 18.3881226f, 2.76342773f, 4.27337646f, 82.9743652f, 23.20288f, 303.2724f, 4.163025f);
TestUtils.AreEqual(r1, a1 % b1);
float a2 = (-39.05075f);
float4x3 b2 = float4x3(-71.9411f, -495.307129f, -86.7196045f, -436.970062f, -472.294739f, -130.008759f, -251.516846f, 281.976379f, 388.86084f, 50.6152954f, 293.87085f, 123.744263f);
float4x3 r2 = float4x3(-39.05075f, -39.05075f, -39.05075f, -39.05075f, -39.05075f, -39.05075f, -39.05075f, -39.05075f, -39.05075f, -39.05075f, -39.05075f, -39.05075f);
TestUtils.AreEqual(r2, a2 % b2);
float a3 = (422.904358f);
float4x3 b3 = float4x3(-53.87619f, -178.857666f, -362.27594f, 361.085266f, 465.276123f, -269.889648f, -159.408966f, -29.0952148f, 484.499451f, -354.950623f, -328.6906f, -171.739227f);
float4x3 r3 = float4x3(45.7710266f, 65.1890259f, 60.628418f, 61.81909f, 422.904358f, 153.014709f, 104.086426f, 15.57135f, 422.904358f, 67.9537354f, 94.2137451f, 79.4259f);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void float4x3_operator_plus()
{
float4x3 a0 = float4x3(-418.829559f, -405.79895f, -34.04178f, 236.999268f, -459.8391f, 210.86145f, 293.742f, -373.015442f, -386.059845f, 4.95440674f, -418.645264f, 504.474854f);
float4x3 r0 = float4x3(-418.829559f, -405.79895f, -34.04178f, 236.999268f, -459.8391f, 210.86145f, 293.742f, -373.015442f, -386.059845f, 4.95440674f, -418.645264f, 504.474854f);
TestUtils.AreEqual(r0, +a0);
float4x3 a1 = float4x3(-170.746521f, -478.7494f, 116.400757f, 421.409668f, -258.596069f, 447.8661f, 124.164368f, 222.172546f, -65.94928f, 239.041809f, 498.449524f, -139.382538f);
float4x3 r1 = float4x3(-170.746521f, -478.7494f, 116.400757f, 421.409668f, -258.596069f, 447.8661f, 124.164368f, 222.172546f, -65.94928f, 239.041809f, 498.449524f, -139.382538f);
TestUtils.AreEqual(r1, +a1);
float4x3 a2 = float4x3(279.072937f, 37.9992065f, 136.812134f, -236.030029f, -440.308319f, 342.2791f, 102.472229f, -161.454834f, -355.270874f, 141.314331f, 239.320862f, -494.6041f);
float4x3 r2 = float4x3(279.072937f, 37.9992065f, 136.812134f, -236.030029f, -440.308319f, 342.2791f, 102.472229f, -161.454834f, -355.270874f, 141.314331f, 239.320862f, -494.6041f);
TestUtils.AreEqual(r2, +a2);
float4x3 a3 = float4x3(361.59198f, 141.712524f, 25.2562866f, -268.2269f, 106.774658f, 176.744385f, 104.119934f, 144.618591f, 289.4519f, -393.0167f, -198.95575f, -419.009216f);
float4x3 r3 = float4x3(361.59198f, 141.712524f, 25.2562866f, -268.2269f, 106.774658f, 176.744385f, 104.119934f, 144.618591f, 289.4519f, -393.0167f, -198.95575f, -419.009216f);
TestUtils.AreEqual(r3, +a3);
}
[TestCompiler]
public static void float4x3_operator_neg()
{
float4x3 a0 = float4x3(148.461731f, -467.122681f, 132.04718f, 183.522644f, 473.701f, -407.9911f, -54.95877f, -382.9898f, -299.093384f, -383.014069f, 407.709778f, 168.735474f);
float4x3 r0 = float4x3(-148.461731f, 467.122681f, -132.04718f, -183.522644f, -473.701f, 407.9911f, 54.95877f, 382.9898f, 299.093384f, 383.014069f, -407.709778f, -168.735474f);
TestUtils.AreEqual(r0, -a0);
float4x3 a1 = float4x3(466.441528f, -280.558319f, -78.857605f, 318.69635f, -39.9154053f, 140.340027f, 132.195618f, -505.895264f, 410.380554f, -237.056946f, -137.617828f, -245.349976f);
float4x3 r1 = float4x3(-466.441528f, 280.558319f, 78.857605f, -318.69635f, 39.9154053f, -140.340027f, -132.195618f, 505.895264f, -410.380554f, 237.056946f, 137.617828f, 245.349976f);
TestUtils.AreEqual(r1, -a1);
float4x3 a2 = float4x3(422.521362f, 60.22223f, -466.5663f, 426.894531f, 146.649536f, -391.37207f, 423.237732f, 254.297546f, -114.848907f, 108.059692f, -507.9763f, -306.245728f);
float4x3 r2 = float4x3(-422.521362f, -60.22223f, 466.5663f, -426.894531f, -146.649536f, 391.37207f, -423.237732f, -254.297546f, 114.848907f, -108.059692f, 507.9763f, 306.245728f);
TestUtils.AreEqual(r2, -a2);
float4x3 a3 = float4x3(219.66626f, -98.76068f, 492.111084f, 84.04584f, 300.976624f, -483.864624f, -389.15744f, -324.6861f, 378.85437f, 190.219238f, -69.10242f, 507.495361f);
float4x3 r3 = float4x3(-219.66626f, 98.76068f, -492.111084f, -84.04584f, -300.976624f, 483.864624f, 389.15744f, 324.6861f, -378.85437f, -190.219238f, 69.10242f, -507.495361f);
TestUtils.AreEqual(r3, -a3);
}
[TestCompiler]
public static void float4x3_operator_prefix_inc()
{
float4x3 a0 = float4x3(-139.842072f, -56.7436523f, -381.955322f, 509.796326f, -222.896332f, 210.319885f, -392.7315f, -300.1941f, 362.212769f, 401.6148f, 130.90918f, -450.230164f);
float4x3 r0 = float4x3(-138.842072f, -55.7436523f, -380.955322f, 510.796326f, -221.896332f, 211.319885f, -391.7315f, -299.1941f, 363.212769f, 402.6148f, 131.90918f, -449.230164f);
TestUtils.AreEqual(r0, ++a0);
float4x3 a1 = float4x3(243.546936f, -41.4972839f, 299.1855f, 154.356567f, -281.233276f, 200.706f, 92.95776f, 448.602173f, -295.587f, 18.4990845f, -215.711121f, 471.947266f);
float4x3 r1 = float4x3(244.546936f, -40.4972839f, 300.1855f, 155.356567f, -280.233276f, 201.706f, 93.95776f, 449.602173f, -294.587f, 19.4990845f, -214.711121f, 472.947266f);
TestUtils.AreEqual(r1, ++a1);
float4x3 a2 = float4x3(257.0766f, 4.82543945f, 243.004761f, -472.619019f, -125.720215f, -477.459564f, 9.89147949f, -76.92285f, -29.7675781f, -387.177429f, 461.7093f, 13.699707f);
float4x3 r2 = float4x3(258.0766f, 5.82543945f, 244.004761f, -471.619019f, -124.720215f, -476.459564f, 10.8914795f, -75.92285f, -28.7675781f, -386.177429f, 462.7093f, 14.699707f);
TestUtils.AreEqual(r2, ++a2);
float4x3 a3 = float4x3(-46.303772f, -222.2291f, 340.8178f, 399.741272f, -311.372345f, 300.177979f, -272.7783f, 351.019165f, 436.575256f, -137.063324f, 312.579956f, -315.999023f);
float4x3 r3 = float4x3(-45.303772f, -221.2291f, 341.8178f, 400.741272f, -310.372345f, 301.177979f, -271.7783f, 352.019165f, 437.575256f, -136.063324f, 313.579956f, -314.999023f);
TestUtils.AreEqual(r3, ++a3);
}
[TestCompiler]
public static void float4x3_operator_postfix_inc()
{
float4x3 a0 = float4x3(-396.669739f, 511.20752f, 249.111267f, -128.817322f, -259.4903f, 278.008179f, -81.39343f, 66.71973f, 167.852112f, 147.94397f, -326.1076f, 41.03357f);
float4x3 r0 = float4x3(-396.669739f, 511.20752f, 249.111267f, -128.817322f, -259.4903f, 278.008179f, -81.39343f, 66.71973f, 167.852112f, 147.94397f, -326.1076f, 41.03357f);
TestUtils.AreEqual(r0, a0++);
float4x3 a1 = float4x3(128.5304f, -60.1323853f, -446.229767f, -296.937836f, 267.293823f, 446.2293f, 49.2001953f, -326.643127f, -510.864227f, 471.647461f, -171.013092f, 310.727356f);
float4x3 r1 = float4x3(128.5304f, -60.1323853f, -446.229767f, -296.937836f, 267.293823f, 446.2293f, 49.2001953f, -326.643127f, -510.864227f, 471.647461f, -171.013092f, 310.727356f);
TestUtils.AreEqual(r1, a1++);
float4x3 a2 = float4x3(-298.917175f, 184.603455f, 290.69104f, 117.192322f, 164.442932f, 412.3678f, -229.386566f, 239.596924f, 36.62433f, -80.70819f, -391.0335f, -478.227142f);
float4x3 r2 = float4x3(-298.917175f, 184.603455f, 290.69104f, 117.192322f, 164.442932f, 412.3678f, -229.386566f, 239.596924f, 36.62433f, -80.70819f, -391.0335f, -478.227142f);
TestUtils.AreEqual(r2, a2++);
float4x3 a3 = float4x3(166.860474f, -389.396667f, -52.13214f, 35.75531f, 356.052124f, 6.52948f, -285.349823f, 418.016479f, 47.1428833f, 31.4516f, 148.9469f, -219.800385f);
float4x3 r3 = float4x3(166.860474f, -389.396667f, -52.13214f, 35.75531f, 356.052124f, 6.52948f, -285.349823f, 418.016479f, 47.1428833f, 31.4516f, 148.9469f, -219.800385f);
TestUtils.AreEqual(r3, a3++);
}
[TestCompiler]
public static void float4x3_operator_prefix_dec()
{
float4x3 a0 = float4x3(123.128723f, 256.84375f, 156.330811f, 461.737427f, 325.867981f, 392.015625f, 187.874146f, -236.225189f, 125.109619f, 469.844727f, 45.5366821f, 376.046875f);
float4x3 r0 = float4x3(122.128723f, 255.84375f, 155.330811f, 460.737427f, 324.867981f, 391.015625f, 186.874146f, -237.225189f, 124.109619f, 468.844727f, 44.5366821f, 375.046875f);
TestUtils.AreEqual(r0, --a0);
float4x3 a1 = float4x3(-363.0755f, 248.7901f, 168.095032f, 168.265625f, -190.284729f, 166.945557f, 183.957947f, 485.6947f, -460.739319f, 89.5698853f, -267.4298f, 201.756226f);
float4x3 r1 = float4x3(-364.0755f, 247.7901f, 167.095032f, 167.265625f, -191.284729f, 165.945557f, 182.957947f, 484.6947f, -461.739319f, 88.5698853f, -268.4298f, 200.756226f);
TestUtils.AreEqual(r1, --a1);
float4x3 a2 = float4x3(-141.216888f, 197.361755f, -213.544128f, 180.7406f, -128.3125f, 478.045532f, -454.566132f, -386.898346f, 387.857f, -315.110443f, -108.28656f, -286.317017f);
float4x3 r2 = float4x3(-142.216888f, 196.361755f, -214.544128f, 179.7406f, -129.3125f, 477.045532f, -455.566132f, -387.898346f, 386.857f, -316.110443f, -109.28656f, -287.317017f);
TestUtils.AreEqual(r2, --a2);
float4x3 a3 = float4x3(-375.601563f, 78.27545f, 161.531982f, -346.847961f, -57.54077f, 455.372864f, 444.798157f, 129.820129f, 134.710632f, 61.322998f, -274.543335f, -43.39557f);
float4x3 r3 = float4x3(-376.601563f, 77.27545f, 160.531982f, -347.847961f, -58.54077f, 454.372864f, 443.798157f, 128.820129f, 133.710632f, 60.322998f, -275.543335f, -44.39557f);
TestUtils.AreEqual(r3, --a3);
}
[TestCompiler]
public static void float4x3_operator_postfix_dec()
{
float4x3 a0 = float4x3(379.6883f, 302.692871f, -176.07135f, -291.2527f, 470.567566f, -402.925964f, -63.65515f, 355.2611f, -27.8892212f, -100.761841f, 156.14032f, 479.9452f);
float4x3 r0 = float4x3(379.6883f, 302.692871f, -176.07135f, -291.2527f, 470.567566f, -402.925964f, -63.65515f, 355.2611f, -27.8892212f, -100.761841f, 156.14032f, 479.9452f);
TestUtils.AreEqual(r0, a0--);
float4x3 a1 = float4x3(-200.304291f, 407.420349f, 327.670349f, 48.06018f, -209.667969f, -38.43506f, 283.9416f, -94.80209f, 152.510681f, -287.2625f, -215.948029f, -407.046356f);
float4x3 r1 = float4x3(-200.304291f, 407.420349f, 327.670349f, 48.06018f, -209.667969f, -38.43506f, 283.9416f, -94.80209f, 152.510681f, -287.2625f, -215.948029f, -407.046356f);
TestUtils.AreEqual(r1, a1--);
float4x3 a2 = float4x3(159.233582f, 168.41394f, -278.933777f, 289.912842f, 402.039551f, 470.716553f, -208.560608f, 145.896729f, -296.790955f, -274.570831f, -250.04126f, -70.85629f);
float4x3 r2 = float4x3(159.233582f, 168.41394f, -278.933777f, 289.912842f, 402.039551f, 470.716553f, -208.560608f, 145.896729f, -296.790955f, -274.570831f, -250.04126f, -70.85629f);
TestUtils.AreEqual(r2, a2--);
float4x3 a3 = float4x3(-485.627838f, -503.192078f, 397.648621f, 446.621582f, -292.81012f, 126.6225f, -250.442413f, 470.816467f, 26.9436035f, -186.923523f, 45.7460938f, -206.455963f);
float4x3 r3 = float4x3(-485.627838f, -503.192078f, 397.648621f, 446.621582f, -292.81012f, 126.6225f, -250.442413f, 470.816467f, 26.9436035f, -186.923523f, 45.7460938f, -206.455963f);
TestUtils.AreEqual(r3, a3--);
}
}
}

View File

@@ -0,0 +1,974 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using NUnit.Framework;
using static Unity.Mathematics.math;
using Burst.Compiler.IL.Tests;
namespace Unity.Mathematics.Tests
{
[TestFixture]
public class TestFloat4x4
{
[TestCompiler]
public static void float4x4_zero()
{
TestUtils.AreEqual(0.0f, float4x4.zero.c0.x);
TestUtils.AreEqual(0.0f, float4x4.zero.c0.y);
TestUtils.AreEqual(0.0f, float4x4.zero.c0.z);
TestUtils.AreEqual(0.0f, float4x4.zero.c0.w);
TestUtils.AreEqual(0.0f, float4x4.zero.c1.x);
TestUtils.AreEqual(0.0f, float4x4.zero.c1.y);
TestUtils.AreEqual(0.0f, float4x4.zero.c1.z);
TestUtils.AreEqual(0.0f, float4x4.zero.c1.w);
TestUtils.AreEqual(0.0f, float4x4.zero.c2.x);
TestUtils.AreEqual(0.0f, float4x4.zero.c2.y);
TestUtils.AreEqual(0.0f, float4x4.zero.c2.z);
TestUtils.AreEqual(0.0f, float4x4.zero.c2.w);
TestUtils.AreEqual(0.0f, float4x4.zero.c3.x);
TestUtils.AreEqual(0.0f, float4x4.zero.c3.y);
TestUtils.AreEqual(0.0f, float4x4.zero.c3.z);
TestUtils.AreEqual(0.0f, float4x4.zero.c3.w);
}
[TestCompiler]
public static void float4x4_identity()
{
TestUtils.AreEqual(1.0f, float4x4.identity.c0.x);
TestUtils.AreEqual(0.0f, float4x4.identity.c0.y);
TestUtils.AreEqual(0.0f, float4x4.identity.c0.z);
TestUtils.AreEqual(0.0f, float4x4.identity.c0.w);
TestUtils.AreEqual(0.0f, float4x4.identity.c1.x);
TestUtils.AreEqual(1.0f, float4x4.identity.c1.y);
TestUtils.AreEqual(0.0f, float4x4.identity.c1.z);
TestUtils.AreEqual(0.0f, float4x4.identity.c1.w);
TestUtils.AreEqual(0.0f, float4x4.identity.c2.x);
TestUtils.AreEqual(0.0f, float4x4.identity.c2.y);
TestUtils.AreEqual(1.0f, float4x4.identity.c2.z);
TestUtils.AreEqual(0.0f, float4x4.identity.c2.w);
TestUtils.AreEqual(0.0f, float4x4.identity.c3.x);
TestUtils.AreEqual(0.0f, float4x4.identity.c3.y);
TestUtils.AreEqual(0.0f, float4x4.identity.c3.z);
TestUtils.AreEqual(1.0f, float4x4.identity.c3.w);
}
[TestCompiler]
public static void float4x4_operator_equal_wide_wide()
{
float4x4 a0 = float4x4(492.1576f, -495.206329f, 227.457642f, -147.374054f, -222.682f, 64.09375f, -23.8904114f, -16.8197327f, 163.232117f, -165.271f, 470.8777f, -423.942566f, 109.6344f, 462.6903f, -335.38147f, 357.2345f);
float4x4 b0 = float4x4(192.568787f, -235.611023f, -254.043121f, -412.624725f, 471.9048f, -6.47277832f, -339.102356f, 488.187561f, -379.5966f, -308.417f, -82.333374f, -102.921082f, 226.515747f, -356.9013f, -362.912781f, -427.898438f);
bool4x4 r0 = bool4x4(false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
float4x4 a1 = float4x4(1.54559326f, -347.388245f, -114.472168f, 435.848633f, 194.2381f, 138.765564f, -467.349152f, 370.43335f, 476.708252f, 320.552673f, -498.59198f, 92.41693f, 104.511353f, 166.754578f, -204.733429f, 434.756775f);
float4x4 b1 = float4x4(466.650146f, -102.799042f, -43.355957f, 85.0456543f, -91.1270447f, 422.192078f, -477.4313f, 1.87701416f, 312.580078f, 254.599365f, 352.72583f, 62.4909668f, 119.714783f, -511.058075f, -302.472717f, -371.769226f);
bool4x4 r1 = bool4x4(false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
float4x4 a2 = float4x4(-397.329651f, 503.981628f, -503.7141f, 90.65973f, -303.445251f, 9.34491f, 290.901062f, -147.57193f, 368.082336f, -321.6096f, -171.465424f, -441.306458f, -137.766815f, 304.689575f, 301.889465f, -222.220917f);
float4x4 b2 = float4x4(-20.007843f, 21.4594727f, -426.0207f, -305.411926f, 261.68335f, 50.00476f, -334.134644f, 75.0656738f, -51.186676f, -135.961548f, -409.364868f, 160.819763f, 102.120789f, 277.813049f, 434.906738f, -15.2891846f);
bool4x4 r2 = bool4x4(false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
float4x4 a3 = float4x4(-13.88382f, 307.521729f, -469.412933f, -6.40887451f, -290.079651f, 46.0445557f, -168.61908f, 283.5899f, -244.713287f, -367.140442f, -492.863129f, 311.696167f, -90.7013855f, -352.773743f, -218.710266f, -95.30136f);
float4x4 b3 = float4x4(-1.46521f, 64.65869f, -163.0261f, 390.728943f, 113.9646f, -248.2753f, -469.587769f, -73.35397f, -420.311066f, 358.453247f, 58.7183228f, -499.964783f, -168.8381f, -93.83493f, 324.84668f, -226.35199f);
bool4x4 r3 = bool4x4(false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void float4x4_operator_equal_wide_scalar()
{
float4x4 a0 = float4x4(-303.230072f, 451.5263f, -253.655884f, -105.203644f, -500.6911f, -426.192474f, 159.8761f, -59.55838f, -57.4773865f, -182.049744f, 406.513733f, 370.886f, -172.035309f, 455.400024f, -11.3389893f, 363.938232f);
float b0 = (123.544556f);
bool4x4 r0 = bool4x4(false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
float4x4 a1 = float4x4(-27.1505737f, -290.359039f, 180.196838f, -374.128326f, -439.358948f, -126.546082f, -197.26178f, -227.159332f, -479.8992f, -439.777679f, -495.237335f, -224.517059f, -422.833221f, -450.196259f, -20.10672f, 297.38f);
float b1 = (-325.976074f);
bool4x4 r1 = bool4x4(false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
float4x4 a2 = float4x4(185.966553f, -220.597046f, -228.686859f, -333.001282f, 434.213f, 406.248718f, -239.869781f, 380.93927f, 90.34949f, -361.327942f, -453.599945f, 157.732483f, -491.0462f, 296.614258f, 482.265137f, -305.876984f);
float b2 = (-102.975983f);
bool4x4 r2 = bool4x4(false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
float4x4 a3 = float4x4(-290.1021f, -110.528351f, 496.8636f, -441.101746f, 50.9035034f, 66.07239f, 455.6059f, -390.0443f, 491.20813f, -498.4148f, 143.113464f, -347.041321f, -146.644165f, -243.853455f, -85.37955f, -438.494019f);
float b3 = (115.246521f);
bool4x4 r3 = bool4x4(false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void float4x4_operator_equal_scalar_wide()
{
float a0 = (-253.397278f);
float4x4 b0 = float4x4(19.95221f, -185.791992f, 407.8136f, -87.2767f, -206.274689f, 160.503113f, -274.7708f, -2.63153076f, 448.354553f, -410.035248f, 247.329041f, 355.539124f, -298.0667f, 414.1015f, -481.3026f, 196.55072f);
bool4x4 r0 = bool4x4(false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 == b0);
float a1 = (34.6010132f);
float4x4 b1 = float4x4(113.7616f, -386.453369f, -124.49176f, 243.886658f, -492.6182f, 145.424438f, 421.55072f, -95.40997f, 336.809265f, 209.5838f, 487.4414f, 161.806519f, 149.842468f, 225.724f, -71.21881f, 85.78027f);
bool4x4 r1 = bool4x4(false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 == b1);
float a2 = (192.547241f);
float4x4 b2 = float4x4(-49.88748f, -229.801971f, -103.407349f, 19.21576f, 492.8811f, 140.403137f, -267.536438f, 125.972717f, 478.0005f, 116.144592f, -368.957764f, -225.028656f, 2.723755f, -452.2632f, 87.45654f, 401.306519f);
bool4x4 r2 = bool4x4(false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r2, a2 == b2);
float a3 = (-18.6455383f);
float4x4 b3 = float4x4(-294.214f, -32.7313538f, -1.25234985f, 14.7160645f, 0.570373535f, 180.783569f, 498.262878f, -503.8667f, -31.0839844f, 462.9193f, -250.21225f, 347.561951f, -213.487946f, -123.759247f, -193.452179f, -242.241089f);
bool4x4 r3 = bool4x4(false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 == b3);
}
[TestCompiler]
public static void float4x4_operator_not_equal_wide_wide()
{
float4x4 a0 = float4x4(430.842529f, 104.69f, 225.802429f, -310.5702f, -418.619446f, 304.128174f, -509.3268f, -160.538086f, -203.301971f, -505.763245f, 162.17218f, 1.156189f, 65.66205f, 102.787781f, 172.930054f, 26.6210327f);
float4x4 b0 = float4x4(210.024719f, -55.20334f, -269.925354f, -234.546722f, 25.91742f, -63.72699f, -484.5537f, -425.3336f, -53.2743835f, 328.1944f, 15.9631348f, 461.7141f, -113.363037f, -240.072968f, 495.119141f, 203.55835f);
bool4x4 r0 = bool4x4(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
float4x4 a1 = float4x4(235.125977f, 128.541992f, -354.996979f, 334.3595f, -495.832f, 468.307373f, 458.370972f, 299.937317f, 43.1271973f, -354.7135f, -145.2872f, 390.80188f, -303.13147f, 391.134583f, 139.286865f, 104.523193f);
float4x4 b1 = float4x4(340.493469f, -241.9072f, 459.569824f, 213.07373f, -384.782837f, -255.072327f, 477.663452f, -248.036621f, -407.923462f, -199.788879f, 151.843262f, -97.1206055f, 154.975891f, -172.834534f, 441.5028f, -401.738617f);
bool4x4 r1 = bool4x4(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
float4x4 a2 = float4x4(511.2964f, 213.147034f, -101.0957f, 441.6634f, 124.36615f, 312.026428f, 59.65576f, -508.65683f, 98.699646f, 228.799866f, 337.832642f, -163.154449f, 461.6916f, -450.7757f, -443.564758f, -438.213135f);
float4x4 b2 = float4x4(-411.430176f, -337.820282f, -430.6309f, -150.8718f, -206.837f, 34.95508f, -255.771454f, 99.99866f, -161.175568f, 68.8535156f, -285.590118f, -428.717316f, -286.3374f, 2.02709961f, -4.80599976f, -425.3348f);
bool4x4 r2 = bool4x4(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
float4x4 a3 = float4x4(22.69397f, -254.368744f, -247.483612f, 365.059082f, -337.586823f, 187.845032f, 351.816833f, 355.223633f, 151.63269f, 240.465881f, -299.297058f, -227.571289f, 263.7243f, -287.511871f, -491.855164f, -219.307037f);
float4x4 b3 = float4x4(358.046021f, 357.8011f, 125.757629f, -38.2419434f, 308.158325f, -450.4502f, -156.1532f, 464.639954f, -220.864044f, -211.537567f, -476.330353f, 284.886536f, 129.86438f, -326.7583f, -72.36374f, -382.827881f);
bool4x4 r3 = bool4x4(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void float4x4_operator_not_equal_wide_scalar()
{
float4x4 a0 = float4x4(-16.9145813f, 168.8341f, -462.713531f, 130.307739f, 214.501587f, -440.263275f, -197.12796f, -169.099854f, -386.611176f, -281.021f, -270.26886f, -403.9637f, -269.805725f, 299.654236f, -71.7509155f, -432.755737f);
float b0 = (-145.372772f);
bool4x4 r0 = bool4x4(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
float4x4 a1 = float4x4(-457.363129f, 273.873047f, 185.04248f, -482.5307f, 116.395142f, 511.735f, 230.5075f, 100.27478f, 129.682434f, 321.178772f, -220.639f, 140.3352f, 369.212341f, 453.811218f, -333.66626f, -373.937744f);
float b1 = (-13.5195923f);
bool4x4 r1 = bool4x4(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
float4x4 a2 = float4x4(150.204285f, 372.32f, -95.83798f, 495.5667f, -5.3855896f, -210.502991f, -459.612732f, 243.309082f, 314.102173f, 96.7449951f, -168.161926f, -71.90546f, 216.608459f, -377.3738f, 142.35498f, -432.272552f);
float b2 = (-442.164764f);
bool4x4 r2 = bool4x4(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
float4x4 a3 = float4x4(94.29083f, 337.810547f, -197.6615f, -46.38388f, 250.232056f, 169.099182f, -181.221069f, -481.967f, -427.1808f, -249.442078f, -488.488953f, 202.564941f, -243.823547f, -222.832214f, -448.6026f, 481.974f);
float b3 = (331.653381f);
bool4x4 r3 = bool4x4(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void float4x4_operator_not_equal_scalar_wide()
{
float a0 = (275.795837f);
float4x4 b0 = float4x4(-57.1969f, -382.432526f, 97.82037f, -161.463654f, -458.39563f, -499.617859f, 327.92218f, 367.571228f, 59.786377f, -209.580688f, -62.5804443f, -479.974976f, -49.4945068f, -114.685211f, 109.93927f, -176.284821f);
bool4x4 r0 = bool4x4(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 != b0);
float a1 = (-347.4853f);
float4x4 b1 = float4x4(85.5409546f, -356.659546f, -104.243561f, -133.5492f, 243.539734f, 13.1412964f, -379.985962f, -41.28122f, 87.91168f, -339.077271f, -371.820343f, 333.1443f, 294.811951f, -187.14566f, 220.192261f, -228.182068f);
bool4x4 r1 = bool4x4(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 != b1);
float a2 = (-499.723724f);
float4x4 b2 = float4x4(97.40588f, 501.60437f, 459.6754f, 158.098145f, 358.4886f, 243.512573f, 336.702942f, 89.953125f, -65.57837f, -159.260162f, 410.588562f, 123.963013f, -239.625122f, -299.42984f, -491.2919f, 207.71167f);
bool4x4 r2 = bool4x4(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 != b2);
float a3 = (271.5655f);
float4x4 b3 = float4x4(-329.03772f, 461.0074f, -317.160522f, -102.655f, 211.263367f, 116.426147f, -34.1936951f, 391.817566f, -34.307312f, 351.4594f, 187.742554f, -477.573059f, 276.974426f, 489.565f, 229.2273f, 260.2071f);
bool4x4 r3 = bool4x4(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 != b3);
}
[TestCompiler]
public static void float4x4_operator_less_wide_wide()
{
float4x4 a0 = float4x4(196.84259f, 336.4098f, 251.963745f, 257.655945f, 430.0459f, -62.4196472f, 8.839233f, -333.8167f, 164.678833f, -350.9449f, 3.84143066f, 125.409729f, -111.129944f, 70.00549f, 448.1983f, -419.987122f);
float4x4 b0 = float4x4(-465.345032f, -256.1524f, -314.814026f, 364.5667f, 100.21051f, 182.560974f, 3.11700439f, -259.430481f, -437.3349f, -456.043732f, -394.255981f, 401.9137f, 313.439148f, 121.286682f, -28.0122986f, -282.965881f);
bool4x4 r0 = bool4x4(false, false, false, true, false, true, false, true, false, false, false, true, true, true, false, true);
TestUtils.AreEqual(r0, a0 < b0);
float4x4 a1 = float4x4(-258.301666f, -34.8322144f, -69.8594055f, 67.76721f, -139.777283f, 385.434631f, 133.7074f, 506.188354f, 34.44287f, 412.1137f, -84.8097839f, 444.785339f, -78.75473f, 366.977539f, 127.180481f, 428.368469f);
float4x4 b1 = float4x4(330.0644f, 124.099365f, -183.6903f, 373.0608f, 109.750916f, -203.57135f, 45.64868f, -360.952271f, 211.913086f, -313.286377f, -259.661072f, 79.09851f, 446.4961f, 450.524536f, -375.630768f, -53.9418335f);
bool4x4 r1 = bool4x4(true, true, false, true, true, false, false, false, true, false, false, false, true, true, false, false);
TestUtils.AreEqual(r1, a1 < b1);
float4x4 a2 = float4x4(8.197632f, -71.13736f, -474.0508f, 322.4289f, 6.897888f, 195.733582f, -267.6906f, -243.7937f, 319.2508f, -425.1562f, 71.87396f, 313.843872f, 397.279053f, -309.145874f, -38.6678467f, -266.1197f);
float4x4 b2 = float4x4(-291.453735f, 190.774841f, 54.0839233f, -163.63089f, -212.005646f, 406.0905f, -183.018951f, 355.221375f, -81.0422058f, -275.7148f, 405.299255f, -510.6406f, 398.069275f, -4.35549927f, 129.242676f, -276.146545f);
bool4x4 r2 = bool4x4(false, true, true, false, false, true, true, true, false, true, true, false, true, true, true, false);
TestUtils.AreEqual(r2, a2 < b2);
float4x4 a3 = float4x4(193.3825f, 300.231018f, -395.214f, -398.901428f, 401.4842f, 191.8158f, 56.6053467f, -165.210846f, 178.2898f, -380.726257f, -462.474548f, 386.1842f, -93.29764f, 305.4958f, -148.7702f, 387.037f);
float4x4 b3 = float4x4(-72.6235352f, -86.83887f, -196.586456f, 492.358948f, 63.74463f, -384.804138f, -473.305145f, -407.7358f, -500.243866f, -303.777344f, 192.083252f, 114.898376f, -72.4967651f, -360.120056f, -185.215576f, 389.6552f);
bool4x4 r3 = bool4x4(false, false, true, true, false, false, false, false, false, true, true, false, true, false, false, true);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void float4x4_operator_less_wide_scalar()
{
float4x4 a0 = float4x4(-132.057312f, -192.465f, -66.8345947f, -379.017517f, -360.2824f, 20.9278564f, -158.240753f, 437.3459f, -20.4526062f, 225.2915f, 307.4842f, 274.015259f, 373.549683f, 398.523682f, 105.030151f, -58.0108948f);
float b0 = (-156.010223f);
bool4x4 r0 = bool4x4(false, true, false, true, true, false, true, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 < b0);
float4x4 a1 = float4x4(109.670105f, -44.9712524f, 140.426086f, -500.0883f, 172.103333f, -197.500732f, -7.271515f, -432.9905f, 62.1583252f, -72.25473f, -377.852325f, -500.255737f, 149.11499f, 119.880615f, 202.63916f, 274.950684f);
float b1 = (-108.85318f);
bool4x4 r1 = bool4x4(false, false, false, true, false, true, false, true, false, false, true, true, false, false, false, false);
TestUtils.AreEqual(r1, a1 < b1);
float4x4 a2 = float4x4(66.41205f, -149.6358f, 223.758728f, 73.2668457f, 213.094971f, 322.8595f, 418.3772f, 421.103577f, -187.16684f, 389.109436f, 401.335449f, -106.285065f, 380.607971f, 385.652832f, 120.659851f, -13.8308716f);
float b2 = (274.999451f);
bool4x4 r2 = bool4x4(true, true, true, true, true, false, false, false, true, false, false, true, false, false, true, true);
TestUtils.AreEqual(r2, a2 < b2);
float4x4 a3 = float4x4(-500.1271f, 431.943665f, 129.688965f, -143.969055f, 183.886414f, -506.964264f, 452.4369f, -458.027f, 89.5592651f, -418.817444f, -292.388428f, 425.601624f, 342.432434f, -406.589142f, -407.155f, 511.064575f);
float b3 = (487.528259f);
bool4x4 r3 = bool4x4(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, false);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void float4x4_operator_less_scalar_wide()
{
float a0 = (-423.1174f);
float4x4 b0 = float4x4(385.094849f, -123.933472f, 86.37659f, 133.4422f, 161.457947f, 229.754272f, 222.5716f, 315.5312f, -447.203522f, 271.833862f, -393.605316f, 317.486877f, -164.6051f, -282.876038f, 296.979553f, -254.401154f);
bool4x4 r0 = bool4x4(true, true, true, true, true, true, true, true, false, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 < b0);
float a1 = (365.6156f);
float4x4 b1 = float4x4(-441.984253f, -131.42865f, 442.628967f, -29.7928467f, -138.37381f, 9.21698f, -226.73056f, 171.029419f, 376.625244f, -462.5887f, -142.36731f, -456.253784f, 66.61023f, 169.378784f, 327.4444f, 64.08795f);
bool4x4 r1 = bool4x4(false, false, true, false, false, false, false, false, true, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 < b1);
float a2 = (-153.5039f);
float4x4 b2 = float4x4(199.380127f, -244.969055f, 472.743835f, -363.7801f, -179.487518f, -83.42514f, 178.886475f, 62.15576f, 409.746765f, -117.163666f, 316.601685f, 285.5163f, 18.6745f, 282.5293f, 132.923767f, -318.215332f);
bool4x4 r2 = bool4x4(true, false, true, false, false, true, true, true, true, true, true, true, true, true, true, false);
TestUtils.AreEqual(r2, a2 < b2);
float a3 = (314.8399f);
float4x4 b3 = float4x4(78.00372f, 116.839478f, -134.375641f, 118.675415f, 11.4686279f, 378.849548f, -198.892883f, 474.41272f, 296.8327f, 180.343018f, -147.0611f, 259.7849f, -1.81375122f, -409.5449f, -209.049713f, -258.601f);
bool4x4 r3 = bool4x4(false, false, false, false, false, true, false, true, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 < b3);
}
[TestCompiler]
public static void float4x4_operator_greater_wide_wide()
{
float4x4 a0 = float4x4(483.5014f, 310.8156f, 106.966187f, 295.7353f, 116.957581f, -478.299774f, -14.8974f, -33.8174438f, -24.74054f, 319.782654f, -120.158569f, -289.008575f, 455.85144f, 144.706909f, 63.9320068f, -285.683044f);
float4x4 b0 = float4x4(-471.398f, -371.9853f, 36.9006958f, -316.7636f, 19.6830444f, 207.309143f, 362.7975f, 324.95343f, 340.948059f, 25.9860229f, -114.211121f, 240.803467f, 273.422424f, 325.515747f, 27.3410645f, 64.47955f);
bool4x4 r0 = bool4x4(true, true, true, true, true, false, false, false, false, true, false, false, true, false, true, false);
TestUtils.AreEqual(r0, a0 > b0);
float4x4 a1 = float4x4(-502.090729f, -337.194458f, 474.317322f, -507.1451f, -133.565582f, -443.109131f, -464.34137f, -68.36154f, -185.993011f, -157.8039f, -74.12424f, -94.47116f, 329.610535f, -315.836731f, 404.1938f, 131.304382f);
float4x4 b1 = float4x4(200.948364f, 100.122681f, -79.00711f, -315.137939f, -122.985443f, -163.7792f, -492.566f, -90.79727f, -284.901245f, -23.6536865f, 174.93f, 85.7125244f, -441.987823f, 345.543762f, 482.219482f, -422.383484f);
bool4x4 r1 = bool4x4(false, false, true, false, false, false, true, true, true, false, false, false, true, false, false, true);
TestUtils.AreEqual(r1, a1 > b1);
float4x4 a2 = float4x4(-206.633911f, 197.399841f, 187.991943f, 362.636047f, 336.0932f, -352.448364f, -183.10199f, 193.144836f, -170.216f, -0.491241455f, -326.855042f, -373.39624f, -216.580475f, 282.5121f, -275.170349f, -207.331757f);
float4x4 b2 = float4x4(-30.7792969f, 296.154236f, 378.059875f, -457.733429f, 122.920593f, -509.173126f, 386.77063f, 436.41748f, -276.495819f, -163.166779f, 249.970642f, -165.020752f, 89.09302f, 404.305176f, -340.688843f, -103.785095f);
bool4x4 r2 = bool4x4(false, false, false, true, true, true, false, false, true, true, false, false, false, false, true, false);
TestUtils.AreEqual(r2, a2 > b2);
float4x4 a3 = float4x4(257.710144f, -469.1453f, -177.965851f, 233.210754f, -135.537323f, 152.253113f, 15.378418f, -243.185455f, -123.13266f, 3.75976563f, -29.2892761f, 416.471558f, -169.383057f, 0.7346802f, -416.4522f, 329.4369f);
float4x4 b3 = float4x4(491.274353f, 78.43793f, 147.484192f, -52.052887f, -212.070465f, 314.9552f, -97.2980347f, 454.8399f, -240.254211f, 168.689636f, -217.528809f, 55.3954468f, -149.5794f, -413.101044f, 470.330933f, 164.782043f);
bool4x4 r3 = bool4x4(false, false, false, true, true, false, true, false, true, false, true, true, false, true, false, true);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void float4x4_operator_greater_wide_scalar()
{
float4x4 a0 = float4x4(64.31793f, -397.703461f, 431.8769f, 85.703f, 246.263062f, 197.491577f, 286.199463f, 280.813354f, -405.7846f, 171.565369f, -241.807281f, 333.5782f, 370.279175f, -413.7014f, -356.592346f, -353.0313f);
float b0 = (305.859924f);
bool4x4 r0 = bool4x4(false, false, true, false, false, false, false, false, false, false, false, true, true, false, false, false);
TestUtils.AreEqual(r0, a0 > b0);
float4x4 a1 = float4x4(396.645325f, -240.013428f, 502.915039f, 315.4676f, -259.2897f, 281.230652f, 428.792175f, 245.153076f, -279.1754f, -453.8631f, -124.771545f, -425.652924f, 99.13287f, 355.060547f, -456.439423f, 154.489014f);
float b1 = (467.222046f);
bool4x4 r1 = bool4x4(false, false, true, false, false, false, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 > b1);
float4x4 a2 = float4x4(405.529724f, 186.0863f, 249.999084f, -110.096924f, -435.3045f, 72.7520142f, -254.346558f, -428.987946f, 255.373657f, -309.1123f, 185.501587f, -201.334167f, 23.321167f, -143.9761f, -111.77951f, -356.656616f);
float b2 = (-157.7338f);
bool4x4 r2 = bool4x4(true, true, true, true, false, true, false, false, true, false, true, false, true, true, true, false);
TestUtils.AreEqual(r2, a2 > b2);
float4x4 a3 = float4x4(-318.313568f, 490.187134f, -305.578979f, 260.850342f, 53.1495972f, -166.934113f, -508.915283f, 352.549927f, 13.4384766f, 139.354675f, -101.028992f, 194.466309f, 7.08258057f, 328.504883f, -297.367859f, -332.910828f);
float b3 = (287.207642f);
bool4x4 r3 = bool4x4(false, true, false, false, false, false, false, true, false, false, false, false, false, true, false, false);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void float4x4_operator_greater_scalar_wide()
{
float a0 = (-282.6705f);
float4x4 b0 = float4x4(358.099976f, -72.596405f, -232.163788f, -60.7067261f, 75.15662f, 150.883484f, 339.539185f, -498.196045f, 459.7461f, -227.968719f, 335.862122f, 76.17883f, 296.859924f, 177.48999f, -281.2012f, 244.722839f);
bool4x4 r0 = bool4x4(false, false, false, false, false, false, false, true, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r0, a0 > b0);
float a1 = (137.328552f);
float4x4 b1 = float4x4(-385.338257f, 443.163452f, -353.562561f, 26.04065f, -331.793945f, -43.6919556f, 20.9494019f, -211.17984f, 227.421692f, -84.7797852f, -375.1355f, -205.178131f, -197.04715f, -219.634033f, -210.015625f, -266.7737f);
bool4x4 r1 = bool4x4(true, false, true, true, true, true, true, true, false, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 > b1);
float a2 = (144.7785f);
float4x4 b2 = float4x4(-471.7112f, -155.913177f, 99.72473f, -230.944855f, -338.8689f, 334.068237f, -158.660858f, -315.018219f, -177.19281f, 171.95929f, 198.38916f, 303.678345f, 400.6996f, 351.878662f, -31.7696533f, 386.0733f);
bool4x4 r2 = bool4x4(true, true, true, true, true, false, true, true, true, false, false, false, false, false, true, false);
TestUtils.AreEqual(r2, a2 > b2);
float a3 = (-360.348877f);
float4x4 b3 = float4x4(-499.8237f, 428.290344f, 425.8302f, 203.288818f, 177.893921f, 483.09552f, 258.88678f, -361.5269f, 359.734924f, -276.336731f, 202.674683f, 218.982117f, 144.793274f, 503.665283f, 33.8777466f, -169.047455f);
bool4x4 r3 = bool4x4(true, false, false, false, false, false, false, true, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 > b3);
}
[TestCompiler]
public static void float4x4_operator_less_equal_wide_wide()
{
float4x4 a0 = float4x4(-438.523132f, 210.489441f, 4.87731934f, -137.297943f, 156.094116f, -363.924133f, -97.94849f, 437.2954f, 458.530273f, -294.064758f, 23.62262f, -34.2840576f, 149.736511f, -418.8867f, -197.502533f, -88.2055054f);
float4x4 b0 = float4x4(-474.814148f, 304.371033f, 234.824158f, -390.485443f, -297.175354f, -326.2924f, 107.253906f, -413.131073f, 67.09442f, 470.075256f, -84.499115f, 392.784241f, -263.531738f, 369.3009f, -333.3253f, 238.413452f);
bool4x4 r0 = bool4x4(false, true, true, false, false, true, true, false, false, true, false, true, false, true, false, true);
TestUtils.AreEqual(r0, a0 <= b0);
float4x4 a1 = float4x4(-376.71814f, 341.627136f, -83.30917f, -107.490723f, 319.466858f, 205.357361f, 345.563721f, 395.3219f, -222.874146f, 439.022034f, -368.075562f, -200.0386f, 71.46991f, -357.365417f, 141.710876f, 319.0171f);
float4x4 b1 = float4x4(486.2426f, 279.6502f, 236.052f, 132.758972f, 66.29474f, 183.002136f, 200.130554f, 339.043823f, 438.5379f, 145.401855f, 178.163086f, 157.975952f, 329.7052f, -243.590912f, 5.401184f, -22.5805969f);
bool4x4 r1 = bool4x4(true, false, true, true, false, false, false, false, true, false, true, true, true, true, false, false);
TestUtils.AreEqual(r1, a1 <= b1);
float4x4 a2 = float4x4(303.030151f, -461.574249f, 277.62677f, 182.1781f, -337.414856f, -361.391663f, 222.1435f, -464.7795f, -146.853668f, 80.17505f, -260.3473f, 94.48901f, 174.281189f, -303.8197f, 81.41742f, 503.048157f);
float4x4 b2 = float4x4(-90.3375854f, -72.19107f, -354.354828f, -289.521729f, 85.17627f, 469.327881f, 294.7138f, 461.605957f, -245.930481f, -124.040436f, 278.392639f, -42.8812561f, -328.348816f, 98.9855957f, -375.899841f, -197.934265f);
bool4x4 r2 = bool4x4(false, true, false, false, true, true, true, true, false, false, true, false, false, true, false, false);
TestUtils.AreEqual(r2, a2 <= b2);
float4x4 a3 = float4x4(259.2776f, 391.971924f, 149.704773f, -450.582947f, -255.6402f, -29.1832886f, 27.5547485f, 447.832458f, 282.48468f, 415.262756f, 437.226135f, -274.2333f, 327.17334f, 265.5277f, 461.464844f, 141.060852f);
float4x4 b3 = float4x4(-284.062f, -76.09866f, -44.487f, -380.519348f, 216.543762f, 58.74817f, -157.366516f, 288.756042f, -306.971375f, -124.358673f, -68.9424438f, -487.362457f, 93.30701f, 93.9755859f, -428.8075f, -473.515f);
bool4x4 r3 = bool4x4(false, false, false, true, true, true, false, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void float4x4_operator_less_equal_wide_scalar()
{
float4x4 a0 = float4x4(193.49585f, 168.915527f, -313.993073f, 81.8269653f, 18.5036011f, -0.3581848f, 241.361145f, -463.8164f, -1.35775757f, -268.899475f, 398.991943f, -471.253082f, -264.9378f, 82.2583f, 11.2460327f, 424.704041f);
float b0 = (443.850525f);
bool4x4 r0 = bool4x4(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 <= b0);
float4x4 a1 = float4x4(426.482239f, -196.2879f, 31.9011841f, -152.257568f, -437.926453f, -37.1048279f, -47.1442261f, 333.623047f, -274.8039f, 358.67627f, -260.460571f, 192.309143f, 145.306091f, -466.132965f, -494.267334f, -111.570129f);
float b1 = (56.3200073f);
bool4x4 r1 = bool4x4(false, true, true, true, true, true, true, false, true, false, true, false, false, true, true, true);
TestUtils.AreEqual(r1, a1 <= b1);
float4x4 a2 = float4x4(-139.5412f, 33.98401f, -445.704468f, -451.0422f, -122.039276f, 83.3277f, -202.465515f, -76.56488f, 218.032776f, -103.53595f, -283.358429f, -374.761658f, -213.49588f, 477.491821f, -383.370056f, 23.9649658f);
float b2 = (-146.589355f);
bool4x4 r2 = bool4x4(false, false, true, true, false, false, true, false, false, false, true, true, true, false, true, false);
TestUtils.AreEqual(r2, a2 <= b2);
float4x4 a3 = float4x4(-5.960785f, 164.991455f, -117.631805f, -166.246613f, 369.776978f, -305.9796f, 245.151123f, 260.203918f, -218.692535f, 152.965515f, -10.1782837f, -144.12558f, 365.336182f, -314.766479f, 381.259277f, 152.317078f);
float b3 = (-283.961731f);
bool4x4 r3 = bool4x4(false, false, false, false, false, true, false, false, false, false, false, false, false, true, false, false);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void float4x4_operator_less_equal_scalar_wide()
{
float a0 = (393.606262f);
float4x4 b0 = float4x4(-75.6883545f, -44.2638855f, 125.864929f, 191.9649f, 13.54303f, -197.051941f, -423.9451f, -330.0486f, 420.165527f, 105.5473f, 174.821289f, 296.7176f, -469.7004f, 123.267212f, 112.996948f, 495.143372f);
bool4x4 r0 = bool4x4(false, false, false, false, false, false, false, false, true, false, false, false, false, false, false, true);
TestUtils.AreEqual(r0, a0 <= b0);
float a1 = (-488.6579f);
float4x4 b1 = float4x4(388.539429f, -493.240784f, 16.45105f, -387.651642f, -229.1773f, -373.01532f, -391.142151f, 90.99414f, -178.396149f, -69.62106f, 471.790833f, -67.46677f, 45.30536f, -154.6922f, 385.7389f, -431.652954f);
bool4x4 r1 = bool4x4(true, false, true, true, true, true, true, true, true, true, true, true, true, true, true, true);
TestUtils.AreEqual(r1, a1 <= b1);
float a2 = (-331.673035f);
float4x4 b2 = float4x4(-349.8927f, -114.839142f, -245.217834f, -486.6955f, 391.950928f, -125.770538f, -229.812286f, 289.449036f, -200.494232f, 281.5927f, 99.90106f, -146.027435f, 124.148376f, 94.3569946f, 93.920105f, -484.924133f);
bool4x4 r2 = bool4x4(false, true, true, false, true, true, true, true, true, true, true, true, true, true, true, false);
TestUtils.AreEqual(r2, a2 <= b2);
float a3 = (-270.796875f);
float4x4 b3 = float4x4(-313.374084f, 252.967834f, -302.899719f, 269.257874f, -358.511047f, -183.248535f, 5.00708f, -411.029266f, -320.0608f, 384.569153f, -383.735962f, 249.418152f, -137.139832f, -251.7605f, 301.0824f, 216.370544f);
bool4x4 r3 = bool4x4(false, true, false, true, false, true, true, false, false, true, false, true, true, true, true, true);
TestUtils.AreEqual(r3, a3 <= b3);
}
[TestCompiler]
public static void float4x4_operator_greater_equal_wide_wide()
{
float4x4 a0 = float4x4(-507.9286f, 504.4975f, -385.4345f, -262.323425f, -37.5509338f, -111.595276f, -463.702026f, 387.448853f, 456.9688f, -211.010162f, 182.411377f, -53.59604f, -309.570221f, -136.022491f, 280.736267f, -96.99588f);
float4x4 b0 = float4x4(-81.3465f, 297.666138f, 171.06543f, -431.038055f, -6.85907f, 319.7257f, 254.079163f, 396.5724f, 178.8393f, -447.063354f, 288.492676f, 474.889282f, -321.750244f, -395.977234f, -158.692474f, 391.4887f);
bool4x4 r0 = bool4x4(false, true, false, true, false, false, false, false, true, true, false, false, true, true, true, false);
TestUtils.AreEqual(r0, a0 >= b0);
float4x4 a1 = float4x4(-174.059509f, 88.90192f, 43.81604f, -446.07843f, 16.6455688f, 409.83252f, -191.329865f, 222.9978f, 404.2884f, 230.603271f, -441.789276f, -86.29306f, 484.249573f, 95.23639f, -204.912109f, -199.774353f);
float4x4 b1 = float4x4(-368.109253f, 89.12378f, -510.279327f, -486.9298f, -81.2155457f, 274.2188f, -212.881561f, 288.9953f, 307.73175f, 307.245178f, -199.391785f, -284.421265f, -482.3918f, 448.315735f, -378.3462f, -390.858459f);
bool4x4 r1 = bool4x4(true, false, true, true, true, true, true, false, true, false, false, true, true, false, true, true);
TestUtils.AreEqual(r1, a1 >= b1);
float4x4 a2 = float4x4(-421.8632f, -18.2147827f, -346.822754f, -159.243652f, 112.917725f, 48.2910156f, 390.660156f, 154.219177f, -32.7480469f, -288.265625f, 122.704285f, 321.277954f, 230.183838f, 116.874268f, -93.515686f, 229.9823f);
float4x4 b2 = float4x4(8.916016f, 416.407227f, -213.674957f, 455.2481f, -236.080353f, -248.373108f, 184.18512f, 415.31134f, 86.98218f, 485.004578f, 107.758911f, -486.667725f, -138.676788f, 14.2078247f, -382.394165f, -117.008209f);
bool4x4 r2 = bool4x4(false, false, false, false, true, true, true, false, false, false, true, true, true, true, true, true);
TestUtils.AreEqual(r2, a2 >= b2);
float4x4 a3 = float4x4(-393.441223f, 184.082031f, 317.333252f, 123.818054f, -45.0246277f, -317.672546f, 264.3172f, -163.081421f, -124.610992f, -30.9362183f, 421.919434f, -1.56271362f, 199.638062f, -325.7766f, 181.4508f, 36.7637939f);
float4x4 b3 = float4x4(288.690979f, 311.7541f, 318.590576f, 105.963318f, 287.355164f, 306.291077f, -349.919983f, -211.935577f, 191.925049f, 220.105713f, -172.7789f, -17.6221313f, -43.54706f, 303.854f, 338.548523f, -16.68814f);
bool4x4 r3 = bool4x4(false, false, false, true, false, false, true, true, false, false, true, true, true, false, false, true);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void float4x4_operator_greater_equal_wide_scalar()
{
float4x4 a0 = float4x4(465.152161f, -424.886078f, -209.2211f, 58.7798462f, -302.2691f, 140.12561f, 16.3533936f, -344.559967f, 393.278076f, -315.701538f, 441.011536f, -509.781555f, -36.9942932f, 494.8203f, -164.973938f, -466.1201f);
float b0 = (-5.599884f);
bool4x4 r0 = bool4x4(true, false, false, true, false, true, true, false, true, false, true, false, false, true, false, false);
TestUtils.AreEqual(r0, a0 >= b0);
float4x4 a1 = float4x4(-123.813751f, 104.995728f, 314.346f, 190.516113f, -83.11142f, -23.8364258f, 143.049377f, -264.919983f, -169.702209f, 329.70752f, 359.095825f, -260.4233f, 354.195129f, -111.845337f, 33.309082f, 355.6313f);
float b1 = (215.651245f);
bool4x4 r1 = bool4x4(false, false, true, false, false, false, false, false, false, true, true, false, true, false, false, true);
TestUtils.AreEqual(r1, a1 >= b1);
float4x4 a2 = float4x4(-435.360565f, -93.2957153f, -338.8496f, 436.8958f, 511.084167f, -277.67453f, -453.799255f, 170.919f, -182.825745f, -207.516937f, -319.5006f, -240.5086f, 436.3413f, -66.9560547f, 303.320862f, 180.196045f);
float b2 = (-38.3993225f);
bool4x4 r2 = bool4x4(false, false, false, true, true, false, false, true, false, false, false, false, true, false, true, true);
TestUtils.AreEqual(r2, a2 >= b2);
float4x4 a3 = float4x4(337.965149f, 107.356689f, -501.208679f, -237.363922f, -434.488464f, 110.950378f, 159.729553f, -188.300171f, 379.4331f, 322.4181f, 169.257568f, 427.863342f, -472.917084f, 308.1438f, -104.297546f, -353.412842f);
float b3 = (-84.43594f);
bool4x4 r3 = bool4x4(true, true, false, false, false, true, true, false, true, true, true, true, false, true, false, false);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void float4x4_operator_greater_equal_scalar_wide()
{
float a0 = (374.827026f);
float4x4 b0 = float4x4(-1.60977173f, 338.615234f, -116.1814f, -332.157318f, -355.97937f, -468.901428f, 38.579895f, -332.347534f, 2.89013672f, 467.777771f, 121.406372f, -305.023376f, -58.4288025f, -226.519562f, -47.0209961f, 305.302673f);
bool4x4 r0 = bool4x4(true, true, true, true, true, true, true, true, true, false, true, true, true, true, true, true);
TestUtils.AreEqual(r0, a0 >= b0);
float a1 = (-427.401245f);
float4x4 b1 = float4x4(92.26367f, -497.178528f, -408.625641f, -455.2305f, 396.4261f, -469.2949f, -485.754028f, -182.346191f, -291.545349f, 278.740784f, -75.8711243f, 28.9070435f, 287.720154f, 420.509766f, 473.626831f, 181.514526f);
bool4x4 r1 = bool4x4(false, true, false, true, false, true, true, false, false, false, false, false, false, false, false, false);
TestUtils.AreEqual(r1, a1 >= b1);
float a2 = (-369.202881f);
float4x4 b2 = float4x4(243.749756f, -244.124146f, -242.993347f, -322.115356f, 192.974976f, -54.7255554f, -166.000824f, 244.293457f, 438.2494f, -162.692841f, 37.1853638f, -506.667358f, -205.163086f, 368.389954f, -35.45996f, -20.9164429f);
bool4x4 r2 = bool4x4(false, false, false, false, false, false, false, false, false, false, false, true, false, false, false, false);
TestUtils.AreEqual(r2, a2 >= b2);
float a3 = (9.041382f);
float4x4 b3 = float4x4(-377.5871f, -18.9806213f, 59.2191162f, 318.0575f, 113.964172f, 295.910156f, -142.4274f, 362.188843f, 447.56604f, -235.642242f, -397.548981f, 150.745422f, 227.169983f, -464.732025f, 159.779541f, 25.4620972f);
bool4x4 r3 = bool4x4(true, true, false, false, false, false, true, false, false, true, true, false, false, true, false, false);
TestUtils.AreEqual(r3, a3 >= b3);
}
[TestCompiler]
public static void float4x4_operator_add_wide_wide()
{
float4x4 a0 = float4x4(506.129028f, -501.779816f, 420.084778f, -186.032074f, -9.312408f, 328.51178f, 424.344055f, 87.79108f, 462.4137f, -46.17871f, 401.170044f, -454.124146f, 69.19568f, -177.957336f, 299.604126f, 340.704834f);
float4x4 b0 = float4x4(-28.7579956f, -337.135132f, -340.676819f, 152.312012f, 423.66748f, 90.3740845f, 376.18866f, 1.76721191f, -120.185852f, -279.629364f, -344.6671f, 242.839172f, 418.593079f, -23.3128052f, -95.0999451f, 147.9281f);
float4x4 r0 = float4x4(477.371033f, -838.9149f, 79.40796f, -33.7200623f, 414.355072f, 418.885864f, 800.5327f, 89.55829f, 342.227844f, -325.808075f, 56.50293f, -211.284973f, 487.788757f, -201.270142f, 204.504181f, 488.632935f);
TestUtils.AreEqual(r0, a0 + b0);
float4x4 a1 = float4x4(219.916016f, -321.9084f, 286.355347f, -333.4195f, -118.932159f, 68.60748f, 23.190918f, -205.577881f, 11.5214233f, -340.795074f, -68.93118f, 304.8532f, -86.63385f, 105.669128f, 349.280518f, 364.7079f);
float4x4 b1 = float4x4(331.0329f, -82.50256f, 279.4496f, 342.622742f, -300.358521f, -209.694092f, 446.559448f, -351.9892f, -263.12384f, -252.458557f, 289.825378f, 338.796143f, -232.619019f, -510.50824f, 349.280762f, -426.212463f);
float4x4 r1 = float4x4(550.9489f, -404.41095f, 565.804932f, 9.203247f, -419.29068f, -141.086609f, 469.750366f, -557.5671f, -251.602417f, -593.253662f, 220.8942f, 643.649353f, -319.252869f, -404.8391f, 698.5613f, -61.5045776f);
TestUtils.AreEqual(r1, a1 + b1);
float4x4 a2 = float4x4(-429.0374f, 382.458069f, 186.097046f, 227.411865f, -298.766357f, 351.3028f, 98.7254f, -292.351685f, 112.1709f, 477.165771f, -266.304871f, -295.1407f, -485.820374f, -507.8687f, -338.2196f, 505.342163f);
float4x4 b2 = float4x4(-331.416321f, -418.6888f, -341.70636f, -329.0359f, 123.198547f, 189.528564f, 267.569946f, 134.636292f, -337.96814f, 50.7280273f, 81.16345f, 442.0907f, -148.704529f, 6.974365f, -334.911255f, 43.78711f);
float4x4 r2 = float4x4(-760.453735f, -36.2307434f, -155.609314f, -101.624023f, -175.56781f, 540.83136f, 366.295349f, -157.7154f, -225.797241f, 527.8938f, -185.141418f, 146.950012f, -634.5249f, -500.894348f, -673.130859f, 549.1293f);
TestUtils.AreEqual(r2, a2 + b2);
float4x4 a3 = float4x4(-153.0664f, -292.656677f, -447.898651f, -26.0862427f, 21.4642944f, -465.6922f, 450.522522f, -271.92923f, -452.2673f, -110.679169f, 384.114929f, 352.0924f, 475.724365f, -444.868439f, -345.837646f, -502.816284f);
float4x4 b3 = float4x4(-17.1800537f, -157.392761f, -298.889069f, -158.772217f, 500.240784f, 319.870239f, -396.675354f, 157.7962f, 483.0329f, 175.248657f, -198.020142f, 1.79919434f, 452.367371f, -177.198425f, -291.5625f, -475.855133f);
float4x4 r3 = float4x4(-170.24646f, -450.049438f, -746.7877f, -184.858459f, 521.7051f, -145.82196f, 53.847168f, -114.133026f, 30.7655945f, 64.56949f, 186.094788f, 353.8916f, 928.091736f, -622.0669f, -637.400146f, -978.6714f);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void float4x4_operator_add_wide_scalar()
{
float4x4 a0 = float4x4(-194.514191f, 338.5484f, 246.971375f, 100.510925f, -45.72467f, -478.1113f, 30.9161377f, 60.37433f, -242.118744f, 82.50134f, 6.79937744f, -484.6998f, -188.265015f, -213.526733f, -267.7843f, 189.259949f);
float b0 = (124.121704f);
float4x4 r0 = float4x4(-70.39249f, 462.6701f, 371.093079f, 224.632629f, 78.39703f, -353.9896f, 155.037842f, 184.496033f, -117.99704f, 206.623047f, 130.921082f, -360.5781f, -64.14331f, -89.40503f, -143.6626f, 313.381653f);
TestUtils.AreEqual(r0, a0 + b0);
float4x4 a1 = float4x4(198.533569f, -424.925659f, 302.102356f, 300.3991f, 124.021606f, -200.161346f, 31.3782349f, 362.522156f, -423.988861f, 432.41333f, 374.211426f, -465.6995f, -311.04303f, 84.91901f, -432.442444f, 235.750671f);
float b1 = (187.536072f);
float4x4 r1 = float4x4(386.069641f, -237.389587f, 489.638428f, 487.935181f, 311.557678f, -12.6252747f, 218.9143f, 550.0582f, -236.452789f, 619.9494f, 561.7475f, -278.163422f, -123.506958f, 272.455078f, -244.906372f, 423.286743f);
TestUtils.AreEqual(r1, a1 + b1);
float4x4 a2 = float4x4(-472.637756f, 186.120728f, -170.298218f, -115.272491f, -101.168823f, 257.775146f, 246.549255f, -397.5346f, -199.04837f, 20.585022f, 207.323853f, 197.935181f, -201.540558f, -106.638672f, -179.382233f, 203.817078f);
float b2 = (-257.577759f);
float4x4 r2 = float4x4(-730.2155f, -71.45703f, -427.875977f, -372.85025f, -358.746582f, 0.1973877f, -11.0285034f, -655.112366f, -456.626129f, -236.992737f, -50.2539063f, -59.64258f, -459.118317f, -364.216431f, -436.96f, -53.76068f);
TestUtils.AreEqual(r2, a2 + b2);
float4x4 a3 = float4x4(-364.820953f, 77.39429f, 185.278931f, 17.086731f, -511.8999f, 26.7097168f, -296.40683f, 249.988831f, -133.735809f, -398.524628f, 168.704712f, 14.0738525f, -443.0757f, 509.582336f, -72.75815f, -208.45047f);
float b3 = (154.526245f);
float4x4 r3 = float4x4(-210.294708f, 231.920532f, 339.805176f, 171.612976f, -357.373657f, 181.235962f, -141.880585f, 404.515076f, 20.7904358f, -243.998383f, 323.230957f, 168.6001f, -288.549469f, 664.1086f, 81.7681f, -53.9242249f);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void float4x4_operator_add_scalar_wide()
{
float a0 = (-340.354675f);
float4x4 b0 = float4x4(511.362244f, -146.216644f, -106.210419f, -363.450256f, 199.0896f, -27.1083984f, 419.849f, 284.955017f, -164.9242f, -249.190338f, 150.928162f, 298.1751f, -457.1534f, 424.718079f, -301.857483f, 230.288879f);
float4x4 r0 = float4x4(171.007568f, -486.57132f, -446.5651f, -703.804932f, -141.265076f, -367.463074f, 79.49432f, -55.39966f, -505.27887f, -589.545044f, -189.426514f, -42.1795654f, -797.508057f, 84.3634f, -642.212158f, -110.065796f);
TestUtils.AreEqual(r0, a0 + b0);
float a1 = (-423.5876f);
float4x4 b1 = float4x4(-67.06003f, 68.72412f, -164.02243f, 318.935181f, 7.80456543f, 187.698364f, -3.656952f, -446.083069f, -209.287231f, -38.21289f, -346.257172f, 465.607422f, -192.185944f, 278.6938f, 381.978455f, 481.243652f);
float4x4 r1 = float4x4(-490.6476f, -354.863464f, -587.61f, -104.652405f, -415.78302f, -235.889221f, -427.244537f, -869.670654f, -632.8748f, -461.800476f, -769.8447f, 42.0198364f, -615.77356f, -144.8938f, -41.60913f, 57.6560669f);
TestUtils.AreEqual(r1, a1 + b1);
float a2 = (-97.22815f);
float4x4 b2 = float4x4(-455.513733f, 501.834961f, 358.7066f, 430.699768f, 256.987183f, 207.651672f, -376.965179f, -428.085327f, -373.49353f, -468.89328f, -467.658447f, 297.484924f, -506.89978f, -233.358459f, 434.558777f, -387.3152f);
float4x4 r2 = float4x4(-552.7419f, 404.6068f, 261.478455f, 333.471619f, 159.759033f, 110.423523f, -474.193329f, -525.3135f, -470.72168f, -566.12146f, -564.8866f, 200.256775f, -604.1279f, -330.5866f, 337.330627f, -484.543335f);
TestUtils.AreEqual(r2, a2 + b2);
float a3 = (171.590271f);
float4x4 b3 = float4x4(245.057556f, 200.502747f, 353.496826f, -147.289825f, -8.442291f, 178.085022f, 409.446533f, -429.3672f, -103.623169f, -500.8955f, 254.1062f, 331.3476f, -484.73822f, -15.8841248f, 280.9497f, 328.9314f);
float4x4 r3 = float4x4(416.647827f, 372.093018f, 525.0871f, 24.3004456f, 163.14798f, 349.6753f, 581.0368f, -257.776917f, 67.9671f, -329.305237f, 425.696472f, 502.937866f, -313.147949f, 155.706146f, 452.539978f, 500.521667f);
TestUtils.AreEqual(r3, a3 + b3);
}
[TestCompiler]
public static void float4x4_operator_sub_wide_wide()
{
float4x4 a0 = float4x4(160.492249f, 11.223938f, 359.200134f, -498.2283f, -355.253632f, -94.53485f, -410.46405f, -401.384644f, 317.706848f, 447.060425f, -489.074158f, -230.008392f, 24.8754272f, 366.614441f, -107.374146f, -219.008148f);
float4x4 b0 = float4x4(115.46875f, -130.9823f, 241.540833f, 9.987061f, 419.895142f, 59.12445f, -402.381653f, -75.37015f, 320.9796f, -73.90875f, -31.4447327f, -389.251953f, -375.028839f, 259.182739f, 276.648682f, -453.0692f);
float4x4 r0 = float4x4(45.0235f, 142.206238f, 117.6593f, -508.215363f, -775.1488f, -153.6593f, -8.082397f, -326.0145f, -3.272766f, 520.9692f, -457.629425f, 159.243561f, 399.904266f, 107.4317f, -384.022827f, 234.061066f);
TestUtils.AreEqual(r0, a0 - b0);
float4x4 a1 = float4x4(473.9076f, 259.63623f, -360.119629f, 7.80963135f, 437.428467f, -59.1991577f, 418.744324f, 183.142151f, 271.230347f, 496.208557f, 165.354919f, -227.403656f, -166.522858f, 356.142273f, 386.9264f, -394.638763f);
float4x4 b1 = float4x4(-272.576538f, -191.148041f, 87.1369f, 430.02478f, 343.6571f, 121.029419f, -354.188171f, 249.052f, -2.22543335f, 22.4472656f, 478.112976f, -320.063f, -111.524109f, 222.228943f, -245.411072f, -119.902283f);
float4x4 r1 = float4x4(746.484131f, 450.784271f, -447.256531f, -422.215149f, 93.77136f, -180.228577f, 772.9325f, -65.90985f, 273.45578f, 473.7613f, -312.758057f, 92.65933f, -54.99875f, 133.91333f, 632.337463f, -274.736481f);
TestUtils.AreEqual(r1, a1 - b1);
float4x4 a2 = float4x4(126.903259f, 97.21692f, -150.017853f, -227.250519f, -198.830017f, 0.662780762f, -484.245575f, -295.996277f, -46.17099f, 499.9524f, 292.440125f, -106.424133f, 466.827148f, 487.374817f, 242.994629f, -468.901581f);
float4x4 b2 = float4x4(-153.465668f, 374.1125f, 301.763428f, -281.430054f, -494.964355f, -320.731262f, 160.962219f, -132.9364f, -394.437531f, 406.851257f, 270.544617f, 507.794617f, 67.69922f, 263.40448f, 297.5807f, 170.839539f);
float4x4 r2 = float4x4(280.368927f, -276.895569f, -451.781281f, 54.1795349f, 296.134338f, 321.394043f, -645.207764f, -163.059875f, 348.266541f, 93.1011353f, 21.8955078f, -614.21875f, 399.12793f, 223.970337f, -54.58606f, -639.7411f);
TestUtils.AreEqual(r2, a2 - b2);
float4x4 a3 = float4x4(226.2959f, 506.12616f, 60.59491f, -112.930145f, -286.9749f, -290.722748f, -34.5498047f, -347.817444f, -327.527832f, -243.600067f, -233.363464f, 99.65759f, 464.9585f, 419.285339f, 326.3886f, -12.4246826f);
float4x4 b3 = float4x4(-451.296875f, 60.20996f, 321.029663f, 481.46698f, 265.6386f, 148.319275f, -418.672424f, 184.514954f, -22.9213257f, 269.3639f, -289.490051f, 368.358643f, 101.4223f, 294.282959f, 21.3450317f, 15.5893555f);
float4x4 r3 = float4x4(677.5928f, 445.9162f, -260.434753f, -594.3971f, -552.6135f, -439.042023f, 384.12262f, -532.3324f, -304.6065f, -512.964f, 56.1265869f, -268.70105f, 363.5362f, 125.00238f, 305.043579f, -28.0140381f);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void float4x4_operator_sub_wide_scalar()
{
float4x4 a0 = float4x4(207.389587f, 248.457764f, -384.8239f, -205.344757f, -374.811554f, 191.642029f, 18.8562622f, -44.96161f, 480.857971f, 16.3381958f, -366.865448f, -35.5231f, 349.397766f, 439.077271f, 490.2223f, 195.024048f);
float b0 = (-36.1124878f);
float4x4 r0 = float4x4(243.502075f, 284.570251f, -348.711426f, -169.232269f, -338.699066f, 227.754517f, 54.96875f, -8.849121f, 516.970459f, 52.4506836f, -330.75296f, 0.589386f, 385.510254f, 475.189758f, 526.3348f, 231.136536f);
TestUtils.AreEqual(r0, a0 - b0);
float4x4 a1 = float4x4(-384.849426f, 55.6027832f, -54.931488f, 53.0880737f, 316.8025f, -273.8067f, 256.8872f, 297.173645f, 101.829041f, 136.607971f, -19.7322083f, 336.589722f, -51.8765564f, 317.345764f, -467.055939f, -50.1670532f);
float b1 = (189.05188f);
float4x4 r1 = float4x4(-573.9013f, -133.4491f, -243.983368f, -135.9638f, 127.75061f, -462.858582f, 67.83533f, 108.121765f, -87.22284f, -52.44391f, -208.784088f, 147.537842f, -240.928436f, 128.293884f, -656.1078f, -239.218933f);
TestUtils.AreEqual(r1, a1 - b1);
float4x4 a2 = float4x4(477.804565f, 0.4111328f, 46.66095f, -19.241394f, 396.809753f, 69.5905151f, -334.274231f, -198.077148f, -239.200623f, -339.6812f, -14.5144348f, 219.99707f, -180.260681f, -438.8906f, 186.35553f, -365.066772f);
float b2 = (-60.82193f);
float4x4 r2 = float4x4(538.626465f, 61.2330627f, 107.48288f, 41.5805359f, 457.631683f, 130.412445f, -273.4523f, -137.255219f, -178.3787f, -278.859283f, 46.3074951f, 280.819f, -119.438751f, -378.068665f, 247.17746f, -304.244843f);
TestUtils.AreEqual(r2, a2 - b2);
float4x4 a3 = float4x4(-478.801239f, 57.5604858f, 306.905945f, -357.698456f, 159.085022f, 10.2644653f, -129.711182f, 9.481628f, 35.359436f, -456.9659f, -473.41156f, 130.448669f, 20.7345581f, 210.992432f, -411.8095f, -497.356018f);
float b3 = (-193.226776f);
float4x4 r3 = float4x4(-285.574463f, 250.787262f, 500.132721f, -164.47168f, 352.3118f, 203.491241f, 63.5155945f, 202.7084f, 228.586212f, -263.739136f, -280.184784f, 323.675446f, 213.961334f, 404.2192f, -218.582733f, -304.129242f);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void float4x4_operator_sub_scalar_wide()
{
float a0 = (-86.00824f);
float4x4 b0 = float4x4(466.4251f, 298.486938f, -300.9501f, 315.38f, -381.092163f, -125.008362f, 58.4661865f, 214.7461f, -257.549438f, 480.2246f, -443.355072f, 260.795044f, 29.6819458f, 139.857727f, -247.789948f, -248.466217f);
float4x4 r0 = float4x4(-552.43335f, -384.495178f, 214.941864f, -401.388245f, 295.083923f, 39.0001221f, -144.474426f, -300.754333f, 171.5412f, -566.232849f, 357.346832f, -346.803284f, -115.690186f, -225.865967f, 161.781708f, 162.457977f);
TestUtils.AreEqual(r0, a0 - b0);
float a1 = (91.44513f);
float4x4 b1 = float4x4(86.3841553f, 373.8183f, 260.411926f, 114.353943f, -464.405457f, -109.741455f, -311.675354f, 107.864014f, -258.795166f, 14.0975342f, -461.970184f, 30.3108521f, 63.70111f, -462.676758f, 39.75946f, 47.99817f);
float4x4 r1 = float4x4(5.060974f, -282.373169f, -168.9668f, -22.9088135f, 555.8506f, 201.186584f, 403.120483f, -16.4188843f, 350.2403f, 77.3475952f, 553.4153f, 61.1342773f, 27.7440186f, 554.1219f, 51.68567f, 43.44696f);
TestUtils.AreEqual(r1, a1 - b1);
float a2 = (-177.6193f);
float4x4 b2 = float4x4(202.477051f, -289.3088f, -459.9254f, 248.386658f, 85.32971f, -73.37479f, -510.652f, 426.963257f, 239.59021f, 477.852356f, 256.0136f, 338.620361f, -483.8312f, 330.3922f, -263.4182f, 123.92804f);
float4x4 r2 = float4x4(-380.096344f, 111.689514f, 282.306122f, -426.005951f, -262.949f, -104.244507f, 333.0327f, -604.5825f, -417.2095f, -655.4717f, -433.6329f, -516.2396f, 306.2119f, -508.0115f, 85.79892f, -301.547333f);
TestUtils.AreEqual(r2, a2 - b2);
float a3 = (-269.115967f);
float4x4 b3 = float4x4(-265.6382f, 484.580322f, -304.015625f, 311.637817f, 418.830566f, -103.771606f, -501.27475f, -304.483978f, 389.703f, 372.894043f, 8.436401f, -327.564758f, 190.749451f, 430.901367f, 28.885437f, -299.203125f);
float4x4 r3 = float4x4(-3.47775269f, -753.6963f, 34.89966f, -580.7538f, -687.946533f, -165.34436f, 232.158783f, 35.36801f, -658.819f, -642.01f, -277.552368f, 58.44879f, -459.865417f, -700.017334f, -298.0014f, 30.0871582f);
TestUtils.AreEqual(r3, a3 - b3);
}
[TestCompiler]
public static void float4x4_operator_mul_wide_wide()
{
float4x4 a0 = float4x4(-482.7138f, -407.2935f, 137.700562f, 208.541138f, 194.29657f, -484.242432f, 183.9873f, -241.33548f, 45.8687744f, 363.3261f, -328.118958f, -471.023071f, -262.682556f, -379.262756f, -374.090576f, 481.4474f);
float4x4 b0 = float4x4(-236.367889f, 260.7276f, -416.3863f, -364.4956f, -253.147522f, -369.202881f, 193.547913f, 169.0849f, 201.969666f, 249.456055f, -308.193176f, -385.579651f, -183.2796f, 22.2756348f, -265.521423f, -95.67746f);
float4x4 r0 = float4x4(114098.047f, -106192.656f, -57336.625f, -76012.33f, -49185.6953f, 178783.7f, 35610.36f, -40806.1836f, 9264.101f, 90633.9f, 101124.023f, 181616.9f, 48144.3555f, -8448.318f, 99329.06f, -46063.6641f);
TestUtils.AreEqual(r0, a0 * b0);
float4x4 a1 = float4x4(104.628052f, 412.935425f, 477.877258f, 20.3778076f, 291.995972f, -138.488312f, -393.464966f, 9.363098f, -131.942291f, 364.449646f, 390.615967f, 418.797974f, -277.3448f, 11.4101563f, 474.876465f, -502.405029f);
float4x4 b1 = float4x4(133.2544f, 148.311462f, 249.284119f, 500.0055f, -19.3315735f, -36.69107f, 30.5238037f, -401.367f, 3.43725586f, 257.24176f, -290.971924f, 337.47937f, 490.286133f, -191.0198f, -325.7345f, -52.1819763f);
float4x4 r1 = float4x4(13942.1475f, 61243.06f, 119127.211f, 10189.0156f, -5644.7417f, 5081.284f, -12010.0479f, -3758.03857f, -453.5194f, 93751.67f, -113658.281f, 141335.672f, -135978.3f, -2179.566f, -154683.641f, 26216.4883f);
TestUtils.AreEqual(r1, a1 * b1);
float4x4 a2 = float4x4(-222.59491f, 38.1690674f, 292.6125f, 203.2077f, -330.408142f, 469.460144f, 342.2951f, -504.114655f, 319.3573f, -357.782074f, -117.9711f, 25.706543f, 226.456421f, -86.34372f, -274.126038f, -486.870972f);
float4x4 b2 = float4x4(123.435059f, -461.267059f, 122.353088f, 308.584656f, 375.320618f, 203.212646f, 77.66797f, 218.793579f, -489.895752f, 134.472168f, -287.794373f, -116.399994f, -436.543976f, 499.591064f, -300.602356f, 105.730469f);
float4x4 r2 = float4x4(-27476.0156f, -17606.1328f, 35802.043f, 62706.7773f, -124008.984f, 95400.24f, 26585.3652f, -110297.047f, -156451.781f, -48111.73f, 33951.418f, -2992.24146f, -98858.19f, -43136.55f, 82402.93f, -51477.0977f);
TestUtils.AreEqual(r2, a2 * b2);
float4x4 a3 = float4x4(-28.9265442f, -326.096161f, 504.3548f, -181.979523f, 312.229553f, 75.6499f, -248.432068f, 507.184265f, 482.400818f, 1.6229248f, -479.952423f, -446.2109f, -414.271545f, -175.72348f, -303.303223f, 70.71069f);
float4x4 b3 = float4x4(425.693665f, -4.90002441f, -41.369812f, 257.704651f, -456.134979f, -496.704651f, -296.414673f, 156.987183f, 304.616577f, 452.772156f, -124.8772f, -446.8005f, -357.430969f, 217.1565f, 215.616577f, 482.1942f);
float4x4 r3 = float4x4(-12313.8467f, 1597.87915f, -20865.0625f, -46896.97f, -142418.828f, -37575.66f, 73638.91f, 79621.43f, 146947.281f, 734.8152f, 59935.1133f, 199367.266f, 148073.484f, -38159.4961f, -65397.2031f, 34096.29f);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void float4x4_operator_mul_wide_scalar()
{
float4x4 a0 = float4x4(-96.31882f, -277.142273f, -239.93689f, 509.531433f, 255.8581f, 215.7315f, -455.50827f, -389.2433f, -338.29248f, 53.7962646f, 243.757324f, 135.354675f, -207.3501f, -383.9396f, -31.4252319f, 42.6761475f);
float b0 = (-301.2072f);
float4x4 r0 = float4x4(29011.9219f, 83477.25f, 72270.72f, -153474.547f, -77066.3047f, -64979.8867f, 137202.375f, 117242.883f, 101896.133f, -16203.8232f, -73421.46f, -40769.8047f, 62455.3438f, 115645.383f, 9465.507f, -12854.3633f);
TestUtils.AreEqual(r0, a0 * b0);
float4x4 a1 = float4x4(260.38385f, 25.67212f, -290.5006f, 207.091f, -156.523315f, -208.402008f, 370.945068f, -341.59845f, 10.2703247f, -176.888763f, -61.0061035f, 186.279785f, -487.652222f, -129.376831f, -317.7163f, -207.62735f);
float b1 = (176.867554f);
float4x4 r1 = float4x4(46053.4531f, 4540.565f, -51380.1328f, 36627.68f, -27683.8965f, -36859.5547f, 65608.15f, -60417.6836f, 1816.48718f, -31285.8828f, -10790f, 32946.85f, -86249.86f, -22882.5645f, -56193.707f, -36722.543f);
TestUtils.AreEqual(r1, a1 * b1);
float4x4 a2 = float4x4(388.8714f, 128.415527f, 510.389526f, 267.576355f, -309.209656f, -36.48297f, -189.569519f, 233.209229f, -331.086975f, -98.6447754f, -214.181f, -87.88077f, -493.165741f, -407.306061f, -411.3714f, 477.935669f);
float b2 = (-233.335327f);
float4x4 r2 = float4x4(-90737.44f, -29963.8789f, -119091.906f, -62435.0156f, 72149.54f, 8512.766f, 44233.2656f, -54415.9531f, 77254.29f, 23017.31f, 49975.9922f, 20505.6875f, 115072.992f, 95038.89f, 95987.48f, -111519.273f);
TestUtils.AreEqual(r2, a2 * b2);
float4x4 a3 = float4x4(364.748535f, -187.482422f, -287.957642f, 208.590149f, 367.3161f, 443.2597f, -98.88196f, 339.129822f, -266.412231f, -119.37973f, 117.4978f, -63.52304f, -362.640259f, -328.8269f, 49.4736328f, -169.017944f);
float b3 = (-8.058472f);
float4x4 r3 = float4x4(-2939.31567f, 1510.82178f, 2320.49854f, -1680.91785f, -2960.00635f, -3571.99585f, 796.837463f, -2732.86816f, 2146.87549f, 962.0182f, -946.8527f, 511.898621f, 2922.32617f, 2649.84229f, -398.681854f, 1362.02637f);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void float4x4_operator_mul_scalar_wide()
{
float a0 = (37.43219f);
float4x4 b0 = float4x4(96.74756f, 492.185364f, -274.054565f, -452.870972f, 420.853333f, 102.182922f, -114.948883f, -351.120056f, -464.664978f, 444.084839f, 447.1053f, 130.829346f, -321.41333f, 445.301331f, 478.2436f, 358.571716f);
float4x4 r0 = float4x4(3621.473f, 18423.5762f, -10258.4629f, -16951.9531f, 15753.4619f, 3824.93066f, -4302.78857f, -13143.1924f, -17393.4277f, 16623.0684f, 16736.13f, 4897.229f, -12031.2051f, 16668.6035f, 17901.7051f, 13422.125f);
TestUtils.AreEqual(r0, a0 * b0);
float a1 = (-144.8901f);
float4x4 b1 = float4x4(-438.893829f, -3.536438f, -471.807556f, -42.5603943f, 119.911072f, 271.900024f, 239.684021f, 487.4414f, -79.18829f, -112.925659f, 161.370056f, 459.759155f, -337.195984f, -276.834534f, 469.723877f, -274.565155f);
float4x4 r1 = float4x4(63591.375f, 512.3949f, 68360.25f, 6166.58f, -17373.9277f, -39395.625f, -34727.8438f, -70625.44f, 11473.6006f, 16361.8105f, -23380.9238f, -66614.5547f, 48856.3633f, 40110.5859f, -68058.34f, 39781.7734f);
TestUtils.AreEqual(r1, a1 * b1);
float a2 = (506.7859f);
float4x4 b2 = float4x4(65.88257f, 495.855652f, -347.2796f, -343.606049f, -183.7038f, 460.264771f, 437.513245f, -324.557251f, -112.287781f, 273.135437f, -283.093658f, 1.880249f, -310.8167f, 326.0122f, 243.64325f, 78.17932f);
float4x4 r2 = float4x4(33388.3555f, 251292.641f, -175996.4f, -174134.7f, -93098.49f, 233255.688f, 221725.531f, -164481.031f, -56905.8633f, 138421.188f, -143467.875f, 952.883667f, -157517.516f, 165218.391f, 123474.961f, 39620.1758f);
TestUtils.AreEqual(r2, a2 * b2);
float a3 = (-308.664f);
float4x4 b3 = float4x4(-382.209229f, -134.171875f, -173.004913f, -432.007446f, 488.8365f, -291.7146f, -1.73858643f, -428.3124f, -11.9584045f, -296.891418f, 235.681091f, -298.879181f, 384.531f, 208.919373f, 489.3814f, -106.6055f);
float4x4 r3 = float4x4(117974.227f, 41414.0273f, 53400.39f, 133345.141f, -150886.219f, 90041.8f, 536.639038f, 132204.625f, 3691.129f, 91639.6953f, -72746.2656f, 92253.24f, -118690.883f, -64485.89f, -151054.422f, 32905.28f);
TestUtils.AreEqual(r3, a3 * b3);
}
[TestCompiler]
public static void float4x4_operator_div_wide_wide()
{
float4x4 a0 = float4x4(-353.131439f, -102.799866f, 51.3191528f, -191.871674f, 8.041809f, -128.73764f, -136.0596f, -370.471f, -237.69455f, -432.546875f, 200.2655f, 361.4416f, -416.226135f, -450.0192f, -273.497437f, -286.908173f);
float4x4 b0 = float4x4(-178.739563f, -302.096283f, -199.405823f, 278.850769f, 502.3376f, -361.484833f, 353.121033f, -38.894928f, -75.76474f, -195.217834f, -405.034f, -394.23f, -375.8277f, -121.245483f, 447.623352f, 338.286255f);
float4x4 r0 = float4x4(1.97567582f, 0.34028843f, -0.257360339f, -0.688080132f, 0.0160087738f, 0.356135666f, -0.385305852f, 9.524919f, 3.1372714f, 2.215714f, -0.4944412f, -0.9168292f, 1.107492f, 3.71163678f, -0.610999048f, -0.8481225f);
TestUtils.AreEqual(r0, a0 / b0);
float4x4 a1 = float4x4(-314.256042f, 177.762085f, 97.6270142f, -68.10727f, -386.450745f, 263.699341f, -297.0271f, -501.777039f, -263.40686f, -451.080841f, -416.34552f, -315.278748f, -28.1811218f, -397.870148f, -261.386658f, 40.3482056f);
float4x4 b1 = float4x4(-405.5442f, -431.168945f, 296.205139f, 437.939819f, 39.2106323f, 331.289734f, -310.619568f, 207.26947f, -223.293f, -480.0914f, 448.675964f, -460.097443f, -220.569855f, -84.85315f, 441.373779f, 72.41846f);
float4x4 r1 = float4x4(0.7748996f, -0.412279427f, 0.3295926f, -0.155517414f, -9.855764f, 0.795978f, 0.9562408f, -2.42089224f, 1.17964673f, 0.9395729f, -0.9279426f, 0.6852434f, 0.127765059f, 4.688926f, -0.592211545f, 0.557153642f);
TestUtils.AreEqual(r1, a1 / b1);
float4x4 a2 = float4x4(277.245728f, 464.77124f, -336.641052f, 375.4781f, 504.342529f, -320.7671f, -156.733337f, 414.797058f, -386.0507f, -369.838623f, 386.704224f, 242.631836f, 421.7345f, 109.012207f, 182.075256f, 187.326416f);
float4x4 b2 = float4x4(44.9760742f, -242.515381f, -451.302063f, -21.8996887f, -358.486664f, -350.945129f, -481.848145f, 406.393433f, -145.288666f, 461.795532f, -318.816772f, -250.932f, 125.859558f, -193.803162f, -495.25412f, -315.824554f);
float4x4 r2 = float4x4(6.164294f, -1.91646087f, 0.7459329f, -17.14536f, -1.40686548f, 0.9140092f, 0.3252754f, 1.02067852f, 2.65712881f, -0.800870955f, -1.21293569f, -0.966922641f, 3.35083413f, -0.562489331f, -0.367640078f, -0.5931344f);
TestUtils.AreEqual(r2, a2 / b2);
float4x4 a3 = float4x4(510.862366f, -457.956055f, -263.390778f, 31.9105225f, -86.77109f, -472.43396f, 257.443054f, 208.635864f, -123.366913f, -210.80249f, 299.212463f, 197.7143f, 314.344238f, -152.249908f, -48.31424f, 308.025024f);
float4x4 b3 = float4x4(-320.719116f, 169.996826f, 252.738342f, -324.1048f, 82.81885f, 454.1411f, -476.333618f, -58.3329773f, -292.26355f, 395.902039f, 90.55267f, 84.0625f, 203.703247f, 49.49939f, 57.28125f, 487.59668f);
float4x4 r3 = float4x4(-1.59286535f, -2.69390941f, -1.04214811f, -0.09845742f, -1.04772151f, -1.0402801f, -0.540468f, -3.57663655f, 0.422108442f, -0.5324612f, 3.304292f, 2.35199165f, 1.54314792f, -3.07579374f, -0.843456447f, 0.6317209f);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void float4x4_operator_div_wide_scalar()
{
float4x4 a0 = float4x4(171.3424f, 0.103393555f, 57.8882446f, -256.130737f, 95.66968f, -290.3869f, -127.4487f, -79.7449f, 146.466858f, -499.843567f, 58.68634f, -453.2058f, -205.033813f, 481.738159f, 464.479065f, -293.4635f);
float b0 = (171.796814f);
float4x4 r0 = float4x4(0.997355f, 0.000601836247f, 0.3369576f, -1.49089336f, 0.5568769f, -1.69029272f, -0.7418572f, -0.4641815f, 0.8525586f, -2.90950418f, 0.3416032f, -2.63803387f, -1.1934669f, 2.80411577f, 2.70365357f, -1.708201f);
TestUtils.AreEqual(r0, a0 / b0);
float4x4 a1 = float4x4(-158.505585f, 494.1286f, 203.583435f, 180.9704f, 259.1192f, 460.844727f, 490.956238f, -280.478058f, -320.243866f, 192.41449f, 264.800842f, 226.852966f, -192.235687f, 460.9765f, -437.8922f, -413.232727f);
float b1 = (-289.5822f);
float4x4 r1 = float4x4(0.5473595f, -1.70635f, -0.7030246f, -0.624936163f, -0.8948036f, -1.59141243f, -1.695395f, 0.968561053f, 1.10588241f, -0.6644555f, -0.9144237f, -0.783380151f, 0.663838f, -1.59186745f, 1.5121516f, 1.42699623f);
TestUtils.AreEqual(r1, a1 / b1);
float4x4 a2 = float4x4(249.471863f, 216.785583f, 383.7389f, 82.0233154f, 189.574646f, 314.503845f, -391.92218f, 121.280579f, 417.901733f, -133.262878f, -428.7424f, -188.531891f, 356.259521f, 181.969f, -140.890472f, 474.082642f);
float b2 = (313.035034f);
float4x4 r2 = float4x4(0.7969455f, 0.6925282f, 1.2258656f, 0.262025982f, 0.605602f, 1.0046922f, -1.25200737f, 0.3874345f, 1.33499992f, -0.425712347f, -1.36963069f, -0.6022709f, 1.13808191f, 0.5813055f, -0.450078934f, 1.51447153f);
TestUtils.AreEqual(r2, a2 / b2);
float4x4 a3 = float4x4(-451.357727f, -220.999786f, 463.01123f, 502.372f, 424.6776f, 51.258667f, 78.93201f, -487.652679f, -96.08646f, 29.1986084f, 119.750427f, 205.4021f, -173.297424f, -448.8201f, -15.4214783f, 472.026917f);
float b3 = (390.1247f);
float4x4 r3 = float4x4(-1.15695763f, -0.566485f, 1.18682885f, 1.28772163f, 1.08856893f, 0.131390467f, 0.202325076f, -1.24999177f, -0.246296778f, 0.07484429f, 0.306954235f, 0.5265037f, -0.444210351f, -1.150453f, -0.0395296142f, 1.20993853f);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void float4x4_operator_div_scalar_wide()
{
float a0 = (-264.4425f);
float4x4 b0 = float4x4(105.589111f, -142.349091f, -288.9489f, 39.644104f, -363.9914f, -149.718231f, -395.729126f, 258.7187f, -9.66626f, 117.725525f, -331.386536f, -509.986023f, 427.896484f, 467.617126f, -407.124634f, 252.690735f);
float4x4 r0 = float4x4(-2.50444865f, 1.85770416f, 0.9151877f, -6.670412f, 0.7265076f, 1.7662679f, 0.6682412f, -1.02212369f, 27.3572731f, -2.246263f, 0.797988057f, 0.518528938f, -0.6180058f, -0.56551075f, 0.649536967f, -1.04650652f);
TestUtils.AreEqual(r0, a0 / b0);
float a1 = (444.599365f);
float4x4 b1 = float4x4(-88.31329f, 199.955017f, -218.346924f, -13.4171753f, -296.131073f, 0.561340332f, -289.299316f, 196.218323f, 334.733459f, -282.392731f, -479.5036f, -473.439453f, 105.050781f, -287.6313f, 77.29932f, -210.894379f);
float4x4 r1 = float4x4(-5.03434229f, 2.223497f, -2.03620625f, -33.1365852f, -1.50136f, 792.031738f, -1.53681445f, 2.26584029f, 1.328219f, -1.5744009f, -0.9272076f, -0.9390839f, 4.232233f, -1.54572678f, 5.75166f, -2.10816121f);
TestUtils.AreEqual(r1, a1 / b1);
float a2 = (-184.068237f);
float4x4 b2 = float4x4(-315.148438f, 87.86688f, 101.590515f, 345.9364f, -146.318115f, 479.999939f, -172.67688f, -178.013641f, 361.760437f, 349.376953f, -398.686127f, -243.78f, 296.622925f, 477.810669f, 486.600342f, 256.917236f);
float4x4 r2 = float4x4(0.584068358f, -2.0948534f, -1.81186438f, -0.5320869f, 1.25800037f, -0.383475542f, 1.06596923f, 1.034012f, -0.5088125f, -0.5268471f, 0.4616871f, 0.7550588f, -0.6205462f, -0.385232568f, -0.378273964f, -0.716449559f);
TestUtils.AreEqual(r2, a2 / b2);
float a3 = (-89.86423f);
float4x4 b3 = float4x4(-148.205872f, 388.356384f, 76.9372559f, 260.97467f, -110.279846f, 369.089539f, -511.6496f, 355.425781f, -186.724854f, -379.3255f, -428.225525f, 220.158142f, 397.282959f, -106.643188f, 103.314148f, 212.908325f);
float4x4 r3 = float4x4(0.606347263f, -0.231396288f, -1.16801965f, -0.3443408f, 0.8148744f, -0.2434754f, 0.175636277f, -0.252835423f, 0.4812655f, 0.236905321f, 0.209852576f, -0.408180356f, -0.226197034f, 0.842662632f, -0.8698153f, -0.422079444f);
TestUtils.AreEqual(r3, a3 / b3);
}
[TestCompiler]
public static void float4x4_operator_mod_wide_wide()
{
float4x4 a0 = float4x4(-388.8125f, 181.681213f, -167.078735f, 432.820129f, -258.438965f, -170.110809f, 283.3183f, 122.716492f, 335.271f, -503.608521f, 191.022522f, 289.742676f, -124.033722f, 259.274f, -274.358459f, -140.030792f);
float4x4 b0 = float4x4(436.944153f, 58.9400635f, -201.116241f, 279.289368f, -397.079773f, 377.899963f, 174.693848f, -228.176514f, -317.060181f, -417.4801f, -249.975952f, -397.571564f, -358.745453f, -198.15921f, 208.737122f, -12.1194153f);
float4x4 r0 = float4x4(-388.8125f, 4.861023f, -167.078735f, 153.530762f, -258.438965f, -170.110809f, 108.624451f, 122.716492f, 18.2108154f, -86.12842f, 191.022522f, 289.742676f, -124.033722f, 61.1147766f, -65.62134f, -6.717224f);
TestUtils.AreEqual(r0, a0 % b0);
float4x4 a1 = float4x4(324.577576f, -200.513092f, 211.423157f, -51.2722168f, -230.633911f, 99.98938f, 399.18988f, 24.90326f, 50.92401f, -364.863678f, -252.626617f, -281.2898f, -364.798523f, -329.026245f, 51.6098022f, 41.6478271f);
float4x4 b1 = float4x4(25.2714233f, -194.1207f, -493.8718f, -312.3017f, -216.980591f, 413.570984f, -436.3944f, 3.491272f, -308.233429f, -441.375061f, 84.60083f, 373.163452f, 67.25275f, -320.333282f, 118.97937f, 44.8239746f);
float4x4 r1 = float4x4(21.3204956f, -6.392395f, 211.423157f, -51.2722168f, -13.65332f, 99.98938f, 399.18988f, 0.464355469f, 50.92401f, -364.863678f, -83.42496f, -281.2898f, -28.53479f, -8.692963f, 51.6098022f, 41.6478271f);
TestUtils.AreEqual(r1, a1 % b1);
float4x4 a2 = float4x4(254.95105f, -458.6776f, -136.79303f, 72.40033f, 246.212036f, 325.1538f, 162.034668f, -284.761444f, 128.351257f, 262.916748f, 61.60077f, -271.4928f, -205.438812f, -341.322144f, 347.154419f, 148.0885f);
float4x4 b2 = float4x4(354.0086f, -253.953125f, -195.162811f, 317.142822f, 320.693176f, -103.996887f, 388.171753f, -199.639313f, -256.217316f, -478.125031f, -210.655731f, -272.0233f, -61.6765442f, -367.8296f, -242.938934f, 162.386719f);
float4x4 r2 = float4x4(254.95105f, -204.724487f, -136.79303f, 72.40033f, 246.212036f, 13.163147f, 162.034668f, -85.12213f, 128.351257f, 262.916748f, 61.60077f, -271.4928f, -20.40918f, -341.322144f, 104.215485f, 148.0885f);
TestUtils.AreEqual(r2, a2 % b2);
float4x4 a3 = float4x4(253.371582f, -353.380066f, -489.716766f, -371.7157f, 131.366272f, -175.5871f, 271.447021f, -300.871216f, -159.985809f, 63.31543f, 368.062622f, 495.223145f, 113.5014f, 463.485657f, -365.840637f, 481.9884f);
float4x4 b3 = float4x4(-456.834534f, -466.818756f, -233.143585f, -265.913147f, -170.0065f, -61.3197937f, 334.7071f, -240.970245f, 382.6131f, -204.172882f, 7.772827f, -46.39322f, 325.345642f, 436.883484f, -71.77011f, -22.84903f);
float4x4 r3 = float4x4(253.371582f, -353.380066f, -23.4295959f, -105.802551f, 131.366272f, -52.94751f, 271.447021f, -59.90097f, -159.985809f, 63.31543f, 2.739746f, 31.2909546f, 113.5014f, 26.6021729f, -6.990082f, 2.158783f);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void float4x4_operator_mod_wide_scalar()
{
float4x4 a0 = float4x4(-244.499634f, -211.8193f, -145.926788f, -304.9182f, 155.479492f, -133.907776f, 281.309631f, -226.535767f, 335.166138f, 101.706482f, 319.4715f, -285.4023f, -355.846863f, 259.378f, -330.871948f, -284.343567f);
float b0 = (39.63495f);
float4x4 r0 = float4x4(-6.68994141f, -13.6445618f, -27.0219421f, -27.4735718f, 36.574646f, -15.00293f, 3.86499023f, -28.3610229f, 18.0865479f, 22.4365845f, 2.39190674f, -7.957672f, -38.7672729f, 21.5682983f, -13.7923584f, -6.898926f);
TestUtils.AreEqual(r0, a0 % b0);
float4x4 a1 = float4x4(-102.683441f, 206.41687f, -416.713654f, -339.256653f, 435.2975f, 132.552917f, 226.944092f, -306.1183f, 115.438477f, 281.882935f, -218.347443f, -140.0405f, -462.3235f, -211.6087f, 351.331055f, 321.047f);
float b1 = (-172.141754f);
float4x4 r1 = float4x4(-102.683441f, 34.275116f, -72.4301453f, -167.1149f, 91.01398f, 132.552917f, 54.8023376f, -133.976532f, 115.438477f, 109.74118f, -46.20569f, -140.0405f, -118.039978f, -39.46695f, 7.04754639f, 148.905243f);
TestUtils.AreEqual(r1, a1 % b1);
float4x4 a2 = float4x4(346.0852f, 465.40918f, -367.197021f, -467.5106f, 415.2151f, 506.186157f, -3.729828f, 128.249878f, 134.941589f, 247.616943f, -285.287872f, 433.766663f, -141.831024f, -229.781891f, 471.218018f, 377.681458f);
float b2 = (-94.4077454f);
float4x4 r2 = float4x4(62.86197f, 87.7782f, -83.9737854f, -89.87961f, 37.5841064f, 34.14743f, -3.729828f, 33.8421326f, 40.533844f, 58.8014526f, -2.06463623f, 56.13568f, -47.42328f, -40.9664f, 93.5870361f, 0.0504760742f);
TestUtils.AreEqual(r2, a2 % b2);
float4x4 a3 = float4x4(433.4076f, -333.358124f, 403.178467f, -417.24295f, 116.337463f, 167.627747f, 139.12915f, -510.799957f, -471.958984f, 96.20929f, -12.3428955f, 425.504761f, 285.489624f, -198.684814f, 480.1405f, -94.44934f);
float b3 = (-99.4491f);
float4x4 r3 = float4x4(35.6112061f, -35.0108337f, 5.38208f, -19.4465637f, 16.8883667f, 68.17865f, 39.6800537f, -13.5544739f, -74.1626f, 96.20929f, -12.3428955f, 27.708374f, 86.59143f, -99.23572f, 82.34412f, -94.44934f);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void float4x4_operator_mod_scalar_wide()
{
float a0 = (-66.94504f);
float4x4 b0 = float4x4(-249.7761f, -396.073761f, 386.492065f, 168.939453f, -199.418243f, 261.7517f, 16.1274414f, 257.668152f, -75.78845f, 170.9563f, -242.858276f, 425.9453f, 303.2724f, 3.033081f, -505.74353f, 461.957031f);
float4x4 r0 = float4x4(-66.94504f, -66.94504f, -66.94504f, -66.94504f, -66.94504f, -66.94504f, -2.43527222f, -66.94504f, -66.94504f, -66.94504f, -66.94504f, -66.94504f, -66.94504f, -0.217254639f, -66.94504f, -66.94504f);
TestUtils.AreEqual(r0, a0 % b0);
float a1 = (205.972778f);
float4x4 b1 = float4x4(270.040649f, -47.4807129f, -150.254486f, 149.499512f, -220.298035f, 31.1188354f, 400.635681f, 6.23144531f, -39.05075f, -71.9411f, -495.307129f, -86.7196045f, -436.970062f, -472.294739f, -130.008759f, -251.516846f);
float4x4 r1 = float4x4(205.972778f, 16.0499268f, 55.7182922f, 56.4732666f, 205.972778f, 19.2597656f, 205.972778f, 0.335083f, 10.7190247f, 62.0905762f, 205.972778f, 32.53357f, 205.972778f, 205.972778f, 75.96402f, 205.972778f);
TestUtils.AreEqual(r1, a1 % b1);
float a2 = (281.976379f);
float4x4 b2 = float4x4(388.86084f, 50.6152954f, 293.87085f, 123.744263f, 422.904358f, -53.87619f, -178.857666f, -362.27594f, 361.085266f, 465.276123f, -269.889648f, -159.408966f, -29.0952148f, 484.499451f, -354.950623f, -328.6906f);
float4x4 r2 = float4x4(281.976379f, 28.8999023f, 281.976379f, 34.487854f, 281.976379f, 12.5954285f, 103.118713f, 281.976379f, 281.976379f, 281.976379f, 12.086731f, 122.567413f, 20.1194458f, 281.976379f, 281.976379f, 281.976379f);
TestUtils.AreEqual(r2, a2 % b2);
float a3 = (-171.739227f);
float4x4 b3 = float4x4(-300.492981f, -64.58917f, 400.004578f, 295.555481f, 482.521973f, 84.80737f, 497.856384f, -349.291931f, 351.6325f, -178.30719f, -0.5654297f, -167.612244f, -150.81839f, 131.251038f, 399.150452f, 165.462158f);
float4x4 r3 = float4x4(-171.739227f, -42.5608826f, -171.739227f, -171.739227f, -171.739227f, -2.1244812f, -171.739227f, -171.739227f, -171.739227f, -171.739227f, -0.414031982f, -4.12698364f, -20.9208374f, -40.48819f, -171.739227f, -6.277069f);
TestUtils.AreEqual(r3, a3 % b3);
}
[TestCompiler]
public static void float4x4_operator_plus()
{
float4x4 a0 = float4x4(-418.829559f, -405.79895f, -34.04178f, 236.999268f, -459.8391f, 210.86145f, 293.742f, -373.015442f, -386.059845f, 4.95440674f, -418.645264f, 504.474854f, -170.746521f, 439.5594f, -478.7494f, 116.400757f);
float4x4 r0 = float4x4(-418.829559f, -405.79895f, -34.04178f, 236.999268f, -459.8391f, 210.86145f, 293.742f, -373.015442f, -386.059845f, 4.95440674f, -418.645264f, 504.474854f, -170.746521f, 439.5594f, -478.7494f, 116.400757f);
TestUtils.AreEqual(r0, +a0);
float4x4 a1 = float4x4(421.409668f, 447.8661f, 124.164368f, 222.172546f, -65.94928f, 239.041809f, 498.449524f, -139.382538f, 279.072937f, 108.775818f, 37.9992065f, 136.812134f, -236.030029f, -440.308319f, 342.2791f, 102.472229f);
float4x4 r1 = float4x4(421.409668f, 447.8661f, 124.164368f, 222.172546f, -65.94928f, 239.041809f, 498.449524f, -139.382538f, 279.072937f, 108.775818f, 37.9992065f, 136.812134f, -236.030029f, -440.308319f, 342.2791f, 102.472229f);
TestUtils.AreEqual(r1, +a1);
float4x4 a2 = float4x4(-161.454834f, 141.314331f, 239.320862f, -494.6041f, 361.59198f, -14.6017456f, 141.712524f, 25.2562866f, -268.2269f, 106.774658f, 176.744385f, 104.119934f, 144.618591f, 289.4519f, -393.0167f, -198.95575f);
float4x4 r2 = float4x4(-161.454834f, 141.314331f, 239.320862f, -494.6041f, 361.59198f, -14.6017456f, 141.712524f, 25.2562866f, -268.2269f, 106.774658f, 176.744385f, 104.119934f, 144.618591f, 289.4519f, -393.0167f, -198.95575f);
TestUtils.AreEqual(r2, +a2);
float4x4 a3 = float4x4(-419.009216f, 233.295471f, 407.3216f, -129.0021f, 321.17218f, -132.84079f, -20.491333f, -135.618225f, -226.912048f, -409.9144f, -256.257233f, 2.17242432f, 361.9702f, -66.73724f, -248.924377f, -109.997375f);
float4x4 r3 = float4x4(-419.009216f, 233.295471f, 407.3216f, -129.0021f, 321.17218f, -132.84079f, -20.491333f, -135.618225f, -226.912048f, -409.9144f, -256.257233f, 2.17242432f, 361.9702f, -66.73724f, -248.924377f, -109.997375f);
TestUtils.AreEqual(r3, +a3);
}
[TestCompiler]
public static void float4x4_operator_neg()
{
float4x4 a0 = float4x4(148.461731f, -467.122681f, 132.04718f, 183.522644f, 473.701f, -407.9911f, -54.95877f, -382.9898f, -299.093384f, -383.014069f, 407.709778f, 168.735474f, 466.441528f, 171.902466f, -280.558319f, -78.857605f);
float4x4 r0 = float4x4(-148.461731f, 467.122681f, -132.04718f, -183.522644f, -473.701f, 407.9911f, 54.95877f, 382.9898f, 299.093384f, 383.014069f, -407.709778f, -168.735474f, -466.441528f, -171.902466f, 280.558319f, 78.857605f);
TestUtils.AreEqual(r0, -a0);
float4x4 a1 = float4x4(318.69635f, 140.340027f, 132.195618f, -505.895264f, 410.380554f, -237.056946f, -137.617828f, -245.349976f, 422.521362f, -434.57135f, 60.22223f, -466.5663f, 426.894531f, 146.649536f, -391.37207f, 423.237732f);
float4x4 r1 = float4x4(-318.69635f, -140.340027f, -132.195618f, 505.895264f, -410.380554f, 237.056946f, 137.617828f, 245.349976f, -422.521362f, 434.57135f, -60.22223f, 466.5663f, -426.894531f, -146.649536f, 391.37207f, -423.237732f);
TestUtils.AreEqual(r1, -a1);
float4x4 a2 = float4x4(254.297546f, 108.059692f, -507.9763f, -306.245728f, 219.66626f, 474.667969f, -98.76068f, 492.111084f, 84.04584f, 300.976624f, -483.864624f, -389.15744f, -324.6861f, 378.85437f, 190.219238f, -69.10242f);
float4x4 r2 = float4x4(-254.297546f, -108.059692f, 507.9763f, 306.245728f, -219.66626f, -474.667969f, 98.76068f, -492.111084f, -84.04584f, -300.976624f, 483.864624f, 389.15744f, 324.6861f, -378.85437f, -190.219238f, 69.10242f);
TestUtils.AreEqual(r2, -a2);
float4x4 a3 = float4x4(507.495361f, 245.013367f, 429.615784f, 142.357f, -430.84906f, 281.934265f, -242.334961f, -83.12738f, -460.8203f, -485.419739f, 396.819031f, -428.4235f, -213.987885f, -17.6636353f, 287.0819f, 257.497742f);
float4x4 r3 = float4x4(-507.495361f, -245.013367f, -429.615784f, -142.357f, 430.84906f, -281.934265f, 242.334961f, 83.12738f, 460.8203f, 485.419739f, -396.819031f, 428.4235f, 213.987885f, 17.6636353f, -287.0819f, -257.497742f);
TestUtils.AreEqual(r3, -a3);
}
[TestCompiler]
public static void float4x4_operator_prefix_inc()
{
float4x4 a0 = float4x4(-139.842072f, -56.7436523f, -381.955322f, 509.796326f, -222.896332f, 210.319885f, -392.7315f, -300.1941f, 362.212769f, 401.6148f, 130.90918f, -450.230164f, 243.546936f, 46.1920166f, -41.4972839f, 299.1855f);
float4x4 r0 = float4x4(-138.842072f, -55.7436523f, -380.955322f, 510.796326f, -221.896332f, 211.319885f, -391.7315f, -299.1941f, 363.212769f, 402.6148f, 131.90918f, -449.230164f, 244.546936f, 47.1920166f, -40.4972839f, 300.1855f);
TestUtils.AreEqual(r0, ++a0);
float4x4 a1 = float4x4(154.356567f, 200.706f, 92.95776f, 448.602173f, -295.587f, 18.4990845f, -215.711121f, 471.947266f, 257.0766f, 41.6259155f, 4.82543945f, 243.004761f, -472.619019f, -125.720215f, -477.459564f, 9.89147949f);
float4x4 r1 = float4x4(155.356567f, 201.706f, 93.95776f, 449.602173f, -294.587f, 19.4990845f, -214.711121f, 472.947266f, 258.0766f, 42.6259155f, 5.82543945f, 244.004761f, -471.619019f, -124.720215f, -476.459564f, 10.8914795f);
TestUtils.AreEqual(r1, ++a1);
float4x4 a2 = float4x4(-76.92285f, -387.177429f, 461.7093f, 13.699707f, -46.303772f, 89.36603f, -222.2291f, 340.8178f, 399.741272f, -311.372345f, 300.177979f, -272.7783f, 351.019165f, 436.575256f, -137.063324f, 312.579956f);
float4x4 r2 = float4x4(-75.92285f, -386.177429f, 462.7093f, 14.699707f, -45.303772f, 90.36603f, -221.2291f, 341.8178f, 400.741272f, -310.372345f, 301.177979f, -271.7783f, 352.019165f, 437.575256f, -136.063324f, 313.579956f);
TestUtils.AreEqual(r2, ++a2);
float4x4 a3 = float4x4(-315.999023f, -442.44696f, -93.81058f, -76.4442444f, -8.3284f, 436.757263f, 345.7558f, -474.150879f, 32.02704f, -343.3061f, 114.443054f, -31.1988831f, 322.8318f, 15.335022f, 96.3687744f, 51.8783569f);
float4x4 r3 = float4x4(-314.999023f, -441.44696f, -92.81058f, -75.4442444f, -7.32839966f, 437.757263f, 346.7558f, -473.150879f, 33.02704f, -342.3061f, 115.443054f, -30.1988831f, 323.8318f, 16.335022f, 97.3687744f, 52.8783569f);
TestUtils.AreEqual(r3, ++a3);
}
[TestCompiler]
public static void float4x4_operator_postfix_inc()
{
float4x4 a0 = float4x4(-396.669739f, 511.20752f, 249.111267f, -128.817322f, -259.4903f, 278.008179f, -81.39343f, 66.71973f, 167.852112f, 147.94397f, -326.1076f, 41.03357f, 128.5304f, 73.15558f, -60.1323853f, -446.229767f);
float4x4 r0 = float4x4(-396.669739f, 511.20752f, 249.111267f, -128.817322f, -259.4903f, 278.008179f, -81.39343f, 66.71973f, 167.852112f, 147.94397f, -326.1076f, 41.03357f, 128.5304f, 73.15558f, -60.1323853f, -446.229767f);
TestUtils.AreEqual(r0, a0++);
float4x4 a1 = float4x4(-296.937836f, 446.2293f, 49.2001953f, -326.643127f, -510.864227f, 471.647461f, -171.013092f, 310.727356f, -298.917175f, 489.985f, 184.603455f, 290.69104f, 117.192322f, 164.442932f, 412.3678f, -229.386566f);
float4x4 r1 = float4x4(-296.937836f, 446.2293f, 49.2001953f, -326.643127f, -510.864227f, 471.647461f, -171.013092f, 310.727356f, -298.917175f, 489.985f, 184.603455f, 290.69104f, 117.192322f, 164.442932f, 412.3678f, -229.386566f);
TestUtils.AreEqual(r1, a1++);
float4x4 a2 = float4x4(239.596924f, -80.70819f, -391.0335f, -478.227142f, 166.860474f, -291.1745f, -389.396667f, -52.13214f, 35.75531f, 356.052124f, 6.52948f, -285.349823f, 418.016479f, 47.1428833f, 31.4516f, 148.9469f);
float4x4 r2 = float4x4(239.596924f, -80.70819f, -391.0335f, -478.227142f, 166.860474f, -291.1745f, -389.396667f, -52.13214f, 35.75531f, 356.052124f, 6.52948f, -285.349823f, 418.016479f, 47.1428833f, 31.4516f, 148.9469f);
TestUtils.AreEqual(r2, a2++);
float4x4 a3 = float4x4(-219.800385f, 448.954224f, -32.54605f, 441.9734f, -128.249451f, -472.44f, -91.87564f, 72.45532f, -472.57312f, 300.0232f, 246.003113f, 288.0287f, -461.3402f, 495.501038f, -226.475372f, -241.579865f);
float4x4 r3 = float4x4(-219.800385f, 448.954224f, -32.54605f, 441.9734f, -128.249451f, -472.44f, -91.87564f, 72.45532f, -472.57312f, 300.0232f, 246.003113f, 288.0287f, -461.3402f, 495.501038f, -226.475372f, -241.579865f);
TestUtils.AreEqual(r3, a3++);
}
[TestCompiler]
public static void float4x4_operator_prefix_dec()
{
float4x4 a0 = float4x4(123.128723f, 256.84375f, 156.330811f, 461.737427f, 325.867981f, 392.015625f, 187.874146f, -236.225189f, 125.109619f, 469.844727f, 45.5366821f, 376.046875f, -363.0755f, -22.0289612f, 248.7901f, 168.095032f);
float4x4 r0 = float4x4(122.128723f, 255.84375f, 155.330811f, 460.737427f, 324.867981f, 391.015625f, 186.874146f, -237.225189f, 124.109619f, 468.844727f, 44.5366821f, 375.046875f, -364.0755f, -23.0289612f, 247.7901f, 167.095032f);
TestUtils.AreEqual(r0, --a0);
float4x4 a1 = float4x4(168.265625f, 166.945557f, 183.957947f, 485.6947f, -460.739319f, 89.5698853f, -267.4298f, 201.756226f, -141.216888f, -217.4841f, 197.361755f, -213.544128f, 180.7406f, -128.3125f, 478.045532f, -454.566132f);
float4x4 r1 = float4x4(167.265625f, 165.945557f, 182.957947f, 484.6947f, -461.739319f, 88.5698853f, -268.4298f, 200.756226f, -142.216888f, -218.4841f, 196.361755f, -214.544128f, 179.7406f, -129.3125f, 477.045532f, -455.566132f);
TestUtils.AreEqual(r1, --a1);
float4x4 a2 = float4x4(-386.898346f, -315.110443f, -108.28656f, -286.317017f, -375.601563f, -87.60596f, 78.27545f, 161.531982f, -346.847961f, -57.54077f, 455.372864f, 444.798157f, 129.820129f, 134.710632f, 61.322998f, -274.543335f);
float4x4 r2 = float4x4(-387.898346f, -316.110443f, -109.28656f, -287.317017f, -376.601563f, -88.60596f, 77.27545f, 160.531982f, -347.847961f, -58.54077f, 454.372864f, 443.798157f, 128.820129f, 133.710632f, 60.322998f, -275.543335f);
TestUtils.AreEqual(r2, --a2);
float4x4 a3 = float4x4(-43.39557f, 211.510681f, -161.216339f, 149.434021f, 90.4324951f, -344.726135f, -88.23938f, -252.0188f, -44.91513f, 97.4996948f, 502.5124f, 489.3189f, 456.369019f, 86.15723f, 79.49109f, 318.612976f);
float4x4 r3 = float4x4(-44.39557f, 210.510681f, -162.216339f, 148.434021f, 89.4324951f, -345.726135f, -89.23938f, -253.0188f, -45.91513f, 96.4996948f, 501.5124f, 488.3189f, 455.369019f, 85.15723f, 78.49109f, 317.612976f);
TestUtils.AreEqual(r3, --a3);
}
[TestCompiler]
public static void float4x4_operator_postfix_dec()
{
float4x4 a0 = float4x4(379.6883f, 302.692871f, -176.07135f, -291.2527f, 470.567566f, -402.925964f, -63.65515f, 355.2611f, -27.8892212f, -100.761841f, 156.14032f, 479.9452f, -200.304291f, -445.026947f, 407.420349f, 327.670349f);
float4x4 r0 = float4x4(379.6883f, 302.692871f, -176.07135f, -291.2527f, 470.567566f, -402.925964f, -63.65515f, 355.2611f, -27.8892212f, -100.761841f, 156.14032f, 479.9452f, -200.304291f, -445.026947f, 407.420349f, 327.670349f);
TestUtils.AreEqual(r0, a0--);
float4x4 a1 = float4x4(48.06018f, -38.43506f, 283.9416f, -94.80209f, 152.510681f, -287.2625f, -215.948029f, -407.046356f, 159.233582f, -359.456482f, 168.41394f, -278.933777f, 289.912842f, 402.039551f, 470.716553f, -208.560608f);
float4x4 r1 = float4x4(48.06018f, -38.43506f, 283.9416f, -94.80209f, 152.510681f, -287.2625f, -215.948029f, -407.046356f, 159.233582f, -359.456482f, 168.41394f, -278.933777f, 289.912842f, 402.039551f, 470.716553f, -208.560608f);
TestUtils.AreEqual(r1, a1--);
float4x4 a2 = float4x4(145.896729f, -274.570831f, -250.04126f, -70.85629f, -485.627838f, -341.094543f, -503.192078f, 397.648621f, 446.621582f, -292.81012f, 126.6225f, -250.442413f, 470.816467f, 26.9436035f, -186.923523f, 45.7460938f);
float4x4 r2 = float4x4(145.896729f, -274.570831f, -250.04126f, -70.85629f, -485.627838f, -341.094543f, -503.192078f, 397.648621f, 446.621582f, -292.81012f, 126.6225f, -250.442413f, 470.816467f, 26.9436035f, -186.923523f, 45.7460938f);
TestUtils.AreEqual(r2, a2--);
float4x4 a3 = float4x4(-206.455963f, -350.94812f, -92.1842041f, -37.5095825f, 114.516663f, 77.95538f, -472.1233f, -396.2063f, -200.665985f, 468.530518f, 279.9309f, 122.194885f, 194.197937f, 9.198608f, 197.423828f, 176.5058f);
float4x4 r3 = float4x4(-206.455963f, -350.94812f, -92.1842041f, -37.5095825f, 114.516663f, 77.95538f, -472.1233f, -396.2063f, -200.665985f, 468.530518f, 279.9309f, 122.194885f, 194.197937f, 9.198608f, 197.423828f, 176.5058f);
TestUtils.AreEqual(r3, a3--);
}
}
}

View File

@@ -0,0 +1,525 @@
using NUnit.Framework;
using static Unity.Mathematics.math;
using Burst.Compiler.IL.Tests;
using System;
namespace Unity.Mathematics.Tests
{
[TestFixture]
public partial class TestHalf
{
[TestCompiler]
public static void half_zero()
{
TestUtils.AreEqual(0x0000, half.zero.value);
}
[TestCompiler]
public static void half2_zero()
{
TestUtils.AreEqual(0x0000, half2.zero.x.value);
TestUtils.AreEqual(0x0000, half2.zero.y.value);
}
[TestCompiler]
public static void half3_zero()
{
TestUtils.AreEqual(0x0000, half3.zero.x.value);
TestUtils.AreEqual(0x0000, half3.zero.y.value);
TestUtils.AreEqual(0x0000, half3.zero.z.value);
}
[TestCompiler]
public static void half4_zero()
{
TestUtils.AreEqual(0x0000, half4.zero.x.value);
TestUtils.AreEqual(0x0000, half4.zero.y.value);
TestUtils.AreEqual(0x0000, half4.zero.z.value);
TestUtils.AreEqual(0x0000, half4.zero.w.value);
}
[TestCompiler]
public static void half_from_float_construction()
{
TestUtils.AreEqual(0x0000, half(0.0f).value);
TestUtils.AreEqual(0x0000, half(2.98e-08f).value);
TestUtils.AreEqual(0x0001, half(5.96046448e-08f).value);
TestUtils.AreEqual(0x57B6, half(123.4f).value);
TestUtils.AreEqual(0x7BFF, half(65504.0f).value);
TestUtils.AreEqual(0x7C00, half(65520.0f).value);
TestUtils.AreEqual(0x7C00, half(float.PositiveInfinity).value);
TestUtils.AreEqual(0xFE00, half(TestUtils.SignedFloatQNaN()).value);
TestUtils.AreEqual(0x8000, half(-2.98e-08f).value);
TestUtils.AreEqual(0x8001, half(-5.96046448e-08f).value);
TestUtils.AreEqual(0xD7B6, half(-123.4f).value);
TestUtils.AreEqual(0xFBFF, half(-65504.0f).value);
TestUtils.AreEqual(0xFC00, half(-65520.0f).value);
TestUtils.AreEqual(0xFC00, half(float.NegativeInfinity).value);
}
[TestCompiler]
[WindowsOnly("Mono on linux ignores signed zero.")]
public static void half_from_float_construction_signed_zero()
{
TestUtils.AreEqual(0x8000, half(TestUtils.SignedFloatZero()).value);
}
[TestCompiler]
public static void half2_from_float2_construction()
{
half2 h0 = half2(float2(0.0f, 2.98e-08f));
half2 h1 = half2(float2(5.96046448e-08f, 123.4f));
half2 h2 = half2(float2(65504.0f, 65520.0f));
half2 h3 = half2(float2(float.PositiveInfinity, TestUtils.SignedFloatQNaN()));
half2 h4 = half2(float2(-2.98e-08f, -5.96046448e-08f));
half2 h5 = half2(float2(-123.4f, -65504.0f));
half2 h6 = half2(float2(-65520.0f, float.NegativeInfinity));
half2 h7 = half2(float2(float.NegativeInfinity, 0.0f));
TestUtils.AreEqual(uint2(0x0000, 0x0000), uint2(h0.x.value, h0.y.value));
TestUtils.AreEqual(uint2(0x0001, 0x57B6), uint2(h1.x.value, h1.y.value));
TestUtils.AreEqual(uint2(0x7BFF, 0x7C00), uint2(h2.x.value, h2.y.value));
TestUtils.AreEqual(uint2(0x7C00, 0xFE00), uint2(h3.x.value, h3.y.value));
TestUtils.AreEqual(uint2(0x8000, 0x8001), uint2(h4.x.value, h4.y.value));
TestUtils.AreEqual(uint2(0xD7B6, 0xFBFF), uint2(h5.x.value, h5.y.value));
TestUtils.AreEqual(uint2(0xFC00, 0xFC00), uint2(h6.x.value, h6.y.value));
TestUtils.AreEqual(uint2(0xFC00, 0x0000), uint2(h7.x.value, h7.y.value));
}
[TestCompiler]
[WindowsOnly("Mono on linux ignores signed zero.")]
public static void half2_from_float2_construction_signed_zero()
{
half2 h0 = half2(float2(TestUtils.SignedFloatZero(), TestUtils.SignedFloatZero()));
TestUtils.AreEqual(uint2(0x8000, 0x8000), uint2(h0.x.value, h0.y.value));
}
[TestCompiler]
public static void half3_from_float3_construction()
{
half3 h0 = half3(float3(0.0f, 2.98e-08f, 5.96046448e-08f));
half3 h1 = half3(float3(123.4f, 65504.0f, 65520.0f));
half3 h2 = half3(float3(float.PositiveInfinity, TestUtils.SignedFloatQNaN(), -2.98e-08f));
half3 h3 = half3(float3(-5.96046448e-08f, -123.4f, -65504.0f));
half3 h4 = half3(float3(-65520.0f, float.NegativeInfinity, 0.0f));
TestUtils.AreEqual(uint3(0x0000, 0x0000, 0x0001), uint3(h0.x.value, h0.y.value, h0.z.value));
TestUtils.AreEqual(uint3(0x57B6, 0x7BFF, 0x7C00), uint3(h1.x.value, h1.y.value, h1.z.value));
TestUtils.AreEqual(uint3(0x7C00, 0xFE00, 0x8000), uint3(h2.x.value, h2.y.value, h2.z.value));
TestUtils.AreEqual(uint3(0x8001, 0xD7B6, 0xFBFF), uint3(h3.x.value, h3.y.value, h3.z.value));
TestUtils.AreEqual(uint3(0xFC00, 0xFC00, 0x0000), uint3(h4.x.value, h4.y.value, h4.z.value));
}
[TestCompiler]
[WindowsOnly("Mono on linux ignores signed zero.")]
public static void half3_from_float3_construction_signed_zero()
{
half3 h0 = half3(float3(TestUtils.SignedFloatZero(), TestUtils.SignedFloatZero(), TestUtils.SignedFloatZero()));
TestUtils.AreEqual(uint3(0x8000, 0x8000, 0x8000), uint3(h0.x.value, h0.y.value, h0.z.value));
}
[TestCompiler]
public static void half4_from_float4_construction()
{
half4 h0 = half4(float4(0.0f, 2.98e-08f, 5.96046448e-08f, 123.4f));
half4 h1 = half4(float4(65504.0f, 65520.0f, float.PositiveInfinity, TestUtils.SignedFloatQNaN()));
half4 h2 = half4(float4(-2.98e-08f, -5.96046448e-08f, -123.4f, -65504.0f));
half4 h3 = half4(float4(-65520.0f, float.NegativeInfinity, float.NegativeInfinity, 0.0f));
TestUtils.AreEqual(uint4(0x0000, 0x0000, 0x0001, 0x57B6), uint4(h0.x.value, h0.y.value, h0.z.value, h0.w.value));
TestUtils.AreEqual(uint4(0x7BFF, 0x7C00, 0x7C00, 0xFE00), uint4(h1.x.value, h1.y.value, h1.z.value, h1.w.value));
TestUtils.AreEqual(uint4(0x8000, 0x8001, 0xD7B6, 0xFBFF), uint4(h2.x.value, h2.y.value, h2.z.value, h2.w.value));
TestUtils.AreEqual(uint4(0xFC00, 0xFC00, 0xFC00, 0x0000), uint4(h3.x.value, h3.y.value, h3.z.value, h3.w.value));
}
[TestCompiler]
[WindowsOnly("Mono on linux ignores signed zero.")]
public static void half4_from_float4_construction_signed_zero()
{
half4 h0 = half4(float4(TestUtils.SignedFloatZero(), TestUtils.SignedFloatZero(), TestUtils.SignedFloatZero(), TestUtils.SignedFloatZero()));
TestUtils.AreEqual(uint4(0x8000, 0x8000, 0x8000, 0x8000), uint4(h0.x.value, h0.y.value, h0.z.value, h0.w.value));
}
[TestCompiler]
public static void half_from_double_construction()
{
TestUtils.AreEqual(0x0000, half(0.0).value);
TestUtils.AreEqual(0x0000, half(2.98e-08).value);
TestUtils.AreEqual(0x0001, half(5.96046448e-08).value);
TestUtils.AreEqual(0x57B6, half(123.4).value);
TestUtils.AreEqual(0x7BFF, half(65504.0).value);
TestUtils.AreEqual(0x7C00, half(65520.0).value);
TestUtils.AreEqual(0x7C00, half(double.PositiveInfinity).value);
TestUtils.AreEqual(0xFE00, half(TestUtils.SignedDoubleQNaN()).value);
TestUtils.AreEqual(0x8000, half(-2.98e-08).value);
TestUtils.AreEqual(0x8001, half(-5.96046448e-08).value);
TestUtils.AreEqual(0xD7B6, half(-123.4).value);
TestUtils.AreEqual(0xFBFF, half(-65504.0).value);
TestUtils.AreEqual(0xFC00, half(-65520.0).value);
TestUtils.AreEqual(0xFC00, half(double.NegativeInfinity).value);
}
[TestCompiler]
[WindowsOnly("Mono on linux ignores signed zero.")]
public static void half_from_double_construction_signed_zero()
{
TestUtils.AreEqual(0x8000, half(TestUtils.SignedDoubleZero()).value);
}
[TestCompiler]
public static void half2_from_double2_construction()
{
half2 h0 = half2(double2(0.0, 2.98e-08));
half2 h1 = half2(double2(5.96046448e-08, 123.4));
half2 h2 = half2(double2(65504.0, 65520.0));
half2 h3 = half2(double2(double.PositiveInfinity, TestUtils.SignedDoubleQNaN()));
half2 h4 = half2(double2(-2.98e-08, -5.96046448e-08));
half2 h5 = half2(double2(-123.4, -65504.0));
half2 h6 = half2(double2(-65520.0, double.NegativeInfinity));
half2 h7 = half2(double2(double.NegativeInfinity, 0.0));
TestUtils.AreEqual(uint2(0x0000, 0x0000), uint2(h0.x.value, h0.y.value));
TestUtils.AreEqual(uint2(0x0001, 0x57B6), uint2(h1.x.value, h1.y.value));
TestUtils.AreEqual(uint2(0x7BFF, 0x7C00), uint2(h2.x.value, h2.y.value));
TestUtils.AreEqual(uint2(0x7C00, 0xFE00), uint2(h3.x.value, h3.y.value));
TestUtils.AreEqual(uint2(0x8000, 0x8001), uint2(h4.x.value, h4.y.value));
TestUtils.AreEqual(uint2(0xD7B6, 0xFBFF), uint2(h5.x.value, h5.y.value));
TestUtils.AreEqual(uint2(0xFC00, 0xFC00), uint2(h6.x.value, h6.y.value));
TestUtils.AreEqual(uint2(0xFC00, 0x0000), uint2(h7.x.value, h7.y.value));
}
[TestCompiler]
[WindowsOnly("Mono on linux ignores signed zero.")]
public static void half2_from_double2_construction_signed_zero()
{
half2 h0 = half2(double2(TestUtils.SignedDoubleZero(), TestUtils.SignedDoubleZero()));
TestUtils.AreEqual(uint2(0x8000, 0x8000), uint2(h0.x.value, h0.y.value));
}
[TestCompiler]
public static void half3_from_double3_construction()
{
half3 h0 = half3(double3(0.0, 2.98e-08, 5.96046448e-08));
half3 h1 = half3(double3(123.4, 65504.0, 65520.0));
half3 h2 = half3(double3(double.PositiveInfinity, TestUtils.SignedDoubleQNaN(), -2.98e-08));
half3 h3 = half3(double3(-5.96046448e-08, -123.4, -65504.0));
half3 h4 = half3(double3(-65520.0, double.NegativeInfinity, 0.0));
TestUtils.AreEqual(uint3(0x0000, 0x0000, 0x0001), uint3(h0.x.value, h0.y.value, h0.z.value));
TestUtils.AreEqual(uint3(0x57B6, 0x7BFF, 0x7C00), uint3(h1.x.value, h1.y.value, h1.z.value));
TestUtils.AreEqual(uint3(0x7C00, 0xFE00, 0x8000), uint3(h2.x.value, h2.y.value, h2.z.value));
TestUtils.AreEqual(uint3(0x8001, 0xD7B6, 0xFBFF), uint3(h3.x.value, h3.y.value, h3.z.value));
TestUtils.AreEqual(uint3(0xFC00, 0xFC00, 0x0000), uint3(h4.x.value, h4.y.value, h4.z.value));
}
[TestCompiler]
[WindowsOnly("Mono on linux ignores signed zero.")]
public static void half3_from_double3_construction_signed_zero()
{
half3 h0 = half3(double3(TestUtils.SignedDoubleZero(), TestUtils.SignedDoubleZero(), TestUtils.SignedDoubleZero()));
TestUtils.AreEqual(uint3(0x8000, 0x8000, 0x8000), uint3(h0.x.value, h0.y.value, h0.z.value));
}
[TestCompiler]
public static void half4_from_double4_construction()
{
half4 h0 = half4(double4(0.0, 2.98e-08, 5.96046448e-08, 123.4));
half4 h1 = half4(double4(65504.0, 65520.0, double.PositiveInfinity, TestUtils.SignedDoubleQNaN()));
half4 h2 = half4(double4(-2.98e-08, -5.96046448e-08, -123.4, -65504.0));
half4 h3 = half4(double4(-65520.0, double.NegativeInfinity, double.NegativeInfinity, 0.0));
TestUtils.AreEqual(uint4(0x0000, 0x0000, 0x0001, 0x57B6), uint4(h0.x.value, h0.y.value, h0.z.value, h0.w.value));
TestUtils.AreEqual(uint4(0x7BFF, 0x7C00, 0x7C00, 0xFE00), uint4(h1.x.value, h1.y.value, h1.z.value, h1.w.value));
TestUtils.AreEqual(uint4(0x8000, 0x8001, 0xD7B6, 0xFBFF), uint4(h2.x.value, h2.y.value, h2.z.value, h2.w.value));
TestUtils.AreEqual(uint4(0xFC00, 0xFC00, 0xFC00, 0x0000), uint4(h3.x.value, h3.y.value, h3.z.value, h3.w.value));
}
[TestCompiler]
[WindowsOnly("Mono on linux ignores signed zero.")]
public static void half4_from_double4_construction_signed_zero()
{
half4 h0 = half4(double4(TestUtils.SignedDoubleZero(), TestUtils.SignedDoubleZero(), TestUtils.SignedDoubleZero(), TestUtils.SignedDoubleZero()));
TestUtils.AreEqual(uint4(0x8000, 0x8000, 0x8000, 0x8000), uint4(h0.x.value, h0.y.value, h0.z.value, h0.w.value));
}
[TestCompiler]
public static void half_to_float()
{
TestUtils.AreEqual(0x00000000, asuint(new half { value = 0x0000 }));
TestUtils.AreEqual(0x3800C000, asuint(new half { value = 0x0203 }));
TestUtils.AreEqual(0x40642000, asuint(new half { value = 0x4321 }));
TestUtils.AreEqual(0x477FE000, asuint(new half { value = 0x7BFF }));
TestUtils.AreEqual(0x7F800000, asuint(new half { value = 0x7C00 }));
TestUtils.AreEqual(true, isnan(new half { value = 0x7C01 }));
TestUtils.AreEqual(0x80000000, asuint(new half { value = 0x8000 }));
TestUtils.AreEqual(0xB800C000, asuint(new half { value = 0x8203 }));
TestUtils.AreEqual(0xC0642000, asuint(new half { value = 0xC321 }));
TestUtils.AreEqual(0xC77FE000, asuint(new half { value = 0xFBFF }));
TestUtils.AreEqual(0xFF800000, asuint(new half { value = 0xFC00 }));
TestUtils.AreEqual(true, isnan(new half { value = 0xFC01 }));
}
[TestCompiler]
public static void half2_to_float2()
{
half2 h0; h0.x.value = 0x0000; h0.y.value = 0x0203;
half2 h1; h1.x.value = 0x4321; h1.y.value = 0x7BFF;
half2 h2; h2.x.value = 0x7C00; h2.y.value = 0x7C00;
half2 h3; h3.x.value = 0x7C01; h3.y.value = 0x7C01;
half2 h4; h4.x.value = 0x8000; h4.y.value = 0x8203;
half2 h5; h5.x.value = 0xC321; h5.y.value = 0xFBFF;
half2 h6; h6.x.value = 0xFC00; h6.y.value = 0xFC00;
half2 h7; h7.x.value = 0xFC01; h7.y.value = 0xFC01;
TestUtils.AreEqual(uint2(0x00000000, 0x3800C000), asuint(h0));
TestUtils.AreEqual(uint2(0x40642000, 0x477FE000), asuint(h1));
TestUtils.AreEqual(uint2(0x7F800000, 0x7F800000), asuint(h2));
TestUtils.AreEqual(true, all(isnan(h3)));
TestUtils.AreEqual(uint2(0x80000000, 0xB800C000), asuint(h4));
TestUtils.AreEqual(uint2(0xC0642000, 0xC77FE000), asuint(h5));
TestUtils.AreEqual(uint2(0xFF800000, 0xFF800000), asuint(h6));
TestUtils.AreEqual(true, all(isnan(h7)));
}
[TestCompiler]
public static void half3_to_float3()
{
half3 h0; h0.x.value = 0x0000; h0.y.value = 0x0203; h0.z.value = 0x4321;
half3 h1; h1.x.value = 0x7BFF; h1.y.value = 0x7C00; h1.z.value = 0x7C00;
half3 h2; h2.x.value = 0x7C01; h2.y.value = 0x7C01; h2.z.value = 0x7C01;
half3 h3; h3.x.value = 0x8000; h3.y.value = 0x8203; h3.z.value = 0xC321;
half3 h4; h4.x.value = 0xFBFF; h4.y.value = 0xFC00; h4.z.value = 0xFC00;
half3 h5; h5.x.value = 0xFC01; h5.y.value = 0xFC01; h5.z.value = 0xFC01;
TestUtils.AreEqual(uint3(0x00000000, 0x3800C000, 0x40642000), asuint(h0));
TestUtils.AreEqual(uint3(0x477FE000, 0x7F800000, 0x7F800000), asuint(h1));
TestUtils.AreEqual(true, all(isnan(h2)));
TestUtils.AreEqual(uint3(0x80000000, 0xB800C000, 0xC0642000), asuint(h3));
TestUtils.AreEqual(uint3(0xC77FE000, 0xFF800000, 0xFF800000), asuint(h4));
TestUtils.AreEqual(true, all(isnan(h5)));
}
[TestCompiler]
public static void half4_to_float4()
{
half4 h0; h0.x.value = 0x0000; h0.y.value = 0x0203; h0.z.value = 0x4321; h0.w.value = 0x7BFF;
half4 h1; h1.x.value = 0x7C00; h1.y.value = 0x7C00; h1.z.value = 0x7C00; h1.w.value = 0x7C00;
half4 h2; h2.x.value = 0x7C01; h2.y.value = 0x7C01; h2.z.value = 0x7C01; h2.w.value = 0x7C01;
half4 h3; h3.x.value = 0x8000; h3.y.value = 0x8203; h3.z.value = 0xC321; h3.w.value = 0xFBFF;
half4 h4; h4.x.value = 0xFC00; h4.y.value = 0xFC00; h4.z.value = 0xFC00; h4.w.value = 0xFC00;
half4 h5; h5.x.value = 0xFC01; h5.y.value = 0xFC01; h5.z.value = 0xFC01; h5.w.value = 0xFC01;
TestUtils.AreEqual(uint4(0x00000000, 0x3800C000, 0x40642000, 0x477FE000), asuint(h0));
TestUtils.AreEqual(uint4(0x7F800000, 0x7F800000, 0x7F800000, 0x7F800000), asuint(h1));
TestUtils.AreEqual(true, all(isnan(h2)));
TestUtils.AreEqual(uint4(0x80000000, 0xB800C000, 0xC0642000, 0xC77FE000), asuint(h3));
TestUtils.AreEqual(uint4(0xFF800000, 0xFF800000, 0xFF800000, 0xFF800000), asuint(h4));
TestUtils.AreEqual(true, all(isnan(h5)));
}
[TestCompiler]
public static void half_to_double()
{
TestUtils.AreEqual(0x0000000000000000u, asulong((double)new half { value = 0x0000 }));
TestUtils.AreEqual(0x3F00180000000000u, asulong((double)new half { value = 0x0203 }));
TestUtils.AreEqual(0x400C840000000000u, asulong((double)new half { value = 0x4321 }));
TestUtils.AreEqual(0x40eFFC0000000000u, asulong((double)new half { value = 0x7BFF }));
TestUtils.AreEqual(0x7FF0000000000000u, asulong((double)new half { value = 0x7C00 }));
TestUtils.AreEqual(true, isnan((double)new half { value = 0x7C01 }));
TestUtils.AreEqual(0x8000000000000000u, asulong((double)new half { value = 0x8000 }));
TestUtils.AreEqual(0xBF00180000000000u, asulong((double)new half { value = 0x8203 }));
TestUtils.AreEqual(0xC00C840000000000u, asulong((double)new half { value = 0xC321 }));
TestUtils.AreEqual(0xC0eFFC0000000000u, asulong((double)new half { value = 0xFBFF }));
TestUtils.AreEqual(0xFFF0000000000000u, asulong((double)new half { value = 0xFC00 }));
TestUtils.AreEqual(true, isnan((double)new half { value = 0xFC01 }));
}
[TestCompiler]
public static void half_from_float_explicit_conversion()
{
half h = (half)123.4f;
TestUtils.AreEqual(0x57B6, h.value);
}
[TestCompiler]
public static void half2_from_float2_explicit_conversion()
{
half2 h = (half2)float2(123.4f, 5.96046448e-08f);
TestUtils.AreEqual(0x57B6, h.x.value);
TestUtils.AreEqual(0x0001, h.y.value);
}
[TestCompiler]
public static void half3_from_float3_explicit_conversion()
{
half3 h = (half3)float3(123.4f, 5.96046448e-08f, -65504.0f);
TestUtils.AreEqual(0x57B6, h.x.value);
TestUtils.AreEqual(0x0001, h.y.value);
TestUtils.AreEqual(0xFBFF, h.z.value);
}
[TestCompiler]
public static void half4_from_float4_explicit_conversion()
{
half4 h = (half4)float4(123.4f, 5.96046448e-08f, -65504.0f, float.PositiveInfinity);
TestUtils.AreEqual(0x57B6, h.x.value);
TestUtils.AreEqual(0x0001, h.y.value);
TestUtils.AreEqual(0xFBFF, h.z.value);
TestUtils.AreEqual(0x7C00, h.w.value);
}
[TestCompiler]
public static void half_from_double_explicit_conversion()
{
half h = (half)123.4;
TestUtils.AreEqual(0x57B6, h.value);
}
[TestCompiler]
public static void half_to_float_implicit_conversion()
{
half h; h.value = 0x0203;
float f = h;
TestUtils.AreEqual(0x3800C000, asuint(f));
}
[TestCompiler]
public static void half2_to_float2_implicit_conversion()
{
half2 h; h.x.value = 0x0203; h.y.value = 0x8203;
float2 f = h;
TestUtils.AreEqual(0x3800C000, asuint(f.x));
TestUtils.AreEqual(0xB800C000, asuint(f.y));
}
[TestCompiler]
public static void half3_to_float3_implicit_conversion()
{
half3 h; h.x.value = 0x0203; h.y.value = 0x8203; h.z.value = 0x7BFF;
float3 f = h;
TestUtils.AreEqual(0x3800C000, asuint(f.x));
TestUtils.AreEqual(0xB800C000, asuint(f.y));
TestUtils.AreEqual(0x477FE000, asuint(f.z));
}
[TestCompiler]
public static void half4_to_float4_implicit_conversion()
{
half4 h; h.x.value = 0x0203; h.y.value = 0x8203; h.z.value = 0x7BFF; h.w.value = 0x7C00;
float4 f = h;
TestUtils.AreEqual(0x3800C000, asuint(f.x));
TestUtils.AreEqual(0xB800C000, asuint(f.y));
TestUtils.AreEqual(0x477FE000, asuint(f.z));
TestUtils.AreEqual(0x7F800000, asuint(f.w));
}
[TestCompiler]
public static void half_to_double_implicit_conversion()
{
half h; h.value = 0x0203;
double f = h;
TestUtils.AreEqual(0x3F00180000000000u, asulong(f));
}
[TestCompiler]
public static void half_minvalue()
{
half min = new half(half.MinValue);
TestUtils.AreEqual(0xfbff, min.value);
}
[TestCompiler]
public static void half_maxvalue()
{
half max = new half(half.MaxValue);
TestUtils.AreEqual(0x7bff, max.value);
}
[TestCompiler]
public static void half_minvalueashalf()
{
TestUtils.AreEqual(0xfbff, half.MinValueAsHalf.value);
}
[TestCompiler]
public static void half_maxvalueashalf()
{
TestUtils.AreEqual(0x7bff, half.MaxValueAsHalf.value);
}
[TestCompiler]
public static void half2_minvalue()
{
half2 min = half.MinValueAsHalf;
TestUtils.AreEqual(0xfbff, min.x.value);
TestUtils.AreEqual(0xfbff, min.y.value);
}
[TestCompiler]
public static void half2_maxvalue()
{
half2 max = half.MaxValueAsHalf;
TestUtils.AreEqual(0x7bff, max.x.value);
TestUtils.AreEqual(0x7bff, max.y.value);
}
[TestCompiler]
public static void half3_minvalue()
{
half3 min = half.MinValueAsHalf;
TestUtils.AreEqual(0xfbff, min.x.value);
TestUtils.AreEqual(0xfbff, min.y.value);
TestUtils.AreEqual(0xfbff, min.z.value);
}
[TestCompiler]
public static void half3_maxvalue()
{
half3 max = half.MaxValueAsHalf;
TestUtils.AreEqual(0x7bff, max.x.value);
TestUtils.AreEqual(0x7bff, max.y.value);
TestUtils.AreEqual(0x7bff, max.z.value);
}
[TestCompiler]
public static void half4_minvalue()
{
half4 min = half.MinValueAsHalf;
TestUtils.AreEqual(0xfbff, min.x.value);
TestUtils.AreEqual(0xfbff, min.y.value);
TestUtils.AreEqual(0xfbff, min.z.value);
TestUtils.AreEqual(0xfbff, min.w.value);
}
[TestCompiler]
public static void half4_maxvalue()
{
half4 max = half.MaxValueAsHalf;
TestUtils.AreEqual(0x7bff, max.x.value);
TestUtils.AreEqual(0x7bff, max.y.value);
TestUtils.AreEqual(0x7bff, max.z.value);
TestUtils.AreEqual(0x7bff, max.w.value);
}
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,536 @@
using System;
using NUnit.Framework;
using static Unity.Mathematics.math;
using Unity.Mathematics.Geometry;
using Burst.Compiler.IL.Tests;
namespace Unity.Mathematics.Tests
{
[TestFixture]
public class TestMinMaxAABB
{
[TestCompiler]
public static void Encapsulate_float3_trivial()
{
var aabb = new MinMaxAABB();
aabb.Encapsulate(float3.zero);
TestUtils.AreEqual(float3.zero, aabb.Min);
TestUtils.AreEqual(float3.zero, aabb.Max);
}
[TestCompiler]
public static void Encapsulate_float3_new_max()
{
var aabb = new MinMaxAABB();
aabb.Encapsulate(new float3(1.0f));
TestUtils.AreEqual(float3.zero, aabb.Min);
TestUtils.AreEqual(new float3(1.0f), aabb.Max);
}
[TestCompiler]
public static void Encapsulate_float3_new_min()
{
var aabb = new MinMaxAABB();
aabb.Encapsulate(new float3(-1.0f));
TestUtils.AreEqual(float3.zero, aabb.Max);
TestUtils.AreEqual(new float3(-1.0f), aabb.Min);
}
[TestCompiler]
public static void Encapsulate_float3_new_minx_maxyz()
{
var aabb = new MinMaxAABB();
aabb.Encapsulate(new float3(-1.0f, 1.0f, 1.0f));
TestUtils.AreEqual(new float3(-1.0f, 0.0f, 0.0f), aabb.Min);
TestUtils.AreEqual(new float3(0.0f, 1.0f, 1.0f), aabb.Max);
}
[TestCompiler]
public static void Encapsulate_float3_new_minxy_maxz()
{
var aabb = new MinMaxAABB();
aabb.Encapsulate(new float3(-1.0f, -1.0f, 1.0f));
TestUtils.AreEqual(new float3(-1.0f, -1.0f, 0.0f), aabb.Min);
TestUtils.AreEqual(new float3(0.0f, 0.0f, 1.0f), aabb.Max);
}
[TestCompiler]
public static void Encapsulate_float3_new_minxz_maxy()
{
var aabb = new MinMaxAABB();
aabb.Encapsulate(new float3(-1.0f, 1.0f, -1.0f));
TestUtils.AreEqual(new float3(-1.0f, 0.0f, -1.0f), aabb.Min);
TestUtils.AreEqual(new float3(0.0f, 1.0f, 0.0f), aabb.Max);
}
[TestCompiler]
public static void Encapsulate_float3_new_minz_maxxy()
{
var aabb = new MinMaxAABB();
aabb.Encapsulate(new float3(1.0f, 1.0f, -1.0f));
TestUtils.AreEqual(new float3(0.0f, 0.0f, -1.0f), aabb.Min);
TestUtils.AreEqual(new float3(1.0f, 1.0f, 0.0f), aabb.Max);
}
[TestCompiler]
public static void Encapsulate_float3_new_miny_maxxz()
{
var aabb = new MinMaxAABB();
aabb.Encapsulate(new float3(1.0f, -1.0f, 1.0f));
TestUtils.AreEqual(new float3(0.0f, -1.0f, 0.0f), aabb.Min);
TestUtils.AreEqual(new float3(1.0f, 0.0f, 1.0f), aabb.Max);
}
[TestCompiler]
public static void Encapsulate_MinMaxAABB_trivial()
{
var aabb = new MinMaxAABB();
aabb.Encapsulate(new MinMaxAABB());
TestUtils.AreEqual(float3.zero, aabb.Min);
TestUtils.AreEqual(float3.zero, aabb.Max);
}
[TestCompiler]
public static void Encapsulate_MinMaxAABB_new_max()
{
var aabb = new MinMaxAABB();
var p = new float3(1.0f);
aabb.Encapsulate(new MinMaxAABB { Max = p });
TestUtils.AreEqual(float3.zero, aabb.Min);
TestUtils.AreEqual(p, aabb.Max);
}
[TestCompiler]
public static void Encapsulate_MinMaxAABB_new_min()
{
var aabb = new MinMaxAABB();
var p = new float3(-1.0f);
aabb.Encapsulate(new MinMaxAABB { Min = p });
TestUtils.AreEqual(float3.zero, aabb.Max);
TestUtils.AreEqual(p, aabb.Min);
}
[TestCompiler]
public static void Encapsulate_MinMaxAABB_new_minx_maxyz()
{
var aabb = new MinMaxAABB();
aabb.Encapsulate(new MinMaxAABB { Min = new float3(-1.0f, 0.0f, 0.0f), Max = new float3(0.0f, 1.0f, 1.0f) });
TestUtils.AreEqual(new float3(-1.0f, 0.0f, 0.0f), aabb.Min);
TestUtils.AreEqual(new float3(0.0f, 1.0f, 1.0f), aabb.Max);
}
[TestCompiler]
public static void Encapsulate_MinMaxAABB_new_minxy_maxz()
{
var aabb = new MinMaxAABB();
aabb.Encapsulate(new MinMaxAABB { Min = new float3(-1.0f, -1.0f, 0.0f), Max = new float3(0.0f, 0.0f, 1.0f) });
TestUtils.AreEqual(new float3(-1.0f, -1.0f, 0.0f), aabb.Min);
TestUtils.AreEqual(new float3(0.0f, 0.0f, 1.0f), aabb.Max);
}
[TestCompiler]
public static void Encapsulate_MinMaxAABB_new_minxz_maxy()
{
var aabb = new MinMaxAABB();
aabb.Encapsulate(new MinMaxAABB { Min = new float3(-1.0f, 0.0f, -1.0f), Max = new float3(0.0f, 1.0f, 0.0f) });
TestUtils.AreEqual(new float3(-1.0f, 0.0f, -1.0f), aabb.Min);
TestUtils.AreEqual(new float3(0.0f, 1.0f, 0.0f), aabb.Max);
}
[TestCompiler]
public static void Encapsulate_MinMaxAABB_new_minz_maxxy()
{
var aabb = new MinMaxAABB();
aabb.Encapsulate(new MinMaxAABB { Min = new float3(0.0f, 0.0f, -1.0f), Max = new float3(1.0f, 1.0f, 0.0f) });
TestUtils.AreEqual(new float3(0.0f, 0.0f, -1.0f), aabb.Min);
TestUtils.AreEqual(new float3(1.0f, 1.0f, 0.0f), aabb.Max);
}
[TestCompiler]
public static void Encapsulate_MinMaxAABB_new_miny_maxxz()
{
var aabb = new MinMaxAABB();
aabb.Encapsulate(new MinMaxAABB { Min = new float3(0.0f, -1.0f, 0.0f), Max = new float3(1.0f, 0.0f, 1.0f) });
TestUtils.AreEqual(new float3(0.0f, -1.0f, 0.0f), aabb.Min);
TestUtils.AreEqual(new float3(1.0f, 0.0f, 1.0f), aabb.Max);
}
[TestCompiler]
public static void Equals_trivial()
{
MinMaxAABB aabb = new MinMaxAABB();
TestUtils.IsTrue(aabb.Equals(aabb));
}
[TestCompiler]
public static void Equals()
{
MinMaxAABB aabb1 = new MinMaxAABB { Min = new float3(-123.0f, 0.5182f, 20.0f), Max = new float3(1.0f, -1.0f, 0.99191f) };
MinMaxAABB aabb2 = aabb1;
TestUtils.IsTrue(aabb1.Equals(aabb2));
TestUtils.IsTrue(aabb2.Equals(aabb1));
}
[TestCompiler]
public static void Equals_diff_minx()
{
MinMaxAABB aabb1 = new MinMaxAABB();
MinMaxAABB aabb2 = new MinMaxAABB { Min = new float3(1.0f, 0.0f, 0.0f) };
TestUtils.IsFalse(aabb1.Equals(aabb2));
TestUtils.IsFalse(aabb2.Equals(aabb1));
}
[TestCompiler]
public static void Equals_diff_miny()
{
MinMaxAABB aabb1 = new MinMaxAABB();
MinMaxAABB aabb2 = new MinMaxAABB { Min = new float3(0.0f, 1.0f, 0.0f) };
TestUtils.IsFalse(aabb1.Equals(aabb2));
TestUtils.IsFalse(aabb2.Equals(aabb1));
}
[TestCompiler]
public static void Equals_diff_minz()
{
MinMaxAABB aabb1 = new MinMaxAABB();
MinMaxAABB aabb2 = new MinMaxAABB { Min = new float3(0.0f, 0.0f, 1.0f) };
TestUtils.IsFalse(aabb1.Equals(aabb2));
TestUtils.IsFalse(aabb2.Equals(aabb1));
}
[TestCompiler]
public static void Equals_diff_maxx()
{
MinMaxAABB aabb1 = new MinMaxAABB();
MinMaxAABB aabb2 = new MinMaxAABB { Max = new float3(1.0f, 0.0f, 0.0f) };
TestUtils.IsFalse(aabb1.Equals(aabb2));
TestUtils.IsFalse(aabb2.Equals(aabb1));
}
[TestCompiler]
public static void Equals_diff_maxy()
{
MinMaxAABB aabb1 = new MinMaxAABB();
MinMaxAABB aabb2 = new MinMaxAABB { Max = new float3(0.0f, 1.0f, 0.0f) };
TestUtils.IsFalse(aabb1.Equals(aabb2));
TestUtils.IsFalse(aabb2.Equals(aabb1));
}
[TestCompiler]
public static void Equals_diff_maxz()
{
MinMaxAABB aabb1 = new MinMaxAABB();
MinMaxAABB aabb2 = new MinMaxAABB { Max = new float3(0.0f, 0.0f, 1.0f) };
TestUtils.IsFalse(aabb1.Equals(aabb2));
TestUtils.IsFalse(aabb2.Equals(aabb1));
}
[TestCompiler]
public static void SurfaceArea()
{
var min = new float3(-47.989063262939453125f, 28.037994384765625f, -9.756519317626953125f);
var max = new float3(43.84253692626953125f, 101.54019927978515625f, -7.03227138519287109375f);
var aabb = new MinMaxAABB { Min = min, Max = max };
TestUtils.AreEqual(14400.470703125f, aabb.SurfaceArea, 1, true);
}
[TestCompiler]
public static void Extents()
{
var min = new float3(48.152984619140625f, -33.58978271484375f, -37.498805999755859375f);
var max = new float3(111.2894439697265625f, -9.473724365234375f, 25.39115142822265625f);
var aabb = new MinMaxAABB { Min = min, Max = max };
var expected = new float3(63.1364593505859375f, 24.116058349609375f, 62.889957427978515625f);
TestUtils.AreEqual(expected, aabb.Extents);
}
[TestCompiler]
public static void Center()
{
var min = new float3(47.902675628662109375f, -34.302494049072265625f, 22.7147884368896484375f);
var max = new float3(84.1039886474609375f, 23.274578094482421875f, 58.204532623291015625f);
var aabb = new MinMaxAABB { Min = min, Max = max };
var expected = new float3(66.00333404541015625f, -5.513957977294921875f, 40.459659576416015625f);
TestUtils.AreEqual(expected, aabb.Center);
}
[TestCompiler]
public static void HalfExtents()
{
var min = new float3(-14.3485383987426757813f, 28.68161773681640625f, -40.28060150146484375f);
var max = new float3(4.26444864273071289063f, 99.3212738037109375f, 27.9023494720458984375f);
var aabb = new MinMaxAABB { Min = min, Max = max };
var expected = new float3(9.3064937591552734375f, 35.319828033447265625f, 34.0914764404296875f);
TestUtils.AreEqual(expected, aabb.HalfExtents);
}
[TestCompiler]
public static void Constructor()
{
var min = new float3(38.95940399169921875f, -24.644245147705078125f, 27.7903194427490234375f);
var max = new float3(71.30234527587890625f, 52.2211151123046875f, 99.07735443115234375f);
var aabb = new MinMaxAABB(min, max);
TestUtils.AreEqual(min, aabb.Min);
TestUtils.AreEqual(max, aabb.Max);
}
[TestCompiler]
public static void ContainsPoint()
{
var aabb = new MinMaxAABB(new float3(-1), new float3(1));
TestUtils.IsTrue(aabb.Contains(float3.zero));
TestUtils.IsTrue(aabb.Contains(aabb.Min));
TestUtils.IsTrue(aabb.Contains(aabb.Max));
TestUtils.IsTrue(aabb.Contains(new float3(0.5f)));
TestUtils.IsTrue(aabb.Contains(new float3(-0.5f)));
TestUtils.IsTrue(aabb.Contains(new float3(-1.0f, 1.0f, 1.0f)));
TestUtils.IsTrue(aabb.Contains(new float3(1.0f, -1.0f, 1.0f)));
TestUtils.IsTrue(aabb.Contains(new float3(1.0f, 1.0f, -1.0f)));
TestUtils.IsFalse(aabb.Contains(new float3(1.0f + EPSILON, 1.0f, 1.0f)));
TestUtils.IsFalse(aabb.Contains(new float3(1.0f, 1.0f + EPSILON, 1.0f)));
TestUtils.IsFalse(aabb.Contains(new float3(1.0f, 1.0f, 1.0f + EPSILON)));
TestUtils.IsFalse(aabb.Contains(new float3(-1.0f - EPSILON, -1.0f, -1.0f)));
TestUtils.IsFalse(aabb.Contains(new float3(-1.0f, -1.0f - EPSILON, -1.0f)));
TestUtils.IsFalse(aabb.Contains(new float3(-1.0f, -1.0f, -1.0f - EPSILON)));
}
[TestCompiler]
public static void ContainsAabb_Trivial()
{
var aabb1 = new MinMaxAABB();
var aabb2 = new MinMaxAABB();
TestUtils.IsTrue(aabb1.Contains(aabb2));
TestUtils.IsTrue(aabb2.Contains(aabb1));
}
[TestCompiler]
public static void ContainsAabb()
{
var aabb1 = new MinMaxAABB(new float3(-1.0f), new float3(1.0f));
var aabb2 = new MinMaxAABB(new float3(-0.5f), new float3(0.5f));
TestUtils.IsTrue(aabb1.Contains(aabb2));
TestUtils.IsFalse(aabb2.Contains(aabb1));
}
[TestCompiler]
public static void ContainsAabb_BarelyNotContained()
{
var aabb1 = new MinMaxAABB(new float3(-1.0f), new float3(1.0f));
var aabb2 = new MinMaxAABB(new float3(-1.0f), new float3(1.0f + EPSILON, 1.0f , 1.0f ));
var aabb3 = new MinMaxAABB(new float3(-1.0f), new float3(1.0f , 1.0f + EPSILON, 1.0f ));
var aabb4 = new MinMaxAABB(new float3(-1.0f), new float3(1.0f , 1.0f , 1.0f + EPSILON));
var aabb5 = new MinMaxAABB(new float3(-1.0f - EPSILON, -1.0f , -1.0f ), new float3(1.0f));
var aabb6 = new MinMaxAABB(new float3(-1.0f , -1.0f - EPSILON, -1.0f ), new float3(1.0f));
var aabb7 = new MinMaxAABB(new float3(-1.0f , -1.0f , -1.0f - EPSILON), new float3(1.0f));
TestUtils.IsFalse(aabb1.Contains(aabb2));
TestUtils.IsFalse(aabb1.Contains(aabb3));
TestUtils.IsFalse(aabb1.Contains(aabb4));
TestUtils.IsFalse(aabb1.Contains(aabb5));
TestUtils.IsFalse(aabb1.Contains(aabb6));
TestUtils.IsFalse(aabb1.Contains(aabb7));
}
[TestCompiler]
public static void Overlap_Trivial()
{
var aabb = new MinMaxAABB();
TestUtils.IsTrue(aabb.Overlaps(aabb));
}
[TestCompiler]
public static void Overlap_Corner()
{
var aabb = new MinMaxAABB(new float3(-1.0f), new float3(1.0f));
var corner1 = new float3(-1.0f, -1.0f, -1.0f);
var corner2 = new float3(-1.0f, -1.0f, 1.0f);
var corner3 = new float3(-1.0f, 1.0f, -1.0f);
var corner4 = new float3(-1.0f, 1.0f, 1.0f);
var corner5 = new float3( 1.0f, -1.0f, -1.0f);
var corner6 = new float3( 1.0f, -1.0f, 1.0f);
var corner7 = new float3( 1.0f, 1.0f, -1.0f);
var corner8 = new float3( 1.0f, 1.0f, 1.0f);
var cornerAabb1 = new MinMaxAABB(corner1, corner1);
var cornerAabb2 = new MinMaxAABB(corner2, corner2);
var cornerAabb3 = new MinMaxAABB(corner3, corner3);
var cornerAabb4 = new MinMaxAABB(corner4, corner4);
var cornerAabb5 = new MinMaxAABB(corner5, corner5);
var cornerAabb6 = new MinMaxAABB(corner6, corner6);
var cornerAabb7 = new MinMaxAABB(corner7, corner7);
var cornerAabb8 = new MinMaxAABB(corner8, corner8);
TestUtils.IsTrue(aabb.Overlaps(cornerAabb1));
TestUtils.IsTrue(cornerAabb1.Overlaps(aabb));
TestUtils.IsTrue(aabb.Overlaps(cornerAabb2));
TestUtils.IsTrue(cornerAabb2.Overlaps(aabb));
TestUtils.IsTrue(aabb.Overlaps(cornerAabb3));
TestUtils.IsTrue(cornerAabb3.Overlaps(aabb));
TestUtils.IsTrue(aabb.Overlaps(cornerAabb4));
TestUtils.IsTrue(cornerAabb4.Overlaps(aabb));
TestUtils.IsTrue(aabb.Overlaps(cornerAabb5));
TestUtils.IsTrue(cornerAabb5.Overlaps(aabb));
TestUtils.IsTrue(aabb.Overlaps(cornerAabb6));
TestUtils.IsTrue(cornerAabb6.Overlaps(aabb));
TestUtils.IsTrue(aabb.Overlaps(cornerAabb7));
TestUtils.IsTrue(cornerAabb7.Overlaps(aabb));
TestUtils.IsTrue(aabb.Overlaps(cornerAabb8));
TestUtils.IsTrue(cornerAabb8.Overlaps(aabb));
}
[TestCompiler]
public static void NoOverlap_Corner()
{
var aabb = new MinMaxAABB(new float3(-1.0f), new float3(1.0f));
var corner1 = new float3(-1.0f - EPSILON, -1.0f - EPSILON, -1.0f - EPSILON);
var corner2 = new float3(-1.0f - EPSILON, -1.0f - EPSILON, 1.0f + EPSILON);
var corner3 = new float3(-1.0f - EPSILON, 1.0f + EPSILON, -1.0f - EPSILON);
var corner4 = new float3(-1.0f - EPSILON, 1.0f + EPSILON, 1.0f + EPSILON);
var corner5 = new float3( 1.0f + EPSILON, -1.0f - EPSILON, -1.0f - EPSILON);
var corner6 = new float3( 1.0f + EPSILON, -1.0f - EPSILON, 1.0f + EPSILON);
var corner7 = new float3( 1.0f + EPSILON, 1.0f + EPSILON, -1.0f - EPSILON);
var corner8 = new float3( 1.0f + EPSILON, 1.0f + EPSILON, 1.0f + EPSILON);
var cornerAabb1 = new MinMaxAABB(corner1, corner1);
var cornerAabb2 = new MinMaxAABB(corner2, corner2);
var cornerAabb3 = new MinMaxAABB(corner3, corner3);
var cornerAabb4 = new MinMaxAABB(corner4, corner4);
var cornerAabb5 = new MinMaxAABB(corner5, corner5);
var cornerAabb6 = new MinMaxAABB(corner6, corner6);
var cornerAabb7 = new MinMaxAABB(corner7, corner7);
var cornerAabb8 = new MinMaxAABB(corner8, corner8);
TestUtils.IsFalse(aabb.Overlaps(cornerAabb1));
TestUtils.IsFalse(cornerAabb1.Overlaps(aabb));
TestUtils.IsFalse(aabb.Overlaps(cornerAabb2));
TestUtils.IsFalse(cornerAabb2.Overlaps(aabb));
TestUtils.IsFalse(aabb.Overlaps(cornerAabb3));
TestUtils.IsFalse(cornerAabb3.Overlaps(aabb));
TestUtils.IsFalse(aabb.Overlaps(cornerAabb4));
TestUtils.IsFalse(cornerAabb4.Overlaps(aabb));
TestUtils.IsFalse(aabb.Overlaps(cornerAabb5));
TestUtils.IsFalse(cornerAabb5.Overlaps(aabb));
TestUtils.IsFalse(aabb.Overlaps(cornerAabb6));
TestUtils.IsFalse(cornerAabb6.Overlaps(aabb));
TestUtils.IsFalse(aabb.Overlaps(cornerAabb7));
TestUtils.IsFalse(cornerAabb7.Overlaps(aabb));
TestUtils.IsFalse(aabb.Overlaps(cornerAabb8));
TestUtils.IsFalse(cornerAabb8.Overlaps(aabb));
}
[TestCompiler]
public static void Expand_PositiveDistance()
{
var aabb = new MinMaxAABB(new float3(-0.5f), new float3(0.5f));
aabb.Expand(1.0f);
TestUtils.AreEqual(new float3(-1.5f), aabb.Min);
TestUtils.AreEqual(new float3(1.5f), aabb.Max);
}
[TestCompiler]
public static void Expand_NegativeDistance()
{
var aabb = new MinMaxAABB(new float3(-0.5f), new float3(0.5f));
aabb.Expand(-1.0f);
TestUtils.AreEqual(new float3(0.5f), aabb.Min);
TestUtils.AreEqual(new float3(-0.5f), aabb.Max);
}
[TestCompiler]
public static void CreateFromCenterAndExtents()
{
var center = new float3(-29.2458133697509765625f, 1.21094369888305664063f, 34.281322479248046875f);
var extents = new float3(71.5140533447265625f, 33.691967010498046875f, 29.8891429901123046875f);
var expectedMin = new float3(-65.002838134765625f, -15.635040283203125f, 19.336750030517578125f);
var expectedMax = new float3(6.5112133026123046875f, 18.056926727294921875f, 49.225894927978515625f);
var aabb = MinMaxAABB.CreateFromCenterAndExtents(center, extents);
TestUtils.AreEqual(expectedMin, aabb.Min);
TestUtils.AreEqual(expectedMax, aabb.Max);
}
[TestCompiler]
public static void CreateFromCenterAndHalfExtents()
{
var center = new float3(-29.2458133697509765625f, 1.21094369888305664063f, 34.281322479248046875f);
var halfExtents = new float3(8.8238582611083984375f, 72.26158905029296875f, 47.658290863037109375f);
var expectedMin = new float3(-38.069671630859375f, -71.0506439208984375f, -13.3769683837890625f);
var expectedMax = new float3(-20.421955108642578125f, 73.4725341796875f, 81.93961334228515625f);
var aabb = MinMaxAABB.CreateFromCenterAndHalfExtents(center, halfExtents);
TestUtils.AreEqual(expectedMin, aabb.Min);
TestUtils.AreEqual(expectedMax, aabb.Max);
}
[TestCompiler]
public static void IsValid_Trivial()
{
TestUtils.IsTrue(new MinMaxAABB().IsValid);
TestUtils.IsFalse(new MinMaxAABB(new float3(1.0f), new float3(-1.0f)).IsValid);
}
[TestCompiler]
public static void IsValid_OneComponentInvalid()
{
TestUtils.IsFalse(new MinMaxAABB(float3.zero, new float3(-1.0f, 0.0f, 0.0f)).IsValid);
TestUtils.IsFalse(new MinMaxAABB(float3.zero, new float3(0.0f, -1.0f, 0.0f)).IsValid);
TestUtils.IsFalse(new MinMaxAABB(float3.zero, new float3(0.0f, 0.0f, -1.0f)).IsValid);
TestUtils.IsFalse(new MinMaxAABB(new float3(1.0f, 0.0f, 0.0f), float3.zero).IsValid);
TestUtils.IsFalse(new MinMaxAABB(new float3(0.0f, 1.0f, 0.0f), float3.zero).IsValid);
TestUtils.IsFalse(new MinMaxAABB(new float3(0.0f, 0.0f, 1.0f), float3.zero).IsValid);
}
[TestCompiler]
public static void Transform_RigidTransform()
{
var t = new RigidTransform(quaternion.EulerXYZ(PI * 0.25f), new float3(1.0f, 1.0f, 1.0f));
var aabb = Unity.Mathematics.Geometry.Math.Transform(t, new MinMaxAABB(new float3(1.0f), new float3(3.0f)));
var expectedMin = new float3(1.914213562373095e+00f, 1.914213562373095e+00f, -1.213203435596422e-01f);
var expectedMax = new float3(4.914213562373095f, 4.914213562373095f, 3.292893218813453f);
float tolerance = 1e-6f;
TestUtils.AreEqual(expectedMin, aabb.Min, tolerance);
TestUtils.AreEqual(expectedMax, aabb.Max, tolerance);
}
[TestCompiler]
public static void Transform_float4x4()
{
var t = new float4x4(float3x3.EulerXYZ(PI * 0.25f), new float3(1.0f, 1.0f, 1.0f));
var aabb = Unity.Mathematics.Geometry.Math.Transform(t, new MinMaxAABB(new float3(1.0f), new float3(3.0f)));
var expectedMin = new float3(1.914213562373095e+00f, 1.914213562373095e+00f, -1.213203435596422e-01f);
var expectedMax = new float3(4.914213562373095f, 4.914213562373095f, 3.292893218813453f);
float tolerance = 1e-6f;
TestUtils.AreEqual(expectedMin, aabb.Min, tolerance);
TestUtils.AreEqual(expectedMax, aabb.Max, tolerance);
}
[TestCompiler]
public static void Transform_float3x3()
{
var t = float3x3.EulerXYZ(PI * 0.25f);
var aabb = Unity.Mathematics.Geometry.Math.Transform(t, new MinMaxAABB(new float3(1.0f), new float3(3.0f)));
var expectedMin = new float3(9.142135623730949e-01f, 9.142135623730949e-01f, -1.121320343559642e+00f);
var expectedMax = new float3(3.914213562373095f, 3.914213562373095f, 2.292893218813453f);
float tolerance = 1e-6f;
TestUtils.AreEqual(expectedMin, aabb.Min, tolerance);
TestUtils.AreEqual(expectedMax, aabb.Max, tolerance);
}
}
}

View File

@@ -0,0 +1,266 @@
using NUnit.Framework;
using Unity.Mathematics.Geometry;
using Burst.Compiler.IL.Tests;
namespace Unity.Mathematics.Tests
{
[TestFixture]
public class TestPlane
{
// An arbitrary tolerance.
const float Tolerance = 0.0000025f;
[TestCompiler]
public static void Empty()
{
var p = new Plane();
TestUtils.AreEqual(float4.zero, p.NormalAndDistance);
TestUtils.AreEqual(float3.zero, p.Normal);
TestUtils.AreEqual(0.0f, p.Distance);
}
[TestCompiler]
public static void GetNormal()
{
var p = new Plane { NormalAndDistance = new float4(1.0f, 2.0f, 3.0f, 4.0f) };
TestUtils.AreEqual(new float3(1.0f, 2.0f, 3.0f), p.Normal);
}
[TestCompiler]
public static void GetDistance()
{
var p = new Plane { NormalAndDistance = new float4(1.0f, 2.0f, 3.0f, 4.0f) };
TestUtils.AreEqual(4.0f, p.Distance);
}
[TestCompiler]
public static void SetNormal()
{
var p = new Plane { NormalAndDistance = new float4(1.0f, 2.0f, 3.0f, 4.0f) };
p.Normal = new float3(-1.0f, -2.0f, -3.0f);
TestUtils.AreEqual(new float3(-1.0f, -2.0f, -3.0f), p.Normal);
}
[TestCompiler]
public static void SetDistance()
{
var p = new Plane { NormalAndDistance = new float4(1.0f, 2.0f, 3.0f, 4.0f) };
p.Distance = -4.0f;
TestUtils.AreEqual(-4.0f, p.Distance);
}
[TestCompiler]
public static void ConstructWithNormalAndDistance()
{
var n = math.normalize(new float3(4.0f, -5.0f, 6.0f));
var d = 123.0f;
var p = new Plane(n, d);
TestUtils.AreEqual(new float4(n, d), p.NormalAndDistance);
TestUtils.AreEqual(n, p.Normal);
TestUtils.AreEqual(d, p.Distance);
}
[TestCompiler]
public static void ConstructWithCoefficients_NonUnitLengthNormal()
{
var abcd = new float4(4.0f, -5.0f, 6.0f, 123.0f);
var p = new Plane(abcd.x, abcd.y, abcd.z, abcd.w);
var expected = abcd * math.rsqrt(math.lengthsq(abcd.xyz));
TestUtils.AreEqual(expected, p.NormalAndDistance, Tolerance);
TestUtils.AreEqual(expected.xyz, p.Normal);
TestUtils.AreEqual(expected.w, p.Distance);
}
[TestCompiler]
public static void ConstructWithNormalAndPointInPlane_NegativeDistance()
{
var n = math.up();
var pointInPlane = math.up();
var p = new Plane(n, pointInPlane);
TestUtils.AreEqual(new float4(math.up(), -1.0f), p.NormalAndDistance);
TestUtils.AreEqual(n, p.Normal);
TestUtils.AreEqual(-1.0f, p.Distance);
}
[TestCompiler]
public static void ConstructWithNormalAndPointInPlane_PositiveDistance()
{
var n = math.down();
var pointInPlane = math.up();
var p = new Plane(n, pointInPlane);
TestUtils.AreEqual(new float4(math.down(), 1.0f), p.NormalAndDistance);
TestUtils.AreEqual(n, p.Normal);
TestUtils.AreEqual(1.0f, p.Distance);
}
[TestCompiler]
public static void ConstructWithNormalAndPointInPlane()
{
var normal = new float3(2.0f, 2.0f, 2.0f);
var pointInPlane = new float3(-2.0f, -2.0f, -2.0f);
var p = new Plane(normal, pointInPlane);
var expectedN = new float3(5.773502691896258e-01f);
var expectedD = 3.464101615137755f;
TestUtils.AreEqual(new float4(expectedN, expectedD), p.NormalAndDistance);
TestUtils.AreEqual(expectedN, p.Normal);
TestUtils.AreEqual(expectedD, p.Distance);
}
[TestCompiler]
public static void ConstructWithTwoVectorsAndOrigin_Trivial()
{
var v1 = new float3(1.0f, 0.0f, 0.0f);
var v2 = new float3(0.0f, 1.0f, 0.0f);
var p = new Plane(v1, v2, float3.zero);
TestUtils.AreEqual(new float4(0.0f, 0.0f, 1.0f, 0.0f), p);
}
[TestCompiler]
public static void ConstructWithTwoVectorsAndOrigin_NonZeroOrigin()
{
var v1 = new float3(5.0f, 0.0f, 0.0f);
var v2 = new float3(0.0f, 1.0f, 0.0f);
var p = new Plane(v2, v1, new float3(0.0f, 0.0f, 1.0f));
TestUtils.AreEqual(new float4(0.0f, 0.0f, -1.0f, 1.0f), p);
}
[TestCompiler]
public static void SignedDistanceToPoint()
{
var vInPlane1 = new float3(2.0f, 1.0f, -0.18f);
var vInPlane2 = new float3(-0.9928f, 10.0f, 3.125f);
var n = math.normalize(math.cross(vInPlane1, vInPlane2));
var pointInPlane = new float3(10.0f, -25.8918f, 1.0f);
var p = new Plane(vInPlane1, vInPlane2, pointInPlane);
TestUtils.AreEqual(0.0f, p.SignedDistanceToPoint(pointInPlane), Tolerance);
TestUtils.AreEqual(0.0f, p.SignedDistanceToPoint(pointInPlane + vInPlane1), Tolerance);
TestUtils.AreEqual(0.0f, p.SignedDistanceToPoint(pointInPlane + vInPlane2), Tolerance);
TestUtils.AreEqual(1.0f, p.SignedDistanceToPoint(pointInPlane + n), Tolerance);
TestUtils.AreEqual(-1.0f, p.SignedDistanceToPoint(pointInPlane - n), Tolerance);
}
[TestCompiler]
public static void SignedDistanceToPointTrivial()
{
var p = new Plane(math.up(), 0.0f);
TestUtils.AreEqual(0.0f, p.SignedDistanceToPoint(float3.zero));
TestUtils.AreEqual(0.0f, p.SignedDistanceToPoint(math.left()));
TestUtils.AreEqual(0.0f, p.SignedDistanceToPoint(math.right()));
TestUtils.AreEqual(0.0f, p.SignedDistanceToPoint(math.forward()));
TestUtils.AreEqual(0.0f, p.SignedDistanceToPoint(math.back()));
TestUtils.AreEqual(1.0f, p.SignedDistanceToPoint(math.up()));
TestUtils.AreEqual(1.0f, p.SignedDistanceToPoint(math.up() + math.left()));
TestUtils.AreEqual(1.0f, p.SignedDistanceToPoint(math.up() + math.right()));
TestUtils.AreEqual(1.0f, p.SignedDistanceToPoint(math.up() + math.back()));
TestUtils.AreEqual(1.0f, p.SignedDistanceToPoint(math.up() + math.forward()));
TestUtils.AreEqual(-1.0f, p.SignedDistanceToPoint(math.down()));
TestUtils.AreEqual(-1.0f, p.SignedDistanceToPoint(math.down() + math.left()));
TestUtils.AreEqual(-1.0f, p.SignedDistanceToPoint(math.down() + math.right()));
TestUtils.AreEqual(-1.0f, p.SignedDistanceToPoint(math.down() + math.back()));
TestUtils.AreEqual(-1.0f, p.SignedDistanceToPoint(math.down() + math.forward()));
}
[TestCompiler]
public static void ProjectionTrivial()
{
var p = new Plane(math.up(), 0.0f);
var expected = math.left() + math.forward();
TestUtils.AreEqual(expected, p.Projection(math.up() + expected));
}
[TestCompiler]
public static void Projection()
{
var normal = new float3(1.0f);
var n = math.normalize(normal);
var d = -1.0f;
var p = new Plane(n, d);
var expected = new float3(math.sqrt(3.0f), 0.0f, 0.0f);
TestUtils.AreEqual(expected, p.Projection(expected), math.EPSILON);
}
[TestCompiler]
public static void Flipped()
{
var normal = new float3(1.0f);
var d = 1.0f;
var p = new Plane(normal, d);
var expectedD = -5.773502691896258e-01f;
var expectedN = new float3(-5.773502691896258e-01f);
TestUtils.AreEqual(new float4(expectedN, expectedD), p.Flipped, Tolerance);
}
[TestCompiler]
public static void ImplicitToFloat4()
{
var normal = new float3(1.1f, -20.0f, 15.182f);
var d = 18.9281f;
var p = new Plane(normal, d);
var expectedN = new float3(4.376593115243121e-02f, -7.957442027714765e-01f, 6.040494243238278e-01f);
var expectedD = 7.530962922239393e-01f;
float4 p_as_float4 = p;
TestUtils.AreEqual(new float4(expectedN, expectedD), p_as_float4, Tolerance);
}
[TestCompiler]
public static void NormalizeFloat4()
{
var p = new float4(8.215876543024162e-01f, 2.786574280629829e-01f, 8.121669997361285e-01f, 9.352839276497152e-01f);
var expected = new float4(6.913449765800294e-01f, 2.344830914500849e-01f, 6.834177369527146e-01f, 7.870174797181938e-01f);
TestUtils.AreEqual(expected, Plane.Normalize(p), Tolerance);
}
[TestCompiler]
public static void NormalizePlane()
{
var p = new Plane { NormalAndDistance = new float4(8.215876543024162e-01f, 2.786574280629829e-01f, 8.121669997361285e-01f, 9.352839276497152e-01f) };
var normalized = Plane.Normalize(p);
var expected = new float4(6.913449765800294e-01f, 2.344830914500849e-01f, 6.834177369527146e-01f, 7.870174797181938e-01f);
TestUtils.AreEqual(expected, normalized.NormalAndDistance, Tolerance);
TestUtils.AreEqual(expected.xyz, normalized.Normal, Tolerance);
TestUtils.AreEqual(expected.w, normalized.Distance, Tolerance);
}
[TestCompiler]
public static void CreateFromUnitNormalAndDistance()
{
var n = new float3(9.108767140247756e-02f, 3.966831912609620e-01f, 9.134251375397404e-01f);
var d = 9.120230523544353e-01f;
var expected = new float4(n, d);
var p = Plane.CreateFromUnitNormalAndDistance(n, d);
TestUtils.AreEqual(expected, p.NormalAndDistance);
}
[TestCompiler]
public static void CreateFromUnitNormalAndPointInPlane()
{
var n = new float3(4.724920516359185e-01f, 1.444614284194820e-01f, 8.694148358751899e-01f);
var pointInPlane = new float3(9.395666432987706f, 3.818578457438728f, 4.283295215216710f);
var expected = new float4(n, -8.714975414445176f);
var p = Plane.CreateFromUnitNormalAndPointInPlane(n, pointInPlane);
TestUtils.AreEqual(expected, p.NormalAndDistance, Tolerance);
}
}
}

View File

@@ -0,0 +1,341 @@
using NUnit.Framework;
using static Unity.Mathematics.math;
using Burst.Compiler.IL.Tests;
namespace Unity.Mathematics.Tests
{
[TestFixture]
class TestQuaternion
{
[TestCompiler]
public static void quaternion_basic_constructors()
{
quaternion q = quaternion(1.0f, 2.0f, 3.0f, 4.0f);
quaternion q2 = quaternion(float4(1.0f, 2.0f, 3.0f, 4.0f));
TestUtils.AreEqual(1.0f, q.value.x);
TestUtils.AreEqual(2.0f, q.value.y);
TestUtils.AreEqual(3.0f, q.value.z);
TestUtils.AreEqual(4.0f, q.value.w);
TestUtils.AreEqual(1.0f, q2.value.x);
TestUtils.AreEqual(2.0f, q2.value.y);
TestUtils.AreEqual(3.0f, q2.value.z);
TestUtils.AreEqual(4.0f, q2.value.w);
}
[TestCompiler]
public static void quaternion_construct_from_matrix()
{
TestUtils.AreEqual(float3x3(quaternion(TestMatrix.test3x3_xyz)), TestMatrix.test3x3_xyz, 0.0001f);
TestUtils.AreEqual(float4x4(quaternion(TestMatrix.test4x4_xyz), float3.zero), TestMatrix.test4x4_xyz, 0.0001f);
// Make sure to hit all 4 cases
float3x3 m0 = float3x3.AxisAngle(normalize(float3(1, 2, 3)), 1.0f);
float3x3 m1 = float3x3.AxisAngle(normalize(float3(3, 2, 1)), 3.0f);
float3x3 m2 = float3x3.AxisAngle(normalize(float3(1, 3, 2)), 3.0f);
float3x3 m3 = float3x3.AxisAngle(normalize(float3(1, 2, 3)), 3.0f);
quaternion q0 = quaternion(m0);
quaternion q1 = quaternion(m1);
quaternion q2 = quaternion(m2);
quaternion q3 = quaternion(m3);
TestUtils.AreEqual(quaternion(0.1281319f, 0.2562638f, 0.3843956f, 0.8775827f), q0, 0.0001f);
TestUtils.AreEqual(quaternion(0.7997754f, 0.5331835f, 0.2665918f, 0.0707372f), q1, 0.0001f);
TestUtils.AreEqual(quaternion(0.2665918f, 0.7997754f, 0.5331835f, 0.0707372f), q2, 0.0001f);
TestUtils.AreEqual(quaternion(0.2665918f, 0.5331835f, 0.7997754f, 0.0707372f), q3, 0.0001f);
}
[TestCompiler]
public static void quaternion_construct_from_matrix3x3_torture()
{
Random rnd = new Random(0x12345678);
for(int i = 0; i < 1000; i++)
{
float3x3 r = float3x3(rnd.NextQuaternionRotation());
quaternion q = quaternion(r);
float3x3 t = float3x3(q);
TestUtils.AreEqual(r, t, 0.001f);
}
}
[TestCompiler]
public static void quaternion_construct_from_matrix4x4_torture()
{
Random rnd = new Random(0x12345678);
for (int i = 0; i < 1000; i++)
{
float4x4 r = float4x4(rnd.NextQuaternionRotation(), float3.zero);
quaternion q = quaternion(r);
float4x4 t = float4x4(q, float3.zero);
TestUtils.AreEqual(r, t, 0.001f);
}
}
[TestCompiler]
public static void quaternion_axis_angle()
{
quaternion q = quaternion.AxisAngle(normalize(float3(1.0f, 2.0f, 3.0f)), 10.0f);
quaternion r = quaternion(-0.2562833f, -0.5125666f, -0.76885f, 0.2836622f);
TestUtils.AreEqual(r, q, 0.0001f);
}
[TestCompiler]
public static void quaternion_axis_angle_consistency()
{
TestUtils.AreEqual(quaternion.RotateX(1.0f), quaternion.AxisAngle(float3(1, 0, 0), 1.0f), 0.001f);
TestUtils.AreEqual(quaternion.RotateY(1.0f), quaternion.AxisAngle(float3(0, 1, 0), 1.0f), 0.001f);
TestUtils.AreEqual(quaternion.RotateZ(1.0f), quaternion.AxisAngle(float3(0, 0, 1), 1.0f), 0.001f);
}
[TestCompiler]
public static void quaternion_euler()
{
float3 test_angles = TestMatrix.test_angles;
quaternion q0 = quaternion.Euler(test_angles);
quaternion q0_xyz = quaternion.Euler(test_angles, RotationOrder.XYZ);
quaternion q0_xzy = quaternion.Euler(test_angles, RotationOrder.XZY);
quaternion q0_yxz = quaternion.Euler(test_angles, RotationOrder.YXZ);
quaternion q0_yzx = quaternion.Euler(test_angles, RotationOrder.YZX);
quaternion q0_zxy = quaternion.Euler(test_angles, RotationOrder.ZXY);
quaternion q0_zyx = quaternion.Euler(test_angles, RotationOrder.ZYX);
quaternion q1 = quaternion.Euler(test_angles.x, test_angles.y, test_angles.z);
quaternion q1_xyz = quaternion.Euler(test_angles.x, test_angles.y, test_angles.z, RotationOrder.XYZ);
quaternion q1_xzy = quaternion.Euler(test_angles.x, test_angles.y, test_angles.z, RotationOrder.XZY);
quaternion q1_yxz = quaternion.Euler(test_angles.x, test_angles.y, test_angles.z, RotationOrder.YXZ);
quaternion q1_yzx = quaternion.Euler(test_angles.x, test_angles.y, test_angles.z, RotationOrder.YZX);
quaternion q1_zxy = quaternion.Euler(test_angles.x, test_angles.y, test_angles.z, RotationOrder.ZXY);
quaternion q1_zyx = quaternion.Euler(test_angles.x, test_angles.y, test_angles.z, RotationOrder.ZYX);
float epsilon = 0.0001f;
TestUtils.AreEqual(quaternion(-0.3133549f, 0.3435619f, 0.3899215f, 0.7948176f), q0, epsilon);
TestUtils.AreEqual(quaternion(-0.4597331f, 0.06979711f, 0.3899215f, 0.7948176f), q0_xyz, epsilon);
TestUtils.AreEqual(quaternion(-0.3133549f, 0.06979711f, 0.3899215f, 0.8630749f), q0_xzy, epsilon);
TestUtils.AreEqual(quaternion(-0.4597331f, 0.06979711f, 0.1971690f, 0.8630748f), q0_yxz, epsilon);
TestUtils.AreEqual(quaternion(-0.4597331f, 0.34356190f, 0.1971690f, 0.7948176f), q0_yzx, epsilon);
TestUtils.AreEqual(quaternion(-0.3133549f, 0.34356190f, 0.3899215f, 0.7948176f), q0_zxy, epsilon);
TestUtils.AreEqual(quaternion(-0.3133549f, 0.34356190f, 0.1971690f, 0.8630749f), q0_zyx, epsilon);
TestUtils.AreEqual(quaternion(-0.3133549f, 0.3435619f, 0.3899215f, 0.7948176f), q1, epsilon);
TestUtils.AreEqual(quaternion(-0.4597331f, 0.06979711f, 0.3899215f, 0.7948176f), q1_xyz, epsilon);
TestUtils.AreEqual(quaternion(-0.3133549f, 0.06979711f, 0.3899215f, 0.8630749f), q1_xzy, epsilon);
TestUtils.AreEqual(quaternion(-0.4597331f, 0.06979711f, 0.1971690f, 0.8630748f), q1_yxz, epsilon);
TestUtils.AreEqual(quaternion(-0.4597331f, 0.34356190f, 0.1971690f, 0.7948176f), q1_yzx, epsilon);
TestUtils.AreEqual(quaternion(-0.3133549f, 0.34356190f, 0.3899215f, 0.7948176f), q1_zxy, epsilon);
TestUtils.AreEqual(quaternion(-0.3133549f, 0.34356190f, 0.1971690f, 0.8630749f), q1_zyx, epsilon);
float3x3 m0 = float3x3(q0);
float3x3 m0_xyz = float3x3(q0_xyz);
float3x3 m0_xzy = float3x3(q0_xzy);
float3x3 m0_yxz = float3x3(q0_yxz);
float3x3 m0_yzx = float3x3(q0_yzx);
float3x3 m0_zxy = float3x3(q0_zxy);
float3x3 m0_zyx = float3x3(q0_zyx);
float3x3 m1 = float3x3(q1);
float3x3 m1_xyz = float3x3(q1_xyz);
float3x3 m1_xzy = float3x3(q1_xzy);
float3x3 m1_yxz = float3x3(q1_yxz);
float3x3 m1_yzx = float3x3(q1_yzx);
float3x3 m1_zxy = float3x3(q1_zxy);
float3x3 m1_zyx = float3x3(q1_zyx);
TestUtils.AreEqual(TestMatrix.test3x3_zxy, m0, epsilon);
TestUtils.AreEqual(TestMatrix.test3x3_xyz, m0_xyz, epsilon);
TestUtils.AreEqual(TestMatrix.test3x3_yzx, m0_yzx, epsilon);
TestUtils.AreEqual(TestMatrix.test3x3_zxy, m0_zxy, epsilon);
TestUtils.AreEqual(TestMatrix.test3x3_xzy, m0_xzy, epsilon);
TestUtils.AreEqual(TestMatrix.test3x3_yxz, m0_yxz, epsilon);
TestUtils.AreEqual(TestMatrix.test3x3_zyx, m0_zyx, 0.0001f);
TestUtils.AreEqual(TestMatrix.test3x3_zxy, m1, epsilon);
TestUtils.AreEqual(TestMatrix.test3x3_xyz, m1_xyz, epsilon);
TestUtils.AreEqual(TestMatrix.test3x3_yzx, m1_yzx, epsilon);
TestUtils.AreEqual(TestMatrix.test3x3_zxy, m1_zxy, epsilon);
TestUtils.AreEqual(TestMatrix.test3x3_xzy, m1_xzy, epsilon);
TestUtils.AreEqual(TestMatrix.test3x3_yxz, m1_yxz, epsilon);
TestUtils.AreEqual(TestMatrix.test3x3_zyx, m1_zyx, epsilon);
}
[TestCompiler]
public static void quaternion_rotateX()
{
float angle = 2.3f;
quaternion q = quaternion.RotateX(angle);
quaternion r = quaternion(0.91276394f, 0.0f, 0.0f, 0.40848744f);
TestUtils.AreEqual(r, q, 0.0001f);
}
[TestCompiler]
public static void quaternion_rotateY()
{
float angle = 2.3f;
quaternion q = quaternion.RotateY(angle);
quaternion r = quaternion(0.0f, 0.91276394f, 0.0f, 0.40848744f);
TestUtils.AreEqual(r, q, 0.0001f);
}
[TestCompiler]
public static void quaternion_rotateZ()
{
float angle = 2.3f;
quaternion q = quaternion.RotateZ(angle);
quaternion r = quaternion(0.0f, 0.0f, 0.91276394f, 0.40848744f);
TestUtils.AreEqual(r, q, 0.0001f);
}
static internal readonly quaternion test_q0 = new quaternion(0.3270836f, 0.8449658f, -0.1090279f, 0.4088545f);
static internal readonly quaternion test_q1 = new quaternion(-0.05623216f, 0.731018f, -0.6747859f, -0.08434824f);
static internal readonly quaternion test_q2 = new quaternion(-0.2316205f, -0.6022133f, -0.7411857f, -0.1852964f);
static internal readonly quaternion test_q3 = new quaternion(0.3619499f, 0.8352691f, -0.1392115f, 0.3897922f);
[TestCompiler]
public static void quaternion_conjugate()
{
quaternion q = quaternion(1.0f, -2.0f, 3.0f, -4.0f);
quaternion cq = conjugate(q);
quaternion r = quaternion(-1.0f, 2.0f, -3.0f, -4.0f);
TestUtils.AreEqual(r, cq);
}
[TestCompiler]
public static void quaternion_inverse()
{
quaternion q = quaternion(1.0f, -2.0f, 3.0f, -4.0f);
quaternion iq = inverse(q);
quaternion qiq = mul(iq, q);
TestUtils.AreEqual(quaternion.identity, qiq, 0.00001f);
}
[TestCompiler]
public static void quaternion_dot()
{
float dot01 = dot(test_q0, test_q1);
float dot02 = dot(test_q0, test_q2);
TestUtils.AreEqual(0.6383769f, dot01, 0.00001f);
TestUtils.AreEqual(-0.5795583f, dot02, 0.00001f);
}
[TestCompiler]
public static void quaternion_nlerp()
{
quaternion r0 = nlerp(test_q0, test_q1, 0.3f);
quaternion r1 = nlerp(test_q0, test_q1, -4.3f);
quaternion r2 = nlerp(test_q0, test_q1, 5.1f);
TestUtils.AreEqual(quaternion(0.2302977f, 0.8803911f, -0.3026878f, 0.2832927f), r0, 0.0001f);
TestUtils.AreEqual(quaternion(0.4724294f, 0.3192692f, 0.5557517f, 0.604994f), r1, 0.0001f);
TestUtils.AreEqual(quaternion(-0.4054004f, 0.06570576f, -0.7457358f, -0.5246059f), r2, 0.0001f);
}
[TestCompiler]
public static void quaternion_slerp()
{
quaternion r0 = slerp(test_q0, test_q1, 0.3f);
quaternion r1 = slerp(test_q0, test_q1, -4.3f);
quaternion r2 = slerp(test_q0, test_q1, 5.1f);
TestUtils.AreEqual(quaternion(0.2261014f, 0.8806396f, -0.3100654f, 0.2778693f), r0, 0.0001f);
TestUtils.AreEqual(quaternion(-0.4676181f, -0.5321988f, -0.3789966f, -0.5953646f), r1, 0.0001f);
TestUtils.AreEqual(quaternion(0.2596942f, -0.4369303f, 0.7902023f, 0.34239f), r2, 0.0001f);
}
[TestCompiler]
public static void quaternion_mul_vector()
{
float3x3 m = TestMatrix.test3x3_xyz;
quaternion q = quaternion(m);
float3 vector = float3(1.1f, -2.2f, 3.5f);
float3 mvector = mul(m, vector);
float3 qvector = mul(q, vector);
TestUtils.AreEqual(mvector, qvector, 0.0001f);
}
[TestCompiler]
public static void quaternion_log_exp_identity()
{
quaternion q = quaternion(1.2f, -2.6f, 3.1f, 6.0f);
quaternion log_q = log(q);
quaternion exp_log_q = exp(log_q);
TestUtils.AreEqual(q, exp_log_q, 0.0001f);
}
[TestCompiler]
public static void quaternion_log_exp_rotation()
{
quaternion q = quaternion(TestMatrix.test3x3_xyz);
quaternion q3 = mul(q, mul(q, q));
quaternion log_q = log(q);
quaternion t = exp(quaternion(log_q.value * 3.0f));
TestUtils.AreEqual(q3, t, 0.0001f);
}
[TestCompiler]
public static void quaternion_unitlog_unitexp_rotation()
{
quaternion q = quaternion(TestMatrix.test3x3_xyz);
quaternion q3 = mul(q, mul(q, q));
quaternion log_q = unitlog(q);
quaternion t = unitexp(quaternion(log_q.value * 3.0f));
TestUtils.AreEqual(q3, t, 0.0001f);
}
[TestCompiler]
public static void quaternion_look_rotation()
{
// Exercise the 4 cases
float3 forward0 = normalize(float3(1.0f, 2.0f, 3.0f));
float3 up0 = float3(0.0f, 1.0f, 0.0f);
quaternion q0 = quaternion.LookRotation(forward0, up0);
TestUtils.AreEqual(quaternion(-0.274657f, 0.153857f, 0.044571f, 0.948106f), q0, 0.001f);
TestUtils.AreEqual(float3x3.LookRotation(forward0, up0), float3x3(q0), 0.001f);
float3 forward1 = normalize(float3(-3.2f, 2.3f, -1.3f));
float3 up1 = normalize(float3(1.0f, -3.2f, -1.5f));
quaternion q1 = quaternion.LookRotation(forward1, up1);
TestUtils.AreEqual(quaternion(0.805418f, 0.089103f, -0.435327f, -0.392240f), q1, 0.001f);
TestUtils.AreEqual(float3x3.LookRotation(forward1, up1), float3x3(q1), 0.001f);
float3 forward2 = normalize(float3(-2.6f, -5.2f, -1.1f));
float3 up2 = normalize(float3(-4.2f, -1.2f, -4.5f));
quaternion q2 = quaternion.LookRotation(forward2, up2);
TestUtils.AreEqual(quaternion(-0.088343f, 0.764951f, -0.534144f, -0.348907f), q2, 0.001f);
TestUtils.AreEqual(float3x3.LookRotation(forward2, up2), float3x3(q2), 0.001f);
float3 forward3 = normalize(float3(1.3f, 2.1f, 3.4f));
float3 up3 = normalize(float3(0.2f, -1.0f, 0.3f));
quaternion q3 = quaternion.LookRotation(forward3, up3);
TestUtils.AreEqual(quaternion(0.184984f, 0.247484f, 0.947425f, -0.083173f), q3, 0.001f);
TestUtils.AreEqual(float3x3.LookRotation(forward3, up3), float3x3(q3), 0.001f);
}
[TestCompiler]
public static void quaternion_look_rotation_safe()
{
float3 forward0 = float3(-3.2f, 2.3f, -1.3f) * 1e-10f;
float3 up0 = float3(1.0f, -3.2f, -1.5f) * 1e10f;
quaternion q0 = quaternion.LookRotationSafe(forward0, up0);
TestUtils.AreEqual(quaternion(0.805418f, 0.089103f, -0.435327f, -0.392240f), q0, 0.001f);
float3 forward1 = float3(-3.2f, 2.3f, -1.3f) * 1e-30f;
float3 up1 = float3(1.0f, -3.2f, -1.5f);
quaternion q1 = quaternion.LookRotationSafe(forward1, up1);
TestUtils.AreEqual(quaternion.identity, q1, 0.001f);
float3 forward2 = float3(-3.2f, 2.3f, -1.3f);
float3 up2 = forward2;
quaternion q2 = quaternion.LookRotationSafe(forward2, up2);
TestUtils.AreEqual(quaternion.identity, q2, 0.001f);
}
}
}

View File

@@ -0,0 +1,163 @@
using NUnit.Framework;
using static Unity.Mathematics.math;
using Burst.Compiler.IL.Tests;
namespace Unity.Mathematics.Tests
{
[TestFixture]
class TestRigidTransform
{
[TestCompiler]
public static void rigid_transform_construct_from_matrix()
{
float4x4 m4x4 = TestMatrix.test4x4_zyx;
RigidTransform q4x4 = RigidTransform(m4x4);
float4x4 mq4x4 = float4x4(q4x4);
TestUtils.AreEqual(m4x4, mq4x4, 0.0001f);
}
[TestCompiler]
public static void rigid_transform_axisAngle()
{
RigidTransform q = RigidTransform.AxisAngle(normalize(float3(1.0f, 2.0f, 3.0f)), 10.0f);
RigidTransform r = RigidTransform(quaternion(-0.2562833f, -0.5125666f, -0.76885f, 0.2836622f), float3.zero);
TestUtils.AreEqual(r, q, 0.0001f);
}
[TestCompiler]
public static void rigid_transform_euler()
{
float3 test_angles = TestMatrix.test_angles;
RigidTransform q0 = RigidTransform.Euler(test_angles);
RigidTransform q0_xyz = RigidTransform.Euler(test_angles, RotationOrder.XYZ);
RigidTransform q0_xzy = RigidTransform.Euler(test_angles, RotationOrder.XZY);
RigidTransform q0_yxz = RigidTransform.Euler(test_angles, RotationOrder.YXZ);
RigidTransform q0_yzx = RigidTransform.Euler(test_angles, RotationOrder.YZX);
RigidTransform q0_zxy = RigidTransform.Euler(test_angles, RotationOrder.ZXY);
RigidTransform q0_zyx = RigidTransform.Euler(test_angles, RotationOrder.ZYX);
RigidTransform q1 = RigidTransform.Euler(test_angles.x, test_angles.y, test_angles.z);
RigidTransform q1_xyz = RigidTransform.Euler(test_angles.x, test_angles.y, test_angles.z, RotationOrder.XYZ);
RigidTransform q1_xzy = RigidTransform.Euler(test_angles.x, test_angles.y, test_angles.z, RotationOrder.XZY);
RigidTransform q1_yxz = RigidTransform.Euler(test_angles.x, test_angles.y, test_angles.z, RotationOrder.YXZ);
RigidTransform q1_yzx = RigidTransform.Euler(test_angles.x, test_angles.y, test_angles.z, RotationOrder.YZX);
RigidTransform q1_zxy = RigidTransform.Euler(test_angles.x, test_angles.y, test_angles.z, RotationOrder.ZXY);
RigidTransform q1_zyx = RigidTransform.Euler(test_angles.x, test_angles.y, test_angles.z, RotationOrder.ZYX);
float epsilon = 0.0001f;
TestUtils.AreEqual(RigidTransform(quaternion(-0.3133549f, 0.3435619f, 0.3899215f, 0.7948176f), float3.zero), q0, epsilon);
TestUtils.AreEqual(RigidTransform(quaternion(-0.4597331f, 0.06979711f, 0.3899215f, 0.7948176f), float3.zero), q0_xyz, epsilon);
TestUtils.AreEqual(RigidTransform(quaternion(-0.3133549f, 0.06979711f, 0.3899215f, 0.8630749f), float3.zero), q0_xzy, epsilon);
TestUtils.AreEqual(RigidTransform(quaternion(-0.4597331f, 0.06979711f, 0.1971690f, 0.8630748f), float3.zero), q0_yxz, epsilon);
TestUtils.AreEqual(RigidTransform(quaternion(-0.4597331f, 0.34356190f, 0.1971690f, 0.7948176f), float3.zero), q0_yzx, epsilon);
TestUtils.AreEqual(RigidTransform(quaternion(-0.3133549f, 0.34356190f, 0.3899215f, 0.7948176f), float3.zero), q0_zxy, epsilon);
TestUtils.AreEqual(RigidTransform(quaternion(-0.3133549f, 0.34356190f, 0.1971690f, 0.8630749f), float3.zero), q0_zyx, epsilon);
TestUtils.AreEqual(RigidTransform(quaternion(-0.3133549f, 0.3435619f, 0.3899215f, 0.7948176f), float3.zero), q1, epsilon);
TestUtils.AreEqual(RigidTransform(quaternion(-0.4597331f, 0.06979711f, 0.3899215f, 0.7948176f), float3.zero), q1_xyz, epsilon);
TestUtils.AreEqual(RigidTransform(quaternion(-0.3133549f, 0.06979711f, 0.3899215f, 0.8630749f), float3.zero), q1_xzy, epsilon);
TestUtils.AreEqual(RigidTransform(quaternion(-0.4597331f, 0.06979711f, 0.1971690f, 0.8630748f), float3.zero), q1_yxz, epsilon);
TestUtils.AreEqual(RigidTransform(quaternion(-0.4597331f, 0.34356190f, 0.1971690f, 0.7948176f), float3.zero), q1_yzx, epsilon);
TestUtils.AreEqual(RigidTransform(quaternion(-0.3133549f, 0.34356190f, 0.3899215f, 0.7948176f), float3.zero), q1_zxy, epsilon);
TestUtils.AreEqual(RigidTransform(quaternion(-0.3133549f, 0.34356190f, 0.1971690f, 0.8630749f), float3.zero), q1_zyx, epsilon);
float3x3 m0 = float3x3(q0.rot);
float3x3 m0_xyz = float3x3(q0_xyz.rot);
float3x3 m0_xzy = float3x3(q0_xzy.rot);
float3x3 m0_yxz = float3x3(q0_yxz.rot);
float3x3 m0_yzx = float3x3(q0_yzx.rot);
float3x3 m0_zxy = float3x3(q0_zxy.rot);
float3x3 m0_zyx = float3x3(q0_zyx.rot);
float3x3 m1 = float3x3(q1.rot);
float3x3 m1_xyz = float3x3(q1_xyz.rot);
float3x3 m1_xzy = float3x3(q1_xzy.rot);
float3x3 m1_yxz = float3x3(q1_yxz.rot);
float3x3 m1_yzx = float3x3(q1_yzx.rot);
float3x3 m1_zxy = float3x3(q1_zxy.rot);
float3x3 m1_zyx = float3x3(q1_zyx.rot);
TestUtils.AreEqual(TestMatrix.test3x3_zxy, m0, epsilon);
TestUtils.AreEqual(TestMatrix.test3x3_xyz, m0_xyz, epsilon);
TestUtils.AreEqual(TestMatrix.test3x3_yzx, m0_yzx, epsilon);
TestUtils.AreEqual(TestMatrix.test3x3_zxy, m0_zxy, epsilon);
TestUtils.AreEqual(TestMatrix.test3x3_xzy, m0_xzy, epsilon);
TestUtils.AreEqual(TestMatrix.test3x3_yxz, m0_yxz, epsilon);
TestUtils.AreEqual(TestMatrix.test3x3_zyx, m0_zyx, 0.0001f);
TestUtils.AreEqual(TestMatrix.test3x3_zxy, m1, epsilon);
TestUtils.AreEqual(TestMatrix.test3x3_xyz, m1_xyz, epsilon);
TestUtils.AreEqual(TestMatrix.test3x3_yzx, m1_yzx, epsilon);
TestUtils.AreEqual(TestMatrix.test3x3_zxy, m1_zxy, epsilon);
TestUtils.AreEqual(TestMatrix.test3x3_xzy, m1_xzy, epsilon);
TestUtils.AreEqual(TestMatrix.test3x3_yxz, m1_yxz, epsilon);
TestUtils.AreEqual(TestMatrix.test3x3_zyx, m1_zyx, epsilon);
}
[TestCompiler]
public static void rigid_transform_rotateX()
{
float angle = 2.3f;
RigidTransform q = RigidTransform.RotateX(angle);
RigidTransform r = RigidTransform(quaternion(0.91276394f, 0.0f, 0.0f, 0.40848744f), float3.zero);
TestUtils.AreEqual(r, q, 0.0001f);
}
[TestCompiler]
public static void rigid_transform_rotateY()
{
float angle = 2.3f;
RigidTransform q = RigidTransform.RotateY(angle);
RigidTransform r = RigidTransform(quaternion(0.0f, 0.91276394f, 0.0f, 0.40848744f), float3.zero);
TestUtils.AreEqual(r, q, 0.0001f);
}
[TestCompiler]
public static void rigid_transform_rotateZ()
{
float angle = 2.3f;
RigidTransform q = RigidTransform.RotateZ(angle);
RigidTransform r = RigidTransform(quaternion(0.0f, 0.0f, 0.91276394f, 0.40848744f), float3.zero);
TestUtils.AreEqual(r, q, 0.0001f);
}
static internal readonly quaternion test_q0 = new quaternion(0.3270836f, 0.8449658f, -0.1090279f, 0.4088545f);
static internal readonly quaternion test_q1 = new quaternion(-0.05623216f, 0.731018f, -0.6747859f, -0.08434824f);
static internal readonly quaternion test_q2 = new quaternion(-0.2316205f, -0.6022133f, -0.7411857f, -0.1852964f);
static internal readonly quaternion test_q3 = new quaternion(0.3619499f, 0.8352691f, -0.1392115f, 0.3897922f);
[TestCompiler]
public static void rigid_transform_inverse()
{
RigidTransform q = RigidTransform(quaternion(1.0f, -2.0f, 3.0f, -4.0f), float3(1,2,3));
RigidTransform iq = inverse(q);
RigidTransform qiq = mul(iq, q);
TestUtils.AreEqual(RigidTransform.identity, qiq, 0.00001f);
}
[TestCompiler]
public static void rigid_transform_mul_vector()
{
float4x4 m = TestMatrix.test4x4_xyz;
RigidTransform q = RigidTransform(m);
float3 vector = float3(1.1f, -2.2f, 3.5f);
float4 mvector0 = mul(m, float4(vector, 0));
float4 qvector0 = mul(q, float4(vector, 0));
TestUtils.AreEqual(mvector0, qvector0, 0.0001f);
float4 mvector1 = mul(m, float4(vector, 1));
float4 qvector1 = mul(q, float4(vector, 1));
TestUtils.AreEqual(mvector1, qvector1, 0.0001f);
}
}
}

View File

@@ -0,0 +1,747 @@
using NUnit.Framework;
using static Unity.Mathematics.math;
namespace Unity.Mathematics.Tests
{
class TestUtils
{
public static void AreEqual(bool expected, bool actual)
{
Assert.AreEqual(expected, actual);
}
public static void AreEqual(int expected, int actual)
{
Assert.AreEqual(expected, actual);
}
public static void AreEqual(uint expected, uint actual)
{
Assert.AreEqual(expected, actual);
}
public static void AreEqual(long expected, long actual)
{
Assert.AreEqual(expected, actual);
}
public static void AreEqual(ulong expected, ulong actual)
{
Assert.AreEqual(expected, actual);
}
public static void AreEqual(float expected, float actual, float delta = 0.0f)
{
Assert.AreEqual(expected, actual, delta);
}
public static void AreEqual(float expected, float actual, int maxUlp, bool signedZeroEqual)
{
if (signedZeroEqual && expected == actual)
return;
if(isfinite(expected) && isfinite(actual))
{
int ia = asint(expected);
int ib = asint(actual);
if ((ia ^ ib) < 0)
Assert.AreEqual(true, false);
int ulps = abs(ia - ib);
Assert.AreEqual(true, ulps <= maxUlp);
}
else
{
if (expected != actual && (!isnan(expected) || !isnan(actual)))
Assert.AreEqual(true, false);
}
}
public static void AreEqual(double expected, double actual, double delta = 0.0)
{
Assert.AreEqual(expected, actual, delta);
}
public static void AreEqual(double expected, double actual, int maxUlp, bool signedZeroEqual)
{
if (signedZeroEqual && expected == actual)
return;
if (isfinite(expected) && isfinite(actual))
{
long la = aslong(expected);
long lb = aslong(actual);
if ((la ^ lb) < 0)
Assert.AreEqual(true, false);
long ulps = abs(la - lb);
Assert.AreEqual(true, ulps <= maxUlp);
}
else
{
if (expected != actual && (!isnan(expected) || !isnan(actual)))
Assert.AreEqual(true, false);
}
}
// bool
public static void AreEqual(bool2 expected, bool2 actual)
{
AreEqual(expected.x, actual.x);
AreEqual(expected.y, actual.y);
}
public static void AreEqual(bool3 expected, bool3 actual)
{
AreEqual(expected.x, actual.x);
AreEqual(expected.y, actual.y);
AreEqual(expected.z, actual.z);
}
public static void AreEqual(bool4 expected, bool4 actual)
{
AreEqual(expected.x, actual.x);
AreEqual(expected.y, actual.y);
AreEqual(expected.z, actual.z);
AreEqual(expected.w, actual.w);
}
public static void AreEqual(bool2x2 expected, bool2x2 actual)
{
AreEqual(expected.c0, actual.c0);
AreEqual(expected.c1, actual.c1);
}
public static void AreEqual(bool3x2 expected, bool3x2 actual)
{
AreEqual(expected.c0, actual.c0);
AreEqual(expected.c1, actual.c1);
}
public static void AreEqual(bool4x2 expected, bool4x2 actual)
{
AreEqual(expected.c0, actual.c0);
AreEqual(expected.c1, actual.c1);
}
public static void AreEqual(bool2x3 expected, bool2x3 actual)
{
AreEqual(expected.c0, actual.c0);
AreEqual(expected.c1, actual.c1);
AreEqual(expected.c2, actual.c2);
}
public static void AreEqual(bool3x3 expected, bool3x3 actual)
{
AreEqual(expected.c0, actual.c0);
AreEqual(expected.c1, actual.c1);
AreEqual(expected.c2, actual.c2);
}
public static void AreEqual(bool4x3 expected, bool4x3 actual)
{
AreEqual(expected.c0, actual.c0);
AreEqual(expected.c1, actual.c1);
AreEqual(expected.c2, actual.c2);
}
public static void AreEqual(bool2x4 expected, bool2x4 actual)
{
AreEqual(expected.c0, actual.c0);
AreEqual(expected.c1, actual.c1);
AreEqual(expected.c2, actual.c2);
AreEqual(expected.c3, actual.c3);
}
public static void AreEqual(bool3x4 expected, bool3x4 actual)
{
AreEqual(expected.c0, actual.c0);
AreEqual(expected.c1, actual.c1);
AreEqual(expected.c2, actual.c2);
AreEqual(expected.c3, actual.c3);
}
public static void AreEqual(bool4x4 expected, bool4x4 actual)
{
AreEqual(expected.c0, actual.c0);
AreEqual(expected.c1, actual.c1);
AreEqual(expected.c2, actual.c2);
AreEqual(expected.c3, actual.c3);
}
// int
public static void AreEqual(int2 expected, int2 actual)
{
AreEqual(expected.x, actual.x);
AreEqual(expected.y, actual.y);
}
public static void AreEqual(int3 expected, int3 actual)
{
AreEqual(expected.x, actual.x);
AreEqual(expected.y, actual.y);
AreEqual(expected.z, actual.z);
}
public static void AreEqual(int4 expected, int4 actual)
{
AreEqual(expected.x, actual.x);
AreEqual(expected.y, actual.y);
AreEqual(expected.z, actual.z);
AreEqual(expected.w, actual.w);
}
public static void AreEqual(int2x2 expected, int2x2 actual)
{
AreEqual(expected.c0, actual.c0);
AreEqual(expected.c1, actual.c1);
}
public static void AreEqual(int3x2 expected, int3x2 actual)
{
AreEqual(expected.c0, actual.c0);
AreEqual(expected.c1, actual.c1);
}
public static void AreEqual(int4x2 expected, int4x2 actual)
{
AreEqual(expected.c0, actual.c0);
AreEqual(expected.c1, actual.c1);
}
public static void AreEqual(int2x3 expected, int2x3 actual)
{
AreEqual(expected.c0, actual.c0);
AreEqual(expected.c1, actual.c1);
AreEqual(expected.c2, actual.c2);
}
public static void AreEqual(int3x3 expected, int3x3 actual)
{
AreEqual(expected.c0, actual.c0);
AreEqual(expected.c1, actual.c1);
AreEqual(expected.c2, actual.c2);
}
public static void AreEqual(int4x3 expected, int4x3 actual)
{
AreEqual(expected.c0, actual.c0);
AreEqual(expected.c1, actual.c1);
AreEqual(expected.c2, actual.c2);
}
public static void AreEqual(int2x4 expected, int2x4 actual)
{
AreEqual(expected.c0, actual.c0);
AreEqual(expected.c1, actual.c1);
AreEqual(expected.c2, actual.c2);
AreEqual(expected.c3, actual.c3);
}
public static void AreEqual(int3x4 expected, int3x4 actual)
{
AreEqual(expected.c0, actual.c0);
AreEqual(expected.c1, actual.c1);
AreEqual(expected.c2, actual.c2);
AreEqual(expected.c3, actual.c3);
}
public static void AreEqual(int4x4 expected, int4x4 actual)
{
AreEqual(expected.c0, actual.c0);
AreEqual(expected.c1, actual.c1);
AreEqual(expected.c2, actual.c2);
AreEqual(expected.c3, actual.c3);
}
// uint
public static void AreEqual(uint2 expected, uint2 actual)
{
AreEqual(expected.x, actual.x);
AreEqual(expected.y, actual.y);
}
public static void AreEqual(uint3 expected, uint3 actual)
{
AreEqual(expected.x, actual.x);
AreEqual(expected.y, actual.y);
AreEqual(expected.z, actual.z);
}
public static void AreEqual(uint4 expected, uint4 actual)
{
AreEqual(expected.x, actual.x);
AreEqual(expected.y, actual.y);
AreEqual(expected.z, actual.z);
AreEqual(expected.w, actual.w);
}
public static void AreEqual(uint2x2 expected, uint2x2 actual)
{
AreEqual(expected.c0, actual.c0);
AreEqual(expected.c1, actual.c1);
}
public static void AreEqual(uint3x2 expected, uint3x2 actual)
{
AreEqual(expected.c0, actual.c0);
AreEqual(expected.c1, actual.c1);
}
public static void AreEqual(uint4x2 expected, uint4x2 actual)
{
AreEqual(expected.c0, actual.c0);
AreEqual(expected.c1, actual.c1);
}
public static void AreEqual(uint2x3 expected, uint2x3 actual)
{
AreEqual(expected.c0, actual.c0);
AreEqual(expected.c1, actual.c1);
AreEqual(expected.c2, actual.c2);
}
public static void AreEqual(uint3x3 expected, uint3x3 actual)
{
AreEqual(expected.c0, actual.c0);
AreEqual(expected.c1, actual.c1);
AreEqual(expected.c2, actual.c2);
}
public static void AreEqual(uint4x3 expected, uint4x3 actual)
{
AreEqual(expected.c0, actual.c0);
AreEqual(expected.c1, actual.c1);
AreEqual(expected.c2, actual.c2);
}
public static void AreEqual(uint2x4 expected, uint2x4 actual)
{
AreEqual(expected.c0, actual.c0);
AreEqual(expected.c1, actual.c1);
AreEqual(expected.c2, actual.c2);
AreEqual(expected.c3, actual.c3);
}
public static void AreEqual(uint3x4 expected, uint3x4 actual)
{
AreEqual(expected.c0, actual.c0);
AreEqual(expected.c1, actual.c1);
AreEqual(expected.c2, actual.c2);
AreEqual(expected.c3, actual.c3);
}
public static void AreEqual(uint4x4 expected, uint4x4 actual)
{
AreEqual(expected.c0, actual.c0);
AreEqual(expected.c1, actual.c1);
AreEqual(expected.c2, actual.c2);
AreEqual(expected.c3, actual.c3);
}
// float
public static void AreEqual(float2 expected, float2 actual, float delta = 0.0f)
{
AreEqual(expected.x, actual.x, delta);
AreEqual(expected.y, actual.y, delta);
}
public static void AreEqual(float2 expected, float2 actual, int maxUlp, bool signedZeroEqual)
{
AreEqual(expected.x, actual.x, maxUlp, signedZeroEqual);
AreEqual(expected.y, actual.y, maxUlp, signedZeroEqual);
}
public static void AreEqual(float3 expected, float3 actual, float delta = 0.0f)
{
AreEqual(expected.x, actual.x, delta);
AreEqual(expected.y, actual.y, delta);
AreEqual(expected.z, actual.z, delta);
}
public static void AreEqual(float3 expected, float3 actual, int maxUlp, bool signedZeroEqual)
{
AreEqual(expected.x, actual.x, maxUlp, signedZeroEqual);
AreEqual(expected.y, actual.y, maxUlp, signedZeroEqual);
AreEqual(expected.z, actual.z, maxUlp, signedZeroEqual);
}
public static void AreEqual(float4 expected, float4 actual, float delta = 0.0f)
{
AreEqual(expected.x, actual.x, delta);
AreEqual(expected.y, actual.y, delta);
AreEqual(expected.z, actual.z, delta);
AreEqual(expected.w, actual.w, delta);
}
public static void AreEqual(float4 expected, float4 actual, int maxUlp, bool signedZeroEqual)
{
AreEqual(expected.x, actual.x, maxUlp, signedZeroEqual);
AreEqual(expected.y, actual.y, maxUlp, signedZeroEqual);
AreEqual(expected.z, actual.z, maxUlp, signedZeroEqual);
AreEqual(expected.w, actual.w, maxUlp, signedZeroEqual);
}
public static void AreEqual(float2x2 expected, float2x2 actual, float delta = 0.0f)
{
AreEqual(expected.c0, actual.c0, delta);
AreEqual(expected.c1, actual.c1, delta);
}
public static void AreEqual(float2x2 expected, float2x2 actual, int maxUlp, bool signedZeroEqual)
{
AreEqual(expected.c0, actual.c0, maxUlp, signedZeroEqual);
AreEqual(expected.c1, actual.c1, maxUlp, signedZeroEqual);
}
public static void AreEqual(float3x2 expected, float3x2 actual, float delta = 0.0f)
{
AreEqual(expected.c0, actual.c0, delta);
AreEqual(expected.c1, actual.c1, delta);
}
public static void AreEqual(float3x2 expected, float3x2 actual, int maxUlp, bool signedZeroEqual)
{
AreEqual(expected.c0, actual.c0, maxUlp, signedZeroEqual);
AreEqual(expected.c1, actual.c1, maxUlp, signedZeroEqual);
}
public static void AreEqual(float4x2 expected, float4x2 actual, float delta = 0.0f)
{
AreEqual(expected.c0, actual.c0, delta);
AreEqual(expected.c1, actual.c1, delta);
}
public static void AreEqual(float4x2 expected, float4x2 actual, int maxUlp, bool signedZeroEqual)
{
AreEqual(expected.c0, actual.c0, maxUlp, signedZeroEqual);
AreEqual(expected.c1, actual.c1, maxUlp, signedZeroEqual);
}
public static void AreEqual(float2x3 expected, float2x3 actual, float delta = 0.0f)
{
AreEqual(expected.c0, actual.c0, delta);
AreEqual(expected.c1, actual.c1, delta);
AreEqual(expected.c2, actual.c2, delta);
}
public static void AreEqual(float2x3 expected, float2x3 actual, int maxUlp, bool signedZeroEqual)
{
AreEqual(expected.c0, actual.c0, maxUlp, signedZeroEqual);
AreEqual(expected.c1, actual.c1, maxUlp, signedZeroEqual);
AreEqual(expected.c2, actual.c2, maxUlp, signedZeroEqual);
}
public static void AreEqual(float3x3 expected, float3x3 actual, float delta = 0.0f)
{
AreEqual(expected.c0, actual.c0, delta);
AreEqual(expected.c1, actual.c1, delta);
AreEqual(expected.c2, actual.c2, delta);
}
public static void AreEqual(float3x3 expected, float3x3 actual, int maxUlp, bool signedZeroEqual)
{
AreEqual(expected.c0, actual.c0, maxUlp, signedZeroEqual);
AreEqual(expected.c1, actual.c1, maxUlp, signedZeroEqual);
AreEqual(expected.c2, actual.c2, maxUlp, signedZeroEqual);
}
public static void AreEqual(float4x3 expected, float4x3 actual, float delta = 0.0f)
{
AreEqual(expected.c0, actual.c0, delta);
AreEqual(expected.c1, actual.c1, delta);
AreEqual(expected.c2, actual.c2, delta);
}
public static void AreEqual(float4x3 expected, float4x3 actual, int maxUlp, bool signedZeroEqual)
{
AreEqual(expected.c0, actual.c0, maxUlp, signedZeroEqual);
AreEqual(expected.c1, actual.c1, maxUlp, signedZeroEqual);
AreEqual(expected.c2, actual.c2, maxUlp, signedZeroEqual);
}
public static void AreEqual(float2x4 expected, float2x4 actual, float delta = 0.0f)
{
AreEqual(expected.c0, actual.c0, delta);
AreEqual(expected.c1, actual.c1, delta);
AreEqual(expected.c2, actual.c2, delta);
AreEqual(expected.c3, actual.c3, delta);
}
public static void AreEqual(float2x4 expected, float2x4 actual, int maxUlp, bool signedZeroEqual)
{
AreEqual(expected.c0, actual.c0, maxUlp, signedZeroEqual);
AreEqual(expected.c1, actual.c1, maxUlp, signedZeroEqual);
AreEqual(expected.c2, actual.c2, maxUlp, signedZeroEqual);
AreEqual(expected.c3, actual.c3, maxUlp, signedZeroEqual);
}
public static void AreEqual(float3x4 expected, float3x4 actual, float delta = 0.0f)
{
AreEqual(expected.c0, actual.c0, delta);
AreEqual(expected.c1, actual.c1, delta);
AreEqual(expected.c2, actual.c2, delta);
AreEqual(expected.c3, actual.c3, delta);
}
public static void AreEqual(float3x4 expected, float3x4 actual, int maxUlp, bool signedZeroEqual)
{
AreEqual(expected.c0, actual.c0, maxUlp, signedZeroEqual);
AreEqual(expected.c1, actual.c1, maxUlp, signedZeroEqual);
AreEqual(expected.c2, actual.c2, maxUlp, signedZeroEqual);
AreEqual(expected.c3, actual.c3, maxUlp, signedZeroEqual);
}
public static void AreEqual(float4x4 expected, float4x4 actual, float delta = 0.0f)
{
AreEqual(expected.c0, actual.c0, delta);
AreEqual(expected.c1, actual.c1, delta);
AreEqual(expected.c2, actual.c2, delta);
AreEqual(expected.c3, actual.c3, delta);
}
public static void AreEqual(float4x4 expected, float4x4 actual, int maxUlp, bool signedZeroEqual)
{
AreEqual(expected.c0, actual.c0, maxUlp, signedZeroEqual);
AreEqual(expected.c1, actual.c1, maxUlp, signedZeroEqual);
AreEqual(expected.c2, actual.c2, maxUlp, signedZeroEqual);
AreEqual(expected.c3, actual.c3, maxUlp, signedZeroEqual);
}
// double
public static void AreEqual(double2 expected, double2 actual, double delta = 0.0)
{
AreEqual(expected.x, actual.x, delta);
AreEqual(expected.y, actual.y, delta);
}
public static void AreEqual(double2 expected, double2 actual, int maxUlp, bool signedZeroEqual)
{
AreEqual(expected.x, actual.x, maxUlp, signedZeroEqual);
AreEqual(expected.y, actual.y, maxUlp, signedZeroEqual);
}
public static void AreEqual(double3 expected, double3 actual, double delta = 0.0)
{
AreEqual(expected.x, actual.x, delta);
AreEqual(expected.y, actual.y, delta);
AreEqual(expected.z, actual.z, delta);
}
public static void AreEqual(double3 expected, double3 actual, int maxUlp, bool signedZeroEqual)
{
AreEqual(expected.x, actual.x, maxUlp, signedZeroEqual);
AreEqual(expected.y, actual.y, maxUlp, signedZeroEqual);
AreEqual(expected.z, actual.z, maxUlp, signedZeroEqual);
}
public static void AreEqual(double4 expected, double4 actual, double delta = 0.0)
{
AreEqual(expected.x, actual.x, delta);
AreEqual(expected.y, actual.y, delta);
AreEqual(expected.z, actual.z, delta);
AreEqual(expected.w, actual.w, delta);
}
public static void AreEqual(double4 expected, double4 actual, int maxUlp, bool signedZeroEqual)
{
AreEqual(expected.x, actual.x, maxUlp, signedZeroEqual);
AreEqual(expected.y, actual.y, maxUlp, signedZeroEqual);
AreEqual(expected.z, actual.z, maxUlp, signedZeroEqual);
AreEqual(expected.w, actual.w, maxUlp, signedZeroEqual);
}
public static void AreEqual(double2x2 expected, double2x2 actual, double delta = 0.0)
{
AreEqual(expected.c0, actual.c0, delta);
AreEqual(expected.c1, actual.c1, delta);
}
public static void AreEqual(double2x2 expected, double2x2 actual, int maxUlp, bool signedZeroEqual)
{
AreEqual(expected.c0, actual.c0, maxUlp, signedZeroEqual);
AreEqual(expected.c1, actual.c1, maxUlp, signedZeroEqual);
}
public static void AreEqual(double3x2 expected, double3x2 actual, double delta = 0.0)
{
AreEqual(expected.c0, actual.c0, delta);
AreEqual(expected.c1, actual.c1, delta);
}
public static void AreEqual(double3x2 expected, double3x2 actual, int maxUlp, bool signedZeroEqual)
{
AreEqual(expected.c0, actual.c0, maxUlp, signedZeroEqual);
AreEqual(expected.c1, actual.c1, maxUlp, signedZeroEqual);
}
public static void AreEqual(double4x2 expected, double4x2 actual, double delta = 0.0)
{
AreEqual(expected.c0, actual.c0, delta);
AreEqual(expected.c1, actual.c1, delta);
}
public static void AreEqual(double4x2 expected, double4x2 actual, int maxUlp, bool signedZeroEqual)
{
AreEqual(expected.c0, actual.c0, maxUlp, signedZeroEqual);
AreEqual(expected.c1, actual.c1, maxUlp, signedZeroEqual);
}
public static void AreEqual(double2x3 expected, double2x3 actual, double delta = 0.0)
{
AreEqual(expected.c0, actual.c0, delta);
AreEqual(expected.c1, actual.c1, delta);
AreEqual(expected.c2, actual.c2, delta);
}
public static void AreEqual(double2x3 expected, double2x3 actual, int maxUlp, bool signedZeroEqual)
{
AreEqual(expected.c0, actual.c0, maxUlp, signedZeroEqual);
AreEqual(expected.c1, actual.c1, maxUlp, signedZeroEqual);
AreEqual(expected.c2, actual.c2, maxUlp, signedZeroEqual);
}
public static void AreEqual(double3x3 expected, double3x3 actual, double delta = 0.0)
{
AreEqual(expected.c0, actual.c0, delta);
AreEqual(expected.c1, actual.c1, delta);
AreEqual(expected.c2, actual.c2, delta);
}
public static void AreEqual(double3x3 expected, double3x3 actual, int maxUlp, bool signedZeroEqual)
{
AreEqual(expected.c0, actual.c0, maxUlp, signedZeroEqual);
AreEqual(expected.c1, actual.c1, maxUlp, signedZeroEqual);
AreEqual(expected.c2, actual.c2, maxUlp, signedZeroEqual);
}
public static void AreEqual(double4x3 expected, double4x3 actual, double delta = 0.0)
{
AreEqual(expected.c0, actual.c0, delta);
AreEqual(expected.c1, actual.c1, delta);
AreEqual(expected.c2, actual.c2, delta);
}
public static void AreEqual(double4x3 expected, double4x3 actual, int maxUlp, bool signedZeroEqual)
{
AreEqual(expected.c0, actual.c0, maxUlp, signedZeroEqual);
AreEqual(expected.c1, actual.c1, maxUlp, signedZeroEqual);
AreEqual(expected.c2, actual.c2, maxUlp, signedZeroEqual);
}
public static void AreEqual(double2x4 expected, double2x4 actual, double delta = 0.0)
{
AreEqual(expected.c0, actual.c0, delta);
AreEqual(expected.c1, actual.c1, delta);
AreEqual(expected.c2, actual.c2, delta);
AreEqual(expected.c3, actual.c3, delta);
}
public static void AreEqual(double2x4 expected, double2x4 actual, int maxUlp, bool signedZeroEqual)
{
AreEqual(expected.c0, actual.c0, maxUlp, signedZeroEqual);
AreEqual(expected.c1, actual.c1, maxUlp, signedZeroEqual);
AreEqual(expected.c2, actual.c2, maxUlp, signedZeroEqual);
AreEqual(expected.c3, actual.c3, maxUlp, signedZeroEqual);
}
public static void AreEqual(double3x4 expected, double3x4 actual, double delta = 0.0)
{
AreEqual(expected.c0, actual.c0, delta);
AreEqual(expected.c1, actual.c1, delta);
AreEqual(expected.c2, actual.c2, delta);
AreEqual(expected.c3, actual.c3, delta);
}
public static void AreEqual(double3x4 expected, double3x4 actual, int maxUlp, bool signedZeroEqual)
{
AreEqual(expected.c0, actual.c0, maxUlp, signedZeroEqual);
AreEqual(expected.c1, actual.c1, maxUlp, signedZeroEqual);
AreEqual(expected.c2, actual.c2, maxUlp, signedZeroEqual);
AreEqual(expected.c3, actual.c3, maxUlp, signedZeroEqual);
}
public static void AreEqual(double4x4 expected, double4x4 actual, double delta = 0.0)
{
AreEqual(expected.c0, actual.c0, delta);
AreEqual(expected.c1, actual.c1, delta);
AreEqual(expected.c2, actual.c2, delta);
AreEqual(expected.c3, actual.c3, delta);
}
public static void AreEqual(double4x4 expected, double4x4 actual, int maxUlp, bool signedZeroEqual)
{
AreEqual(expected.c0, actual.c0, maxUlp, signedZeroEqual);
AreEqual(expected.c1, actual.c1, maxUlp, signedZeroEqual);
AreEqual(expected.c2, actual.c2, maxUlp, signedZeroEqual);
AreEqual(expected.c3, actual.c3, maxUlp, signedZeroEqual);
}
public static void AreEqual(quaternion expected, quaternion actual, float delta = 0.0f)
{
AreEqual(expected.value, actual.value, delta);
}
public static void AreEqual(RigidTransform expected, RigidTransform actual, float delta = 0.0f)
{
AreEqual(expected.rot, actual.rot, delta);
AreEqual(expected.pos, actual.pos, delta);
}
public static void IsTrue(bool condition)
{
AreEqual(true, condition);
}
public static void IsFalse(bool condition)
{
AreEqual(false, condition);
}
public static float UnsignedFloatQNaN()
{
return asfloat(0x7fc0_0000u);
}
public static double UnsignedDoubleQNaN()
{
return asdouble(0x7ff8_0000_0000_0000ul);
}
public static float SignedFloatQNaN()
{
return asfloat(0xffc0_0000u);
}
public static double SignedDoubleQNaN()
{
return asdouble(0xfff8_0000_0000_0000ul);
}
public static float SignedFloatZero()
{
return asfloat(0x8000_0000u);
}
public static double SignedDoubleZero()
{
return asdouble(0x8000_0000_0000_0000ul);
}
}
}

View File

@@ -0,0 +1,63 @@
using NUnit.Framework;
using static Unity.Mathematics.math;
using Burst.Compiler.IL.Tests;
namespace Unity.Mathematics.Tests
{
[TestFixture]
public partial class TestMath
{
[TestCompiler]
public unsafe void hash_blob()
{
byte[] testData = {
0x0d, 0x26, 0x1c, 0xeb, 0x56, 0x3a, 0x9c, 0x18, 0x93, 0xb6,
0xc1, 0x99, 0x5e, 0x04, 0x92, 0x4f, 0x6e, 0xb7, 0x42, 0x53,
0x23, 0xcf, 0xe3, 0xbf, 0x16, 0x64, 0x79, 0x08, 0xc1, 0x01,
0x43, 0x89, 0x73, 0x8f, 0x76, 0x22, 0x0c, 0xee, 0x9b, 0x80,
0x31, 0x83, 0xce, 0x33, 0x8b, 0xc7, 0x3f, 0x94, 0x33
};
uint[] resultsWithZeroSeed =
{
0x02cc5d05, 0x376a5b3f, 0x8ae13198, 0xf5b14d72, 0xcc7ddc84,
0x763e5905, 0x58759392, 0x6bccbd00, 0x7d0f80c8, 0xef01ae48,
0xe40aa3ad, 0x805e04ad, 0xf98a471c, 0xdd960ac1, 0x76a71750,
0xd35e2baa, 0x0219f7da, 0xd5bd1fbd, 0x5f28c87e, 0xfe6f7995,
0x69a43ac5, 0xec1a1a15, 0x7ae9f103, 0x8d04a688, 0xce3b35be,
0x6b3f040c, 0xd5ea2e8c, 0x6989e79c, 0x8772f1fb, 0x0d7b7bf6,
0x0796214b, 0x98ea65c4, 0x3884dd82, 0x59632484, 0x91c92822,
0x72d28404, 0x167061b0, 0x32adc2ef, 0xbac3e672, 0xd39936b7,
0x94e2c154, 0x8b4ff46c, 0x68976fd4, 0x04bee59a, 0x2ed62c69,
0xabee69fd, 0xda11e266, 0xcebd9d38, 0x28eea5fd, 0x0210d6ee
};
uint[] resultsWith_0xeb69cf40_seed =
{
0x12c3b280, 0x9bc1f68d, 0x2f900b51, 0xdb77e20e, 0xf6e8f561,
0x3f3f72f6, 0x15f9700f, 0x28beb671, 0xceece5e1, 0x7a9b5c81,
0x62a84642, 0xf75666af, 0x8939f8ca, 0x6b84792b, 0x527ee836,
0xa0782090, 0xce6b9926, 0xa608c73b, 0xa08ee6a3, 0xab77a6b2,
0x4e174e68, 0x596f10d5, 0xa14c4d85, 0x509ab88d, 0xd14698a4,
0xbaad2308, 0xbd04c3df, 0x5715fed1, 0x5cf23a74, 0xd4e844f9,
0x166dcfba, 0xe3495e37, 0x1b18b2b3, 0x2e8c2aab, 0x40993321,
0x4b84998a, 0xd062937d, 0x1b2c9f7b, 0x8a613ed3, 0x70d71291,
0x1af38ea4, 0x460cb7e9, 0xf806e3a9, 0xec9b6b2e, 0x9972a843,
0x1ff06d2a, 0xe8c5007b, 0x37d8fc40, 0x0dc4f639, 0x36edff4f
};
fixed (byte* p = testData)
{
for (int i = 0; i < 50; ++i)
{
TestUtils.AreEqual(hash(p, i, 0), resultsWithZeroSeed[i]);
}
for (int i = 0; i < 50; ++i)
{
TestUtils.AreEqual(hash(p, i, 0xeb69cf40), resultsWith_0xeb69cf40_seed[i]);
}
}
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,13 @@
{
"name": "Unity.Mathematics.Tests",
"optionalUnityReferences": [
"TestAssemblies"
],
"references": [
"Unity.Mathematics"
],
"includePlatforms": [
"Editor"
],
"allowUnsafeCode": true
}