[PD-dev] how math objects respond to a bang

Martin Peach martinrp at vax2.concordia.ca
Tue Feb 14 20:31:16 CET 2006


Frank Barknecht wrote:

>Hallo,
>IOhannes m zmoelnig hat gesagt: // IOhannes m zmoelnig wrote:
>
>  
>
>>Mathieu Bouchard wrote:
>>    
>>
>>>one guy thinks that atan2 is unary but that +,-,* are binary. so what?
>>>      
>>>
>>wow. it seems like i really made it into (another) flame war.
>>    
>>
>
>Instead of arguing about this, what about using expr to do atan2? It
>accepts a bang as shown in attached patch and is more readable anyway
>IMO.
>
>  
>
You could do it the tcl way and use expr for every non-symbol operation.
Would there be any difference in speed doing this?

Martin





More information about the Pd-dev mailing list