[PD] an BUG on [expr] ???

Miller Puckette msp at ucsd.edu
Wed May 30 17:53:55 CEST 2012


This is 'correct' behavior: expr uses "c" expression semantics in which
feeding two integers to a binary operation selects the integer version of
the operation.  In Pd the rules are different.  (and in Max, which also has
an expr object, they're more like the way expr works :)

Miller

On Wed, May 30, 2012 at 05:17:39PM +0200, Jonghyun Kim wrote:
> dear list,
> 
> Ver:
> 0.42.5-extended
> 0.43.1-extended-20120510
> on MacOS X 10.6.8
> 
> I think it is a bug...
> 
> 60
> |
> [expr (1000 / 60 ) * $f1]
> |
> 960
> 
> It must be "1000", but it isn't...
> 
> Am I wrong? Why I get 960??
> 
> Best,
> Jong

> _______________________________________________
> 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