[PD] expr bug

Frank Barknecht fbar at footils.org
Sun Jun 6 13:37:41 CEST 2004


Hallo,
Tim Blechmann hat gesagt: // Tim Blechmann wrote:

> i found a bug in the expr object:
> 
> i can create a |expr 0.001| object, but i can't create a |expr 0.0001|
> object:
> 
> error: expr: syntax error
>  expr 1e-04
> ... couldn't create
> 
> any hints?

I think. this is because Pd converts small numbers to the exponential
notation automatically (try to create a float with [0.0001] for
example) which isn't understood by expr because it takes "-" for
"minus" and then doesn't cope with the "1e". 

Hint: Try [expr 1/10000] instead. 

Ciao
-- 
 Frank Barknecht                               _ ______footils.org__




More information about the Pd-list mailing list