Re: [PD] weird float/add limitation

2015-01-28 Thread Martin Peach
On Wed, Jan 28, 2015 at 12:00 PM, Cyrille Henry wrote: > > > Le 28/01/2015 17:47, Alexandre Torres Porres a écrit : > >> > it's a limitation of 32 bit float >> >> I thought so, but same happens when I use the new Pd Vanilla 64 bits... >> > this mean that it's compiled for 64 bit CPU, not that fl

Re: [PD] weird float/add limitation

2015-01-28 Thread Cyrille Henry
Le 28/01/2015 17:47, Alexandre Torres Porres a écrit : > it's a limitation of 32 bit float I thought so, but same happens when I use the new Pd Vanilla 64 bits... this mean that it's compiled for 64 bit CPU, not that float are store on 64 bits you can have 8 bit int, 32 bit float and 64 bi

Re: [PD] weird float/add limitation

2015-01-28 Thread Alexandre Torres Porres
> it's a limitation of 32 bit float I thought so, but same happens when I use the new Pd Vanilla 64 bits... what now? :) 2015-01-28 14:41 GMT-02:00 Cyrille Henry : > > > Le 28/01/2015 17:20, Alexandre Torres Porres a écrit : > > howdy, check the attached patch. >> >> 1e+06 + 1 is not equal to

Re: [PD] weird float/add limitation

2015-01-28 Thread Cyrille Henry
Le 28/01/2015 17:20, Alexandre Torres Porres a écrit : howdy, check the attached patch. 1e+06 + 1 is not equal to 1e+06 but 1e+09 + 1 is equal to 1e+09 meaning it didn't add 1 to 1e+09! Meaning there's a limit where it stops adding 1 to something. how's that and why? it's a limitation of

Re: [PD] weird float/add limitation

2015-01-28 Thread Claude Heiland-Allen
On 28/01/15 16:20, Alexandre Torres Porres wrote: howdy, check the attached patch. 1e+06 + 1 is not equal to 1e+06 but 1e+09 + 1 is equal to 1e+09 meaning it didn't add 1 to 1e+09! Meaning there's a limit where it stops adding 1 to something. how's that and why? welcome to floating point :)

Re: [PD] Sieve of erastothen

2015-01-28 Thread Claude Heiland-Allen
On 28/01/15 15:48, Pagano, Patrick wrote: Hello I would like to know if there is a way to compute the Sieve of erastothenes with pure data why not load a text file containing a list of primes into a table? eg: http://primes.utm.edu/lists/small/millions/ the largest prime pd can handle is les

[PD] weird float/add limitation

2015-01-28 Thread Alexandre Torres Porres
howdy, check the attached patch. 1e+06 + 1 is not equal to 1e+06 but 1e+09 + 1 is equal to 1e+09 meaning it didn't add 1 to 1e+09! Meaning there's a limit where it stops adding 1 to something. how's that and why? cheers +.pd Description: Binary data __

[PD] Sieve of erastothen

2015-01-28 Thread Pagano, Patrick
Hello I would like to know if there is a way to compute the Sieve of erastothenes with pure data and spit out numbers which can be used for MIDI notes. There used to be a simple unix program that i used but it no longer is available. Has anyone tried this with pd? I found some Java code for i