]> www.ginac.de Git - ginac.git/commitdiff
documentation update
authorChristian Bauer <Christian.Bauer@uni-mainz.de>
Wed, 5 Feb 2003 22:31:02 +0000 (22:31 +0000)
committerChristian Bauer <Christian.Bauer@uni-mainz.de>
Wed, 5 Feb 2003 22:31:02 +0000 (22:31 +0000)
NEWS
doc/tutorial/ginac.texi

diff --git a/NEWS b/NEWS
index 2652c120b71cbe3f61b28a19c6c26f6de3c0cf30..531c2c563f76c36799d7e4b879efcb909634e118 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,11 @@
 This file records noteworthy changes.
 
+1.0.14 (<date>)
+* Improved the C-source output: complex numbers are printed correctly (using
+  the STL complex<> template or cln::complex()), rational numbers use cl_RA()
+  in the CLN output, and small integers are printed in a more compact format
+  (e.g. "2.0" instead of "2.0000000e+00").
+
 1.0.13 (27 January 2003)
 * Contracting epsilon tensors with Euclidean indices now works.
 * Improved dummy index symmetrization in sums.
index 46b96d2feb0c06847c2814313d71ff4ffd78be21..80000ff98d670931c189f145c1efab55e89be3b2 100644 (file)
@@ -4233,9 +4233,9 @@ numbers are written.
 The above example will produce (note the @code{x^2} being converted to @code{x*x}):
 
 @example
-float f = (3.000000e+00/2.000000e+00)*(x*x)+4.500000e+00;
-double d = (3.000000e+00/2.000000e+00)*(x*x)+4.500000e+00;
-cl_N n = (cln::cl_F("3.0")/cln::cl_F("2.0"))*(x*x)+cln::cl_F("4.5");
+float f = (3.0/2.0)*(x*x)+4.500000e+00;
+double d = (3.0/2.0)*(x*x)+4.5000000000000000e+00;
+cl_N n = cln::cl_RA("3/2")*(x*x)+cln::cl_F("4.5_17");
 @end example
 
 The @code{print_context} type @code{print_tree} provides a dump of the