20 Aug
2001
20 Aug
'01
5:41 p.m.
On Sun, 19 Aug 2001, Pearu Peterson wrote: [...]
The output is: e=2^Pi e.evalf()=(2.0)^Pi
And I don't see anything wrong in ex power::evalf(int level) const; Do you?
After staring at it for an hour or two, yes. It's most embarrassing. Here is the fix: diff -r1.66 power.cpp 493c493 < if (!is_ex_exactly_of_type(eexponent,numeric)) ---
if (!is_ex_exactly_of_type(exponent,numeric))
See the problem? :-) Thank you for reporting this! -richy. -- Richard Kreckel <Richard.Kreckel@Uni-Mainz.DE> <http://wwwthep.physik.uni-mainz.de/~kreckel/>