[PD] atoi should be atol (L)

Marc Boon marcboon at dds.nl
Tue Dec 7 12:48:15 CET 2004


Lex Ein wrote:

> This patch demonstrates loss of precision through [makefilename] and
> zexy's [atoi] when processing 32-bit hex numbers.

I think the confusion could be avoided if zexy's [atoi] was named [atof], since 
that's what is is: it converts a string to a float (not to an int).







More information about the Pd-list mailing list