10 Mar
2003
10 Mar
'03
1:57 p.m.
Hi. I think I've encountered a bug in GiNaC-1.0.13 (on a Debian Linux machine) In ginsh:
diff(sqrt((-sin((x)))^(2.0)),x); (1.0+5.0165576136843360246E-20*I)*sin(x)*cos(x)*((-sin(x))^(2.0))^(-1/2)
The answer should be: sin(x)*cos(x)*((-sin(x))^(2.0))^(-1/2) I have not tried to figure out why this happens (perhaps an uninitialized variable?) I've compiled ginac by myself, using cln-1.1.5 (gcc 3.2 compiler) Sincerely, -- Ola Skavhaug, Simulant, stipendiot og enkel gutt fra landet.