[GiNaC-devel] evalf() on cube roots

Jan Rheinländer jrheinlaender at gmx.de
Sat Aug 1 20:01:57 CEST 2015


Hi,

I noticed that

evalf( (-1)^(1/3) )

gives

0.5+0.86602540378443864673*I

Is there any way to tell GiNaC to return the real root by default?

Jan



More information about the GiNaC-devel mailing list