[capi-sig] String to number conversion

Hrvoje Niksic hniksic at xemacs.org
Wed May 7 23:42:06 CEST 2008


Rasmus Andersson <rasmus at spotify.com> writes:

> Could you maybe give a real-world scenario where this would be
> needed?

It is needed when writing Python numbers to a file and reading them
back, reliably.  In that case strtoll and friends won't work because,
while they work on one data type, they fail on others (float, complex,
and (Python) long in the case of strtoll).


More information about the capi-sig mailing list