Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

big integer for Range

  • To: mathgroup at smc.vnet.net
  • Subject: [mg61239] big integer for Range
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Thu, 13 Oct 2005 01:39:47 -0400 (EDT)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • Reply-to: murray at math.umass.edu
  • Sender: owner-wri-mathgroup at wolfram.com

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


  • Prev by Date: strange editor
  • Next by Date: Re: Argument checking while allowing specific assignments
  • Previous by thread: Re: strange editor
  • Next by thread: Re: big integer for Range