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: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] 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? > > Sincerely, > > Leigh > ---------------------------------------------------------------------- > For information about J forums see > http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
