RE:Re: problem with CINT `**' extension

From: Masaharu Goto (MXJ02154@nifty.ne.jp)
Date: Wed Dec 09 1998 - 15:05:20 MET


Pasha,

>Hi Masa, here is what Python answered me when I asked it to do the same:
>
>root [13] /cdf/upgrade/tracking/murat/g3/test>python
>Python 1.4 (Jul 29 1997)  [GCC 2.7.2.1]
>Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>>> 9999999999+9999999999
>OverflowError: integer literal too large

I implemented an overflow detection for power operator only. 
It looks like Python complains about the literal '9999999999'. Same check
is implmented too.
Overflow detection for interger operation in general is not implemented,
so far.

Masaharu Goto



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:40 MET