Behavior of numeric::to_int() and numeric::to_long()

Roberto Bagnara bagnara at cs.unipr.it
Tue Oct 1 19:03:55 CEST 2002


Richard B. Kreckel wrote:
> On Tue, 1 Oct 2002, Roberto Bagnara wrote:
> [...]
> 
>>And, by the way, the message above is hardcoded into CLN.
>>Does this mean that CLN (and thus GiNaC) does not support
>>64 bits architectures?
> 
> 
> Sure it does support 64 bit architectures.  I have personally used it on
> Alpha and IA-64.
> 
> Note that type int is just 32 Bits on those architectures, anyways.  If
> you are interested in more details, please consult the header file
> cln/object.h where the line between fixnums and bignums is drawn.

You are right, of course.  I had misinterpreted the CLN sources.
Thanks

    Roberto

-- 
Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:bagnara at cs.unipr.it




More information about the GiNaC-list mailing list