[Jprogramming] Largest Integer
Roger Hui
rhui000 at shaw.ca
Thu Oct 26 10:48:56 HKT 2006
The values depend on whether you are running a
32 bit version of J or a 64 bit version of J.
The largest integer in the 32 bit version of J
would be the same whether you are running on
a 32 bit or a 64 bit machine.
3!:n gives you information about the sizes of
integers and floating point numbers.
----- Original Message -----
From: Henry Rich <HenryHRich at nc.rr.com>
Date: Wednesday, October 25, 2006 7:27 pm
Subject: RE: [Jprogramming] Largest Integer
> The smallest and largest integers can be found by
>
> (, 26 b.) _1 (32 b.) 1
> _2147483648 2147483647
>
> The values depend on whether you are running a 32-bit or a
> 64-bit machine.
>
> Henry Rich
>
> > -----Original Message-----
> > From: programming-bounces at jsoftware.com
> > [programming-bounces at jsoftware.com] On Behalf Of Leigh
> > J. Halliwell
> > Sent: Wednesday, October 25, 2006 10:20 PM
> > To: 'Programming forum'
> > Subject: [Jprogramming] Largest Integer
> >
> > Dear J Forum:
> >
> > Thank you for answering my earlier question about converting
> > variables from
> > floating to integer. You cautioned me to be sure that my
> > numbers were not
> > too large. So what is the magnitude of the largest J integer?
> Is it
> > different for a negative number? Are there operators or
> > routines to give me
> > this information? Thanks.
> >
> > Finally, is an integer 4 bytes, and a floating-point 8 bytes?
> > Again, can I
> > derive this information from the system?
More information about the Programming
mailing list