]> 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 99f3afdca892527bdac2ead99390d075467ebfb2..3682c8e72374f01d548112c705189b7b8aee990b 100644 (file)
@@ -3,7 +3,7 @@
  *  Test output of numeric types. */
 
 /*
- *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *  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)
 {
@@ -31,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;