Calculating in the Symbolic Ring

Is there a way to calculate inside a symbolic ring in c++? So that, for instance, I can assign a variable the value sqrt(2) and it will just keep it in the form sqrt(2) rather than say rounding it like int or float would?
Last edited on
The short answer is no.
Last edited on
The long answer is that there are libraries for that.
http://www.google.de/search?q=c%2B%2B+symbolic+math
oh cool, thanks.
Topic archived. No new replies allowed.