[PD] expr bug

Stefan Turner stefan_turner at yahoo.co.uk
Sun Jan 16 14:44:03 CET 2005


 --- Thomas Grill <gr at grrrr.org> wrote: 
> Hi Stefan,
> the reason is that (2/3) is treated as an integer
> division which yields 0.
> That's not really pd-like, where all numbers should
> be floats....
> Anyway, try 2./3.
> best greetings,
> Thomas

Ok, very surprised I hadn't noticed that before.
Thanks for clearing that up. As you say though, if the
author is reading, maybe always using float division
would be better..? I'm easily confused.

Stefan Turner


	
	
		
___________________________________________________________ 
ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com




More information about the Pd-list mailing list