X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?a=blobdiff_plain;f=check%2Fexam_numeric.cpp;h=e9728b4510c3b0693bf76f08082d3ae633926d63;hb=7680fb04783eb54c66f7ec40184b383d3605e6bb;hp=3b943b17e41f359381fd26575c74a3ea5bb15ef9;hpb=1f5afe37b4c079821de9810435fa9fa11e4ea17b;p=ginac.git diff --git a/check/exam_numeric.cpp b/check/exam_numeric.cpp index 3b943b17..e9728b45 100644 --- a/check/exam_numeric.cpp +++ b/check/exam_numeric.cpp @@ -4,7 +4,7 @@ * tests on these numbers like is_integer() etc... */ /* - * GiNaC Copyright (C) 1999-2003 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2005 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 @@ -18,7 +18,7 @@ * * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #include "exams.h" @@ -27,7 +27,7 @@ /* Simple and maybe somewhat pointless consistency tests of assorted tests and * conversions. */ -static unsigned exam_numeric1(void) +static unsigned exam_numeric1() { unsigned result = 0; numeric test_int1(42); @@ -112,7 +112,7 @@ static unsigned exam_numeric1(void) * Implementing a workaround sadly introduced another bug on May 28th 1999 * that was fixed on May 31st. The workaround turned out to be stupid and * the original bug in CLN was finally killed on September 2nd. */ -static unsigned exam_numeric2(void) +static unsigned exam_numeric2() { unsigned result = 0; @@ -151,7 +151,7 @@ static unsigned exam_numeric2(void) /* Assorted tests to ensure some crucial functions behave exactly as specified * in the documentation. */ -static unsigned exam_numeric3(void) +static unsigned exam_numeric3() { unsigned result = 0; numeric calc_rem, calc_quo; @@ -269,7 +269,7 @@ static unsigned exam_numeric3(void) /* Now we perform some less trivial checks about several functions which should * return exact numbers if possible. */ -static unsigned exam_numeric4(void) +static unsigned exam_numeric4() { unsigned result = 0; bool passed; @@ -300,7 +300,7 @@ static unsigned exam_numeric4(void) /* This test examines that simplifications of the form 5^(3/2) -> 5*5^(1/2) * are carried out properly. */ -static unsigned exam_numeric5(void) +static unsigned exam_numeric5() { unsigned result = 0; @@ -319,7 +319,7 @@ static unsigned exam_numeric5(void) /* This test checks whether the numeric output/parsing routines are consistent. */ -static unsigned exam_numeric6(void) +static unsigned exam_numeric6() { unsigned result = 0; @@ -373,7 +373,7 @@ static unsigned exam_numeric6(void) return result; } -unsigned exam_numeric(void) +unsigned exam_numeric() { unsigned result = 0;