Re: Exposing `scm_i_mem2number ()'

2006-02-16 Thread Tomas Zerolo
On Wed, Feb 15, 2006 at 11:57:12PM +0200, Marius Vollmer wrote: [...] > But, what about scm_string_to_number (scm_from_locale_string (...))? > Isn't that good enough? Alas, attractive as it is it won't work: number representations vary across locale settings (basically, it's decimal point and thou

Re: Exposing `scm_i_mem2number ()'

2006-02-16 Thread Ludovic Courtès
Hello, Marius Vollmer <[EMAIL PROTECTED]> writes: > I'd make it the number of octets, to remain in sync with > scm_from_locale_stringn, etc. Right. Below is a patch that does this. > But, what about scm_string_to_number (scm_from_locale_string (...))? > Isn't that good enough? Using the C var