MathGroup Archive 2005

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

Search the Archive

Re: big integer for Range

  • To: mathgroup at smc.vnet.net
  • Subject: [mg61287] Re: [mg61239] big integer for Range
  • From: <bsyehuda at gmail.com>
  • Date: Fri, 14 Oct 2005 05:55:43 -0400 (EDT)
  • References: <200510130539.BAA04605@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Range[] works fine with large numbers of any range.
try
Range[10^200,10^201,10^200]
But creating 10^9 integers, this means 16Bytes * 10^9 means that you need 34
bits space only for the list generated by Range[10^9], isn't it????
yehuda

On 10/13/05, Murray Eisenberg <murray at math.umass.edu> wrote:
>
> 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: Re: Re: Re: Language vs. Library
  • Next by Date: Re: How to reverse sign on the y's in a list of (x, y)'s?
  • Previous by thread: Re: big integer for Range
  • Next by thread: Re: big integer for Range