[GiNaC-list] Algebraic sqrt()

Timo Schlüßler timo at schluessler.org
Wed Jun 11 16:32:22 CEST 2008


is there a way to compute a sqrt() algebraic?
E.g. that sqrt(2) * sqrt(2) gives exact 2 and not 2.0000001 or whatever 
else. Or that sqrt(45) * sqrt(3) gives sqrt(135) and not the rounded value.

thanks in advance,

More information about the GiNaC-list mailing list