power::series(): handle someg (trivial) singularities of the exponent...
authorAlexei Sheplyakov <alexei.sheplyakov@gmail.com>
Tue, 9 Nov 2010 07:27:47 +0000 (08:27 +0100)
committerRichard Kreckel <kreckel@ginac.de>
Tue, 9 Nov 2010 07:27:47 +0000 (08:27 +0100)
commit079c558d4f9758cd2777a2808a02d64cb1f70c8e
tree36ada9b90e0d0d430a4cddc6ea8bd0acb46a9233
parentcbb93fadabbd56ba006902967b15b2b2aebb037c
power::series(): handle someg (trivial) singularities of the exponent...

... so GiNaC can expand expressions like

cos(x)^(sin(x)/x) // (x -> 0)
(1 + x)^(1/x) // x -> 0

and so on.

[Reported by Camille Gillot.]
check/exam_pseries.cpp
ginac/pseries.cpp