X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Futils.h;h=0f6082a6a7b4d70fdbc195f6ebe45bf6a09c0f56;hp=18a5e7bd3f86c85c17216ec9ef20793546244fcf;hb=955cb185a85535ab328ffedbfccdc508ce80fa91;hpb=afdd7fa8c6c0a587f7c80789198551383e8beb7b diff --git a/ginac/utils.h b/ginac/utils.h index 18a5e7bd..0f6082a6 100644 --- a/ginac/utils.h +++ b/ginac/utils.h @@ -1,6 +1,7 @@ /** @file utils.h * - * Interface to several small and furry utilities. */ + * Interface to several small and furry utilities needed within GiNaC but not + * of any interest to the user of the library. */ /* * GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany @@ -40,6 +41,10 @@ string ToString(T const & t) return buf; } +/** Exception thrown by classes which provide their own series expansion to + * signal that ordinary Taylor expansion is safe. */ +class do_taylor {}; + unsigned log2(unsigned n); int compare_pointers(void const * a, void const * b); @@ -91,18 +96,18 @@ template