2^44 will always be floating point, whether on 32 bit systems or 64 bit systems.
In the phrase 1 (17 b.) 2^44 the verb 17 b. converts the arguments to integes before proceeding. In J64 the conversions are successful; in J32 the conversion fails on 2^44. ----- Original Message ----- From: Henry Rich <[EMAIL PROTECTED]> Date: Monday, May 28, 2007 9:42 am Subject: RE: [Jprogramming] 64bit integers vs 32bit integers > Thanks. > > So is that the source of David's error, that 2^44 should be integer > but it is in fact float? > > Henry Rich > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of John Randall > > Sent: Monday, May 28, 2007 12:32 PM > > To: Programming forum > > Subject: RE: [Jprogramming] 64bit integers vs 32bit integers > > > > Henry Rich wrote: > > > Wait a minute, that's all wrong. Never mind. What is > > > the type of 2^44 on a 64-bit system? > > > > > (": ,' ', datatype) 2^44 > > 1.75922e13 floating > > (": ,' ', datatype) 2x^44 > > 17592186044416 extended > > > > > > John ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
