[PD] how to change symbol to float

Chris McCormick chris at mccormick.cx
Tue Jul 7 05:35:41 CEST 2015


Hello,

On 07/07/15 03:31, Alexandros Drymonitis wrote:
> On Mon, Jul 6, 2015 at 8:56 PM, Cyrille Henry <ch at chnry.net
> <mailto:ch at chnry.net>> wrote:
>     look like it's more a s2i than a s2f
> True! Now it's real s2f

Having tried this strategy myself I discovered there are many pitfalls.
The following are valid floating point representation that your
abstraction will not parse:

-2.58934e+27

I think there are also valid values like "-0.0" and "inf" that can come
from floating point numbers rendered as strings and could cause some
troubles.

Cheers,

Chris.

-- 
http://mccormick.cx/



More information about the Pd-list mailing list