Browse Source

Add one test.

master
Bruno Haible 25 years ago
parent
commit
cd3c142f32
  1. 6
      ChangeLog
  2. 3
      tests/exam_I_floor.cc
  3. 3
      tests/exam_I_gcd.cc

6
ChangeLog

@ -1,3 +1,9 @@
2000-05-31 Bruno Haible <haible@clisp.cons.org>
* tests/exam_I_floor.cc (integer_floor_tests): Add one more entry.
From a sample that fails with gcc-2.95.2 on Sparc.
* tests/exam_I_gcd.cc (integer_gcd_tests): Likewise.
2000-05-30 Richard Kreckel <kreckel@ginac.de>
* configure.in, autoconf/aclocal.m4 (CL_GMP_H_VERSION, CL_GMP_CHECK):

3
tests/exam_I_floor.cc

@ -292,4 +292,7 @@ static floor_test integer_floor_tests[] = {
{ "4195250682093770808206657488351701663023767531608220002369022288787894743733460069813218793361969185403525213558437941222523116136985128137372308027033996674188008302853626391013869026313385724383785051935256506784450227965020957296318645208598488161413279403683346821629439117327209071527878791167163980953326296620631874274522101994118890706372879111377721965738161511000396672294975037034526549811513789043244305969633354034500541113123255063232374386942908997046756046017320772897856114275234707703184161983806610888947627465435762937561231247173215724615365040435541390265704981699351563837340527277633975576176", "-11523670060248463390302653643248573080204626895667435502164973305972185748470395654926094006744012148505197326052121545710242241891352369937317053719774706293090545099894988182012473466703170157783937873302934404896538337261995680454862441735502556865637909145839304694688324140057229642104588273654096346180116632418345589170248829444934471179206795690822184585196864577932274205101316913141872261673241280391442045565990088555353753789476615480189520529331131737084431448177942371080785938641454814169544682945510387155405628842164935394830439534834414364899293061798829902686953424000191565445443376301466821322836",
"-1", "-7328419378154692582095996154896871417180859364059215499795951017184291004736935585112875213382042963101672112493683604487719125754367241799944745692740709618902536797041361790998604440389784433400152821367677898112088109296974723158543796526904068704224629742155957873058885022730020570576709482486932365226790335797713714895726727450815580472833916579444462619458703066931877532806341876107345711861727491348197739596356734520853212676353360416957146142388222740037675402160621598182929824366220106466360520961703776266458001376729172457269208287661198640283928021363288512421248442300840001608102849023832845746660" },
{ "2823618260546496405819033080103700734250203999069672146446", "18374686479688400895",
"153668921843524129851264278497298119153", "18374686475930304511" },
};

3
tests/exam_I_gcd.cc

@ -58,7 +58,8 @@ static gcd_test integer_gcd_tests[] = {
{ "101611479673163974026724715741235467160607959655653420075620", "533177863832047932237026621580126811198495699416238676294977", "1" },
{ "30729415811", "323233683197", "31071199" },
{ "77874422", "32223899", "1" },
{ "974507656412513757857315037382926980395082974811562770185617915360", "-1539496810360685510909469177732386446833404488164283", "1" }
{ "974507656412513757857315037382926980395082974811562770185617915360", "-1539496810360685510909469177732386446833404488164283", "1" },
{ "2823618260546496405819033080103700734250203999069672146446", "18374686479688400895", "1" }
};
DO_BINOP_TEST(integer,cl_I,cl_I,gcd)

Loading…
Cancel
Save