[PD-dev] what's the maximum list size?

Alexandre Torres Porres porres at gmail.com
Fri Jul 5 21:48:08 CEST 2019


hmm?

> next time: don't be lazy to use a calculator

anyway, I was talking about me, just to make sure :)

Em sex, 5 de jul de 2019 às 16:29, cyrille henry <ch at chnry.net> escreveu:

> sorry, I should not reply to this list so early in the morning.
>
>
> Le 05/07/2019 à 18:44, Alexandre Torres Porres a écrit :
> > yeah, I know, I was just pointing how I got misled :/
> >
> > next time: don't be lazy to use a calculator
> >
> > Em sex, 5 de jul de 2019 às 06:03, cyrille henry <ch at chnry.net <mailto:
> ch at chnry.net>> escreveu:
> >
> >     a calculator gives : 2ˆ30 = 1073741824. The webpage is wrong. (you
> can see it problem between 2^23 and 2^24)
> >
> >     a int is obviouslly from range -(2^31)-1 to (2^31)-1
> >     this is about from -2*10^9 to 2*10^9
> >
> >     cheers
> >
> >     Le 05/07/2019 à 00:42, Alexandre Torres Porres a écrit :
> >      >
> >      >
> >      > Em qui, 4 de jul de 2019 às 13:54, Roman Haefeli <
> reduzent at gmail.com <mailto:reduzent at gmail.com> <mailto:reduzent at gmail.com
> <mailto:reduzent at gmail.com>>> escreveu:
> >      >
> >      >
> >      >      >>> +2147483648 :-)
> >      >      >> Ha yeah! Wrote that in a rush, of course I meant 2^31 :*)
> >      >      > but that's 2ˆ30 ;)
> >      >
> >      >     You sure?
> >      >
> >      >
> >      > no, but a google search led me to this:
> http://potenciasde2.blogspot.com/
> >      >
> >      > 2ˆ30 = 2 147 483 648
> >      >
> >      > :/
> >      >
> >      > so I assumed int goes from -2147483648 to +2147483647 for being
> in a range of 2ˆ31
> >      >
> >      > _______________________________________________
> >      > Pd-dev mailing list
> >      > Pd-dev at lists.iem.at <mailto:Pd-dev at lists.iem.at>
> >      > https://lists.puredata.info/listinfo/pd-dev
> >      >
> >
> >
> >
> >     _______________________________________________
> >     Pd-dev mailing list
> >     Pd-dev at lists.iem.at <mailto:Pd-dev at lists.iem.at>
> >     https://lists.puredata.info/listinfo/pd-dev
> >
> >
> > _______________________________________________
> > Pd-dev mailing list
> > Pd-dev at lists.iem.at
> > https://lists.puredata.info/listinfo/pd-dev
> >
>
>
>
> _______________________________________________
> Pd-dev mailing list
> Pd-dev at lists.iem.at
> https://lists.puredata.info/listinfo/pd-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20190705/8dc909b3/attachment.html>


More information about the Pd-dev mailing list