mirror of
https://github.com/Fishwaldo/bl_mcu_sdk.git
synced 2025-07-14 00:38:33 +00:00
14 lines
No EOL
5.5 KiB
C
14 lines
No EOL
5.5 KiB
C
// Array for BasicMathFunctions part3
|
|
#define ARRAY_SIZE 128
|
|
uint16_t u16_a_array[ARRAY_SIZE] = {65123,14331,6933,7189,4167,26514,29384,23974,50037,41149,50592,61135,63749,12584,9101,45630,6148,34432,34756,56435,31775,25785,44002,48579,34082,22787,9830,38410,17179,2913,49475,15911,28993,45075,23542,48256,25867,44788,46140,28986,1283,21683,27807,17712,12914,53852,28175,58180,25636,50404,26004,52986,49484,24732,14157,51800,62213,21467,43991,28747,54624,50387,10961,56490,64872,33713,57952,38536,10141,13098,26670,49067,54105,51771,20874,35000,5895,7320,8932,44476,32451,12432,32440,9673,3602,55752,36736,60922,45656,38193,53437,57607,64809,34,56717,40145,64877,34582,31426,52517,14931,32643,59038,37660,55389,48407,38403,16169,43674,5471,41022,43315,47825,58376,64376,50399,38105,60837,38016,1112,7920,56538,31738,55368,13723,36194,41280,2096};
|
|
uint16_t u16_b_array[ARRAY_SIZE] = {22536,38277,7062,59395,57648,53592,17087,38951,1475,27869,20494,10583,11715,27714,6175,39224,30862,45609,45867,41846,2202,4509,20945,34790,42889,26713,53738,47078,63481,34821,21308,6922,40039,51039,27751,5952,17463,10070,18415,28841,34546,29977,57368,33951,61841,41792,62763,15774,44310,18944,44027,45556,4455,16697,14682,43767,55338,22574,51152,44258,440,39463,25347,60030,75,30307,27810,30206,50473,21133,51428,30890,2343,11526,47301,31030,10008,22355,39805,12566,48393,15915,60124,17633,50167,12364,18841,5971,37762,44784,35821,27900,42234,42442,44500,41666,61942,13692,46483,15481,7824,39800,29500,30063,43381,50481,22951,43385,27273,55176,54586,16806,40203,38158,35437,57012,17352,20845,7812,61592,42306,31422,41898,35698,42422,35644,47254,34242};
|
|
uint16_t u16_out_array[ARRAY_SIZE];
|
|
uint16_t u16_out_array_ref[ARRAY_SIZE];
|
|
uint32_t u32_a_array[ARRAY_SIZE] = {1492233325,2837327656,1648703087,2694432711,92985245,3910868321,3438373247,3203390553,3492292942,1646288102,2651194115,2471731601,2276554737,1181415605,1067853250,1939773748,978019140,3455084652,4235285469,128814445,2300660180,373993811,3444956505,4248345038,287531990,4034685242,78071912,2937064481,3366122550,2294103385,3802589886,3861196639,2688381633,592142813,935450722,782289964,179614948,459310926,2647604608,4035813307,1522375772,1763638512,4227748553,4061231692,2906166764,4244725895,3293515729,1446112329,2844908427,1048681921,1269193978,2921343859,2267084873,1767780679,2588311437,3223459095,2506255899,2369930805,2506416722,2198249817,354733061,3090530196,4278457919,1522713245,4171524847,1487986099,3807676892,1952899574,1775656685,935152112,539682343,1326778076,3118594787,3362409950,2979795116,42100352,3621573710,3961385766,3311223164,183222686,1624297090,3025115652,3133234672,963262683,1155581273,2890646842,2050813373,2678841594,1015523252,760740732,3563291208,3293903482,4013553621,463379318,782661176,425610997,2103519512,829982374,3847825010,425586804,189689686,2393564468,3317841049,1339772345,768723895,1455803552,902568638,2191088388,3892805126,2701207748,436084731,1678708380,234576576,2152993718,1854228314,4284489076,3485806542,2085858039,3841623858,590758126,1675058352,3982964658,3940606004,3064777043,2655738840,1474410261,4020206756,535900424};
|
|
uint32_t u32_b_array[ARRAY_SIZE] = {3137840234,2776599429,3578360531,1710609144,3220461867,3587244777,1384956860,2371945583,4205327602,2359262184,1419158597,2660610070,1548922278,3249183748,1777690179,2114606121,2983899465,4177860224,1407696836,3598337271,3174291045,4098148084,137106649,1532740624,2846076546,1209039990,989487739,3054273870,2682520252,2536644849,2836559466,204245765,1498019345,1938493031,1034679084,3071094947,3677274943,1209066344,3139839405,591687117,3593696983,595289836,2526340073,1572631483,3465005860,2163721999,2102791673,3766895583,1516732537,1930345376,4138331070,181667658,4178824225,812637203,2865259871,2518738966,2899585749,1550577894,2664075558,3483866523,82710235,360233975,4186741280,2797524939,993158858,1732981263,524074135,1152935958,1107440868,1424491353,653840106,1494681517,522519082,3797408467,404922602,3994494073,1713777717,203587729,1470482999,3160950583,3413133876,2340353012,2947307331,3838123203,235328945,1304215694,198391223,839566306,3093088569,3099906705,3770118303,2501530534,303586908,3963157751,3437571961,1228132396,2335015805,4229581731,3073813892,3603346982,1860839940,2021317762,2408245762,1155739379,3217009822,2164181507,2778026363,1321757210,595817775,2042570197,1556750757,3384921400,3351345031,2871238097,573394711,92581830,2404497522,1292007844,4034733998,4212949037,1231025196,3439496942,3848768947,2566357105,3796822969,4053296105,2358616025,3128397590};
|
|
uint32_t u32_out_array[ARRAY_SIZE];
|
|
uint32_t u32_out_array_ref[ARRAY_SIZE];
|
|
uint8_t u8_a_array[ARRAY_SIZE] = {252,9,226,233,203,25,67,85,174,34,184,27,167,126,199,183,231,228,85,178,50,7,190,128,122,231,156,158,220,206,147,46,61,226,7,125,42,250,182,128,120,15,174,10,18,133,24,209,209,184,38,168,132,249,166,204,116,110,211,21,34,44,100,212,205,15,102,134,106,168,160,74,110,3,251,42,27,95,50,125,86,243,235,13,188,68,108,140,241,106,251,77,179,170,138,178,170,45,32,255,43,8,143,225,171,48,94,117,251,40,219,165,96,48,109,123,30,150,57,98,149,64,74,157,67,211,251,186};
|
|
uint8_t u8_b_array[ARRAY_SIZE] = {233,46,67,37,34,222,148,140,37,218,159,89,131,102,19,61,31,47,61,106,12,231,241,125,125,86,230,94,28,199,99,61,103,24,33,241,244,147,15,60,90,210,3,11,43,166,187,165,115,140,75,190,48,175,46,94,160,199,20,237,198,124,111,114,78,130,130,209,203,164,96,207,136,89,240,224,140,159,150,53,77,120,59,216,49,57,43,58,111,79,236,110,47,231,250,112,28,66,104,152,67,154,182,56,30,75,81,108,130,21,67,205,7,237,186,125,148,60,117,246,139,133,59,125,159,173,101,94};
|
|
uint8_t u8_out_array[ARRAY_SIZE];
|
|
uint8_t u8_out_array_ref[ARRAY_SIZE]; |