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:32:00 +0000 (08:32 +0100)
commit1d73fed17debbc88819dc7f84a4a2e608d8eb978
tree477aae401d1d30b5e2f62ca01a21344f3de3c470
parent052f124551d2b78104b0de2008db6b8819713625
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.]
(cherry picked from commit 079c558d4f9758cd2777a2808a02d64cb1f70c8e)
check/exam_pseries.cpp
ginac/pseries.cpp