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 <[email protected]> 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 <[email protected] <mailto: > [email protected]>> 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 < > [email protected] <mailto:[email protected]> <mailto:[email protected] > <mailto:[email protected]>>> 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 > > > [email protected] <mailto:[email protected]> > > > https://lists.puredata.info/listinfo/pd-dev > > > > > > > > > > > _______________________________________________ > > Pd-dev mailing list > > [email protected] <mailto:[email protected]> > > https://lists.puredata.info/listinfo/pd-dev > > > > > > _______________________________________________ > > Pd-dev mailing list > > [email protected] > > https://lists.puredata.info/listinfo/pd-dev > > > > > > _______________________________________________ > Pd-dev mailing list > [email protected] > https://lists.puredata.info/listinfo/pd-dev >
_______________________________________________ Pd-dev mailing list [email protected] https://lists.puredata.info/listinfo/pd-dev
