Re: INTEGER ???
Hi Bernie,
Euphoria integers are only 31 bits not 32 bits (4 bytes)..
I believe Rob uses bit 32 to check and see if it is a pointer (to an atom or
sequence) internally in the interpreter.
Hope I'm right :)
Regards,
Greg Harris
----- Original Message -----
From: Bernie Ryan <bwryan at PCOM.NET>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Wednesday, July 14, 1999 8:19 PM
Subject: INTEGER ???
> Well I made another mistake and read the Library Document
>
> Syntax: i = integer(x)
>
> Description: Return 1 if x is an integer in the range -1073741824 to
> +1073741823. Otherwise return 0.
>
> Is this the correct SIZE for an Euphoria integer ?
>
> Shouldn't the SIZE be:
> range of -2,147,483,648 to +2,147,483,647 ( a 4 byte integer )
>
> Bernie
>
|
Not Categorized, Please Help
|
|