[PD-dev] [ pure-data-Bugs-1464539 ] [expr] number of args in floor and ceil

SourceForge.net noreply at sourceforge.net
Mon Feb 25 14:34:57 CET 2008


Bugs item #1464539, was opened at 2006-04-05 00:56
Message generated for change (Comment added) made by zmoelnig
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1464539&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: puredata
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Miller Puckette (millerpuckette)
Summary: [expr] number of args in floor and ceil

Initial Comment:
bug in [expr], in both functions floor and ceil only
one argument is needed:

so in vexp_fun.c:

line 154: {"floor",       ex_floor,       2},
line 155: {"ceil",        ex_ceil,        2},

should be:

line 154: {"floor",       ex_floor,       1},
line 155: {"ceil",        ex_ceil,        1},

s.koepf


----------------------------------------------------------------------

>Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2008-02-25 14:34

Message:
Logged In: YES 
user_id=564396
Originator: NO

while this is technically a bug in an "external", it practically belongs
to "pd-vanilla", so i changed the category and the assigned it to miller.

while the proposed fix will break patches using floor and ceil, the fix
for these patches is trivial (one could write a regexp that does all the
search and replace); apart from that, i think one could argue that all
patches currently using floor/ceil are aware that they are using a
workaround.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1464539&group_id=55736




More information about the Pd-dev mailing list