Re: big integer for Range
- To: mathgroup at smc.vnet.net
- Subject: [mg61277] Re: big integer for Range
- From: "Frank Kampas" <fkampas at verizon.net>
- Date: Fri, 14 Oct 2005 05:54:38 -0400 (EDT)
- References: <diktip$515$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Mathematica 5.2 on Suse Linux 9.2 on a 64 bit machine also will not create Range[10^9] but doesn't give an error message, it just doesn't create it. In other words if I type r = Range[10^9]; and then Dimensions[r] I get {}. Range[10^8] works ok. "Murray Eisenberg" <murray at math.umass.edu> wrote in message news:diktip$515$1 at smc.vnet.net... > Mathematica 5.2 under Windows XP on a 32-bit machine complains if I ask > it to form Range[10^9]. The error is Range::range: Range specification > in Range[10000000000] is not a machine-size integer. > > Is there a built-in Mathematica function that tells what the machine's > maximum machine-size integer is? (And if not, shouldn't there be?) > > -- > Murray Eisenberg murray at math.umass.edu > Mathematics & Statistics Dept. > Lederle Graduate Research Tower phone 413 549-1020 (H) > University of Massachusetts 413 545-2859 (W) > 710 North Pleasant Street fax 413 545-1801 > Amherst, MA 01003-9305 >