X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=check%2Fexam_mod_gcd.cpp;h=de1faaab6a757559dfe2941ceee1652ba8855464;hp=60c04ac1aa0940a7cfe3b5a8a83f0359020bc5f7;hb=4f2cf6aebc213c200b98fde6adb7133e8688530d;hpb=80b1c3e0ee0e465d56e5c76bef4e52ef2dbc5197 diff --git a/check/exam_mod_gcd.cpp b/check/exam_mod_gcd.cpp index 60c04ac1..de1faaab 100644 --- a/check/exam_mod_gcd.cpp +++ b/check/exam_mod_gcd.cpp @@ -1,11 +1,35 @@ +/** @file exam_misc.cpp + * + * Testing modular GCD. + */ + +/* + * GiNaC Copyright (C) 1999-2009 Johannes Gutenberg University Mainz, Germany + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#include +#include +#include +#include + #include "polynomial/upoly.h" #include "polynomial/upoly_io.h" #include "polynomial/mod_gcd.h" #include "ginac.h" -#include -#include -#include -#include using namespace GiNaC; static upoly ex_to_upoly(const ex& e, const symbol& x); @@ -82,4 +106,3 @@ static upoly make_random_upoly(const std::size_t deg) p[deg] = cln::random_I(biggish); return p; } -