]> www.ginac.de Git - ginac.git/blobdiff - check/exam_inifcns.cpp
print_tree: only print the "nops=" line when nops() > 0
[ginac.git] / check / exam_inifcns.cpp
index 96ea9cc7cd4a3feb8e3750d45eba145b062ea6a5..c108ada8574c1f8387218c3169ed7607143215f0 100644 (file)
@@ -4,7 +4,7 @@
  *  functions. */
 
 /*
- *  GiNaC Copyright (C) 1999-2001 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2003 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
 #include "exams.h"
 
 /* Assorted tests on other transcendental functions. */
-static unsigned inifcns_consist_trans(void)
+static unsigned inifcns_consist_trans()
 {
+       using GiNaC::asin; using GiNaC::acos;
+
        unsigned result = 0;
        symbol x("x");
        ex chk;
@@ -116,7 +118,7 @@ static unsigned inifcns_consist_trans(void)
 
 /* Simple tests on the tgamma function.  We stuff in arguments where the results
  * exists in closed form and check if it's ok. */
-static unsigned inifcns_consist_gamma(void)
+static unsigned inifcns_consist_gamma()
 {
        unsigned result = 0;
        ex e;
@@ -161,8 +163,10 @@ static unsigned inifcns_consist_gamma(void)
 
 /* Simple tests on the Psi-function (aka polygamma-function).  We stuff in
    arguments where the result exists in closed form and check if it's ok. */
-static unsigned inifcns_consist_psi(void)
+static unsigned inifcns_consist_psi()
 {
+       using GiNaC::log;
+
        unsigned result = 0;
        symbol x;
        ex e, f;
@@ -183,7 +187,7 @@ static unsigned inifcns_consist_psi(void)
 /* Simple tests on the Riemann Zeta function.  We stuff in arguments where the
  * result exists in closed form and check if it's ok.  Of course, this checks
  * the Bernoulli numbers as a side effect. */
-static unsigned inifcns_consist_zeta(void)
+static unsigned inifcns_consist_zeta()
 {
        unsigned result = 0;
        ex e;
@@ -208,7 +212,7 @@ static unsigned inifcns_consist_zeta(void)
        return result;
 }
 
-unsigned exam_inifcns(void)
+unsigned exam_inifcns()
 {
        unsigned result = 0;