Hello,

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.

Siegfried


_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to