]> www.ginac.de Git - ginac.git/blobdiff - check/numeric_output.cpp
genheader.pl: create a header file 'cint_workaround.h' to fix the broken
[ginac.git] / check / numeric_output.cpp
index d138a74f3b221d967cdbc88d5b1cdf659831c201..3682c8e72374f01d548112c705189b7b8aee990b 100644 (file)
@@ -1,8 +1,9 @@
 /** @file numeric_output.cpp
  *
- *  Test output of numeric types.
- *
- *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *  Test output of numeric types. */
+
+/*
+ *  GiNaC Copyright (C) 1999-2000 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 <ginac/ginac.h>
 
+#ifndef NO_GINAC_NAMESPACE
+using namespace GiNaC;
+#endif // ndef NO_GINAC_NAMESPACE
+
 unsigned numeric_output(void)
 {
     unsigned result = 0;
@@ -29,7 +34,7 @@ unsigned numeric_output(void)
     clog << "---------output of numeric types:" << endl;
     
     unsigned long Digits_before = Digits;
-    Digits = 200;
+    Digits = 222;
     clog << "Using " << Digits << " digits" << endl;
     clog << Pi << " evalfs to: " << Pi.evalf() << endl;
     clog << Catalan << " evalfs to: " << Catalan.evalf() << endl;