Digits variable ignored when parsing strings?
Hi, It seems the value of the 'Digits' variable is ignored when a GiNaC::numeric is created from a string. This behaviour can be observed in ginsh, for example. The created number always has something like 17 digits. I suppose this isn't what should happen. -- God created woman. And boredom did indeed cease from that moment -- but many other things ceased as well. Woman was God's second mistake. -- Nietzsche Eduardo M Kalinowski (ekalin@iname.com) http://move.to/hpkb http://cami-ufpr.hpg.com.br - To UNSUBSCRIBE, email to ginac-list@ginac.de with a subject of "unsubscribe".
On Mon, 4 Dec 2000, Eduardo M Kalinowski wrote:
It seems the value of the 'Digits' variable is ignored when a GiNaC::numeric is created from a string. This behaviour can be observed in ginsh, for example. The created number always has something like 17 digits. I suppose this isn't what should happen.
It isn't. I will look into this. Regards -richy. -- Richard Kreckel <Richard.Kreckel@Uni-Mainz.DE> <http://wwwthep.physik.uni-mainz.de/~kreckel/> - To UNSUBSCRIBE, email to ginac-list@ginac.de with a subject of "unsubscribe".
On Tue, 5 Dec 2000, Richard B. Kreckel wrote:
On Mon, 4 Dec 2000, Eduardo M Kalinowski wrote:
It seems the value of the 'Digits' variable is ignored when a GiNaC::numeric is created from a string. This behaviour can be observed in ginsh, for example. The created number always has something like 17 digits. I suppose this isn't what should happen.
It isn't. I will look into this.
Fixed. Regards -richy. -- Richard Kreckel <Richard.Kreckel@Uni-Mainz.DE> <http://wwwthep.physik.uni-mainz.de/~kreckel/> - To UNSUBSCRIBE, email to ginac-list@ginac.de with a subject of "unsubscribe".
participants (2)
-
Eduardo M Kalinowski
-
Richard B. Kreckel