public static void fp3x4_operator_not_equal_scalar_wide() { fp a0 = (478.353149m); fp3x4 b0 = fp3x4(459.553223m, 436.453247m, -488.714172m, 392.767944m, -266.736633m, 338.557861m, -338.100128m, -152.314545m, -452.820679m, 209.439331m, 50.10797m, 372.4344m); bool3x4 r0 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true); TestUtils.AreEqual(a0 != b0, r0); fp a1 = (-488.0213m); fp3x4 b1 = fp3x4(489.740784m, 270.4001m, -472.846771m, -286.850464m, -384.691864m, 443.423523m, 358.7472m, -15.4140625m, -342.179169m, 468.967529m, -130.568085m, 401.785828m); bool3x4 r1 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true); TestUtils.AreEqual(a1 != b1, r1); fp a2 = (-268.352264m); fp3x4 b2 = fp3x4(-239.231018m, 411.386536m, 139.769348m, 334.522034m, -223.629242m, -12.4884644m, 113.468872m, -189.652252m, -212.846558m, 306.1256m, -178.330383m, 382.141968m); bool3x4 r2 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true); TestUtils.AreEqual(a2 != b2, r2); fp a3 = (-340.8656m); fp3x4 b3 = fp3x4(-17.58023m, -409.874847m, -349.70166m, 275.8543m, -229.371948m, -127.505737m, 90.75342m, -422.087128m, -2.44754028m, -280.5517m, -484.374359m, -33.7634277m); bool3x4 r3 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true); TestUtils.AreEqual(a3 != b3, r3); }
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); }
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 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(a0 != b0, r0); double3x4 a1 = double3x4(65.662074358045174, 102.78780250567377, 172.93008120960099, 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(a1 != b1, r1); double3x4 a2 = double3x4(43.12718560319729, -354.71349994964595, -145.2871955117617, 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.97589380805187, -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(a2 != b2, r2); 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(a3 != b3, r3); }
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); }
public 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(a0 != b0, r0); 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(a1 != b1, r1); 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(a2 != b2, r2); 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(a3 != b3, r3); }
public 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(a0 == b0, r0); 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(a1 == b1, r1); 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(a2 == b2, r2); double a3 = (492.88110827509365); double3x4 b3 = double3x4(140.40315849166507, -267.53641546309757, 125.9727018466092, 478.00049398746364, 116.14462071105118, -368.95778220191494, -225.02866350162248, 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(a3 == b3, r3); }
public static void fix64p3x4_operator_not_equal_scalar_wide() { fix64p a0 = (new fix64p(478.353149f)); fix64p3x4 b0 = fix64p3x4(new fix64p(459.553223f), new fix64p(436.453247f), new fix64p(-488.714172f), new fix64p(392.767944f), new fix64p(-266.736633f), new fix64p(338.557861f), new fix64p(-338.100128f), new fix64p(-152.314545f), new fix64p(-452.820679f), new fix64p(209.439331f), new fix64p(50.10797f), new fix64p(372.4344f)); bool3x4 r0 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true); TestUtils.AreEqual(a0 != b0, r0); fix64p a1 = (new fix64p(-488.0213f)); fix64p3x4 b1 = fix64p3x4(new fix64p(489.740784f), new fix64p(270.4001f), new fix64p(-472.846771f), new fix64p(-286.850464f), new fix64p(-384.691864f), new fix64p(443.423523f), new fix64p(358.7472f), new fix64p(-15.4140625f), new fix64p(-342.179169f), new fix64p(468.967529f), new fix64p(-130.568085f), new fix64p(401.785828f)); bool3x4 r1 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true); TestUtils.AreEqual(a1 != b1, r1); fix64p a2 = (new fix64p(-268.352264f)); fix64p3x4 b2 = fix64p3x4(new fix64p(-239.231018f), new fix64p(411.386536f), new fix64p(139.769348f), new fix64p(334.522034f), new fix64p(-223.629242f), new fix64p(-12.4884644f), new fix64p(113.468872f), new fix64p(-189.652252f), new fix64p(-212.846558f), new fix64p(306.1256f), new fix64p(-178.330383f), new fix64p(382.141968f)); bool3x4 r2 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true); TestUtils.AreEqual(a2 != b2, r2); fix64p a3 = (new fix64p(-340.8656f)); fix64p3x4 b3 = fix64p3x4(new fix64p(-17.58023f), new fix64p(-409.874847f), new fix64p(-349.70166f), new fix64p(275.8543f), new fix64p(-229.371948f), new fix64p(-127.505737f), new fix64p(90.75342f), new fix64p(-422.087128f), new fix64p(-2.44754028f), new fix64p(-280.5517f), new fix64p(-484.374359f), new fix64p(-33.7634277f)); bool3x4 r3 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true); TestUtils.AreEqual(a3 != b3, r3); }
public static void fix64p3x4_operator_equal_wide_wide() { fix64p3x4 a0 = fix64p3x4(new fix64p(-135.18924f), new fix64p(-49.0941162f), new fix64p(169.129822f), new fix64p(240.8053f), new fix64p(314.7392f), new fix64p(442.393f), new fix64p(177.924438f), new fix64p(335.5334f), new fix64p(168.15448f), new fix64p(350.729553f), new fix64p(367.178467f), new fix64p(46.9414673f)); fix64p3x4 b0 = fix64p3x4(new fix64p(-220.014648f), new fix64p(66.98004f), new fix64p(499.2016f), new fix64p(-371.1131f), new fix64p(208.448669f), new fix64p(390.8037f), new fix64p(-72.44382f), new fix64p(362.97644f), new fix64p(194.678345f), new fix64p(471.644836f), new fix64p(-404.044678f), new fix64p(-144.696747f)); bool3x4 r0 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false); TestUtils.AreEqual(a0 == b0, r0); fix64p3x4 a1 = fix64p3x4(new fix64p(188.76416f), new fix64p(-97.2113953f), new fix64p(-293.320984f), new fix64p(-234.822937f), new fix64p(417.0337f), new fix64p(26.3864136f), new fix64p(269.245728f), new fix64p(29.4741821f), new fix64p(479.485229f), new fix64p(-237.230957f), new fix64p(-221.9837f), new fix64p(-506.672546f)); fix64p3x4 b1 = fix64p3x4(new fix64p(-494.446655f), new fix64p(-252.970367f), new fix64p(234.417114f), new fix64p(398.724f), new fix64p(260.4287f), new fix64p(370.144226f), new fix64p(89.579834f), new fix64p(-434.816833f), new fix64p(-109.845337f), new fix64p(336.973022f), new fix64p(-409.154968f), new fix64p(500.387573f)); bool3x4 r1 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false); TestUtils.AreEqual(a1 == b1, r1); fix64p3x4 a2 = fix64p3x4(new fix64p(-22.98944f), new fix64p(487.260864f), new fix64p(-419.731964f), new fix64p(337.2033f), new fix64p(245.043884f), new fix64p(390.215881f), new fix64p(84.4129639f), new fix64p(434.2079f), new fix64p(-68.7284241f), new fix64p(485.769958f), new fix64p(413.169739f), new fix64p(-418.2693f)); fix64p3x4 b2 = fix64p3x4(new fix64p(-174.081818f), new fix64p(395.101135f), new fix64p(350.3393f), new fix64p(-243.144592f), new fix64p(-416.397369f), new fix64p(151.576477f), new fix64p(-18.2243347f), new fix64p(-431.677917f), new fix64p(-468.330963f), new fix64p(429.495728f), new fix64p(477.389221f), new fix64p(-433.4254f)); bool3x4 r2 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false); TestUtils.AreEqual(a2 == b2, r2); fix64p3x4 a3 = fix64p3x4(new fix64p(-346.795868f), new fix64p(504.159668f), new fix64p(345.186279f), new fix64p(-434.713043f), new fix64p(-499.7741f), new fix64p(282.019043f), new fix64p(259.15625f), new fix64p(306.455933f), new fix64p(435.2254f), new fix64p(-386.8997f), new fix64p(211.364014f), new fix64p(-7.229828f)); fix64p3x4 b3 = fix64p3x4(new fix64p(273.5464f), new fix64p(-34.9762268f), new fix64p(221.968445f), new fix64p(85.91913f), new fix64p(-85.59894f), new fix64p(392.7608f), new fix64p(-117.924072f), new fix64p(-445.3056f), new fix64p(-242.468964f), new fix64p(173.643066f), new fix64p(389.897766f), new fix64p(-14.2904663f)); bool3x4 r3 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false); TestUtils.AreEqual(a3 == b3, r3); }
public static void fix64p3x4_operator_not_equal_wide_wide() { fix64p3x4 a0 = fix64p3x4(new fix64p(279.994141f), new fix64p(-43.34201f), new fix64p(-465.724731f), new fix64p(317.466553f), new fix64p(85.7149658f), new fix64p(360.8905f), new fix64p(366.081543f), new fix64p(154.542847f), new fix64p(332.4262f), new fix64p(397.11322f), new fix64p(-431.374969f), new fix64p(489.0108f)); fix64p3x4 b0 = fix64p3x4(new fix64p(-460.9121f), new fix64p(-476.009033f), new fix64p(468.1364f), new fix64p(-341.012543f), new fix64p(-62.65805f), new fix64p(-458.801666f), new fix64p(-457.730225f), new fix64p(-59.5232544f), new fix64p(3.024231f), new fix64p(155.812744f), new fix64p(-19.8399048f), new fix64p(-6.01693726f)); bool3x4 r0 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true); TestUtils.AreEqual(a0 != b0, r0); fix64p3x4 a1 = fix64p3x4(new fix64p(398.4336f), new fix64p(-489.817932f), new fix64p(171.4049f), new fix64p(-67.82968f), new fix64p(-192.278717f), new fix64p(227.84082f), new fix64p(62.1381836f), new fix64p(262.186462f), new fix64p(-404.0531f), new fix64p(34.449585f), new fix64p(-204.795776f), new fix64p(-285.4118f)); fix64p3x4 b1 = fix64p3x4(new fix64p(-406.207916f), new fix64p(-102.420715f), new fix64p(-40.362915f), new fix64p(452.6754f), new fix64p(93.25757f), new fix64p(-258.378052f), new fix64p(-184.0498f), new fix64p(-379.2353f), new fix64p(-370.687317f), new fix64p(-255.947235f), new fix64p(29.0557861f), new fix64p(322.407654f)); bool3x4 r1 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true); TestUtils.AreEqual(a1 != b1, r1); fix64p3x4 a2 = fix64p3x4(new fix64p(-72.20682f), new fix64p(444.749268f), new fix64p(238.81781f), new fix64p(365.1801f), new fix64p(-437.9229f), new fix64p(-362.442627f), new fix64p(445.954346f), new fix64p(-0.417480469f), new fix64p(-506.828369f), new fix64p(245.477051f), new fix64p(-173.571045f), new fix64p(390.338562f)); fix64p3x4 b2 = fix64p3x4(new fix64p(415.071716f), new fix64p(-467.726135f), new fix64p(-433.784668f), new fix64p(-212.165924f), new fix64p(474.674927f), new fix64p(452.483215f), new fix64p(-92.11273f), new fix64p(-385.9221f), new fix64p(420.2151f), new fix64p(-239.176056f), new fix64p(-99.0791f), new fix64p(4.476013f)); bool3x4 r2 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true); TestUtils.AreEqual(a2 != b2, r2); fix64p3x4 a3 = fix64p3x4(new fix64p(252.837769f), new fix64p(47.8658447f), new fix64p(457.7105f), new fix64p(-313.22113f), new fix64p(391.203857f), new fix64p(481.786133f), new fix64p(26.8878174f), new fix64p(-298.1424f), new fix64p(240.077454f), new fix64p(-332.455139f), new fix64p(-333.607178f), new fix64p(-313.1897f)); fix64p3x4 b3 = fix64p3x4(new fix64p(264.348572f), new fix64p(451.312317f), new fix64p(232.958008f), new fix64p(-142.6222f), new fix64p(-300.2256f), new fix64p(268.333252f), new fix64p(-112.103546f), new fix64p(-270.494019f), new fix64p(-71.9932251f), new fix64p(99.46326f), new fix64p(321.7033f), new fix64p(200.059631f)); bool3x4 r3 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true); TestUtils.AreEqual(a3 != b3, r3); }
public static void fix64p3x4_operator_not_equal_wide_scalar() { fix64p3x4 a0 = fix64p3x4(new fix64p(-155.4411f), new fix64p(-19.4266052f), new fix64p(174.633057f), new fix64p(507.920715f), new fix64p(59.177063f), new fix64p(171.151489f), new fix64p(-58.92328f), new fix64p(-398.176849f), new fix64p(492.20105f), new fix64p(-165.241516f), new fix64p(270.341f), new fix64p(-380.243256f)); fix64p b0 = (new fix64p(-393.413544f)); bool3x4 r0 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true); TestUtils.AreEqual(a0 != b0, r0); fix64p3x4 a1 = fix64p3x4(new fix64p(501.899048f), new fix64p(458.400452f), new fix64p(46.7709961f), new fix64p(161.459961f), new fix64p(261.514221f), new fix64p(-145.6124f), new fix64p(-0.449920654f), new fix64p(350.461426f), new fix64p(202.221008f), new fix64p(242.664f), new fix64p(382.677063f), new fix64p(-468.967957f)); fix64p b1 = (new fix64p(-134.345459f)); bool3x4 r1 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true); TestUtils.AreEqual(a1 != b1, r1); fix64p3x4 a2 = fix64p3x4(new fix64p(-497.459473f), new fix64p(-328.587769f), new fix64p(-506.490326f), new fix64p(449.348145f), new fix64p(210.771f), new fix64p(249.181824f), new fix64p(-338.468536f), new fix64p(229.670654f), new fix64p(-76.5433044f), new fix64p(317.286072f), new fix64p(401.939575f), new fix64p(210.984863f)); fix64p b2 = (new fix64p(-80.93225f)); bool3x4 r2 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true); TestUtils.AreEqual(a2 != b2, r2); fix64p3x4 a3 = fix64p3x4(new fix64p(-147.096313f), new fix64p(207.731384f), new fix64p(284.3921f), new fix64p(-509.0853f), new fix64p(414.307617f), new fix64p(-52.2944641f), new fix64p(-140.437927f), new fix64p(-316.787781f), new fix64p(-358.696838f), new fix64p(312.31897f), new fix64p(270.629456f), new fix64p(-140.016724f)); fix64p b3 = (new fix64p(-193.399048f)); bool3x4 r3 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true); TestUtils.AreEqual(a3 != b3, r3); }
public static void fp3x4_operator_equal_scalar_wide() { fp a0 = (36.38391m); fp3x4 b0 = fp3x4(-400.4892m, -71.2868347m, 156.978088m, -225.238739m, 499.141785m, -211.979919m, 428.311951m, -489.501343m, -5.691559m, -30.8659363m, -362.9831m, 184.503174m); bool3x4 r0 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false); TestUtils.AreEqual(a0 == b0, r0); fp a1 = (-160.470612m); fp3x4 b1 = fp3x4(316.668823m, 390.369263m, 505.1051m, -294.6487m, 443.1991m, 96.5592651m, -257.012939m, -245.054962m, 326.464844m, -23.9599m, -168.694885m, 386.2486m); bool3x4 r1 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false); TestUtils.AreEqual(a1 == b1, r1); fp a2 = (-227.090637m); fp3x4 b2 = fp3x4(-336.612427m, 365.108154m, -405.390839m, -473.995483m, 298.435364m, -149.86322m, 450.0664m, 153.47644m, 56.28778m, 39.3421021m, -350.403717m, -482.717224m); bool3x4 r2 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false); TestUtils.AreEqual(a2 == b2, r2); fp a3 = (239.9654m); fp3x4 b3 = fp3x4(-3.40603638m, -1.49484253m, 105.960449m, 151.537537m, 63.2832031m, -289.693176m, 137.553772m, -247.666473m, -339.420563m, 23.2382813m, 21.1778564m, 477.03656m); bool3x4 r3 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false); TestUtils.AreEqual(a3 == b3, r3); }
public static void fp3x4_operator_equal_wide_scalar() { fp3x4 a0 = fp3x4(65.6712m, 404.415527m, -269.730164m, 83.6306152m, 152.9945m, -155.868286m, 314.671265m, 386.365173m, 290.04895m, -132.6352m, -65.66748m, -69.68326m); fp b0 = (-155.815765m); bool3x4 r0 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false); TestUtils.AreEqual(a0 == b0, r0); fp3x4 a1 = fp3x4(-191.190765m, -232.895691m, -319.144043m, -49.70108m, -300.8819m, 333.396851m, 386.3775m, -296.7019m, -309.1172m, 141.542358m, -227.323334m, 83.87286m); fp b1 = (186.845215m); bool3x4 r1 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false); TestUtils.AreEqual(a1 == b1, r1); fp3x4 a2 = fp3x4(-410.91687m, -390.103577m, 36.57434m, -427.541443m, -268.170837m, 175.8117m, -193.47995m, 291.051941m, 423.97168m, -429.8739m, -275.156952m, -56.3323669m); fp b2 = (110.501282m); bool3x4 r2 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false); TestUtils.AreEqual(a2 == b2, r2); fp3x4 a3 = fp3x4(-95.83597m, 253.006165m, -300.509521m, 314.866516m, 195.616211m, -26.1289063m, -284.7747m, -242.672058m, 140.3606m, 505.644348m, 506.537964m, -502.3698m); fp b3 = (-124.865326m); bool3x4 r3 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false); TestUtils.AreEqual(a3 == b3, r3); }
public static void fp3x4_operator_equal_wide_wide() { fp3x4 a0 = fp3x4(-135.18924m, -49.0941162m, 169.129822m, 240.8053m, 314.7392m, 442.393m, 177.924438m, 335.5334m, 168.15448m, 350.729553m, 367.178467m, 46.9414673m); fp3x4 b0 = fp3x4(-220.014648m, 66.98004m, 499.2016m, -371.1131m, 208.448669m, 390.8037m, -72.44382m, 362.97644m, 194.678345m, 471.644836m, -404.044678m, -144.696747m); bool3x4 r0 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false); TestUtils.AreEqual(a0 == b0, r0); fp3x4 a1 = fp3x4(188.76416m, -97.2113953m, -293.320984m, -234.822937m, 417.0337m, 26.3864136m, 269.245728m, 29.4741821m, 479.485229m, -237.230957m, -221.9837m, -506.672546m); fp3x4 b1 = fp3x4(-494.446655m, -252.970367m, 234.417114m, 398.724m, 260.4287m, 370.144226m, 89.579834m, -434.816833m, -109.845337m, 336.973022m, -409.154968m, 500.387573m); bool3x4 r1 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false); TestUtils.AreEqual(a1 == b1, r1); fp3x4 a2 = fp3x4(-22.98944m, 487.260864m, -419.731964m, 337.2033m, 245.043884m, 390.215881m, 84.4129639m, 434.2079m, -68.7284241m, 485.769958m, 413.169739m, -418.2693m); fp3x4 b2 = fp3x4(-174.081818m, 395.101135m, 350.3393m, -243.144592m, -416.397369m, 151.576477m, -18.2243347m, -431.677917m, -468.330963m, 429.495728m, 477.389221m, -433.4254m); bool3x4 r2 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false); TestUtils.AreEqual(a2 == b2, r2); fp3x4 a3 = fp3x4(-346.795868m, 504.159668m, 345.186279m, -434.713043m, -499.7741m, 282.019043m, 259.15625m, 306.455933m, 435.2254m, -386.8997m, 211.364014m, -7.229828m); fp3x4 b3 = fp3x4(273.5464m, -34.9762268m, 221.968445m, 85.91913m, -85.59894m, 392.7608m, -117.924072m, -445.3056m, -242.468964m, 173.643066m, 389.897766m, -14.2904663m); bool3x4 r3 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false); TestUtils.AreEqual(a3 == b3, r3); }
public 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(a0 != b0, r0); 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(a1 != b1, r1); 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(a2 != b2, r2); 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(a3 != b3, r3); }
public static void fix64p3x4_operator_equal_wide_scalar() { fix64p3x4 a0 = fix64p3x4(new fix64p(65.6712f), new fix64p(404.415527f), new fix64p(-269.730164f), new fix64p(83.6306152f), new fix64p(152.9945f), new fix64p(-155.868286f), new fix64p(314.671265f), new fix64p(386.365173f), new fix64p(290.04895f), new fix64p(-132.6352f), new fix64p(-65.66748f), new fix64p(-69.68326f)); fix64p b0 = (new fix64p(-155.815765f)); bool3x4 r0 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false); TestUtils.AreEqual(a0 == b0, r0); fix64p3x4 a1 = fix64p3x4(new fix64p(-191.190765f), new fix64p(-232.895691f), new fix64p(-319.144043f), new fix64p(-49.70108f), new fix64p(-300.8819f), new fix64p(333.396851f), new fix64p(386.3775f), new fix64p(-296.7019f), new fix64p(-309.1172f), new fix64p(141.542358f), new fix64p(-227.323334f), new fix64p(83.87286f)); fix64p b1 = (new fix64p(186.845215f)); bool3x4 r1 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false); TestUtils.AreEqual(a1 == b1, r1); fix64p3x4 a2 = fix64p3x4(new fix64p(-410.91687f), new fix64p(-390.103577f), new fix64p(36.57434f), new fix64p(-427.541443f), new fix64p(-268.170837f), new fix64p(175.8117f), new fix64p(-193.47995f), new fix64p(291.051941f), new fix64p(423.97168f), new fix64p(-429.8739f), new fix64p(-275.156952f), new fix64p(-56.3323669f)); fix64p b2 = (new fix64p(110.501282f)); bool3x4 r2 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false); TestUtils.AreEqual(a2 == b2, r2); fix64p3x4 a3 = fix64p3x4(new fix64p(-95.83597f), new fix64p(253.006165f), new fix64p(-300.509521f), new fix64p(314.866516f), new fix64p(195.616211f), new fix64p(-26.1289063f), new fix64p(-284.7747f), new fix64p(-242.672058f), new fix64p(140.3606f), new fix64p(505.644348f), new fix64p(506.537964f), new fix64p(-502.3698f)); fix64p b3 = (new fix64p(-124.865326f)); bool3x4 r3 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false); TestUtils.AreEqual(a3 == b3, r3); }
public 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(a0 != b0, r0); 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(a1 != b1, r1); 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(a2 != b2, r2); 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(a3 != b3, r3); }
public static void fix64p3x4_operator_equal_scalar_wide() { fix64p a0 = (new fix64p(36.38391f)); fix64p3x4 b0 = fix64p3x4(new fix64p(-400.4892f), new fix64p(-71.2868347f), new fix64p(156.978088f), new fix64p(-225.238739f), new fix64p(499.141785f), new fix64p(-211.979919f), new fix64p(428.311951f), new fix64p(-489.501343f), new fix64p(-5.691559f), new fix64p(-30.8659363f), new fix64p(-362.9831f), new fix64p(184.503174f)); bool3x4 r0 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false); TestUtils.AreEqual(a0 == b0, r0); fix64p a1 = (new fix64p(-160.470612f)); fix64p3x4 b1 = fix64p3x4(new fix64p(316.668823f), new fix64p(390.369263f), new fix64p(505.1051f), new fix64p(-294.6487f), new fix64p(443.1991f), new fix64p(96.5592651f), new fix64p(-257.012939f), new fix64p(-245.054962f), new fix64p(326.464844f), new fix64p(-23.9599f), new fix64p(-168.694885f), new fix64p(386.2486f)); bool3x4 r1 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false); TestUtils.AreEqual(a1 == b1, r1); fix64p a2 = (new fix64p(-227.090637f)); fix64p3x4 b2 = fix64p3x4(new fix64p(-336.612427f), new fix64p(365.108154f), new fix64p(-405.390839f), new fix64p(-473.995483f), new fix64p(298.435364f), new fix64p(-149.86322f), new fix64p(450.0664f), new fix64p(153.47644f), new fix64p(56.28778f), new fix64p(39.3421021f), new fix64p(-350.403717f), new fix64p(-482.717224f)); bool3x4 r2 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false); TestUtils.AreEqual(a2 == b2, r2); fix64p a3 = (new fix64p(239.9654f)); fix64p3x4 b3 = fix64p3x4(new fix64p(-3.40603638f), new fix64p(-1.49484253f), new fix64p(105.960449f), new fix64p(151.537537f), new fix64p(63.2832031f), new fix64p(-289.693176f), new fix64p(137.553772f), new fix64p(-247.666473f), new fix64p(-339.420563f), new fix64p(23.2382813f), new fix64p(21.1778564f), new fix64p(477.03656f)); bool3x4 r3 = bool3x4(false, false, false, false, false, false, false, false, false, false, false, false); TestUtils.AreEqual(a3 == b3, r3); }
public 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.0497396840014, 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(a0 == b0, r0); 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(a1 == b1, r1); 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(a2 == b2, r2); 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(a3 == b3, r3); }
public static void bool3x4_operator_equal_wide_scalar() { bool3x4 a0 = bool3x4(true, true, false, true, true, false, true, true, true, false, false, false); bool b0 = (false); bool3x4 r0 = bool3x4(false, false, true, false, false, true, false, false, false, true, true, true); TestUtils.AreEqual(a0 == b0, r0); bool3x4 a1 = bool3x4(false, false, false, false, false, true, true, false, false, true, false, true); bool b1 = (true); bool3x4 r1 = bool3x4(false, false, false, false, false, true, true, false, false, true, false, true); TestUtils.AreEqual(a1 == b1, r1); bool3x4 a2 = bool3x4(false, false, true, false, false, true, false, true, true, false, false, false); bool b2 = (true); bool3x4 r2 = bool3x4(false, false, true, false, false, true, false, true, true, false, false, false); TestUtils.AreEqual(a2 == b2, r2); bool3x4 a3 = bool3x4(false, true, false, true, true, false, false, false, true, true, true, false); bool b3 = (false); bool3x4 r3 = bool3x4(true, false, true, false, false, true, true, true, false, false, false, true); TestUtils.AreEqual(a3 == b3, r3); }
public 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(a0 == b0, r0); 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(a1 == b1, r1); 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(a2 == b2, r2); 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(a3 == b3, r3); }
public 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(a0 & b0, r0); 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(a1 & b1, r1); 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(a2 & b2, r2); 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(a3 & b3, r3); }
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); }
public 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(a0 | b0, r0); 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(a1 | b1, r1); 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(a2 | b2, r2); 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(a3 | b3, r3); }
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); }
public 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(a0 ^ b0, r0); 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(a1 ^ b1, r1); 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(a2 ^ b2, r2); 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(a3 ^ b3, r3); }
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); }
public 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(a0 == b0, r0); 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(a1 == b1, r1); 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(a2 == b2, r2); 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(a3 == b3, r3); }
public static void AreEqual(bool3x4 a, bool3x4 b) { AreEqual(a.c0, b.c0); AreEqual(a.c1, b.c1); AreEqual(a.c2, b.c2); AreEqual(a.c3, b.c3); }
public static void fp3x4_operator_not_equal_wide_scalar() { fp3x4 a0 = fp3x4(-155.4411m, -19.4266052m, 174.633057m, 507.920715m, 59.177063m, 171.151489m, -58.92328m, -398.176849m, 492.20105m, -165.241516m, 270.341m, -380.243256m); fp b0 = (-393.413544m); bool3x4 r0 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true); TestUtils.AreEqual(a0 != b0, r0); fp3x4 a1 = fp3x4(501.899048m, 458.400452m, 46.7709961m, 161.459961m, 261.514221m, -145.6124m, -0.449920654m, 350.461426m, 202.221008m, 242.664m, 382.677063m, -468.967957m); fp b1 = (-134.345459m); bool3x4 r1 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true); TestUtils.AreEqual(a1 != b1, r1); fp3x4 a2 = fp3x4(-497.459473m, -328.587769m, -506.490326m, 449.348145m, 210.771m, 249.181824m, -338.468536m, 229.670654m, -76.5433044m, 317.286072m, 401.939575m, 210.984863m); fp b2 = (-80.93225m); bool3x4 r2 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true); TestUtils.AreEqual(a2 != b2, r2); fp3x4 a3 = fp3x4(-147.096313m, 207.731384m, 284.3921m, -509.0853m, 414.307617m, -52.2944641m, -140.437927m, -316.787781m, -358.696838m, 312.31897m, 270.629456m, -140.016724m); fp b3 = (-193.399048m); bool3x4 r3 = bool3x4(true, true, true, true, true, true, true, true, true, true, true, true); TestUtils.AreEqual(a3 != b3, r3); }