[PD] 32bit integer float

Enrique Erne pd at mild.ch
Sun Mar 26 15:41:39 CEST 2006


thank you frank!


On Mar 26, 2006, at 1:25 PM, Frank Barknecht wrote:

> Hallo,
> Enrique Erne hat gesagt: // Enrique Erne wrote:
>
>> Thanks Tim and Roman for your help
>>
>> I'll try [+ 1e-006]
>
> This is no solution. You just cannot use [==] to compare non-integer
> floating point values so easily, period. A better approach is to
> multiply with 10^x up to your desired range. See attached patch
> titled: "The good, the bad, and the ugly"

:-)


>
> Ciao
> -- 
>  Frank Barknecht                 _ ______footils.org_ __goto10.org__
> <float-comparison.pd>_______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list





More information about the Pd-list mailing list