Skip to content

Commit 07e1827

Browse files
committed
Update fixtures
1 parent b447e5a commit 07e1827

4 files changed

Lines changed: 5 additions & 4 deletions

File tree

lib/node_modules/@stdlib/math/base/special/gamma/test/fixtures/cpp/decimals.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"x":[141,-170.306218727662639,-170.062437455325238,-169.818656182987866,-169.574874910650465,-169.331093638313092,-169.08731236597572,-168.843531093638319,-168.599749821300946,-168.355968548963546,-168.112187276626173,-167.868406004288801,-167.6246247319514,-167.380843459614027,-167.137062187276626,-166.893280914939254,-166.649499642601882,-166.405718370264481,-166.161937097927108,-165.918155825589707,-165.674374553252335,-165.430593280914962,-165.186812008577562,-164.943030736240189,-164.699249463902788,-164.455468191565416,-164.211686919228043,-163.967905646890642,-163.72412437455327,-163.480343102215869,-163.236561829878497,-162.992780557541124,-162.748999285203723,-162.505218012866351,-162.26143674052895,-162.017655468191577,-161.773874195854205,-161.530092923516804,-161.286311651179432,-161.042530378842031,-160.798749106504658,-160.554967834167286,-160.311186561829885,-160.067405289492513,-159.823624017155112,-159.579842744817739,-159.336061472480367,-159.092280200142966,-158.848498927805593,-158.604717655468193,-158.36093638313082,-158.117155110793419,-157.873373838456047,-157.629592566118674,-157.385811293781273,-157.142030021443901,-156.898248749106529,-156.654467476769128,-156.410686204431755,-156.166904932094354,-155.923123659756982,-155.679342387419581,-155.435561115082209,-155.191779842744836,-154.947998570407435,-154.704217298070063,-154.46043602573269,-154.216654753395289,-153.972873481057917,-153.729092208720516,-153.485310936383144,-153.241529664045743,-152.99774839170837,-152.753967119370998,-152.510185847033597,-152.266404574696224,-152.022623302358852,-151.778842030021451,-151.535060757684079,-151.291279485346678,-151.047498213009305,-150.803716940671904,-150.559935668334532,-150.31615439599716,-150.072373123659759,-149.828591851322386,-149.584810578985014,-149.341029306647613,-149.09724803431024,-148.85346676197284,-148.609685489635467,-148.365904217298066,-148.122122944960694,-147.878341672623321,-147.63456040028592,-147.390779127948548,-147.146997855611176,-146.903216583273775,-146.659435310936402,-146.415654038599001,-146.171872766261629,-145.928091493924228,-145.684310221586856,-145.440528949249483,-145.196747676912082,-144.95296640457471,-144.709185132237337,-144.465403859899936,-144.221622587562564,-143.977841315225163,-143.734060042887791,-143.49027877055039,-143.246497498213017,-143.002716225875645,-142.758934953538244,-142.515153681200871,-142.271372408863499,-142.027591136526098,-141.783809864188726,-141.540028591851325,-141.296247319513952,-141.052466047176551,-140.808684774839179,-140.564903502501807,-140.321122230164406,-140.077340957827033,-139.833559685489632,-139.58977841315226,-139.345997140814887,-139.102215868477487,-138.858434596140114,-138.614653323802713,-138.370872051465341,-138.127090779127968,-137.883309506790567,-137.639528234453195,-137.395746962115822,-137.151965689778422,-136.908184417441021,-136.664403145103648,-136.420621872766276,-136.176840600428875,-135.933059328091502,-135.68927805575413,-135.445496783416729,-135.201715511079357,-134.957934238741984,-134.714152966404583,-134.470371694067182,-134.22659042172981,-133.982809149392438,-133.739027877055037,-133.495246604717664,-133.251465332380292,-133.007684060042891,-132.763902787705518,-132.520121515368146,-132.276340243030745,-132.032558970693344,-131.788777698355972,-131.544996426018599,-131.301215153681198,-131.057433881343826,-130.813652609006454,-130.569871336669053,-130.32609006433168,-130.082308791994279,-129.838527519656907,-129.594746247319506,-129.350964974982134,-129.107183702644761],"expected":[1.34620124757175257e+241,-1.09359334335239832e-307,-1.61143645138864159e-306,2.03767733355397473e-306,3.95391516968630872e-306,1.55905105535823061e-305,1.73542990674943248e-304,-3.48045790446566851e-304,-6.03281689575104349e-304,-2.22846591963962928e-303,-2.02687204665957953e-302,6.0777769031154642e-302,9.2152152689920527e-302,3.19146970944473783e-301,2.4808294005478694e-300,-1.09677555903676579e-299,-1.40975477518441015e-299,-4.577008877799761e-299,-3.12872559651503295e-298,2.08539641674234718e-297,2.16098888377829753e-297,6.57054766066320461e-297,4.02682259114760466e-296,-4.35278233061833566e-295,-3.32141918520660283e-295,-9.4388331785930728e-295,-5.25754543269448786e-294,1.11841752414373452e-292,5.12323259765448213e-293,1.35656097587924363e-292,6.93590897769092962e-292,-7.17016482978185175e-290,-7.94017473949944788e-291,-1.95032541065947025e-290,-9.2198029982631953e-290,-4.21223175731739928e-288,1.23845174357889929e-288,2.80476873836033247e-288,1.23245198998227993e-287,2.50261896343123623e-286,-1.94828299230472495e-286,-4.0347556557791298e-286,-1.65426338669788976e-285,-2.25130098978406108e-284,3.10106308470423119e-284,5.80643104385987272e-284,2.22709260954499405e-283,2.33546274408497186e-282,-5.01718495696838067e-282,-8.36086838638354104e-282,-3.00467195539669468e-281,-2.60247103251825209e-280,8.31021835697441726e-280,1.20493430845163367e-279,4.05968532949411884e-279,3.02508735886865904e-278,-1.42613834906567596e-277,-1.73865822911703654e-277,-5.49036994012397834e-277,-3.61344018084044957e-276,2.59270575134685475e-275,2.51323689318256175e-275,7.42942460214379099e-275,4.39701824289720896e-274,-5.24360324782697898e-273,-3.64189542734517528e-273,-1.00560541052043188e-272,-5.4208099016140867e-272,1.36956497023304908e-270,5.29546576698160299e-271,1.36123019677801561e-270,6.74584973736580808e-270,-2.23886372506416205e-267,-7.73587097140029686e-269,-1.842529000214375e-268,-8.45182376781968652e-268,-3.01094087807877035e-266,1.13732036375679077e-266,2.49376676168749705e-266,1.06411236784414256e-265,1.92972892294754446e-264,-1.68674910262781037e-264,-3.37495983510593464e-264,-1.34442829799723231e-263,-1.69697274695115228e-262,2.53207312887946425e-262,4.56771774654156627e-262,1.70269572720943886e-261,1.68500364115111679e-260,-3.86666867830369973e-260,-6.18346255537358426e-260,-2.15987537543470345e-259,-1.78260222575797536e-258,6.05417187883168717e-258,8.37515390918195429e-258,2.7424345663025647e-257,1.95903905021534329e-256,-9.85023717450275767e-256,-1.13542982041865513e-255,-3.48374591079605886e-255,-2.20686509184256557e-254,1.70851075748923138e-253,1.54161294386174333e-253,4.42585179626389092e-253,2.52827792406740458e-252,-3.35129988372228199e-251,-2.09778098037338499e-251,-5.62170058137047324e-251,-2.93085146948746876e-250,9.08552405931203327e-249,2.8638106158288609e-249,7.13799931953050859e-249,3.4260396458691838e-248,9.42382895261616916e-246,-3.9273954802942529e-247,-9.05888457623421243e-247,-4.02869950337413614e-246,-1.1741661524555623e-244,5.42034845622154625e-245,1.14906973755908283e-244,4.75706152746785335e-244,7.77884032629836244e-243,-7.5475791551083398e-243,-1.45682766510520457e-242,-5.63293395851073815e-242,-6.61682174141995836e-241,1.06419808105945208e-240,1.84633847186751601e-240,6.6820564973452396e-240,6.24832544622700888e-239,-1.52770600970854222e-238,-2.33961943235397987e-238,-7.93457221597554016e-238,-6.24217009314310274e-237,2.25234267724569912e-236,2.96512808146598747e-236,9.42561329375391913e-236,6.45365947661523078e-235,-3.46219045528857987e-234,-3.76004221677901709e-234,-1.11960138420437254e-233,-6.82334984152907812e-233,5.71568803410796276e-232,4.77359906581644797e-232,1.32931791194415829e-231,7.32467908672165204e-231,-1.08939749890232154e-229,-6.07213645776611964e-230,-1.57721592105088044e-229,-7.94605594799154395e-229,3.17696944469348581e-227,7.74697057716010989e-228,1.86970004321550881e-227,8.68354097571307931e-227,8.4280863849815819e-225,-9.92720335697762744e-226,-2.21424837633664139e-225,-9.53744068622618873e-225,-2.34665686227228112e-223,1.28015274267477981e-223,2.61964128574777206e-223,1.05105508394840129e-222,1.56143106954739489e-221,-1.66574444188059402e-221,-3.09626947740051828e-221,-1.1607169637982958e-220,-1.27223260473115529e-219,2.1956688865544039e-219,3.65655811240014056e-219,1.2832504310123209e-218,1.1348527831135111e-217]}
1+
{"x":[141,-170.30621872766264,-170.06243745532524,-169.81865618298787,-169.57487491065046,-169.33109363831309,-169.08731236597572,-168.84353109363832,-168.59974982130095,-168.35596854896355,-168.11218727662617,-167.8684060042888,-167.6246247319514,-167.38084345961403,-167.13706218727663,-166.89328091493925,-166.64949964260188,-166.40571837026448,-166.16193709792711,-165.91815582558971,-165.67437455325233,-165.43059328091496,-165.18681200857756,-164.94303073624019,-164.69924946390279,-164.45546819156542,-164.21168691922804,-163.96790564689064,-163.72412437455327,-163.48034310221587,-163.2365618298785,-162.99278055754112,-162.74899928520372,-162.50521801286635,-162.26143674052895,-162.01765546819158,-161.77387419585421,-161.5300929235168,-161.28631165117943,-161.04253037884203,-160.79874910650466,-160.55496783416729,-160.31118656182989,-160.06740528949251,-159.82362401715511,-159.57984274481774,-159.33606147248037,-159.09228020014297,-158.84849892780559,-158.60471765546819,-158.36093638313082,-158.11715511079342,-157.87337383845605,-157.62959256611867,-157.38581129378127,-157.1420300214439,-156.89824874910653,-156.65446747676913,-156.41068620443176,-156.16690493209435,-155.92312365975698,-155.67934238741958,-155.43556111508221,-155.19177984274484,-154.94799857040744,-154.70421729807006,-154.46043602573269,-154.21665475339529,-153.97287348105792,-153.72909220872052,-153.48531093638314,-153.24152966404574,-152.99774839170837,-152.753967119371,-152.5101858470336,-152.26640457469622,-152.02262330235885,-151.77884203002145,-151.53506075768408,-151.29127948534668,-151.04749821300931,-150.8037169406719,-150.55993566833453,-150.31615439599716,-150.07237312365976,-149.82859185132239,-149.58481057898501,-149.34102930664761,-149.09724803431024,-148.85346676197284,-148.60968548963547,-148.36590421729807,-148.12212294496069,-147.87834167262332,-147.63456040028592,-147.39077912794855,-147.14699785561118,-146.90321658327377,-146.6594353109364,-146.415654038599,-146.17187276626163,-145.92809149392423,-145.68431022158686,-145.44052894924948,-145.19674767691208,-144.95296640457471,-144.70918513223734,-144.46540385989994,-144.22162258756256,-143.97784131522516,-143.73406004288779,-143.49027877055039,-143.24649749821302,-143.00271622587564,-142.75893495353824,-142.51515368120087,-142.2713724088635,-142.0275911365261,-141.78380986418873,-141.54002859185132,-141.29624731951395,-141.05246604717655,-140.80868477483918,-140.56490350250181,-140.32112223016441,-140.07734095782703,-139.83355968548963,-139.58977841315226,-139.34599714081489,-139.10221586847749,-138.85843459614011,-138.61465332380271,-138.37087205146534,-138.12709077912797,-137.88330950679057,-137.63952823445319,-137.39574696211582,-137.15196568977842,-136.90818441744102,-136.66440314510365,-136.42062187276628,-136.17684060042887,-135.9330593280915,-135.68927805575413,-135.44549678341673,-135.20171551107936,-134.95793423874198,-134.71415296640458,-134.47037169406718,-134.22659042172981,-133.98280914939244,-133.73902787705504,-133.49524660471766,-133.25146533238029,-133.00768406004289,-132.76390278770552,-132.52012151536815,-132.27634024303075,-132.03255897069334,-131.78877769835597,-131.5449964260186,-131.3012151536812,-131.05743388134383,-130.81365260900645,-130.56987133666905,-130.32609006433168,-130.08230879199428,-129.83852751965691,-129.59474624731951,-129.35096497498213,-129.10718370264476],"expected":[1.3462012475717526e+241,-1.0935933433523983e-307,-1.6114364513886416e-306,2.0376773335539747e-306,3.9539151696863087e-306,1.5590510553582306e-305,1.7354299067494325e-304,-3.4804579044656685e-304,-6.0328168957510435e-304,-2.2284659196396293e-303,-2.0268720466595795e-302,6.0777769031154642e-302,9.2152152689920527e-302,3.1914697094447378e-301,2.4808294005478694e-300,-1.0967755590367658e-299,-1.4097547751844101e-299,-4.577008877799761e-299,-3.128725596515033e-298,2.0853964167423472e-297,2.1609888837782975e-297,6.5705476606632046e-297,4.0268225911476047e-296,-4.3527823306183357e-295,-3.3214191852066028e-295,-9.4388331785930728e-295,-5.2575454326944879e-294,1.1184175241437345e-292,5.1232325976544821e-293,1.3565609758792436e-292,6.9359089776909296e-292,-7.1701648297818517e-290,-7.9401747394994479e-291,-1.9503254106594702e-290,-9.2198029982631953e-290,-4.2122317573173993e-288,1.2384517435788993e-288,2.8047687383603325e-288,1.2324519899822799e-287,2.5026189634312362e-286,-1.9482829923047249e-286,-4.0347556557791298e-286,-1.6542633866978898e-285,-2.2513009897840611e-284,3.1010630847042312e-284,5.8064310438598727e-284,2.227092609544994e-283,2.3354627440849719e-282,-5.0171849569683807e-282,-8.360868386383541e-282,-3.0046719553966947e-281,-2.6024710325182521e-280,8.3102183569744173e-280,1.2049343084516337e-279,4.0596853294941188e-279,3.025087358868659e-278,-1.426138349065676e-277,-1.7386582291170365e-277,-5.4903699401239783e-277,-3.6134401808404496e-276,2.5927057513468547e-275,2.5132368931825618e-275,7.429424602143791e-275,4.397018242897209e-274,-5.243603247826979e-273,-3.6418954273451753e-273,-1.0056054105204319e-272,-5.4208099016140867e-272,1.3695649702330491e-270,5.295465766981603e-271,1.3612301967780156e-270,6.7458497373658081e-270,-2.238863725064162e-267,-7.7358709714002969e-269,-1.842529000214375e-268,-8.4518237678196865e-268,-3.0109408780787704e-266,1.1373203637567908e-266,2.493766761687497e-266,1.0641123678441426e-265,1.9297289229475445e-264,-1.6867491026278104e-264,-3.3749598351059346e-264,-1.3444282979972323e-263,-1.6969727469511523e-262,2.5320731288794642e-262,4.5677177465415663e-262,1.7026957272094389e-261,1.6850036411511168e-260,-3.8666686783036997e-260,-6.1834625553735843e-260,-2.1598753754347035e-259,-1.7826022257579754e-258,6.0541718788316872e-258,8.3751539091819543e-258,2.7424345663025647e-257,1.9590390502153433e-256,-9.8502371745027577e-256,-1.1354298204186551e-255,-3.4837459107960589e-255,-2.2068650918425656e-254,1.7085107574892314e-253,1.5416129438617433e-253,4.4258517962638909e-253,2.5282779240674046e-252,-3.351299883722282e-251,-2.097780980373385e-251,-5.6217005813704732e-251,-2.9308514694874688e-250,9.0855240593120333e-249,2.8638106158288609e-249,7.1379993195305086e-249,3.4260396458691838e-248,9.4238289526161692e-246,-3.9273954802942529e-247,-9.0588845762342124e-247,-4.0286995033741361e-246,-1.1741661524555623e-244,5.4203484562215463e-245,1.1490697375590828e-244,4.7570615274678533e-244,7.7788403262983624e-243,-7.5475791551083398e-243,-1.4568276651052046e-242,-5.6329339585107382e-242,-6.6168217414199584e-241,1.0641980810594521e-240,1.846338471867516e-240,6.6820564973452396e-240,6.2483254462270089e-239,-1.5277060097085422e-238,-2.3396194323539799e-238,-7.9345722159755402e-238,-6.2421700931431027e-237,2.2523426772456991e-236,2.9651280814659875e-236,9.4256132937539191e-236,6.4536594766152308e-235,-3.4621904552885799e-234,-3.7600422167790171e-234,-1.1196013842043725e-233,-6.8233498415290781e-233,5.7156880341079628e-232,4.773599065816448e-232,1.3293179119441583e-231,7.324679086721652e-231,-1.0893974989023215e-229,-6.0721364577661196e-230,-1.5772159210508804e-229,-7.9460559479915439e-229,3.1769694446934858e-227,7.7469705771601099e-228,1.8697000432155088e-227,8.6835409757130793e-227,8.4280863849815819e-225,-9.9272033569776274e-226,-2.2142483763366414e-225,-9.5374406862261887e-225,-2.3466568622722811e-223,1.2801527426747798e-223,2.6196412857477721e-223,1.0510550839484013e-222,1.5614310695473949e-221,-1.665744441880594e-221,-3.0962694774005183e-221,-1.1607169637982958e-220,-1.2722326047311553e-219,2.1956688865544039e-219,3.6565581124001406e-219,1.2832504310123209e-218,1.1348527831135111e-217]}

lib/node_modules/@stdlib/math/base/special/gamma/test/fixtures/cpp/near_one.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

lib/node_modules/@stdlib/math/base/special/gamma/test/fixtures/cpp/runner.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,8 @@ int main( void ) {
253253
generate( x, len, "decimals.json" );
254254

255255
rand_array_i32( xint, 171, 1, 172 );
256-
*x = static_cast<double>(*xint);
256+
//*x = static_cast<double>(*xint);
257+
x = (double*) xint;
257258
generate( x, 171, "integers.json" );
258259

259260
// Free allocated memory:

0 commit comments

Comments
 (0)