23 Sep
2004
23 Sep
'04
5:59 p.m.
Hello! This short program #include <iostream> #include <ginac/ginac.h> using namespace std; using namespace GiNaC; int main(int argc, char** argv) { ex test = Li(5, exp(I*Pi/3)); cout << test << " = " << test.evalf() << endl; return 0; } gives Li(5,exp((1/3*I)*Pi)) = Li(5,exp((1/3*I)*Pi)) instead of expected Li(5,exp((1/3*I)*Pi)) = 0.48005914589970829926+0.89203268884598503196*I Attached patch seems to solve the problem. Best regards, Alexei.