[PD] division with remainder

geiger geiger at xdv.org
Fri May 12 09:19:53 CEST 2006

On Thu, 11 May 2006, Frank Barknecht wrote:
> [div] ... and [mod] in that case.

Some definitions of [mod] extend it to be able to use the real numbers
as first parameter. So 2.45 mod 2 would be 0.45.
I think this could be a good extension to Pd's mod object, and it
should also be backwards compatible to its current behaviour.
The change inside the code would be trivial. Question is how many patches
depend on the truncation after the mod operation.


> Ciao
> --
>  Frank Barknecht                 _ ______footils.org_ __goto10.org__
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list

More information about the Pd-list mailing list