public 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(a0 != b0, r0); double4x3 a1 = double4x3(65.662074358045174, 102.78780250567377, 172.93008120960099, 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(a1 != b1, r1); double4x3 a2 = double4x3(43.12718560319729, -354.71349994964595, -145.2871955117617, 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.97589380805187, -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(a2 != b2, r2); 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(a3 != b3, r3); }
public 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(a0 == b0, r0); 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(a1 == b1, r1); 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(a2 == b2, r2); 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(a3 == b3, r3); }
public 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(a0 == b0, r0); 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(a1 == b1, r1); 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(a2 == b2, r2); double a3 = (492.88110827509365); double4x3 b3 = double4x3(140.40315849166507, -267.53641546309757, 125.9727018466092, 478.00049398746364, 116.14462071105118, -368.95778220191494, -225.02866350162248, 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(a3 == b3, r3); }
public 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.0497396840014, 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(a0 == b0, r0); 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(a1 == b1, r1); 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(a2 == b2, r2); 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(a3 == b3, r3); }
public 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(a0 != b0, r0); 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(a1 != b1, r1); 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(a2 != b2, r2); 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(a3 != b3, r3); }
public 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(a0 != b0, r0); 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(a1 != b1, r1); 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(a2 != b2, r2); 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(a3 != b3, r3); }
public static void AreEqual(double4x3 a, double4x3 b, int maxUlp, bool signedZeroEqual) { AreEqual(a.c0, b.c0, maxUlp, signedZeroEqual); AreEqual(a.c1, b.c1, maxUlp, signedZeroEqual); AreEqual(a.c2, b.c2, maxUlp, signedZeroEqual); }
public static void AreEqual(double4x3 a, double4x3 b, double delta = 0.0) { AreEqual(a.c0, b.c0, delta); AreEqual(a.c1, b.c1, delta); AreEqual(a.c2, b.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(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); }