[PD] how to change symbol to float

Alexandros Drymonitis adrcki at gmail.com
Tue Jul 7 11:20:48 CEST 2015


On Tue, Jul 7, 2015 at 6:35 AM, Chris McCormick <chris at mccormick.cx> wrote:

> 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
>
Covered!

>
> 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.
>
Covered "inf", but not "-0.0", it will just output -0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20150707/c42a70e2/attachment-0001.html>


More information about the Pd-list mailing list