[PD] In search for Perlin Noise and seomthing to round numbers.

s.koepf s.koepf at uni-koeln.de
Wed Oct 25 13:20:40 CEST 2006


Mathieu Bouchard wrote:
> On Tue, 24 Oct 2006, Claude Heiland-Allen wrote:
>> [expr floor($f1,0)]
>> [expr ceil($f1,0)]
>> Which reminds me to ask, does anyone know why expr's floor and ceil
>> require two arguments,

it is No 1464539 in the bug-tracker.

> Because of a typo that Orm Finnendahl made in 2002.
>> and would it make sense to allow floor and ceil to work with a single 
>> argument only?
> Yes, but it wouldn't be backwards-compatible, unless [expr] allows 
> optional arguments, but there's no way to specify that in [expr]'s 
> function table.

Do you really think, we should keep this (bug) for backwards compatibility?
BTW, Orm told me once, that it wasn't he who wrote this code.


More information about the Pd-list mailing list