[PD] math: to round up and down

CK x at meta.lo-res.org
Fri Mar 7 09:27:44 CET 2003


I read:
> 
> I guess Christoph is looking for the PD equivalent of "ceil()" and
> "floor()".

then let me refine that to (except for the special cases):
 
floor:		  ceil:

[12.234 (         [12.534 ( 
 |		   |
 |                [+ 1]
 |                 |
[int]             [int]
 |                 |
[12 \             [13 \

regards,

x

-- 
chris at lo-res.org	Postmodernism is german romanticism with better
http://pilot.fm/	special effects. (Jeff Keuss / via ctheory.com)




More information about the Pd-list mailing list