Rounding

Micah McCurdy micah at hfx.eastlink.ca
Tue Jan 25 18:22:08 CET 2000


Forgive this simplistic question, but I'm going around the bend.
I have an ex, on which I've performed many manipulations, of which I want the
value. It's a polynomil in x, and evaluating poly.subs(x==valThatIWant) gives
me another ex, which, when output, is the correct number, to 17 decimal places.
I need this number as a double value, only to 10 decimal places. What can I do?
Setting Digits to various values in various places does not seem to change
anything. Any help is welcome.

TIA, Micah

 -- 
Quidquid latine dictum sit, altum viditur
That which is said in Latin sounds impressive
-
To UNSUBSCRIBE, email to ginac-list at ginac.de with a subject of "unsubscribe".



More information about the GiNaC-list mailing list