Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Guile 1.6.* 中,该函数scm_istring2number(char *str,int strlen,int radix)完成了工作。
scm_istring2number(char *str,int strlen,int radix)
但是,Guile 1.8 中不存在此功能。. 如何在 Guile 1.8 中完成相同的任务。?
这不是微不足道的,因为该函数scm_string_to_number(SCM str,int radix)不会转换大于 2 31 -1 的数字(至少在 Guile 1.6.* 中)。
scm_string_to_number(SCM str,int radix)
根据 1.8 ChangeLog,该功能已重命名scm_c_locale_stringn_to_number。
scm_c_locale_stringn_to_number